rabbitmq.pb.h 69 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620
  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // source: rabbitmq.proto
  3. #ifndef PROTOBUF_rabbitmq_2eproto__INCLUDED
  4. #define PROTOBUF_rabbitmq_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_rabbitmq_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[3];
  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 InitDefaultsRabbitmq_channel_queue_consumeImpl();
  40. void InitDefaultsRabbitmq_channel_queue_consume();
  41. void InitDefaultsRabbitmq_parameterImpl();
  42. void InitDefaultsRabbitmq_parameter();
  43. void InitDefaultsRabbitmq_parameter_allImpl();
  44. void InitDefaultsRabbitmq_parameter_all();
  45. inline void InitDefaults() {
  46. InitDefaultsRabbitmq_channel_queue_consume();
  47. InitDefaultsRabbitmq_parameter();
  48. InitDefaultsRabbitmq_parameter_all();
  49. }
  50. } // namespace protobuf_rabbitmq_2eproto
  51. namespace Rabbitmq_proto {
  52. class Rabbitmq_channel_queue_consume;
  53. class Rabbitmq_channel_queue_consumeDefaultTypeInternal;
  54. extern Rabbitmq_channel_queue_consumeDefaultTypeInternal _Rabbitmq_channel_queue_consume_default_instance_;
  55. class Rabbitmq_parameter;
  56. class Rabbitmq_parameterDefaultTypeInternal;
  57. extern Rabbitmq_parameterDefaultTypeInternal _Rabbitmq_parameter_default_instance_;
  58. class Rabbitmq_parameter_all;
  59. class Rabbitmq_parameter_allDefaultTypeInternal;
  60. extern Rabbitmq_parameter_allDefaultTypeInternal _Rabbitmq_parameter_all_default_instance_;
  61. } // namespace Rabbitmq_proto
  62. namespace Rabbitmq_proto {
  63. // ===================================================================
  64. class Rabbitmq_channel_queue_consume : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Rabbitmq_proto.Rabbitmq_channel_queue_consume) */ {
  65. public:
  66. Rabbitmq_channel_queue_consume();
  67. virtual ~Rabbitmq_channel_queue_consume();
  68. Rabbitmq_channel_queue_consume(const Rabbitmq_channel_queue_consume& from);
  69. inline Rabbitmq_channel_queue_consume& operator=(const Rabbitmq_channel_queue_consume& from) {
  70. CopyFrom(from);
  71. return *this;
  72. }
  73. #if LANG_CXX11
  74. Rabbitmq_channel_queue_consume(Rabbitmq_channel_queue_consume&& from) noexcept
  75. : Rabbitmq_channel_queue_consume() {
  76. *this = ::std::move(from);
  77. }
  78. inline Rabbitmq_channel_queue_consume& operator=(Rabbitmq_channel_queue_consume&& from) noexcept {
  79. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  80. if (this != &from) InternalSwap(&from);
  81. } else {
  82. CopyFrom(from);
  83. }
  84. return *this;
  85. }
  86. #endif
  87. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  88. return _internal_metadata_.unknown_fields();
  89. }
  90. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  91. return _internal_metadata_.mutable_unknown_fields();
  92. }
  93. static const ::google::protobuf::Descriptor* descriptor();
  94. static const Rabbitmq_channel_queue_consume& default_instance();
  95. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  96. static inline const Rabbitmq_channel_queue_consume* internal_default_instance() {
  97. return reinterpret_cast<const Rabbitmq_channel_queue_consume*>(
  98. &_Rabbitmq_channel_queue_consume_default_instance_);
  99. }
  100. static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
  101. 0;
  102. void Swap(Rabbitmq_channel_queue_consume* other);
  103. friend void swap(Rabbitmq_channel_queue_consume& a, Rabbitmq_channel_queue_consume& b) {
  104. a.Swap(&b);
  105. }
  106. // implements Message ----------------------------------------------
  107. inline Rabbitmq_channel_queue_consume* New() const PROTOBUF_FINAL { return New(NULL); }
  108. Rabbitmq_channel_queue_consume* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
  109. void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  110. void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  111. void CopyFrom(const Rabbitmq_channel_queue_consume& from);
  112. void MergeFrom(const Rabbitmq_channel_queue_consume& from);
  113. void Clear() PROTOBUF_FINAL;
  114. bool IsInitialized() const PROTOBUF_FINAL;
  115. size_t ByteSizeLong() const PROTOBUF_FINAL;
  116. bool MergePartialFromCodedStream(
  117. ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
  118. void SerializeWithCachedSizes(
  119. ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
  120. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  121. bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
  122. int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
  123. private:
  124. void SharedCtor();
  125. void SharedDtor();
  126. void SetCachedSize(int size) const PROTOBUF_FINAL;
  127. void InternalSwap(Rabbitmq_channel_queue_consume* other);
  128. private:
  129. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  130. return NULL;
  131. }
  132. inline void* MaybeArenaPtr() const {
  133. return NULL;
  134. }
  135. public:
  136. ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
  137. // nested types ----------------------------------------------------
  138. // accessors -------------------------------------------------------
  139. // optional string exchange_name = 2;
  140. bool has_exchange_name() const;
  141. void clear_exchange_name();
  142. static const int kExchangeNameFieldNumber = 2;
  143. const ::std::string& exchange_name() const;
  144. void set_exchange_name(const ::std::string& value);
  145. #if LANG_CXX11
  146. void set_exchange_name(::std::string&& value);
  147. #endif
  148. void set_exchange_name(const char* value);
  149. void set_exchange_name(const char* value, size_t size);
  150. ::std::string* mutable_exchange_name();
  151. ::std::string* release_exchange_name();
  152. void set_allocated_exchange_name(::std::string* exchange_name);
  153. // optional string routing_key = 3;
  154. bool has_routing_key() const;
  155. void clear_routing_key();
  156. static const int kRoutingKeyFieldNumber = 3;
  157. const ::std::string& routing_key() const;
  158. void set_routing_key(const ::std::string& value);
  159. #if LANG_CXX11
  160. void set_routing_key(::std::string&& value);
  161. #endif
  162. void set_routing_key(const char* value);
  163. void set_routing_key(const char* value, size_t size);
  164. ::std::string* mutable_routing_key();
  165. ::std::string* release_routing_key();
  166. void set_allocated_routing_key(::std::string* routing_key);
  167. // optional string binding_key = 5;
  168. bool has_binding_key() const;
  169. void clear_binding_key();
  170. static const int kBindingKeyFieldNumber = 5;
  171. const ::std::string& binding_key() const;
  172. void set_binding_key(const ::std::string& value);
  173. #if LANG_CXX11
  174. void set_binding_key(::std::string&& value);
  175. #endif
  176. void set_binding_key(const char* value);
  177. void set_binding_key(const char* value, size_t size);
  178. ::std::string* mutable_binding_key();
  179. ::std::string* release_binding_key();
  180. void set_allocated_binding_key(::std::string* binding_key);
  181. // optional string queue_name = 6;
  182. bool has_queue_name() const;
  183. void clear_queue_name();
  184. static const int kQueueNameFieldNumber = 6;
  185. const ::std::string& queue_name() const;
  186. void set_queue_name(const ::std::string& value);
  187. #if LANG_CXX11
  188. void set_queue_name(::std::string&& value);
  189. #endif
  190. void set_queue_name(const char* value);
  191. void set_queue_name(const char* value, size_t size);
  192. ::std::string* mutable_queue_name();
  193. ::std::string* release_queue_name();
  194. void set_allocated_queue_name(::std::string* queue_name);
  195. // optional string consume_name = 12;
  196. bool has_consume_name() const;
  197. void clear_consume_name();
  198. static const int kConsumeNameFieldNumber = 12;
  199. const ::std::string& consume_name() const;
  200. void set_consume_name(const ::std::string& value);
  201. #if LANG_CXX11
  202. void set_consume_name(::std::string&& value);
  203. #endif
  204. void set_consume_name(const char* value);
  205. void set_consume_name(const char* value, size_t size);
  206. ::std::string* mutable_consume_name();
  207. ::std::string* release_consume_name();
  208. void set_allocated_consume_name(::std::string* consume_name);
  209. // optional int32 channel = 1;
  210. bool has_channel() const;
  211. void clear_channel();
  212. static const int kChannelFieldNumber = 1;
  213. ::google::protobuf::int32 channel() const;
  214. void set_channel(::google::protobuf::int32 value);
  215. // optional int32 timeout_ms = 4;
  216. bool has_timeout_ms() const;
  217. void clear_timeout_ms();
  218. static const int kTimeoutMsFieldNumber = 4;
  219. ::google::protobuf::int32 timeout_ms() const;
  220. void set_timeout_ms(::google::protobuf::int32 value);
  221. // optional int32 queue_passive = 7 [default = 0];
  222. bool has_queue_passive() const;
  223. void clear_queue_passive();
  224. static const int kQueuePassiveFieldNumber = 7;
  225. ::google::protobuf::int32 queue_passive() const;
  226. void set_queue_passive(::google::protobuf::int32 value);
  227. // optional int32 queue_durable = 8;
  228. bool has_queue_durable() const;
  229. void clear_queue_durable();
  230. static const int kQueueDurableFieldNumber = 8;
  231. ::google::protobuf::int32 queue_durable() const;
  232. void set_queue_durable(::google::protobuf::int32 value);
  233. // optional int32 queue_exclusive = 9 [default = 0];
  234. bool has_queue_exclusive() const;
  235. void clear_queue_exclusive();
  236. static const int kQueueExclusiveFieldNumber = 9;
  237. ::google::protobuf::int32 queue_exclusive() const;
  238. void set_queue_exclusive(::google::protobuf::int32 value);
  239. // optional int32 queue_auto_delete = 10 [default = 0];
  240. bool has_queue_auto_delete() const;
  241. void clear_queue_auto_delete();
  242. static const int kQueueAutoDeleteFieldNumber = 10;
  243. ::google::protobuf::int32 queue_auto_delete() const;
  244. void set_queue_auto_delete(::google::protobuf::int32 value);
  245. // optional int32 queue_meassage_ttl = 11 [default = 0];
  246. bool has_queue_meassage_ttl() const;
  247. void clear_queue_meassage_ttl();
  248. static const int kQueueMeassageTtlFieldNumber = 11;
  249. ::google::protobuf::int32 queue_meassage_ttl() const;
  250. void set_queue_meassage_ttl(::google::protobuf::int32 value);
  251. // optional int32 consume_no_local = 13 [default = 0];
  252. bool has_consume_no_local() const;
  253. void clear_consume_no_local();
  254. static const int kConsumeNoLocalFieldNumber = 13;
  255. ::google::protobuf::int32 consume_no_local() const;
  256. void set_consume_no_local(::google::protobuf::int32 value);
  257. // optional int32 consume_no_ack = 14 [default = 0];
  258. bool has_consume_no_ack() const;
  259. void clear_consume_no_ack();
  260. static const int kConsumeNoAckFieldNumber = 14;
  261. ::google::protobuf::int32 consume_no_ack() const;
  262. void set_consume_no_ack(::google::protobuf::int32 value);
  263. // optional int32 consume_exclusive = 15;
  264. bool has_consume_exclusive() const;
  265. void clear_consume_exclusive();
  266. static const int kConsumeExclusiveFieldNumber = 15;
  267. ::google::protobuf::int32 consume_exclusive() const;
  268. void set_consume_exclusive(::google::protobuf::int32 value);
  269. // @@protoc_insertion_point(class_scope:Rabbitmq_proto.Rabbitmq_channel_queue_consume)
  270. private:
  271. void set_has_channel();
  272. void clear_has_channel();
  273. void set_has_exchange_name();
  274. void clear_has_exchange_name();
  275. void set_has_routing_key();
  276. void clear_has_routing_key();
  277. void set_has_timeout_ms();
  278. void clear_has_timeout_ms();
  279. void set_has_binding_key();
  280. void clear_has_binding_key();
  281. void set_has_queue_name();
  282. void clear_has_queue_name();
  283. void set_has_queue_passive();
  284. void clear_has_queue_passive();
  285. void set_has_queue_durable();
  286. void clear_has_queue_durable();
  287. void set_has_queue_exclusive();
  288. void clear_has_queue_exclusive();
  289. void set_has_queue_auto_delete();
  290. void clear_has_queue_auto_delete();
  291. void set_has_queue_meassage_ttl();
  292. void clear_has_queue_meassage_ttl();
  293. void set_has_consume_name();
  294. void clear_has_consume_name();
  295. void set_has_consume_no_local();
  296. void clear_has_consume_no_local();
  297. void set_has_consume_no_ack();
  298. void clear_has_consume_no_ack();
  299. void set_has_consume_exclusive();
  300. void clear_has_consume_exclusive();
  301. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  302. ::google::protobuf::internal::HasBits<1> _has_bits_;
  303. mutable int _cached_size_;
  304. ::google::protobuf::internal::ArenaStringPtr exchange_name_;
  305. ::google::protobuf::internal::ArenaStringPtr routing_key_;
  306. ::google::protobuf::internal::ArenaStringPtr binding_key_;
  307. ::google::protobuf::internal::ArenaStringPtr queue_name_;
  308. ::google::protobuf::internal::ArenaStringPtr consume_name_;
  309. ::google::protobuf::int32 channel_;
  310. ::google::protobuf::int32 timeout_ms_;
  311. ::google::protobuf::int32 queue_passive_;
  312. ::google::protobuf::int32 queue_durable_;
  313. ::google::protobuf::int32 queue_exclusive_;
  314. ::google::protobuf::int32 queue_auto_delete_;
  315. ::google::protobuf::int32 queue_meassage_ttl_;
  316. ::google::protobuf::int32 consume_no_local_;
  317. ::google::protobuf::int32 consume_no_ack_;
  318. ::google::protobuf::int32 consume_exclusive_;
  319. friend struct ::protobuf_rabbitmq_2eproto::TableStruct;
  320. friend void ::protobuf_rabbitmq_2eproto::InitDefaultsRabbitmq_channel_queue_consumeImpl();
  321. };
  322. // -------------------------------------------------------------------
  323. class Rabbitmq_parameter : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Rabbitmq_proto.Rabbitmq_parameter) */ {
  324. public:
  325. Rabbitmq_parameter();
  326. virtual ~Rabbitmq_parameter();
  327. Rabbitmq_parameter(const Rabbitmq_parameter& from);
  328. inline Rabbitmq_parameter& operator=(const Rabbitmq_parameter& from) {
  329. CopyFrom(from);
  330. return *this;
  331. }
  332. #if LANG_CXX11
  333. Rabbitmq_parameter(Rabbitmq_parameter&& from) noexcept
  334. : Rabbitmq_parameter() {
  335. *this = ::std::move(from);
  336. }
  337. inline Rabbitmq_parameter& operator=(Rabbitmq_parameter&& from) noexcept {
  338. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  339. if (this != &from) InternalSwap(&from);
  340. } else {
  341. CopyFrom(from);
  342. }
  343. return *this;
  344. }
  345. #endif
  346. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  347. return _internal_metadata_.unknown_fields();
  348. }
  349. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  350. return _internal_metadata_.mutable_unknown_fields();
  351. }
  352. static const ::google::protobuf::Descriptor* descriptor();
  353. static const Rabbitmq_parameter& default_instance();
  354. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  355. static inline const Rabbitmq_parameter* internal_default_instance() {
  356. return reinterpret_cast<const Rabbitmq_parameter*>(
  357. &_Rabbitmq_parameter_default_instance_);
  358. }
  359. static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
  360. 1;
  361. void Swap(Rabbitmq_parameter* other);
  362. friend void swap(Rabbitmq_parameter& a, Rabbitmq_parameter& b) {
  363. a.Swap(&b);
  364. }
  365. // implements Message ----------------------------------------------
  366. inline Rabbitmq_parameter* New() const PROTOBUF_FINAL { return New(NULL); }
  367. Rabbitmq_parameter* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
  368. void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  369. void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  370. void CopyFrom(const Rabbitmq_parameter& from);
  371. void MergeFrom(const Rabbitmq_parameter& from);
  372. void Clear() PROTOBUF_FINAL;
  373. bool IsInitialized() const PROTOBUF_FINAL;
  374. size_t ByteSizeLong() const PROTOBUF_FINAL;
  375. bool MergePartialFromCodedStream(
  376. ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
  377. void SerializeWithCachedSizes(
  378. ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
  379. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  380. bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
  381. int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
  382. private:
  383. void SharedCtor();
  384. void SharedDtor();
  385. void SetCachedSize(int size) const PROTOBUF_FINAL;
  386. void InternalSwap(Rabbitmq_parameter* other);
  387. private:
  388. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  389. return NULL;
  390. }
  391. inline void* MaybeArenaPtr() const {
  392. return NULL;
  393. }
  394. public:
  395. ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
  396. // nested types ----------------------------------------------------
  397. // accessors -------------------------------------------------------
  398. // repeated .Rabbitmq_proto.Rabbitmq_channel_queue_consume rabbitmq_reciever_vector = 5;
  399. int rabbitmq_reciever_vector_size() const;
  400. void clear_rabbitmq_reciever_vector();
  401. static const int kRabbitmqRecieverVectorFieldNumber = 5;
  402. const ::Rabbitmq_proto::Rabbitmq_channel_queue_consume& rabbitmq_reciever_vector(int index) const;
  403. ::Rabbitmq_proto::Rabbitmq_channel_queue_consume* mutable_rabbitmq_reciever_vector(int index);
  404. ::Rabbitmq_proto::Rabbitmq_channel_queue_consume* add_rabbitmq_reciever_vector();
  405. ::google::protobuf::RepeatedPtrField< ::Rabbitmq_proto::Rabbitmq_channel_queue_consume >*
  406. mutable_rabbitmq_reciever_vector();
  407. const ::google::protobuf::RepeatedPtrField< ::Rabbitmq_proto::Rabbitmq_channel_queue_consume >&
  408. rabbitmq_reciever_vector() const;
  409. // repeated .Rabbitmq_proto.Rabbitmq_channel_queue_consume rabbitmq_sender_request_vector = 6;
  410. int rabbitmq_sender_request_vector_size() const;
  411. void clear_rabbitmq_sender_request_vector();
  412. static const int kRabbitmqSenderRequestVectorFieldNumber = 6;
  413. const ::Rabbitmq_proto::Rabbitmq_channel_queue_consume& rabbitmq_sender_request_vector(int index) const;
  414. ::Rabbitmq_proto::Rabbitmq_channel_queue_consume* mutable_rabbitmq_sender_request_vector(int index);
  415. ::Rabbitmq_proto::Rabbitmq_channel_queue_consume* add_rabbitmq_sender_request_vector();
  416. ::google::protobuf::RepeatedPtrField< ::Rabbitmq_proto::Rabbitmq_channel_queue_consume >*
  417. mutable_rabbitmq_sender_request_vector();
  418. const ::google::protobuf::RepeatedPtrField< ::Rabbitmq_proto::Rabbitmq_channel_queue_consume >&
  419. rabbitmq_sender_request_vector() const;
  420. // repeated .Rabbitmq_proto.Rabbitmq_channel_queue_consume rabbitmq_sender_status_vector = 7;
  421. int rabbitmq_sender_status_vector_size() const;
  422. void clear_rabbitmq_sender_status_vector();
  423. static const int kRabbitmqSenderStatusVectorFieldNumber = 7;
  424. const ::Rabbitmq_proto::Rabbitmq_channel_queue_consume& rabbitmq_sender_status_vector(int index) const;
  425. ::Rabbitmq_proto::Rabbitmq_channel_queue_consume* mutable_rabbitmq_sender_status_vector(int index);
  426. ::Rabbitmq_proto::Rabbitmq_channel_queue_consume* add_rabbitmq_sender_status_vector();
  427. ::google::protobuf::RepeatedPtrField< ::Rabbitmq_proto::Rabbitmq_channel_queue_consume >*
  428. mutable_rabbitmq_sender_status_vector();
  429. const ::google::protobuf::RepeatedPtrField< ::Rabbitmq_proto::Rabbitmq_channel_queue_consume >&
  430. rabbitmq_sender_status_vector() const;
  431. // optional string ip = 1;
  432. bool has_ip() const;
  433. void clear_ip();
  434. static const int kIpFieldNumber = 1;
  435. const ::std::string& ip() const;
  436. void set_ip(const ::std::string& value);
  437. #if LANG_CXX11
  438. void set_ip(::std::string&& value);
  439. #endif
  440. void set_ip(const char* value);
  441. void set_ip(const char* value, size_t size);
  442. ::std::string* mutable_ip();
  443. ::std::string* release_ip();
  444. void set_allocated_ip(::std::string* ip);
  445. // optional string user = 3;
  446. bool has_user() const;
  447. void clear_user();
  448. static const int kUserFieldNumber = 3;
  449. const ::std::string& user() const;
  450. void set_user(const ::std::string& value);
  451. #if LANG_CXX11
  452. void set_user(::std::string&& value);
  453. #endif
  454. void set_user(const char* value);
  455. void set_user(const char* value, size_t size);
  456. ::std::string* mutable_user();
  457. ::std::string* release_user();
  458. void set_allocated_user(::std::string* user);
  459. // optional string password = 4;
  460. bool has_password() const;
  461. void clear_password();
  462. static const int kPasswordFieldNumber = 4;
  463. const ::std::string& password() const;
  464. void set_password(const ::std::string& value);
  465. #if LANG_CXX11
  466. void set_password(::std::string&& value);
  467. #endif
  468. void set_password(const char* value);
  469. void set_password(const char* value, size_t size);
  470. ::std::string* mutable_password();
  471. ::std::string* release_password();
  472. void set_allocated_password(::std::string* password);
  473. // optional int32 port = 2;
  474. bool has_port() const;
  475. void clear_port();
  476. static const int kPortFieldNumber = 2;
  477. ::google::protobuf::int32 port() const;
  478. void set_port(::google::protobuf::int32 value);
  479. // @@protoc_insertion_point(class_scope:Rabbitmq_proto.Rabbitmq_parameter)
  480. private:
  481. void set_has_ip();
  482. void clear_has_ip();
  483. void set_has_port();
  484. void clear_has_port();
  485. void set_has_user();
  486. void clear_has_user();
  487. void set_has_password();
  488. void clear_has_password();
  489. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  490. ::google::protobuf::internal::HasBits<1> _has_bits_;
  491. mutable int _cached_size_;
  492. ::google::protobuf::RepeatedPtrField< ::Rabbitmq_proto::Rabbitmq_channel_queue_consume > rabbitmq_reciever_vector_;
  493. ::google::protobuf::RepeatedPtrField< ::Rabbitmq_proto::Rabbitmq_channel_queue_consume > rabbitmq_sender_request_vector_;
  494. ::google::protobuf::RepeatedPtrField< ::Rabbitmq_proto::Rabbitmq_channel_queue_consume > rabbitmq_sender_status_vector_;
  495. ::google::protobuf::internal::ArenaStringPtr ip_;
  496. ::google::protobuf::internal::ArenaStringPtr user_;
  497. ::google::protobuf::internal::ArenaStringPtr password_;
  498. ::google::protobuf::int32 port_;
  499. friend struct ::protobuf_rabbitmq_2eproto::TableStruct;
  500. friend void ::protobuf_rabbitmq_2eproto::InitDefaultsRabbitmq_parameterImpl();
  501. };
  502. // -------------------------------------------------------------------
  503. class Rabbitmq_parameter_all : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Rabbitmq_proto.Rabbitmq_parameter_all) */ {
  504. public:
  505. Rabbitmq_parameter_all();
  506. virtual ~Rabbitmq_parameter_all();
  507. Rabbitmq_parameter_all(const Rabbitmq_parameter_all& from);
  508. inline Rabbitmq_parameter_all& operator=(const Rabbitmq_parameter_all& from) {
  509. CopyFrom(from);
  510. return *this;
  511. }
  512. #if LANG_CXX11
  513. Rabbitmq_parameter_all(Rabbitmq_parameter_all&& from) noexcept
  514. : Rabbitmq_parameter_all() {
  515. *this = ::std::move(from);
  516. }
  517. inline Rabbitmq_parameter_all& operator=(Rabbitmq_parameter_all&& from) noexcept {
  518. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  519. if (this != &from) InternalSwap(&from);
  520. } else {
  521. CopyFrom(from);
  522. }
  523. return *this;
  524. }
  525. #endif
  526. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  527. return _internal_metadata_.unknown_fields();
  528. }
  529. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  530. return _internal_metadata_.mutable_unknown_fields();
  531. }
  532. static const ::google::protobuf::Descriptor* descriptor();
  533. static const Rabbitmq_parameter_all& default_instance();
  534. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  535. static inline const Rabbitmq_parameter_all* internal_default_instance() {
  536. return reinterpret_cast<const Rabbitmq_parameter_all*>(
  537. &_Rabbitmq_parameter_all_default_instance_);
  538. }
  539. static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
  540. 2;
  541. void Swap(Rabbitmq_parameter_all* other);
  542. friend void swap(Rabbitmq_parameter_all& a, Rabbitmq_parameter_all& b) {
  543. a.Swap(&b);
  544. }
  545. // implements Message ----------------------------------------------
  546. inline Rabbitmq_parameter_all* New() const PROTOBUF_FINAL { return New(NULL); }
  547. Rabbitmq_parameter_all* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
  548. void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  549. void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  550. void CopyFrom(const Rabbitmq_parameter_all& from);
  551. void MergeFrom(const Rabbitmq_parameter_all& from);
  552. void Clear() PROTOBUF_FINAL;
  553. bool IsInitialized() const PROTOBUF_FINAL;
  554. size_t ByteSizeLong() const PROTOBUF_FINAL;
  555. bool MergePartialFromCodedStream(
  556. ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
  557. void SerializeWithCachedSizes(
  558. ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
  559. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  560. bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
  561. int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
  562. private:
  563. void SharedCtor();
  564. void SharedDtor();
  565. void SetCachedSize(int size) const PROTOBUF_FINAL;
  566. void InternalSwap(Rabbitmq_parameter_all* other);
  567. private:
  568. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  569. return NULL;
  570. }
  571. inline void* MaybeArenaPtr() const {
  572. return NULL;
  573. }
  574. public:
  575. ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
  576. // nested types ----------------------------------------------------
  577. // accessors -------------------------------------------------------
  578. // optional .Rabbitmq_proto.Rabbitmq_parameter rabbitmq_parameters = 1;
  579. bool has_rabbitmq_parameters() const;
  580. void clear_rabbitmq_parameters();
  581. static const int kRabbitmqParametersFieldNumber = 1;
  582. const ::Rabbitmq_proto::Rabbitmq_parameter& rabbitmq_parameters() const;
  583. ::Rabbitmq_proto::Rabbitmq_parameter* release_rabbitmq_parameters();
  584. ::Rabbitmq_proto::Rabbitmq_parameter* mutable_rabbitmq_parameters();
  585. void set_allocated_rabbitmq_parameters(::Rabbitmq_proto::Rabbitmq_parameter* rabbitmq_parameters);
  586. // @@protoc_insertion_point(class_scope:Rabbitmq_proto.Rabbitmq_parameter_all)
  587. private:
  588. void set_has_rabbitmq_parameters();
  589. void clear_has_rabbitmq_parameters();
  590. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  591. ::google::protobuf::internal::HasBits<1> _has_bits_;
  592. mutable int _cached_size_;
  593. ::Rabbitmq_proto::Rabbitmq_parameter* rabbitmq_parameters_;
  594. friend struct ::protobuf_rabbitmq_2eproto::TableStruct;
  595. friend void ::protobuf_rabbitmq_2eproto::InitDefaultsRabbitmq_parameter_allImpl();
  596. };
  597. // ===================================================================
  598. // ===================================================================
  599. #ifdef __GNUC__
  600. #pragma GCC diagnostic push
  601. #pragma GCC diagnostic ignored "-Wstrict-aliasing"
  602. #endif // __GNUC__
  603. // Rabbitmq_channel_queue_consume
  604. // optional int32 channel = 1;
  605. inline bool Rabbitmq_channel_queue_consume::has_channel() const {
  606. return (_has_bits_[0] & 0x00000020u) != 0;
  607. }
  608. inline void Rabbitmq_channel_queue_consume::set_has_channel() {
  609. _has_bits_[0] |= 0x00000020u;
  610. }
  611. inline void Rabbitmq_channel_queue_consume::clear_has_channel() {
  612. _has_bits_[0] &= ~0x00000020u;
  613. }
  614. inline void Rabbitmq_channel_queue_consume::clear_channel() {
  615. channel_ = 0;
  616. clear_has_channel();
  617. }
  618. inline ::google::protobuf::int32 Rabbitmq_channel_queue_consume::channel() const {
  619. // @@protoc_insertion_point(field_get:Rabbitmq_proto.Rabbitmq_channel_queue_consume.channel)
  620. return channel_;
  621. }
  622. inline void Rabbitmq_channel_queue_consume::set_channel(::google::protobuf::int32 value) {
  623. set_has_channel();
  624. channel_ = value;
  625. // @@protoc_insertion_point(field_set:Rabbitmq_proto.Rabbitmq_channel_queue_consume.channel)
  626. }
  627. // optional string exchange_name = 2;
  628. inline bool Rabbitmq_channel_queue_consume::has_exchange_name() const {
  629. return (_has_bits_[0] & 0x00000001u) != 0;
  630. }
  631. inline void Rabbitmq_channel_queue_consume::set_has_exchange_name() {
  632. _has_bits_[0] |= 0x00000001u;
  633. }
  634. inline void Rabbitmq_channel_queue_consume::clear_has_exchange_name() {
  635. _has_bits_[0] &= ~0x00000001u;
  636. }
  637. inline void Rabbitmq_channel_queue_consume::clear_exchange_name() {
  638. exchange_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  639. clear_has_exchange_name();
  640. }
  641. inline const ::std::string& Rabbitmq_channel_queue_consume::exchange_name() const {
  642. // @@protoc_insertion_point(field_get:Rabbitmq_proto.Rabbitmq_channel_queue_consume.exchange_name)
  643. return exchange_name_.GetNoArena();
  644. }
  645. inline void Rabbitmq_channel_queue_consume::set_exchange_name(const ::std::string& value) {
  646. set_has_exchange_name();
  647. exchange_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  648. // @@protoc_insertion_point(field_set:Rabbitmq_proto.Rabbitmq_channel_queue_consume.exchange_name)
  649. }
  650. #if LANG_CXX11
  651. inline void Rabbitmq_channel_queue_consume::set_exchange_name(::std::string&& value) {
  652. set_has_exchange_name();
  653. exchange_name_.SetNoArena(
  654. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  655. // @@protoc_insertion_point(field_set_rvalue:Rabbitmq_proto.Rabbitmq_channel_queue_consume.exchange_name)
  656. }
  657. #endif
  658. inline void Rabbitmq_channel_queue_consume::set_exchange_name(const char* value) {
  659. GOOGLE_DCHECK(value != NULL);
  660. set_has_exchange_name();
  661. exchange_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  662. // @@protoc_insertion_point(field_set_char:Rabbitmq_proto.Rabbitmq_channel_queue_consume.exchange_name)
  663. }
  664. inline void Rabbitmq_channel_queue_consume::set_exchange_name(const char* value, size_t size) {
  665. set_has_exchange_name();
  666. exchange_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  667. ::std::string(reinterpret_cast<const char*>(value), size));
  668. // @@protoc_insertion_point(field_set_pointer:Rabbitmq_proto.Rabbitmq_channel_queue_consume.exchange_name)
  669. }
  670. inline ::std::string* Rabbitmq_channel_queue_consume::mutable_exchange_name() {
  671. set_has_exchange_name();
  672. // @@protoc_insertion_point(field_mutable:Rabbitmq_proto.Rabbitmq_channel_queue_consume.exchange_name)
  673. return exchange_name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  674. }
  675. inline ::std::string* Rabbitmq_channel_queue_consume::release_exchange_name() {
  676. // @@protoc_insertion_point(field_release:Rabbitmq_proto.Rabbitmq_channel_queue_consume.exchange_name)
  677. clear_has_exchange_name();
  678. return exchange_name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  679. }
  680. inline void Rabbitmq_channel_queue_consume::set_allocated_exchange_name(::std::string* exchange_name) {
  681. if (exchange_name != NULL) {
  682. set_has_exchange_name();
  683. } else {
  684. clear_has_exchange_name();
  685. }
  686. exchange_name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), exchange_name);
  687. // @@protoc_insertion_point(field_set_allocated:Rabbitmq_proto.Rabbitmq_channel_queue_consume.exchange_name)
  688. }
  689. // optional string routing_key = 3;
  690. inline bool Rabbitmq_channel_queue_consume::has_routing_key() const {
  691. return (_has_bits_[0] & 0x00000002u) != 0;
  692. }
  693. inline void Rabbitmq_channel_queue_consume::set_has_routing_key() {
  694. _has_bits_[0] |= 0x00000002u;
  695. }
  696. inline void Rabbitmq_channel_queue_consume::clear_has_routing_key() {
  697. _has_bits_[0] &= ~0x00000002u;
  698. }
  699. inline void Rabbitmq_channel_queue_consume::clear_routing_key() {
  700. routing_key_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  701. clear_has_routing_key();
  702. }
  703. inline const ::std::string& Rabbitmq_channel_queue_consume::routing_key() const {
  704. // @@protoc_insertion_point(field_get:Rabbitmq_proto.Rabbitmq_channel_queue_consume.routing_key)
  705. return routing_key_.GetNoArena();
  706. }
  707. inline void Rabbitmq_channel_queue_consume::set_routing_key(const ::std::string& value) {
  708. set_has_routing_key();
  709. routing_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  710. // @@protoc_insertion_point(field_set:Rabbitmq_proto.Rabbitmq_channel_queue_consume.routing_key)
  711. }
  712. #if LANG_CXX11
  713. inline void Rabbitmq_channel_queue_consume::set_routing_key(::std::string&& value) {
  714. set_has_routing_key();
  715. routing_key_.SetNoArena(
  716. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  717. // @@protoc_insertion_point(field_set_rvalue:Rabbitmq_proto.Rabbitmq_channel_queue_consume.routing_key)
  718. }
  719. #endif
  720. inline void Rabbitmq_channel_queue_consume::set_routing_key(const char* value) {
  721. GOOGLE_DCHECK(value != NULL);
  722. set_has_routing_key();
  723. routing_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  724. // @@protoc_insertion_point(field_set_char:Rabbitmq_proto.Rabbitmq_channel_queue_consume.routing_key)
  725. }
  726. inline void Rabbitmq_channel_queue_consume::set_routing_key(const char* value, size_t size) {
  727. set_has_routing_key();
  728. routing_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  729. ::std::string(reinterpret_cast<const char*>(value), size));
  730. // @@protoc_insertion_point(field_set_pointer:Rabbitmq_proto.Rabbitmq_channel_queue_consume.routing_key)
  731. }
  732. inline ::std::string* Rabbitmq_channel_queue_consume::mutable_routing_key() {
  733. set_has_routing_key();
  734. // @@protoc_insertion_point(field_mutable:Rabbitmq_proto.Rabbitmq_channel_queue_consume.routing_key)
  735. return routing_key_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  736. }
  737. inline ::std::string* Rabbitmq_channel_queue_consume::release_routing_key() {
  738. // @@protoc_insertion_point(field_release:Rabbitmq_proto.Rabbitmq_channel_queue_consume.routing_key)
  739. clear_has_routing_key();
  740. return routing_key_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  741. }
  742. inline void Rabbitmq_channel_queue_consume::set_allocated_routing_key(::std::string* routing_key) {
  743. if (routing_key != NULL) {
  744. set_has_routing_key();
  745. } else {
  746. clear_has_routing_key();
  747. }
  748. routing_key_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), routing_key);
  749. // @@protoc_insertion_point(field_set_allocated:Rabbitmq_proto.Rabbitmq_channel_queue_consume.routing_key)
  750. }
  751. // optional int32 timeout_ms = 4;
  752. inline bool Rabbitmq_channel_queue_consume::has_timeout_ms() const {
  753. return (_has_bits_[0] & 0x00000040u) != 0;
  754. }
  755. inline void Rabbitmq_channel_queue_consume::set_has_timeout_ms() {
  756. _has_bits_[0] |= 0x00000040u;
  757. }
  758. inline void Rabbitmq_channel_queue_consume::clear_has_timeout_ms() {
  759. _has_bits_[0] &= ~0x00000040u;
  760. }
  761. inline void Rabbitmq_channel_queue_consume::clear_timeout_ms() {
  762. timeout_ms_ = 0;
  763. clear_has_timeout_ms();
  764. }
  765. inline ::google::protobuf::int32 Rabbitmq_channel_queue_consume::timeout_ms() const {
  766. // @@protoc_insertion_point(field_get:Rabbitmq_proto.Rabbitmq_channel_queue_consume.timeout_ms)
  767. return timeout_ms_;
  768. }
  769. inline void Rabbitmq_channel_queue_consume::set_timeout_ms(::google::protobuf::int32 value) {
  770. set_has_timeout_ms();
  771. timeout_ms_ = value;
  772. // @@protoc_insertion_point(field_set:Rabbitmq_proto.Rabbitmq_channel_queue_consume.timeout_ms)
  773. }
  774. // optional string binding_key = 5;
  775. inline bool Rabbitmq_channel_queue_consume::has_binding_key() const {
  776. return (_has_bits_[0] & 0x00000004u) != 0;
  777. }
  778. inline void Rabbitmq_channel_queue_consume::set_has_binding_key() {
  779. _has_bits_[0] |= 0x00000004u;
  780. }
  781. inline void Rabbitmq_channel_queue_consume::clear_has_binding_key() {
  782. _has_bits_[0] &= ~0x00000004u;
  783. }
  784. inline void Rabbitmq_channel_queue_consume::clear_binding_key() {
  785. binding_key_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  786. clear_has_binding_key();
  787. }
  788. inline const ::std::string& Rabbitmq_channel_queue_consume::binding_key() const {
  789. // @@protoc_insertion_point(field_get:Rabbitmq_proto.Rabbitmq_channel_queue_consume.binding_key)
  790. return binding_key_.GetNoArena();
  791. }
  792. inline void Rabbitmq_channel_queue_consume::set_binding_key(const ::std::string& value) {
  793. set_has_binding_key();
  794. binding_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  795. // @@protoc_insertion_point(field_set:Rabbitmq_proto.Rabbitmq_channel_queue_consume.binding_key)
  796. }
  797. #if LANG_CXX11
  798. inline void Rabbitmq_channel_queue_consume::set_binding_key(::std::string&& value) {
  799. set_has_binding_key();
  800. binding_key_.SetNoArena(
  801. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  802. // @@protoc_insertion_point(field_set_rvalue:Rabbitmq_proto.Rabbitmq_channel_queue_consume.binding_key)
  803. }
  804. #endif
  805. inline void Rabbitmq_channel_queue_consume::set_binding_key(const char* value) {
  806. GOOGLE_DCHECK(value != NULL);
  807. set_has_binding_key();
  808. binding_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  809. // @@protoc_insertion_point(field_set_char:Rabbitmq_proto.Rabbitmq_channel_queue_consume.binding_key)
  810. }
  811. inline void Rabbitmq_channel_queue_consume::set_binding_key(const char* value, size_t size) {
  812. set_has_binding_key();
  813. binding_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  814. ::std::string(reinterpret_cast<const char*>(value), size));
  815. // @@protoc_insertion_point(field_set_pointer:Rabbitmq_proto.Rabbitmq_channel_queue_consume.binding_key)
  816. }
  817. inline ::std::string* Rabbitmq_channel_queue_consume::mutable_binding_key() {
  818. set_has_binding_key();
  819. // @@protoc_insertion_point(field_mutable:Rabbitmq_proto.Rabbitmq_channel_queue_consume.binding_key)
  820. return binding_key_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  821. }
  822. inline ::std::string* Rabbitmq_channel_queue_consume::release_binding_key() {
  823. // @@protoc_insertion_point(field_release:Rabbitmq_proto.Rabbitmq_channel_queue_consume.binding_key)
  824. clear_has_binding_key();
  825. return binding_key_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  826. }
  827. inline void Rabbitmq_channel_queue_consume::set_allocated_binding_key(::std::string* binding_key) {
  828. if (binding_key != NULL) {
  829. set_has_binding_key();
  830. } else {
  831. clear_has_binding_key();
  832. }
  833. binding_key_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), binding_key);
  834. // @@protoc_insertion_point(field_set_allocated:Rabbitmq_proto.Rabbitmq_channel_queue_consume.binding_key)
  835. }
  836. // optional string queue_name = 6;
  837. inline bool Rabbitmq_channel_queue_consume::has_queue_name() const {
  838. return (_has_bits_[0] & 0x00000008u) != 0;
  839. }
  840. inline void Rabbitmq_channel_queue_consume::set_has_queue_name() {
  841. _has_bits_[0] |= 0x00000008u;
  842. }
  843. inline void Rabbitmq_channel_queue_consume::clear_has_queue_name() {
  844. _has_bits_[0] &= ~0x00000008u;
  845. }
  846. inline void Rabbitmq_channel_queue_consume::clear_queue_name() {
  847. queue_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  848. clear_has_queue_name();
  849. }
  850. inline const ::std::string& Rabbitmq_channel_queue_consume::queue_name() const {
  851. // @@protoc_insertion_point(field_get:Rabbitmq_proto.Rabbitmq_channel_queue_consume.queue_name)
  852. return queue_name_.GetNoArena();
  853. }
  854. inline void Rabbitmq_channel_queue_consume::set_queue_name(const ::std::string& value) {
  855. set_has_queue_name();
  856. queue_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  857. // @@protoc_insertion_point(field_set:Rabbitmq_proto.Rabbitmq_channel_queue_consume.queue_name)
  858. }
  859. #if LANG_CXX11
  860. inline void Rabbitmq_channel_queue_consume::set_queue_name(::std::string&& value) {
  861. set_has_queue_name();
  862. queue_name_.SetNoArena(
  863. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  864. // @@protoc_insertion_point(field_set_rvalue:Rabbitmq_proto.Rabbitmq_channel_queue_consume.queue_name)
  865. }
  866. #endif
  867. inline void Rabbitmq_channel_queue_consume::set_queue_name(const char* value) {
  868. GOOGLE_DCHECK(value != NULL);
  869. set_has_queue_name();
  870. queue_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  871. // @@protoc_insertion_point(field_set_char:Rabbitmq_proto.Rabbitmq_channel_queue_consume.queue_name)
  872. }
  873. inline void Rabbitmq_channel_queue_consume::set_queue_name(const char* value, size_t size) {
  874. set_has_queue_name();
  875. queue_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  876. ::std::string(reinterpret_cast<const char*>(value), size));
  877. // @@protoc_insertion_point(field_set_pointer:Rabbitmq_proto.Rabbitmq_channel_queue_consume.queue_name)
  878. }
  879. inline ::std::string* Rabbitmq_channel_queue_consume::mutable_queue_name() {
  880. set_has_queue_name();
  881. // @@protoc_insertion_point(field_mutable:Rabbitmq_proto.Rabbitmq_channel_queue_consume.queue_name)
  882. return queue_name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  883. }
  884. inline ::std::string* Rabbitmq_channel_queue_consume::release_queue_name() {
  885. // @@protoc_insertion_point(field_release:Rabbitmq_proto.Rabbitmq_channel_queue_consume.queue_name)
  886. clear_has_queue_name();
  887. return queue_name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  888. }
  889. inline void Rabbitmq_channel_queue_consume::set_allocated_queue_name(::std::string* queue_name) {
  890. if (queue_name != NULL) {
  891. set_has_queue_name();
  892. } else {
  893. clear_has_queue_name();
  894. }
  895. queue_name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), queue_name);
  896. // @@protoc_insertion_point(field_set_allocated:Rabbitmq_proto.Rabbitmq_channel_queue_consume.queue_name)
  897. }
  898. // optional int32 queue_passive = 7 [default = 0];
  899. inline bool Rabbitmq_channel_queue_consume::has_queue_passive() const {
  900. return (_has_bits_[0] & 0x00000080u) != 0;
  901. }
  902. inline void Rabbitmq_channel_queue_consume::set_has_queue_passive() {
  903. _has_bits_[0] |= 0x00000080u;
  904. }
  905. inline void Rabbitmq_channel_queue_consume::clear_has_queue_passive() {
  906. _has_bits_[0] &= ~0x00000080u;
  907. }
  908. inline void Rabbitmq_channel_queue_consume::clear_queue_passive() {
  909. queue_passive_ = 0;
  910. clear_has_queue_passive();
  911. }
  912. inline ::google::protobuf::int32 Rabbitmq_channel_queue_consume::queue_passive() const {
  913. // @@protoc_insertion_point(field_get:Rabbitmq_proto.Rabbitmq_channel_queue_consume.queue_passive)
  914. return queue_passive_;
  915. }
  916. inline void Rabbitmq_channel_queue_consume::set_queue_passive(::google::protobuf::int32 value) {
  917. set_has_queue_passive();
  918. queue_passive_ = value;
  919. // @@protoc_insertion_point(field_set:Rabbitmq_proto.Rabbitmq_channel_queue_consume.queue_passive)
  920. }
  921. // optional int32 queue_durable = 8;
  922. inline bool Rabbitmq_channel_queue_consume::has_queue_durable() const {
  923. return (_has_bits_[0] & 0x00000100u) != 0;
  924. }
  925. inline void Rabbitmq_channel_queue_consume::set_has_queue_durable() {
  926. _has_bits_[0] |= 0x00000100u;
  927. }
  928. inline void Rabbitmq_channel_queue_consume::clear_has_queue_durable() {
  929. _has_bits_[0] &= ~0x00000100u;
  930. }
  931. inline void Rabbitmq_channel_queue_consume::clear_queue_durable() {
  932. queue_durable_ = 0;
  933. clear_has_queue_durable();
  934. }
  935. inline ::google::protobuf::int32 Rabbitmq_channel_queue_consume::queue_durable() const {
  936. // @@protoc_insertion_point(field_get:Rabbitmq_proto.Rabbitmq_channel_queue_consume.queue_durable)
  937. return queue_durable_;
  938. }
  939. inline void Rabbitmq_channel_queue_consume::set_queue_durable(::google::protobuf::int32 value) {
  940. set_has_queue_durable();
  941. queue_durable_ = value;
  942. // @@protoc_insertion_point(field_set:Rabbitmq_proto.Rabbitmq_channel_queue_consume.queue_durable)
  943. }
  944. // optional int32 queue_exclusive = 9 [default = 0];
  945. inline bool Rabbitmq_channel_queue_consume::has_queue_exclusive() const {
  946. return (_has_bits_[0] & 0x00000200u) != 0;
  947. }
  948. inline void Rabbitmq_channel_queue_consume::set_has_queue_exclusive() {
  949. _has_bits_[0] |= 0x00000200u;
  950. }
  951. inline void Rabbitmq_channel_queue_consume::clear_has_queue_exclusive() {
  952. _has_bits_[0] &= ~0x00000200u;
  953. }
  954. inline void Rabbitmq_channel_queue_consume::clear_queue_exclusive() {
  955. queue_exclusive_ = 0;
  956. clear_has_queue_exclusive();
  957. }
  958. inline ::google::protobuf::int32 Rabbitmq_channel_queue_consume::queue_exclusive() const {
  959. // @@protoc_insertion_point(field_get:Rabbitmq_proto.Rabbitmq_channel_queue_consume.queue_exclusive)
  960. return queue_exclusive_;
  961. }
  962. inline void Rabbitmq_channel_queue_consume::set_queue_exclusive(::google::protobuf::int32 value) {
  963. set_has_queue_exclusive();
  964. queue_exclusive_ = value;
  965. // @@protoc_insertion_point(field_set:Rabbitmq_proto.Rabbitmq_channel_queue_consume.queue_exclusive)
  966. }
  967. // optional int32 queue_auto_delete = 10 [default = 0];
  968. inline bool Rabbitmq_channel_queue_consume::has_queue_auto_delete() const {
  969. return (_has_bits_[0] & 0x00000400u) != 0;
  970. }
  971. inline void Rabbitmq_channel_queue_consume::set_has_queue_auto_delete() {
  972. _has_bits_[0] |= 0x00000400u;
  973. }
  974. inline void Rabbitmq_channel_queue_consume::clear_has_queue_auto_delete() {
  975. _has_bits_[0] &= ~0x00000400u;
  976. }
  977. inline void Rabbitmq_channel_queue_consume::clear_queue_auto_delete() {
  978. queue_auto_delete_ = 0;
  979. clear_has_queue_auto_delete();
  980. }
  981. inline ::google::protobuf::int32 Rabbitmq_channel_queue_consume::queue_auto_delete() const {
  982. // @@protoc_insertion_point(field_get:Rabbitmq_proto.Rabbitmq_channel_queue_consume.queue_auto_delete)
  983. return queue_auto_delete_;
  984. }
  985. inline void Rabbitmq_channel_queue_consume::set_queue_auto_delete(::google::protobuf::int32 value) {
  986. set_has_queue_auto_delete();
  987. queue_auto_delete_ = value;
  988. // @@protoc_insertion_point(field_set:Rabbitmq_proto.Rabbitmq_channel_queue_consume.queue_auto_delete)
  989. }
  990. // optional int32 queue_meassage_ttl = 11 [default = 0];
  991. inline bool Rabbitmq_channel_queue_consume::has_queue_meassage_ttl() const {
  992. return (_has_bits_[0] & 0x00000800u) != 0;
  993. }
  994. inline void Rabbitmq_channel_queue_consume::set_has_queue_meassage_ttl() {
  995. _has_bits_[0] |= 0x00000800u;
  996. }
  997. inline void Rabbitmq_channel_queue_consume::clear_has_queue_meassage_ttl() {
  998. _has_bits_[0] &= ~0x00000800u;
  999. }
  1000. inline void Rabbitmq_channel_queue_consume::clear_queue_meassage_ttl() {
  1001. queue_meassage_ttl_ = 0;
  1002. clear_has_queue_meassage_ttl();
  1003. }
  1004. inline ::google::protobuf::int32 Rabbitmq_channel_queue_consume::queue_meassage_ttl() const {
  1005. // @@protoc_insertion_point(field_get:Rabbitmq_proto.Rabbitmq_channel_queue_consume.queue_meassage_ttl)
  1006. return queue_meassage_ttl_;
  1007. }
  1008. inline void Rabbitmq_channel_queue_consume::set_queue_meassage_ttl(::google::protobuf::int32 value) {
  1009. set_has_queue_meassage_ttl();
  1010. queue_meassage_ttl_ = value;
  1011. // @@protoc_insertion_point(field_set:Rabbitmq_proto.Rabbitmq_channel_queue_consume.queue_meassage_ttl)
  1012. }
  1013. // optional string consume_name = 12;
  1014. inline bool Rabbitmq_channel_queue_consume::has_consume_name() const {
  1015. return (_has_bits_[0] & 0x00000010u) != 0;
  1016. }
  1017. inline void Rabbitmq_channel_queue_consume::set_has_consume_name() {
  1018. _has_bits_[0] |= 0x00000010u;
  1019. }
  1020. inline void Rabbitmq_channel_queue_consume::clear_has_consume_name() {
  1021. _has_bits_[0] &= ~0x00000010u;
  1022. }
  1023. inline void Rabbitmq_channel_queue_consume::clear_consume_name() {
  1024. consume_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1025. clear_has_consume_name();
  1026. }
  1027. inline const ::std::string& Rabbitmq_channel_queue_consume::consume_name() const {
  1028. // @@protoc_insertion_point(field_get:Rabbitmq_proto.Rabbitmq_channel_queue_consume.consume_name)
  1029. return consume_name_.GetNoArena();
  1030. }
  1031. inline void Rabbitmq_channel_queue_consume::set_consume_name(const ::std::string& value) {
  1032. set_has_consume_name();
  1033. consume_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  1034. // @@protoc_insertion_point(field_set:Rabbitmq_proto.Rabbitmq_channel_queue_consume.consume_name)
  1035. }
  1036. #if LANG_CXX11
  1037. inline void Rabbitmq_channel_queue_consume::set_consume_name(::std::string&& value) {
  1038. set_has_consume_name();
  1039. consume_name_.SetNoArena(
  1040. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  1041. // @@protoc_insertion_point(field_set_rvalue:Rabbitmq_proto.Rabbitmq_channel_queue_consume.consume_name)
  1042. }
  1043. #endif
  1044. inline void Rabbitmq_channel_queue_consume::set_consume_name(const char* value) {
  1045. GOOGLE_DCHECK(value != NULL);
  1046. set_has_consume_name();
  1047. consume_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  1048. // @@protoc_insertion_point(field_set_char:Rabbitmq_proto.Rabbitmq_channel_queue_consume.consume_name)
  1049. }
  1050. inline void Rabbitmq_channel_queue_consume::set_consume_name(const char* value, size_t size) {
  1051. set_has_consume_name();
  1052. consume_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  1053. ::std::string(reinterpret_cast<const char*>(value), size));
  1054. // @@protoc_insertion_point(field_set_pointer:Rabbitmq_proto.Rabbitmq_channel_queue_consume.consume_name)
  1055. }
  1056. inline ::std::string* Rabbitmq_channel_queue_consume::mutable_consume_name() {
  1057. set_has_consume_name();
  1058. // @@protoc_insertion_point(field_mutable:Rabbitmq_proto.Rabbitmq_channel_queue_consume.consume_name)
  1059. return consume_name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1060. }
  1061. inline ::std::string* Rabbitmq_channel_queue_consume::release_consume_name() {
  1062. // @@protoc_insertion_point(field_release:Rabbitmq_proto.Rabbitmq_channel_queue_consume.consume_name)
  1063. clear_has_consume_name();
  1064. return consume_name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1065. }
  1066. inline void Rabbitmq_channel_queue_consume::set_allocated_consume_name(::std::string* consume_name) {
  1067. if (consume_name != NULL) {
  1068. set_has_consume_name();
  1069. } else {
  1070. clear_has_consume_name();
  1071. }
  1072. consume_name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), consume_name);
  1073. // @@protoc_insertion_point(field_set_allocated:Rabbitmq_proto.Rabbitmq_channel_queue_consume.consume_name)
  1074. }
  1075. // optional int32 consume_no_local = 13 [default = 0];
  1076. inline bool Rabbitmq_channel_queue_consume::has_consume_no_local() const {
  1077. return (_has_bits_[0] & 0x00001000u) != 0;
  1078. }
  1079. inline void Rabbitmq_channel_queue_consume::set_has_consume_no_local() {
  1080. _has_bits_[0] |= 0x00001000u;
  1081. }
  1082. inline void Rabbitmq_channel_queue_consume::clear_has_consume_no_local() {
  1083. _has_bits_[0] &= ~0x00001000u;
  1084. }
  1085. inline void Rabbitmq_channel_queue_consume::clear_consume_no_local() {
  1086. consume_no_local_ = 0;
  1087. clear_has_consume_no_local();
  1088. }
  1089. inline ::google::protobuf::int32 Rabbitmq_channel_queue_consume::consume_no_local() const {
  1090. // @@protoc_insertion_point(field_get:Rabbitmq_proto.Rabbitmq_channel_queue_consume.consume_no_local)
  1091. return consume_no_local_;
  1092. }
  1093. inline void Rabbitmq_channel_queue_consume::set_consume_no_local(::google::protobuf::int32 value) {
  1094. set_has_consume_no_local();
  1095. consume_no_local_ = value;
  1096. // @@protoc_insertion_point(field_set:Rabbitmq_proto.Rabbitmq_channel_queue_consume.consume_no_local)
  1097. }
  1098. // optional int32 consume_no_ack = 14 [default = 0];
  1099. inline bool Rabbitmq_channel_queue_consume::has_consume_no_ack() const {
  1100. return (_has_bits_[0] & 0x00002000u) != 0;
  1101. }
  1102. inline void Rabbitmq_channel_queue_consume::set_has_consume_no_ack() {
  1103. _has_bits_[0] |= 0x00002000u;
  1104. }
  1105. inline void Rabbitmq_channel_queue_consume::clear_has_consume_no_ack() {
  1106. _has_bits_[0] &= ~0x00002000u;
  1107. }
  1108. inline void Rabbitmq_channel_queue_consume::clear_consume_no_ack() {
  1109. consume_no_ack_ = 0;
  1110. clear_has_consume_no_ack();
  1111. }
  1112. inline ::google::protobuf::int32 Rabbitmq_channel_queue_consume::consume_no_ack() const {
  1113. // @@protoc_insertion_point(field_get:Rabbitmq_proto.Rabbitmq_channel_queue_consume.consume_no_ack)
  1114. return consume_no_ack_;
  1115. }
  1116. inline void Rabbitmq_channel_queue_consume::set_consume_no_ack(::google::protobuf::int32 value) {
  1117. set_has_consume_no_ack();
  1118. consume_no_ack_ = value;
  1119. // @@protoc_insertion_point(field_set:Rabbitmq_proto.Rabbitmq_channel_queue_consume.consume_no_ack)
  1120. }
  1121. // optional int32 consume_exclusive = 15;
  1122. inline bool Rabbitmq_channel_queue_consume::has_consume_exclusive() const {
  1123. return (_has_bits_[0] & 0x00004000u) != 0;
  1124. }
  1125. inline void Rabbitmq_channel_queue_consume::set_has_consume_exclusive() {
  1126. _has_bits_[0] |= 0x00004000u;
  1127. }
  1128. inline void Rabbitmq_channel_queue_consume::clear_has_consume_exclusive() {
  1129. _has_bits_[0] &= ~0x00004000u;
  1130. }
  1131. inline void Rabbitmq_channel_queue_consume::clear_consume_exclusive() {
  1132. consume_exclusive_ = 0;
  1133. clear_has_consume_exclusive();
  1134. }
  1135. inline ::google::protobuf::int32 Rabbitmq_channel_queue_consume::consume_exclusive() const {
  1136. // @@protoc_insertion_point(field_get:Rabbitmq_proto.Rabbitmq_channel_queue_consume.consume_exclusive)
  1137. return consume_exclusive_;
  1138. }
  1139. inline void Rabbitmq_channel_queue_consume::set_consume_exclusive(::google::protobuf::int32 value) {
  1140. set_has_consume_exclusive();
  1141. consume_exclusive_ = value;
  1142. // @@protoc_insertion_point(field_set:Rabbitmq_proto.Rabbitmq_channel_queue_consume.consume_exclusive)
  1143. }
  1144. // -------------------------------------------------------------------
  1145. // Rabbitmq_parameter
  1146. // optional string ip = 1;
  1147. inline bool Rabbitmq_parameter::has_ip() const {
  1148. return (_has_bits_[0] & 0x00000001u) != 0;
  1149. }
  1150. inline void Rabbitmq_parameter::set_has_ip() {
  1151. _has_bits_[0] |= 0x00000001u;
  1152. }
  1153. inline void Rabbitmq_parameter::clear_has_ip() {
  1154. _has_bits_[0] &= ~0x00000001u;
  1155. }
  1156. inline void Rabbitmq_parameter::clear_ip() {
  1157. ip_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1158. clear_has_ip();
  1159. }
  1160. inline const ::std::string& Rabbitmq_parameter::ip() const {
  1161. // @@protoc_insertion_point(field_get:Rabbitmq_proto.Rabbitmq_parameter.ip)
  1162. return ip_.GetNoArena();
  1163. }
  1164. inline void Rabbitmq_parameter::set_ip(const ::std::string& value) {
  1165. set_has_ip();
  1166. ip_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  1167. // @@protoc_insertion_point(field_set:Rabbitmq_proto.Rabbitmq_parameter.ip)
  1168. }
  1169. #if LANG_CXX11
  1170. inline void Rabbitmq_parameter::set_ip(::std::string&& value) {
  1171. set_has_ip();
  1172. ip_.SetNoArena(
  1173. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  1174. // @@protoc_insertion_point(field_set_rvalue:Rabbitmq_proto.Rabbitmq_parameter.ip)
  1175. }
  1176. #endif
  1177. inline void Rabbitmq_parameter::set_ip(const char* value) {
  1178. GOOGLE_DCHECK(value != NULL);
  1179. set_has_ip();
  1180. ip_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  1181. // @@protoc_insertion_point(field_set_char:Rabbitmq_proto.Rabbitmq_parameter.ip)
  1182. }
  1183. inline void Rabbitmq_parameter::set_ip(const char* value, size_t size) {
  1184. set_has_ip();
  1185. ip_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  1186. ::std::string(reinterpret_cast<const char*>(value), size));
  1187. // @@protoc_insertion_point(field_set_pointer:Rabbitmq_proto.Rabbitmq_parameter.ip)
  1188. }
  1189. inline ::std::string* Rabbitmq_parameter::mutable_ip() {
  1190. set_has_ip();
  1191. // @@protoc_insertion_point(field_mutable:Rabbitmq_proto.Rabbitmq_parameter.ip)
  1192. return ip_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1193. }
  1194. inline ::std::string* Rabbitmq_parameter::release_ip() {
  1195. // @@protoc_insertion_point(field_release:Rabbitmq_proto.Rabbitmq_parameter.ip)
  1196. clear_has_ip();
  1197. return ip_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1198. }
  1199. inline void Rabbitmq_parameter::set_allocated_ip(::std::string* ip) {
  1200. if (ip != NULL) {
  1201. set_has_ip();
  1202. } else {
  1203. clear_has_ip();
  1204. }
  1205. ip_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ip);
  1206. // @@protoc_insertion_point(field_set_allocated:Rabbitmq_proto.Rabbitmq_parameter.ip)
  1207. }
  1208. // optional int32 port = 2;
  1209. inline bool Rabbitmq_parameter::has_port() const {
  1210. return (_has_bits_[0] & 0x00000008u) != 0;
  1211. }
  1212. inline void Rabbitmq_parameter::set_has_port() {
  1213. _has_bits_[0] |= 0x00000008u;
  1214. }
  1215. inline void Rabbitmq_parameter::clear_has_port() {
  1216. _has_bits_[0] &= ~0x00000008u;
  1217. }
  1218. inline void Rabbitmq_parameter::clear_port() {
  1219. port_ = 0;
  1220. clear_has_port();
  1221. }
  1222. inline ::google::protobuf::int32 Rabbitmq_parameter::port() const {
  1223. // @@protoc_insertion_point(field_get:Rabbitmq_proto.Rabbitmq_parameter.port)
  1224. return port_;
  1225. }
  1226. inline void Rabbitmq_parameter::set_port(::google::protobuf::int32 value) {
  1227. set_has_port();
  1228. port_ = value;
  1229. // @@protoc_insertion_point(field_set:Rabbitmq_proto.Rabbitmq_parameter.port)
  1230. }
  1231. // optional string user = 3;
  1232. inline bool Rabbitmq_parameter::has_user() const {
  1233. return (_has_bits_[0] & 0x00000002u) != 0;
  1234. }
  1235. inline void Rabbitmq_parameter::set_has_user() {
  1236. _has_bits_[0] |= 0x00000002u;
  1237. }
  1238. inline void Rabbitmq_parameter::clear_has_user() {
  1239. _has_bits_[0] &= ~0x00000002u;
  1240. }
  1241. inline void Rabbitmq_parameter::clear_user() {
  1242. user_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1243. clear_has_user();
  1244. }
  1245. inline const ::std::string& Rabbitmq_parameter::user() const {
  1246. // @@protoc_insertion_point(field_get:Rabbitmq_proto.Rabbitmq_parameter.user)
  1247. return user_.GetNoArena();
  1248. }
  1249. inline void Rabbitmq_parameter::set_user(const ::std::string& value) {
  1250. set_has_user();
  1251. user_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  1252. // @@protoc_insertion_point(field_set:Rabbitmq_proto.Rabbitmq_parameter.user)
  1253. }
  1254. #if LANG_CXX11
  1255. inline void Rabbitmq_parameter::set_user(::std::string&& value) {
  1256. set_has_user();
  1257. user_.SetNoArena(
  1258. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  1259. // @@protoc_insertion_point(field_set_rvalue:Rabbitmq_proto.Rabbitmq_parameter.user)
  1260. }
  1261. #endif
  1262. inline void Rabbitmq_parameter::set_user(const char* value) {
  1263. GOOGLE_DCHECK(value != NULL);
  1264. set_has_user();
  1265. user_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  1266. // @@protoc_insertion_point(field_set_char:Rabbitmq_proto.Rabbitmq_parameter.user)
  1267. }
  1268. inline void Rabbitmq_parameter::set_user(const char* value, size_t size) {
  1269. set_has_user();
  1270. user_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  1271. ::std::string(reinterpret_cast<const char*>(value), size));
  1272. // @@protoc_insertion_point(field_set_pointer:Rabbitmq_proto.Rabbitmq_parameter.user)
  1273. }
  1274. inline ::std::string* Rabbitmq_parameter::mutable_user() {
  1275. set_has_user();
  1276. // @@protoc_insertion_point(field_mutable:Rabbitmq_proto.Rabbitmq_parameter.user)
  1277. return user_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1278. }
  1279. inline ::std::string* Rabbitmq_parameter::release_user() {
  1280. // @@protoc_insertion_point(field_release:Rabbitmq_proto.Rabbitmq_parameter.user)
  1281. clear_has_user();
  1282. return user_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1283. }
  1284. inline void Rabbitmq_parameter::set_allocated_user(::std::string* user) {
  1285. if (user != NULL) {
  1286. set_has_user();
  1287. } else {
  1288. clear_has_user();
  1289. }
  1290. user_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), user);
  1291. // @@protoc_insertion_point(field_set_allocated:Rabbitmq_proto.Rabbitmq_parameter.user)
  1292. }
  1293. // optional string password = 4;
  1294. inline bool Rabbitmq_parameter::has_password() const {
  1295. return (_has_bits_[0] & 0x00000004u) != 0;
  1296. }
  1297. inline void Rabbitmq_parameter::set_has_password() {
  1298. _has_bits_[0] |= 0x00000004u;
  1299. }
  1300. inline void Rabbitmq_parameter::clear_has_password() {
  1301. _has_bits_[0] &= ~0x00000004u;
  1302. }
  1303. inline void Rabbitmq_parameter::clear_password() {
  1304. password_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1305. clear_has_password();
  1306. }
  1307. inline const ::std::string& Rabbitmq_parameter::password() const {
  1308. // @@protoc_insertion_point(field_get:Rabbitmq_proto.Rabbitmq_parameter.password)
  1309. return password_.GetNoArena();
  1310. }
  1311. inline void Rabbitmq_parameter::set_password(const ::std::string& value) {
  1312. set_has_password();
  1313. password_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  1314. // @@protoc_insertion_point(field_set:Rabbitmq_proto.Rabbitmq_parameter.password)
  1315. }
  1316. #if LANG_CXX11
  1317. inline void Rabbitmq_parameter::set_password(::std::string&& value) {
  1318. set_has_password();
  1319. password_.SetNoArena(
  1320. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  1321. // @@protoc_insertion_point(field_set_rvalue:Rabbitmq_proto.Rabbitmq_parameter.password)
  1322. }
  1323. #endif
  1324. inline void Rabbitmq_parameter::set_password(const char* value) {
  1325. GOOGLE_DCHECK(value != NULL);
  1326. set_has_password();
  1327. password_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  1328. // @@protoc_insertion_point(field_set_char:Rabbitmq_proto.Rabbitmq_parameter.password)
  1329. }
  1330. inline void Rabbitmq_parameter::set_password(const char* value, size_t size) {
  1331. set_has_password();
  1332. password_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  1333. ::std::string(reinterpret_cast<const char*>(value), size));
  1334. // @@protoc_insertion_point(field_set_pointer:Rabbitmq_proto.Rabbitmq_parameter.password)
  1335. }
  1336. inline ::std::string* Rabbitmq_parameter::mutable_password() {
  1337. set_has_password();
  1338. // @@protoc_insertion_point(field_mutable:Rabbitmq_proto.Rabbitmq_parameter.password)
  1339. return password_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1340. }
  1341. inline ::std::string* Rabbitmq_parameter::release_password() {
  1342. // @@protoc_insertion_point(field_release:Rabbitmq_proto.Rabbitmq_parameter.password)
  1343. clear_has_password();
  1344. return password_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1345. }
  1346. inline void Rabbitmq_parameter::set_allocated_password(::std::string* password) {
  1347. if (password != NULL) {
  1348. set_has_password();
  1349. } else {
  1350. clear_has_password();
  1351. }
  1352. password_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), password);
  1353. // @@protoc_insertion_point(field_set_allocated:Rabbitmq_proto.Rabbitmq_parameter.password)
  1354. }
  1355. // repeated .Rabbitmq_proto.Rabbitmq_channel_queue_consume rabbitmq_reciever_vector = 5;
  1356. inline int Rabbitmq_parameter::rabbitmq_reciever_vector_size() const {
  1357. return rabbitmq_reciever_vector_.size();
  1358. }
  1359. inline void Rabbitmq_parameter::clear_rabbitmq_reciever_vector() {
  1360. rabbitmq_reciever_vector_.Clear();
  1361. }
  1362. inline const ::Rabbitmq_proto::Rabbitmq_channel_queue_consume& Rabbitmq_parameter::rabbitmq_reciever_vector(int index) const {
  1363. // @@protoc_insertion_point(field_get:Rabbitmq_proto.Rabbitmq_parameter.rabbitmq_reciever_vector)
  1364. return rabbitmq_reciever_vector_.Get(index);
  1365. }
  1366. inline ::Rabbitmq_proto::Rabbitmq_channel_queue_consume* Rabbitmq_parameter::mutable_rabbitmq_reciever_vector(int index) {
  1367. // @@protoc_insertion_point(field_mutable:Rabbitmq_proto.Rabbitmq_parameter.rabbitmq_reciever_vector)
  1368. return rabbitmq_reciever_vector_.Mutable(index);
  1369. }
  1370. inline ::Rabbitmq_proto::Rabbitmq_channel_queue_consume* Rabbitmq_parameter::add_rabbitmq_reciever_vector() {
  1371. // @@protoc_insertion_point(field_add:Rabbitmq_proto.Rabbitmq_parameter.rabbitmq_reciever_vector)
  1372. return rabbitmq_reciever_vector_.Add();
  1373. }
  1374. inline ::google::protobuf::RepeatedPtrField< ::Rabbitmq_proto::Rabbitmq_channel_queue_consume >*
  1375. Rabbitmq_parameter::mutable_rabbitmq_reciever_vector() {
  1376. // @@protoc_insertion_point(field_mutable_list:Rabbitmq_proto.Rabbitmq_parameter.rabbitmq_reciever_vector)
  1377. return &rabbitmq_reciever_vector_;
  1378. }
  1379. inline const ::google::protobuf::RepeatedPtrField< ::Rabbitmq_proto::Rabbitmq_channel_queue_consume >&
  1380. Rabbitmq_parameter::rabbitmq_reciever_vector() const {
  1381. // @@protoc_insertion_point(field_list:Rabbitmq_proto.Rabbitmq_parameter.rabbitmq_reciever_vector)
  1382. return rabbitmq_reciever_vector_;
  1383. }
  1384. // repeated .Rabbitmq_proto.Rabbitmq_channel_queue_consume rabbitmq_sender_request_vector = 6;
  1385. inline int Rabbitmq_parameter::rabbitmq_sender_request_vector_size() const {
  1386. return rabbitmq_sender_request_vector_.size();
  1387. }
  1388. inline void Rabbitmq_parameter::clear_rabbitmq_sender_request_vector() {
  1389. rabbitmq_sender_request_vector_.Clear();
  1390. }
  1391. inline const ::Rabbitmq_proto::Rabbitmq_channel_queue_consume& Rabbitmq_parameter::rabbitmq_sender_request_vector(int index) const {
  1392. // @@protoc_insertion_point(field_get:Rabbitmq_proto.Rabbitmq_parameter.rabbitmq_sender_request_vector)
  1393. return rabbitmq_sender_request_vector_.Get(index);
  1394. }
  1395. inline ::Rabbitmq_proto::Rabbitmq_channel_queue_consume* Rabbitmq_parameter::mutable_rabbitmq_sender_request_vector(int index) {
  1396. // @@protoc_insertion_point(field_mutable:Rabbitmq_proto.Rabbitmq_parameter.rabbitmq_sender_request_vector)
  1397. return rabbitmq_sender_request_vector_.Mutable(index);
  1398. }
  1399. inline ::Rabbitmq_proto::Rabbitmq_channel_queue_consume* Rabbitmq_parameter::add_rabbitmq_sender_request_vector() {
  1400. // @@protoc_insertion_point(field_add:Rabbitmq_proto.Rabbitmq_parameter.rabbitmq_sender_request_vector)
  1401. return rabbitmq_sender_request_vector_.Add();
  1402. }
  1403. inline ::google::protobuf::RepeatedPtrField< ::Rabbitmq_proto::Rabbitmq_channel_queue_consume >*
  1404. Rabbitmq_parameter::mutable_rabbitmq_sender_request_vector() {
  1405. // @@protoc_insertion_point(field_mutable_list:Rabbitmq_proto.Rabbitmq_parameter.rabbitmq_sender_request_vector)
  1406. return &rabbitmq_sender_request_vector_;
  1407. }
  1408. inline const ::google::protobuf::RepeatedPtrField< ::Rabbitmq_proto::Rabbitmq_channel_queue_consume >&
  1409. Rabbitmq_parameter::rabbitmq_sender_request_vector() const {
  1410. // @@protoc_insertion_point(field_list:Rabbitmq_proto.Rabbitmq_parameter.rabbitmq_sender_request_vector)
  1411. return rabbitmq_sender_request_vector_;
  1412. }
  1413. // repeated .Rabbitmq_proto.Rabbitmq_channel_queue_consume rabbitmq_sender_status_vector = 7;
  1414. inline int Rabbitmq_parameter::rabbitmq_sender_status_vector_size() const {
  1415. return rabbitmq_sender_status_vector_.size();
  1416. }
  1417. inline void Rabbitmq_parameter::clear_rabbitmq_sender_status_vector() {
  1418. rabbitmq_sender_status_vector_.Clear();
  1419. }
  1420. inline const ::Rabbitmq_proto::Rabbitmq_channel_queue_consume& Rabbitmq_parameter::rabbitmq_sender_status_vector(int index) const {
  1421. // @@protoc_insertion_point(field_get:Rabbitmq_proto.Rabbitmq_parameter.rabbitmq_sender_status_vector)
  1422. return rabbitmq_sender_status_vector_.Get(index);
  1423. }
  1424. inline ::Rabbitmq_proto::Rabbitmq_channel_queue_consume* Rabbitmq_parameter::mutable_rabbitmq_sender_status_vector(int index) {
  1425. // @@protoc_insertion_point(field_mutable:Rabbitmq_proto.Rabbitmq_parameter.rabbitmq_sender_status_vector)
  1426. return rabbitmq_sender_status_vector_.Mutable(index);
  1427. }
  1428. inline ::Rabbitmq_proto::Rabbitmq_channel_queue_consume* Rabbitmq_parameter::add_rabbitmq_sender_status_vector() {
  1429. // @@protoc_insertion_point(field_add:Rabbitmq_proto.Rabbitmq_parameter.rabbitmq_sender_status_vector)
  1430. return rabbitmq_sender_status_vector_.Add();
  1431. }
  1432. inline ::google::protobuf::RepeatedPtrField< ::Rabbitmq_proto::Rabbitmq_channel_queue_consume >*
  1433. Rabbitmq_parameter::mutable_rabbitmq_sender_status_vector() {
  1434. // @@protoc_insertion_point(field_mutable_list:Rabbitmq_proto.Rabbitmq_parameter.rabbitmq_sender_status_vector)
  1435. return &rabbitmq_sender_status_vector_;
  1436. }
  1437. inline const ::google::protobuf::RepeatedPtrField< ::Rabbitmq_proto::Rabbitmq_channel_queue_consume >&
  1438. Rabbitmq_parameter::rabbitmq_sender_status_vector() const {
  1439. // @@protoc_insertion_point(field_list:Rabbitmq_proto.Rabbitmq_parameter.rabbitmq_sender_status_vector)
  1440. return rabbitmq_sender_status_vector_;
  1441. }
  1442. // -------------------------------------------------------------------
  1443. // Rabbitmq_parameter_all
  1444. // optional .Rabbitmq_proto.Rabbitmq_parameter rabbitmq_parameters = 1;
  1445. inline bool Rabbitmq_parameter_all::has_rabbitmq_parameters() const {
  1446. return (_has_bits_[0] & 0x00000001u) != 0;
  1447. }
  1448. inline void Rabbitmq_parameter_all::set_has_rabbitmq_parameters() {
  1449. _has_bits_[0] |= 0x00000001u;
  1450. }
  1451. inline void Rabbitmq_parameter_all::clear_has_rabbitmq_parameters() {
  1452. _has_bits_[0] &= ~0x00000001u;
  1453. }
  1454. inline void Rabbitmq_parameter_all::clear_rabbitmq_parameters() {
  1455. if (rabbitmq_parameters_ != NULL) rabbitmq_parameters_->Clear();
  1456. clear_has_rabbitmq_parameters();
  1457. }
  1458. inline const ::Rabbitmq_proto::Rabbitmq_parameter& Rabbitmq_parameter_all::rabbitmq_parameters() const {
  1459. const ::Rabbitmq_proto::Rabbitmq_parameter* p = rabbitmq_parameters_;
  1460. // @@protoc_insertion_point(field_get:Rabbitmq_proto.Rabbitmq_parameter_all.rabbitmq_parameters)
  1461. return p != NULL ? *p : *reinterpret_cast<const ::Rabbitmq_proto::Rabbitmq_parameter*>(
  1462. &::Rabbitmq_proto::_Rabbitmq_parameter_default_instance_);
  1463. }
  1464. inline ::Rabbitmq_proto::Rabbitmq_parameter* Rabbitmq_parameter_all::release_rabbitmq_parameters() {
  1465. // @@protoc_insertion_point(field_release:Rabbitmq_proto.Rabbitmq_parameter_all.rabbitmq_parameters)
  1466. clear_has_rabbitmq_parameters();
  1467. ::Rabbitmq_proto::Rabbitmq_parameter* temp = rabbitmq_parameters_;
  1468. rabbitmq_parameters_ = NULL;
  1469. return temp;
  1470. }
  1471. inline ::Rabbitmq_proto::Rabbitmq_parameter* Rabbitmq_parameter_all::mutable_rabbitmq_parameters() {
  1472. set_has_rabbitmq_parameters();
  1473. if (rabbitmq_parameters_ == NULL) {
  1474. rabbitmq_parameters_ = new ::Rabbitmq_proto::Rabbitmq_parameter;
  1475. }
  1476. // @@protoc_insertion_point(field_mutable:Rabbitmq_proto.Rabbitmq_parameter_all.rabbitmq_parameters)
  1477. return rabbitmq_parameters_;
  1478. }
  1479. inline void Rabbitmq_parameter_all::set_allocated_rabbitmq_parameters(::Rabbitmq_proto::Rabbitmq_parameter* rabbitmq_parameters) {
  1480. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  1481. if (message_arena == NULL) {
  1482. delete rabbitmq_parameters_;
  1483. }
  1484. if (rabbitmq_parameters) {
  1485. ::google::protobuf::Arena* submessage_arena = NULL;
  1486. if (message_arena != submessage_arena) {
  1487. rabbitmq_parameters = ::google::protobuf::internal::GetOwnedMessage(
  1488. message_arena, rabbitmq_parameters, submessage_arena);
  1489. }
  1490. set_has_rabbitmq_parameters();
  1491. } else {
  1492. clear_has_rabbitmq_parameters();
  1493. }
  1494. rabbitmq_parameters_ = rabbitmq_parameters;
  1495. // @@protoc_insertion_point(field_set_allocated:Rabbitmq_proto.Rabbitmq_parameter_all.rabbitmq_parameters)
  1496. }
  1497. #ifdef __GNUC__
  1498. #pragma GCC diagnostic pop
  1499. #endif // __GNUC__
  1500. // -------------------------------------------------------------------
  1501. // -------------------------------------------------------------------
  1502. // @@protoc_insertion_point(namespace_scope)
  1503. } // namespace Rabbitmq_proto
  1504. // @@protoc_insertion_point(global_scope)
  1505. #endif // PROTOBUF_rabbitmq_2eproto__INCLUDED