message.pb.h 102 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239
  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // source: message.proto
  3. #ifndef GOOGLE_PROTOBUF_INCLUDED_message_2eproto
  4. #define GOOGLE_PROTOBUF_INCLUDED_message_2eproto
  5. #include <limits>
  6. #include <string>
  7. #include <google/protobuf/port_def.inc>
  8. #if PROTOBUF_VERSION < 3013000
  9. #error This file was generated by a newer version of protoc which is
  10. #error incompatible with your Protocol Buffer headers. Please update
  11. #error your headers.
  12. #endif
  13. #if 3013000 < PROTOBUF_MIN_PROTOC_VERSION
  14. #error This file was generated by an older version of protoc which is
  15. #error incompatible with your Protocol Buffer headers. Please
  16. #error regenerate this file with a newer version of protoc.
  17. #endif
  18. #include <google/protobuf/port_undef.inc>
  19. #include <google/protobuf/io/coded_stream.h>
  20. #include <google/protobuf/arena.h>
  21. #include <google/protobuf/arenastring.h>
  22. #include <google/protobuf/generated_message_table_driven.h>
  23. #include <google/protobuf/generated_message_util.h>
  24. #include <google/protobuf/inlined_string_field.h>
  25. #include <google/protobuf/metadata_lite.h>
  26. #include <google/protobuf/generated_message_reflection.h>
  27. #include <google/protobuf/message.h>
  28. #include <google/protobuf/repeated_field.h> // IWYU pragma: export
  29. #include <google/protobuf/extension_set.h> // IWYU pragma: export
  30. #include <google/protobuf/unknown_field_set.h>
  31. // @@protoc_insertion_point(includes)
  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 ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
  42. PROTOBUF_SECTION_VARIABLE(protodesc_cold);
  43. static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[]
  44. PROTOBUF_SECTION_VARIABLE(protodesc_cold);
  45. static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[9]
  46. PROTOBUF_SECTION_VARIABLE(protodesc_cold);
  47. static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
  48. static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
  49. static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[];
  50. };
  51. extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_message_2eproto;
  52. namespace NavMessage {
  53. class AGVSpeed;
  54. class AGVSpeedDefaultTypeInternal;
  55. extern AGVSpeedDefaultTypeInternal _AGVSpeed_default_instance_;
  56. class AGVStatu;
  57. class AGVStatuDefaultTypeInternal;
  58. extern AGVStatuDefaultTypeInternal _AGVStatu_default_instance_;
  59. class Action;
  60. class ActionDefaultTypeInternal;
  61. extern ActionDefaultTypeInternal _Action_default_instance_;
  62. class NavCmd;
  63. class NavCmdDefaultTypeInternal;
  64. extern NavCmdDefaultTypeInternal _NavCmd_default_instance_;
  65. class NavStatu;
  66. class NavStatuDefaultTypeInternal;
  67. extern NavStatuDefaultTypeInternal _NavStatu_default_instance_;
  68. class Pose2d;
  69. class Pose2dDefaultTypeInternal;
  70. extern Pose2dDefaultTypeInternal _Pose2d_default_instance_;
  71. class Speed;
  72. class SpeedDefaultTypeInternal;
  73. extern SpeedDefaultTypeInternal _Speed_default_instance_;
  74. class SpeedLimit;
  75. class SpeedLimitDefaultTypeInternal;
  76. extern SpeedLimitDefaultTypeInternal _SpeedLimit_default_instance_;
  77. class Trajectory;
  78. class TrajectoryDefaultTypeInternal;
  79. extern TrajectoryDefaultTypeInternal _Trajectory_default_instance_;
  80. } // namespace NavMessage
  81. PROTOBUF_NAMESPACE_OPEN
  82. template<> ::NavMessage::AGVSpeed* Arena::CreateMaybeMessage<::NavMessage::AGVSpeed>(Arena*);
  83. template<> ::NavMessage::AGVStatu* Arena::CreateMaybeMessage<::NavMessage::AGVStatu>(Arena*);
  84. template<> ::NavMessage::Action* Arena::CreateMaybeMessage<::NavMessage::Action>(Arena*);
  85. template<> ::NavMessage::NavCmd* Arena::CreateMaybeMessage<::NavMessage::NavCmd>(Arena*);
  86. template<> ::NavMessage::NavStatu* Arena::CreateMaybeMessage<::NavMessage::NavStatu>(Arena*);
  87. template<> ::NavMessage::Pose2d* Arena::CreateMaybeMessage<::NavMessage::Pose2d>(Arena*);
  88. template<> ::NavMessage::Speed* Arena::CreateMaybeMessage<::NavMessage::Speed>(Arena*);
  89. template<> ::NavMessage::SpeedLimit* Arena::CreateMaybeMessage<::NavMessage::SpeedLimit>(Arena*);
  90. template<> ::NavMessage::Trajectory* Arena::CreateMaybeMessage<::NavMessage::Trajectory>(Arena*);
  91. PROTOBUF_NAMESPACE_CLOSE
  92. namespace NavMessage {
  93. // ===================================================================
  94. class AGVStatu PROTOBUF_FINAL :
  95. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:NavMessage.AGVStatu) */ {
  96. public:
  97. inline AGVStatu() : AGVStatu(nullptr) {}
  98. virtual ~AGVStatu();
  99. AGVStatu(const AGVStatu& from);
  100. AGVStatu(AGVStatu&& from) noexcept
  101. : AGVStatu() {
  102. *this = ::std::move(from);
  103. }
  104. inline AGVStatu& operator=(const AGVStatu& from) {
  105. CopyFrom(from);
  106. return *this;
  107. }
  108. inline AGVStatu& operator=(AGVStatu&& from) noexcept {
  109. if (GetArena() == from.GetArena()) {
  110. if (this != &from) InternalSwap(&from);
  111. } else {
  112. CopyFrom(from);
  113. }
  114. return *this;
  115. }
  116. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  117. return GetDescriptor();
  118. }
  119. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  120. return GetMetadataStatic().descriptor;
  121. }
  122. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  123. return GetMetadataStatic().reflection;
  124. }
  125. static const AGVStatu& default_instance();
  126. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  127. static inline const AGVStatu* internal_default_instance() {
  128. return reinterpret_cast<const AGVStatu*>(
  129. &_AGVStatu_default_instance_);
  130. }
  131. static constexpr int kIndexInFileMessages =
  132. 0;
  133. friend void swap(AGVStatu& a, AGVStatu& b) {
  134. a.Swap(&b);
  135. }
  136. inline void Swap(AGVStatu* other) {
  137. if (other == this) return;
  138. if (GetArena() == other->GetArena()) {
  139. InternalSwap(other);
  140. } else {
  141. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  142. }
  143. }
  144. void UnsafeArenaSwap(AGVStatu* other) {
  145. if (other == this) return;
  146. GOOGLE_DCHECK(GetArena() == other->GetArena());
  147. InternalSwap(other);
  148. }
  149. // implements Message ----------------------------------------------
  150. inline AGVStatu* New() const final {
  151. return CreateMaybeMessage<AGVStatu>(nullptr);
  152. }
  153. AGVStatu* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  154. return CreateMaybeMessage<AGVStatu>(arena);
  155. }
  156. void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  157. void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  158. void CopyFrom(const AGVStatu& from);
  159. void MergeFrom(const AGVStatu& from);
  160. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  161. bool IsInitialized() const final;
  162. size_t ByteSizeLong() const final;
  163. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  164. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  165. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  166. int GetCachedSize() const final { return _cached_size_.Get(); }
  167. private:
  168. inline void SharedCtor();
  169. inline void SharedDtor();
  170. void SetCachedSize(int size) const final;
  171. void InternalSwap(AGVStatu* other);
  172. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  173. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  174. return "NavMessage.AGVStatu";
  175. }
  176. protected:
  177. explicit AGVStatu(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  178. private:
  179. static void ArenaDtor(void* object);
  180. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  181. public:
  182. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  183. private:
  184. static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
  185. ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_message_2eproto);
  186. return ::descriptor_table_message_2eproto.file_level_metadata[kIndexInFileMessages];
  187. }
  188. public:
  189. // nested types ----------------------------------------------------
  190. // accessors -------------------------------------------------------
  191. enum : int {
  192. kXFieldNumber = 1,
  193. kYFieldNumber = 2,
  194. kThetaFieldNumber = 3,
  195. kVFieldNumber = 4,
  196. kVthFieldNumber = 5,
  197. };
  198. // float x = 1;
  199. void clear_x();
  200. float x() const;
  201. void set_x(float value);
  202. private:
  203. float _internal_x() const;
  204. void _internal_set_x(float value);
  205. public:
  206. // float y = 2;
  207. void clear_y();
  208. float y() const;
  209. void set_y(float value);
  210. private:
  211. float _internal_y() const;
  212. void _internal_set_y(float value);
  213. public:
  214. // float theta = 3;
  215. void clear_theta();
  216. float theta() const;
  217. void set_theta(float value);
  218. private:
  219. float _internal_theta() const;
  220. void _internal_set_theta(float value);
  221. public:
  222. // float v = 4;
  223. void clear_v();
  224. float v() const;
  225. void set_v(float value);
  226. private:
  227. float _internal_v() const;
  228. void _internal_set_v(float value);
  229. public:
  230. // float vth = 5;
  231. void clear_vth();
  232. float vth() const;
  233. void set_vth(float value);
  234. private:
  235. float _internal_vth() const;
  236. void _internal_set_vth(float value);
  237. public:
  238. // @@protoc_insertion_point(class_scope:NavMessage.AGVStatu)
  239. private:
  240. class _Internal;
  241. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  242. typedef void InternalArenaConstructable_;
  243. typedef void DestructorSkippable_;
  244. float x_;
  245. float y_;
  246. float theta_;
  247. float v_;
  248. float vth_;
  249. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  250. friend struct ::TableStruct_message_2eproto;
  251. };
  252. // -------------------------------------------------------------------
  253. class AGVSpeed PROTOBUF_FINAL :
  254. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:NavMessage.AGVSpeed) */ {
  255. public:
  256. inline AGVSpeed() : AGVSpeed(nullptr) {}
  257. virtual ~AGVSpeed();
  258. AGVSpeed(const AGVSpeed& from);
  259. AGVSpeed(AGVSpeed&& from) noexcept
  260. : AGVSpeed() {
  261. *this = ::std::move(from);
  262. }
  263. inline AGVSpeed& operator=(const AGVSpeed& from) {
  264. CopyFrom(from);
  265. return *this;
  266. }
  267. inline AGVSpeed& operator=(AGVSpeed&& from) noexcept {
  268. if (GetArena() == from.GetArena()) {
  269. if (this != &from) InternalSwap(&from);
  270. } else {
  271. CopyFrom(from);
  272. }
  273. return *this;
  274. }
  275. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  276. return GetDescriptor();
  277. }
  278. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  279. return GetMetadataStatic().descriptor;
  280. }
  281. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  282. return GetMetadataStatic().reflection;
  283. }
  284. static const AGVSpeed& default_instance();
  285. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  286. static inline const AGVSpeed* internal_default_instance() {
  287. return reinterpret_cast<const AGVSpeed*>(
  288. &_AGVSpeed_default_instance_);
  289. }
  290. static constexpr int kIndexInFileMessages =
  291. 1;
  292. friend void swap(AGVSpeed& a, AGVSpeed& b) {
  293. a.Swap(&b);
  294. }
  295. inline void Swap(AGVSpeed* other) {
  296. if (other == this) return;
  297. if (GetArena() == other->GetArena()) {
  298. InternalSwap(other);
  299. } else {
  300. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  301. }
  302. }
  303. void UnsafeArenaSwap(AGVSpeed* other) {
  304. if (other == this) return;
  305. GOOGLE_DCHECK(GetArena() == other->GetArena());
  306. InternalSwap(other);
  307. }
  308. // implements Message ----------------------------------------------
  309. inline AGVSpeed* New() const final {
  310. return CreateMaybeMessage<AGVSpeed>(nullptr);
  311. }
  312. AGVSpeed* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  313. return CreateMaybeMessage<AGVSpeed>(arena);
  314. }
  315. void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  316. void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  317. void CopyFrom(const AGVSpeed& from);
  318. void MergeFrom(const AGVSpeed& from);
  319. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  320. bool IsInitialized() const final;
  321. size_t ByteSizeLong() const final;
  322. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  323. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  324. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  325. int GetCachedSize() const final { return _cached_size_.Get(); }
  326. private:
  327. inline void SharedCtor();
  328. inline void SharedDtor();
  329. void SetCachedSize(int size) const final;
  330. void InternalSwap(AGVSpeed* other);
  331. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  332. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  333. return "NavMessage.AGVSpeed";
  334. }
  335. protected:
  336. explicit AGVSpeed(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  337. private:
  338. static void ArenaDtor(void* object);
  339. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  340. public:
  341. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  342. private:
  343. static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
  344. ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_message_2eproto);
  345. return ::descriptor_table_message_2eproto.file_level_metadata[kIndexInFileMessages];
  346. }
  347. public:
  348. // nested types ----------------------------------------------------
  349. // accessors -------------------------------------------------------
  350. enum : int {
  351. kVFieldNumber = 1,
  352. kWFieldNumber = 2,
  353. };
  354. // float v = 1;
  355. void clear_v();
  356. float v() const;
  357. void set_v(float value);
  358. private:
  359. float _internal_v() const;
  360. void _internal_set_v(float value);
  361. public:
  362. // float w = 2;
  363. void clear_w();
  364. float w() const;
  365. void set_w(float value);
  366. private:
  367. float _internal_w() const;
  368. void _internal_set_w(float value);
  369. public:
  370. // @@protoc_insertion_point(class_scope:NavMessage.AGVSpeed)
  371. private:
  372. class _Internal;
  373. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  374. typedef void InternalArenaConstructable_;
  375. typedef void DestructorSkippable_;
  376. float v_;
  377. float w_;
  378. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  379. friend struct ::TableStruct_message_2eproto;
  380. };
  381. // -------------------------------------------------------------------
  382. class Speed PROTOBUF_FINAL :
  383. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:NavMessage.Speed) */ {
  384. public:
  385. inline Speed() : Speed(nullptr) {}
  386. virtual ~Speed();
  387. Speed(const Speed& from);
  388. Speed(Speed&& from) noexcept
  389. : Speed() {
  390. *this = ::std::move(from);
  391. }
  392. inline Speed& operator=(const Speed& from) {
  393. CopyFrom(from);
  394. return *this;
  395. }
  396. inline Speed& operator=(Speed&& from) noexcept {
  397. if (GetArena() == from.GetArena()) {
  398. if (this != &from) InternalSwap(&from);
  399. } else {
  400. CopyFrom(from);
  401. }
  402. return *this;
  403. }
  404. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  405. return GetDescriptor();
  406. }
  407. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  408. return GetMetadataStatic().descriptor;
  409. }
  410. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  411. return GetMetadataStatic().reflection;
  412. }
  413. static const Speed& default_instance();
  414. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  415. static inline const Speed* internal_default_instance() {
  416. return reinterpret_cast<const Speed*>(
  417. &_Speed_default_instance_);
  418. }
  419. static constexpr int kIndexInFileMessages =
  420. 2;
  421. friend void swap(Speed& a, Speed& b) {
  422. a.Swap(&b);
  423. }
  424. inline void Swap(Speed* other) {
  425. if (other == this) return;
  426. if (GetArena() == other->GetArena()) {
  427. InternalSwap(other);
  428. } else {
  429. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  430. }
  431. }
  432. void UnsafeArenaSwap(Speed* other) {
  433. if (other == this) return;
  434. GOOGLE_DCHECK(GetArena() == other->GetArena());
  435. InternalSwap(other);
  436. }
  437. // implements Message ----------------------------------------------
  438. inline Speed* New() const final {
  439. return CreateMaybeMessage<Speed>(nullptr);
  440. }
  441. Speed* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  442. return CreateMaybeMessage<Speed>(arena);
  443. }
  444. void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  445. void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  446. void CopyFrom(const Speed& from);
  447. void MergeFrom(const Speed& from);
  448. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  449. bool IsInitialized() const final;
  450. size_t ByteSizeLong() const final;
  451. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  452. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  453. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  454. int GetCachedSize() const final { return _cached_size_.Get(); }
  455. private:
  456. inline void SharedCtor();
  457. inline void SharedDtor();
  458. void SetCachedSize(int size) const final;
  459. void InternalSwap(Speed* other);
  460. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  461. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  462. return "NavMessage.Speed";
  463. }
  464. protected:
  465. explicit Speed(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  466. private:
  467. static void ArenaDtor(void* object);
  468. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  469. public:
  470. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  471. private:
  472. static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
  473. ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_message_2eproto);
  474. return ::descriptor_table_message_2eproto.file_level_metadata[kIndexInFileMessages];
  475. }
  476. public:
  477. // nested types ----------------------------------------------------
  478. // accessors -------------------------------------------------------
  479. enum : int {
  480. kHFieldNumber = 1,
  481. kMFieldNumber = 2,
  482. kTFieldNumber = 3,
  483. kVFieldNumber = 4,
  484. kWFieldNumber = 5,
  485. kLFieldNumber = 6,
  486. kEndFieldNumber = 7,
  487. };
  488. // int32 H = 1;
  489. void clear_h();
  490. ::PROTOBUF_NAMESPACE_ID::int32 h() const;
  491. void set_h(::PROTOBUF_NAMESPACE_ID::int32 value);
  492. private:
  493. ::PROTOBUF_NAMESPACE_ID::int32 _internal_h() const;
  494. void _internal_set_h(::PROTOBUF_NAMESPACE_ID::int32 value);
  495. public:
  496. // int32 M = 2;
  497. void clear_m();
  498. ::PROTOBUF_NAMESPACE_ID::int32 m() const;
  499. void set_m(::PROTOBUF_NAMESPACE_ID::int32 value);
  500. private:
  501. ::PROTOBUF_NAMESPACE_ID::int32 _internal_m() const;
  502. void _internal_set_m(::PROTOBUF_NAMESPACE_ID::int32 value);
  503. public:
  504. // int32 T = 3;
  505. void clear_t();
  506. ::PROTOBUF_NAMESPACE_ID::int32 t() const;
  507. void set_t(::PROTOBUF_NAMESPACE_ID::int32 value);
  508. private:
  509. ::PROTOBUF_NAMESPACE_ID::int32 _internal_t() const;
  510. void _internal_set_t(::PROTOBUF_NAMESPACE_ID::int32 value);
  511. public:
  512. // float V = 4;
  513. void clear_v();
  514. float v() const;
  515. void set_v(float value);
  516. private:
  517. float _internal_v() const;
  518. void _internal_set_v(float value);
  519. public:
  520. // float W = 5;
  521. void clear_w();
  522. float w() const;
  523. void set_w(float value);
  524. private:
  525. float _internal_w() const;
  526. void _internal_set_w(float value);
  527. public:
  528. // float L = 6;
  529. void clear_l();
  530. float l() const;
  531. void set_l(float value);
  532. private:
  533. float _internal_l() const;
  534. void _internal_set_l(float value);
  535. public:
  536. // int32 end = 7;
  537. void clear_end();
  538. ::PROTOBUF_NAMESPACE_ID::int32 end() const;
  539. void set_end(::PROTOBUF_NAMESPACE_ID::int32 value);
  540. private:
  541. ::PROTOBUF_NAMESPACE_ID::int32 _internal_end() const;
  542. void _internal_set_end(::PROTOBUF_NAMESPACE_ID::int32 value);
  543. public:
  544. // @@protoc_insertion_point(class_scope:NavMessage.Speed)
  545. private:
  546. class _Internal;
  547. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  548. typedef void InternalArenaConstructable_;
  549. typedef void DestructorSkippable_;
  550. ::PROTOBUF_NAMESPACE_ID::int32 h_;
  551. ::PROTOBUF_NAMESPACE_ID::int32 m_;
  552. ::PROTOBUF_NAMESPACE_ID::int32 t_;
  553. float v_;
  554. float w_;
  555. float l_;
  556. ::PROTOBUF_NAMESPACE_ID::int32 end_;
  557. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  558. friend struct ::TableStruct_message_2eproto;
  559. };
  560. // -------------------------------------------------------------------
  561. class SpeedLimit PROTOBUF_FINAL :
  562. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:NavMessage.SpeedLimit) */ {
  563. public:
  564. inline SpeedLimit() : SpeedLimit(nullptr) {}
  565. virtual ~SpeedLimit();
  566. SpeedLimit(const SpeedLimit& from);
  567. SpeedLimit(SpeedLimit&& from) noexcept
  568. : SpeedLimit() {
  569. *this = ::std::move(from);
  570. }
  571. inline SpeedLimit& operator=(const SpeedLimit& from) {
  572. CopyFrom(from);
  573. return *this;
  574. }
  575. inline SpeedLimit& operator=(SpeedLimit&& from) noexcept {
  576. if (GetArena() == from.GetArena()) {
  577. if (this != &from) InternalSwap(&from);
  578. } else {
  579. CopyFrom(from);
  580. }
  581. return *this;
  582. }
  583. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  584. return GetDescriptor();
  585. }
  586. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  587. return GetMetadataStatic().descriptor;
  588. }
  589. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  590. return GetMetadataStatic().reflection;
  591. }
  592. static const SpeedLimit& default_instance();
  593. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  594. static inline const SpeedLimit* internal_default_instance() {
  595. return reinterpret_cast<const SpeedLimit*>(
  596. &_SpeedLimit_default_instance_);
  597. }
  598. static constexpr int kIndexInFileMessages =
  599. 3;
  600. friend void swap(SpeedLimit& a, SpeedLimit& b) {
  601. a.Swap(&b);
  602. }
  603. inline void Swap(SpeedLimit* other) {
  604. if (other == this) return;
  605. if (GetArena() == other->GetArena()) {
  606. InternalSwap(other);
  607. } else {
  608. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  609. }
  610. }
  611. void UnsafeArenaSwap(SpeedLimit* other) {
  612. if (other == this) return;
  613. GOOGLE_DCHECK(GetArena() == other->GetArena());
  614. InternalSwap(other);
  615. }
  616. // implements Message ----------------------------------------------
  617. inline SpeedLimit* New() const final {
  618. return CreateMaybeMessage<SpeedLimit>(nullptr);
  619. }
  620. SpeedLimit* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  621. return CreateMaybeMessage<SpeedLimit>(arena);
  622. }
  623. void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  624. void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  625. void CopyFrom(const SpeedLimit& from);
  626. void MergeFrom(const SpeedLimit& from);
  627. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  628. bool IsInitialized() const final;
  629. size_t ByteSizeLong() const final;
  630. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  631. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  632. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  633. int GetCachedSize() const final { return _cached_size_.Get(); }
  634. private:
  635. inline void SharedCtor();
  636. inline void SharedDtor();
  637. void SetCachedSize(int size) const final;
  638. void InternalSwap(SpeedLimit* other);
  639. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  640. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  641. return "NavMessage.SpeedLimit";
  642. }
  643. protected:
  644. explicit SpeedLimit(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  645. private:
  646. static void ArenaDtor(void* object);
  647. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  648. public:
  649. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  650. private:
  651. static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
  652. ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_message_2eproto);
  653. return ::descriptor_table_message_2eproto.file_level_metadata[kIndexInFileMessages];
  654. }
  655. public:
  656. // nested types ----------------------------------------------------
  657. // accessors -------------------------------------------------------
  658. enum : int {
  659. kMinFieldNumber = 1,
  660. kMaxFieldNumber = 2,
  661. };
  662. // float min = 1;
  663. void clear_min();
  664. float min() const;
  665. void set_min(float value);
  666. private:
  667. float _internal_min() const;
  668. void _internal_set_min(float value);
  669. public:
  670. // float max = 2;
  671. void clear_max();
  672. float max() const;
  673. void set_max(float value);
  674. private:
  675. float _internal_max() const;
  676. void _internal_set_max(float value);
  677. public:
  678. // @@protoc_insertion_point(class_scope:NavMessage.SpeedLimit)
  679. private:
  680. class _Internal;
  681. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  682. typedef void InternalArenaConstructable_;
  683. typedef void DestructorSkippable_;
  684. float min_;
  685. float max_;
  686. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  687. friend struct ::TableStruct_message_2eproto;
  688. };
  689. // -------------------------------------------------------------------
  690. class Pose2d PROTOBUF_FINAL :
  691. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:NavMessage.Pose2d) */ {
  692. public:
  693. inline Pose2d() : Pose2d(nullptr) {}
  694. virtual ~Pose2d();
  695. Pose2d(const Pose2d& from);
  696. Pose2d(Pose2d&& from) noexcept
  697. : Pose2d() {
  698. *this = ::std::move(from);
  699. }
  700. inline Pose2d& operator=(const Pose2d& from) {
  701. CopyFrom(from);
  702. return *this;
  703. }
  704. inline Pose2d& operator=(Pose2d&& from) noexcept {
  705. if (GetArena() == from.GetArena()) {
  706. if (this != &from) InternalSwap(&from);
  707. } else {
  708. CopyFrom(from);
  709. }
  710. return *this;
  711. }
  712. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  713. return GetDescriptor();
  714. }
  715. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  716. return GetMetadataStatic().descriptor;
  717. }
  718. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  719. return GetMetadataStatic().reflection;
  720. }
  721. static const Pose2d& default_instance();
  722. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  723. static inline const Pose2d* internal_default_instance() {
  724. return reinterpret_cast<const Pose2d*>(
  725. &_Pose2d_default_instance_);
  726. }
  727. static constexpr int kIndexInFileMessages =
  728. 4;
  729. friend void swap(Pose2d& a, Pose2d& b) {
  730. a.Swap(&b);
  731. }
  732. inline void Swap(Pose2d* other) {
  733. if (other == this) return;
  734. if (GetArena() == other->GetArena()) {
  735. InternalSwap(other);
  736. } else {
  737. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  738. }
  739. }
  740. void UnsafeArenaSwap(Pose2d* other) {
  741. if (other == this) return;
  742. GOOGLE_DCHECK(GetArena() == other->GetArena());
  743. InternalSwap(other);
  744. }
  745. // implements Message ----------------------------------------------
  746. inline Pose2d* New() const final {
  747. return CreateMaybeMessage<Pose2d>(nullptr);
  748. }
  749. Pose2d* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  750. return CreateMaybeMessage<Pose2d>(arena);
  751. }
  752. void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  753. void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  754. void CopyFrom(const Pose2d& from);
  755. void MergeFrom(const Pose2d& from);
  756. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  757. bool IsInitialized() const final;
  758. size_t ByteSizeLong() const final;
  759. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  760. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  761. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  762. int GetCachedSize() const final { return _cached_size_.Get(); }
  763. private:
  764. inline void SharedCtor();
  765. inline void SharedDtor();
  766. void SetCachedSize(int size) const final;
  767. void InternalSwap(Pose2d* other);
  768. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  769. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  770. return "NavMessage.Pose2d";
  771. }
  772. protected:
  773. explicit Pose2d(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  774. private:
  775. static void ArenaDtor(void* object);
  776. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  777. public:
  778. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  779. private:
  780. static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
  781. ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_message_2eproto);
  782. return ::descriptor_table_message_2eproto.file_level_metadata[kIndexInFileMessages];
  783. }
  784. public:
  785. // nested types ----------------------------------------------------
  786. // accessors -------------------------------------------------------
  787. enum : int {
  788. kXFieldNumber = 1,
  789. kYFieldNumber = 2,
  790. kThetaFieldNumber = 3,
  791. };
  792. // float x = 1;
  793. void clear_x();
  794. float x() const;
  795. void set_x(float value);
  796. private:
  797. float _internal_x() const;
  798. void _internal_set_x(float value);
  799. public:
  800. // float y = 2;
  801. void clear_y();
  802. float y() const;
  803. void set_y(float value);
  804. private:
  805. float _internal_y() const;
  806. void _internal_set_y(float value);
  807. public:
  808. // float theta = 3;
  809. void clear_theta();
  810. float theta() const;
  811. void set_theta(float value);
  812. private:
  813. float _internal_theta() const;
  814. void _internal_set_theta(float value);
  815. public:
  816. // @@protoc_insertion_point(class_scope:NavMessage.Pose2d)
  817. private:
  818. class _Internal;
  819. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  820. typedef void InternalArenaConstructable_;
  821. typedef void DestructorSkippable_;
  822. float x_;
  823. float y_;
  824. float theta_;
  825. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  826. friend struct ::TableStruct_message_2eproto;
  827. };
  828. // -------------------------------------------------------------------
  829. class Trajectory PROTOBUF_FINAL :
  830. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:NavMessage.Trajectory) */ {
  831. public:
  832. inline Trajectory() : Trajectory(nullptr) {}
  833. virtual ~Trajectory();
  834. Trajectory(const Trajectory& from);
  835. Trajectory(Trajectory&& from) noexcept
  836. : Trajectory() {
  837. *this = ::std::move(from);
  838. }
  839. inline Trajectory& operator=(const Trajectory& from) {
  840. CopyFrom(from);
  841. return *this;
  842. }
  843. inline Trajectory& operator=(Trajectory&& from) noexcept {
  844. if (GetArena() == from.GetArena()) {
  845. if (this != &from) InternalSwap(&from);
  846. } else {
  847. CopyFrom(from);
  848. }
  849. return *this;
  850. }
  851. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  852. return GetDescriptor();
  853. }
  854. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  855. return GetMetadataStatic().descriptor;
  856. }
  857. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  858. return GetMetadataStatic().reflection;
  859. }
  860. static const Trajectory& default_instance();
  861. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  862. static inline const Trajectory* internal_default_instance() {
  863. return reinterpret_cast<const Trajectory*>(
  864. &_Trajectory_default_instance_);
  865. }
  866. static constexpr int kIndexInFileMessages =
  867. 5;
  868. friend void swap(Trajectory& a, Trajectory& b) {
  869. a.Swap(&b);
  870. }
  871. inline void Swap(Trajectory* other) {
  872. if (other == this) return;
  873. if (GetArena() == other->GetArena()) {
  874. InternalSwap(other);
  875. } else {
  876. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  877. }
  878. }
  879. void UnsafeArenaSwap(Trajectory* other) {
  880. if (other == this) return;
  881. GOOGLE_DCHECK(GetArena() == other->GetArena());
  882. InternalSwap(other);
  883. }
  884. // implements Message ----------------------------------------------
  885. inline Trajectory* New() const final {
  886. return CreateMaybeMessage<Trajectory>(nullptr);
  887. }
  888. Trajectory* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  889. return CreateMaybeMessage<Trajectory>(arena);
  890. }
  891. void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  892. void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  893. void CopyFrom(const Trajectory& from);
  894. void MergeFrom(const Trajectory& from);
  895. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  896. bool IsInitialized() const final;
  897. size_t ByteSizeLong() const final;
  898. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  899. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  900. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  901. int GetCachedSize() const final { return _cached_size_.Get(); }
  902. private:
  903. inline void SharedCtor();
  904. inline void SharedDtor();
  905. void SetCachedSize(int size) const final;
  906. void InternalSwap(Trajectory* other);
  907. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  908. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  909. return "NavMessage.Trajectory";
  910. }
  911. protected:
  912. explicit Trajectory(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  913. private:
  914. static void ArenaDtor(void* object);
  915. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  916. public:
  917. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  918. private:
  919. static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
  920. ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_message_2eproto);
  921. return ::descriptor_table_message_2eproto.file_level_metadata[kIndexInFileMessages];
  922. }
  923. public:
  924. // nested types ----------------------------------------------------
  925. // accessors -------------------------------------------------------
  926. enum : int {
  927. kPosesFieldNumber = 1,
  928. };
  929. // repeated .NavMessage.Pose2d poses = 1;
  930. int poses_size() const;
  931. private:
  932. int _internal_poses_size() const;
  933. public:
  934. void clear_poses();
  935. ::NavMessage::Pose2d* mutable_poses(int index);
  936. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::NavMessage::Pose2d >*
  937. mutable_poses();
  938. private:
  939. const ::NavMessage::Pose2d& _internal_poses(int index) const;
  940. ::NavMessage::Pose2d* _internal_add_poses();
  941. public:
  942. const ::NavMessage::Pose2d& poses(int index) const;
  943. ::NavMessage::Pose2d* add_poses();
  944. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::NavMessage::Pose2d >&
  945. poses() const;
  946. // @@protoc_insertion_point(class_scope:NavMessage.Trajectory)
  947. private:
  948. class _Internal;
  949. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  950. typedef void InternalArenaConstructable_;
  951. typedef void DestructorSkippable_;
  952. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::NavMessage::Pose2d > poses_;
  953. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  954. friend struct ::TableStruct_message_2eproto;
  955. };
  956. // -------------------------------------------------------------------
  957. class Action PROTOBUF_FINAL :
  958. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:NavMessage.Action) */ {
  959. public:
  960. inline Action() : Action(nullptr) {}
  961. virtual ~Action();
  962. Action(const Action& from);
  963. Action(Action&& from) noexcept
  964. : Action() {
  965. *this = ::std::move(from);
  966. }
  967. inline Action& operator=(const Action& from) {
  968. CopyFrom(from);
  969. return *this;
  970. }
  971. inline Action& operator=(Action&& from) noexcept {
  972. if (GetArena() == from.GetArena()) {
  973. if (this != &from) InternalSwap(&from);
  974. } else {
  975. CopyFrom(from);
  976. }
  977. return *this;
  978. }
  979. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  980. return GetDescriptor();
  981. }
  982. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  983. return GetMetadataStatic().descriptor;
  984. }
  985. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  986. return GetMetadataStatic().reflection;
  987. }
  988. static const Action& default_instance();
  989. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  990. static inline const Action* internal_default_instance() {
  991. return reinterpret_cast<const Action*>(
  992. &_Action_default_instance_);
  993. }
  994. static constexpr int kIndexInFileMessages =
  995. 6;
  996. friend void swap(Action& a, Action& b) {
  997. a.Swap(&b);
  998. }
  999. inline void Swap(Action* other) {
  1000. if (other == this) return;
  1001. if (GetArena() == other->GetArena()) {
  1002. InternalSwap(other);
  1003. } else {
  1004. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  1005. }
  1006. }
  1007. void UnsafeArenaSwap(Action* other) {
  1008. if (other == this) return;
  1009. GOOGLE_DCHECK(GetArena() == other->GetArena());
  1010. InternalSwap(other);
  1011. }
  1012. // implements Message ----------------------------------------------
  1013. inline Action* New() const final {
  1014. return CreateMaybeMessage<Action>(nullptr);
  1015. }
  1016. Action* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  1017. return CreateMaybeMessage<Action>(arena);
  1018. }
  1019. void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  1020. void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  1021. void CopyFrom(const Action& from);
  1022. void MergeFrom(const Action& from);
  1023. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  1024. bool IsInitialized() const final;
  1025. size_t ByteSizeLong() const final;
  1026. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  1027. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  1028. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  1029. int GetCachedSize() const final { return _cached_size_.Get(); }
  1030. private:
  1031. inline void SharedCtor();
  1032. inline void SharedDtor();
  1033. void SetCachedSize(int size) const final;
  1034. void InternalSwap(Action* other);
  1035. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  1036. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  1037. return "NavMessage.Action";
  1038. }
  1039. protected:
  1040. explicit Action(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  1041. private:
  1042. static void ArenaDtor(void* object);
  1043. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  1044. public:
  1045. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  1046. private:
  1047. static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
  1048. ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_message_2eproto);
  1049. return ::descriptor_table_message_2eproto.file_level_metadata[kIndexInFileMessages];
  1050. }
  1051. public:
  1052. // nested types ----------------------------------------------------
  1053. // accessors -------------------------------------------------------
  1054. enum : int {
  1055. kBeginFieldNumber = 2,
  1056. kTargetFieldNumber = 3,
  1057. kTargetDiffFieldNumber = 4,
  1058. kVelocityLimitFieldNumber = 5,
  1059. kAngularLimitFieldNumber = 6,
  1060. kHorizeLimitFieldNumber = 7,
  1061. kTypeFieldNumber = 1,
  1062. };
  1063. // .NavMessage.Pose2d begin = 2;
  1064. bool has_begin() const;
  1065. private:
  1066. bool _internal_has_begin() const;
  1067. public:
  1068. void clear_begin();
  1069. const ::NavMessage::Pose2d& begin() const;
  1070. ::NavMessage::Pose2d* release_begin();
  1071. ::NavMessage::Pose2d* mutable_begin();
  1072. void set_allocated_begin(::NavMessage::Pose2d* begin);
  1073. private:
  1074. const ::NavMessage::Pose2d& _internal_begin() const;
  1075. ::NavMessage::Pose2d* _internal_mutable_begin();
  1076. public:
  1077. void unsafe_arena_set_allocated_begin(
  1078. ::NavMessage::Pose2d* begin);
  1079. ::NavMessage::Pose2d* unsafe_arena_release_begin();
  1080. // .NavMessage.Pose2d target = 3;
  1081. bool has_target() const;
  1082. private:
  1083. bool _internal_has_target() const;
  1084. public:
  1085. void clear_target();
  1086. const ::NavMessage::Pose2d& target() const;
  1087. ::NavMessage::Pose2d* release_target();
  1088. ::NavMessage::Pose2d* mutable_target();
  1089. void set_allocated_target(::NavMessage::Pose2d* target);
  1090. private:
  1091. const ::NavMessage::Pose2d& _internal_target() const;
  1092. ::NavMessage::Pose2d* _internal_mutable_target();
  1093. public:
  1094. void unsafe_arena_set_allocated_target(
  1095. ::NavMessage::Pose2d* target);
  1096. ::NavMessage::Pose2d* unsafe_arena_release_target();
  1097. // .NavMessage.Pose2d target_diff = 4;
  1098. bool has_target_diff() const;
  1099. private:
  1100. bool _internal_has_target_diff() const;
  1101. public:
  1102. void clear_target_diff();
  1103. const ::NavMessage::Pose2d& target_diff() const;
  1104. ::NavMessage::Pose2d* release_target_diff();
  1105. ::NavMessage::Pose2d* mutable_target_diff();
  1106. void set_allocated_target_diff(::NavMessage::Pose2d* target_diff);
  1107. private:
  1108. const ::NavMessage::Pose2d& _internal_target_diff() const;
  1109. ::NavMessage::Pose2d* _internal_mutable_target_diff();
  1110. public:
  1111. void unsafe_arena_set_allocated_target_diff(
  1112. ::NavMessage::Pose2d* target_diff);
  1113. ::NavMessage::Pose2d* unsafe_arena_release_target_diff();
  1114. // .NavMessage.SpeedLimit velocity_limit = 5;
  1115. bool has_velocity_limit() const;
  1116. private:
  1117. bool _internal_has_velocity_limit() const;
  1118. public:
  1119. void clear_velocity_limit();
  1120. const ::NavMessage::SpeedLimit& velocity_limit() const;
  1121. ::NavMessage::SpeedLimit* release_velocity_limit();
  1122. ::NavMessage::SpeedLimit* mutable_velocity_limit();
  1123. void set_allocated_velocity_limit(::NavMessage::SpeedLimit* velocity_limit);
  1124. private:
  1125. const ::NavMessage::SpeedLimit& _internal_velocity_limit() const;
  1126. ::NavMessage::SpeedLimit* _internal_mutable_velocity_limit();
  1127. public:
  1128. void unsafe_arena_set_allocated_velocity_limit(
  1129. ::NavMessage::SpeedLimit* velocity_limit);
  1130. ::NavMessage::SpeedLimit* unsafe_arena_release_velocity_limit();
  1131. // .NavMessage.SpeedLimit angular_limit = 6;
  1132. bool has_angular_limit() const;
  1133. private:
  1134. bool _internal_has_angular_limit() const;
  1135. public:
  1136. void clear_angular_limit();
  1137. const ::NavMessage::SpeedLimit& angular_limit() const;
  1138. ::NavMessage::SpeedLimit* release_angular_limit();
  1139. ::NavMessage::SpeedLimit* mutable_angular_limit();
  1140. void set_allocated_angular_limit(::NavMessage::SpeedLimit* angular_limit);
  1141. private:
  1142. const ::NavMessage::SpeedLimit& _internal_angular_limit() const;
  1143. ::NavMessage::SpeedLimit* _internal_mutable_angular_limit();
  1144. public:
  1145. void unsafe_arena_set_allocated_angular_limit(
  1146. ::NavMessage::SpeedLimit* angular_limit);
  1147. ::NavMessage::SpeedLimit* unsafe_arena_release_angular_limit();
  1148. // .NavMessage.SpeedLimit horize_limit = 7;
  1149. bool has_horize_limit() const;
  1150. private:
  1151. bool _internal_has_horize_limit() const;
  1152. public:
  1153. void clear_horize_limit();
  1154. const ::NavMessage::SpeedLimit& horize_limit() const;
  1155. ::NavMessage::SpeedLimit* release_horize_limit();
  1156. ::NavMessage::SpeedLimit* mutable_horize_limit();
  1157. void set_allocated_horize_limit(::NavMessage::SpeedLimit* horize_limit);
  1158. private:
  1159. const ::NavMessage::SpeedLimit& _internal_horize_limit() const;
  1160. ::NavMessage::SpeedLimit* _internal_mutable_horize_limit();
  1161. public:
  1162. void unsafe_arena_set_allocated_horize_limit(
  1163. ::NavMessage::SpeedLimit* horize_limit);
  1164. ::NavMessage::SpeedLimit* unsafe_arena_release_horize_limit();
  1165. // int32 type = 1;
  1166. void clear_type();
  1167. ::PROTOBUF_NAMESPACE_ID::int32 type() const;
  1168. void set_type(::PROTOBUF_NAMESPACE_ID::int32 value);
  1169. private:
  1170. ::PROTOBUF_NAMESPACE_ID::int32 _internal_type() const;
  1171. void _internal_set_type(::PROTOBUF_NAMESPACE_ID::int32 value);
  1172. public:
  1173. // @@protoc_insertion_point(class_scope:NavMessage.Action)
  1174. private:
  1175. class _Internal;
  1176. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  1177. typedef void InternalArenaConstructable_;
  1178. typedef void DestructorSkippable_;
  1179. ::NavMessage::Pose2d* begin_;
  1180. ::NavMessage::Pose2d* target_;
  1181. ::NavMessage::Pose2d* target_diff_;
  1182. ::NavMessage::SpeedLimit* velocity_limit_;
  1183. ::NavMessage::SpeedLimit* angular_limit_;
  1184. ::NavMessage::SpeedLimit* horize_limit_;
  1185. ::PROTOBUF_NAMESPACE_ID::int32 type_;
  1186. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  1187. friend struct ::TableStruct_message_2eproto;
  1188. };
  1189. // -------------------------------------------------------------------
  1190. class NavCmd PROTOBUF_FINAL :
  1191. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:NavMessage.NavCmd) */ {
  1192. public:
  1193. inline NavCmd() : NavCmd(nullptr) {}
  1194. virtual ~NavCmd();
  1195. NavCmd(const NavCmd& from);
  1196. NavCmd(NavCmd&& from) noexcept
  1197. : NavCmd() {
  1198. *this = ::std::move(from);
  1199. }
  1200. inline NavCmd& operator=(const NavCmd& from) {
  1201. CopyFrom(from);
  1202. return *this;
  1203. }
  1204. inline NavCmd& operator=(NavCmd&& from) noexcept {
  1205. if (GetArena() == from.GetArena()) {
  1206. if (this != &from) InternalSwap(&from);
  1207. } else {
  1208. CopyFrom(from);
  1209. }
  1210. return *this;
  1211. }
  1212. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  1213. return GetDescriptor();
  1214. }
  1215. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  1216. return GetMetadataStatic().descriptor;
  1217. }
  1218. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  1219. return GetMetadataStatic().reflection;
  1220. }
  1221. static const NavCmd& default_instance();
  1222. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  1223. static inline const NavCmd* internal_default_instance() {
  1224. return reinterpret_cast<const NavCmd*>(
  1225. &_NavCmd_default_instance_);
  1226. }
  1227. static constexpr int kIndexInFileMessages =
  1228. 7;
  1229. friend void swap(NavCmd& a, NavCmd& b) {
  1230. a.Swap(&b);
  1231. }
  1232. inline void Swap(NavCmd* other) {
  1233. if (other == this) return;
  1234. if (GetArena() == other->GetArena()) {
  1235. InternalSwap(other);
  1236. } else {
  1237. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  1238. }
  1239. }
  1240. void UnsafeArenaSwap(NavCmd* other) {
  1241. if (other == this) return;
  1242. GOOGLE_DCHECK(GetArena() == other->GetArena());
  1243. InternalSwap(other);
  1244. }
  1245. // implements Message ----------------------------------------------
  1246. inline NavCmd* New() const final {
  1247. return CreateMaybeMessage<NavCmd>(nullptr);
  1248. }
  1249. NavCmd* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  1250. return CreateMaybeMessage<NavCmd>(arena);
  1251. }
  1252. void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  1253. void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  1254. void CopyFrom(const NavCmd& from);
  1255. void MergeFrom(const NavCmd& from);
  1256. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  1257. bool IsInitialized() const final;
  1258. size_t ByteSizeLong() const final;
  1259. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  1260. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  1261. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  1262. int GetCachedSize() const final { return _cached_size_.Get(); }
  1263. private:
  1264. inline void SharedCtor();
  1265. inline void SharedDtor();
  1266. void SetCachedSize(int size) const final;
  1267. void InternalSwap(NavCmd* other);
  1268. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  1269. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  1270. return "NavMessage.NavCmd";
  1271. }
  1272. protected:
  1273. explicit NavCmd(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  1274. private:
  1275. static void ArenaDtor(void* object);
  1276. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  1277. public:
  1278. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  1279. private:
  1280. static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
  1281. ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_message_2eproto);
  1282. return ::descriptor_table_message_2eproto.file_level_metadata[kIndexInFileMessages];
  1283. }
  1284. public:
  1285. // nested types ----------------------------------------------------
  1286. // accessors -------------------------------------------------------
  1287. enum : int {
  1288. kActionsFieldNumber = 4,
  1289. kKeyFieldNumber = 2,
  1290. kActionFieldNumber = 1,
  1291. kWheelbaseFieldNumber = 3,
  1292. };
  1293. // repeated .NavMessage.Action actions = 4;
  1294. int actions_size() const;
  1295. private:
  1296. int _internal_actions_size() const;
  1297. public:
  1298. void clear_actions();
  1299. ::NavMessage::Action* mutable_actions(int index);
  1300. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::NavMessage::Action >*
  1301. mutable_actions();
  1302. private:
  1303. const ::NavMessage::Action& _internal_actions(int index) const;
  1304. ::NavMessage::Action* _internal_add_actions();
  1305. public:
  1306. const ::NavMessage::Action& actions(int index) const;
  1307. ::NavMessage::Action* add_actions();
  1308. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::NavMessage::Action >&
  1309. actions() const;
  1310. // string key = 2;
  1311. void clear_key();
  1312. const std::string& key() const;
  1313. void set_key(const std::string& value);
  1314. void set_key(std::string&& value);
  1315. void set_key(const char* value);
  1316. void set_key(const char* value, size_t size);
  1317. std::string* mutable_key();
  1318. std::string* release_key();
  1319. void set_allocated_key(std::string* key);
  1320. private:
  1321. const std::string& _internal_key() const;
  1322. void _internal_set_key(const std::string& value);
  1323. std::string* _internal_mutable_key();
  1324. public:
  1325. // int32 action = 1;
  1326. void clear_action();
  1327. ::PROTOBUF_NAMESPACE_ID::int32 action() const;
  1328. void set_action(::PROTOBUF_NAMESPACE_ID::int32 value);
  1329. private:
  1330. ::PROTOBUF_NAMESPACE_ID::int32 _internal_action() const;
  1331. void _internal_set_action(::PROTOBUF_NAMESPACE_ID::int32 value);
  1332. public:
  1333. // float wheelbase = 3;
  1334. void clear_wheelbase();
  1335. float wheelbase() const;
  1336. void set_wheelbase(float value);
  1337. private:
  1338. float _internal_wheelbase() const;
  1339. void _internal_set_wheelbase(float value);
  1340. public:
  1341. // @@protoc_insertion_point(class_scope:NavMessage.NavCmd)
  1342. private:
  1343. class _Internal;
  1344. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  1345. typedef void InternalArenaConstructable_;
  1346. typedef void DestructorSkippable_;
  1347. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::NavMessage::Action > actions_;
  1348. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr key_;
  1349. ::PROTOBUF_NAMESPACE_ID::int32 action_;
  1350. float wheelbase_;
  1351. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  1352. friend struct ::TableStruct_message_2eproto;
  1353. };
  1354. // -------------------------------------------------------------------
  1355. class NavStatu PROTOBUF_FINAL :
  1356. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:NavMessage.NavStatu) */ {
  1357. public:
  1358. inline NavStatu() : NavStatu(nullptr) {}
  1359. virtual ~NavStatu();
  1360. NavStatu(const NavStatu& from);
  1361. NavStatu(NavStatu&& from) noexcept
  1362. : NavStatu() {
  1363. *this = ::std::move(from);
  1364. }
  1365. inline NavStatu& operator=(const NavStatu& from) {
  1366. CopyFrom(from);
  1367. return *this;
  1368. }
  1369. inline NavStatu& operator=(NavStatu&& from) noexcept {
  1370. if (GetArena() == from.GetArena()) {
  1371. if (this != &from) InternalSwap(&from);
  1372. } else {
  1373. CopyFrom(from);
  1374. }
  1375. return *this;
  1376. }
  1377. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  1378. return GetDescriptor();
  1379. }
  1380. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  1381. return GetMetadataStatic().descriptor;
  1382. }
  1383. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  1384. return GetMetadataStatic().reflection;
  1385. }
  1386. static const NavStatu& default_instance();
  1387. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  1388. static inline const NavStatu* internal_default_instance() {
  1389. return reinterpret_cast<const NavStatu*>(
  1390. &_NavStatu_default_instance_);
  1391. }
  1392. static constexpr int kIndexInFileMessages =
  1393. 8;
  1394. friend void swap(NavStatu& a, NavStatu& b) {
  1395. a.Swap(&b);
  1396. }
  1397. inline void Swap(NavStatu* other) {
  1398. if (other == this) return;
  1399. if (GetArena() == other->GetArena()) {
  1400. InternalSwap(other);
  1401. } else {
  1402. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  1403. }
  1404. }
  1405. void UnsafeArenaSwap(NavStatu* other) {
  1406. if (other == this) return;
  1407. GOOGLE_DCHECK(GetArena() == other->GetArena());
  1408. InternalSwap(other);
  1409. }
  1410. // implements Message ----------------------------------------------
  1411. inline NavStatu* New() const final {
  1412. return CreateMaybeMessage<NavStatu>(nullptr);
  1413. }
  1414. NavStatu* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  1415. return CreateMaybeMessage<NavStatu>(arena);
  1416. }
  1417. void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  1418. void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  1419. void CopyFrom(const NavStatu& from);
  1420. void MergeFrom(const NavStatu& from);
  1421. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  1422. bool IsInitialized() const final;
  1423. size_t ByteSizeLong() const final;
  1424. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  1425. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  1426. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  1427. int GetCachedSize() const final { return _cached_size_.Get(); }
  1428. private:
  1429. inline void SharedCtor();
  1430. inline void SharedDtor();
  1431. void SetCachedSize(int size) const final;
  1432. void InternalSwap(NavStatu* other);
  1433. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  1434. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  1435. return "NavMessage.NavStatu";
  1436. }
  1437. protected:
  1438. explicit NavStatu(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  1439. private:
  1440. static void ArenaDtor(void* object);
  1441. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  1442. public:
  1443. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  1444. private:
  1445. static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
  1446. ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_message_2eproto);
  1447. return ::descriptor_table_message_2eproto.file_level_metadata[kIndexInFileMessages];
  1448. }
  1449. public:
  1450. // nested types ----------------------------------------------------
  1451. // accessors -------------------------------------------------------
  1452. enum : int {
  1453. kUnfinishedActionsFieldNumber = 5,
  1454. kKeyFieldNumber = 4,
  1455. kSelectedTrajFieldNumber = 6,
  1456. kPredictTrajFieldNumber = 7,
  1457. kStatuFieldNumber = 1,
  1458. kMainAgvFieldNumber = 2,
  1459. kMoveModeFieldNumber = 3,
  1460. };
  1461. // repeated .NavMessage.Action unfinished_actions = 5;
  1462. int unfinished_actions_size() const;
  1463. private:
  1464. int _internal_unfinished_actions_size() const;
  1465. public:
  1466. void clear_unfinished_actions();
  1467. ::NavMessage::Action* mutable_unfinished_actions(int index);
  1468. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::NavMessage::Action >*
  1469. mutable_unfinished_actions();
  1470. private:
  1471. const ::NavMessage::Action& _internal_unfinished_actions(int index) const;
  1472. ::NavMessage::Action* _internal_add_unfinished_actions();
  1473. public:
  1474. const ::NavMessage::Action& unfinished_actions(int index) const;
  1475. ::NavMessage::Action* add_unfinished_actions();
  1476. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::NavMessage::Action >&
  1477. unfinished_actions() const;
  1478. // string key = 4;
  1479. void clear_key();
  1480. const std::string& key() const;
  1481. void set_key(const std::string& value);
  1482. void set_key(std::string&& value);
  1483. void set_key(const char* value);
  1484. void set_key(const char* value, size_t size);
  1485. std::string* mutable_key();
  1486. std::string* release_key();
  1487. void set_allocated_key(std::string* key);
  1488. private:
  1489. const std::string& _internal_key() const;
  1490. void _internal_set_key(const std::string& value);
  1491. std::string* _internal_mutable_key();
  1492. public:
  1493. // .NavMessage.Trajectory selected_traj = 6;
  1494. bool has_selected_traj() const;
  1495. private:
  1496. bool _internal_has_selected_traj() const;
  1497. public:
  1498. void clear_selected_traj();
  1499. const ::NavMessage::Trajectory& selected_traj() const;
  1500. ::NavMessage::Trajectory* release_selected_traj();
  1501. ::NavMessage::Trajectory* mutable_selected_traj();
  1502. void set_allocated_selected_traj(::NavMessage::Trajectory* selected_traj);
  1503. private:
  1504. const ::NavMessage::Trajectory& _internal_selected_traj() const;
  1505. ::NavMessage::Trajectory* _internal_mutable_selected_traj();
  1506. public:
  1507. void unsafe_arena_set_allocated_selected_traj(
  1508. ::NavMessage::Trajectory* selected_traj);
  1509. ::NavMessage::Trajectory* unsafe_arena_release_selected_traj();
  1510. // .NavMessage.Trajectory predict_traj = 7;
  1511. bool has_predict_traj() const;
  1512. private:
  1513. bool _internal_has_predict_traj() const;
  1514. public:
  1515. void clear_predict_traj();
  1516. const ::NavMessage::Trajectory& predict_traj() const;
  1517. ::NavMessage::Trajectory* release_predict_traj();
  1518. ::NavMessage::Trajectory* mutable_predict_traj();
  1519. void set_allocated_predict_traj(::NavMessage::Trajectory* predict_traj);
  1520. private:
  1521. const ::NavMessage::Trajectory& _internal_predict_traj() const;
  1522. ::NavMessage::Trajectory* _internal_mutable_predict_traj();
  1523. public:
  1524. void unsafe_arena_set_allocated_predict_traj(
  1525. ::NavMessage::Trajectory* predict_traj);
  1526. ::NavMessage::Trajectory* unsafe_arena_release_predict_traj();
  1527. // bool statu = 1;
  1528. void clear_statu();
  1529. bool statu() const;
  1530. void set_statu(bool value);
  1531. private:
  1532. bool _internal_statu() const;
  1533. void _internal_set_statu(bool value);
  1534. public:
  1535. // bool main_agv = 2;
  1536. void clear_main_agv();
  1537. bool main_agv() const;
  1538. void set_main_agv(bool value);
  1539. private:
  1540. bool _internal_main_agv() const;
  1541. void _internal_set_main_agv(bool value);
  1542. public:
  1543. // int32 move_mode = 3;
  1544. void clear_move_mode();
  1545. ::PROTOBUF_NAMESPACE_ID::int32 move_mode() const;
  1546. void set_move_mode(::PROTOBUF_NAMESPACE_ID::int32 value);
  1547. private:
  1548. ::PROTOBUF_NAMESPACE_ID::int32 _internal_move_mode() const;
  1549. void _internal_set_move_mode(::PROTOBUF_NAMESPACE_ID::int32 value);
  1550. public:
  1551. // @@protoc_insertion_point(class_scope:NavMessage.NavStatu)
  1552. private:
  1553. class _Internal;
  1554. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  1555. typedef void InternalArenaConstructable_;
  1556. typedef void DestructorSkippable_;
  1557. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::NavMessage::Action > unfinished_actions_;
  1558. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr key_;
  1559. ::NavMessage::Trajectory* selected_traj_;
  1560. ::NavMessage::Trajectory* predict_traj_;
  1561. bool statu_;
  1562. bool main_agv_;
  1563. ::PROTOBUF_NAMESPACE_ID::int32 move_mode_;
  1564. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  1565. friend struct ::TableStruct_message_2eproto;
  1566. };
  1567. // ===================================================================
  1568. // ===================================================================
  1569. #ifdef __GNUC__
  1570. #pragma GCC diagnostic push
  1571. #pragma GCC diagnostic ignored "-Wstrict-aliasing"
  1572. #endif // __GNUC__
  1573. // AGVStatu
  1574. // float x = 1;
  1575. inline void AGVStatu::clear_x() {
  1576. x_ = 0;
  1577. }
  1578. inline float AGVStatu::_internal_x() const {
  1579. return x_;
  1580. }
  1581. inline float AGVStatu::x() const {
  1582. // @@protoc_insertion_point(field_get:NavMessage.AGVStatu.x)
  1583. return _internal_x();
  1584. }
  1585. inline void AGVStatu::_internal_set_x(float value) {
  1586. x_ = value;
  1587. }
  1588. inline void AGVStatu::set_x(float value) {
  1589. _internal_set_x(value);
  1590. // @@protoc_insertion_point(field_set:NavMessage.AGVStatu.x)
  1591. }
  1592. // float y = 2;
  1593. inline void AGVStatu::clear_y() {
  1594. y_ = 0;
  1595. }
  1596. inline float AGVStatu::_internal_y() const {
  1597. return y_;
  1598. }
  1599. inline float AGVStatu::y() const {
  1600. // @@protoc_insertion_point(field_get:NavMessage.AGVStatu.y)
  1601. return _internal_y();
  1602. }
  1603. inline void AGVStatu::_internal_set_y(float value) {
  1604. y_ = value;
  1605. }
  1606. inline void AGVStatu::set_y(float value) {
  1607. _internal_set_y(value);
  1608. // @@protoc_insertion_point(field_set:NavMessage.AGVStatu.y)
  1609. }
  1610. // float theta = 3;
  1611. inline void AGVStatu::clear_theta() {
  1612. theta_ = 0;
  1613. }
  1614. inline float AGVStatu::_internal_theta() const {
  1615. return theta_;
  1616. }
  1617. inline float AGVStatu::theta() const {
  1618. // @@protoc_insertion_point(field_get:NavMessage.AGVStatu.theta)
  1619. return _internal_theta();
  1620. }
  1621. inline void AGVStatu::_internal_set_theta(float value) {
  1622. theta_ = value;
  1623. }
  1624. inline void AGVStatu::set_theta(float value) {
  1625. _internal_set_theta(value);
  1626. // @@protoc_insertion_point(field_set:NavMessage.AGVStatu.theta)
  1627. }
  1628. // float v = 4;
  1629. inline void AGVStatu::clear_v() {
  1630. v_ = 0;
  1631. }
  1632. inline float AGVStatu::_internal_v() const {
  1633. return v_;
  1634. }
  1635. inline float AGVStatu::v() const {
  1636. // @@protoc_insertion_point(field_get:NavMessage.AGVStatu.v)
  1637. return _internal_v();
  1638. }
  1639. inline void AGVStatu::_internal_set_v(float value) {
  1640. v_ = value;
  1641. }
  1642. inline void AGVStatu::set_v(float value) {
  1643. _internal_set_v(value);
  1644. // @@protoc_insertion_point(field_set:NavMessage.AGVStatu.v)
  1645. }
  1646. // float vth = 5;
  1647. inline void AGVStatu::clear_vth() {
  1648. vth_ = 0;
  1649. }
  1650. inline float AGVStatu::_internal_vth() const {
  1651. return vth_;
  1652. }
  1653. inline float AGVStatu::vth() const {
  1654. // @@protoc_insertion_point(field_get:NavMessage.AGVStatu.vth)
  1655. return _internal_vth();
  1656. }
  1657. inline void AGVStatu::_internal_set_vth(float value) {
  1658. vth_ = value;
  1659. }
  1660. inline void AGVStatu::set_vth(float value) {
  1661. _internal_set_vth(value);
  1662. // @@protoc_insertion_point(field_set:NavMessage.AGVStatu.vth)
  1663. }
  1664. // -------------------------------------------------------------------
  1665. // AGVSpeed
  1666. // float v = 1;
  1667. inline void AGVSpeed::clear_v() {
  1668. v_ = 0;
  1669. }
  1670. inline float AGVSpeed::_internal_v() const {
  1671. return v_;
  1672. }
  1673. inline float AGVSpeed::v() const {
  1674. // @@protoc_insertion_point(field_get:NavMessage.AGVSpeed.v)
  1675. return _internal_v();
  1676. }
  1677. inline void AGVSpeed::_internal_set_v(float value) {
  1678. v_ = value;
  1679. }
  1680. inline void AGVSpeed::set_v(float value) {
  1681. _internal_set_v(value);
  1682. // @@protoc_insertion_point(field_set:NavMessage.AGVSpeed.v)
  1683. }
  1684. // float w = 2;
  1685. inline void AGVSpeed::clear_w() {
  1686. w_ = 0;
  1687. }
  1688. inline float AGVSpeed::_internal_w() const {
  1689. return w_;
  1690. }
  1691. inline float AGVSpeed::w() const {
  1692. // @@protoc_insertion_point(field_get:NavMessage.AGVSpeed.w)
  1693. return _internal_w();
  1694. }
  1695. inline void AGVSpeed::_internal_set_w(float value) {
  1696. w_ = value;
  1697. }
  1698. inline void AGVSpeed::set_w(float value) {
  1699. _internal_set_w(value);
  1700. // @@protoc_insertion_point(field_set:NavMessage.AGVSpeed.w)
  1701. }
  1702. // -------------------------------------------------------------------
  1703. // Speed
  1704. // int32 H = 1;
  1705. inline void Speed::clear_h() {
  1706. h_ = 0;
  1707. }
  1708. inline ::PROTOBUF_NAMESPACE_ID::int32 Speed::_internal_h() const {
  1709. return h_;
  1710. }
  1711. inline ::PROTOBUF_NAMESPACE_ID::int32 Speed::h() const {
  1712. // @@protoc_insertion_point(field_get:NavMessage.Speed.H)
  1713. return _internal_h();
  1714. }
  1715. inline void Speed::_internal_set_h(::PROTOBUF_NAMESPACE_ID::int32 value) {
  1716. h_ = value;
  1717. }
  1718. inline void Speed::set_h(::PROTOBUF_NAMESPACE_ID::int32 value) {
  1719. _internal_set_h(value);
  1720. // @@protoc_insertion_point(field_set:NavMessage.Speed.H)
  1721. }
  1722. // int32 M = 2;
  1723. inline void Speed::clear_m() {
  1724. m_ = 0;
  1725. }
  1726. inline ::PROTOBUF_NAMESPACE_ID::int32 Speed::_internal_m() const {
  1727. return m_;
  1728. }
  1729. inline ::PROTOBUF_NAMESPACE_ID::int32 Speed::m() const {
  1730. // @@protoc_insertion_point(field_get:NavMessage.Speed.M)
  1731. return _internal_m();
  1732. }
  1733. inline void Speed::_internal_set_m(::PROTOBUF_NAMESPACE_ID::int32 value) {
  1734. m_ = value;
  1735. }
  1736. inline void Speed::set_m(::PROTOBUF_NAMESPACE_ID::int32 value) {
  1737. _internal_set_m(value);
  1738. // @@protoc_insertion_point(field_set:NavMessage.Speed.M)
  1739. }
  1740. // int32 T = 3;
  1741. inline void Speed::clear_t() {
  1742. t_ = 0;
  1743. }
  1744. inline ::PROTOBUF_NAMESPACE_ID::int32 Speed::_internal_t() const {
  1745. return t_;
  1746. }
  1747. inline ::PROTOBUF_NAMESPACE_ID::int32 Speed::t() const {
  1748. // @@protoc_insertion_point(field_get:NavMessage.Speed.T)
  1749. return _internal_t();
  1750. }
  1751. inline void Speed::_internal_set_t(::PROTOBUF_NAMESPACE_ID::int32 value) {
  1752. t_ = value;
  1753. }
  1754. inline void Speed::set_t(::PROTOBUF_NAMESPACE_ID::int32 value) {
  1755. _internal_set_t(value);
  1756. // @@protoc_insertion_point(field_set:NavMessage.Speed.T)
  1757. }
  1758. // float V = 4;
  1759. inline void Speed::clear_v() {
  1760. v_ = 0;
  1761. }
  1762. inline float Speed::_internal_v() const {
  1763. return v_;
  1764. }
  1765. inline float Speed::v() const {
  1766. // @@protoc_insertion_point(field_get:NavMessage.Speed.V)
  1767. return _internal_v();
  1768. }
  1769. inline void Speed::_internal_set_v(float value) {
  1770. v_ = value;
  1771. }
  1772. inline void Speed::set_v(float value) {
  1773. _internal_set_v(value);
  1774. // @@protoc_insertion_point(field_set:NavMessage.Speed.V)
  1775. }
  1776. // float W = 5;
  1777. inline void Speed::clear_w() {
  1778. w_ = 0;
  1779. }
  1780. inline float Speed::_internal_w() const {
  1781. return w_;
  1782. }
  1783. inline float Speed::w() const {
  1784. // @@protoc_insertion_point(field_get:NavMessage.Speed.W)
  1785. return _internal_w();
  1786. }
  1787. inline void Speed::_internal_set_w(float value) {
  1788. w_ = value;
  1789. }
  1790. inline void Speed::set_w(float value) {
  1791. _internal_set_w(value);
  1792. // @@protoc_insertion_point(field_set:NavMessage.Speed.W)
  1793. }
  1794. // float L = 6;
  1795. inline void Speed::clear_l() {
  1796. l_ = 0;
  1797. }
  1798. inline float Speed::_internal_l() const {
  1799. return l_;
  1800. }
  1801. inline float Speed::l() const {
  1802. // @@protoc_insertion_point(field_get:NavMessage.Speed.L)
  1803. return _internal_l();
  1804. }
  1805. inline void Speed::_internal_set_l(float value) {
  1806. l_ = value;
  1807. }
  1808. inline void Speed::set_l(float value) {
  1809. _internal_set_l(value);
  1810. // @@protoc_insertion_point(field_set:NavMessage.Speed.L)
  1811. }
  1812. // int32 end = 7;
  1813. inline void Speed::clear_end() {
  1814. end_ = 0;
  1815. }
  1816. inline ::PROTOBUF_NAMESPACE_ID::int32 Speed::_internal_end() const {
  1817. return end_;
  1818. }
  1819. inline ::PROTOBUF_NAMESPACE_ID::int32 Speed::end() const {
  1820. // @@protoc_insertion_point(field_get:NavMessage.Speed.end)
  1821. return _internal_end();
  1822. }
  1823. inline void Speed::_internal_set_end(::PROTOBUF_NAMESPACE_ID::int32 value) {
  1824. end_ = value;
  1825. }
  1826. inline void Speed::set_end(::PROTOBUF_NAMESPACE_ID::int32 value) {
  1827. _internal_set_end(value);
  1828. // @@protoc_insertion_point(field_set:NavMessage.Speed.end)
  1829. }
  1830. // -------------------------------------------------------------------
  1831. // SpeedLimit
  1832. // float min = 1;
  1833. inline void SpeedLimit::clear_min() {
  1834. min_ = 0;
  1835. }
  1836. inline float SpeedLimit::_internal_min() const {
  1837. return min_;
  1838. }
  1839. inline float SpeedLimit::min() const {
  1840. // @@protoc_insertion_point(field_get:NavMessage.SpeedLimit.min)
  1841. return _internal_min();
  1842. }
  1843. inline void SpeedLimit::_internal_set_min(float value) {
  1844. min_ = value;
  1845. }
  1846. inline void SpeedLimit::set_min(float value) {
  1847. _internal_set_min(value);
  1848. // @@protoc_insertion_point(field_set:NavMessage.SpeedLimit.min)
  1849. }
  1850. // float max = 2;
  1851. inline void SpeedLimit::clear_max() {
  1852. max_ = 0;
  1853. }
  1854. inline float SpeedLimit::_internal_max() const {
  1855. return max_;
  1856. }
  1857. inline float SpeedLimit::max() const {
  1858. // @@protoc_insertion_point(field_get:NavMessage.SpeedLimit.max)
  1859. return _internal_max();
  1860. }
  1861. inline void SpeedLimit::_internal_set_max(float value) {
  1862. max_ = value;
  1863. }
  1864. inline void SpeedLimit::set_max(float value) {
  1865. _internal_set_max(value);
  1866. // @@protoc_insertion_point(field_set:NavMessage.SpeedLimit.max)
  1867. }
  1868. // -------------------------------------------------------------------
  1869. // Pose2d
  1870. // float x = 1;
  1871. inline void Pose2d::clear_x() {
  1872. x_ = 0;
  1873. }
  1874. inline float Pose2d::_internal_x() const {
  1875. return x_;
  1876. }
  1877. inline float Pose2d::x() const {
  1878. // @@protoc_insertion_point(field_get:NavMessage.Pose2d.x)
  1879. return _internal_x();
  1880. }
  1881. inline void Pose2d::_internal_set_x(float value) {
  1882. x_ = value;
  1883. }
  1884. inline void Pose2d::set_x(float value) {
  1885. _internal_set_x(value);
  1886. // @@protoc_insertion_point(field_set:NavMessage.Pose2d.x)
  1887. }
  1888. // float y = 2;
  1889. inline void Pose2d::clear_y() {
  1890. y_ = 0;
  1891. }
  1892. inline float Pose2d::_internal_y() const {
  1893. return y_;
  1894. }
  1895. inline float Pose2d::y() const {
  1896. // @@protoc_insertion_point(field_get:NavMessage.Pose2d.y)
  1897. return _internal_y();
  1898. }
  1899. inline void Pose2d::_internal_set_y(float value) {
  1900. y_ = value;
  1901. }
  1902. inline void Pose2d::set_y(float value) {
  1903. _internal_set_y(value);
  1904. // @@protoc_insertion_point(field_set:NavMessage.Pose2d.y)
  1905. }
  1906. // float theta = 3;
  1907. inline void Pose2d::clear_theta() {
  1908. theta_ = 0;
  1909. }
  1910. inline float Pose2d::_internal_theta() const {
  1911. return theta_;
  1912. }
  1913. inline float Pose2d::theta() const {
  1914. // @@protoc_insertion_point(field_get:NavMessage.Pose2d.theta)
  1915. return _internal_theta();
  1916. }
  1917. inline void Pose2d::_internal_set_theta(float value) {
  1918. theta_ = value;
  1919. }
  1920. inline void Pose2d::set_theta(float value) {
  1921. _internal_set_theta(value);
  1922. // @@protoc_insertion_point(field_set:NavMessage.Pose2d.theta)
  1923. }
  1924. // -------------------------------------------------------------------
  1925. // Trajectory
  1926. // repeated .NavMessage.Pose2d poses = 1;
  1927. inline int Trajectory::_internal_poses_size() const {
  1928. return poses_.size();
  1929. }
  1930. inline int Trajectory::poses_size() const {
  1931. return _internal_poses_size();
  1932. }
  1933. inline void Trajectory::clear_poses() {
  1934. poses_.Clear();
  1935. }
  1936. inline ::NavMessage::Pose2d* Trajectory::mutable_poses(int index) {
  1937. // @@protoc_insertion_point(field_mutable:NavMessage.Trajectory.poses)
  1938. return poses_.Mutable(index);
  1939. }
  1940. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::NavMessage::Pose2d >*
  1941. Trajectory::mutable_poses() {
  1942. // @@protoc_insertion_point(field_mutable_list:NavMessage.Trajectory.poses)
  1943. return &poses_;
  1944. }
  1945. inline const ::NavMessage::Pose2d& Trajectory::_internal_poses(int index) const {
  1946. return poses_.Get(index);
  1947. }
  1948. inline const ::NavMessage::Pose2d& Trajectory::poses(int index) const {
  1949. // @@protoc_insertion_point(field_get:NavMessage.Trajectory.poses)
  1950. return _internal_poses(index);
  1951. }
  1952. inline ::NavMessage::Pose2d* Trajectory::_internal_add_poses() {
  1953. return poses_.Add();
  1954. }
  1955. inline ::NavMessage::Pose2d* Trajectory::add_poses() {
  1956. // @@protoc_insertion_point(field_add:NavMessage.Trajectory.poses)
  1957. return _internal_add_poses();
  1958. }
  1959. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::NavMessage::Pose2d >&
  1960. Trajectory::poses() const {
  1961. // @@protoc_insertion_point(field_list:NavMessage.Trajectory.poses)
  1962. return poses_;
  1963. }
  1964. // -------------------------------------------------------------------
  1965. // Action
  1966. // int32 type = 1;
  1967. inline void Action::clear_type() {
  1968. type_ = 0;
  1969. }
  1970. inline ::PROTOBUF_NAMESPACE_ID::int32 Action::_internal_type() const {
  1971. return type_;
  1972. }
  1973. inline ::PROTOBUF_NAMESPACE_ID::int32 Action::type() const {
  1974. // @@protoc_insertion_point(field_get:NavMessage.Action.type)
  1975. return _internal_type();
  1976. }
  1977. inline void Action::_internal_set_type(::PROTOBUF_NAMESPACE_ID::int32 value) {
  1978. type_ = value;
  1979. }
  1980. inline void Action::set_type(::PROTOBUF_NAMESPACE_ID::int32 value) {
  1981. _internal_set_type(value);
  1982. // @@protoc_insertion_point(field_set:NavMessage.Action.type)
  1983. }
  1984. // .NavMessage.Pose2d begin = 2;
  1985. inline bool Action::_internal_has_begin() const {
  1986. return this != internal_default_instance() && begin_ != nullptr;
  1987. }
  1988. inline bool Action::has_begin() const {
  1989. return _internal_has_begin();
  1990. }
  1991. inline void Action::clear_begin() {
  1992. if (GetArena() == nullptr && begin_ != nullptr) {
  1993. delete begin_;
  1994. }
  1995. begin_ = nullptr;
  1996. }
  1997. inline const ::NavMessage::Pose2d& Action::_internal_begin() const {
  1998. const ::NavMessage::Pose2d* p = begin_;
  1999. return p != nullptr ? *p : *reinterpret_cast<const ::NavMessage::Pose2d*>(
  2000. &::NavMessage::_Pose2d_default_instance_);
  2001. }
  2002. inline const ::NavMessage::Pose2d& Action::begin() const {
  2003. // @@protoc_insertion_point(field_get:NavMessage.Action.begin)
  2004. return _internal_begin();
  2005. }
  2006. inline void Action::unsafe_arena_set_allocated_begin(
  2007. ::NavMessage::Pose2d* begin) {
  2008. if (GetArena() == nullptr) {
  2009. delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(begin_);
  2010. }
  2011. begin_ = begin;
  2012. if (begin) {
  2013. } else {
  2014. }
  2015. // @@protoc_insertion_point(field_unsafe_arena_set_allocated:NavMessage.Action.begin)
  2016. }
  2017. inline ::NavMessage::Pose2d* Action::release_begin() {
  2018. ::NavMessage::Pose2d* temp = begin_;
  2019. begin_ = nullptr;
  2020. if (GetArena() != nullptr) {
  2021. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  2022. }
  2023. return temp;
  2024. }
  2025. inline ::NavMessage::Pose2d* Action::unsafe_arena_release_begin() {
  2026. // @@protoc_insertion_point(field_release:NavMessage.Action.begin)
  2027. ::NavMessage::Pose2d* temp = begin_;
  2028. begin_ = nullptr;
  2029. return temp;
  2030. }
  2031. inline ::NavMessage::Pose2d* Action::_internal_mutable_begin() {
  2032. if (begin_ == nullptr) {
  2033. auto* p = CreateMaybeMessage<::NavMessage::Pose2d>(GetArena());
  2034. begin_ = p;
  2035. }
  2036. return begin_;
  2037. }
  2038. inline ::NavMessage::Pose2d* Action::mutable_begin() {
  2039. // @@protoc_insertion_point(field_mutable:NavMessage.Action.begin)
  2040. return _internal_mutable_begin();
  2041. }
  2042. inline void Action::set_allocated_begin(::NavMessage::Pose2d* begin) {
  2043. ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
  2044. if (message_arena == nullptr) {
  2045. delete begin_;
  2046. }
  2047. if (begin) {
  2048. ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
  2049. ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(begin);
  2050. if (message_arena != submessage_arena) {
  2051. begin = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
  2052. message_arena, begin, submessage_arena);
  2053. }
  2054. } else {
  2055. }
  2056. begin_ = begin;
  2057. // @@protoc_insertion_point(field_set_allocated:NavMessage.Action.begin)
  2058. }
  2059. // .NavMessage.Pose2d target = 3;
  2060. inline bool Action::_internal_has_target() const {
  2061. return this != internal_default_instance() && target_ != nullptr;
  2062. }
  2063. inline bool Action::has_target() const {
  2064. return _internal_has_target();
  2065. }
  2066. inline void Action::clear_target() {
  2067. if (GetArena() == nullptr && target_ != nullptr) {
  2068. delete target_;
  2069. }
  2070. target_ = nullptr;
  2071. }
  2072. inline const ::NavMessage::Pose2d& Action::_internal_target() const {
  2073. const ::NavMessage::Pose2d* p = target_;
  2074. return p != nullptr ? *p : *reinterpret_cast<const ::NavMessage::Pose2d*>(
  2075. &::NavMessage::_Pose2d_default_instance_);
  2076. }
  2077. inline const ::NavMessage::Pose2d& Action::target() const {
  2078. // @@protoc_insertion_point(field_get:NavMessage.Action.target)
  2079. return _internal_target();
  2080. }
  2081. inline void Action::unsafe_arena_set_allocated_target(
  2082. ::NavMessage::Pose2d* target) {
  2083. if (GetArena() == nullptr) {
  2084. delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(target_);
  2085. }
  2086. target_ = target;
  2087. if (target) {
  2088. } else {
  2089. }
  2090. // @@protoc_insertion_point(field_unsafe_arena_set_allocated:NavMessage.Action.target)
  2091. }
  2092. inline ::NavMessage::Pose2d* Action::release_target() {
  2093. ::NavMessage::Pose2d* temp = target_;
  2094. target_ = nullptr;
  2095. if (GetArena() != nullptr) {
  2096. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  2097. }
  2098. return temp;
  2099. }
  2100. inline ::NavMessage::Pose2d* Action::unsafe_arena_release_target() {
  2101. // @@protoc_insertion_point(field_release:NavMessage.Action.target)
  2102. ::NavMessage::Pose2d* temp = target_;
  2103. target_ = nullptr;
  2104. return temp;
  2105. }
  2106. inline ::NavMessage::Pose2d* Action::_internal_mutable_target() {
  2107. if (target_ == nullptr) {
  2108. auto* p = CreateMaybeMessage<::NavMessage::Pose2d>(GetArena());
  2109. target_ = p;
  2110. }
  2111. return target_;
  2112. }
  2113. inline ::NavMessage::Pose2d* Action::mutable_target() {
  2114. // @@protoc_insertion_point(field_mutable:NavMessage.Action.target)
  2115. return _internal_mutable_target();
  2116. }
  2117. inline void Action::set_allocated_target(::NavMessage::Pose2d* target) {
  2118. ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
  2119. if (message_arena == nullptr) {
  2120. delete target_;
  2121. }
  2122. if (target) {
  2123. ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
  2124. ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(target);
  2125. if (message_arena != submessage_arena) {
  2126. target = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
  2127. message_arena, target, submessage_arena);
  2128. }
  2129. } else {
  2130. }
  2131. target_ = target;
  2132. // @@protoc_insertion_point(field_set_allocated:NavMessage.Action.target)
  2133. }
  2134. // .NavMessage.Pose2d target_diff = 4;
  2135. inline bool Action::_internal_has_target_diff() const {
  2136. return this != internal_default_instance() && target_diff_ != nullptr;
  2137. }
  2138. inline bool Action::has_target_diff() const {
  2139. return _internal_has_target_diff();
  2140. }
  2141. inline void Action::clear_target_diff() {
  2142. if (GetArena() == nullptr && target_diff_ != nullptr) {
  2143. delete target_diff_;
  2144. }
  2145. target_diff_ = nullptr;
  2146. }
  2147. inline const ::NavMessage::Pose2d& Action::_internal_target_diff() const {
  2148. const ::NavMessage::Pose2d* p = target_diff_;
  2149. return p != nullptr ? *p : *reinterpret_cast<const ::NavMessage::Pose2d*>(
  2150. &::NavMessage::_Pose2d_default_instance_);
  2151. }
  2152. inline const ::NavMessage::Pose2d& Action::target_diff() const {
  2153. // @@protoc_insertion_point(field_get:NavMessage.Action.target_diff)
  2154. return _internal_target_diff();
  2155. }
  2156. inline void Action::unsafe_arena_set_allocated_target_diff(
  2157. ::NavMessage::Pose2d* target_diff) {
  2158. if (GetArena() == nullptr) {
  2159. delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(target_diff_);
  2160. }
  2161. target_diff_ = target_diff;
  2162. if (target_diff) {
  2163. } else {
  2164. }
  2165. // @@protoc_insertion_point(field_unsafe_arena_set_allocated:NavMessage.Action.target_diff)
  2166. }
  2167. inline ::NavMessage::Pose2d* Action::release_target_diff() {
  2168. ::NavMessage::Pose2d* temp = target_diff_;
  2169. target_diff_ = nullptr;
  2170. if (GetArena() != nullptr) {
  2171. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  2172. }
  2173. return temp;
  2174. }
  2175. inline ::NavMessage::Pose2d* Action::unsafe_arena_release_target_diff() {
  2176. // @@protoc_insertion_point(field_release:NavMessage.Action.target_diff)
  2177. ::NavMessage::Pose2d* temp = target_diff_;
  2178. target_diff_ = nullptr;
  2179. return temp;
  2180. }
  2181. inline ::NavMessage::Pose2d* Action::_internal_mutable_target_diff() {
  2182. if (target_diff_ == nullptr) {
  2183. auto* p = CreateMaybeMessage<::NavMessage::Pose2d>(GetArena());
  2184. target_diff_ = p;
  2185. }
  2186. return target_diff_;
  2187. }
  2188. inline ::NavMessage::Pose2d* Action::mutable_target_diff() {
  2189. // @@protoc_insertion_point(field_mutable:NavMessage.Action.target_diff)
  2190. return _internal_mutable_target_diff();
  2191. }
  2192. inline void Action::set_allocated_target_diff(::NavMessage::Pose2d* target_diff) {
  2193. ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
  2194. if (message_arena == nullptr) {
  2195. delete target_diff_;
  2196. }
  2197. if (target_diff) {
  2198. ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
  2199. ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(target_diff);
  2200. if (message_arena != submessage_arena) {
  2201. target_diff = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
  2202. message_arena, target_diff, submessage_arena);
  2203. }
  2204. } else {
  2205. }
  2206. target_diff_ = target_diff;
  2207. // @@protoc_insertion_point(field_set_allocated:NavMessage.Action.target_diff)
  2208. }
  2209. // .NavMessage.SpeedLimit velocity_limit = 5;
  2210. inline bool Action::_internal_has_velocity_limit() const {
  2211. return this != internal_default_instance() && velocity_limit_ != nullptr;
  2212. }
  2213. inline bool Action::has_velocity_limit() const {
  2214. return _internal_has_velocity_limit();
  2215. }
  2216. inline void Action::clear_velocity_limit() {
  2217. if (GetArena() == nullptr && velocity_limit_ != nullptr) {
  2218. delete velocity_limit_;
  2219. }
  2220. velocity_limit_ = nullptr;
  2221. }
  2222. inline const ::NavMessage::SpeedLimit& Action::_internal_velocity_limit() const {
  2223. const ::NavMessage::SpeedLimit* p = velocity_limit_;
  2224. return p != nullptr ? *p : *reinterpret_cast<const ::NavMessage::SpeedLimit*>(
  2225. &::NavMessage::_SpeedLimit_default_instance_);
  2226. }
  2227. inline const ::NavMessage::SpeedLimit& Action::velocity_limit() const {
  2228. // @@protoc_insertion_point(field_get:NavMessage.Action.velocity_limit)
  2229. return _internal_velocity_limit();
  2230. }
  2231. inline void Action::unsafe_arena_set_allocated_velocity_limit(
  2232. ::NavMessage::SpeedLimit* velocity_limit) {
  2233. if (GetArena() == nullptr) {
  2234. delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(velocity_limit_);
  2235. }
  2236. velocity_limit_ = velocity_limit;
  2237. if (velocity_limit) {
  2238. } else {
  2239. }
  2240. // @@protoc_insertion_point(field_unsafe_arena_set_allocated:NavMessage.Action.velocity_limit)
  2241. }
  2242. inline ::NavMessage::SpeedLimit* Action::release_velocity_limit() {
  2243. ::NavMessage::SpeedLimit* temp = velocity_limit_;
  2244. velocity_limit_ = nullptr;
  2245. if (GetArena() != nullptr) {
  2246. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  2247. }
  2248. return temp;
  2249. }
  2250. inline ::NavMessage::SpeedLimit* Action::unsafe_arena_release_velocity_limit() {
  2251. // @@protoc_insertion_point(field_release:NavMessage.Action.velocity_limit)
  2252. ::NavMessage::SpeedLimit* temp = velocity_limit_;
  2253. velocity_limit_ = nullptr;
  2254. return temp;
  2255. }
  2256. inline ::NavMessage::SpeedLimit* Action::_internal_mutable_velocity_limit() {
  2257. if (velocity_limit_ == nullptr) {
  2258. auto* p = CreateMaybeMessage<::NavMessage::SpeedLimit>(GetArena());
  2259. velocity_limit_ = p;
  2260. }
  2261. return velocity_limit_;
  2262. }
  2263. inline ::NavMessage::SpeedLimit* Action::mutable_velocity_limit() {
  2264. // @@protoc_insertion_point(field_mutable:NavMessage.Action.velocity_limit)
  2265. return _internal_mutable_velocity_limit();
  2266. }
  2267. inline void Action::set_allocated_velocity_limit(::NavMessage::SpeedLimit* velocity_limit) {
  2268. ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
  2269. if (message_arena == nullptr) {
  2270. delete velocity_limit_;
  2271. }
  2272. if (velocity_limit) {
  2273. ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
  2274. ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(velocity_limit);
  2275. if (message_arena != submessage_arena) {
  2276. velocity_limit = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
  2277. message_arena, velocity_limit, submessage_arena);
  2278. }
  2279. } else {
  2280. }
  2281. velocity_limit_ = velocity_limit;
  2282. // @@protoc_insertion_point(field_set_allocated:NavMessage.Action.velocity_limit)
  2283. }
  2284. // .NavMessage.SpeedLimit angular_limit = 6;
  2285. inline bool Action::_internal_has_angular_limit() const {
  2286. return this != internal_default_instance() && angular_limit_ != nullptr;
  2287. }
  2288. inline bool Action::has_angular_limit() const {
  2289. return _internal_has_angular_limit();
  2290. }
  2291. inline void Action::clear_angular_limit() {
  2292. if (GetArena() == nullptr && angular_limit_ != nullptr) {
  2293. delete angular_limit_;
  2294. }
  2295. angular_limit_ = nullptr;
  2296. }
  2297. inline const ::NavMessage::SpeedLimit& Action::_internal_angular_limit() const {
  2298. const ::NavMessage::SpeedLimit* p = angular_limit_;
  2299. return p != nullptr ? *p : *reinterpret_cast<const ::NavMessage::SpeedLimit*>(
  2300. &::NavMessage::_SpeedLimit_default_instance_);
  2301. }
  2302. inline const ::NavMessage::SpeedLimit& Action::angular_limit() const {
  2303. // @@protoc_insertion_point(field_get:NavMessage.Action.angular_limit)
  2304. return _internal_angular_limit();
  2305. }
  2306. inline void Action::unsafe_arena_set_allocated_angular_limit(
  2307. ::NavMessage::SpeedLimit* angular_limit) {
  2308. if (GetArena() == nullptr) {
  2309. delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(angular_limit_);
  2310. }
  2311. angular_limit_ = angular_limit;
  2312. if (angular_limit) {
  2313. } else {
  2314. }
  2315. // @@protoc_insertion_point(field_unsafe_arena_set_allocated:NavMessage.Action.angular_limit)
  2316. }
  2317. inline ::NavMessage::SpeedLimit* Action::release_angular_limit() {
  2318. ::NavMessage::SpeedLimit* temp = angular_limit_;
  2319. angular_limit_ = nullptr;
  2320. if (GetArena() != nullptr) {
  2321. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  2322. }
  2323. return temp;
  2324. }
  2325. inline ::NavMessage::SpeedLimit* Action::unsafe_arena_release_angular_limit() {
  2326. // @@protoc_insertion_point(field_release:NavMessage.Action.angular_limit)
  2327. ::NavMessage::SpeedLimit* temp = angular_limit_;
  2328. angular_limit_ = nullptr;
  2329. return temp;
  2330. }
  2331. inline ::NavMessage::SpeedLimit* Action::_internal_mutable_angular_limit() {
  2332. if (angular_limit_ == nullptr) {
  2333. auto* p = CreateMaybeMessage<::NavMessage::SpeedLimit>(GetArena());
  2334. angular_limit_ = p;
  2335. }
  2336. return angular_limit_;
  2337. }
  2338. inline ::NavMessage::SpeedLimit* Action::mutable_angular_limit() {
  2339. // @@protoc_insertion_point(field_mutable:NavMessage.Action.angular_limit)
  2340. return _internal_mutable_angular_limit();
  2341. }
  2342. inline void Action::set_allocated_angular_limit(::NavMessage::SpeedLimit* angular_limit) {
  2343. ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
  2344. if (message_arena == nullptr) {
  2345. delete angular_limit_;
  2346. }
  2347. if (angular_limit) {
  2348. ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
  2349. ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(angular_limit);
  2350. if (message_arena != submessage_arena) {
  2351. angular_limit = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
  2352. message_arena, angular_limit, submessage_arena);
  2353. }
  2354. } else {
  2355. }
  2356. angular_limit_ = angular_limit;
  2357. // @@protoc_insertion_point(field_set_allocated:NavMessage.Action.angular_limit)
  2358. }
  2359. // .NavMessage.SpeedLimit horize_limit = 7;
  2360. inline bool Action::_internal_has_horize_limit() const {
  2361. return this != internal_default_instance() && horize_limit_ != nullptr;
  2362. }
  2363. inline bool Action::has_horize_limit() const {
  2364. return _internal_has_horize_limit();
  2365. }
  2366. inline void Action::clear_horize_limit() {
  2367. if (GetArena() == nullptr && horize_limit_ != nullptr) {
  2368. delete horize_limit_;
  2369. }
  2370. horize_limit_ = nullptr;
  2371. }
  2372. inline const ::NavMessage::SpeedLimit& Action::_internal_horize_limit() const {
  2373. const ::NavMessage::SpeedLimit* p = horize_limit_;
  2374. return p != nullptr ? *p : *reinterpret_cast<const ::NavMessage::SpeedLimit*>(
  2375. &::NavMessage::_SpeedLimit_default_instance_);
  2376. }
  2377. inline const ::NavMessage::SpeedLimit& Action::horize_limit() const {
  2378. // @@protoc_insertion_point(field_get:NavMessage.Action.horize_limit)
  2379. return _internal_horize_limit();
  2380. }
  2381. inline void Action::unsafe_arena_set_allocated_horize_limit(
  2382. ::NavMessage::SpeedLimit* horize_limit) {
  2383. if (GetArena() == nullptr) {
  2384. delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(horize_limit_);
  2385. }
  2386. horize_limit_ = horize_limit;
  2387. if (horize_limit) {
  2388. } else {
  2389. }
  2390. // @@protoc_insertion_point(field_unsafe_arena_set_allocated:NavMessage.Action.horize_limit)
  2391. }
  2392. inline ::NavMessage::SpeedLimit* Action::release_horize_limit() {
  2393. ::NavMessage::SpeedLimit* temp = horize_limit_;
  2394. horize_limit_ = nullptr;
  2395. if (GetArena() != nullptr) {
  2396. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  2397. }
  2398. return temp;
  2399. }
  2400. inline ::NavMessage::SpeedLimit* Action::unsafe_arena_release_horize_limit() {
  2401. // @@protoc_insertion_point(field_release:NavMessage.Action.horize_limit)
  2402. ::NavMessage::SpeedLimit* temp = horize_limit_;
  2403. horize_limit_ = nullptr;
  2404. return temp;
  2405. }
  2406. inline ::NavMessage::SpeedLimit* Action::_internal_mutable_horize_limit() {
  2407. if (horize_limit_ == nullptr) {
  2408. auto* p = CreateMaybeMessage<::NavMessage::SpeedLimit>(GetArena());
  2409. horize_limit_ = p;
  2410. }
  2411. return horize_limit_;
  2412. }
  2413. inline ::NavMessage::SpeedLimit* Action::mutable_horize_limit() {
  2414. // @@protoc_insertion_point(field_mutable:NavMessage.Action.horize_limit)
  2415. return _internal_mutable_horize_limit();
  2416. }
  2417. inline void Action::set_allocated_horize_limit(::NavMessage::SpeedLimit* horize_limit) {
  2418. ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
  2419. if (message_arena == nullptr) {
  2420. delete horize_limit_;
  2421. }
  2422. if (horize_limit) {
  2423. ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
  2424. ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(horize_limit);
  2425. if (message_arena != submessage_arena) {
  2426. horize_limit = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
  2427. message_arena, horize_limit, submessage_arena);
  2428. }
  2429. } else {
  2430. }
  2431. horize_limit_ = horize_limit;
  2432. // @@protoc_insertion_point(field_set_allocated:NavMessage.Action.horize_limit)
  2433. }
  2434. // -------------------------------------------------------------------
  2435. // NavCmd
  2436. // int32 action = 1;
  2437. inline void NavCmd::clear_action() {
  2438. action_ = 0;
  2439. }
  2440. inline ::PROTOBUF_NAMESPACE_ID::int32 NavCmd::_internal_action() const {
  2441. return action_;
  2442. }
  2443. inline ::PROTOBUF_NAMESPACE_ID::int32 NavCmd::action() const {
  2444. // @@protoc_insertion_point(field_get:NavMessage.NavCmd.action)
  2445. return _internal_action();
  2446. }
  2447. inline void NavCmd::_internal_set_action(::PROTOBUF_NAMESPACE_ID::int32 value) {
  2448. action_ = value;
  2449. }
  2450. inline void NavCmd::set_action(::PROTOBUF_NAMESPACE_ID::int32 value) {
  2451. _internal_set_action(value);
  2452. // @@protoc_insertion_point(field_set:NavMessage.NavCmd.action)
  2453. }
  2454. // string key = 2;
  2455. inline void NavCmd::clear_key() {
  2456. key_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
  2457. }
  2458. inline const std::string& NavCmd::key() const {
  2459. // @@protoc_insertion_point(field_get:NavMessage.NavCmd.key)
  2460. return _internal_key();
  2461. }
  2462. inline void NavCmd::set_key(const std::string& value) {
  2463. _internal_set_key(value);
  2464. // @@protoc_insertion_point(field_set:NavMessage.NavCmd.key)
  2465. }
  2466. inline std::string* NavCmd::mutable_key() {
  2467. // @@protoc_insertion_point(field_mutable:NavMessage.NavCmd.key)
  2468. return _internal_mutable_key();
  2469. }
  2470. inline const std::string& NavCmd::_internal_key() const {
  2471. return key_.Get();
  2472. }
  2473. inline void NavCmd::_internal_set_key(const std::string& value) {
  2474. key_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena());
  2475. }
  2476. inline void NavCmd::set_key(std::string&& value) {
  2477. key_.Set(
  2478. &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena());
  2479. // @@protoc_insertion_point(field_set_rvalue:NavMessage.NavCmd.key)
  2480. }
  2481. inline void NavCmd::set_key(const char* value) {
  2482. GOOGLE_DCHECK(value != nullptr);
  2483. key_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
  2484. GetArena());
  2485. // @@protoc_insertion_point(field_set_char:NavMessage.NavCmd.key)
  2486. }
  2487. inline void NavCmd::set_key(const char* value,
  2488. size_t size) {
  2489. key_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(
  2490. reinterpret_cast<const char*>(value), size), GetArena());
  2491. // @@protoc_insertion_point(field_set_pointer:NavMessage.NavCmd.key)
  2492. }
  2493. inline std::string* NavCmd::_internal_mutable_key() {
  2494. return key_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
  2495. }
  2496. inline std::string* NavCmd::release_key() {
  2497. // @@protoc_insertion_point(field_release:NavMessage.NavCmd.key)
  2498. return key_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
  2499. }
  2500. inline void NavCmd::set_allocated_key(std::string* key) {
  2501. if (key != nullptr) {
  2502. } else {
  2503. }
  2504. key_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), key,
  2505. GetArena());
  2506. // @@protoc_insertion_point(field_set_allocated:NavMessage.NavCmd.key)
  2507. }
  2508. // float wheelbase = 3;
  2509. inline void NavCmd::clear_wheelbase() {
  2510. wheelbase_ = 0;
  2511. }
  2512. inline float NavCmd::_internal_wheelbase() const {
  2513. return wheelbase_;
  2514. }
  2515. inline float NavCmd::wheelbase() const {
  2516. // @@protoc_insertion_point(field_get:NavMessage.NavCmd.wheelbase)
  2517. return _internal_wheelbase();
  2518. }
  2519. inline void NavCmd::_internal_set_wheelbase(float value) {
  2520. wheelbase_ = value;
  2521. }
  2522. inline void NavCmd::set_wheelbase(float value) {
  2523. _internal_set_wheelbase(value);
  2524. // @@protoc_insertion_point(field_set:NavMessage.NavCmd.wheelbase)
  2525. }
  2526. // repeated .NavMessage.Action actions = 4;
  2527. inline int NavCmd::_internal_actions_size() const {
  2528. return actions_.size();
  2529. }
  2530. inline int NavCmd::actions_size() const {
  2531. return _internal_actions_size();
  2532. }
  2533. inline void NavCmd::clear_actions() {
  2534. actions_.Clear();
  2535. }
  2536. inline ::NavMessage::Action* NavCmd::mutable_actions(int index) {
  2537. // @@protoc_insertion_point(field_mutable:NavMessage.NavCmd.actions)
  2538. return actions_.Mutable(index);
  2539. }
  2540. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::NavMessage::Action >*
  2541. NavCmd::mutable_actions() {
  2542. // @@protoc_insertion_point(field_mutable_list:NavMessage.NavCmd.actions)
  2543. return &actions_;
  2544. }
  2545. inline const ::NavMessage::Action& NavCmd::_internal_actions(int index) const {
  2546. return actions_.Get(index);
  2547. }
  2548. inline const ::NavMessage::Action& NavCmd::actions(int index) const {
  2549. // @@protoc_insertion_point(field_get:NavMessage.NavCmd.actions)
  2550. return _internal_actions(index);
  2551. }
  2552. inline ::NavMessage::Action* NavCmd::_internal_add_actions() {
  2553. return actions_.Add();
  2554. }
  2555. inline ::NavMessage::Action* NavCmd::add_actions() {
  2556. // @@protoc_insertion_point(field_add:NavMessage.NavCmd.actions)
  2557. return _internal_add_actions();
  2558. }
  2559. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::NavMessage::Action >&
  2560. NavCmd::actions() const {
  2561. // @@protoc_insertion_point(field_list:NavMessage.NavCmd.actions)
  2562. return actions_;
  2563. }
  2564. // -------------------------------------------------------------------
  2565. // NavStatu
  2566. // bool statu = 1;
  2567. inline void NavStatu::clear_statu() {
  2568. statu_ = false;
  2569. }
  2570. inline bool NavStatu::_internal_statu() const {
  2571. return statu_;
  2572. }
  2573. inline bool NavStatu::statu() const {
  2574. // @@protoc_insertion_point(field_get:NavMessage.NavStatu.statu)
  2575. return _internal_statu();
  2576. }
  2577. inline void NavStatu::_internal_set_statu(bool value) {
  2578. statu_ = value;
  2579. }
  2580. inline void NavStatu::set_statu(bool value) {
  2581. _internal_set_statu(value);
  2582. // @@protoc_insertion_point(field_set:NavMessage.NavStatu.statu)
  2583. }
  2584. // bool main_agv = 2;
  2585. inline void NavStatu::clear_main_agv() {
  2586. main_agv_ = false;
  2587. }
  2588. inline bool NavStatu::_internal_main_agv() const {
  2589. return main_agv_;
  2590. }
  2591. inline bool NavStatu::main_agv() const {
  2592. // @@protoc_insertion_point(field_get:NavMessage.NavStatu.main_agv)
  2593. return _internal_main_agv();
  2594. }
  2595. inline void NavStatu::_internal_set_main_agv(bool value) {
  2596. main_agv_ = value;
  2597. }
  2598. inline void NavStatu::set_main_agv(bool value) {
  2599. _internal_set_main_agv(value);
  2600. // @@protoc_insertion_point(field_set:NavMessage.NavStatu.main_agv)
  2601. }
  2602. // int32 move_mode = 3;
  2603. inline void NavStatu::clear_move_mode() {
  2604. move_mode_ = 0;
  2605. }
  2606. inline ::PROTOBUF_NAMESPACE_ID::int32 NavStatu::_internal_move_mode() const {
  2607. return move_mode_;
  2608. }
  2609. inline ::PROTOBUF_NAMESPACE_ID::int32 NavStatu::move_mode() const {
  2610. // @@protoc_insertion_point(field_get:NavMessage.NavStatu.move_mode)
  2611. return _internal_move_mode();
  2612. }
  2613. inline void NavStatu::_internal_set_move_mode(::PROTOBUF_NAMESPACE_ID::int32 value) {
  2614. move_mode_ = value;
  2615. }
  2616. inline void NavStatu::set_move_mode(::PROTOBUF_NAMESPACE_ID::int32 value) {
  2617. _internal_set_move_mode(value);
  2618. // @@protoc_insertion_point(field_set:NavMessage.NavStatu.move_mode)
  2619. }
  2620. // string key = 4;
  2621. inline void NavStatu::clear_key() {
  2622. key_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
  2623. }
  2624. inline const std::string& NavStatu::key() const {
  2625. // @@protoc_insertion_point(field_get:NavMessage.NavStatu.key)
  2626. return _internal_key();
  2627. }
  2628. inline void NavStatu::set_key(const std::string& value) {
  2629. _internal_set_key(value);
  2630. // @@protoc_insertion_point(field_set:NavMessage.NavStatu.key)
  2631. }
  2632. inline std::string* NavStatu::mutable_key() {
  2633. // @@protoc_insertion_point(field_mutable:NavMessage.NavStatu.key)
  2634. return _internal_mutable_key();
  2635. }
  2636. inline const std::string& NavStatu::_internal_key() const {
  2637. return key_.Get();
  2638. }
  2639. inline void NavStatu::_internal_set_key(const std::string& value) {
  2640. key_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena());
  2641. }
  2642. inline void NavStatu::set_key(std::string&& value) {
  2643. key_.Set(
  2644. &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena());
  2645. // @@protoc_insertion_point(field_set_rvalue:NavMessage.NavStatu.key)
  2646. }
  2647. inline void NavStatu::set_key(const char* value) {
  2648. GOOGLE_DCHECK(value != nullptr);
  2649. key_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
  2650. GetArena());
  2651. // @@protoc_insertion_point(field_set_char:NavMessage.NavStatu.key)
  2652. }
  2653. inline void NavStatu::set_key(const char* value,
  2654. size_t size) {
  2655. key_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(
  2656. reinterpret_cast<const char*>(value), size), GetArena());
  2657. // @@protoc_insertion_point(field_set_pointer:NavMessage.NavStatu.key)
  2658. }
  2659. inline std::string* NavStatu::_internal_mutable_key() {
  2660. return key_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
  2661. }
  2662. inline std::string* NavStatu::release_key() {
  2663. // @@protoc_insertion_point(field_release:NavMessage.NavStatu.key)
  2664. return key_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
  2665. }
  2666. inline void NavStatu::set_allocated_key(std::string* key) {
  2667. if (key != nullptr) {
  2668. } else {
  2669. }
  2670. key_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), key,
  2671. GetArena());
  2672. // @@protoc_insertion_point(field_set_allocated:NavMessage.NavStatu.key)
  2673. }
  2674. // repeated .NavMessage.Action unfinished_actions = 5;
  2675. inline int NavStatu::_internal_unfinished_actions_size() const {
  2676. return unfinished_actions_.size();
  2677. }
  2678. inline int NavStatu::unfinished_actions_size() const {
  2679. return _internal_unfinished_actions_size();
  2680. }
  2681. inline void NavStatu::clear_unfinished_actions() {
  2682. unfinished_actions_.Clear();
  2683. }
  2684. inline ::NavMessage::Action* NavStatu::mutable_unfinished_actions(int index) {
  2685. // @@protoc_insertion_point(field_mutable:NavMessage.NavStatu.unfinished_actions)
  2686. return unfinished_actions_.Mutable(index);
  2687. }
  2688. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::NavMessage::Action >*
  2689. NavStatu::mutable_unfinished_actions() {
  2690. // @@protoc_insertion_point(field_mutable_list:NavMessage.NavStatu.unfinished_actions)
  2691. return &unfinished_actions_;
  2692. }
  2693. inline const ::NavMessage::Action& NavStatu::_internal_unfinished_actions(int index) const {
  2694. return unfinished_actions_.Get(index);
  2695. }
  2696. inline const ::NavMessage::Action& NavStatu::unfinished_actions(int index) const {
  2697. // @@protoc_insertion_point(field_get:NavMessage.NavStatu.unfinished_actions)
  2698. return _internal_unfinished_actions(index);
  2699. }
  2700. inline ::NavMessage::Action* NavStatu::_internal_add_unfinished_actions() {
  2701. return unfinished_actions_.Add();
  2702. }
  2703. inline ::NavMessage::Action* NavStatu::add_unfinished_actions() {
  2704. // @@protoc_insertion_point(field_add:NavMessage.NavStatu.unfinished_actions)
  2705. return _internal_add_unfinished_actions();
  2706. }
  2707. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::NavMessage::Action >&
  2708. NavStatu::unfinished_actions() const {
  2709. // @@protoc_insertion_point(field_list:NavMessage.NavStatu.unfinished_actions)
  2710. return unfinished_actions_;
  2711. }
  2712. // .NavMessage.Trajectory selected_traj = 6;
  2713. inline bool NavStatu::_internal_has_selected_traj() const {
  2714. return this != internal_default_instance() && selected_traj_ != nullptr;
  2715. }
  2716. inline bool NavStatu::has_selected_traj() const {
  2717. return _internal_has_selected_traj();
  2718. }
  2719. inline void NavStatu::clear_selected_traj() {
  2720. if (GetArena() == nullptr && selected_traj_ != nullptr) {
  2721. delete selected_traj_;
  2722. }
  2723. selected_traj_ = nullptr;
  2724. }
  2725. inline const ::NavMessage::Trajectory& NavStatu::_internal_selected_traj() const {
  2726. const ::NavMessage::Trajectory* p = selected_traj_;
  2727. return p != nullptr ? *p : *reinterpret_cast<const ::NavMessage::Trajectory*>(
  2728. &::NavMessage::_Trajectory_default_instance_);
  2729. }
  2730. inline const ::NavMessage::Trajectory& NavStatu::selected_traj() const {
  2731. // @@protoc_insertion_point(field_get:NavMessage.NavStatu.selected_traj)
  2732. return _internal_selected_traj();
  2733. }
  2734. inline void NavStatu::unsafe_arena_set_allocated_selected_traj(
  2735. ::NavMessage::Trajectory* selected_traj) {
  2736. if (GetArena() == nullptr) {
  2737. delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(selected_traj_);
  2738. }
  2739. selected_traj_ = selected_traj;
  2740. if (selected_traj) {
  2741. } else {
  2742. }
  2743. // @@protoc_insertion_point(field_unsafe_arena_set_allocated:NavMessage.NavStatu.selected_traj)
  2744. }
  2745. inline ::NavMessage::Trajectory* NavStatu::release_selected_traj() {
  2746. ::NavMessage::Trajectory* temp = selected_traj_;
  2747. selected_traj_ = nullptr;
  2748. if (GetArena() != nullptr) {
  2749. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  2750. }
  2751. return temp;
  2752. }
  2753. inline ::NavMessage::Trajectory* NavStatu::unsafe_arena_release_selected_traj() {
  2754. // @@protoc_insertion_point(field_release:NavMessage.NavStatu.selected_traj)
  2755. ::NavMessage::Trajectory* temp = selected_traj_;
  2756. selected_traj_ = nullptr;
  2757. return temp;
  2758. }
  2759. inline ::NavMessage::Trajectory* NavStatu::_internal_mutable_selected_traj() {
  2760. if (selected_traj_ == nullptr) {
  2761. auto* p = CreateMaybeMessage<::NavMessage::Trajectory>(GetArena());
  2762. selected_traj_ = p;
  2763. }
  2764. return selected_traj_;
  2765. }
  2766. inline ::NavMessage::Trajectory* NavStatu::mutable_selected_traj() {
  2767. // @@protoc_insertion_point(field_mutable:NavMessage.NavStatu.selected_traj)
  2768. return _internal_mutable_selected_traj();
  2769. }
  2770. inline void NavStatu::set_allocated_selected_traj(::NavMessage::Trajectory* selected_traj) {
  2771. ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
  2772. if (message_arena == nullptr) {
  2773. delete selected_traj_;
  2774. }
  2775. if (selected_traj) {
  2776. ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
  2777. ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(selected_traj);
  2778. if (message_arena != submessage_arena) {
  2779. selected_traj = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
  2780. message_arena, selected_traj, submessage_arena);
  2781. }
  2782. } else {
  2783. }
  2784. selected_traj_ = selected_traj;
  2785. // @@protoc_insertion_point(field_set_allocated:NavMessage.NavStatu.selected_traj)
  2786. }
  2787. // .NavMessage.Trajectory predict_traj = 7;
  2788. inline bool NavStatu::_internal_has_predict_traj() const {
  2789. return this != internal_default_instance() && predict_traj_ != nullptr;
  2790. }
  2791. inline bool NavStatu::has_predict_traj() const {
  2792. return _internal_has_predict_traj();
  2793. }
  2794. inline void NavStatu::clear_predict_traj() {
  2795. if (GetArena() == nullptr && predict_traj_ != nullptr) {
  2796. delete predict_traj_;
  2797. }
  2798. predict_traj_ = nullptr;
  2799. }
  2800. inline const ::NavMessage::Trajectory& NavStatu::_internal_predict_traj() const {
  2801. const ::NavMessage::Trajectory* p = predict_traj_;
  2802. return p != nullptr ? *p : *reinterpret_cast<const ::NavMessage::Trajectory*>(
  2803. &::NavMessage::_Trajectory_default_instance_);
  2804. }
  2805. inline const ::NavMessage::Trajectory& NavStatu::predict_traj() const {
  2806. // @@protoc_insertion_point(field_get:NavMessage.NavStatu.predict_traj)
  2807. return _internal_predict_traj();
  2808. }
  2809. inline void NavStatu::unsafe_arena_set_allocated_predict_traj(
  2810. ::NavMessage::Trajectory* predict_traj) {
  2811. if (GetArena() == nullptr) {
  2812. delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(predict_traj_);
  2813. }
  2814. predict_traj_ = predict_traj;
  2815. if (predict_traj) {
  2816. } else {
  2817. }
  2818. // @@protoc_insertion_point(field_unsafe_arena_set_allocated:NavMessage.NavStatu.predict_traj)
  2819. }
  2820. inline ::NavMessage::Trajectory* NavStatu::release_predict_traj() {
  2821. ::NavMessage::Trajectory* temp = predict_traj_;
  2822. predict_traj_ = nullptr;
  2823. if (GetArena() != nullptr) {
  2824. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  2825. }
  2826. return temp;
  2827. }
  2828. inline ::NavMessage::Trajectory* NavStatu::unsafe_arena_release_predict_traj() {
  2829. // @@protoc_insertion_point(field_release:NavMessage.NavStatu.predict_traj)
  2830. ::NavMessage::Trajectory* temp = predict_traj_;
  2831. predict_traj_ = nullptr;
  2832. return temp;
  2833. }
  2834. inline ::NavMessage::Trajectory* NavStatu::_internal_mutable_predict_traj() {
  2835. if (predict_traj_ == nullptr) {
  2836. auto* p = CreateMaybeMessage<::NavMessage::Trajectory>(GetArena());
  2837. predict_traj_ = p;
  2838. }
  2839. return predict_traj_;
  2840. }
  2841. inline ::NavMessage::Trajectory* NavStatu::mutable_predict_traj() {
  2842. // @@protoc_insertion_point(field_mutable:NavMessage.NavStatu.predict_traj)
  2843. return _internal_mutable_predict_traj();
  2844. }
  2845. inline void NavStatu::set_allocated_predict_traj(::NavMessage::Trajectory* predict_traj) {
  2846. ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
  2847. if (message_arena == nullptr) {
  2848. delete predict_traj_;
  2849. }
  2850. if (predict_traj) {
  2851. ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
  2852. ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(predict_traj);
  2853. if (message_arena != submessage_arena) {
  2854. predict_traj = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
  2855. message_arena, predict_traj, submessage_arena);
  2856. }
  2857. } else {
  2858. }
  2859. predict_traj_ = predict_traj;
  2860. // @@protoc_insertion_point(field_set_allocated:NavMessage.NavStatu.predict_traj)
  2861. }
  2862. #ifdef __GNUC__
  2863. #pragma GCC diagnostic pop
  2864. #endif // __GNUC__
  2865. // -------------------------------------------------------------------
  2866. // -------------------------------------------------------------------
  2867. // -------------------------------------------------------------------
  2868. // -------------------------------------------------------------------
  2869. // -------------------------------------------------------------------
  2870. // -------------------------------------------------------------------
  2871. // -------------------------------------------------------------------
  2872. // -------------------------------------------------------------------
  2873. // @@protoc_insertion_point(namespace_scope)
  2874. } // namespace NavMessage
  2875. // @@protoc_insertion_point(global_scope)
  2876. #include <google/protobuf/port_undef.inc>
  2877. #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_message_2eproto