notify_communication.pb.h 32 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688
  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // source: notify_communication.proto
  3. #ifndef PROTOBUF_notify_5fcommunication_2eproto__INCLUDED
  4. #define PROTOBUF_notify_5fcommunication_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_notify_5fcommunication_2eproto {
  29. // Internal implementation detail -- do not use these members.
  30. struct TableStruct {
  31. static const ::google::protobuf::internal::ParseTableField entries[];
  32. static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
  33. static const ::google::protobuf::internal::ParseTable schema[2];
  34. static const ::google::protobuf::internal::FieldMetadata field_metadata[];
  35. static const ::google::protobuf::internal::SerializationTable serialization_table[];
  36. static const ::google::protobuf::uint32 offsets[];
  37. };
  38. void AddDescriptors();
  39. void InitDefaultsNotify_communication_parameterImpl();
  40. void InitDefaultsNotify_communication_parameter();
  41. void InitDefaultsNotify_communication_parameter_allImpl();
  42. void InitDefaultsNotify_communication_parameter_all();
  43. inline void InitDefaults() {
  44. InitDefaultsNotify_communication_parameter();
  45. InitDefaultsNotify_communication_parameter_all();
  46. }
  47. } // namespace protobuf_notify_5fcommunication_2eproto
  48. namespace Communication_proto {
  49. class Notify_communication_parameter;
  50. class Notify_communication_parameterDefaultTypeInternal;
  51. extern Notify_communication_parameterDefaultTypeInternal _Notify_communication_parameter_default_instance_;
  52. class Notify_communication_parameter_all;
  53. class Notify_communication_parameter_allDefaultTypeInternal;
  54. extern Notify_communication_parameter_allDefaultTypeInternal _Notify_communication_parameter_all_default_instance_;
  55. } // namespace Communication_proto
  56. namespace Communication_proto {
  57. // ===================================================================
  58. class Notify_communication_parameter : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Communication_proto.Notify_communication_parameter) */ {
  59. public:
  60. Notify_communication_parameter();
  61. virtual ~Notify_communication_parameter();
  62. Notify_communication_parameter(const Notify_communication_parameter& from);
  63. inline Notify_communication_parameter& operator=(const Notify_communication_parameter& from) {
  64. CopyFrom(from);
  65. return *this;
  66. }
  67. #if LANG_CXX11
  68. Notify_communication_parameter(Notify_communication_parameter&& from) noexcept
  69. : Notify_communication_parameter() {
  70. *this = ::std::move(from);
  71. }
  72. inline Notify_communication_parameter& operator=(Notify_communication_parameter&& from) noexcept {
  73. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  74. if (this != &from) InternalSwap(&from);
  75. } else {
  76. CopyFrom(from);
  77. }
  78. return *this;
  79. }
  80. #endif
  81. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  82. return _internal_metadata_.unknown_fields();
  83. }
  84. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  85. return _internal_metadata_.mutable_unknown_fields();
  86. }
  87. static const ::google::protobuf::Descriptor* descriptor();
  88. static const Notify_communication_parameter& default_instance();
  89. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  90. static inline const Notify_communication_parameter* internal_default_instance() {
  91. return reinterpret_cast<const Notify_communication_parameter*>(
  92. &_Notify_communication_parameter_default_instance_);
  93. }
  94. static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
  95. 0;
  96. void Swap(Notify_communication_parameter* other);
  97. friend void swap(Notify_communication_parameter& a, Notify_communication_parameter& b) {
  98. a.Swap(&b);
  99. }
  100. // implements Message ----------------------------------------------
  101. inline Notify_communication_parameter* New() const PROTOBUF_FINAL { return New(NULL); }
  102. Notify_communication_parameter* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
  103. void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  104. void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  105. void CopyFrom(const Notify_communication_parameter& from);
  106. void MergeFrom(const Notify_communication_parameter& from);
  107. void Clear() PROTOBUF_FINAL;
  108. bool IsInitialized() const PROTOBUF_FINAL;
  109. size_t ByteSizeLong() const PROTOBUF_FINAL;
  110. bool MergePartialFromCodedStream(
  111. ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
  112. void SerializeWithCachedSizes(
  113. ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
  114. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  115. bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
  116. int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
  117. private:
  118. void SharedCtor();
  119. void SharedDtor();
  120. void SetCachedSize(int size) const PROTOBUF_FINAL;
  121. void InternalSwap(Notify_communication_parameter* other);
  122. private:
  123. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  124. return NULL;
  125. }
  126. inline void* MaybeArenaPtr() const {
  127. return NULL;
  128. }
  129. public:
  130. ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
  131. // nested types ----------------------------------------------------
  132. // accessors -------------------------------------------------------
  133. // repeated string singlechip_ip_vector = 1;
  134. int singlechip_ip_vector_size() const;
  135. void clear_singlechip_ip_vector();
  136. static const int kSinglechipIpVectorFieldNumber = 1;
  137. const ::std::string& singlechip_ip_vector(int index) const;
  138. ::std::string* mutable_singlechip_ip_vector(int index);
  139. void set_singlechip_ip_vector(int index, const ::std::string& value);
  140. #if LANG_CXX11
  141. void set_singlechip_ip_vector(int index, ::std::string&& value);
  142. #endif
  143. void set_singlechip_ip_vector(int index, const char* value);
  144. void set_singlechip_ip_vector(int index, const char* value, size_t size);
  145. ::std::string* add_singlechip_ip_vector();
  146. void add_singlechip_ip_vector(const ::std::string& value);
  147. #if LANG_CXX11
  148. void add_singlechip_ip_vector(::std::string&& value);
  149. #endif
  150. void add_singlechip_ip_vector(const char* value);
  151. void add_singlechip_ip_vector(const char* value, size_t size);
  152. const ::google::protobuf::RepeatedPtrField< ::std::string>& singlechip_ip_vector() const;
  153. ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_singlechip_ip_vector();
  154. // repeated int32 singlechip_port_vector = 2;
  155. int singlechip_port_vector_size() const;
  156. void clear_singlechip_port_vector();
  157. static const int kSinglechipPortVectorFieldNumber = 2;
  158. ::google::protobuf::int32 singlechip_port_vector(int index) const;
  159. void set_singlechip_port_vector(int index, ::google::protobuf::int32 value);
  160. void add_singlechip_port_vector(::google::protobuf::int32 value);
  161. const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
  162. singlechip_port_vector() const;
  163. ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
  164. mutable_singlechip_port_vector();
  165. // optional string led_screen_ip = 3;
  166. bool has_led_screen_ip() const;
  167. void clear_led_screen_ip();
  168. static const int kLedScreenIpFieldNumber = 3;
  169. const ::std::string& led_screen_ip() const;
  170. void set_led_screen_ip(const ::std::string& value);
  171. #if LANG_CXX11
  172. void set_led_screen_ip(::std::string&& value);
  173. #endif
  174. void set_led_screen_ip(const char* value);
  175. void set_led_screen_ip(const char* value, size_t size);
  176. ::std::string* mutable_led_screen_ip();
  177. ::std::string* release_led_screen_ip();
  178. void set_allocated_led_screen_ip(::std::string* led_screen_ip);
  179. // optional string bind_string_vector = 5;
  180. bool has_bind_string_vector() const;
  181. void clear_bind_string_vector();
  182. static const int kBindStringVectorFieldNumber = 5;
  183. const ::std::string& bind_string_vector() const;
  184. void set_bind_string_vector(const ::std::string& value);
  185. #if LANG_CXX11
  186. void set_bind_string_vector(::std::string&& value);
  187. #endif
  188. void set_bind_string_vector(const char* value);
  189. void set_bind_string_vector(const char* value, size_t size);
  190. ::std::string* mutable_bind_string_vector();
  191. ::std::string* release_bind_string_vector();
  192. void set_allocated_bind_string_vector(::std::string* bind_string_vector);
  193. // optional int32 led_screen_port = 4;
  194. bool has_led_screen_port() const;
  195. void clear_led_screen_port();
  196. static const int kLedScreenPortFieldNumber = 4;
  197. ::google::protobuf::int32 led_screen_port() const;
  198. void set_led_screen_port(::google::protobuf::int32 value);
  199. // @@protoc_insertion_point(class_scope:Communication_proto.Notify_communication_parameter)
  200. private:
  201. void set_has_led_screen_ip();
  202. void clear_has_led_screen_ip();
  203. void set_has_led_screen_port();
  204. void clear_has_led_screen_port();
  205. void set_has_bind_string_vector();
  206. void clear_has_bind_string_vector();
  207. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  208. ::google::protobuf::internal::HasBits<1> _has_bits_;
  209. mutable int _cached_size_;
  210. ::google::protobuf::RepeatedPtrField< ::std::string> singlechip_ip_vector_;
  211. ::google::protobuf::RepeatedField< ::google::protobuf::int32 > singlechip_port_vector_;
  212. ::google::protobuf::internal::ArenaStringPtr led_screen_ip_;
  213. ::google::protobuf::internal::ArenaStringPtr bind_string_vector_;
  214. ::google::protobuf::int32 led_screen_port_;
  215. friend struct ::protobuf_notify_5fcommunication_2eproto::TableStruct;
  216. friend void ::protobuf_notify_5fcommunication_2eproto::InitDefaultsNotify_communication_parameterImpl();
  217. };
  218. // -------------------------------------------------------------------
  219. class Notify_communication_parameter_all : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Communication_proto.Notify_communication_parameter_all) */ {
  220. public:
  221. Notify_communication_parameter_all();
  222. virtual ~Notify_communication_parameter_all();
  223. Notify_communication_parameter_all(const Notify_communication_parameter_all& from);
  224. inline Notify_communication_parameter_all& operator=(const Notify_communication_parameter_all& from) {
  225. CopyFrom(from);
  226. return *this;
  227. }
  228. #if LANG_CXX11
  229. Notify_communication_parameter_all(Notify_communication_parameter_all&& from) noexcept
  230. : Notify_communication_parameter_all() {
  231. *this = ::std::move(from);
  232. }
  233. inline Notify_communication_parameter_all& operator=(Notify_communication_parameter_all&& from) noexcept {
  234. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  235. if (this != &from) InternalSwap(&from);
  236. } else {
  237. CopyFrom(from);
  238. }
  239. return *this;
  240. }
  241. #endif
  242. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  243. return _internal_metadata_.unknown_fields();
  244. }
  245. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  246. return _internal_metadata_.mutable_unknown_fields();
  247. }
  248. static const ::google::protobuf::Descriptor* descriptor();
  249. static const Notify_communication_parameter_all& default_instance();
  250. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  251. static inline const Notify_communication_parameter_all* internal_default_instance() {
  252. return reinterpret_cast<const Notify_communication_parameter_all*>(
  253. &_Notify_communication_parameter_all_default_instance_);
  254. }
  255. static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
  256. 1;
  257. void Swap(Notify_communication_parameter_all* other);
  258. friend void swap(Notify_communication_parameter_all& a, Notify_communication_parameter_all& b) {
  259. a.Swap(&b);
  260. }
  261. // implements Message ----------------------------------------------
  262. inline Notify_communication_parameter_all* New() const PROTOBUF_FINAL { return New(NULL); }
  263. Notify_communication_parameter_all* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
  264. void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  265. void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  266. void CopyFrom(const Notify_communication_parameter_all& from);
  267. void MergeFrom(const Notify_communication_parameter_all& from);
  268. void Clear() PROTOBUF_FINAL;
  269. bool IsInitialized() const PROTOBUF_FINAL;
  270. size_t ByteSizeLong() const PROTOBUF_FINAL;
  271. bool MergePartialFromCodedStream(
  272. ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
  273. void SerializeWithCachedSizes(
  274. ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
  275. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  276. bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
  277. int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
  278. private:
  279. void SharedCtor();
  280. void SharedDtor();
  281. void SetCachedSize(int size) const PROTOBUF_FINAL;
  282. void InternalSwap(Notify_communication_parameter_all* other);
  283. private:
  284. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  285. return NULL;
  286. }
  287. inline void* MaybeArenaPtr() const {
  288. return NULL;
  289. }
  290. public:
  291. ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
  292. // nested types ----------------------------------------------------
  293. // accessors -------------------------------------------------------
  294. // optional .Communication_proto.Notify_communication_parameter notify_communication_parameters = 1;
  295. bool has_notify_communication_parameters() const;
  296. void clear_notify_communication_parameters();
  297. static const int kNotifyCommunicationParametersFieldNumber = 1;
  298. const ::Communication_proto::Notify_communication_parameter& notify_communication_parameters() const;
  299. ::Communication_proto::Notify_communication_parameter* release_notify_communication_parameters();
  300. ::Communication_proto::Notify_communication_parameter* mutable_notify_communication_parameters();
  301. void set_allocated_notify_communication_parameters(::Communication_proto::Notify_communication_parameter* notify_communication_parameters);
  302. // @@protoc_insertion_point(class_scope:Communication_proto.Notify_communication_parameter_all)
  303. private:
  304. void set_has_notify_communication_parameters();
  305. void clear_has_notify_communication_parameters();
  306. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  307. ::google::protobuf::internal::HasBits<1> _has_bits_;
  308. mutable int _cached_size_;
  309. ::Communication_proto::Notify_communication_parameter* notify_communication_parameters_;
  310. friend struct ::protobuf_notify_5fcommunication_2eproto::TableStruct;
  311. friend void ::protobuf_notify_5fcommunication_2eproto::InitDefaultsNotify_communication_parameter_allImpl();
  312. };
  313. // ===================================================================
  314. // ===================================================================
  315. #ifdef __GNUC__
  316. #pragma GCC diagnostic push
  317. #pragma GCC diagnostic ignored "-Wstrict-aliasing"
  318. #endif // __GNUC__
  319. // Notify_communication_parameter
  320. // repeated string singlechip_ip_vector = 1;
  321. inline int Notify_communication_parameter::singlechip_ip_vector_size() const {
  322. return singlechip_ip_vector_.size();
  323. }
  324. inline void Notify_communication_parameter::clear_singlechip_ip_vector() {
  325. singlechip_ip_vector_.Clear();
  326. }
  327. inline const ::std::string& Notify_communication_parameter::singlechip_ip_vector(int index) const {
  328. // @@protoc_insertion_point(field_get:Communication_proto.Notify_communication_parameter.singlechip_ip_vector)
  329. return singlechip_ip_vector_.Get(index);
  330. }
  331. inline ::std::string* Notify_communication_parameter::mutable_singlechip_ip_vector(int index) {
  332. // @@protoc_insertion_point(field_mutable:Communication_proto.Notify_communication_parameter.singlechip_ip_vector)
  333. return singlechip_ip_vector_.Mutable(index);
  334. }
  335. inline void Notify_communication_parameter::set_singlechip_ip_vector(int index, const ::std::string& value) {
  336. // @@protoc_insertion_point(field_set:Communication_proto.Notify_communication_parameter.singlechip_ip_vector)
  337. singlechip_ip_vector_.Mutable(index)->assign(value);
  338. }
  339. #if LANG_CXX11
  340. inline void Notify_communication_parameter::set_singlechip_ip_vector(int index, ::std::string&& value) {
  341. // @@protoc_insertion_point(field_set:Communication_proto.Notify_communication_parameter.singlechip_ip_vector)
  342. singlechip_ip_vector_.Mutable(index)->assign(std::move(value));
  343. }
  344. #endif
  345. inline void Notify_communication_parameter::set_singlechip_ip_vector(int index, const char* value) {
  346. GOOGLE_DCHECK(value != NULL);
  347. singlechip_ip_vector_.Mutable(index)->assign(value);
  348. // @@protoc_insertion_point(field_set_char:Communication_proto.Notify_communication_parameter.singlechip_ip_vector)
  349. }
  350. inline void Notify_communication_parameter::set_singlechip_ip_vector(int index, const char* value, size_t size) {
  351. singlechip_ip_vector_.Mutable(index)->assign(
  352. reinterpret_cast<const char*>(value), size);
  353. // @@protoc_insertion_point(field_set_pointer:Communication_proto.Notify_communication_parameter.singlechip_ip_vector)
  354. }
  355. inline ::std::string* Notify_communication_parameter::add_singlechip_ip_vector() {
  356. // @@protoc_insertion_point(field_add_mutable:Communication_proto.Notify_communication_parameter.singlechip_ip_vector)
  357. return singlechip_ip_vector_.Add();
  358. }
  359. inline void Notify_communication_parameter::add_singlechip_ip_vector(const ::std::string& value) {
  360. singlechip_ip_vector_.Add()->assign(value);
  361. // @@protoc_insertion_point(field_add:Communication_proto.Notify_communication_parameter.singlechip_ip_vector)
  362. }
  363. #if LANG_CXX11
  364. inline void Notify_communication_parameter::add_singlechip_ip_vector(::std::string&& value) {
  365. singlechip_ip_vector_.Add(std::move(value));
  366. // @@protoc_insertion_point(field_add:Communication_proto.Notify_communication_parameter.singlechip_ip_vector)
  367. }
  368. #endif
  369. inline void Notify_communication_parameter::add_singlechip_ip_vector(const char* value) {
  370. GOOGLE_DCHECK(value != NULL);
  371. singlechip_ip_vector_.Add()->assign(value);
  372. // @@protoc_insertion_point(field_add_char:Communication_proto.Notify_communication_parameter.singlechip_ip_vector)
  373. }
  374. inline void Notify_communication_parameter::add_singlechip_ip_vector(const char* value, size_t size) {
  375. singlechip_ip_vector_.Add()->assign(reinterpret_cast<const char*>(value), size);
  376. // @@protoc_insertion_point(field_add_pointer:Communication_proto.Notify_communication_parameter.singlechip_ip_vector)
  377. }
  378. inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
  379. Notify_communication_parameter::singlechip_ip_vector() const {
  380. // @@protoc_insertion_point(field_list:Communication_proto.Notify_communication_parameter.singlechip_ip_vector)
  381. return singlechip_ip_vector_;
  382. }
  383. inline ::google::protobuf::RepeatedPtrField< ::std::string>*
  384. Notify_communication_parameter::mutable_singlechip_ip_vector() {
  385. // @@protoc_insertion_point(field_mutable_list:Communication_proto.Notify_communication_parameter.singlechip_ip_vector)
  386. return &singlechip_ip_vector_;
  387. }
  388. // repeated int32 singlechip_port_vector = 2;
  389. inline int Notify_communication_parameter::singlechip_port_vector_size() const {
  390. return singlechip_port_vector_.size();
  391. }
  392. inline void Notify_communication_parameter::clear_singlechip_port_vector() {
  393. singlechip_port_vector_.Clear();
  394. }
  395. inline ::google::protobuf::int32 Notify_communication_parameter::singlechip_port_vector(int index) const {
  396. // @@protoc_insertion_point(field_get:Communication_proto.Notify_communication_parameter.singlechip_port_vector)
  397. return singlechip_port_vector_.Get(index);
  398. }
  399. inline void Notify_communication_parameter::set_singlechip_port_vector(int index, ::google::protobuf::int32 value) {
  400. singlechip_port_vector_.Set(index, value);
  401. // @@protoc_insertion_point(field_set:Communication_proto.Notify_communication_parameter.singlechip_port_vector)
  402. }
  403. inline void Notify_communication_parameter::add_singlechip_port_vector(::google::protobuf::int32 value) {
  404. singlechip_port_vector_.Add(value);
  405. // @@protoc_insertion_point(field_add:Communication_proto.Notify_communication_parameter.singlechip_port_vector)
  406. }
  407. inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
  408. Notify_communication_parameter::singlechip_port_vector() const {
  409. // @@protoc_insertion_point(field_list:Communication_proto.Notify_communication_parameter.singlechip_port_vector)
  410. return singlechip_port_vector_;
  411. }
  412. inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
  413. Notify_communication_parameter::mutable_singlechip_port_vector() {
  414. // @@protoc_insertion_point(field_mutable_list:Communication_proto.Notify_communication_parameter.singlechip_port_vector)
  415. return &singlechip_port_vector_;
  416. }
  417. // optional string led_screen_ip = 3;
  418. inline bool Notify_communication_parameter::has_led_screen_ip() const {
  419. return (_has_bits_[0] & 0x00000001u) != 0;
  420. }
  421. inline void Notify_communication_parameter::set_has_led_screen_ip() {
  422. _has_bits_[0] |= 0x00000001u;
  423. }
  424. inline void Notify_communication_parameter::clear_has_led_screen_ip() {
  425. _has_bits_[0] &= ~0x00000001u;
  426. }
  427. inline void Notify_communication_parameter::clear_led_screen_ip() {
  428. led_screen_ip_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  429. clear_has_led_screen_ip();
  430. }
  431. inline const ::std::string& Notify_communication_parameter::led_screen_ip() const {
  432. // @@protoc_insertion_point(field_get:Communication_proto.Notify_communication_parameter.led_screen_ip)
  433. return led_screen_ip_.GetNoArena();
  434. }
  435. inline void Notify_communication_parameter::set_led_screen_ip(const ::std::string& value) {
  436. set_has_led_screen_ip();
  437. led_screen_ip_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  438. // @@protoc_insertion_point(field_set:Communication_proto.Notify_communication_parameter.led_screen_ip)
  439. }
  440. #if LANG_CXX11
  441. inline void Notify_communication_parameter::set_led_screen_ip(::std::string&& value) {
  442. set_has_led_screen_ip();
  443. led_screen_ip_.SetNoArena(
  444. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  445. // @@protoc_insertion_point(field_set_rvalue:Communication_proto.Notify_communication_parameter.led_screen_ip)
  446. }
  447. #endif
  448. inline void Notify_communication_parameter::set_led_screen_ip(const char* value) {
  449. GOOGLE_DCHECK(value != NULL);
  450. set_has_led_screen_ip();
  451. led_screen_ip_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  452. // @@protoc_insertion_point(field_set_char:Communication_proto.Notify_communication_parameter.led_screen_ip)
  453. }
  454. inline void Notify_communication_parameter::set_led_screen_ip(const char* value, size_t size) {
  455. set_has_led_screen_ip();
  456. led_screen_ip_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  457. ::std::string(reinterpret_cast<const char*>(value), size));
  458. // @@protoc_insertion_point(field_set_pointer:Communication_proto.Notify_communication_parameter.led_screen_ip)
  459. }
  460. inline ::std::string* Notify_communication_parameter::mutable_led_screen_ip() {
  461. set_has_led_screen_ip();
  462. // @@protoc_insertion_point(field_mutable:Communication_proto.Notify_communication_parameter.led_screen_ip)
  463. return led_screen_ip_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  464. }
  465. inline ::std::string* Notify_communication_parameter::release_led_screen_ip() {
  466. // @@protoc_insertion_point(field_release:Communication_proto.Notify_communication_parameter.led_screen_ip)
  467. clear_has_led_screen_ip();
  468. return led_screen_ip_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  469. }
  470. inline void Notify_communication_parameter::set_allocated_led_screen_ip(::std::string* led_screen_ip) {
  471. if (led_screen_ip != NULL) {
  472. set_has_led_screen_ip();
  473. } else {
  474. clear_has_led_screen_ip();
  475. }
  476. led_screen_ip_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), led_screen_ip);
  477. // @@protoc_insertion_point(field_set_allocated:Communication_proto.Notify_communication_parameter.led_screen_ip)
  478. }
  479. // optional int32 led_screen_port = 4;
  480. inline bool Notify_communication_parameter::has_led_screen_port() const {
  481. return (_has_bits_[0] & 0x00000004u) != 0;
  482. }
  483. inline void Notify_communication_parameter::set_has_led_screen_port() {
  484. _has_bits_[0] |= 0x00000004u;
  485. }
  486. inline void Notify_communication_parameter::clear_has_led_screen_port() {
  487. _has_bits_[0] &= ~0x00000004u;
  488. }
  489. inline void Notify_communication_parameter::clear_led_screen_port() {
  490. led_screen_port_ = 0;
  491. clear_has_led_screen_port();
  492. }
  493. inline ::google::protobuf::int32 Notify_communication_parameter::led_screen_port() const {
  494. // @@protoc_insertion_point(field_get:Communication_proto.Notify_communication_parameter.led_screen_port)
  495. return led_screen_port_;
  496. }
  497. inline void Notify_communication_parameter::set_led_screen_port(::google::protobuf::int32 value) {
  498. set_has_led_screen_port();
  499. led_screen_port_ = value;
  500. // @@protoc_insertion_point(field_set:Communication_proto.Notify_communication_parameter.led_screen_port)
  501. }
  502. // optional string bind_string_vector = 5;
  503. inline bool Notify_communication_parameter::has_bind_string_vector() const {
  504. return (_has_bits_[0] & 0x00000002u) != 0;
  505. }
  506. inline void Notify_communication_parameter::set_has_bind_string_vector() {
  507. _has_bits_[0] |= 0x00000002u;
  508. }
  509. inline void Notify_communication_parameter::clear_has_bind_string_vector() {
  510. _has_bits_[0] &= ~0x00000002u;
  511. }
  512. inline void Notify_communication_parameter::clear_bind_string_vector() {
  513. bind_string_vector_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  514. clear_has_bind_string_vector();
  515. }
  516. inline const ::std::string& Notify_communication_parameter::bind_string_vector() const {
  517. // @@protoc_insertion_point(field_get:Communication_proto.Notify_communication_parameter.bind_string_vector)
  518. return bind_string_vector_.GetNoArena();
  519. }
  520. inline void Notify_communication_parameter::set_bind_string_vector(const ::std::string& value) {
  521. set_has_bind_string_vector();
  522. bind_string_vector_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  523. // @@protoc_insertion_point(field_set:Communication_proto.Notify_communication_parameter.bind_string_vector)
  524. }
  525. #if LANG_CXX11
  526. inline void Notify_communication_parameter::set_bind_string_vector(::std::string&& value) {
  527. set_has_bind_string_vector();
  528. bind_string_vector_.SetNoArena(
  529. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  530. // @@protoc_insertion_point(field_set_rvalue:Communication_proto.Notify_communication_parameter.bind_string_vector)
  531. }
  532. #endif
  533. inline void Notify_communication_parameter::set_bind_string_vector(const char* value) {
  534. GOOGLE_DCHECK(value != NULL);
  535. set_has_bind_string_vector();
  536. bind_string_vector_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  537. // @@protoc_insertion_point(field_set_char:Communication_proto.Notify_communication_parameter.bind_string_vector)
  538. }
  539. inline void Notify_communication_parameter::set_bind_string_vector(const char* value, size_t size) {
  540. set_has_bind_string_vector();
  541. bind_string_vector_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  542. ::std::string(reinterpret_cast<const char*>(value), size));
  543. // @@protoc_insertion_point(field_set_pointer:Communication_proto.Notify_communication_parameter.bind_string_vector)
  544. }
  545. inline ::std::string* Notify_communication_parameter::mutable_bind_string_vector() {
  546. set_has_bind_string_vector();
  547. // @@protoc_insertion_point(field_mutable:Communication_proto.Notify_communication_parameter.bind_string_vector)
  548. return bind_string_vector_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  549. }
  550. inline ::std::string* Notify_communication_parameter::release_bind_string_vector() {
  551. // @@protoc_insertion_point(field_release:Communication_proto.Notify_communication_parameter.bind_string_vector)
  552. clear_has_bind_string_vector();
  553. return bind_string_vector_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  554. }
  555. inline void Notify_communication_parameter::set_allocated_bind_string_vector(::std::string* bind_string_vector) {
  556. if (bind_string_vector != NULL) {
  557. set_has_bind_string_vector();
  558. } else {
  559. clear_has_bind_string_vector();
  560. }
  561. bind_string_vector_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), bind_string_vector);
  562. // @@protoc_insertion_point(field_set_allocated:Communication_proto.Notify_communication_parameter.bind_string_vector)
  563. }
  564. // -------------------------------------------------------------------
  565. // Notify_communication_parameter_all
  566. // optional .Communication_proto.Notify_communication_parameter notify_communication_parameters = 1;
  567. inline bool Notify_communication_parameter_all::has_notify_communication_parameters() const {
  568. return (_has_bits_[0] & 0x00000001u) != 0;
  569. }
  570. inline void Notify_communication_parameter_all::set_has_notify_communication_parameters() {
  571. _has_bits_[0] |= 0x00000001u;
  572. }
  573. inline void Notify_communication_parameter_all::clear_has_notify_communication_parameters() {
  574. _has_bits_[0] &= ~0x00000001u;
  575. }
  576. inline void Notify_communication_parameter_all::clear_notify_communication_parameters() {
  577. if (notify_communication_parameters_ != NULL) notify_communication_parameters_->Clear();
  578. clear_has_notify_communication_parameters();
  579. }
  580. inline const ::Communication_proto::Notify_communication_parameter& Notify_communication_parameter_all::notify_communication_parameters() const {
  581. const ::Communication_proto::Notify_communication_parameter* p = notify_communication_parameters_;
  582. // @@protoc_insertion_point(field_get:Communication_proto.Notify_communication_parameter_all.notify_communication_parameters)
  583. return p != NULL ? *p : *reinterpret_cast<const ::Communication_proto::Notify_communication_parameter*>(
  584. &::Communication_proto::_Notify_communication_parameter_default_instance_);
  585. }
  586. inline ::Communication_proto::Notify_communication_parameter* Notify_communication_parameter_all::release_notify_communication_parameters() {
  587. // @@protoc_insertion_point(field_release:Communication_proto.Notify_communication_parameter_all.notify_communication_parameters)
  588. clear_has_notify_communication_parameters();
  589. ::Communication_proto::Notify_communication_parameter* temp = notify_communication_parameters_;
  590. notify_communication_parameters_ = NULL;
  591. return temp;
  592. }
  593. inline ::Communication_proto::Notify_communication_parameter* Notify_communication_parameter_all::mutable_notify_communication_parameters() {
  594. set_has_notify_communication_parameters();
  595. if (notify_communication_parameters_ == NULL) {
  596. notify_communication_parameters_ = new ::Communication_proto::Notify_communication_parameter;
  597. }
  598. // @@protoc_insertion_point(field_mutable:Communication_proto.Notify_communication_parameter_all.notify_communication_parameters)
  599. return notify_communication_parameters_;
  600. }
  601. inline void Notify_communication_parameter_all::set_allocated_notify_communication_parameters(::Communication_proto::Notify_communication_parameter* notify_communication_parameters) {
  602. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  603. if (message_arena == NULL) {
  604. delete notify_communication_parameters_;
  605. }
  606. if (notify_communication_parameters) {
  607. ::google::protobuf::Arena* submessage_arena = NULL;
  608. if (message_arena != submessage_arena) {
  609. notify_communication_parameters = ::google::protobuf::internal::GetOwnedMessage(
  610. message_arena, notify_communication_parameters, submessage_arena);
  611. }
  612. set_has_notify_communication_parameters();
  613. } else {
  614. clear_has_notify_communication_parameters();
  615. }
  616. notify_communication_parameters_ = notify_communication_parameters;
  617. // @@protoc_insertion_point(field_set_allocated:Communication_proto.Notify_communication_parameter_all.notify_communication_parameters)
  618. }
  619. #ifdef __GNUC__
  620. #pragma GCC diagnostic pop
  621. #endif // __GNUC__
  622. // -------------------------------------------------------------------
  623. // @@protoc_insertion_point(namespace_scope)
  624. } // namespace Communication_proto
  625. // @@protoc_insertion_point(global_scope)
  626. #endif // PROTOBUF_notify_5fcommunication_2eproto__INCLUDED