// Generated by the protocol buffer compiler. DO NOT EDIT! // source: TaskInfoMessage.proto #include "TaskInfoMessage.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 GP1 { class TaskInfoMessage_TaskInfoMapEntry_DoNotUseDefaultTypeInternal { public: ::google::protobuf::internal::ExplicitlyConstructed _instance; } _TaskInfoMessage_TaskInfoMapEntry_DoNotUse_default_instance_; class TaskInfoMessageDefaultTypeInternal { public: ::google::protobuf::internal::ExplicitlyConstructed _instance; } _TaskInfoMessage_default_instance_; class PackHeadDefaultTypeInternal { public: ::google::protobuf::internal::ExplicitlyConstructed _instance; } _PackHead_default_instance_; class MapValueDefaultTypeInternal { public: ::google::protobuf::internal::ExplicitlyConstructed _instance; } _MapValue_default_instance_; } // namespace GP1 namespace protobuf_TaskInfoMessage_2eproto { void InitDefaultsTaskInfoMessage_TaskInfoMapEntry_DoNotUseImpl() { GOOGLE_PROTOBUF_VERIFY_VERSION; #ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS ::google::protobuf::internal::InitProtobufDefaultsForceUnique(); #else ::google::protobuf::internal::InitProtobufDefaults(); #endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS protobuf_TaskInfoMessage_2eproto::InitDefaultsMapValue(); { void* ptr = &::GP1::_TaskInfoMessage_TaskInfoMapEntry_DoNotUse_default_instance_; new (ptr) ::GP1::TaskInfoMessage_TaskInfoMapEntry_DoNotUse(); } ::GP1::TaskInfoMessage_TaskInfoMapEntry_DoNotUse::InitAsDefaultInstance(); } void InitDefaultsTaskInfoMessage_TaskInfoMapEntry_DoNotUse() { static GOOGLE_PROTOBUF_DECLARE_ONCE(once); ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsTaskInfoMessage_TaskInfoMapEntry_DoNotUseImpl); } void InitDefaultsTaskInfoMessageImpl() { GOOGLE_PROTOBUF_VERIFY_VERSION; #ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS ::google::protobuf::internal::InitProtobufDefaultsForceUnique(); #else ::google::protobuf::internal::InitProtobufDefaults(); #endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS protobuf_TaskInfoMessage_2eproto::InitDefaultsTaskInfoMessage_TaskInfoMapEntry_DoNotUse(); { void* ptr = &::GP1::_TaskInfoMessage_default_instance_; new (ptr) ::GP1::TaskInfoMessage(); ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); } ::GP1::TaskInfoMessage::InitAsDefaultInstance(); } void InitDefaultsTaskInfoMessage() { static GOOGLE_PROTOBUF_DECLARE_ONCE(once); ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsTaskInfoMessageImpl); } void InitDefaultsPackHeadImpl() { 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 = &::GP1::_PackHead_default_instance_; new (ptr) ::GP1::PackHead(); ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); } ::GP1::PackHead::InitAsDefaultInstance(); } void InitDefaultsPackHead() { static GOOGLE_PROTOBUF_DECLARE_ONCE(once); ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsPackHeadImpl); } void InitDefaultsMapValueImpl() { GOOGLE_PROTOBUF_VERIFY_VERSION; #ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS ::google::protobuf::internal::InitProtobufDefaultsForceUnique(); #else ::google::protobuf::internal::InitProtobufDefaults(); #endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS protobuf_TaskInfoMessage_2eproto::InitDefaultsPackHead(); { void* ptr = &::GP1::_MapValue_default_instance_; new (ptr) ::GP1::MapValue(); ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); } ::GP1::MapValue::InitAsDefaultInstance(); } void InitDefaultsMapValue() { static GOOGLE_PROTOBUF_DECLARE_ONCE(once); ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsMapValueImpl); } ::google::protobuf::Metadata file_level_metadata[4]; const ::google::protobuf::EnumDescriptor* file_level_enum_descriptors[1]; const ::google::protobuf::uint32 TableStruct::offsets[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::GP1::TaskInfoMessage_TaskInfoMapEntry_DoNotUse, _has_bits_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::GP1::TaskInfoMessage_TaskInfoMapEntry_DoNotUse, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::GP1::TaskInfoMessage_TaskInfoMapEntry_DoNotUse, key_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::GP1::TaskInfoMessage_TaskInfoMapEntry_DoNotUse, value_), 0, 1, ~0u, // no _has_bits_ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::GP1::TaskInfoMessage, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::GP1::TaskInfoMessage, taskinfomap_), ~0u, // no _has_bits_ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::GP1::PackHead, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::GP1::PackHead, type_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::GP1::PackHead, lenth_), ~0u, // no _has_bits_ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::GP1::MapValue, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::GP1::MapValue, head_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::GP1::MapValue, guid_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::GP1::MapValue, username_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::GP1::MapValue, fd_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::GP1::MapValue, time_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::GP1::MapValue, status_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::GP1::MapValue, projectmodel_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::GP1::MapValue, productname_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::GP1::MapValue, projectname_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::GP1::MapValue, projectnumberstr_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::GP1::MapValue, softversion_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::GP1::MapValue, projectid_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::GP1::MapValue, zone_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::GP1::MapValue, uistyle_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::GP1::MapValue, svnfiledir_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::GP1::MapValue, svnfilemd5_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::GP1::MapValue, svnversion_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::GP1::MapValue, requestip_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::GP1::MapValue, compiletime_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::GP1::MapValue, svndir_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::GP1::MapValue, command_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::GP1::MapValue, compileservice_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::GP1::MapValue, compiledfiledir_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::GP1::MapValue, replylogfd_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::GP1::MapValue, sshlogfd_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::GP1::MapValue, replylogdir_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::GP1::MapValue, sshlogdir_), }; static const ::google::protobuf::internal::MigrationSchema schemas[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = { { 0, 7, sizeof(::GP1::TaskInfoMessage_TaskInfoMapEntry_DoNotUse)}, { 9, -1, sizeof(::GP1::TaskInfoMessage)}, { 15, -1, sizeof(::GP1::PackHead)}, { 22, -1, sizeof(::GP1::MapValue)}, }; static ::google::protobuf::Message const * const file_default_instances[] = { reinterpret_cast(&::GP1::_TaskInfoMessage_TaskInfoMapEntry_DoNotUse_default_instance_), reinterpret_cast(&::GP1::_TaskInfoMessage_default_instance_), reinterpret_cast(&::GP1::_PackHead_default_instance_), reinterpret_cast(&::GP1::_MapValue_default_instance_), }; void protobuf_AssignDescriptors() { AddDescriptors(); ::google::protobuf::MessageFactory* factory = NULL; AssignDescriptors( "TaskInfoMessage.proto", schemas, file_default_instances, TableStruct::offsets, factory, file_level_metadata, file_level_enum_descriptors, 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, 4); } void AddDescriptorsImpl() { InitDefaults(); static const char descriptor[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = { "\n\025TaskInfoMessage.proto\022\003GP1\"\220\001\n\017TaskInf" "oMessage\022:\n\013taskInfoMap\030\001 \003(\0132%.GP1.Task" "InfoMessage.TaskInfoMapEntry\032A\n\020TaskInfo" "MapEntry\022\013\n\003key\030\001 \001(\t\022\034\n\005value\030\002 \001(\0132\r.G" "P1.MapValue:\0028\001\"2\n\010PackHead\022\027\n\004type\030\001 \001(" "\0162\t.GP1.Type\022\r\n\005lenth\030\002 \001(\005\"\226\004\n\010MapValue" "\022\033\n\004head\030\001 \001(\0132\r.GP1.PackHead\022\014\n\004guid\030\002 " "\001(\t\022\020\n\010userName\030\003 \001(\t\022\n\n\002fd\030\004 \001(\t\022\014\n\004tim" "e\030\005 \001(\t\022\016\n\006status\030\006 \001(\t\022\024\n\014projectModel\030" "\007 \001(\t\022\023\n\013productName\030\010 \001(\t\022\023\n\013projectNam" "e\030\t \001(\t\022\030\n\020projectNumberStr\030\n \001(\t\022\023\n\013sof" "tVersion\030\013 \001(\t\022\021\n\tprojectID\030\014 \001(\t\022\014\n\004zon" "e\030\r \001(\t\022\017\n\007UIStyle\030\016 \001(\t\022\022\n\nsvnFileDir\030\017" " \001(\t\022\022\n\nsvnFileMD5\030\020 \001(\t\022\022\n\nsvnVersion\030\021" " \001(\t\022\021\n\trequestIP\030\022 \001(\t\022\023\n\013compileTime\030\023" " \001(\t\022\016\n\006svnDir\030\024 \001(\t\022\017\n\007command\030\025 \001(\t\022\026\n" "\016compileService\030\026 \001(\t\022\027\n\017compiledFileDir" "\030\027 \001(\t\022\022\n\nreplylogfd\030\030 \001(\005\022\020\n\010sshlogfd\030\031" " \001(\005\022\023\n\013replylogdir\030\032 \001(\t\022\021\n\tsshlogdir\030\033" " \001(\t*\206\001\n\004Type\022\t\n\005HEART\020\000\022\t\n\005OTHER\020\001\022\021\n\rD" "IRECTCOMMAND\020\002\022\016\n\nCONNECTSSH\020\003\022\021\n\rDISCON" "NECTSSH\020\004\022\n\n\006RUNNER\020\005\022\t\n\005REPLY\020\006\022\t\n\005QUER" "Y\020\007\022\020\n\014CHANGESTATUS\020\010b\006proto3" }; ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( descriptor, 909); ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( "TaskInfoMessage.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_TaskInfoMessage_2eproto namespace GP1 { const ::google::protobuf::EnumDescriptor* Type_descriptor() { protobuf_TaskInfoMessage_2eproto::protobuf_AssignDescriptorsOnce(); return protobuf_TaskInfoMessage_2eproto::file_level_enum_descriptors[0]; } bool Type_IsValid(int value) { switch (value) { case 0: case 1: case 2: case 3: case 4: case 5: case 6: case 7: case 8: return true; default: return false; } } // =================================================================== TaskInfoMessage_TaskInfoMapEntry_DoNotUse::TaskInfoMessage_TaskInfoMapEntry_DoNotUse() {} TaskInfoMessage_TaskInfoMapEntry_DoNotUse::TaskInfoMessage_TaskInfoMapEntry_DoNotUse(::google::protobuf::Arena* arena) : SuperType(arena) {} void TaskInfoMessage_TaskInfoMapEntry_DoNotUse::MergeFrom(const TaskInfoMessage_TaskInfoMapEntry_DoNotUse& other) { MergeFromInternal(other); } ::google::protobuf::Metadata TaskInfoMessage_TaskInfoMapEntry_DoNotUse::GetMetadata() const { ::protobuf_TaskInfoMessage_2eproto::protobuf_AssignDescriptorsOnce(); return ::protobuf_TaskInfoMessage_2eproto::file_level_metadata[0]; } void TaskInfoMessage_TaskInfoMapEntry_DoNotUse::MergeFrom( const ::google::protobuf::Message& other) { ::google::protobuf::Message::MergeFrom(other); } // =================================================================== void TaskInfoMessage::InitAsDefaultInstance() { } #if !defined(_MSC_VER) || _MSC_VER >= 1900 const int TaskInfoMessage::kTaskInfoMapFieldNumber; #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 TaskInfoMessage::TaskInfoMessage() : ::google::protobuf::Message(), _internal_metadata_(NULL) { if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) { ::protobuf_TaskInfoMessage_2eproto::InitDefaultsTaskInfoMessage(); } SharedCtor(); // @@protoc_insertion_point(constructor:GP1.TaskInfoMessage) } TaskInfoMessage::TaskInfoMessage(const TaskInfoMessage& from) : ::google::protobuf::Message(), _internal_metadata_(NULL), _cached_size_(0) { _internal_metadata_.MergeFrom(from._internal_metadata_); taskinfomap_.MergeFrom(from.taskinfomap_); // @@protoc_insertion_point(copy_constructor:GP1.TaskInfoMessage) } void TaskInfoMessage::SharedCtor() { _cached_size_ = 0; } TaskInfoMessage::~TaskInfoMessage() { // @@protoc_insertion_point(destructor:GP1.TaskInfoMessage) SharedDtor(); } void TaskInfoMessage::SharedDtor() { } void TaskInfoMessage::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* TaskInfoMessage::descriptor() { ::protobuf_TaskInfoMessage_2eproto::protobuf_AssignDescriptorsOnce(); return ::protobuf_TaskInfoMessage_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; } const TaskInfoMessage& TaskInfoMessage::default_instance() { ::protobuf_TaskInfoMessage_2eproto::InitDefaultsTaskInfoMessage(); return *internal_default_instance(); } TaskInfoMessage* TaskInfoMessage::New(::google::protobuf::Arena* arena) const { TaskInfoMessage* n = new TaskInfoMessage; if (arena != NULL) { arena->Own(n); } return n; } void TaskInfoMessage::Clear() { // @@protoc_insertion_point(message_clear_start:GP1.TaskInfoMessage) ::google::protobuf::uint32 cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; taskinfomap_.Clear(); _internal_metadata_.Clear(); } bool TaskInfoMessage::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:GP1.TaskInfoMessage) 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)) { // map taskInfoMap = 1; case 1: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) { TaskInfoMessage_TaskInfoMapEntry_DoNotUse::Parser< ::google::protobuf::internal::MapField< TaskInfoMessage_TaskInfoMapEntry_DoNotUse, ::std::string, ::GP1::MapValue, ::google::protobuf::internal::WireFormatLite::TYPE_STRING, ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE, 0 >, ::google::protobuf::Map< ::std::string, ::GP1::MapValue > > parser(&taskinfomap_); DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, &parser)); DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( parser.key().data(), static_cast(parser.key().length()), ::google::protobuf::internal::WireFormatLite::PARSE, "GP1.TaskInfoMessage.TaskInfoMapEntry.key")); } 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:GP1.TaskInfoMessage) return true; failure: // @@protoc_insertion_point(parse_failure:GP1.TaskInfoMessage) return false; #undef DO_ } void TaskInfoMessage::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // @@protoc_insertion_point(serialize_start:GP1.TaskInfoMessage) ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; // map taskInfoMap = 1; if (!this->taskinfomap().empty()) { typedef ::google::protobuf::Map< ::std::string, ::GP1::MapValue >::const_pointer ConstPtr; typedef ConstPtr SortItem; typedef ::google::protobuf::internal::CompareByDerefFirst Less; struct Utf8Check { static void Check(ConstPtr p) { ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( p->first.data(), static_cast(p->first.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "GP1.TaskInfoMessage.TaskInfoMapEntry.key"); } }; if (output->IsSerializationDeterministic() && this->taskinfomap().size() > 1) { ::google::protobuf::scoped_array items( new SortItem[this->taskinfomap().size()]); typedef ::google::protobuf::Map< ::std::string, ::GP1::MapValue >::size_type size_type; size_type n = 0; for (::google::protobuf::Map< ::std::string, ::GP1::MapValue >::const_iterator it = this->taskinfomap().begin(); it != this->taskinfomap().end(); ++it, ++n) { items[static_cast(n)] = SortItem(&*it); } ::std::sort(&items[0], &items[static_cast(n)], Less()); ::google::protobuf::scoped_ptr entry; for (size_type i = 0; i < n; i++) { entry.reset(taskinfomap_.NewEntryWrapper( items[static_cast(i)]->first, items[static_cast(i)]->second)); ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( 1, *entry, output); Utf8Check::Check(items[static_cast(i)]); } } else { ::google::protobuf::scoped_ptr entry; for (::google::protobuf::Map< ::std::string, ::GP1::MapValue >::const_iterator it = this->taskinfomap().begin(); it != this->taskinfomap().end(); ++it) { entry.reset(taskinfomap_.NewEntryWrapper( it->first, it->second)); ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( 1, *entry, output); Utf8Check::Check(&*it); } } } 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:GP1.TaskInfoMessage) } ::google::protobuf::uint8* TaskInfoMessage::InternalSerializeWithCachedSizesToArray( bool deterministic, ::google::protobuf::uint8* target) const { (void)deterministic; // Unused // @@protoc_insertion_point(serialize_to_array_start:GP1.TaskInfoMessage) ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; // map taskInfoMap = 1; if (!this->taskinfomap().empty()) { typedef ::google::protobuf::Map< ::std::string, ::GP1::MapValue >::const_pointer ConstPtr; typedef ConstPtr SortItem; typedef ::google::protobuf::internal::CompareByDerefFirst Less; struct Utf8Check { static void Check(ConstPtr p) { ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( p->first.data(), static_cast(p->first.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "GP1.TaskInfoMessage.TaskInfoMapEntry.key"); } }; if (deterministic && this->taskinfomap().size() > 1) { ::google::protobuf::scoped_array items( new SortItem[this->taskinfomap().size()]); typedef ::google::protobuf::Map< ::std::string, ::GP1::MapValue >::size_type size_type; size_type n = 0; for (::google::protobuf::Map< ::std::string, ::GP1::MapValue >::const_iterator it = this->taskinfomap().begin(); it != this->taskinfomap().end(); ++it, ++n) { items[static_cast(n)] = SortItem(&*it); } ::std::sort(&items[0], &items[static_cast(n)], Less()); ::google::protobuf::scoped_ptr entry; for (size_type i = 0; i < n; i++) { entry.reset(taskinfomap_.NewEntryWrapper( items[static_cast(i)]->first, items[static_cast(i)]->second)); target = ::google::protobuf::internal::WireFormatLite:: InternalWriteMessageNoVirtualToArray( 1, *entry, deterministic, target); ; Utf8Check::Check(items[static_cast(i)]); } } else { ::google::protobuf::scoped_ptr entry; for (::google::protobuf::Map< ::std::string, ::GP1::MapValue >::const_iterator it = this->taskinfomap().begin(); it != this->taskinfomap().end(); ++it) { entry.reset(taskinfomap_.NewEntryWrapper( it->first, it->second)); target = ::google::protobuf::internal::WireFormatLite:: InternalWriteMessageNoVirtualToArray( 1, *entry, deterministic, target); ; Utf8Check::Check(&*it); } } } 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:GP1.TaskInfoMessage) return target; } size_t TaskInfoMessage::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:GP1.TaskInfoMessage) 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())); } // map taskInfoMap = 1; total_size += 1 * ::google::protobuf::internal::FromIntSize(this->taskinfomap_size()); { ::google::protobuf::scoped_ptr entry; for (::google::protobuf::Map< ::std::string, ::GP1::MapValue >::const_iterator it = this->taskinfomap().begin(); it != this->taskinfomap().end(); ++it) { entry.reset(taskinfomap_.NewEntryWrapper(it->first, it->second)); total_size += ::google::protobuf::internal::WireFormatLite:: MessageSizeNoVirtual(*entry); } } 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 TaskInfoMessage::MergeFrom(const ::google::protobuf::Message& from) { // @@protoc_insertion_point(generalized_merge_from_start:GP1.TaskInfoMessage) GOOGLE_DCHECK_NE(&from, this); const TaskInfoMessage* source = ::google::protobuf::internal::DynamicCastToGenerated( &from); if (source == NULL) { // @@protoc_insertion_point(generalized_merge_from_cast_fail:GP1.TaskInfoMessage) ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { // @@protoc_insertion_point(generalized_merge_from_cast_success:GP1.TaskInfoMessage) MergeFrom(*source); } } void TaskInfoMessage::MergeFrom(const TaskInfoMessage& from) { // @@protoc_insertion_point(class_specific_merge_from_start:GP1.TaskInfoMessage) GOOGLE_DCHECK_NE(&from, this); _internal_metadata_.MergeFrom(from._internal_metadata_); ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; taskinfomap_.MergeFrom(from.taskinfomap_); } void TaskInfoMessage::CopyFrom(const ::google::protobuf::Message& from) { // @@protoc_insertion_point(generalized_copy_from_start:GP1.TaskInfoMessage) if (&from == this) return; Clear(); MergeFrom(from); } void TaskInfoMessage::CopyFrom(const TaskInfoMessage& from) { // @@protoc_insertion_point(class_specific_copy_from_start:GP1.TaskInfoMessage) if (&from == this) return; Clear(); MergeFrom(from); } bool TaskInfoMessage::IsInitialized() const { return true; } void TaskInfoMessage::Swap(TaskInfoMessage* other) { if (other == this) return; InternalSwap(other); } void TaskInfoMessage::InternalSwap(TaskInfoMessage* other) { using std::swap; taskinfomap_.Swap(&other->taskinfomap_); _internal_metadata_.Swap(&other->_internal_metadata_); swap(_cached_size_, other->_cached_size_); } ::google::protobuf::Metadata TaskInfoMessage::GetMetadata() const { protobuf_TaskInfoMessage_2eproto::protobuf_AssignDescriptorsOnce(); return ::protobuf_TaskInfoMessage_2eproto::file_level_metadata[kIndexInFileMessages]; } // =================================================================== void PackHead::InitAsDefaultInstance() { } #if !defined(_MSC_VER) || _MSC_VER >= 1900 const int PackHead::kTypeFieldNumber; const int PackHead::kLenthFieldNumber; #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 PackHead::PackHead() : ::google::protobuf::Message(), _internal_metadata_(NULL) { if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) { ::protobuf_TaskInfoMessage_2eproto::InitDefaultsPackHead(); } SharedCtor(); // @@protoc_insertion_point(constructor:GP1.PackHead) } PackHead::PackHead(const PackHead& from) : ::google::protobuf::Message(), _internal_metadata_(NULL), _cached_size_(0) { _internal_metadata_.MergeFrom(from._internal_metadata_); ::memcpy(&type_, &from.type_, static_cast(reinterpret_cast(&lenth_) - reinterpret_cast(&type_)) + sizeof(lenth_)); // @@protoc_insertion_point(copy_constructor:GP1.PackHead) } void PackHead::SharedCtor() { ::memset(&type_, 0, static_cast( reinterpret_cast(&lenth_) - reinterpret_cast(&type_)) + sizeof(lenth_)); _cached_size_ = 0; } PackHead::~PackHead() { // @@protoc_insertion_point(destructor:GP1.PackHead) SharedDtor(); } void PackHead::SharedDtor() { } void PackHead::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* PackHead::descriptor() { ::protobuf_TaskInfoMessage_2eproto::protobuf_AssignDescriptorsOnce(); return ::protobuf_TaskInfoMessage_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; } const PackHead& PackHead::default_instance() { ::protobuf_TaskInfoMessage_2eproto::InitDefaultsPackHead(); return *internal_default_instance(); } PackHead* PackHead::New(::google::protobuf::Arena* arena) const { PackHead* n = new PackHead; if (arena != NULL) { arena->Own(n); } return n; } void PackHead::Clear() { // @@protoc_insertion_point(message_clear_start:GP1.PackHead) ::google::protobuf::uint32 cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; ::memset(&type_, 0, static_cast( reinterpret_cast(&lenth_) - reinterpret_cast(&type_)) + sizeof(lenth_)); _internal_metadata_.Clear(); } bool PackHead::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:GP1.PackHead) 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)) { // .GP1.Type type = 1; case 1: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) { int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( input, &value))); set_type(static_cast< ::GP1::Type >(value)); } else { goto handle_unusual; } break; } // int32 lenth = 2; case 2: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &lenth_))); } 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:GP1.PackHead) return true; failure: // @@protoc_insertion_point(parse_failure:GP1.PackHead) return false; #undef DO_ } void PackHead::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // @@protoc_insertion_point(serialize_start:GP1.PackHead) ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; // .GP1.Type type = 1; if (this->type() != 0) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 1, this->type(), output); } // int32 lenth = 2; if (this->lenth() != 0) { ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->lenth(), 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:GP1.PackHead) } ::google::protobuf::uint8* PackHead::InternalSerializeWithCachedSizesToArray( bool deterministic, ::google::protobuf::uint8* target) const { (void)deterministic; // Unused // @@protoc_insertion_point(serialize_to_array_start:GP1.PackHead) ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; // .GP1.Type type = 1; if (this->type() != 0) { target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( 1, this->type(), target); } // int32 lenth = 2; if (this->lenth() != 0) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->lenth(), 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:GP1.PackHead) return target; } size_t PackHead::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:GP1.PackHead) 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())); } // .GP1.Type type = 1; if (this->type() != 0) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->type()); } // int32 lenth = 2; if (this->lenth() != 0) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->lenth()); } 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 PackHead::MergeFrom(const ::google::protobuf::Message& from) { // @@protoc_insertion_point(generalized_merge_from_start:GP1.PackHead) GOOGLE_DCHECK_NE(&from, this); const PackHead* source = ::google::protobuf::internal::DynamicCastToGenerated( &from); if (source == NULL) { // @@protoc_insertion_point(generalized_merge_from_cast_fail:GP1.PackHead) ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { // @@protoc_insertion_point(generalized_merge_from_cast_success:GP1.PackHead) MergeFrom(*source); } } void PackHead::MergeFrom(const PackHead& from) { // @@protoc_insertion_point(class_specific_merge_from_start:GP1.PackHead) GOOGLE_DCHECK_NE(&from, this); _internal_metadata_.MergeFrom(from._internal_metadata_); ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; if (from.type() != 0) { set_type(from.type()); } if (from.lenth() != 0) { set_lenth(from.lenth()); } } void PackHead::CopyFrom(const ::google::protobuf::Message& from) { // @@protoc_insertion_point(generalized_copy_from_start:GP1.PackHead) if (&from == this) return; Clear(); MergeFrom(from); } void PackHead::CopyFrom(const PackHead& from) { // @@protoc_insertion_point(class_specific_copy_from_start:GP1.PackHead) if (&from == this) return; Clear(); MergeFrom(from); } bool PackHead::IsInitialized() const { return true; } void PackHead::Swap(PackHead* other) { if (other == this) return; InternalSwap(other); } void PackHead::InternalSwap(PackHead* other) { using std::swap; swap(type_, other->type_); swap(lenth_, other->lenth_); _internal_metadata_.Swap(&other->_internal_metadata_); swap(_cached_size_, other->_cached_size_); } ::google::protobuf::Metadata PackHead::GetMetadata() const { protobuf_TaskInfoMessage_2eproto::protobuf_AssignDescriptorsOnce(); return ::protobuf_TaskInfoMessage_2eproto::file_level_metadata[kIndexInFileMessages]; } // =================================================================== void MapValue::InitAsDefaultInstance() { ::GP1::_MapValue_default_instance_._instance.get_mutable()->head_ = const_cast< ::GP1::PackHead*>( ::GP1::PackHead::internal_default_instance()); } #if !defined(_MSC_VER) || _MSC_VER >= 1900 const int MapValue::kHeadFieldNumber; const int MapValue::kGuidFieldNumber; const int MapValue::kUserNameFieldNumber; const int MapValue::kFdFieldNumber; const int MapValue::kTimeFieldNumber; const int MapValue::kStatusFieldNumber; const int MapValue::kProjectModelFieldNumber; const int MapValue::kProductNameFieldNumber; const int MapValue::kProjectNameFieldNumber; const int MapValue::kProjectNumberStrFieldNumber; const int MapValue::kSoftVersionFieldNumber; const int MapValue::kProjectIDFieldNumber; const int MapValue::kZoneFieldNumber; const int MapValue::kUIStyleFieldNumber; const int MapValue::kSvnFileDirFieldNumber; const int MapValue::kSvnFileMD5FieldNumber; const int MapValue::kSvnVersionFieldNumber; const int MapValue::kRequestIPFieldNumber; const int MapValue::kCompileTimeFieldNumber; const int MapValue::kSvnDirFieldNumber; const int MapValue::kCommandFieldNumber; const int MapValue::kCompileServiceFieldNumber; const int MapValue::kCompiledFileDirFieldNumber; const int MapValue::kReplylogfdFieldNumber; const int MapValue::kSshlogfdFieldNumber; const int MapValue::kReplylogdirFieldNumber; const int MapValue::kSshlogdirFieldNumber; #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 MapValue::MapValue() : ::google::protobuf::Message(), _internal_metadata_(NULL) { if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) { ::protobuf_TaskInfoMessage_2eproto::InitDefaultsMapValue(); } SharedCtor(); // @@protoc_insertion_point(constructor:GP1.MapValue) } MapValue::MapValue(const MapValue& from) : ::google::protobuf::Message(), _internal_metadata_(NULL), _cached_size_(0) { _internal_metadata_.MergeFrom(from._internal_metadata_); guid_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); if (from.guid().size() > 0) { guid_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.guid_); } username_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); if (from.username().size() > 0) { username_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.username_); } fd_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); if (from.fd().size() > 0) { fd_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.fd_); } time_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); if (from.time().size() > 0) { time_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.time_); } status_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); if (from.status().size() > 0) { status_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.status_); } 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_); } projectname_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); if (from.projectname().size() > 0) { projectname_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.projectname_); } projectnumberstr_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); if (from.projectnumberstr().size() > 0) { projectnumberstr_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.projectnumberstr_); } softversion_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); if (from.softversion().size() > 0) { softversion_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.softversion_); } 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_); } svnfiledir_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); if (from.svnfiledir().size() > 0) { svnfiledir_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.svnfiledir_); } svnfilemd5_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); if (from.svnfilemd5().size() > 0) { svnfilemd5_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.svnfilemd5_); } svnversion_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); if (from.svnversion().size() > 0) { svnversion_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.svnversion_); } requestip_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); if (from.requestip().size() > 0) { requestip_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.requestip_); } compiletime_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); if (from.compiletime().size() > 0) { compiletime_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.compiletime_); } 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_); } compileservice_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); if (from.compileservice().size() > 0) { compileservice_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.compileservice_); } compiledfiledir_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); if (from.compiledfiledir().size() > 0) { compiledfiledir_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.compiledfiledir_); } replylogdir_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); if (from.replylogdir().size() > 0) { replylogdir_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.replylogdir_); } sshlogdir_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); if (from.sshlogdir().size() > 0) { sshlogdir_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.sshlogdir_); } if (from.has_head()) { head_ = new ::GP1::PackHead(*from.head_); } else { head_ = NULL; } ::memcpy(&replylogfd_, &from.replylogfd_, static_cast(reinterpret_cast(&sshlogfd_) - reinterpret_cast(&replylogfd_)) + sizeof(sshlogfd_)); // @@protoc_insertion_point(copy_constructor:GP1.MapValue) } void MapValue::SharedCtor() { guid_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); username_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); fd_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); time_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); status_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); projectmodel_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); productname_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); projectname_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); projectnumberstr_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); softversion_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); projectid_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); zone_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); uistyle_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); svnfiledir_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); svnfilemd5_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); svnversion_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); requestip_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); compiletime_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); svndir_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); command_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); compileservice_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); compiledfiledir_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); replylogdir_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); sshlogdir_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); ::memset(&head_, 0, static_cast( reinterpret_cast(&sshlogfd_) - reinterpret_cast(&head_)) + sizeof(sshlogfd_)); _cached_size_ = 0; } MapValue::~MapValue() { // @@protoc_insertion_point(destructor:GP1.MapValue) SharedDtor(); } void MapValue::SharedDtor() { guid_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); username_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); fd_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); time_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); status_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); projectmodel_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); productname_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); projectname_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); projectnumberstr_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); softversion_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); projectid_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); zone_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); uistyle_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); svnfiledir_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); svnfilemd5_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); svnversion_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); requestip_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); compiletime_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); svndir_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); command_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); compileservice_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); compiledfiledir_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); replylogdir_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); sshlogdir_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); if (this != internal_default_instance()) delete head_; } void MapValue::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* MapValue::descriptor() { ::protobuf_TaskInfoMessage_2eproto::protobuf_AssignDescriptorsOnce(); return ::protobuf_TaskInfoMessage_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; } const MapValue& MapValue::default_instance() { ::protobuf_TaskInfoMessage_2eproto::InitDefaultsMapValue(); return *internal_default_instance(); } MapValue* MapValue::New(::google::protobuf::Arena* arena) const { MapValue* n = new MapValue; if (arena != NULL) { arena->Own(n); } return n; } void MapValue::Clear() { // @@protoc_insertion_point(message_clear_start:GP1.MapValue) ::google::protobuf::uint32 cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; guid_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); username_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); fd_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); time_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); status_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); projectmodel_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); productname_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); projectname_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); projectnumberstr_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); softversion_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); projectid_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); zone_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); uistyle_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); svnfiledir_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); svnfilemd5_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); svnversion_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); requestip_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); compiletime_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); svndir_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); command_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); compileservice_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); compiledfiledir_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); replylogdir_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); sshlogdir_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); if (GetArenaNoVirtual() == NULL && head_ != NULL) { delete head_; } head_ = NULL; ::memset(&replylogfd_, 0, static_cast( reinterpret_cast(&sshlogfd_) - reinterpret_cast(&replylogfd_)) + sizeof(sshlogfd_)); _internal_metadata_.Clear(); } bool MapValue::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:GP1.MapValue) 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)) { // .GP1.PackHead head = 1; case 1: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) { DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( input, mutable_head())); } else { goto handle_unusual; } break; } // string guid = 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_guid())); DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->guid().data(), static_cast(this->guid().length()), ::google::protobuf::internal::WireFormatLite::PARSE, "GP1.MapValue.guid")); } else { goto handle_unusual; } break; } // string userName = 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_username())); DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->username().data(), static_cast(this->username().length()), ::google::protobuf::internal::WireFormatLite::PARSE, "GP1.MapValue.userName")); } else { goto handle_unusual; } break; } // string fd = 4; case 4: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(34u /* 34 & 0xFF */)) { DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->mutable_fd())); DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->fd().data(), static_cast(this->fd().length()), ::google::protobuf::internal::WireFormatLite::PARSE, "GP1.MapValue.fd")); } else { goto handle_unusual; } break; } // string time = 5; case 5: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(42u /* 42 & 0xFF */)) { DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->mutable_time())); DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->time().data(), static_cast(this->time().length()), ::google::protobuf::internal::WireFormatLite::PARSE, "GP1.MapValue.time")); } else { goto handle_unusual; } break; } // string status = 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_status())); DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->status().data(), static_cast(this->status().length()), ::google::protobuf::internal::WireFormatLite::PARSE, "GP1.MapValue.status")); } else { goto handle_unusual; } break; } // string projectModel = 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_projectmodel())); DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->projectmodel().data(), static_cast(this->projectmodel().length()), ::google::protobuf::internal::WireFormatLite::PARSE, "GP1.MapValue.projectModel")); } else { goto handle_unusual; } break; } // string productName = 8; case 8: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(66u /* 66 & 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, "GP1.MapValue.productName")); } else { goto handle_unusual; } break; } // string projectName = 9; case 9: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(74u /* 74 & 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, "GP1.MapValue.projectName")); } else { goto handle_unusual; } break; } // string projectNumberStr = 10; case 10: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(82u /* 82 & 0xFF */)) { DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->mutable_projectnumberstr())); DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->projectnumberstr().data(), static_cast(this->projectnumberstr().length()), ::google::protobuf::internal::WireFormatLite::PARSE, "GP1.MapValue.projectNumberStr")); } else { goto handle_unusual; } break; } // string softVersion = 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_softversion())); DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->softversion().data(), static_cast(this->softversion().length()), ::google::protobuf::internal::WireFormatLite::PARSE, "GP1.MapValue.softVersion")); } else { goto handle_unusual; } break; } // string projectID = 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_projectid())); DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->projectid().data(), static_cast(this->projectid().length()), ::google::protobuf::internal::WireFormatLite::PARSE, "GP1.MapValue.projectID")); } else { goto handle_unusual; } break; } // string zone = 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_zone())); DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->zone().data(), static_cast(this->zone().length()), ::google::protobuf::internal::WireFormatLite::PARSE, "GP1.MapValue.zone")); } else { goto handle_unusual; } break; } // string UIStyle = 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_uistyle())); DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->uistyle().data(), static_cast(this->uistyle().length()), ::google::protobuf::internal::WireFormatLite::PARSE, "GP1.MapValue.UIStyle")); } else { goto handle_unusual; } break; } // string svnFileDir = 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_svnfiledir())); DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->svnfiledir().data(), static_cast(this->svnfiledir().length()), ::google::protobuf::internal::WireFormatLite::PARSE, "GP1.MapValue.svnFileDir")); } else { goto handle_unusual; } break; } // string svnFileMD5 = 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_svnfilemd5())); DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->svnfilemd5().data(), static_cast(this->svnfilemd5().length()), ::google::protobuf::internal::WireFormatLite::PARSE, "GP1.MapValue.svnFileMD5")); } else { goto handle_unusual; } break; } // string svnVersion = 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_svnversion())); DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->svnversion().data(), static_cast(this->svnversion().length()), ::google::protobuf::internal::WireFormatLite::PARSE, "GP1.MapValue.svnVersion")); } else { goto handle_unusual; } break; } // string requestIP = 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_requestip())); DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->requestip().data(), static_cast(this->requestip().length()), ::google::protobuf::internal::WireFormatLite::PARSE, "GP1.MapValue.requestIP")); } else { goto handle_unusual; } break; } // string compileTime = 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_compiletime())); DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->compiletime().data(), static_cast(this->compiletime().length()), ::google::protobuf::internal::WireFormatLite::PARSE, "GP1.MapValue.compileTime")); } else { goto handle_unusual; } break; } // string svnDir = 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_svndir())); DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->svndir().data(), static_cast(this->svndir().length()), ::google::protobuf::internal::WireFormatLite::PARSE, "GP1.MapValue.svnDir")); } else { goto handle_unusual; } break; } // string command = 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_command())); DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->command().data(), static_cast(this->command().length()), ::google::protobuf::internal::WireFormatLite::PARSE, "GP1.MapValue.command")); } else { goto handle_unusual; } break; } // string compileService = 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_compileservice())); DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->compileservice().data(), static_cast(this->compileservice().length()), ::google::protobuf::internal::WireFormatLite::PARSE, "GP1.MapValue.compileService")); } else { goto handle_unusual; } break; } // string compiledFileDir = 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_compiledfiledir())); DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->compiledfiledir().data(), static_cast(this->compiledfiledir().length()), ::google::protobuf::internal::WireFormatLite::PARSE, "GP1.MapValue.compiledFileDir")); } else { goto handle_unusual; } break; } // int32 replylogfd = 24; case 24: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(192u /* 192 & 0xFF */)) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &replylogfd_))); } else { goto handle_unusual; } break; } // int32 sshlogfd = 25; case 25: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(200u /* 200 & 0xFF */)) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &sshlogfd_))); } else { goto handle_unusual; } break; } // string replylogdir = 26; case 26: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(210u /* 210 & 0xFF */)) { DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->mutable_replylogdir())); DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->replylogdir().data(), static_cast(this->replylogdir().length()), ::google::protobuf::internal::WireFormatLite::PARSE, "GP1.MapValue.replylogdir")); } else { goto handle_unusual; } break; } // string sshlogdir = 27; case 27: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(218u /* 218 & 0xFF */)) { DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->mutable_sshlogdir())); DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->sshlogdir().data(), static_cast(this->sshlogdir().length()), ::google::protobuf::internal::WireFormatLite::PARSE, "GP1.MapValue.sshlogdir")); } 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:GP1.MapValue) return true; failure: // @@protoc_insertion_point(parse_failure:GP1.MapValue) return false; #undef DO_ } void MapValue::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // @@protoc_insertion_point(serialize_start:GP1.MapValue) ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; // .GP1.PackHead head = 1; if (this->has_head()) { ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( 1, *this->head_, output); } // string guid = 2; if (this->guid().size() > 0) { ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->guid().data(), static_cast(this->guid().length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "GP1.MapValue.guid"); ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( 2, this->guid(), output); } // string userName = 3; if (this->username().size() > 0) { ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->username().data(), static_cast(this->username().length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "GP1.MapValue.userName"); ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( 3, this->username(), output); } // string fd = 4; if (this->fd().size() > 0) { ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->fd().data(), static_cast(this->fd().length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "GP1.MapValue.fd"); ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( 4, this->fd(), output); } // string time = 5; if (this->time().size() > 0) { ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->time().data(), static_cast(this->time().length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "GP1.MapValue.time"); ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( 5, this->time(), output); } // string status = 6; if (this->status().size() > 0) { ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->status().data(), static_cast(this->status().length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "GP1.MapValue.status"); ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( 6, this->status(), output); } // string projectModel = 7; if (this->projectmodel().size() > 0) { ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->projectmodel().data(), static_cast(this->projectmodel().length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "GP1.MapValue.projectModel"); ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( 7, this->projectmodel(), output); } // string productName = 8; if (this->productname().size() > 0) { ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->productname().data(), static_cast(this->productname().length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "GP1.MapValue.productName"); ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( 8, this->productname(), output); } // string projectName = 9; if (this->projectname().size() > 0) { ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->projectname().data(), static_cast(this->projectname().length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "GP1.MapValue.projectName"); ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( 9, this->projectname(), output); } // string projectNumberStr = 10; if (this->projectnumberstr().size() > 0) { ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->projectnumberstr().data(), static_cast(this->projectnumberstr().length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "GP1.MapValue.projectNumberStr"); ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( 10, this->projectnumberstr(), output); } // string softVersion = 11; if (this->softversion().size() > 0) { ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->softversion().data(), static_cast(this->softversion().length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "GP1.MapValue.softVersion"); ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( 11, this->softversion(), output); } // string projectID = 12; if (this->projectid().size() > 0) { ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->projectid().data(), static_cast(this->projectid().length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "GP1.MapValue.projectID"); ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( 12, this->projectid(), output); } // string zone = 13; if (this->zone().size() > 0) { ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->zone().data(), static_cast(this->zone().length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "GP1.MapValue.zone"); ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( 13, this->zone(), output); } // string UIStyle = 14; if (this->uistyle().size() > 0) { ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->uistyle().data(), static_cast(this->uistyle().length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "GP1.MapValue.UIStyle"); ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( 14, this->uistyle(), output); } // string svnFileDir = 15; if (this->svnfiledir().size() > 0) { ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->svnfiledir().data(), static_cast(this->svnfiledir().length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "GP1.MapValue.svnFileDir"); ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( 15, this->svnfiledir(), output); } // string svnFileMD5 = 16; if (this->svnfilemd5().size() > 0) { ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->svnfilemd5().data(), static_cast(this->svnfilemd5().length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "GP1.MapValue.svnFileMD5"); ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( 16, this->svnfilemd5(), output); } // string svnVersion = 17; if (this->svnversion().size() > 0) { ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->svnversion().data(), static_cast(this->svnversion().length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "GP1.MapValue.svnVersion"); ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( 17, this->svnversion(), output); } // string requestIP = 18; if (this->requestip().size() > 0) { ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->requestip().data(), static_cast(this->requestip().length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "GP1.MapValue.requestIP"); ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( 18, this->requestip(), output); } // string compileTime = 19; if (this->compiletime().size() > 0) { ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->compiletime().data(), static_cast(this->compiletime().length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "GP1.MapValue.compileTime"); ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( 19, this->compiletime(), output); } // string svnDir = 20; if (this->svndir().size() > 0) { ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->svndir().data(), static_cast(this->svndir().length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "GP1.MapValue.svnDir"); ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( 20, this->svndir(), output); } // string command = 21; if (this->command().size() > 0) { ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->command().data(), static_cast(this->command().length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "GP1.MapValue.command"); ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( 21, this->command(), output); } // string compileService = 22; if (this->compileservice().size() > 0) { ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->compileservice().data(), static_cast(this->compileservice().length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "GP1.MapValue.compileService"); ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( 22, this->compileservice(), output); } // string compiledFileDir = 23; if (this->compiledfiledir().size() > 0) { ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->compiledfiledir().data(), static_cast(this->compiledfiledir().length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "GP1.MapValue.compiledFileDir"); ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( 23, this->compiledfiledir(), output); } // int32 replylogfd = 24; if (this->replylogfd() != 0) { ::google::protobuf::internal::WireFormatLite::WriteInt32(24, this->replylogfd(), output); } // int32 sshlogfd = 25; if (this->sshlogfd() != 0) { ::google::protobuf::internal::WireFormatLite::WriteInt32(25, this->sshlogfd(), output); } // string replylogdir = 26; if (this->replylogdir().size() > 0) { ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->replylogdir().data(), static_cast(this->replylogdir().length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "GP1.MapValue.replylogdir"); ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( 26, this->replylogdir(), output); } // string sshlogdir = 27; if (this->sshlogdir().size() > 0) { ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->sshlogdir().data(), static_cast(this->sshlogdir().length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "GP1.MapValue.sshlogdir"); ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( 27, this->sshlogdir(), 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:GP1.MapValue) } ::google::protobuf::uint8* MapValue::InternalSerializeWithCachedSizesToArray( bool deterministic, ::google::protobuf::uint8* target) const { (void)deterministic; // Unused // @@protoc_insertion_point(serialize_to_array_start:GP1.MapValue) ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; // .GP1.PackHead head = 1; if (this->has_head()) { target = ::google::protobuf::internal::WireFormatLite:: InternalWriteMessageToArray( 1, *this->head_, deterministic, target); } // string guid = 2; if (this->guid().size() > 0) { ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->guid().data(), static_cast(this->guid().length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "GP1.MapValue.guid"); target = ::google::protobuf::internal::WireFormatLite::WriteStringToArray( 2, this->guid(), target); } // string userName = 3; if (this->username().size() > 0) { ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->username().data(), static_cast(this->username().length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "GP1.MapValue.userName"); target = ::google::protobuf::internal::WireFormatLite::WriteStringToArray( 3, this->username(), target); } // string fd = 4; if (this->fd().size() > 0) { ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->fd().data(), static_cast(this->fd().length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "GP1.MapValue.fd"); target = ::google::protobuf::internal::WireFormatLite::WriteStringToArray( 4, this->fd(), target); } // string time = 5; if (this->time().size() > 0) { ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->time().data(), static_cast(this->time().length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "GP1.MapValue.time"); target = ::google::protobuf::internal::WireFormatLite::WriteStringToArray( 5, this->time(), target); } // string status = 6; if (this->status().size() > 0) { ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->status().data(), static_cast(this->status().length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "GP1.MapValue.status"); target = ::google::protobuf::internal::WireFormatLite::WriteStringToArray( 6, this->status(), target); } // string projectModel = 7; if (this->projectmodel().size() > 0) { ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->projectmodel().data(), static_cast(this->projectmodel().length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "GP1.MapValue.projectModel"); target = ::google::protobuf::internal::WireFormatLite::WriteStringToArray( 7, this->projectmodel(), target); } // string productName = 8; if (this->productname().size() > 0) { ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->productname().data(), static_cast(this->productname().length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "GP1.MapValue.productName"); target = ::google::protobuf::internal::WireFormatLite::WriteStringToArray( 8, this->productname(), target); } // string projectName = 9; if (this->projectname().size() > 0) { ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->projectname().data(), static_cast(this->projectname().length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "GP1.MapValue.projectName"); target = ::google::protobuf::internal::WireFormatLite::WriteStringToArray( 9, this->projectname(), target); } // string projectNumberStr = 10; if (this->projectnumberstr().size() > 0) { ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->projectnumberstr().data(), static_cast(this->projectnumberstr().length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "GP1.MapValue.projectNumberStr"); target = ::google::protobuf::internal::WireFormatLite::WriteStringToArray( 10, this->projectnumberstr(), target); } // string softVersion = 11; if (this->softversion().size() > 0) { ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->softversion().data(), static_cast(this->softversion().length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "GP1.MapValue.softVersion"); target = ::google::protobuf::internal::WireFormatLite::WriteStringToArray( 11, this->softversion(), target); } // string projectID = 12; if (this->projectid().size() > 0) { ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->projectid().data(), static_cast(this->projectid().length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "GP1.MapValue.projectID"); target = ::google::protobuf::internal::WireFormatLite::WriteStringToArray( 12, this->projectid(), target); } // string zone = 13; if (this->zone().size() > 0) { ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->zone().data(), static_cast(this->zone().length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "GP1.MapValue.zone"); target = ::google::protobuf::internal::WireFormatLite::WriteStringToArray( 13, this->zone(), target); } // string UIStyle = 14; if (this->uistyle().size() > 0) { ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->uistyle().data(), static_cast(this->uistyle().length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "GP1.MapValue.UIStyle"); target = ::google::protobuf::internal::WireFormatLite::WriteStringToArray( 14, this->uistyle(), target); } // string svnFileDir = 15; if (this->svnfiledir().size() > 0) { ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->svnfiledir().data(), static_cast(this->svnfiledir().length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "GP1.MapValue.svnFileDir"); target = ::google::protobuf::internal::WireFormatLite::WriteStringToArray( 15, this->svnfiledir(), target); } // string svnFileMD5 = 16; if (this->svnfilemd5().size() > 0) { ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->svnfilemd5().data(), static_cast(this->svnfilemd5().length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "GP1.MapValue.svnFileMD5"); target = ::google::protobuf::internal::WireFormatLite::WriteStringToArray( 16, this->svnfilemd5(), target); } // string svnVersion = 17; if (this->svnversion().size() > 0) { ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->svnversion().data(), static_cast(this->svnversion().length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "GP1.MapValue.svnVersion"); target = ::google::protobuf::internal::WireFormatLite::WriteStringToArray( 17, this->svnversion(), target); } // string requestIP = 18; if (this->requestip().size() > 0) { ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->requestip().data(), static_cast(this->requestip().length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "GP1.MapValue.requestIP"); target = ::google::protobuf::internal::WireFormatLite::WriteStringToArray( 18, this->requestip(), target); } // string compileTime = 19; if (this->compiletime().size() > 0) { ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->compiletime().data(), static_cast(this->compiletime().length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "GP1.MapValue.compileTime"); target = ::google::protobuf::internal::WireFormatLite::WriteStringToArray( 19, this->compiletime(), target); } // string svnDir = 20; if (this->svndir().size() > 0) { ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->svndir().data(), static_cast(this->svndir().length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "GP1.MapValue.svnDir"); target = ::google::protobuf::internal::WireFormatLite::WriteStringToArray( 20, this->svndir(), target); } // string command = 21; if (this->command().size() > 0) { ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->command().data(), static_cast(this->command().length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "GP1.MapValue.command"); target = ::google::protobuf::internal::WireFormatLite::WriteStringToArray( 21, this->command(), target); } // string compileService = 22; if (this->compileservice().size() > 0) { ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->compileservice().data(), static_cast(this->compileservice().length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "GP1.MapValue.compileService"); target = ::google::protobuf::internal::WireFormatLite::WriteStringToArray( 22, this->compileservice(), target); } // string compiledFileDir = 23; if (this->compiledfiledir().size() > 0) { ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->compiledfiledir().data(), static_cast(this->compiledfiledir().length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "GP1.MapValue.compiledFileDir"); target = ::google::protobuf::internal::WireFormatLite::WriteStringToArray( 23, this->compiledfiledir(), target); } // int32 replylogfd = 24; if (this->replylogfd() != 0) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(24, this->replylogfd(), target); } // int32 sshlogfd = 25; if (this->sshlogfd() != 0) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(25, this->sshlogfd(), target); } // string replylogdir = 26; if (this->replylogdir().size() > 0) { ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->replylogdir().data(), static_cast(this->replylogdir().length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "GP1.MapValue.replylogdir"); target = ::google::protobuf::internal::WireFormatLite::WriteStringToArray( 26, this->replylogdir(), target); } // string sshlogdir = 27; if (this->sshlogdir().size() > 0) { ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->sshlogdir().data(), static_cast(this->sshlogdir().length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "GP1.MapValue.sshlogdir"); target = ::google::protobuf::internal::WireFormatLite::WriteStringToArray( 27, this->sshlogdir(), 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:GP1.MapValue) return target; } size_t MapValue::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:GP1.MapValue) 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 guid = 2; if (this->guid().size() > 0) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( this->guid()); } // string userName = 3; if (this->username().size() > 0) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( this->username()); } // string fd = 4; if (this->fd().size() > 0) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( this->fd()); } // string time = 5; if (this->time().size() > 0) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( this->time()); } // string status = 6; if (this->status().size() > 0) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( this->status()); } // string projectModel = 7; if (this->projectmodel().size() > 0) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( this->projectmodel()); } // string productName = 8; if (this->productname().size() > 0) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( this->productname()); } // string projectName = 9; if (this->projectname().size() > 0) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( this->projectname()); } // string projectNumberStr = 10; if (this->projectnumberstr().size() > 0) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( this->projectnumberstr()); } // string softVersion = 11; if (this->softversion().size() > 0) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( this->softversion()); } // string projectID = 12; if (this->projectid().size() > 0) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( this->projectid()); } // string zone = 13; if (this->zone().size() > 0) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( this->zone()); } // string UIStyle = 14; if (this->uistyle().size() > 0) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( this->uistyle()); } // string svnFileDir = 15; if (this->svnfiledir().size() > 0) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( this->svnfiledir()); } // string svnFileMD5 = 16; if (this->svnfilemd5().size() > 0) { total_size += 2 + ::google::protobuf::internal::WireFormatLite::StringSize( this->svnfilemd5()); } // string svnVersion = 17; if (this->svnversion().size() > 0) { total_size += 2 + ::google::protobuf::internal::WireFormatLite::StringSize( this->svnversion()); } // string requestIP = 18; if (this->requestip().size() > 0) { total_size += 2 + ::google::protobuf::internal::WireFormatLite::StringSize( this->requestip()); } // string compileTime = 19; if (this->compiletime().size() > 0) { total_size += 2 + ::google::protobuf::internal::WireFormatLite::StringSize( this->compiletime()); } // string svnDir = 20; if (this->svndir().size() > 0) { total_size += 2 + ::google::protobuf::internal::WireFormatLite::StringSize( this->svndir()); } // string command = 21; if (this->command().size() > 0) { total_size += 2 + ::google::protobuf::internal::WireFormatLite::StringSize( this->command()); } // string compileService = 22; if (this->compileservice().size() > 0) { total_size += 2 + ::google::protobuf::internal::WireFormatLite::StringSize( this->compileservice()); } // string compiledFileDir = 23; if (this->compiledfiledir().size() > 0) { total_size += 2 + ::google::protobuf::internal::WireFormatLite::StringSize( this->compiledfiledir()); } // string replylogdir = 26; if (this->replylogdir().size() > 0) { total_size += 2 + ::google::protobuf::internal::WireFormatLite::StringSize( this->replylogdir()); } // string sshlogdir = 27; if (this->sshlogdir().size() > 0) { total_size += 2 + ::google::protobuf::internal::WireFormatLite::StringSize( this->sshlogdir()); } // .GP1.PackHead head = 1; if (this->has_head()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( *this->head_); } // int32 replylogfd = 24; if (this->replylogfd() != 0) { total_size += 2 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->replylogfd()); } // int32 sshlogfd = 25; if (this->sshlogfd() != 0) { total_size += 2 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->sshlogfd()); } 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 MapValue::MergeFrom(const ::google::protobuf::Message& from) { // @@protoc_insertion_point(generalized_merge_from_start:GP1.MapValue) GOOGLE_DCHECK_NE(&from, this); const MapValue* source = ::google::protobuf::internal::DynamicCastToGenerated( &from); if (source == NULL) { // @@protoc_insertion_point(generalized_merge_from_cast_fail:GP1.MapValue) ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { // @@protoc_insertion_point(generalized_merge_from_cast_success:GP1.MapValue) MergeFrom(*source); } } void MapValue::MergeFrom(const MapValue& from) { // @@protoc_insertion_point(class_specific_merge_from_start:GP1.MapValue) GOOGLE_DCHECK_NE(&from, this); _internal_metadata_.MergeFrom(from._internal_metadata_); ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; if (from.guid().size() > 0) { guid_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.guid_); } if (from.username().size() > 0) { username_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.username_); } if (from.fd().size() > 0) { fd_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.fd_); } if (from.time().size() > 0) { time_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.time_); } if (from.status().size() > 0) { status_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.status_); } 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.projectname().size() > 0) { projectname_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.projectname_); } if (from.projectnumberstr().size() > 0) { projectnumberstr_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.projectnumberstr_); } if (from.softversion().size() > 0) { softversion_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.softversion_); } 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.svnfiledir().size() > 0) { svnfiledir_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.svnfiledir_); } if (from.svnfilemd5().size() > 0) { svnfilemd5_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.svnfilemd5_); } if (from.svnversion().size() > 0) { svnversion_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.svnversion_); } if (from.requestip().size() > 0) { requestip_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.requestip_); } if (from.compiletime().size() > 0) { compiletime_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.compiletime_); } 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.compileservice().size() > 0) { compileservice_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.compileservice_); } if (from.compiledfiledir().size() > 0) { compiledfiledir_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.compiledfiledir_); } if (from.replylogdir().size() > 0) { replylogdir_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.replylogdir_); } if (from.sshlogdir().size() > 0) { sshlogdir_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.sshlogdir_); } if (from.has_head()) { mutable_head()->::GP1::PackHead::MergeFrom(from.head()); } if (from.replylogfd() != 0) { set_replylogfd(from.replylogfd()); } if (from.sshlogfd() != 0) { set_sshlogfd(from.sshlogfd()); } } void MapValue::CopyFrom(const ::google::protobuf::Message& from) { // @@protoc_insertion_point(generalized_copy_from_start:GP1.MapValue) if (&from == this) return; Clear(); MergeFrom(from); } void MapValue::CopyFrom(const MapValue& from) { // @@protoc_insertion_point(class_specific_copy_from_start:GP1.MapValue) if (&from == this) return; Clear(); MergeFrom(from); } bool MapValue::IsInitialized() const { return true; } void MapValue::Swap(MapValue* other) { if (other == this) return; InternalSwap(other); } void MapValue::InternalSwap(MapValue* other) { using std::swap; guid_.Swap(&other->guid_); username_.Swap(&other->username_); fd_.Swap(&other->fd_); time_.Swap(&other->time_); status_.Swap(&other->status_); projectmodel_.Swap(&other->projectmodel_); productname_.Swap(&other->productname_); projectname_.Swap(&other->projectname_); projectnumberstr_.Swap(&other->projectnumberstr_); softversion_.Swap(&other->softversion_); projectid_.Swap(&other->projectid_); zone_.Swap(&other->zone_); uistyle_.Swap(&other->uistyle_); svnfiledir_.Swap(&other->svnfiledir_); svnfilemd5_.Swap(&other->svnfilemd5_); svnversion_.Swap(&other->svnversion_); requestip_.Swap(&other->requestip_); compiletime_.Swap(&other->compiletime_); svndir_.Swap(&other->svndir_); command_.Swap(&other->command_); compileservice_.Swap(&other->compileservice_); compiledfiledir_.Swap(&other->compiledfiledir_); replylogdir_.Swap(&other->replylogdir_); sshlogdir_.Swap(&other->sshlogdir_); swap(head_, other->head_); swap(replylogfd_, other->replylogfd_); swap(sshlogfd_, other->sshlogfd_); _internal_metadata_.Swap(&other->_internal_metadata_); swap(_cached_size_, other->_cached_size_); } ::google::protobuf::Metadata MapValue::GetMetadata() const { protobuf_TaskInfoMessage_2eproto::protobuf_AssignDescriptorsOnce(); return ::protobuf_TaskInfoMessage_2eproto::file_level_metadata[kIndexInFileMessages]; } // @@protoc_insertion_point(namespace_scope) } // namespace GP1 // @@protoc_insertion_point(global_scope)