// Generated by the protocol buffer compiler. DO NOT EDIT! // source: table.proto #include "table.pb.h" #include #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 satdDatabase { class complieServerDefaultTypeInternal { public: ::google::protobuf::internal::ExplicitlyConstructed _instance; } _complieServer_default_instance_; class listServerDefaultTypeInternal { public: ::google::protobuf::internal::ExplicitlyConstructed _instance; } _listServer_default_instance_; class listEndFlagDefaultTypeInternal { public: ::google::protobuf::internal::ExplicitlyConstructed _instance; } _listEndFlag_default_instance_; class modelDefaultTypeInternal { public: ::google::protobuf::internal::ExplicitlyConstructed _instance; } _model_default_instance_; class listModelDefaultTypeInternal { public: ::google::protobuf::internal::ExplicitlyConstructed _instance; } _listModel_default_instance_; class modelContentDefaultTypeInternal { public: ::google::protobuf::internal::ExplicitlyConstructed _instance; } _modelContent_default_instance_; } // namespace satdDatabase namespace protobuf_table_2eproto { void InitDefaultscomplieServerImpl() { GOOGLE_PROTOBUF_VERIFY_VERSION; #ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS ::google::protobuf::internal::InitProtobufDefaultsForceUnique(); #else ::google::protobuf::internal::InitProtobufDefaults(); #endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS { void* ptr = &::satdDatabase::_complieServer_default_instance_; new (ptr) ::satdDatabase::complieServer(); ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); } ::satdDatabase::complieServer::InitAsDefaultInstance(); } void InitDefaultscomplieServer() { static GOOGLE_PROTOBUF_DECLARE_ONCE(once); ::google::protobuf::GoogleOnceInit(&once, &InitDefaultscomplieServerImpl); } void InitDefaultslistServerImpl() { GOOGLE_PROTOBUF_VERIFY_VERSION; #ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS ::google::protobuf::internal::InitProtobufDefaultsForceUnique(); #else ::google::protobuf::internal::InitProtobufDefaults(); #endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS protobuf_table_2eproto::InitDefaultscomplieServer(); { void* ptr = &::satdDatabase::_listServer_default_instance_; new (ptr) ::satdDatabase::listServer(); ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); } ::satdDatabase::listServer::InitAsDefaultInstance(); } void InitDefaultslistServer() { static GOOGLE_PROTOBUF_DECLARE_ONCE(once); ::google::protobuf::GoogleOnceInit(&once, &InitDefaultslistServerImpl); } void InitDefaultslistEndFlagImpl() { GOOGLE_PROTOBUF_VERIFY_VERSION; #ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS ::google::protobuf::internal::InitProtobufDefaultsForceUnique(); #else ::google::protobuf::internal::InitProtobufDefaults(); #endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS { void* ptr = &::satdDatabase::_listEndFlag_default_instance_; new (ptr) ::satdDatabase::listEndFlag(); ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); } ::satdDatabase::listEndFlag::InitAsDefaultInstance(); } void InitDefaultslistEndFlag() { static GOOGLE_PROTOBUF_DECLARE_ONCE(once); ::google::protobuf::GoogleOnceInit(&once, &InitDefaultslistEndFlagImpl); } void InitDefaultsmodelImpl() { GOOGLE_PROTOBUF_VERIFY_VERSION; #ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS ::google::protobuf::internal::InitProtobufDefaultsForceUnique(); #else ::google::protobuf::internal::InitProtobufDefaults(); #endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS protobuf_table_2eproto::InitDefaultslistEndFlag(); protobuf_table_2eproto::InitDefaultsmodelContent(); { void* ptr = &::satdDatabase::_model_default_instance_; new (ptr) ::satdDatabase::model(); ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); } ::satdDatabase::model::InitAsDefaultInstance(); } void InitDefaultsmodel() { static GOOGLE_PROTOBUF_DECLARE_ONCE(once); ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsmodelImpl); } void InitDefaultslistModelImpl() { GOOGLE_PROTOBUF_VERIFY_VERSION; #ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS ::google::protobuf::internal::InitProtobufDefaultsForceUnique(); #else ::google::protobuf::internal::InitProtobufDefaults(); #endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS protobuf_table_2eproto::InitDefaultsmodel(); { void* ptr = &::satdDatabase::_listModel_default_instance_; new (ptr) ::satdDatabase::listModel(); ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); } ::satdDatabase::listModel::InitAsDefaultInstance(); } void InitDefaultslistModel() { static GOOGLE_PROTOBUF_DECLARE_ONCE(once); ::google::protobuf::GoogleOnceInit(&once, &InitDefaultslistModelImpl); } void InitDefaultsmodelContentImpl() { GOOGLE_PROTOBUF_VERIFY_VERSION; #ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS ::google::protobuf::internal::InitProtobufDefaultsForceUnique(); #else ::google::protobuf::internal::InitProtobufDefaults(); #endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS { void* ptr = &::satdDatabase::_modelContent_default_instance_; new (ptr) ::satdDatabase::modelContent(); ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); } ::satdDatabase::modelContent::InitAsDefaultInstance(); } void InitDefaultsmodelContent() { static GOOGLE_PROTOBUF_DECLARE_ONCE(once); ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsmodelContentImpl); } ::google::protobuf::Metadata file_level_metadata[6]; const ::google::protobuf::uint32 TableStruct::offsets[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = { ~0u, // no _has_bits_ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::satdDatabase::complieServer, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::satdDatabase::complieServer, server_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::satdDatabase::complieServer, user_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::satdDatabase::complieServer, password_), ~0u, // no _has_bits_ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::satdDatabase::listServer, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::satdDatabase::listServer, servers_), ~0u, // no _has_bits_ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::satdDatabase::listEndFlag, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::satdDatabase::listEndFlag, terminator_), ~0u, // no _has_bits_ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::satdDatabase::model, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::satdDatabase::model, name_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::satdDatabase::model, softsuffix_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::satdDatabase::model, flags_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::satdDatabase::model, content_), ~0u, // no _has_bits_ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::satdDatabase::listModel, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::satdDatabase::listModel, models_), ~0u, // no _has_bits_ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::satdDatabase::modelContent, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::satdDatabase::modelContent, complietime_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::satdDatabase::modelContent, projectmodel_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::satdDatabase::modelContent, productname_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::satdDatabase::modelContent, svndir_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::satdDatabase::modelContent, command_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::satdDatabase::modelContent, projectname_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::satdDatabase::modelContent, projectsn_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::satdDatabase::modelContent, softver_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::satdDatabase::modelContent, svnver_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::satdDatabase::modelContent, projectid_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::satdDatabase::modelContent, zone_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::satdDatabase::modelContent, uistyle_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::satdDatabase::modelContent, compliefiledir_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::satdDatabase::modelContent, username_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::satdDatabase::modelContent, time_), }; static const ::google::protobuf::internal::MigrationSchema schemas[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = { { 0, -1, sizeof(::satdDatabase::complieServer)}, { 8, -1, sizeof(::satdDatabase::listServer)}, { 14, -1, sizeof(::satdDatabase::listEndFlag)}, { 20, -1, sizeof(::satdDatabase::model)}, { 29, -1, sizeof(::satdDatabase::listModel)}, { 35, -1, sizeof(::satdDatabase::modelContent)}, }; static ::google::protobuf::Message const * const file_default_instances[] = { reinterpret_cast(&::satdDatabase::_complieServer_default_instance_), reinterpret_cast(&::satdDatabase::_listServer_default_instance_), reinterpret_cast(&::satdDatabase::_listEndFlag_default_instance_), reinterpret_cast(&::satdDatabase::_model_default_instance_), reinterpret_cast(&::satdDatabase::_listModel_default_instance_), reinterpret_cast(&::satdDatabase::_modelContent_default_instance_), }; void protobuf_AssignDescriptors() { AddDescriptors(); ::google::protobuf::MessageFactory* factory = NULL; AssignDescriptors( "table.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, 6); } void AddDescriptorsImpl() { InitDefaults(); static const char descriptor[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = { "\n\013table.proto\022\014satdDatabase\"\?\n\rcomplieSe" "rver\022\016\n\006server\030\001 \001(\t\022\014\n\004user\030\002 \001(\t\022\020\n\010pa" "ssword\030\003 \001(\t\":\n\nlistServer\022,\n\007servers\030\004 " "\003(\0132\033.satdDatabase.complieServer\"!\n\013list" "EndFlag\022\022\n\nterminator\030\005 \003(\t\"\200\001\n\005model\022\014\n" "\004name\030\006 \001(\t\022\022\n\nsoftSuffix\030\007 \001(\t\022(\n\005flags" "\030\010 \001(\0132\031.satdDatabase.listEndFlag\022+\n\007con" "tent\030\t \001(\0132\032.satdDatabase.modelContent\"0" "\n\tlistModel\022#\n\006models\030\n \003(\0132\023.satdDataba" "se.model\"\242\002\n\014modelContent\022\023\n\013complieTime" "\030\013 \001(\t\022\024\n\014projectModel\030\014 \001(\t\022\023\n\013productN" "ame\030\r \001(\t\022\016\n\006svndir\030\016 \001(\t\022\017\n\007command\030\017 \001" "(\t\022\023\n\013projectName\030\020 \001(\t\022\021\n\tprojectSN\030\021 \001" "(\t\022\017\n\007softVer\030\022 \001(\t\022\016\n\006svnVer\030\023 \001(\t\022\021\n\tp" "rojectID\030\024 \001(\t\022\014\n\004zone\030\025 \001(\t\022\017\n\007UIStyle\030" "\026 \001(\t\022\026\n\016complieFileDir\030\027 \001(\t\022\020\n\010userNam" "e\030\030 \001(\t\022\014\n\004time\030\031 \001(\tb\006proto3" }; ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( descriptor, 669); ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( "table.proto", &protobuf_RegisterTypes); } void AddDescriptors() { static GOOGLE_PROTOBUF_DECLARE_ONCE(once); ::google::protobuf::GoogleOnceInit(&once, &AddDescriptorsImpl); } // Force AddDescriptors() to be called at dynamic initialization time. struct StaticDescriptorInitializer { StaticDescriptorInitializer() { AddDescriptors(); } } static_descriptor_initializer; } // namespace protobuf_table_2eproto namespace satdDatabase { // =================================================================== void complieServer::InitAsDefaultInstance() { } #if !defined(_MSC_VER) || _MSC_VER >= 1900 const int complieServer::kServerFieldNumber; const int complieServer::kUserFieldNumber; const int complieServer::kPasswordFieldNumber; #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 complieServer::complieServer() : ::google::protobuf::Message(), _internal_metadata_(NULL) { if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) { ::protobuf_table_2eproto::InitDefaultscomplieServer(); } SharedCtor(); // @@protoc_insertion_point(constructor:satdDatabase.complieServer) } complieServer::complieServer(const complieServer& from) : ::google::protobuf::Message(), _internal_metadata_(NULL), _cached_size_(0) { _internal_metadata_.MergeFrom(from._internal_metadata_); server_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); if (from.server().size() > 0) { server_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.server_); } user_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); if (from.user().size() > 0) { user_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.user_); } password_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); if (from.password().size() > 0) { password_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.password_); } // @@protoc_insertion_point(copy_constructor:satdDatabase.complieServer) } void complieServer::SharedCtor() { server_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); user_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); password_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); _cached_size_ = 0; } complieServer::~complieServer() { // @@protoc_insertion_point(destructor:satdDatabase.complieServer) SharedDtor(); } void complieServer::SharedDtor() { server_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); user_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); password_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } void complieServer::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* complieServer::descriptor() { ::protobuf_table_2eproto::protobuf_AssignDescriptorsOnce(); return ::protobuf_table_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; } const complieServer& complieServer::default_instance() { ::protobuf_table_2eproto::InitDefaultscomplieServer(); return *internal_default_instance(); } complieServer* complieServer::New(::google::protobuf::Arena* arena) const { complieServer* n = new complieServer; if (arena != NULL) { arena->Own(n); } return n; } void complieServer::Clear() { // @@protoc_insertion_point(message_clear_start:satdDatabase.complieServer) ::google::protobuf::uint32 cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; server_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); user_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); password_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); _internal_metadata_.Clear(); } bool complieServer::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:satdDatabase.complieServer) 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)) { // string server = 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_server())); DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->server().data(), static_cast(this->server().length()), ::google::protobuf::internal::WireFormatLite::PARSE, "satdDatabase.complieServer.server")); } else { goto handle_unusual; } break; } // string user = 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_user())); DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->user().data(), static_cast(this->user().length()), ::google::protobuf::internal::WireFormatLite::PARSE, "satdDatabase.complieServer.user")); } else { goto handle_unusual; } break; } // string password = 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_password())); DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->password().data(), static_cast(this->password().length()), ::google::protobuf::internal::WireFormatLite::PARSE, "satdDatabase.complieServer.password")); } 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:satdDatabase.complieServer) return true; failure: // @@protoc_insertion_point(parse_failure:satdDatabase.complieServer) return false; #undef DO_ } void complieServer::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // @@protoc_insertion_point(serialize_start:satdDatabase.complieServer) ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; // string server = 1; if (this->server().size() > 0) { ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->server().data(), static_cast(this->server().length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "satdDatabase.complieServer.server"); ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( 1, this->server(), output); } // string user = 2; if (this->user().size() > 0) { ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->user().data(), static_cast(this->user().length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "satdDatabase.complieServer.user"); ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( 2, this->user(), output); } // string password = 3; if (this->password().size() > 0) { ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->password().data(), static_cast(this->password().length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "satdDatabase.complieServer.password"); ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( 3, this->password(), output); } if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output); } // @@protoc_insertion_point(serialize_end:satdDatabase.complieServer) } ::google::protobuf::uint8* complieServer::InternalSerializeWithCachedSizesToArray( bool deterministic, ::google::protobuf::uint8* target) const { (void)deterministic; // Unused // @@protoc_insertion_point(serialize_to_array_start:satdDatabase.complieServer) ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; // string server = 1; if (this->server().size() > 0) { ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->server().data(), static_cast(this->server().length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "satdDatabase.complieServer.server"); target = ::google::protobuf::internal::WireFormatLite::WriteStringToArray( 1, this->server(), target); } // string user = 2; if (this->user().size() > 0) { ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->user().data(), static_cast(this->user().length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "satdDatabase.complieServer.user"); target = ::google::protobuf::internal::WireFormatLite::WriteStringToArray( 2, this->user(), target); } // string password = 3; if (this->password().size() > 0) { ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->password().data(), static_cast(this->password().length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "satdDatabase.complieServer.password"); target = ::google::protobuf::internal::WireFormatLite::WriteStringToArray( 3, this->password(), target); } if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target); } // @@protoc_insertion_point(serialize_to_array_end:satdDatabase.complieServer) return target; } size_t complieServer::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:satdDatabase.complieServer) size_t total_size = 0; if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance())); } // string server = 1; if (this->server().size() > 0) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( this->server()); } // string user = 2; if (this->user().size() > 0) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( this->user()); } // string password = 3; if (this->password().size() > 0) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( this->password()); } 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 complieServer::MergeFrom(const ::google::protobuf::Message& from) { // @@protoc_insertion_point(generalized_merge_from_start:satdDatabase.complieServer) GOOGLE_DCHECK_NE(&from, this); const complieServer* source = ::google::protobuf::internal::DynamicCastToGenerated( &from); if (source == NULL) { // @@protoc_insertion_point(generalized_merge_from_cast_fail:satdDatabase.complieServer) ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { // @@protoc_insertion_point(generalized_merge_from_cast_success:satdDatabase.complieServer) MergeFrom(*source); } } void complieServer::MergeFrom(const complieServer& from) { // @@protoc_insertion_point(class_specific_merge_from_start:satdDatabase.complieServer) GOOGLE_DCHECK_NE(&from, this); _internal_metadata_.MergeFrom(from._internal_metadata_); ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; if (from.server().size() > 0) { server_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.server_); } if (from.user().size() > 0) { user_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.user_); } if (from.password().size() > 0) { password_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.password_); } } void complieServer::CopyFrom(const ::google::protobuf::Message& from) { // @@protoc_insertion_point(generalized_copy_from_start:satdDatabase.complieServer) if (&from == this) return; Clear(); MergeFrom(from); } void complieServer::CopyFrom(const complieServer& from) { // @@protoc_insertion_point(class_specific_copy_from_start:satdDatabase.complieServer) if (&from == this) return; Clear(); MergeFrom(from); } bool complieServer::IsInitialized() const { return true; } void complieServer::Swap(complieServer* other) { if (other == this) return; InternalSwap(other); } void complieServer::InternalSwap(complieServer* other) { using std::swap; server_.Swap(&other->server_); user_.Swap(&other->user_); password_.Swap(&other->password_); _internal_metadata_.Swap(&other->_internal_metadata_); swap(_cached_size_, other->_cached_size_); } ::google::protobuf::Metadata complieServer::GetMetadata() const { protobuf_table_2eproto::protobuf_AssignDescriptorsOnce(); return ::protobuf_table_2eproto::file_level_metadata[kIndexInFileMessages]; } // =================================================================== void listServer::InitAsDefaultInstance() { } #if !defined(_MSC_VER) || _MSC_VER >= 1900 const int listServer::kServersFieldNumber; #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 listServer::listServer() : ::google::protobuf::Message(), _internal_metadata_(NULL) { if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) { ::protobuf_table_2eproto::InitDefaultslistServer(); } SharedCtor(); // @@protoc_insertion_point(constructor:satdDatabase.listServer) } listServer::listServer(const listServer& from) : ::google::protobuf::Message(), _internal_metadata_(NULL), servers_(from.servers_), _cached_size_(0) { _internal_metadata_.MergeFrom(from._internal_metadata_); // @@protoc_insertion_point(copy_constructor:satdDatabase.listServer) } void listServer::SharedCtor() { _cached_size_ = 0; } listServer::~listServer() { // @@protoc_insertion_point(destructor:satdDatabase.listServer) SharedDtor(); } void listServer::SharedDtor() { } void listServer::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* listServer::descriptor() { ::protobuf_table_2eproto::protobuf_AssignDescriptorsOnce(); return ::protobuf_table_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; } const listServer& listServer::default_instance() { ::protobuf_table_2eproto::InitDefaultslistServer(); return *internal_default_instance(); } listServer* listServer::New(::google::protobuf::Arena* arena) const { listServer* n = new listServer; if (arena != NULL) { arena->Own(n); } return n; } void listServer::Clear() { // @@protoc_insertion_point(message_clear_start:satdDatabase.listServer) ::google::protobuf::uint32 cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; servers_.Clear(); _internal_metadata_.Clear(); } bool listServer::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:satdDatabase.listServer) 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)) { // repeated .satdDatabase.complieServer servers = 4; case 4: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(34u /* 34 & 0xFF */)) { DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(input, add_servers())); } 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:satdDatabase.listServer) return true; failure: // @@protoc_insertion_point(parse_failure:satdDatabase.listServer) return false; #undef DO_ } void listServer::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // @@protoc_insertion_point(serialize_start:satdDatabase.listServer) ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; // repeated .satdDatabase.complieServer servers = 4; for (unsigned int i = 0, n = static_cast(this->servers_size()); i < n; i++) { ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( 4, this->servers(static_cast(i)), output); } if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output); } // @@protoc_insertion_point(serialize_end:satdDatabase.listServer) } ::google::protobuf::uint8* listServer::InternalSerializeWithCachedSizesToArray( bool deterministic, ::google::protobuf::uint8* target) const { (void)deterministic; // Unused // @@protoc_insertion_point(serialize_to_array_start:satdDatabase.listServer) ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; // repeated .satdDatabase.complieServer servers = 4; for (unsigned int i = 0, n = static_cast(this->servers_size()); i < n; i++) { target = ::google::protobuf::internal::WireFormatLite:: InternalWriteMessageToArray( 4, this->servers(static_cast(i)), deterministic, target); } if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target); } // @@protoc_insertion_point(serialize_to_array_end:satdDatabase.listServer) return target; } size_t listServer::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:satdDatabase.listServer) size_t total_size = 0; if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance())); } // repeated .satdDatabase.complieServer servers = 4; { unsigned int count = static_cast(this->servers_size()); total_size += 1UL * count; for (unsigned int i = 0; i < count; i++) { total_size += ::google::protobuf::internal::WireFormatLite::MessageSize( this->servers(static_cast(i))); } } 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 listServer::MergeFrom(const ::google::protobuf::Message& from) { // @@protoc_insertion_point(generalized_merge_from_start:satdDatabase.listServer) GOOGLE_DCHECK_NE(&from, this); const listServer* source = ::google::protobuf::internal::DynamicCastToGenerated( &from); if (source == NULL) { // @@protoc_insertion_point(generalized_merge_from_cast_fail:satdDatabase.listServer) ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { // @@protoc_insertion_point(generalized_merge_from_cast_success:satdDatabase.listServer) MergeFrom(*source); } } void listServer::MergeFrom(const listServer& from) { // @@protoc_insertion_point(class_specific_merge_from_start:satdDatabase.listServer) GOOGLE_DCHECK_NE(&from, this); _internal_metadata_.MergeFrom(from._internal_metadata_); ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; servers_.MergeFrom(from.servers_); } void listServer::CopyFrom(const ::google::protobuf::Message& from) { // @@protoc_insertion_point(generalized_copy_from_start:satdDatabase.listServer) if (&from == this) return; Clear(); MergeFrom(from); } void listServer::CopyFrom(const listServer& from) { // @@protoc_insertion_point(class_specific_copy_from_start:satdDatabase.listServer) if (&from == this) return; Clear(); MergeFrom(from); } bool listServer::IsInitialized() const { return true; } void listServer::Swap(listServer* other) { if (other == this) return; InternalSwap(other); } void listServer::InternalSwap(listServer* other) { using std::swap; servers_.InternalSwap(&other->servers_); _internal_metadata_.Swap(&other->_internal_metadata_); swap(_cached_size_, other->_cached_size_); } ::google::protobuf::Metadata listServer::GetMetadata() const { protobuf_table_2eproto::protobuf_AssignDescriptorsOnce(); return ::protobuf_table_2eproto::file_level_metadata[kIndexInFileMessages]; } // =================================================================== void listEndFlag::InitAsDefaultInstance() { } #if !defined(_MSC_VER) || _MSC_VER >= 1900 const int listEndFlag::kTerminatorFieldNumber; #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 listEndFlag::listEndFlag() : ::google::protobuf::Message(), _internal_metadata_(NULL) { if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) { ::protobuf_table_2eproto::InitDefaultslistEndFlag(); } SharedCtor(); // @@protoc_insertion_point(constructor:satdDatabase.listEndFlag) } listEndFlag::listEndFlag(const listEndFlag& from) : ::google::protobuf::Message(), _internal_metadata_(NULL), terminator_(from.terminator_), _cached_size_(0) { _internal_metadata_.MergeFrom(from._internal_metadata_); // @@protoc_insertion_point(copy_constructor:satdDatabase.listEndFlag) } void listEndFlag::SharedCtor() { _cached_size_ = 0; } listEndFlag::~listEndFlag() { // @@protoc_insertion_point(destructor:satdDatabase.listEndFlag) SharedDtor(); } void listEndFlag::SharedDtor() { } void listEndFlag::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* listEndFlag::descriptor() { ::protobuf_table_2eproto::protobuf_AssignDescriptorsOnce(); return ::protobuf_table_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; } const listEndFlag& listEndFlag::default_instance() { ::protobuf_table_2eproto::InitDefaultslistEndFlag(); return *internal_default_instance(); } listEndFlag* listEndFlag::New(::google::protobuf::Arena* arena) const { listEndFlag* n = new listEndFlag; if (arena != NULL) { arena->Own(n); } return n; } void listEndFlag::Clear() { // @@protoc_insertion_point(message_clear_start:satdDatabase.listEndFlag) ::google::protobuf::uint32 cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; terminator_.Clear(); _internal_metadata_.Clear(); } bool listEndFlag::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:satdDatabase.listEndFlag) 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)) { // repeated string terminator = 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->add_terminator())); DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->terminator(this->terminator_size() - 1).data(), static_cast(this->terminator(this->terminator_size() - 1).length()), ::google::protobuf::internal::WireFormatLite::PARSE, "satdDatabase.listEndFlag.terminator")); } 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:satdDatabase.listEndFlag) return true; failure: // @@protoc_insertion_point(parse_failure:satdDatabase.listEndFlag) return false; #undef DO_ } void listEndFlag::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // @@protoc_insertion_point(serialize_start:satdDatabase.listEndFlag) ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; // repeated string terminator = 5; for (int i = 0, n = this->terminator_size(); i < n; i++) { ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->terminator(i).data(), static_cast(this->terminator(i).length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "satdDatabase.listEndFlag.terminator"); ::google::protobuf::internal::WireFormatLite::WriteString( 5, this->terminator(i), output); } if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output); } // @@protoc_insertion_point(serialize_end:satdDatabase.listEndFlag) } ::google::protobuf::uint8* listEndFlag::InternalSerializeWithCachedSizesToArray( bool deterministic, ::google::protobuf::uint8* target) const { (void)deterministic; // Unused // @@protoc_insertion_point(serialize_to_array_start:satdDatabase.listEndFlag) ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; // repeated string terminator = 5; for (int i = 0, n = this->terminator_size(); i < n; i++) { ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->terminator(i).data(), static_cast(this->terminator(i).length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "satdDatabase.listEndFlag.terminator"); target = ::google::protobuf::internal::WireFormatLite:: WriteStringToArray(5, this->terminator(i), target); } if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target); } // @@protoc_insertion_point(serialize_to_array_end:satdDatabase.listEndFlag) return target; } size_t listEndFlag::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:satdDatabase.listEndFlag) size_t total_size = 0; if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance())); } // repeated string terminator = 5; total_size += 1 * ::google::protobuf::internal::FromIntSize(this->terminator_size()); for (int i = 0, n = this->terminator_size(); i < n; i++) { total_size += ::google::protobuf::internal::WireFormatLite::StringSize( this->terminator(i)); } 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 listEndFlag::MergeFrom(const ::google::protobuf::Message& from) { // @@protoc_insertion_point(generalized_merge_from_start:satdDatabase.listEndFlag) GOOGLE_DCHECK_NE(&from, this); const listEndFlag* source = ::google::protobuf::internal::DynamicCastToGenerated( &from); if (source == NULL) { // @@protoc_insertion_point(generalized_merge_from_cast_fail:satdDatabase.listEndFlag) ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { // @@protoc_insertion_point(generalized_merge_from_cast_success:satdDatabase.listEndFlag) MergeFrom(*source); } } void listEndFlag::MergeFrom(const listEndFlag& from) { // @@protoc_insertion_point(class_specific_merge_from_start:satdDatabase.listEndFlag) GOOGLE_DCHECK_NE(&from, this); _internal_metadata_.MergeFrom(from._internal_metadata_); ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; terminator_.MergeFrom(from.terminator_); } void listEndFlag::CopyFrom(const ::google::protobuf::Message& from) { // @@protoc_insertion_point(generalized_copy_from_start:satdDatabase.listEndFlag) if (&from == this) return; Clear(); MergeFrom(from); } void listEndFlag::CopyFrom(const listEndFlag& from) { // @@protoc_insertion_point(class_specific_copy_from_start:satdDatabase.listEndFlag) if (&from == this) return; Clear(); MergeFrom(from); } bool listEndFlag::IsInitialized() const { return true; } void listEndFlag::Swap(listEndFlag* other) { if (other == this) return; InternalSwap(other); } void listEndFlag::InternalSwap(listEndFlag* other) { using std::swap; terminator_.InternalSwap(&other->terminator_); _internal_metadata_.Swap(&other->_internal_metadata_); swap(_cached_size_, other->_cached_size_); } ::google::protobuf::Metadata listEndFlag::GetMetadata() const { protobuf_table_2eproto::protobuf_AssignDescriptorsOnce(); return ::protobuf_table_2eproto::file_level_metadata[kIndexInFileMessages]; } // =================================================================== void model::InitAsDefaultInstance() { ::satdDatabase::_model_default_instance_._instance.get_mutable()->flags_ = const_cast< ::satdDatabase::listEndFlag*>( ::satdDatabase::listEndFlag::internal_default_instance()); ::satdDatabase::_model_default_instance_._instance.get_mutable()->content_ = const_cast< ::satdDatabase::modelContent*>( ::satdDatabase::modelContent::internal_default_instance()); } #if !defined(_MSC_VER) || _MSC_VER >= 1900 const int model::kNameFieldNumber; const int model::kSoftSuffixFieldNumber; const int model::kFlagsFieldNumber; const int model::kContentFieldNumber; #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 model::model() : ::google::protobuf::Message(), _internal_metadata_(NULL) { if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) { ::protobuf_table_2eproto::InitDefaultsmodel(); } SharedCtor(); // @@protoc_insertion_point(constructor:satdDatabase.model) } model::model(const model& from) : ::google::protobuf::Message(), _internal_metadata_(NULL), _cached_size_(0) { _internal_metadata_.MergeFrom(from._internal_metadata_); name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); if (from.name().size() > 0) { name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.name_); } softsuffix_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); if (from.softsuffix().size() > 0) { softsuffix_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.softsuffix_); } if (from.has_flags()) { flags_ = new ::satdDatabase::listEndFlag(*from.flags_); } else { flags_ = NULL; } if (from.has_content()) { content_ = new ::satdDatabase::modelContent(*from.content_); } else { content_ = NULL; } // @@protoc_insertion_point(copy_constructor:satdDatabase.model) } void model::SharedCtor() { name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); softsuffix_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); ::memset(&flags_, 0, static_cast( reinterpret_cast(&content_) - reinterpret_cast(&flags_)) + sizeof(content_)); _cached_size_ = 0; } model::~model() { // @@protoc_insertion_point(destructor:satdDatabase.model) SharedDtor(); } void model::SharedDtor() { name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); softsuffix_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); if (this != internal_default_instance()) delete flags_; if (this != internal_default_instance()) delete content_; } void model::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* model::descriptor() { ::protobuf_table_2eproto::protobuf_AssignDescriptorsOnce(); return ::protobuf_table_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; } const model& model::default_instance() { ::protobuf_table_2eproto::InitDefaultsmodel(); return *internal_default_instance(); } model* model::New(::google::protobuf::Arena* arena) const { model* n = new model; if (arena != NULL) { arena->Own(n); } return n; } void model::Clear() { // @@protoc_insertion_point(message_clear_start:satdDatabase.model) ::google::protobuf::uint32 cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); softsuffix_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); if (GetArenaNoVirtual() == NULL && flags_ != NULL) { delete flags_; } flags_ = NULL; if (GetArenaNoVirtual() == NULL && content_ != NULL) { delete content_; } content_ = NULL; _internal_metadata_.Clear(); } bool model::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:satdDatabase.model) 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)) { // string 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_name())); DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->name().data(), static_cast(this->name().length()), ::google::protobuf::internal::WireFormatLite::PARSE, "satdDatabase.model.name")); } else { goto handle_unusual; } break; } // string softSuffix = 7; case 7: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(58u /* 58 & 0xFF */)) { DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->mutable_softsuffix())); DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->softsuffix().data(), static_cast(this->softsuffix().length()), ::google::protobuf::internal::WireFormatLite::PARSE, "satdDatabase.model.softSuffix")); } else { goto handle_unusual; } break; } // .satdDatabase.listEndFlag flags = 8; case 8: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(66u /* 66 & 0xFF */)) { DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( input, mutable_flags())); } else { goto handle_unusual; } break; } // .satdDatabase.modelContent content = 9; case 9: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(74u /* 74 & 0xFF */)) { DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( input, mutable_content())); } 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:satdDatabase.model) return true; failure: // @@protoc_insertion_point(parse_failure:satdDatabase.model) return false; #undef DO_ } void model::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // @@protoc_insertion_point(serialize_start:satdDatabase.model) ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; // string name = 6; if (this->name().size() > 0) { ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->name().data(), static_cast(this->name().length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "satdDatabase.model.name"); ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( 6, this->name(), output); } // string softSuffix = 7; if (this->softsuffix().size() > 0) { ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->softsuffix().data(), static_cast(this->softsuffix().length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "satdDatabase.model.softSuffix"); ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( 7, this->softsuffix(), output); } // .satdDatabase.listEndFlag flags = 8; if (this->has_flags()) { ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( 8, *this->flags_, output); } // .satdDatabase.modelContent content = 9; if (this->has_content()) { ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( 9, *this->content_, output); } if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output); } // @@protoc_insertion_point(serialize_end:satdDatabase.model) } ::google::protobuf::uint8* model::InternalSerializeWithCachedSizesToArray( bool deterministic, ::google::protobuf::uint8* target) const { (void)deterministic; // Unused // @@protoc_insertion_point(serialize_to_array_start:satdDatabase.model) ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; // string name = 6; if (this->name().size() > 0) { ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->name().data(), static_cast(this->name().length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "satdDatabase.model.name"); target = ::google::protobuf::internal::WireFormatLite::WriteStringToArray( 6, this->name(), target); } // string softSuffix = 7; if (this->softsuffix().size() > 0) { ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->softsuffix().data(), static_cast(this->softsuffix().length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "satdDatabase.model.softSuffix"); target = ::google::protobuf::internal::WireFormatLite::WriteStringToArray( 7, this->softsuffix(), target); } // .satdDatabase.listEndFlag flags = 8; if (this->has_flags()) { target = ::google::protobuf::internal::WireFormatLite:: InternalWriteMessageToArray( 8, *this->flags_, deterministic, target); } // .satdDatabase.modelContent content = 9; if (this->has_content()) { target = ::google::protobuf::internal::WireFormatLite:: InternalWriteMessageToArray( 9, *this->content_, deterministic, target); } if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target); } // @@protoc_insertion_point(serialize_to_array_end:satdDatabase.model) return target; } size_t model::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:satdDatabase.model) size_t total_size = 0; if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance())); } // string name = 6; if (this->name().size() > 0) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( this->name()); } // string softSuffix = 7; if (this->softsuffix().size() > 0) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( this->softsuffix()); } // .satdDatabase.listEndFlag flags = 8; if (this->has_flags()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( *this->flags_); } // .satdDatabase.modelContent content = 9; if (this->has_content()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( *this->content_); } 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 model::MergeFrom(const ::google::protobuf::Message& from) { // @@protoc_insertion_point(generalized_merge_from_start:satdDatabase.model) GOOGLE_DCHECK_NE(&from, this); const model* source = ::google::protobuf::internal::DynamicCastToGenerated( &from); if (source == NULL) { // @@protoc_insertion_point(generalized_merge_from_cast_fail:satdDatabase.model) ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { // @@protoc_insertion_point(generalized_merge_from_cast_success:satdDatabase.model) MergeFrom(*source); } } void model::MergeFrom(const model& from) { // @@protoc_insertion_point(class_specific_merge_from_start:satdDatabase.model) GOOGLE_DCHECK_NE(&from, this); _internal_metadata_.MergeFrom(from._internal_metadata_); ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; if (from.name().size() > 0) { name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.name_); } if (from.softsuffix().size() > 0) { softsuffix_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.softsuffix_); } if (from.has_flags()) { mutable_flags()->::satdDatabase::listEndFlag::MergeFrom(from.flags()); } if (from.has_content()) { mutable_content()->::satdDatabase::modelContent::MergeFrom(from.content()); } } void model::CopyFrom(const ::google::protobuf::Message& from) { // @@protoc_insertion_point(generalized_copy_from_start:satdDatabase.model) if (&from == this) return; Clear(); MergeFrom(from); } void model::CopyFrom(const model& from) { // @@protoc_insertion_point(class_specific_copy_from_start:satdDatabase.model) if (&from == this) return; Clear(); MergeFrom(from); } bool model::IsInitialized() const { return true; } void model::Swap(model* other) { if (other == this) return; InternalSwap(other); } void model::InternalSwap(model* other) { using std::swap; name_.Swap(&other->name_); softsuffix_.Swap(&other->softsuffix_); swap(flags_, other->flags_); swap(content_, other->content_); _internal_metadata_.Swap(&other->_internal_metadata_); swap(_cached_size_, other->_cached_size_); } ::google::protobuf::Metadata model::GetMetadata() const { protobuf_table_2eproto::protobuf_AssignDescriptorsOnce(); return ::protobuf_table_2eproto::file_level_metadata[kIndexInFileMessages]; } // =================================================================== void listModel::InitAsDefaultInstance() { } #if !defined(_MSC_VER) || _MSC_VER >= 1900 const int listModel::kModelsFieldNumber; #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 listModel::listModel() : ::google::protobuf::Message(), _internal_metadata_(NULL) { if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) { ::protobuf_table_2eproto::InitDefaultslistModel(); } SharedCtor(); // @@protoc_insertion_point(constructor:satdDatabase.listModel) } listModel::listModel(const listModel& from) : ::google::protobuf::Message(), _internal_metadata_(NULL), models_(from.models_), _cached_size_(0) { _internal_metadata_.MergeFrom(from._internal_metadata_); // @@protoc_insertion_point(copy_constructor:satdDatabase.listModel) } void listModel::SharedCtor() { _cached_size_ = 0; } listModel::~listModel() { // @@protoc_insertion_point(destructor:satdDatabase.listModel) SharedDtor(); } void listModel::SharedDtor() { } void listModel::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* listModel::descriptor() { ::protobuf_table_2eproto::protobuf_AssignDescriptorsOnce(); return ::protobuf_table_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; } const listModel& listModel::default_instance() { ::protobuf_table_2eproto::InitDefaultslistModel(); return *internal_default_instance(); } listModel* listModel::New(::google::protobuf::Arena* arena) const { listModel* n = new listModel; if (arena != NULL) { arena->Own(n); } return n; } void listModel::Clear() { // @@protoc_insertion_point(message_clear_start:satdDatabase.listModel) ::google::protobuf::uint32 cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; models_.Clear(); _internal_metadata_.Clear(); } bool listModel::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:satdDatabase.listModel) 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)) { // repeated .satdDatabase.model models = 10; case 10: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(82u /* 82 & 0xFF */)) { DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(input, add_models())); } 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:satdDatabase.listModel) return true; failure: // @@protoc_insertion_point(parse_failure:satdDatabase.listModel) return false; #undef DO_ } void listModel::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // @@protoc_insertion_point(serialize_start:satdDatabase.listModel) ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; // repeated .satdDatabase.model models = 10; for (unsigned int i = 0, n = static_cast(this->models_size()); i < n; i++) { ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( 10, this->models(static_cast(i)), output); } if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output); } // @@protoc_insertion_point(serialize_end:satdDatabase.listModel) } ::google::protobuf::uint8* listModel::InternalSerializeWithCachedSizesToArray( bool deterministic, ::google::protobuf::uint8* target) const { (void)deterministic; // Unused // @@protoc_insertion_point(serialize_to_array_start:satdDatabase.listModel) ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; // repeated .satdDatabase.model models = 10; for (unsigned int i = 0, n = static_cast(this->models_size()); i < n; i++) { target = ::google::protobuf::internal::WireFormatLite:: InternalWriteMessageToArray( 10, this->models(static_cast(i)), deterministic, target); } if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target); } // @@protoc_insertion_point(serialize_to_array_end:satdDatabase.listModel) return target; } size_t listModel::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:satdDatabase.listModel) size_t total_size = 0; if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance())); } // repeated .satdDatabase.model models = 10; { unsigned int count = static_cast(this->models_size()); total_size += 1UL * count; for (unsigned int i = 0; i < count; i++) { total_size += ::google::protobuf::internal::WireFormatLite::MessageSize( this->models(static_cast(i))); } } 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 listModel::MergeFrom(const ::google::protobuf::Message& from) { // @@protoc_insertion_point(generalized_merge_from_start:satdDatabase.listModel) GOOGLE_DCHECK_NE(&from, this); const listModel* source = ::google::protobuf::internal::DynamicCastToGenerated( &from); if (source == NULL) { // @@protoc_insertion_point(generalized_merge_from_cast_fail:satdDatabase.listModel) ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { // @@protoc_insertion_point(generalized_merge_from_cast_success:satdDatabase.listModel) MergeFrom(*source); } } void listModel::MergeFrom(const listModel& from) { // @@protoc_insertion_point(class_specific_merge_from_start:satdDatabase.listModel) GOOGLE_DCHECK_NE(&from, this); _internal_metadata_.MergeFrom(from._internal_metadata_); ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; models_.MergeFrom(from.models_); } void listModel::CopyFrom(const ::google::protobuf::Message& from) { // @@protoc_insertion_point(generalized_copy_from_start:satdDatabase.listModel) if (&from == this) return; Clear(); MergeFrom(from); } void listModel::CopyFrom(const listModel& from) { // @@protoc_insertion_point(class_specific_copy_from_start:satdDatabase.listModel) if (&from == this) return; Clear(); MergeFrom(from); } bool listModel::IsInitialized() const { return true; } void listModel::Swap(listModel* other) { if (other == this) return; InternalSwap(other); } void listModel::InternalSwap(listModel* other) { using std::swap; models_.InternalSwap(&other->models_); _internal_metadata_.Swap(&other->_internal_metadata_); swap(_cached_size_, other->_cached_size_); } ::google::protobuf::Metadata listModel::GetMetadata() const { protobuf_table_2eproto::protobuf_AssignDescriptorsOnce(); return ::protobuf_table_2eproto::file_level_metadata[kIndexInFileMessages]; } // =================================================================== void modelContent::InitAsDefaultInstance() { } #if !defined(_MSC_VER) || _MSC_VER >= 1900 const int modelContent::kComplieTimeFieldNumber; const int modelContent::kProjectModelFieldNumber; const int modelContent::kProductNameFieldNumber; const int modelContent::kSvndirFieldNumber; const int modelContent::kCommandFieldNumber; const int modelContent::kProjectNameFieldNumber; const int modelContent::kProjectSNFieldNumber; const int modelContent::kSoftVerFieldNumber; const int modelContent::kSvnVerFieldNumber; const int modelContent::kProjectIDFieldNumber; const int modelContent::kZoneFieldNumber; const int modelContent::kUIStyleFieldNumber; const int modelContent::kComplieFileDirFieldNumber; const int modelContent::kUserNameFieldNumber; const int modelContent::kTimeFieldNumber; #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 modelContent::modelContent() : ::google::protobuf::Message(), _internal_metadata_(NULL) { if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) { ::protobuf_table_2eproto::InitDefaultsmodelContent(); } SharedCtor(); // @@protoc_insertion_point(constructor:satdDatabase.modelContent) } modelContent::modelContent(const modelContent& from) : ::google::protobuf::Message(), _internal_metadata_(NULL), _cached_size_(0) { _internal_metadata_.MergeFrom(from._internal_metadata_); complietime_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); if (from.complietime().size() > 0) { complietime_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.complietime_); } projectmodel_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); if (from.projectmodel().size() > 0) { projectmodel_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.projectmodel_); } productname_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); if (from.productname().size() > 0) { productname_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.productname_); } svndir_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); if (from.svndir().size() > 0) { svndir_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.svndir_); } command_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); if (from.command().size() > 0) { command_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.command_); } projectname_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); if (from.projectname().size() > 0) { projectname_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.projectname_); } projectsn_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); if (from.projectsn().size() > 0) { projectsn_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.projectsn_); } softver_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); if (from.softver().size() > 0) { softver_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.softver_); } svnver_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); if (from.svnver().size() > 0) { svnver_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.svnver_); } projectid_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); if (from.projectid().size() > 0) { projectid_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.projectid_); } zone_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); if (from.zone().size() > 0) { zone_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.zone_); } uistyle_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); if (from.uistyle().size() > 0) { uistyle_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.uistyle_); } compliefiledir_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); if (from.compliefiledir().size() > 0) { compliefiledir_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.compliefiledir_); } username_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); if (from.username().size() > 0) { username_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.username_); } time_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); if (from.time().size() > 0) { time_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.time_); } // @@protoc_insertion_point(copy_constructor:satdDatabase.modelContent) } void modelContent::SharedCtor() { complietime_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); projectmodel_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); productname_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); svndir_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); command_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); projectname_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); projectsn_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); softver_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); svnver_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); projectid_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); zone_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); uistyle_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); compliefiledir_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); username_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); time_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); _cached_size_ = 0; } modelContent::~modelContent() { // @@protoc_insertion_point(destructor:satdDatabase.modelContent) SharedDtor(); } void modelContent::SharedDtor() { complietime_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); projectmodel_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); productname_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); svndir_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); command_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); projectname_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); projectsn_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); softver_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); svnver_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); projectid_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); zone_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); uistyle_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); compliefiledir_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); username_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); time_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } void modelContent::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* modelContent::descriptor() { ::protobuf_table_2eproto::protobuf_AssignDescriptorsOnce(); return ::protobuf_table_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; } const modelContent& modelContent::default_instance() { ::protobuf_table_2eproto::InitDefaultsmodelContent(); return *internal_default_instance(); } modelContent* modelContent::New(::google::protobuf::Arena* arena) const { modelContent* n = new modelContent; if (arena != NULL) { arena->Own(n); } return n; } void modelContent::Clear() { // @@protoc_insertion_point(message_clear_start:satdDatabase.modelContent) ::google::protobuf::uint32 cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; complietime_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); projectmodel_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); productname_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); svndir_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); command_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); projectname_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); projectsn_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); softver_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); svnver_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); projectid_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); zone_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); uistyle_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); compliefiledir_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); username_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); time_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); _internal_metadata_.Clear(); } bool modelContent::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:satdDatabase.modelContent) for (;;) { ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(16383u); tag = p.first; if (!p.second) goto handle_unusual; switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // string complieTime = 11; case 11: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(90u /* 90 & 0xFF */)) { DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->mutable_complietime())); DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->complietime().data(), static_cast(this->complietime().length()), ::google::protobuf::internal::WireFormatLite::PARSE, "satdDatabase.modelContent.complieTime")); } else { goto handle_unusual; } break; } // string projectModel = 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_projectmodel())); DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->projectmodel().data(), static_cast(this->projectmodel().length()), ::google::protobuf::internal::WireFormatLite::PARSE, "satdDatabase.modelContent.projectModel")); } else { goto handle_unusual; } break; } // string productName = 13; case 13: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(106u /* 106 & 0xFF */)) { DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->mutable_productname())); DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->productname().data(), static_cast(this->productname().length()), ::google::protobuf::internal::WireFormatLite::PARSE, "satdDatabase.modelContent.productName")); } else { goto handle_unusual; } break; } // string svndir = 14; case 14: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(114u /* 114 & 0xFF */)) { DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->mutable_svndir())); DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->svndir().data(), static_cast(this->svndir().length()), ::google::protobuf::internal::WireFormatLite::PARSE, "satdDatabase.modelContent.svndir")); } else { goto handle_unusual; } break; } // string command = 15; case 15: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(122u /* 122 & 0xFF */)) { DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->mutable_command())); DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->command().data(), static_cast(this->command().length()), ::google::protobuf::internal::WireFormatLite::PARSE, "satdDatabase.modelContent.command")); } else { goto handle_unusual; } break; } // string projectName = 16; case 16: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(130u /* 130 & 0xFF */)) { DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->mutable_projectname())); DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->projectname().data(), static_cast(this->projectname().length()), ::google::protobuf::internal::WireFormatLite::PARSE, "satdDatabase.modelContent.projectName")); } else { goto handle_unusual; } break; } // string projectSN = 17; case 17: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(138u /* 138 & 0xFF */)) { DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->mutable_projectsn())); DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->projectsn().data(), static_cast(this->projectsn().length()), ::google::protobuf::internal::WireFormatLite::PARSE, "satdDatabase.modelContent.projectSN")); } else { goto handle_unusual; } break; } // string softVer = 18; case 18: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(146u /* 146 & 0xFF */)) { DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->mutable_softver())); DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->softver().data(), static_cast(this->softver().length()), ::google::protobuf::internal::WireFormatLite::PARSE, "satdDatabase.modelContent.softVer")); } else { goto handle_unusual; } break; } // string svnVer = 19; case 19: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(154u /* 154 & 0xFF */)) { DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->mutable_svnver())); DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->svnver().data(), static_cast(this->svnver().length()), ::google::protobuf::internal::WireFormatLite::PARSE, "satdDatabase.modelContent.svnVer")); } else { goto handle_unusual; } break; } // string projectID = 20; case 20: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(162u /* 162 & 0xFF */)) { DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->mutable_projectid())); DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->projectid().data(), static_cast(this->projectid().length()), ::google::protobuf::internal::WireFormatLite::PARSE, "satdDatabase.modelContent.projectID")); } else { goto handle_unusual; } break; } // string zone = 21; case 21: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(170u /* 170 & 0xFF */)) { DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->mutable_zone())); DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->zone().data(), static_cast(this->zone().length()), ::google::protobuf::internal::WireFormatLite::PARSE, "satdDatabase.modelContent.zone")); } else { goto handle_unusual; } break; } // string UIStyle = 22; case 22: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(178u /* 178 & 0xFF */)) { DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->mutable_uistyle())); DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->uistyle().data(), static_cast(this->uistyle().length()), ::google::protobuf::internal::WireFormatLite::PARSE, "satdDatabase.modelContent.UIStyle")); } else { goto handle_unusual; } break; } // string complieFileDir = 23; case 23: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(186u /* 186 & 0xFF */)) { DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->mutable_compliefiledir())); DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->compliefiledir().data(), static_cast(this->compliefiledir().length()), ::google::protobuf::internal::WireFormatLite::PARSE, "satdDatabase.modelContent.complieFileDir")); } else { goto handle_unusual; } break; } // string userName = 24; case 24: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(194u /* 194 & 0xFF */)) { DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->mutable_username())); DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->username().data(), static_cast(this->username().length()), ::google::protobuf::internal::WireFormatLite::PARSE, "satdDatabase.modelContent.userName")); } else { goto handle_unusual; } break; } // string time = 25; case 25: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(202u /* 202 & 0xFF */)) { DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->mutable_time())); DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->time().data(), static_cast(this->time().length()), ::google::protobuf::internal::WireFormatLite::PARSE, "satdDatabase.modelContent.time")); } 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:satdDatabase.modelContent) return true; failure: // @@protoc_insertion_point(parse_failure:satdDatabase.modelContent) return false; #undef DO_ } void modelContent::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // @@protoc_insertion_point(serialize_start:satdDatabase.modelContent) ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; // string complieTime = 11; if (this->complietime().size() > 0) { ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->complietime().data(), static_cast(this->complietime().length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "satdDatabase.modelContent.complieTime"); ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( 11, this->complietime(), output); } // string projectModel = 12; if (this->projectmodel().size() > 0) { ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->projectmodel().data(), static_cast(this->projectmodel().length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "satdDatabase.modelContent.projectModel"); ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( 12, this->projectmodel(), output); } // string productName = 13; if (this->productname().size() > 0) { ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->productname().data(), static_cast(this->productname().length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "satdDatabase.modelContent.productName"); ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( 13, this->productname(), output); } // string svndir = 14; if (this->svndir().size() > 0) { ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->svndir().data(), static_cast(this->svndir().length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "satdDatabase.modelContent.svndir"); ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( 14, this->svndir(), output); } // string command = 15; if (this->command().size() > 0) { ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->command().data(), static_cast(this->command().length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "satdDatabase.modelContent.command"); ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( 15, this->command(), output); } // string projectName = 16; if (this->projectname().size() > 0) { ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->projectname().data(), static_cast(this->projectname().length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "satdDatabase.modelContent.projectName"); ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( 16, this->projectname(), output); } // string projectSN = 17; if (this->projectsn().size() > 0) { ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->projectsn().data(), static_cast(this->projectsn().length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "satdDatabase.modelContent.projectSN"); ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( 17, this->projectsn(), output); } // string softVer = 18; if (this->softver().size() > 0) { ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->softver().data(), static_cast(this->softver().length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "satdDatabase.modelContent.softVer"); ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( 18, this->softver(), output); } // string svnVer = 19; if (this->svnver().size() > 0) { ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->svnver().data(), static_cast(this->svnver().length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "satdDatabase.modelContent.svnVer"); ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( 19, this->svnver(), output); } // string projectID = 20; if (this->projectid().size() > 0) { ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->projectid().data(), static_cast(this->projectid().length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "satdDatabase.modelContent.projectID"); ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( 20, this->projectid(), output); } // string zone = 21; if (this->zone().size() > 0) { ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->zone().data(), static_cast(this->zone().length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "satdDatabase.modelContent.zone"); ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( 21, this->zone(), output); } // string UIStyle = 22; if (this->uistyle().size() > 0) { ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->uistyle().data(), static_cast(this->uistyle().length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "satdDatabase.modelContent.UIStyle"); ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( 22, this->uistyle(), output); } // string complieFileDir = 23; if (this->compliefiledir().size() > 0) { ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->compliefiledir().data(), static_cast(this->compliefiledir().length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "satdDatabase.modelContent.complieFileDir"); ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( 23, this->compliefiledir(), output); } // string userName = 24; if (this->username().size() > 0) { ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->username().data(), static_cast(this->username().length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "satdDatabase.modelContent.userName"); ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( 24, this->username(), output); } // string time = 25; if (this->time().size() > 0) { ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->time().data(), static_cast(this->time().length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "satdDatabase.modelContent.time"); ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( 25, this->time(), output); } if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output); } // @@protoc_insertion_point(serialize_end:satdDatabase.modelContent) } ::google::protobuf::uint8* modelContent::InternalSerializeWithCachedSizesToArray( bool deterministic, ::google::protobuf::uint8* target) const { (void)deterministic; // Unused // @@protoc_insertion_point(serialize_to_array_start:satdDatabase.modelContent) ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; // string complieTime = 11; if (this->complietime().size() > 0) { ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->complietime().data(), static_cast(this->complietime().length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "satdDatabase.modelContent.complieTime"); target = ::google::protobuf::internal::WireFormatLite::WriteStringToArray( 11, this->complietime(), target); } // string projectModel = 12; if (this->projectmodel().size() > 0) { ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->projectmodel().data(), static_cast(this->projectmodel().length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "satdDatabase.modelContent.projectModel"); target = ::google::protobuf::internal::WireFormatLite::WriteStringToArray( 12, this->projectmodel(), target); } // string productName = 13; if (this->productname().size() > 0) { ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->productname().data(), static_cast(this->productname().length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "satdDatabase.modelContent.productName"); target = ::google::protobuf::internal::WireFormatLite::WriteStringToArray( 13, this->productname(), target); } // string svndir = 14; if (this->svndir().size() > 0) { ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->svndir().data(), static_cast(this->svndir().length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "satdDatabase.modelContent.svndir"); target = ::google::protobuf::internal::WireFormatLite::WriteStringToArray( 14, this->svndir(), target); } // string command = 15; if (this->command().size() > 0) { ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->command().data(), static_cast(this->command().length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "satdDatabase.modelContent.command"); target = ::google::protobuf::internal::WireFormatLite::WriteStringToArray( 15, this->command(), target); } // string projectName = 16; if (this->projectname().size() > 0) { ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->projectname().data(), static_cast(this->projectname().length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "satdDatabase.modelContent.projectName"); target = ::google::protobuf::internal::WireFormatLite::WriteStringToArray( 16, this->projectname(), target); } // string projectSN = 17; if (this->projectsn().size() > 0) { ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->projectsn().data(), static_cast(this->projectsn().length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "satdDatabase.modelContent.projectSN"); target = ::google::protobuf::internal::WireFormatLite::WriteStringToArray( 17, this->projectsn(), target); } // string softVer = 18; if (this->softver().size() > 0) { ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->softver().data(), static_cast(this->softver().length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "satdDatabase.modelContent.softVer"); target = ::google::protobuf::internal::WireFormatLite::WriteStringToArray( 18, this->softver(), target); } // string svnVer = 19; if (this->svnver().size() > 0) { ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->svnver().data(), static_cast(this->svnver().length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "satdDatabase.modelContent.svnVer"); target = ::google::protobuf::internal::WireFormatLite::WriteStringToArray( 19, this->svnver(), target); } // string projectID = 20; if (this->projectid().size() > 0) { ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->projectid().data(), static_cast(this->projectid().length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "satdDatabase.modelContent.projectID"); target = ::google::protobuf::internal::WireFormatLite::WriteStringToArray( 20, this->projectid(), target); } // string zone = 21; if (this->zone().size() > 0) { ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->zone().data(), static_cast(this->zone().length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "satdDatabase.modelContent.zone"); target = ::google::protobuf::internal::WireFormatLite::WriteStringToArray( 21, this->zone(), target); } // string UIStyle = 22; if (this->uistyle().size() > 0) { ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->uistyle().data(), static_cast(this->uistyle().length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "satdDatabase.modelContent.UIStyle"); target = ::google::protobuf::internal::WireFormatLite::WriteStringToArray( 22, this->uistyle(), target); } // string complieFileDir = 23; if (this->compliefiledir().size() > 0) { ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->compliefiledir().data(), static_cast(this->compliefiledir().length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "satdDatabase.modelContent.complieFileDir"); target = ::google::protobuf::internal::WireFormatLite::WriteStringToArray( 23, this->compliefiledir(), target); } // string userName = 24; if (this->username().size() > 0) { ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->username().data(), static_cast(this->username().length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "satdDatabase.modelContent.userName"); target = ::google::protobuf::internal::WireFormatLite::WriteStringToArray( 24, this->username(), target); } // string time = 25; if (this->time().size() > 0) { ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->time().data(), static_cast(this->time().length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "satdDatabase.modelContent.time"); target = ::google::protobuf::internal::WireFormatLite::WriteStringToArray( 25, this->time(), target); } if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target); } // @@protoc_insertion_point(serialize_to_array_end:satdDatabase.modelContent) return target; } size_t modelContent::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:satdDatabase.modelContent) size_t total_size = 0; if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance())); } // string complieTime = 11; if (this->complietime().size() > 0) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( this->complietime()); } // string projectModel = 12; if (this->projectmodel().size() > 0) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( this->projectmodel()); } // string productName = 13; if (this->productname().size() > 0) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( this->productname()); } // string svndir = 14; if (this->svndir().size() > 0) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( this->svndir()); } // string command = 15; if (this->command().size() > 0) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( this->command()); } // string projectName = 16; if (this->projectname().size() > 0) { total_size += 2 + ::google::protobuf::internal::WireFormatLite::StringSize( this->projectname()); } // string projectSN = 17; if (this->projectsn().size() > 0) { total_size += 2 + ::google::protobuf::internal::WireFormatLite::StringSize( this->projectsn()); } // string softVer = 18; if (this->softver().size() > 0) { total_size += 2 + ::google::protobuf::internal::WireFormatLite::StringSize( this->softver()); } // string svnVer = 19; if (this->svnver().size() > 0) { total_size += 2 + ::google::protobuf::internal::WireFormatLite::StringSize( this->svnver()); } // string projectID = 20; if (this->projectid().size() > 0) { total_size += 2 + ::google::protobuf::internal::WireFormatLite::StringSize( this->projectid()); } // string zone = 21; if (this->zone().size() > 0) { total_size += 2 + ::google::protobuf::internal::WireFormatLite::StringSize( this->zone()); } // string UIStyle = 22; if (this->uistyle().size() > 0) { total_size += 2 + ::google::protobuf::internal::WireFormatLite::StringSize( this->uistyle()); } // string complieFileDir = 23; if (this->compliefiledir().size() > 0) { total_size += 2 + ::google::protobuf::internal::WireFormatLite::StringSize( this->compliefiledir()); } // string userName = 24; if (this->username().size() > 0) { total_size += 2 + ::google::protobuf::internal::WireFormatLite::StringSize( this->username()); } // string time = 25; if (this->time().size() > 0) { total_size += 2 + ::google::protobuf::internal::WireFormatLite::StringSize( this->time()); } 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 modelContent::MergeFrom(const ::google::protobuf::Message& from) { // @@protoc_insertion_point(generalized_merge_from_start:satdDatabase.modelContent) GOOGLE_DCHECK_NE(&from, this); const modelContent* source = ::google::protobuf::internal::DynamicCastToGenerated( &from); if (source == NULL) { // @@protoc_insertion_point(generalized_merge_from_cast_fail:satdDatabase.modelContent) ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { // @@protoc_insertion_point(generalized_merge_from_cast_success:satdDatabase.modelContent) MergeFrom(*source); } } void modelContent::MergeFrom(const modelContent& from) { // @@protoc_insertion_point(class_specific_merge_from_start:satdDatabase.modelContent) GOOGLE_DCHECK_NE(&from, this); _internal_metadata_.MergeFrom(from._internal_metadata_); ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; if (from.complietime().size() > 0) { complietime_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.complietime_); } if (from.projectmodel().size() > 0) { projectmodel_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.projectmodel_); } if (from.productname().size() > 0) { productname_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.productname_); } if (from.svndir().size() > 0) { svndir_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.svndir_); } if (from.command().size() > 0) { command_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.command_); } if (from.projectname().size() > 0) { projectname_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.projectname_); } if (from.projectsn().size() > 0) { projectsn_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.projectsn_); } if (from.softver().size() > 0) { softver_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.softver_); } if (from.svnver().size() > 0) { svnver_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.svnver_); } if (from.projectid().size() > 0) { projectid_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.projectid_); } if (from.zone().size() > 0) { zone_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.zone_); } if (from.uistyle().size() > 0) { uistyle_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.uistyle_); } if (from.compliefiledir().size() > 0) { compliefiledir_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.compliefiledir_); } if (from.username().size() > 0) { username_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.username_); } if (from.time().size() > 0) { time_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.time_); } } void modelContent::CopyFrom(const ::google::protobuf::Message& from) { // @@protoc_insertion_point(generalized_copy_from_start:satdDatabase.modelContent) if (&from == this) return; Clear(); MergeFrom(from); } void modelContent::CopyFrom(const modelContent& from) { // @@protoc_insertion_point(class_specific_copy_from_start:satdDatabase.modelContent) if (&from == this) return; Clear(); MergeFrom(from); } bool modelContent::IsInitialized() const { return true; } void modelContent::Swap(modelContent* other) { if (other == this) return; InternalSwap(other); } void modelContent::InternalSwap(modelContent* other) { using std::swap; complietime_.Swap(&other->complietime_); projectmodel_.Swap(&other->projectmodel_); productname_.Swap(&other->productname_); svndir_.Swap(&other->svndir_); command_.Swap(&other->command_); projectname_.Swap(&other->projectname_); projectsn_.Swap(&other->projectsn_); softver_.Swap(&other->softver_); svnver_.Swap(&other->svnver_); projectid_.Swap(&other->projectid_); zone_.Swap(&other->zone_); uistyle_.Swap(&other->uistyle_); compliefiledir_.Swap(&other->compliefiledir_); username_.Swap(&other->username_); time_.Swap(&other->time_); _internal_metadata_.Swap(&other->_internal_metadata_); swap(_cached_size_, other->_cached_size_); } ::google::protobuf::Metadata modelContent::GetMetadata() const { protobuf_table_2eproto::protobuf_AssignDescriptorsOnce(); return ::protobuf_table_2eproto::file_level_metadata[kIndexInFileMessages]; } // @@protoc_insertion_point(namespace_scope) } // namespace satdDatabase // @@protoc_insertion_point(global_scope)