// Generated by the protocol buffer compiler. DO NOT EDIT! // source: rabbitmq.proto #include "rabbitmq.pb.h" #include #include #include #include #include #include #include #include #include // This is a temporary google only hack #ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS #include "third_party/protobuf/version.h" #endif // @@protoc_insertion_point(includes) namespace protobuf_rabbitmq_2eproto { extern PROTOBUF_INTERNAL_EXPORT_protobuf_rabbitmq_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_Rabbitmq_channel_queue_consume; extern PROTOBUF_INTERNAL_EXPORT_protobuf_rabbitmq_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_Rabbitmq_parameter; } // namespace protobuf_rabbitmq_2eproto namespace Rabbitmq_proto { class Rabbitmq_channel_queue_consumeDefaultTypeInternal { public: ::google::protobuf::internal::ExplicitlyConstructed _instance; } _Rabbitmq_channel_queue_consume_default_instance_; class Rabbitmq_parameterDefaultTypeInternal { public: ::google::protobuf::internal::ExplicitlyConstructed _instance; } _Rabbitmq_parameter_default_instance_; class Rabbitmq_parameter_allDefaultTypeInternal { public: ::google::protobuf::internal::ExplicitlyConstructed _instance; } _Rabbitmq_parameter_all_default_instance_; } // namespace Rabbitmq_proto namespace protobuf_rabbitmq_2eproto { static void InitDefaultsRabbitmq_channel_queue_consume() { GOOGLE_PROTOBUF_VERIFY_VERSION; { 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(); } ::google::protobuf::internal::SCCInfo<0> scc_info_Rabbitmq_channel_queue_consume = {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsRabbitmq_channel_queue_consume}, {}}; static void InitDefaultsRabbitmq_parameter() { GOOGLE_PROTOBUF_VERIFY_VERSION; { void* ptr = &::Rabbitmq_proto::_Rabbitmq_parameter_default_instance_; new (ptr) ::Rabbitmq_proto::Rabbitmq_parameter(); ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); } ::Rabbitmq_proto::Rabbitmq_parameter::InitAsDefaultInstance(); } ::google::protobuf::internal::SCCInfo<1> scc_info_Rabbitmq_parameter = {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsRabbitmq_parameter}, { &protobuf_rabbitmq_2eproto::scc_info_Rabbitmq_channel_queue_consume.base,}}; static void InitDefaultsRabbitmq_parameter_all() { GOOGLE_PROTOBUF_VERIFY_VERSION; { 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(); } ::google::protobuf::internal::SCCInfo<1> scc_info_Rabbitmq_parameter_all = {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsRabbitmq_parameter_all}, { &protobuf_rabbitmq_2eproto::scc_info_Rabbitmq_parameter.base,}}; void InitDefaults() { ::google::protobuf::internal::InitSCC(&scc_info_Rabbitmq_channel_queue_consume.base); ::google::protobuf::internal::InitSCC(&scc_info_Rabbitmq_parameter.base); ::google::protobuf::internal::InitSCC(&scc_info_Rabbitmq_parameter_all.base); } ::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(&::Rabbitmq_proto::_Rabbitmq_channel_queue_consume_default_instance_), reinterpret_cast(&::Rabbitmq_proto::_Rabbitmq_parameter_default_instance_), reinterpret_cast(&::Rabbitmq_proto::_Rabbitmq_parameter_all_default_instance_), }; void protobuf_AssignDescriptors() { AddDescriptors(); AssignDescriptors( "rabbitmq.proto", schemas, file_default_instances, TableStruct::offsets, file_level_metadata, NULL, NULL); } void protobuf_AssignDescriptorsOnce() { static ::google::protobuf::internal::once_flag once; ::google::protobuf::internal::call_once(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::internal::once_flag once; ::google::protobuf::internal::call_once(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) { ::google::protobuf::internal::InitSCC( &protobuf_rabbitmq_2eproto::scc_info_Rabbitmq_channel_queue_consume.base); 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_) { _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(reinterpret_cast(&consume_exclusive_) - reinterpret_cast(&channel_)) + sizeof(consume_exclusive_)); // @@protoc_insertion_point(copy_constructor:Rabbitmq_proto.Rabbitmq_channel_queue_consume) } void Rabbitmq_channel_queue_consume::SharedCtor() { 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( reinterpret_cast(&consume_exclusive_) - reinterpret_cast(&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 { _cached_size_.Set(size); } 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() { ::google::protobuf::internal::InitSCC(&protobuf_rabbitmq_2eproto::scc_info_Rabbitmq_channel_queue_consume.base); return *internal_default_instance(); } 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) { exchange_name_.ClearNonDefaultToEmptyNoArena(); } if (cached_has_bits & 0x00000002u) { routing_key_.ClearNonDefaultToEmptyNoArena(); } if (cached_has_bits & 0x00000004u) { binding_key_.ClearNonDefaultToEmptyNoArena(); } if (cached_has_bits & 0x00000008u) { queue_name_.ClearNonDefaultToEmptyNoArena(); } if (cached_has_bits & 0x00000010u) { consume_name_.ClearNonDefaultToEmptyNoArena(); } } if (cached_has_bits & 224u) { ::memset(&channel_, 0, static_cast( reinterpret_cast(&queue_passive_) - reinterpret_cast(&channel_)) + sizeof(queue_passive_)); } if (cached_has_bits & 32512u) { ::memset(&queue_durable_, 0, static_cast( reinterpret_cast(&consume_exclusive_) - reinterpret_cast(&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(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(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(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(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(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(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(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(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(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(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(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(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(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(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(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); SetCachedSize(cached_size); 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( &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_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); routing_key_.Swap(&other->routing_key_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); binding_key_.Swap(&other->binding_key_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); queue_name_.Swap(&other->queue_name_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); consume_name_.Swap(&other->consume_name_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); 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_); } ::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) { ::google::protobuf::internal::InitSCC( &protobuf_rabbitmq_2eproto::scc_info_Rabbitmq_parameter.base); 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_), 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() { 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 { _cached_size_.Set(size); } 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() { ::google::protobuf::internal::InitSCC(&protobuf_rabbitmq_2eproto::scc_info_Rabbitmq_parameter.base); return *internal_default_instance(); } 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) { ip_.ClearNonDefaultToEmptyNoArena(); } if (cached_has_bits & 0x00000002u) { user_.ClearNonDefaultToEmptyNoArena(); } if (cached_has_bits & 0x00000004u) { password_.ClearNonDefaultToEmptyNoArena(); } } 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(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(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(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(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(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(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(this->rabbitmq_reciever_vector_size()); i < n; i++) { ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( 5, this->rabbitmq_reciever_vector(static_cast(i)), output); } // repeated .Rabbitmq_proto.Rabbitmq_channel_queue_consume rabbitmq_sender_request_vector = 6; for (unsigned int i = 0, n = static_cast(this->rabbitmq_sender_request_vector_size()); i < n; i++) { ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( 6, this->rabbitmq_sender_request_vector(static_cast(i)), output); } // repeated .Rabbitmq_proto.Rabbitmq_channel_queue_consume rabbitmq_sender_status_vector = 7; for (unsigned int i = 0, n = static_cast(this->rabbitmq_sender_status_vector_size()); i < n; i++) { ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( 7, this->rabbitmq_sender_status_vector(static_cast(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(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(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(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(this->rabbitmq_reciever_vector_size()); i < n; i++) { target = ::google::protobuf::internal::WireFormatLite:: InternalWriteMessageToArray( 5, this->rabbitmq_reciever_vector(static_cast(i)), deterministic, target); } // repeated .Rabbitmq_proto.Rabbitmq_channel_queue_consume rabbitmq_sender_request_vector = 6; for (unsigned int i = 0, n = static_cast(this->rabbitmq_sender_request_vector_size()); i < n; i++) { target = ::google::protobuf::internal::WireFormatLite:: InternalWriteMessageToArray( 6, this->rabbitmq_sender_request_vector(static_cast(i)), deterministic, target); } // repeated .Rabbitmq_proto.Rabbitmq_channel_queue_consume rabbitmq_sender_status_vector = 7; for (unsigned int i = 0, n = static_cast(this->rabbitmq_sender_status_vector_size()); i < n; i++) { target = ::google::protobuf::internal::WireFormatLite:: InternalWriteMessageToArray( 7, this->rabbitmq_sender_status_vector(static_cast(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(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(i))); } } // repeated .Rabbitmq_proto.Rabbitmq_channel_queue_consume rabbitmq_sender_request_vector = 6; { unsigned int count = static_cast(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(i))); } } // repeated .Rabbitmq_proto.Rabbitmq_channel_queue_consume rabbitmq_sender_status_vector = 7; { unsigned int count = static_cast(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(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); SetCachedSize(cached_size); 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( &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; CastToBase(&rabbitmq_reciever_vector_)->InternalSwap(CastToBase(&other->rabbitmq_reciever_vector_)); CastToBase(&rabbitmq_sender_request_vector_)->InternalSwap(CastToBase(&other->rabbitmq_sender_request_vector_)); CastToBase(&rabbitmq_sender_status_vector_)->InternalSwap(CastToBase(&other->rabbitmq_sender_status_vector_)); ip_.Swap(&other->ip_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); user_.Swap(&other->user_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); password_.Swap(&other->password_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); swap(port_, other->port_); swap(_has_bits_[0], other->_has_bits_[0]); _internal_metadata_.Swap(&other->_internal_metadata_); } ::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) { ::google::protobuf::internal::InitSCC( &protobuf_rabbitmq_2eproto::scc_info_Rabbitmq_parameter_all.base); 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_) { _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() { 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 { _cached_size_.Set(size); } 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() { ::google::protobuf::internal::InitSCC(&protobuf_rabbitmq_2eproto::scc_info_Rabbitmq_parameter_all.base); return *internal_default_instance(); } 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->_internal_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->_internal_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( *rabbitmq_parameters_); } int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); SetCachedSize(cached_size); 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( &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_); } ::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 namespace google { namespace protobuf { template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Rabbitmq_proto::Rabbitmq_channel_queue_consume* Arena::CreateMaybeMessage< ::Rabbitmq_proto::Rabbitmq_channel_queue_consume >(Arena* arena) { return Arena::CreateInternal< ::Rabbitmq_proto::Rabbitmq_channel_queue_consume >(arena); } template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Rabbitmq_proto::Rabbitmq_parameter* Arena::CreateMaybeMessage< ::Rabbitmq_proto::Rabbitmq_parameter >(Arena* arena) { return Arena::CreateInternal< ::Rabbitmq_proto::Rabbitmq_parameter >(arena); } template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Rabbitmq_proto::Rabbitmq_parameter_all* Arena::CreateMaybeMessage< ::Rabbitmq_proto::Rabbitmq_parameter_all >(Arena* arena) { return Arena::CreateInternal< ::Rabbitmq_proto::Rabbitmq_parameter_all >(arena); } } // namespace protobuf } // namespace google // @@protoc_insertion_point(global_scope)