123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634 |
- // Generated by the protocol buffer compiler. DO NOT EDIT!
- // source: log_process.proto
- #include "log_process.pb.h"
- #include <algorithm>
- #include <google/protobuf/stubs/common.h>
- #include <google/protobuf/stubs/port.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 protobuf_central_5fcontrol_5fmessage_2eproto {
- extern PROTOBUF_INTERNAL_EXPORT_protobuf_central_5fcontrol_5fmessage_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_Process_manual_operation_msg;
- } // namespace protobuf_central_5fcontrol_5fmessage_2eproto
- namespace protobuf_dispatch_5fmessage_2eproto {
- extern PROTOBUF_INTERNAL_EXPORT_protobuf_dispatch_5fmessage_2eproto ::google::protobuf::internal::SCCInfo<3> scc_info_Dispatch_request_msg;
- extern PROTOBUF_INTERNAL_EXPORT_protobuf_dispatch_5fmessage_2eproto ::google::protobuf::internal::SCCInfo<4> scc_info_Dispatch_response_msg;
- } // namespace protobuf_dispatch_5fmessage_2eproto
- namespace protobuf_log_5fprocess_2eproto {
- extern PROTOBUF_INTERNAL_EXPORT_protobuf_log_5fprocess_2eproto ::google::protobuf::internal::SCCInfo<12> scc_info_Node_log;
- extern PROTOBUF_INTERNAL_EXPORT_protobuf_log_5fprocess_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_Manual_operation_log;
- extern PROTOBUF_INTERNAL_EXPORT_protobuf_log_5fprocess_2eproto ::google::protobuf::internal::SCCInfo<2> scc_info_Log_data;
- } // namespace protobuf_log_5fprocess_2eproto
- namespace protobuf_measure_5fmessage_2eproto {
- extern PROTOBUF_INTERNAL_EXPORT_protobuf_measure_5fmessage_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_Measure_request_msg;
- extern PROTOBUF_INTERNAL_EXPORT_protobuf_measure_5fmessage_2eproto ::google::protobuf::internal::SCCInfo<3> scc_info_Measure_response_msg;
- } // namespace protobuf_measure_5fmessage_2eproto
- namespace protobuf_parkspace_5fallocation_5fmessage_2eproto {
- extern PROTOBUF_INTERNAL_EXPORT_protobuf_parkspace_5fallocation_5fmessage_2eproto ::google::protobuf::internal::SCCInfo<2> scc_info_Parkspace_allocation_request_msg;
- extern PROTOBUF_INTERNAL_EXPORT_protobuf_parkspace_5fallocation_5fmessage_2eproto ::google::protobuf::internal::SCCInfo<2> scc_info_Parkspace_confirm_alloc_request_msg;
- extern PROTOBUF_INTERNAL_EXPORT_protobuf_parkspace_5fallocation_5fmessage_2eproto ::google::protobuf::internal::SCCInfo<2> scc_info_Parkspace_release_request_msg;
- extern PROTOBUF_INTERNAL_EXPORT_protobuf_parkspace_5fallocation_5fmessage_2eproto ::google::protobuf::internal::SCCInfo<2> scc_info_Parkspace_search_request_msg;
- extern PROTOBUF_INTERNAL_EXPORT_protobuf_parkspace_5fallocation_5fmessage_2eproto ::google::protobuf::internal::SCCInfo<3> scc_info_Parkspace_allocation_response_msg;
- extern PROTOBUF_INTERNAL_EXPORT_protobuf_parkspace_5fallocation_5fmessage_2eproto ::google::protobuf::internal::SCCInfo<3> scc_info_Parkspace_confirm_alloc_response_msg;
- extern PROTOBUF_INTERNAL_EXPORT_protobuf_parkspace_5fallocation_5fmessage_2eproto ::google::protobuf::internal::SCCInfo<3> scc_info_Parkspace_release_response_msg;
- extern PROTOBUF_INTERNAL_EXPORT_protobuf_parkspace_5fallocation_5fmessage_2eproto ::google::protobuf::internal::SCCInfo<3> scc_info_Parkspace_search_response_msg;
- } // namespace protobuf_parkspace_5fallocation_5fmessage_2eproto
- namespace message {
- class Node_logDefaultTypeInternal {
- public:
- ::google::protobuf::internal::ExplicitlyConstructed<Node_log>
- _instance;
- const ::message::Parkspace_allocation_request_msg* alloc_request_;
- const ::message::Parkspace_search_request_msg* search_request_;
- const ::message::Parkspace_release_request_msg* release_request_;
- const ::message::Parkspace_confirm_alloc_request_msg* confirm_request_;
- const ::message::Measure_request_msg* measure_request_;
- const ::message::Dispatch_request_msg* dispatch_request_;
- const ::message::Parkspace_allocation_response_msg* alloc_response_;
- const ::message::Parkspace_search_response_msg* search_response_;
- const ::message::Parkspace_release_response_msg* release_response_;
- const ::message::Parkspace_confirm_alloc_response_msg* confirm_response_;
- const ::message::Measure_response_msg* measure_response_;
- const ::message::Dispatch_response_msg* dispatch_response_;
- } _Node_log_default_instance_;
- class Manual_operation_logDefaultTypeInternal {
- public:
- ::google::protobuf::internal::ExplicitlyConstructed<Manual_operation_log>
- _instance;
- } _Manual_operation_log_default_instance_;
- class Log_dataDefaultTypeInternal {
- public:
- ::google::protobuf::internal::ExplicitlyConstructed<Log_data>
- _instance;
- ::google::protobuf::internal::ArenaStringPtr str_log_;
- const ::message::Node_log* node_log_;
- const ::message::Manual_operation_log* manual_operator_log_;
- } _Log_data_default_instance_;
- class Process_logDefaultTypeInternal {
- public:
- ::google::protobuf::internal::ExplicitlyConstructed<Process_log>
- _instance;
- } _Process_log_default_instance_;
- } // namespace message
- namespace protobuf_log_5fprocess_2eproto {
- static void InitDefaultsNode_log() {
- GOOGLE_PROTOBUF_VERIFY_VERSION;
- {
- void* ptr = &::message::_Node_log_default_instance_;
- new (ptr) ::message::Node_log();
- ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
- }
- ::message::Node_log::InitAsDefaultInstance();
- }
- ::google::protobuf::internal::SCCInfo<12> scc_info_Node_log =
- {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 12, InitDefaultsNode_log}, {
- &protobuf_parkspace_5fallocation_5fmessage_2eproto::scc_info_Parkspace_allocation_request_msg.base,
- &protobuf_parkspace_5fallocation_5fmessage_2eproto::scc_info_Parkspace_search_request_msg.base,
- &protobuf_parkspace_5fallocation_5fmessage_2eproto::scc_info_Parkspace_release_request_msg.base,
- &protobuf_parkspace_5fallocation_5fmessage_2eproto::scc_info_Parkspace_confirm_alloc_request_msg.base,
- &protobuf_measure_5fmessage_2eproto::scc_info_Measure_request_msg.base,
- &protobuf_dispatch_5fmessage_2eproto::scc_info_Dispatch_request_msg.base,
- &protobuf_parkspace_5fallocation_5fmessage_2eproto::scc_info_Parkspace_allocation_response_msg.base,
- &protobuf_parkspace_5fallocation_5fmessage_2eproto::scc_info_Parkspace_search_response_msg.base,
- &protobuf_parkspace_5fallocation_5fmessage_2eproto::scc_info_Parkspace_release_response_msg.base,
- &protobuf_parkspace_5fallocation_5fmessage_2eproto::scc_info_Parkspace_confirm_alloc_response_msg.base,
- &protobuf_measure_5fmessage_2eproto::scc_info_Measure_response_msg.base,
- &protobuf_dispatch_5fmessage_2eproto::scc_info_Dispatch_response_msg.base,}};
- static void InitDefaultsManual_operation_log() {
- GOOGLE_PROTOBUF_VERIFY_VERSION;
- {
- void* ptr = &::message::_Manual_operation_log_default_instance_;
- new (ptr) ::message::Manual_operation_log();
- ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
- }
- ::message::Manual_operation_log::InitAsDefaultInstance();
- }
- ::google::protobuf::internal::SCCInfo<1> scc_info_Manual_operation_log =
- {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsManual_operation_log}, {
- &protobuf_central_5fcontrol_5fmessage_2eproto::scc_info_Process_manual_operation_msg.base,}};
- static void InitDefaultsLog_data() {
- GOOGLE_PROTOBUF_VERIFY_VERSION;
- {
- void* ptr = &::message::_Log_data_default_instance_;
- new (ptr) ::message::Log_data();
- ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
- }
- ::message::Log_data::InitAsDefaultInstance();
- }
- ::google::protobuf::internal::SCCInfo<2> scc_info_Log_data =
- {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 2, InitDefaultsLog_data}, {
- &protobuf_log_5fprocess_2eproto::scc_info_Node_log.base,
- &protobuf_log_5fprocess_2eproto::scc_info_Manual_operation_log.base,}};
- static void InitDefaultsProcess_log() {
- GOOGLE_PROTOBUF_VERIFY_VERSION;
- {
- void* ptr = &::message::_Process_log_default_instance_;
- new (ptr) ::message::Process_log();
- ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
- }
- ::message::Process_log::InitAsDefaultInstance();
- }
- ::google::protobuf::internal::SCCInfo<1> scc_info_Process_log =
- {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsProcess_log}, {
- &protobuf_log_5fprocess_2eproto::scc_info_Log_data.base,}};
- void InitDefaults() {
- ::google::protobuf::internal::InitSCC(&scc_info_Node_log.base);
- ::google::protobuf::internal::InitSCC(&scc_info_Manual_operation_log.base);
- ::google::protobuf::internal::InitSCC(&scc_info_Log_data.base);
- ::google::protobuf::internal::InitSCC(&scc_info_Process_log.base);
- }
- ::google::protobuf::Metadata file_level_metadata[4];
- const ::google::protobuf::EnumDescriptor* file_level_enum_descriptors[1];
- const ::google::protobuf::uint32 TableStruct::offsets[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Node_log, _has_bits_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Node_log, _internal_metadata_),
- ~0u, // no _extensions_
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Node_log, _oneof_case_[0]),
- ~0u, // no _weak_field_map_
- offsetof(::message::Node_logDefaultTypeInternal, alloc_request_),
- offsetof(::message::Node_logDefaultTypeInternal, search_request_),
- offsetof(::message::Node_logDefaultTypeInternal, release_request_),
- offsetof(::message::Node_logDefaultTypeInternal, confirm_request_),
- offsetof(::message::Node_logDefaultTypeInternal, measure_request_),
- offsetof(::message::Node_logDefaultTypeInternal, dispatch_request_),
- offsetof(::message::Node_logDefaultTypeInternal, alloc_response_),
- offsetof(::message::Node_logDefaultTypeInternal, search_response_),
- offsetof(::message::Node_logDefaultTypeInternal, release_response_),
- offsetof(::message::Node_logDefaultTypeInternal, confirm_response_),
- offsetof(::message::Node_logDefaultTypeInternal, measure_response_),
- offsetof(::message::Node_logDefaultTypeInternal, dispatch_response_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Node_log, description_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Node_log, request_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Node_log, response_),
- ~0u,
- ~0u,
- ~0u,
- ~0u,
- ~0u,
- ~0u,
- ~0u,
- ~0u,
- ~0u,
- ~0u,
- ~0u,
- ~0u,
- 0,
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Manual_operation_log, _has_bits_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Manual_operation_log, _internal_metadata_),
- ~0u, // no _extensions_
- ~0u, // no _oneof_case_
- ~0u, // no _weak_field_map_
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Manual_operation_log, manual_operation_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Manual_operation_log, description_),
- 1,
- 0,
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Log_data, _has_bits_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Log_data, _internal_metadata_),
- ~0u, // no _extensions_
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Log_data, _oneof_case_[0]),
- ~0u, // no _weak_field_map_
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Log_data, log_severity_),
- offsetof(::message::Log_dataDefaultTypeInternal, str_log_),
- offsetof(::message::Log_dataDefaultTypeInternal, node_log_),
- offsetof(::message::Log_dataDefaultTypeInternal, manual_operator_log_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Log_data, data_),
- 0,
- ~0u,
- ~0u,
- ~0u,
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Process_log, _has_bits_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Process_log, _internal_metadata_),
- ~0u, // no _extensions_
- ~0u, // no _oneof_case_
- ~0u, // no _weak_field_map_
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Process_log, process_type_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Process_log, log_data_),
- 0,
- ~0u,
- };
- static const ::google::protobuf::internal::MigrationSchema schemas[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
- { 0, 20, sizeof(::message::Node_log)},
- { 33, 40, sizeof(::message::Manual_operation_log)},
- { 42, 52, sizeof(::message::Log_data)},
- { 56, 63, sizeof(::message::Process_log)},
- };
- static ::google::protobuf::Message const * const file_default_instances[] = {
- reinterpret_cast<const ::google::protobuf::Message*>(&::message::_Node_log_default_instance_),
- reinterpret_cast<const ::google::protobuf::Message*>(&::message::_Manual_operation_log_default_instance_),
- reinterpret_cast<const ::google::protobuf::Message*>(&::message::_Log_data_default_instance_),
- reinterpret_cast<const ::google::protobuf::Message*>(&::message::_Process_log_default_instance_),
- };
- void protobuf_AssignDescriptors() {
- AddDescriptors();
- AssignDescriptors(
- "log_process.proto", schemas, file_default_instances, TableStruct::offsets,
- file_level_metadata, file_level_enum_descriptors, NULL);
- }
- void protobuf_AssignDescriptorsOnce() {
- static ::google::protobuf::internal::once_flag once;
- ::google::protobuf::internal::call_once(once, protobuf_AssignDescriptors);
- }
- void protobuf_RegisterTypes(const ::std::string&) GOOGLE_PROTOBUF_ATTRIBUTE_COLD;
- void protobuf_RegisterTypes(const ::std::string&) {
- protobuf_AssignDescriptorsOnce();
- ::google::protobuf::internal::RegisterAllTypes(file_level_metadata, 4);
- }
- void AddDescriptorsImpl() {
- InitDefaults();
- static const char descriptor[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
- "\n\021log_process.proto\022\007message\032\022message_ba"
- "se.proto\032\"parkspace_allocation_message.p"
- "roto\032\025measure_message.proto\032\026dispatch_me"
- "ssage.proto\032\035central_control_message.pro"
- "to\"\314\006\n\010Node_log\022B\n\ralloc_request\030\001 \001(\0132)"
- ".message.Parkspace_allocation_request_ms"
- "gH\000\022\?\n\016search_request\030\003 \001(\0132%.message.Pa"
- "rkspace_search_request_msgH\000\022A\n\017release_"
- "request\030\005 \001(\0132&.message.Parkspace_releas"
- "e_request_msgH\000\022G\n\017confirm_request\030\007 \001(\013"
- "2,.message.Parkspace_confirm_alloc_reque"
- "st_msgH\000\0227\n\017measure_request\030\t \001(\0132\034.mess"
- "age.Measure_request_msgH\000\0229\n\020dispatch_re"
- "quest\030\013 \001(\0132\035.message.Dispatch_request_m"
- "sgH\000\022D\n\016alloc_response\030\002 \001(\0132*.message.P"
- "arkspace_allocation_response_msgH\001\022A\n\017se"
- "arch_response\030\004 \001(\0132&.message.Parkspace_"
- "search_response_msgH\001\022C\n\020release_respons"
- "e\030\006 \001(\0132\'.message.Parkspace_release_resp"
- "onse_msgH\001\022I\n\020confirm_response\030\010 \001(\0132-.m"
- "essage.Parkspace_confirm_alloc_response_"
- "msgH\001\0229\n\020measure_response\030\n \001(\0132\035.messag"
- "e.Measure_response_msgH\001\022;\n\021dispatch_res"
- "ponse\030\014 \001(\0132\036.message.Dispatch_response_"
- "msgH\001\022\023\n\013description\030\r \001(\tB\t\n\007requestB\n\n"
- "\010response\"l\n\024Manual_operation_log\022\?\n\020man"
- "ual_operation\030\001 \002(\0132%.message.Process_ma"
- "nual_operation_msg\022\023\n\013description\030\002 \001(\t\""
- "\352\001\n\010Log_data\0220\n\014log_severity\030\001 \002(\0162\032.mes"
- "sage.Log_data.Severity\022\021\n\007str_log\030\002 \001(\tH"
- "\000\022%\n\010node_log\030\003 \001(\0132\021.message.Node_logH\000"
- "\022<\n\023manual_operator_log\030\004 \001(\0132\035.message."
- "Manual_operation_logH\000\",\n\010Severity\022\010\n\004IN"
- "FO\020\000\022\013\n\007WARNING\020\001\022\t\n\005ERROR\020\002B\006\n\004data\"_\n\013"
- "Process_log\022+\n\014process_type\030\001 \002(\0162\025.mess"
- "age.Process_type\022#\n\010log_data\030\002 \003(\0132\021.mes"
- "sage.Log_data"
- };
- ::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
- descriptor, 1453);
- ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
- "log_process.proto", &protobuf_RegisterTypes);
- ::protobuf_message_5fbase_2eproto::AddDescriptors();
- ::protobuf_parkspace_5fallocation_5fmessage_2eproto::AddDescriptors();
- ::protobuf_measure_5fmessage_2eproto::AddDescriptors();
- ::protobuf_dispatch_5fmessage_2eproto::AddDescriptors();
- ::protobuf_central_5fcontrol_5fmessage_2eproto::AddDescriptors();
- }
- void AddDescriptors() {
- static ::google::protobuf::internal::once_flag once;
- ::google::protobuf::internal::call_once(once, AddDescriptorsImpl);
- }
- // Force AddDescriptors() to be called at dynamic initialization time.
- struct StaticDescriptorInitializer {
- StaticDescriptorInitializer() {
- AddDescriptors();
- }
- } static_descriptor_initializer;
- } // namespace protobuf_log_5fprocess_2eproto
- namespace message {
- const ::google::protobuf::EnumDescriptor* Log_data_Severity_descriptor() {
- protobuf_log_5fprocess_2eproto::protobuf_AssignDescriptorsOnce();
- return protobuf_log_5fprocess_2eproto::file_level_enum_descriptors[0];
- }
- bool Log_data_Severity_IsValid(int value) {
- switch (value) {
- case 0:
- case 1:
- case 2:
- return true;
- default:
- return false;
- }
- }
- #if !defined(_MSC_VER) || _MSC_VER >= 1900
- const Log_data_Severity Log_data::INFO;
- const Log_data_Severity Log_data::WARNING;
- const Log_data_Severity Log_data::ERROR;
- const Log_data_Severity Log_data::Severity_MIN;
- const Log_data_Severity Log_data::Severity_MAX;
- const int Log_data::Severity_ARRAYSIZE;
- #endif // !defined(_MSC_VER) || _MSC_VER >= 1900
- // ===================================================================
- void Node_log::InitAsDefaultInstance() {
- ::message::_Node_log_default_instance_.alloc_request_ = const_cast< ::message::Parkspace_allocation_request_msg*>(
- ::message::Parkspace_allocation_request_msg::internal_default_instance());
- ::message::_Node_log_default_instance_.search_request_ = const_cast< ::message::Parkspace_search_request_msg*>(
- ::message::Parkspace_search_request_msg::internal_default_instance());
- ::message::_Node_log_default_instance_.release_request_ = const_cast< ::message::Parkspace_release_request_msg*>(
- ::message::Parkspace_release_request_msg::internal_default_instance());
- ::message::_Node_log_default_instance_.confirm_request_ = const_cast< ::message::Parkspace_confirm_alloc_request_msg*>(
- ::message::Parkspace_confirm_alloc_request_msg::internal_default_instance());
- ::message::_Node_log_default_instance_.measure_request_ = const_cast< ::message::Measure_request_msg*>(
- ::message::Measure_request_msg::internal_default_instance());
- ::message::_Node_log_default_instance_.dispatch_request_ = const_cast< ::message::Dispatch_request_msg*>(
- ::message::Dispatch_request_msg::internal_default_instance());
- ::message::_Node_log_default_instance_.alloc_response_ = const_cast< ::message::Parkspace_allocation_response_msg*>(
- ::message::Parkspace_allocation_response_msg::internal_default_instance());
- ::message::_Node_log_default_instance_.search_response_ = const_cast< ::message::Parkspace_search_response_msg*>(
- ::message::Parkspace_search_response_msg::internal_default_instance());
- ::message::_Node_log_default_instance_.release_response_ = const_cast< ::message::Parkspace_release_response_msg*>(
- ::message::Parkspace_release_response_msg::internal_default_instance());
- ::message::_Node_log_default_instance_.confirm_response_ = const_cast< ::message::Parkspace_confirm_alloc_response_msg*>(
- ::message::Parkspace_confirm_alloc_response_msg::internal_default_instance());
- ::message::_Node_log_default_instance_.measure_response_ = const_cast< ::message::Measure_response_msg*>(
- ::message::Measure_response_msg::internal_default_instance());
- ::message::_Node_log_default_instance_.dispatch_response_ = const_cast< ::message::Dispatch_response_msg*>(
- ::message::Dispatch_response_msg::internal_default_instance());
- }
- void Node_log::set_allocated_alloc_request(::message::Parkspace_allocation_request_msg* alloc_request) {
- ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
- clear_request();
- if (alloc_request) {
- ::google::protobuf::Arena* submessage_arena = NULL;
- if (message_arena != submessage_arena) {
- alloc_request = ::google::protobuf::internal::GetOwnedMessage(
- message_arena, alloc_request, submessage_arena);
- }
- set_has_alloc_request();
- request_.alloc_request_ = alloc_request;
- }
- // @@protoc_insertion_point(field_set_allocated:message.Node_log.alloc_request)
- }
- void Node_log::clear_alloc_request() {
- if (has_alloc_request()) {
- delete request_.alloc_request_;
- clear_has_request();
- }
- }
- void Node_log::set_allocated_search_request(::message::Parkspace_search_request_msg* search_request) {
- ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
- clear_request();
- if (search_request) {
- ::google::protobuf::Arena* submessage_arena = NULL;
- if (message_arena != submessage_arena) {
- search_request = ::google::protobuf::internal::GetOwnedMessage(
- message_arena, search_request, submessage_arena);
- }
- set_has_search_request();
- request_.search_request_ = search_request;
- }
- // @@protoc_insertion_point(field_set_allocated:message.Node_log.search_request)
- }
- void Node_log::clear_search_request() {
- if (has_search_request()) {
- delete request_.search_request_;
- clear_has_request();
- }
- }
- void Node_log::set_allocated_release_request(::message::Parkspace_release_request_msg* release_request) {
- ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
- clear_request();
- if (release_request) {
- ::google::protobuf::Arena* submessage_arena = NULL;
- if (message_arena != submessage_arena) {
- release_request = ::google::protobuf::internal::GetOwnedMessage(
- message_arena, release_request, submessage_arena);
- }
- set_has_release_request();
- request_.release_request_ = release_request;
- }
- // @@protoc_insertion_point(field_set_allocated:message.Node_log.release_request)
- }
- void Node_log::clear_release_request() {
- if (has_release_request()) {
- delete request_.release_request_;
- clear_has_request();
- }
- }
- void Node_log::set_allocated_confirm_request(::message::Parkspace_confirm_alloc_request_msg* confirm_request) {
- ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
- clear_request();
- if (confirm_request) {
- ::google::protobuf::Arena* submessage_arena = NULL;
- if (message_arena != submessage_arena) {
- confirm_request = ::google::protobuf::internal::GetOwnedMessage(
- message_arena, confirm_request, submessage_arena);
- }
- set_has_confirm_request();
- request_.confirm_request_ = confirm_request;
- }
- // @@protoc_insertion_point(field_set_allocated:message.Node_log.confirm_request)
- }
- void Node_log::clear_confirm_request() {
- if (has_confirm_request()) {
- delete request_.confirm_request_;
- clear_has_request();
- }
- }
- void Node_log::set_allocated_measure_request(::message::Measure_request_msg* measure_request) {
- ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
- clear_request();
- if (measure_request) {
- ::google::protobuf::Arena* submessage_arena = NULL;
- if (message_arena != submessage_arena) {
- measure_request = ::google::protobuf::internal::GetOwnedMessage(
- message_arena, measure_request, submessage_arena);
- }
- set_has_measure_request();
- request_.measure_request_ = measure_request;
- }
- // @@protoc_insertion_point(field_set_allocated:message.Node_log.measure_request)
- }
- void Node_log::clear_measure_request() {
- if (has_measure_request()) {
- delete request_.measure_request_;
- clear_has_request();
- }
- }
- void Node_log::set_allocated_dispatch_request(::message::Dispatch_request_msg* dispatch_request) {
- ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
- clear_request();
- if (dispatch_request) {
- ::google::protobuf::Arena* submessage_arena = NULL;
- if (message_arena != submessage_arena) {
- dispatch_request = ::google::protobuf::internal::GetOwnedMessage(
- message_arena, dispatch_request, submessage_arena);
- }
- set_has_dispatch_request();
- request_.dispatch_request_ = dispatch_request;
- }
- // @@protoc_insertion_point(field_set_allocated:message.Node_log.dispatch_request)
- }
- void Node_log::clear_dispatch_request() {
- if (has_dispatch_request()) {
- delete request_.dispatch_request_;
- clear_has_request();
- }
- }
- void Node_log::set_allocated_alloc_response(::message::Parkspace_allocation_response_msg* alloc_response) {
- ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
- clear_response();
- if (alloc_response) {
- ::google::protobuf::Arena* submessage_arena = NULL;
- if (message_arena != submessage_arena) {
- alloc_response = ::google::protobuf::internal::GetOwnedMessage(
- message_arena, alloc_response, submessage_arena);
- }
- set_has_alloc_response();
- response_.alloc_response_ = alloc_response;
- }
- // @@protoc_insertion_point(field_set_allocated:message.Node_log.alloc_response)
- }
- void Node_log::clear_alloc_response() {
- if (has_alloc_response()) {
- delete response_.alloc_response_;
- clear_has_response();
- }
- }
- void Node_log::set_allocated_search_response(::message::Parkspace_search_response_msg* search_response) {
- ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
- clear_response();
- if (search_response) {
- ::google::protobuf::Arena* submessage_arena = NULL;
- if (message_arena != submessage_arena) {
- search_response = ::google::protobuf::internal::GetOwnedMessage(
- message_arena, search_response, submessage_arena);
- }
- set_has_search_response();
- response_.search_response_ = search_response;
- }
- // @@protoc_insertion_point(field_set_allocated:message.Node_log.search_response)
- }
- void Node_log::clear_search_response() {
- if (has_search_response()) {
- delete response_.search_response_;
- clear_has_response();
- }
- }
- void Node_log::set_allocated_release_response(::message::Parkspace_release_response_msg* release_response) {
- ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
- clear_response();
- if (release_response) {
- ::google::protobuf::Arena* submessage_arena = NULL;
- if (message_arena != submessage_arena) {
- release_response = ::google::protobuf::internal::GetOwnedMessage(
- message_arena, release_response, submessage_arena);
- }
- set_has_release_response();
- response_.release_response_ = release_response;
- }
- // @@protoc_insertion_point(field_set_allocated:message.Node_log.release_response)
- }
- void Node_log::clear_release_response() {
- if (has_release_response()) {
- delete response_.release_response_;
- clear_has_response();
- }
- }
- void Node_log::set_allocated_confirm_response(::message::Parkspace_confirm_alloc_response_msg* confirm_response) {
- ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
- clear_response();
- if (confirm_response) {
- ::google::protobuf::Arena* submessage_arena = NULL;
- if (message_arena != submessage_arena) {
- confirm_response = ::google::protobuf::internal::GetOwnedMessage(
- message_arena, confirm_response, submessage_arena);
- }
- set_has_confirm_response();
- response_.confirm_response_ = confirm_response;
- }
- // @@protoc_insertion_point(field_set_allocated:message.Node_log.confirm_response)
- }
- void Node_log::clear_confirm_response() {
- if (has_confirm_response()) {
- delete response_.confirm_response_;
- clear_has_response();
- }
- }
- void Node_log::set_allocated_measure_response(::message::Measure_response_msg* measure_response) {
- ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
- clear_response();
- if (measure_response) {
- ::google::protobuf::Arena* submessage_arena = NULL;
- if (message_arena != submessage_arena) {
- measure_response = ::google::protobuf::internal::GetOwnedMessage(
- message_arena, measure_response, submessage_arena);
- }
- set_has_measure_response();
- response_.measure_response_ = measure_response;
- }
- // @@protoc_insertion_point(field_set_allocated:message.Node_log.measure_response)
- }
- void Node_log::clear_measure_response() {
- if (has_measure_response()) {
- delete response_.measure_response_;
- clear_has_response();
- }
- }
- void Node_log::set_allocated_dispatch_response(::message::Dispatch_response_msg* dispatch_response) {
- ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
- clear_response();
- if (dispatch_response) {
- ::google::protobuf::Arena* submessage_arena = NULL;
- if (message_arena != submessage_arena) {
- dispatch_response = ::google::protobuf::internal::GetOwnedMessage(
- message_arena, dispatch_response, submessage_arena);
- }
- set_has_dispatch_response();
- response_.dispatch_response_ = dispatch_response;
- }
- // @@protoc_insertion_point(field_set_allocated:message.Node_log.dispatch_response)
- }
- void Node_log::clear_dispatch_response() {
- if (has_dispatch_response()) {
- delete response_.dispatch_response_;
- clear_has_response();
- }
- }
- #if !defined(_MSC_VER) || _MSC_VER >= 1900
- const int Node_log::kAllocRequestFieldNumber;
- const int Node_log::kSearchRequestFieldNumber;
- const int Node_log::kReleaseRequestFieldNumber;
- const int Node_log::kConfirmRequestFieldNumber;
- const int Node_log::kMeasureRequestFieldNumber;
- const int Node_log::kDispatchRequestFieldNumber;
- const int Node_log::kAllocResponseFieldNumber;
- const int Node_log::kSearchResponseFieldNumber;
- const int Node_log::kReleaseResponseFieldNumber;
- const int Node_log::kConfirmResponseFieldNumber;
- const int Node_log::kMeasureResponseFieldNumber;
- const int Node_log::kDispatchResponseFieldNumber;
- const int Node_log::kDescriptionFieldNumber;
- #endif // !defined(_MSC_VER) || _MSC_VER >= 1900
- Node_log::Node_log()
- : ::google::protobuf::Message(), _internal_metadata_(NULL) {
- ::google::protobuf::internal::InitSCC(
- &protobuf_log_5fprocess_2eproto::scc_info_Node_log.base);
- SharedCtor();
- // @@protoc_insertion_point(constructor:message.Node_log)
- }
- Node_log::Node_log(const Node_log& from)
- : ::google::protobuf::Message(),
- _internal_metadata_(NULL),
- _has_bits_(from._has_bits_) {
- _internal_metadata_.MergeFrom(from._internal_metadata_);
- description_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- if (from.has_description()) {
- description_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.description_);
- }
- clear_has_request();
- switch (from.request_case()) {
- case kAllocRequest: {
- mutable_alloc_request()->::message::Parkspace_allocation_request_msg::MergeFrom(from.alloc_request());
- break;
- }
- case kSearchRequest: {
- mutable_search_request()->::message::Parkspace_search_request_msg::MergeFrom(from.search_request());
- break;
- }
- case kReleaseRequest: {
- mutable_release_request()->::message::Parkspace_release_request_msg::MergeFrom(from.release_request());
- break;
- }
- case kConfirmRequest: {
- mutable_confirm_request()->::message::Parkspace_confirm_alloc_request_msg::MergeFrom(from.confirm_request());
- break;
- }
- case kMeasureRequest: {
- mutable_measure_request()->::message::Measure_request_msg::MergeFrom(from.measure_request());
- break;
- }
- case kDispatchRequest: {
- mutable_dispatch_request()->::message::Dispatch_request_msg::MergeFrom(from.dispatch_request());
- break;
- }
- case REQUEST_NOT_SET: {
- break;
- }
- }
- clear_has_response();
- switch (from.response_case()) {
- case kAllocResponse: {
- mutable_alloc_response()->::message::Parkspace_allocation_response_msg::MergeFrom(from.alloc_response());
- break;
- }
- case kSearchResponse: {
- mutable_search_response()->::message::Parkspace_search_response_msg::MergeFrom(from.search_response());
- break;
- }
- case kReleaseResponse: {
- mutable_release_response()->::message::Parkspace_release_response_msg::MergeFrom(from.release_response());
- break;
- }
- case kConfirmResponse: {
- mutable_confirm_response()->::message::Parkspace_confirm_alloc_response_msg::MergeFrom(from.confirm_response());
- break;
- }
- case kMeasureResponse: {
- mutable_measure_response()->::message::Measure_response_msg::MergeFrom(from.measure_response());
- break;
- }
- case kDispatchResponse: {
- mutable_dispatch_response()->::message::Dispatch_response_msg::MergeFrom(from.dispatch_response());
- break;
- }
- case RESPONSE_NOT_SET: {
- break;
- }
- }
- // @@protoc_insertion_point(copy_constructor:message.Node_log)
- }
- void Node_log::SharedCtor() {
- description_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- clear_has_request();
- clear_has_response();
- }
- Node_log::~Node_log() {
- // @@protoc_insertion_point(destructor:message.Node_log)
- SharedDtor();
- }
- void Node_log::SharedDtor() {
- description_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- if (has_request()) {
- clear_request();
- }
- if (has_response()) {
- clear_response();
- }
- }
- void Node_log::SetCachedSize(int size) const {
- _cached_size_.Set(size);
- }
- const ::google::protobuf::Descriptor* Node_log::descriptor() {
- ::protobuf_log_5fprocess_2eproto::protobuf_AssignDescriptorsOnce();
- return ::protobuf_log_5fprocess_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
- }
- const Node_log& Node_log::default_instance() {
- ::google::protobuf::internal::InitSCC(&protobuf_log_5fprocess_2eproto::scc_info_Node_log.base);
- return *internal_default_instance();
- }
- void Node_log::clear_request() {
- // @@protoc_insertion_point(one_of_clear_start:message.Node_log)
- switch (request_case()) {
- case kAllocRequest: {
- delete request_.alloc_request_;
- break;
- }
- case kSearchRequest: {
- delete request_.search_request_;
- break;
- }
- case kReleaseRequest: {
- delete request_.release_request_;
- break;
- }
- case kConfirmRequest: {
- delete request_.confirm_request_;
- break;
- }
- case kMeasureRequest: {
- delete request_.measure_request_;
- break;
- }
- case kDispatchRequest: {
- delete request_.dispatch_request_;
- break;
- }
- case REQUEST_NOT_SET: {
- break;
- }
- }
- _oneof_case_[0] = REQUEST_NOT_SET;
- }
- void Node_log::clear_response() {
- // @@protoc_insertion_point(one_of_clear_start:message.Node_log)
- switch (response_case()) {
- case kAllocResponse: {
- delete response_.alloc_response_;
- break;
- }
- case kSearchResponse: {
- delete response_.search_response_;
- break;
- }
- case kReleaseResponse: {
- delete response_.release_response_;
- break;
- }
- case kConfirmResponse: {
- delete response_.confirm_response_;
- break;
- }
- case kMeasureResponse: {
- delete response_.measure_response_;
- break;
- }
- case kDispatchResponse: {
- delete response_.dispatch_response_;
- break;
- }
- case RESPONSE_NOT_SET: {
- break;
- }
- }
- _oneof_case_[1] = RESPONSE_NOT_SET;
- }
- void Node_log::Clear() {
- // @@protoc_insertion_point(message_clear_start:message.Node_log)
- ::google::protobuf::uint32 cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
- if (cached_has_bits & 0x00000001u) {
- description_.ClearNonDefaultToEmptyNoArena();
- }
- clear_request();
- clear_response();
- _has_bits_.Clear();
- _internal_metadata_.Clear();
- }
- bool Node_log::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:message.Node_log)
- 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)) {
- // optional .message.Parkspace_allocation_request_msg alloc_request = 1;
- case 1: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
- input, mutable_alloc_request()));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // optional .message.Parkspace_allocation_response_msg alloc_response = 2;
- case 2: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
- input, mutable_alloc_response()));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // optional .message.Parkspace_search_request_msg search_request = 3;
- case 3: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
- input, mutable_search_request()));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // optional .message.Parkspace_search_response_msg search_response = 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, mutable_search_response()));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // optional .message.Parkspace_release_request_msg release_request = 5;
- case 5: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(42u /* 42 & 0xFF */)) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
- input, mutable_release_request()));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // optional .message.Parkspace_release_response_msg release_response = 6;
- case 6: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(50u /* 50 & 0xFF */)) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
- input, mutable_release_response()));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // optional .message.Parkspace_confirm_alloc_request_msg confirm_request = 7;
- case 7: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(58u /* 58 & 0xFF */)) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
- input, mutable_confirm_request()));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // optional .message.Parkspace_confirm_alloc_response_msg confirm_response = 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_confirm_response()));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // optional .message.Measure_request_msg measure_request = 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_measure_request()));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // optional .message.Measure_response_msg measure_response = 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, mutable_measure_response()));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // optional .message.Dispatch_request_msg dispatch_request = 11;
- case 11: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(90u /* 90 & 0xFF */)) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
- input, mutable_dispatch_request()));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // optional .message.Dispatch_response_msg dispatch_response = 12;
- case 12: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(98u /* 98 & 0xFF */)) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
- input, mutable_dispatch_response()));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // optional string description = 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_description()));
- ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
- this->description().data(), static_cast<int>(this->description().length()),
- ::google::protobuf::internal::WireFormat::PARSE,
- "message.Node_log.description");
- } 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:message.Node_log)
- return true;
- failure:
- // @@protoc_insertion_point(parse_failure:message.Node_log)
- return false;
- #undef DO_
- }
- void Node_log::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // @@protoc_insertion_point(serialize_start:message.Node_log)
- ::google::protobuf::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
- // optional .message.Parkspace_allocation_request_msg alloc_request = 1;
- if (has_alloc_request()) {
- ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
- 1, this->_internal_alloc_request(), output);
- }
- // optional .message.Parkspace_allocation_response_msg alloc_response = 2;
- if (has_alloc_response()) {
- ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
- 2, this->_internal_alloc_response(), output);
- }
- // optional .message.Parkspace_search_request_msg search_request = 3;
- if (has_search_request()) {
- ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
- 3, this->_internal_search_request(), output);
- }
- // optional .message.Parkspace_search_response_msg search_response = 4;
- if (has_search_response()) {
- ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
- 4, this->_internal_search_response(), output);
- }
- // optional .message.Parkspace_release_request_msg release_request = 5;
- if (has_release_request()) {
- ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
- 5, this->_internal_release_request(), output);
- }
- // optional .message.Parkspace_release_response_msg release_response = 6;
- if (has_release_response()) {
- ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
- 6, this->_internal_release_response(), output);
- }
- // optional .message.Parkspace_confirm_alloc_request_msg confirm_request = 7;
- if (has_confirm_request()) {
- ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
- 7, this->_internal_confirm_request(), output);
- }
- // optional .message.Parkspace_confirm_alloc_response_msg confirm_response = 8;
- if (has_confirm_response()) {
- ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
- 8, this->_internal_confirm_response(), output);
- }
- // optional .message.Measure_request_msg measure_request = 9;
- if (has_measure_request()) {
- ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
- 9, this->_internal_measure_request(), output);
- }
- // optional .message.Measure_response_msg measure_response = 10;
- if (has_measure_response()) {
- ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
- 10, this->_internal_measure_response(), output);
- }
- // optional .message.Dispatch_request_msg dispatch_request = 11;
- if (has_dispatch_request()) {
- ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
- 11, this->_internal_dispatch_request(), output);
- }
- // optional .message.Dispatch_response_msg dispatch_response = 12;
- if (has_dispatch_response()) {
- ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
- 12, this->_internal_dispatch_response(), output);
- }
- cached_has_bits = _has_bits_[0];
- // optional string description = 13;
- if (cached_has_bits & 0x00000001u) {
- ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
- this->description().data(), static_cast<int>(this->description().length()),
- ::google::protobuf::internal::WireFormat::SERIALIZE,
- "message.Node_log.description");
- ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
- 13, this->description(), output);
- }
- if (_internal_metadata_.have_unknown_fields()) {
- ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
- _internal_metadata_.unknown_fields(), output);
- }
- // @@protoc_insertion_point(serialize_end:message.Node_log)
- }
- ::google::protobuf::uint8* Node_log::InternalSerializeWithCachedSizesToArray(
- bool deterministic, ::google::protobuf::uint8* target) const {
- (void)deterministic; // Unused
- // @@protoc_insertion_point(serialize_to_array_start:message.Node_log)
- ::google::protobuf::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
- // optional .message.Parkspace_allocation_request_msg alloc_request = 1;
- if (has_alloc_request()) {
- target = ::google::protobuf::internal::WireFormatLite::
- InternalWriteMessageToArray(
- 1, this->_internal_alloc_request(), deterministic, target);
- }
- // optional .message.Parkspace_allocation_response_msg alloc_response = 2;
- if (has_alloc_response()) {
- target = ::google::protobuf::internal::WireFormatLite::
- InternalWriteMessageToArray(
- 2, this->_internal_alloc_response(), deterministic, target);
- }
- // optional .message.Parkspace_search_request_msg search_request = 3;
- if (has_search_request()) {
- target = ::google::protobuf::internal::WireFormatLite::
- InternalWriteMessageToArray(
- 3, this->_internal_search_request(), deterministic, target);
- }
- // optional .message.Parkspace_search_response_msg search_response = 4;
- if (has_search_response()) {
- target = ::google::protobuf::internal::WireFormatLite::
- InternalWriteMessageToArray(
- 4, this->_internal_search_response(), deterministic, target);
- }
- // optional .message.Parkspace_release_request_msg release_request = 5;
- if (has_release_request()) {
- target = ::google::protobuf::internal::WireFormatLite::
- InternalWriteMessageToArray(
- 5, this->_internal_release_request(), deterministic, target);
- }
- // optional .message.Parkspace_release_response_msg release_response = 6;
- if (has_release_response()) {
- target = ::google::protobuf::internal::WireFormatLite::
- InternalWriteMessageToArray(
- 6, this->_internal_release_response(), deterministic, target);
- }
- // optional .message.Parkspace_confirm_alloc_request_msg confirm_request = 7;
- if (has_confirm_request()) {
- target = ::google::protobuf::internal::WireFormatLite::
- InternalWriteMessageToArray(
- 7, this->_internal_confirm_request(), deterministic, target);
- }
- // optional .message.Parkspace_confirm_alloc_response_msg confirm_response = 8;
- if (has_confirm_response()) {
- target = ::google::protobuf::internal::WireFormatLite::
- InternalWriteMessageToArray(
- 8, this->_internal_confirm_response(), deterministic, target);
- }
- // optional .message.Measure_request_msg measure_request = 9;
- if (has_measure_request()) {
- target = ::google::protobuf::internal::WireFormatLite::
- InternalWriteMessageToArray(
- 9, this->_internal_measure_request(), deterministic, target);
- }
- // optional .message.Measure_response_msg measure_response = 10;
- if (has_measure_response()) {
- target = ::google::protobuf::internal::WireFormatLite::
- InternalWriteMessageToArray(
- 10, this->_internal_measure_response(), deterministic, target);
- }
- // optional .message.Dispatch_request_msg dispatch_request = 11;
- if (has_dispatch_request()) {
- target = ::google::protobuf::internal::WireFormatLite::
- InternalWriteMessageToArray(
- 11, this->_internal_dispatch_request(), deterministic, target);
- }
- // optional .message.Dispatch_response_msg dispatch_response = 12;
- if (has_dispatch_response()) {
- target = ::google::protobuf::internal::WireFormatLite::
- InternalWriteMessageToArray(
- 12, this->_internal_dispatch_response(), deterministic, target);
- }
- cached_has_bits = _has_bits_[0];
- // optional string description = 13;
- if (cached_has_bits & 0x00000001u) {
- ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
- this->description().data(), static_cast<int>(this->description().length()),
- ::google::protobuf::internal::WireFormat::SERIALIZE,
- "message.Node_log.description");
- target =
- ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
- 13, this->description(), target);
- }
- if (_internal_metadata_.have_unknown_fields()) {
- target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
- _internal_metadata_.unknown_fields(), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:message.Node_log)
- return target;
- }
- size_t Node_log::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:message.Node_log)
- size_t total_size = 0;
- if (_internal_metadata_.have_unknown_fields()) {
- total_size +=
- ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
- _internal_metadata_.unknown_fields());
- }
- // optional string description = 13;
- if (has_description()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::StringSize(
- this->description());
- }
- switch (request_case()) {
- // optional .message.Parkspace_allocation_request_msg alloc_request = 1;
- case kAllocRequest: {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::MessageSize(
- *request_.alloc_request_);
- break;
- }
- // optional .message.Parkspace_search_request_msg search_request = 3;
- case kSearchRequest: {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::MessageSize(
- *request_.search_request_);
- break;
- }
- // optional .message.Parkspace_release_request_msg release_request = 5;
- case kReleaseRequest: {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::MessageSize(
- *request_.release_request_);
- break;
- }
- // optional .message.Parkspace_confirm_alloc_request_msg confirm_request = 7;
- case kConfirmRequest: {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::MessageSize(
- *request_.confirm_request_);
- break;
- }
- // optional .message.Measure_request_msg measure_request = 9;
- case kMeasureRequest: {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::MessageSize(
- *request_.measure_request_);
- break;
- }
- // optional .message.Dispatch_request_msg dispatch_request = 11;
- case kDispatchRequest: {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::MessageSize(
- *request_.dispatch_request_);
- break;
- }
- case REQUEST_NOT_SET: {
- break;
- }
- }
- switch (response_case()) {
- // optional .message.Parkspace_allocation_response_msg alloc_response = 2;
- case kAllocResponse: {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::MessageSize(
- *response_.alloc_response_);
- break;
- }
- // optional .message.Parkspace_search_response_msg search_response = 4;
- case kSearchResponse: {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::MessageSize(
- *response_.search_response_);
- break;
- }
- // optional .message.Parkspace_release_response_msg release_response = 6;
- case kReleaseResponse: {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::MessageSize(
- *response_.release_response_);
- break;
- }
- // optional .message.Parkspace_confirm_alloc_response_msg confirm_response = 8;
- case kConfirmResponse: {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::MessageSize(
- *response_.confirm_response_);
- break;
- }
- // optional .message.Measure_response_msg measure_response = 10;
- case kMeasureResponse: {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::MessageSize(
- *response_.measure_response_);
- break;
- }
- // optional .message.Dispatch_response_msg dispatch_response = 12;
- case kDispatchResponse: {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::MessageSize(
- *response_.dispatch_response_);
- break;
- }
- case RESPONSE_NOT_SET: {
- break;
- }
- }
- int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void Node_log::MergeFrom(const ::google::protobuf::Message& from) {
- // @@protoc_insertion_point(generalized_merge_from_start:message.Node_log)
- GOOGLE_DCHECK_NE(&from, this);
- const Node_log* source =
- ::google::protobuf::internal::DynamicCastToGenerated<const Node_log>(
- &from);
- if (source == NULL) {
- // @@protoc_insertion_point(generalized_merge_from_cast_fail:message.Node_log)
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- // @@protoc_insertion_point(generalized_merge_from_cast_success:message.Node_log)
- MergeFrom(*source);
- }
- }
- void Node_log::MergeFrom(const Node_log& from) {
- // @@protoc_insertion_point(class_specific_merge_from_start:message.Node_log)
- GOOGLE_DCHECK_NE(&from, this);
- _internal_metadata_.MergeFrom(from._internal_metadata_);
- ::google::protobuf::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
- if (from.has_description()) {
- set_has_description();
- description_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.description_);
- }
- switch (from.request_case()) {
- case kAllocRequest: {
- mutable_alloc_request()->::message::Parkspace_allocation_request_msg::MergeFrom(from.alloc_request());
- break;
- }
- case kSearchRequest: {
- mutable_search_request()->::message::Parkspace_search_request_msg::MergeFrom(from.search_request());
- break;
- }
- case kReleaseRequest: {
- mutable_release_request()->::message::Parkspace_release_request_msg::MergeFrom(from.release_request());
- break;
- }
- case kConfirmRequest: {
- mutable_confirm_request()->::message::Parkspace_confirm_alloc_request_msg::MergeFrom(from.confirm_request());
- break;
- }
- case kMeasureRequest: {
- mutable_measure_request()->::message::Measure_request_msg::MergeFrom(from.measure_request());
- break;
- }
- case kDispatchRequest: {
- mutable_dispatch_request()->::message::Dispatch_request_msg::MergeFrom(from.dispatch_request());
- break;
- }
- case REQUEST_NOT_SET: {
- break;
- }
- }
- switch (from.response_case()) {
- case kAllocResponse: {
- mutable_alloc_response()->::message::Parkspace_allocation_response_msg::MergeFrom(from.alloc_response());
- break;
- }
- case kSearchResponse: {
- mutable_search_response()->::message::Parkspace_search_response_msg::MergeFrom(from.search_response());
- break;
- }
- case kReleaseResponse: {
- mutable_release_response()->::message::Parkspace_release_response_msg::MergeFrom(from.release_response());
- break;
- }
- case kConfirmResponse: {
- mutable_confirm_response()->::message::Parkspace_confirm_alloc_response_msg::MergeFrom(from.confirm_response());
- break;
- }
- case kMeasureResponse: {
- mutable_measure_response()->::message::Measure_response_msg::MergeFrom(from.measure_response());
- break;
- }
- case kDispatchResponse: {
- mutable_dispatch_response()->::message::Dispatch_response_msg::MergeFrom(from.dispatch_response());
- break;
- }
- case RESPONSE_NOT_SET: {
- break;
- }
- }
- }
- void Node_log::CopyFrom(const ::google::protobuf::Message& from) {
- // @@protoc_insertion_point(generalized_copy_from_start:message.Node_log)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void Node_log::CopyFrom(const Node_log& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:message.Node_log)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool Node_log::IsInitialized() const {
- switch (request_case()) {
- case kAllocRequest: {
- if (has_alloc_request()) {
- if (!this->alloc_request().IsInitialized()) return false;
- }
- break;
- }
- case kSearchRequest: {
- if (has_search_request()) {
- if (!this->search_request().IsInitialized()) return false;
- }
- break;
- }
- case kReleaseRequest: {
- if (has_release_request()) {
- if (!this->release_request().IsInitialized()) return false;
- }
- break;
- }
- case kConfirmRequest: {
- if (has_confirm_request()) {
- if (!this->confirm_request().IsInitialized()) return false;
- }
- break;
- }
- case kMeasureRequest: {
- if (has_measure_request()) {
- if (!this->measure_request().IsInitialized()) return false;
- }
- break;
- }
- case kDispatchRequest: {
- if (has_dispatch_request()) {
- if (!this->dispatch_request().IsInitialized()) return false;
- }
- break;
- }
- case REQUEST_NOT_SET: {
- break;
- }
- }
- switch (response_case()) {
- case kAllocResponse: {
- if (has_alloc_response()) {
- if (!this->alloc_response().IsInitialized()) return false;
- }
- break;
- }
- case kSearchResponse: {
- if (has_search_response()) {
- if (!this->search_response().IsInitialized()) return false;
- }
- break;
- }
- case kReleaseResponse: {
- if (has_release_response()) {
- if (!this->release_response().IsInitialized()) return false;
- }
- break;
- }
- case kConfirmResponse: {
- if (has_confirm_response()) {
- if (!this->confirm_response().IsInitialized()) return false;
- }
- break;
- }
- case kMeasureResponse: {
- if (has_measure_response()) {
- if (!this->measure_response().IsInitialized()) return false;
- }
- break;
- }
- case kDispatchResponse: {
- if (has_dispatch_response()) {
- if (!this->dispatch_response().IsInitialized()) return false;
- }
- break;
- }
- case RESPONSE_NOT_SET: {
- break;
- }
- }
- return true;
- }
- void Node_log::Swap(Node_log* other) {
- if (other == this) return;
- InternalSwap(other);
- }
- void Node_log::InternalSwap(Node_log* other) {
- using std::swap;
- description_.Swap(&other->description_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
- GetArenaNoVirtual());
- swap(request_, other->request_);
- swap(_oneof_case_[0], other->_oneof_case_[0]);
- swap(response_, other->response_);
- swap(_oneof_case_[1], other->_oneof_case_[1]);
- swap(_has_bits_[0], other->_has_bits_[0]);
- _internal_metadata_.Swap(&other->_internal_metadata_);
- }
- ::google::protobuf::Metadata Node_log::GetMetadata() const {
- protobuf_log_5fprocess_2eproto::protobuf_AssignDescriptorsOnce();
- return ::protobuf_log_5fprocess_2eproto::file_level_metadata[kIndexInFileMessages];
- }
- // ===================================================================
- void Manual_operation_log::InitAsDefaultInstance() {
- ::message::_Manual_operation_log_default_instance_._instance.get_mutable()->manual_operation_ = const_cast< ::message::Process_manual_operation_msg*>(
- ::message::Process_manual_operation_msg::internal_default_instance());
- }
- void Manual_operation_log::clear_manual_operation() {
- if (manual_operation_ != NULL) manual_operation_->Clear();
- clear_has_manual_operation();
- }
- #if !defined(_MSC_VER) || _MSC_VER >= 1900
- const int Manual_operation_log::kManualOperationFieldNumber;
- const int Manual_operation_log::kDescriptionFieldNumber;
- #endif // !defined(_MSC_VER) || _MSC_VER >= 1900
- Manual_operation_log::Manual_operation_log()
- : ::google::protobuf::Message(), _internal_metadata_(NULL) {
- ::google::protobuf::internal::InitSCC(
- &protobuf_log_5fprocess_2eproto::scc_info_Manual_operation_log.base);
- SharedCtor();
- // @@protoc_insertion_point(constructor:message.Manual_operation_log)
- }
- Manual_operation_log::Manual_operation_log(const Manual_operation_log& from)
- : ::google::protobuf::Message(),
- _internal_metadata_(NULL),
- _has_bits_(from._has_bits_) {
- _internal_metadata_.MergeFrom(from._internal_metadata_);
- description_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- if (from.has_description()) {
- description_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.description_);
- }
- if (from.has_manual_operation()) {
- manual_operation_ = new ::message::Process_manual_operation_msg(*from.manual_operation_);
- } else {
- manual_operation_ = NULL;
- }
- // @@protoc_insertion_point(copy_constructor:message.Manual_operation_log)
- }
- void Manual_operation_log::SharedCtor() {
- description_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- manual_operation_ = NULL;
- }
- Manual_operation_log::~Manual_operation_log() {
- // @@protoc_insertion_point(destructor:message.Manual_operation_log)
- SharedDtor();
- }
- void Manual_operation_log::SharedDtor() {
- description_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- if (this != internal_default_instance()) delete manual_operation_;
- }
- void Manual_operation_log::SetCachedSize(int size) const {
- _cached_size_.Set(size);
- }
- const ::google::protobuf::Descriptor* Manual_operation_log::descriptor() {
- ::protobuf_log_5fprocess_2eproto::protobuf_AssignDescriptorsOnce();
- return ::protobuf_log_5fprocess_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
- }
- const Manual_operation_log& Manual_operation_log::default_instance() {
- ::google::protobuf::internal::InitSCC(&protobuf_log_5fprocess_2eproto::scc_info_Manual_operation_log.base);
- return *internal_default_instance();
- }
- void Manual_operation_log::Clear() {
- // @@protoc_insertion_point(message_clear_start:message.Manual_operation_log)
- ::google::protobuf::uint32 cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
- if (cached_has_bits & 3u) {
- if (cached_has_bits & 0x00000001u) {
- description_.ClearNonDefaultToEmptyNoArena();
- }
- if (cached_has_bits & 0x00000002u) {
- GOOGLE_DCHECK(manual_operation_ != NULL);
- manual_operation_->Clear();
- }
- }
- _has_bits_.Clear();
- _internal_metadata_.Clear();
- }
- bool Manual_operation_log::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:message.Manual_operation_log)
- 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)) {
- // required .message.Process_manual_operation_msg manual_operation = 1;
- case 1: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
- input, mutable_manual_operation()));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // optional string description = 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_description()));
- ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
- this->description().data(), static_cast<int>(this->description().length()),
- ::google::protobuf::internal::WireFormat::PARSE,
- "message.Manual_operation_log.description");
- } 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:message.Manual_operation_log)
- return true;
- failure:
- // @@protoc_insertion_point(parse_failure:message.Manual_operation_log)
- return false;
- #undef DO_
- }
- void Manual_operation_log::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // @@protoc_insertion_point(serialize_start:message.Manual_operation_log)
- ::google::protobuf::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
- // required .message.Process_manual_operation_msg manual_operation = 1;
- if (cached_has_bits & 0x00000002u) {
- ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
- 1, this->_internal_manual_operation(), output);
- }
- // optional string description = 2;
- if (cached_has_bits & 0x00000001u) {
- ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
- this->description().data(), static_cast<int>(this->description().length()),
- ::google::protobuf::internal::WireFormat::SERIALIZE,
- "message.Manual_operation_log.description");
- ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
- 2, this->description(), output);
- }
- if (_internal_metadata_.have_unknown_fields()) {
- ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
- _internal_metadata_.unknown_fields(), output);
- }
- // @@protoc_insertion_point(serialize_end:message.Manual_operation_log)
- }
- ::google::protobuf::uint8* Manual_operation_log::InternalSerializeWithCachedSizesToArray(
- bool deterministic, ::google::protobuf::uint8* target) const {
- (void)deterministic; // Unused
- // @@protoc_insertion_point(serialize_to_array_start:message.Manual_operation_log)
- ::google::protobuf::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
- // required .message.Process_manual_operation_msg manual_operation = 1;
- if (cached_has_bits & 0x00000002u) {
- target = ::google::protobuf::internal::WireFormatLite::
- InternalWriteMessageToArray(
- 1, this->_internal_manual_operation(), deterministic, target);
- }
- // optional string description = 2;
- if (cached_has_bits & 0x00000001u) {
- ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
- this->description().data(), static_cast<int>(this->description().length()),
- ::google::protobuf::internal::WireFormat::SERIALIZE,
- "message.Manual_operation_log.description");
- target =
- ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
- 2, this->description(), target);
- }
- if (_internal_metadata_.have_unknown_fields()) {
- target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
- _internal_metadata_.unknown_fields(), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:message.Manual_operation_log)
- return target;
- }
- size_t Manual_operation_log::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:message.Manual_operation_log)
- size_t total_size = 0;
- if (_internal_metadata_.have_unknown_fields()) {
- total_size +=
- ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
- _internal_metadata_.unknown_fields());
- }
- // required .message.Process_manual_operation_msg manual_operation = 1;
- if (has_manual_operation()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::MessageSize(
- *manual_operation_);
- }
- // optional string description = 2;
- if (has_description()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::StringSize(
- this->description());
- }
- int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void Manual_operation_log::MergeFrom(const ::google::protobuf::Message& from) {
- // @@protoc_insertion_point(generalized_merge_from_start:message.Manual_operation_log)
- GOOGLE_DCHECK_NE(&from, this);
- const Manual_operation_log* source =
- ::google::protobuf::internal::DynamicCastToGenerated<const Manual_operation_log>(
- &from);
- if (source == NULL) {
- // @@protoc_insertion_point(generalized_merge_from_cast_fail:message.Manual_operation_log)
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- // @@protoc_insertion_point(generalized_merge_from_cast_success:message.Manual_operation_log)
- MergeFrom(*source);
- }
- }
- void Manual_operation_log::MergeFrom(const Manual_operation_log& from) {
- // @@protoc_insertion_point(class_specific_merge_from_start:message.Manual_operation_log)
- GOOGLE_DCHECK_NE(&from, this);
- _internal_metadata_.MergeFrom(from._internal_metadata_);
- ::google::protobuf::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = from._has_bits_[0];
- if (cached_has_bits & 3u) {
- if (cached_has_bits & 0x00000001u) {
- set_has_description();
- description_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.description_);
- }
- if (cached_has_bits & 0x00000002u) {
- mutable_manual_operation()->::message::Process_manual_operation_msg::MergeFrom(from.manual_operation());
- }
- }
- }
- void Manual_operation_log::CopyFrom(const ::google::protobuf::Message& from) {
- // @@protoc_insertion_point(generalized_copy_from_start:message.Manual_operation_log)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void Manual_operation_log::CopyFrom(const Manual_operation_log& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:message.Manual_operation_log)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool Manual_operation_log::IsInitialized() const {
- if ((_has_bits_[0] & 0x00000002) != 0x00000002) return false;
- if (has_manual_operation()) {
- if (!this->manual_operation_->IsInitialized()) return false;
- }
- return true;
- }
- void Manual_operation_log::Swap(Manual_operation_log* other) {
- if (other == this) return;
- InternalSwap(other);
- }
- void Manual_operation_log::InternalSwap(Manual_operation_log* other) {
- using std::swap;
- description_.Swap(&other->description_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
- GetArenaNoVirtual());
- swap(manual_operation_, other->manual_operation_);
- swap(_has_bits_[0], other->_has_bits_[0]);
- _internal_metadata_.Swap(&other->_internal_metadata_);
- }
- ::google::protobuf::Metadata Manual_operation_log::GetMetadata() const {
- protobuf_log_5fprocess_2eproto::protobuf_AssignDescriptorsOnce();
- return ::protobuf_log_5fprocess_2eproto::file_level_metadata[kIndexInFileMessages];
- }
- // ===================================================================
- void Log_data::InitAsDefaultInstance() {
- ::message::_Log_data_default_instance_.str_log_.UnsafeSetDefault(
- &::google::protobuf::internal::GetEmptyStringAlreadyInited());
- ::message::_Log_data_default_instance_.node_log_ = const_cast< ::message::Node_log*>(
- ::message::Node_log::internal_default_instance());
- ::message::_Log_data_default_instance_.manual_operator_log_ = const_cast< ::message::Manual_operation_log*>(
- ::message::Manual_operation_log::internal_default_instance());
- }
- void Log_data::set_allocated_node_log(::message::Node_log* node_log) {
- ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
- clear_data();
- if (node_log) {
- ::google::protobuf::Arena* submessage_arena = NULL;
- if (message_arena != submessage_arena) {
- node_log = ::google::protobuf::internal::GetOwnedMessage(
- message_arena, node_log, submessage_arena);
- }
- set_has_node_log();
- data_.node_log_ = node_log;
- }
- // @@protoc_insertion_point(field_set_allocated:message.Log_data.node_log)
- }
- void Log_data::set_allocated_manual_operator_log(::message::Manual_operation_log* manual_operator_log) {
- ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
- clear_data();
- if (manual_operator_log) {
- ::google::protobuf::Arena* submessage_arena = NULL;
- if (message_arena != submessage_arena) {
- manual_operator_log = ::google::protobuf::internal::GetOwnedMessage(
- message_arena, manual_operator_log, submessage_arena);
- }
- set_has_manual_operator_log();
- data_.manual_operator_log_ = manual_operator_log;
- }
- // @@protoc_insertion_point(field_set_allocated:message.Log_data.manual_operator_log)
- }
- #if !defined(_MSC_VER) || _MSC_VER >= 1900
- const int Log_data::kLogSeverityFieldNumber;
- const int Log_data::kStrLogFieldNumber;
- const int Log_data::kNodeLogFieldNumber;
- const int Log_data::kManualOperatorLogFieldNumber;
- #endif // !defined(_MSC_VER) || _MSC_VER >= 1900
- Log_data::Log_data()
- : ::google::protobuf::Message(), _internal_metadata_(NULL) {
- ::google::protobuf::internal::InitSCC(
- &protobuf_log_5fprocess_2eproto::scc_info_Log_data.base);
- SharedCtor();
- // @@protoc_insertion_point(constructor:message.Log_data)
- }
- Log_data::Log_data(const Log_data& from)
- : ::google::protobuf::Message(),
- _internal_metadata_(NULL),
- _has_bits_(from._has_bits_) {
- _internal_metadata_.MergeFrom(from._internal_metadata_);
- log_severity_ = from.log_severity_;
- clear_has_data();
- switch (from.data_case()) {
- case kStrLog: {
- set_str_log(from.str_log());
- break;
- }
- case kNodeLog: {
- mutable_node_log()->::message::Node_log::MergeFrom(from.node_log());
- break;
- }
- case kManualOperatorLog: {
- mutable_manual_operator_log()->::message::Manual_operation_log::MergeFrom(from.manual_operator_log());
- break;
- }
- case DATA_NOT_SET: {
- break;
- }
- }
- // @@protoc_insertion_point(copy_constructor:message.Log_data)
- }
- void Log_data::SharedCtor() {
- log_severity_ = 0;
- clear_has_data();
- }
- Log_data::~Log_data() {
- // @@protoc_insertion_point(destructor:message.Log_data)
- SharedDtor();
- }
- void Log_data::SharedDtor() {
- if (has_data()) {
- clear_data();
- }
- }
- void Log_data::SetCachedSize(int size) const {
- _cached_size_.Set(size);
- }
- const ::google::protobuf::Descriptor* Log_data::descriptor() {
- ::protobuf_log_5fprocess_2eproto::protobuf_AssignDescriptorsOnce();
- return ::protobuf_log_5fprocess_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
- }
- const Log_data& Log_data::default_instance() {
- ::google::protobuf::internal::InitSCC(&protobuf_log_5fprocess_2eproto::scc_info_Log_data.base);
- return *internal_default_instance();
- }
- void Log_data::clear_data() {
- // @@protoc_insertion_point(one_of_clear_start:message.Log_data)
- switch (data_case()) {
- case kStrLog: {
- data_.str_log_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- break;
- }
- case kNodeLog: {
- delete data_.node_log_;
- break;
- }
- case kManualOperatorLog: {
- delete data_.manual_operator_log_;
- break;
- }
- case DATA_NOT_SET: {
- break;
- }
- }
- _oneof_case_[0] = DATA_NOT_SET;
- }
- void Log_data::Clear() {
- // @@protoc_insertion_point(message_clear_start:message.Log_data)
- ::google::protobuf::uint32 cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- log_severity_ = 0;
- clear_data();
- _has_bits_.Clear();
- _internal_metadata_.Clear();
- }
- bool Log_data::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:message.Log_data)
- 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)) {
- // required .message.Log_data.Severity log_severity = 1;
- case 1: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) {
- int value;
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
- input, &value)));
- if (::message::Log_data_Severity_IsValid(value)) {
- set_log_severity(static_cast< ::message::Log_data_Severity >(value));
- } else {
- mutable_unknown_fields()->AddVarint(
- 1, static_cast< ::google::protobuf::uint64>(value));
- }
- } else {
- goto handle_unusual;
- }
- break;
- }
- // optional string str_log = 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_str_log()));
- ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
- this->str_log().data(), static_cast<int>(this->str_log().length()),
- ::google::protobuf::internal::WireFormat::PARSE,
- "message.Log_data.str_log");
- } else {
- goto handle_unusual;
- }
- break;
- }
- // optional .message.Node_log node_log = 3;
- case 3: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
- input, mutable_node_log()));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // optional .message.Manual_operation_log manual_operator_log = 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, mutable_manual_operator_log()));
- } 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:message.Log_data)
- return true;
- failure:
- // @@protoc_insertion_point(parse_failure:message.Log_data)
- return false;
- #undef DO_
- }
- void Log_data::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // @@protoc_insertion_point(serialize_start:message.Log_data)
- ::google::protobuf::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
- // required .message.Log_data.Severity log_severity = 1;
- if (cached_has_bits & 0x00000001u) {
- ::google::protobuf::internal::WireFormatLite::WriteEnum(
- 1, this->log_severity(), output);
- }
- switch (data_case()) {
- case kStrLog:
- ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
- this->str_log().data(), static_cast<int>(this->str_log().length()),
- ::google::protobuf::internal::WireFormat::SERIALIZE,
- "message.Log_data.str_log");
- ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
- 2, this->str_log(), output);
- break;
- case kNodeLog:
- ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
- 3, this->_internal_node_log(), output);
- break;
- case kManualOperatorLog:
- ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
- 4, this->_internal_manual_operator_log(), output);
- break;
- default: ;
- }
- if (_internal_metadata_.have_unknown_fields()) {
- ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
- _internal_metadata_.unknown_fields(), output);
- }
- // @@protoc_insertion_point(serialize_end:message.Log_data)
- }
- ::google::protobuf::uint8* Log_data::InternalSerializeWithCachedSizesToArray(
- bool deterministic, ::google::protobuf::uint8* target) const {
- (void)deterministic; // Unused
- // @@protoc_insertion_point(serialize_to_array_start:message.Log_data)
- ::google::protobuf::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
- // required .message.Log_data.Severity log_severity = 1;
- if (cached_has_bits & 0x00000001u) {
- target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
- 1, this->log_severity(), target);
- }
- switch (data_case()) {
- case kStrLog:
- ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
- this->str_log().data(), static_cast<int>(this->str_log().length()),
- ::google::protobuf::internal::WireFormat::SERIALIZE,
- "message.Log_data.str_log");
- target =
- ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
- 2, this->str_log(), target);
- break;
- case kNodeLog:
- target = ::google::protobuf::internal::WireFormatLite::
- InternalWriteMessageToArray(
- 3, this->_internal_node_log(), deterministic, target);
- break;
- case kManualOperatorLog:
- target = ::google::protobuf::internal::WireFormatLite::
- InternalWriteMessageToArray(
- 4, this->_internal_manual_operator_log(), deterministic, target);
- break;
- default: ;
- }
- if (_internal_metadata_.have_unknown_fields()) {
- target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
- _internal_metadata_.unknown_fields(), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:message.Log_data)
- return target;
- }
- size_t Log_data::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:message.Log_data)
- size_t total_size = 0;
- if (_internal_metadata_.have_unknown_fields()) {
- total_size +=
- ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
- _internal_metadata_.unknown_fields());
- }
- // required .message.Log_data.Severity log_severity = 1;
- if (has_log_severity()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::EnumSize(this->log_severity());
- }
- switch (data_case()) {
- // optional string str_log = 2;
- case kStrLog: {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::StringSize(
- this->str_log());
- break;
- }
- // optional .message.Node_log node_log = 3;
- case kNodeLog: {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::MessageSize(
- *data_.node_log_);
- break;
- }
- // optional .message.Manual_operation_log manual_operator_log = 4;
- case kManualOperatorLog: {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::MessageSize(
- *data_.manual_operator_log_);
- break;
- }
- case DATA_NOT_SET: {
- break;
- }
- }
- int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void Log_data::MergeFrom(const ::google::protobuf::Message& from) {
- // @@protoc_insertion_point(generalized_merge_from_start:message.Log_data)
- GOOGLE_DCHECK_NE(&from, this);
- const Log_data* source =
- ::google::protobuf::internal::DynamicCastToGenerated<const Log_data>(
- &from);
- if (source == NULL) {
- // @@protoc_insertion_point(generalized_merge_from_cast_fail:message.Log_data)
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- // @@protoc_insertion_point(generalized_merge_from_cast_success:message.Log_data)
- MergeFrom(*source);
- }
- }
- void Log_data::MergeFrom(const Log_data& from) {
- // @@protoc_insertion_point(class_specific_merge_from_start:message.Log_data)
- GOOGLE_DCHECK_NE(&from, this);
- _internal_metadata_.MergeFrom(from._internal_metadata_);
- ::google::protobuf::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
- if (from.has_log_severity()) {
- set_log_severity(from.log_severity());
- }
- switch (from.data_case()) {
- case kStrLog: {
- set_str_log(from.str_log());
- break;
- }
- case kNodeLog: {
- mutable_node_log()->::message::Node_log::MergeFrom(from.node_log());
- break;
- }
- case kManualOperatorLog: {
- mutable_manual_operator_log()->::message::Manual_operation_log::MergeFrom(from.manual_operator_log());
- break;
- }
- case DATA_NOT_SET: {
- break;
- }
- }
- }
- void Log_data::CopyFrom(const ::google::protobuf::Message& from) {
- // @@protoc_insertion_point(generalized_copy_from_start:message.Log_data)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void Log_data::CopyFrom(const Log_data& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:message.Log_data)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool Log_data::IsInitialized() const {
- if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false;
- switch (data_case()) {
- case kStrLog: {
- break;
- }
- case kNodeLog: {
- if (has_node_log()) {
- if (!this->node_log().IsInitialized()) return false;
- }
- break;
- }
- case kManualOperatorLog: {
- if (has_manual_operator_log()) {
- if (!this->manual_operator_log().IsInitialized()) return false;
- }
- break;
- }
- case DATA_NOT_SET: {
- break;
- }
- }
- return true;
- }
- void Log_data::Swap(Log_data* other) {
- if (other == this) return;
- InternalSwap(other);
- }
- void Log_data::InternalSwap(Log_data* other) {
- using std::swap;
- swap(log_severity_, other->log_severity_);
- swap(data_, other->data_);
- swap(_oneof_case_[0], other->_oneof_case_[0]);
- swap(_has_bits_[0], other->_has_bits_[0]);
- _internal_metadata_.Swap(&other->_internal_metadata_);
- }
- ::google::protobuf::Metadata Log_data::GetMetadata() const {
- protobuf_log_5fprocess_2eproto::protobuf_AssignDescriptorsOnce();
- return ::protobuf_log_5fprocess_2eproto::file_level_metadata[kIndexInFileMessages];
- }
- // ===================================================================
- void Process_log::InitAsDefaultInstance() {
- }
- #if !defined(_MSC_VER) || _MSC_VER >= 1900
- const int Process_log::kProcessTypeFieldNumber;
- const int Process_log::kLogDataFieldNumber;
- #endif // !defined(_MSC_VER) || _MSC_VER >= 1900
- Process_log::Process_log()
- : ::google::protobuf::Message(), _internal_metadata_(NULL) {
- ::google::protobuf::internal::InitSCC(
- &protobuf_log_5fprocess_2eproto::scc_info_Process_log.base);
- SharedCtor();
- // @@protoc_insertion_point(constructor:message.Process_log)
- }
- Process_log::Process_log(const Process_log& from)
- : ::google::protobuf::Message(),
- _internal_metadata_(NULL),
- _has_bits_(from._has_bits_),
- log_data_(from.log_data_) {
- _internal_metadata_.MergeFrom(from._internal_metadata_);
- process_type_ = from.process_type_;
- // @@protoc_insertion_point(copy_constructor:message.Process_log)
- }
- void Process_log::SharedCtor() {
- process_type_ = 1;
- }
- Process_log::~Process_log() {
- // @@protoc_insertion_point(destructor:message.Process_log)
- SharedDtor();
- }
- void Process_log::SharedDtor() {
- }
- void Process_log::SetCachedSize(int size) const {
- _cached_size_.Set(size);
- }
- const ::google::protobuf::Descriptor* Process_log::descriptor() {
- ::protobuf_log_5fprocess_2eproto::protobuf_AssignDescriptorsOnce();
- return ::protobuf_log_5fprocess_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
- }
- const Process_log& Process_log::default_instance() {
- ::google::protobuf::internal::InitSCC(&protobuf_log_5fprocess_2eproto::scc_info_Process_log.base);
- return *internal_default_instance();
- }
- void Process_log::Clear() {
- // @@protoc_insertion_point(message_clear_start:message.Process_log)
- ::google::protobuf::uint32 cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- log_data_.Clear();
- process_type_ = 1;
- _has_bits_.Clear();
- _internal_metadata_.Clear();
- }
- bool Process_log::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:message.Process_log)
- 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)) {
- // required .message.Process_type process_type = 1;
- case 1: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) {
- int value;
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
- input, &value)));
- if (::message::Process_type_IsValid(value)) {
- set_process_type(static_cast< ::message::Process_type >(value));
- } else {
- mutable_unknown_fields()->AddVarint(
- 1, static_cast< ::google::protobuf::uint64>(value));
- }
- } else {
- goto handle_unusual;
- }
- break;
- }
- // repeated .message.Log_data log_data = 2;
- case 2: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
- input, add_log_data()));
- } 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:message.Process_log)
- return true;
- failure:
- // @@protoc_insertion_point(parse_failure:message.Process_log)
- return false;
- #undef DO_
- }
- void Process_log::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // @@protoc_insertion_point(serialize_start:message.Process_log)
- ::google::protobuf::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
- // required .message.Process_type process_type = 1;
- if (cached_has_bits & 0x00000001u) {
- ::google::protobuf::internal::WireFormatLite::WriteEnum(
- 1, this->process_type(), output);
- }
- // repeated .message.Log_data log_data = 2;
- for (unsigned int i = 0,
- n = static_cast<unsigned int>(this->log_data_size()); i < n; i++) {
- ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
- 2,
- this->log_data(static_cast<int>(i)),
- output);
- }
- if (_internal_metadata_.have_unknown_fields()) {
- ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
- _internal_metadata_.unknown_fields(), output);
- }
- // @@protoc_insertion_point(serialize_end:message.Process_log)
- }
- ::google::protobuf::uint8* Process_log::InternalSerializeWithCachedSizesToArray(
- bool deterministic, ::google::protobuf::uint8* target) const {
- (void)deterministic; // Unused
- // @@protoc_insertion_point(serialize_to_array_start:message.Process_log)
- ::google::protobuf::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
- // required .message.Process_type process_type = 1;
- if (cached_has_bits & 0x00000001u) {
- target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
- 1, this->process_type(), target);
- }
- // repeated .message.Log_data log_data = 2;
- for (unsigned int i = 0,
- n = static_cast<unsigned int>(this->log_data_size()); i < n; i++) {
- target = ::google::protobuf::internal::WireFormatLite::
- InternalWriteMessageToArray(
- 2, this->log_data(static_cast<int>(i)), deterministic, target);
- }
- if (_internal_metadata_.have_unknown_fields()) {
- target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
- _internal_metadata_.unknown_fields(), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:message.Process_log)
- return target;
- }
- size_t Process_log::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:message.Process_log)
- size_t total_size = 0;
- if (_internal_metadata_.have_unknown_fields()) {
- total_size +=
- ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
- _internal_metadata_.unknown_fields());
- }
- // required .message.Process_type process_type = 1;
- if (has_process_type()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::EnumSize(this->process_type());
- }
- // repeated .message.Log_data log_data = 2;
- {
- unsigned int count = static_cast<unsigned int>(this->log_data_size());
- total_size += 1UL * count;
- for (unsigned int i = 0; i < count; i++) {
- total_size +=
- ::google::protobuf::internal::WireFormatLite::MessageSize(
- this->log_data(static_cast<int>(i)));
- }
- }
- int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void Process_log::MergeFrom(const ::google::protobuf::Message& from) {
- // @@protoc_insertion_point(generalized_merge_from_start:message.Process_log)
- GOOGLE_DCHECK_NE(&from, this);
- const Process_log* source =
- ::google::protobuf::internal::DynamicCastToGenerated<const Process_log>(
- &from);
- if (source == NULL) {
- // @@protoc_insertion_point(generalized_merge_from_cast_fail:message.Process_log)
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- // @@protoc_insertion_point(generalized_merge_from_cast_success:message.Process_log)
- MergeFrom(*source);
- }
- }
- void Process_log::MergeFrom(const Process_log& from) {
- // @@protoc_insertion_point(class_specific_merge_from_start:message.Process_log)
- GOOGLE_DCHECK_NE(&from, this);
- _internal_metadata_.MergeFrom(from._internal_metadata_);
- ::google::protobuf::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
- log_data_.MergeFrom(from.log_data_);
- if (from.has_process_type()) {
- set_process_type(from.process_type());
- }
- }
- void Process_log::CopyFrom(const ::google::protobuf::Message& from) {
- // @@protoc_insertion_point(generalized_copy_from_start:message.Process_log)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void Process_log::CopyFrom(const Process_log& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:message.Process_log)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool Process_log::IsInitialized() const {
- if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false;
- if (!::google::protobuf::internal::AllAreInitialized(this->log_data())) return false;
- return true;
- }
- void Process_log::Swap(Process_log* other) {
- if (other == this) return;
- InternalSwap(other);
- }
- void Process_log::InternalSwap(Process_log* other) {
- using std::swap;
- CastToBase(&log_data_)->InternalSwap(CastToBase(&other->log_data_));
- swap(process_type_, other->process_type_);
- swap(_has_bits_[0], other->_has_bits_[0]);
- _internal_metadata_.Swap(&other->_internal_metadata_);
- }
- ::google::protobuf::Metadata Process_log::GetMetadata() const {
- protobuf_log_5fprocess_2eproto::protobuf_AssignDescriptorsOnce();
- return ::protobuf_log_5fprocess_2eproto::file_level_metadata[kIndexInFileMessages];
- }
- // @@protoc_insertion_point(namespace_scope)
- } // namespace message
- namespace google {
- namespace protobuf {
- template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::message::Node_log* Arena::CreateMaybeMessage< ::message::Node_log >(Arena* arena) {
- return Arena::CreateInternal< ::message::Node_log >(arena);
- }
- template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::message::Manual_operation_log* Arena::CreateMaybeMessage< ::message::Manual_operation_log >(Arena* arena) {
- return Arena::CreateInternal< ::message::Manual_operation_log >(arena);
- }
- template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::message::Log_data* Arena::CreateMaybeMessage< ::message::Log_data >(Arena* arena) {
- return Arena::CreateInternal< ::message::Log_data >(arena);
- }
- template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::message::Process_log* Arena::CreateMaybeMessage< ::message::Process_log >(Arena* arena) {
- return Arena::CreateInternal< ::message::Process_log >(arena);
- }
- } // namespace protobuf
- } // namespace google
- // @@protoc_insertion_point(global_scope)
|