// Generated by the protocol buffer compiler. DO NOT EDIT! // source: app.proto #include "app.pb.h" #include #include #include #include #include #include #include #include // @@protoc_insertion_point(includes) #include PROTOBUF_PRAGMA_INIT_SEG namespace protomsg { constexpr App::App( ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) : id_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string) , name_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string) , package_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string) , type_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string) , url_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string) , title_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string) , iconblob_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string) , icon_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string) , version_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string) , create_time_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string) , create_by_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string) , update_time_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string) , update_by_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string) , iconblob2_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string) , procname_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string) , activatecode_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string) , width_(0) , height_(0) , isdefault_(false){} struct AppDefaultTypeInternal { constexpr AppDefaultTypeInternal() : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} ~AppDefaultTypeInternal() {} union { App _instance; }; }; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT AppDefaultTypeInternal _App_default_instance_; } // namespace protomsg static ::PROTOBUF_NAMESPACE_ID::Metadata file_level_metadata_app_2eproto[1]; static constexpr ::PROTOBUF_NAMESPACE_ID::EnumDescriptor const** file_level_enum_descriptors_app_2eproto = nullptr; static constexpr ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor const** file_level_service_descriptors_app_2eproto = nullptr; const ::PROTOBUF_NAMESPACE_ID::uint32 TableStruct_app_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::protomsg::App, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ PROTOBUF_FIELD_OFFSET(::protomsg::App, id_), PROTOBUF_FIELD_OFFSET(::protomsg::App, name_), PROTOBUF_FIELD_OFFSET(::protomsg::App, package_), PROTOBUF_FIELD_OFFSET(::protomsg::App, type_), PROTOBUF_FIELD_OFFSET(::protomsg::App, url_), PROTOBUF_FIELD_OFFSET(::protomsg::App, title_), PROTOBUF_FIELD_OFFSET(::protomsg::App, width_), PROTOBUF_FIELD_OFFSET(::protomsg::App, height_), PROTOBUF_FIELD_OFFSET(::protomsg::App, iconblob_), PROTOBUF_FIELD_OFFSET(::protomsg::App, icon_), PROTOBUF_FIELD_OFFSET(::protomsg::App, version_), PROTOBUF_FIELD_OFFSET(::protomsg::App, create_time_), PROTOBUF_FIELD_OFFSET(::protomsg::App, create_by_), PROTOBUF_FIELD_OFFSET(::protomsg::App, update_time_), PROTOBUF_FIELD_OFFSET(::protomsg::App, update_by_), PROTOBUF_FIELD_OFFSET(::protomsg::App, isdefault_), PROTOBUF_FIELD_OFFSET(::protomsg::App, iconblob2_), PROTOBUF_FIELD_OFFSET(::protomsg::App, procname_), PROTOBUF_FIELD_OFFSET(::protomsg::App, activatecode_), }; static const ::PROTOBUF_NAMESPACE_ID::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { { 0, -1, sizeof(::protomsg::App)}, }; static ::PROTOBUF_NAMESPACE_ID::Message const * const file_default_instances[] = { reinterpret_cast(&::protomsg::_App_default_instance_), }; const char descriptor_table_protodef_app_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = "\n\tapp.proto\022\010protomsg\"\310\002\n\003App\022\n\n\002id\030\001 \001(" "\t\022\014\n\004name\030\002 \001(\t\022\017\n\007package\030\003 \001(\t\022\014\n\004type" "\030\004 \001(\t\022\013\n\003url\030\005 \001(\t\022\r\n\005title\030\006 \001(\t\022\r\n\005wi" "dth\030\007 \001(\005\022\016\n\006height\030\010 \001(\005\022\020\n\010iconBlob\030\t " "\001(\t\022\014\n\004icon\030\n \001(\t\022\017\n\007version\030\013 \001(\t\022\023\n\013cr" "eate_time\030\014 \001(\t\022\021\n\tcreate_by\030\r \001(\t\022\023\n\013up" "date_time\030\016 \001(\t\022\021\n\tupdate_by\030\017 \001(\t\022\021\n\tis" "Default\030\020 \001(\010\022\021\n\ticonBlob2\030\021 \001(\t\022\020\n\010proc" "Name\030\022 \001(\t\022\024\n\014activateCode\030\023 \001(\tb\006proto3" ; static ::PROTOBUF_NAMESPACE_ID::internal::once_flag descriptor_table_app_2eproto_once; const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_app_2eproto = { false, false, 360, descriptor_table_protodef_app_2eproto, "app.proto", &descriptor_table_app_2eproto_once, nullptr, 0, 1, schemas, file_default_instances, TableStruct_app_2eproto::offsets, file_level_metadata_app_2eproto, file_level_enum_descriptors_app_2eproto, file_level_service_descriptors_app_2eproto, }; PROTOBUF_ATTRIBUTE_WEAK const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable* descriptor_table_app_2eproto_getter() { return &descriptor_table_app_2eproto; } // Force running AddDescriptors() at dynamic initialization time. PROTOBUF_ATTRIBUTE_INIT_PRIORITY static ::PROTOBUF_NAMESPACE_ID::internal::AddDescriptorsRunner dynamic_init_dummy_app_2eproto(&descriptor_table_app_2eproto); namespace protomsg { // =================================================================== class App::_Internal { public: }; App::App(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { SharedCtor(); if (!is_message_owned) { RegisterArenaDtor(arena); } // @@protoc_insertion_point(arena_constructor:protomsg.App) } App::App(const App& from) : ::PROTOBUF_NAMESPACE_ID::Message() { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); id_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); if (!from._internal_id().empty()) { id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_id(), GetArenaForAllocation()); } name_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); if (!from._internal_name().empty()) { name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_name(), GetArenaForAllocation()); } package_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); if (!from._internal_package().empty()) { package_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_package(), GetArenaForAllocation()); } type_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); if (!from._internal_type().empty()) { type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_type(), GetArenaForAllocation()); } url_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); if (!from._internal_url().empty()) { url_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_url(), GetArenaForAllocation()); } title_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); if (!from._internal_title().empty()) { title_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_title(), GetArenaForAllocation()); } iconblob_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); if (!from._internal_iconblob().empty()) { iconblob_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_iconblob(), GetArenaForAllocation()); } icon_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); if (!from._internal_icon().empty()) { icon_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_icon(), GetArenaForAllocation()); } version_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); if (!from._internal_version().empty()) { version_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_version(), GetArenaForAllocation()); } create_time_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); if (!from._internal_create_time().empty()) { create_time_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_create_time(), GetArenaForAllocation()); } create_by_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); if (!from._internal_create_by().empty()) { create_by_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_create_by(), GetArenaForAllocation()); } update_time_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); if (!from._internal_update_time().empty()) { update_time_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_update_time(), GetArenaForAllocation()); } update_by_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); if (!from._internal_update_by().empty()) { update_by_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_update_by(), GetArenaForAllocation()); } iconblob2_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); if (!from._internal_iconblob2().empty()) { iconblob2_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_iconblob2(), GetArenaForAllocation()); } procname_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); if (!from._internal_procname().empty()) { procname_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_procname(), GetArenaForAllocation()); } activatecode_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); if (!from._internal_activatecode().empty()) { activatecode_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_activatecode(), GetArenaForAllocation()); } ::memcpy(&width_, &from.width_, static_cast(reinterpret_cast(&isdefault_) - reinterpret_cast(&width_)) + sizeof(isdefault_)); // @@protoc_insertion_point(copy_constructor:protomsg.App) } inline void App::SharedCtor() { id_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); name_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); package_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); type_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); url_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); title_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); iconblob_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); icon_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); version_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); create_time_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); create_by_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); update_time_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); update_by_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); iconblob2_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); procname_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); activatecode_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); ::memset(reinterpret_cast(this) + static_cast( reinterpret_cast(&width_) - reinterpret_cast(this)), 0, static_cast(reinterpret_cast(&isdefault_) - reinterpret_cast(&width_)) + sizeof(isdefault_)); } App::~App() { // @@protoc_insertion_point(destructor:protomsg.App) if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } inline void App::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); id_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); name_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); package_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); type_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); url_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); title_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); iconblob_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); icon_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); version_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); create_time_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); create_by_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); update_time_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); update_by_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); iconblob2_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); procname_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); activatecode_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } void App::ArenaDtor(void* object) { App* _this = reinterpret_cast< App* >(object); (void)_this; } void App::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { } void App::SetCachedSize(int size) const { _cached_size_.Set(size); } void App::Clear() { // @@protoc_insertion_point(message_clear_start:protomsg.App) ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; id_.ClearToEmpty(); name_.ClearToEmpty(); package_.ClearToEmpty(); type_.ClearToEmpty(); url_.ClearToEmpty(); title_.ClearToEmpty(); iconblob_.ClearToEmpty(); icon_.ClearToEmpty(); version_.ClearToEmpty(); create_time_.ClearToEmpty(); create_by_.ClearToEmpty(); update_time_.ClearToEmpty(); update_by_.ClearToEmpty(); iconblob2_.ClearToEmpty(); procname_.ClearToEmpty(); activatecode_.ClearToEmpty(); ::memset(&width_, 0, static_cast( reinterpret_cast(&isdefault_) - reinterpret_cast(&width_)) + sizeof(isdefault_)); _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } const char* App::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure while (!ctx->Done(&ptr)) { ::PROTOBUF_NAMESPACE_ID::uint32 tag; ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); switch (tag >> 3) { // string id = 1; case 1: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { auto str = _internal_mutable_id(); ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "protomsg.App.id")); CHK_(ptr); } else goto handle_unusual; continue; // string name = 2; case 2: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { auto str = _internal_mutable_name(); ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "protomsg.App.name")); CHK_(ptr); } else goto handle_unusual; continue; // string package = 3; case 3: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) { auto str = _internal_mutable_package(); ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "protomsg.App.package")); CHK_(ptr); } else goto handle_unusual; continue; // string type = 4; case 4: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 34)) { auto str = _internal_mutable_type(); ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "protomsg.App.type")); CHK_(ptr); } else goto handle_unusual; continue; // string url = 5; case 5: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 42)) { auto str = _internal_mutable_url(); ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "protomsg.App.url")); CHK_(ptr); } else goto handle_unusual; continue; // string title = 6; case 6: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 50)) { auto str = _internal_mutable_title(); ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "protomsg.App.title")); CHK_(ptr); } else goto handle_unusual; continue; // int32 width = 7; case 7: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 56)) { width_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); CHK_(ptr); } else goto handle_unusual; continue; // int32 height = 8; case 8: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 64)) { height_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); CHK_(ptr); } else goto handle_unusual; continue; // string iconBlob = 9; case 9: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 74)) { auto str = _internal_mutable_iconblob(); ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "protomsg.App.iconBlob")); CHK_(ptr); } else goto handle_unusual; continue; // string icon = 10; case 10: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 82)) { auto str = _internal_mutable_icon(); ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "protomsg.App.icon")); CHK_(ptr); } else goto handle_unusual; continue; // string version = 11; case 11: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 90)) { auto str = _internal_mutable_version(); ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "protomsg.App.version")); CHK_(ptr); } else goto handle_unusual; continue; // string create_time = 12; case 12: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 98)) { auto str = _internal_mutable_create_time(); ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "protomsg.App.create_time")); CHK_(ptr); } else goto handle_unusual; continue; // string create_by = 13; case 13: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 106)) { auto str = _internal_mutable_create_by(); ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "protomsg.App.create_by")); CHK_(ptr); } else goto handle_unusual; continue; // string update_time = 14; case 14: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 114)) { auto str = _internal_mutable_update_time(); ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "protomsg.App.update_time")); CHK_(ptr); } else goto handle_unusual; continue; // string update_by = 15; case 15: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 122)) { auto str = _internal_mutable_update_by(); ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "protomsg.App.update_by")); CHK_(ptr); } else goto handle_unusual; continue; // bool isDefault = 16; case 16: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 128)) { isdefault_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); CHK_(ptr); } else goto handle_unusual; continue; // string iconBlob2 = 17; case 17: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 138)) { auto str = _internal_mutable_iconblob2(); ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "protomsg.App.iconBlob2")); CHK_(ptr); } else goto handle_unusual; continue; // string procName = 18; case 18: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 146)) { auto str = _internal_mutable_procname(); ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "protomsg.App.procName")); CHK_(ptr); } else goto handle_unusual; continue; // string activateCode = 19; case 19: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 154)) { auto str = _internal_mutable_activatecode(); ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "protomsg.App.activateCode")); CHK_(ptr); } else goto handle_unusual; continue; default: { handle_unusual: if ((tag == 0) || ((tag & 7) == 4)) { CHK_(ptr); ctx->SetLastTag(tag); goto success; } ptr = UnknownFieldParse(tag, _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), ptr, ctx); CHK_(ptr != nullptr); continue; } } // switch } // while success: return ptr; failure: ptr = nullptr; goto success; #undef CHK_ } ::PROTOBUF_NAMESPACE_ID::uint8* App::_InternalSerialize( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:protomsg.App) ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; (void) cached_has_bits; // string id = 1; if (!this->_internal_id().empty()) { ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( this->_internal_id().data(), static_cast(this->_internal_id().length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "protomsg.App.id"); target = stream->WriteStringMaybeAliased( 1, this->_internal_id(), target); } // string name = 2; if (!this->_internal_name().empty()) { ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( this->_internal_name().data(), static_cast(this->_internal_name().length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "protomsg.App.name"); target = stream->WriteStringMaybeAliased( 2, this->_internal_name(), target); } // string package = 3; if (!this->_internal_package().empty()) { ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( this->_internal_package().data(), static_cast(this->_internal_package().length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "protomsg.App.package"); target = stream->WriteStringMaybeAliased( 3, this->_internal_package(), target); } // string type = 4; if (!this->_internal_type().empty()) { ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( this->_internal_type().data(), static_cast(this->_internal_type().length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "protomsg.App.type"); target = stream->WriteStringMaybeAliased( 4, this->_internal_type(), target); } // string url = 5; if (!this->_internal_url().empty()) { ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( this->_internal_url().data(), static_cast(this->_internal_url().length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "protomsg.App.url"); target = stream->WriteStringMaybeAliased( 5, this->_internal_url(), target); } // string title = 6; if (!this->_internal_title().empty()) { ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( this->_internal_title().data(), static_cast(this->_internal_title().length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "protomsg.App.title"); target = stream->WriteStringMaybeAliased( 6, this->_internal_title(), target); } // int32 width = 7; if (this->_internal_width() != 0) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt32ToArray(7, this->_internal_width(), target); } // int32 height = 8; if (this->_internal_height() != 0) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt32ToArray(8, this->_internal_height(), target); } // string iconBlob = 9; if (!this->_internal_iconblob().empty()) { ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( this->_internal_iconblob().data(), static_cast(this->_internal_iconblob().length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "protomsg.App.iconBlob"); target = stream->WriteStringMaybeAliased( 9, this->_internal_iconblob(), target); } // string icon = 10; if (!this->_internal_icon().empty()) { ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( this->_internal_icon().data(), static_cast(this->_internal_icon().length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "protomsg.App.icon"); target = stream->WriteStringMaybeAliased( 10, this->_internal_icon(), target); } // string version = 11; if (!this->_internal_version().empty()) { ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( this->_internal_version().data(), static_cast(this->_internal_version().length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "protomsg.App.version"); target = stream->WriteStringMaybeAliased( 11, this->_internal_version(), target); } // string create_time = 12; if (!this->_internal_create_time().empty()) { ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( this->_internal_create_time().data(), static_cast(this->_internal_create_time().length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "protomsg.App.create_time"); target = stream->WriteStringMaybeAliased( 12, this->_internal_create_time(), target); } // string create_by = 13; if (!this->_internal_create_by().empty()) { ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( this->_internal_create_by().data(), static_cast(this->_internal_create_by().length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "protomsg.App.create_by"); target = stream->WriteStringMaybeAliased( 13, this->_internal_create_by(), target); } // string update_time = 14; if (!this->_internal_update_time().empty()) { ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( this->_internal_update_time().data(), static_cast(this->_internal_update_time().length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "protomsg.App.update_time"); target = stream->WriteStringMaybeAliased( 14, this->_internal_update_time(), target); } // string update_by = 15; if (!this->_internal_update_by().empty()) { ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( this->_internal_update_by().data(), static_cast(this->_internal_update_by().length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "protomsg.App.update_by"); target = stream->WriteStringMaybeAliased( 15, this->_internal_update_by(), target); } // bool isDefault = 16; if (this->_internal_isdefault() != 0) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(16, this->_internal_isdefault(), target); } // string iconBlob2 = 17; if (!this->_internal_iconblob2().empty()) { ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( this->_internal_iconblob2().data(), static_cast(this->_internal_iconblob2().length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "protomsg.App.iconBlob2"); target = stream->WriteStringMaybeAliased( 17, this->_internal_iconblob2(), target); } // string procName = 18; if (!this->_internal_procname().empty()) { ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( this->_internal_procname().data(), static_cast(this->_internal_procname().length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "protomsg.App.procName"); target = stream->WriteStringMaybeAliased( 18, this->_internal_procname(), target); } // string activateCode = 19; if (!this->_internal_activatecode().empty()) { ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( this->_internal_activatecode().data(), static_cast(this->_internal_activatecode().length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "protomsg.App.activateCode"); target = stream->WriteStringMaybeAliased( 19, this->_internal_activatecode(), target); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } // @@protoc_insertion_point(serialize_to_array_end:protomsg.App) return target; } size_t App::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:protomsg.App) size_t total_size = 0; ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; // string id = 1; if (!this->_internal_id().empty()) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( this->_internal_id()); } // string name = 2; if (!this->_internal_name().empty()) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( this->_internal_name()); } // string package = 3; if (!this->_internal_package().empty()) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( this->_internal_package()); } // string type = 4; if (!this->_internal_type().empty()) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( this->_internal_type()); } // string url = 5; if (!this->_internal_url().empty()) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( this->_internal_url()); } // string title = 6; if (!this->_internal_title().empty()) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( this->_internal_title()); } // string iconBlob = 9; if (!this->_internal_iconblob().empty()) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( this->_internal_iconblob()); } // string icon = 10; if (!this->_internal_icon().empty()) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( this->_internal_icon()); } // string version = 11; if (!this->_internal_version().empty()) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( this->_internal_version()); } // string create_time = 12; if (!this->_internal_create_time().empty()) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( this->_internal_create_time()); } // string create_by = 13; if (!this->_internal_create_by().empty()) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( this->_internal_create_by()); } // string update_time = 14; if (!this->_internal_update_time().empty()) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( this->_internal_update_time()); } // string update_by = 15; if (!this->_internal_update_by().empty()) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( this->_internal_update_by()); } // string iconBlob2 = 17; if (!this->_internal_iconblob2().empty()) { total_size += 2 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( this->_internal_iconblob2()); } // string procName = 18; if (!this->_internal_procname().empty()) { total_size += 2 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( this->_internal_procname()); } // string activateCode = 19; if (!this->_internal_activatecode().empty()) { total_size += 2 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( this->_internal_activatecode()); } // int32 width = 7; if (this->_internal_width() != 0) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32Size( this->_internal_width()); } // int32 height = 8; if (this->_internal_height() != 0) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32Size( this->_internal_height()); } // bool isDefault = 16; if (this->_internal_isdefault() != 0) { total_size += 2 + 1; } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( _internal_metadata_, total_size, &_cached_size_); } int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); SetCachedSize(cached_size); return total_size; } const ::PROTOBUF_NAMESPACE_ID::Message::ClassData App::_class_data_ = { ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, App::MergeImpl }; const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*App::GetClassData() const { return &_class_data_; } void App::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message*to, const ::PROTOBUF_NAMESPACE_ID::Message&from) { static_cast(to)->MergeFrom( static_cast(from)); } void App::MergeFrom(const App& from) { // @@protoc_insertion_point(class_specific_merge_from_start:protomsg.App) GOOGLE_DCHECK_NE(&from, this); ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; (void) cached_has_bits; if (!from._internal_id().empty()) { _internal_set_id(from._internal_id()); } if (!from._internal_name().empty()) { _internal_set_name(from._internal_name()); } if (!from._internal_package().empty()) { _internal_set_package(from._internal_package()); } if (!from._internal_type().empty()) { _internal_set_type(from._internal_type()); } if (!from._internal_url().empty()) { _internal_set_url(from._internal_url()); } if (!from._internal_title().empty()) { _internal_set_title(from._internal_title()); } if (!from._internal_iconblob().empty()) { _internal_set_iconblob(from._internal_iconblob()); } if (!from._internal_icon().empty()) { _internal_set_icon(from._internal_icon()); } if (!from._internal_version().empty()) { _internal_set_version(from._internal_version()); } if (!from._internal_create_time().empty()) { _internal_set_create_time(from._internal_create_time()); } if (!from._internal_create_by().empty()) { _internal_set_create_by(from._internal_create_by()); } if (!from._internal_update_time().empty()) { _internal_set_update_time(from._internal_update_time()); } if (!from._internal_update_by().empty()) { _internal_set_update_by(from._internal_update_by()); } if (!from._internal_iconblob2().empty()) { _internal_set_iconblob2(from._internal_iconblob2()); } if (!from._internal_procname().empty()) { _internal_set_procname(from._internal_procname()); } if (!from._internal_activatecode().empty()) { _internal_set_activatecode(from._internal_activatecode()); } if (from._internal_width() != 0) { _internal_set_width(from._internal_width()); } if (from._internal_height() != 0) { _internal_set_height(from._internal_height()); } if (from._internal_isdefault() != 0) { _internal_set_isdefault(from._internal_isdefault()); } _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } void App::CopyFrom(const App& from) { // @@protoc_insertion_point(class_specific_copy_from_start:protomsg.App) if (&from == this) return; Clear(); MergeFrom(from); } bool App::IsInitialized() const { return true; } void App::InternalSwap(App* other) { using std::swap; _internal_metadata_.InternalSwap(&other->_internal_metadata_); ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), &id_, GetArenaForAllocation(), &other->id_, other->GetArenaForAllocation() ); ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), &name_, GetArenaForAllocation(), &other->name_, other->GetArenaForAllocation() ); ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), &package_, GetArenaForAllocation(), &other->package_, other->GetArenaForAllocation() ); ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), &type_, GetArenaForAllocation(), &other->type_, other->GetArenaForAllocation() ); ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), &url_, GetArenaForAllocation(), &other->url_, other->GetArenaForAllocation() ); ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), &title_, GetArenaForAllocation(), &other->title_, other->GetArenaForAllocation() ); ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), &iconblob_, GetArenaForAllocation(), &other->iconblob_, other->GetArenaForAllocation() ); ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), &icon_, GetArenaForAllocation(), &other->icon_, other->GetArenaForAllocation() ); ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), &version_, GetArenaForAllocation(), &other->version_, other->GetArenaForAllocation() ); ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), &create_time_, GetArenaForAllocation(), &other->create_time_, other->GetArenaForAllocation() ); ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), &create_by_, GetArenaForAllocation(), &other->create_by_, other->GetArenaForAllocation() ); ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), &update_time_, GetArenaForAllocation(), &other->update_time_, other->GetArenaForAllocation() ); ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), &update_by_, GetArenaForAllocation(), &other->update_by_, other->GetArenaForAllocation() ); ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), &iconblob2_, GetArenaForAllocation(), &other->iconblob2_, other->GetArenaForAllocation() ); ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), &procname_, GetArenaForAllocation(), &other->procname_, other->GetArenaForAllocation() ); ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), &activatecode_, GetArenaForAllocation(), &other->activatecode_, other->GetArenaForAllocation() ); ::PROTOBUF_NAMESPACE_ID::internal::memswap< PROTOBUF_FIELD_OFFSET(App, isdefault_) + sizeof(App::isdefault_) - PROTOBUF_FIELD_OFFSET(App, width_)>( reinterpret_cast(&width_), reinterpret_cast(&other->width_)); } ::PROTOBUF_NAMESPACE_ID::Metadata App::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_app_2eproto_getter, &descriptor_table_app_2eproto_once, file_level_metadata_app_2eproto[0]); } // @@protoc_insertion_point(namespace_scope) } // namespace protomsg PROTOBUF_NAMESPACE_OPEN template<> PROTOBUF_NOINLINE ::protomsg::App* Arena::CreateMaybeMessage< ::protomsg::App >(Arena* arena) { return Arena::CreateMessageInternal< ::protomsg::App >(arena); } PROTOBUF_NAMESPACE_CLOSE // @@protoc_insertion_point(global_scope) #include