123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596 |
- // Generated by the protocol buffer compiler. DO NOT EDIT!
- // source: UnNormalized_module_message.proto
- #include "UnNormalized_module_message.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 message {
- class UnNormalized_module_statu_msgDefaultTypeInternal {
- public:
- ::google::protobuf::internal::ExplicitlyConstructed<UnNormalized_module_statu_msg>
- _instance;
- } _UnNormalized_module_statu_msg_default_instance_;
- } // namespace message
- namespace protobuf_UnNormalized_5fmodule_5fmessage_2eproto {
- void InitDefaultsUnNormalized_module_statu_msgImpl() {
- GOOGLE_PROTOBUF_VERIFY_VERSION;
- #ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
- ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
- #else
- ::google::protobuf::internal::InitProtobufDefaults();
- #endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
- protobuf_message_5fbase_2eproto::InitDefaultsBase_info();
- protobuf_message_5fbase_2eproto::InitDefaultsId_struct();
- protobuf_message_5fbase_2eproto::InitDefaultsError_manager();
- {
- void* ptr = &::message::_UnNormalized_module_statu_msg_default_instance_;
- new (ptr) ::message::UnNormalized_module_statu_msg();
- ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
- }
- ::message::UnNormalized_module_statu_msg::InitAsDefaultInstance();
- }
- void InitDefaultsUnNormalized_module_statu_msg() {
- static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
- ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsUnNormalized_module_statu_msgImpl);
- }
- ::google::protobuf::Metadata file_level_metadata[1];
- const ::google::protobuf::uint32 TableStruct::offsets[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::UnNormalized_module_statu_msg, _has_bits_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::UnNormalized_module_statu_msg, _internal_metadata_),
- ~0u, // no _extensions_
- ~0u, // no _oneof_case_
- ~0u, // no _weak_field_map_
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::UnNormalized_module_statu_msg, base_info_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::UnNormalized_module_statu_msg, id_struct_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::UnNormalized_module_statu_msg, statu_code_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::UnNormalized_module_statu_msg, car_license_),
- 1,
- 2,
- 3,
- 0,
- };
- static const ::google::protobuf::internal::MigrationSchema schemas[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
- { 0, 9, sizeof(::message::UnNormalized_module_statu_msg)},
- };
- static ::google::protobuf::Message const * const file_default_instances[] = {
- reinterpret_cast<const ::google::protobuf::Message*>(&::message::_UnNormalized_module_statu_msg_default_instance_),
- };
- void protobuf_AssignDescriptors() {
- AddDescriptors();
- ::google::protobuf::MessageFactory* factory = NULL;
- AssignDescriptors(
- "UnNormalized_module_message.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, 1);
- }
- void AddDescriptorsImpl() {
- InitDefaults();
- static const char descriptor[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
- "\n!UnNormalized_module_message.proto\022\007mes"
- "sage\032\022message_base.proto\"\256\001\n\035UnNormalize"
- "d_module_statu_msg\022%\n\tbase_info\030\001 \002(\0132\022."
- "message.Base_info\022%\n\tid_struct\030\002 \002(\0132\022.m"
- "essage.Id_struct\022*\n\nstatu_code\030\003 \002(\0132\026.m"
- "essage.Error_manager\022\023\n\013car_license\030\004 \001("
- "\t"
- };
- ::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
- descriptor, 241);
- ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
- "UnNormalized_module_message.proto", &protobuf_RegisterTypes);
- ::protobuf_message_5fbase_2eproto::AddDescriptors();
- }
- 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_UnNormalized_5fmodule_5fmessage_2eproto
- namespace message {
- // ===================================================================
- void UnNormalized_module_statu_msg::InitAsDefaultInstance() {
- ::message::_UnNormalized_module_statu_msg_default_instance_._instance.get_mutable()->base_info_ = const_cast< ::message::Base_info*>(
- ::message::Base_info::internal_default_instance());
- ::message::_UnNormalized_module_statu_msg_default_instance_._instance.get_mutable()->id_struct_ = const_cast< ::message::Id_struct*>(
- ::message::Id_struct::internal_default_instance());
- ::message::_UnNormalized_module_statu_msg_default_instance_._instance.get_mutable()->statu_code_ = const_cast< ::message::Error_manager*>(
- ::message::Error_manager::internal_default_instance());
- }
- void UnNormalized_module_statu_msg::clear_base_info() {
- if (base_info_ != NULL) base_info_->Clear();
- clear_has_base_info();
- }
- void UnNormalized_module_statu_msg::clear_id_struct() {
- if (id_struct_ != NULL) id_struct_->Clear();
- clear_has_id_struct();
- }
- void UnNormalized_module_statu_msg::clear_statu_code() {
- if (statu_code_ != NULL) statu_code_->Clear();
- clear_has_statu_code();
- }
- #if !defined(_MSC_VER) || _MSC_VER >= 1900
- const int UnNormalized_module_statu_msg::kBaseInfoFieldNumber;
- const int UnNormalized_module_statu_msg::kIdStructFieldNumber;
- const int UnNormalized_module_statu_msg::kStatuCodeFieldNumber;
- const int UnNormalized_module_statu_msg::kCarLicenseFieldNumber;
- #endif // !defined(_MSC_VER) || _MSC_VER >= 1900
- UnNormalized_module_statu_msg::UnNormalized_module_statu_msg()
- : ::google::protobuf::Message(), _internal_metadata_(NULL) {
- if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
- ::protobuf_UnNormalized_5fmodule_5fmessage_2eproto::InitDefaultsUnNormalized_module_statu_msg();
- }
- SharedCtor();
- // @@protoc_insertion_point(constructor:message.UnNormalized_module_statu_msg)
- }
- UnNormalized_module_statu_msg::UnNormalized_module_statu_msg(const UnNormalized_module_statu_msg& from)
- : ::google::protobuf::Message(),
- _internal_metadata_(NULL),
- _has_bits_(from._has_bits_),
- _cached_size_(0) {
- _internal_metadata_.MergeFrom(from._internal_metadata_);
- car_license_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- if (from.has_car_license()) {
- car_license_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.car_license_);
- }
- if (from.has_base_info()) {
- base_info_ = new ::message::Base_info(*from.base_info_);
- } else {
- base_info_ = NULL;
- }
- if (from.has_id_struct()) {
- id_struct_ = new ::message::Id_struct(*from.id_struct_);
- } else {
- id_struct_ = NULL;
- }
- if (from.has_statu_code()) {
- statu_code_ = new ::message::Error_manager(*from.statu_code_);
- } else {
- statu_code_ = NULL;
- }
- // @@protoc_insertion_point(copy_constructor:message.UnNormalized_module_statu_msg)
- }
- void UnNormalized_module_statu_msg::SharedCtor() {
- _cached_size_ = 0;
- car_license_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- ::memset(&base_info_, 0, static_cast<size_t>(
- reinterpret_cast<char*>(&statu_code_) -
- reinterpret_cast<char*>(&base_info_)) + sizeof(statu_code_));
- }
- UnNormalized_module_statu_msg::~UnNormalized_module_statu_msg() {
- // @@protoc_insertion_point(destructor:message.UnNormalized_module_statu_msg)
- SharedDtor();
- }
- void UnNormalized_module_statu_msg::SharedDtor() {
- car_license_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- if (this != internal_default_instance()) delete base_info_;
- if (this != internal_default_instance()) delete id_struct_;
- if (this != internal_default_instance()) delete statu_code_;
- }
- void UnNormalized_module_statu_msg::SetCachedSize(int size) const {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- }
- const ::google::protobuf::Descriptor* UnNormalized_module_statu_msg::descriptor() {
- ::protobuf_UnNormalized_5fmodule_5fmessage_2eproto::protobuf_AssignDescriptorsOnce();
- return ::protobuf_UnNormalized_5fmodule_5fmessage_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
- }
- const UnNormalized_module_statu_msg& UnNormalized_module_statu_msg::default_instance() {
- ::protobuf_UnNormalized_5fmodule_5fmessage_2eproto::InitDefaultsUnNormalized_module_statu_msg();
- return *internal_default_instance();
- }
- UnNormalized_module_statu_msg* UnNormalized_module_statu_msg::New(::google::protobuf::Arena* arena) const {
- UnNormalized_module_statu_msg* n = new UnNormalized_module_statu_msg;
- if (arena != NULL) {
- arena->Own(n);
- }
- return n;
- }
- void UnNormalized_module_statu_msg::Clear() {
- // @@protoc_insertion_point(message_clear_start:message.UnNormalized_module_statu_msg)
- ::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 & 15u) {
- if (cached_has_bits & 0x00000001u) {
- GOOGLE_DCHECK(!car_license_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
- (*car_license_.UnsafeRawStringPointer())->clear();
- }
- if (cached_has_bits & 0x00000002u) {
- GOOGLE_DCHECK(base_info_ != NULL);
- base_info_->Clear();
- }
- if (cached_has_bits & 0x00000004u) {
- GOOGLE_DCHECK(id_struct_ != NULL);
- id_struct_->Clear();
- }
- if (cached_has_bits & 0x00000008u) {
- GOOGLE_DCHECK(statu_code_ != NULL);
- statu_code_->Clear();
- }
- }
- _has_bits_.Clear();
- _internal_metadata_.Clear();
- }
- bool UnNormalized_module_statu_msg::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:message.UnNormalized_module_statu_msg)
- 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)) {
- // required .message.Base_info base_info = 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_base_info()));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // required .message.Id_struct id_struct = 2;
- case 2: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
- input, mutable_id_struct()));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // required .message.Error_manager statu_code = 3;
- case 3: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
- input, mutable_statu_code()));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // optional string car_license = 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_car_license()));
- ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
- this->car_license().data(), static_cast<int>(this->car_license().length()),
- ::google::protobuf::internal::WireFormat::PARSE,
- "message.UnNormalized_module_statu_msg.car_license");
- } 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:message.UnNormalized_module_statu_msg)
- return true;
- failure:
- // @@protoc_insertion_point(parse_failure:message.UnNormalized_module_statu_msg)
- return false;
- #undef DO_
- }
- void UnNormalized_module_statu_msg::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // @@protoc_insertion_point(serialize_start:message.UnNormalized_module_statu_msg)
- ::google::protobuf::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
- // required .message.Base_info base_info = 1;
- if (cached_has_bits & 0x00000002u) {
- ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
- 1, *this->base_info_, output);
- }
- // required .message.Id_struct id_struct = 2;
- if (cached_has_bits & 0x00000004u) {
- ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
- 2, *this->id_struct_, output);
- }
- // required .message.Error_manager statu_code = 3;
- if (cached_has_bits & 0x00000008u) {
- ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
- 3, *this->statu_code_, output);
- }
- // optional string car_license = 4;
- if (cached_has_bits & 0x00000001u) {
- ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
- this->car_license().data(), static_cast<int>(this->car_license().length()),
- ::google::protobuf::internal::WireFormat::SERIALIZE,
- "message.UnNormalized_module_statu_msg.car_license");
- ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
- 4, this->car_license(), output);
- }
- if (_internal_metadata_.have_unknown_fields()) {
- ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
- _internal_metadata_.unknown_fields(), output);
- }
- // @@protoc_insertion_point(serialize_end:message.UnNormalized_module_statu_msg)
- }
- ::google::protobuf::uint8* UnNormalized_module_statu_msg::InternalSerializeWithCachedSizesToArray(
- bool deterministic, ::google::protobuf::uint8* target) const {
- (void)deterministic; // Unused
- // @@protoc_insertion_point(serialize_to_array_start:message.UnNormalized_module_statu_msg)
- ::google::protobuf::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
- // required .message.Base_info base_info = 1;
- if (cached_has_bits & 0x00000002u) {
- target = ::google::protobuf::internal::WireFormatLite::
- InternalWriteMessageToArray(
- 1, *this->base_info_, deterministic, target);
- }
- // required .message.Id_struct id_struct = 2;
- if (cached_has_bits & 0x00000004u) {
- target = ::google::protobuf::internal::WireFormatLite::
- InternalWriteMessageToArray(
- 2, *this->id_struct_, deterministic, target);
- }
- // required .message.Error_manager statu_code = 3;
- if (cached_has_bits & 0x00000008u) {
- target = ::google::protobuf::internal::WireFormatLite::
- InternalWriteMessageToArray(
- 3, *this->statu_code_, deterministic, target);
- }
- // optional string car_license = 4;
- if (cached_has_bits & 0x00000001u) {
- ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
- this->car_license().data(), static_cast<int>(this->car_license().length()),
- ::google::protobuf::internal::WireFormat::SERIALIZE,
- "message.UnNormalized_module_statu_msg.car_license");
- target =
- ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
- 4, this->car_license(), 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:message.UnNormalized_module_statu_msg)
- return target;
- }
- size_t UnNormalized_module_statu_msg::RequiredFieldsByteSizeFallback() const {
- // @@protoc_insertion_point(required_fields_byte_size_fallback_start:message.UnNormalized_module_statu_msg)
- size_t total_size = 0;
- if (has_base_info()) {
- // required .message.Base_info base_info = 1;
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::MessageSize(
- *this->base_info_);
- }
- if (has_id_struct()) {
- // required .message.Id_struct id_struct = 2;
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::MessageSize(
- *this->id_struct_);
- }
- if (has_statu_code()) {
- // required .message.Error_manager statu_code = 3;
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::MessageSize(
- *this->statu_code_);
- }
- return total_size;
- }
- size_t UnNormalized_module_statu_msg::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:message.UnNormalized_module_statu_msg)
- 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] & 0x0000000e) ^ 0x0000000e) == 0) { // All required fields are present.
- // required .message.Base_info base_info = 1;
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::MessageSize(
- *this->base_info_);
- // required .message.Id_struct id_struct = 2;
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::MessageSize(
- *this->id_struct_);
- // required .message.Error_manager statu_code = 3;
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::MessageSize(
- *this->statu_code_);
- } else {
- total_size += RequiredFieldsByteSizeFallback();
- }
- // optional string car_license = 4;
- if (has_car_license()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::StringSize(
- this->car_license());
- }
- 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 UnNormalized_module_statu_msg::MergeFrom(const ::google::protobuf::Message& from) {
- // @@protoc_insertion_point(generalized_merge_from_start:message.UnNormalized_module_statu_msg)
- GOOGLE_DCHECK_NE(&from, this);
- const UnNormalized_module_statu_msg* source =
- ::google::protobuf::internal::DynamicCastToGenerated<const UnNormalized_module_statu_msg>(
- &from);
- if (source == NULL) {
- // @@protoc_insertion_point(generalized_merge_from_cast_fail:message.UnNormalized_module_statu_msg)
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- // @@protoc_insertion_point(generalized_merge_from_cast_success:message.UnNormalized_module_statu_msg)
- MergeFrom(*source);
- }
- }
- void UnNormalized_module_statu_msg::MergeFrom(const UnNormalized_module_statu_msg& from) {
- // @@protoc_insertion_point(class_specific_merge_from_start:message.UnNormalized_module_statu_msg)
- 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 & 15u) {
- if (cached_has_bits & 0x00000001u) {
- set_has_car_license();
- car_license_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.car_license_);
- }
- if (cached_has_bits & 0x00000002u) {
- mutable_base_info()->::message::Base_info::MergeFrom(from.base_info());
- }
- if (cached_has_bits & 0x00000004u) {
- mutable_id_struct()->::message::Id_struct::MergeFrom(from.id_struct());
- }
- if (cached_has_bits & 0x00000008u) {
- mutable_statu_code()->::message::Error_manager::MergeFrom(from.statu_code());
- }
- }
- }
- void UnNormalized_module_statu_msg::CopyFrom(const ::google::protobuf::Message& from) {
- // @@protoc_insertion_point(generalized_copy_from_start:message.UnNormalized_module_statu_msg)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void UnNormalized_module_statu_msg::CopyFrom(const UnNormalized_module_statu_msg& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:message.UnNormalized_module_statu_msg)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool UnNormalized_module_statu_msg::IsInitialized() const {
- if ((_has_bits_[0] & 0x0000000e) != 0x0000000e) return false;
- if (has_base_info()) {
- if (!this->base_info_->IsInitialized()) return false;
- }
- if (has_statu_code()) {
- if (!this->statu_code_->IsInitialized()) return false;
- }
- return true;
- }
- void UnNormalized_module_statu_msg::Swap(UnNormalized_module_statu_msg* other) {
- if (other == this) return;
- InternalSwap(other);
- }
- void UnNormalized_module_statu_msg::InternalSwap(UnNormalized_module_statu_msg* other) {
- using std::swap;
- car_license_.Swap(&other->car_license_);
- swap(base_info_, other->base_info_);
- swap(id_struct_, other->id_struct_);
- swap(statu_code_, other->statu_code_);
- swap(_has_bits_[0], other->_has_bits_[0]);
- _internal_metadata_.Swap(&other->_internal_metadata_);
- swap(_cached_size_, other->_cached_size_);
- }
- ::google::protobuf::Metadata UnNormalized_module_statu_msg::GetMetadata() const {
- protobuf_UnNormalized_5fmodule_5fmessage_2eproto::protobuf_AssignDescriptorsOnce();
- return ::protobuf_UnNormalized_5fmodule_5fmessage_2eproto::file_level_metadata[kIndexInFileMessages];
- }
- // @@protoc_insertion_point(namespace_scope)
- } // namespace message
- // @@protoc_insertion_point(global_scope)
|