Terminor_parameter.pb.h 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564
  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // source: Terminor_parameter.proto
  3. #ifndef PROTOBUF_Terminor_5fparameter_2eproto__INCLUDED
  4. #define PROTOBUF_Terminor_5fparameter_2eproto__INCLUDED
  5. #include <string>
  6. #include <google/protobuf/stubs/common.h>
  7. #if GOOGLE_PROTOBUF_VERSION < 3005000
  8. #error This file was generated by a newer version of protoc which is
  9. #error incompatible with your Protocol Buffer headers. Please update
  10. #error your headers.
  11. #endif
  12. #if 3005000 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
  13. #error This file was generated by an older version of protoc which is
  14. #error incompatible with your Protocol Buffer headers. Please
  15. #error regenerate this file with a newer version of protoc.
  16. #endif
  17. #include <google/protobuf/io/coded_stream.h>
  18. #include <google/protobuf/arena.h>
  19. #include <google/protobuf/arenastring.h>
  20. #include <google/protobuf/generated_message_table_driven.h>
  21. #include <google/protobuf/generated_message_util.h>
  22. #include <google/protobuf/metadata.h>
  23. #include <google/protobuf/message.h>
  24. #include <google/protobuf/repeated_field.h> // IWYU pragma: export
  25. #include <google/protobuf/extension_set.h> // IWYU pragma: export
  26. #include <google/protobuf/unknown_field_set.h>
  27. // @@protoc_insertion_point(includes)
  28. namespace protobuf_Terminor_5fparameter_2eproto {
  29. // Internal implementation detail -- do not use these members.
  30. struct TableStruct {
  31. static const ::google::protobuf::internal::ParseTableField entries[];
  32. static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
  33. static const ::google::protobuf::internal::ParseTable schema[2];
  34. static const ::google::protobuf::internal::FieldMetadata field_metadata[];
  35. static const ::google::protobuf::internal::SerializationTable serialization_table[];
  36. static const ::google::protobuf::uint32 offsets[];
  37. };
  38. void AddDescriptors();
  39. void InitDefaultsArea3dImpl();
  40. void InitDefaultsArea3d();
  41. void InitDefaultsTerminor_parameterImpl();
  42. void InitDefaultsTerminor_parameter();
  43. inline void InitDefaults() {
  44. InitDefaultsArea3d();
  45. InitDefaultsTerminor_parameter();
  46. }
  47. } // namespace protobuf_Terminor_5fparameter_2eproto
  48. namespace LidarMeasure {
  49. class Area3d;
  50. class Area3dDefaultTypeInternal;
  51. extern Area3dDefaultTypeInternal _Area3d_default_instance_;
  52. class Terminor_parameter;
  53. class Terminor_parameterDefaultTypeInternal;
  54. extern Terminor_parameterDefaultTypeInternal _Terminor_parameter_default_instance_;
  55. } // namespace LidarMeasure
  56. namespace LidarMeasure {
  57. // ===================================================================
  58. class Area3d : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:LidarMeasure.Area3d) */ {
  59. public:
  60. Area3d();
  61. virtual ~Area3d();
  62. Area3d(const Area3d& from);
  63. inline Area3d& operator=(const Area3d& from) {
  64. CopyFrom(from);
  65. return *this;
  66. }
  67. #if LANG_CXX11
  68. Area3d(Area3d&& from) noexcept
  69. : Area3d() {
  70. *this = ::std::move(from);
  71. }
  72. inline Area3d& operator=(Area3d&& from) noexcept {
  73. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  74. if (this != &from) InternalSwap(&from);
  75. } else {
  76. CopyFrom(from);
  77. }
  78. return *this;
  79. }
  80. #endif
  81. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  82. return _internal_metadata_.unknown_fields();
  83. }
  84. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  85. return _internal_metadata_.mutable_unknown_fields();
  86. }
  87. static const ::google::protobuf::Descriptor* descriptor();
  88. static const Area3d& default_instance();
  89. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  90. static inline const Area3d* internal_default_instance() {
  91. return reinterpret_cast<const Area3d*>(
  92. &_Area3d_default_instance_);
  93. }
  94. static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
  95. 0;
  96. void Swap(Area3d* other);
  97. friend void swap(Area3d& a, Area3d& b) {
  98. a.Swap(&b);
  99. }
  100. // implements Message ----------------------------------------------
  101. inline Area3d* New() const PROTOBUF_FINAL { return New(NULL); }
  102. Area3d* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
  103. void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  104. void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  105. void CopyFrom(const Area3d& from);
  106. void MergeFrom(const Area3d& from);
  107. void Clear() PROTOBUF_FINAL;
  108. bool IsInitialized() const PROTOBUF_FINAL;
  109. size_t ByteSizeLong() const PROTOBUF_FINAL;
  110. bool MergePartialFromCodedStream(
  111. ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
  112. void SerializeWithCachedSizes(
  113. ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
  114. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  115. bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
  116. int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
  117. private:
  118. void SharedCtor();
  119. void SharedDtor();
  120. void SetCachedSize(int size) const PROTOBUF_FINAL;
  121. void InternalSwap(Area3d* other);
  122. private:
  123. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  124. return NULL;
  125. }
  126. inline void* MaybeArenaPtr() const {
  127. return NULL;
  128. }
  129. public:
  130. ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
  131. // nested types ----------------------------------------------------
  132. // accessors -------------------------------------------------------
  133. // required float min_x = 1;
  134. bool has_min_x() const;
  135. void clear_min_x();
  136. static const int kMinXFieldNumber = 1;
  137. float min_x() const;
  138. void set_min_x(float value);
  139. // required float max_x = 2;
  140. bool has_max_x() const;
  141. void clear_max_x();
  142. static const int kMaxXFieldNumber = 2;
  143. float max_x() const;
  144. void set_max_x(float value);
  145. // required float min_y = 3;
  146. bool has_min_y() const;
  147. void clear_min_y();
  148. static const int kMinYFieldNumber = 3;
  149. float min_y() const;
  150. void set_min_y(float value);
  151. // required float max_y = 4;
  152. bool has_max_y() const;
  153. void clear_max_y();
  154. static const int kMaxYFieldNumber = 4;
  155. float max_y() const;
  156. void set_max_y(float value);
  157. // required float min_z = 5;
  158. bool has_min_z() const;
  159. void clear_min_z();
  160. static const int kMinZFieldNumber = 5;
  161. float min_z() const;
  162. void set_min_z(float value);
  163. // required float max_z = 6;
  164. bool has_max_z() const;
  165. void clear_max_z();
  166. static const int kMaxZFieldNumber = 6;
  167. float max_z() const;
  168. void set_max_z(float value);
  169. // @@protoc_insertion_point(class_scope:LidarMeasure.Area3d)
  170. private:
  171. void set_has_min_x();
  172. void clear_has_min_x();
  173. void set_has_max_x();
  174. void clear_has_max_x();
  175. void set_has_min_y();
  176. void clear_has_min_y();
  177. void set_has_max_y();
  178. void clear_has_max_y();
  179. void set_has_min_z();
  180. void clear_has_min_z();
  181. void set_has_max_z();
  182. void clear_has_max_z();
  183. // helper for ByteSizeLong()
  184. size_t RequiredFieldsByteSizeFallback() const;
  185. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  186. ::google::protobuf::internal::HasBits<1> _has_bits_;
  187. mutable int _cached_size_;
  188. float min_x_;
  189. float max_x_;
  190. float min_y_;
  191. float max_y_;
  192. float min_z_;
  193. float max_z_;
  194. friend struct ::protobuf_Terminor_5fparameter_2eproto::TableStruct;
  195. friend void ::protobuf_Terminor_5fparameter_2eproto::InitDefaultsArea3dImpl();
  196. };
  197. // -------------------------------------------------------------------
  198. class Terminor_parameter : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:LidarMeasure.Terminor_parameter) */ {
  199. public:
  200. Terminor_parameter();
  201. virtual ~Terminor_parameter();
  202. Terminor_parameter(const Terminor_parameter& from);
  203. inline Terminor_parameter& operator=(const Terminor_parameter& from) {
  204. CopyFrom(from);
  205. return *this;
  206. }
  207. #if LANG_CXX11
  208. Terminor_parameter(Terminor_parameter&& from) noexcept
  209. : Terminor_parameter() {
  210. *this = ::std::move(from);
  211. }
  212. inline Terminor_parameter& operator=(Terminor_parameter&& from) noexcept {
  213. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  214. if (this != &from) InternalSwap(&from);
  215. } else {
  216. CopyFrom(from);
  217. }
  218. return *this;
  219. }
  220. #endif
  221. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  222. return _internal_metadata_.unknown_fields();
  223. }
  224. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  225. return _internal_metadata_.mutable_unknown_fields();
  226. }
  227. static const ::google::protobuf::Descriptor* descriptor();
  228. static const Terminor_parameter& default_instance();
  229. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  230. static inline const Terminor_parameter* internal_default_instance() {
  231. return reinterpret_cast<const Terminor_parameter*>(
  232. &_Terminor_parameter_default_instance_);
  233. }
  234. static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
  235. 1;
  236. void Swap(Terminor_parameter* other);
  237. friend void swap(Terminor_parameter& a, Terminor_parameter& b) {
  238. a.Swap(&b);
  239. }
  240. // implements Message ----------------------------------------------
  241. inline Terminor_parameter* New() const PROTOBUF_FINAL { return New(NULL); }
  242. Terminor_parameter* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
  243. void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  244. void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  245. void CopyFrom(const Terminor_parameter& from);
  246. void MergeFrom(const Terminor_parameter& from);
  247. void Clear() PROTOBUF_FINAL;
  248. bool IsInitialized() const PROTOBUF_FINAL;
  249. size_t ByteSizeLong() const PROTOBUF_FINAL;
  250. bool MergePartialFromCodedStream(
  251. ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
  252. void SerializeWithCachedSizes(
  253. ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
  254. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  255. bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
  256. int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
  257. private:
  258. void SharedCtor();
  259. void SharedDtor();
  260. void SetCachedSize(int size) const PROTOBUF_FINAL;
  261. void InternalSwap(Terminor_parameter* other);
  262. private:
  263. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  264. return NULL;
  265. }
  266. inline void* MaybeArenaPtr() const {
  267. return NULL;
  268. }
  269. public:
  270. ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
  271. // nested types ----------------------------------------------------
  272. // accessors -------------------------------------------------------
  273. // required .LidarMeasure.Area3d area_3d = 1;
  274. bool has_area_3d() const;
  275. void clear_area_3d();
  276. static const int kArea3DFieldNumber = 1;
  277. const ::LidarMeasure::Area3d& area_3d() const;
  278. ::LidarMeasure::Area3d* release_area_3d();
  279. ::LidarMeasure::Area3d* mutable_area_3d();
  280. void set_allocated_area_3d(::LidarMeasure::Area3d* area_3d);
  281. // @@protoc_insertion_point(class_scope:LidarMeasure.Terminor_parameter)
  282. private:
  283. void set_has_area_3d();
  284. void clear_has_area_3d();
  285. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  286. ::google::protobuf::internal::HasBits<1> _has_bits_;
  287. mutable int _cached_size_;
  288. ::LidarMeasure::Area3d* area_3d_;
  289. friend struct ::protobuf_Terminor_5fparameter_2eproto::TableStruct;
  290. friend void ::protobuf_Terminor_5fparameter_2eproto::InitDefaultsTerminor_parameterImpl();
  291. };
  292. // ===================================================================
  293. // ===================================================================
  294. #ifdef __GNUC__
  295. #pragma GCC diagnostic push
  296. #pragma GCC diagnostic ignored "-Wstrict-aliasing"
  297. #endif // __GNUC__
  298. // Area3d
  299. // required float min_x = 1;
  300. inline bool Area3d::has_min_x() const {
  301. return (_has_bits_[0] & 0x00000001u) != 0;
  302. }
  303. inline void Area3d::set_has_min_x() {
  304. _has_bits_[0] |= 0x00000001u;
  305. }
  306. inline void Area3d::clear_has_min_x() {
  307. _has_bits_[0] &= ~0x00000001u;
  308. }
  309. inline void Area3d::clear_min_x() {
  310. min_x_ = 0;
  311. clear_has_min_x();
  312. }
  313. inline float Area3d::min_x() const {
  314. // @@protoc_insertion_point(field_get:LidarMeasure.Area3d.min_x)
  315. return min_x_;
  316. }
  317. inline void Area3d::set_min_x(float value) {
  318. set_has_min_x();
  319. min_x_ = value;
  320. // @@protoc_insertion_point(field_set:LidarMeasure.Area3d.min_x)
  321. }
  322. // required float max_x = 2;
  323. inline bool Area3d::has_max_x() const {
  324. return (_has_bits_[0] & 0x00000002u) != 0;
  325. }
  326. inline void Area3d::set_has_max_x() {
  327. _has_bits_[0] |= 0x00000002u;
  328. }
  329. inline void Area3d::clear_has_max_x() {
  330. _has_bits_[0] &= ~0x00000002u;
  331. }
  332. inline void Area3d::clear_max_x() {
  333. max_x_ = 0;
  334. clear_has_max_x();
  335. }
  336. inline float Area3d::max_x() const {
  337. // @@protoc_insertion_point(field_get:LidarMeasure.Area3d.max_x)
  338. return max_x_;
  339. }
  340. inline void Area3d::set_max_x(float value) {
  341. set_has_max_x();
  342. max_x_ = value;
  343. // @@protoc_insertion_point(field_set:LidarMeasure.Area3d.max_x)
  344. }
  345. // required float min_y = 3;
  346. inline bool Area3d::has_min_y() const {
  347. return (_has_bits_[0] & 0x00000004u) != 0;
  348. }
  349. inline void Area3d::set_has_min_y() {
  350. _has_bits_[0] |= 0x00000004u;
  351. }
  352. inline void Area3d::clear_has_min_y() {
  353. _has_bits_[0] &= ~0x00000004u;
  354. }
  355. inline void Area3d::clear_min_y() {
  356. min_y_ = 0;
  357. clear_has_min_y();
  358. }
  359. inline float Area3d::min_y() const {
  360. // @@protoc_insertion_point(field_get:LidarMeasure.Area3d.min_y)
  361. return min_y_;
  362. }
  363. inline void Area3d::set_min_y(float value) {
  364. set_has_min_y();
  365. min_y_ = value;
  366. // @@protoc_insertion_point(field_set:LidarMeasure.Area3d.min_y)
  367. }
  368. // required float max_y = 4;
  369. inline bool Area3d::has_max_y() const {
  370. return (_has_bits_[0] & 0x00000008u) != 0;
  371. }
  372. inline void Area3d::set_has_max_y() {
  373. _has_bits_[0] |= 0x00000008u;
  374. }
  375. inline void Area3d::clear_has_max_y() {
  376. _has_bits_[0] &= ~0x00000008u;
  377. }
  378. inline void Area3d::clear_max_y() {
  379. max_y_ = 0;
  380. clear_has_max_y();
  381. }
  382. inline float Area3d::max_y() const {
  383. // @@protoc_insertion_point(field_get:LidarMeasure.Area3d.max_y)
  384. return max_y_;
  385. }
  386. inline void Area3d::set_max_y(float value) {
  387. set_has_max_y();
  388. max_y_ = value;
  389. // @@protoc_insertion_point(field_set:LidarMeasure.Area3d.max_y)
  390. }
  391. // required float min_z = 5;
  392. inline bool Area3d::has_min_z() const {
  393. return (_has_bits_[0] & 0x00000010u) != 0;
  394. }
  395. inline void Area3d::set_has_min_z() {
  396. _has_bits_[0] |= 0x00000010u;
  397. }
  398. inline void Area3d::clear_has_min_z() {
  399. _has_bits_[0] &= ~0x00000010u;
  400. }
  401. inline void Area3d::clear_min_z() {
  402. min_z_ = 0;
  403. clear_has_min_z();
  404. }
  405. inline float Area3d::min_z() const {
  406. // @@protoc_insertion_point(field_get:LidarMeasure.Area3d.min_z)
  407. return min_z_;
  408. }
  409. inline void Area3d::set_min_z(float value) {
  410. set_has_min_z();
  411. min_z_ = value;
  412. // @@protoc_insertion_point(field_set:LidarMeasure.Area3d.min_z)
  413. }
  414. // required float max_z = 6;
  415. inline bool Area3d::has_max_z() const {
  416. return (_has_bits_[0] & 0x00000020u) != 0;
  417. }
  418. inline void Area3d::set_has_max_z() {
  419. _has_bits_[0] |= 0x00000020u;
  420. }
  421. inline void Area3d::clear_has_max_z() {
  422. _has_bits_[0] &= ~0x00000020u;
  423. }
  424. inline void Area3d::clear_max_z() {
  425. max_z_ = 0;
  426. clear_has_max_z();
  427. }
  428. inline float Area3d::max_z() const {
  429. // @@protoc_insertion_point(field_get:LidarMeasure.Area3d.max_z)
  430. return max_z_;
  431. }
  432. inline void Area3d::set_max_z(float value) {
  433. set_has_max_z();
  434. max_z_ = value;
  435. // @@protoc_insertion_point(field_set:LidarMeasure.Area3d.max_z)
  436. }
  437. // -------------------------------------------------------------------
  438. // Terminor_parameter
  439. // required .LidarMeasure.Area3d area_3d = 1;
  440. inline bool Terminor_parameter::has_area_3d() const {
  441. return (_has_bits_[0] & 0x00000001u) != 0;
  442. }
  443. inline void Terminor_parameter::set_has_area_3d() {
  444. _has_bits_[0] |= 0x00000001u;
  445. }
  446. inline void Terminor_parameter::clear_has_area_3d() {
  447. _has_bits_[0] &= ~0x00000001u;
  448. }
  449. inline void Terminor_parameter::clear_area_3d() {
  450. if (area_3d_ != NULL) area_3d_->Clear();
  451. clear_has_area_3d();
  452. }
  453. inline const ::LidarMeasure::Area3d& Terminor_parameter::area_3d() const {
  454. const ::LidarMeasure::Area3d* p = area_3d_;
  455. // @@protoc_insertion_point(field_get:LidarMeasure.Terminor_parameter.area_3d)
  456. return p != NULL ? *p : *reinterpret_cast<const ::LidarMeasure::Area3d*>(
  457. &::LidarMeasure::_Area3d_default_instance_);
  458. }
  459. inline ::LidarMeasure::Area3d* Terminor_parameter::release_area_3d() {
  460. // @@protoc_insertion_point(field_release:LidarMeasure.Terminor_parameter.area_3d)
  461. clear_has_area_3d();
  462. ::LidarMeasure::Area3d* temp = area_3d_;
  463. area_3d_ = NULL;
  464. return temp;
  465. }
  466. inline ::LidarMeasure::Area3d* Terminor_parameter::mutable_area_3d() {
  467. set_has_area_3d();
  468. if (area_3d_ == NULL) {
  469. area_3d_ = new ::LidarMeasure::Area3d;
  470. }
  471. // @@protoc_insertion_point(field_mutable:LidarMeasure.Terminor_parameter.area_3d)
  472. return area_3d_;
  473. }
  474. inline void Terminor_parameter::set_allocated_area_3d(::LidarMeasure::Area3d* area_3d) {
  475. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  476. if (message_arena == NULL) {
  477. delete area_3d_;
  478. }
  479. if (area_3d) {
  480. ::google::protobuf::Arena* submessage_arena = NULL;
  481. if (message_arena != submessage_arena) {
  482. area_3d = ::google::protobuf::internal::GetOwnedMessage(
  483. message_arena, area_3d, submessage_arena);
  484. }
  485. set_has_area_3d();
  486. } else {
  487. clear_has_area_3d();
  488. }
  489. area_3d_ = area_3d;
  490. // @@protoc_insertion_point(field_set_allocated:LidarMeasure.Terminor_parameter.area_3d)
  491. }
  492. #ifdef __GNUC__
  493. #pragma GCC diagnostic pop
  494. #endif // __GNUC__
  495. // -------------------------------------------------------------------
  496. // @@protoc_insertion_point(namespace_scope)
  497. } // namespace LidarMeasure
  498. // @@protoc_insertion_point(global_scope)
  499. #endif // PROTOBUF_Terminor_5fparameter_2eproto__INCLUDED