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