1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632 |
- // Generated by the protocol buffer compiler. DO NOT EDIT!
- // source: TaskInfoMessage.proto
- #include "TaskInfoMessage.pb.h"
- #include <algorithm>
- #include <google/protobuf/stubs/common.h>
- #include <google/protobuf/stubs/port.h>
- #include <google/protobuf/stubs/once.h>
- #include <google/protobuf/io/coded_stream.h>
- #include <google/protobuf/wire_format_lite_inl.h>
- #include <google/protobuf/descriptor.h>
- #include <google/protobuf/generated_message_reflection.h>
- #include <google/protobuf/reflection_ops.h>
- #include <google/protobuf/wire_format.h>
- // This is a temporary google only hack
- #ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
- #include "third_party/protobuf/version.h"
- #endif
- // @@protoc_insertion_point(includes)
- namespace GP1 {
- class TaskInfoMessage_TaskInfoMapEntry_DoNotUseDefaultTypeInternal {
- public:
- ::google::protobuf::internal::ExplicitlyConstructed<TaskInfoMessage_TaskInfoMapEntry_DoNotUse>
- _instance;
- } _TaskInfoMessage_TaskInfoMapEntry_DoNotUse_default_instance_;
- class TaskInfoMessageDefaultTypeInternal {
- public:
- ::google::protobuf::internal::ExplicitlyConstructed<TaskInfoMessage>
- _instance;
- } _TaskInfoMessage_default_instance_;
- class PackHeadDefaultTypeInternal {
- public:
- ::google::protobuf::internal::ExplicitlyConstructed<PackHead>
- _instance;
- } _PackHead_default_instance_;
- class MapValueDefaultTypeInternal {
- public:
- ::google::protobuf::internal::ExplicitlyConstructed<MapValue>
- _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<const ::google::protobuf::Message*>(&::GP1::_TaskInfoMessage_TaskInfoMapEntry_DoNotUse_default_instance_),
- reinterpret_cast<const ::google::protobuf::Message*>(&::GP1::_TaskInfoMessage_default_instance_),
- reinterpret_cast<const ::google::protobuf::Message*>(&::GP1::_PackHead_default_instance_),
- reinterpret_cast<const ::google::protobuf::Message*>(&::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<string, .GP1.MapValue> 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<int>(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<string, .GP1.MapValue> 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<SortItem> Less;
- struct Utf8Check {
- static void Check(ConstPtr p) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- p->first.data(), static_cast<int>(p->first.length()),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "GP1.TaskInfoMessage.TaskInfoMapEntry.key");
- }
- };
- if (output->IsSerializationDeterministic() &&
- this->taskinfomap().size() > 1) {
- ::google::protobuf::scoped_array<SortItem> 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<ptrdiff_t>(n)] = SortItem(&*it);
- }
- ::std::sort(&items[0], &items[static_cast<ptrdiff_t>(n)], Less());
- ::google::protobuf::scoped_ptr<TaskInfoMessage_TaskInfoMapEntry_DoNotUse> entry;
- for (size_type i = 0; i < n; i++) {
- entry.reset(taskinfomap_.NewEntryWrapper(
- items[static_cast<ptrdiff_t>(i)]->first, items[static_cast<ptrdiff_t>(i)]->second));
- ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
- 1, *entry, output);
- Utf8Check::Check(items[static_cast<ptrdiff_t>(i)]);
- }
- } else {
- ::google::protobuf::scoped_ptr<TaskInfoMessage_TaskInfoMapEntry_DoNotUse> 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<string, .GP1.MapValue> 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<SortItem> Less;
- struct Utf8Check {
- static void Check(ConstPtr p) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- p->first.data(), static_cast<int>(p->first.length()),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "GP1.TaskInfoMessage.TaskInfoMapEntry.key");
- }
- };
- if (deterministic &&
- this->taskinfomap().size() > 1) {
- ::google::protobuf::scoped_array<SortItem> 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<ptrdiff_t>(n)] = SortItem(&*it);
- }
- ::std::sort(&items[0], &items[static_cast<ptrdiff_t>(n)], Less());
- ::google::protobuf::scoped_ptr<TaskInfoMessage_TaskInfoMapEntry_DoNotUse> entry;
- for (size_type i = 0; i < n; i++) {
- entry.reset(taskinfomap_.NewEntryWrapper(
- items[static_cast<ptrdiff_t>(i)]->first, items[static_cast<ptrdiff_t>(i)]->second));
- target = ::google::protobuf::internal::WireFormatLite::
- InternalWriteMessageNoVirtualToArray(
- 1, *entry, deterministic, target);
- ;
- Utf8Check::Check(items[static_cast<ptrdiff_t>(i)]);
- }
- } else {
- ::google::protobuf::scoped_ptr<TaskInfoMessage_TaskInfoMapEntry_DoNotUse> 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<string, .GP1.MapValue> taskInfoMap = 1;
- total_size += 1 *
- ::google::protobuf::internal::FromIntSize(this->taskinfomap_size());
- {
- ::google::protobuf::scoped_ptr<TaskInfoMessage_TaskInfoMapEntry_DoNotUse> 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<const TaskInfoMessage>(
- &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<size_t>(reinterpret_cast<char*>(&lenth_) -
- reinterpret_cast<char*>(&type_)) + sizeof(lenth_));
- // @@protoc_insertion_point(copy_constructor:GP1.PackHead)
- }
- void PackHead::SharedCtor() {
- ::memset(&type_, 0, static_cast<size_t>(
- reinterpret_cast<char*>(&lenth_) -
- reinterpret_cast<char*>(&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<size_t>(
- reinterpret_cast<char*>(&lenth_) -
- reinterpret_cast<char*>(&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<const PackHead>(
- &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<size_t>(reinterpret_cast<char*>(&sshlogfd_) -
- reinterpret_cast<char*>(&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<size_t>(
- reinterpret_cast<char*>(&sshlogfd_) -
- reinterpret_cast<char*>(&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<size_t>(
- reinterpret_cast<char*>(&sshlogfd_) -
- reinterpret_cast<char*>(&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<int>(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<int>(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<int>(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<int>(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<int>(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<int>(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<int>(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<int>(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<int>(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<int>(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<int>(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<int>(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<int>(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<int>(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<int>(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<int>(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<int>(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<int>(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<int>(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<int>(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<int>(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<int>(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<int>(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<int>(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<int>(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<int>(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<int>(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<int>(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<int>(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<int>(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<int>(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<int>(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<int>(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<int>(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<int>(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<int>(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<int>(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<int>(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<int>(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<int>(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<int>(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<int>(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<int>(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<int>(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<int>(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<int>(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<int>(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<int>(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<int>(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<int>(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<int>(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<int>(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<int>(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<int>(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<int>(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<int>(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<int>(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<int>(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<int>(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<int>(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<int>(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<int>(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<int>(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<int>(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<int>(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<int>(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<int>(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<int>(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<int>(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<int>(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<int>(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<int>(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<const MapValue>(
- &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)
|