message.pb.h 53 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739
  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[6]
  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. class AGVStatu;
  53. class AGVStatuDefaultTypeInternal;
  54. extern AGVStatuDefaultTypeInternal _AGVStatu_default_instance_;
  55. class ChangeSpeedCmd;
  56. class ChangeSpeedCmdDefaultTypeInternal;
  57. extern ChangeSpeedCmdDefaultTypeInternal _ChangeSpeedCmd_default_instance_;
  58. class NavCmd;
  59. class NavCmdDefaultTypeInternal;
  60. extern NavCmdDefaultTypeInternal _NavCmd_default_instance_;
  61. class NavStatu;
  62. class NavStatuDefaultTypeInternal;
  63. extern NavStatuDefaultTypeInternal _NavStatu_default_instance_;
  64. class Pose2dMsg;
  65. class Pose2dMsgDefaultTypeInternal;
  66. extern Pose2dMsgDefaultTypeInternal _Pose2dMsg_default_instance_;
  67. class TrajectoryMsg;
  68. class TrajectoryMsgDefaultTypeInternal;
  69. extern TrajectoryMsgDefaultTypeInternal _TrajectoryMsg_default_instance_;
  70. PROTOBUF_NAMESPACE_OPEN
  71. template<> ::AGVStatu* Arena::CreateMaybeMessage<::AGVStatu>(Arena*);
  72. template<> ::ChangeSpeedCmd* Arena::CreateMaybeMessage<::ChangeSpeedCmd>(Arena*);
  73. template<> ::NavCmd* Arena::CreateMaybeMessage<::NavCmd>(Arena*);
  74. template<> ::NavStatu* Arena::CreateMaybeMessage<::NavStatu>(Arena*);
  75. template<> ::Pose2dMsg* Arena::CreateMaybeMessage<::Pose2dMsg>(Arena*);
  76. template<> ::TrajectoryMsg* Arena::CreateMaybeMessage<::TrajectoryMsg>(Arena*);
  77. PROTOBUF_NAMESPACE_CLOSE
  78. // ===================================================================
  79. class AGVStatu PROTOBUF_FINAL :
  80. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:AGVStatu) */ {
  81. public:
  82. inline AGVStatu() : AGVStatu(nullptr) {}
  83. virtual ~AGVStatu();
  84. AGVStatu(const AGVStatu& from);
  85. AGVStatu(AGVStatu&& from) noexcept
  86. : AGVStatu() {
  87. *this = ::std::move(from);
  88. }
  89. inline AGVStatu& operator=(const AGVStatu& from) {
  90. CopyFrom(from);
  91. return *this;
  92. }
  93. inline AGVStatu& operator=(AGVStatu&& from) noexcept {
  94. if (GetArena() == from.GetArena()) {
  95. if (this != &from) InternalSwap(&from);
  96. } else {
  97. CopyFrom(from);
  98. }
  99. return *this;
  100. }
  101. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  102. return GetDescriptor();
  103. }
  104. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  105. return GetMetadataStatic().descriptor;
  106. }
  107. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  108. return GetMetadataStatic().reflection;
  109. }
  110. static const AGVStatu& default_instance();
  111. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  112. static inline const AGVStatu* internal_default_instance() {
  113. return reinterpret_cast<const AGVStatu*>(
  114. &_AGVStatu_default_instance_);
  115. }
  116. static constexpr int kIndexInFileMessages =
  117. 0;
  118. friend void swap(AGVStatu& a, AGVStatu& b) {
  119. a.Swap(&b);
  120. }
  121. inline void Swap(AGVStatu* other) {
  122. if (other == this) return;
  123. if (GetArena() == other->GetArena()) {
  124. InternalSwap(other);
  125. } else {
  126. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  127. }
  128. }
  129. void UnsafeArenaSwap(AGVStatu* other) {
  130. if (other == this) return;
  131. GOOGLE_DCHECK(GetArena() == other->GetArena());
  132. InternalSwap(other);
  133. }
  134. // implements Message ----------------------------------------------
  135. inline AGVStatu* New() const final {
  136. return CreateMaybeMessage<AGVStatu>(nullptr);
  137. }
  138. AGVStatu* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  139. return CreateMaybeMessage<AGVStatu>(arena);
  140. }
  141. void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  142. void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  143. void CopyFrom(const AGVStatu& from);
  144. void MergeFrom(const AGVStatu& from);
  145. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  146. bool IsInitialized() const final;
  147. size_t ByteSizeLong() const final;
  148. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  149. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  150. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  151. int GetCachedSize() const final { return _cached_size_.Get(); }
  152. private:
  153. inline void SharedCtor();
  154. inline void SharedDtor();
  155. void SetCachedSize(int size) const final;
  156. void InternalSwap(AGVStatu* other);
  157. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  158. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  159. return "AGVStatu";
  160. }
  161. protected:
  162. explicit AGVStatu(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  163. private:
  164. static void ArenaDtor(void* object);
  165. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  166. public:
  167. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  168. private:
  169. static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
  170. ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_message_2eproto);
  171. return ::descriptor_table_message_2eproto.file_level_metadata[kIndexInFileMessages];
  172. }
  173. public:
  174. // nested types ----------------------------------------------------
  175. // accessors -------------------------------------------------------
  176. enum : int {
  177. kXFieldNumber = 1,
  178. kYFieldNumber = 2,
  179. kThetaFieldNumber = 3,
  180. kVFieldNumber = 4,
  181. kVthFieldNumber = 5,
  182. };
  183. // float x = 1;
  184. void clear_x();
  185. float x() const;
  186. void set_x(float value);
  187. private:
  188. float _internal_x() const;
  189. void _internal_set_x(float value);
  190. public:
  191. // float y = 2;
  192. void clear_y();
  193. float y() const;
  194. void set_y(float value);
  195. private:
  196. float _internal_y() const;
  197. void _internal_set_y(float value);
  198. public:
  199. // float theta = 3;
  200. void clear_theta();
  201. float theta() const;
  202. void set_theta(float value);
  203. private:
  204. float _internal_theta() const;
  205. void _internal_set_theta(float value);
  206. public:
  207. // float v = 4;
  208. void clear_v();
  209. float v() const;
  210. void set_v(float value);
  211. private:
  212. float _internal_v() const;
  213. void _internal_set_v(float value);
  214. public:
  215. // float vth = 5;
  216. void clear_vth();
  217. float vth() const;
  218. void set_vth(float value);
  219. private:
  220. float _internal_vth() const;
  221. void _internal_set_vth(float value);
  222. public:
  223. // @@protoc_insertion_point(class_scope:AGVStatu)
  224. private:
  225. class _Internal;
  226. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  227. typedef void InternalArenaConstructable_;
  228. typedef void DestructorSkippable_;
  229. float x_;
  230. float y_;
  231. float theta_;
  232. float v_;
  233. float vth_;
  234. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  235. friend struct ::TableStruct_message_2eproto;
  236. };
  237. // -------------------------------------------------------------------
  238. class ChangeSpeedCmd PROTOBUF_FINAL :
  239. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:ChangeSpeedCmd) */ {
  240. public:
  241. inline ChangeSpeedCmd() : ChangeSpeedCmd(nullptr) {}
  242. virtual ~ChangeSpeedCmd();
  243. ChangeSpeedCmd(const ChangeSpeedCmd& from);
  244. ChangeSpeedCmd(ChangeSpeedCmd&& from) noexcept
  245. : ChangeSpeedCmd() {
  246. *this = ::std::move(from);
  247. }
  248. inline ChangeSpeedCmd& operator=(const ChangeSpeedCmd& from) {
  249. CopyFrom(from);
  250. return *this;
  251. }
  252. inline ChangeSpeedCmd& operator=(ChangeSpeedCmd&& from) noexcept {
  253. if (GetArena() == from.GetArena()) {
  254. if (this != &from) InternalSwap(&from);
  255. } else {
  256. CopyFrom(from);
  257. }
  258. return *this;
  259. }
  260. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  261. return GetDescriptor();
  262. }
  263. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  264. return GetMetadataStatic().descriptor;
  265. }
  266. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  267. return GetMetadataStatic().reflection;
  268. }
  269. static const ChangeSpeedCmd& default_instance();
  270. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  271. static inline const ChangeSpeedCmd* internal_default_instance() {
  272. return reinterpret_cast<const ChangeSpeedCmd*>(
  273. &_ChangeSpeedCmd_default_instance_);
  274. }
  275. static constexpr int kIndexInFileMessages =
  276. 1;
  277. friend void swap(ChangeSpeedCmd& a, ChangeSpeedCmd& b) {
  278. a.Swap(&b);
  279. }
  280. inline void Swap(ChangeSpeedCmd* other) {
  281. if (other == this) return;
  282. if (GetArena() == other->GetArena()) {
  283. InternalSwap(other);
  284. } else {
  285. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  286. }
  287. }
  288. void UnsafeArenaSwap(ChangeSpeedCmd* other) {
  289. if (other == this) return;
  290. GOOGLE_DCHECK(GetArena() == other->GetArena());
  291. InternalSwap(other);
  292. }
  293. // implements Message ----------------------------------------------
  294. inline ChangeSpeedCmd* New() const final {
  295. return CreateMaybeMessage<ChangeSpeedCmd>(nullptr);
  296. }
  297. ChangeSpeedCmd* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  298. return CreateMaybeMessage<ChangeSpeedCmd>(arena);
  299. }
  300. void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  301. void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  302. void CopyFrom(const ChangeSpeedCmd& from);
  303. void MergeFrom(const ChangeSpeedCmd& from);
  304. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  305. bool IsInitialized() const final;
  306. size_t ByteSizeLong() const final;
  307. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  308. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  309. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  310. int GetCachedSize() const final { return _cached_size_.Get(); }
  311. private:
  312. inline void SharedCtor();
  313. inline void SharedDtor();
  314. void SetCachedSize(int size) const final;
  315. void InternalSwap(ChangeSpeedCmd* other);
  316. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  317. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  318. return "ChangeSpeedCmd";
  319. }
  320. protected:
  321. explicit ChangeSpeedCmd(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  322. private:
  323. static void ArenaDtor(void* object);
  324. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  325. public:
  326. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  327. private:
  328. static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
  329. ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_message_2eproto);
  330. return ::descriptor_table_message_2eproto.file_level_metadata[kIndexInFileMessages];
  331. }
  332. public:
  333. // nested types ----------------------------------------------------
  334. // accessors -------------------------------------------------------
  335. enum : int {
  336. kVFieldNumber = 1,
  337. kVthFieldNumber = 2,
  338. };
  339. // float v = 1;
  340. void clear_v();
  341. float v() const;
  342. void set_v(float value);
  343. private:
  344. float _internal_v() const;
  345. void _internal_set_v(float value);
  346. public:
  347. // float vth = 2;
  348. void clear_vth();
  349. float vth() const;
  350. void set_vth(float value);
  351. private:
  352. float _internal_vth() const;
  353. void _internal_set_vth(float value);
  354. public:
  355. // @@protoc_insertion_point(class_scope:ChangeSpeedCmd)
  356. private:
  357. class _Internal;
  358. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  359. typedef void InternalArenaConstructable_;
  360. typedef void DestructorSkippable_;
  361. float v_;
  362. float vth_;
  363. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  364. friend struct ::TableStruct_message_2eproto;
  365. };
  366. // -------------------------------------------------------------------
  367. class Pose2dMsg PROTOBUF_FINAL :
  368. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:Pose2dMsg) */ {
  369. public:
  370. inline Pose2dMsg() : Pose2dMsg(nullptr) {}
  371. virtual ~Pose2dMsg();
  372. Pose2dMsg(const Pose2dMsg& from);
  373. Pose2dMsg(Pose2dMsg&& from) noexcept
  374. : Pose2dMsg() {
  375. *this = ::std::move(from);
  376. }
  377. inline Pose2dMsg& operator=(const Pose2dMsg& from) {
  378. CopyFrom(from);
  379. return *this;
  380. }
  381. inline Pose2dMsg& operator=(Pose2dMsg&& from) noexcept {
  382. if (GetArena() == from.GetArena()) {
  383. if (this != &from) InternalSwap(&from);
  384. } else {
  385. CopyFrom(from);
  386. }
  387. return *this;
  388. }
  389. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  390. return GetDescriptor();
  391. }
  392. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  393. return GetMetadataStatic().descriptor;
  394. }
  395. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  396. return GetMetadataStatic().reflection;
  397. }
  398. static const Pose2dMsg& default_instance();
  399. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  400. static inline const Pose2dMsg* internal_default_instance() {
  401. return reinterpret_cast<const Pose2dMsg*>(
  402. &_Pose2dMsg_default_instance_);
  403. }
  404. static constexpr int kIndexInFileMessages =
  405. 2;
  406. friend void swap(Pose2dMsg& a, Pose2dMsg& b) {
  407. a.Swap(&b);
  408. }
  409. inline void Swap(Pose2dMsg* other) {
  410. if (other == this) return;
  411. if (GetArena() == other->GetArena()) {
  412. InternalSwap(other);
  413. } else {
  414. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  415. }
  416. }
  417. void UnsafeArenaSwap(Pose2dMsg* other) {
  418. if (other == this) return;
  419. GOOGLE_DCHECK(GetArena() == other->GetArena());
  420. InternalSwap(other);
  421. }
  422. // implements Message ----------------------------------------------
  423. inline Pose2dMsg* New() const final {
  424. return CreateMaybeMessage<Pose2dMsg>(nullptr);
  425. }
  426. Pose2dMsg* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  427. return CreateMaybeMessage<Pose2dMsg>(arena);
  428. }
  429. void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  430. void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  431. void CopyFrom(const Pose2dMsg& from);
  432. void MergeFrom(const Pose2dMsg& from);
  433. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  434. bool IsInitialized() const final;
  435. size_t ByteSizeLong() const final;
  436. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  437. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  438. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  439. int GetCachedSize() const final { return _cached_size_.Get(); }
  440. private:
  441. inline void SharedCtor();
  442. inline void SharedDtor();
  443. void SetCachedSize(int size) const final;
  444. void InternalSwap(Pose2dMsg* other);
  445. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  446. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  447. return "Pose2dMsg";
  448. }
  449. protected:
  450. explicit Pose2dMsg(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  451. private:
  452. static void ArenaDtor(void* object);
  453. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  454. public:
  455. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  456. private:
  457. static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
  458. ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_message_2eproto);
  459. return ::descriptor_table_message_2eproto.file_level_metadata[kIndexInFileMessages];
  460. }
  461. public:
  462. // nested types ----------------------------------------------------
  463. // accessors -------------------------------------------------------
  464. enum : int {
  465. kXFieldNumber = 1,
  466. kYFieldNumber = 2,
  467. kThetaFieldNumber = 3,
  468. };
  469. // float x = 1;
  470. void clear_x();
  471. float x() const;
  472. void set_x(float value);
  473. private:
  474. float _internal_x() const;
  475. void _internal_set_x(float value);
  476. public:
  477. // float y = 2;
  478. void clear_y();
  479. float y() const;
  480. void set_y(float value);
  481. private:
  482. float _internal_y() const;
  483. void _internal_set_y(float value);
  484. public:
  485. // float theta = 3;
  486. void clear_theta();
  487. float theta() const;
  488. void set_theta(float value);
  489. private:
  490. float _internal_theta() const;
  491. void _internal_set_theta(float value);
  492. public:
  493. // @@protoc_insertion_point(class_scope:Pose2dMsg)
  494. private:
  495. class _Internal;
  496. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  497. typedef void InternalArenaConstructable_;
  498. typedef void DestructorSkippable_;
  499. float x_;
  500. float y_;
  501. float theta_;
  502. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  503. friend struct ::TableStruct_message_2eproto;
  504. };
  505. // -------------------------------------------------------------------
  506. class TrajectoryMsg PROTOBUF_FINAL :
  507. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:TrajectoryMsg) */ {
  508. public:
  509. inline TrajectoryMsg() : TrajectoryMsg(nullptr) {}
  510. virtual ~TrajectoryMsg();
  511. TrajectoryMsg(const TrajectoryMsg& from);
  512. TrajectoryMsg(TrajectoryMsg&& from) noexcept
  513. : TrajectoryMsg() {
  514. *this = ::std::move(from);
  515. }
  516. inline TrajectoryMsg& operator=(const TrajectoryMsg& from) {
  517. CopyFrom(from);
  518. return *this;
  519. }
  520. inline TrajectoryMsg& operator=(TrajectoryMsg&& from) noexcept {
  521. if (GetArena() == from.GetArena()) {
  522. if (this != &from) InternalSwap(&from);
  523. } else {
  524. CopyFrom(from);
  525. }
  526. return *this;
  527. }
  528. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  529. return GetDescriptor();
  530. }
  531. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  532. return GetMetadataStatic().descriptor;
  533. }
  534. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  535. return GetMetadataStatic().reflection;
  536. }
  537. static const TrajectoryMsg& default_instance();
  538. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  539. static inline const TrajectoryMsg* internal_default_instance() {
  540. return reinterpret_cast<const TrajectoryMsg*>(
  541. &_TrajectoryMsg_default_instance_);
  542. }
  543. static constexpr int kIndexInFileMessages =
  544. 3;
  545. friend void swap(TrajectoryMsg& a, TrajectoryMsg& b) {
  546. a.Swap(&b);
  547. }
  548. inline void Swap(TrajectoryMsg* other) {
  549. if (other == this) return;
  550. if (GetArena() == other->GetArena()) {
  551. InternalSwap(other);
  552. } else {
  553. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  554. }
  555. }
  556. void UnsafeArenaSwap(TrajectoryMsg* other) {
  557. if (other == this) return;
  558. GOOGLE_DCHECK(GetArena() == other->GetArena());
  559. InternalSwap(other);
  560. }
  561. // implements Message ----------------------------------------------
  562. inline TrajectoryMsg* New() const final {
  563. return CreateMaybeMessage<TrajectoryMsg>(nullptr);
  564. }
  565. TrajectoryMsg* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  566. return CreateMaybeMessage<TrajectoryMsg>(arena);
  567. }
  568. void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  569. void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  570. void CopyFrom(const TrajectoryMsg& from);
  571. void MergeFrom(const TrajectoryMsg& from);
  572. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  573. bool IsInitialized() const final;
  574. size_t ByteSizeLong() const final;
  575. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  576. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  577. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  578. int GetCachedSize() const final { return _cached_size_.Get(); }
  579. private:
  580. inline void SharedCtor();
  581. inline void SharedDtor();
  582. void SetCachedSize(int size) const final;
  583. void InternalSwap(TrajectoryMsg* other);
  584. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  585. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  586. return "TrajectoryMsg";
  587. }
  588. protected:
  589. explicit TrajectoryMsg(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  590. private:
  591. static void ArenaDtor(void* object);
  592. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  593. public:
  594. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  595. private:
  596. static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
  597. ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_message_2eproto);
  598. return ::descriptor_table_message_2eproto.file_level_metadata[kIndexInFileMessages];
  599. }
  600. public:
  601. // nested types ----------------------------------------------------
  602. // accessors -------------------------------------------------------
  603. enum : int {
  604. kPointsFieldNumber = 1,
  605. };
  606. // repeated .Pose2dMsg points = 1;
  607. int points_size() const;
  608. private:
  609. int _internal_points_size() const;
  610. public:
  611. void clear_points();
  612. ::Pose2dMsg* mutable_points(int index);
  613. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::Pose2dMsg >*
  614. mutable_points();
  615. private:
  616. const ::Pose2dMsg& _internal_points(int index) const;
  617. ::Pose2dMsg* _internal_add_points();
  618. public:
  619. const ::Pose2dMsg& points(int index) const;
  620. ::Pose2dMsg* add_points();
  621. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::Pose2dMsg >&
  622. points() const;
  623. // @@protoc_insertion_point(class_scope:TrajectoryMsg)
  624. private:
  625. class _Internal;
  626. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  627. typedef void InternalArenaConstructable_;
  628. typedef void DestructorSkippable_;
  629. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::Pose2dMsg > points_;
  630. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  631. friend struct ::TableStruct_message_2eproto;
  632. };
  633. // -------------------------------------------------------------------
  634. class NavCmd PROTOBUF_FINAL :
  635. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:NavCmd) */ {
  636. public:
  637. inline NavCmd() : NavCmd(nullptr) {}
  638. virtual ~NavCmd();
  639. NavCmd(const NavCmd& from);
  640. NavCmd(NavCmd&& from) noexcept
  641. : NavCmd() {
  642. *this = ::std::move(from);
  643. }
  644. inline NavCmd& operator=(const NavCmd& from) {
  645. CopyFrom(from);
  646. return *this;
  647. }
  648. inline NavCmd& operator=(NavCmd&& from) noexcept {
  649. if (GetArena() == from.GetArena()) {
  650. if (this != &from) InternalSwap(&from);
  651. } else {
  652. CopyFrom(from);
  653. }
  654. return *this;
  655. }
  656. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  657. return GetDescriptor();
  658. }
  659. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  660. return GetMetadataStatic().descriptor;
  661. }
  662. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  663. return GetMetadataStatic().reflection;
  664. }
  665. static const NavCmd& default_instance();
  666. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  667. static inline const NavCmd* internal_default_instance() {
  668. return reinterpret_cast<const NavCmd*>(
  669. &_NavCmd_default_instance_);
  670. }
  671. static constexpr int kIndexInFileMessages =
  672. 4;
  673. friend void swap(NavCmd& a, NavCmd& b) {
  674. a.Swap(&b);
  675. }
  676. inline void Swap(NavCmd* other) {
  677. if (other == this) return;
  678. if (GetArena() == other->GetArena()) {
  679. InternalSwap(other);
  680. } else {
  681. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  682. }
  683. }
  684. void UnsafeArenaSwap(NavCmd* other) {
  685. if (other == this) return;
  686. GOOGLE_DCHECK(GetArena() == other->GetArena());
  687. InternalSwap(other);
  688. }
  689. // implements Message ----------------------------------------------
  690. inline NavCmd* New() const final {
  691. return CreateMaybeMessage<NavCmd>(nullptr);
  692. }
  693. NavCmd* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  694. return CreateMaybeMessage<NavCmd>(arena);
  695. }
  696. void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  697. void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  698. void CopyFrom(const NavCmd& from);
  699. void MergeFrom(const NavCmd& from);
  700. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  701. bool IsInitialized() const final;
  702. size_t ByteSizeLong() const final;
  703. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  704. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  705. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  706. int GetCachedSize() const final { return _cached_size_.Get(); }
  707. private:
  708. inline void SharedCtor();
  709. inline void SharedDtor();
  710. void SetCachedSize(int size) const final;
  711. void InternalSwap(NavCmd* other);
  712. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  713. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  714. return "NavCmd";
  715. }
  716. protected:
  717. explicit NavCmd(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  718. private:
  719. static void ArenaDtor(void* object);
  720. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  721. public:
  722. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  723. private:
  724. static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
  725. ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_message_2eproto);
  726. return ::descriptor_table_message_2eproto.file_level_metadata[kIndexInFileMessages];
  727. }
  728. public:
  729. // nested types ----------------------------------------------------
  730. // accessors -------------------------------------------------------
  731. enum : int {
  732. kTrajsFieldNumber = 2,
  733. kActionFieldNumber = 1,
  734. };
  735. // repeated .TrajectoryMsg trajs = 2;
  736. int trajs_size() const;
  737. private:
  738. int _internal_trajs_size() const;
  739. public:
  740. void clear_trajs();
  741. ::TrajectoryMsg* mutable_trajs(int index);
  742. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::TrajectoryMsg >*
  743. mutable_trajs();
  744. private:
  745. const ::TrajectoryMsg& _internal_trajs(int index) const;
  746. ::TrajectoryMsg* _internal_add_trajs();
  747. public:
  748. const ::TrajectoryMsg& trajs(int index) const;
  749. ::TrajectoryMsg* add_trajs();
  750. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::TrajectoryMsg >&
  751. trajs() const;
  752. // int32 action = 1;
  753. void clear_action();
  754. ::PROTOBUF_NAMESPACE_ID::int32 action() const;
  755. void set_action(::PROTOBUF_NAMESPACE_ID::int32 value);
  756. private:
  757. ::PROTOBUF_NAMESPACE_ID::int32 _internal_action() const;
  758. void _internal_set_action(::PROTOBUF_NAMESPACE_ID::int32 value);
  759. public:
  760. // @@protoc_insertion_point(class_scope:NavCmd)
  761. private:
  762. class _Internal;
  763. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  764. typedef void InternalArenaConstructable_;
  765. typedef void DestructorSkippable_;
  766. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::TrajectoryMsg > trajs_;
  767. ::PROTOBUF_NAMESPACE_ID::int32 action_;
  768. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  769. friend struct ::TableStruct_message_2eproto;
  770. };
  771. // -------------------------------------------------------------------
  772. class NavStatu PROTOBUF_FINAL :
  773. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:NavStatu) */ {
  774. public:
  775. inline NavStatu() : NavStatu(nullptr) {}
  776. virtual ~NavStatu();
  777. NavStatu(const NavStatu& from);
  778. NavStatu(NavStatu&& from) noexcept
  779. : NavStatu() {
  780. *this = ::std::move(from);
  781. }
  782. inline NavStatu& operator=(const NavStatu& from) {
  783. CopyFrom(from);
  784. return *this;
  785. }
  786. inline NavStatu& operator=(NavStatu&& from) noexcept {
  787. if (GetArena() == from.GetArena()) {
  788. if (this != &from) InternalSwap(&from);
  789. } else {
  790. CopyFrom(from);
  791. }
  792. return *this;
  793. }
  794. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  795. return GetDescriptor();
  796. }
  797. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  798. return GetMetadataStatic().descriptor;
  799. }
  800. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  801. return GetMetadataStatic().reflection;
  802. }
  803. static const NavStatu& default_instance();
  804. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  805. static inline const NavStatu* internal_default_instance() {
  806. return reinterpret_cast<const NavStatu*>(
  807. &_NavStatu_default_instance_);
  808. }
  809. static constexpr int kIndexInFileMessages =
  810. 5;
  811. friend void swap(NavStatu& a, NavStatu& b) {
  812. a.Swap(&b);
  813. }
  814. inline void Swap(NavStatu* other) {
  815. if (other == this) return;
  816. if (GetArena() == other->GetArena()) {
  817. InternalSwap(other);
  818. } else {
  819. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  820. }
  821. }
  822. void UnsafeArenaSwap(NavStatu* other) {
  823. if (other == this) return;
  824. GOOGLE_DCHECK(GetArena() == other->GetArena());
  825. InternalSwap(other);
  826. }
  827. // implements Message ----------------------------------------------
  828. inline NavStatu* New() const final {
  829. return CreateMaybeMessage<NavStatu>(nullptr);
  830. }
  831. NavStatu* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  832. return CreateMaybeMessage<NavStatu>(arena);
  833. }
  834. void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  835. void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  836. void CopyFrom(const NavStatu& from);
  837. void MergeFrom(const NavStatu& from);
  838. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  839. bool IsInitialized() const final;
  840. size_t ByteSizeLong() const final;
  841. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  842. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  843. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  844. int GetCachedSize() const final { return _cached_size_.Get(); }
  845. private:
  846. inline void SharedCtor();
  847. inline void SharedDtor();
  848. void SetCachedSize(int size) const final;
  849. void InternalSwap(NavStatu* other);
  850. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  851. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  852. return "NavStatu";
  853. }
  854. protected:
  855. explicit NavStatu(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  856. private:
  857. static void ArenaDtor(void* object);
  858. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  859. public:
  860. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  861. private:
  862. static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
  863. ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_message_2eproto);
  864. return ::descriptor_table_message_2eproto.file_level_metadata[kIndexInFileMessages];
  865. }
  866. public:
  867. // nested types ----------------------------------------------------
  868. // accessors -------------------------------------------------------
  869. enum : int {
  870. kTrajsFieldNumber = 2,
  871. kSelectTrajFieldNumber = 6,
  872. kPredictTrajFieldNumber = 7,
  873. kIsrunningFieldNumber = 1,
  874. kActionTypeFieldNumber = 3,
  875. kAngularFieldNumber = 4,
  876. kVelocityFieldNumber = 5,
  877. };
  878. // repeated .TrajectoryMsg trajs = 2;
  879. int trajs_size() const;
  880. private:
  881. int _internal_trajs_size() const;
  882. public:
  883. void clear_trajs();
  884. ::TrajectoryMsg* mutable_trajs(int index);
  885. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::TrajectoryMsg >*
  886. mutable_trajs();
  887. private:
  888. const ::TrajectoryMsg& _internal_trajs(int index) const;
  889. ::TrajectoryMsg* _internal_add_trajs();
  890. public:
  891. const ::TrajectoryMsg& trajs(int index) const;
  892. ::TrajectoryMsg* add_trajs();
  893. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::TrajectoryMsg >&
  894. trajs() const;
  895. // .TrajectoryMsg select_traj = 6;
  896. bool has_select_traj() const;
  897. private:
  898. bool _internal_has_select_traj() const;
  899. public:
  900. void clear_select_traj();
  901. const ::TrajectoryMsg& select_traj() const;
  902. ::TrajectoryMsg* release_select_traj();
  903. ::TrajectoryMsg* mutable_select_traj();
  904. void set_allocated_select_traj(::TrajectoryMsg* select_traj);
  905. private:
  906. const ::TrajectoryMsg& _internal_select_traj() const;
  907. ::TrajectoryMsg* _internal_mutable_select_traj();
  908. public:
  909. void unsafe_arena_set_allocated_select_traj(
  910. ::TrajectoryMsg* select_traj);
  911. ::TrajectoryMsg* unsafe_arena_release_select_traj();
  912. // .TrajectoryMsg predict_traj = 7;
  913. bool has_predict_traj() const;
  914. private:
  915. bool _internal_has_predict_traj() const;
  916. public:
  917. void clear_predict_traj();
  918. const ::TrajectoryMsg& predict_traj() const;
  919. ::TrajectoryMsg* release_predict_traj();
  920. ::TrajectoryMsg* mutable_predict_traj();
  921. void set_allocated_predict_traj(::TrajectoryMsg* predict_traj);
  922. private:
  923. const ::TrajectoryMsg& _internal_predict_traj() const;
  924. ::TrajectoryMsg* _internal_mutable_predict_traj();
  925. public:
  926. void unsafe_arena_set_allocated_predict_traj(
  927. ::TrajectoryMsg* predict_traj);
  928. ::TrajectoryMsg* unsafe_arena_release_predict_traj();
  929. // bool isrunning = 1;
  930. void clear_isrunning();
  931. bool isrunning() const;
  932. void set_isrunning(bool value);
  933. private:
  934. bool _internal_isrunning() const;
  935. void _internal_set_isrunning(bool value);
  936. public:
  937. // int32 action_type = 3;
  938. void clear_action_type();
  939. ::PROTOBUF_NAMESPACE_ID::int32 action_type() const;
  940. void set_action_type(::PROTOBUF_NAMESPACE_ID::int32 value);
  941. private:
  942. ::PROTOBUF_NAMESPACE_ID::int32 _internal_action_type() const;
  943. void _internal_set_action_type(::PROTOBUF_NAMESPACE_ID::int32 value);
  944. public:
  945. // float angular = 4;
  946. void clear_angular();
  947. float angular() const;
  948. void set_angular(float value);
  949. private:
  950. float _internal_angular() const;
  951. void _internal_set_angular(float value);
  952. public:
  953. // float velocity = 5;
  954. void clear_velocity();
  955. float velocity() const;
  956. void set_velocity(float value);
  957. private:
  958. float _internal_velocity() const;
  959. void _internal_set_velocity(float value);
  960. public:
  961. // @@protoc_insertion_point(class_scope:NavStatu)
  962. private:
  963. class _Internal;
  964. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  965. typedef void InternalArenaConstructable_;
  966. typedef void DestructorSkippable_;
  967. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::TrajectoryMsg > trajs_;
  968. ::TrajectoryMsg* select_traj_;
  969. ::TrajectoryMsg* predict_traj_;
  970. bool isrunning_;
  971. ::PROTOBUF_NAMESPACE_ID::int32 action_type_;
  972. float angular_;
  973. float velocity_;
  974. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  975. friend struct ::TableStruct_message_2eproto;
  976. };
  977. // ===================================================================
  978. // ===================================================================
  979. #ifdef __GNUC__
  980. #pragma GCC diagnostic push
  981. #pragma GCC diagnostic ignored "-Wstrict-aliasing"
  982. #endif // __GNUC__
  983. // AGVStatu
  984. // float x = 1;
  985. inline void AGVStatu::clear_x() {
  986. x_ = 0;
  987. }
  988. inline float AGVStatu::_internal_x() const {
  989. return x_;
  990. }
  991. inline float AGVStatu::x() const {
  992. // @@protoc_insertion_point(field_get:AGVStatu.x)
  993. return _internal_x();
  994. }
  995. inline void AGVStatu::_internal_set_x(float value) {
  996. x_ = value;
  997. }
  998. inline void AGVStatu::set_x(float value) {
  999. _internal_set_x(value);
  1000. // @@protoc_insertion_point(field_set:AGVStatu.x)
  1001. }
  1002. // float y = 2;
  1003. inline void AGVStatu::clear_y() {
  1004. y_ = 0;
  1005. }
  1006. inline float AGVStatu::_internal_y() const {
  1007. return y_;
  1008. }
  1009. inline float AGVStatu::y() const {
  1010. // @@protoc_insertion_point(field_get:AGVStatu.y)
  1011. return _internal_y();
  1012. }
  1013. inline void AGVStatu::_internal_set_y(float value) {
  1014. y_ = value;
  1015. }
  1016. inline void AGVStatu::set_y(float value) {
  1017. _internal_set_y(value);
  1018. // @@protoc_insertion_point(field_set:AGVStatu.y)
  1019. }
  1020. // float theta = 3;
  1021. inline void AGVStatu::clear_theta() {
  1022. theta_ = 0;
  1023. }
  1024. inline float AGVStatu::_internal_theta() const {
  1025. return theta_;
  1026. }
  1027. inline float AGVStatu::theta() const {
  1028. // @@protoc_insertion_point(field_get:AGVStatu.theta)
  1029. return _internal_theta();
  1030. }
  1031. inline void AGVStatu::_internal_set_theta(float value) {
  1032. theta_ = value;
  1033. }
  1034. inline void AGVStatu::set_theta(float value) {
  1035. _internal_set_theta(value);
  1036. // @@protoc_insertion_point(field_set:AGVStatu.theta)
  1037. }
  1038. // float v = 4;
  1039. inline void AGVStatu::clear_v() {
  1040. v_ = 0;
  1041. }
  1042. inline float AGVStatu::_internal_v() const {
  1043. return v_;
  1044. }
  1045. inline float AGVStatu::v() const {
  1046. // @@protoc_insertion_point(field_get:AGVStatu.v)
  1047. return _internal_v();
  1048. }
  1049. inline void AGVStatu::_internal_set_v(float value) {
  1050. v_ = value;
  1051. }
  1052. inline void AGVStatu::set_v(float value) {
  1053. _internal_set_v(value);
  1054. // @@protoc_insertion_point(field_set:AGVStatu.v)
  1055. }
  1056. // float vth = 5;
  1057. inline void AGVStatu::clear_vth() {
  1058. vth_ = 0;
  1059. }
  1060. inline float AGVStatu::_internal_vth() const {
  1061. return vth_;
  1062. }
  1063. inline float AGVStatu::vth() const {
  1064. // @@protoc_insertion_point(field_get:AGVStatu.vth)
  1065. return _internal_vth();
  1066. }
  1067. inline void AGVStatu::_internal_set_vth(float value) {
  1068. vth_ = value;
  1069. }
  1070. inline void AGVStatu::set_vth(float value) {
  1071. _internal_set_vth(value);
  1072. // @@protoc_insertion_point(field_set:AGVStatu.vth)
  1073. }
  1074. // -------------------------------------------------------------------
  1075. // ChangeSpeedCmd
  1076. // float v = 1;
  1077. inline void ChangeSpeedCmd::clear_v() {
  1078. v_ = 0;
  1079. }
  1080. inline float ChangeSpeedCmd::_internal_v() const {
  1081. return v_;
  1082. }
  1083. inline float ChangeSpeedCmd::v() const {
  1084. // @@protoc_insertion_point(field_get:ChangeSpeedCmd.v)
  1085. return _internal_v();
  1086. }
  1087. inline void ChangeSpeedCmd::_internal_set_v(float value) {
  1088. v_ = value;
  1089. }
  1090. inline void ChangeSpeedCmd::set_v(float value) {
  1091. _internal_set_v(value);
  1092. // @@protoc_insertion_point(field_set:ChangeSpeedCmd.v)
  1093. }
  1094. // float vth = 2;
  1095. inline void ChangeSpeedCmd::clear_vth() {
  1096. vth_ = 0;
  1097. }
  1098. inline float ChangeSpeedCmd::_internal_vth() const {
  1099. return vth_;
  1100. }
  1101. inline float ChangeSpeedCmd::vth() const {
  1102. // @@protoc_insertion_point(field_get:ChangeSpeedCmd.vth)
  1103. return _internal_vth();
  1104. }
  1105. inline void ChangeSpeedCmd::_internal_set_vth(float value) {
  1106. vth_ = value;
  1107. }
  1108. inline void ChangeSpeedCmd::set_vth(float value) {
  1109. _internal_set_vth(value);
  1110. // @@protoc_insertion_point(field_set:ChangeSpeedCmd.vth)
  1111. }
  1112. // -------------------------------------------------------------------
  1113. // Pose2dMsg
  1114. // float x = 1;
  1115. inline void Pose2dMsg::clear_x() {
  1116. x_ = 0;
  1117. }
  1118. inline float Pose2dMsg::_internal_x() const {
  1119. return x_;
  1120. }
  1121. inline float Pose2dMsg::x() const {
  1122. // @@protoc_insertion_point(field_get:Pose2dMsg.x)
  1123. return _internal_x();
  1124. }
  1125. inline void Pose2dMsg::_internal_set_x(float value) {
  1126. x_ = value;
  1127. }
  1128. inline void Pose2dMsg::set_x(float value) {
  1129. _internal_set_x(value);
  1130. // @@protoc_insertion_point(field_set:Pose2dMsg.x)
  1131. }
  1132. // float y = 2;
  1133. inline void Pose2dMsg::clear_y() {
  1134. y_ = 0;
  1135. }
  1136. inline float Pose2dMsg::_internal_y() const {
  1137. return y_;
  1138. }
  1139. inline float Pose2dMsg::y() const {
  1140. // @@protoc_insertion_point(field_get:Pose2dMsg.y)
  1141. return _internal_y();
  1142. }
  1143. inline void Pose2dMsg::_internal_set_y(float value) {
  1144. y_ = value;
  1145. }
  1146. inline void Pose2dMsg::set_y(float value) {
  1147. _internal_set_y(value);
  1148. // @@protoc_insertion_point(field_set:Pose2dMsg.y)
  1149. }
  1150. // float theta = 3;
  1151. inline void Pose2dMsg::clear_theta() {
  1152. theta_ = 0;
  1153. }
  1154. inline float Pose2dMsg::_internal_theta() const {
  1155. return theta_;
  1156. }
  1157. inline float Pose2dMsg::theta() const {
  1158. // @@protoc_insertion_point(field_get:Pose2dMsg.theta)
  1159. return _internal_theta();
  1160. }
  1161. inline void Pose2dMsg::_internal_set_theta(float value) {
  1162. theta_ = value;
  1163. }
  1164. inline void Pose2dMsg::set_theta(float value) {
  1165. _internal_set_theta(value);
  1166. // @@protoc_insertion_point(field_set:Pose2dMsg.theta)
  1167. }
  1168. // -------------------------------------------------------------------
  1169. // TrajectoryMsg
  1170. // repeated .Pose2dMsg points = 1;
  1171. inline int TrajectoryMsg::_internal_points_size() const {
  1172. return points_.size();
  1173. }
  1174. inline int TrajectoryMsg::points_size() const {
  1175. return _internal_points_size();
  1176. }
  1177. inline void TrajectoryMsg::clear_points() {
  1178. points_.Clear();
  1179. }
  1180. inline ::Pose2dMsg* TrajectoryMsg::mutable_points(int index) {
  1181. // @@protoc_insertion_point(field_mutable:TrajectoryMsg.points)
  1182. return points_.Mutable(index);
  1183. }
  1184. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::Pose2dMsg >*
  1185. TrajectoryMsg::mutable_points() {
  1186. // @@protoc_insertion_point(field_mutable_list:TrajectoryMsg.points)
  1187. return &points_;
  1188. }
  1189. inline const ::Pose2dMsg& TrajectoryMsg::_internal_points(int index) const {
  1190. return points_.Get(index);
  1191. }
  1192. inline const ::Pose2dMsg& TrajectoryMsg::points(int index) const {
  1193. // @@protoc_insertion_point(field_get:TrajectoryMsg.points)
  1194. return _internal_points(index);
  1195. }
  1196. inline ::Pose2dMsg* TrajectoryMsg::_internal_add_points() {
  1197. return points_.Add();
  1198. }
  1199. inline ::Pose2dMsg* TrajectoryMsg::add_points() {
  1200. // @@protoc_insertion_point(field_add:TrajectoryMsg.points)
  1201. return _internal_add_points();
  1202. }
  1203. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::Pose2dMsg >&
  1204. TrajectoryMsg::points() const {
  1205. // @@protoc_insertion_point(field_list:TrajectoryMsg.points)
  1206. return points_;
  1207. }
  1208. // -------------------------------------------------------------------
  1209. // NavCmd
  1210. // int32 action = 1;
  1211. inline void NavCmd::clear_action() {
  1212. action_ = 0;
  1213. }
  1214. inline ::PROTOBUF_NAMESPACE_ID::int32 NavCmd::_internal_action() const {
  1215. return action_;
  1216. }
  1217. inline ::PROTOBUF_NAMESPACE_ID::int32 NavCmd::action() const {
  1218. // @@protoc_insertion_point(field_get:NavCmd.action)
  1219. return _internal_action();
  1220. }
  1221. inline void NavCmd::_internal_set_action(::PROTOBUF_NAMESPACE_ID::int32 value) {
  1222. action_ = value;
  1223. }
  1224. inline void NavCmd::set_action(::PROTOBUF_NAMESPACE_ID::int32 value) {
  1225. _internal_set_action(value);
  1226. // @@protoc_insertion_point(field_set:NavCmd.action)
  1227. }
  1228. // repeated .TrajectoryMsg trajs = 2;
  1229. inline int NavCmd::_internal_trajs_size() const {
  1230. return trajs_.size();
  1231. }
  1232. inline int NavCmd::trajs_size() const {
  1233. return _internal_trajs_size();
  1234. }
  1235. inline void NavCmd::clear_trajs() {
  1236. trajs_.Clear();
  1237. }
  1238. inline ::TrajectoryMsg* NavCmd::mutable_trajs(int index) {
  1239. // @@protoc_insertion_point(field_mutable:NavCmd.trajs)
  1240. return trajs_.Mutable(index);
  1241. }
  1242. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::TrajectoryMsg >*
  1243. NavCmd::mutable_trajs() {
  1244. // @@protoc_insertion_point(field_mutable_list:NavCmd.trajs)
  1245. return &trajs_;
  1246. }
  1247. inline const ::TrajectoryMsg& NavCmd::_internal_trajs(int index) const {
  1248. return trajs_.Get(index);
  1249. }
  1250. inline const ::TrajectoryMsg& NavCmd::trajs(int index) const {
  1251. // @@protoc_insertion_point(field_get:NavCmd.trajs)
  1252. return _internal_trajs(index);
  1253. }
  1254. inline ::TrajectoryMsg* NavCmd::_internal_add_trajs() {
  1255. return trajs_.Add();
  1256. }
  1257. inline ::TrajectoryMsg* NavCmd::add_trajs() {
  1258. // @@protoc_insertion_point(field_add:NavCmd.trajs)
  1259. return _internal_add_trajs();
  1260. }
  1261. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::TrajectoryMsg >&
  1262. NavCmd::trajs() const {
  1263. // @@protoc_insertion_point(field_list:NavCmd.trajs)
  1264. return trajs_;
  1265. }
  1266. // -------------------------------------------------------------------
  1267. // NavStatu
  1268. // bool isrunning = 1;
  1269. inline void NavStatu::clear_isrunning() {
  1270. isrunning_ = false;
  1271. }
  1272. inline bool NavStatu::_internal_isrunning() const {
  1273. return isrunning_;
  1274. }
  1275. inline bool NavStatu::isrunning() const {
  1276. // @@protoc_insertion_point(field_get:NavStatu.isrunning)
  1277. return _internal_isrunning();
  1278. }
  1279. inline void NavStatu::_internal_set_isrunning(bool value) {
  1280. isrunning_ = value;
  1281. }
  1282. inline void NavStatu::set_isrunning(bool value) {
  1283. _internal_set_isrunning(value);
  1284. // @@protoc_insertion_point(field_set:NavStatu.isrunning)
  1285. }
  1286. // repeated .TrajectoryMsg trajs = 2;
  1287. inline int NavStatu::_internal_trajs_size() const {
  1288. return trajs_.size();
  1289. }
  1290. inline int NavStatu::trajs_size() const {
  1291. return _internal_trajs_size();
  1292. }
  1293. inline void NavStatu::clear_trajs() {
  1294. trajs_.Clear();
  1295. }
  1296. inline ::TrajectoryMsg* NavStatu::mutable_trajs(int index) {
  1297. // @@protoc_insertion_point(field_mutable:NavStatu.trajs)
  1298. return trajs_.Mutable(index);
  1299. }
  1300. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::TrajectoryMsg >*
  1301. NavStatu::mutable_trajs() {
  1302. // @@protoc_insertion_point(field_mutable_list:NavStatu.trajs)
  1303. return &trajs_;
  1304. }
  1305. inline const ::TrajectoryMsg& NavStatu::_internal_trajs(int index) const {
  1306. return trajs_.Get(index);
  1307. }
  1308. inline const ::TrajectoryMsg& NavStatu::trajs(int index) const {
  1309. // @@protoc_insertion_point(field_get:NavStatu.trajs)
  1310. return _internal_trajs(index);
  1311. }
  1312. inline ::TrajectoryMsg* NavStatu::_internal_add_trajs() {
  1313. return trajs_.Add();
  1314. }
  1315. inline ::TrajectoryMsg* NavStatu::add_trajs() {
  1316. // @@protoc_insertion_point(field_add:NavStatu.trajs)
  1317. return _internal_add_trajs();
  1318. }
  1319. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::TrajectoryMsg >&
  1320. NavStatu::trajs() const {
  1321. // @@protoc_insertion_point(field_list:NavStatu.trajs)
  1322. return trajs_;
  1323. }
  1324. // int32 action_type = 3;
  1325. inline void NavStatu::clear_action_type() {
  1326. action_type_ = 0;
  1327. }
  1328. inline ::PROTOBUF_NAMESPACE_ID::int32 NavStatu::_internal_action_type() const {
  1329. return action_type_;
  1330. }
  1331. inline ::PROTOBUF_NAMESPACE_ID::int32 NavStatu::action_type() const {
  1332. // @@protoc_insertion_point(field_get:NavStatu.action_type)
  1333. return _internal_action_type();
  1334. }
  1335. inline void NavStatu::_internal_set_action_type(::PROTOBUF_NAMESPACE_ID::int32 value) {
  1336. action_type_ = value;
  1337. }
  1338. inline void NavStatu::set_action_type(::PROTOBUF_NAMESPACE_ID::int32 value) {
  1339. _internal_set_action_type(value);
  1340. // @@protoc_insertion_point(field_set:NavStatu.action_type)
  1341. }
  1342. // float angular = 4;
  1343. inline void NavStatu::clear_angular() {
  1344. angular_ = 0;
  1345. }
  1346. inline float NavStatu::_internal_angular() const {
  1347. return angular_;
  1348. }
  1349. inline float NavStatu::angular() const {
  1350. // @@protoc_insertion_point(field_get:NavStatu.angular)
  1351. return _internal_angular();
  1352. }
  1353. inline void NavStatu::_internal_set_angular(float value) {
  1354. angular_ = value;
  1355. }
  1356. inline void NavStatu::set_angular(float value) {
  1357. _internal_set_angular(value);
  1358. // @@protoc_insertion_point(field_set:NavStatu.angular)
  1359. }
  1360. // float velocity = 5;
  1361. inline void NavStatu::clear_velocity() {
  1362. velocity_ = 0;
  1363. }
  1364. inline float NavStatu::_internal_velocity() const {
  1365. return velocity_;
  1366. }
  1367. inline float NavStatu::velocity() const {
  1368. // @@protoc_insertion_point(field_get:NavStatu.velocity)
  1369. return _internal_velocity();
  1370. }
  1371. inline void NavStatu::_internal_set_velocity(float value) {
  1372. velocity_ = value;
  1373. }
  1374. inline void NavStatu::set_velocity(float value) {
  1375. _internal_set_velocity(value);
  1376. // @@protoc_insertion_point(field_set:NavStatu.velocity)
  1377. }
  1378. // .TrajectoryMsg select_traj = 6;
  1379. inline bool NavStatu::_internal_has_select_traj() const {
  1380. return this != internal_default_instance() && select_traj_ != nullptr;
  1381. }
  1382. inline bool NavStatu::has_select_traj() const {
  1383. return _internal_has_select_traj();
  1384. }
  1385. inline void NavStatu::clear_select_traj() {
  1386. if (GetArena() == nullptr && select_traj_ != nullptr) {
  1387. delete select_traj_;
  1388. }
  1389. select_traj_ = nullptr;
  1390. }
  1391. inline const ::TrajectoryMsg& NavStatu::_internal_select_traj() const {
  1392. const ::TrajectoryMsg* p = select_traj_;
  1393. return p != nullptr ? *p : *reinterpret_cast<const ::TrajectoryMsg*>(
  1394. &::_TrajectoryMsg_default_instance_);
  1395. }
  1396. inline const ::TrajectoryMsg& NavStatu::select_traj() const {
  1397. // @@protoc_insertion_point(field_get:NavStatu.select_traj)
  1398. return _internal_select_traj();
  1399. }
  1400. inline void NavStatu::unsafe_arena_set_allocated_select_traj(
  1401. ::TrajectoryMsg* select_traj) {
  1402. if (GetArena() == nullptr) {
  1403. delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(select_traj_);
  1404. }
  1405. select_traj_ = select_traj;
  1406. if (select_traj) {
  1407. } else {
  1408. }
  1409. // @@protoc_insertion_point(field_unsafe_arena_set_allocated:NavStatu.select_traj)
  1410. }
  1411. inline ::TrajectoryMsg* NavStatu::release_select_traj() {
  1412. ::TrajectoryMsg* temp = select_traj_;
  1413. select_traj_ = nullptr;
  1414. if (GetArena() != nullptr) {
  1415. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  1416. }
  1417. return temp;
  1418. }
  1419. inline ::TrajectoryMsg* NavStatu::unsafe_arena_release_select_traj() {
  1420. // @@protoc_insertion_point(field_release:NavStatu.select_traj)
  1421. ::TrajectoryMsg* temp = select_traj_;
  1422. select_traj_ = nullptr;
  1423. return temp;
  1424. }
  1425. inline ::TrajectoryMsg* NavStatu::_internal_mutable_select_traj() {
  1426. if (select_traj_ == nullptr) {
  1427. auto* p = CreateMaybeMessage<::TrajectoryMsg>(GetArena());
  1428. select_traj_ = p;
  1429. }
  1430. return select_traj_;
  1431. }
  1432. inline ::TrajectoryMsg* NavStatu::mutable_select_traj() {
  1433. // @@protoc_insertion_point(field_mutable:NavStatu.select_traj)
  1434. return _internal_mutable_select_traj();
  1435. }
  1436. inline void NavStatu::set_allocated_select_traj(::TrajectoryMsg* select_traj) {
  1437. ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
  1438. if (message_arena == nullptr) {
  1439. delete select_traj_;
  1440. }
  1441. if (select_traj) {
  1442. ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
  1443. ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(select_traj);
  1444. if (message_arena != submessage_arena) {
  1445. select_traj = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
  1446. message_arena, select_traj, submessage_arena);
  1447. }
  1448. } else {
  1449. }
  1450. select_traj_ = select_traj;
  1451. // @@protoc_insertion_point(field_set_allocated:NavStatu.select_traj)
  1452. }
  1453. // .TrajectoryMsg predict_traj = 7;
  1454. inline bool NavStatu::_internal_has_predict_traj() const {
  1455. return this != internal_default_instance() && predict_traj_ != nullptr;
  1456. }
  1457. inline bool NavStatu::has_predict_traj() const {
  1458. return _internal_has_predict_traj();
  1459. }
  1460. inline void NavStatu::clear_predict_traj() {
  1461. if (GetArena() == nullptr && predict_traj_ != nullptr) {
  1462. delete predict_traj_;
  1463. }
  1464. predict_traj_ = nullptr;
  1465. }
  1466. inline const ::TrajectoryMsg& NavStatu::_internal_predict_traj() const {
  1467. const ::TrajectoryMsg* p = predict_traj_;
  1468. return p != nullptr ? *p : *reinterpret_cast<const ::TrajectoryMsg*>(
  1469. &::_TrajectoryMsg_default_instance_);
  1470. }
  1471. inline const ::TrajectoryMsg& NavStatu::predict_traj() const {
  1472. // @@protoc_insertion_point(field_get:NavStatu.predict_traj)
  1473. return _internal_predict_traj();
  1474. }
  1475. inline void NavStatu::unsafe_arena_set_allocated_predict_traj(
  1476. ::TrajectoryMsg* predict_traj) {
  1477. if (GetArena() == nullptr) {
  1478. delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(predict_traj_);
  1479. }
  1480. predict_traj_ = predict_traj;
  1481. if (predict_traj) {
  1482. } else {
  1483. }
  1484. // @@protoc_insertion_point(field_unsafe_arena_set_allocated:NavStatu.predict_traj)
  1485. }
  1486. inline ::TrajectoryMsg* NavStatu::release_predict_traj() {
  1487. ::TrajectoryMsg* temp = predict_traj_;
  1488. predict_traj_ = nullptr;
  1489. if (GetArena() != nullptr) {
  1490. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  1491. }
  1492. return temp;
  1493. }
  1494. inline ::TrajectoryMsg* NavStatu::unsafe_arena_release_predict_traj() {
  1495. // @@protoc_insertion_point(field_release:NavStatu.predict_traj)
  1496. ::TrajectoryMsg* temp = predict_traj_;
  1497. predict_traj_ = nullptr;
  1498. return temp;
  1499. }
  1500. inline ::TrajectoryMsg* NavStatu::_internal_mutable_predict_traj() {
  1501. if (predict_traj_ == nullptr) {
  1502. auto* p = CreateMaybeMessage<::TrajectoryMsg>(GetArena());
  1503. predict_traj_ = p;
  1504. }
  1505. return predict_traj_;
  1506. }
  1507. inline ::TrajectoryMsg* NavStatu::mutable_predict_traj() {
  1508. // @@protoc_insertion_point(field_mutable:NavStatu.predict_traj)
  1509. return _internal_mutable_predict_traj();
  1510. }
  1511. inline void NavStatu::set_allocated_predict_traj(::TrajectoryMsg* predict_traj) {
  1512. ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
  1513. if (message_arena == nullptr) {
  1514. delete predict_traj_;
  1515. }
  1516. if (predict_traj) {
  1517. ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
  1518. ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(predict_traj);
  1519. if (message_arena != submessage_arena) {
  1520. predict_traj = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
  1521. message_arena, predict_traj, submessage_arena);
  1522. }
  1523. } else {
  1524. }
  1525. predict_traj_ = predict_traj;
  1526. // @@protoc_insertion_point(field_set_allocated:NavStatu.predict_traj)
  1527. }
  1528. #ifdef __GNUC__
  1529. #pragma GCC diagnostic pop
  1530. #endif // __GNUC__
  1531. // -------------------------------------------------------------------
  1532. // -------------------------------------------------------------------
  1533. // -------------------------------------------------------------------
  1534. // -------------------------------------------------------------------
  1535. // -------------------------------------------------------------------
  1536. // @@protoc_insertion_point(namespace_scope)
  1537. // @@protoc_insertion_point(global_scope)
  1538. #include <google/protobuf/port_undef.inc>
  1539. #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_message_2eproto