communication.pb.h 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530
  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // source: communication.proto
  3. #ifndef PROTOBUF_communication_2eproto__INCLUDED
  4. #define PROTOBUF_communication_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_communication_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 InitDefaultsCommunication_parameterImpl();
  40. void InitDefaultsCommunication_parameter();
  41. void InitDefaultsCommunication_parameter_allImpl();
  42. void InitDefaultsCommunication_parameter_all();
  43. inline void InitDefaults() {
  44. InitDefaultsCommunication_parameter();
  45. InitDefaultsCommunication_parameter_all();
  46. }
  47. } // namespace protobuf_communication_2eproto
  48. namespace Communication_proto {
  49. class Communication_parameter;
  50. class Communication_parameterDefaultTypeInternal;
  51. extern Communication_parameterDefaultTypeInternal _Communication_parameter_default_instance_;
  52. class Communication_parameter_all;
  53. class Communication_parameter_allDefaultTypeInternal;
  54. extern Communication_parameter_allDefaultTypeInternal _Communication_parameter_all_default_instance_;
  55. } // namespace Communication_proto
  56. namespace Communication_proto {
  57. // ===================================================================
  58. class Communication_parameter : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Communication_proto.Communication_parameter) */ {
  59. public:
  60. Communication_parameter();
  61. virtual ~Communication_parameter();
  62. Communication_parameter(const Communication_parameter& from);
  63. inline Communication_parameter& operator=(const Communication_parameter& from) {
  64. CopyFrom(from);
  65. return *this;
  66. }
  67. #if LANG_CXX11
  68. Communication_parameter(Communication_parameter&& from) noexcept
  69. : Communication_parameter() {
  70. *this = ::std::move(from);
  71. }
  72. inline Communication_parameter& operator=(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 Communication_parameter& default_instance();
  89. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  90. static inline const Communication_parameter* internal_default_instance() {
  91. return reinterpret_cast<const Communication_parameter*>(
  92. &_Communication_parameter_default_instance_);
  93. }
  94. static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
  95. 0;
  96. void Swap(Communication_parameter* other);
  97. friend void swap(Communication_parameter& a, Communication_parameter& b) {
  98. a.Swap(&b);
  99. }
  100. // implements Message ----------------------------------------------
  101. inline Communication_parameter* New() const PROTOBUF_FINAL { return New(NULL); }
  102. 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 Communication_parameter& from);
  106. void MergeFrom(const 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(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 connect_string_vector = 2;
  134. int connect_string_vector_size() const;
  135. void clear_connect_string_vector();
  136. static const int kConnectStringVectorFieldNumber = 2;
  137. const ::std::string& connect_string_vector(int index) const;
  138. ::std::string* mutable_connect_string_vector(int index);
  139. void set_connect_string_vector(int index, const ::std::string& value);
  140. #if LANG_CXX11
  141. void set_connect_string_vector(int index, ::std::string&& value);
  142. #endif
  143. void set_connect_string_vector(int index, const char* value);
  144. void set_connect_string_vector(int index, const char* value, size_t size);
  145. ::std::string* add_connect_string_vector();
  146. void add_connect_string_vector(const ::std::string& value);
  147. #if LANG_CXX11
  148. void add_connect_string_vector(::std::string&& value);
  149. #endif
  150. void add_connect_string_vector(const char* value);
  151. void add_connect_string_vector(const char* value, size_t size);
  152. const ::google::protobuf::RepeatedPtrField< ::std::string>& connect_string_vector() const;
  153. ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_connect_string_vector();
  154. // optional string bind_string = 1;
  155. bool has_bind_string() const;
  156. void clear_bind_string();
  157. static const int kBindStringFieldNumber = 1;
  158. const ::std::string& bind_string() const;
  159. void set_bind_string(const ::std::string& value);
  160. #if LANG_CXX11
  161. void set_bind_string(::std::string&& value);
  162. #endif
  163. void set_bind_string(const char* value);
  164. void set_bind_string(const char* value, size_t size);
  165. ::std::string* mutable_bind_string();
  166. ::std::string* release_bind_string();
  167. void set_allocated_bind_string(::std::string* bind_string);
  168. // @@protoc_insertion_point(class_scope:Communication_proto.Communication_parameter)
  169. private:
  170. void set_has_bind_string();
  171. void clear_has_bind_string();
  172. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  173. ::google::protobuf::internal::HasBits<1> _has_bits_;
  174. mutable int _cached_size_;
  175. ::google::protobuf::RepeatedPtrField< ::std::string> connect_string_vector_;
  176. ::google::protobuf::internal::ArenaStringPtr bind_string_;
  177. friend struct ::protobuf_communication_2eproto::TableStruct;
  178. friend void ::protobuf_communication_2eproto::InitDefaultsCommunication_parameterImpl();
  179. };
  180. // -------------------------------------------------------------------
  181. class Communication_parameter_all : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Communication_proto.Communication_parameter_all) */ {
  182. public:
  183. Communication_parameter_all();
  184. virtual ~Communication_parameter_all();
  185. Communication_parameter_all(const Communication_parameter_all& from);
  186. inline Communication_parameter_all& operator=(const Communication_parameter_all& from) {
  187. CopyFrom(from);
  188. return *this;
  189. }
  190. #if LANG_CXX11
  191. Communication_parameter_all(Communication_parameter_all&& from) noexcept
  192. : Communication_parameter_all() {
  193. *this = ::std::move(from);
  194. }
  195. inline Communication_parameter_all& operator=(Communication_parameter_all&& from) noexcept {
  196. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  197. if (this != &from) InternalSwap(&from);
  198. } else {
  199. CopyFrom(from);
  200. }
  201. return *this;
  202. }
  203. #endif
  204. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  205. return _internal_metadata_.unknown_fields();
  206. }
  207. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  208. return _internal_metadata_.mutable_unknown_fields();
  209. }
  210. static const ::google::protobuf::Descriptor* descriptor();
  211. static const Communication_parameter_all& default_instance();
  212. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  213. static inline const Communication_parameter_all* internal_default_instance() {
  214. return reinterpret_cast<const Communication_parameter_all*>(
  215. &_Communication_parameter_all_default_instance_);
  216. }
  217. static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
  218. 1;
  219. void Swap(Communication_parameter_all* other);
  220. friend void swap(Communication_parameter_all& a, Communication_parameter_all& b) {
  221. a.Swap(&b);
  222. }
  223. // implements Message ----------------------------------------------
  224. inline Communication_parameter_all* New() const PROTOBUF_FINAL { return New(NULL); }
  225. Communication_parameter_all* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
  226. void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  227. void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  228. void CopyFrom(const Communication_parameter_all& from);
  229. void MergeFrom(const Communication_parameter_all& from);
  230. void Clear() PROTOBUF_FINAL;
  231. bool IsInitialized() const PROTOBUF_FINAL;
  232. size_t ByteSizeLong() const PROTOBUF_FINAL;
  233. bool MergePartialFromCodedStream(
  234. ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
  235. void SerializeWithCachedSizes(
  236. ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
  237. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  238. bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
  239. int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
  240. private:
  241. void SharedCtor();
  242. void SharedDtor();
  243. void SetCachedSize(int size) const PROTOBUF_FINAL;
  244. void InternalSwap(Communication_parameter_all* other);
  245. private:
  246. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  247. return NULL;
  248. }
  249. inline void* MaybeArenaPtr() const {
  250. return NULL;
  251. }
  252. public:
  253. ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
  254. // nested types ----------------------------------------------------
  255. // accessors -------------------------------------------------------
  256. // optional .Communication_proto.Communication_parameter communication_parameters = 1;
  257. bool has_communication_parameters() const;
  258. void clear_communication_parameters();
  259. static const int kCommunicationParametersFieldNumber = 1;
  260. const ::Communication_proto::Communication_parameter& communication_parameters() const;
  261. ::Communication_proto::Communication_parameter* release_communication_parameters();
  262. ::Communication_proto::Communication_parameter* mutable_communication_parameters();
  263. void set_allocated_communication_parameters(::Communication_proto::Communication_parameter* communication_parameters);
  264. // @@protoc_insertion_point(class_scope:Communication_proto.Communication_parameter_all)
  265. private:
  266. void set_has_communication_parameters();
  267. void clear_has_communication_parameters();
  268. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  269. ::google::protobuf::internal::HasBits<1> _has_bits_;
  270. mutable int _cached_size_;
  271. ::Communication_proto::Communication_parameter* communication_parameters_;
  272. friend struct ::protobuf_communication_2eproto::TableStruct;
  273. friend void ::protobuf_communication_2eproto::InitDefaultsCommunication_parameter_allImpl();
  274. };
  275. // ===================================================================
  276. // ===================================================================
  277. #ifdef __GNUC__
  278. #pragma GCC diagnostic push
  279. #pragma GCC diagnostic ignored "-Wstrict-aliasing"
  280. #endif // __GNUC__
  281. // Communication_parameter
  282. // optional string bind_string = 1;
  283. inline bool Communication_parameter::has_bind_string() const {
  284. return (_has_bits_[0] & 0x00000001u) != 0;
  285. }
  286. inline void Communication_parameter::set_has_bind_string() {
  287. _has_bits_[0] |= 0x00000001u;
  288. }
  289. inline void Communication_parameter::clear_has_bind_string() {
  290. _has_bits_[0] &= ~0x00000001u;
  291. }
  292. inline void Communication_parameter::clear_bind_string() {
  293. bind_string_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  294. clear_has_bind_string();
  295. }
  296. inline const ::std::string& Communication_parameter::bind_string() const {
  297. // @@protoc_insertion_point(field_get:Communication_proto.Communication_parameter.bind_string)
  298. return bind_string_.GetNoArena();
  299. }
  300. inline void Communication_parameter::set_bind_string(const ::std::string& value) {
  301. set_has_bind_string();
  302. bind_string_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  303. // @@protoc_insertion_point(field_set:Communication_proto.Communication_parameter.bind_string)
  304. }
  305. #if LANG_CXX11
  306. inline void Communication_parameter::set_bind_string(::std::string&& value) {
  307. set_has_bind_string();
  308. bind_string_.SetNoArena(
  309. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  310. // @@protoc_insertion_point(field_set_rvalue:Communication_proto.Communication_parameter.bind_string)
  311. }
  312. #endif
  313. inline void Communication_parameter::set_bind_string(const char* value) {
  314. GOOGLE_DCHECK(value != NULL);
  315. set_has_bind_string();
  316. bind_string_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  317. // @@protoc_insertion_point(field_set_char:Communication_proto.Communication_parameter.bind_string)
  318. }
  319. inline void Communication_parameter::set_bind_string(const char* value, size_t size) {
  320. set_has_bind_string();
  321. bind_string_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  322. ::std::string(reinterpret_cast<const char*>(value), size));
  323. // @@protoc_insertion_point(field_set_pointer:Communication_proto.Communication_parameter.bind_string)
  324. }
  325. inline ::std::string* Communication_parameter::mutable_bind_string() {
  326. set_has_bind_string();
  327. // @@protoc_insertion_point(field_mutable:Communication_proto.Communication_parameter.bind_string)
  328. return bind_string_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  329. }
  330. inline ::std::string* Communication_parameter::release_bind_string() {
  331. // @@protoc_insertion_point(field_release:Communication_proto.Communication_parameter.bind_string)
  332. clear_has_bind_string();
  333. return bind_string_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  334. }
  335. inline void Communication_parameter::set_allocated_bind_string(::std::string* bind_string) {
  336. if (bind_string != NULL) {
  337. set_has_bind_string();
  338. } else {
  339. clear_has_bind_string();
  340. }
  341. bind_string_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), bind_string);
  342. // @@protoc_insertion_point(field_set_allocated:Communication_proto.Communication_parameter.bind_string)
  343. }
  344. // repeated string connect_string_vector = 2;
  345. inline int Communication_parameter::connect_string_vector_size() const {
  346. return connect_string_vector_.size();
  347. }
  348. inline void Communication_parameter::clear_connect_string_vector() {
  349. connect_string_vector_.Clear();
  350. }
  351. inline const ::std::string& Communication_parameter::connect_string_vector(int index) const {
  352. // @@protoc_insertion_point(field_get:Communication_proto.Communication_parameter.connect_string_vector)
  353. return connect_string_vector_.Get(index);
  354. }
  355. inline ::std::string* Communication_parameter::mutable_connect_string_vector(int index) {
  356. // @@protoc_insertion_point(field_mutable:Communication_proto.Communication_parameter.connect_string_vector)
  357. return connect_string_vector_.Mutable(index);
  358. }
  359. inline void Communication_parameter::set_connect_string_vector(int index, const ::std::string& value) {
  360. // @@protoc_insertion_point(field_set:Communication_proto.Communication_parameter.connect_string_vector)
  361. connect_string_vector_.Mutable(index)->assign(value);
  362. }
  363. #if LANG_CXX11
  364. inline void Communication_parameter::set_connect_string_vector(int index, ::std::string&& value) {
  365. // @@protoc_insertion_point(field_set:Communication_proto.Communication_parameter.connect_string_vector)
  366. connect_string_vector_.Mutable(index)->assign(std::move(value));
  367. }
  368. #endif
  369. inline void Communication_parameter::set_connect_string_vector(int index, const char* value) {
  370. GOOGLE_DCHECK(value != NULL);
  371. connect_string_vector_.Mutable(index)->assign(value);
  372. // @@protoc_insertion_point(field_set_char:Communication_proto.Communication_parameter.connect_string_vector)
  373. }
  374. inline void Communication_parameter::set_connect_string_vector(int index, const char* value, size_t size) {
  375. connect_string_vector_.Mutable(index)->assign(
  376. reinterpret_cast<const char*>(value), size);
  377. // @@protoc_insertion_point(field_set_pointer:Communication_proto.Communication_parameter.connect_string_vector)
  378. }
  379. inline ::std::string* Communication_parameter::add_connect_string_vector() {
  380. // @@protoc_insertion_point(field_add_mutable:Communication_proto.Communication_parameter.connect_string_vector)
  381. return connect_string_vector_.Add();
  382. }
  383. inline void Communication_parameter::add_connect_string_vector(const ::std::string& value) {
  384. connect_string_vector_.Add()->assign(value);
  385. // @@protoc_insertion_point(field_add:Communication_proto.Communication_parameter.connect_string_vector)
  386. }
  387. #if LANG_CXX11
  388. inline void Communication_parameter::add_connect_string_vector(::std::string&& value) {
  389. connect_string_vector_.Add(std::move(value));
  390. // @@protoc_insertion_point(field_add:Communication_proto.Communication_parameter.connect_string_vector)
  391. }
  392. #endif
  393. inline void Communication_parameter::add_connect_string_vector(const char* value) {
  394. GOOGLE_DCHECK(value != NULL);
  395. connect_string_vector_.Add()->assign(value);
  396. // @@protoc_insertion_point(field_add_char:Communication_proto.Communication_parameter.connect_string_vector)
  397. }
  398. inline void Communication_parameter::add_connect_string_vector(const char* value, size_t size) {
  399. connect_string_vector_.Add()->assign(reinterpret_cast<const char*>(value), size);
  400. // @@protoc_insertion_point(field_add_pointer:Communication_proto.Communication_parameter.connect_string_vector)
  401. }
  402. inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
  403. Communication_parameter::connect_string_vector() const {
  404. // @@protoc_insertion_point(field_list:Communication_proto.Communication_parameter.connect_string_vector)
  405. return connect_string_vector_;
  406. }
  407. inline ::google::protobuf::RepeatedPtrField< ::std::string>*
  408. Communication_parameter::mutable_connect_string_vector() {
  409. // @@protoc_insertion_point(field_mutable_list:Communication_proto.Communication_parameter.connect_string_vector)
  410. return &connect_string_vector_;
  411. }
  412. // -------------------------------------------------------------------
  413. // Communication_parameter_all
  414. // optional .Communication_proto.Communication_parameter communication_parameters = 1;
  415. inline bool Communication_parameter_all::has_communication_parameters() const {
  416. return (_has_bits_[0] & 0x00000001u) != 0;
  417. }
  418. inline void Communication_parameter_all::set_has_communication_parameters() {
  419. _has_bits_[0] |= 0x00000001u;
  420. }
  421. inline void Communication_parameter_all::clear_has_communication_parameters() {
  422. _has_bits_[0] &= ~0x00000001u;
  423. }
  424. inline void Communication_parameter_all::clear_communication_parameters() {
  425. if (communication_parameters_ != NULL) communication_parameters_->Clear();
  426. clear_has_communication_parameters();
  427. }
  428. inline const ::Communication_proto::Communication_parameter& Communication_parameter_all::communication_parameters() const {
  429. const ::Communication_proto::Communication_parameter* p = communication_parameters_;
  430. // @@protoc_insertion_point(field_get:Communication_proto.Communication_parameter_all.communication_parameters)
  431. return p != NULL ? *p : *reinterpret_cast<const ::Communication_proto::Communication_parameter*>(
  432. &::Communication_proto::_Communication_parameter_default_instance_);
  433. }
  434. inline ::Communication_proto::Communication_parameter* Communication_parameter_all::release_communication_parameters() {
  435. // @@protoc_insertion_point(field_release:Communication_proto.Communication_parameter_all.communication_parameters)
  436. clear_has_communication_parameters();
  437. ::Communication_proto::Communication_parameter* temp = communication_parameters_;
  438. communication_parameters_ = NULL;
  439. return temp;
  440. }
  441. inline ::Communication_proto::Communication_parameter* Communication_parameter_all::mutable_communication_parameters() {
  442. set_has_communication_parameters();
  443. if (communication_parameters_ == NULL) {
  444. communication_parameters_ = new ::Communication_proto::Communication_parameter;
  445. }
  446. // @@protoc_insertion_point(field_mutable:Communication_proto.Communication_parameter_all.communication_parameters)
  447. return communication_parameters_;
  448. }
  449. inline void Communication_parameter_all::set_allocated_communication_parameters(::Communication_proto::Communication_parameter* communication_parameters) {
  450. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  451. if (message_arena == NULL) {
  452. delete communication_parameters_;
  453. }
  454. if (communication_parameters) {
  455. ::google::protobuf::Arena* submessage_arena = NULL;
  456. if (message_arena != submessage_arena) {
  457. communication_parameters = ::google::protobuf::internal::GetOwnedMessage(
  458. message_arena, communication_parameters, submessage_arena);
  459. }
  460. set_has_communication_parameters();
  461. } else {
  462. clear_has_communication_parameters();
  463. }
  464. communication_parameters_ = communication_parameters;
  465. // @@protoc_insertion_point(field_set_allocated:Communication_proto.Communication_parameter_all.communication_parameters)
  466. }
  467. #ifdef __GNUC__
  468. #pragma GCC diagnostic pop
  469. #endif // __GNUC__
  470. // -------------------------------------------------------------------
  471. // @@protoc_insertion_point(namespace_scope)
  472. } // namespace Communication_proto
  473. // @@protoc_insertion_point(global_scope)
  474. #endif // PROTOBUF_communication_2eproto__INCLUDED