system_setting.pb.h 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501
  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // source: system_setting.proto
  3. #ifndef PROTOBUF_system_5fsetting_2eproto__INCLUDED
  4. #define PROTOBUF_system_5fsetting_2eproto__INCLUDED
  5. #include <string>
  6. #include <google/protobuf/stubs/common.h>
  7. #if GOOGLE_PROTOBUF_VERSION < 3005000
  8. #error This file was generated by a newer version of protoc which is
  9. #error incompatible with your Protocol Buffer headers. Please update
  10. #error your headers.
  11. #endif
  12. #if 3005000 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
  13. #error This file was generated by an older version of protoc which is
  14. #error incompatible with your Protocol Buffer headers. Please
  15. #error regenerate this file with a newer version of protoc.
  16. #endif
  17. #include <google/protobuf/io/coded_stream.h>
  18. #include <google/protobuf/arena.h>
  19. #include <google/protobuf/arenastring.h>
  20. #include <google/protobuf/generated_message_table_driven.h>
  21. #include <google/protobuf/generated_message_util.h>
  22. #include <google/protobuf/metadata.h>
  23. #include <google/protobuf/message.h>
  24. #include <google/protobuf/repeated_field.h> // IWYU pragma: export
  25. #include <google/protobuf/extension_set.h> // IWYU pragma: export
  26. #include <google/protobuf/unknown_field_set.h>
  27. // @@protoc_insertion_point(includes)
  28. namespace protobuf_system_5fsetting_2eproto {
  29. // Internal implementation detail -- do not use these members.
  30. struct TableStruct {
  31. static const ::google::protobuf::internal::ParseTableField entries[];
  32. static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
  33. static const ::google::protobuf::internal::ParseTable schema[1];
  34. static const ::google::protobuf::internal::FieldMetadata field_metadata[];
  35. static const ::google::protobuf::internal::SerializationTable serialization_table[];
  36. static const ::google::protobuf::uint32 offsets[];
  37. };
  38. void AddDescriptors();
  39. void InitDefaultsSystem_settingImpl();
  40. void InitDefaultsSystem_setting();
  41. inline void InitDefaults() {
  42. InitDefaultsSystem_setting();
  43. }
  44. } // namespace protobuf_system_5fsetting_2eproto
  45. namespace setting {
  46. class System_setting;
  47. class System_settingDefaultTypeInternal;
  48. extern System_settingDefaultTypeInternal _System_setting_default_instance_;
  49. } // namespace setting
  50. namespace setting {
  51. // ===================================================================
  52. class System_setting : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:setting.System_setting) */ {
  53. public:
  54. System_setting();
  55. virtual ~System_setting();
  56. System_setting(const System_setting& from);
  57. inline System_setting& operator=(const System_setting& from) {
  58. CopyFrom(from);
  59. return *this;
  60. }
  61. #if LANG_CXX11
  62. System_setting(System_setting&& from) noexcept
  63. : System_setting() {
  64. *this = ::std::move(from);
  65. }
  66. inline System_setting& operator=(System_setting&& from) noexcept {
  67. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  68. if (this != &from) InternalSwap(&from);
  69. } else {
  70. CopyFrom(from);
  71. }
  72. return *this;
  73. }
  74. #endif
  75. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  76. return _internal_metadata_.unknown_fields();
  77. }
  78. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  79. return _internal_metadata_.mutable_unknown_fields();
  80. }
  81. static const ::google::protobuf::Descriptor* descriptor();
  82. static const System_setting& default_instance();
  83. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  84. static inline const System_setting* internal_default_instance() {
  85. return reinterpret_cast<const System_setting*>(
  86. &_System_setting_default_instance_);
  87. }
  88. static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
  89. 0;
  90. void Swap(System_setting* other);
  91. friend void swap(System_setting& a, System_setting& b) {
  92. a.Swap(&b);
  93. }
  94. // implements Message ----------------------------------------------
  95. inline System_setting* New() const PROTOBUF_FINAL { return New(NULL); }
  96. System_setting* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
  97. void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  98. void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  99. void CopyFrom(const System_setting& from);
  100. void MergeFrom(const System_setting& from);
  101. void Clear() PROTOBUF_FINAL;
  102. bool IsInitialized() const PROTOBUF_FINAL;
  103. size_t ByteSizeLong() const PROTOBUF_FINAL;
  104. bool MergePartialFromCodedStream(
  105. ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
  106. void SerializeWithCachedSizes(
  107. ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
  108. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  109. bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
  110. int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
  111. private:
  112. void SharedCtor();
  113. void SharedDtor();
  114. void SetCachedSize(int size) const PROTOBUF_FINAL;
  115. void InternalSwap(System_setting* other);
  116. private:
  117. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  118. return NULL;
  119. }
  120. inline void* MaybeArenaPtr() const {
  121. return NULL;
  122. }
  123. public:
  124. ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
  125. // nested types ----------------------------------------------------
  126. // accessors -------------------------------------------------------
  127. // required string bind_ip = 1;
  128. bool has_bind_ip() const;
  129. void clear_bind_ip();
  130. static const int kBindIpFieldNumber = 1;
  131. const ::std::string& bind_ip() const;
  132. void set_bind_ip(const ::std::string& value);
  133. #if LANG_CXX11
  134. void set_bind_ip(::std::string&& value);
  135. #endif
  136. void set_bind_ip(const char* value);
  137. void set_bind_ip(const char* value, size_t size);
  138. ::std::string* mutable_bind_ip();
  139. ::std::string* release_bind_ip();
  140. void set_allocated_bind_ip(::std::string* bind_ip);
  141. // required int32 entrance_num = 7;
  142. bool has_entrance_num() const;
  143. void clear_entrance_num();
  144. static const int kEntranceNumFieldNumber = 7;
  145. ::google::protobuf::int32 entrance_num() const;
  146. void set_entrance_num(::google::protobuf::int32 value);
  147. // required int32 export_num = 8;
  148. bool has_export_num() const;
  149. void clear_export_num();
  150. static const int kExportNumFieldNumber = 8;
  151. ::google::protobuf::int32 export_num() const;
  152. void set_export_num(::google::protobuf::int32 value);
  153. // optional int32 exception_handle_port = 6 [default = 3004];
  154. bool has_exception_handle_port() const;
  155. void clear_exception_handle_port();
  156. static const int kExceptionHandlePortFieldNumber = 6;
  157. ::google::protobuf::int32 exception_handle_port() const;
  158. void set_exception_handle_port(::google::protobuf::int32 value);
  159. // optional int32 terminor_port = 2 [default = 30000];
  160. bool has_terminor_port() const;
  161. void clear_terminor_port();
  162. static const int kTerminorPortFieldNumber = 2;
  163. ::google::protobuf::int32 terminor_port() const;
  164. void set_terminor_port(::google::protobuf::int32 value);
  165. // optional int32 park_space_port = 3 [default = 30001];
  166. bool has_park_space_port() const;
  167. void clear_park_space_port();
  168. static const int kParkSpacePortFieldNumber = 3;
  169. ::google::protobuf::int32 park_space_port() const;
  170. void set_park_space_port(::google::protobuf::int32 value);
  171. // optional int32 measurer_port = 4 [default = 30002];
  172. bool has_measurer_port() const;
  173. void clear_measurer_port();
  174. static const int kMeasurerPortFieldNumber = 4;
  175. ::google::protobuf::int32 measurer_port() const;
  176. void set_measurer_port(::google::protobuf::int32 value);
  177. // optional int32 dispatcher_port = 5 [default = 30003];
  178. bool has_dispatcher_port() const;
  179. void clear_dispatcher_port();
  180. static const int kDispatcherPortFieldNumber = 5;
  181. ::google::protobuf::int32 dispatcher_port() const;
  182. void set_dispatcher_port(::google::protobuf::int32 value);
  183. // @@protoc_insertion_point(class_scope:setting.System_setting)
  184. private:
  185. void set_has_bind_ip();
  186. void clear_has_bind_ip();
  187. void set_has_terminor_port();
  188. void clear_has_terminor_port();
  189. void set_has_park_space_port();
  190. void clear_has_park_space_port();
  191. void set_has_measurer_port();
  192. void clear_has_measurer_port();
  193. void set_has_dispatcher_port();
  194. void clear_has_dispatcher_port();
  195. void set_has_exception_handle_port();
  196. void clear_has_exception_handle_port();
  197. void set_has_entrance_num();
  198. void clear_has_entrance_num();
  199. void set_has_export_num();
  200. void clear_has_export_num();
  201. // helper for ByteSizeLong()
  202. size_t RequiredFieldsByteSizeFallback() const;
  203. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  204. ::google::protobuf::internal::HasBits<1> _has_bits_;
  205. mutable int _cached_size_;
  206. ::google::protobuf::internal::ArenaStringPtr bind_ip_;
  207. ::google::protobuf::int32 entrance_num_;
  208. ::google::protobuf::int32 export_num_;
  209. ::google::protobuf::int32 exception_handle_port_;
  210. ::google::protobuf::int32 terminor_port_;
  211. ::google::protobuf::int32 park_space_port_;
  212. ::google::protobuf::int32 measurer_port_;
  213. ::google::protobuf::int32 dispatcher_port_;
  214. friend struct ::protobuf_system_5fsetting_2eproto::TableStruct;
  215. friend void ::protobuf_system_5fsetting_2eproto::InitDefaultsSystem_settingImpl();
  216. };
  217. // ===================================================================
  218. // ===================================================================
  219. #ifdef __GNUC__
  220. #pragma GCC diagnostic push
  221. #pragma GCC diagnostic ignored "-Wstrict-aliasing"
  222. #endif // __GNUC__
  223. // System_setting
  224. // required string bind_ip = 1;
  225. inline bool System_setting::has_bind_ip() const {
  226. return (_has_bits_[0] & 0x00000001u) != 0;
  227. }
  228. inline void System_setting::set_has_bind_ip() {
  229. _has_bits_[0] |= 0x00000001u;
  230. }
  231. inline void System_setting::clear_has_bind_ip() {
  232. _has_bits_[0] &= ~0x00000001u;
  233. }
  234. inline void System_setting::clear_bind_ip() {
  235. bind_ip_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  236. clear_has_bind_ip();
  237. }
  238. inline const ::std::string& System_setting::bind_ip() const {
  239. // @@protoc_insertion_point(field_get:setting.System_setting.bind_ip)
  240. return bind_ip_.GetNoArena();
  241. }
  242. inline void System_setting::set_bind_ip(const ::std::string& value) {
  243. set_has_bind_ip();
  244. bind_ip_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  245. // @@protoc_insertion_point(field_set:setting.System_setting.bind_ip)
  246. }
  247. #if LANG_CXX11
  248. inline void System_setting::set_bind_ip(::std::string&& value) {
  249. set_has_bind_ip();
  250. bind_ip_.SetNoArena(
  251. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  252. // @@protoc_insertion_point(field_set_rvalue:setting.System_setting.bind_ip)
  253. }
  254. #endif
  255. inline void System_setting::set_bind_ip(const char* value) {
  256. GOOGLE_DCHECK(value != NULL);
  257. set_has_bind_ip();
  258. bind_ip_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  259. // @@protoc_insertion_point(field_set_char:setting.System_setting.bind_ip)
  260. }
  261. inline void System_setting::set_bind_ip(const char* value, size_t size) {
  262. set_has_bind_ip();
  263. bind_ip_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  264. ::std::string(reinterpret_cast<const char*>(value), size));
  265. // @@protoc_insertion_point(field_set_pointer:setting.System_setting.bind_ip)
  266. }
  267. inline ::std::string* System_setting::mutable_bind_ip() {
  268. set_has_bind_ip();
  269. // @@protoc_insertion_point(field_mutable:setting.System_setting.bind_ip)
  270. return bind_ip_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  271. }
  272. inline ::std::string* System_setting::release_bind_ip() {
  273. // @@protoc_insertion_point(field_release:setting.System_setting.bind_ip)
  274. clear_has_bind_ip();
  275. return bind_ip_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  276. }
  277. inline void System_setting::set_allocated_bind_ip(::std::string* bind_ip) {
  278. if (bind_ip != NULL) {
  279. set_has_bind_ip();
  280. } else {
  281. clear_has_bind_ip();
  282. }
  283. bind_ip_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), bind_ip);
  284. // @@protoc_insertion_point(field_set_allocated:setting.System_setting.bind_ip)
  285. }
  286. // optional int32 terminor_port = 2 [default = 30000];
  287. inline bool System_setting::has_terminor_port() const {
  288. return (_has_bits_[0] & 0x00000010u) != 0;
  289. }
  290. inline void System_setting::set_has_terminor_port() {
  291. _has_bits_[0] |= 0x00000010u;
  292. }
  293. inline void System_setting::clear_has_terminor_port() {
  294. _has_bits_[0] &= ~0x00000010u;
  295. }
  296. inline void System_setting::clear_terminor_port() {
  297. terminor_port_ = 30000;
  298. clear_has_terminor_port();
  299. }
  300. inline ::google::protobuf::int32 System_setting::terminor_port() const {
  301. // @@protoc_insertion_point(field_get:setting.System_setting.terminor_port)
  302. return terminor_port_;
  303. }
  304. inline void System_setting::set_terminor_port(::google::protobuf::int32 value) {
  305. set_has_terminor_port();
  306. terminor_port_ = value;
  307. // @@protoc_insertion_point(field_set:setting.System_setting.terminor_port)
  308. }
  309. // optional int32 park_space_port = 3 [default = 30001];
  310. inline bool System_setting::has_park_space_port() const {
  311. return (_has_bits_[0] & 0x00000020u) != 0;
  312. }
  313. inline void System_setting::set_has_park_space_port() {
  314. _has_bits_[0] |= 0x00000020u;
  315. }
  316. inline void System_setting::clear_has_park_space_port() {
  317. _has_bits_[0] &= ~0x00000020u;
  318. }
  319. inline void System_setting::clear_park_space_port() {
  320. park_space_port_ = 30001;
  321. clear_has_park_space_port();
  322. }
  323. inline ::google::protobuf::int32 System_setting::park_space_port() const {
  324. // @@protoc_insertion_point(field_get:setting.System_setting.park_space_port)
  325. return park_space_port_;
  326. }
  327. inline void System_setting::set_park_space_port(::google::protobuf::int32 value) {
  328. set_has_park_space_port();
  329. park_space_port_ = value;
  330. // @@protoc_insertion_point(field_set:setting.System_setting.park_space_port)
  331. }
  332. // optional int32 measurer_port = 4 [default = 30002];
  333. inline bool System_setting::has_measurer_port() const {
  334. return (_has_bits_[0] & 0x00000040u) != 0;
  335. }
  336. inline void System_setting::set_has_measurer_port() {
  337. _has_bits_[0] |= 0x00000040u;
  338. }
  339. inline void System_setting::clear_has_measurer_port() {
  340. _has_bits_[0] &= ~0x00000040u;
  341. }
  342. inline void System_setting::clear_measurer_port() {
  343. measurer_port_ = 30002;
  344. clear_has_measurer_port();
  345. }
  346. inline ::google::protobuf::int32 System_setting::measurer_port() const {
  347. // @@protoc_insertion_point(field_get:setting.System_setting.measurer_port)
  348. return measurer_port_;
  349. }
  350. inline void System_setting::set_measurer_port(::google::protobuf::int32 value) {
  351. set_has_measurer_port();
  352. measurer_port_ = value;
  353. // @@protoc_insertion_point(field_set:setting.System_setting.measurer_port)
  354. }
  355. // optional int32 dispatcher_port = 5 [default = 30003];
  356. inline bool System_setting::has_dispatcher_port() const {
  357. return (_has_bits_[0] & 0x00000080u) != 0;
  358. }
  359. inline void System_setting::set_has_dispatcher_port() {
  360. _has_bits_[0] |= 0x00000080u;
  361. }
  362. inline void System_setting::clear_has_dispatcher_port() {
  363. _has_bits_[0] &= ~0x00000080u;
  364. }
  365. inline void System_setting::clear_dispatcher_port() {
  366. dispatcher_port_ = 30003;
  367. clear_has_dispatcher_port();
  368. }
  369. inline ::google::protobuf::int32 System_setting::dispatcher_port() const {
  370. // @@protoc_insertion_point(field_get:setting.System_setting.dispatcher_port)
  371. return dispatcher_port_;
  372. }
  373. inline void System_setting::set_dispatcher_port(::google::protobuf::int32 value) {
  374. set_has_dispatcher_port();
  375. dispatcher_port_ = value;
  376. // @@protoc_insertion_point(field_set:setting.System_setting.dispatcher_port)
  377. }
  378. // optional int32 exception_handle_port = 6 [default = 3004];
  379. inline bool System_setting::has_exception_handle_port() const {
  380. return (_has_bits_[0] & 0x00000008u) != 0;
  381. }
  382. inline void System_setting::set_has_exception_handle_port() {
  383. _has_bits_[0] |= 0x00000008u;
  384. }
  385. inline void System_setting::clear_has_exception_handle_port() {
  386. _has_bits_[0] &= ~0x00000008u;
  387. }
  388. inline void System_setting::clear_exception_handle_port() {
  389. exception_handle_port_ = 3004;
  390. clear_has_exception_handle_port();
  391. }
  392. inline ::google::protobuf::int32 System_setting::exception_handle_port() const {
  393. // @@protoc_insertion_point(field_get:setting.System_setting.exception_handle_port)
  394. return exception_handle_port_;
  395. }
  396. inline void System_setting::set_exception_handle_port(::google::protobuf::int32 value) {
  397. set_has_exception_handle_port();
  398. exception_handle_port_ = value;
  399. // @@protoc_insertion_point(field_set:setting.System_setting.exception_handle_port)
  400. }
  401. // required int32 entrance_num = 7;
  402. inline bool System_setting::has_entrance_num() const {
  403. return (_has_bits_[0] & 0x00000002u) != 0;
  404. }
  405. inline void System_setting::set_has_entrance_num() {
  406. _has_bits_[0] |= 0x00000002u;
  407. }
  408. inline void System_setting::clear_has_entrance_num() {
  409. _has_bits_[0] &= ~0x00000002u;
  410. }
  411. inline void System_setting::clear_entrance_num() {
  412. entrance_num_ = 0;
  413. clear_has_entrance_num();
  414. }
  415. inline ::google::protobuf::int32 System_setting::entrance_num() const {
  416. // @@protoc_insertion_point(field_get:setting.System_setting.entrance_num)
  417. return entrance_num_;
  418. }
  419. inline void System_setting::set_entrance_num(::google::protobuf::int32 value) {
  420. set_has_entrance_num();
  421. entrance_num_ = value;
  422. // @@protoc_insertion_point(field_set:setting.System_setting.entrance_num)
  423. }
  424. // required int32 export_num = 8;
  425. inline bool System_setting::has_export_num() const {
  426. return (_has_bits_[0] & 0x00000004u) != 0;
  427. }
  428. inline void System_setting::set_has_export_num() {
  429. _has_bits_[0] |= 0x00000004u;
  430. }
  431. inline void System_setting::clear_has_export_num() {
  432. _has_bits_[0] &= ~0x00000004u;
  433. }
  434. inline void System_setting::clear_export_num() {
  435. export_num_ = 0;
  436. clear_has_export_num();
  437. }
  438. inline ::google::protobuf::int32 System_setting::export_num() const {
  439. // @@protoc_insertion_point(field_get:setting.System_setting.export_num)
  440. return export_num_;
  441. }
  442. inline void System_setting::set_export_num(::google::protobuf::int32 value) {
  443. set_has_export_num();
  444. export_num_ = value;
  445. // @@protoc_insertion_point(field_set:setting.System_setting.export_num)
  446. }
  447. #ifdef __GNUC__
  448. #pragma GCC diagnostic pop
  449. #endif // __GNUC__
  450. // @@protoc_insertion_point(namespace_scope)
  451. } // namespace setting
  452. // @@protoc_insertion_point(global_scope)
  453. #endif // PROTOBUF_system_5fsetting_2eproto__INCLUDED