communication.pb.h 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548
  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // source: communication.proto
  3. #ifndef PROTOBUF_INCLUDED_communication_2eproto
  4. #define PROTOBUF_INCLUDED_communication_2eproto
  5. #include <string>
  6. #include <google/protobuf/stubs/common.h>
  7. #if GOOGLE_PROTOBUF_VERSION < 3006001
  8. #error This file was generated by a newer version of protoc which is
  9. #error incompatible with your Protocol Buffer headers. Please update
  10. #error your headers.
  11. #endif
  12. #if 3006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
  13. #error This file was generated by an older version of protoc which is
  14. #error incompatible with your Protocol Buffer headers. Please
  15. #error regenerate this file with a newer version of protoc.
  16. #endif
  17. #include <google/protobuf/io/coded_stream.h>
  18. #include <google/protobuf/arena.h>
  19. #include <google/protobuf/arenastring.h>
  20. #include <google/protobuf/generated_message_table_driven.h>
  21. #include <google/protobuf/generated_message_util.h>
  22. #include <google/protobuf/inlined_string_field.h>
  23. #include <google/protobuf/metadata.h>
  24. #include <google/protobuf/message.h>
  25. #include <google/protobuf/repeated_field.h> // IWYU pragma: export
  26. #include <google/protobuf/extension_set.h> // IWYU pragma: export
  27. #include <google/protobuf/unknown_field_set.h>
  28. // @@protoc_insertion_point(includes)
  29. #define PROTOBUF_INTERNAL_EXPORT_protobuf_communication_2eproto
  30. namespace protobuf_communication_2eproto {
  31. // Internal implementation detail -- do not use these members.
  32. struct TableStruct {
  33. static const ::google::protobuf::internal::ParseTableField entries[];
  34. static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
  35. static const ::google::protobuf::internal::ParseTable schema[2];
  36. static const ::google::protobuf::internal::FieldMetadata field_metadata[];
  37. static const ::google::protobuf::internal::SerializationTable serialization_table[];
  38. static const ::google::protobuf::uint32 offsets[];
  39. };
  40. void AddDescriptors();
  41. } // namespace protobuf_communication_2eproto
  42. namespace Communication_proto {
  43. class Communication_parameter;
  44. class Communication_parameterDefaultTypeInternal;
  45. extern Communication_parameterDefaultTypeInternal _Communication_parameter_default_instance_;
  46. class Communication_parameter_all;
  47. class Communication_parameter_allDefaultTypeInternal;
  48. extern Communication_parameter_allDefaultTypeInternal _Communication_parameter_all_default_instance_;
  49. } // namespace Communication_proto
  50. namespace google {
  51. namespace protobuf {
  52. template<> ::Communication_proto::Communication_parameter* Arena::CreateMaybeMessage<::Communication_proto::Communication_parameter>(Arena*);
  53. template<> ::Communication_proto::Communication_parameter_all* Arena::CreateMaybeMessage<::Communication_proto::Communication_parameter_all>(Arena*);
  54. } // namespace protobuf
  55. } // namespace google
  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 constexpr int 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 final {
  102. return CreateMaybeMessage<Communication_parameter>(NULL);
  103. }
  104. Communication_parameter* New(::google::protobuf::Arena* arena) const final {
  105. return CreateMaybeMessage<Communication_parameter>(arena);
  106. }
  107. void CopyFrom(const ::google::protobuf::Message& from) final;
  108. void MergeFrom(const ::google::protobuf::Message& from) final;
  109. void CopyFrom(const Communication_parameter& from);
  110. void MergeFrom(const Communication_parameter& from);
  111. void Clear() final;
  112. bool IsInitialized() const final;
  113. size_t ByteSizeLong() const final;
  114. bool MergePartialFromCodedStream(
  115. ::google::protobuf::io::CodedInputStream* input) final;
  116. void SerializeWithCachedSizes(
  117. ::google::protobuf::io::CodedOutputStream* output) const final;
  118. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  119. bool deterministic, ::google::protobuf::uint8* target) const final;
  120. int GetCachedSize() const final { return _cached_size_.Get(); }
  121. private:
  122. void SharedCtor();
  123. void SharedDtor();
  124. void SetCachedSize(int size) const final;
  125. void InternalSwap(Communication_parameter* other);
  126. private:
  127. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  128. return NULL;
  129. }
  130. inline void* MaybeArenaPtr() const {
  131. return NULL;
  132. }
  133. public:
  134. ::google::protobuf::Metadata GetMetadata() const final;
  135. // nested types ----------------------------------------------------
  136. // accessors -------------------------------------------------------
  137. // repeated string connect_string_vector = 2;
  138. int connect_string_vector_size() const;
  139. void clear_connect_string_vector();
  140. static const int kConnectStringVectorFieldNumber = 2;
  141. const ::std::string& connect_string_vector(int index) const;
  142. ::std::string* mutable_connect_string_vector(int index);
  143. void set_connect_string_vector(int index, const ::std::string& value);
  144. #if LANG_CXX11
  145. void set_connect_string_vector(int index, ::std::string&& value);
  146. #endif
  147. void set_connect_string_vector(int index, const char* value);
  148. void set_connect_string_vector(int index, const char* value, size_t size);
  149. ::std::string* add_connect_string_vector();
  150. void add_connect_string_vector(const ::std::string& value);
  151. #if LANG_CXX11
  152. void add_connect_string_vector(::std::string&& value);
  153. #endif
  154. void add_connect_string_vector(const char* value);
  155. void add_connect_string_vector(const char* value, size_t size);
  156. const ::google::protobuf::RepeatedPtrField< ::std::string>& connect_string_vector() const;
  157. ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_connect_string_vector();
  158. // optional string bind_string = 1;
  159. bool has_bind_string() const;
  160. void clear_bind_string();
  161. static const int kBindStringFieldNumber = 1;
  162. const ::std::string& bind_string() const;
  163. void set_bind_string(const ::std::string& value);
  164. #if LANG_CXX11
  165. void set_bind_string(::std::string&& value);
  166. #endif
  167. void set_bind_string(const char* value);
  168. void set_bind_string(const char* value, size_t size);
  169. ::std::string* mutable_bind_string();
  170. ::std::string* release_bind_string();
  171. void set_allocated_bind_string(::std::string* bind_string);
  172. // @@protoc_insertion_point(class_scope:Communication_proto.Communication_parameter)
  173. private:
  174. void set_has_bind_string();
  175. void clear_has_bind_string();
  176. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  177. ::google::protobuf::internal::HasBits<1> _has_bits_;
  178. mutable ::google::protobuf::internal::CachedSize _cached_size_;
  179. ::google::protobuf::RepeatedPtrField< ::std::string> connect_string_vector_;
  180. ::google::protobuf::internal::ArenaStringPtr bind_string_;
  181. friend struct ::protobuf_communication_2eproto::TableStruct;
  182. };
  183. // -------------------------------------------------------------------
  184. class Communication_parameter_all : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Communication_proto.Communication_parameter_all) */ {
  185. public:
  186. Communication_parameter_all();
  187. virtual ~Communication_parameter_all();
  188. Communication_parameter_all(const Communication_parameter_all& from);
  189. inline Communication_parameter_all& operator=(const Communication_parameter_all& from) {
  190. CopyFrom(from);
  191. return *this;
  192. }
  193. #if LANG_CXX11
  194. Communication_parameter_all(Communication_parameter_all&& from) noexcept
  195. : Communication_parameter_all() {
  196. *this = ::std::move(from);
  197. }
  198. inline Communication_parameter_all& operator=(Communication_parameter_all&& from) noexcept {
  199. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  200. if (this != &from) InternalSwap(&from);
  201. } else {
  202. CopyFrom(from);
  203. }
  204. return *this;
  205. }
  206. #endif
  207. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  208. return _internal_metadata_.unknown_fields();
  209. }
  210. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  211. return _internal_metadata_.mutable_unknown_fields();
  212. }
  213. static const ::google::protobuf::Descriptor* descriptor();
  214. static const Communication_parameter_all& default_instance();
  215. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  216. static inline const Communication_parameter_all* internal_default_instance() {
  217. return reinterpret_cast<const Communication_parameter_all*>(
  218. &_Communication_parameter_all_default_instance_);
  219. }
  220. static constexpr int kIndexInFileMessages =
  221. 1;
  222. void Swap(Communication_parameter_all* other);
  223. friend void swap(Communication_parameter_all& a, Communication_parameter_all& b) {
  224. a.Swap(&b);
  225. }
  226. // implements Message ----------------------------------------------
  227. inline Communication_parameter_all* New() const final {
  228. return CreateMaybeMessage<Communication_parameter_all>(NULL);
  229. }
  230. Communication_parameter_all* New(::google::protobuf::Arena* arena) const final {
  231. return CreateMaybeMessage<Communication_parameter_all>(arena);
  232. }
  233. void CopyFrom(const ::google::protobuf::Message& from) final;
  234. void MergeFrom(const ::google::protobuf::Message& from) final;
  235. void CopyFrom(const Communication_parameter_all& from);
  236. void MergeFrom(const Communication_parameter_all& from);
  237. void Clear() final;
  238. bool IsInitialized() const final;
  239. size_t ByteSizeLong() const final;
  240. bool MergePartialFromCodedStream(
  241. ::google::protobuf::io::CodedInputStream* input) final;
  242. void SerializeWithCachedSizes(
  243. ::google::protobuf::io::CodedOutputStream* output) const final;
  244. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  245. bool deterministic, ::google::protobuf::uint8* target) const final;
  246. int GetCachedSize() const final { return _cached_size_.Get(); }
  247. private:
  248. void SharedCtor();
  249. void SharedDtor();
  250. void SetCachedSize(int size) const final;
  251. void InternalSwap(Communication_parameter_all* other);
  252. private:
  253. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  254. return NULL;
  255. }
  256. inline void* MaybeArenaPtr() const {
  257. return NULL;
  258. }
  259. public:
  260. ::google::protobuf::Metadata GetMetadata() const final;
  261. // nested types ----------------------------------------------------
  262. // accessors -------------------------------------------------------
  263. // optional .Communication_proto.Communication_parameter communication_parameters = 1;
  264. bool has_communication_parameters() const;
  265. void clear_communication_parameters();
  266. static const int kCommunicationParametersFieldNumber = 1;
  267. private:
  268. const ::Communication_proto::Communication_parameter& _internal_communication_parameters() const;
  269. public:
  270. const ::Communication_proto::Communication_parameter& communication_parameters() const;
  271. ::Communication_proto::Communication_parameter* release_communication_parameters();
  272. ::Communication_proto::Communication_parameter* mutable_communication_parameters();
  273. void set_allocated_communication_parameters(::Communication_proto::Communication_parameter* communication_parameters);
  274. // @@protoc_insertion_point(class_scope:Communication_proto.Communication_parameter_all)
  275. private:
  276. void set_has_communication_parameters();
  277. void clear_has_communication_parameters();
  278. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  279. ::google::protobuf::internal::HasBits<1> _has_bits_;
  280. mutable ::google::protobuf::internal::CachedSize _cached_size_;
  281. ::Communication_proto::Communication_parameter* communication_parameters_;
  282. friend struct ::protobuf_communication_2eproto::TableStruct;
  283. };
  284. // ===================================================================
  285. // ===================================================================
  286. #ifdef __GNUC__
  287. #pragma GCC diagnostic push
  288. #pragma GCC diagnostic ignored "-Wstrict-aliasing"
  289. #endif // __GNUC__
  290. // Communication_parameter
  291. // optional string bind_string = 1;
  292. inline bool Communication_parameter::has_bind_string() const {
  293. return (_has_bits_[0] & 0x00000001u) != 0;
  294. }
  295. inline void Communication_parameter::set_has_bind_string() {
  296. _has_bits_[0] |= 0x00000001u;
  297. }
  298. inline void Communication_parameter::clear_has_bind_string() {
  299. _has_bits_[0] &= ~0x00000001u;
  300. }
  301. inline void Communication_parameter::clear_bind_string() {
  302. bind_string_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  303. clear_has_bind_string();
  304. }
  305. inline const ::std::string& Communication_parameter::bind_string() const {
  306. // @@protoc_insertion_point(field_get:Communication_proto.Communication_parameter.bind_string)
  307. return bind_string_.GetNoArena();
  308. }
  309. inline void Communication_parameter::set_bind_string(const ::std::string& value) {
  310. set_has_bind_string();
  311. bind_string_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  312. // @@protoc_insertion_point(field_set:Communication_proto.Communication_parameter.bind_string)
  313. }
  314. #if LANG_CXX11
  315. inline void Communication_parameter::set_bind_string(::std::string&& value) {
  316. set_has_bind_string();
  317. bind_string_.SetNoArena(
  318. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  319. // @@protoc_insertion_point(field_set_rvalue:Communication_proto.Communication_parameter.bind_string)
  320. }
  321. #endif
  322. inline void Communication_parameter::set_bind_string(const char* value) {
  323. GOOGLE_DCHECK(value != NULL);
  324. set_has_bind_string();
  325. bind_string_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  326. // @@protoc_insertion_point(field_set_char:Communication_proto.Communication_parameter.bind_string)
  327. }
  328. inline void Communication_parameter::set_bind_string(const char* value, size_t size) {
  329. set_has_bind_string();
  330. bind_string_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  331. ::std::string(reinterpret_cast<const char*>(value), size));
  332. // @@protoc_insertion_point(field_set_pointer:Communication_proto.Communication_parameter.bind_string)
  333. }
  334. inline ::std::string* Communication_parameter::mutable_bind_string() {
  335. set_has_bind_string();
  336. // @@protoc_insertion_point(field_mutable:Communication_proto.Communication_parameter.bind_string)
  337. return bind_string_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  338. }
  339. inline ::std::string* Communication_parameter::release_bind_string() {
  340. // @@protoc_insertion_point(field_release:Communication_proto.Communication_parameter.bind_string)
  341. if (!has_bind_string()) {
  342. return NULL;
  343. }
  344. clear_has_bind_string();
  345. return bind_string_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  346. }
  347. inline void Communication_parameter::set_allocated_bind_string(::std::string* bind_string) {
  348. if (bind_string != NULL) {
  349. set_has_bind_string();
  350. } else {
  351. clear_has_bind_string();
  352. }
  353. bind_string_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), bind_string);
  354. // @@protoc_insertion_point(field_set_allocated:Communication_proto.Communication_parameter.bind_string)
  355. }
  356. // repeated string connect_string_vector = 2;
  357. inline int Communication_parameter::connect_string_vector_size() const {
  358. return connect_string_vector_.size();
  359. }
  360. inline void Communication_parameter::clear_connect_string_vector() {
  361. connect_string_vector_.Clear();
  362. }
  363. inline const ::std::string& Communication_parameter::connect_string_vector(int index) const {
  364. // @@protoc_insertion_point(field_get:Communication_proto.Communication_parameter.connect_string_vector)
  365. return connect_string_vector_.Get(index);
  366. }
  367. inline ::std::string* Communication_parameter::mutable_connect_string_vector(int index) {
  368. // @@protoc_insertion_point(field_mutable:Communication_proto.Communication_parameter.connect_string_vector)
  369. return connect_string_vector_.Mutable(index);
  370. }
  371. inline void Communication_parameter::set_connect_string_vector(int index, const ::std::string& value) {
  372. // @@protoc_insertion_point(field_set:Communication_proto.Communication_parameter.connect_string_vector)
  373. connect_string_vector_.Mutable(index)->assign(value);
  374. }
  375. #if LANG_CXX11
  376. inline void Communication_parameter::set_connect_string_vector(int index, ::std::string&& value) {
  377. // @@protoc_insertion_point(field_set:Communication_proto.Communication_parameter.connect_string_vector)
  378. connect_string_vector_.Mutable(index)->assign(std::move(value));
  379. }
  380. #endif
  381. inline void Communication_parameter::set_connect_string_vector(int index, const char* value) {
  382. GOOGLE_DCHECK(value != NULL);
  383. connect_string_vector_.Mutable(index)->assign(value);
  384. // @@protoc_insertion_point(field_set_char:Communication_proto.Communication_parameter.connect_string_vector)
  385. }
  386. inline void Communication_parameter::set_connect_string_vector(int index, const char* value, size_t size) {
  387. connect_string_vector_.Mutable(index)->assign(
  388. reinterpret_cast<const char*>(value), size);
  389. // @@protoc_insertion_point(field_set_pointer:Communication_proto.Communication_parameter.connect_string_vector)
  390. }
  391. inline ::std::string* Communication_parameter::add_connect_string_vector() {
  392. // @@protoc_insertion_point(field_add_mutable:Communication_proto.Communication_parameter.connect_string_vector)
  393. return connect_string_vector_.Add();
  394. }
  395. inline void Communication_parameter::add_connect_string_vector(const ::std::string& value) {
  396. connect_string_vector_.Add()->assign(value);
  397. // @@protoc_insertion_point(field_add:Communication_proto.Communication_parameter.connect_string_vector)
  398. }
  399. #if LANG_CXX11
  400. inline void Communication_parameter::add_connect_string_vector(::std::string&& value) {
  401. connect_string_vector_.Add(std::move(value));
  402. // @@protoc_insertion_point(field_add:Communication_proto.Communication_parameter.connect_string_vector)
  403. }
  404. #endif
  405. inline void Communication_parameter::add_connect_string_vector(const char* value) {
  406. GOOGLE_DCHECK(value != NULL);
  407. connect_string_vector_.Add()->assign(value);
  408. // @@protoc_insertion_point(field_add_char:Communication_proto.Communication_parameter.connect_string_vector)
  409. }
  410. inline void Communication_parameter::add_connect_string_vector(const char* value, size_t size) {
  411. connect_string_vector_.Add()->assign(reinterpret_cast<const char*>(value), size);
  412. // @@protoc_insertion_point(field_add_pointer:Communication_proto.Communication_parameter.connect_string_vector)
  413. }
  414. inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
  415. Communication_parameter::connect_string_vector() const {
  416. // @@protoc_insertion_point(field_list:Communication_proto.Communication_parameter.connect_string_vector)
  417. return connect_string_vector_;
  418. }
  419. inline ::google::protobuf::RepeatedPtrField< ::std::string>*
  420. Communication_parameter::mutable_connect_string_vector() {
  421. // @@protoc_insertion_point(field_mutable_list:Communication_proto.Communication_parameter.connect_string_vector)
  422. return &connect_string_vector_;
  423. }
  424. // -------------------------------------------------------------------
  425. // Communication_parameter_all
  426. // optional .Communication_proto.Communication_parameter communication_parameters = 1;
  427. inline bool Communication_parameter_all::has_communication_parameters() const {
  428. return (_has_bits_[0] & 0x00000001u) != 0;
  429. }
  430. inline void Communication_parameter_all::set_has_communication_parameters() {
  431. _has_bits_[0] |= 0x00000001u;
  432. }
  433. inline void Communication_parameter_all::clear_has_communication_parameters() {
  434. _has_bits_[0] &= ~0x00000001u;
  435. }
  436. inline void Communication_parameter_all::clear_communication_parameters() {
  437. if (communication_parameters_ != NULL) communication_parameters_->Clear();
  438. clear_has_communication_parameters();
  439. }
  440. inline const ::Communication_proto::Communication_parameter& Communication_parameter_all::_internal_communication_parameters() const {
  441. return *communication_parameters_;
  442. }
  443. inline const ::Communication_proto::Communication_parameter& Communication_parameter_all::communication_parameters() const {
  444. const ::Communication_proto::Communication_parameter* p = communication_parameters_;
  445. // @@protoc_insertion_point(field_get:Communication_proto.Communication_parameter_all.communication_parameters)
  446. return p != NULL ? *p : *reinterpret_cast<const ::Communication_proto::Communication_parameter*>(
  447. &::Communication_proto::_Communication_parameter_default_instance_);
  448. }
  449. inline ::Communication_proto::Communication_parameter* Communication_parameter_all::release_communication_parameters() {
  450. // @@protoc_insertion_point(field_release:Communication_proto.Communication_parameter_all.communication_parameters)
  451. clear_has_communication_parameters();
  452. ::Communication_proto::Communication_parameter* temp = communication_parameters_;
  453. communication_parameters_ = NULL;
  454. return temp;
  455. }
  456. inline ::Communication_proto::Communication_parameter* Communication_parameter_all::mutable_communication_parameters() {
  457. set_has_communication_parameters();
  458. if (communication_parameters_ == NULL) {
  459. auto* p = CreateMaybeMessage<::Communication_proto::Communication_parameter>(GetArenaNoVirtual());
  460. communication_parameters_ = p;
  461. }
  462. // @@protoc_insertion_point(field_mutable:Communication_proto.Communication_parameter_all.communication_parameters)
  463. return communication_parameters_;
  464. }
  465. inline void Communication_parameter_all::set_allocated_communication_parameters(::Communication_proto::Communication_parameter* communication_parameters) {
  466. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  467. if (message_arena == NULL) {
  468. delete communication_parameters_;
  469. }
  470. if (communication_parameters) {
  471. ::google::protobuf::Arena* submessage_arena = NULL;
  472. if (message_arena != submessage_arena) {
  473. communication_parameters = ::google::protobuf::internal::GetOwnedMessage(
  474. message_arena, communication_parameters, submessage_arena);
  475. }
  476. set_has_communication_parameters();
  477. } else {
  478. clear_has_communication_parameters();
  479. }
  480. communication_parameters_ = communication_parameters;
  481. // @@protoc_insertion_point(field_set_allocated:Communication_proto.Communication_parameter_all.communication_parameters)
  482. }
  483. #ifdef __GNUC__
  484. #pragma GCC diagnostic pop
  485. #endif // __GNUC__
  486. // -------------------------------------------------------------------
  487. // @@protoc_insertion_point(namespace_scope)
  488. } // namespace Communication_proto
  489. // @@protoc_insertion_point(global_scope)
  490. #endif // PROTOBUF_INCLUDED_communication_2eproto