message.pb.h 92 KB

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