tof3d_config.pb.h 77 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105
  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // source: tof3d_config.proto
  3. #ifndef PROTOBUF_INCLUDED_tof3d_5fconfig_2eproto
  4. #define PROTOBUF_INCLUDED_tof3d_5fconfig_2eproto
  5. #include <string>
  6. #include <google/protobuf/stubs/common.h>
  7. #if GOOGLE_PROTOBUF_VERSION < 3006001
  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 3006001 < 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/inlined_string_field.h>
  23. #include <google/protobuf/metadata.h>
  24. #include <google/protobuf/message.h>
  25. #include <google/protobuf/repeated_field.h> // IWYU pragma: export
  26. #include <google/protobuf/extension_set.h> // IWYU pragma: export
  27. #include <google/protobuf/generated_enum_reflection.h>
  28. #include <google/protobuf/unknown_field_set.h>
  29. // @@protoc_insertion_point(includes)
  30. #define PROTOBUF_INTERNAL_EXPORT_protobuf_tof3d_5fconfig_2eproto
  31. namespace protobuf_tof3d_5fconfig_2eproto {
  32. // Internal implementation detail -- do not use these members.
  33. struct TableStruct {
  34. static const ::google::protobuf::internal::ParseTableField entries[];
  35. static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
  36. static const ::google::protobuf::internal::ParseTable schema[6];
  37. static const ::google::protobuf::internal::FieldMetadata field_metadata[];
  38. static const ::google::protobuf::internal::SerializationTable serialization_table[];
  39. static const ::google::protobuf::uint32 offsets[];
  40. };
  41. void AddDescriptors();
  42. } // namespace protobuf_tof3d_5fconfig_2eproto
  43. class MqttCommunicationParams;
  44. class MqttCommunicationParamsDefaultTypeInternal;
  45. extern MqttCommunicationParamsDefaultTypeInternal _MqttCommunicationParams_default_instance_;
  46. class RabbitmqCommunicationParams;
  47. class RabbitmqCommunicationParamsDefaultTypeInternal;
  48. extern RabbitmqCommunicationParamsDefaultTypeInternal _RabbitmqCommunicationParams_default_instance_;
  49. class Tof3dVzenseBuiltInParams;
  50. class Tof3dVzenseBuiltInParamsDefaultTypeInternal;
  51. extern Tof3dVzenseBuiltInParamsDefaultTypeInternal _Tof3dVzenseBuiltInParams_default_instance_;
  52. class Yolov8ProcessParams;
  53. class Yolov8ProcessParamsDefaultTypeInternal;
  54. extern Yolov8ProcessParamsDefaultTypeInternal _Yolov8ProcessParams_default_instance_;
  55. class tof3dManagerParams;
  56. class tof3dManagerParamsDefaultTypeInternal;
  57. extern tof3dManagerParamsDefaultTypeInternal _tof3dManagerParams_default_instance_;
  58. class tof3dVzenseEtc;
  59. class tof3dVzenseEtcDefaultTypeInternal;
  60. extern tof3dVzenseEtcDefaultTypeInternal _tof3dVzenseEtc_default_instance_;
  61. namespace google {
  62. namespace protobuf {
  63. template<> ::MqttCommunicationParams* Arena::CreateMaybeMessage<::MqttCommunicationParams>(Arena*);
  64. template<> ::RabbitmqCommunicationParams* Arena::CreateMaybeMessage<::RabbitmqCommunicationParams>(Arena*);
  65. template<> ::Tof3dVzenseBuiltInParams* Arena::CreateMaybeMessage<::Tof3dVzenseBuiltInParams>(Arena*);
  66. template<> ::Yolov8ProcessParams* Arena::CreateMaybeMessage<::Yolov8ProcessParams>(Arena*);
  67. template<> ::tof3dManagerParams* Arena::CreateMaybeMessage<::tof3dManagerParams>(Arena*);
  68. template<> ::tof3dVzenseEtc* Arena::CreateMaybeMessage<::tof3dVzenseEtc>(Arena*);
  69. } // namespace protobuf
  70. } // namespace google
  71. enum DeviceAzimuth {
  72. LF = 1,
  73. RF = 2,
  74. LR = 3,
  75. RR = 4
  76. };
  77. bool DeviceAzimuth_IsValid(int value);
  78. const DeviceAzimuth DeviceAzimuth_MIN = LF;
  79. const DeviceAzimuth DeviceAzimuth_MAX = RR;
  80. const int DeviceAzimuth_ARRAYSIZE = DeviceAzimuth_MAX + 1;
  81. const ::google::protobuf::EnumDescriptor* DeviceAzimuth_descriptor();
  82. inline const ::std::string& DeviceAzimuth_Name(DeviceAzimuth value) {
  83. return ::google::protobuf::internal::NameOfEnum(
  84. DeviceAzimuth_descriptor(), value);
  85. }
  86. inline bool DeviceAzimuth_Parse(
  87. const ::std::string& name, DeviceAzimuth* value) {
  88. return ::google::protobuf::internal::ParseNamedEnum<DeviceAzimuth>(
  89. DeviceAzimuth_descriptor(), name, value);
  90. }
  91. // ===================================================================
  92. class Tof3dVzenseBuiltInParams : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Tof3dVzenseBuiltInParams) */ {
  93. public:
  94. Tof3dVzenseBuiltInParams();
  95. virtual ~Tof3dVzenseBuiltInParams();
  96. Tof3dVzenseBuiltInParams(const Tof3dVzenseBuiltInParams& from);
  97. inline Tof3dVzenseBuiltInParams& operator=(const Tof3dVzenseBuiltInParams& from) {
  98. CopyFrom(from);
  99. return *this;
  100. }
  101. #if LANG_CXX11
  102. Tof3dVzenseBuiltInParams(Tof3dVzenseBuiltInParams&& from) noexcept
  103. : Tof3dVzenseBuiltInParams() {
  104. *this = ::std::move(from);
  105. }
  106. inline Tof3dVzenseBuiltInParams& operator=(Tof3dVzenseBuiltInParams&& from) noexcept {
  107. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  108. if (this != &from) InternalSwap(&from);
  109. } else {
  110. CopyFrom(from);
  111. }
  112. return *this;
  113. }
  114. #endif
  115. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  116. return _internal_metadata_.unknown_fields();
  117. }
  118. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  119. return _internal_metadata_.mutable_unknown_fields();
  120. }
  121. static const ::google::protobuf::Descriptor* descriptor();
  122. static const Tof3dVzenseBuiltInParams& default_instance();
  123. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  124. static inline const Tof3dVzenseBuiltInParams* internal_default_instance() {
  125. return reinterpret_cast<const Tof3dVzenseBuiltInParams*>(
  126. &_Tof3dVzenseBuiltInParams_default_instance_);
  127. }
  128. static constexpr int kIndexInFileMessages =
  129. 0;
  130. void Swap(Tof3dVzenseBuiltInParams* other);
  131. friend void swap(Tof3dVzenseBuiltInParams& a, Tof3dVzenseBuiltInParams& b) {
  132. a.Swap(&b);
  133. }
  134. // implements Message ----------------------------------------------
  135. inline Tof3dVzenseBuiltInParams* New() const final {
  136. return CreateMaybeMessage<Tof3dVzenseBuiltInParams>(NULL);
  137. }
  138. Tof3dVzenseBuiltInParams* New(::google::protobuf::Arena* arena) const final {
  139. return CreateMaybeMessage<Tof3dVzenseBuiltInParams>(arena);
  140. }
  141. void CopyFrom(const ::google::protobuf::Message& from) final;
  142. void MergeFrom(const ::google::protobuf::Message& from) final;
  143. void CopyFrom(const Tof3dVzenseBuiltInParams& from);
  144. void MergeFrom(const Tof3dVzenseBuiltInParams& from);
  145. void Clear() final;
  146. bool IsInitialized() const final;
  147. size_t ByteSizeLong() const final;
  148. bool MergePartialFromCodedStream(
  149. ::google::protobuf::io::CodedInputStream* input) final;
  150. void SerializeWithCachedSizes(
  151. ::google::protobuf::io::CodedOutputStream* output) const final;
  152. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  153. bool deterministic, ::google::protobuf::uint8* target) const final;
  154. int GetCachedSize() const final { return _cached_size_.Get(); }
  155. private:
  156. void SharedCtor();
  157. void SharedDtor();
  158. void SetCachedSize(int size) const final;
  159. void InternalSwap(Tof3dVzenseBuiltInParams* other);
  160. private:
  161. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  162. return NULL;
  163. }
  164. inline void* MaybeArenaPtr() const {
  165. return NULL;
  166. }
  167. public:
  168. ::google::protobuf::Metadata GetMetadata() const final;
  169. // nested types ----------------------------------------------------
  170. // accessors -------------------------------------------------------
  171. // optional uint32 work_mode = 1 [default = 0];
  172. bool has_work_mode() const;
  173. void clear_work_mode();
  174. static const int kWorkModeFieldNumber = 1;
  175. ::google::protobuf::uint32 work_mode() const;
  176. void set_work_mode(::google::protobuf::uint32 value);
  177. // optional uint32 confidence_filter_value = 14 [default = 0];
  178. bool has_confidence_filter_value() const;
  179. void clear_confidence_filter_value();
  180. static const int kConfidenceFilterValueFieldNumber = 14;
  181. ::google::protobuf::uint32 confidence_filter_value() const;
  182. void set_confidence_filter_value(::google::protobuf::uint32 value);
  183. // optional bool enable_flying_pixel_filter = 11 [default = true];
  184. bool has_enable_flying_pixel_filter() const;
  185. void clear_enable_flying_pixel_filter();
  186. static const int kEnableFlyingPixelFilterFieldNumber = 11;
  187. bool enable_flying_pixel_filter() const;
  188. void set_enable_flying_pixel_filter(bool value);
  189. // optional bool enable_confidence_filter = 13 [default = true];
  190. bool has_enable_confidence_filter() const;
  191. void clear_enable_confidence_filter();
  192. static const int kEnableConfidenceFilterFieldNumber = 13;
  193. bool enable_confidence_filter() const;
  194. void set_enable_confidence_filter(bool value);
  195. // optional bool enable_hdr_mode = 15 [default = true];
  196. bool has_enable_hdr_mode() const;
  197. void clear_enable_hdr_mode();
  198. static const int kEnableHdrModeFieldNumber = 15;
  199. bool enable_hdr_mode() const;
  200. void set_enable_hdr_mode(bool value);
  201. // optional uint32 irgmmgain = 2 [default = 45];
  202. bool has_irgmmgain() const;
  203. void clear_irgmmgain();
  204. static const int kIrgmmgainFieldNumber = 2;
  205. ::google::protobuf::uint32 irgmmgain() const;
  206. void set_irgmmgain(::google::protobuf::uint32 value);
  207. // optional uint32 frame_rate = 3 [default = 10];
  208. bool has_frame_rate() const;
  209. void clear_frame_rate();
  210. static const int kFrameRateFieldNumber = 3;
  211. ::google::protobuf::uint32 frame_rate() const;
  212. void set_frame_rate(::google::protobuf::uint32 value);
  213. // optional uint32 exposure_time = 5 [default = 2000];
  214. bool has_exposure_time() const;
  215. void clear_exposure_time();
  216. static const int kExposureTimeFieldNumber = 5;
  217. ::google::protobuf::uint32 exposure_time() const;
  218. void set_exposure_time(::google::protobuf::uint32 value);
  219. // optional bool enable_manual_exposure_time = 4 [default = true];
  220. bool has_enable_manual_exposure_time() const;
  221. void clear_enable_manual_exposure_time();
  222. static const int kEnableManualExposureTimeFieldNumber = 4;
  223. bool enable_manual_exposure_time() const;
  224. void set_enable_manual_exposure_time(bool value);
  225. // optional bool enable_filter_fill_hole = 7 [default = true];
  226. bool has_enable_filter_fill_hole() const;
  227. void clear_enable_filter_fill_hole();
  228. static const int kEnableFilterFillHoleFieldNumber = 7;
  229. bool enable_filter_fill_hole() const;
  230. void set_enable_filter_fill_hole(bool value);
  231. // optional bool enable_filter_spatial = 8 [default = true];
  232. bool has_enable_filter_spatial() const;
  233. void clear_enable_filter_spatial();
  234. static const int kEnableFilterSpatialFieldNumber = 8;
  235. bool enable_filter_spatial() const;
  236. void set_enable_filter_spatial(bool value);
  237. // optional bool enable_time_filter = 9 [default = true];
  238. bool has_enable_time_filter() const;
  239. void clear_enable_time_filter();
  240. static const int kEnableTimeFilterFieldNumber = 9;
  241. bool enable_time_filter() const;
  242. void set_enable_time_filter(bool value);
  243. // optional uint32 time_filter_value = 10 [default = 3];
  244. bool has_time_filter_value() const;
  245. void clear_time_filter_value();
  246. static const int kTimeFilterValueFieldNumber = 10;
  247. ::google::protobuf::uint32 time_filter_value() const;
  248. void set_time_filter_value(::google::protobuf::uint32 value);
  249. // optional uint32 flying_pixel_filter_value = 12 [default = 15];
  250. bool has_flying_pixel_filter_value() const;
  251. void clear_flying_pixel_filter_value();
  252. static const int kFlyingPixelFilterValueFieldNumber = 12;
  253. ::google::protobuf::uint32 flying_pixel_filter_value() const;
  254. void set_flying_pixel_filter_value(::google::protobuf::uint32 value);
  255. // @@protoc_insertion_point(class_scope:Tof3dVzenseBuiltInParams)
  256. private:
  257. void set_has_work_mode();
  258. void clear_has_work_mode();
  259. void set_has_irgmmgain();
  260. void clear_has_irgmmgain();
  261. void set_has_frame_rate();
  262. void clear_has_frame_rate();
  263. void set_has_enable_manual_exposure_time();
  264. void clear_has_enable_manual_exposure_time();
  265. void set_has_exposure_time();
  266. void clear_has_exposure_time();
  267. void set_has_enable_filter_fill_hole();
  268. void clear_has_enable_filter_fill_hole();
  269. void set_has_enable_filter_spatial();
  270. void clear_has_enable_filter_spatial();
  271. void set_has_enable_time_filter();
  272. void clear_has_enable_time_filter();
  273. void set_has_time_filter_value();
  274. void clear_has_time_filter_value();
  275. void set_has_enable_flying_pixel_filter();
  276. void clear_has_enable_flying_pixel_filter();
  277. void set_has_flying_pixel_filter_value();
  278. void clear_has_flying_pixel_filter_value();
  279. void set_has_enable_confidence_filter();
  280. void clear_has_enable_confidence_filter();
  281. void set_has_confidence_filter_value();
  282. void clear_has_confidence_filter_value();
  283. void set_has_enable_hdr_mode();
  284. void clear_has_enable_hdr_mode();
  285. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  286. ::google::protobuf::internal::HasBits<1> _has_bits_;
  287. mutable ::google::protobuf::internal::CachedSize _cached_size_;
  288. ::google::protobuf::uint32 work_mode_;
  289. ::google::protobuf::uint32 confidence_filter_value_;
  290. bool enable_flying_pixel_filter_;
  291. bool enable_confidence_filter_;
  292. bool enable_hdr_mode_;
  293. ::google::protobuf::uint32 irgmmgain_;
  294. ::google::protobuf::uint32 frame_rate_;
  295. ::google::protobuf::uint32 exposure_time_;
  296. bool enable_manual_exposure_time_;
  297. bool enable_filter_fill_hole_;
  298. bool enable_filter_spatial_;
  299. bool enable_time_filter_;
  300. ::google::protobuf::uint32 time_filter_value_;
  301. ::google::protobuf::uint32 flying_pixel_filter_value_;
  302. friend struct ::protobuf_tof3d_5fconfig_2eproto::TableStruct;
  303. };
  304. // -------------------------------------------------------------------
  305. class Yolov8ProcessParams : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Yolov8ProcessParams) */ {
  306. public:
  307. Yolov8ProcessParams();
  308. virtual ~Yolov8ProcessParams();
  309. Yolov8ProcessParams(const Yolov8ProcessParams& from);
  310. inline Yolov8ProcessParams& operator=(const Yolov8ProcessParams& from) {
  311. CopyFrom(from);
  312. return *this;
  313. }
  314. #if LANG_CXX11
  315. Yolov8ProcessParams(Yolov8ProcessParams&& from) noexcept
  316. : Yolov8ProcessParams() {
  317. *this = ::std::move(from);
  318. }
  319. inline Yolov8ProcessParams& operator=(Yolov8ProcessParams&& from) noexcept {
  320. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  321. if (this != &from) InternalSwap(&from);
  322. } else {
  323. CopyFrom(from);
  324. }
  325. return *this;
  326. }
  327. #endif
  328. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  329. return _internal_metadata_.unknown_fields();
  330. }
  331. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  332. return _internal_metadata_.mutable_unknown_fields();
  333. }
  334. static const ::google::protobuf::Descriptor* descriptor();
  335. static const Yolov8ProcessParams& default_instance();
  336. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  337. static inline const Yolov8ProcessParams* internal_default_instance() {
  338. return reinterpret_cast<const Yolov8ProcessParams*>(
  339. &_Yolov8ProcessParams_default_instance_);
  340. }
  341. static constexpr int kIndexInFileMessages =
  342. 1;
  343. void Swap(Yolov8ProcessParams* other);
  344. friend void swap(Yolov8ProcessParams& a, Yolov8ProcessParams& b) {
  345. a.Swap(&b);
  346. }
  347. // implements Message ----------------------------------------------
  348. inline Yolov8ProcessParams* New() const final {
  349. return CreateMaybeMessage<Yolov8ProcessParams>(NULL);
  350. }
  351. Yolov8ProcessParams* New(::google::protobuf::Arena* arena) const final {
  352. return CreateMaybeMessage<Yolov8ProcessParams>(arena);
  353. }
  354. void CopyFrom(const ::google::protobuf::Message& from) final;
  355. void MergeFrom(const ::google::protobuf::Message& from) final;
  356. void CopyFrom(const Yolov8ProcessParams& from);
  357. void MergeFrom(const Yolov8ProcessParams& from);
  358. void Clear() final;
  359. bool IsInitialized() const final;
  360. size_t ByteSizeLong() const final;
  361. bool MergePartialFromCodedStream(
  362. ::google::protobuf::io::CodedInputStream* input) final;
  363. void SerializeWithCachedSizes(
  364. ::google::protobuf::io::CodedOutputStream* output) const final;
  365. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  366. bool deterministic, ::google::protobuf::uint8* target) const final;
  367. int GetCachedSize() const final { return _cached_size_.Get(); }
  368. private:
  369. void SharedCtor();
  370. void SharedDtor();
  371. void SetCachedSize(int size) const final;
  372. void InternalSwap(Yolov8ProcessParams* other);
  373. private:
  374. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  375. return NULL;
  376. }
  377. inline void* MaybeArenaPtr() const {
  378. return NULL;
  379. }
  380. public:
  381. ::google::protobuf::Metadata GetMetadata() const final;
  382. // nested types ----------------------------------------------------
  383. // accessors -------------------------------------------------------
  384. // optional bool save_mat = 1 [default = false];
  385. bool has_save_mat() const;
  386. void clear_save_mat();
  387. static const int kSaveMatFieldNumber = 1;
  388. bool save_mat() const;
  389. void set_save_mat(bool value);
  390. // optional bool draw_rect = 2 [default = false];
  391. bool has_draw_rect() const;
  392. void clear_draw_rect();
  393. static const int kDrawRectFieldNumber = 2;
  394. bool draw_rect() const;
  395. void set_draw_rect(bool value);
  396. // optional float save_aspect_ratio_max = 5 [default = 1.1];
  397. bool has_save_aspect_ratio_max() const;
  398. void clear_save_aspect_ratio_max();
  399. static const int kSaveAspectRatioMaxFieldNumber = 5;
  400. float save_aspect_ratio_max() const;
  401. void set_save_aspect_ratio_max(float value);
  402. // optional float save_confidence = 3 [default = 0.8];
  403. bool has_save_confidence() const;
  404. void clear_save_confidence();
  405. static const int kSaveConfidenceFieldNumber = 3;
  406. float save_confidence() const;
  407. void set_save_confidence(float value);
  408. // optional float save_aspect_ratio_min = 4 [default = 0.9];
  409. bool has_save_aspect_ratio_min() const;
  410. void clear_save_aspect_ratio_min();
  411. static const int kSaveAspectRatioMinFieldNumber = 4;
  412. float save_aspect_ratio_min() const;
  413. void set_save_aspect_ratio_min(float value);
  414. // @@protoc_insertion_point(class_scope:Yolov8ProcessParams)
  415. private:
  416. void set_has_save_mat();
  417. void clear_has_save_mat();
  418. void set_has_draw_rect();
  419. void clear_has_draw_rect();
  420. void set_has_save_confidence();
  421. void clear_has_save_confidence();
  422. void set_has_save_aspect_ratio_min();
  423. void clear_has_save_aspect_ratio_min();
  424. void set_has_save_aspect_ratio_max();
  425. void clear_has_save_aspect_ratio_max();
  426. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  427. ::google::protobuf::internal::HasBits<1> _has_bits_;
  428. mutable ::google::protobuf::internal::CachedSize _cached_size_;
  429. bool save_mat_;
  430. bool draw_rect_;
  431. float save_aspect_ratio_max_;
  432. float save_confidence_;
  433. float save_aspect_ratio_min_;
  434. friend struct ::protobuf_tof3d_5fconfig_2eproto::TableStruct;
  435. };
  436. // -------------------------------------------------------------------
  437. class RabbitmqCommunicationParams : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:RabbitmqCommunicationParams) */ {
  438. public:
  439. RabbitmqCommunicationParams();
  440. virtual ~RabbitmqCommunicationParams();
  441. RabbitmqCommunicationParams(const RabbitmqCommunicationParams& from);
  442. inline RabbitmqCommunicationParams& operator=(const RabbitmqCommunicationParams& from) {
  443. CopyFrom(from);
  444. return *this;
  445. }
  446. #if LANG_CXX11
  447. RabbitmqCommunicationParams(RabbitmqCommunicationParams&& from) noexcept
  448. : RabbitmqCommunicationParams() {
  449. *this = ::std::move(from);
  450. }
  451. inline RabbitmqCommunicationParams& operator=(RabbitmqCommunicationParams&& from) noexcept {
  452. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  453. if (this != &from) InternalSwap(&from);
  454. } else {
  455. CopyFrom(from);
  456. }
  457. return *this;
  458. }
  459. #endif
  460. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  461. return _internal_metadata_.unknown_fields();
  462. }
  463. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  464. return _internal_metadata_.mutable_unknown_fields();
  465. }
  466. static const ::google::protobuf::Descriptor* descriptor();
  467. static const RabbitmqCommunicationParams& default_instance();
  468. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  469. static inline const RabbitmqCommunicationParams* internal_default_instance() {
  470. return reinterpret_cast<const RabbitmqCommunicationParams*>(
  471. &_RabbitmqCommunicationParams_default_instance_);
  472. }
  473. static constexpr int kIndexInFileMessages =
  474. 2;
  475. void Swap(RabbitmqCommunicationParams* other);
  476. friend void swap(RabbitmqCommunicationParams& a, RabbitmqCommunicationParams& b) {
  477. a.Swap(&b);
  478. }
  479. // implements Message ----------------------------------------------
  480. inline RabbitmqCommunicationParams* New() const final {
  481. return CreateMaybeMessage<RabbitmqCommunicationParams>(NULL);
  482. }
  483. RabbitmqCommunicationParams* New(::google::protobuf::Arena* arena) const final {
  484. return CreateMaybeMessage<RabbitmqCommunicationParams>(arena);
  485. }
  486. void CopyFrom(const ::google::protobuf::Message& from) final;
  487. void MergeFrom(const ::google::protobuf::Message& from) final;
  488. void CopyFrom(const RabbitmqCommunicationParams& from);
  489. void MergeFrom(const RabbitmqCommunicationParams& from);
  490. void Clear() final;
  491. bool IsInitialized() const final;
  492. size_t ByteSizeLong() const final;
  493. bool MergePartialFromCodedStream(
  494. ::google::protobuf::io::CodedInputStream* input) final;
  495. void SerializeWithCachedSizes(
  496. ::google::protobuf::io::CodedOutputStream* output) const final;
  497. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  498. bool deterministic, ::google::protobuf::uint8* target) const final;
  499. int GetCachedSize() const final { return _cached_size_.Get(); }
  500. private:
  501. void SharedCtor();
  502. void SharedDtor();
  503. void SetCachedSize(int size) const final;
  504. void InternalSwap(RabbitmqCommunicationParams* other);
  505. private:
  506. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  507. return NULL;
  508. }
  509. inline void* MaybeArenaPtr() const {
  510. return NULL;
  511. }
  512. public:
  513. ::google::protobuf::Metadata GetMetadata() const final;
  514. // nested types ----------------------------------------------------
  515. // accessors -------------------------------------------------------
  516. // required string rabbitmq_ex = 5;
  517. bool has_rabbitmq_ex() const;
  518. void clear_rabbitmq_ex();
  519. static const int kRabbitmqExFieldNumber = 5;
  520. const ::std::string& rabbitmq_ex() const;
  521. void set_rabbitmq_ex(const ::std::string& value);
  522. #if LANG_CXX11
  523. void set_rabbitmq_ex(::std::string&& value);
  524. #endif
  525. void set_rabbitmq_ex(const char* value);
  526. void set_rabbitmq_ex(const char* value, size_t size);
  527. ::std::string* mutable_rabbitmq_ex();
  528. ::std::string* release_rabbitmq_ex();
  529. void set_allocated_rabbitmq_ex(::std::string* rabbitmq_ex);
  530. // required string rabbitmq_route_key = 6;
  531. bool has_rabbitmq_route_key() const;
  532. void clear_rabbitmq_route_key();
  533. static const int kRabbitmqRouteKeyFieldNumber = 6;
  534. const ::std::string& rabbitmq_route_key() const;
  535. void set_rabbitmq_route_key(const ::std::string& value);
  536. #if LANG_CXX11
  537. void set_rabbitmq_route_key(::std::string&& value);
  538. #endif
  539. void set_rabbitmq_route_key(const char* value);
  540. void set_rabbitmq_route_key(const char* value, size_t size);
  541. ::std::string* mutable_rabbitmq_route_key();
  542. ::std::string* release_rabbitmq_route_key();
  543. void set_allocated_rabbitmq_route_key(::std::string* rabbitmq_route_key);
  544. // required bool enable_rabbitmq = 4;
  545. bool has_enable_rabbitmq() const;
  546. void clear_enable_rabbitmq();
  547. static const int kEnableRabbitmqFieldNumber = 4;
  548. bool enable_rabbitmq() const;
  549. void set_enable_rabbitmq(bool value);
  550. // @@protoc_insertion_point(class_scope:RabbitmqCommunicationParams)
  551. private:
  552. void set_has_enable_rabbitmq();
  553. void clear_has_enable_rabbitmq();
  554. void set_has_rabbitmq_ex();
  555. void clear_has_rabbitmq_ex();
  556. void set_has_rabbitmq_route_key();
  557. void clear_has_rabbitmq_route_key();
  558. // helper for ByteSizeLong()
  559. size_t RequiredFieldsByteSizeFallback() const;
  560. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  561. ::google::protobuf::internal::HasBits<1> _has_bits_;
  562. mutable ::google::protobuf::internal::CachedSize _cached_size_;
  563. ::google::protobuf::internal::ArenaStringPtr rabbitmq_ex_;
  564. ::google::protobuf::internal::ArenaStringPtr rabbitmq_route_key_;
  565. bool enable_rabbitmq_;
  566. friend struct ::protobuf_tof3d_5fconfig_2eproto::TableStruct;
  567. };
  568. // -------------------------------------------------------------------
  569. class MqttCommunicationParams : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:MqttCommunicationParams) */ {
  570. public:
  571. MqttCommunicationParams();
  572. virtual ~MqttCommunicationParams();
  573. MqttCommunicationParams(const MqttCommunicationParams& from);
  574. inline MqttCommunicationParams& operator=(const MqttCommunicationParams& from) {
  575. CopyFrom(from);
  576. return *this;
  577. }
  578. #if LANG_CXX11
  579. MqttCommunicationParams(MqttCommunicationParams&& from) noexcept
  580. : MqttCommunicationParams() {
  581. *this = ::std::move(from);
  582. }
  583. inline MqttCommunicationParams& operator=(MqttCommunicationParams&& from) noexcept {
  584. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  585. if (this != &from) InternalSwap(&from);
  586. } else {
  587. CopyFrom(from);
  588. }
  589. return *this;
  590. }
  591. #endif
  592. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  593. return _internal_metadata_.unknown_fields();
  594. }
  595. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  596. return _internal_metadata_.mutable_unknown_fields();
  597. }
  598. static const ::google::protobuf::Descriptor* descriptor();
  599. static const MqttCommunicationParams& default_instance();
  600. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  601. static inline const MqttCommunicationParams* internal_default_instance() {
  602. return reinterpret_cast<const MqttCommunicationParams*>(
  603. &_MqttCommunicationParams_default_instance_);
  604. }
  605. static constexpr int kIndexInFileMessages =
  606. 3;
  607. void Swap(MqttCommunicationParams* other);
  608. friend void swap(MqttCommunicationParams& a, MqttCommunicationParams& b) {
  609. a.Swap(&b);
  610. }
  611. // implements Message ----------------------------------------------
  612. inline MqttCommunicationParams* New() const final {
  613. return CreateMaybeMessage<MqttCommunicationParams>(NULL);
  614. }
  615. MqttCommunicationParams* New(::google::protobuf::Arena* arena) const final {
  616. return CreateMaybeMessage<MqttCommunicationParams>(arena);
  617. }
  618. void CopyFrom(const ::google::protobuf::Message& from) final;
  619. void MergeFrom(const ::google::protobuf::Message& from) final;
  620. void CopyFrom(const MqttCommunicationParams& from);
  621. void MergeFrom(const MqttCommunicationParams& from);
  622. void Clear() final;
  623. bool IsInitialized() const final;
  624. size_t ByteSizeLong() const final;
  625. bool MergePartialFromCodedStream(
  626. ::google::protobuf::io::CodedInputStream* input) final;
  627. void SerializeWithCachedSizes(
  628. ::google::protobuf::io::CodedOutputStream* output) const final;
  629. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  630. bool deterministic, ::google::protobuf::uint8* target) const final;
  631. int GetCachedSize() const final { return _cached_size_.Get(); }
  632. private:
  633. void SharedCtor();
  634. void SharedDtor();
  635. void SetCachedSize(int size) const final;
  636. void InternalSwap(MqttCommunicationParams* other);
  637. private:
  638. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  639. return NULL;
  640. }
  641. inline void* MaybeArenaPtr() const {
  642. return NULL;
  643. }
  644. public:
  645. ::google::protobuf::Metadata GetMetadata() const final;
  646. // nested types ----------------------------------------------------
  647. // accessors -------------------------------------------------------
  648. // required string mqtt_topic = 8;
  649. bool has_mqtt_topic() const;
  650. void clear_mqtt_topic();
  651. static const int kMqttTopicFieldNumber = 8;
  652. const ::std::string& mqtt_topic() const;
  653. void set_mqtt_topic(const ::std::string& value);
  654. #if LANG_CXX11
  655. void set_mqtt_topic(::std::string&& value);
  656. #endif
  657. void set_mqtt_topic(const char* value);
  658. void set_mqtt_topic(const char* value, size_t size);
  659. ::std::string* mutable_mqtt_topic();
  660. ::std::string* release_mqtt_topic();
  661. void set_allocated_mqtt_topic(::std::string* mqtt_topic);
  662. // required bool enable_mqtt = 7;
  663. bool has_enable_mqtt() const;
  664. void clear_enable_mqtt();
  665. static const int kEnableMqttFieldNumber = 7;
  666. bool enable_mqtt() const;
  667. void set_enable_mqtt(bool value);
  668. // @@protoc_insertion_point(class_scope:MqttCommunicationParams)
  669. private:
  670. void set_has_enable_mqtt();
  671. void clear_has_enable_mqtt();
  672. void set_has_mqtt_topic();
  673. void clear_has_mqtt_topic();
  674. // helper for ByteSizeLong()
  675. size_t RequiredFieldsByteSizeFallback() const;
  676. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  677. ::google::protobuf::internal::HasBits<1> _has_bits_;
  678. mutable ::google::protobuf::internal::CachedSize _cached_size_;
  679. ::google::protobuf::internal::ArenaStringPtr mqtt_topic_;
  680. bool enable_mqtt_;
  681. friend struct ::protobuf_tof3d_5fconfig_2eproto::TableStruct;
  682. };
  683. // -------------------------------------------------------------------
  684. class tof3dVzenseEtc : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:tof3dVzenseEtc) */ {
  685. public:
  686. tof3dVzenseEtc();
  687. virtual ~tof3dVzenseEtc();
  688. tof3dVzenseEtc(const tof3dVzenseEtc& from);
  689. inline tof3dVzenseEtc& operator=(const tof3dVzenseEtc& from) {
  690. CopyFrom(from);
  691. return *this;
  692. }
  693. #if LANG_CXX11
  694. tof3dVzenseEtc(tof3dVzenseEtc&& from) noexcept
  695. : tof3dVzenseEtc() {
  696. *this = ::std::move(from);
  697. }
  698. inline tof3dVzenseEtc& operator=(tof3dVzenseEtc&& from) noexcept {
  699. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  700. if (this != &from) InternalSwap(&from);
  701. } else {
  702. CopyFrom(from);
  703. }
  704. return *this;
  705. }
  706. #endif
  707. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  708. return _internal_metadata_.unknown_fields();
  709. }
  710. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  711. return _internal_metadata_.mutable_unknown_fields();
  712. }
  713. static const ::google::protobuf::Descriptor* descriptor();
  714. static const tof3dVzenseEtc& default_instance();
  715. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  716. static inline const tof3dVzenseEtc* internal_default_instance() {
  717. return reinterpret_cast<const tof3dVzenseEtc*>(
  718. &_tof3dVzenseEtc_default_instance_);
  719. }
  720. static constexpr int kIndexInFileMessages =
  721. 4;
  722. void Swap(tof3dVzenseEtc* other);
  723. friend void swap(tof3dVzenseEtc& a, tof3dVzenseEtc& b) {
  724. a.Swap(&b);
  725. }
  726. // implements Message ----------------------------------------------
  727. inline tof3dVzenseEtc* New() const final {
  728. return CreateMaybeMessage<tof3dVzenseEtc>(NULL);
  729. }
  730. tof3dVzenseEtc* New(::google::protobuf::Arena* arena) const final {
  731. return CreateMaybeMessage<tof3dVzenseEtc>(arena);
  732. }
  733. void CopyFrom(const ::google::protobuf::Message& from) final;
  734. void MergeFrom(const ::google::protobuf::Message& from) final;
  735. void CopyFrom(const tof3dVzenseEtc& from);
  736. void MergeFrom(const tof3dVzenseEtc& from);
  737. void Clear() final;
  738. bool IsInitialized() const final;
  739. size_t ByteSizeLong() const final;
  740. bool MergePartialFromCodedStream(
  741. ::google::protobuf::io::CodedInputStream* input) final;
  742. void SerializeWithCachedSizes(
  743. ::google::protobuf::io::CodedOutputStream* output) const final;
  744. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  745. bool deterministic, ::google::protobuf::uint8* target) const final;
  746. int GetCachedSize() const final { return _cached_size_.Get(); }
  747. private:
  748. void SharedCtor();
  749. void SharedDtor();
  750. void SetCachedSize(int size) const final;
  751. void InternalSwap(tof3dVzenseEtc* other);
  752. private:
  753. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  754. return NULL;
  755. }
  756. inline void* MaybeArenaPtr() const {
  757. return NULL;
  758. }
  759. public:
  760. ::google::protobuf::Metadata GetMetadata() const final;
  761. // nested types ----------------------------------------------------
  762. // accessors -------------------------------------------------------
  763. // required string ip = 2 [default = "192.168.1.101"];
  764. bool has_ip() const;
  765. void clear_ip();
  766. static const int kIpFieldNumber = 2;
  767. const ::std::string& ip() const;
  768. void set_ip(const ::std::string& value);
  769. #if LANG_CXX11
  770. void set_ip(::std::string&& value);
  771. #endif
  772. void set_ip(const char* value);
  773. void set_ip(const char* value, size_t size);
  774. ::std::string* mutable_ip();
  775. ::std::string* release_ip();
  776. void set_allocated_ip(::std::string* ip);
  777. // required .Tof3dVzenseBuiltInParams bip = 4;
  778. bool has_bip() const;
  779. void clear_bip();
  780. static const int kBipFieldNumber = 4;
  781. private:
  782. const ::Tof3dVzenseBuiltInParams& _internal_bip() const;
  783. public:
  784. const ::Tof3dVzenseBuiltInParams& bip() const;
  785. ::Tof3dVzenseBuiltInParams* release_bip();
  786. ::Tof3dVzenseBuiltInParams* mutable_bip();
  787. void set_allocated_bip(::Tof3dVzenseBuiltInParams* bip);
  788. // required .Yolov8ProcessParams yolo = 5;
  789. bool has_yolo() const;
  790. void clear_yolo();
  791. static const int kYoloFieldNumber = 5;
  792. private:
  793. const ::Yolov8ProcessParams& _internal_yolo() const;
  794. public:
  795. const ::Yolov8ProcessParams& yolo() const;
  796. ::Yolov8ProcessParams* release_yolo();
  797. ::Yolov8ProcessParams* mutable_yolo();
  798. void set_allocated_yolo(::Yolov8ProcessParams* yolo);
  799. // required bool enable_device = 1;
  800. bool has_enable_device() const;
  801. void clear_enable_device();
  802. static const int kEnableDeviceFieldNumber = 1;
  803. bool enable_device() const;
  804. void set_enable_device(bool value);
  805. // required .DeviceAzimuth azimuth = 6;
  806. bool has_azimuth() const;
  807. void clear_azimuth();
  808. static const int kAzimuthFieldNumber = 6;
  809. ::DeviceAzimuth azimuth() const;
  810. void set_azimuth(::DeviceAzimuth value);
  811. // @@protoc_insertion_point(class_scope:tof3dVzenseEtc)
  812. private:
  813. void set_has_enable_device();
  814. void clear_has_enable_device();
  815. void set_has_ip();
  816. void clear_has_ip();
  817. void set_has_bip();
  818. void clear_has_bip();
  819. void set_has_yolo();
  820. void clear_has_yolo();
  821. void set_has_azimuth();
  822. void clear_has_azimuth();
  823. // helper for ByteSizeLong()
  824. size_t RequiredFieldsByteSizeFallback() const;
  825. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  826. ::google::protobuf::internal::HasBits<1> _has_bits_;
  827. mutable ::google::protobuf::internal::CachedSize _cached_size_;
  828. public:
  829. static ::google::protobuf::internal::ExplicitlyConstructed< ::std::string> _i_give_permission_to_break_this_code_default_ip_;
  830. private:
  831. ::google::protobuf::internal::ArenaStringPtr ip_;
  832. ::Tof3dVzenseBuiltInParams* bip_;
  833. ::Yolov8ProcessParams* yolo_;
  834. bool enable_device_;
  835. int azimuth_;
  836. friend struct ::protobuf_tof3d_5fconfig_2eproto::TableStruct;
  837. };
  838. // -------------------------------------------------------------------
  839. class tof3dManagerParams : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:tof3dManagerParams) */ {
  840. public:
  841. tof3dManagerParams();
  842. virtual ~tof3dManagerParams();
  843. tof3dManagerParams(const tof3dManagerParams& from);
  844. inline tof3dManagerParams& operator=(const tof3dManagerParams& from) {
  845. CopyFrom(from);
  846. return *this;
  847. }
  848. #if LANG_CXX11
  849. tof3dManagerParams(tof3dManagerParams&& from) noexcept
  850. : tof3dManagerParams() {
  851. *this = ::std::move(from);
  852. }
  853. inline tof3dManagerParams& operator=(tof3dManagerParams&& from) noexcept {
  854. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  855. if (this != &from) InternalSwap(&from);
  856. } else {
  857. CopyFrom(from);
  858. }
  859. return *this;
  860. }
  861. #endif
  862. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  863. return _internal_metadata_.unknown_fields();
  864. }
  865. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  866. return _internal_metadata_.mutable_unknown_fields();
  867. }
  868. static const ::google::protobuf::Descriptor* descriptor();
  869. static const tof3dManagerParams& default_instance();
  870. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  871. static inline const tof3dManagerParams* internal_default_instance() {
  872. return reinterpret_cast<const tof3dManagerParams*>(
  873. &_tof3dManagerParams_default_instance_);
  874. }
  875. static constexpr int kIndexInFileMessages =
  876. 5;
  877. void Swap(tof3dManagerParams* other);
  878. friend void swap(tof3dManagerParams& a, tof3dManagerParams& b) {
  879. a.Swap(&b);
  880. }
  881. // implements Message ----------------------------------------------
  882. inline tof3dManagerParams* New() const final {
  883. return CreateMaybeMessage<tof3dManagerParams>(NULL);
  884. }
  885. tof3dManagerParams* New(::google::protobuf::Arena* arena) const final {
  886. return CreateMaybeMessage<tof3dManagerParams>(arena);
  887. }
  888. void CopyFrom(const ::google::protobuf::Message& from) final;
  889. void MergeFrom(const ::google::protobuf::Message& from) final;
  890. void CopyFrom(const tof3dManagerParams& from);
  891. void MergeFrom(const tof3dManagerParams& from);
  892. void Clear() final;
  893. bool IsInitialized() const final;
  894. size_t ByteSizeLong() const final;
  895. bool MergePartialFromCodedStream(
  896. ::google::protobuf::io::CodedInputStream* input) final;
  897. void SerializeWithCachedSizes(
  898. ::google::protobuf::io::CodedOutputStream* output) const final;
  899. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  900. bool deterministic, ::google::protobuf::uint8* target) const final;
  901. int GetCachedSize() const final { return _cached_size_.Get(); }
  902. private:
  903. void SharedCtor();
  904. void SharedDtor();
  905. void SetCachedSize(int size) const final;
  906. void InternalSwap(tof3dManagerParams* other);
  907. private:
  908. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  909. return NULL;
  910. }
  911. inline void* MaybeArenaPtr() const {
  912. return NULL;
  913. }
  914. public:
  915. ::google::protobuf::Metadata GetMetadata() const final;
  916. // nested types ----------------------------------------------------
  917. // accessors -------------------------------------------------------
  918. // repeated .tof3dVzenseEtc vzense_tof3d_devices = 1;
  919. int vzense_tof3d_devices_size() const;
  920. void clear_vzense_tof3d_devices();
  921. static const int kVzenseTof3DDevicesFieldNumber = 1;
  922. ::tof3dVzenseEtc* mutable_vzense_tof3d_devices(int index);
  923. ::google::protobuf::RepeatedPtrField< ::tof3dVzenseEtc >*
  924. mutable_vzense_tof3d_devices();
  925. const ::tof3dVzenseEtc& vzense_tof3d_devices(int index) const;
  926. ::tof3dVzenseEtc* add_vzense_tof3d_devices();
  927. const ::google::protobuf::RepeatedPtrField< ::tof3dVzenseEtc >&
  928. vzense_tof3d_devices() const;
  929. // @@protoc_insertion_point(class_scope:tof3dManagerParams)
  930. private:
  931. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  932. ::google::protobuf::internal::HasBits<1> _has_bits_;
  933. mutable ::google::protobuf::internal::CachedSize _cached_size_;
  934. ::google::protobuf::RepeatedPtrField< ::tof3dVzenseEtc > vzense_tof3d_devices_;
  935. friend struct ::protobuf_tof3d_5fconfig_2eproto::TableStruct;
  936. };
  937. // ===================================================================
  938. // ===================================================================
  939. #ifdef __GNUC__
  940. #pragma GCC diagnostic push
  941. #pragma GCC diagnostic ignored "-Wstrict-aliasing"
  942. #endif // __GNUC__
  943. // Tof3dVzenseBuiltInParams
  944. // optional uint32 work_mode = 1 [default = 0];
  945. inline bool Tof3dVzenseBuiltInParams::has_work_mode() const {
  946. return (_has_bits_[0] & 0x00000001u) != 0;
  947. }
  948. inline void Tof3dVzenseBuiltInParams::set_has_work_mode() {
  949. _has_bits_[0] |= 0x00000001u;
  950. }
  951. inline void Tof3dVzenseBuiltInParams::clear_has_work_mode() {
  952. _has_bits_[0] &= ~0x00000001u;
  953. }
  954. inline void Tof3dVzenseBuiltInParams::clear_work_mode() {
  955. work_mode_ = 0u;
  956. clear_has_work_mode();
  957. }
  958. inline ::google::protobuf::uint32 Tof3dVzenseBuiltInParams::work_mode() const {
  959. // @@protoc_insertion_point(field_get:Tof3dVzenseBuiltInParams.work_mode)
  960. return work_mode_;
  961. }
  962. inline void Tof3dVzenseBuiltInParams::set_work_mode(::google::protobuf::uint32 value) {
  963. set_has_work_mode();
  964. work_mode_ = value;
  965. // @@protoc_insertion_point(field_set:Tof3dVzenseBuiltInParams.work_mode)
  966. }
  967. // optional uint32 irgmmgain = 2 [default = 45];
  968. inline bool Tof3dVzenseBuiltInParams::has_irgmmgain() const {
  969. return (_has_bits_[0] & 0x00000020u) != 0;
  970. }
  971. inline void Tof3dVzenseBuiltInParams::set_has_irgmmgain() {
  972. _has_bits_[0] |= 0x00000020u;
  973. }
  974. inline void Tof3dVzenseBuiltInParams::clear_has_irgmmgain() {
  975. _has_bits_[0] &= ~0x00000020u;
  976. }
  977. inline void Tof3dVzenseBuiltInParams::clear_irgmmgain() {
  978. irgmmgain_ = 45u;
  979. clear_has_irgmmgain();
  980. }
  981. inline ::google::protobuf::uint32 Tof3dVzenseBuiltInParams::irgmmgain() const {
  982. // @@protoc_insertion_point(field_get:Tof3dVzenseBuiltInParams.irgmmgain)
  983. return irgmmgain_;
  984. }
  985. inline void Tof3dVzenseBuiltInParams::set_irgmmgain(::google::protobuf::uint32 value) {
  986. set_has_irgmmgain();
  987. irgmmgain_ = value;
  988. // @@protoc_insertion_point(field_set:Tof3dVzenseBuiltInParams.irgmmgain)
  989. }
  990. // optional uint32 frame_rate = 3 [default = 10];
  991. inline bool Tof3dVzenseBuiltInParams::has_frame_rate() const {
  992. return (_has_bits_[0] & 0x00000040u) != 0;
  993. }
  994. inline void Tof3dVzenseBuiltInParams::set_has_frame_rate() {
  995. _has_bits_[0] |= 0x00000040u;
  996. }
  997. inline void Tof3dVzenseBuiltInParams::clear_has_frame_rate() {
  998. _has_bits_[0] &= ~0x00000040u;
  999. }
  1000. inline void Tof3dVzenseBuiltInParams::clear_frame_rate() {
  1001. frame_rate_ = 10u;
  1002. clear_has_frame_rate();
  1003. }
  1004. inline ::google::protobuf::uint32 Tof3dVzenseBuiltInParams::frame_rate() const {
  1005. // @@protoc_insertion_point(field_get:Tof3dVzenseBuiltInParams.frame_rate)
  1006. return frame_rate_;
  1007. }
  1008. inline void Tof3dVzenseBuiltInParams::set_frame_rate(::google::protobuf::uint32 value) {
  1009. set_has_frame_rate();
  1010. frame_rate_ = value;
  1011. // @@protoc_insertion_point(field_set:Tof3dVzenseBuiltInParams.frame_rate)
  1012. }
  1013. // optional bool enable_manual_exposure_time = 4 [default = true];
  1014. inline bool Tof3dVzenseBuiltInParams::has_enable_manual_exposure_time() const {
  1015. return (_has_bits_[0] & 0x00000100u) != 0;
  1016. }
  1017. inline void Tof3dVzenseBuiltInParams::set_has_enable_manual_exposure_time() {
  1018. _has_bits_[0] |= 0x00000100u;
  1019. }
  1020. inline void Tof3dVzenseBuiltInParams::clear_has_enable_manual_exposure_time() {
  1021. _has_bits_[0] &= ~0x00000100u;
  1022. }
  1023. inline void Tof3dVzenseBuiltInParams::clear_enable_manual_exposure_time() {
  1024. enable_manual_exposure_time_ = true;
  1025. clear_has_enable_manual_exposure_time();
  1026. }
  1027. inline bool Tof3dVzenseBuiltInParams::enable_manual_exposure_time() const {
  1028. // @@protoc_insertion_point(field_get:Tof3dVzenseBuiltInParams.enable_manual_exposure_time)
  1029. return enable_manual_exposure_time_;
  1030. }
  1031. inline void Tof3dVzenseBuiltInParams::set_enable_manual_exposure_time(bool value) {
  1032. set_has_enable_manual_exposure_time();
  1033. enable_manual_exposure_time_ = value;
  1034. // @@protoc_insertion_point(field_set:Tof3dVzenseBuiltInParams.enable_manual_exposure_time)
  1035. }
  1036. // optional uint32 exposure_time = 5 [default = 2000];
  1037. inline bool Tof3dVzenseBuiltInParams::has_exposure_time() const {
  1038. return (_has_bits_[0] & 0x00000080u) != 0;
  1039. }
  1040. inline void Tof3dVzenseBuiltInParams::set_has_exposure_time() {
  1041. _has_bits_[0] |= 0x00000080u;
  1042. }
  1043. inline void Tof3dVzenseBuiltInParams::clear_has_exposure_time() {
  1044. _has_bits_[0] &= ~0x00000080u;
  1045. }
  1046. inline void Tof3dVzenseBuiltInParams::clear_exposure_time() {
  1047. exposure_time_ = 2000u;
  1048. clear_has_exposure_time();
  1049. }
  1050. inline ::google::protobuf::uint32 Tof3dVzenseBuiltInParams::exposure_time() const {
  1051. // @@protoc_insertion_point(field_get:Tof3dVzenseBuiltInParams.exposure_time)
  1052. return exposure_time_;
  1053. }
  1054. inline void Tof3dVzenseBuiltInParams::set_exposure_time(::google::protobuf::uint32 value) {
  1055. set_has_exposure_time();
  1056. exposure_time_ = value;
  1057. // @@protoc_insertion_point(field_set:Tof3dVzenseBuiltInParams.exposure_time)
  1058. }
  1059. // optional bool enable_filter_fill_hole = 7 [default = true];
  1060. inline bool Tof3dVzenseBuiltInParams::has_enable_filter_fill_hole() const {
  1061. return (_has_bits_[0] & 0x00000200u) != 0;
  1062. }
  1063. inline void Tof3dVzenseBuiltInParams::set_has_enable_filter_fill_hole() {
  1064. _has_bits_[0] |= 0x00000200u;
  1065. }
  1066. inline void Tof3dVzenseBuiltInParams::clear_has_enable_filter_fill_hole() {
  1067. _has_bits_[0] &= ~0x00000200u;
  1068. }
  1069. inline void Tof3dVzenseBuiltInParams::clear_enable_filter_fill_hole() {
  1070. enable_filter_fill_hole_ = true;
  1071. clear_has_enable_filter_fill_hole();
  1072. }
  1073. inline bool Tof3dVzenseBuiltInParams::enable_filter_fill_hole() const {
  1074. // @@protoc_insertion_point(field_get:Tof3dVzenseBuiltInParams.enable_filter_fill_hole)
  1075. return enable_filter_fill_hole_;
  1076. }
  1077. inline void Tof3dVzenseBuiltInParams::set_enable_filter_fill_hole(bool value) {
  1078. set_has_enable_filter_fill_hole();
  1079. enable_filter_fill_hole_ = value;
  1080. // @@protoc_insertion_point(field_set:Tof3dVzenseBuiltInParams.enable_filter_fill_hole)
  1081. }
  1082. // optional bool enable_filter_spatial = 8 [default = true];
  1083. inline bool Tof3dVzenseBuiltInParams::has_enable_filter_spatial() const {
  1084. return (_has_bits_[0] & 0x00000400u) != 0;
  1085. }
  1086. inline void Tof3dVzenseBuiltInParams::set_has_enable_filter_spatial() {
  1087. _has_bits_[0] |= 0x00000400u;
  1088. }
  1089. inline void Tof3dVzenseBuiltInParams::clear_has_enable_filter_spatial() {
  1090. _has_bits_[0] &= ~0x00000400u;
  1091. }
  1092. inline void Tof3dVzenseBuiltInParams::clear_enable_filter_spatial() {
  1093. enable_filter_spatial_ = true;
  1094. clear_has_enable_filter_spatial();
  1095. }
  1096. inline bool Tof3dVzenseBuiltInParams::enable_filter_spatial() const {
  1097. // @@protoc_insertion_point(field_get:Tof3dVzenseBuiltInParams.enable_filter_spatial)
  1098. return enable_filter_spatial_;
  1099. }
  1100. inline void Tof3dVzenseBuiltInParams::set_enable_filter_spatial(bool value) {
  1101. set_has_enable_filter_spatial();
  1102. enable_filter_spatial_ = value;
  1103. // @@protoc_insertion_point(field_set:Tof3dVzenseBuiltInParams.enable_filter_spatial)
  1104. }
  1105. // optional bool enable_time_filter = 9 [default = true];
  1106. inline bool Tof3dVzenseBuiltInParams::has_enable_time_filter() const {
  1107. return (_has_bits_[0] & 0x00000800u) != 0;
  1108. }
  1109. inline void Tof3dVzenseBuiltInParams::set_has_enable_time_filter() {
  1110. _has_bits_[0] |= 0x00000800u;
  1111. }
  1112. inline void Tof3dVzenseBuiltInParams::clear_has_enable_time_filter() {
  1113. _has_bits_[0] &= ~0x00000800u;
  1114. }
  1115. inline void Tof3dVzenseBuiltInParams::clear_enable_time_filter() {
  1116. enable_time_filter_ = true;
  1117. clear_has_enable_time_filter();
  1118. }
  1119. inline bool Tof3dVzenseBuiltInParams::enable_time_filter() const {
  1120. // @@protoc_insertion_point(field_get:Tof3dVzenseBuiltInParams.enable_time_filter)
  1121. return enable_time_filter_;
  1122. }
  1123. inline void Tof3dVzenseBuiltInParams::set_enable_time_filter(bool value) {
  1124. set_has_enable_time_filter();
  1125. enable_time_filter_ = value;
  1126. // @@protoc_insertion_point(field_set:Tof3dVzenseBuiltInParams.enable_time_filter)
  1127. }
  1128. // optional uint32 time_filter_value = 10 [default = 3];
  1129. inline bool Tof3dVzenseBuiltInParams::has_time_filter_value() const {
  1130. return (_has_bits_[0] & 0x00001000u) != 0;
  1131. }
  1132. inline void Tof3dVzenseBuiltInParams::set_has_time_filter_value() {
  1133. _has_bits_[0] |= 0x00001000u;
  1134. }
  1135. inline void Tof3dVzenseBuiltInParams::clear_has_time_filter_value() {
  1136. _has_bits_[0] &= ~0x00001000u;
  1137. }
  1138. inline void Tof3dVzenseBuiltInParams::clear_time_filter_value() {
  1139. time_filter_value_ = 3u;
  1140. clear_has_time_filter_value();
  1141. }
  1142. inline ::google::protobuf::uint32 Tof3dVzenseBuiltInParams::time_filter_value() const {
  1143. // @@protoc_insertion_point(field_get:Tof3dVzenseBuiltInParams.time_filter_value)
  1144. return time_filter_value_;
  1145. }
  1146. inline void Tof3dVzenseBuiltInParams::set_time_filter_value(::google::protobuf::uint32 value) {
  1147. set_has_time_filter_value();
  1148. time_filter_value_ = value;
  1149. // @@protoc_insertion_point(field_set:Tof3dVzenseBuiltInParams.time_filter_value)
  1150. }
  1151. // optional bool enable_flying_pixel_filter = 11 [default = true];
  1152. inline bool Tof3dVzenseBuiltInParams::has_enable_flying_pixel_filter() const {
  1153. return (_has_bits_[0] & 0x00000004u) != 0;
  1154. }
  1155. inline void Tof3dVzenseBuiltInParams::set_has_enable_flying_pixel_filter() {
  1156. _has_bits_[0] |= 0x00000004u;
  1157. }
  1158. inline void Tof3dVzenseBuiltInParams::clear_has_enable_flying_pixel_filter() {
  1159. _has_bits_[0] &= ~0x00000004u;
  1160. }
  1161. inline void Tof3dVzenseBuiltInParams::clear_enable_flying_pixel_filter() {
  1162. enable_flying_pixel_filter_ = true;
  1163. clear_has_enable_flying_pixel_filter();
  1164. }
  1165. inline bool Tof3dVzenseBuiltInParams::enable_flying_pixel_filter() const {
  1166. // @@protoc_insertion_point(field_get:Tof3dVzenseBuiltInParams.enable_flying_pixel_filter)
  1167. return enable_flying_pixel_filter_;
  1168. }
  1169. inline void Tof3dVzenseBuiltInParams::set_enable_flying_pixel_filter(bool value) {
  1170. set_has_enable_flying_pixel_filter();
  1171. enable_flying_pixel_filter_ = value;
  1172. // @@protoc_insertion_point(field_set:Tof3dVzenseBuiltInParams.enable_flying_pixel_filter)
  1173. }
  1174. // optional uint32 flying_pixel_filter_value = 12 [default = 15];
  1175. inline bool Tof3dVzenseBuiltInParams::has_flying_pixel_filter_value() const {
  1176. return (_has_bits_[0] & 0x00002000u) != 0;
  1177. }
  1178. inline void Tof3dVzenseBuiltInParams::set_has_flying_pixel_filter_value() {
  1179. _has_bits_[0] |= 0x00002000u;
  1180. }
  1181. inline void Tof3dVzenseBuiltInParams::clear_has_flying_pixel_filter_value() {
  1182. _has_bits_[0] &= ~0x00002000u;
  1183. }
  1184. inline void Tof3dVzenseBuiltInParams::clear_flying_pixel_filter_value() {
  1185. flying_pixel_filter_value_ = 15u;
  1186. clear_has_flying_pixel_filter_value();
  1187. }
  1188. inline ::google::protobuf::uint32 Tof3dVzenseBuiltInParams::flying_pixel_filter_value() const {
  1189. // @@protoc_insertion_point(field_get:Tof3dVzenseBuiltInParams.flying_pixel_filter_value)
  1190. return flying_pixel_filter_value_;
  1191. }
  1192. inline void Tof3dVzenseBuiltInParams::set_flying_pixel_filter_value(::google::protobuf::uint32 value) {
  1193. set_has_flying_pixel_filter_value();
  1194. flying_pixel_filter_value_ = value;
  1195. // @@protoc_insertion_point(field_set:Tof3dVzenseBuiltInParams.flying_pixel_filter_value)
  1196. }
  1197. // optional bool enable_confidence_filter = 13 [default = true];
  1198. inline bool Tof3dVzenseBuiltInParams::has_enable_confidence_filter() const {
  1199. return (_has_bits_[0] & 0x00000008u) != 0;
  1200. }
  1201. inline void Tof3dVzenseBuiltInParams::set_has_enable_confidence_filter() {
  1202. _has_bits_[0] |= 0x00000008u;
  1203. }
  1204. inline void Tof3dVzenseBuiltInParams::clear_has_enable_confidence_filter() {
  1205. _has_bits_[0] &= ~0x00000008u;
  1206. }
  1207. inline void Tof3dVzenseBuiltInParams::clear_enable_confidence_filter() {
  1208. enable_confidence_filter_ = true;
  1209. clear_has_enable_confidence_filter();
  1210. }
  1211. inline bool Tof3dVzenseBuiltInParams::enable_confidence_filter() const {
  1212. // @@protoc_insertion_point(field_get:Tof3dVzenseBuiltInParams.enable_confidence_filter)
  1213. return enable_confidence_filter_;
  1214. }
  1215. inline void Tof3dVzenseBuiltInParams::set_enable_confidence_filter(bool value) {
  1216. set_has_enable_confidence_filter();
  1217. enable_confidence_filter_ = value;
  1218. // @@protoc_insertion_point(field_set:Tof3dVzenseBuiltInParams.enable_confidence_filter)
  1219. }
  1220. // optional uint32 confidence_filter_value = 14 [default = 0];
  1221. inline bool Tof3dVzenseBuiltInParams::has_confidence_filter_value() const {
  1222. return (_has_bits_[0] & 0x00000002u) != 0;
  1223. }
  1224. inline void Tof3dVzenseBuiltInParams::set_has_confidence_filter_value() {
  1225. _has_bits_[0] |= 0x00000002u;
  1226. }
  1227. inline void Tof3dVzenseBuiltInParams::clear_has_confidence_filter_value() {
  1228. _has_bits_[0] &= ~0x00000002u;
  1229. }
  1230. inline void Tof3dVzenseBuiltInParams::clear_confidence_filter_value() {
  1231. confidence_filter_value_ = 0u;
  1232. clear_has_confidence_filter_value();
  1233. }
  1234. inline ::google::protobuf::uint32 Tof3dVzenseBuiltInParams::confidence_filter_value() const {
  1235. // @@protoc_insertion_point(field_get:Tof3dVzenseBuiltInParams.confidence_filter_value)
  1236. return confidence_filter_value_;
  1237. }
  1238. inline void Tof3dVzenseBuiltInParams::set_confidence_filter_value(::google::protobuf::uint32 value) {
  1239. set_has_confidence_filter_value();
  1240. confidence_filter_value_ = value;
  1241. // @@protoc_insertion_point(field_set:Tof3dVzenseBuiltInParams.confidence_filter_value)
  1242. }
  1243. // optional bool enable_hdr_mode = 15 [default = true];
  1244. inline bool Tof3dVzenseBuiltInParams::has_enable_hdr_mode() const {
  1245. return (_has_bits_[0] & 0x00000010u) != 0;
  1246. }
  1247. inline void Tof3dVzenseBuiltInParams::set_has_enable_hdr_mode() {
  1248. _has_bits_[0] |= 0x00000010u;
  1249. }
  1250. inline void Tof3dVzenseBuiltInParams::clear_has_enable_hdr_mode() {
  1251. _has_bits_[0] &= ~0x00000010u;
  1252. }
  1253. inline void Tof3dVzenseBuiltInParams::clear_enable_hdr_mode() {
  1254. enable_hdr_mode_ = true;
  1255. clear_has_enable_hdr_mode();
  1256. }
  1257. inline bool Tof3dVzenseBuiltInParams::enable_hdr_mode() const {
  1258. // @@protoc_insertion_point(field_get:Tof3dVzenseBuiltInParams.enable_hdr_mode)
  1259. return enable_hdr_mode_;
  1260. }
  1261. inline void Tof3dVzenseBuiltInParams::set_enable_hdr_mode(bool value) {
  1262. set_has_enable_hdr_mode();
  1263. enable_hdr_mode_ = value;
  1264. // @@protoc_insertion_point(field_set:Tof3dVzenseBuiltInParams.enable_hdr_mode)
  1265. }
  1266. // -------------------------------------------------------------------
  1267. // Yolov8ProcessParams
  1268. // optional bool save_mat = 1 [default = false];
  1269. inline bool Yolov8ProcessParams::has_save_mat() const {
  1270. return (_has_bits_[0] & 0x00000001u) != 0;
  1271. }
  1272. inline void Yolov8ProcessParams::set_has_save_mat() {
  1273. _has_bits_[0] |= 0x00000001u;
  1274. }
  1275. inline void Yolov8ProcessParams::clear_has_save_mat() {
  1276. _has_bits_[0] &= ~0x00000001u;
  1277. }
  1278. inline void Yolov8ProcessParams::clear_save_mat() {
  1279. save_mat_ = false;
  1280. clear_has_save_mat();
  1281. }
  1282. inline bool Yolov8ProcessParams::save_mat() const {
  1283. // @@protoc_insertion_point(field_get:Yolov8ProcessParams.save_mat)
  1284. return save_mat_;
  1285. }
  1286. inline void Yolov8ProcessParams::set_save_mat(bool value) {
  1287. set_has_save_mat();
  1288. save_mat_ = value;
  1289. // @@protoc_insertion_point(field_set:Yolov8ProcessParams.save_mat)
  1290. }
  1291. // optional bool draw_rect = 2 [default = false];
  1292. inline bool Yolov8ProcessParams::has_draw_rect() const {
  1293. return (_has_bits_[0] & 0x00000002u) != 0;
  1294. }
  1295. inline void Yolov8ProcessParams::set_has_draw_rect() {
  1296. _has_bits_[0] |= 0x00000002u;
  1297. }
  1298. inline void Yolov8ProcessParams::clear_has_draw_rect() {
  1299. _has_bits_[0] &= ~0x00000002u;
  1300. }
  1301. inline void Yolov8ProcessParams::clear_draw_rect() {
  1302. draw_rect_ = false;
  1303. clear_has_draw_rect();
  1304. }
  1305. inline bool Yolov8ProcessParams::draw_rect() const {
  1306. // @@protoc_insertion_point(field_get:Yolov8ProcessParams.draw_rect)
  1307. return draw_rect_;
  1308. }
  1309. inline void Yolov8ProcessParams::set_draw_rect(bool value) {
  1310. set_has_draw_rect();
  1311. draw_rect_ = value;
  1312. // @@protoc_insertion_point(field_set:Yolov8ProcessParams.draw_rect)
  1313. }
  1314. // optional float save_confidence = 3 [default = 0.8];
  1315. inline bool Yolov8ProcessParams::has_save_confidence() const {
  1316. return (_has_bits_[0] & 0x00000008u) != 0;
  1317. }
  1318. inline void Yolov8ProcessParams::set_has_save_confidence() {
  1319. _has_bits_[0] |= 0x00000008u;
  1320. }
  1321. inline void Yolov8ProcessParams::clear_has_save_confidence() {
  1322. _has_bits_[0] &= ~0x00000008u;
  1323. }
  1324. inline void Yolov8ProcessParams::clear_save_confidence() {
  1325. save_confidence_ = 0.8f;
  1326. clear_has_save_confidence();
  1327. }
  1328. inline float Yolov8ProcessParams::save_confidence() const {
  1329. // @@protoc_insertion_point(field_get:Yolov8ProcessParams.save_confidence)
  1330. return save_confidence_;
  1331. }
  1332. inline void Yolov8ProcessParams::set_save_confidence(float value) {
  1333. set_has_save_confidence();
  1334. save_confidence_ = value;
  1335. // @@protoc_insertion_point(field_set:Yolov8ProcessParams.save_confidence)
  1336. }
  1337. // optional float save_aspect_ratio_min = 4 [default = 0.9];
  1338. inline bool Yolov8ProcessParams::has_save_aspect_ratio_min() const {
  1339. return (_has_bits_[0] & 0x00000010u) != 0;
  1340. }
  1341. inline void Yolov8ProcessParams::set_has_save_aspect_ratio_min() {
  1342. _has_bits_[0] |= 0x00000010u;
  1343. }
  1344. inline void Yolov8ProcessParams::clear_has_save_aspect_ratio_min() {
  1345. _has_bits_[0] &= ~0x00000010u;
  1346. }
  1347. inline void Yolov8ProcessParams::clear_save_aspect_ratio_min() {
  1348. save_aspect_ratio_min_ = 0.9f;
  1349. clear_has_save_aspect_ratio_min();
  1350. }
  1351. inline float Yolov8ProcessParams::save_aspect_ratio_min() const {
  1352. // @@protoc_insertion_point(field_get:Yolov8ProcessParams.save_aspect_ratio_min)
  1353. return save_aspect_ratio_min_;
  1354. }
  1355. inline void Yolov8ProcessParams::set_save_aspect_ratio_min(float value) {
  1356. set_has_save_aspect_ratio_min();
  1357. save_aspect_ratio_min_ = value;
  1358. // @@protoc_insertion_point(field_set:Yolov8ProcessParams.save_aspect_ratio_min)
  1359. }
  1360. // optional float save_aspect_ratio_max = 5 [default = 1.1];
  1361. inline bool Yolov8ProcessParams::has_save_aspect_ratio_max() const {
  1362. return (_has_bits_[0] & 0x00000004u) != 0;
  1363. }
  1364. inline void Yolov8ProcessParams::set_has_save_aspect_ratio_max() {
  1365. _has_bits_[0] |= 0x00000004u;
  1366. }
  1367. inline void Yolov8ProcessParams::clear_has_save_aspect_ratio_max() {
  1368. _has_bits_[0] &= ~0x00000004u;
  1369. }
  1370. inline void Yolov8ProcessParams::clear_save_aspect_ratio_max() {
  1371. save_aspect_ratio_max_ = 1.1f;
  1372. clear_has_save_aspect_ratio_max();
  1373. }
  1374. inline float Yolov8ProcessParams::save_aspect_ratio_max() const {
  1375. // @@protoc_insertion_point(field_get:Yolov8ProcessParams.save_aspect_ratio_max)
  1376. return save_aspect_ratio_max_;
  1377. }
  1378. inline void Yolov8ProcessParams::set_save_aspect_ratio_max(float value) {
  1379. set_has_save_aspect_ratio_max();
  1380. save_aspect_ratio_max_ = value;
  1381. // @@protoc_insertion_point(field_set:Yolov8ProcessParams.save_aspect_ratio_max)
  1382. }
  1383. // -------------------------------------------------------------------
  1384. // RabbitmqCommunicationParams
  1385. // required bool enable_rabbitmq = 4;
  1386. inline bool RabbitmqCommunicationParams::has_enable_rabbitmq() const {
  1387. return (_has_bits_[0] & 0x00000004u) != 0;
  1388. }
  1389. inline void RabbitmqCommunicationParams::set_has_enable_rabbitmq() {
  1390. _has_bits_[0] |= 0x00000004u;
  1391. }
  1392. inline void RabbitmqCommunicationParams::clear_has_enable_rabbitmq() {
  1393. _has_bits_[0] &= ~0x00000004u;
  1394. }
  1395. inline void RabbitmqCommunicationParams::clear_enable_rabbitmq() {
  1396. enable_rabbitmq_ = false;
  1397. clear_has_enable_rabbitmq();
  1398. }
  1399. inline bool RabbitmqCommunicationParams::enable_rabbitmq() const {
  1400. // @@protoc_insertion_point(field_get:RabbitmqCommunicationParams.enable_rabbitmq)
  1401. return enable_rabbitmq_;
  1402. }
  1403. inline void RabbitmqCommunicationParams::set_enable_rabbitmq(bool value) {
  1404. set_has_enable_rabbitmq();
  1405. enable_rabbitmq_ = value;
  1406. // @@protoc_insertion_point(field_set:RabbitmqCommunicationParams.enable_rabbitmq)
  1407. }
  1408. // required string rabbitmq_ex = 5;
  1409. inline bool RabbitmqCommunicationParams::has_rabbitmq_ex() const {
  1410. return (_has_bits_[0] & 0x00000001u) != 0;
  1411. }
  1412. inline void RabbitmqCommunicationParams::set_has_rabbitmq_ex() {
  1413. _has_bits_[0] |= 0x00000001u;
  1414. }
  1415. inline void RabbitmqCommunicationParams::clear_has_rabbitmq_ex() {
  1416. _has_bits_[0] &= ~0x00000001u;
  1417. }
  1418. inline void RabbitmqCommunicationParams::clear_rabbitmq_ex() {
  1419. rabbitmq_ex_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1420. clear_has_rabbitmq_ex();
  1421. }
  1422. inline const ::std::string& RabbitmqCommunicationParams::rabbitmq_ex() const {
  1423. // @@protoc_insertion_point(field_get:RabbitmqCommunicationParams.rabbitmq_ex)
  1424. return rabbitmq_ex_.GetNoArena();
  1425. }
  1426. inline void RabbitmqCommunicationParams::set_rabbitmq_ex(const ::std::string& value) {
  1427. set_has_rabbitmq_ex();
  1428. rabbitmq_ex_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  1429. // @@protoc_insertion_point(field_set:RabbitmqCommunicationParams.rabbitmq_ex)
  1430. }
  1431. #if LANG_CXX11
  1432. inline void RabbitmqCommunicationParams::set_rabbitmq_ex(::std::string&& value) {
  1433. set_has_rabbitmq_ex();
  1434. rabbitmq_ex_.SetNoArena(
  1435. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  1436. // @@protoc_insertion_point(field_set_rvalue:RabbitmqCommunicationParams.rabbitmq_ex)
  1437. }
  1438. #endif
  1439. inline void RabbitmqCommunicationParams::set_rabbitmq_ex(const char* value) {
  1440. GOOGLE_DCHECK(value != NULL);
  1441. set_has_rabbitmq_ex();
  1442. rabbitmq_ex_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  1443. // @@protoc_insertion_point(field_set_char:RabbitmqCommunicationParams.rabbitmq_ex)
  1444. }
  1445. inline void RabbitmqCommunicationParams::set_rabbitmq_ex(const char* value, size_t size) {
  1446. set_has_rabbitmq_ex();
  1447. rabbitmq_ex_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  1448. ::std::string(reinterpret_cast<const char*>(value), size));
  1449. // @@protoc_insertion_point(field_set_pointer:RabbitmqCommunicationParams.rabbitmq_ex)
  1450. }
  1451. inline ::std::string* RabbitmqCommunicationParams::mutable_rabbitmq_ex() {
  1452. set_has_rabbitmq_ex();
  1453. // @@protoc_insertion_point(field_mutable:RabbitmqCommunicationParams.rabbitmq_ex)
  1454. return rabbitmq_ex_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1455. }
  1456. inline ::std::string* RabbitmqCommunicationParams::release_rabbitmq_ex() {
  1457. // @@protoc_insertion_point(field_release:RabbitmqCommunicationParams.rabbitmq_ex)
  1458. if (!has_rabbitmq_ex()) {
  1459. return NULL;
  1460. }
  1461. clear_has_rabbitmq_ex();
  1462. return rabbitmq_ex_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1463. }
  1464. inline void RabbitmqCommunicationParams::set_allocated_rabbitmq_ex(::std::string* rabbitmq_ex) {
  1465. if (rabbitmq_ex != NULL) {
  1466. set_has_rabbitmq_ex();
  1467. } else {
  1468. clear_has_rabbitmq_ex();
  1469. }
  1470. rabbitmq_ex_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), rabbitmq_ex);
  1471. // @@protoc_insertion_point(field_set_allocated:RabbitmqCommunicationParams.rabbitmq_ex)
  1472. }
  1473. // required string rabbitmq_route_key = 6;
  1474. inline bool RabbitmqCommunicationParams::has_rabbitmq_route_key() const {
  1475. return (_has_bits_[0] & 0x00000002u) != 0;
  1476. }
  1477. inline void RabbitmqCommunicationParams::set_has_rabbitmq_route_key() {
  1478. _has_bits_[0] |= 0x00000002u;
  1479. }
  1480. inline void RabbitmqCommunicationParams::clear_has_rabbitmq_route_key() {
  1481. _has_bits_[0] &= ~0x00000002u;
  1482. }
  1483. inline void RabbitmqCommunicationParams::clear_rabbitmq_route_key() {
  1484. rabbitmq_route_key_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1485. clear_has_rabbitmq_route_key();
  1486. }
  1487. inline const ::std::string& RabbitmqCommunicationParams::rabbitmq_route_key() const {
  1488. // @@protoc_insertion_point(field_get:RabbitmqCommunicationParams.rabbitmq_route_key)
  1489. return rabbitmq_route_key_.GetNoArena();
  1490. }
  1491. inline void RabbitmqCommunicationParams::set_rabbitmq_route_key(const ::std::string& value) {
  1492. set_has_rabbitmq_route_key();
  1493. rabbitmq_route_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  1494. // @@protoc_insertion_point(field_set:RabbitmqCommunicationParams.rabbitmq_route_key)
  1495. }
  1496. #if LANG_CXX11
  1497. inline void RabbitmqCommunicationParams::set_rabbitmq_route_key(::std::string&& value) {
  1498. set_has_rabbitmq_route_key();
  1499. rabbitmq_route_key_.SetNoArena(
  1500. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  1501. // @@protoc_insertion_point(field_set_rvalue:RabbitmqCommunicationParams.rabbitmq_route_key)
  1502. }
  1503. #endif
  1504. inline void RabbitmqCommunicationParams::set_rabbitmq_route_key(const char* value) {
  1505. GOOGLE_DCHECK(value != NULL);
  1506. set_has_rabbitmq_route_key();
  1507. rabbitmq_route_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  1508. // @@protoc_insertion_point(field_set_char:RabbitmqCommunicationParams.rabbitmq_route_key)
  1509. }
  1510. inline void RabbitmqCommunicationParams::set_rabbitmq_route_key(const char* value, size_t size) {
  1511. set_has_rabbitmq_route_key();
  1512. rabbitmq_route_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  1513. ::std::string(reinterpret_cast<const char*>(value), size));
  1514. // @@protoc_insertion_point(field_set_pointer:RabbitmqCommunicationParams.rabbitmq_route_key)
  1515. }
  1516. inline ::std::string* RabbitmqCommunicationParams::mutable_rabbitmq_route_key() {
  1517. set_has_rabbitmq_route_key();
  1518. // @@protoc_insertion_point(field_mutable:RabbitmqCommunicationParams.rabbitmq_route_key)
  1519. return rabbitmq_route_key_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1520. }
  1521. inline ::std::string* RabbitmqCommunicationParams::release_rabbitmq_route_key() {
  1522. // @@protoc_insertion_point(field_release:RabbitmqCommunicationParams.rabbitmq_route_key)
  1523. if (!has_rabbitmq_route_key()) {
  1524. return NULL;
  1525. }
  1526. clear_has_rabbitmq_route_key();
  1527. return rabbitmq_route_key_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1528. }
  1529. inline void RabbitmqCommunicationParams::set_allocated_rabbitmq_route_key(::std::string* rabbitmq_route_key) {
  1530. if (rabbitmq_route_key != NULL) {
  1531. set_has_rabbitmq_route_key();
  1532. } else {
  1533. clear_has_rabbitmq_route_key();
  1534. }
  1535. rabbitmq_route_key_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), rabbitmq_route_key);
  1536. // @@protoc_insertion_point(field_set_allocated:RabbitmqCommunicationParams.rabbitmq_route_key)
  1537. }
  1538. // -------------------------------------------------------------------
  1539. // MqttCommunicationParams
  1540. // required bool enable_mqtt = 7;
  1541. inline bool MqttCommunicationParams::has_enable_mqtt() const {
  1542. return (_has_bits_[0] & 0x00000002u) != 0;
  1543. }
  1544. inline void MqttCommunicationParams::set_has_enable_mqtt() {
  1545. _has_bits_[0] |= 0x00000002u;
  1546. }
  1547. inline void MqttCommunicationParams::clear_has_enable_mqtt() {
  1548. _has_bits_[0] &= ~0x00000002u;
  1549. }
  1550. inline void MqttCommunicationParams::clear_enable_mqtt() {
  1551. enable_mqtt_ = false;
  1552. clear_has_enable_mqtt();
  1553. }
  1554. inline bool MqttCommunicationParams::enable_mqtt() const {
  1555. // @@protoc_insertion_point(field_get:MqttCommunicationParams.enable_mqtt)
  1556. return enable_mqtt_;
  1557. }
  1558. inline void MqttCommunicationParams::set_enable_mqtt(bool value) {
  1559. set_has_enable_mqtt();
  1560. enable_mqtt_ = value;
  1561. // @@protoc_insertion_point(field_set:MqttCommunicationParams.enable_mqtt)
  1562. }
  1563. // required string mqtt_topic = 8;
  1564. inline bool MqttCommunicationParams::has_mqtt_topic() const {
  1565. return (_has_bits_[0] & 0x00000001u) != 0;
  1566. }
  1567. inline void MqttCommunicationParams::set_has_mqtt_topic() {
  1568. _has_bits_[0] |= 0x00000001u;
  1569. }
  1570. inline void MqttCommunicationParams::clear_has_mqtt_topic() {
  1571. _has_bits_[0] &= ~0x00000001u;
  1572. }
  1573. inline void MqttCommunicationParams::clear_mqtt_topic() {
  1574. mqtt_topic_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1575. clear_has_mqtt_topic();
  1576. }
  1577. inline const ::std::string& MqttCommunicationParams::mqtt_topic() const {
  1578. // @@protoc_insertion_point(field_get:MqttCommunicationParams.mqtt_topic)
  1579. return mqtt_topic_.GetNoArena();
  1580. }
  1581. inline void MqttCommunicationParams::set_mqtt_topic(const ::std::string& value) {
  1582. set_has_mqtt_topic();
  1583. mqtt_topic_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  1584. // @@protoc_insertion_point(field_set:MqttCommunicationParams.mqtt_topic)
  1585. }
  1586. #if LANG_CXX11
  1587. inline void MqttCommunicationParams::set_mqtt_topic(::std::string&& value) {
  1588. set_has_mqtt_topic();
  1589. mqtt_topic_.SetNoArena(
  1590. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  1591. // @@protoc_insertion_point(field_set_rvalue:MqttCommunicationParams.mqtt_topic)
  1592. }
  1593. #endif
  1594. inline void MqttCommunicationParams::set_mqtt_topic(const char* value) {
  1595. GOOGLE_DCHECK(value != NULL);
  1596. set_has_mqtt_topic();
  1597. mqtt_topic_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  1598. // @@protoc_insertion_point(field_set_char:MqttCommunicationParams.mqtt_topic)
  1599. }
  1600. inline void MqttCommunicationParams::set_mqtt_topic(const char* value, size_t size) {
  1601. set_has_mqtt_topic();
  1602. mqtt_topic_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  1603. ::std::string(reinterpret_cast<const char*>(value), size));
  1604. // @@protoc_insertion_point(field_set_pointer:MqttCommunicationParams.mqtt_topic)
  1605. }
  1606. inline ::std::string* MqttCommunicationParams::mutable_mqtt_topic() {
  1607. set_has_mqtt_topic();
  1608. // @@protoc_insertion_point(field_mutable:MqttCommunicationParams.mqtt_topic)
  1609. return mqtt_topic_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1610. }
  1611. inline ::std::string* MqttCommunicationParams::release_mqtt_topic() {
  1612. // @@protoc_insertion_point(field_release:MqttCommunicationParams.mqtt_topic)
  1613. if (!has_mqtt_topic()) {
  1614. return NULL;
  1615. }
  1616. clear_has_mqtt_topic();
  1617. return mqtt_topic_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1618. }
  1619. inline void MqttCommunicationParams::set_allocated_mqtt_topic(::std::string* mqtt_topic) {
  1620. if (mqtt_topic != NULL) {
  1621. set_has_mqtt_topic();
  1622. } else {
  1623. clear_has_mqtt_topic();
  1624. }
  1625. mqtt_topic_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), mqtt_topic);
  1626. // @@protoc_insertion_point(field_set_allocated:MqttCommunicationParams.mqtt_topic)
  1627. }
  1628. // -------------------------------------------------------------------
  1629. // tof3dVzenseEtc
  1630. // required bool enable_device = 1;
  1631. inline bool tof3dVzenseEtc::has_enable_device() const {
  1632. return (_has_bits_[0] & 0x00000008u) != 0;
  1633. }
  1634. inline void tof3dVzenseEtc::set_has_enable_device() {
  1635. _has_bits_[0] |= 0x00000008u;
  1636. }
  1637. inline void tof3dVzenseEtc::clear_has_enable_device() {
  1638. _has_bits_[0] &= ~0x00000008u;
  1639. }
  1640. inline void tof3dVzenseEtc::clear_enable_device() {
  1641. enable_device_ = false;
  1642. clear_has_enable_device();
  1643. }
  1644. inline bool tof3dVzenseEtc::enable_device() const {
  1645. // @@protoc_insertion_point(field_get:tof3dVzenseEtc.enable_device)
  1646. return enable_device_;
  1647. }
  1648. inline void tof3dVzenseEtc::set_enable_device(bool value) {
  1649. set_has_enable_device();
  1650. enable_device_ = value;
  1651. // @@protoc_insertion_point(field_set:tof3dVzenseEtc.enable_device)
  1652. }
  1653. // required string ip = 2 [default = "192.168.1.101"];
  1654. inline bool tof3dVzenseEtc::has_ip() const {
  1655. return (_has_bits_[0] & 0x00000001u) != 0;
  1656. }
  1657. inline void tof3dVzenseEtc::set_has_ip() {
  1658. _has_bits_[0] |= 0x00000001u;
  1659. }
  1660. inline void tof3dVzenseEtc::clear_has_ip() {
  1661. _has_bits_[0] &= ~0x00000001u;
  1662. }
  1663. inline void tof3dVzenseEtc::clear_ip() {
  1664. ip_.ClearToDefaultNoArena(&::tof3dVzenseEtc::_i_give_permission_to_break_this_code_default_ip_.get());
  1665. clear_has_ip();
  1666. }
  1667. inline const ::std::string& tof3dVzenseEtc::ip() const {
  1668. // @@protoc_insertion_point(field_get:tof3dVzenseEtc.ip)
  1669. return ip_.GetNoArena();
  1670. }
  1671. inline void tof3dVzenseEtc::set_ip(const ::std::string& value) {
  1672. set_has_ip();
  1673. ip_.SetNoArena(&::tof3dVzenseEtc::_i_give_permission_to_break_this_code_default_ip_.get(), value);
  1674. // @@protoc_insertion_point(field_set:tof3dVzenseEtc.ip)
  1675. }
  1676. #if LANG_CXX11
  1677. inline void tof3dVzenseEtc::set_ip(::std::string&& value) {
  1678. set_has_ip();
  1679. ip_.SetNoArena(
  1680. &::tof3dVzenseEtc::_i_give_permission_to_break_this_code_default_ip_.get(), ::std::move(value));
  1681. // @@protoc_insertion_point(field_set_rvalue:tof3dVzenseEtc.ip)
  1682. }
  1683. #endif
  1684. inline void tof3dVzenseEtc::set_ip(const char* value) {
  1685. GOOGLE_DCHECK(value != NULL);
  1686. set_has_ip();
  1687. ip_.SetNoArena(&::tof3dVzenseEtc::_i_give_permission_to_break_this_code_default_ip_.get(), ::std::string(value));
  1688. // @@protoc_insertion_point(field_set_char:tof3dVzenseEtc.ip)
  1689. }
  1690. inline void tof3dVzenseEtc::set_ip(const char* value, size_t size) {
  1691. set_has_ip();
  1692. ip_.SetNoArena(&::tof3dVzenseEtc::_i_give_permission_to_break_this_code_default_ip_.get(),
  1693. ::std::string(reinterpret_cast<const char*>(value), size));
  1694. // @@protoc_insertion_point(field_set_pointer:tof3dVzenseEtc.ip)
  1695. }
  1696. inline ::std::string* tof3dVzenseEtc::mutable_ip() {
  1697. set_has_ip();
  1698. // @@protoc_insertion_point(field_mutable:tof3dVzenseEtc.ip)
  1699. return ip_.MutableNoArena(&::tof3dVzenseEtc::_i_give_permission_to_break_this_code_default_ip_.get());
  1700. }
  1701. inline ::std::string* tof3dVzenseEtc::release_ip() {
  1702. // @@protoc_insertion_point(field_release:tof3dVzenseEtc.ip)
  1703. if (!has_ip()) {
  1704. return NULL;
  1705. }
  1706. clear_has_ip();
  1707. return ip_.ReleaseNonDefaultNoArena(&::tof3dVzenseEtc::_i_give_permission_to_break_this_code_default_ip_.get());
  1708. }
  1709. inline void tof3dVzenseEtc::set_allocated_ip(::std::string* ip) {
  1710. if (ip != NULL) {
  1711. set_has_ip();
  1712. } else {
  1713. clear_has_ip();
  1714. }
  1715. ip_.SetAllocatedNoArena(&::tof3dVzenseEtc::_i_give_permission_to_break_this_code_default_ip_.get(), ip);
  1716. // @@protoc_insertion_point(field_set_allocated:tof3dVzenseEtc.ip)
  1717. }
  1718. // required .Tof3dVzenseBuiltInParams bip = 4;
  1719. inline bool tof3dVzenseEtc::has_bip() const {
  1720. return (_has_bits_[0] & 0x00000002u) != 0;
  1721. }
  1722. inline void tof3dVzenseEtc::set_has_bip() {
  1723. _has_bits_[0] |= 0x00000002u;
  1724. }
  1725. inline void tof3dVzenseEtc::clear_has_bip() {
  1726. _has_bits_[0] &= ~0x00000002u;
  1727. }
  1728. inline void tof3dVzenseEtc::clear_bip() {
  1729. if (bip_ != NULL) bip_->Clear();
  1730. clear_has_bip();
  1731. }
  1732. inline const ::Tof3dVzenseBuiltInParams& tof3dVzenseEtc::_internal_bip() const {
  1733. return *bip_;
  1734. }
  1735. inline const ::Tof3dVzenseBuiltInParams& tof3dVzenseEtc::bip() const {
  1736. const ::Tof3dVzenseBuiltInParams* p = bip_;
  1737. // @@protoc_insertion_point(field_get:tof3dVzenseEtc.bip)
  1738. return p != NULL ? *p : *reinterpret_cast<const ::Tof3dVzenseBuiltInParams*>(
  1739. &::_Tof3dVzenseBuiltInParams_default_instance_);
  1740. }
  1741. inline ::Tof3dVzenseBuiltInParams* tof3dVzenseEtc::release_bip() {
  1742. // @@protoc_insertion_point(field_release:tof3dVzenseEtc.bip)
  1743. clear_has_bip();
  1744. ::Tof3dVzenseBuiltInParams* temp = bip_;
  1745. bip_ = NULL;
  1746. return temp;
  1747. }
  1748. inline ::Tof3dVzenseBuiltInParams* tof3dVzenseEtc::mutable_bip() {
  1749. set_has_bip();
  1750. if (bip_ == NULL) {
  1751. auto* p = CreateMaybeMessage<::Tof3dVzenseBuiltInParams>(GetArenaNoVirtual());
  1752. bip_ = p;
  1753. }
  1754. // @@protoc_insertion_point(field_mutable:tof3dVzenseEtc.bip)
  1755. return bip_;
  1756. }
  1757. inline void tof3dVzenseEtc::set_allocated_bip(::Tof3dVzenseBuiltInParams* bip) {
  1758. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  1759. if (message_arena == NULL) {
  1760. delete bip_;
  1761. }
  1762. if (bip) {
  1763. ::google::protobuf::Arena* submessage_arena = NULL;
  1764. if (message_arena != submessage_arena) {
  1765. bip = ::google::protobuf::internal::GetOwnedMessage(
  1766. message_arena, bip, submessage_arena);
  1767. }
  1768. set_has_bip();
  1769. } else {
  1770. clear_has_bip();
  1771. }
  1772. bip_ = bip;
  1773. // @@protoc_insertion_point(field_set_allocated:tof3dVzenseEtc.bip)
  1774. }
  1775. // required .Yolov8ProcessParams yolo = 5;
  1776. inline bool tof3dVzenseEtc::has_yolo() const {
  1777. return (_has_bits_[0] & 0x00000004u) != 0;
  1778. }
  1779. inline void tof3dVzenseEtc::set_has_yolo() {
  1780. _has_bits_[0] |= 0x00000004u;
  1781. }
  1782. inline void tof3dVzenseEtc::clear_has_yolo() {
  1783. _has_bits_[0] &= ~0x00000004u;
  1784. }
  1785. inline void tof3dVzenseEtc::clear_yolo() {
  1786. if (yolo_ != NULL) yolo_->Clear();
  1787. clear_has_yolo();
  1788. }
  1789. inline const ::Yolov8ProcessParams& tof3dVzenseEtc::_internal_yolo() const {
  1790. return *yolo_;
  1791. }
  1792. inline const ::Yolov8ProcessParams& tof3dVzenseEtc::yolo() const {
  1793. const ::Yolov8ProcessParams* p = yolo_;
  1794. // @@protoc_insertion_point(field_get:tof3dVzenseEtc.yolo)
  1795. return p != NULL ? *p : *reinterpret_cast<const ::Yolov8ProcessParams*>(
  1796. &::_Yolov8ProcessParams_default_instance_);
  1797. }
  1798. inline ::Yolov8ProcessParams* tof3dVzenseEtc::release_yolo() {
  1799. // @@protoc_insertion_point(field_release:tof3dVzenseEtc.yolo)
  1800. clear_has_yolo();
  1801. ::Yolov8ProcessParams* temp = yolo_;
  1802. yolo_ = NULL;
  1803. return temp;
  1804. }
  1805. inline ::Yolov8ProcessParams* tof3dVzenseEtc::mutable_yolo() {
  1806. set_has_yolo();
  1807. if (yolo_ == NULL) {
  1808. auto* p = CreateMaybeMessage<::Yolov8ProcessParams>(GetArenaNoVirtual());
  1809. yolo_ = p;
  1810. }
  1811. // @@protoc_insertion_point(field_mutable:tof3dVzenseEtc.yolo)
  1812. return yolo_;
  1813. }
  1814. inline void tof3dVzenseEtc::set_allocated_yolo(::Yolov8ProcessParams* yolo) {
  1815. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  1816. if (message_arena == NULL) {
  1817. delete yolo_;
  1818. }
  1819. if (yolo) {
  1820. ::google::protobuf::Arena* submessage_arena = NULL;
  1821. if (message_arena != submessage_arena) {
  1822. yolo = ::google::protobuf::internal::GetOwnedMessage(
  1823. message_arena, yolo, submessage_arena);
  1824. }
  1825. set_has_yolo();
  1826. } else {
  1827. clear_has_yolo();
  1828. }
  1829. yolo_ = yolo;
  1830. // @@protoc_insertion_point(field_set_allocated:tof3dVzenseEtc.yolo)
  1831. }
  1832. // required .DeviceAzimuth azimuth = 6;
  1833. inline bool tof3dVzenseEtc::has_azimuth() const {
  1834. return (_has_bits_[0] & 0x00000010u) != 0;
  1835. }
  1836. inline void tof3dVzenseEtc::set_has_azimuth() {
  1837. _has_bits_[0] |= 0x00000010u;
  1838. }
  1839. inline void tof3dVzenseEtc::clear_has_azimuth() {
  1840. _has_bits_[0] &= ~0x00000010u;
  1841. }
  1842. inline void tof3dVzenseEtc::clear_azimuth() {
  1843. azimuth_ = 1;
  1844. clear_has_azimuth();
  1845. }
  1846. inline ::DeviceAzimuth tof3dVzenseEtc::azimuth() const {
  1847. // @@protoc_insertion_point(field_get:tof3dVzenseEtc.azimuth)
  1848. return static_cast< ::DeviceAzimuth >(azimuth_);
  1849. }
  1850. inline void tof3dVzenseEtc::set_azimuth(::DeviceAzimuth value) {
  1851. assert(::DeviceAzimuth_IsValid(value));
  1852. set_has_azimuth();
  1853. azimuth_ = value;
  1854. // @@protoc_insertion_point(field_set:tof3dVzenseEtc.azimuth)
  1855. }
  1856. // -------------------------------------------------------------------
  1857. // tof3dManagerParams
  1858. // repeated .tof3dVzenseEtc vzense_tof3d_devices = 1;
  1859. inline int tof3dManagerParams::vzense_tof3d_devices_size() const {
  1860. return vzense_tof3d_devices_.size();
  1861. }
  1862. inline void tof3dManagerParams::clear_vzense_tof3d_devices() {
  1863. vzense_tof3d_devices_.Clear();
  1864. }
  1865. inline ::tof3dVzenseEtc* tof3dManagerParams::mutable_vzense_tof3d_devices(int index) {
  1866. // @@protoc_insertion_point(field_mutable:tof3dManagerParams.vzense_tof3d_devices)
  1867. return vzense_tof3d_devices_.Mutable(index);
  1868. }
  1869. inline ::google::protobuf::RepeatedPtrField< ::tof3dVzenseEtc >*
  1870. tof3dManagerParams::mutable_vzense_tof3d_devices() {
  1871. // @@protoc_insertion_point(field_mutable_list:tof3dManagerParams.vzense_tof3d_devices)
  1872. return &vzense_tof3d_devices_;
  1873. }
  1874. inline const ::tof3dVzenseEtc& tof3dManagerParams::vzense_tof3d_devices(int index) const {
  1875. // @@protoc_insertion_point(field_get:tof3dManagerParams.vzense_tof3d_devices)
  1876. return vzense_tof3d_devices_.Get(index);
  1877. }
  1878. inline ::tof3dVzenseEtc* tof3dManagerParams::add_vzense_tof3d_devices() {
  1879. // @@protoc_insertion_point(field_add:tof3dManagerParams.vzense_tof3d_devices)
  1880. return vzense_tof3d_devices_.Add();
  1881. }
  1882. inline const ::google::protobuf::RepeatedPtrField< ::tof3dVzenseEtc >&
  1883. tof3dManagerParams::vzense_tof3d_devices() const {
  1884. // @@protoc_insertion_point(field_list:tof3dManagerParams.vzense_tof3d_devices)
  1885. return vzense_tof3d_devices_;
  1886. }
  1887. #ifdef __GNUC__
  1888. #pragma GCC diagnostic pop
  1889. #endif // __GNUC__
  1890. // -------------------------------------------------------------------
  1891. // -------------------------------------------------------------------
  1892. // -------------------------------------------------------------------
  1893. // -------------------------------------------------------------------
  1894. // -------------------------------------------------------------------
  1895. // @@protoc_insertion_point(namespace_scope)
  1896. namespace google {
  1897. namespace protobuf {
  1898. template <> struct is_proto_enum< ::DeviceAzimuth> : ::std::true_type {};
  1899. template <>
  1900. inline const EnumDescriptor* GetEnumDescriptor< ::DeviceAzimuth>() {
  1901. return ::DeviceAzimuth_descriptor();
  1902. }
  1903. } // namespace protobuf
  1904. } // namespace google
  1905. // @@protoc_insertion_point(global_scope)
  1906. #endif // PROTOBUF_INCLUDED_tof3d_5fconfig_2eproto