123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956 |
- // Generated by the protocol buffer compiler. DO NOT EDIT!
- // source: rabbitmq.proto
- #include "rabbitmq.pb.h"
- #include <algorithm>
- #include <google/protobuf/stubs/common.h>
- #include <google/protobuf/stubs/port.h>
- #include <google/protobuf/stubs/once.h>
- #include <google/protobuf/io/coded_stream.h>
- #include <google/protobuf/wire_format_lite_inl.h>
- #include <google/protobuf/descriptor.h>
- #include <google/protobuf/generated_message_reflection.h>
- #include <google/protobuf/reflection_ops.h>
- #include <google/protobuf/wire_format.h>
- // This is a temporary google only hack
- #ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
- #include "third_party/protobuf/version.h"
- #endif
- // @@protoc_insertion_point(includes)
- namespace Rabbitmq_proto {
- class Rabbitmq_channel_queue_consumeDefaultTypeInternal {
- public:
- ::google::protobuf::internal::ExplicitlyConstructed<Rabbitmq_channel_queue_consume>
- _instance;
- } _Rabbitmq_channel_queue_consume_default_instance_;
- class Rabbitmq_parameterDefaultTypeInternal {
- public:
- ::google::protobuf::internal::ExplicitlyConstructed<Rabbitmq_parameter>
- _instance;
- } _Rabbitmq_parameter_default_instance_;
- class Rabbitmq_parameter_allDefaultTypeInternal {
- public:
- ::google::protobuf::internal::ExplicitlyConstructed<Rabbitmq_parameter_all>
- _instance;
- } _Rabbitmq_parameter_all_default_instance_;
- } // namespace Rabbitmq_proto
- namespace protobuf_rabbitmq_2eproto {
- void InitDefaultsRabbitmq_channel_queue_consumeImpl() {
- GOOGLE_PROTOBUF_VERIFY_VERSION;
- #ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
- ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
- #else
- ::google::protobuf::internal::InitProtobufDefaults();
- #endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
- {
- void* ptr = &::Rabbitmq_proto::_Rabbitmq_channel_queue_consume_default_instance_;
- new (ptr) ::Rabbitmq_proto::Rabbitmq_channel_queue_consume();
- ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
- }
- ::Rabbitmq_proto::Rabbitmq_channel_queue_consume::InitAsDefaultInstance();
- }
- void InitDefaultsRabbitmq_channel_queue_consume() {
- static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
- ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsRabbitmq_channel_queue_consumeImpl);
- }
- void InitDefaultsRabbitmq_parameterImpl() {
- GOOGLE_PROTOBUF_VERIFY_VERSION;
- #ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
- ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
- #else
- ::google::protobuf::internal::InitProtobufDefaults();
- #endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
- protobuf_rabbitmq_2eproto::InitDefaultsRabbitmq_channel_queue_consume();
- {
- void* ptr = &::Rabbitmq_proto::_Rabbitmq_parameter_default_instance_;
- new (ptr) ::Rabbitmq_proto::Rabbitmq_parameter();
- ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
- }
- ::Rabbitmq_proto::Rabbitmq_parameter::InitAsDefaultInstance();
- }
- void InitDefaultsRabbitmq_parameter() {
- static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
- ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsRabbitmq_parameterImpl);
- }
- void InitDefaultsRabbitmq_parameter_allImpl() {
- GOOGLE_PROTOBUF_VERIFY_VERSION;
- #ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
- ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
- #else
- ::google::protobuf::internal::InitProtobufDefaults();
- #endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
- protobuf_rabbitmq_2eproto::InitDefaultsRabbitmq_parameter();
- {
- void* ptr = &::Rabbitmq_proto::_Rabbitmq_parameter_all_default_instance_;
- new (ptr) ::Rabbitmq_proto::Rabbitmq_parameter_all();
- ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
- }
- ::Rabbitmq_proto::Rabbitmq_parameter_all::InitAsDefaultInstance();
- }
- void InitDefaultsRabbitmq_parameter_all() {
- static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
- ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsRabbitmq_parameter_allImpl);
- }
- ::google::protobuf::Metadata file_level_metadata[3];
- const ::google::protobuf::uint32 TableStruct::offsets[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Rabbitmq_proto::Rabbitmq_channel_queue_consume, _has_bits_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Rabbitmq_proto::Rabbitmq_channel_queue_consume, _internal_metadata_),
- ~0u, // no _extensions_
- ~0u, // no _oneof_case_
- ~0u, // no _weak_field_map_
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Rabbitmq_proto::Rabbitmq_channel_queue_consume, channel_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Rabbitmq_proto::Rabbitmq_channel_queue_consume, exchange_name_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Rabbitmq_proto::Rabbitmq_channel_queue_consume, routing_key_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Rabbitmq_proto::Rabbitmq_channel_queue_consume, timeout_ms_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Rabbitmq_proto::Rabbitmq_channel_queue_consume, binding_key_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Rabbitmq_proto::Rabbitmq_channel_queue_consume, queue_name_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Rabbitmq_proto::Rabbitmq_channel_queue_consume, queue_passive_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Rabbitmq_proto::Rabbitmq_channel_queue_consume, queue_durable_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Rabbitmq_proto::Rabbitmq_channel_queue_consume, queue_exclusive_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Rabbitmq_proto::Rabbitmq_channel_queue_consume, queue_auto_delete_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Rabbitmq_proto::Rabbitmq_channel_queue_consume, queue_meassage_ttl_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Rabbitmq_proto::Rabbitmq_channel_queue_consume, consume_name_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Rabbitmq_proto::Rabbitmq_channel_queue_consume, consume_no_local_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Rabbitmq_proto::Rabbitmq_channel_queue_consume, consume_no_ack_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Rabbitmq_proto::Rabbitmq_channel_queue_consume, consume_exclusive_),
- 5,
- 0,
- 1,
- 6,
- 2,
- 3,
- 7,
- 8,
- 9,
- 10,
- 11,
- 4,
- 12,
- 13,
- 14,
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Rabbitmq_proto::Rabbitmq_parameter, _has_bits_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Rabbitmq_proto::Rabbitmq_parameter, _internal_metadata_),
- ~0u, // no _extensions_
- ~0u, // no _oneof_case_
- ~0u, // no _weak_field_map_
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Rabbitmq_proto::Rabbitmq_parameter, ip_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Rabbitmq_proto::Rabbitmq_parameter, port_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Rabbitmq_proto::Rabbitmq_parameter, user_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Rabbitmq_proto::Rabbitmq_parameter, password_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Rabbitmq_proto::Rabbitmq_parameter, rabbitmq_reciever_vector_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Rabbitmq_proto::Rabbitmq_parameter, rabbitmq_sender_request_vector_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Rabbitmq_proto::Rabbitmq_parameter, rabbitmq_sender_status_vector_),
- 0,
- 3,
- 1,
- 2,
- ~0u,
- ~0u,
- ~0u,
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Rabbitmq_proto::Rabbitmq_parameter_all, _has_bits_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Rabbitmq_proto::Rabbitmq_parameter_all, _internal_metadata_),
- ~0u, // no _extensions_
- ~0u, // no _oneof_case_
- ~0u, // no _weak_field_map_
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Rabbitmq_proto::Rabbitmq_parameter_all, rabbitmq_parameters_),
- 0,
- };
- static const ::google::protobuf::internal::MigrationSchema schemas[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
- { 0, 20, sizeof(::Rabbitmq_proto::Rabbitmq_channel_queue_consume)},
- { 35, 47, sizeof(::Rabbitmq_proto::Rabbitmq_parameter)},
- { 54, 60, sizeof(::Rabbitmq_proto::Rabbitmq_parameter_all)},
- };
- static ::google::protobuf::Message const * const file_default_instances[] = {
- reinterpret_cast<const ::google::protobuf::Message*>(&::Rabbitmq_proto::_Rabbitmq_channel_queue_consume_default_instance_),
- reinterpret_cast<const ::google::protobuf::Message*>(&::Rabbitmq_proto::_Rabbitmq_parameter_default_instance_),
- reinterpret_cast<const ::google::protobuf::Message*>(&::Rabbitmq_proto::_Rabbitmq_parameter_all_default_instance_),
- };
- void protobuf_AssignDescriptors() {
- AddDescriptors();
- ::google::protobuf::MessageFactory* factory = NULL;
- AssignDescriptors(
- "rabbitmq.proto", schemas, file_default_instances, TableStruct::offsets, factory,
- file_level_metadata, NULL, NULL);
- }
- void protobuf_AssignDescriptorsOnce() {
- static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
- ::google::protobuf::GoogleOnceInit(&once, &protobuf_AssignDescriptors);
- }
- void protobuf_RegisterTypes(const ::std::string&) GOOGLE_PROTOBUF_ATTRIBUTE_COLD;
- void protobuf_RegisterTypes(const ::std::string&) {
- protobuf_AssignDescriptorsOnce();
- ::google::protobuf::internal::RegisterAllTypes(file_level_metadata, 3);
- }
- void AddDescriptorsImpl() {
- InitDefaults();
- static const char descriptor[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
- "\n\016rabbitmq.proto\022\016Rabbitmq_proto\"\215\003\n\036Rab"
- "bitmq_channel_queue_consume\022\017\n\007channel\030\001"
- " \001(\005\022\025\n\rexchange_name\030\002 \001(\t\022\023\n\013routing_k"
- "ey\030\003 \001(\t\022\022\n\ntimeout_ms\030\004 \001(\005\022\023\n\013binding_"
- "key\030\005 \001(\t\022\022\n\nqueue_name\030\006 \001(\t\022\030\n\rqueue_p"
- "assive\030\007 \001(\005:\0010\022\025\n\rqueue_durable\030\010 \001(\005\022\032"
- "\n\017queue_exclusive\030\t \001(\005:\0010\022\034\n\021queue_auto"
- "_delete\030\n \001(\005:\0010\022\035\n\022queue_meassage_ttl\030\013"
- " \001(\005:\0010\022\024\n\014consume_name\030\014 \001(\t\022\033\n\020consume"
- "_no_local\030\r \001(\005:\0010\022\031\n\016consume_no_ack\030\016 \001"
- "(\005:\0010\022\031\n\021consume_exclusive\030\017 \001(\005\"\317\002\n\022Rab"
- "bitmq_parameter\022\n\n\002ip\030\001 \001(\t\022\014\n\004port\030\002 \001("
- "\005\022\014\n\004user\030\003 \001(\t\022\020\n\010password\030\004 \001(\t\022P\n\030rab"
- "bitmq_reciever_vector\030\005 \003(\0132..Rabbitmq_p"
- "roto.Rabbitmq_channel_queue_consume\022V\n\036r"
- "abbitmq_sender_request_vector\030\006 \003(\0132..Ra"
- "bbitmq_proto.Rabbitmq_channel_queue_cons"
- "ume\022U\n\035rabbitmq_sender_status_vector\030\007 \003"
- "(\0132..Rabbitmq_proto.Rabbitmq_channel_que"
- "ue_consume\"Y\n\026Rabbitmq_parameter_all\022\?\n\023"
- "rabbitmq_parameters\030\001 \001(\0132\".Rabbitmq_pro"
- "to.Rabbitmq_parameter"
- };
- ::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
- descriptor, 861);
- ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
- "rabbitmq.proto", &protobuf_RegisterTypes);
- }
- void AddDescriptors() {
- static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
- ::google::protobuf::GoogleOnceInit(&once, &AddDescriptorsImpl);
- }
- // Force AddDescriptors() to be called at dynamic initialization time.
- struct StaticDescriptorInitializer {
- StaticDescriptorInitializer() {
- AddDescriptors();
- }
- } static_descriptor_initializer;
- } // namespace protobuf_rabbitmq_2eproto
- namespace Rabbitmq_proto {
- // ===================================================================
- void Rabbitmq_channel_queue_consume::InitAsDefaultInstance() {
- }
- #if !defined(_MSC_VER) || _MSC_VER >= 1900
- const int Rabbitmq_channel_queue_consume::kChannelFieldNumber;
- const int Rabbitmq_channel_queue_consume::kExchangeNameFieldNumber;
- const int Rabbitmq_channel_queue_consume::kRoutingKeyFieldNumber;
- const int Rabbitmq_channel_queue_consume::kTimeoutMsFieldNumber;
- const int Rabbitmq_channel_queue_consume::kBindingKeyFieldNumber;
- const int Rabbitmq_channel_queue_consume::kQueueNameFieldNumber;
- const int Rabbitmq_channel_queue_consume::kQueuePassiveFieldNumber;
- const int Rabbitmq_channel_queue_consume::kQueueDurableFieldNumber;
- const int Rabbitmq_channel_queue_consume::kQueueExclusiveFieldNumber;
- const int Rabbitmq_channel_queue_consume::kQueueAutoDeleteFieldNumber;
- const int Rabbitmq_channel_queue_consume::kQueueMeassageTtlFieldNumber;
- const int Rabbitmq_channel_queue_consume::kConsumeNameFieldNumber;
- const int Rabbitmq_channel_queue_consume::kConsumeNoLocalFieldNumber;
- const int Rabbitmq_channel_queue_consume::kConsumeNoAckFieldNumber;
- const int Rabbitmq_channel_queue_consume::kConsumeExclusiveFieldNumber;
- #endif // !defined(_MSC_VER) || _MSC_VER >= 1900
- Rabbitmq_channel_queue_consume::Rabbitmq_channel_queue_consume()
- : ::google::protobuf::Message(), _internal_metadata_(NULL) {
- if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
- ::protobuf_rabbitmq_2eproto::InitDefaultsRabbitmq_channel_queue_consume();
- }
- SharedCtor();
- // @@protoc_insertion_point(constructor:Rabbitmq_proto.Rabbitmq_channel_queue_consume)
- }
- Rabbitmq_channel_queue_consume::Rabbitmq_channel_queue_consume(const Rabbitmq_channel_queue_consume& from)
- : ::google::protobuf::Message(),
- _internal_metadata_(NULL),
- _has_bits_(from._has_bits_),
- _cached_size_(0) {
- _internal_metadata_.MergeFrom(from._internal_metadata_);
- exchange_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- if (from.has_exchange_name()) {
- exchange_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.exchange_name_);
- }
- routing_key_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- if (from.has_routing_key()) {
- routing_key_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.routing_key_);
- }
- binding_key_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- if (from.has_binding_key()) {
- binding_key_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.binding_key_);
- }
- queue_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- if (from.has_queue_name()) {
- queue_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.queue_name_);
- }
- consume_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- if (from.has_consume_name()) {
- consume_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.consume_name_);
- }
- ::memcpy(&channel_, &from.channel_,
- static_cast<size_t>(reinterpret_cast<char*>(&consume_exclusive_) -
- reinterpret_cast<char*>(&channel_)) + sizeof(consume_exclusive_));
- // @@protoc_insertion_point(copy_constructor:Rabbitmq_proto.Rabbitmq_channel_queue_consume)
- }
- void Rabbitmq_channel_queue_consume::SharedCtor() {
- _cached_size_ = 0;
- exchange_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- routing_key_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- binding_key_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- queue_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- consume_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- ::memset(&channel_, 0, static_cast<size_t>(
- reinterpret_cast<char*>(&consume_exclusive_) -
- reinterpret_cast<char*>(&channel_)) + sizeof(consume_exclusive_));
- }
- Rabbitmq_channel_queue_consume::~Rabbitmq_channel_queue_consume() {
- // @@protoc_insertion_point(destructor:Rabbitmq_proto.Rabbitmq_channel_queue_consume)
- SharedDtor();
- }
- void Rabbitmq_channel_queue_consume::SharedDtor() {
- exchange_name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- routing_key_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- binding_key_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- queue_name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- consume_name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- void Rabbitmq_channel_queue_consume::SetCachedSize(int size) const {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- }
- const ::google::protobuf::Descriptor* Rabbitmq_channel_queue_consume::descriptor() {
- ::protobuf_rabbitmq_2eproto::protobuf_AssignDescriptorsOnce();
- return ::protobuf_rabbitmq_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
- }
- const Rabbitmq_channel_queue_consume& Rabbitmq_channel_queue_consume::default_instance() {
- ::protobuf_rabbitmq_2eproto::InitDefaultsRabbitmq_channel_queue_consume();
- return *internal_default_instance();
- }
- Rabbitmq_channel_queue_consume* Rabbitmq_channel_queue_consume::New(::google::protobuf::Arena* arena) const {
- Rabbitmq_channel_queue_consume* n = new Rabbitmq_channel_queue_consume;
- if (arena != NULL) {
- arena->Own(n);
- }
- return n;
- }
- void Rabbitmq_channel_queue_consume::Clear() {
- // @@protoc_insertion_point(message_clear_start:Rabbitmq_proto.Rabbitmq_channel_queue_consume)
- ::google::protobuf::uint32 cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
- if (cached_has_bits & 31u) {
- if (cached_has_bits & 0x00000001u) {
- GOOGLE_DCHECK(!exchange_name_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
- (*exchange_name_.UnsafeRawStringPointer())->clear();
- }
- if (cached_has_bits & 0x00000002u) {
- GOOGLE_DCHECK(!routing_key_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
- (*routing_key_.UnsafeRawStringPointer())->clear();
- }
- if (cached_has_bits & 0x00000004u) {
- GOOGLE_DCHECK(!binding_key_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
- (*binding_key_.UnsafeRawStringPointer())->clear();
- }
- if (cached_has_bits & 0x00000008u) {
- GOOGLE_DCHECK(!queue_name_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
- (*queue_name_.UnsafeRawStringPointer())->clear();
- }
- if (cached_has_bits & 0x00000010u) {
- GOOGLE_DCHECK(!consume_name_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
- (*consume_name_.UnsafeRawStringPointer())->clear();
- }
- }
- if (cached_has_bits & 224u) {
- ::memset(&channel_, 0, static_cast<size_t>(
- reinterpret_cast<char*>(&queue_passive_) -
- reinterpret_cast<char*>(&channel_)) + sizeof(queue_passive_));
- }
- if (cached_has_bits & 32512u) {
- ::memset(&queue_durable_, 0, static_cast<size_t>(
- reinterpret_cast<char*>(&consume_exclusive_) -
- reinterpret_cast<char*>(&queue_durable_)) + sizeof(consume_exclusive_));
- }
- _has_bits_.Clear();
- _internal_metadata_.Clear();
- }
- bool Rabbitmq_channel_queue_consume::MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) {
- #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
- ::google::protobuf::uint32 tag;
- // @@protoc_insertion_point(parse_start:Rabbitmq_proto.Rabbitmq_channel_queue_consume)
- for (;;) {
- ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
- tag = p.first;
- if (!p.second) goto handle_unusual;
- switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
- // optional int32 channel = 1;
- case 1: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) {
- set_has_channel();
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &channel_)));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // optional string exchange_name = 2;
- case 2: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadString(
- input, this->mutable_exchange_name()));
- ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
- this->exchange_name().data(), static_cast<int>(this->exchange_name().length()),
- ::google::protobuf::internal::WireFormat::PARSE,
- "Rabbitmq_proto.Rabbitmq_channel_queue_consume.exchange_name");
- } else {
- goto handle_unusual;
- }
- break;
- }
- // optional string routing_key = 3;
- case 3: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadString(
- input, this->mutable_routing_key()));
- ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
- this->routing_key().data(), static_cast<int>(this->routing_key().length()),
- ::google::protobuf::internal::WireFormat::PARSE,
- "Rabbitmq_proto.Rabbitmq_channel_queue_consume.routing_key");
- } else {
- goto handle_unusual;
- }
- break;
- }
- // optional int32 timeout_ms = 4;
- case 4: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(32u /* 32 & 0xFF */)) {
- set_has_timeout_ms();
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &timeout_ms_)));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // optional string binding_key = 5;
- case 5: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(42u /* 42 & 0xFF */)) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadString(
- input, this->mutable_binding_key()));
- ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
- this->binding_key().data(), static_cast<int>(this->binding_key().length()),
- ::google::protobuf::internal::WireFormat::PARSE,
- "Rabbitmq_proto.Rabbitmq_channel_queue_consume.binding_key");
- } else {
- goto handle_unusual;
- }
- break;
- }
- // optional string queue_name = 6;
- case 6: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(50u /* 50 & 0xFF */)) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadString(
- input, this->mutable_queue_name()));
- ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
- this->queue_name().data(), static_cast<int>(this->queue_name().length()),
- ::google::protobuf::internal::WireFormat::PARSE,
- "Rabbitmq_proto.Rabbitmq_channel_queue_consume.queue_name");
- } else {
- goto handle_unusual;
- }
- break;
- }
- // optional int32 queue_passive = 7 [default = 0];
- case 7: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(56u /* 56 & 0xFF */)) {
- set_has_queue_passive();
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &queue_passive_)));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // optional int32 queue_durable = 8;
- case 8: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(64u /* 64 & 0xFF */)) {
- set_has_queue_durable();
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &queue_durable_)));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // optional int32 queue_exclusive = 9 [default = 0];
- case 9: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(72u /* 72 & 0xFF */)) {
- set_has_queue_exclusive();
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &queue_exclusive_)));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // optional int32 queue_auto_delete = 10 [default = 0];
- case 10: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(80u /* 80 & 0xFF */)) {
- set_has_queue_auto_delete();
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &queue_auto_delete_)));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // optional int32 queue_meassage_ttl = 11 [default = 0];
- case 11: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(88u /* 88 & 0xFF */)) {
- set_has_queue_meassage_ttl();
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &queue_meassage_ttl_)));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // optional string consume_name = 12;
- case 12: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(98u /* 98 & 0xFF */)) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadString(
- input, this->mutable_consume_name()));
- ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
- this->consume_name().data(), static_cast<int>(this->consume_name().length()),
- ::google::protobuf::internal::WireFormat::PARSE,
- "Rabbitmq_proto.Rabbitmq_channel_queue_consume.consume_name");
- } else {
- goto handle_unusual;
- }
- break;
- }
- // optional int32 consume_no_local = 13 [default = 0];
- case 13: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(104u /* 104 & 0xFF */)) {
- set_has_consume_no_local();
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &consume_no_local_)));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // optional int32 consume_no_ack = 14 [default = 0];
- case 14: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(112u /* 112 & 0xFF */)) {
- set_has_consume_no_ack();
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &consume_no_ack_)));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // optional int32 consume_exclusive = 15;
- case 15: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(120u /* 120 & 0xFF */)) {
- set_has_consume_exclusive();
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &consume_exclusive_)));
- } else {
- goto handle_unusual;
- }
- break;
- }
- default: {
- handle_unusual:
- if (tag == 0) {
- goto success;
- }
- DO_(::google::protobuf::internal::WireFormat::SkipField(
- input, tag, _internal_metadata_.mutable_unknown_fields()));
- break;
- }
- }
- }
- success:
- // @@protoc_insertion_point(parse_success:Rabbitmq_proto.Rabbitmq_channel_queue_consume)
- return true;
- failure:
- // @@protoc_insertion_point(parse_failure:Rabbitmq_proto.Rabbitmq_channel_queue_consume)
- return false;
- #undef DO_
- }
- void Rabbitmq_channel_queue_consume::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // @@protoc_insertion_point(serialize_start:Rabbitmq_proto.Rabbitmq_channel_queue_consume)
- ::google::protobuf::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
- // optional int32 channel = 1;
- if (cached_has_bits & 0x00000020u) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->channel(), output);
- }
- // optional string exchange_name = 2;
- if (cached_has_bits & 0x00000001u) {
- ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
- this->exchange_name().data(), static_cast<int>(this->exchange_name().length()),
- ::google::protobuf::internal::WireFormat::SERIALIZE,
- "Rabbitmq_proto.Rabbitmq_channel_queue_consume.exchange_name");
- ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
- 2, this->exchange_name(), output);
- }
- // optional string routing_key = 3;
- if (cached_has_bits & 0x00000002u) {
- ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
- this->routing_key().data(), static_cast<int>(this->routing_key().length()),
- ::google::protobuf::internal::WireFormat::SERIALIZE,
- "Rabbitmq_proto.Rabbitmq_channel_queue_consume.routing_key");
- ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
- 3, this->routing_key(), output);
- }
- // optional int32 timeout_ms = 4;
- if (cached_has_bits & 0x00000040u) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->timeout_ms(), output);
- }
- // optional string binding_key = 5;
- if (cached_has_bits & 0x00000004u) {
- ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
- this->binding_key().data(), static_cast<int>(this->binding_key().length()),
- ::google::protobuf::internal::WireFormat::SERIALIZE,
- "Rabbitmq_proto.Rabbitmq_channel_queue_consume.binding_key");
- ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
- 5, this->binding_key(), output);
- }
- // optional string queue_name = 6;
- if (cached_has_bits & 0x00000008u) {
- ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
- this->queue_name().data(), static_cast<int>(this->queue_name().length()),
- ::google::protobuf::internal::WireFormat::SERIALIZE,
- "Rabbitmq_proto.Rabbitmq_channel_queue_consume.queue_name");
- ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
- 6, this->queue_name(), output);
- }
- // optional int32 queue_passive = 7 [default = 0];
- if (cached_has_bits & 0x00000080u) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(7, this->queue_passive(), output);
- }
- // optional int32 queue_durable = 8;
- if (cached_has_bits & 0x00000100u) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(8, this->queue_durable(), output);
- }
- // optional int32 queue_exclusive = 9 [default = 0];
- if (cached_has_bits & 0x00000200u) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(9, this->queue_exclusive(), output);
- }
- // optional int32 queue_auto_delete = 10 [default = 0];
- if (cached_has_bits & 0x00000400u) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(10, this->queue_auto_delete(), output);
- }
- // optional int32 queue_meassage_ttl = 11 [default = 0];
- if (cached_has_bits & 0x00000800u) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(11, this->queue_meassage_ttl(), output);
- }
- // optional string consume_name = 12;
- if (cached_has_bits & 0x00000010u) {
- ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
- this->consume_name().data(), static_cast<int>(this->consume_name().length()),
- ::google::protobuf::internal::WireFormat::SERIALIZE,
- "Rabbitmq_proto.Rabbitmq_channel_queue_consume.consume_name");
- ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
- 12, this->consume_name(), output);
- }
- // optional int32 consume_no_local = 13 [default = 0];
- if (cached_has_bits & 0x00001000u) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(13, this->consume_no_local(), output);
- }
- // optional int32 consume_no_ack = 14 [default = 0];
- if (cached_has_bits & 0x00002000u) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(14, this->consume_no_ack(), output);
- }
- // optional int32 consume_exclusive = 15;
- if (cached_has_bits & 0x00004000u) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(15, this->consume_exclusive(), output);
- }
- if (_internal_metadata_.have_unknown_fields()) {
- ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
- _internal_metadata_.unknown_fields(), output);
- }
- // @@protoc_insertion_point(serialize_end:Rabbitmq_proto.Rabbitmq_channel_queue_consume)
- }
- ::google::protobuf::uint8* Rabbitmq_channel_queue_consume::InternalSerializeWithCachedSizesToArray(
- bool deterministic, ::google::protobuf::uint8* target) const {
- (void)deterministic; // Unused
- // @@protoc_insertion_point(serialize_to_array_start:Rabbitmq_proto.Rabbitmq_channel_queue_consume)
- ::google::protobuf::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
- // optional int32 channel = 1;
- if (cached_has_bits & 0x00000020u) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->channel(), target);
- }
- // optional string exchange_name = 2;
- if (cached_has_bits & 0x00000001u) {
- ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
- this->exchange_name().data(), static_cast<int>(this->exchange_name().length()),
- ::google::protobuf::internal::WireFormat::SERIALIZE,
- "Rabbitmq_proto.Rabbitmq_channel_queue_consume.exchange_name");
- target =
- ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
- 2, this->exchange_name(), target);
- }
- // optional string routing_key = 3;
- if (cached_has_bits & 0x00000002u) {
- ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
- this->routing_key().data(), static_cast<int>(this->routing_key().length()),
- ::google::protobuf::internal::WireFormat::SERIALIZE,
- "Rabbitmq_proto.Rabbitmq_channel_queue_consume.routing_key");
- target =
- ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
- 3, this->routing_key(), target);
- }
- // optional int32 timeout_ms = 4;
- if (cached_has_bits & 0x00000040u) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->timeout_ms(), target);
- }
- // optional string binding_key = 5;
- if (cached_has_bits & 0x00000004u) {
- ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
- this->binding_key().data(), static_cast<int>(this->binding_key().length()),
- ::google::protobuf::internal::WireFormat::SERIALIZE,
- "Rabbitmq_proto.Rabbitmq_channel_queue_consume.binding_key");
- target =
- ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
- 5, this->binding_key(), target);
- }
- // optional string queue_name = 6;
- if (cached_has_bits & 0x00000008u) {
- ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
- this->queue_name().data(), static_cast<int>(this->queue_name().length()),
- ::google::protobuf::internal::WireFormat::SERIALIZE,
- "Rabbitmq_proto.Rabbitmq_channel_queue_consume.queue_name");
- target =
- ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
- 6, this->queue_name(), target);
- }
- // optional int32 queue_passive = 7 [default = 0];
- if (cached_has_bits & 0x00000080u) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(7, this->queue_passive(), target);
- }
- // optional int32 queue_durable = 8;
- if (cached_has_bits & 0x00000100u) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(8, this->queue_durable(), target);
- }
- // optional int32 queue_exclusive = 9 [default = 0];
- if (cached_has_bits & 0x00000200u) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(9, this->queue_exclusive(), target);
- }
- // optional int32 queue_auto_delete = 10 [default = 0];
- if (cached_has_bits & 0x00000400u) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(10, this->queue_auto_delete(), target);
- }
- // optional int32 queue_meassage_ttl = 11 [default = 0];
- if (cached_has_bits & 0x00000800u) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(11, this->queue_meassage_ttl(), target);
- }
- // optional string consume_name = 12;
- if (cached_has_bits & 0x00000010u) {
- ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
- this->consume_name().data(), static_cast<int>(this->consume_name().length()),
- ::google::protobuf::internal::WireFormat::SERIALIZE,
- "Rabbitmq_proto.Rabbitmq_channel_queue_consume.consume_name");
- target =
- ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
- 12, this->consume_name(), target);
- }
- // optional int32 consume_no_local = 13 [default = 0];
- if (cached_has_bits & 0x00001000u) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(13, this->consume_no_local(), target);
- }
- // optional int32 consume_no_ack = 14 [default = 0];
- if (cached_has_bits & 0x00002000u) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(14, this->consume_no_ack(), target);
- }
- // optional int32 consume_exclusive = 15;
- if (cached_has_bits & 0x00004000u) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(15, this->consume_exclusive(), target);
- }
- if (_internal_metadata_.have_unknown_fields()) {
- target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
- _internal_metadata_.unknown_fields(), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:Rabbitmq_proto.Rabbitmq_channel_queue_consume)
- return target;
- }
- size_t Rabbitmq_channel_queue_consume::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:Rabbitmq_proto.Rabbitmq_channel_queue_consume)
- size_t total_size = 0;
- if (_internal_metadata_.have_unknown_fields()) {
- total_size +=
- ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
- _internal_metadata_.unknown_fields());
- }
- if (_has_bits_[0 / 32] & 255u) {
- // optional string exchange_name = 2;
- if (has_exchange_name()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::StringSize(
- this->exchange_name());
- }
- // optional string routing_key = 3;
- if (has_routing_key()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::StringSize(
- this->routing_key());
- }
- // optional string binding_key = 5;
- if (has_binding_key()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::StringSize(
- this->binding_key());
- }
- // optional string queue_name = 6;
- if (has_queue_name()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::StringSize(
- this->queue_name());
- }
- // optional string consume_name = 12;
- if (has_consume_name()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::StringSize(
- this->consume_name());
- }
- // optional int32 channel = 1;
- if (has_channel()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->channel());
- }
- // optional int32 timeout_ms = 4;
- if (has_timeout_ms()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->timeout_ms());
- }
- // optional int32 queue_passive = 7 [default = 0];
- if (has_queue_passive()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->queue_passive());
- }
- }
- if (_has_bits_[8 / 32] & 32512u) {
- // optional int32 queue_durable = 8;
- if (has_queue_durable()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->queue_durable());
- }
- // optional int32 queue_exclusive = 9 [default = 0];
- if (has_queue_exclusive()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->queue_exclusive());
- }
- // optional int32 queue_auto_delete = 10 [default = 0];
- if (has_queue_auto_delete()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->queue_auto_delete());
- }
- // optional int32 queue_meassage_ttl = 11 [default = 0];
- if (has_queue_meassage_ttl()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->queue_meassage_ttl());
- }
- // optional int32 consume_no_local = 13 [default = 0];
- if (has_consume_no_local()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->consume_no_local());
- }
- // optional int32 consume_no_ack = 14 [default = 0];
- if (has_consume_no_ack()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->consume_no_ack());
- }
- // optional int32 consume_exclusive = 15;
- if (has_consume_exclusive()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->consume_exclusive());
- }
- }
- int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = cached_size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- return total_size;
- }
- void Rabbitmq_channel_queue_consume::MergeFrom(const ::google::protobuf::Message& from) {
- // @@protoc_insertion_point(generalized_merge_from_start:Rabbitmq_proto.Rabbitmq_channel_queue_consume)
- GOOGLE_DCHECK_NE(&from, this);
- const Rabbitmq_channel_queue_consume* source =
- ::google::protobuf::internal::DynamicCastToGenerated<const Rabbitmq_channel_queue_consume>(
- &from);
- if (source == NULL) {
- // @@protoc_insertion_point(generalized_merge_from_cast_fail:Rabbitmq_proto.Rabbitmq_channel_queue_consume)
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- // @@protoc_insertion_point(generalized_merge_from_cast_success:Rabbitmq_proto.Rabbitmq_channel_queue_consume)
- MergeFrom(*source);
- }
- }
- void Rabbitmq_channel_queue_consume::MergeFrom(const Rabbitmq_channel_queue_consume& from) {
- // @@protoc_insertion_point(class_specific_merge_from_start:Rabbitmq_proto.Rabbitmq_channel_queue_consume)
- GOOGLE_DCHECK_NE(&from, this);
- _internal_metadata_.MergeFrom(from._internal_metadata_);
- ::google::protobuf::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = from._has_bits_[0];
- if (cached_has_bits & 255u) {
- if (cached_has_bits & 0x00000001u) {
- set_has_exchange_name();
- exchange_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.exchange_name_);
- }
- if (cached_has_bits & 0x00000002u) {
- set_has_routing_key();
- routing_key_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.routing_key_);
- }
- if (cached_has_bits & 0x00000004u) {
- set_has_binding_key();
- binding_key_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.binding_key_);
- }
- if (cached_has_bits & 0x00000008u) {
- set_has_queue_name();
- queue_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.queue_name_);
- }
- if (cached_has_bits & 0x00000010u) {
- set_has_consume_name();
- consume_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.consume_name_);
- }
- if (cached_has_bits & 0x00000020u) {
- channel_ = from.channel_;
- }
- if (cached_has_bits & 0x00000040u) {
- timeout_ms_ = from.timeout_ms_;
- }
- if (cached_has_bits & 0x00000080u) {
- queue_passive_ = from.queue_passive_;
- }
- _has_bits_[0] |= cached_has_bits;
- }
- if (cached_has_bits & 32512u) {
- if (cached_has_bits & 0x00000100u) {
- queue_durable_ = from.queue_durable_;
- }
- if (cached_has_bits & 0x00000200u) {
- queue_exclusive_ = from.queue_exclusive_;
- }
- if (cached_has_bits & 0x00000400u) {
- queue_auto_delete_ = from.queue_auto_delete_;
- }
- if (cached_has_bits & 0x00000800u) {
- queue_meassage_ttl_ = from.queue_meassage_ttl_;
- }
- if (cached_has_bits & 0x00001000u) {
- consume_no_local_ = from.consume_no_local_;
- }
- if (cached_has_bits & 0x00002000u) {
- consume_no_ack_ = from.consume_no_ack_;
- }
- if (cached_has_bits & 0x00004000u) {
- consume_exclusive_ = from.consume_exclusive_;
- }
- _has_bits_[0] |= cached_has_bits;
- }
- }
- void Rabbitmq_channel_queue_consume::CopyFrom(const ::google::protobuf::Message& from) {
- // @@protoc_insertion_point(generalized_copy_from_start:Rabbitmq_proto.Rabbitmq_channel_queue_consume)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void Rabbitmq_channel_queue_consume::CopyFrom(const Rabbitmq_channel_queue_consume& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:Rabbitmq_proto.Rabbitmq_channel_queue_consume)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool Rabbitmq_channel_queue_consume::IsInitialized() const {
- return true;
- }
- void Rabbitmq_channel_queue_consume::Swap(Rabbitmq_channel_queue_consume* other) {
- if (other == this) return;
- InternalSwap(other);
- }
- void Rabbitmq_channel_queue_consume::InternalSwap(Rabbitmq_channel_queue_consume* other) {
- using std::swap;
- exchange_name_.Swap(&other->exchange_name_);
- routing_key_.Swap(&other->routing_key_);
- binding_key_.Swap(&other->binding_key_);
- queue_name_.Swap(&other->queue_name_);
- consume_name_.Swap(&other->consume_name_);
- swap(channel_, other->channel_);
- swap(timeout_ms_, other->timeout_ms_);
- swap(queue_passive_, other->queue_passive_);
- swap(queue_durable_, other->queue_durable_);
- swap(queue_exclusive_, other->queue_exclusive_);
- swap(queue_auto_delete_, other->queue_auto_delete_);
- swap(queue_meassage_ttl_, other->queue_meassage_ttl_);
- swap(consume_no_local_, other->consume_no_local_);
- swap(consume_no_ack_, other->consume_no_ack_);
- swap(consume_exclusive_, other->consume_exclusive_);
- swap(_has_bits_[0], other->_has_bits_[0]);
- _internal_metadata_.Swap(&other->_internal_metadata_);
- swap(_cached_size_, other->_cached_size_);
- }
- ::google::protobuf::Metadata Rabbitmq_channel_queue_consume::GetMetadata() const {
- protobuf_rabbitmq_2eproto::protobuf_AssignDescriptorsOnce();
- return ::protobuf_rabbitmq_2eproto::file_level_metadata[kIndexInFileMessages];
- }
- // ===================================================================
- void Rabbitmq_parameter::InitAsDefaultInstance() {
- }
- #if !defined(_MSC_VER) || _MSC_VER >= 1900
- const int Rabbitmq_parameter::kIpFieldNumber;
- const int Rabbitmq_parameter::kPortFieldNumber;
- const int Rabbitmq_parameter::kUserFieldNumber;
- const int Rabbitmq_parameter::kPasswordFieldNumber;
- const int Rabbitmq_parameter::kRabbitmqRecieverVectorFieldNumber;
- const int Rabbitmq_parameter::kRabbitmqSenderRequestVectorFieldNumber;
- const int Rabbitmq_parameter::kRabbitmqSenderStatusVectorFieldNumber;
- #endif // !defined(_MSC_VER) || _MSC_VER >= 1900
- Rabbitmq_parameter::Rabbitmq_parameter()
- : ::google::protobuf::Message(), _internal_metadata_(NULL) {
- if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
- ::protobuf_rabbitmq_2eproto::InitDefaultsRabbitmq_parameter();
- }
- SharedCtor();
- // @@protoc_insertion_point(constructor:Rabbitmq_proto.Rabbitmq_parameter)
- }
- Rabbitmq_parameter::Rabbitmq_parameter(const Rabbitmq_parameter& from)
- : ::google::protobuf::Message(),
- _internal_metadata_(NULL),
- _has_bits_(from._has_bits_),
- _cached_size_(0),
- rabbitmq_reciever_vector_(from.rabbitmq_reciever_vector_),
- rabbitmq_sender_request_vector_(from.rabbitmq_sender_request_vector_),
- rabbitmq_sender_status_vector_(from.rabbitmq_sender_status_vector_) {
- _internal_metadata_.MergeFrom(from._internal_metadata_);
- ip_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- if (from.has_ip()) {
- ip_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.ip_);
- }
- user_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- if (from.has_user()) {
- user_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.user_);
- }
- password_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- if (from.has_password()) {
- password_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.password_);
- }
- port_ = from.port_;
- // @@protoc_insertion_point(copy_constructor:Rabbitmq_proto.Rabbitmq_parameter)
- }
- void Rabbitmq_parameter::SharedCtor() {
- _cached_size_ = 0;
- ip_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- user_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- password_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- port_ = 0;
- }
- Rabbitmq_parameter::~Rabbitmq_parameter() {
- // @@protoc_insertion_point(destructor:Rabbitmq_proto.Rabbitmq_parameter)
- SharedDtor();
- }
- void Rabbitmq_parameter::SharedDtor() {
- ip_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- user_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- password_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- void Rabbitmq_parameter::SetCachedSize(int size) const {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- }
- const ::google::protobuf::Descriptor* Rabbitmq_parameter::descriptor() {
- ::protobuf_rabbitmq_2eproto::protobuf_AssignDescriptorsOnce();
- return ::protobuf_rabbitmq_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
- }
- const Rabbitmq_parameter& Rabbitmq_parameter::default_instance() {
- ::protobuf_rabbitmq_2eproto::InitDefaultsRabbitmq_parameter();
- return *internal_default_instance();
- }
- Rabbitmq_parameter* Rabbitmq_parameter::New(::google::protobuf::Arena* arena) const {
- Rabbitmq_parameter* n = new Rabbitmq_parameter;
- if (arena != NULL) {
- arena->Own(n);
- }
- return n;
- }
- void Rabbitmq_parameter::Clear() {
- // @@protoc_insertion_point(message_clear_start:Rabbitmq_proto.Rabbitmq_parameter)
- ::google::protobuf::uint32 cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- rabbitmq_reciever_vector_.Clear();
- rabbitmq_sender_request_vector_.Clear();
- rabbitmq_sender_status_vector_.Clear();
- cached_has_bits = _has_bits_[0];
- if (cached_has_bits & 7u) {
- if (cached_has_bits & 0x00000001u) {
- GOOGLE_DCHECK(!ip_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
- (*ip_.UnsafeRawStringPointer())->clear();
- }
- if (cached_has_bits & 0x00000002u) {
- GOOGLE_DCHECK(!user_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
- (*user_.UnsafeRawStringPointer())->clear();
- }
- if (cached_has_bits & 0x00000004u) {
- GOOGLE_DCHECK(!password_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
- (*password_.UnsafeRawStringPointer())->clear();
- }
- }
- port_ = 0;
- _has_bits_.Clear();
- _internal_metadata_.Clear();
- }
- bool Rabbitmq_parameter::MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) {
- #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
- ::google::protobuf::uint32 tag;
- // @@protoc_insertion_point(parse_start:Rabbitmq_proto.Rabbitmq_parameter)
- for (;;) {
- ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
- tag = p.first;
- if (!p.second) goto handle_unusual;
- switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
- // optional string ip = 1;
- case 1: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadString(
- input, this->mutable_ip()));
- ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
- this->ip().data(), static_cast<int>(this->ip().length()),
- ::google::protobuf::internal::WireFormat::PARSE,
- "Rabbitmq_proto.Rabbitmq_parameter.ip");
- } else {
- goto handle_unusual;
- }
- break;
- }
- // optional int32 port = 2;
- case 2: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) {
- set_has_port();
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &port_)));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // optional string user = 3;
- case 3: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadString(
- input, this->mutable_user()));
- ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
- this->user().data(), static_cast<int>(this->user().length()),
- ::google::protobuf::internal::WireFormat::PARSE,
- "Rabbitmq_proto.Rabbitmq_parameter.user");
- } else {
- goto handle_unusual;
- }
- break;
- }
- // optional string password = 4;
- case 4: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(34u /* 34 & 0xFF */)) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadString(
- input, this->mutable_password()));
- ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
- this->password().data(), static_cast<int>(this->password().length()),
- ::google::protobuf::internal::WireFormat::PARSE,
- "Rabbitmq_proto.Rabbitmq_parameter.password");
- } else {
- goto handle_unusual;
- }
- break;
- }
- // repeated .Rabbitmq_proto.Rabbitmq_channel_queue_consume rabbitmq_reciever_vector = 5;
- case 5: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(42u /* 42 & 0xFF */)) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(input, add_rabbitmq_reciever_vector()));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // repeated .Rabbitmq_proto.Rabbitmq_channel_queue_consume rabbitmq_sender_request_vector = 6;
- case 6: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(50u /* 50 & 0xFF */)) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(input, add_rabbitmq_sender_request_vector()));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // repeated .Rabbitmq_proto.Rabbitmq_channel_queue_consume rabbitmq_sender_status_vector = 7;
- case 7: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(58u /* 58 & 0xFF */)) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(input, add_rabbitmq_sender_status_vector()));
- } else {
- goto handle_unusual;
- }
- break;
- }
- default: {
- handle_unusual:
- if (tag == 0) {
- goto success;
- }
- DO_(::google::protobuf::internal::WireFormat::SkipField(
- input, tag, _internal_metadata_.mutable_unknown_fields()));
- break;
- }
- }
- }
- success:
- // @@protoc_insertion_point(parse_success:Rabbitmq_proto.Rabbitmq_parameter)
- return true;
- failure:
- // @@protoc_insertion_point(parse_failure:Rabbitmq_proto.Rabbitmq_parameter)
- return false;
- #undef DO_
- }
- void Rabbitmq_parameter::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // @@protoc_insertion_point(serialize_start:Rabbitmq_proto.Rabbitmq_parameter)
- ::google::protobuf::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
- // optional string ip = 1;
- if (cached_has_bits & 0x00000001u) {
- ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
- this->ip().data(), static_cast<int>(this->ip().length()),
- ::google::protobuf::internal::WireFormat::SERIALIZE,
- "Rabbitmq_proto.Rabbitmq_parameter.ip");
- ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
- 1, this->ip(), output);
- }
- // optional int32 port = 2;
- if (cached_has_bits & 0x00000008u) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->port(), output);
- }
- // optional string user = 3;
- if (cached_has_bits & 0x00000002u) {
- ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
- this->user().data(), static_cast<int>(this->user().length()),
- ::google::protobuf::internal::WireFormat::SERIALIZE,
- "Rabbitmq_proto.Rabbitmq_parameter.user");
- ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
- 3, this->user(), output);
- }
- // optional string password = 4;
- if (cached_has_bits & 0x00000004u) {
- ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
- this->password().data(), static_cast<int>(this->password().length()),
- ::google::protobuf::internal::WireFormat::SERIALIZE,
- "Rabbitmq_proto.Rabbitmq_parameter.password");
- ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
- 4, this->password(), output);
- }
- // repeated .Rabbitmq_proto.Rabbitmq_channel_queue_consume rabbitmq_reciever_vector = 5;
- for (unsigned int i = 0,
- n = static_cast<unsigned int>(this->rabbitmq_reciever_vector_size()); i < n; i++) {
- ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
- 5, this->rabbitmq_reciever_vector(static_cast<int>(i)), output);
- }
- // repeated .Rabbitmq_proto.Rabbitmq_channel_queue_consume rabbitmq_sender_request_vector = 6;
- for (unsigned int i = 0,
- n = static_cast<unsigned int>(this->rabbitmq_sender_request_vector_size()); i < n; i++) {
- ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
- 6, this->rabbitmq_sender_request_vector(static_cast<int>(i)), output);
- }
- // repeated .Rabbitmq_proto.Rabbitmq_channel_queue_consume rabbitmq_sender_status_vector = 7;
- for (unsigned int i = 0,
- n = static_cast<unsigned int>(this->rabbitmq_sender_status_vector_size()); i < n; i++) {
- ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
- 7, this->rabbitmq_sender_status_vector(static_cast<int>(i)), output);
- }
- if (_internal_metadata_.have_unknown_fields()) {
- ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
- _internal_metadata_.unknown_fields(), output);
- }
- // @@protoc_insertion_point(serialize_end:Rabbitmq_proto.Rabbitmq_parameter)
- }
- ::google::protobuf::uint8* Rabbitmq_parameter::InternalSerializeWithCachedSizesToArray(
- bool deterministic, ::google::protobuf::uint8* target) const {
- (void)deterministic; // Unused
- // @@protoc_insertion_point(serialize_to_array_start:Rabbitmq_proto.Rabbitmq_parameter)
- ::google::protobuf::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
- // optional string ip = 1;
- if (cached_has_bits & 0x00000001u) {
- ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
- this->ip().data(), static_cast<int>(this->ip().length()),
- ::google::protobuf::internal::WireFormat::SERIALIZE,
- "Rabbitmq_proto.Rabbitmq_parameter.ip");
- target =
- ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
- 1, this->ip(), target);
- }
- // optional int32 port = 2;
- if (cached_has_bits & 0x00000008u) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->port(), target);
- }
- // optional string user = 3;
- if (cached_has_bits & 0x00000002u) {
- ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
- this->user().data(), static_cast<int>(this->user().length()),
- ::google::protobuf::internal::WireFormat::SERIALIZE,
- "Rabbitmq_proto.Rabbitmq_parameter.user");
- target =
- ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
- 3, this->user(), target);
- }
- // optional string password = 4;
- if (cached_has_bits & 0x00000004u) {
- ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
- this->password().data(), static_cast<int>(this->password().length()),
- ::google::protobuf::internal::WireFormat::SERIALIZE,
- "Rabbitmq_proto.Rabbitmq_parameter.password");
- target =
- ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
- 4, this->password(), target);
- }
- // repeated .Rabbitmq_proto.Rabbitmq_channel_queue_consume rabbitmq_reciever_vector = 5;
- for (unsigned int i = 0,
- n = static_cast<unsigned int>(this->rabbitmq_reciever_vector_size()); i < n; i++) {
- target = ::google::protobuf::internal::WireFormatLite::
- InternalWriteMessageToArray(
- 5, this->rabbitmq_reciever_vector(static_cast<int>(i)), deterministic, target);
- }
- // repeated .Rabbitmq_proto.Rabbitmq_channel_queue_consume rabbitmq_sender_request_vector = 6;
- for (unsigned int i = 0,
- n = static_cast<unsigned int>(this->rabbitmq_sender_request_vector_size()); i < n; i++) {
- target = ::google::protobuf::internal::WireFormatLite::
- InternalWriteMessageToArray(
- 6, this->rabbitmq_sender_request_vector(static_cast<int>(i)), deterministic, target);
- }
- // repeated .Rabbitmq_proto.Rabbitmq_channel_queue_consume rabbitmq_sender_status_vector = 7;
- for (unsigned int i = 0,
- n = static_cast<unsigned int>(this->rabbitmq_sender_status_vector_size()); i < n; i++) {
- target = ::google::protobuf::internal::WireFormatLite::
- InternalWriteMessageToArray(
- 7, this->rabbitmq_sender_status_vector(static_cast<int>(i)), deterministic, target);
- }
- if (_internal_metadata_.have_unknown_fields()) {
- target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
- _internal_metadata_.unknown_fields(), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:Rabbitmq_proto.Rabbitmq_parameter)
- return target;
- }
- size_t Rabbitmq_parameter::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:Rabbitmq_proto.Rabbitmq_parameter)
- size_t total_size = 0;
- if (_internal_metadata_.have_unknown_fields()) {
- total_size +=
- ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
- _internal_metadata_.unknown_fields());
- }
- // repeated .Rabbitmq_proto.Rabbitmq_channel_queue_consume rabbitmq_reciever_vector = 5;
- {
- unsigned int count = static_cast<unsigned int>(this->rabbitmq_reciever_vector_size());
- total_size += 1UL * count;
- for (unsigned int i = 0; i < count; i++) {
- total_size +=
- ::google::protobuf::internal::WireFormatLite::MessageSize(
- this->rabbitmq_reciever_vector(static_cast<int>(i)));
- }
- }
- // repeated .Rabbitmq_proto.Rabbitmq_channel_queue_consume rabbitmq_sender_request_vector = 6;
- {
- unsigned int count = static_cast<unsigned int>(this->rabbitmq_sender_request_vector_size());
- total_size += 1UL * count;
- for (unsigned int i = 0; i < count; i++) {
- total_size +=
- ::google::protobuf::internal::WireFormatLite::MessageSize(
- this->rabbitmq_sender_request_vector(static_cast<int>(i)));
- }
- }
- // repeated .Rabbitmq_proto.Rabbitmq_channel_queue_consume rabbitmq_sender_status_vector = 7;
- {
- unsigned int count = static_cast<unsigned int>(this->rabbitmq_sender_status_vector_size());
- total_size += 1UL * count;
- for (unsigned int i = 0; i < count; i++) {
- total_size +=
- ::google::protobuf::internal::WireFormatLite::MessageSize(
- this->rabbitmq_sender_status_vector(static_cast<int>(i)));
- }
- }
- if (_has_bits_[0 / 32] & 15u) {
- // optional string ip = 1;
- if (has_ip()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::StringSize(
- this->ip());
- }
- // optional string user = 3;
- if (has_user()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::StringSize(
- this->user());
- }
- // optional string password = 4;
- if (has_password()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::StringSize(
- this->password());
- }
- // optional int32 port = 2;
- if (has_port()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->port());
- }
- }
- int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = cached_size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- return total_size;
- }
- void Rabbitmq_parameter::MergeFrom(const ::google::protobuf::Message& from) {
- // @@protoc_insertion_point(generalized_merge_from_start:Rabbitmq_proto.Rabbitmq_parameter)
- GOOGLE_DCHECK_NE(&from, this);
- const Rabbitmq_parameter* source =
- ::google::protobuf::internal::DynamicCastToGenerated<const Rabbitmq_parameter>(
- &from);
- if (source == NULL) {
- // @@protoc_insertion_point(generalized_merge_from_cast_fail:Rabbitmq_proto.Rabbitmq_parameter)
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- // @@protoc_insertion_point(generalized_merge_from_cast_success:Rabbitmq_proto.Rabbitmq_parameter)
- MergeFrom(*source);
- }
- }
- void Rabbitmq_parameter::MergeFrom(const Rabbitmq_parameter& from) {
- // @@protoc_insertion_point(class_specific_merge_from_start:Rabbitmq_proto.Rabbitmq_parameter)
- GOOGLE_DCHECK_NE(&from, this);
- _internal_metadata_.MergeFrom(from._internal_metadata_);
- ::google::protobuf::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
- rabbitmq_reciever_vector_.MergeFrom(from.rabbitmq_reciever_vector_);
- rabbitmq_sender_request_vector_.MergeFrom(from.rabbitmq_sender_request_vector_);
- rabbitmq_sender_status_vector_.MergeFrom(from.rabbitmq_sender_status_vector_);
- cached_has_bits = from._has_bits_[0];
- if (cached_has_bits & 15u) {
- if (cached_has_bits & 0x00000001u) {
- set_has_ip();
- ip_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.ip_);
- }
- if (cached_has_bits & 0x00000002u) {
- set_has_user();
- user_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.user_);
- }
- if (cached_has_bits & 0x00000004u) {
- set_has_password();
- password_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.password_);
- }
- if (cached_has_bits & 0x00000008u) {
- port_ = from.port_;
- }
- _has_bits_[0] |= cached_has_bits;
- }
- }
- void Rabbitmq_parameter::CopyFrom(const ::google::protobuf::Message& from) {
- // @@protoc_insertion_point(generalized_copy_from_start:Rabbitmq_proto.Rabbitmq_parameter)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void Rabbitmq_parameter::CopyFrom(const Rabbitmq_parameter& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:Rabbitmq_proto.Rabbitmq_parameter)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool Rabbitmq_parameter::IsInitialized() const {
- return true;
- }
- void Rabbitmq_parameter::Swap(Rabbitmq_parameter* other) {
- if (other == this) return;
- InternalSwap(other);
- }
- void Rabbitmq_parameter::InternalSwap(Rabbitmq_parameter* other) {
- using std::swap;
- rabbitmq_reciever_vector_.InternalSwap(&other->rabbitmq_reciever_vector_);
- rabbitmq_sender_request_vector_.InternalSwap(&other->rabbitmq_sender_request_vector_);
- rabbitmq_sender_status_vector_.InternalSwap(&other->rabbitmq_sender_status_vector_);
- ip_.Swap(&other->ip_);
- user_.Swap(&other->user_);
- password_.Swap(&other->password_);
- swap(port_, other->port_);
- swap(_has_bits_[0], other->_has_bits_[0]);
- _internal_metadata_.Swap(&other->_internal_metadata_);
- swap(_cached_size_, other->_cached_size_);
- }
- ::google::protobuf::Metadata Rabbitmq_parameter::GetMetadata() const {
- protobuf_rabbitmq_2eproto::protobuf_AssignDescriptorsOnce();
- return ::protobuf_rabbitmq_2eproto::file_level_metadata[kIndexInFileMessages];
- }
- // ===================================================================
- void Rabbitmq_parameter_all::InitAsDefaultInstance() {
- ::Rabbitmq_proto::_Rabbitmq_parameter_all_default_instance_._instance.get_mutable()->rabbitmq_parameters_ = const_cast< ::Rabbitmq_proto::Rabbitmq_parameter*>(
- ::Rabbitmq_proto::Rabbitmq_parameter::internal_default_instance());
- }
- #if !defined(_MSC_VER) || _MSC_VER >= 1900
- const int Rabbitmq_parameter_all::kRabbitmqParametersFieldNumber;
- #endif // !defined(_MSC_VER) || _MSC_VER >= 1900
- Rabbitmq_parameter_all::Rabbitmq_parameter_all()
- : ::google::protobuf::Message(), _internal_metadata_(NULL) {
- if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
- ::protobuf_rabbitmq_2eproto::InitDefaultsRabbitmq_parameter_all();
- }
- SharedCtor();
- // @@protoc_insertion_point(constructor:Rabbitmq_proto.Rabbitmq_parameter_all)
- }
- Rabbitmq_parameter_all::Rabbitmq_parameter_all(const Rabbitmq_parameter_all& from)
- : ::google::protobuf::Message(),
- _internal_metadata_(NULL),
- _has_bits_(from._has_bits_),
- _cached_size_(0) {
- _internal_metadata_.MergeFrom(from._internal_metadata_);
- if (from.has_rabbitmq_parameters()) {
- rabbitmq_parameters_ = new ::Rabbitmq_proto::Rabbitmq_parameter(*from.rabbitmq_parameters_);
- } else {
- rabbitmq_parameters_ = NULL;
- }
- // @@protoc_insertion_point(copy_constructor:Rabbitmq_proto.Rabbitmq_parameter_all)
- }
- void Rabbitmq_parameter_all::SharedCtor() {
- _cached_size_ = 0;
- rabbitmq_parameters_ = NULL;
- }
- Rabbitmq_parameter_all::~Rabbitmq_parameter_all() {
- // @@protoc_insertion_point(destructor:Rabbitmq_proto.Rabbitmq_parameter_all)
- SharedDtor();
- }
- void Rabbitmq_parameter_all::SharedDtor() {
- if (this != internal_default_instance()) delete rabbitmq_parameters_;
- }
- void Rabbitmq_parameter_all::SetCachedSize(int size) const {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- }
- const ::google::protobuf::Descriptor* Rabbitmq_parameter_all::descriptor() {
- ::protobuf_rabbitmq_2eproto::protobuf_AssignDescriptorsOnce();
- return ::protobuf_rabbitmq_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
- }
- const Rabbitmq_parameter_all& Rabbitmq_parameter_all::default_instance() {
- ::protobuf_rabbitmq_2eproto::InitDefaultsRabbitmq_parameter_all();
- return *internal_default_instance();
- }
- Rabbitmq_parameter_all* Rabbitmq_parameter_all::New(::google::protobuf::Arena* arena) const {
- Rabbitmq_parameter_all* n = new Rabbitmq_parameter_all;
- if (arena != NULL) {
- arena->Own(n);
- }
- return n;
- }
- void Rabbitmq_parameter_all::Clear() {
- // @@protoc_insertion_point(message_clear_start:Rabbitmq_proto.Rabbitmq_parameter_all)
- ::google::protobuf::uint32 cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
- if (cached_has_bits & 0x00000001u) {
- GOOGLE_DCHECK(rabbitmq_parameters_ != NULL);
- rabbitmq_parameters_->Clear();
- }
- _has_bits_.Clear();
- _internal_metadata_.Clear();
- }
- bool Rabbitmq_parameter_all::MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) {
- #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
- ::google::protobuf::uint32 tag;
- // @@protoc_insertion_point(parse_start:Rabbitmq_proto.Rabbitmq_parameter_all)
- for (;;) {
- ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
- tag = p.first;
- if (!p.second) goto handle_unusual;
- switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
- // optional .Rabbitmq_proto.Rabbitmq_parameter rabbitmq_parameters = 1;
- case 1: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
- input, mutable_rabbitmq_parameters()));
- } else {
- goto handle_unusual;
- }
- break;
- }
- default: {
- handle_unusual:
- if (tag == 0) {
- goto success;
- }
- DO_(::google::protobuf::internal::WireFormat::SkipField(
- input, tag, _internal_metadata_.mutable_unknown_fields()));
- break;
- }
- }
- }
- success:
- // @@protoc_insertion_point(parse_success:Rabbitmq_proto.Rabbitmq_parameter_all)
- return true;
- failure:
- // @@protoc_insertion_point(parse_failure:Rabbitmq_proto.Rabbitmq_parameter_all)
- return false;
- #undef DO_
- }
- void Rabbitmq_parameter_all::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // @@protoc_insertion_point(serialize_start:Rabbitmq_proto.Rabbitmq_parameter_all)
- ::google::protobuf::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
- // optional .Rabbitmq_proto.Rabbitmq_parameter rabbitmq_parameters = 1;
- if (cached_has_bits & 0x00000001u) {
- ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
- 1, *this->rabbitmq_parameters_, output);
- }
- if (_internal_metadata_.have_unknown_fields()) {
- ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
- _internal_metadata_.unknown_fields(), output);
- }
- // @@protoc_insertion_point(serialize_end:Rabbitmq_proto.Rabbitmq_parameter_all)
- }
- ::google::protobuf::uint8* Rabbitmq_parameter_all::InternalSerializeWithCachedSizesToArray(
- bool deterministic, ::google::protobuf::uint8* target) const {
- (void)deterministic; // Unused
- // @@protoc_insertion_point(serialize_to_array_start:Rabbitmq_proto.Rabbitmq_parameter_all)
- ::google::protobuf::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
- // optional .Rabbitmq_proto.Rabbitmq_parameter rabbitmq_parameters = 1;
- if (cached_has_bits & 0x00000001u) {
- target = ::google::protobuf::internal::WireFormatLite::
- InternalWriteMessageToArray(
- 1, *this->rabbitmq_parameters_, deterministic, target);
- }
- if (_internal_metadata_.have_unknown_fields()) {
- target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
- _internal_metadata_.unknown_fields(), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:Rabbitmq_proto.Rabbitmq_parameter_all)
- return target;
- }
- size_t Rabbitmq_parameter_all::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:Rabbitmq_proto.Rabbitmq_parameter_all)
- size_t total_size = 0;
- if (_internal_metadata_.have_unknown_fields()) {
- total_size +=
- ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
- _internal_metadata_.unknown_fields());
- }
- // optional .Rabbitmq_proto.Rabbitmq_parameter rabbitmq_parameters = 1;
- if (has_rabbitmq_parameters()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::MessageSize(
- *this->rabbitmq_parameters_);
- }
- int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = cached_size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- return total_size;
- }
- void Rabbitmq_parameter_all::MergeFrom(const ::google::protobuf::Message& from) {
- // @@protoc_insertion_point(generalized_merge_from_start:Rabbitmq_proto.Rabbitmq_parameter_all)
- GOOGLE_DCHECK_NE(&from, this);
- const Rabbitmq_parameter_all* source =
- ::google::protobuf::internal::DynamicCastToGenerated<const Rabbitmq_parameter_all>(
- &from);
- if (source == NULL) {
- // @@protoc_insertion_point(generalized_merge_from_cast_fail:Rabbitmq_proto.Rabbitmq_parameter_all)
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- // @@protoc_insertion_point(generalized_merge_from_cast_success:Rabbitmq_proto.Rabbitmq_parameter_all)
- MergeFrom(*source);
- }
- }
- void Rabbitmq_parameter_all::MergeFrom(const Rabbitmq_parameter_all& from) {
- // @@protoc_insertion_point(class_specific_merge_from_start:Rabbitmq_proto.Rabbitmq_parameter_all)
- GOOGLE_DCHECK_NE(&from, this);
- _internal_metadata_.MergeFrom(from._internal_metadata_);
- ::google::protobuf::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
- if (from.has_rabbitmq_parameters()) {
- mutable_rabbitmq_parameters()->::Rabbitmq_proto::Rabbitmq_parameter::MergeFrom(from.rabbitmq_parameters());
- }
- }
- void Rabbitmq_parameter_all::CopyFrom(const ::google::protobuf::Message& from) {
- // @@protoc_insertion_point(generalized_copy_from_start:Rabbitmq_proto.Rabbitmq_parameter_all)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void Rabbitmq_parameter_all::CopyFrom(const Rabbitmq_parameter_all& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:Rabbitmq_proto.Rabbitmq_parameter_all)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool Rabbitmq_parameter_all::IsInitialized() const {
- return true;
- }
- void Rabbitmq_parameter_all::Swap(Rabbitmq_parameter_all* other) {
- if (other == this) return;
- InternalSwap(other);
- }
- void Rabbitmq_parameter_all::InternalSwap(Rabbitmq_parameter_all* other) {
- using std::swap;
- swap(rabbitmq_parameters_, other->rabbitmq_parameters_);
- swap(_has_bits_[0], other->_has_bits_[0]);
- _internal_metadata_.Swap(&other->_internal_metadata_);
- swap(_cached_size_, other->_cached_size_);
- }
- ::google::protobuf::Metadata Rabbitmq_parameter_all::GetMetadata() const {
- protobuf_rabbitmq_2eproto::protobuf_AssignDescriptorsOnce();
- return ::protobuf_rabbitmq_2eproto::file_level_metadata[kIndexInFileMessages];
- }
- // @@protoc_insertion_point(namespace_scope)
- } // namespace Rabbitmq_proto
- // @@protoc_insertion_point(global_scope)
|