setting.pb.h 78 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316
  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // source: setting.proto
  3. #ifndef GOOGLE_PROTOBUF_INCLUDED_setting_2eproto
  4. #define GOOGLE_PROTOBUF_INCLUDED_setting_2eproto
  5. #include <limits>
  6. #include <string>
  7. #include <google/protobuf/port_def.inc>
  8. #if PROTOBUF_VERSION < 3013000
  9. #error This file was generated by a newer version of protoc which is
  10. #error incompatible with your Protocol Buffer headers. Please update
  11. #error your headers.
  12. #endif
  13. #if 3013000 < PROTOBUF_MIN_PROTOC_VERSION
  14. #error This file was generated by an older version of protoc which is
  15. #error incompatible with your Protocol Buffer headers. Please
  16. #error regenerate this file with a newer version of protoc.
  17. #endif
  18. #include <google/protobuf/port_undef.inc>
  19. #include <google/protobuf/io/coded_stream.h>
  20. #include <google/protobuf/arena.h>
  21. #include <google/protobuf/arenastring.h>
  22. #include <google/protobuf/generated_message_table_driven.h>
  23. #include <google/protobuf/generated_message_util.h>
  24. #include <google/protobuf/inlined_string_field.h>
  25. #include <google/protobuf/metadata_lite.h>
  26. #include <google/protobuf/generated_message_reflection.h>
  27. #include <google/protobuf/message.h>
  28. #include <google/protobuf/repeated_field.h> // IWYU pragma: export
  29. #include <google/protobuf/extension_set.h> // IWYU pragma: export
  30. #include <google/protobuf/unknown_field_set.h>
  31. // @@protoc_insertion_point(includes)
  32. #include <google/protobuf/port_def.inc>
  33. #define PROTOBUF_INTERNAL_EXPORT_setting_2eproto
  34. PROTOBUF_NAMESPACE_OPEN
  35. namespace internal {
  36. class AnyMetadata;
  37. } // namespace internal
  38. PROTOBUF_NAMESPACE_CLOSE
  39. // Internal implementation detail -- do not use these members.
  40. struct TableStruct_setting_2eproto {
  41. static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
  42. PROTOBUF_SECTION_VARIABLE(protodesc_cold);
  43. static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[]
  44. PROTOBUF_SECTION_VARIABLE(protodesc_cold);
  45. static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[5]
  46. PROTOBUF_SECTION_VARIABLE(protodesc_cold);
  47. static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
  48. static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
  49. static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[];
  50. };
  51. extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_setting_2eproto;
  52. namespace shutter {
  53. class box_param;
  54. class box_paramDefaultTypeInternal;
  55. extern box_paramDefaultTypeInternal _box_param_default_instance_;
  56. class lidar_parameter;
  57. class lidar_parameterDefaultTypeInternal;
  58. extern lidar_parameterDefaultTypeInternal _lidar_parameter_default_instance_;
  59. class plc_param;
  60. class plc_paramDefaultTypeInternal;
  61. extern plc_paramDefaultTypeInternal _plc_param_default_instance_;
  62. class setting_parameter;
  63. class setting_parameterDefaultTypeInternal;
  64. extern setting_parameterDefaultTypeInternal _setting_parameter_default_instance_;
  65. class shutter_param;
  66. class shutter_paramDefaultTypeInternal;
  67. extern shutter_paramDefaultTypeInternal _shutter_param_default_instance_;
  68. } // namespace shutter
  69. PROTOBUF_NAMESPACE_OPEN
  70. template<> ::shutter::box_param* Arena::CreateMaybeMessage<::shutter::box_param>(Arena*);
  71. template<> ::shutter::lidar_parameter* Arena::CreateMaybeMessage<::shutter::lidar_parameter>(Arena*);
  72. template<> ::shutter::plc_param* Arena::CreateMaybeMessage<::shutter::plc_param>(Arena*);
  73. template<> ::shutter::setting_parameter* Arena::CreateMaybeMessage<::shutter::setting_parameter>(Arena*);
  74. template<> ::shutter::shutter_param* Arena::CreateMaybeMessage<::shutter::shutter_param>(Arena*);
  75. PROTOBUF_NAMESPACE_CLOSE
  76. namespace shutter {
  77. // ===================================================================
  78. class lidar_parameter PROTOBUF_FINAL :
  79. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:shutter.lidar_parameter) */ {
  80. public:
  81. inline lidar_parameter() : lidar_parameter(nullptr) {}
  82. virtual ~lidar_parameter();
  83. lidar_parameter(const lidar_parameter& from);
  84. lidar_parameter(lidar_parameter&& from) noexcept
  85. : lidar_parameter() {
  86. *this = ::std::move(from);
  87. }
  88. inline lidar_parameter& operator=(const lidar_parameter& from) {
  89. CopyFrom(from);
  90. return *this;
  91. }
  92. inline lidar_parameter& operator=(lidar_parameter&& from) noexcept {
  93. if (GetArena() == from.GetArena()) {
  94. if (this != &from) InternalSwap(&from);
  95. } else {
  96. CopyFrom(from);
  97. }
  98. return *this;
  99. }
  100. inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
  101. return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
  102. }
  103. inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
  104. return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
  105. }
  106. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  107. return GetDescriptor();
  108. }
  109. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  110. return GetMetadataStatic().descriptor;
  111. }
  112. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  113. return GetMetadataStatic().reflection;
  114. }
  115. static const lidar_parameter& default_instance();
  116. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  117. static inline const lidar_parameter* internal_default_instance() {
  118. return reinterpret_cast<const lidar_parameter*>(
  119. &_lidar_parameter_default_instance_);
  120. }
  121. static constexpr int kIndexInFileMessages =
  122. 0;
  123. friend void swap(lidar_parameter& a, lidar_parameter& b) {
  124. a.Swap(&b);
  125. }
  126. inline void Swap(lidar_parameter* other) {
  127. if (other == this) return;
  128. if (GetArena() == other->GetArena()) {
  129. InternalSwap(other);
  130. } else {
  131. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  132. }
  133. }
  134. void UnsafeArenaSwap(lidar_parameter* other) {
  135. if (other == this) return;
  136. GOOGLE_DCHECK(GetArena() == other->GetArena());
  137. InternalSwap(other);
  138. }
  139. // implements Message ----------------------------------------------
  140. inline lidar_parameter* New() const final {
  141. return CreateMaybeMessage<lidar_parameter>(nullptr);
  142. }
  143. lidar_parameter* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  144. return CreateMaybeMessage<lidar_parameter>(arena);
  145. }
  146. void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  147. void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  148. void CopyFrom(const lidar_parameter& from);
  149. void MergeFrom(const lidar_parameter& from);
  150. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  151. bool IsInitialized() const final;
  152. size_t ByteSizeLong() const final;
  153. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  154. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  155. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  156. int GetCachedSize() const final { return _cached_size_.Get(); }
  157. private:
  158. inline void SharedCtor();
  159. inline void SharedDtor();
  160. void SetCachedSize(int size) const final;
  161. void InternalSwap(lidar_parameter* other);
  162. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  163. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  164. return "shutter.lidar_parameter";
  165. }
  166. protected:
  167. explicit lidar_parameter(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  168. private:
  169. static void ArenaDtor(void* object);
  170. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  171. public:
  172. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  173. private:
  174. static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
  175. ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_setting_2eproto);
  176. return ::descriptor_table_setting_2eproto.file_level_metadata[kIndexInFileMessages];
  177. }
  178. public:
  179. // nested types ----------------------------------------------------
  180. // accessors -------------------------------------------------------
  181. enum : int {
  182. kSncodeFieldNumber = 1,
  183. kRFieldNumber = 2,
  184. kPFieldNumber = 3,
  185. kYFieldNumber = 4,
  186. kTxFieldNumber = 5,
  187. kTyFieldNumber = 6,
  188. kTzFieldNumber = 7,
  189. kFpsFieldNumber = 8,
  190. };
  191. // optional string sncode = 1;
  192. bool has_sncode() const;
  193. private:
  194. bool _internal_has_sncode() const;
  195. public:
  196. void clear_sncode();
  197. const std::string& sncode() const;
  198. void set_sncode(const std::string& value);
  199. void set_sncode(std::string&& value);
  200. void set_sncode(const char* value);
  201. void set_sncode(const char* value, size_t size);
  202. std::string* mutable_sncode();
  203. std::string* release_sncode();
  204. void set_allocated_sncode(std::string* sncode);
  205. private:
  206. const std::string& _internal_sncode() const;
  207. void _internal_set_sncode(const std::string& value);
  208. std::string* _internal_mutable_sncode();
  209. public:
  210. // optional double r = 2 [default = 0];
  211. bool has_r() const;
  212. private:
  213. bool _internal_has_r() const;
  214. public:
  215. void clear_r();
  216. double r() const;
  217. void set_r(double value);
  218. private:
  219. double _internal_r() const;
  220. void _internal_set_r(double value);
  221. public:
  222. // optional double p = 3 [default = 0];
  223. bool has_p() const;
  224. private:
  225. bool _internal_has_p() const;
  226. public:
  227. void clear_p();
  228. double p() const;
  229. void set_p(double value);
  230. private:
  231. double _internal_p() const;
  232. void _internal_set_p(double value);
  233. public:
  234. // optional double y = 4 [default = 0];
  235. bool has_y() const;
  236. private:
  237. bool _internal_has_y() const;
  238. public:
  239. void clear_y();
  240. double y() const;
  241. void set_y(double value);
  242. private:
  243. double _internal_y() const;
  244. void _internal_set_y(double value);
  245. public:
  246. // optional double tx = 5 [default = 1];
  247. bool has_tx() const;
  248. private:
  249. bool _internal_has_tx() const;
  250. public:
  251. void clear_tx();
  252. double tx() const;
  253. void set_tx(double value);
  254. private:
  255. double _internal_tx() const;
  256. void _internal_set_tx(double value);
  257. public:
  258. // optional double ty = 6 [default = 1];
  259. bool has_ty() const;
  260. private:
  261. bool _internal_has_ty() const;
  262. public:
  263. void clear_ty();
  264. double ty() const;
  265. void set_ty(double value);
  266. private:
  267. double _internal_ty() const;
  268. void _internal_set_ty(double value);
  269. public:
  270. // optional double tz = 7 [default = 1];
  271. bool has_tz() const;
  272. private:
  273. bool _internal_has_tz() const;
  274. public:
  275. void clear_tz();
  276. double tz() const;
  277. void set_tz(double value);
  278. private:
  279. double _internal_tz() const;
  280. void _internal_set_tz(double value);
  281. public:
  282. // optional double fps = 8 [default = 10];
  283. bool has_fps() const;
  284. private:
  285. bool _internal_has_fps() const;
  286. public:
  287. void clear_fps();
  288. double fps() const;
  289. void set_fps(double value);
  290. private:
  291. double _internal_fps() const;
  292. void _internal_set_fps(double value);
  293. public:
  294. // @@protoc_insertion_point(class_scope:shutter.lidar_parameter)
  295. private:
  296. class _Internal;
  297. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  298. typedef void InternalArenaConstructable_;
  299. typedef void DestructorSkippable_;
  300. ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
  301. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  302. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr sncode_;
  303. double r_;
  304. double p_;
  305. double y_;
  306. double tx_;
  307. double ty_;
  308. double tz_;
  309. double fps_;
  310. friend struct ::TableStruct_setting_2eproto;
  311. };
  312. // -------------------------------------------------------------------
  313. class box_param PROTOBUF_FINAL :
  314. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:shutter.box_param) */ {
  315. public:
  316. inline box_param() : box_param(nullptr) {}
  317. virtual ~box_param();
  318. box_param(const box_param& from);
  319. box_param(box_param&& from) noexcept
  320. : box_param() {
  321. *this = ::std::move(from);
  322. }
  323. inline box_param& operator=(const box_param& from) {
  324. CopyFrom(from);
  325. return *this;
  326. }
  327. inline box_param& operator=(box_param&& from) noexcept {
  328. if (GetArena() == from.GetArena()) {
  329. if (this != &from) InternalSwap(&from);
  330. } else {
  331. CopyFrom(from);
  332. }
  333. return *this;
  334. }
  335. inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
  336. return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
  337. }
  338. inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
  339. return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
  340. }
  341. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  342. return GetDescriptor();
  343. }
  344. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  345. return GetMetadataStatic().descriptor;
  346. }
  347. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  348. return GetMetadataStatic().reflection;
  349. }
  350. static const box_param& default_instance();
  351. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  352. static inline const box_param* internal_default_instance() {
  353. return reinterpret_cast<const box_param*>(
  354. &_box_param_default_instance_);
  355. }
  356. static constexpr int kIndexInFileMessages =
  357. 1;
  358. friend void swap(box_param& a, box_param& b) {
  359. a.Swap(&b);
  360. }
  361. inline void Swap(box_param* other) {
  362. if (other == this) return;
  363. if (GetArena() == other->GetArena()) {
  364. InternalSwap(other);
  365. } else {
  366. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  367. }
  368. }
  369. void UnsafeArenaSwap(box_param* other) {
  370. if (other == this) return;
  371. GOOGLE_DCHECK(GetArena() == other->GetArena());
  372. InternalSwap(other);
  373. }
  374. // implements Message ----------------------------------------------
  375. inline box_param* New() const final {
  376. return CreateMaybeMessage<box_param>(nullptr);
  377. }
  378. box_param* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  379. return CreateMaybeMessage<box_param>(arena);
  380. }
  381. void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  382. void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  383. void CopyFrom(const box_param& from);
  384. void MergeFrom(const box_param& from);
  385. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  386. bool IsInitialized() const final;
  387. size_t ByteSizeLong() const final;
  388. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  389. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  390. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  391. int GetCachedSize() const final { return _cached_size_.Get(); }
  392. private:
  393. inline void SharedCtor();
  394. inline void SharedDtor();
  395. void SetCachedSize(int size) const final;
  396. void InternalSwap(box_param* other);
  397. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  398. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  399. return "shutter.box_param";
  400. }
  401. protected:
  402. explicit box_param(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  403. private:
  404. static void ArenaDtor(void* object);
  405. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  406. public:
  407. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  408. private:
  409. static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
  410. ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_setting_2eproto);
  411. return ::descriptor_table_setting_2eproto.file_level_metadata[kIndexInFileMessages];
  412. }
  413. public:
  414. // nested types ----------------------------------------------------
  415. // accessors -------------------------------------------------------
  416. enum : int {
  417. kMinxFieldNumber = 1,
  418. kMaxxFieldNumber = 2,
  419. kMinyFieldNumber = 3,
  420. kMaxyFieldNumber = 4,
  421. kMinzFieldNumber = 5,
  422. kMaxzFieldNumber = 6,
  423. };
  424. // optional double minx = 1;
  425. bool has_minx() const;
  426. private:
  427. bool _internal_has_minx() const;
  428. public:
  429. void clear_minx();
  430. double minx() const;
  431. void set_minx(double value);
  432. private:
  433. double _internal_minx() const;
  434. void _internal_set_minx(double value);
  435. public:
  436. // optional double maxx = 2;
  437. bool has_maxx() const;
  438. private:
  439. bool _internal_has_maxx() const;
  440. public:
  441. void clear_maxx();
  442. double maxx() const;
  443. void set_maxx(double value);
  444. private:
  445. double _internal_maxx() const;
  446. void _internal_set_maxx(double value);
  447. public:
  448. // optional double miny = 3;
  449. bool has_miny() const;
  450. private:
  451. bool _internal_has_miny() const;
  452. public:
  453. void clear_miny();
  454. double miny() const;
  455. void set_miny(double value);
  456. private:
  457. double _internal_miny() const;
  458. void _internal_set_miny(double value);
  459. public:
  460. // optional double maxy = 4;
  461. bool has_maxy() const;
  462. private:
  463. bool _internal_has_maxy() const;
  464. public:
  465. void clear_maxy();
  466. double maxy() const;
  467. void set_maxy(double value);
  468. private:
  469. double _internal_maxy() const;
  470. void _internal_set_maxy(double value);
  471. public:
  472. // optional double minz = 5;
  473. bool has_minz() const;
  474. private:
  475. bool _internal_has_minz() const;
  476. public:
  477. void clear_minz();
  478. double minz() const;
  479. void set_minz(double value);
  480. private:
  481. double _internal_minz() const;
  482. void _internal_set_minz(double value);
  483. public:
  484. // optional double maxz = 6;
  485. bool has_maxz() const;
  486. private:
  487. bool _internal_has_maxz() const;
  488. public:
  489. void clear_maxz();
  490. double maxz() const;
  491. void set_maxz(double value);
  492. private:
  493. double _internal_maxz() const;
  494. void _internal_set_maxz(double value);
  495. public:
  496. // @@protoc_insertion_point(class_scope:shutter.box_param)
  497. private:
  498. class _Internal;
  499. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  500. typedef void InternalArenaConstructable_;
  501. typedef void DestructorSkippable_;
  502. ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
  503. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  504. double minx_;
  505. double maxx_;
  506. double miny_;
  507. double maxy_;
  508. double minz_;
  509. double maxz_;
  510. friend struct ::TableStruct_setting_2eproto;
  511. };
  512. // -------------------------------------------------------------------
  513. class plc_param PROTOBUF_FINAL :
  514. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:shutter.plc_param) */ {
  515. public:
  516. inline plc_param() : plc_param(nullptr) {}
  517. virtual ~plc_param();
  518. plc_param(const plc_param& from);
  519. plc_param(plc_param&& from) noexcept
  520. : plc_param() {
  521. *this = ::std::move(from);
  522. }
  523. inline plc_param& operator=(const plc_param& from) {
  524. CopyFrom(from);
  525. return *this;
  526. }
  527. inline plc_param& operator=(plc_param&& from) noexcept {
  528. if (GetArena() == from.GetArena()) {
  529. if (this != &from) InternalSwap(&from);
  530. } else {
  531. CopyFrom(from);
  532. }
  533. return *this;
  534. }
  535. inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
  536. return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
  537. }
  538. inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
  539. return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
  540. }
  541. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  542. return GetDescriptor();
  543. }
  544. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  545. return GetMetadataStatic().descriptor;
  546. }
  547. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  548. return GetMetadataStatic().reflection;
  549. }
  550. static const plc_param& default_instance();
  551. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  552. static inline const plc_param* internal_default_instance() {
  553. return reinterpret_cast<const plc_param*>(
  554. &_plc_param_default_instance_);
  555. }
  556. static constexpr int kIndexInFileMessages =
  557. 2;
  558. friend void swap(plc_param& a, plc_param& b) {
  559. a.Swap(&b);
  560. }
  561. inline void Swap(plc_param* other) {
  562. if (other == this) return;
  563. if (GetArena() == other->GetArena()) {
  564. InternalSwap(other);
  565. } else {
  566. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  567. }
  568. }
  569. void UnsafeArenaSwap(plc_param* other) {
  570. if (other == this) return;
  571. GOOGLE_DCHECK(GetArena() == other->GetArena());
  572. InternalSwap(other);
  573. }
  574. // implements Message ----------------------------------------------
  575. inline plc_param* New() const final {
  576. return CreateMaybeMessage<plc_param>(nullptr);
  577. }
  578. plc_param* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  579. return CreateMaybeMessage<plc_param>(arena);
  580. }
  581. void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  582. void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  583. void CopyFrom(const plc_param& from);
  584. void MergeFrom(const plc_param& from);
  585. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  586. bool IsInitialized() const final;
  587. size_t ByteSizeLong() const final;
  588. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  589. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  590. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  591. int GetCachedSize() const final { return _cached_size_.Get(); }
  592. private:
  593. inline void SharedCtor();
  594. inline void SharedDtor();
  595. void SetCachedSize(int size) const final;
  596. void InternalSwap(plc_param* other);
  597. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  598. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  599. return "shutter.plc_param";
  600. }
  601. protected:
  602. explicit plc_param(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  603. private:
  604. static void ArenaDtor(void* object);
  605. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  606. public:
  607. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  608. private:
  609. static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
  610. ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_setting_2eproto);
  611. return ::descriptor_table_setting_2eproto.file_level_metadata[kIndexInFileMessages];
  612. }
  613. public:
  614. // nested types ----------------------------------------------------
  615. // accessors -------------------------------------------------------
  616. enum : int {
  617. kIpFieldNumber = 1,
  618. kDbnumberFieldNumber = 2,
  619. kStartIdFieldNumber = 3,
  620. };
  621. // required string ip = 1;
  622. bool has_ip() const;
  623. private:
  624. bool _internal_has_ip() const;
  625. public:
  626. void clear_ip();
  627. const std::string& ip() const;
  628. void set_ip(const std::string& value);
  629. void set_ip(std::string&& value);
  630. void set_ip(const char* value);
  631. void set_ip(const char* value, size_t size);
  632. std::string* mutable_ip();
  633. std::string* release_ip();
  634. void set_allocated_ip(std::string* ip);
  635. private:
  636. const std::string& _internal_ip() const;
  637. void _internal_set_ip(const std::string& value);
  638. std::string* _internal_mutable_ip();
  639. public:
  640. // required int32 dbnumber = 2;
  641. bool has_dbnumber() const;
  642. private:
  643. bool _internal_has_dbnumber() const;
  644. public:
  645. void clear_dbnumber();
  646. ::PROTOBUF_NAMESPACE_ID::int32 dbnumber() const;
  647. void set_dbnumber(::PROTOBUF_NAMESPACE_ID::int32 value);
  648. private:
  649. ::PROTOBUF_NAMESPACE_ID::int32 _internal_dbnumber() const;
  650. void _internal_set_dbnumber(::PROTOBUF_NAMESPACE_ID::int32 value);
  651. public:
  652. // optional int32 start_id = 3 [default = 0];
  653. bool has_start_id() const;
  654. private:
  655. bool _internal_has_start_id() const;
  656. public:
  657. void clear_start_id();
  658. ::PROTOBUF_NAMESPACE_ID::int32 start_id() const;
  659. void set_start_id(::PROTOBUF_NAMESPACE_ID::int32 value);
  660. private:
  661. ::PROTOBUF_NAMESPACE_ID::int32 _internal_start_id() const;
  662. void _internal_set_start_id(::PROTOBUF_NAMESPACE_ID::int32 value);
  663. public:
  664. // @@protoc_insertion_point(class_scope:shutter.plc_param)
  665. private:
  666. class _Internal;
  667. // helper for ByteSizeLong()
  668. size_t RequiredFieldsByteSizeFallback() const;
  669. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  670. typedef void InternalArenaConstructable_;
  671. typedef void DestructorSkippable_;
  672. ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
  673. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  674. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr ip_;
  675. ::PROTOBUF_NAMESPACE_ID::int32 dbnumber_;
  676. ::PROTOBUF_NAMESPACE_ID::int32 start_id_;
  677. friend struct ::TableStruct_setting_2eproto;
  678. };
  679. // -------------------------------------------------------------------
  680. class shutter_param PROTOBUF_FINAL :
  681. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:shutter.shutter_param) */ {
  682. public:
  683. inline shutter_param() : shutter_param(nullptr) {}
  684. virtual ~shutter_param();
  685. shutter_param(const shutter_param& from);
  686. shutter_param(shutter_param&& from) noexcept
  687. : shutter_param() {
  688. *this = ::std::move(from);
  689. }
  690. inline shutter_param& operator=(const shutter_param& from) {
  691. CopyFrom(from);
  692. return *this;
  693. }
  694. inline shutter_param& operator=(shutter_param&& from) noexcept {
  695. if (GetArena() == from.GetArena()) {
  696. if (this != &from) InternalSwap(&from);
  697. } else {
  698. CopyFrom(from);
  699. }
  700. return *this;
  701. }
  702. inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
  703. return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
  704. }
  705. inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
  706. return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
  707. }
  708. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  709. return GetDescriptor();
  710. }
  711. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  712. return GetMetadataStatic().descriptor;
  713. }
  714. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  715. return GetMetadataStatic().reflection;
  716. }
  717. static const shutter_param& default_instance();
  718. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  719. static inline const shutter_param* internal_default_instance() {
  720. return reinterpret_cast<const shutter_param*>(
  721. &_shutter_param_default_instance_);
  722. }
  723. static constexpr int kIndexInFileMessages =
  724. 3;
  725. friend void swap(shutter_param& a, shutter_param& b) {
  726. a.Swap(&b);
  727. }
  728. inline void Swap(shutter_param* other) {
  729. if (other == this) return;
  730. if (GetArena() == other->GetArena()) {
  731. InternalSwap(other);
  732. } else {
  733. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  734. }
  735. }
  736. void UnsafeArenaSwap(shutter_param* other) {
  737. if (other == this) return;
  738. GOOGLE_DCHECK(GetArena() == other->GetArena());
  739. InternalSwap(other);
  740. }
  741. // implements Message ----------------------------------------------
  742. inline shutter_param* New() const final {
  743. return CreateMaybeMessage<shutter_param>(nullptr);
  744. }
  745. shutter_param* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  746. return CreateMaybeMessage<shutter_param>(arena);
  747. }
  748. void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  749. void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  750. void CopyFrom(const shutter_param& from);
  751. void MergeFrom(const shutter_param& from);
  752. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  753. bool IsInitialized() const final;
  754. size_t ByteSizeLong() const final;
  755. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  756. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  757. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  758. int GetCachedSize() const final { return _cached_size_.Get(); }
  759. private:
  760. inline void SharedCtor();
  761. inline void SharedDtor();
  762. void SetCachedSize(int size) const final;
  763. void InternalSwap(shutter_param* other);
  764. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  765. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  766. return "shutter.shutter_param";
  767. }
  768. protected:
  769. explicit shutter_param(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  770. private:
  771. static void ArenaDtor(void* object);
  772. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  773. public:
  774. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  775. private:
  776. static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
  777. ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_setting_2eproto);
  778. return ::descriptor_table_setting_2eproto.file_level_metadata[kIndexInFileMessages];
  779. }
  780. public:
  781. // nested types ----------------------------------------------------
  782. // accessors -------------------------------------------------------
  783. enum : int {
  784. kLidarsFieldNumber = 1,
  785. kBoxFieldNumber = 2,
  786. kVerifyBox1FieldNumber = 3,
  787. kVerifyBox2FieldNumber = 4,
  788. };
  789. // repeated .shutter.lidar_parameter lidars = 1;
  790. int lidars_size() const;
  791. private:
  792. int _internal_lidars_size() const;
  793. public:
  794. void clear_lidars();
  795. ::shutter::lidar_parameter* mutable_lidars(int index);
  796. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::shutter::lidar_parameter >*
  797. mutable_lidars();
  798. private:
  799. const ::shutter::lidar_parameter& _internal_lidars(int index) const;
  800. ::shutter::lidar_parameter* _internal_add_lidars();
  801. public:
  802. const ::shutter::lidar_parameter& lidars(int index) const;
  803. ::shutter::lidar_parameter* add_lidars();
  804. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::shutter::lidar_parameter >&
  805. lidars() const;
  806. // optional .shutter.box_param box = 2;
  807. bool has_box() const;
  808. private:
  809. bool _internal_has_box() const;
  810. public:
  811. void clear_box();
  812. const ::shutter::box_param& box() const;
  813. ::shutter::box_param* release_box();
  814. ::shutter::box_param* mutable_box();
  815. void set_allocated_box(::shutter::box_param* box);
  816. private:
  817. const ::shutter::box_param& _internal_box() const;
  818. ::shutter::box_param* _internal_mutable_box();
  819. public:
  820. void unsafe_arena_set_allocated_box(
  821. ::shutter::box_param* box);
  822. ::shutter::box_param* unsafe_arena_release_box();
  823. // optional .shutter.box_param verify_box1 = 3;
  824. bool has_verify_box1() const;
  825. private:
  826. bool _internal_has_verify_box1() const;
  827. public:
  828. void clear_verify_box1();
  829. const ::shutter::box_param& verify_box1() const;
  830. ::shutter::box_param* release_verify_box1();
  831. ::shutter::box_param* mutable_verify_box1();
  832. void set_allocated_verify_box1(::shutter::box_param* verify_box1);
  833. private:
  834. const ::shutter::box_param& _internal_verify_box1() const;
  835. ::shutter::box_param* _internal_mutable_verify_box1();
  836. public:
  837. void unsafe_arena_set_allocated_verify_box1(
  838. ::shutter::box_param* verify_box1);
  839. ::shutter::box_param* unsafe_arena_release_verify_box1();
  840. // optional .shutter.box_param verify_box2 = 4;
  841. bool has_verify_box2() const;
  842. private:
  843. bool _internal_has_verify_box2() const;
  844. public:
  845. void clear_verify_box2();
  846. const ::shutter::box_param& verify_box2() const;
  847. ::shutter::box_param* release_verify_box2();
  848. ::shutter::box_param* mutable_verify_box2();
  849. void set_allocated_verify_box2(::shutter::box_param* verify_box2);
  850. private:
  851. const ::shutter::box_param& _internal_verify_box2() const;
  852. ::shutter::box_param* _internal_mutable_verify_box2();
  853. public:
  854. void unsafe_arena_set_allocated_verify_box2(
  855. ::shutter::box_param* verify_box2);
  856. ::shutter::box_param* unsafe_arena_release_verify_box2();
  857. // @@protoc_insertion_point(class_scope:shutter.shutter_param)
  858. private:
  859. class _Internal;
  860. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  861. typedef void InternalArenaConstructable_;
  862. typedef void DestructorSkippable_;
  863. ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
  864. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  865. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::shutter::lidar_parameter > lidars_;
  866. ::shutter::box_param* box_;
  867. ::shutter::box_param* verify_box1_;
  868. ::shutter::box_param* verify_box2_;
  869. friend struct ::TableStruct_setting_2eproto;
  870. };
  871. // -------------------------------------------------------------------
  872. class setting_parameter PROTOBUF_FINAL :
  873. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:shutter.setting_parameter) */ {
  874. public:
  875. inline setting_parameter() : setting_parameter(nullptr) {}
  876. virtual ~setting_parameter();
  877. setting_parameter(const setting_parameter& from);
  878. setting_parameter(setting_parameter&& from) noexcept
  879. : setting_parameter() {
  880. *this = ::std::move(from);
  881. }
  882. inline setting_parameter& operator=(const setting_parameter& from) {
  883. CopyFrom(from);
  884. return *this;
  885. }
  886. inline setting_parameter& operator=(setting_parameter&& from) noexcept {
  887. if (GetArena() == from.GetArena()) {
  888. if (this != &from) InternalSwap(&from);
  889. } else {
  890. CopyFrom(from);
  891. }
  892. return *this;
  893. }
  894. inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
  895. return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
  896. }
  897. inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
  898. return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
  899. }
  900. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  901. return GetDescriptor();
  902. }
  903. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  904. return GetMetadataStatic().descriptor;
  905. }
  906. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  907. return GetMetadataStatic().reflection;
  908. }
  909. static const setting_parameter& default_instance();
  910. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  911. static inline const setting_parameter* internal_default_instance() {
  912. return reinterpret_cast<const setting_parameter*>(
  913. &_setting_parameter_default_instance_);
  914. }
  915. static constexpr int kIndexInFileMessages =
  916. 4;
  917. friend void swap(setting_parameter& a, setting_parameter& b) {
  918. a.Swap(&b);
  919. }
  920. inline void Swap(setting_parameter* other) {
  921. if (other == this) return;
  922. if (GetArena() == other->GetArena()) {
  923. InternalSwap(other);
  924. } else {
  925. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  926. }
  927. }
  928. void UnsafeArenaSwap(setting_parameter* other) {
  929. if (other == this) return;
  930. GOOGLE_DCHECK(GetArena() == other->GetArena());
  931. InternalSwap(other);
  932. }
  933. // implements Message ----------------------------------------------
  934. inline setting_parameter* New() const final {
  935. return CreateMaybeMessage<setting_parameter>(nullptr);
  936. }
  937. setting_parameter* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  938. return CreateMaybeMessage<setting_parameter>(arena);
  939. }
  940. void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  941. void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  942. void CopyFrom(const setting_parameter& from);
  943. void MergeFrom(const setting_parameter& from);
  944. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  945. bool IsInitialized() const final;
  946. size_t ByteSizeLong() const final;
  947. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  948. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  949. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  950. int GetCachedSize() const final { return _cached_size_.Get(); }
  951. private:
  952. inline void SharedCtor();
  953. inline void SharedDtor();
  954. void SetCachedSize(int size) const final;
  955. void InternalSwap(setting_parameter* other);
  956. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  957. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  958. return "shutter.setting_parameter";
  959. }
  960. protected:
  961. explicit setting_parameter(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  962. private:
  963. static void ArenaDtor(void* object);
  964. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  965. public:
  966. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  967. private:
  968. static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
  969. ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_setting_2eproto);
  970. return ::descriptor_table_setting_2eproto.file_level_metadata[kIndexInFileMessages];
  971. }
  972. public:
  973. // nested types ----------------------------------------------------
  974. // accessors -------------------------------------------------------
  975. enum : int {
  976. kEntranceParameterFieldNumber = 1,
  977. kExportParameterFieldNumber = 2,
  978. kPlcSettingFieldNumber = 3,
  979. };
  980. // optional .shutter.shutter_param entrance_parameter = 1;
  981. bool has_entrance_parameter() const;
  982. private:
  983. bool _internal_has_entrance_parameter() const;
  984. public:
  985. void clear_entrance_parameter();
  986. const ::shutter::shutter_param& entrance_parameter() const;
  987. ::shutter::shutter_param* release_entrance_parameter();
  988. ::shutter::shutter_param* mutable_entrance_parameter();
  989. void set_allocated_entrance_parameter(::shutter::shutter_param* entrance_parameter);
  990. private:
  991. const ::shutter::shutter_param& _internal_entrance_parameter() const;
  992. ::shutter::shutter_param* _internal_mutable_entrance_parameter();
  993. public:
  994. void unsafe_arena_set_allocated_entrance_parameter(
  995. ::shutter::shutter_param* entrance_parameter);
  996. ::shutter::shutter_param* unsafe_arena_release_entrance_parameter();
  997. // optional .shutter.shutter_param export_parameter = 2;
  998. bool has_export_parameter() const;
  999. private:
  1000. bool _internal_has_export_parameter() const;
  1001. public:
  1002. void clear_export_parameter();
  1003. const ::shutter::shutter_param& export_parameter() const;
  1004. ::shutter::shutter_param* release_export_parameter();
  1005. ::shutter::shutter_param* mutable_export_parameter();
  1006. void set_allocated_export_parameter(::shutter::shutter_param* export_parameter);
  1007. private:
  1008. const ::shutter::shutter_param& _internal_export_parameter() const;
  1009. ::shutter::shutter_param* _internal_mutable_export_parameter();
  1010. public:
  1011. void unsafe_arena_set_allocated_export_parameter(
  1012. ::shutter::shutter_param* export_parameter);
  1013. ::shutter::shutter_param* unsafe_arena_release_export_parameter();
  1014. // required .shutter.plc_param plc_setting = 3;
  1015. bool has_plc_setting() const;
  1016. private:
  1017. bool _internal_has_plc_setting() const;
  1018. public:
  1019. void clear_plc_setting();
  1020. const ::shutter::plc_param& plc_setting() const;
  1021. ::shutter::plc_param* release_plc_setting();
  1022. ::shutter::plc_param* mutable_plc_setting();
  1023. void set_allocated_plc_setting(::shutter::plc_param* plc_setting);
  1024. private:
  1025. const ::shutter::plc_param& _internal_plc_setting() const;
  1026. ::shutter::plc_param* _internal_mutable_plc_setting();
  1027. public:
  1028. void unsafe_arena_set_allocated_plc_setting(
  1029. ::shutter::plc_param* plc_setting);
  1030. ::shutter::plc_param* unsafe_arena_release_plc_setting();
  1031. // @@protoc_insertion_point(class_scope:shutter.setting_parameter)
  1032. private:
  1033. class _Internal;
  1034. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  1035. typedef void InternalArenaConstructable_;
  1036. typedef void DestructorSkippable_;
  1037. ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
  1038. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  1039. ::shutter::shutter_param* entrance_parameter_;
  1040. ::shutter::shutter_param* export_parameter_;
  1041. ::shutter::plc_param* plc_setting_;
  1042. friend struct ::TableStruct_setting_2eproto;
  1043. };
  1044. // ===================================================================
  1045. // ===================================================================
  1046. #ifdef __GNUC__
  1047. #pragma GCC diagnostic push
  1048. #pragma GCC diagnostic ignored "-Wstrict-aliasing"
  1049. #endif // __GNUC__
  1050. // lidar_parameter
  1051. // optional string sncode = 1;
  1052. inline bool lidar_parameter::_internal_has_sncode() const {
  1053. bool value = (_has_bits_[0] & 0x00000001u) != 0;
  1054. return value;
  1055. }
  1056. inline bool lidar_parameter::has_sncode() const {
  1057. return _internal_has_sncode();
  1058. }
  1059. inline void lidar_parameter::clear_sncode() {
  1060. sncode_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
  1061. _has_bits_[0] &= ~0x00000001u;
  1062. }
  1063. inline const std::string& lidar_parameter::sncode() const {
  1064. // @@protoc_insertion_point(field_get:shutter.lidar_parameter.sncode)
  1065. return _internal_sncode();
  1066. }
  1067. inline void lidar_parameter::set_sncode(const std::string& value) {
  1068. _internal_set_sncode(value);
  1069. // @@protoc_insertion_point(field_set:shutter.lidar_parameter.sncode)
  1070. }
  1071. inline std::string* lidar_parameter::mutable_sncode() {
  1072. // @@protoc_insertion_point(field_mutable:shutter.lidar_parameter.sncode)
  1073. return _internal_mutable_sncode();
  1074. }
  1075. inline const std::string& lidar_parameter::_internal_sncode() const {
  1076. return sncode_.Get();
  1077. }
  1078. inline void lidar_parameter::_internal_set_sncode(const std::string& value) {
  1079. _has_bits_[0] |= 0x00000001u;
  1080. sncode_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena());
  1081. }
  1082. inline void lidar_parameter::set_sncode(std::string&& value) {
  1083. _has_bits_[0] |= 0x00000001u;
  1084. sncode_.Set(
  1085. &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena());
  1086. // @@protoc_insertion_point(field_set_rvalue:shutter.lidar_parameter.sncode)
  1087. }
  1088. inline void lidar_parameter::set_sncode(const char* value) {
  1089. GOOGLE_DCHECK(value != nullptr);
  1090. _has_bits_[0] |= 0x00000001u;
  1091. sncode_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
  1092. GetArena());
  1093. // @@protoc_insertion_point(field_set_char:shutter.lidar_parameter.sncode)
  1094. }
  1095. inline void lidar_parameter::set_sncode(const char* value,
  1096. size_t size) {
  1097. _has_bits_[0] |= 0x00000001u;
  1098. sncode_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(
  1099. reinterpret_cast<const char*>(value), size), GetArena());
  1100. // @@protoc_insertion_point(field_set_pointer:shutter.lidar_parameter.sncode)
  1101. }
  1102. inline std::string* lidar_parameter::_internal_mutable_sncode() {
  1103. _has_bits_[0] |= 0x00000001u;
  1104. return sncode_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
  1105. }
  1106. inline std::string* lidar_parameter::release_sncode() {
  1107. // @@protoc_insertion_point(field_release:shutter.lidar_parameter.sncode)
  1108. if (!_internal_has_sncode()) {
  1109. return nullptr;
  1110. }
  1111. _has_bits_[0] &= ~0x00000001u;
  1112. return sncode_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
  1113. }
  1114. inline void lidar_parameter::set_allocated_sncode(std::string* sncode) {
  1115. if (sncode != nullptr) {
  1116. _has_bits_[0] |= 0x00000001u;
  1117. } else {
  1118. _has_bits_[0] &= ~0x00000001u;
  1119. }
  1120. sncode_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), sncode,
  1121. GetArena());
  1122. // @@protoc_insertion_point(field_set_allocated:shutter.lidar_parameter.sncode)
  1123. }
  1124. // optional double r = 2 [default = 0];
  1125. inline bool lidar_parameter::_internal_has_r() const {
  1126. bool value = (_has_bits_[0] & 0x00000002u) != 0;
  1127. return value;
  1128. }
  1129. inline bool lidar_parameter::has_r() const {
  1130. return _internal_has_r();
  1131. }
  1132. inline void lidar_parameter::clear_r() {
  1133. r_ = 0;
  1134. _has_bits_[0] &= ~0x00000002u;
  1135. }
  1136. inline double lidar_parameter::_internal_r() const {
  1137. return r_;
  1138. }
  1139. inline double lidar_parameter::r() const {
  1140. // @@protoc_insertion_point(field_get:shutter.lidar_parameter.r)
  1141. return _internal_r();
  1142. }
  1143. inline void lidar_parameter::_internal_set_r(double value) {
  1144. _has_bits_[0] |= 0x00000002u;
  1145. r_ = value;
  1146. }
  1147. inline void lidar_parameter::set_r(double value) {
  1148. _internal_set_r(value);
  1149. // @@protoc_insertion_point(field_set:shutter.lidar_parameter.r)
  1150. }
  1151. // optional double p = 3 [default = 0];
  1152. inline bool lidar_parameter::_internal_has_p() const {
  1153. bool value = (_has_bits_[0] & 0x00000004u) != 0;
  1154. return value;
  1155. }
  1156. inline bool lidar_parameter::has_p() const {
  1157. return _internal_has_p();
  1158. }
  1159. inline void lidar_parameter::clear_p() {
  1160. p_ = 0;
  1161. _has_bits_[0] &= ~0x00000004u;
  1162. }
  1163. inline double lidar_parameter::_internal_p() const {
  1164. return p_;
  1165. }
  1166. inline double lidar_parameter::p() const {
  1167. // @@protoc_insertion_point(field_get:shutter.lidar_parameter.p)
  1168. return _internal_p();
  1169. }
  1170. inline void lidar_parameter::_internal_set_p(double value) {
  1171. _has_bits_[0] |= 0x00000004u;
  1172. p_ = value;
  1173. }
  1174. inline void lidar_parameter::set_p(double value) {
  1175. _internal_set_p(value);
  1176. // @@protoc_insertion_point(field_set:shutter.lidar_parameter.p)
  1177. }
  1178. // optional double y = 4 [default = 0];
  1179. inline bool lidar_parameter::_internal_has_y() const {
  1180. bool value = (_has_bits_[0] & 0x00000008u) != 0;
  1181. return value;
  1182. }
  1183. inline bool lidar_parameter::has_y() const {
  1184. return _internal_has_y();
  1185. }
  1186. inline void lidar_parameter::clear_y() {
  1187. y_ = 0;
  1188. _has_bits_[0] &= ~0x00000008u;
  1189. }
  1190. inline double lidar_parameter::_internal_y() const {
  1191. return y_;
  1192. }
  1193. inline double lidar_parameter::y() const {
  1194. // @@protoc_insertion_point(field_get:shutter.lidar_parameter.y)
  1195. return _internal_y();
  1196. }
  1197. inline void lidar_parameter::_internal_set_y(double value) {
  1198. _has_bits_[0] |= 0x00000008u;
  1199. y_ = value;
  1200. }
  1201. inline void lidar_parameter::set_y(double value) {
  1202. _internal_set_y(value);
  1203. // @@protoc_insertion_point(field_set:shutter.lidar_parameter.y)
  1204. }
  1205. // optional double tx = 5 [default = 1];
  1206. inline bool lidar_parameter::_internal_has_tx() const {
  1207. bool value = (_has_bits_[0] & 0x00000010u) != 0;
  1208. return value;
  1209. }
  1210. inline bool lidar_parameter::has_tx() const {
  1211. return _internal_has_tx();
  1212. }
  1213. inline void lidar_parameter::clear_tx() {
  1214. tx_ = 1;
  1215. _has_bits_[0] &= ~0x00000010u;
  1216. }
  1217. inline double lidar_parameter::_internal_tx() const {
  1218. return tx_;
  1219. }
  1220. inline double lidar_parameter::tx() const {
  1221. // @@protoc_insertion_point(field_get:shutter.lidar_parameter.tx)
  1222. return _internal_tx();
  1223. }
  1224. inline void lidar_parameter::_internal_set_tx(double value) {
  1225. _has_bits_[0] |= 0x00000010u;
  1226. tx_ = value;
  1227. }
  1228. inline void lidar_parameter::set_tx(double value) {
  1229. _internal_set_tx(value);
  1230. // @@protoc_insertion_point(field_set:shutter.lidar_parameter.tx)
  1231. }
  1232. // optional double ty = 6 [default = 1];
  1233. inline bool lidar_parameter::_internal_has_ty() const {
  1234. bool value = (_has_bits_[0] & 0x00000020u) != 0;
  1235. return value;
  1236. }
  1237. inline bool lidar_parameter::has_ty() const {
  1238. return _internal_has_ty();
  1239. }
  1240. inline void lidar_parameter::clear_ty() {
  1241. ty_ = 1;
  1242. _has_bits_[0] &= ~0x00000020u;
  1243. }
  1244. inline double lidar_parameter::_internal_ty() const {
  1245. return ty_;
  1246. }
  1247. inline double lidar_parameter::ty() const {
  1248. // @@protoc_insertion_point(field_get:shutter.lidar_parameter.ty)
  1249. return _internal_ty();
  1250. }
  1251. inline void lidar_parameter::_internal_set_ty(double value) {
  1252. _has_bits_[0] |= 0x00000020u;
  1253. ty_ = value;
  1254. }
  1255. inline void lidar_parameter::set_ty(double value) {
  1256. _internal_set_ty(value);
  1257. // @@protoc_insertion_point(field_set:shutter.lidar_parameter.ty)
  1258. }
  1259. // optional double tz = 7 [default = 1];
  1260. inline bool lidar_parameter::_internal_has_tz() const {
  1261. bool value = (_has_bits_[0] & 0x00000040u) != 0;
  1262. return value;
  1263. }
  1264. inline bool lidar_parameter::has_tz() const {
  1265. return _internal_has_tz();
  1266. }
  1267. inline void lidar_parameter::clear_tz() {
  1268. tz_ = 1;
  1269. _has_bits_[0] &= ~0x00000040u;
  1270. }
  1271. inline double lidar_parameter::_internal_tz() const {
  1272. return tz_;
  1273. }
  1274. inline double lidar_parameter::tz() const {
  1275. // @@protoc_insertion_point(field_get:shutter.lidar_parameter.tz)
  1276. return _internal_tz();
  1277. }
  1278. inline void lidar_parameter::_internal_set_tz(double value) {
  1279. _has_bits_[0] |= 0x00000040u;
  1280. tz_ = value;
  1281. }
  1282. inline void lidar_parameter::set_tz(double value) {
  1283. _internal_set_tz(value);
  1284. // @@protoc_insertion_point(field_set:shutter.lidar_parameter.tz)
  1285. }
  1286. // optional double fps = 8 [default = 10];
  1287. inline bool lidar_parameter::_internal_has_fps() const {
  1288. bool value = (_has_bits_[0] & 0x00000080u) != 0;
  1289. return value;
  1290. }
  1291. inline bool lidar_parameter::has_fps() const {
  1292. return _internal_has_fps();
  1293. }
  1294. inline void lidar_parameter::clear_fps() {
  1295. fps_ = 10;
  1296. _has_bits_[0] &= ~0x00000080u;
  1297. }
  1298. inline double lidar_parameter::_internal_fps() const {
  1299. return fps_;
  1300. }
  1301. inline double lidar_parameter::fps() const {
  1302. // @@protoc_insertion_point(field_get:shutter.lidar_parameter.fps)
  1303. return _internal_fps();
  1304. }
  1305. inline void lidar_parameter::_internal_set_fps(double value) {
  1306. _has_bits_[0] |= 0x00000080u;
  1307. fps_ = value;
  1308. }
  1309. inline void lidar_parameter::set_fps(double value) {
  1310. _internal_set_fps(value);
  1311. // @@protoc_insertion_point(field_set:shutter.lidar_parameter.fps)
  1312. }
  1313. // -------------------------------------------------------------------
  1314. // box_param
  1315. // optional double minx = 1;
  1316. inline bool box_param::_internal_has_minx() const {
  1317. bool value = (_has_bits_[0] & 0x00000001u) != 0;
  1318. return value;
  1319. }
  1320. inline bool box_param::has_minx() const {
  1321. return _internal_has_minx();
  1322. }
  1323. inline void box_param::clear_minx() {
  1324. minx_ = 0;
  1325. _has_bits_[0] &= ~0x00000001u;
  1326. }
  1327. inline double box_param::_internal_minx() const {
  1328. return minx_;
  1329. }
  1330. inline double box_param::minx() const {
  1331. // @@protoc_insertion_point(field_get:shutter.box_param.minx)
  1332. return _internal_minx();
  1333. }
  1334. inline void box_param::_internal_set_minx(double value) {
  1335. _has_bits_[0] |= 0x00000001u;
  1336. minx_ = value;
  1337. }
  1338. inline void box_param::set_minx(double value) {
  1339. _internal_set_minx(value);
  1340. // @@protoc_insertion_point(field_set:shutter.box_param.minx)
  1341. }
  1342. // optional double maxx = 2;
  1343. inline bool box_param::_internal_has_maxx() const {
  1344. bool value = (_has_bits_[0] & 0x00000002u) != 0;
  1345. return value;
  1346. }
  1347. inline bool box_param::has_maxx() const {
  1348. return _internal_has_maxx();
  1349. }
  1350. inline void box_param::clear_maxx() {
  1351. maxx_ = 0;
  1352. _has_bits_[0] &= ~0x00000002u;
  1353. }
  1354. inline double box_param::_internal_maxx() const {
  1355. return maxx_;
  1356. }
  1357. inline double box_param::maxx() const {
  1358. // @@protoc_insertion_point(field_get:shutter.box_param.maxx)
  1359. return _internal_maxx();
  1360. }
  1361. inline void box_param::_internal_set_maxx(double value) {
  1362. _has_bits_[0] |= 0x00000002u;
  1363. maxx_ = value;
  1364. }
  1365. inline void box_param::set_maxx(double value) {
  1366. _internal_set_maxx(value);
  1367. // @@protoc_insertion_point(field_set:shutter.box_param.maxx)
  1368. }
  1369. // optional double miny = 3;
  1370. inline bool box_param::_internal_has_miny() const {
  1371. bool value = (_has_bits_[0] & 0x00000004u) != 0;
  1372. return value;
  1373. }
  1374. inline bool box_param::has_miny() const {
  1375. return _internal_has_miny();
  1376. }
  1377. inline void box_param::clear_miny() {
  1378. miny_ = 0;
  1379. _has_bits_[0] &= ~0x00000004u;
  1380. }
  1381. inline double box_param::_internal_miny() const {
  1382. return miny_;
  1383. }
  1384. inline double box_param::miny() const {
  1385. // @@protoc_insertion_point(field_get:shutter.box_param.miny)
  1386. return _internal_miny();
  1387. }
  1388. inline void box_param::_internal_set_miny(double value) {
  1389. _has_bits_[0] |= 0x00000004u;
  1390. miny_ = value;
  1391. }
  1392. inline void box_param::set_miny(double value) {
  1393. _internal_set_miny(value);
  1394. // @@protoc_insertion_point(field_set:shutter.box_param.miny)
  1395. }
  1396. // optional double maxy = 4;
  1397. inline bool box_param::_internal_has_maxy() const {
  1398. bool value = (_has_bits_[0] & 0x00000008u) != 0;
  1399. return value;
  1400. }
  1401. inline bool box_param::has_maxy() const {
  1402. return _internal_has_maxy();
  1403. }
  1404. inline void box_param::clear_maxy() {
  1405. maxy_ = 0;
  1406. _has_bits_[0] &= ~0x00000008u;
  1407. }
  1408. inline double box_param::_internal_maxy() const {
  1409. return maxy_;
  1410. }
  1411. inline double box_param::maxy() const {
  1412. // @@protoc_insertion_point(field_get:shutter.box_param.maxy)
  1413. return _internal_maxy();
  1414. }
  1415. inline void box_param::_internal_set_maxy(double value) {
  1416. _has_bits_[0] |= 0x00000008u;
  1417. maxy_ = value;
  1418. }
  1419. inline void box_param::set_maxy(double value) {
  1420. _internal_set_maxy(value);
  1421. // @@protoc_insertion_point(field_set:shutter.box_param.maxy)
  1422. }
  1423. // optional double minz = 5;
  1424. inline bool box_param::_internal_has_minz() const {
  1425. bool value = (_has_bits_[0] & 0x00000010u) != 0;
  1426. return value;
  1427. }
  1428. inline bool box_param::has_minz() const {
  1429. return _internal_has_minz();
  1430. }
  1431. inline void box_param::clear_minz() {
  1432. minz_ = 0;
  1433. _has_bits_[0] &= ~0x00000010u;
  1434. }
  1435. inline double box_param::_internal_minz() const {
  1436. return minz_;
  1437. }
  1438. inline double box_param::minz() const {
  1439. // @@protoc_insertion_point(field_get:shutter.box_param.minz)
  1440. return _internal_minz();
  1441. }
  1442. inline void box_param::_internal_set_minz(double value) {
  1443. _has_bits_[0] |= 0x00000010u;
  1444. minz_ = value;
  1445. }
  1446. inline void box_param::set_minz(double value) {
  1447. _internal_set_minz(value);
  1448. // @@protoc_insertion_point(field_set:shutter.box_param.minz)
  1449. }
  1450. // optional double maxz = 6;
  1451. inline bool box_param::_internal_has_maxz() const {
  1452. bool value = (_has_bits_[0] & 0x00000020u) != 0;
  1453. return value;
  1454. }
  1455. inline bool box_param::has_maxz() const {
  1456. return _internal_has_maxz();
  1457. }
  1458. inline void box_param::clear_maxz() {
  1459. maxz_ = 0;
  1460. _has_bits_[0] &= ~0x00000020u;
  1461. }
  1462. inline double box_param::_internal_maxz() const {
  1463. return maxz_;
  1464. }
  1465. inline double box_param::maxz() const {
  1466. // @@protoc_insertion_point(field_get:shutter.box_param.maxz)
  1467. return _internal_maxz();
  1468. }
  1469. inline void box_param::_internal_set_maxz(double value) {
  1470. _has_bits_[0] |= 0x00000020u;
  1471. maxz_ = value;
  1472. }
  1473. inline void box_param::set_maxz(double value) {
  1474. _internal_set_maxz(value);
  1475. // @@protoc_insertion_point(field_set:shutter.box_param.maxz)
  1476. }
  1477. // -------------------------------------------------------------------
  1478. // plc_param
  1479. // required string ip = 1;
  1480. inline bool plc_param::_internal_has_ip() const {
  1481. bool value = (_has_bits_[0] & 0x00000001u) != 0;
  1482. return value;
  1483. }
  1484. inline bool plc_param::has_ip() const {
  1485. return _internal_has_ip();
  1486. }
  1487. inline void plc_param::clear_ip() {
  1488. ip_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
  1489. _has_bits_[0] &= ~0x00000001u;
  1490. }
  1491. inline const std::string& plc_param::ip() const {
  1492. // @@protoc_insertion_point(field_get:shutter.plc_param.ip)
  1493. return _internal_ip();
  1494. }
  1495. inline void plc_param::set_ip(const std::string& value) {
  1496. _internal_set_ip(value);
  1497. // @@protoc_insertion_point(field_set:shutter.plc_param.ip)
  1498. }
  1499. inline std::string* plc_param::mutable_ip() {
  1500. // @@protoc_insertion_point(field_mutable:shutter.plc_param.ip)
  1501. return _internal_mutable_ip();
  1502. }
  1503. inline const std::string& plc_param::_internal_ip() const {
  1504. return ip_.Get();
  1505. }
  1506. inline void plc_param::_internal_set_ip(const std::string& value) {
  1507. _has_bits_[0] |= 0x00000001u;
  1508. ip_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena());
  1509. }
  1510. inline void plc_param::set_ip(std::string&& value) {
  1511. _has_bits_[0] |= 0x00000001u;
  1512. ip_.Set(
  1513. &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena());
  1514. // @@protoc_insertion_point(field_set_rvalue:shutter.plc_param.ip)
  1515. }
  1516. inline void plc_param::set_ip(const char* value) {
  1517. GOOGLE_DCHECK(value != nullptr);
  1518. _has_bits_[0] |= 0x00000001u;
  1519. ip_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
  1520. GetArena());
  1521. // @@protoc_insertion_point(field_set_char:shutter.plc_param.ip)
  1522. }
  1523. inline void plc_param::set_ip(const char* value,
  1524. size_t size) {
  1525. _has_bits_[0] |= 0x00000001u;
  1526. ip_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(
  1527. reinterpret_cast<const char*>(value), size), GetArena());
  1528. // @@protoc_insertion_point(field_set_pointer:shutter.plc_param.ip)
  1529. }
  1530. inline std::string* plc_param::_internal_mutable_ip() {
  1531. _has_bits_[0] |= 0x00000001u;
  1532. return ip_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
  1533. }
  1534. inline std::string* plc_param::release_ip() {
  1535. // @@protoc_insertion_point(field_release:shutter.plc_param.ip)
  1536. if (!_internal_has_ip()) {
  1537. return nullptr;
  1538. }
  1539. _has_bits_[0] &= ~0x00000001u;
  1540. return ip_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
  1541. }
  1542. inline void plc_param::set_allocated_ip(std::string* ip) {
  1543. if (ip != nullptr) {
  1544. _has_bits_[0] |= 0x00000001u;
  1545. } else {
  1546. _has_bits_[0] &= ~0x00000001u;
  1547. }
  1548. ip_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ip,
  1549. GetArena());
  1550. // @@protoc_insertion_point(field_set_allocated:shutter.plc_param.ip)
  1551. }
  1552. // required int32 dbnumber = 2;
  1553. inline bool plc_param::_internal_has_dbnumber() const {
  1554. bool value = (_has_bits_[0] & 0x00000002u) != 0;
  1555. return value;
  1556. }
  1557. inline bool plc_param::has_dbnumber() const {
  1558. return _internal_has_dbnumber();
  1559. }
  1560. inline void plc_param::clear_dbnumber() {
  1561. dbnumber_ = 0;
  1562. _has_bits_[0] &= ~0x00000002u;
  1563. }
  1564. inline ::PROTOBUF_NAMESPACE_ID::int32 plc_param::_internal_dbnumber() const {
  1565. return dbnumber_;
  1566. }
  1567. inline ::PROTOBUF_NAMESPACE_ID::int32 plc_param::dbnumber() const {
  1568. // @@protoc_insertion_point(field_get:shutter.plc_param.dbnumber)
  1569. return _internal_dbnumber();
  1570. }
  1571. inline void plc_param::_internal_set_dbnumber(::PROTOBUF_NAMESPACE_ID::int32 value) {
  1572. _has_bits_[0] |= 0x00000002u;
  1573. dbnumber_ = value;
  1574. }
  1575. inline void plc_param::set_dbnumber(::PROTOBUF_NAMESPACE_ID::int32 value) {
  1576. _internal_set_dbnumber(value);
  1577. // @@protoc_insertion_point(field_set:shutter.plc_param.dbnumber)
  1578. }
  1579. // optional int32 start_id = 3 [default = 0];
  1580. inline bool plc_param::_internal_has_start_id() const {
  1581. bool value = (_has_bits_[0] & 0x00000004u) != 0;
  1582. return value;
  1583. }
  1584. inline bool plc_param::has_start_id() const {
  1585. return _internal_has_start_id();
  1586. }
  1587. inline void plc_param::clear_start_id() {
  1588. start_id_ = 0;
  1589. _has_bits_[0] &= ~0x00000004u;
  1590. }
  1591. inline ::PROTOBUF_NAMESPACE_ID::int32 plc_param::_internal_start_id() const {
  1592. return start_id_;
  1593. }
  1594. inline ::PROTOBUF_NAMESPACE_ID::int32 plc_param::start_id() const {
  1595. // @@protoc_insertion_point(field_get:shutter.plc_param.start_id)
  1596. return _internal_start_id();
  1597. }
  1598. inline void plc_param::_internal_set_start_id(::PROTOBUF_NAMESPACE_ID::int32 value) {
  1599. _has_bits_[0] |= 0x00000004u;
  1600. start_id_ = value;
  1601. }
  1602. inline void plc_param::set_start_id(::PROTOBUF_NAMESPACE_ID::int32 value) {
  1603. _internal_set_start_id(value);
  1604. // @@protoc_insertion_point(field_set:shutter.plc_param.start_id)
  1605. }
  1606. // -------------------------------------------------------------------
  1607. // shutter_param
  1608. // repeated .shutter.lidar_parameter lidars = 1;
  1609. inline int shutter_param::_internal_lidars_size() const {
  1610. return lidars_.size();
  1611. }
  1612. inline int shutter_param::lidars_size() const {
  1613. return _internal_lidars_size();
  1614. }
  1615. inline void shutter_param::clear_lidars() {
  1616. lidars_.Clear();
  1617. }
  1618. inline ::shutter::lidar_parameter* shutter_param::mutable_lidars(int index) {
  1619. // @@protoc_insertion_point(field_mutable:shutter.shutter_param.lidars)
  1620. return lidars_.Mutable(index);
  1621. }
  1622. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::shutter::lidar_parameter >*
  1623. shutter_param::mutable_lidars() {
  1624. // @@protoc_insertion_point(field_mutable_list:shutter.shutter_param.lidars)
  1625. return &lidars_;
  1626. }
  1627. inline const ::shutter::lidar_parameter& shutter_param::_internal_lidars(int index) const {
  1628. return lidars_.Get(index);
  1629. }
  1630. inline const ::shutter::lidar_parameter& shutter_param::lidars(int index) const {
  1631. // @@protoc_insertion_point(field_get:shutter.shutter_param.lidars)
  1632. return _internal_lidars(index);
  1633. }
  1634. inline ::shutter::lidar_parameter* shutter_param::_internal_add_lidars() {
  1635. return lidars_.Add();
  1636. }
  1637. inline ::shutter::lidar_parameter* shutter_param::add_lidars() {
  1638. // @@protoc_insertion_point(field_add:shutter.shutter_param.lidars)
  1639. return _internal_add_lidars();
  1640. }
  1641. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::shutter::lidar_parameter >&
  1642. shutter_param::lidars() const {
  1643. // @@protoc_insertion_point(field_list:shutter.shutter_param.lidars)
  1644. return lidars_;
  1645. }
  1646. // optional .shutter.box_param box = 2;
  1647. inline bool shutter_param::_internal_has_box() const {
  1648. bool value = (_has_bits_[0] & 0x00000001u) != 0;
  1649. PROTOBUF_ASSUME(!value || box_ != nullptr);
  1650. return value;
  1651. }
  1652. inline bool shutter_param::has_box() const {
  1653. return _internal_has_box();
  1654. }
  1655. inline void shutter_param::clear_box() {
  1656. if (box_ != nullptr) box_->Clear();
  1657. _has_bits_[0] &= ~0x00000001u;
  1658. }
  1659. inline const ::shutter::box_param& shutter_param::_internal_box() const {
  1660. const ::shutter::box_param* p = box_;
  1661. return p != nullptr ? *p : *reinterpret_cast<const ::shutter::box_param*>(
  1662. &::shutter::_box_param_default_instance_);
  1663. }
  1664. inline const ::shutter::box_param& shutter_param::box() const {
  1665. // @@protoc_insertion_point(field_get:shutter.shutter_param.box)
  1666. return _internal_box();
  1667. }
  1668. inline void shutter_param::unsafe_arena_set_allocated_box(
  1669. ::shutter::box_param* box) {
  1670. if (GetArena() == nullptr) {
  1671. delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(box_);
  1672. }
  1673. box_ = box;
  1674. if (box) {
  1675. _has_bits_[0] |= 0x00000001u;
  1676. } else {
  1677. _has_bits_[0] &= ~0x00000001u;
  1678. }
  1679. // @@protoc_insertion_point(field_unsafe_arena_set_allocated:shutter.shutter_param.box)
  1680. }
  1681. inline ::shutter::box_param* shutter_param::release_box() {
  1682. _has_bits_[0] &= ~0x00000001u;
  1683. ::shutter::box_param* temp = box_;
  1684. box_ = nullptr;
  1685. if (GetArena() != nullptr) {
  1686. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  1687. }
  1688. return temp;
  1689. }
  1690. inline ::shutter::box_param* shutter_param::unsafe_arena_release_box() {
  1691. // @@protoc_insertion_point(field_release:shutter.shutter_param.box)
  1692. _has_bits_[0] &= ~0x00000001u;
  1693. ::shutter::box_param* temp = box_;
  1694. box_ = nullptr;
  1695. return temp;
  1696. }
  1697. inline ::shutter::box_param* shutter_param::_internal_mutable_box() {
  1698. _has_bits_[0] |= 0x00000001u;
  1699. if (box_ == nullptr) {
  1700. auto* p = CreateMaybeMessage<::shutter::box_param>(GetArena());
  1701. box_ = p;
  1702. }
  1703. return box_;
  1704. }
  1705. inline ::shutter::box_param* shutter_param::mutable_box() {
  1706. // @@protoc_insertion_point(field_mutable:shutter.shutter_param.box)
  1707. return _internal_mutable_box();
  1708. }
  1709. inline void shutter_param::set_allocated_box(::shutter::box_param* box) {
  1710. ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
  1711. if (message_arena == nullptr) {
  1712. delete box_;
  1713. }
  1714. if (box) {
  1715. ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
  1716. ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(box);
  1717. if (message_arena != submessage_arena) {
  1718. box = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
  1719. message_arena, box, submessage_arena);
  1720. }
  1721. _has_bits_[0] |= 0x00000001u;
  1722. } else {
  1723. _has_bits_[0] &= ~0x00000001u;
  1724. }
  1725. box_ = box;
  1726. // @@protoc_insertion_point(field_set_allocated:shutter.shutter_param.box)
  1727. }
  1728. // optional .shutter.box_param verify_box1 = 3;
  1729. inline bool shutter_param::_internal_has_verify_box1() const {
  1730. bool value = (_has_bits_[0] & 0x00000002u) != 0;
  1731. PROTOBUF_ASSUME(!value || verify_box1_ != nullptr);
  1732. return value;
  1733. }
  1734. inline bool shutter_param::has_verify_box1() const {
  1735. return _internal_has_verify_box1();
  1736. }
  1737. inline void shutter_param::clear_verify_box1() {
  1738. if (verify_box1_ != nullptr) verify_box1_->Clear();
  1739. _has_bits_[0] &= ~0x00000002u;
  1740. }
  1741. inline const ::shutter::box_param& shutter_param::_internal_verify_box1() const {
  1742. const ::shutter::box_param* p = verify_box1_;
  1743. return p != nullptr ? *p : *reinterpret_cast<const ::shutter::box_param*>(
  1744. &::shutter::_box_param_default_instance_);
  1745. }
  1746. inline const ::shutter::box_param& shutter_param::verify_box1() const {
  1747. // @@protoc_insertion_point(field_get:shutter.shutter_param.verify_box1)
  1748. return _internal_verify_box1();
  1749. }
  1750. inline void shutter_param::unsafe_arena_set_allocated_verify_box1(
  1751. ::shutter::box_param* verify_box1) {
  1752. if (GetArena() == nullptr) {
  1753. delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(verify_box1_);
  1754. }
  1755. verify_box1_ = verify_box1;
  1756. if (verify_box1) {
  1757. _has_bits_[0] |= 0x00000002u;
  1758. } else {
  1759. _has_bits_[0] &= ~0x00000002u;
  1760. }
  1761. // @@protoc_insertion_point(field_unsafe_arena_set_allocated:shutter.shutter_param.verify_box1)
  1762. }
  1763. inline ::shutter::box_param* shutter_param::release_verify_box1() {
  1764. _has_bits_[0] &= ~0x00000002u;
  1765. ::shutter::box_param* temp = verify_box1_;
  1766. verify_box1_ = nullptr;
  1767. if (GetArena() != nullptr) {
  1768. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  1769. }
  1770. return temp;
  1771. }
  1772. inline ::shutter::box_param* shutter_param::unsafe_arena_release_verify_box1() {
  1773. // @@protoc_insertion_point(field_release:shutter.shutter_param.verify_box1)
  1774. _has_bits_[0] &= ~0x00000002u;
  1775. ::shutter::box_param* temp = verify_box1_;
  1776. verify_box1_ = nullptr;
  1777. return temp;
  1778. }
  1779. inline ::shutter::box_param* shutter_param::_internal_mutable_verify_box1() {
  1780. _has_bits_[0] |= 0x00000002u;
  1781. if (verify_box1_ == nullptr) {
  1782. auto* p = CreateMaybeMessage<::shutter::box_param>(GetArena());
  1783. verify_box1_ = p;
  1784. }
  1785. return verify_box1_;
  1786. }
  1787. inline ::shutter::box_param* shutter_param::mutable_verify_box1() {
  1788. // @@protoc_insertion_point(field_mutable:shutter.shutter_param.verify_box1)
  1789. return _internal_mutable_verify_box1();
  1790. }
  1791. inline void shutter_param::set_allocated_verify_box1(::shutter::box_param* verify_box1) {
  1792. ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
  1793. if (message_arena == nullptr) {
  1794. delete verify_box1_;
  1795. }
  1796. if (verify_box1) {
  1797. ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
  1798. ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(verify_box1);
  1799. if (message_arena != submessage_arena) {
  1800. verify_box1 = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
  1801. message_arena, verify_box1, submessage_arena);
  1802. }
  1803. _has_bits_[0] |= 0x00000002u;
  1804. } else {
  1805. _has_bits_[0] &= ~0x00000002u;
  1806. }
  1807. verify_box1_ = verify_box1;
  1808. // @@protoc_insertion_point(field_set_allocated:shutter.shutter_param.verify_box1)
  1809. }
  1810. // optional .shutter.box_param verify_box2 = 4;
  1811. inline bool shutter_param::_internal_has_verify_box2() const {
  1812. bool value = (_has_bits_[0] & 0x00000004u) != 0;
  1813. PROTOBUF_ASSUME(!value || verify_box2_ != nullptr);
  1814. return value;
  1815. }
  1816. inline bool shutter_param::has_verify_box2() const {
  1817. return _internal_has_verify_box2();
  1818. }
  1819. inline void shutter_param::clear_verify_box2() {
  1820. if (verify_box2_ != nullptr) verify_box2_->Clear();
  1821. _has_bits_[0] &= ~0x00000004u;
  1822. }
  1823. inline const ::shutter::box_param& shutter_param::_internal_verify_box2() const {
  1824. const ::shutter::box_param* p = verify_box2_;
  1825. return p != nullptr ? *p : *reinterpret_cast<const ::shutter::box_param*>(
  1826. &::shutter::_box_param_default_instance_);
  1827. }
  1828. inline const ::shutter::box_param& shutter_param::verify_box2() const {
  1829. // @@protoc_insertion_point(field_get:shutter.shutter_param.verify_box2)
  1830. return _internal_verify_box2();
  1831. }
  1832. inline void shutter_param::unsafe_arena_set_allocated_verify_box2(
  1833. ::shutter::box_param* verify_box2) {
  1834. if (GetArena() == nullptr) {
  1835. delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(verify_box2_);
  1836. }
  1837. verify_box2_ = verify_box2;
  1838. if (verify_box2) {
  1839. _has_bits_[0] |= 0x00000004u;
  1840. } else {
  1841. _has_bits_[0] &= ~0x00000004u;
  1842. }
  1843. // @@protoc_insertion_point(field_unsafe_arena_set_allocated:shutter.shutter_param.verify_box2)
  1844. }
  1845. inline ::shutter::box_param* shutter_param::release_verify_box2() {
  1846. _has_bits_[0] &= ~0x00000004u;
  1847. ::shutter::box_param* temp = verify_box2_;
  1848. verify_box2_ = nullptr;
  1849. if (GetArena() != nullptr) {
  1850. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  1851. }
  1852. return temp;
  1853. }
  1854. inline ::shutter::box_param* shutter_param::unsafe_arena_release_verify_box2() {
  1855. // @@protoc_insertion_point(field_release:shutter.shutter_param.verify_box2)
  1856. _has_bits_[0] &= ~0x00000004u;
  1857. ::shutter::box_param* temp = verify_box2_;
  1858. verify_box2_ = nullptr;
  1859. return temp;
  1860. }
  1861. inline ::shutter::box_param* shutter_param::_internal_mutable_verify_box2() {
  1862. _has_bits_[0] |= 0x00000004u;
  1863. if (verify_box2_ == nullptr) {
  1864. auto* p = CreateMaybeMessage<::shutter::box_param>(GetArena());
  1865. verify_box2_ = p;
  1866. }
  1867. return verify_box2_;
  1868. }
  1869. inline ::shutter::box_param* shutter_param::mutable_verify_box2() {
  1870. // @@protoc_insertion_point(field_mutable:shutter.shutter_param.verify_box2)
  1871. return _internal_mutable_verify_box2();
  1872. }
  1873. inline void shutter_param::set_allocated_verify_box2(::shutter::box_param* verify_box2) {
  1874. ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
  1875. if (message_arena == nullptr) {
  1876. delete verify_box2_;
  1877. }
  1878. if (verify_box2) {
  1879. ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
  1880. ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(verify_box2);
  1881. if (message_arena != submessage_arena) {
  1882. verify_box2 = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
  1883. message_arena, verify_box2, submessage_arena);
  1884. }
  1885. _has_bits_[0] |= 0x00000004u;
  1886. } else {
  1887. _has_bits_[0] &= ~0x00000004u;
  1888. }
  1889. verify_box2_ = verify_box2;
  1890. // @@protoc_insertion_point(field_set_allocated:shutter.shutter_param.verify_box2)
  1891. }
  1892. // -------------------------------------------------------------------
  1893. // setting_parameter
  1894. // optional .shutter.shutter_param entrance_parameter = 1;
  1895. inline bool setting_parameter::_internal_has_entrance_parameter() const {
  1896. bool value = (_has_bits_[0] & 0x00000001u) != 0;
  1897. PROTOBUF_ASSUME(!value || entrance_parameter_ != nullptr);
  1898. return value;
  1899. }
  1900. inline bool setting_parameter::has_entrance_parameter() const {
  1901. return _internal_has_entrance_parameter();
  1902. }
  1903. inline void setting_parameter::clear_entrance_parameter() {
  1904. if (entrance_parameter_ != nullptr) entrance_parameter_->Clear();
  1905. _has_bits_[0] &= ~0x00000001u;
  1906. }
  1907. inline const ::shutter::shutter_param& setting_parameter::_internal_entrance_parameter() const {
  1908. const ::shutter::shutter_param* p = entrance_parameter_;
  1909. return p != nullptr ? *p : *reinterpret_cast<const ::shutter::shutter_param*>(
  1910. &::shutter::_shutter_param_default_instance_);
  1911. }
  1912. inline const ::shutter::shutter_param& setting_parameter::entrance_parameter() const {
  1913. // @@protoc_insertion_point(field_get:shutter.setting_parameter.entrance_parameter)
  1914. return _internal_entrance_parameter();
  1915. }
  1916. inline void setting_parameter::unsafe_arena_set_allocated_entrance_parameter(
  1917. ::shutter::shutter_param* entrance_parameter) {
  1918. if (GetArena() == nullptr) {
  1919. delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(entrance_parameter_);
  1920. }
  1921. entrance_parameter_ = entrance_parameter;
  1922. if (entrance_parameter) {
  1923. _has_bits_[0] |= 0x00000001u;
  1924. } else {
  1925. _has_bits_[0] &= ~0x00000001u;
  1926. }
  1927. // @@protoc_insertion_point(field_unsafe_arena_set_allocated:shutter.setting_parameter.entrance_parameter)
  1928. }
  1929. inline ::shutter::shutter_param* setting_parameter::release_entrance_parameter() {
  1930. _has_bits_[0] &= ~0x00000001u;
  1931. ::shutter::shutter_param* temp = entrance_parameter_;
  1932. entrance_parameter_ = nullptr;
  1933. if (GetArena() != nullptr) {
  1934. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  1935. }
  1936. return temp;
  1937. }
  1938. inline ::shutter::shutter_param* setting_parameter::unsafe_arena_release_entrance_parameter() {
  1939. // @@protoc_insertion_point(field_release:shutter.setting_parameter.entrance_parameter)
  1940. _has_bits_[0] &= ~0x00000001u;
  1941. ::shutter::shutter_param* temp = entrance_parameter_;
  1942. entrance_parameter_ = nullptr;
  1943. return temp;
  1944. }
  1945. inline ::shutter::shutter_param* setting_parameter::_internal_mutable_entrance_parameter() {
  1946. _has_bits_[0] |= 0x00000001u;
  1947. if (entrance_parameter_ == nullptr) {
  1948. auto* p = CreateMaybeMessage<::shutter::shutter_param>(GetArena());
  1949. entrance_parameter_ = p;
  1950. }
  1951. return entrance_parameter_;
  1952. }
  1953. inline ::shutter::shutter_param* setting_parameter::mutable_entrance_parameter() {
  1954. // @@protoc_insertion_point(field_mutable:shutter.setting_parameter.entrance_parameter)
  1955. return _internal_mutable_entrance_parameter();
  1956. }
  1957. inline void setting_parameter::set_allocated_entrance_parameter(::shutter::shutter_param* entrance_parameter) {
  1958. ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
  1959. if (message_arena == nullptr) {
  1960. delete entrance_parameter_;
  1961. }
  1962. if (entrance_parameter) {
  1963. ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
  1964. ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(entrance_parameter);
  1965. if (message_arena != submessage_arena) {
  1966. entrance_parameter = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
  1967. message_arena, entrance_parameter, submessage_arena);
  1968. }
  1969. _has_bits_[0] |= 0x00000001u;
  1970. } else {
  1971. _has_bits_[0] &= ~0x00000001u;
  1972. }
  1973. entrance_parameter_ = entrance_parameter;
  1974. // @@protoc_insertion_point(field_set_allocated:shutter.setting_parameter.entrance_parameter)
  1975. }
  1976. // optional .shutter.shutter_param export_parameter = 2;
  1977. inline bool setting_parameter::_internal_has_export_parameter() const {
  1978. bool value = (_has_bits_[0] & 0x00000002u) != 0;
  1979. PROTOBUF_ASSUME(!value || export_parameter_ != nullptr);
  1980. return value;
  1981. }
  1982. inline bool setting_parameter::has_export_parameter() const {
  1983. return _internal_has_export_parameter();
  1984. }
  1985. inline void setting_parameter::clear_export_parameter() {
  1986. if (export_parameter_ != nullptr) export_parameter_->Clear();
  1987. _has_bits_[0] &= ~0x00000002u;
  1988. }
  1989. inline const ::shutter::shutter_param& setting_parameter::_internal_export_parameter() const {
  1990. const ::shutter::shutter_param* p = export_parameter_;
  1991. return p != nullptr ? *p : *reinterpret_cast<const ::shutter::shutter_param*>(
  1992. &::shutter::_shutter_param_default_instance_);
  1993. }
  1994. inline const ::shutter::shutter_param& setting_parameter::export_parameter() const {
  1995. // @@protoc_insertion_point(field_get:shutter.setting_parameter.export_parameter)
  1996. return _internal_export_parameter();
  1997. }
  1998. inline void setting_parameter::unsafe_arena_set_allocated_export_parameter(
  1999. ::shutter::shutter_param* export_parameter) {
  2000. if (GetArena() == nullptr) {
  2001. delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(export_parameter_);
  2002. }
  2003. export_parameter_ = export_parameter;
  2004. if (export_parameter) {
  2005. _has_bits_[0] |= 0x00000002u;
  2006. } else {
  2007. _has_bits_[0] &= ~0x00000002u;
  2008. }
  2009. // @@protoc_insertion_point(field_unsafe_arena_set_allocated:shutter.setting_parameter.export_parameter)
  2010. }
  2011. inline ::shutter::shutter_param* setting_parameter::release_export_parameter() {
  2012. _has_bits_[0] &= ~0x00000002u;
  2013. ::shutter::shutter_param* temp = export_parameter_;
  2014. export_parameter_ = nullptr;
  2015. if (GetArena() != nullptr) {
  2016. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  2017. }
  2018. return temp;
  2019. }
  2020. inline ::shutter::shutter_param* setting_parameter::unsafe_arena_release_export_parameter() {
  2021. // @@protoc_insertion_point(field_release:shutter.setting_parameter.export_parameter)
  2022. _has_bits_[0] &= ~0x00000002u;
  2023. ::shutter::shutter_param* temp = export_parameter_;
  2024. export_parameter_ = nullptr;
  2025. return temp;
  2026. }
  2027. inline ::shutter::shutter_param* setting_parameter::_internal_mutable_export_parameter() {
  2028. _has_bits_[0] |= 0x00000002u;
  2029. if (export_parameter_ == nullptr) {
  2030. auto* p = CreateMaybeMessage<::shutter::shutter_param>(GetArena());
  2031. export_parameter_ = p;
  2032. }
  2033. return export_parameter_;
  2034. }
  2035. inline ::shutter::shutter_param* setting_parameter::mutable_export_parameter() {
  2036. // @@protoc_insertion_point(field_mutable:shutter.setting_parameter.export_parameter)
  2037. return _internal_mutable_export_parameter();
  2038. }
  2039. inline void setting_parameter::set_allocated_export_parameter(::shutter::shutter_param* export_parameter) {
  2040. ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
  2041. if (message_arena == nullptr) {
  2042. delete export_parameter_;
  2043. }
  2044. if (export_parameter) {
  2045. ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
  2046. ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(export_parameter);
  2047. if (message_arena != submessage_arena) {
  2048. export_parameter = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
  2049. message_arena, export_parameter, submessage_arena);
  2050. }
  2051. _has_bits_[0] |= 0x00000002u;
  2052. } else {
  2053. _has_bits_[0] &= ~0x00000002u;
  2054. }
  2055. export_parameter_ = export_parameter;
  2056. // @@protoc_insertion_point(field_set_allocated:shutter.setting_parameter.export_parameter)
  2057. }
  2058. // required .shutter.plc_param plc_setting = 3;
  2059. inline bool setting_parameter::_internal_has_plc_setting() const {
  2060. bool value = (_has_bits_[0] & 0x00000004u) != 0;
  2061. PROTOBUF_ASSUME(!value || plc_setting_ != nullptr);
  2062. return value;
  2063. }
  2064. inline bool setting_parameter::has_plc_setting() const {
  2065. return _internal_has_plc_setting();
  2066. }
  2067. inline void setting_parameter::clear_plc_setting() {
  2068. if (plc_setting_ != nullptr) plc_setting_->Clear();
  2069. _has_bits_[0] &= ~0x00000004u;
  2070. }
  2071. inline const ::shutter::plc_param& setting_parameter::_internal_plc_setting() const {
  2072. const ::shutter::plc_param* p = plc_setting_;
  2073. return p != nullptr ? *p : *reinterpret_cast<const ::shutter::plc_param*>(
  2074. &::shutter::_plc_param_default_instance_);
  2075. }
  2076. inline const ::shutter::plc_param& setting_parameter::plc_setting() const {
  2077. // @@protoc_insertion_point(field_get:shutter.setting_parameter.plc_setting)
  2078. return _internal_plc_setting();
  2079. }
  2080. inline void setting_parameter::unsafe_arena_set_allocated_plc_setting(
  2081. ::shutter::plc_param* plc_setting) {
  2082. if (GetArena() == nullptr) {
  2083. delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(plc_setting_);
  2084. }
  2085. plc_setting_ = plc_setting;
  2086. if (plc_setting) {
  2087. _has_bits_[0] |= 0x00000004u;
  2088. } else {
  2089. _has_bits_[0] &= ~0x00000004u;
  2090. }
  2091. // @@protoc_insertion_point(field_unsafe_arena_set_allocated:shutter.setting_parameter.plc_setting)
  2092. }
  2093. inline ::shutter::plc_param* setting_parameter::release_plc_setting() {
  2094. _has_bits_[0] &= ~0x00000004u;
  2095. ::shutter::plc_param* temp = plc_setting_;
  2096. plc_setting_ = nullptr;
  2097. if (GetArena() != nullptr) {
  2098. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  2099. }
  2100. return temp;
  2101. }
  2102. inline ::shutter::plc_param* setting_parameter::unsafe_arena_release_plc_setting() {
  2103. // @@protoc_insertion_point(field_release:shutter.setting_parameter.plc_setting)
  2104. _has_bits_[0] &= ~0x00000004u;
  2105. ::shutter::plc_param* temp = plc_setting_;
  2106. plc_setting_ = nullptr;
  2107. return temp;
  2108. }
  2109. inline ::shutter::plc_param* setting_parameter::_internal_mutable_plc_setting() {
  2110. _has_bits_[0] |= 0x00000004u;
  2111. if (plc_setting_ == nullptr) {
  2112. auto* p = CreateMaybeMessage<::shutter::plc_param>(GetArena());
  2113. plc_setting_ = p;
  2114. }
  2115. return plc_setting_;
  2116. }
  2117. inline ::shutter::plc_param* setting_parameter::mutable_plc_setting() {
  2118. // @@protoc_insertion_point(field_mutable:shutter.setting_parameter.plc_setting)
  2119. return _internal_mutable_plc_setting();
  2120. }
  2121. inline void setting_parameter::set_allocated_plc_setting(::shutter::plc_param* plc_setting) {
  2122. ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
  2123. if (message_arena == nullptr) {
  2124. delete plc_setting_;
  2125. }
  2126. if (plc_setting) {
  2127. ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
  2128. ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(plc_setting);
  2129. if (message_arena != submessage_arena) {
  2130. plc_setting = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
  2131. message_arena, plc_setting, submessage_arena);
  2132. }
  2133. _has_bits_[0] |= 0x00000004u;
  2134. } else {
  2135. _has_bits_[0] &= ~0x00000004u;
  2136. }
  2137. plc_setting_ = plc_setting;
  2138. // @@protoc_insertion_point(field_set_allocated:shutter.setting_parameter.plc_setting)
  2139. }
  2140. #ifdef __GNUC__
  2141. #pragma GCC diagnostic pop
  2142. #endif // __GNUC__
  2143. // -------------------------------------------------------------------
  2144. // -------------------------------------------------------------------
  2145. // -------------------------------------------------------------------
  2146. // -------------------------------------------------------------------
  2147. // @@protoc_insertion_point(namespace_scope)
  2148. } // namespace shutter
  2149. // @@protoc_insertion_point(global_scope)
  2150. #include <google/protobuf/port_undef.inc>
  2151. #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_setting_2eproto