wj_lidar_conf.pb.h 91 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709
  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // source: wj_lidar_conf.proto
  3. #ifndef GOOGLE_PROTOBUF_INCLUDED_wj_5flidar_5fconf_2eproto
  4. #define GOOGLE_PROTOBUF_INCLUDED_wj_5flidar_5fconf_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_wj_5flidar_5fconf_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_wj_5flidar_5fconf_2eproto {
  41. static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
  42. PROTOBUF_SECTION_VARIABLE(protodesc_cold);
  43. static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[]
  44. PROTOBUF_SECTION_VARIABLE(protodesc_cold);
  45. static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[6]
  46. PROTOBUF_SECTION_VARIABLE(protodesc_cold);
  47. static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
  48. static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
  49. static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[];
  50. };
  51. extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_wj_5flidar_5fconf_2eproto;
  52. namespace wj {
  53. class Region;
  54. class RegionDefaultTypeInternal;
  55. extern RegionDefaultTypeInternal _Region_default_instance_;
  56. class Transform2d;
  57. class Transform2dDefaultTypeInternal;
  58. extern Transform2dDefaultTypeInternal _Transform2d_default_instance_;
  59. class netConfig;
  60. class netConfigDefaultTypeInternal;
  61. extern netConfigDefaultTypeInternal _netConfig_default_instance_;
  62. class scanLimit;
  63. class scanLimitDefaultTypeInternal;
  64. extern scanLimitDefaultTypeInternal _scanLimit_default_instance_;
  65. class wjLidarParams;
  66. class wjLidarParamsDefaultTypeInternal;
  67. extern wjLidarParamsDefaultTypeInternal _wjLidarParams_default_instance_;
  68. class wjManagerParams;
  69. class wjManagerParamsDefaultTypeInternal;
  70. extern wjManagerParamsDefaultTypeInternal _wjManagerParams_default_instance_;
  71. } // namespace wj
  72. PROTOBUF_NAMESPACE_OPEN
  73. template<> ::wj::Region* Arena::CreateMaybeMessage<::wj::Region>(Arena*);
  74. template<> ::wj::Transform2d* Arena::CreateMaybeMessage<::wj::Transform2d>(Arena*);
  75. template<> ::wj::netConfig* Arena::CreateMaybeMessage<::wj::netConfig>(Arena*);
  76. template<> ::wj::scanLimit* Arena::CreateMaybeMessage<::wj::scanLimit>(Arena*);
  77. template<> ::wj::wjLidarParams* Arena::CreateMaybeMessage<::wj::wjLidarParams>(Arena*);
  78. template<> ::wj::wjManagerParams* Arena::CreateMaybeMessage<::wj::wjManagerParams>(Arena*);
  79. PROTOBUF_NAMESPACE_CLOSE
  80. namespace wj {
  81. // ===================================================================
  82. class wjManagerParams PROTOBUF_FINAL :
  83. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:wj.wjManagerParams) */ {
  84. public:
  85. inline wjManagerParams() : wjManagerParams(nullptr) {}
  86. virtual ~wjManagerParams();
  87. wjManagerParams(const wjManagerParams& from);
  88. wjManagerParams(wjManagerParams&& from) noexcept
  89. : wjManagerParams() {
  90. *this = ::std::move(from);
  91. }
  92. inline wjManagerParams& operator=(const wjManagerParams& from) {
  93. CopyFrom(from);
  94. return *this;
  95. }
  96. inline wjManagerParams& operator=(wjManagerParams&& from) noexcept {
  97. if (GetArena() == from.GetArena()) {
  98. if (this != &from) InternalSwap(&from);
  99. } else {
  100. CopyFrom(from);
  101. }
  102. return *this;
  103. }
  104. inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
  105. return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
  106. }
  107. inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
  108. return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
  109. }
  110. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  111. return GetDescriptor();
  112. }
  113. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  114. return GetMetadataStatic().descriptor;
  115. }
  116. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  117. return GetMetadataStatic().reflection;
  118. }
  119. static const wjManagerParams& default_instance();
  120. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  121. static inline const wjManagerParams* internal_default_instance() {
  122. return reinterpret_cast<const wjManagerParams*>(
  123. &_wjManagerParams_default_instance_);
  124. }
  125. static constexpr int kIndexInFileMessages =
  126. 0;
  127. friend void swap(wjManagerParams& a, wjManagerParams& b) {
  128. a.Swap(&b);
  129. }
  130. inline void Swap(wjManagerParams* other) {
  131. if (other == this) return;
  132. if (GetArena() == other->GetArena()) {
  133. InternalSwap(other);
  134. } else {
  135. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  136. }
  137. }
  138. void UnsafeArenaSwap(wjManagerParams* other) {
  139. if (other == this) return;
  140. GOOGLE_DCHECK(GetArena() == other->GetArena());
  141. InternalSwap(other);
  142. }
  143. // implements Message ----------------------------------------------
  144. inline wjManagerParams* New() const final {
  145. return CreateMaybeMessage<wjManagerParams>(nullptr);
  146. }
  147. wjManagerParams* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  148. return CreateMaybeMessage<wjManagerParams>(arena);
  149. }
  150. void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  151. void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  152. void CopyFrom(const wjManagerParams& from);
  153. void MergeFrom(const wjManagerParams& from);
  154. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  155. bool IsInitialized() const final;
  156. size_t ByteSizeLong() const final;
  157. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  158. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  159. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  160. int GetCachedSize() const final { return _cached_size_.Get(); }
  161. private:
  162. inline void SharedCtor();
  163. inline void SharedDtor();
  164. void SetCachedSize(int size) const final;
  165. void InternalSwap(wjManagerParams* other);
  166. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  167. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  168. return "wj.wjManagerParams";
  169. }
  170. protected:
  171. explicit wjManagerParams(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  172. private:
  173. static void ArenaDtor(void* object);
  174. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  175. public:
  176. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  177. private:
  178. static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
  179. ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_wj_5flidar_5fconf_2eproto);
  180. return ::descriptor_table_wj_5flidar_5fconf_2eproto.file_level_metadata[kIndexInFileMessages];
  181. }
  182. public:
  183. // nested types ----------------------------------------------------
  184. // accessors -------------------------------------------------------
  185. enum : int {
  186. kWjLidarFieldNumber = 1,
  187. kRegionsFieldNumber = 2,
  188. kFenceDataPathFieldNumber = 3,
  189. kFenceLogPathFieldNumber = 4,
  190. kPlcIpAddressFieldNumber = 5,
  191. };
  192. // repeated .wj.wjLidarParams wj_lidar = 1;
  193. int wj_lidar_size() const;
  194. private:
  195. int _internal_wj_lidar_size() const;
  196. public:
  197. void clear_wj_lidar();
  198. ::wj::wjLidarParams* mutable_wj_lidar(int index);
  199. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::wj::wjLidarParams >*
  200. mutable_wj_lidar();
  201. private:
  202. const ::wj::wjLidarParams& _internal_wj_lidar(int index) const;
  203. ::wj::wjLidarParams* _internal_add_wj_lidar();
  204. public:
  205. const ::wj::wjLidarParams& wj_lidar(int index) const;
  206. ::wj::wjLidarParams* add_wj_lidar();
  207. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::wj::wjLidarParams >&
  208. wj_lidar() const;
  209. // repeated .wj.Region regions = 2;
  210. int regions_size() const;
  211. private:
  212. int _internal_regions_size() const;
  213. public:
  214. void clear_regions();
  215. ::wj::Region* mutable_regions(int index);
  216. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::wj::Region >*
  217. mutable_regions();
  218. private:
  219. const ::wj::Region& _internal_regions(int index) const;
  220. ::wj::Region* _internal_add_regions();
  221. public:
  222. const ::wj::Region& regions(int index) const;
  223. ::wj::Region* add_regions();
  224. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::wj::Region >&
  225. regions() const;
  226. // optional string fence_data_path = 3 [default = ""];
  227. bool has_fence_data_path() const;
  228. private:
  229. bool _internal_has_fence_data_path() const;
  230. public:
  231. void clear_fence_data_path();
  232. const std::string& fence_data_path() const;
  233. void set_fence_data_path(const std::string& value);
  234. void set_fence_data_path(std::string&& value);
  235. void set_fence_data_path(const char* value);
  236. void set_fence_data_path(const char* value, size_t size);
  237. std::string* mutable_fence_data_path();
  238. std::string* release_fence_data_path();
  239. void set_allocated_fence_data_path(std::string* fence_data_path);
  240. private:
  241. const std::string& _internal_fence_data_path() const;
  242. void _internal_set_fence_data_path(const std::string& value);
  243. std::string* _internal_mutable_fence_data_path();
  244. public:
  245. // optional string fence_log_path = 4 [default = ""];
  246. bool has_fence_log_path() const;
  247. private:
  248. bool _internal_has_fence_log_path() const;
  249. public:
  250. void clear_fence_log_path();
  251. const std::string& fence_log_path() const;
  252. void set_fence_log_path(const std::string& value);
  253. void set_fence_log_path(std::string&& value);
  254. void set_fence_log_path(const char* value);
  255. void set_fence_log_path(const char* value, size_t size);
  256. std::string* mutable_fence_log_path();
  257. std::string* release_fence_log_path();
  258. void set_allocated_fence_log_path(std::string* fence_log_path);
  259. private:
  260. const std::string& _internal_fence_log_path() const;
  261. void _internal_set_fence_log_path(const std::string& value);
  262. std::string* _internal_mutable_fence_log_path();
  263. public:
  264. // optional string plc_ip_address = 5 [default = "192.168.0.1"];
  265. bool has_plc_ip_address() const;
  266. private:
  267. bool _internal_has_plc_ip_address() const;
  268. public:
  269. void clear_plc_ip_address();
  270. const std::string& plc_ip_address() const;
  271. void set_plc_ip_address(const std::string& value);
  272. void set_plc_ip_address(std::string&& value);
  273. void set_plc_ip_address(const char* value);
  274. void set_plc_ip_address(const char* value, size_t size);
  275. std::string* mutable_plc_ip_address();
  276. std::string* release_plc_ip_address();
  277. void set_allocated_plc_ip_address(std::string* plc_ip_address);
  278. private:
  279. const std::string& _internal_plc_ip_address() const;
  280. void _internal_set_plc_ip_address(const std::string& value);
  281. std::string* _internal_mutable_plc_ip_address();
  282. public:
  283. // @@protoc_insertion_point(class_scope:wj.wjManagerParams)
  284. private:
  285. class _Internal;
  286. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  287. typedef void InternalArenaConstructable_;
  288. typedef void DestructorSkippable_;
  289. ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
  290. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  291. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::wj::wjLidarParams > wj_lidar_;
  292. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::wj::Region > regions_;
  293. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr fence_data_path_;
  294. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr fence_log_path_;
  295. public:
  296. static ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<std::string> _i_give_permission_to_break_this_code_default_plc_ip_address_;
  297. private:
  298. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr plc_ip_address_;
  299. friend struct ::TableStruct_wj_5flidar_5fconf_2eproto;
  300. };
  301. // -------------------------------------------------------------------
  302. class Region PROTOBUF_FINAL :
  303. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:wj.Region) */ {
  304. public:
  305. inline Region() : Region(nullptr) {}
  306. virtual ~Region();
  307. Region(const Region& from);
  308. Region(Region&& from) noexcept
  309. : Region() {
  310. *this = ::std::move(from);
  311. }
  312. inline Region& operator=(const Region& from) {
  313. CopyFrom(from);
  314. return *this;
  315. }
  316. inline Region& operator=(Region&& from) noexcept {
  317. if (GetArena() == from.GetArena()) {
  318. if (this != &from) InternalSwap(&from);
  319. } else {
  320. CopyFrom(from);
  321. }
  322. return *this;
  323. }
  324. inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
  325. return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
  326. }
  327. inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
  328. return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
  329. }
  330. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  331. return GetDescriptor();
  332. }
  333. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  334. return GetMetadataStatic().descriptor;
  335. }
  336. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  337. return GetMetadataStatic().reflection;
  338. }
  339. static const Region& default_instance();
  340. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  341. static inline const Region* internal_default_instance() {
  342. return reinterpret_cast<const Region*>(
  343. &_Region_default_instance_);
  344. }
  345. static constexpr int kIndexInFileMessages =
  346. 1;
  347. friend void swap(Region& a, Region& b) {
  348. a.Swap(&b);
  349. }
  350. inline void Swap(Region* other) {
  351. if (other == this) return;
  352. if (GetArena() == other->GetArena()) {
  353. InternalSwap(other);
  354. } else {
  355. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  356. }
  357. }
  358. void UnsafeArenaSwap(Region* other) {
  359. if (other == this) return;
  360. GOOGLE_DCHECK(GetArena() == other->GetArena());
  361. InternalSwap(other);
  362. }
  363. // implements Message ----------------------------------------------
  364. inline Region* New() const final {
  365. return CreateMaybeMessage<Region>(nullptr);
  366. }
  367. Region* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  368. return CreateMaybeMessage<Region>(arena);
  369. }
  370. void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  371. void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  372. void CopyFrom(const Region& from);
  373. void MergeFrom(const Region& from);
  374. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  375. bool IsInitialized() const final;
  376. size_t ByteSizeLong() const final;
  377. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  378. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  379. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  380. int GetCachedSize() const final { return _cached_size_.Get(); }
  381. private:
  382. inline void SharedCtor();
  383. inline void SharedDtor();
  384. void SetCachedSize(int size) const final;
  385. void InternalSwap(Region* other);
  386. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  387. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  388. return "wj.Region";
  389. }
  390. protected:
  391. explicit Region(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  392. private:
  393. static void ArenaDtor(void* object);
  394. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  395. public:
  396. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  397. private:
  398. static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
  399. ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_wj_5flidar_5fconf_2eproto);
  400. return ::descriptor_table_wj_5flidar_5fconf_2eproto.file_level_metadata[kIndexInFileMessages];
  401. }
  402. public:
  403. // nested types ----------------------------------------------------
  404. // accessors -------------------------------------------------------
  405. enum : int {
  406. kMinxFieldNumber = 1,
  407. kMaxxFieldNumber = 2,
  408. kMinyFieldNumber = 3,
  409. kMaxyFieldNumber = 4,
  410. };
  411. // required float minx = 1;
  412. bool has_minx() const;
  413. private:
  414. bool _internal_has_minx() const;
  415. public:
  416. void clear_minx();
  417. float minx() const;
  418. void set_minx(float value);
  419. private:
  420. float _internal_minx() const;
  421. void _internal_set_minx(float value);
  422. public:
  423. // required float maxx = 2;
  424. bool has_maxx() const;
  425. private:
  426. bool _internal_has_maxx() const;
  427. public:
  428. void clear_maxx();
  429. float maxx() const;
  430. void set_maxx(float value);
  431. private:
  432. float _internal_maxx() const;
  433. void _internal_set_maxx(float value);
  434. public:
  435. // required float miny = 3;
  436. bool has_miny() const;
  437. private:
  438. bool _internal_has_miny() const;
  439. public:
  440. void clear_miny();
  441. float miny() const;
  442. void set_miny(float value);
  443. private:
  444. float _internal_miny() const;
  445. void _internal_set_miny(float value);
  446. public:
  447. // required float maxy = 4;
  448. bool has_maxy() const;
  449. private:
  450. bool _internal_has_maxy() const;
  451. public:
  452. void clear_maxy();
  453. float maxy() const;
  454. void set_maxy(float value);
  455. private:
  456. float _internal_maxy() const;
  457. void _internal_set_maxy(float value);
  458. public:
  459. // @@protoc_insertion_point(class_scope:wj.Region)
  460. private:
  461. class _Internal;
  462. // helper for ByteSizeLong()
  463. size_t RequiredFieldsByteSizeFallback() const;
  464. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  465. typedef void InternalArenaConstructable_;
  466. typedef void DestructorSkippable_;
  467. ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
  468. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  469. float minx_;
  470. float maxx_;
  471. float miny_;
  472. float maxy_;
  473. friend struct ::TableStruct_wj_5flidar_5fconf_2eproto;
  474. };
  475. // -------------------------------------------------------------------
  476. class wjLidarParams PROTOBUF_FINAL :
  477. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:wj.wjLidarParams) */ {
  478. public:
  479. inline wjLidarParams() : wjLidarParams(nullptr) {}
  480. virtual ~wjLidarParams();
  481. wjLidarParams(const wjLidarParams& from);
  482. wjLidarParams(wjLidarParams&& from) noexcept
  483. : wjLidarParams() {
  484. *this = ::std::move(from);
  485. }
  486. inline wjLidarParams& operator=(const wjLidarParams& from) {
  487. CopyFrom(from);
  488. return *this;
  489. }
  490. inline wjLidarParams& operator=(wjLidarParams&& from) noexcept {
  491. if (GetArena() == from.GetArena()) {
  492. if (this != &from) InternalSwap(&from);
  493. } else {
  494. CopyFrom(from);
  495. }
  496. return *this;
  497. }
  498. inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
  499. return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
  500. }
  501. inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
  502. return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
  503. }
  504. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  505. return GetDescriptor();
  506. }
  507. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  508. return GetMetadataStatic().descriptor;
  509. }
  510. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  511. return GetMetadataStatic().reflection;
  512. }
  513. static const wjLidarParams& default_instance();
  514. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  515. static inline const wjLidarParams* internal_default_instance() {
  516. return reinterpret_cast<const wjLidarParams*>(
  517. &_wjLidarParams_default_instance_);
  518. }
  519. static constexpr int kIndexInFileMessages =
  520. 2;
  521. friend void swap(wjLidarParams& a, wjLidarParams& b) {
  522. a.Swap(&b);
  523. }
  524. inline void Swap(wjLidarParams* other) {
  525. if (other == this) return;
  526. if (GetArena() == other->GetArena()) {
  527. InternalSwap(other);
  528. } else {
  529. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  530. }
  531. }
  532. void UnsafeArenaSwap(wjLidarParams* other) {
  533. if (other == this) return;
  534. GOOGLE_DCHECK(GetArena() == other->GetArena());
  535. InternalSwap(other);
  536. }
  537. // implements Message ----------------------------------------------
  538. inline wjLidarParams* New() const final {
  539. return CreateMaybeMessage<wjLidarParams>(nullptr);
  540. }
  541. wjLidarParams* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  542. return CreateMaybeMessage<wjLidarParams>(arena);
  543. }
  544. void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  545. void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  546. void CopyFrom(const wjLidarParams& from);
  547. void MergeFrom(const wjLidarParams& from);
  548. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  549. bool IsInitialized() const final;
  550. size_t ByteSizeLong() const final;
  551. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  552. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  553. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  554. int GetCachedSize() const final { return _cached_size_.Get(); }
  555. private:
  556. inline void SharedCtor();
  557. inline void SharedDtor();
  558. void SetCachedSize(int size) const final;
  559. void InternalSwap(wjLidarParams* other);
  560. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  561. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  562. return "wj.wjLidarParams";
  563. }
  564. protected:
  565. explicit wjLidarParams(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  566. private:
  567. static void ArenaDtor(void* object);
  568. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  569. public:
  570. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  571. private:
  572. static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
  573. ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_wj_5flidar_5fconf_2eproto);
  574. return ::descriptor_table_wj_5flidar_5fconf_2eproto.file_level_metadata[kIndexInFileMessages];
  575. }
  576. public:
  577. // nested types ----------------------------------------------------
  578. // accessors -------------------------------------------------------
  579. enum : int {
  580. kNetConfigFieldNumber = 7,
  581. kTransformFieldNumber = 8,
  582. kScanLimitFieldNumber = 9,
  583. kRangeMinFieldNumber = 5,
  584. kRangeMaxFieldNumber = 6,
  585. kAngleMinFieldNumber = 1,
  586. kAngleMaxFieldNumber = 2,
  587. kAngleIncrementFieldNumber = 3,
  588. kTimeIncrementFieldNumber = 4,
  589. };
  590. // required .wj.netConfig net_config = 7;
  591. bool has_net_config() const;
  592. private:
  593. bool _internal_has_net_config() const;
  594. public:
  595. void clear_net_config();
  596. const ::wj::netConfig& net_config() const;
  597. ::wj::netConfig* release_net_config();
  598. ::wj::netConfig* mutable_net_config();
  599. void set_allocated_net_config(::wj::netConfig* net_config);
  600. private:
  601. const ::wj::netConfig& _internal_net_config() const;
  602. ::wj::netConfig* _internal_mutable_net_config();
  603. public:
  604. void unsafe_arena_set_allocated_net_config(
  605. ::wj::netConfig* net_config);
  606. ::wj::netConfig* unsafe_arena_release_net_config();
  607. // required .wj.Transform2d transform = 8;
  608. bool has_transform() const;
  609. private:
  610. bool _internal_has_transform() const;
  611. public:
  612. void clear_transform();
  613. const ::wj::Transform2d& transform() const;
  614. ::wj::Transform2d* release_transform();
  615. ::wj::Transform2d* mutable_transform();
  616. void set_allocated_transform(::wj::Transform2d* transform);
  617. private:
  618. const ::wj::Transform2d& _internal_transform() const;
  619. ::wj::Transform2d* _internal_mutable_transform();
  620. public:
  621. void unsafe_arena_set_allocated_transform(
  622. ::wj::Transform2d* transform);
  623. ::wj::Transform2d* unsafe_arena_release_transform();
  624. // required .wj.scanLimit scan_limit = 9;
  625. bool has_scan_limit() const;
  626. private:
  627. bool _internal_has_scan_limit() const;
  628. public:
  629. void clear_scan_limit();
  630. const ::wj::scanLimit& scan_limit() const;
  631. ::wj::scanLimit* release_scan_limit();
  632. ::wj::scanLimit* mutable_scan_limit();
  633. void set_allocated_scan_limit(::wj::scanLimit* scan_limit);
  634. private:
  635. const ::wj::scanLimit& _internal_scan_limit() const;
  636. ::wj::scanLimit* _internal_mutable_scan_limit();
  637. public:
  638. void unsafe_arena_set_allocated_scan_limit(
  639. ::wj::scanLimit* scan_limit);
  640. ::wj::scanLimit* unsafe_arena_release_scan_limit();
  641. // optional int32 range_min = 5 [default = 0];
  642. bool has_range_min() const;
  643. private:
  644. bool _internal_has_range_min() const;
  645. public:
  646. void clear_range_min();
  647. ::PROTOBUF_NAMESPACE_ID::int32 range_min() const;
  648. void set_range_min(::PROTOBUF_NAMESPACE_ID::int32 value);
  649. private:
  650. ::PROTOBUF_NAMESPACE_ID::int32 _internal_range_min() const;
  651. void _internal_set_range_min(::PROTOBUF_NAMESPACE_ID::int32 value);
  652. public:
  653. // optional int32 range_max = 6 [default = 30];
  654. bool has_range_max() const;
  655. private:
  656. bool _internal_has_range_max() const;
  657. public:
  658. void clear_range_max();
  659. ::PROTOBUF_NAMESPACE_ID::int32 range_max() const;
  660. void set_range_max(::PROTOBUF_NAMESPACE_ID::int32 value);
  661. private:
  662. ::PROTOBUF_NAMESPACE_ID::int32 _internal_range_max() const;
  663. void _internal_set_range_max(::PROTOBUF_NAMESPACE_ID::int32 value);
  664. public:
  665. // optional float angle_min = 1 [default = -2.3561945];
  666. bool has_angle_min() const;
  667. private:
  668. bool _internal_has_angle_min() const;
  669. public:
  670. void clear_angle_min();
  671. float angle_min() const;
  672. void set_angle_min(float value);
  673. private:
  674. float _internal_angle_min() const;
  675. void _internal_set_angle_min(float value);
  676. public:
  677. // optional float angle_max = 2 [default = 2.3561945];
  678. bool has_angle_max() const;
  679. private:
  680. bool _internal_has_angle_max() const;
  681. public:
  682. void clear_angle_max();
  683. float angle_max() const;
  684. void set_angle_max(float value);
  685. private:
  686. float _internal_angle_max() const;
  687. void _internal_set_angle_max(float value);
  688. public:
  689. // optional float angle_increment = 3 [default = 0.00582];
  690. bool has_angle_increment() const;
  691. private:
  692. bool _internal_has_angle_increment() const;
  693. public:
  694. void clear_angle_increment();
  695. float angle_increment() const;
  696. void set_angle_increment(float value);
  697. private:
  698. float _internal_angle_increment() const;
  699. void _internal_set_angle_increment(float value);
  700. public:
  701. // optional float time_increment = 4 [default = 6.2e-05];
  702. bool has_time_increment() const;
  703. private:
  704. bool _internal_has_time_increment() const;
  705. public:
  706. void clear_time_increment();
  707. float time_increment() const;
  708. void set_time_increment(float value);
  709. private:
  710. float _internal_time_increment() const;
  711. void _internal_set_time_increment(float value);
  712. public:
  713. // @@protoc_insertion_point(class_scope:wj.wjLidarParams)
  714. private:
  715. class _Internal;
  716. // helper for ByteSizeLong()
  717. size_t RequiredFieldsByteSizeFallback() const;
  718. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  719. typedef void InternalArenaConstructable_;
  720. typedef void DestructorSkippable_;
  721. ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
  722. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  723. ::wj::netConfig* net_config_;
  724. ::wj::Transform2d* transform_;
  725. ::wj::scanLimit* scan_limit_;
  726. ::PROTOBUF_NAMESPACE_ID::int32 range_min_;
  727. ::PROTOBUF_NAMESPACE_ID::int32 range_max_;
  728. float angle_min_;
  729. float angle_max_;
  730. float angle_increment_;
  731. float time_increment_;
  732. friend struct ::TableStruct_wj_5flidar_5fconf_2eproto;
  733. };
  734. // -------------------------------------------------------------------
  735. class netConfig PROTOBUF_FINAL :
  736. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:wj.netConfig) */ {
  737. public:
  738. inline netConfig() : netConfig(nullptr) {}
  739. virtual ~netConfig();
  740. netConfig(const netConfig& from);
  741. netConfig(netConfig&& from) noexcept
  742. : netConfig() {
  743. *this = ::std::move(from);
  744. }
  745. inline netConfig& operator=(const netConfig& from) {
  746. CopyFrom(from);
  747. return *this;
  748. }
  749. inline netConfig& operator=(netConfig&& from) noexcept {
  750. if (GetArena() == from.GetArena()) {
  751. if (this != &from) InternalSwap(&from);
  752. } else {
  753. CopyFrom(from);
  754. }
  755. return *this;
  756. }
  757. inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
  758. return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
  759. }
  760. inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
  761. return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
  762. }
  763. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  764. return GetDescriptor();
  765. }
  766. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  767. return GetMetadataStatic().descriptor;
  768. }
  769. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  770. return GetMetadataStatic().reflection;
  771. }
  772. static const netConfig& default_instance();
  773. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  774. static inline const netConfig* internal_default_instance() {
  775. return reinterpret_cast<const netConfig*>(
  776. &_netConfig_default_instance_);
  777. }
  778. static constexpr int kIndexInFileMessages =
  779. 3;
  780. friend void swap(netConfig& a, netConfig& b) {
  781. a.Swap(&b);
  782. }
  783. inline void Swap(netConfig* other) {
  784. if (other == this) return;
  785. if (GetArena() == other->GetArena()) {
  786. InternalSwap(other);
  787. } else {
  788. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  789. }
  790. }
  791. void UnsafeArenaSwap(netConfig* other) {
  792. if (other == this) return;
  793. GOOGLE_DCHECK(GetArena() == other->GetArena());
  794. InternalSwap(other);
  795. }
  796. // implements Message ----------------------------------------------
  797. inline netConfig* New() const final {
  798. return CreateMaybeMessage<netConfig>(nullptr);
  799. }
  800. netConfig* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  801. return CreateMaybeMessage<netConfig>(arena);
  802. }
  803. void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  804. void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  805. void CopyFrom(const netConfig& from);
  806. void MergeFrom(const netConfig& from);
  807. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  808. bool IsInitialized() const final;
  809. size_t ByteSizeLong() const final;
  810. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  811. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  812. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  813. int GetCachedSize() const final { return _cached_size_.Get(); }
  814. private:
  815. inline void SharedCtor();
  816. inline void SharedDtor();
  817. void SetCachedSize(int size) const final;
  818. void InternalSwap(netConfig* other);
  819. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  820. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  821. return "wj.netConfig";
  822. }
  823. protected:
  824. explicit netConfig(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  825. private:
  826. static void ArenaDtor(void* object);
  827. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  828. public:
  829. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  830. private:
  831. static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
  832. ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_wj_5flidar_5fconf_2eproto);
  833. return ::descriptor_table_wj_5flidar_5fconf_2eproto.file_level_metadata[kIndexInFileMessages];
  834. }
  835. public:
  836. // nested types ----------------------------------------------------
  837. // accessors -------------------------------------------------------
  838. enum : int {
  839. kIpAddressFieldNumber = 1,
  840. kPortFieldNumber = 2,
  841. };
  842. // optional string ip_address = 1 [default = ""];
  843. bool has_ip_address() const;
  844. private:
  845. bool _internal_has_ip_address() const;
  846. public:
  847. void clear_ip_address();
  848. const std::string& ip_address() const;
  849. void set_ip_address(const std::string& value);
  850. void set_ip_address(std::string&& value);
  851. void set_ip_address(const char* value);
  852. void set_ip_address(const char* value, size_t size);
  853. std::string* mutable_ip_address();
  854. std::string* release_ip_address();
  855. void set_allocated_ip_address(std::string* ip_address);
  856. private:
  857. const std::string& _internal_ip_address() const;
  858. void _internal_set_ip_address(const std::string& value);
  859. std::string* _internal_mutable_ip_address();
  860. public:
  861. // optional int32 port = 2 [default = 8000];
  862. bool has_port() const;
  863. private:
  864. bool _internal_has_port() const;
  865. public:
  866. void clear_port();
  867. ::PROTOBUF_NAMESPACE_ID::int32 port() const;
  868. void set_port(::PROTOBUF_NAMESPACE_ID::int32 value);
  869. private:
  870. ::PROTOBUF_NAMESPACE_ID::int32 _internal_port() const;
  871. void _internal_set_port(::PROTOBUF_NAMESPACE_ID::int32 value);
  872. public:
  873. // @@protoc_insertion_point(class_scope:wj.netConfig)
  874. private:
  875. class _Internal;
  876. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  877. typedef void InternalArenaConstructable_;
  878. typedef void DestructorSkippable_;
  879. ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
  880. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  881. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr ip_address_;
  882. ::PROTOBUF_NAMESPACE_ID::int32 port_;
  883. friend struct ::TableStruct_wj_5flidar_5fconf_2eproto;
  884. };
  885. // -------------------------------------------------------------------
  886. class Transform2d PROTOBUF_FINAL :
  887. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:wj.Transform2d) */ {
  888. public:
  889. inline Transform2d() : Transform2d(nullptr) {}
  890. virtual ~Transform2d();
  891. Transform2d(const Transform2d& from);
  892. Transform2d(Transform2d&& from) noexcept
  893. : Transform2d() {
  894. *this = ::std::move(from);
  895. }
  896. inline Transform2d& operator=(const Transform2d& from) {
  897. CopyFrom(from);
  898. return *this;
  899. }
  900. inline Transform2d& operator=(Transform2d&& from) noexcept {
  901. if (GetArena() == from.GetArena()) {
  902. if (this != &from) InternalSwap(&from);
  903. } else {
  904. CopyFrom(from);
  905. }
  906. return *this;
  907. }
  908. inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
  909. return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
  910. }
  911. inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
  912. return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
  913. }
  914. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  915. return GetDescriptor();
  916. }
  917. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  918. return GetMetadataStatic().descriptor;
  919. }
  920. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  921. return GetMetadataStatic().reflection;
  922. }
  923. static const Transform2d& default_instance();
  924. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  925. static inline const Transform2d* internal_default_instance() {
  926. return reinterpret_cast<const Transform2d*>(
  927. &_Transform2d_default_instance_);
  928. }
  929. static constexpr int kIndexInFileMessages =
  930. 4;
  931. friend void swap(Transform2d& a, Transform2d& b) {
  932. a.Swap(&b);
  933. }
  934. inline void Swap(Transform2d* other) {
  935. if (other == this) return;
  936. if (GetArena() == other->GetArena()) {
  937. InternalSwap(other);
  938. } else {
  939. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  940. }
  941. }
  942. void UnsafeArenaSwap(Transform2d* other) {
  943. if (other == this) return;
  944. GOOGLE_DCHECK(GetArena() == other->GetArena());
  945. InternalSwap(other);
  946. }
  947. // implements Message ----------------------------------------------
  948. inline Transform2d* New() const final {
  949. return CreateMaybeMessage<Transform2d>(nullptr);
  950. }
  951. Transform2d* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  952. return CreateMaybeMessage<Transform2d>(arena);
  953. }
  954. void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  955. void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  956. void CopyFrom(const Transform2d& from);
  957. void MergeFrom(const Transform2d& from);
  958. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  959. bool IsInitialized() const final;
  960. size_t ByteSizeLong() const final;
  961. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  962. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  963. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  964. int GetCachedSize() const final { return _cached_size_.Get(); }
  965. private:
  966. inline void SharedCtor();
  967. inline void SharedDtor();
  968. void SetCachedSize(int size) const final;
  969. void InternalSwap(Transform2d* other);
  970. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  971. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  972. return "wj.Transform2d";
  973. }
  974. protected:
  975. explicit Transform2d(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  976. private:
  977. static void ArenaDtor(void* object);
  978. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  979. public:
  980. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  981. private:
  982. static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
  983. ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_wj_5flidar_5fconf_2eproto);
  984. return ::descriptor_table_wj_5flidar_5fconf_2eproto.file_level_metadata[kIndexInFileMessages];
  985. }
  986. public:
  987. // nested types ----------------------------------------------------
  988. // accessors -------------------------------------------------------
  989. enum : int {
  990. kM01FieldNumber = 2,
  991. kM02FieldNumber = 3,
  992. kM10FieldNumber = 4,
  993. kM12FieldNumber = 6,
  994. kM00FieldNumber = 1,
  995. kM11FieldNumber = 5,
  996. };
  997. // optional float m01 = 2 [default = 0];
  998. bool has_m01() const;
  999. private:
  1000. bool _internal_has_m01() const;
  1001. public:
  1002. void clear_m01();
  1003. float m01() const;
  1004. void set_m01(float value);
  1005. private:
  1006. float _internal_m01() const;
  1007. void _internal_set_m01(float value);
  1008. public:
  1009. // optional float m02 = 3 [default = 0];
  1010. bool has_m02() const;
  1011. private:
  1012. bool _internal_has_m02() const;
  1013. public:
  1014. void clear_m02();
  1015. float m02() const;
  1016. void set_m02(float value);
  1017. private:
  1018. float _internal_m02() const;
  1019. void _internal_set_m02(float value);
  1020. public:
  1021. // optional float m10 = 4 [default = 0];
  1022. bool has_m10() const;
  1023. private:
  1024. bool _internal_has_m10() const;
  1025. public:
  1026. void clear_m10();
  1027. float m10() const;
  1028. void set_m10(float value);
  1029. private:
  1030. float _internal_m10() const;
  1031. void _internal_set_m10(float value);
  1032. public:
  1033. // optional float m12 = 6 [default = 0];
  1034. bool has_m12() const;
  1035. private:
  1036. bool _internal_has_m12() const;
  1037. public:
  1038. void clear_m12();
  1039. float m12() const;
  1040. void set_m12(float value);
  1041. private:
  1042. float _internal_m12() const;
  1043. void _internal_set_m12(float value);
  1044. public:
  1045. // optional float m00 = 1 [default = 1];
  1046. bool has_m00() const;
  1047. private:
  1048. bool _internal_has_m00() const;
  1049. public:
  1050. void clear_m00();
  1051. float m00() const;
  1052. void set_m00(float value);
  1053. private:
  1054. float _internal_m00() const;
  1055. void _internal_set_m00(float value);
  1056. public:
  1057. // optional float m11 = 5 [default = 1];
  1058. bool has_m11() const;
  1059. private:
  1060. bool _internal_has_m11() const;
  1061. public:
  1062. void clear_m11();
  1063. float m11() const;
  1064. void set_m11(float value);
  1065. private:
  1066. float _internal_m11() const;
  1067. void _internal_set_m11(float value);
  1068. public:
  1069. // @@protoc_insertion_point(class_scope:wj.Transform2d)
  1070. private:
  1071. class _Internal;
  1072. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  1073. typedef void InternalArenaConstructable_;
  1074. typedef void DestructorSkippable_;
  1075. ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
  1076. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  1077. float m01_;
  1078. float m02_;
  1079. float m10_;
  1080. float m12_;
  1081. float m00_;
  1082. float m11_;
  1083. friend struct ::TableStruct_wj_5flidar_5fconf_2eproto;
  1084. };
  1085. // -------------------------------------------------------------------
  1086. class scanLimit PROTOBUF_FINAL :
  1087. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:wj.scanLimit) */ {
  1088. public:
  1089. inline scanLimit() : scanLimit(nullptr) {}
  1090. virtual ~scanLimit();
  1091. scanLimit(const scanLimit& from);
  1092. scanLimit(scanLimit&& from) noexcept
  1093. : scanLimit() {
  1094. *this = ::std::move(from);
  1095. }
  1096. inline scanLimit& operator=(const scanLimit& from) {
  1097. CopyFrom(from);
  1098. return *this;
  1099. }
  1100. inline scanLimit& operator=(scanLimit&& from) noexcept {
  1101. if (GetArena() == from.GetArena()) {
  1102. if (this != &from) InternalSwap(&from);
  1103. } else {
  1104. CopyFrom(from);
  1105. }
  1106. return *this;
  1107. }
  1108. inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
  1109. return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
  1110. }
  1111. inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
  1112. return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
  1113. }
  1114. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  1115. return GetDescriptor();
  1116. }
  1117. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  1118. return GetMetadataStatic().descriptor;
  1119. }
  1120. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  1121. return GetMetadataStatic().reflection;
  1122. }
  1123. static const scanLimit& default_instance();
  1124. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  1125. static inline const scanLimit* internal_default_instance() {
  1126. return reinterpret_cast<const scanLimit*>(
  1127. &_scanLimit_default_instance_);
  1128. }
  1129. static constexpr int kIndexInFileMessages =
  1130. 5;
  1131. friend void swap(scanLimit& a, scanLimit& b) {
  1132. a.Swap(&b);
  1133. }
  1134. inline void Swap(scanLimit* other) {
  1135. if (other == this) return;
  1136. if (GetArena() == other->GetArena()) {
  1137. InternalSwap(other);
  1138. } else {
  1139. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  1140. }
  1141. }
  1142. void UnsafeArenaSwap(scanLimit* other) {
  1143. if (other == this) return;
  1144. GOOGLE_DCHECK(GetArena() == other->GetArena());
  1145. InternalSwap(other);
  1146. }
  1147. // implements Message ----------------------------------------------
  1148. inline scanLimit* New() const final {
  1149. return CreateMaybeMessage<scanLimit>(nullptr);
  1150. }
  1151. scanLimit* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  1152. return CreateMaybeMessage<scanLimit>(arena);
  1153. }
  1154. void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  1155. void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  1156. void CopyFrom(const scanLimit& from);
  1157. void MergeFrom(const scanLimit& from);
  1158. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  1159. bool IsInitialized() const final;
  1160. size_t ByteSizeLong() const final;
  1161. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  1162. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  1163. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  1164. int GetCachedSize() const final { return _cached_size_.Get(); }
  1165. private:
  1166. inline void SharedCtor();
  1167. inline void SharedDtor();
  1168. void SetCachedSize(int size) const final;
  1169. void InternalSwap(scanLimit* other);
  1170. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  1171. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  1172. return "wj.scanLimit";
  1173. }
  1174. protected:
  1175. explicit scanLimit(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  1176. private:
  1177. static void ArenaDtor(void* object);
  1178. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  1179. public:
  1180. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  1181. private:
  1182. static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
  1183. ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_wj_5flidar_5fconf_2eproto);
  1184. return ::descriptor_table_wj_5flidar_5fconf_2eproto.file_level_metadata[kIndexInFileMessages];
  1185. }
  1186. public:
  1187. // nested types ----------------------------------------------------
  1188. // accessors -------------------------------------------------------
  1189. enum : int {
  1190. kMaxyFieldNumber = 5,
  1191. kDistLimitFieldNumber = 1,
  1192. kMinxFieldNumber = 2,
  1193. kMaxxFieldNumber = 3,
  1194. kMinyFieldNumber = 4,
  1195. };
  1196. // optional float maxy = 5 [default = 3.5];
  1197. bool has_maxy() const;
  1198. private:
  1199. bool _internal_has_maxy() const;
  1200. public:
  1201. void clear_maxy();
  1202. float maxy() const;
  1203. void set_maxy(float value);
  1204. private:
  1205. float _internal_maxy() const;
  1206. void _internal_set_maxy(float value);
  1207. public:
  1208. // optional float dist_limit = 1 [default = 8];
  1209. bool has_dist_limit() const;
  1210. private:
  1211. bool _internal_has_dist_limit() const;
  1212. public:
  1213. void clear_dist_limit();
  1214. float dist_limit() const;
  1215. void set_dist_limit(float value);
  1216. private:
  1217. float _internal_dist_limit() const;
  1218. void _internal_set_dist_limit(float value);
  1219. public:
  1220. // optional float minx = 2 [default = -6];
  1221. bool has_minx() const;
  1222. private:
  1223. bool _internal_has_minx() const;
  1224. public:
  1225. void clear_minx();
  1226. float minx() const;
  1227. void set_minx(float value);
  1228. private:
  1229. float _internal_minx() const;
  1230. void _internal_set_minx(float value);
  1231. public:
  1232. // optional float maxx = 3 [default = -0.2];
  1233. bool has_maxx() const;
  1234. private:
  1235. bool _internal_has_maxx() const;
  1236. public:
  1237. void clear_maxx();
  1238. float maxx() const;
  1239. void set_maxx(float value);
  1240. private:
  1241. float _internal_maxx() const;
  1242. void _internal_set_maxx(float value);
  1243. public:
  1244. // optional float miny = 4 [default = -3.5];
  1245. bool has_miny() const;
  1246. private:
  1247. bool _internal_has_miny() const;
  1248. public:
  1249. void clear_miny();
  1250. float miny() const;
  1251. void set_miny(float value);
  1252. private:
  1253. float _internal_miny() const;
  1254. void _internal_set_miny(float value);
  1255. public:
  1256. // @@protoc_insertion_point(class_scope:wj.scanLimit)
  1257. private:
  1258. class _Internal;
  1259. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  1260. typedef void InternalArenaConstructable_;
  1261. typedef void DestructorSkippable_;
  1262. ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
  1263. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  1264. float maxy_;
  1265. float dist_limit_;
  1266. float minx_;
  1267. float maxx_;
  1268. float miny_;
  1269. friend struct ::TableStruct_wj_5flidar_5fconf_2eproto;
  1270. };
  1271. // ===================================================================
  1272. // ===================================================================
  1273. #ifdef __GNUC__
  1274. #pragma GCC diagnostic push
  1275. #pragma GCC diagnostic ignored "-Wstrict-aliasing"
  1276. #endif // __GNUC__
  1277. // wjManagerParams
  1278. // repeated .wj.wjLidarParams wj_lidar = 1;
  1279. inline int wjManagerParams::_internal_wj_lidar_size() const {
  1280. return wj_lidar_.size();
  1281. }
  1282. inline int wjManagerParams::wj_lidar_size() const {
  1283. return _internal_wj_lidar_size();
  1284. }
  1285. inline void wjManagerParams::clear_wj_lidar() {
  1286. wj_lidar_.Clear();
  1287. }
  1288. inline ::wj::wjLidarParams* wjManagerParams::mutable_wj_lidar(int index) {
  1289. // @@protoc_insertion_point(field_mutable:wj.wjManagerParams.wj_lidar)
  1290. return wj_lidar_.Mutable(index);
  1291. }
  1292. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::wj::wjLidarParams >*
  1293. wjManagerParams::mutable_wj_lidar() {
  1294. // @@protoc_insertion_point(field_mutable_list:wj.wjManagerParams.wj_lidar)
  1295. return &wj_lidar_;
  1296. }
  1297. inline const ::wj::wjLidarParams& wjManagerParams::_internal_wj_lidar(int index) const {
  1298. return wj_lidar_.Get(index);
  1299. }
  1300. inline const ::wj::wjLidarParams& wjManagerParams::wj_lidar(int index) const {
  1301. // @@protoc_insertion_point(field_get:wj.wjManagerParams.wj_lidar)
  1302. return _internal_wj_lidar(index);
  1303. }
  1304. inline ::wj::wjLidarParams* wjManagerParams::_internal_add_wj_lidar() {
  1305. return wj_lidar_.Add();
  1306. }
  1307. inline ::wj::wjLidarParams* wjManagerParams::add_wj_lidar() {
  1308. // @@protoc_insertion_point(field_add:wj.wjManagerParams.wj_lidar)
  1309. return _internal_add_wj_lidar();
  1310. }
  1311. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::wj::wjLidarParams >&
  1312. wjManagerParams::wj_lidar() const {
  1313. // @@protoc_insertion_point(field_list:wj.wjManagerParams.wj_lidar)
  1314. return wj_lidar_;
  1315. }
  1316. // repeated .wj.Region regions = 2;
  1317. inline int wjManagerParams::_internal_regions_size() const {
  1318. return regions_.size();
  1319. }
  1320. inline int wjManagerParams::regions_size() const {
  1321. return _internal_regions_size();
  1322. }
  1323. inline void wjManagerParams::clear_regions() {
  1324. regions_.Clear();
  1325. }
  1326. inline ::wj::Region* wjManagerParams::mutable_regions(int index) {
  1327. // @@protoc_insertion_point(field_mutable:wj.wjManagerParams.regions)
  1328. return regions_.Mutable(index);
  1329. }
  1330. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::wj::Region >*
  1331. wjManagerParams::mutable_regions() {
  1332. // @@protoc_insertion_point(field_mutable_list:wj.wjManagerParams.regions)
  1333. return &regions_;
  1334. }
  1335. inline const ::wj::Region& wjManagerParams::_internal_regions(int index) const {
  1336. return regions_.Get(index);
  1337. }
  1338. inline const ::wj::Region& wjManagerParams::regions(int index) const {
  1339. // @@protoc_insertion_point(field_get:wj.wjManagerParams.regions)
  1340. return _internal_regions(index);
  1341. }
  1342. inline ::wj::Region* wjManagerParams::_internal_add_regions() {
  1343. return regions_.Add();
  1344. }
  1345. inline ::wj::Region* wjManagerParams::add_regions() {
  1346. // @@protoc_insertion_point(field_add:wj.wjManagerParams.regions)
  1347. return _internal_add_regions();
  1348. }
  1349. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::wj::Region >&
  1350. wjManagerParams::regions() const {
  1351. // @@protoc_insertion_point(field_list:wj.wjManagerParams.regions)
  1352. return regions_;
  1353. }
  1354. // optional string fence_data_path = 3 [default = ""];
  1355. inline bool wjManagerParams::_internal_has_fence_data_path() const {
  1356. bool value = (_has_bits_[0] & 0x00000001u) != 0;
  1357. return value;
  1358. }
  1359. inline bool wjManagerParams::has_fence_data_path() const {
  1360. return _internal_has_fence_data_path();
  1361. }
  1362. inline void wjManagerParams::clear_fence_data_path() {
  1363. fence_data_path_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
  1364. _has_bits_[0] &= ~0x00000001u;
  1365. }
  1366. inline const std::string& wjManagerParams::fence_data_path() const {
  1367. // @@protoc_insertion_point(field_get:wj.wjManagerParams.fence_data_path)
  1368. return _internal_fence_data_path();
  1369. }
  1370. inline void wjManagerParams::set_fence_data_path(const std::string& value) {
  1371. _internal_set_fence_data_path(value);
  1372. // @@protoc_insertion_point(field_set:wj.wjManagerParams.fence_data_path)
  1373. }
  1374. inline std::string* wjManagerParams::mutable_fence_data_path() {
  1375. // @@protoc_insertion_point(field_mutable:wj.wjManagerParams.fence_data_path)
  1376. return _internal_mutable_fence_data_path();
  1377. }
  1378. inline const std::string& wjManagerParams::_internal_fence_data_path() const {
  1379. return fence_data_path_.Get();
  1380. }
  1381. inline void wjManagerParams::_internal_set_fence_data_path(const std::string& value) {
  1382. _has_bits_[0] |= 0x00000001u;
  1383. fence_data_path_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena());
  1384. }
  1385. inline void wjManagerParams::set_fence_data_path(std::string&& value) {
  1386. _has_bits_[0] |= 0x00000001u;
  1387. fence_data_path_.Set(
  1388. &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena());
  1389. // @@protoc_insertion_point(field_set_rvalue:wj.wjManagerParams.fence_data_path)
  1390. }
  1391. inline void wjManagerParams::set_fence_data_path(const char* value) {
  1392. GOOGLE_DCHECK(value != nullptr);
  1393. _has_bits_[0] |= 0x00000001u;
  1394. fence_data_path_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
  1395. GetArena());
  1396. // @@protoc_insertion_point(field_set_char:wj.wjManagerParams.fence_data_path)
  1397. }
  1398. inline void wjManagerParams::set_fence_data_path(const char* value,
  1399. size_t size) {
  1400. _has_bits_[0] |= 0x00000001u;
  1401. fence_data_path_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(
  1402. reinterpret_cast<const char*>(value), size), GetArena());
  1403. // @@protoc_insertion_point(field_set_pointer:wj.wjManagerParams.fence_data_path)
  1404. }
  1405. inline std::string* wjManagerParams::_internal_mutable_fence_data_path() {
  1406. _has_bits_[0] |= 0x00000001u;
  1407. return fence_data_path_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
  1408. }
  1409. inline std::string* wjManagerParams::release_fence_data_path() {
  1410. // @@protoc_insertion_point(field_release:wj.wjManagerParams.fence_data_path)
  1411. if (!_internal_has_fence_data_path()) {
  1412. return nullptr;
  1413. }
  1414. _has_bits_[0] &= ~0x00000001u;
  1415. return fence_data_path_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
  1416. }
  1417. inline void wjManagerParams::set_allocated_fence_data_path(std::string* fence_data_path) {
  1418. if (fence_data_path != nullptr) {
  1419. _has_bits_[0] |= 0x00000001u;
  1420. } else {
  1421. _has_bits_[0] &= ~0x00000001u;
  1422. }
  1423. fence_data_path_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), fence_data_path,
  1424. GetArena());
  1425. // @@protoc_insertion_point(field_set_allocated:wj.wjManagerParams.fence_data_path)
  1426. }
  1427. // optional string fence_log_path = 4 [default = ""];
  1428. inline bool wjManagerParams::_internal_has_fence_log_path() const {
  1429. bool value = (_has_bits_[0] & 0x00000002u) != 0;
  1430. return value;
  1431. }
  1432. inline bool wjManagerParams::has_fence_log_path() const {
  1433. return _internal_has_fence_log_path();
  1434. }
  1435. inline void wjManagerParams::clear_fence_log_path() {
  1436. fence_log_path_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
  1437. _has_bits_[0] &= ~0x00000002u;
  1438. }
  1439. inline const std::string& wjManagerParams::fence_log_path() const {
  1440. // @@protoc_insertion_point(field_get:wj.wjManagerParams.fence_log_path)
  1441. return _internal_fence_log_path();
  1442. }
  1443. inline void wjManagerParams::set_fence_log_path(const std::string& value) {
  1444. _internal_set_fence_log_path(value);
  1445. // @@protoc_insertion_point(field_set:wj.wjManagerParams.fence_log_path)
  1446. }
  1447. inline std::string* wjManagerParams::mutable_fence_log_path() {
  1448. // @@protoc_insertion_point(field_mutable:wj.wjManagerParams.fence_log_path)
  1449. return _internal_mutable_fence_log_path();
  1450. }
  1451. inline const std::string& wjManagerParams::_internal_fence_log_path() const {
  1452. return fence_log_path_.Get();
  1453. }
  1454. inline void wjManagerParams::_internal_set_fence_log_path(const std::string& value) {
  1455. _has_bits_[0] |= 0x00000002u;
  1456. fence_log_path_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena());
  1457. }
  1458. inline void wjManagerParams::set_fence_log_path(std::string&& value) {
  1459. _has_bits_[0] |= 0x00000002u;
  1460. fence_log_path_.Set(
  1461. &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena());
  1462. // @@protoc_insertion_point(field_set_rvalue:wj.wjManagerParams.fence_log_path)
  1463. }
  1464. inline void wjManagerParams::set_fence_log_path(const char* value) {
  1465. GOOGLE_DCHECK(value != nullptr);
  1466. _has_bits_[0] |= 0x00000002u;
  1467. fence_log_path_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
  1468. GetArena());
  1469. // @@protoc_insertion_point(field_set_char:wj.wjManagerParams.fence_log_path)
  1470. }
  1471. inline void wjManagerParams::set_fence_log_path(const char* value,
  1472. size_t size) {
  1473. _has_bits_[0] |= 0x00000002u;
  1474. fence_log_path_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(
  1475. reinterpret_cast<const char*>(value), size), GetArena());
  1476. // @@protoc_insertion_point(field_set_pointer:wj.wjManagerParams.fence_log_path)
  1477. }
  1478. inline std::string* wjManagerParams::_internal_mutable_fence_log_path() {
  1479. _has_bits_[0] |= 0x00000002u;
  1480. return fence_log_path_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
  1481. }
  1482. inline std::string* wjManagerParams::release_fence_log_path() {
  1483. // @@protoc_insertion_point(field_release:wj.wjManagerParams.fence_log_path)
  1484. if (!_internal_has_fence_log_path()) {
  1485. return nullptr;
  1486. }
  1487. _has_bits_[0] &= ~0x00000002u;
  1488. return fence_log_path_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
  1489. }
  1490. inline void wjManagerParams::set_allocated_fence_log_path(std::string* fence_log_path) {
  1491. if (fence_log_path != nullptr) {
  1492. _has_bits_[0] |= 0x00000002u;
  1493. } else {
  1494. _has_bits_[0] &= ~0x00000002u;
  1495. }
  1496. fence_log_path_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), fence_log_path,
  1497. GetArena());
  1498. // @@protoc_insertion_point(field_set_allocated:wj.wjManagerParams.fence_log_path)
  1499. }
  1500. // optional string plc_ip_address = 5 [default = "192.168.0.1"];
  1501. inline bool wjManagerParams::_internal_has_plc_ip_address() const {
  1502. bool value = (_has_bits_[0] & 0x00000004u) != 0;
  1503. return value;
  1504. }
  1505. inline bool wjManagerParams::has_plc_ip_address() const {
  1506. return _internal_has_plc_ip_address();
  1507. }
  1508. inline void wjManagerParams::clear_plc_ip_address() {
  1509. plc_ip_address_.ClearToDefault(&::wj::wjManagerParams::_i_give_permission_to_break_this_code_default_plc_ip_address_.get(), GetArena());
  1510. _has_bits_[0] &= ~0x00000004u;
  1511. }
  1512. inline const std::string& wjManagerParams::plc_ip_address() const {
  1513. // @@protoc_insertion_point(field_get:wj.wjManagerParams.plc_ip_address)
  1514. return _internal_plc_ip_address();
  1515. }
  1516. inline void wjManagerParams::set_plc_ip_address(const std::string& value) {
  1517. _internal_set_plc_ip_address(value);
  1518. // @@protoc_insertion_point(field_set:wj.wjManagerParams.plc_ip_address)
  1519. }
  1520. inline std::string* wjManagerParams::mutable_plc_ip_address() {
  1521. // @@protoc_insertion_point(field_mutable:wj.wjManagerParams.plc_ip_address)
  1522. return _internal_mutable_plc_ip_address();
  1523. }
  1524. inline const std::string& wjManagerParams::_internal_plc_ip_address() const {
  1525. return plc_ip_address_.Get();
  1526. }
  1527. inline void wjManagerParams::_internal_set_plc_ip_address(const std::string& value) {
  1528. _has_bits_[0] |= 0x00000004u;
  1529. plc_ip_address_.Set(&::wj::wjManagerParams::_i_give_permission_to_break_this_code_default_plc_ip_address_.get(), value, GetArena());
  1530. }
  1531. inline void wjManagerParams::set_plc_ip_address(std::string&& value) {
  1532. _has_bits_[0] |= 0x00000004u;
  1533. plc_ip_address_.Set(
  1534. &::wj::wjManagerParams::_i_give_permission_to_break_this_code_default_plc_ip_address_.get(), ::std::move(value), GetArena());
  1535. // @@protoc_insertion_point(field_set_rvalue:wj.wjManagerParams.plc_ip_address)
  1536. }
  1537. inline void wjManagerParams::set_plc_ip_address(const char* value) {
  1538. GOOGLE_DCHECK(value != nullptr);
  1539. _has_bits_[0] |= 0x00000004u;
  1540. plc_ip_address_.Set(&::wj::wjManagerParams::_i_give_permission_to_break_this_code_default_plc_ip_address_.get(), ::std::string(value),
  1541. GetArena());
  1542. // @@protoc_insertion_point(field_set_char:wj.wjManagerParams.plc_ip_address)
  1543. }
  1544. inline void wjManagerParams::set_plc_ip_address(const char* value,
  1545. size_t size) {
  1546. _has_bits_[0] |= 0x00000004u;
  1547. plc_ip_address_.Set(&::wj::wjManagerParams::_i_give_permission_to_break_this_code_default_plc_ip_address_.get(), ::std::string(
  1548. reinterpret_cast<const char*>(value), size), GetArena());
  1549. // @@protoc_insertion_point(field_set_pointer:wj.wjManagerParams.plc_ip_address)
  1550. }
  1551. inline std::string* wjManagerParams::_internal_mutable_plc_ip_address() {
  1552. _has_bits_[0] |= 0x00000004u;
  1553. return plc_ip_address_.Mutable(&::wj::wjManagerParams::_i_give_permission_to_break_this_code_default_plc_ip_address_.get(), GetArena());
  1554. }
  1555. inline std::string* wjManagerParams::release_plc_ip_address() {
  1556. // @@protoc_insertion_point(field_release:wj.wjManagerParams.plc_ip_address)
  1557. if (!_internal_has_plc_ip_address()) {
  1558. return nullptr;
  1559. }
  1560. _has_bits_[0] &= ~0x00000004u;
  1561. return plc_ip_address_.ReleaseNonDefault(&::wj::wjManagerParams::_i_give_permission_to_break_this_code_default_plc_ip_address_.get(), GetArena());
  1562. }
  1563. inline void wjManagerParams::set_allocated_plc_ip_address(std::string* plc_ip_address) {
  1564. if (plc_ip_address != nullptr) {
  1565. _has_bits_[0] |= 0x00000004u;
  1566. } else {
  1567. _has_bits_[0] &= ~0x00000004u;
  1568. }
  1569. plc_ip_address_.SetAllocated(&::wj::wjManagerParams::_i_give_permission_to_break_this_code_default_plc_ip_address_.get(), plc_ip_address,
  1570. GetArena());
  1571. // @@protoc_insertion_point(field_set_allocated:wj.wjManagerParams.plc_ip_address)
  1572. }
  1573. // -------------------------------------------------------------------
  1574. // Region
  1575. // required float minx = 1;
  1576. inline bool Region::_internal_has_minx() const {
  1577. bool value = (_has_bits_[0] & 0x00000001u) != 0;
  1578. return value;
  1579. }
  1580. inline bool Region::has_minx() const {
  1581. return _internal_has_minx();
  1582. }
  1583. inline void Region::clear_minx() {
  1584. minx_ = 0;
  1585. _has_bits_[0] &= ~0x00000001u;
  1586. }
  1587. inline float Region::_internal_minx() const {
  1588. return minx_;
  1589. }
  1590. inline float Region::minx() const {
  1591. // @@protoc_insertion_point(field_get:wj.Region.minx)
  1592. return _internal_minx();
  1593. }
  1594. inline void Region::_internal_set_minx(float value) {
  1595. _has_bits_[0] |= 0x00000001u;
  1596. minx_ = value;
  1597. }
  1598. inline void Region::set_minx(float value) {
  1599. _internal_set_minx(value);
  1600. // @@protoc_insertion_point(field_set:wj.Region.minx)
  1601. }
  1602. // required float maxx = 2;
  1603. inline bool Region::_internal_has_maxx() const {
  1604. bool value = (_has_bits_[0] & 0x00000002u) != 0;
  1605. return value;
  1606. }
  1607. inline bool Region::has_maxx() const {
  1608. return _internal_has_maxx();
  1609. }
  1610. inline void Region::clear_maxx() {
  1611. maxx_ = 0;
  1612. _has_bits_[0] &= ~0x00000002u;
  1613. }
  1614. inline float Region::_internal_maxx() const {
  1615. return maxx_;
  1616. }
  1617. inline float Region::maxx() const {
  1618. // @@protoc_insertion_point(field_get:wj.Region.maxx)
  1619. return _internal_maxx();
  1620. }
  1621. inline void Region::_internal_set_maxx(float value) {
  1622. _has_bits_[0] |= 0x00000002u;
  1623. maxx_ = value;
  1624. }
  1625. inline void Region::set_maxx(float value) {
  1626. _internal_set_maxx(value);
  1627. // @@protoc_insertion_point(field_set:wj.Region.maxx)
  1628. }
  1629. // required float miny = 3;
  1630. inline bool Region::_internal_has_miny() const {
  1631. bool value = (_has_bits_[0] & 0x00000004u) != 0;
  1632. return value;
  1633. }
  1634. inline bool Region::has_miny() const {
  1635. return _internal_has_miny();
  1636. }
  1637. inline void Region::clear_miny() {
  1638. miny_ = 0;
  1639. _has_bits_[0] &= ~0x00000004u;
  1640. }
  1641. inline float Region::_internal_miny() const {
  1642. return miny_;
  1643. }
  1644. inline float Region::miny() const {
  1645. // @@protoc_insertion_point(field_get:wj.Region.miny)
  1646. return _internal_miny();
  1647. }
  1648. inline void Region::_internal_set_miny(float value) {
  1649. _has_bits_[0] |= 0x00000004u;
  1650. miny_ = value;
  1651. }
  1652. inline void Region::set_miny(float value) {
  1653. _internal_set_miny(value);
  1654. // @@protoc_insertion_point(field_set:wj.Region.miny)
  1655. }
  1656. // required float maxy = 4;
  1657. inline bool Region::_internal_has_maxy() const {
  1658. bool value = (_has_bits_[0] & 0x00000008u) != 0;
  1659. return value;
  1660. }
  1661. inline bool Region::has_maxy() const {
  1662. return _internal_has_maxy();
  1663. }
  1664. inline void Region::clear_maxy() {
  1665. maxy_ = 0;
  1666. _has_bits_[0] &= ~0x00000008u;
  1667. }
  1668. inline float Region::_internal_maxy() const {
  1669. return maxy_;
  1670. }
  1671. inline float Region::maxy() const {
  1672. // @@protoc_insertion_point(field_get:wj.Region.maxy)
  1673. return _internal_maxy();
  1674. }
  1675. inline void Region::_internal_set_maxy(float value) {
  1676. _has_bits_[0] |= 0x00000008u;
  1677. maxy_ = value;
  1678. }
  1679. inline void Region::set_maxy(float value) {
  1680. _internal_set_maxy(value);
  1681. // @@protoc_insertion_point(field_set:wj.Region.maxy)
  1682. }
  1683. // -------------------------------------------------------------------
  1684. // wjLidarParams
  1685. // optional float angle_min = 1 [default = -2.3561945];
  1686. inline bool wjLidarParams::_internal_has_angle_min() const {
  1687. bool value = (_has_bits_[0] & 0x00000020u) != 0;
  1688. return value;
  1689. }
  1690. inline bool wjLidarParams::has_angle_min() const {
  1691. return _internal_has_angle_min();
  1692. }
  1693. inline void wjLidarParams::clear_angle_min() {
  1694. angle_min_ = -2.3561945f;
  1695. _has_bits_[0] &= ~0x00000020u;
  1696. }
  1697. inline float wjLidarParams::_internal_angle_min() const {
  1698. return angle_min_;
  1699. }
  1700. inline float wjLidarParams::angle_min() const {
  1701. // @@protoc_insertion_point(field_get:wj.wjLidarParams.angle_min)
  1702. return _internal_angle_min();
  1703. }
  1704. inline void wjLidarParams::_internal_set_angle_min(float value) {
  1705. _has_bits_[0] |= 0x00000020u;
  1706. angle_min_ = value;
  1707. }
  1708. inline void wjLidarParams::set_angle_min(float value) {
  1709. _internal_set_angle_min(value);
  1710. // @@protoc_insertion_point(field_set:wj.wjLidarParams.angle_min)
  1711. }
  1712. // optional float angle_max = 2 [default = 2.3561945];
  1713. inline bool wjLidarParams::_internal_has_angle_max() const {
  1714. bool value = (_has_bits_[0] & 0x00000040u) != 0;
  1715. return value;
  1716. }
  1717. inline bool wjLidarParams::has_angle_max() const {
  1718. return _internal_has_angle_max();
  1719. }
  1720. inline void wjLidarParams::clear_angle_max() {
  1721. angle_max_ = 2.3561945f;
  1722. _has_bits_[0] &= ~0x00000040u;
  1723. }
  1724. inline float wjLidarParams::_internal_angle_max() const {
  1725. return angle_max_;
  1726. }
  1727. inline float wjLidarParams::angle_max() const {
  1728. // @@protoc_insertion_point(field_get:wj.wjLidarParams.angle_max)
  1729. return _internal_angle_max();
  1730. }
  1731. inline void wjLidarParams::_internal_set_angle_max(float value) {
  1732. _has_bits_[0] |= 0x00000040u;
  1733. angle_max_ = value;
  1734. }
  1735. inline void wjLidarParams::set_angle_max(float value) {
  1736. _internal_set_angle_max(value);
  1737. // @@protoc_insertion_point(field_set:wj.wjLidarParams.angle_max)
  1738. }
  1739. // optional float angle_increment = 3 [default = 0.00582];
  1740. inline bool wjLidarParams::_internal_has_angle_increment() const {
  1741. bool value = (_has_bits_[0] & 0x00000080u) != 0;
  1742. return value;
  1743. }
  1744. inline bool wjLidarParams::has_angle_increment() const {
  1745. return _internal_has_angle_increment();
  1746. }
  1747. inline void wjLidarParams::clear_angle_increment() {
  1748. angle_increment_ = 0.00582f;
  1749. _has_bits_[0] &= ~0x00000080u;
  1750. }
  1751. inline float wjLidarParams::_internal_angle_increment() const {
  1752. return angle_increment_;
  1753. }
  1754. inline float wjLidarParams::angle_increment() const {
  1755. // @@protoc_insertion_point(field_get:wj.wjLidarParams.angle_increment)
  1756. return _internal_angle_increment();
  1757. }
  1758. inline void wjLidarParams::_internal_set_angle_increment(float value) {
  1759. _has_bits_[0] |= 0x00000080u;
  1760. angle_increment_ = value;
  1761. }
  1762. inline void wjLidarParams::set_angle_increment(float value) {
  1763. _internal_set_angle_increment(value);
  1764. // @@protoc_insertion_point(field_set:wj.wjLidarParams.angle_increment)
  1765. }
  1766. // optional float time_increment = 4 [default = 6.2e-05];
  1767. inline bool wjLidarParams::_internal_has_time_increment() const {
  1768. bool value = (_has_bits_[0] & 0x00000100u) != 0;
  1769. return value;
  1770. }
  1771. inline bool wjLidarParams::has_time_increment() const {
  1772. return _internal_has_time_increment();
  1773. }
  1774. inline void wjLidarParams::clear_time_increment() {
  1775. time_increment_ = 6.2e-05f;
  1776. _has_bits_[0] &= ~0x00000100u;
  1777. }
  1778. inline float wjLidarParams::_internal_time_increment() const {
  1779. return time_increment_;
  1780. }
  1781. inline float wjLidarParams::time_increment() const {
  1782. // @@protoc_insertion_point(field_get:wj.wjLidarParams.time_increment)
  1783. return _internal_time_increment();
  1784. }
  1785. inline void wjLidarParams::_internal_set_time_increment(float value) {
  1786. _has_bits_[0] |= 0x00000100u;
  1787. time_increment_ = value;
  1788. }
  1789. inline void wjLidarParams::set_time_increment(float value) {
  1790. _internal_set_time_increment(value);
  1791. // @@protoc_insertion_point(field_set:wj.wjLidarParams.time_increment)
  1792. }
  1793. // optional int32 range_min = 5 [default = 0];
  1794. inline bool wjLidarParams::_internal_has_range_min() const {
  1795. bool value = (_has_bits_[0] & 0x00000008u) != 0;
  1796. return value;
  1797. }
  1798. inline bool wjLidarParams::has_range_min() const {
  1799. return _internal_has_range_min();
  1800. }
  1801. inline void wjLidarParams::clear_range_min() {
  1802. range_min_ = 0;
  1803. _has_bits_[0] &= ~0x00000008u;
  1804. }
  1805. inline ::PROTOBUF_NAMESPACE_ID::int32 wjLidarParams::_internal_range_min() const {
  1806. return range_min_;
  1807. }
  1808. inline ::PROTOBUF_NAMESPACE_ID::int32 wjLidarParams::range_min() const {
  1809. // @@protoc_insertion_point(field_get:wj.wjLidarParams.range_min)
  1810. return _internal_range_min();
  1811. }
  1812. inline void wjLidarParams::_internal_set_range_min(::PROTOBUF_NAMESPACE_ID::int32 value) {
  1813. _has_bits_[0] |= 0x00000008u;
  1814. range_min_ = value;
  1815. }
  1816. inline void wjLidarParams::set_range_min(::PROTOBUF_NAMESPACE_ID::int32 value) {
  1817. _internal_set_range_min(value);
  1818. // @@protoc_insertion_point(field_set:wj.wjLidarParams.range_min)
  1819. }
  1820. // optional int32 range_max = 6 [default = 30];
  1821. inline bool wjLidarParams::_internal_has_range_max() const {
  1822. bool value = (_has_bits_[0] & 0x00000010u) != 0;
  1823. return value;
  1824. }
  1825. inline bool wjLidarParams::has_range_max() const {
  1826. return _internal_has_range_max();
  1827. }
  1828. inline void wjLidarParams::clear_range_max() {
  1829. range_max_ = 30;
  1830. _has_bits_[0] &= ~0x00000010u;
  1831. }
  1832. inline ::PROTOBUF_NAMESPACE_ID::int32 wjLidarParams::_internal_range_max() const {
  1833. return range_max_;
  1834. }
  1835. inline ::PROTOBUF_NAMESPACE_ID::int32 wjLidarParams::range_max() const {
  1836. // @@protoc_insertion_point(field_get:wj.wjLidarParams.range_max)
  1837. return _internal_range_max();
  1838. }
  1839. inline void wjLidarParams::_internal_set_range_max(::PROTOBUF_NAMESPACE_ID::int32 value) {
  1840. _has_bits_[0] |= 0x00000010u;
  1841. range_max_ = value;
  1842. }
  1843. inline void wjLidarParams::set_range_max(::PROTOBUF_NAMESPACE_ID::int32 value) {
  1844. _internal_set_range_max(value);
  1845. // @@protoc_insertion_point(field_set:wj.wjLidarParams.range_max)
  1846. }
  1847. // required .wj.netConfig net_config = 7;
  1848. inline bool wjLidarParams::_internal_has_net_config() const {
  1849. bool value = (_has_bits_[0] & 0x00000001u) != 0;
  1850. PROTOBUF_ASSUME(!value || net_config_ != nullptr);
  1851. return value;
  1852. }
  1853. inline bool wjLidarParams::has_net_config() const {
  1854. return _internal_has_net_config();
  1855. }
  1856. inline void wjLidarParams::clear_net_config() {
  1857. if (net_config_ != nullptr) net_config_->Clear();
  1858. _has_bits_[0] &= ~0x00000001u;
  1859. }
  1860. inline const ::wj::netConfig& wjLidarParams::_internal_net_config() const {
  1861. const ::wj::netConfig* p = net_config_;
  1862. return p != nullptr ? *p : *reinterpret_cast<const ::wj::netConfig*>(
  1863. &::wj::_netConfig_default_instance_);
  1864. }
  1865. inline const ::wj::netConfig& wjLidarParams::net_config() const {
  1866. // @@protoc_insertion_point(field_get:wj.wjLidarParams.net_config)
  1867. return _internal_net_config();
  1868. }
  1869. inline void wjLidarParams::unsafe_arena_set_allocated_net_config(
  1870. ::wj::netConfig* net_config) {
  1871. if (GetArena() == nullptr) {
  1872. delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(net_config_);
  1873. }
  1874. net_config_ = net_config;
  1875. if (net_config) {
  1876. _has_bits_[0] |= 0x00000001u;
  1877. } else {
  1878. _has_bits_[0] &= ~0x00000001u;
  1879. }
  1880. // @@protoc_insertion_point(field_unsafe_arena_set_allocated:wj.wjLidarParams.net_config)
  1881. }
  1882. inline ::wj::netConfig* wjLidarParams::release_net_config() {
  1883. _has_bits_[0] &= ~0x00000001u;
  1884. ::wj::netConfig* temp = net_config_;
  1885. net_config_ = nullptr;
  1886. if (GetArena() != nullptr) {
  1887. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  1888. }
  1889. return temp;
  1890. }
  1891. inline ::wj::netConfig* wjLidarParams::unsafe_arena_release_net_config() {
  1892. // @@protoc_insertion_point(field_release:wj.wjLidarParams.net_config)
  1893. _has_bits_[0] &= ~0x00000001u;
  1894. ::wj::netConfig* temp = net_config_;
  1895. net_config_ = nullptr;
  1896. return temp;
  1897. }
  1898. inline ::wj::netConfig* wjLidarParams::_internal_mutable_net_config() {
  1899. _has_bits_[0] |= 0x00000001u;
  1900. if (net_config_ == nullptr) {
  1901. auto* p = CreateMaybeMessage<::wj::netConfig>(GetArena());
  1902. net_config_ = p;
  1903. }
  1904. return net_config_;
  1905. }
  1906. inline ::wj::netConfig* wjLidarParams::mutable_net_config() {
  1907. // @@protoc_insertion_point(field_mutable:wj.wjLidarParams.net_config)
  1908. return _internal_mutable_net_config();
  1909. }
  1910. inline void wjLidarParams::set_allocated_net_config(::wj::netConfig* net_config) {
  1911. ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
  1912. if (message_arena == nullptr) {
  1913. delete net_config_;
  1914. }
  1915. if (net_config) {
  1916. ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
  1917. ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(net_config);
  1918. if (message_arena != submessage_arena) {
  1919. net_config = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
  1920. message_arena, net_config, submessage_arena);
  1921. }
  1922. _has_bits_[0] |= 0x00000001u;
  1923. } else {
  1924. _has_bits_[0] &= ~0x00000001u;
  1925. }
  1926. net_config_ = net_config;
  1927. // @@protoc_insertion_point(field_set_allocated:wj.wjLidarParams.net_config)
  1928. }
  1929. // required .wj.Transform2d transform = 8;
  1930. inline bool wjLidarParams::_internal_has_transform() const {
  1931. bool value = (_has_bits_[0] & 0x00000002u) != 0;
  1932. PROTOBUF_ASSUME(!value || transform_ != nullptr);
  1933. return value;
  1934. }
  1935. inline bool wjLidarParams::has_transform() const {
  1936. return _internal_has_transform();
  1937. }
  1938. inline void wjLidarParams::clear_transform() {
  1939. if (transform_ != nullptr) transform_->Clear();
  1940. _has_bits_[0] &= ~0x00000002u;
  1941. }
  1942. inline const ::wj::Transform2d& wjLidarParams::_internal_transform() const {
  1943. const ::wj::Transform2d* p = transform_;
  1944. return p != nullptr ? *p : *reinterpret_cast<const ::wj::Transform2d*>(
  1945. &::wj::_Transform2d_default_instance_);
  1946. }
  1947. inline const ::wj::Transform2d& wjLidarParams::transform() const {
  1948. // @@protoc_insertion_point(field_get:wj.wjLidarParams.transform)
  1949. return _internal_transform();
  1950. }
  1951. inline void wjLidarParams::unsafe_arena_set_allocated_transform(
  1952. ::wj::Transform2d* transform) {
  1953. if (GetArena() == nullptr) {
  1954. delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(transform_);
  1955. }
  1956. transform_ = transform;
  1957. if (transform) {
  1958. _has_bits_[0] |= 0x00000002u;
  1959. } else {
  1960. _has_bits_[0] &= ~0x00000002u;
  1961. }
  1962. // @@protoc_insertion_point(field_unsafe_arena_set_allocated:wj.wjLidarParams.transform)
  1963. }
  1964. inline ::wj::Transform2d* wjLidarParams::release_transform() {
  1965. _has_bits_[0] &= ~0x00000002u;
  1966. ::wj::Transform2d* temp = transform_;
  1967. transform_ = nullptr;
  1968. if (GetArena() != nullptr) {
  1969. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  1970. }
  1971. return temp;
  1972. }
  1973. inline ::wj::Transform2d* wjLidarParams::unsafe_arena_release_transform() {
  1974. // @@protoc_insertion_point(field_release:wj.wjLidarParams.transform)
  1975. _has_bits_[0] &= ~0x00000002u;
  1976. ::wj::Transform2d* temp = transform_;
  1977. transform_ = nullptr;
  1978. return temp;
  1979. }
  1980. inline ::wj::Transform2d* wjLidarParams::_internal_mutable_transform() {
  1981. _has_bits_[0] |= 0x00000002u;
  1982. if (transform_ == nullptr) {
  1983. auto* p = CreateMaybeMessage<::wj::Transform2d>(GetArena());
  1984. transform_ = p;
  1985. }
  1986. return transform_;
  1987. }
  1988. inline ::wj::Transform2d* wjLidarParams::mutable_transform() {
  1989. // @@protoc_insertion_point(field_mutable:wj.wjLidarParams.transform)
  1990. return _internal_mutable_transform();
  1991. }
  1992. inline void wjLidarParams::set_allocated_transform(::wj::Transform2d* transform) {
  1993. ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
  1994. if (message_arena == nullptr) {
  1995. delete transform_;
  1996. }
  1997. if (transform) {
  1998. ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
  1999. ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(transform);
  2000. if (message_arena != submessage_arena) {
  2001. transform = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
  2002. message_arena, transform, submessage_arena);
  2003. }
  2004. _has_bits_[0] |= 0x00000002u;
  2005. } else {
  2006. _has_bits_[0] &= ~0x00000002u;
  2007. }
  2008. transform_ = transform;
  2009. // @@protoc_insertion_point(field_set_allocated:wj.wjLidarParams.transform)
  2010. }
  2011. // required .wj.scanLimit scan_limit = 9;
  2012. inline bool wjLidarParams::_internal_has_scan_limit() const {
  2013. bool value = (_has_bits_[0] & 0x00000004u) != 0;
  2014. PROTOBUF_ASSUME(!value || scan_limit_ != nullptr);
  2015. return value;
  2016. }
  2017. inline bool wjLidarParams::has_scan_limit() const {
  2018. return _internal_has_scan_limit();
  2019. }
  2020. inline void wjLidarParams::clear_scan_limit() {
  2021. if (scan_limit_ != nullptr) scan_limit_->Clear();
  2022. _has_bits_[0] &= ~0x00000004u;
  2023. }
  2024. inline const ::wj::scanLimit& wjLidarParams::_internal_scan_limit() const {
  2025. const ::wj::scanLimit* p = scan_limit_;
  2026. return p != nullptr ? *p : *reinterpret_cast<const ::wj::scanLimit*>(
  2027. &::wj::_scanLimit_default_instance_);
  2028. }
  2029. inline const ::wj::scanLimit& wjLidarParams::scan_limit() const {
  2030. // @@protoc_insertion_point(field_get:wj.wjLidarParams.scan_limit)
  2031. return _internal_scan_limit();
  2032. }
  2033. inline void wjLidarParams::unsafe_arena_set_allocated_scan_limit(
  2034. ::wj::scanLimit* scan_limit) {
  2035. if (GetArena() == nullptr) {
  2036. delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(scan_limit_);
  2037. }
  2038. scan_limit_ = scan_limit;
  2039. if (scan_limit) {
  2040. _has_bits_[0] |= 0x00000004u;
  2041. } else {
  2042. _has_bits_[0] &= ~0x00000004u;
  2043. }
  2044. // @@protoc_insertion_point(field_unsafe_arena_set_allocated:wj.wjLidarParams.scan_limit)
  2045. }
  2046. inline ::wj::scanLimit* wjLidarParams::release_scan_limit() {
  2047. _has_bits_[0] &= ~0x00000004u;
  2048. ::wj::scanLimit* temp = scan_limit_;
  2049. scan_limit_ = nullptr;
  2050. if (GetArena() != nullptr) {
  2051. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  2052. }
  2053. return temp;
  2054. }
  2055. inline ::wj::scanLimit* wjLidarParams::unsafe_arena_release_scan_limit() {
  2056. // @@protoc_insertion_point(field_release:wj.wjLidarParams.scan_limit)
  2057. _has_bits_[0] &= ~0x00000004u;
  2058. ::wj::scanLimit* temp = scan_limit_;
  2059. scan_limit_ = nullptr;
  2060. return temp;
  2061. }
  2062. inline ::wj::scanLimit* wjLidarParams::_internal_mutable_scan_limit() {
  2063. _has_bits_[0] |= 0x00000004u;
  2064. if (scan_limit_ == nullptr) {
  2065. auto* p = CreateMaybeMessage<::wj::scanLimit>(GetArena());
  2066. scan_limit_ = p;
  2067. }
  2068. return scan_limit_;
  2069. }
  2070. inline ::wj::scanLimit* wjLidarParams::mutable_scan_limit() {
  2071. // @@protoc_insertion_point(field_mutable:wj.wjLidarParams.scan_limit)
  2072. return _internal_mutable_scan_limit();
  2073. }
  2074. inline void wjLidarParams::set_allocated_scan_limit(::wj::scanLimit* scan_limit) {
  2075. ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
  2076. if (message_arena == nullptr) {
  2077. delete scan_limit_;
  2078. }
  2079. if (scan_limit) {
  2080. ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
  2081. ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(scan_limit);
  2082. if (message_arena != submessage_arena) {
  2083. scan_limit = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
  2084. message_arena, scan_limit, submessage_arena);
  2085. }
  2086. _has_bits_[0] |= 0x00000004u;
  2087. } else {
  2088. _has_bits_[0] &= ~0x00000004u;
  2089. }
  2090. scan_limit_ = scan_limit;
  2091. // @@protoc_insertion_point(field_set_allocated:wj.wjLidarParams.scan_limit)
  2092. }
  2093. // -------------------------------------------------------------------
  2094. // netConfig
  2095. // optional string ip_address = 1 [default = ""];
  2096. inline bool netConfig::_internal_has_ip_address() const {
  2097. bool value = (_has_bits_[0] & 0x00000001u) != 0;
  2098. return value;
  2099. }
  2100. inline bool netConfig::has_ip_address() const {
  2101. return _internal_has_ip_address();
  2102. }
  2103. inline void netConfig::clear_ip_address() {
  2104. ip_address_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
  2105. _has_bits_[0] &= ~0x00000001u;
  2106. }
  2107. inline const std::string& netConfig::ip_address() const {
  2108. // @@protoc_insertion_point(field_get:wj.netConfig.ip_address)
  2109. return _internal_ip_address();
  2110. }
  2111. inline void netConfig::set_ip_address(const std::string& value) {
  2112. _internal_set_ip_address(value);
  2113. // @@protoc_insertion_point(field_set:wj.netConfig.ip_address)
  2114. }
  2115. inline std::string* netConfig::mutable_ip_address() {
  2116. // @@protoc_insertion_point(field_mutable:wj.netConfig.ip_address)
  2117. return _internal_mutable_ip_address();
  2118. }
  2119. inline const std::string& netConfig::_internal_ip_address() const {
  2120. return ip_address_.Get();
  2121. }
  2122. inline void netConfig::_internal_set_ip_address(const std::string& value) {
  2123. _has_bits_[0] |= 0x00000001u;
  2124. ip_address_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena());
  2125. }
  2126. inline void netConfig::set_ip_address(std::string&& value) {
  2127. _has_bits_[0] |= 0x00000001u;
  2128. ip_address_.Set(
  2129. &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena());
  2130. // @@protoc_insertion_point(field_set_rvalue:wj.netConfig.ip_address)
  2131. }
  2132. inline void netConfig::set_ip_address(const char* value) {
  2133. GOOGLE_DCHECK(value != nullptr);
  2134. _has_bits_[0] |= 0x00000001u;
  2135. ip_address_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
  2136. GetArena());
  2137. // @@protoc_insertion_point(field_set_char:wj.netConfig.ip_address)
  2138. }
  2139. inline void netConfig::set_ip_address(const char* value,
  2140. size_t size) {
  2141. _has_bits_[0] |= 0x00000001u;
  2142. ip_address_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(
  2143. reinterpret_cast<const char*>(value), size), GetArena());
  2144. // @@protoc_insertion_point(field_set_pointer:wj.netConfig.ip_address)
  2145. }
  2146. inline std::string* netConfig::_internal_mutable_ip_address() {
  2147. _has_bits_[0] |= 0x00000001u;
  2148. return ip_address_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
  2149. }
  2150. inline std::string* netConfig::release_ip_address() {
  2151. // @@protoc_insertion_point(field_release:wj.netConfig.ip_address)
  2152. if (!_internal_has_ip_address()) {
  2153. return nullptr;
  2154. }
  2155. _has_bits_[0] &= ~0x00000001u;
  2156. return ip_address_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
  2157. }
  2158. inline void netConfig::set_allocated_ip_address(std::string* ip_address) {
  2159. if (ip_address != nullptr) {
  2160. _has_bits_[0] |= 0x00000001u;
  2161. } else {
  2162. _has_bits_[0] &= ~0x00000001u;
  2163. }
  2164. ip_address_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ip_address,
  2165. GetArena());
  2166. // @@protoc_insertion_point(field_set_allocated:wj.netConfig.ip_address)
  2167. }
  2168. // optional int32 port = 2 [default = 8000];
  2169. inline bool netConfig::_internal_has_port() const {
  2170. bool value = (_has_bits_[0] & 0x00000002u) != 0;
  2171. return value;
  2172. }
  2173. inline bool netConfig::has_port() const {
  2174. return _internal_has_port();
  2175. }
  2176. inline void netConfig::clear_port() {
  2177. port_ = 8000;
  2178. _has_bits_[0] &= ~0x00000002u;
  2179. }
  2180. inline ::PROTOBUF_NAMESPACE_ID::int32 netConfig::_internal_port() const {
  2181. return port_;
  2182. }
  2183. inline ::PROTOBUF_NAMESPACE_ID::int32 netConfig::port() const {
  2184. // @@protoc_insertion_point(field_get:wj.netConfig.port)
  2185. return _internal_port();
  2186. }
  2187. inline void netConfig::_internal_set_port(::PROTOBUF_NAMESPACE_ID::int32 value) {
  2188. _has_bits_[0] |= 0x00000002u;
  2189. port_ = value;
  2190. }
  2191. inline void netConfig::set_port(::PROTOBUF_NAMESPACE_ID::int32 value) {
  2192. _internal_set_port(value);
  2193. // @@protoc_insertion_point(field_set:wj.netConfig.port)
  2194. }
  2195. // -------------------------------------------------------------------
  2196. // Transform2d
  2197. // optional float m00 = 1 [default = 1];
  2198. inline bool Transform2d::_internal_has_m00() const {
  2199. bool value = (_has_bits_[0] & 0x00000010u) != 0;
  2200. return value;
  2201. }
  2202. inline bool Transform2d::has_m00() const {
  2203. return _internal_has_m00();
  2204. }
  2205. inline void Transform2d::clear_m00() {
  2206. m00_ = 1;
  2207. _has_bits_[0] &= ~0x00000010u;
  2208. }
  2209. inline float Transform2d::_internal_m00() const {
  2210. return m00_;
  2211. }
  2212. inline float Transform2d::m00() const {
  2213. // @@protoc_insertion_point(field_get:wj.Transform2d.m00)
  2214. return _internal_m00();
  2215. }
  2216. inline void Transform2d::_internal_set_m00(float value) {
  2217. _has_bits_[0] |= 0x00000010u;
  2218. m00_ = value;
  2219. }
  2220. inline void Transform2d::set_m00(float value) {
  2221. _internal_set_m00(value);
  2222. // @@protoc_insertion_point(field_set:wj.Transform2d.m00)
  2223. }
  2224. // optional float m01 = 2 [default = 0];
  2225. inline bool Transform2d::_internal_has_m01() const {
  2226. bool value = (_has_bits_[0] & 0x00000001u) != 0;
  2227. return value;
  2228. }
  2229. inline bool Transform2d::has_m01() const {
  2230. return _internal_has_m01();
  2231. }
  2232. inline void Transform2d::clear_m01() {
  2233. m01_ = 0;
  2234. _has_bits_[0] &= ~0x00000001u;
  2235. }
  2236. inline float Transform2d::_internal_m01() const {
  2237. return m01_;
  2238. }
  2239. inline float Transform2d::m01() const {
  2240. // @@protoc_insertion_point(field_get:wj.Transform2d.m01)
  2241. return _internal_m01();
  2242. }
  2243. inline void Transform2d::_internal_set_m01(float value) {
  2244. _has_bits_[0] |= 0x00000001u;
  2245. m01_ = value;
  2246. }
  2247. inline void Transform2d::set_m01(float value) {
  2248. _internal_set_m01(value);
  2249. // @@protoc_insertion_point(field_set:wj.Transform2d.m01)
  2250. }
  2251. // optional float m02 = 3 [default = 0];
  2252. inline bool Transform2d::_internal_has_m02() const {
  2253. bool value = (_has_bits_[0] & 0x00000002u) != 0;
  2254. return value;
  2255. }
  2256. inline bool Transform2d::has_m02() const {
  2257. return _internal_has_m02();
  2258. }
  2259. inline void Transform2d::clear_m02() {
  2260. m02_ = 0;
  2261. _has_bits_[0] &= ~0x00000002u;
  2262. }
  2263. inline float Transform2d::_internal_m02() const {
  2264. return m02_;
  2265. }
  2266. inline float Transform2d::m02() const {
  2267. // @@protoc_insertion_point(field_get:wj.Transform2d.m02)
  2268. return _internal_m02();
  2269. }
  2270. inline void Transform2d::_internal_set_m02(float value) {
  2271. _has_bits_[0] |= 0x00000002u;
  2272. m02_ = value;
  2273. }
  2274. inline void Transform2d::set_m02(float value) {
  2275. _internal_set_m02(value);
  2276. // @@protoc_insertion_point(field_set:wj.Transform2d.m02)
  2277. }
  2278. // optional float m10 = 4 [default = 0];
  2279. inline bool Transform2d::_internal_has_m10() const {
  2280. bool value = (_has_bits_[0] & 0x00000004u) != 0;
  2281. return value;
  2282. }
  2283. inline bool Transform2d::has_m10() const {
  2284. return _internal_has_m10();
  2285. }
  2286. inline void Transform2d::clear_m10() {
  2287. m10_ = 0;
  2288. _has_bits_[0] &= ~0x00000004u;
  2289. }
  2290. inline float Transform2d::_internal_m10() const {
  2291. return m10_;
  2292. }
  2293. inline float Transform2d::m10() const {
  2294. // @@protoc_insertion_point(field_get:wj.Transform2d.m10)
  2295. return _internal_m10();
  2296. }
  2297. inline void Transform2d::_internal_set_m10(float value) {
  2298. _has_bits_[0] |= 0x00000004u;
  2299. m10_ = value;
  2300. }
  2301. inline void Transform2d::set_m10(float value) {
  2302. _internal_set_m10(value);
  2303. // @@protoc_insertion_point(field_set:wj.Transform2d.m10)
  2304. }
  2305. // optional float m11 = 5 [default = 1];
  2306. inline bool Transform2d::_internal_has_m11() const {
  2307. bool value = (_has_bits_[0] & 0x00000020u) != 0;
  2308. return value;
  2309. }
  2310. inline bool Transform2d::has_m11() const {
  2311. return _internal_has_m11();
  2312. }
  2313. inline void Transform2d::clear_m11() {
  2314. m11_ = 1;
  2315. _has_bits_[0] &= ~0x00000020u;
  2316. }
  2317. inline float Transform2d::_internal_m11() const {
  2318. return m11_;
  2319. }
  2320. inline float Transform2d::m11() const {
  2321. // @@protoc_insertion_point(field_get:wj.Transform2d.m11)
  2322. return _internal_m11();
  2323. }
  2324. inline void Transform2d::_internal_set_m11(float value) {
  2325. _has_bits_[0] |= 0x00000020u;
  2326. m11_ = value;
  2327. }
  2328. inline void Transform2d::set_m11(float value) {
  2329. _internal_set_m11(value);
  2330. // @@protoc_insertion_point(field_set:wj.Transform2d.m11)
  2331. }
  2332. // optional float m12 = 6 [default = 0];
  2333. inline bool Transform2d::_internal_has_m12() const {
  2334. bool value = (_has_bits_[0] & 0x00000008u) != 0;
  2335. return value;
  2336. }
  2337. inline bool Transform2d::has_m12() const {
  2338. return _internal_has_m12();
  2339. }
  2340. inline void Transform2d::clear_m12() {
  2341. m12_ = 0;
  2342. _has_bits_[0] &= ~0x00000008u;
  2343. }
  2344. inline float Transform2d::_internal_m12() const {
  2345. return m12_;
  2346. }
  2347. inline float Transform2d::m12() const {
  2348. // @@protoc_insertion_point(field_get:wj.Transform2d.m12)
  2349. return _internal_m12();
  2350. }
  2351. inline void Transform2d::_internal_set_m12(float value) {
  2352. _has_bits_[0] |= 0x00000008u;
  2353. m12_ = value;
  2354. }
  2355. inline void Transform2d::set_m12(float value) {
  2356. _internal_set_m12(value);
  2357. // @@protoc_insertion_point(field_set:wj.Transform2d.m12)
  2358. }
  2359. // -------------------------------------------------------------------
  2360. // scanLimit
  2361. // optional float dist_limit = 1 [default = 8];
  2362. inline bool scanLimit::_internal_has_dist_limit() const {
  2363. bool value = (_has_bits_[0] & 0x00000002u) != 0;
  2364. return value;
  2365. }
  2366. inline bool scanLimit::has_dist_limit() const {
  2367. return _internal_has_dist_limit();
  2368. }
  2369. inline void scanLimit::clear_dist_limit() {
  2370. dist_limit_ = 8;
  2371. _has_bits_[0] &= ~0x00000002u;
  2372. }
  2373. inline float scanLimit::_internal_dist_limit() const {
  2374. return dist_limit_;
  2375. }
  2376. inline float scanLimit::dist_limit() const {
  2377. // @@protoc_insertion_point(field_get:wj.scanLimit.dist_limit)
  2378. return _internal_dist_limit();
  2379. }
  2380. inline void scanLimit::_internal_set_dist_limit(float value) {
  2381. _has_bits_[0] |= 0x00000002u;
  2382. dist_limit_ = value;
  2383. }
  2384. inline void scanLimit::set_dist_limit(float value) {
  2385. _internal_set_dist_limit(value);
  2386. // @@protoc_insertion_point(field_set:wj.scanLimit.dist_limit)
  2387. }
  2388. // optional float minx = 2 [default = -6];
  2389. inline bool scanLimit::_internal_has_minx() const {
  2390. bool value = (_has_bits_[0] & 0x00000004u) != 0;
  2391. return value;
  2392. }
  2393. inline bool scanLimit::has_minx() const {
  2394. return _internal_has_minx();
  2395. }
  2396. inline void scanLimit::clear_minx() {
  2397. minx_ = -6;
  2398. _has_bits_[0] &= ~0x00000004u;
  2399. }
  2400. inline float scanLimit::_internal_minx() const {
  2401. return minx_;
  2402. }
  2403. inline float scanLimit::minx() const {
  2404. // @@protoc_insertion_point(field_get:wj.scanLimit.minx)
  2405. return _internal_minx();
  2406. }
  2407. inline void scanLimit::_internal_set_minx(float value) {
  2408. _has_bits_[0] |= 0x00000004u;
  2409. minx_ = value;
  2410. }
  2411. inline void scanLimit::set_minx(float value) {
  2412. _internal_set_minx(value);
  2413. // @@protoc_insertion_point(field_set:wj.scanLimit.minx)
  2414. }
  2415. // optional float maxx = 3 [default = -0.2];
  2416. inline bool scanLimit::_internal_has_maxx() const {
  2417. bool value = (_has_bits_[0] & 0x00000008u) != 0;
  2418. return value;
  2419. }
  2420. inline bool scanLimit::has_maxx() const {
  2421. return _internal_has_maxx();
  2422. }
  2423. inline void scanLimit::clear_maxx() {
  2424. maxx_ = -0.2f;
  2425. _has_bits_[0] &= ~0x00000008u;
  2426. }
  2427. inline float scanLimit::_internal_maxx() const {
  2428. return maxx_;
  2429. }
  2430. inline float scanLimit::maxx() const {
  2431. // @@protoc_insertion_point(field_get:wj.scanLimit.maxx)
  2432. return _internal_maxx();
  2433. }
  2434. inline void scanLimit::_internal_set_maxx(float value) {
  2435. _has_bits_[0] |= 0x00000008u;
  2436. maxx_ = value;
  2437. }
  2438. inline void scanLimit::set_maxx(float value) {
  2439. _internal_set_maxx(value);
  2440. // @@protoc_insertion_point(field_set:wj.scanLimit.maxx)
  2441. }
  2442. // optional float miny = 4 [default = -3.5];
  2443. inline bool scanLimit::_internal_has_miny() const {
  2444. bool value = (_has_bits_[0] & 0x00000010u) != 0;
  2445. return value;
  2446. }
  2447. inline bool scanLimit::has_miny() const {
  2448. return _internal_has_miny();
  2449. }
  2450. inline void scanLimit::clear_miny() {
  2451. miny_ = -3.5f;
  2452. _has_bits_[0] &= ~0x00000010u;
  2453. }
  2454. inline float scanLimit::_internal_miny() const {
  2455. return miny_;
  2456. }
  2457. inline float scanLimit::miny() const {
  2458. // @@protoc_insertion_point(field_get:wj.scanLimit.miny)
  2459. return _internal_miny();
  2460. }
  2461. inline void scanLimit::_internal_set_miny(float value) {
  2462. _has_bits_[0] |= 0x00000010u;
  2463. miny_ = value;
  2464. }
  2465. inline void scanLimit::set_miny(float value) {
  2466. _internal_set_miny(value);
  2467. // @@protoc_insertion_point(field_set:wj.scanLimit.miny)
  2468. }
  2469. // optional float maxy = 5 [default = 3.5];
  2470. inline bool scanLimit::_internal_has_maxy() const {
  2471. bool value = (_has_bits_[0] & 0x00000001u) != 0;
  2472. return value;
  2473. }
  2474. inline bool scanLimit::has_maxy() const {
  2475. return _internal_has_maxy();
  2476. }
  2477. inline void scanLimit::clear_maxy() {
  2478. maxy_ = 3.5f;
  2479. _has_bits_[0] &= ~0x00000001u;
  2480. }
  2481. inline float scanLimit::_internal_maxy() const {
  2482. return maxy_;
  2483. }
  2484. inline float scanLimit::maxy() const {
  2485. // @@protoc_insertion_point(field_get:wj.scanLimit.maxy)
  2486. return _internal_maxy();
  2487. }
  2488. inline void scanLimit::_internal_set_maxy(float value) {
  2489. _has_bits_[0] |= 0x00000001u;
  2490. maxy_ = value;
  2491. }
  2492. inline void scanLimit::set_maxy(float value) {
  2493. _internal_set_maxy(value);
  2494. // @@protoc_insertion_point(field_set:wj.scanLimit.maxy)
  2495. }
  2496. #ifdef __GNUC__
  2497. #pragma GCC diagnostic pop
  2498. #endif // __GNUC__
  2499. // -------------------------------------------------------------------
  2500. // -------------------------------------------------------------------
  2501. // -------------------------------------------------------------------
  2502. // -------------------------------------------------------------------
  2503. // -------------------------------------------------------------------
  2504. // @@protoc_insertion_point(namespace_scope)
  2505. } // namespace wj
  2506. // @@protoc_insertion_point(global_scope)
  2507. #include <google/protobuf/port_undef.inc>
  2508. #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_wj_5flidar_5fconf_2eproto