message.pb.h 71 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245
  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[7]
  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 AGVStatu;
  54. class AGVStatuDefaultTypeInternal;
  55. extern AGVStatuDefaultTypeInternal _AGVStatu_default_instance_;
  56. class Action;
  57. class ActionDefaultTypeInternal;
  58. extern ActionDefaultTypeInternal _Action_default_instance_;
  59. class NavCmd;
  60. class NavCmdDefaultTypeInternal;
  61. extern NavCmdDefaultTypeInternal _NavCmd_default_instance_;
  62. class NavStatu;
  63. class NavStatuDefaultTypeInternal;
  64. extern NavStatuDefaultTypeInternal _NavStatu_default_instance_;
  65. class Pose2d;
  66. class Pose2dDefaultTypeInternal;
  67. extern Pose2dDefaultTypeInternal _Pose2d_default_instance_;
  68. class Speed;
  69. class SpeedDefaultTypeInternal;
  70. extern SpeedDefaultTypeInternal _Speed_default_instance_;
  71. class Trajectory;
  72. class TrajectoryDefaultTypeInternal;
  73. extern TrajectoryDefaultTypeInternal _Trajectory_default_instance_;
  74. } // namespace NavMessage
  75. PROTOBUF_NAMESPACE_OPEN
  76. template<> ::NavMessage::AGVStatu* Arena::CreateMaybeMessage<::NavMessage::AGVStatu>(Arena*);
  77. template<> ::NavMessage::Action* Arena::CreateMaybeMessage<::NavMessage::Action>(Arena*);
  78. template<> ::NavMessage::NavCmd* Arena::CreateMaybeMessage<::NavMessage::NavCmd>(Arena*);
  79. template<> ::NavMessage::NavStatu* Arena::CreateMaybeMessage<::NavMessage::NavStatu>(Arena*);
  80. template<> ::NavMessage::Pose2d* Arena::CreateMaybeMessage<::NavMessage::Pose2d>(Arena*);
  81. template<> ::NavMessage::Speed* Arena::CreateMaybeMessage<::NavMessage::Speed>(Arena*);
  82. template<> ::NavMessage::Trajectory* Arena::CreateMaybeMessage<::NavMessage::Trajectory>(Arena*);
  83. PROTOBUF_NAMESPACE_CLOSE
  84. namespace NavMessage {
  85. // ===================================================================
  86. class AGVStatu PROTOBUF_FINAL :
  87. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:NavMessage.AGVStatu) */ {
  88. public:
  89. inline AGVStatu() : AGVStatu(nullptr) {}
  90. virtual ~AGVStatu();
  91. AGVStatu(const AGVStatu& from);
  92. AGVStatu(AGVStatu&& from) noexcept
  93. : AGVStatu() {
  94. *this = ::std::move(from);
  95. }
  96. inline AGVStatu& operator=(const AGVStatu& from) {
  97. CopyFrom(from);
  98. return *this;
  99. }
  100. inline AGVStatu& operator=(AGVStatu&& from) noexcept {
  101. if (GetArena() == from.GetArena()) {
  102. if (this != &from) InternalSwap(&from);
  103. } else {
  104. CopyFrom(from);
  105. }
  106. return *this;
  107. }
  108. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  109. return GetDescriptor();
  110. }
  111. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  112. return GetMetadataStatic().descriptor;
  113. }
  114. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  115. return GetMetadataStatic().reflection;
  116. }
  117. static const AGVStatu& default_instance();
  118. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  119. static inline const AGVStatu* internal_default_instance() {
  120. return reinterpret_cast<const AGVStatu*>(
  121. &_AGVStatu_default_instance_);
  122. }
  123. static constexpr int kIndexInFileMessages =
  124. 0;
  125. friend void swap(AGVStatu& a, AGVStatu& b) {
  126. a.Swap(&b);
  127. }
  128. inline void Swap(AGVStatu* other) {
  129. if (other == this) return;
  130. if (GetArena() == other->GetArena()) {
  131. InternalSwap(other);
  132. } else {
  133. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  134. }
  135. }
  136. void UnsafeArenaSwap(AGVStatu* other) {
  137. if (other == this) return;
  138. GOOGLE_DCHECK(GetArena() == other->GetArena());
  139. InternalSwap(other);
  140. }
  141. // implements Message ----------------------------------------------
  142. inline AGVStatu* New() const final {
  143. return CreateMaybeMessage<AGVStatu>(nullptr);
  144. }
  145. AGVStatu* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  146. return CreateMaybeMessage<AGVStatu>(arena);
  147. }
  148. void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  149. void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  150. void CopyFrom(const AGVStatu& from);
  151. void MergeFrom(const AGVStatu& from);
  152. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  153. bool IsInitialized() const final;
  154. size_t ByteSizeLong() const final;
  155. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  156. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  157. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  158. int GetCachedSize() const final { return _cached_size_.Get(); }
  159. private:
  160. inline void SharedCtor();
  161. inline void SharedDtor();
  162. void SetCachedSize(int size) const final;
  163. void InternalSwap(AGVStatu* other);
  164. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  165. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  166. return "NavMessage.AGVStatu";
  167. }
  168. protected:
  169. explicit AGVStatu(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  170. private:
  171. static void ArenaDtor(void* object);
  172. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  173. public:
  174. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  175. private:
  176. static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
  177. ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_message_2eproto);
  178. return ::descriptor_table_message_2eproto.file_level_metadata[kIndexInFileMessages];
  179. }
  180. public:
  181. // nested types ----------------------------------------------------
  182. // accessors -------------------------------------------------------
  183. enum : int {
  184. kXFieldNumber = 1,
  185. kYFieldNumber = 2,
  186. kThetaFieldNumber = 3,
  187. kVFieldNumber = 4,
  188. kVthFieldNumber = 5,
  189. };
  190. // float x = 1;
  191. void clear_x();
  192. float x() const;
  193. void set_x(float value);
  194. private:
  195. float _internal_x() const;
  196. void _internal_set_x(float value);
  197. public:
  198. // float y = 2;
  199. void clear_y();
  200. float y() const;
  201. void set_y(float value);
  202. private:
  203. float _internal_y() const;
  204. void _internal_set_y(float value);
  205. public:
  206. // float theta = 3;
  207. void clear_theta();
  208. float theta() const;
  209. void set_theta(float value);
  210. private:
  211. float _internal_theta() const;
  212. void _internal_set_theta(float value);
  213. public:
  214. // float v = 4;
  215. void clear_v();
  216. float v() const;
  217. void set_v(float value);
  218. private:
  219. float _internal_v() const;
  220. void _internal_set_v(float value);
  221. public:
  222. // float vth = 5;
  223. void clear_vth();
  224. float vth() const;
  225. void set_vth(float value);
  226. private:
  227. float _internal_vth() const;
  228. void _internal_set_vth(float value);
  229. public:
  230. // @@protoc_insertion_point(class_scope:NavMessage.AGVStatu)
  231. private:
  232. class _Internal;
  233. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  234. typedef void InternalArenaConstructable_;
  235. typedef void DestructorSkippable_;
  236. float x_;
  237. float y_;
  238. float theta_;
  239. float v_;
  240. float vth_;
  241. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  242. friend struct ::TableStruct_message_2eproto;
  243. };
  244. // -------------------------------------------------------------------
  245. class Speed PROTOBUF_FINAL :
  246. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:NavMessage.Speed) */ {
  247. public:
  248. inline Speed() : Speed(nullptr) {}
  249. virtual ~Speed();
  250. Speed(const Speed& from);
  251. Speed(Speed&& from) noexcept
  252. : Speed() {
  253. *this = ::std::move(from);
  254. }
  255. inline Speed& operator=(const Speed& from) {
  256. CopyFrom(from);
  257. return *this;
  258. }
  259. inline Speed& operator=(Speed&& from) noexcept {
  260. if (GetArena() == from.GetArena()) {
  261. if (this != &from) InternalSwap(&from);
  262. } else {
  263. CopyFrom(from);
  264. }
  265. return *this;
  266. }
  267. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  268. return GetDescriptor();
  269. }
  270. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  271. return GetMetadataStatic().descriptor;
  272. }
  273. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  274. return GetMetadataStatic().reflection;
  275. }
  276. static const Speed& default_instance();
  277. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  278. static inline const Speed* internal_default_instance() {
  279. return reinterpret_cast<const Speed*>(
  280. &_Speed_default_instance_);
  281. }
  282. static constexpr int kIndexInFileMessages =
  283. 1;
  284. friend void swap(Speed& a, Speed& b) {
  285. a.Swap(&b);
  286. }
  287. inline void Swap(Speed* other) {
  288. if (other == this) return;
  289. if (GetArena() == other->GetArena()) {
  290. InternalSwap(other);
  291. } else {
  292. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  293. }
  294. }
  295. void UnsafeArenaSwap(Speed* other) {
  296. if (other == this) return;
  297. GOOGLE_DCHECK(GetArena() == other->GetArena());
  298. InternalSwap(other);
  299. }
  300. // implements Message ----------------------------------------------
  301. inline Speed* New() const final {
  302. return CreateMaybeMessage<Speed>(nullptr);
  303. }
  304. Speed* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  305. return CreateMaybeMessage<Speed>(arena);
  306. }
  307. void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  308. void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  309. void CopyFrom(const Speed& from);
  310. void MergeFrom(const Speed& from);
  311. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  312. bool IsInitialized() const final;
  313. size_t ByteSizeLong() const final;
  314. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  315. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  316. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  317. int GetCachedSize() const final { return _cached_size_.Get(); }
  318. private:
  319. inline void SharedCtor();
  320. inline void SharedDtor();
  321. void SetCachedSize(int size) const final;
  322. void InternalSwap(Speed* other);
  323. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  324. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  325. return "NavMessage.Speed";
  326. }
  327. protected:
  328. explicit Speed(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  329. private:
  330. static void ArenaDtor(void* object);
  331. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  332. public:
  333. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  334. private:
  335. static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
  336. ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_message_2eproto);
  337. return ::descriptor_table_message_2eproto.file_level_metadata[kIndexInFileMessages];
  338. }
  339. public:
  340. // nested types ----------------------------------------------------
  341. // accessors -------------------------------------------------------
  342. enum : int {
  343. kHFieldNumber = 1,
  344. kTFieldNumber = 2,
  345. kVFieldNumber = 3,
  346. kWFieldNumber = 4,
  347. };
  348. // int32 H = 1;
  349. void clear_h();
  350. ::PROTOBUF_NAMESPACE_ID::int32 h() const;
  351. void set_h(::PROTOBUF_NAMESPACE_ID::int32 value);
  352. private:
  353. ::PROTOBUF_NAMESPACE_ID::int32 _internal_h() const;
  354. void _internal_set_h(::PROTOBUF_NAMESPACE_ID::int32 value);
  355. public:
  356. // int32 T = 2;
  357. void clear_t();
  358. ::PROTOBUF_NAMESPACE_ID::int32 t() const;
  359. void set_t(::PROTOBUF_NAMESPACE_ID::int32 value);
  360. private:
  361. ::PROTOBUF_NAMESPACE_ID::int32 _internal_t() const;
  362. void _internal_set_t(::PROTOBUF_NAMESPACE_ID::int32 value);
  363. public:
  364. // float V = 3;
  365. void clear_v();
  366. float v() const;
  367. void set_v(float value);
  368. private:
  369. float _internal_v() const;
  370. void _internal_set_v(float value);
  371. public:
  372. // float W = 4;
  373. void clear_w();
  374. float w() const;
  375. void set_w(float value);
  376. private:
  377. float _internal_w() const;
  378. void _internal_set_w(float value);
  379. public:
  380. // @@protoc_insertion_point(class_scope:NavMessage.Speed)
  381. private:
  382. class _Internal;
  383. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  384. typedef void InternalArenaConstructable_;
  385. typedef void DestructorSkippable_;
  386. ::PROTOBUF_NAMESPACE_ID::int32 h_;
  387. ::PROTOBUF_NAMESPACE_ID::int32 t_;
  388. float v_;
  389. float w_;
  390. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  391. friend struct ::TableStruct_message_2eproto;
  392. };
  393. // -------------------------------------------------------------------
  394. class Pose2d PROTOBUF_FINAL :
  395. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:NavMessage.Pose2d) */ {
  396. public:
  397. inline Pose2d() : Pose2d(nullptr) {}
  398. virtual ~Pose2d();
  399. Pose2d(const Pose2d& from);
  400. Pose2d(Pose2d&& from) noexcept
  401. : Pose2d() {
  402. *this = ::std::move(from);
  403. }
  404. inline Pose2d& operator=(const Pose2d& from) {
  405. CopyFrom(from);
  406. return *this;
  407. }
  408. inline Pose2d& operator=(Pose2d&& from) noexcept {
  409. if (GetArena() == from.GetArena()) {
  410. if (this != &from) InternalSwap(&from);
  411. } else {
  412. CopyFrom(from);
  413. }
  414. return *this;
  415. }
  416. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  417. return GetDescriptor();
  418. }
  419. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  420. return GetMetadataStatic().descriptor;
  421. }
  422. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  423. return GetMetadataStatic().reflection;
  424. }
  425. static const Pose2d& default_instance();
  426. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  427. static inline const Pose2d* internal_default_instance() {
  428. return reinterpret_cast<const Pose2d*>(
  429. &_Pose2d_default_instance_);
  430. }
  431. static constexpr int kIndexInFileMessages =
  432. 2;
  433. friend void swap(Pose2d& a, Pose2d& b) {
  434. a.Swap(&b);
  435. }
  436. inline void Swap(Pose2d* other) {
  437. if (other == this) return;
  438. if (GetArena() == other->GetArena()) {
  439. InternalSwap(other);
  440. } else {
  441. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  442. }
  443. }
  444. void UnsafeArenaSwap(Pose2d* other) {
  445. if (other == this) return;
  446. GOOGLE_DCHECK(GetArena() == other->GetArena());
  447. InternalSwap(other);
  448. }
  449. // implements Message ----------------------------------------------
  450. inline Pose2d* New() const final {
  451. return CreateMaybeMessage<Pose2d>(nullptr);
  452. }
  453. Pose2d* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  454. return CreateMaybeMessage<Pose2d>(arena);
  455. }
  456. void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  457. void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  458. void CopyFrom(const Pose2d& from);
  459. void MergeFrom(const Pose2d& from);
  460. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  461. bool IsInitialized() const final;
  462. size_t ByteSizeLong() const final;
  463. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  464. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  465. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  466. int GetCachedSize() const final { return _cached_size_.Get(); }
  467. private:
  468. inline void SharedCtor();
  469. inline void SharedDtor();
  470. void SetCachedSize(int size) const final;
  471. void InternalSwap(Pose2d* other);
  472. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  473. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  474. return "NavMessage.Pose2d";
  475. }
  476. protected:
  477. explicit Pose2d(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  478. private:
  479. static void ArenaDtor(void* object);
  480. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  481. public:
  482. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  483. private:
  484. static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
  485. ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_message_2eproto);
  486. return ::descriptor_table_message_2eproto.file_level_metadata[kIndexInFileMessages];
  487. }
  488. public:
  489. // nested types ----------------------------------------------------
  490. // accessors -------------------------------------------------------
  491. enum : int {
  492. kXFieldNumber = 1,
  493. kYFieldNumber = 2,
  494. kThetaFieldNumber = 3,
  495. };
  496. // float x = 1;
  497. void clear_x();
  498. float x() const;
  499. void set_x(float value);
  500. private:
  501. float _internal_x() const;
  502. void _internal_set_x(float value);
  503. public:
  504. // float y = 2;
  505. void clear_y();
  506. float y() const;
  507. void set_y(float value);
  508. private:
  509. float _internal_y() const;
  510. void _internal_set_y(float value);
  511. public:
  512. // float theta = 3;
  513. void clear_theta();
  514. float theta() const;
  515. void set_theta(float value);
  516. private:
  517. float _internal_theta() const;
  518. void _internal_set_theta(float value);
  519. public:
  520. // @@protoc_insertion_point(class_scope:NavMessage.Pose2d)
  521. private:
  522. class _Internal;
  523. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  524. typedef void InternalArenaConstructable_;
  525. typedef void DestructorSkippable_;
  526. float x_;
  527. float y_;
  528. float theta_;
  529. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  530. friend struct ::TableStruct_message_2eproto;
  531. };
  532. // -------------------------------------------------------------------
  533. class Trajectory PROTOBUF_FINAL :
  534. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:NavMessage.Trajectory) */ {
  535. public:
  536. inline Trajectory() : Trajectory(nullptr) {}
  537. virtual ~Trajectory();
  538. Trajectory(const Trajectory& from);
  539. Trajectory(Trajectory&& from) noexcept
  540. : Trajectory() {
  541. *this = ::std::move(from);
  542. }
  543. inline Trajectory& operator=(const Trajectory& from) {
  544. CopyFrom(from);
  545. return *this;
  546. }
  547. inline Trajectory& operator=(Trajectory&& from) noexcept {
  548. if (GetArena() == from.GetArena()) {
  549. if (this != &from) InternalSwap(&from);
  550. } else {
  551. CopyFrom(from);
  552. }
  553. return *this;
  554. }
  555. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  556. return GetDescriptor();
  557. }
  558. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  559. return GetMetadataStatic().descriptor;
  560. }
  561. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  562. return GetMetadataStatic().reflection;
  563. }
  564. static const Trajectory& default_instance();
  565. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  566. static inline const Trajectory* internal_default_instance() {
  567. return reinterpret_cast<const Trajectory*>(
  568. &_Trajectory_default_instance_);
  569. }
  570. static constexpr int kIndexInFileMessages =
  571. 3;
  572. friend void swap(Trajectory& a, Trajectory& b) {
  573. a.Swap(&b);
  574. }
  575. inline void Swap(Trajectory* other) {
  576. if (other == this) return;
  577. if (GetArena() == other->GetArena()) {
  578. InternalSwap(other);
  579. } else {
  580. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  581. }
  582. }
  583. void UnsafeArenaSwap(Trajectory* other) {
  584. if (other == this) return;
  585. GOOGLE_DCHECK(GetArena() == other->GetArena());
  586. InternalSwap(other);
  587. }
  588. // implements Message ----------------------------------------------
  589. inline Trajectory* New() const final {
  590. return CreateMaybeMessage<Trajectory>(nullptr);
  591. }
  592. Trajectory* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  593. return CreateMaybeMessage<Trajectory>(arena);
  594. }
  595. void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  596. void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  597. void CopyFrom(const Trajectory& from);
  598. void MergeFrom(const Trajectory& from);
  599. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  600. bool IsInitialized() const final;
  601. size_t ByteSizeLong() const final;
  602. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  603. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  604. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  605. int GetCachedSize() const final { return _cached_size_.Get(); }
  606. private:
  607. inline void SharedCtor();
  608. inline void SharedDtor();
  609. void SetCachedSize(int size) const final;
  610. void InternalSwap(Trajectory* other);
  611. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  612. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  613. return "NavMessage.Trajectory";
  614. }
  615. protected:
  616. explicit Trajectory(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  617. private:
  618. static void ArenaDtor(void* object);
  619. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  620. public:
  621. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  622. private:
  623. static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
  624. ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_message_2eproto);
  625. return ::descriptor_table_message_2eproto.file_level_metadata[kIndexInFileMessages];
  626. }
  627. public:
  628. // nested types ----------------------------------------------------
  629. // accessors -------------------------------------------------------
  630. enum : int {
  631. kPosesFieldNumber = 1,
  632. };
  633. // repeated .NavMessage.Pose2d poses = 1;
  634. int poses_size() const;
  635. private:
  636. int _internal_poses_size() const;
  637. public:
  638. void clear_poses();
  639. ::NavMessage::Pose2d* mutable_poses(int index);
  640. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::NavMessage::Pose2d >*
  641. mutable_poses();
  642. private:
  643. const ::NavMessage::Pose2d& _internal_poses(int index) const;
  644. ::NavMessage::Pose2d* _internal_add_poses();
  645. public:
  646. const ::NavMessage::Pose2d& poses(int index) const;
  647. ::NavMessage::Pose2d* add_poses();
  648. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::NavMessage::Pose2d >&
  649. poses() const;
  650. // @@protoc_insertion_point(class_scope:NavMessage.Trajectory)
  651. private:
  652. class _Internal;
  653. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  654. typedef void InternalArenaConstructable_;
  655. typedef void DestructorSkippable_;
  656. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::NavMessage::Pose2d > poses_;
  657. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  658. friend struct ::TableStruct_message_2eproto;
  659. };
  660. // -------------------------------------------------------------------
  661. class Action PROTOBUF_FINAL :
  662. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:NavMessage.Action) */ {
  663. public:
  664. inline Action() : Action(nullptr) {}
  665. virtual ~Action();
  666. Action(const Action& from);
  667. Action(Action&& from) noexcept
  668. : Action() {
  669. *this = ::std::move(from);
  670. }
  671. inline Action& operator=(const Action& from) {
  672. CopyFrom(from);
  673. return *this;
  674. }
  675. inline Action& operator=(Action&& from) noexcept {
  676. if (GetArena() == from.GetArena()) {
  677. if (this != &from) InternalSwap(&from);
  678. } else {
  679. CopyFrom(from);
  680. }
  681. return *this;
  682. }
  683. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  684. return GetDescriptor();
  685. }
  686. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  687. return GetMetadataStatic().descriptor;
  688. }
  689. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  690. return GetMetadataStatic().reflection;
  691. }
  692. static const Action& default_instance();
  693. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  694. static inline const Action* internal_default_instance() {
  695. return reinterpret_cast<const Action*>(
  696. &_Action_default_instance_);
  697. }
  698. static constexpr int kIndexInFileMessages =
  699. 4;
  700. friend void swap(Action& a, Action& b) {
  701. a.Swap(&b);
  702. }
  703. inline void Swap(Action* other) {
  704. if (other == this) return;
  705. if (GetArena() == other->GetArena()) {
  706. InternalSwap(other);
  707. } else {
  708. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  709. }
  710. }
  711. void UnsafeArenaSwap(Action* other) {
  712. if (other == this) return;
  713. GOOGLE_DCHECK(GetArena() == other->GetArena());
  714. InternalSwap(other);
  715. }
  716. // implements Message ----------------------------------------------
  717. inline Action* New() const final {
  718. return CreateMaybeMessage<Action>(nullptr);
  719. }
  720. Action* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  721. return CreateMaybeMessage<Action>(arena);
  722. }
  723. void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  724. void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  725. void CopyFrom(const Action& from);
  726. void MergeFrom(const Action& from);
  727. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  728. bool IsInitialized() const final;
  729. size_t ByteSizeLong() const final;
  730. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  731. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  732. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  733. int GetCachedSize() const final { return _cached_size_.Get(); }
  734. private:
  735. inline void SharedCtor();
  736. inline void SharedDtor();
  737. void SetCachedSize(int size) const final;
  738. void InternalSwap(Action* other);
  739. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  740. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  741. return "NavMessage.Action";
  742. }
  743. protected:
  744. explicit Action(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  745. private:
  746. static void ArenaDtor(void* object);
  747. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  748. public:
  749. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  750. private:
  751. static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
  752. ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_message_2eproto);
  753. return ::descriptor_table_message_2eproto.file_level_metadata[kIndexInFileMessages];
  754. }
  755. public:
  756. // nested types ----------------------------------------------------
  757. // accessors -------------------------------------------------------
  758. enum : int {
  759. kTargetFieldNumber = 2,
  760. kTargetDiffFieldNumber = 3,
  761. kTypeFieldNumber = 1,
  762. };
  763. // .NavMessage.Pose2d target = 2;
  764. bool has_target() const;
  765. private:
  766. bool _internal_has_target() const;
  767. public:
  768. void clear_target();
  769. const ::NavMessage::Pose2d& target() const;
  770. ::NavMessage::Pose2d* release_target();
  771. ::NavMessage::Pose2d* mutable_target();
  772. void set_allocated_target(::NavMessage::Pose2d* target);
  773. private:
  774. const ::NavMessage::Pose2d& _internal_target() const;
  775. ::NavMessage::Pose2d* _internal_mutable_target();
  776. public:
  777. void unsafe_arena_set_allocated_target(
  778. ::NavMessage::Pose2d* target);
  779. ::NavMessage::Pose2d* unsafe_arena_release_target();
  780. // .NavMessage.Pose2d target_diff = 3;
  781. bool has_target_diff() const;
  782. private:
  783. bool _internal_has_target_diff() const;
  784. public:
  785. void clear_target_diff();
  786. const ::NavMessage::Pose2d& target_diff() const;
  787. ::NavMessage::Pose2d* release_target_diff();
  788. ::NavMessage::Pose2d* mutable_target_diff();
  789. void set_allocated_target_diff(::NavMessage::Pose2d* target_diff);
  790. private:
  791. const ::NavMessage::Pose2d& _internal_target_diff() const;
  792. ::NavMessage::Pose2d* _internal_mutable_target_diff();
  793. public:
  794. void unsafe_arena_set_allocated_target_diff(
  795. ::NavMessage::Pose2d* target_diff);
  796. ::NavMessage::Pose2d* unsafe_arena_release_target_diff();
  797. // int32 type = 1;
  798. void clear_type();
  799. ::PROTOBUF_NAMESPACE_ID::int32 type() const;
  800. void set_type(::PROTOBUF_NAMESPACE_ID::int32 value);
  801. private:
  802. ::PROTOBUF_NAMESPACE_ID::int32 _internal_type() const;
  803. void _internal_set_type(::PROTOBUF_NAMESPACE_ID::int32 value);
  804. public:
  805. // @@protoc_insertion_point(class_scope:NavMessage.Action)
  806. private:
  807. class _Internal;
  808. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  809. typedef void InternalArenaConstructable_;
  810. typedef void DestructorSkippable_;
  811. ::NavMessage::Pose2d* target_;
  812. ::NavMessage::Pose2d* target_diff_;
  813. ::PROTOBUF_NAMESPACE_ID::int32 type_;
  814. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  815. friend struct ::TableStruct_message_2eproto;
  816. };
  817. // -------------------------------------------------------------------
  818. class NavCmd PROTOBUF_FINAL :
  819. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:NavMessage.NavCmd) */ {
  820. public:
  821. inline NavCmd() : NavCmd(nullptr) {}
  822. virtual ~NavCmd();
  823. NavCmd(const NavCmd& from);
  824. NavCmd(NavCmd&& from) noexcept
  825. : NavCmd() {
  826. *this = ::std::move(from);
  827. }
  828. inline NavCmd& operator=(const NavCmd& from) {
  829. CopyFrom(from);
  830. return *this;
  831. }
  832. inline NavCmd& operator=(NavCmd&& from) noexcept {
  833. if (GetArena() == from.GetArena()) {
  834. if (this != &from) InternalSwap(&from);
  835. } else {
  836. CopyFrom(from);
  837. }
  838. return *this;
  839. }
  840. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  841. return GetDescriptor();
  842. }
  843. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  844. return GetMetadataStatic().descriptor;
  845. }
  846. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  847. return GetMetadataStatic().reflection;
  848. }
  849. static const NavCmd& default_instance();
  850. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  851. static inline const NavCmd* internal_default_instance() {
  852. return reinterpret_cast<const NavCmd*>(
  853. &_NavCmd_default_instance_);
  854. }
  855. static constexpr int kIndexInFileMessages =
  856. 5;
  857. friend void swap(NavCmd& a, NavCmd& b) {
  858. a.Swap(&b);
  859. }
  860. inline void Swap(NavCmd* other) {
  861. if (other == this) return;
  862. if (GetArena() == other->GetArena()) {
  863. InternalSwap(other);
  864. } else {
  865. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  866. }
  867. }
  868. void UnsafeArenaSwap(NavCmd* other) {
  869. if (other == this) return;
  870. GOOGLE_DCHECK(GetArena() == other->GetArena());
  871. InternalSwap(other);
  872. }
  873. // implements Message ----------------------------------------------
  874. inline NavCmd* New() const final {
  875. return CreateMaybeMessage<NavCmd>(nullptr);
  876. }
  877. NavCmd* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  878. return CreateMaybeMessage<NavCmd>(arena);
  879. }
  880. void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  881. void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  882. void CopyFrom(const NavCmd& from);
  883. void MergeFrom(const NavCmd& from);
  884. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  885. bool IsInitialized() const final;
  886. size_t ByteSizeLong() const final;
  887. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  888. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  889. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  890. int GetCachedSize() const final { return _cached_size_.Get(); }
  891. private:
  892. inline void SharedCtor();
  893. inline void SharedDtor();
  894. void SetCachedSize(int size) const final;
  895. void InternalSwap(NavCmd* other);
  896. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  897. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  898. return "NavMessage.NavCmd";
  899. }
  900. protected:
  901. explicit NavCmd(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  902. private:
  903. static void ArenaDtor(void* object);
  904. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  905. public:
  906. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  907. private:
  908. static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
  909. ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_message_2eproto);
  910. return ::descriptor_table_message_2eproto.file_level_metadata[kIndexInFileMessages];
  911. }
  912. public:
  913. // nested types ----------------------------------------------------
  914. // accessors -------------------------------------------------------
  915. enum : int {
  916. kActionsFieldNumber = 3,
  917. kKeyFieldNumber = 2,
  918. kActionFieldNumber = 1,
  919. };
  920. // repeated .NavMessage.Action actions = 3;
  921. int actions_size() const;
  922. private:
  923. int _internal_actions_size() const;
  924. public:
  925. void clear_actions();
  926. ::NavMessage::Action* mutable_actions(int index);
  927. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::NavMessage::Action >*
  928. mutable_actions();
  929. private:
  930. const ::NavMessage::Action& _internal_actions(int index) const;
  931. ::NavMessage::Action* _internal_add_actions();
  932. public:
  933. const ::NavMessage::Action& actions(int index) const;
  934. ::NavMessage::Action* add_actions();
  935. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::NavMessage::Action >&
  936. actions() const;
  937. // string key = 2;
  938. void clear_key();
  939. const std::string& key() const;
  940. void set_key(const std::string& value);
  941. void set_key(std::string&& value);
  942. void set_key(const char* value);
  943. void set_key(const char* value, size_t size);
  944. std::string* mutable_key();
  945. std::string* release_key();
  946. void set_allocated_key(std::string* key);
  947. private:
  948. const std::string& _internal_key() const;
  949. void _internal_set_key(const std::string& value);
  950. std::string* _internal_mutable_key();
  951. public:
  952. // int32 action = 1;
  953. void clear_action();
  954. ::PROTOBUF_NAMESPACE_ID::int32 action() const;
  955. void set_action(::PROTOBUF_NAMESPACE_ID::int32 value);
  956. private:
  957. ::PROTOBUF_NAMESPACE_ID::int32 _internal_action() const;
  958. void _internal_set_action(::PROTOBUF_NAMESPACE_ID::int32 value);
  959. public:
  960. // @@protoc_insertion_point(class_scope:NavMessage.NavCmd)
  961. private:
  962. class _Internal;
  963. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  964. typedef void InternalArenaConstructable_;
  965. typedef void DestructorSkippable_;
  966. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::NavMessage::Action > actions_;
  967. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr key_;
  968. ::PROTOBUF_NAMESPACE_ID::int32 action_;
  969. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  970. friend struct ::TableStruct_message_2eproto;
  971. };
  972. // -------------------------------------------------------------------
  973. class NavStatu PROTOBUF_FINAL :
  974. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:NavMessage.NavStatu) */ {
  975. public:
  976. inline NavStatu() : NavStatu(nullptr) {}
  977. virtual ~NavStatu();
  978. NavStatu(const NavStatu& from);
  979. NavStatu(NavStatu&& from) noexcept
  980. : NavStatu() {
  981. *this = ::std::move(from);
  982. }
  983. inline NavStatu& operator=(const NavStatu& from) {
  984. CopyFrom(from);
  985. return *this;
  986. }
  987. inline NavStatu& operator=(NavStatu&& from) noexcept {
  988. if (GetArena() == from.GetArena()) {
  989. if (this != &from) InternalSwap(&from);
  990. } else {
  991. CopyFrom(from);
  992. }
  993. return *this;
  994. }
  995. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  996. return GetDescriptor();
  997. }
  998. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  999. return GetMetadataStatic().descriptor;
  1000. }
  1001. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  1002. return GetMetadataStatic().reflection;
  1003. }
  1004. static const NavStatu& default_instance();
  1005. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  1006. static inline const NavStatu* internal_default_instance() {
  1007. return reinterpret_cast<const NavStatu*>(
  1008. &_NavStatu_default_instance_);
  1009. }
  1010. static constexpr int kIndexInFileMessages =
  1011. 6;
  1012. friend void swap(NavStatu& a, NavStatu& b) {
  1013. a.Swap(&b);
  1014. }
  1015. inline void Swap(NavStatu* other) {
  1016. if (other == this) return;
  1017. if (GetArena() == other->GetArena()) {
  1018. InternalSwap(other);
  1019. } else {
  1020. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  1021. }
  1022. }
  1023. void UnsafeArenaSwap(NavStatu* other) {
  1024. if (other == this) return;
  1025. GOOGLE_DCHECK(GetArena() == other->GetArena());
  1026. InternalSwap(other);
  1027. }
  1028. // implements Message ----------------------------------------------
  1029. inline NavStatu* New() const final {
  1030. return CreateMaybeMessage<NavStatu>(nullptr);
  1031. }
  1032. NavStatu* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  1033. return CreateMaybeMessage<NavStatu>(arena);
  1034. }
  1035. void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  1036. void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  1037. void CopyFrom(const NavStatu& from);
  1038. void MergeFrom(const NavStatu& from);
  1039. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  1040. bool IsInitialized() const final;
  1041. size_t ByteSizeLong() const final;
  1042. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  1043. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  1044. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  1045. int GetCachedSize() const final { return _cached_size_.Get(); }
  1046. private:
  1047. inline void SharedCtor();
  1048. inline void SharedDtor();
  1049. void SetCachedSize(int size) const final;
  1050. void InternalSwap(NavStatu* other);
  1051. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  1052. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  1053. return "NavMessage.NavStatu";
  1054. }
  1055. protected:
  1056. explicit NavStatu(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  1057. private:
  1058. static void ArenaDtor(void* object);
  1059. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  1060. public:
  1061. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  1062. private:
  1063. static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
  1064. ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_message_2eproto);
  1065. return ::descriptor_table_message_2eproto.file_level_metadata[kIndexInFileMessages];
  1066. }
  1067. public:
  1068. // nested types ----------------------------------------------------
  1069. // accessors -------------------------------------------------------
  1070. enum : int {
  1071. kUnfinishedActionsFieldNumber = 3,
  1072. kKeyFieldNumber = 2,
  1073. kSelectedTrajFieldNumber = 4,
  1074. kPredictTrajFieldNumber = 5,
  1075. kStatuFieldNumber = 1,
  1076. };
  1077. // repeated .NavMessage.Action unfinished_actions = 3;
  1078. int unfinished_actions_size() const;
  1079. private:
  1080. int _internal_unfinished_actions_size() const;
  1081. public:
  1082. void clear_unfinished_actions();
  1083. ::NavMessage::Action* mutable_unfinished_actions(int index);
  1084. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::NavMessage::Action >*
  1085. mutable_unfinished_actions();
  1086. private:
  1087. const ::NavMessage::Action& _internal_unfinished_actions(int index) const;
  1088. ::NavMessage::Action* _internal_add_unfinished_actions();
  1089. public:
  1090. const ::NavMessage::Action& unfinished_actions(int index) const;
  1091. ::NavMessage::Action* add_unfinished_actions();
  1092. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::NavMessage::Action >&
  1093. unfinished_actions() const;
  1094. // string key = 2;
  1095. void clear_key();
  1096. const std::string& key() const;
  1097. void set_key(const std::string& value);
  1098. void set_key(std::string&& value);
  1099. void set_key(const char* value);
  1100. void set_key(const char* value, size_t size);
  1101. std::string* mutable_key();
  1102. std::string* release_key();
  1103. void set_allocated_key(std::string* key);
  1104. private:
  1105. const std::string& _internal_key() const;
  1106. void _internal_set_key(const std::string& value);
  1107. std::string* _internal_mutable_key();
  1108. public:
  1109. // .NavMessage.Trajectory selected_traj = 4;
  1110. bool has_selected_traj() const;
  1111. private:
  1112. bool _internal_has_selected_traj() const;
  1113. public:
  1114. void clear_selected_traj();
  1115. const ::NavMessage::Trajectory& selected_traj() const;
  1116. ::NavMessage::Trajectory* release_selected_traj();
  1117. ::NavMessage::Trajectory* mutable_selected_traj();
  1118. void set_allocated_selected_traj(::NavMessage::Trajectory* selected_traj);
  1119. private:
  1120. const ::NavMessage::Trajectory& _internal_selected_traj() const;
  1121. ::NavMessage::Trajectory* _internal_mutable_selected_traj();
  1122. public:
  1123. void unsafe_arena_set_allocated_selected_traj(
  1124. ::NavMessage::Trajectory* selected_traj);
  1125. ::NavMessage::Trajectory* unsafe_arena_release_selected_traj();
  1126. // .NavMessage.Trajectory predict_traj = 5;
  1127. bool has_predict_traj() const;
  1128. private:
  1129. bool _internal_has_predict_traj() const;
  1130. public:
  1131. void clear_predict_traj();
  1132. const ::NavMessage::Trajectory& predict_traj() const;
  1133. ::NavMessage::Trajectory* release_predict_traj();
  1134. ::NavMessage::Trajectory* mutable_predict_traj();
  1135. void set_allocated_predict_traj(::NavMessage::Trajectory* predict_traj);
  1136. private:
  1137. const ::NavMessage::Trajectory& _internal_predict_traj() const;
  1138. ::NavMessage::Trajectory* _internal_mutable_predict_traj();
  1139. public:
  1140. void unsafe_arena_set_allocated_predict_traj(
  1141. ::NavMessage::Trajectory* predict_traj);
  1142. ::NavMessage::Trajectory* unsafe_arena_release_predict_traj();
  1143. // bool statu = 1;
  1144. void clear_statu();
  1145. bool statu() const;
  1146. void set_statu(bool value);
  1147. private:
  1148. bool _internal_statu() const;
  1149. void _internal_set_statu(bool value);
  1150. public:
  1151. // @@protoc_insertion_point(class_scope:NavMessage.NavStatu)
  1152. private:
  1153. class _Internal;
  1154. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  1155. typedef void InternalArenaConstructable_;
  1156. typedef void DestructorSkippable_;
  1157. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::NavMessage::Action > unfinished_actions_;
  1158. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr key_;
  1159. ::NavMessage::Trajectory* selected_traj_;
  1160. ::NavMessage::Trajectory* predict_traj_;
  1161. bool statu_;
  1162. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  1163. friend struct ::TableStruct_message_2eproto;
  1164. };
  1165. // ===================================================================
  1166. // ===================================================================
  1167. #ifdef __GNUC__
  1168. #pragma GCC diagnostic push
  1169. #pragma GCC diagnostic ignored "-Wstrict-aliasing"
  1170. #endif // __GNUC__
  1171. // AGVStatu
  1172. // float x = 1;
  1173. inline void AGVStatu::clear_x() {
  1174. x_ = 0;
  1175. }
  1176. inline float AGVStatu::_internal_x() const {
  1177. return x_;
  1178. }
  1179. inline float AGVStatu::x() const {
  1180. // @@protoc_insertion_point(field_get:NavMessage.AGVStatu.x)
  1181. return _internal_x();
  1182. }
  1183. inline void AGVStatu::_internal_set_x(float value) {
  1184. x_ = value;
  1185. }
  1186. inline void AGVStatu::set_x(float value) {
  1187. _internal_set_x(value);
  1188. // @@protoc_insertion_point(field_set:NavMessage.AGVStatu.x)
  1189. }
  1190. // float y = 2;
  1191. inline void AGVStatu::clear_y() {
  1192. y_ = 0;
  1193. }
  1194. inline float AGVStatu::_internal_y() const {
  1195. return y_;
  1196. }
  1197. inline float AGVStatu::y() const {
  1198. // @@protoc_insertion_point(field_get:NavMessage.AGVStatu.y)
  1199. return _internal_y();
  1200. }
  1201. inline void AGVStatu::_internal_set_y(float value) {
  1202. y_ = value;
  1203. }
  1204. inline void AGVStatu::set_y(float value) {
  1205. _internal_set_y(value);
  1206. // @@protoc_insertion_point(field_set:NavMessage.AGVStatu.y)
  1207. }
  1208. // float theta = 3;
  1209. inline void AGVStatu::clear_theta() {
  1210. theta_ = 0;
  1211. }
  1212. inline float AGVStatu::_internal_theta() const {
  1213. return theta_;
  1214. }
  1215. inline float AGVStatu::theta() const {
  1216. // @@protoc_insertion_point(field_get:NavMessage.AGVStatu.theta)
  1217. return _internal_theta();
  1218. }
  1219. inline void AGVStatu::_internal_set_theta(float value) {
  1220. theta_ = value;
  1221. }
  1222. inline void AGVStatu::set_theta(float value) {
  1223. _internal_set_theta(value);
  1224. // @@protoc_insertion_point(field_set:NavMessage.AGVStatu.theta)
  1225. }
  1226. // float v = 4;
  1227. inline void AGVStatu::clear_v() {
  1228. v_ = 0;
  1229. }
  1230. inline float AGVStatu::_internal_v() const {
  1231. return v_;
  1232. }
  1233. inline float AGVStatu::v() const {
  1234. // @@protoc_insertion_point(field_get:NavMessage.AGVStatu.v)
  1235. return _internal_v();
  1236. }
  1237. inline void AGVStatu::_internal_set_v(float value) {
  1238. v_ = value;
  1239. }
  1240. inline void AGVStatu::set_v(float value) {
  1241. _internal_set_v(value);
  1242. // @@protoc_insertion_point(field_set:NavMessage.AGVStatu.v)
  1243. }
  1244. // float vth = 5;
  1245. inline void AGVStatu::clear_vth() {
  1246. vth_ = 0;
  1247. }
  1248. inline float AGVStatu::_internal_vth() const {
  1249. return vth_;
  1250. }
  1251. inline float AGVStatu::vth() const {
  1252. // @@protoc_insertion_point(field_get:NavMessage.AGVStatu.vth)
  1253. return _internal_vth();
  1254. }
  1255. inline void AGVStatu::_internal_set_vth(float value) {
  1256. vth_ = value;
  1257. }
  1258. inline void AGVStatu::set_vth(float value) {
  1259. _internal_set_vth(value);
  1260. // @@protoc_insertion_point(field_set:NavMessage.AGVStatu.vth)
  1261. }
  1262. // -------------------------------------------------------------------
  1263. // Speed
  1264. // int32 H = 1;
  1265. inline void Speed::clear_h() {
  1266. h_ = 0;
  1267. }
  1268. inline ::PROTOBUF_NAMESPACE_ID::int32 Speed::_internal_h() const {
  1269. return h_;
  1270. }
  1271. inline ::PROTOBUF_NAMESPACE_ID::int32 Speed::h() const {
  1272. // @@protoc_insertion_point(field_get:NavMessage.Speed.H)
  1273. return _internal_h();
  1274. }
  1275. inline void Speed::_internal_set_h(::PROTOBUF_NAMESPACE_ID::int32 value) {
  1276. h_ = value;
  1277. }
  1278. inline void Speed::set_h(::PROTOBUF_NAMESPACE_ID::int32 value) {
  1279. _internal_set_h(value);
  1280. // @@protoc_insertion_point(field_set:NavMessage.Speed.H)
  1281. }
  1282. // int32 T = 2;
  1283. inline void Speed::clear_t() {
  1284. t_ = 0;
  1285. }
  1286. inline ::PROTOBUF_NAMESPACE_ID::int32 Speed::_internal_t() const {
  1287. return t_;
  1288. }
  1289. inline ::PROTOBUF_NAMESPACE_ID::int32 Speed::t() const {
  1290. // @@protoc_insertion_point(field_get:NavMessage.Speed.T)
  1291. return _internal_t();
  1292. }
  1293. inline void Speed::_internal_set_t(::PROTOBUF_NAMESPACE_ID::int32 value) {
  1294. t_ = value;
  1295. }
  1296. inline void Speed::set_t(::PROTOBUF_NAMESPACE_ID::int32 value) {
  1297. _internal_set_t(value);
  1298. // @@protoc_insertion_point(field_set:NavMessage.Speed.T)
  1299. }
  1300. // float V = 3;
  1301. inline void Speed::clear_v() {
  1302. v_ = 0;
  1303. }
  1304. inline float Speed::_internal_v() const {
  1305. return v_;
  1306. }
  1307. inline float Speed::v() const {
  1308. // @@protoc_insertion_point(field_get:NavMessage.Speed.V)
  1309. return _internal_v();
  1310. }
  1311. inline void Speed::_internal_set_v(float value) {
  1312. v_ = value;
  1313. }
  1314. inline void Speed::set_v(float value) {
  1315. _internal_set_v(value);
  1316. // @@protoc_insertion_point(field_set:NavMessage.Speed.V)
  1317. }
  1318. // float W = 4;
  1319. inline void Speed::clear_w() {
  1320. w_ = 0;
  1321. }
  1322. inline float Speed::_internal_w() const {
  1323. return w_;
  1324. }
  1325. inline float Speed::w() const {
  1326. // @@protoc_insertion_point(field_get:NavMessage.Speed.W)
  1327. return _internal_w();
  1328. }
  1329. inline void Speed::_internal_set_w(float value) {
  1330. w_ = value;
  1331. }
  1332. inline void Speed::set_w(float value) {
  1333. _internal_set_w(value);
  1334. // @@protoc_insertion_point(field_set:NavMessage.Speed.W)
  1335. }
  1336. // -------------------------------------------------------------------
  1337. // Pose2d
  1338. // float x = 1;
  1339. inline void Pose2d::clear_x() {
  1340. x_ = 0;
  1341. }
  1342. inline float Pose2d::_internal_x() const {
  1343. return x_;
  1344. }
  1345. inline float Pose2d::x() const {
  1346. // @@protoc_insertion_point(field_get:NavMessage.Pose2d.x)
  1347. return _internal_x();
  1348. }
  1349. inline void Pose2d::_internal_set_x(float value) {
  1350. x_ = value;
  1351. }
  1352. inline void Pose2d::set_x(float value) {
  1353. _internal_set_x(value);
  1354. // @@protoc_insertion_point(field_set:NavMessage.Pose2d.x)
  1355. }
  1356. // float y = 2;
  1357. inline void Pose2d::clear_y() {
  1358. y_ = 0;
  1359. }
  1360. inline float Pose2d::_internal_y() const {
  1361. return y_;
  1362. }
  1363. inline float Pose2d::y() const {
  1364. // @@protoc_insertion_point(field_get:NavMessage.Pose2d.y)
  1365. return _internal_y();
  1366. }
  1367. inline void Pose2d::_internal_set_y(float value) {
  1368. y_ = value;
  1369. }
  1370. inline void Pose2d::set_y(float value) {
  1371. _internal_set_y(value);
  1372. // @@protoc_insertion_point(field_set:NavMessage.Pose2d.y)
  1373. }
  1374. // float theta = 3;
  1375. inline void Pose2d::clear_theta() {
  1376. theta_ = 0;
  1377. }
  1378. inline float Pose2d::_internal_theta() const {
  1379. return theta_;
  1380. }
  1381. inline float Pose2d::theta() const {
  1382. // @@protoc_insertion_point(field_get:NavMessage.Pose2d.theta)
  1383. return _internal_theta();
  1384. }
  1385. inline void Pose2d::_internal_set_theta(float value) {
  1386. theta_ = value;
  1387. }
  1388. inline void Pose2d::set_theta(float value) {
  1389. _internal_set_theta(value);
  1390. // @@protoc_insertion_point(field_set:NavMessage.Pose2d.theta)
  1391. }
  1392. // -------------------------------------------------------------------
  1393. // Trajectory
  1394. // repeated .NavMessage.Pose2d poses = 1;
  1395. inline int Trajectory::_internal_poses_size() const {
  1396. return poses_.size();
  1397. }
  1398. inline int Trajectory::poses_size() const {
  1399. return _internal_poses_size();
  1400. }
  1401. inline void Trajectory::clear_poses() {
  1402. poses_.Clear();
  1403. }
  1404. inline ::NavMessage::Pose2d* Trajectory::mutable_poses(int index) {
  1405. // @@protoc_insertion_point(field_mutable:NavMessage.Trajectory.poses)
  1406. return poses_.Mutable(index);
  1407. }
  1408. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::NavMessage::Pose2d >*
  1409. Trajectory::mutable_poses() {
  1410. // @@protoc_insertion_point(field_mutable_list:NavMessage.Trajectory.poses)
  1411. return &poses_;
  1412. }
  1413. inline const ::NavMessage::Pose2d& Trajectory::_internal_poses(int index) const {
  1414. return poses_.Get(index);
  1415. }
  1416. inline const ::NavMessage::Pose2d& Trajectory::poses(int index) const {
  1417. // @@protoc_insertion_point(field_get:NavMessage.Trajectory.poses)
  1418. return _internal_poses(index);
  1419. }
  1420. inline ::NavMessage::Pose2d* Trajectory::_internal_add_poses() {
  1421. return poses_.Add();
  1422. }
  1423. inline ::NavMessage::Pose2d* Trajectory::add_poses() {
  1424. // @@protoc_insertion_point(field_add:NavMessage.Trajectory.poses)
  1425. return _internal_add_poses();
  1426. }
  1427. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::NavMessage::Pose2d >&
  1428. Trajectory::poses() const {
  1429. // @@protoc_insertion_point(field_list:NavMessage.Trajectory.poses)
  1430. return poses_;
  1431. }
  1432. // -------------------------------------------------------------------
  1433. // Action
  1434. // int32 type = 1;
  1435. inline void Action::clear_type() {
  1436. type_ = 0;
  1437. }
  1438. inline ::PROTOBUF_NAMESPACE_ID::int32 Action::_internal_type() const {
  1439. return type_;
  1440. }
  1441. inline ::PROTOBUF_NAMESPACE_ID::int32 Action::type() const {
  1442. // @@protoc_insertion_point(field_get:NavMessage.Action.type)
  1443. return _internal_type();
  1444. }
  1445. inline void Action::_internal_set_type(::PROTOBUF_NAMESPACE_ID::int32 value) {
  1446. type_ = value;
  1447. }
  1448. inline void Action::set_type(::PROTOBUF_NAMESPACE_ID::int32 value) {
  1449. _internal_set_type(value);
  1450. // @@protoc_insertion_point(field_set:NavMessage.Action.type)
  1451. }
  1452. // .NavMessage.Pose2d target = 2;
  1453. inline bool Action::_internal_has_target() const {
  1454. return this != internal_default_instance() && target_ != nullptr;
  1455. }
  1456. inline bool Action::has_target() const {
  1457. return _internal_has_target();
  1458. }
  1459. inline void Action::clear_target() {
  1460. if (GetArena() == nullptr && target_ != nullptr) {
  1461. delete target_;
  1462. }
  1463. target_ = nullptr;
  1464. }
  1465. inline const ::NavMessage::Pose2d& Action::_internal_target() const {
  1466. const ::NavMessage::Pose2d* p = target_;
  1467. return p != nullptr ? *p : *reinterpret_cast<const ::NavMessage::Pose2d*>(
  1468. &::NavMessage::_Pose2d_default_instance_);
  1469. }
  1470. inline const ::NavMessage::Pose2d& Action::target() const {
  1471. // @@protoc_insertion_point(field_get:NavMessage.Action.target)
  1472. return _internal_target();
  1473. }
  1474. inline void Action::unsafe_arena_set_allocated_target(
  1475. ::NavMessage::Pose2d* target) {
  1476. if (GetArena() == nullptr) {
  1477. delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(target_);
  1478. }
  1479. target_ = target;
  1480. if (target) {
  1481. } else {
  1482. }
  1483. // @@protoc_insertion_point(field_unsafe_arena_set_allocated:NavMessage.Action.target)
  1484. }
  1485. inline ::NavMessage::Pose2d* Action::release_target() {
  1486. ::NavMessage::Pose2d* temp = target_;
  1487. target_ = nullptr;
  1488. if (GetArena() != nullptr) {
  1489. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  1490. }
  1491. return temp;
  1492. }
  1493. inline ::NavMessage::Pose2d* Action::unsafe_arena_release_target() {
  1494. // @@protoc_insertion_point(field_release:NavMessage.Action.target)
  1495. ::NavMessage::Pose2d* temp = target_;
  1496. target_ = nullptr;
  1497. return temp;
  1498. }
  1499. inline ::NavMessage::Pose2d* Action::_internal_mutable_target() {
  1500. if (target_ == nullptr) {
  1501. auto* p = CreateMaybeMessage<::NavMessage::Pose2d>(GetArena());
  1502. target_ = p;
  1503. }
  1504. return target_;
  1505. }
  1506. inline ::NavMessage::Pose2d* Action::mutable_target() {
  1507. // @@protoc_insertion_point(field_mutable:NavMessage.Action.target)
  1508. return _internal_mutable_target();
  1509. }
  1510. inline void Action::set_allocated_target(::NavMessage::Pose2d* target) {
  1511. ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
  1512. if (message_arena == nullptr) {
  1513. delete target_;
  1514. }
  1515. if (target) {
  1516. ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
  1517. ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(target);
  1518. if (message_arena != submessage_arena) {
  1519. target = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
  1520. message_arena, target, submessage_arena);
  1521. }
  1522. } else {
  1523. }
  1524. target_ = target;
  1525. // @@protoc_insertion_point(field_set_allocated:NavMessage.Action.target)
  1526. }
  1527. // .NavMessage.Pose2d target_diff = 3;
  1528. inline bool Action::_internal_has_target_diff() const {
  1529. return this != internal_default_instance() && target_diff_ != nullptr;
  1530. }
  1531. inline bool Action::has_target_diff() const {
  1532. return _internal_has_target_diff();
  1533. }
  1534. inline void Action::clear_target_diff() {
  1535. if (GetArena() == nullptr && target_diff_ != nullptr) {
  1536. delete target_diff_;
  1537. }
  1538. target_diff_ = nullptr;
  1539. }
  1540. inline const ::NavMessage::Pose2d& Action::_internal_target_diff() const {
  1541. const ::NavMessage::Pose2d* p = target_diff_;
  1542. return p != nullptr ? *p : *reinterpret_cast<const ::NavMessage::Pose2d*>(
  1543. &::NavMessage::_Pose2d_default_instance_);
  1544. }
  1545. inline const ::NavMessage::Pose2d& Action::target_diff() const {
  1546. // @@protoc_insertion_point(field_get:NavMessage.Action.target_diff)
  1547. return _internal_target_diff();
  1548. }
  1549. inline void Action::unsafe_arena_set_allocated_target_diff(
  1550. ::NavMessage::Pose2d* target_diff) {
  1551. if (GetArena() == nullptr) {
  1552. delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(target_diff_);
  1553. }
  1554. target_diff_ = target_diff;
  1555. if (target_diff) {
  1556. } else {
  1557. }
  1558. // @@protoc_insertion_point(field_unsafe_arena_set_allocated:NavMessage.Action.target_diff)
  1559. }
  1560. inline ::NavMessage::Pose2d* Action::release_target_diff() {
  1561. ::NavMessage::Pose2d* temp = target_diff_;
  1562. target_diff_ = nullptr;
  1563. if (GetArena() != nullptr) {
  1564. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  1565. }
  1566. return temp;
  1567. }
  1568. inline ::NavMessage::Pose2d* Action::unsafe_arena_release_target_diff() {
  1569. // @@protoc_insertion_point(field_release:NavMessage.Action.target_diff)
  1570. ::NavMessage::Pose2d* temp = target_diff_;
  1571. target_diff_ = nullptr;
  1572. return temp;
  1573. }
  1574. inline ::NavMessage::Pose2d* Action::_internal_mutable_target_diff() {
  1575. if (target_diff_ == nullptr) {
  1576. auto* p = CreateMaybeMessage<::NavMessage::Pose2d>(GetArena());
  1577. target_diff_ = p;
  1578. }
  1579. return target_diff_;
  1580. }
  1581. inline ::NavMessage::Pose2d* Action::mutable_target_diff() {
  1582. // @@protoc_insertion_point(field_mutable:NavMessage.Action.target_diff)
  1583. return _internal_mutable_target_diff();
  1584. }
  1585. inline void Action::set_allocated_target_diff(::NavMessage::Pose2d* target_diff) {
  1586. ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
  1587. if (message_arena == nullptr) {
  1588. delete target_diff_;
  1589. }
  1590. if (target_diff) {
  1591. ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
  1592. ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(target_diff);
  1593. if (message_arena != submessage_arena) {
  1594. target_diff = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
  1595. message_arena, target_diff, submessage_arena);
  1596. }
  1597. } else {
  1598. }
  1599. target_diff_ = target_diff;
  1600. // @@protoc_insertion_point(field_set_allocated:NavMessage.Action.target_diff)
  1601. }
  1602. // -------------------------------------------------------------------
  1603. // NavCmd
  1604. // int32 action = 1;
  1605. inline void NavCmd::clear_action() {
  1606. action_ = 0;
  1607. }
  1608. inline ::PROTOBUF_NAMESPACE_ID::int32 NavCmd::_internal_action() const {
  1609. return action_;
  1610. }
  1611. inline ::PROTOBUF_NAMESPACE_ID::int32 NavCmd::action() const {
  1612. // @@protoc_insertion_point(field_get:NavMessage.NavCmd.action)
  1613. return _internal_action();
  1614. }
  1615. inline void NavCmd::_internal_set_action(::PROTOBUF_NAMESPACE_ID::int32 value) {
  1616. action_ = value;
  1617. }
  1618. inline void NavCmd::set_action(::PROTOBUF_NAMESPACE_ID::int32 value) {
  1619. _internal_set_action(value);
  1620. // @@protoc_insertion_point(field_set:NavMessage.NavCmd.action)
  1621. }
  1622. // string key = 2;
  1623. inline void NavCmd::clear_key() {
  1624. key_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
  1625. }
  1626. inline const std::string& NavCmd::key() const {
  1627. // @@protoc_insertion_point(field_get:NavMessage.NavCmd.key)
  1628. return _internal_key();
  1629. }
  1630. inline void NavCmd::set_key(const std::string& value) {
  1631. _internal_set_key(value);
  1632. // @@protoc_insertion_point(field_set:NavMessage.NavCmd.key)
  1633. }
  1634. inline std::string* NavCmd::mutable_key() {
  1635. // @@protoc_insertion_point(field_mutable:NavMessage.NavCmd.key)
  1636. return _internal_mutable_key();
  1637. }
  1638. inline const std::string& NavCmd::_internal_key() const {
  1639. return key_.Get();
  1640. }
  1641. inline void NavCmd::_internal_set_key(const std::string& value) {
  1642. key_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena());
  1643. }
  1644. inline void NavCmd::set_key(std::string&& value) {
  1645. key_.Set(
  1646. &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena());
  1647. // @@protoc_insertion_point(field_set_rvalue:NavMessage.NavCmd.key)
  1648. }
  1649. inline void NavCmd::set_key(const char* value) {
  1650. GOOGLE_DCHECK(value != nullptr);
  1651. key_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
  1652. GetArena());
  1653. // @@protoc_insertion_point(field_set_char:NavMessage.NavCmd.key)
  1654. }
  1655. inline void NavCmd::set_key(const char* value,
  1656. size_t size) {
  1657. key_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(
  1658. reinterpret_cast<const char*>(value), size), GetArena());
  1659. // @@protoc_insertion_point(field_set_pointer:NavMessage.NavCmd.key)
  1660. }
  1661. inline std::string* NavCmd::_internal_mutable_key() {
  1662. return key_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
  1663. }
  1664. inline std::string* NavCmd::release_key() {
  1665. // @@protoc_insertion_point(field_release:NavMessage.NavCmd.key)
  1666. return key_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
  1667. }
  1668. inline void NavCmd::set_allocated_key(std::string* key) {
  1669. if (key != nullptr) {
  1670. } else {
  1671. }
  1672. key_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), key,
  1673. GetArena());
  1674. // @@protoc_insertion_point(field_set_allocated:NavMessage.NavCmd.key)
  1675. }
  1676. // repeated .NavMessage.Action actions = 3;
  1677. inline int NavCmd::_internal_actions_size() const {
  1678. return actions_.size();
  1679. }
  1680. inline int NavCmd::actions_size() const {
  1681. return _internal_actions_size();
  1682. }
  1683. inline void NavCmd::clear_actions() {
  1684. actions_.Clear();
  1685. }
  1686. inline ::NavMessage::Action* NavCmd::mutable_actions(int index) {
  1687. // @@protoc_insertion_point(field_mutable:NavMessage.NavCmd.actions)
  1688. return actions_.Mutable(index);
  1689. }
  1690. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::NavMessage::Action >*
  1691. NavCmd::mutable_actions() {
  1692. // @@protoc_insertion_point(field_mutable_list:NavMessage.NavCmd.actions)
  1693. return &actions_;
  1694. }
  1695. inline const ::NavMessage::Action& NavCmd::_internal_actions(int index) const {
  1696. return actions_.Get(index);
  1697. }
  1698. inline const ::NavMessage::Action& NavCmd::actions(int index) const {
  1699. // @@protoc_insertion_point(field_get:NavMessage.NavCmd.actions)
  1700. return _internal_actions(index);
  1701. }
  1702. inline ::NavMessage::Action* NavCmd::_internal_add_actions() {
  1703. return actions_.Add();
  1704. }
  1705. inline ::NavMessage::Action* NavCmd::add_actions() {
  1706. // @@protoc_insertion_point(field_add:NavMessage.NavCmd.actions)
  1707. return _internal_add_actions();
  1708. }
  1709. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::NavMessage::Action >&
  1710. NavCmd::actions() const {
  1711. // @@protoc_insertion_point(field_list:NavMessage.NavCmd.actions)
  1712. return actions_;
  1713. }
  1714. // -------------------------------------------------------------------
  1715. // NavStatu
  1716. // bool statu = 1;
  1717. inline void NavStatu::clear_statu() {
  1718. statu_ = false;
  1719. }
  1720. inline bool NavStatu::_internal_statu() const {
  1721. return statu_;
  1722. }
  1723. inline bool NavStatu::statu() const {
  1724. // @@protoc_insertion_point(field_get:NavMessage.NavStatu.statu)
  1725. return _internal_statu();
  1726. }
  1727. inline void NavStatu::_internal_set_statu(bool value) {
  1728. statu_ = value;
  1729. }
  1730. inline void NavStatu::set_statu(bool value) {
  1731. _internal_set_statu(value);
  1732. // @@protoc_insertion_point(field_set:NavMessage.NavStatu.statu)
  1733. }
  1734. // string key = 2;
  1735. inline void NavStatu::clear_key() {
  1736. key_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
  1737. }
  1738. inline const std::string& NavStatu::key() const {
  1739. // @@protoc_insertion_point(field_get:NavMessage.NavStatu.key)
  1740. return _internal_key();
  1741. }
  1742. inline void NavStatu::set_key(const std::string& value) {
  1743. _internal_set_key(value);
  1744. // @@protoc_insertion_point(field_set:NavMessage.NavStatu.key)
  1745. }
  1746. inline std::string* NavStatu::mutable_key() {
  1747. // @@protoc_insertion_point(field_mutable:NavMessage.NavStatu.key)
  1748. return _internal_mutable_key();
  1749. }
  1750. inline const std::string& NavStatu::_internal_key() const {
  1751. return key_.Get();
  1752. }
  1753. inline void NavStatu::_internal_set_key(const std::string& value) {
  1754. key_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena());
  1755. }
  1756. inline void NavStatu::set_key(std::string&& value) {
  1757. key_.Set(
  1758. &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena());
  1759. // @@protoc_insertion_point(field_set_rvalue:NavMessage.NavStatu.key)
  1760. }
  1761. inline void NavStatu::set_key(const char* value) {
  1762. GOOGLE_DCHECK(value != nullptr);
  1763. key_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
  1764. GetArena());
  1765. // @@protoc_insertion_point(field_set_char:NavMessage.NavStatu.key)
  1766. }
  1767. inline void NavStatu::set_key(const char* value,
  1768. size_t size) {
  1769. key_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(
  1770. reinterpret_cast<const char*>(value), size), GetArena());
  1771. // @@protoc_insertion_point(field_set_pointer:NavMessage.NavStatu.key)
  1772. }
  1773. inline std::string* NavStatu::_internal_mutable_key() {
  1774. return key_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
  1775. }
  1776. inline std::string* NavStatu::release_key() {
  1777. // @@protoc_insertion_point(field_release:NavMessage.NavStatu.key)
  1778. return key_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
  1779. }
  1780. inline void NavStatu::set_allocated_key(std::string* key) {
  1781. if (key != nullptr) {
  1782. } else {
  1783. }
  1784. key_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), key,
  1785. GetArena());
  1786. // @@protoc_insertion_point(field_set_allocated:NavMessage.NavStatu.key)
  1787. }
  1788. // repeated .NavMessage.Action unfinished_actions = 3;
  1789. inline int NavStatu::_internal_unfinished_actions_size() const {
  1790. return unfinished_actions_.size();
  1791. }
  1792. inline int NavStatu::unfinished_actions_size() const {
  1793. return _internal_unfinished_actions_size();
  1794. }
  1795. inline void NavStatu::clear_unfinished_actions() {
  1796. unfinished_actions_.Clear();
  1797. }
  1798. inline ::NavMessage::Action* NavStatu::mutable_unfinished_actions(int index) {
  1799. // @@protoc_insertion_point(field_mutable:NavMessage.NavStatu.unfinished_actions)
  1800. return unfinished_actions_.Mutable(index);
  1801. }
  1802. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::NavMessage::Action >*
  1803. NavStatu::mutable_unfinished_actions() {
  1804. // @@protoc_insertion_point(field_mutable_list:NavMessage.NavStatu.unfinished_actions)
  1805. return &unfinished_actions_;
  1806. }
  1807. inline const ::NavMessage::Action& NavStatu::_internal_unfinished_actions(int index) const {
  1808. return unfinished_actions_.Get(index);
  1809. }
  1810. inline const ::NavMessage::Action& NavStatu::unfinished_actions(int index) const {
  1811. // @@protoc_insertion_point(field_get:NavMessage.NavStatu.unfinished_actions)
  1812. return _internal_unfinished_actions(index);
  1813. }
  1814. inline ::NavMessage::Action* NavStatu::_internal_add_unfinished_actions() {
  1815. return unfinished_actions_.Add();
  1816. }
  1817. inline ::NavMessage::Action* NavStatu::add_unfinished_actions() {
  1818. // @@protoc_insertion_point(field_add:NavMessage.NavStatu.unfinished_actions)
  1819. return _internal_add_unfinished_actions();
  1820. }
  1821. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::NavMessage::Action >&
  1822. NavStatu::unfinished_actions() const {
  1823. // @@protoc_insertion_point(field_list:NavMessage.NavStatu.unfinished_actions)
  1824. return unfinished_actions_;
  1825. }
  1826. // .NavMessage.Trajectory selected_traj = 4;
  1827. inline bool NavStatu::_internal_has_selected_traj() const {
  1828. return this != internal_default_instance() && selected_traj_ != nullptr;
  1829. }
  1830. inline bool NavStatu::has_selected_traj() const {
  1831. return _internal_has_selected_traj();
  1832. }
  1833. inline void NavStatu::clear_selected_traj() {
  1834. if (GetArena() == nullptr && selected_traj_ != nullptr) {
  1835. delete selected_traj_;
  1836. }
  1837. selected_traj_ = nullptr;
  1838. }
  1839. inline const ::NavMessage::Trajectory& NavStatu::_internal_selected_traj() const {
  1840. const ::NavMessage::Trajectory* p = selected_traj_;
  1841. return p != nullptr ? *p : *reinterpret_cast<const ::NavMessage::Trajectory*>(
  1842. &::NavMessage::_Trajectory_default_instance_);
  1843. }
  1844. inline const ::NavMessage::Trajectory& NavStatu::selected_traj() const {
  1845. // @@protoc_insertion_point(field_get:NavMessage.NavStatu.selected_traj)
  1846. return _internal_selected_traj();
  1847. }
  1848. inline void NavStatu::unsafe_arena_set_allocated_selected_traj(
  1849. ::NavMessage::Trajectory* selected_traj) {
  1850. if (GetArena() == nullptr) {
  1851. delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(selected_traj_);
  1852. }
  1853. selected_traj_ = selected_traj;
  1854. if (selected_traj) {
  1855. } else {
  1856. }
  1857. // @@protoc_insertion_point(field_unsafe_arena_set_allocated:NavMessage.NavStatu.selected_traj)
  1858. }
  1859. inline ::NavMessage::Trajectory* NavStatu::release_selected_traj() {
  1860. ::NavMessage::Trajectory* temp = selected_traj_;
  1861. selected_traj_ = nullptr;
  1862. if (GetArena() != nullptr) {
  1863. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  1864. }
  1865. return temp;
  1866. }
  1867. inline ::NavMessage::Trajectory* NavStatu::unsafe_arena_release_selected_traj() {
  1868. // @@protoc_insertion_point(field_release:NavMessage.NavStatu.selected_traj)
  1869. ::NavMessage::Trajectory* temp = selected_traj_;
  1870. selected_traj_ = nullptr;
  1871. return temp;
  1872. }
  1873. inline ::NavMessage::Trajectory* NavStatu::_internal_mutable_selected_traj() {
  1874. if (selected_traj_ == nullptr) {
  1875. auto* p = CreateMaybeMessage<::NavMessage::Trajectory>(GetArena());
  1876. selected_traj_ = p;
  1877. }
  1878. return selected_traj_;
  1879. }
  1880. inline ::NavMessage::Trajectory* NavStatu::mutable_selected_traj() {
  1881. // @@protoc_insertion_point(field_mutable:NavMessage.NavStatu.selected_traj)
  1882. return _internal_mutable_selected_traj();
  1883. }
  1884. inline void NavStatu::set_allocated_selected_traj(::NavMessage::Trajectory* selected_traj) {
  1885. ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
  1886. if (message_arena == nullptr) {
  1887. delete selected_traj_;
  1888. }
  1889. if (selected_traj) {
  1890. ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
  1891. ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(selected_traj);
  1892. if (message_arena != submessage_arena) {
  1893. selected_traj = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
  1894. message_arena, selected_traj, submessage_arena);
  1895. }
  1896. } else {
  1897. }
  1898. selected_traj_ = selected_traj;
  1899. // @@protoc_insertion_point(field_set_allocated:NavMessage.NavStatu.selected_traj)
  1900. }
  1901. // .NavMessage.Trajectory predict_traj = 5;
  1902. inline bool NavStatu::_internal_has_predict_traj() const {
  1903. return this != internal_default_instance() && predict_traj_ != nullptr;
  1904. }
  1905. inline bool NavStatu::has_predict_traj() const {
  1906. return _internal_has_predict_traj();
  1907. }
  1908. inline void NavStatu::clear_predict_traj() {
  1909. if (GetArena() == nullptr && predict_traj_ != nullptr) {
  1910. delete predict_traj_;
  1911. }
  1912. predict_traj_ = nullptr;
  1913. }
  1914. inline const ::NavMessage::Trajectory& NavStatu::_internal_predict_traj() const {
  1915. const ::NavMessage::Trajectory* p = predict_traj_;
  1916. return p != nullptr ? *p : *reinterpret_cast<const ::NavMessage::Trajectory*>(
  1917. &::NavMessage::_Trajectory_default_instance_);
  1918. }
  1919. inline const ::NavMessage::Trajectory& NavStatu::predict_traj() const {
  1920. // @@protoc_insertion_point(field_get:NavMessage.NavStatu.predict_traj)
  1921. return _internal_predict_traj();
  1922. }
  1923. inline void NavStatu::unsafe_arena_set_allocated_predict_traj(
  1924. ::NavMessage::Trajectory* predict_traj) {
  1925. if (GetArena() == nullptr) {
  1926. delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(predict_traj_);
  1927. }
  1928. predict_traj_ = predict_traj;
  1929. if (predict_traj) {
  1930. } else {
  1931. }
  1932. // @@protoc_insertion_point(field_unsafe_arena_set_allocated:NavMessage.NavStatu.predict_traj)
  1933. }
  1934. inline ::NavMessage::Trajectory* NavStatu::release_predict_traj() {
  1935. ::NavMessage::Trajectory* temp = predict_traj_;
  1936. predict_traj_ = nullptr;
  1937. if (GetArena() != nullptr) {
  1938. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  1939. }
  1940. return temp;
  1941. }
  1942. inline ::NavMessage::Trajectory* NavStatu::unsafe_arena_release_predict_traj() {
  1943. // @@protoc_insertion_point(field_release:NavMessage.NavStatu.predict_traj)
  1944. ::NavMessage::Trajectory* temp = predict_traj_;
  1945. predict_traj_ = nullptr;
  1946. return temp;
  1947. }
  1948. inline ::NavMessage::Trajectory* NavStatu::_internal_mutable_predict_traj() {
  1949. if (predict_traj_ == nullptr) {
  1950. auto* p = CreateMaybeMessage<::NavMessage::Trajectory>(GetArena());
  1951. predict_traj_ = p;
  1952. }
  1953. return predict_traj_;
  1954. }
  1955. inline ::NavMessage::Trajectory* NavStatu::mutable_predict_traj() {
  1956. // @@protoc_insertion_point(field_mutable:NavMessage.NavStatu.predict_traj)
  1957. return _internal_mutable_predict_traj();
  1958. }
  1959. inline void NavStatu::set_allocated_predict_traj(::NavMessage::Trajectory* predict_traj) {
  1960. ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
  1961. if (message_arena == nullptr) {
  1962. delete predict_traj_;
  1963. }
  1964. if (predict_traj) {
  1965. ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
  1966. ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(predict_traj);
  1967. if (message_arena != submessage_arena) {
  1968. predict_traj = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
  1969. message_arena, predict_traj, submessage_arena);
  1970. }
  1971. } else {
  1972. }
  1973. predict_traj_ = predict_traj;
  1974. // @@protoc_insertion_point(field_set_allocated:NavMessage.NavStatu.predict_traj)
  1975. }
  1976. #ifdef __GNUC__
  1977. #pragma GCC diagnostic pop
  1978. #endif // __GNUC__
  1979. // -------------------------------------------------------------------
  1980. // -------------------------------------------------------------------
  1981. // -------------------------------------------------------------------
  1982. // -------------------------------------------------------------------
  1983. // -------------------------------------------------------------------
  1984. // -------------------------------------------------------------------
  1985. // @@protoc_insertion_point(namespace_scope)
  1986. } // namespace NavMessage
  1987. // @@protoc_insertion_point(global_scope)
  1988. #include <google/protobuf/port_undef.inc>
  1989. #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_message_2eproto