// Generated by the protocol buffer compiler. DO NOT EDIT! // source: process_message.proto #include "process_message.pb.h" #include #include #include #include #include #include #include #include #include #include // This is a temporary google only hack #ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS #include "third_party/protobuf/version.h" #endif // @@protoc_insertion_point(includes) namespace message { class Alloc_space_step_statuDefaultTypeInternal { public: ::google::protobuf::internal::ExplicitlyConstructed _instance; } _Alloc_space_step_statu_default_instance_; class Search_space_step_statuDefaultTypeInternal { public: ::google::protobuf::internal::ExplicitlyConstructed _instance; } _Search_space_step_statu_default_instance_; class Confirm_space_step_statuDefaultTypeInternal { public: ::google::protobuf::internal::ExplicitlyConstructed _instance; } _Confirm_space_step_statu_default_instance_; class Release_space_step_statuDefaultTypeInternal { public: ::google::protobuf::internal::ExplicitlyConstructed _instance; } _Release_space_step_statu_default_instance_; class Measure_step_statuDefaultTypeInternal { public: ::google::protobuf::internal::ExplicitlyConstructed _instance; } _Measure_step_statu_default_instance_; class Dispatch_store_step_statuDefaultTypeInternal { public: ::google::protobuf::internal::ExplicitlyConstructed _instance; } _Dispatch_store_step_statu_default_instance_; class Dispatch_pick_step_statuDefaultTypeInternal { public: ::google::protobuf::internal::ExplicitlyConstructed _instance; } _Dispatch_pick_step_statu_default_instance_; class Waitfor_leave_step_statuDefaultTypeInternal { public: ::google::protobuf::internal::ExplicitlyConstructed _instance; } _Waitfor_leave_step_statu_default_instance_; class Storing_process_statu_msgDefaultTypeInternal { public: ::google::protobuf::internal::ExplicitlyConstructed _instance; } _Storing_process_statu_msg_default_instance_; class Picking_process_statu_msgDefaultTypeInternal { public: ::google::protobuf::internal::ExplicitlyConstructed _instance; } _Picking_process_statu_msg_default_instance_; } // namespace message namespace protobuf_process_5fmessage_2eproto { void InitDefaultsAlloc_space_step_statuImpl() { GOOGLE_PROTOBUF_VERIFY_VERSION; #ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS ::google::protobuf::internal::InitProtobufDefaultsForceUnique(); #else ::google::protobuf::internal::InitProtobufDefaults(); #endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS protobuf_message_5fbase_2eproto::InitDefaultsCar_info(); { void* ptr = &::message::_Alloc_space_step_statu_default_instance_; new (ptr) ::message::Alloc_space_step_statu(); ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); } ::message::Alloc_space_step_statu::InitAsDefaultInstance(); } void InitDefaultsAlloc_space_step_statu() { static GOOGLE_PROTOBUF_DECLARE_ONCE(once); ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsAlloc_space_step_statuImpl); } void InitDefaultsSearch_space_step_statuImpl() { GOOGLE_PROTOBUF_VERIFY_VERSION; #ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS ::google::protobuf::internal::InitProtobufDefaultsForceUnique(); #else ::google::protobuf::internal::InitProtobufDefaults(); #endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS protobuf_message_5fbase_2eproto::InitDefaultsParkspace_info(); { void* ptr = &::message::_Search_space_step_statu_default_instance_; new (ptr) ::message::Search_space_step_statu(); ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); } ::message::Search_space_step_statu::InitAsDefaultInstance(); } void InitDefaultsSearch_space_step_statu() { static GOOGLE_PROTOBUF_DECLARE_ONCE(once); ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsSearch_space_step_statuImpl); } void InitDefaultsConfirm_space_step_statuImpl() { GOOGLE_PROTOBUF_VERIFY_VERSION; #ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS ::google::protobuf::internal::InitProtobufDefaultsForceUnique(); #else ::google::protobuf::internal::InitProtobufDefaults(); #endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS protobuf_message_5fbase_2eproto::InitDefaultsParkspace_info(); { void* ptr = &::message::_Confirm_space_step_statu_default_instance_; new (ptr) ::message::Confirm_space_step_statu(); ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); } ::message::Confirm_space_step_statu::InitAsDefaultInstance(); } void InitDefaultsConfirm_space_step_statu() { static GOOGLE_PROTOBUF_DECLARE_ONCE(once); ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsConfirm_space_step_statuImpl); } void InitDefaultsRelease_space_step_statuImpl() { GOOGLE_PROTOBUF_VERIFY_VERSION; #ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS ::google::protobuf::internal::InitProtobufDefaultsForceUnique(); #else ::google::protobuf::internal::InitProtobufDefaults(); #endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS protobuf_message_5fbase_2eproto::InitDefaultsParkspace_info(); { void* ptr = &::message::_Release_space_step_statu_default_instance_; new (ptr) ::message::Release_space_step_statu(); ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); } ::message::Release_space_step_statu::InitAsDefaultInstance(); } void InitDefaultsRelease_space_step_statu() { static GOOGLE_PROTOBUF_DECLARE_ONCE(once); ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsRelease_space_step_statuImpl); } void InitDefaultsMeasure_step_statuImpl() { GOOGLE_PROTOBUF_VERIFY_VERSION; #ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS ::google::protobuf::internal::InitProtobufDefaultsForceUnique(); #else ::google::protobuf::internal::InitProtobufDefaults(); #endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS protobuf_message_5fbase_2eproto::InitDefaultsLocate_information(); { void* ptr = &::message::_Measure_step_statu_default_instance_; new (ptr) ::message::Measure_step_statu(); ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); } ::message::Measure_step_statu::InitAsDefaultInstance(); } void InitDefaultsMeasure_step_statu() { static GOOGLE_PROTOBUF_DECLARE_ONCE(once); ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsMeasure_step_statuImpl); } void InitDefaultsDispatch_store_step_statuImpl() { GOOGLE_PROTOBUF_VERIFY_VERSION; #ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS ::google::protobuf::internal::InitProtobufDefaultsForceUnique(); #else ::google::protobuf::internal::InitProtobufDefaults(); #endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS protobuf_message_5fbase_2eproto::InitDefaultsLocate_information(); protobuf_message_5fbase_2eproto::InitDefaultsParkspace_info(); { void* ptr = &::message::_Dispatch_store_step_statu_default_instance_; new (ptr) ::message::Dispatch_store_step_statu(); ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); } ::message::Dispatch_store_step_statu::InitAsDefaultInstance(); } void InitDefaultsDispatch_store_step_statu() { static GOOGLE_PROTOBUF_DECLARE_ONCE(once); ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsDispatch_store_step_statuImpl); } void InitDefaultsDispatch_pick_step_statuImpl() { GOOGLE_PROTOBUF_VERIFY_VERSION; #ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS ::google::protobuf::internal::InitProtobufDefaultsForceUnique(); #else ::google::protobuf::internal::InitProtobufDefaults(); #endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS protobuf_message_5fbase_2eproto::InitDefaultsParkspace_info(); { void* ptr = &::message::_Dispatch_pick_step_statu_default_instance_; new (ptr) ::message::Dispatch_pick_step_statu(); ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); } ::message::Dispatch_pick_step_statu::InitAsDefaultInstance(); } void InitDefaultsDispatch_pick_step_statu() { static GOOGLE_PROTOBUF_DECLARE_ONCE(once); ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsDispatch_pick_step_statuImpl); } void InitDefaultsWaitfor_leave_step_statuImpl() { GOOGLE_PROTOBUF_VERIFY_VERSION; #ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS ::google::protobuf::internal::InitProtobufDefaultsForceUnique(); #else ::google::protobuf::internal::InitProtobufDefaults(); #endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS protobuf_message_5fbase_2eproto::InitDefaultsCar_info(); { void* ptr = &::message::_Waitfor_leave_step_statu_default_instance_; new (ptr) ::message::Waitfor_leave_step_statu(); ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); } ::message::Waitfor_leave_step_statu::InitAsDefaultInstance(); } void InitDefaultsWaitfor_leave_step_statu() { static GOOGLE_PROTOBUF_DECLARE_ONCE(once); ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsWaitfor_leave_step_statuImpl); } void InitDefaultsStoring_process_statu_msgImpl() { GOOGLE_PROTOBUF_VERIFY_VERSION; #ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS ::google::protobuf::internal::InitProtobufDefaultsForceUnique(); #else ::google::protobuf::internal::InitProtobufDefaults(); #endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS protobuf_message_5fbase_2eproto::InitDefaultsBase_info(); protobuf_process_5fmessage_2eproto::InitDefaultsAlloc_space_step_statu(); protobuf_process_5fmessage_2eproto::InitDefaultsMeasure_step_statu(); protobuf_process_5fmessage_2eproto::InitDefaultsDispatch_store_step_statu(); protobuf_process_5fmessage_2eproto::InitDefaultsConfirm_space_step_statu(); protobuf_process_5fmessage_2eproto::InitDefaultsRelease_space_step_statu(); { void* ptr = &::message::_Storing_process_statu_msg_default_instance_; new (ptr) ::message::Storing_process_statu_msg(); ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); } ::message::Storing_process_statu_msg::InitAsDefaultInstance(); } void InitDefaultsStoring_process_statu_msg() { static GOOGLE_PROTOBUF_DECLARE_ONCE(once); ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsStoring_process_statu_msgImpl); } void InitDefaultsPicking_process_statu_msgImpl() { GOOGLE_PROTOBUF_VERIFY_VERSION; #ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS ::google::protobuf::internal::InitProtobufDefaultsForceUnique(); #else ::google::protobuf::internal::InitProtobufDefaults(); #endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS protobuf_message_5fbase_2eproto::InitDefaultsBase_info(); protobuf_process_5fmessage_2eproto::InitDefaultsSearch_space_step_statu(); protobuf_process_5fmessage_2eproto::InitDefaultsDispatch_pick_step_statu(); protobuf_process_5fmessage_2eproto::InitDefaultsRelease_space_step_statu(); protobuf_process_5fmessage_2eproto::InitDefaultsWaitfor_leave_step_statu(); { void* ptr = &::message::_Picking_process_statu_msg_default_instance_; new (ptr) ::message::Picking_process_statu_msg(); ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); } ::message::Picking_process_statu_msg::InitAsDefaultInstance(); } void InitDefaultsPicking_process_statu_msg() { static GOOGLE_PROTOBUF_DECLARE_ONCE(once); ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsPicking_process_statu_msgImpl); } ::google::protobuf::Metadata file_level_metadata[10]; 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::Alloc_space_step_statu, _has_bits_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Alloc_space_step_statu, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Alloc_space_step_statu, step_statu_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Alloc_space_step_statu, car_info_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Alloc_space_step_statu, description_), 2, 1, 0, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Search_space_step_statu, _has_bits_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Search_space_step_statu, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Search_space_step_statu, step_statu_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Search_space_step_statu, space_info_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Search_space_step_statu, description_), 2, 1, 0, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Confirm_space_step_statu, _has_bits_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Confirm_space_step_statu, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Confirm_space_step_statu, step_statu_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Confirm_space_step_statu, space_info_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Confirm_space_step_statu, description_), 2, 1, 0, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Release_space_step_statu, _has_bits_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Release_space_step_statu, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Release_space_step_statu, step_statu_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Release_space_step_statu, space_info_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Release_space_step_statu, description_), 2, 1, 0, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Measure_step_statu, _has_bits_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Measure_step_statu, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Measure_step_statu, step_statu_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Measure_step_statu, locate_info_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Measure_step_statu, description_), 2, 1, 0, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Dispatch_store_step_statu, _has_bits_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Dispatch_store_step_statu, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Dispatch_store_step_statu, step_statu_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Dispatch_store_step_statu, locate_info_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Dispatch_store_step_statu, space_info_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Dispatch_store_step_statu, description_), 3, 1, 2, 0, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Dispatch_pick_step_statu, _has_bits_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Dispatch_pick_step_statu, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Dispatch_pick_step_statu, step_statu_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Dispatch_pick_step_statu, space_info_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Dispatch_pick_step_statu, description_), 2, 1, 0, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Waitfor_leave_step_statu, _has_bits_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Waitfor_leave_step_statu, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Waitfor_leave_step_statu, step_statu_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Waitfor_leave_step_statu, car_info_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Waitfor_leave_step_statu, description_), 2, 1, 0, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Storing_process_statu_msg, _has_bits_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Storing_process_statu_msg, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Storing_process_statu_msg, base_info_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Storing_process_statu_msg, terminal_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Storing_process_statu_msg, license_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Storing_process_statu_msg, alloc_space_step_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Storing_process_statu_msg, measure_step_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Storing_process_statu_msg, dispatch_step_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Storing_process_statu_msg, confirm_space_step_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Storing_process_statu_msg, failed_release_space_step_), 1, 7, 0, 2, 3, 4, 5, 6, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Picking_process_statu_msg, _has_bits_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Picking_process_statu_msg, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Picking_process_statu_msg, base_info_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Picking_process_statu_msg, terminal_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Picking_process_statu_msg, license_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Picking_process_statu_msg, search_space_step_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Picking_process_statu_msg, dispatch_step_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Picking_process_statu_msg, release_space_step_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Picking_process_statu_msg, waitfor_leave_), 1, 6, 0, 2, 3, 4, 5, }; static const ::google::protobuf::internal::MigrationSchema schemas[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = { { 0, 8, sizeof(::message::Alloc_space_step_statu)}, { 11, 19, sizeof(::message::Search_space_step_statu)}, { 22, 30, sizeof(::message::Confirm_space_step_statu)}, { 33, 41, sizeof(::message::Release_space_step_statu)}, { 44, 52, sizeof(::message::Measure_step_statu)}, { 55, 64, sizeof(::message::Dispatch_store_step_statu)}, { 68, 76, sizeof(::message::Dispatch_pick_step_statu)}, { 79, 87, sizeof(::message::Waitfor_leave_step_statu)}, { 90, 103, sizeof(::message::Storing_process_statu_msg)}, { 111, 123, sizeof(::message::Picking_process_statu_msg)}, }; static ::google::protobuf::Message const * const file_default_instances[] = { reinterpret_cast(&::message::_Alloc_space_step_statu_default_instance_), reinterpret_cast(&::message::_Search_space_step_statu_default_instance_), reinterpret_cast(&::message::_Confirm_space_step_statu_default_instance_), reinterpret_cast(&::message::_Release_space_step_statu_default_instance_), reinterpret_cast(&::message::_Measure_step_statu_default_instance_), reinterpret_cast(&::message::_Dispatch_store_step_statu_default_instance_), reinterpret_cast(&::message::_Dispatch_pick_step_statu_default_instance_), reinterpret_cast(&::message::_Waitfor_leave_step_statu_default_instance_), reinterpret_cast(&::message::_Storing_process_statu_msg_default_instance_), reinterpret_cast(&::message::_Picking_process_statu_msg_default_instance_), }; void protobuf_AssignDescriptors() { AddDescriptors(); ::google::protobuf::MessageFactory* factory = NULL; AssignDescriptors( "process_message.proto", schemas, file_default_instances, TableStruct::offsets, factory, file_level_metadata, file_level_enum_descriptors, NULL); } void protobuf_AssignDescriptorsOnce() { static GOOGLE_PROTOBUF_DECLARE_ONCE(once); ::google::protobuf::GoogleOnceInit(&once, &protobuf_AssignDescriptors); } void protobuf_RegisterTypes(const ::std::string&) GOOGLE_PROTOBUF_ATTRIBUTE_COLD; void protobuf_RegisterTypes(const ::std::string&) { protobuf_AssignDescriptorsOnce(); ::google::protobuf::internal::RegisterAllTypes(file_level_metadata, 10); } void AddDescriptorsImpl() { InitDefaults(); static const char descriptor[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = { "\n\025process_message.proto\022\007message\032\022messag" "e_base.proto\"{\n\026Alloc_space_step_statu\022\'" "\n\nstep_statu\030\001 \002(\0162\023.message.Step_statu\022" "#\n\010car_info\030\002 \001(\0132\021.message.Car_info\022\023\n\013" "description\030\003 \001(\t\"\204\001\n\027Search_space_step_" "statu\022\'\n\nstep_statu\030\001 \002(\0162\023.message.Step" "_statu\022+\n\nspace_info\030\002 \001(\0132\027.message.Par" "kspace_info\022\023\n\013description\030\003 \001(\t\"\205\001\n\030Con" "firm_space_step_statu\022\'\n\nstep_statu\030\001 \002(" "\0162\023.message.Step_statu\022+\n\nspace_info\030\002 \001" "(\0132\027.message.Parkspace_info\022\023\n\013descripti" "on\030\003 \001(\t\"\205\001\n\030Release_space_step_statu\022\'\n" "\nstep_statu\030\001 \002(\0162\023.message.Step_statu\022+" "\n\nspace_info\030\002 \001(\0132\027.message.Parkspace_i" "nfo\022\023\n\013description\030\003 \001(\t\"\204\001\n\022Measure_ste" "p_statu\022\'\n\nstep_statu\030\001 \002(\0162\023.message.St" "ep_statu\0220\n\013locate_info\030\002 \001(\0132\033.message." "Locate_information\022\023\n\013description\030\003 \001(\t\"" "\270\001\n\031Dispatch_store_step_statu\022\'\n\nstep_st" "atu\030\001 \002(\0162\023.message.Step_statu\0220\n\013locate" "_info\030\002 \001(\0132\033.message.Locate_information" "\022+\n\nspace_info\030\003 \001(\0132\027.message.Parkspace" "_info\022\023\n\013description\030\004 \001(\t\"\205\001\n\030Dispatch_" "pick_step_statu\022\'\n\nstep_statu\030\001 \002(\0162\023.me" "ssage.Step_statu\022+\n\nspace_info\030\002 \001(\0132\027.m" "essage.Parkspace_info\022\023\n\013description\030\003 \001" "(\t\"}\n\030Waitfor_leave_step_statu\022\'\n\nstep_s" "tatu\030\001 \002(\0162\023.message.Step_statu\022#\n\010car_i" "nfo\030\002 \001(\0132\021.message.Car_info\022\023\n\013descript" "ion\030\003 \001(\t\"\226\003\n\031Storing_process_statu_msg\022" "%\n\tbase_info\030\001 \002(\0132\022.message.Base_info\022\023" "\n\013terminal_id\030\002 \002(\005\022\017\n\007license\030\003 \002(\t\0229\n\020" "alloc_space_step\030\004 \002(\0132\037.message.Alloc_s" "pace_step_statu\0221\n\014measure_step\030\005 \002(\0132\033." "message.Measure_step_statu\0229\n\rdispatch_s" "tep\030\006 \002(\0132\".message.Dispatch_store_step_" "statu\022=\n\022confirm_space_step\030\007 \002(\0132!.mess" "age.Confirm_space_step_statu\022D\n\031failed_r" "elease_space_step\030\010 \001(\0132!.message.Releas" "e_space_step_statu\"\330\002\n\031Picking_process_s" "tatu_msg\022%\n\tbase_info\030\001 \002(\0132\022.message.Ba" "se_info\022\023\n\013terminal_id\030\002 \002(\005\022\017\n\007license\030" "\003 \002(\t\022;\n\021search_space_step\030\004 \002(\0132 .messa" "ge.Search_space_step_statu\0228\n\rdispatch_s" "tep\030\005 \002(\0132!.message.Dispatch_pick_step_s" "tatu\022=\n\022release_space_step\030\006 \002(\0132!.messa" "ge.Release_space_step_statu\0228\n\rwaitfor_l" "eave\030\007 \002(\0132!.message.Waitfor_leave_step_" "statu*C\n\nStep_statu\022\014\n\010eWaiting\020\000\022\014\n\010eWo" "rking\020\001\022\n\n\006eError\020\002\022\r\n\teComplete\020\003" }; ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( descriptor, 1994); ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( "process_message.proto", &protobuf_RegisterTypes); ::protobuf_message_5fbase_2eproto::AddDescriptors(); } void AddDescriptors() { static GOOGLE_PROTOBUF_DECLARE_ONCE(once); ::google::protobuf::GoogleOnceInit(&once, &AddDescriptorsImpl); } // Force AddDescriptors() to be called at dynamic initialization time. struct StaticDescriptorInitializer { StaticDescriptorInitializer() { AddDescriptors(); } } static_descriptor_initializer; } // namespace protobuf_process_5fmessage_2eproto namespace message { const ::google::protobuf::EnumDescriptor* Step_statu_descriptor() { protobuf_process_5fmessage_2eproto::protobuf_AssignDescriptorsOnce(); return protobuf_process_5fmessage_2eproto::file_level_enum_descriptors[0]; } bool Step_statu_IsValid(int value) { switch (value) { case 0: case 1: case 2: case 3: return true; default: return false; } } // =================================================================== void Alloc_space_step_statu::InitAsDefaultInstance() { ::message::_Alloc_space_step_statu_default_instance_._instance.get_mutable()->car_info_ = const_cast< ::message::Car_info*>( ::message::Car_info::internal_default_instance()); } void Alloc_space_step_statu::clear_car_info() { if (car_info_ != NULL) car_info_->Clear(); clear_has_car_info(); } #if !defined(_MSC_VER) || _MSC_VER >= 1900 const int Alloc_space_step_statu::kStepStatuFieldNumber; const int Alloc_space_step_statu::kCarInfoFieldNumber; const int Alloc_space_step_statu::kDescriptionFieldNumber; #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 Alloc_space_step_statu::Alloc_space_step_statu() : ::google::protobuf::Message(), _internal_metadata_(NULL) { if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) { ::protobuf_process_5fmessage_2eproto::InitDefaultsAlloc_space_step_statu(); } SharedCtor(); // @@protoc_insertion_point(constructor:message.Alloc_space_step_statu) } Alloc_space_step_statu::Alloc_space_step_statu(const Alloc_space_step_statu& from) : ::google::protobuf::Message(), _internal_metadata_(NULL), _has_bits_(from._has_bits_), _cached_size_(0) { _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_car_info()) { car_info_ = new ::message::Car_info(*from.car_info_); } else { car_info_ = NULL; } step_statu_ = from.step_statu_; // @@protoc_insertion_point(copy_constructor:message.Alloc_space_step_statu) } void Alloc_space_step_statu::SharedCtor() { _cached_size_ = 0; description_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); ::memset(&car_info_, 0, static_cast( reinterpret_cast(&step_statu_) - reinterpret_cast(&car_info_)) + sizeof(step_statu_)); } Alloc_space_step_statu::~Alloc_space_step_statu() { // @@protoc_insertion_point(destructor:message.Alloc_space_step_statu) SharedDtor(); } void Alloc_space_step_statu::SharedDtor() { description_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); if (this != internal_default_instance()) delete car_info_; } void Alloc_space_step_statu::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* Alloc_space_step_statu::descriptor() { ::protobuf_process_5fmessage_2eproto::protobuf_AssignDescriptorsOnce(); return ::protobuf_process_5fmessage_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; } const Alloc_space_step_statu& Alloc_space_step_statu::default_instance() { ::protobuf_process_5fmessage_2eproto::InitDefaultsAlloc_space_step_statu(); return *internal_default_instance(); } Alloc_space_step_statu* Alloc_space_step_statu::New(::google::protobuf::Arena* arena) const { Alloc_space_step_statu* n = new Alloc_space_step_statu; if (arena != NULL) { arena->Own(n); } return n; } void Alloc_space_step_statu::Clear() { // @@protoc_insertion_point(message_clear_start:message.Alloc_space_step_statu) ::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) { GOOGLE_DCHECK(!description_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited())); (*description_.UnsafeRawStringPointer())->clear(); } if (cached_has_bits & 0x00000002u) { GOOGLE_DCHECK(car_info_ != NULL); car_info_->Clear(); } } step_statu_ = 0; _has_bits_.Clear(); _internal_metadata_.Clear(); } bool Alloc_space_step_statu::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.Alloc_space_step_statu) 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.Step_statu step_statu = 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::Step_statu_IsValid(value)) { set_step_statu(static_cast< ::message::Step_statu >(value)); } else { mutable_unknown_fields()->AddVarint( 1, static_cast< ::google::protobuf::uint64>(value)); } } else { goto handle_unusual; } break; } // optional .message.Car_info car_info = 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_car_info())); } else { goto handle_unusual; } break; } // optional string description = 3; case 3: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) { DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->mutable_description())); ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( this->description().data(), static_cast(this->description().length()), ::google::protobuf::internal::WireFormat::PARSE, "message.Alloc_space_step_statu.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.Alloc_space_step_statu) return true; failure: // @@protoc_insertion_point(parse_failure:message.Alloc_space_step_statu) return false; #undef DO_ } void Alloc_space_step_statu::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // @@protoc_insertion_point(serialize_start:message.Alloc_space_step_statu) ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; // required .message.Step_statu step_statu = 1; if (cached_has_bits & 0x00000004u) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 1, this->step_statu(), output); } // optional .message.Car_info car_info = 2; if (cached_has_bits & 0x00000002u) { ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( 2, *this->car_info_, output); } // optional string description = 3; if (cached_has_bits & 0x00000001u) { ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( this->description().data(), static_cast(this->description().length()), ::google::protobuf::internal::WireFormat::SERIALIZE, "message.Alloc_space_step_statu.description"); ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( 3, 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.Alloc_space_step_statu) } ::google::protobuf::uint8* Alloc_space_step_statu::InternalSerializeWithCachedSizesToArray( bool deterministic, ::google::protobuf::uint8* target) const { (void)deterministic; // Unused // @@protoc_insertion_point(serialize_to_array_start:message.Alloc_space_step_statu) ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; // required .message.Step_statu step_statu = 1; if (cached_has_bits & 0x00000004u) { target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( 1, this->step_statu(), target); } // optional .message.Car_info car_info = 2; if (cached_has_bits & 0x00000002u) { target = ::google::protobuf::internal::WireFormatLite:: InternalWriteMessageToArray( 2, *this->car_info_, deterministic, target); } // optional string description = 3; if (cached_has_bits & 0x00000001u) { ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( this->description().data(), static_cast(this->description().length()), ::google::protobuf::internal::WireFormat::SERIALIZE, "message.Alloc_space_step_statu.description"); target = ::google::protobuf::internal::WireFormatLite::WriteStringToArray( 3, 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.Alloc_space_step_statu) return target; } size_t Alloc_space_step_statu::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:message.Alloc_space_step_statu) size_t total_size = 0; if (_internal_metadata_.have_unknown_fields()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( _internal_metadata_.unknown_fields()); } // required .message.Step_statu step_statu = 1; if (has_step_statu()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->step_statu()); } if (_has_bits_[0 / 32] & 3u) { // optional string description = 3; if (has_description()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( this->description()); } // optional .message.Car_info car_info = 2; if (has_car_info()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( *this->car_info_); } } int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = cached_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void Alloc_space_step_statu::MergeFrom(const ::google::protobuf::Message& from) { // @@protoc_insertion_point(generalized_merge_from_start:message.Alloc_space_step_statu) GOOGLE_DCHECK_NE(&from, this); const Alloc_space_step_statu* source = ::google::protobuf::internal::DynamicCastToGenerated( &from); if (source == NULL) { // @@protoc_insertion_point(generalized_merge_from_cast_fail:message.Alloc_space_step_statu) ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { // @@protoc_insertion_point(generalized_merge_from_cast_success:message.Alloc_space_step_statu) MergeFrom(*source); } } void Alloc_space_step_statu::MergeFrom(const Alloc_space_step_statu& from) { // @@protoc_insertion_point(class_specific_merge_from_start:message.Alloc_space_step_statu) 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 & 7u) { if (cached_has_bits & 0x00000001u) { set_has_description(); description_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.description_); } if (cached_has_bits & 0x00000002u) { mutable_car_info()->::message::Car_info::MergeFrom(from.car_info()); } if (cached_has_bits & 0x00000004u) { step_statu_ = from.step_statu_; } _has_bits_[0] |= cached_has_bits; } } void Alloc_space_step_statu::CopyFrom(const ::google::protobuf::Message& from) { // @@protoc_insertion_point(generalized_copy_from_start:message.Alloc_space_step_statu) if (&from == this) return; Clear(); MergeFrom(from); } void Alloc_space_step_statu::CopyFrom(const Alloc_space_step_statu& from) { // @@protoc_insertion_point(class_specific_copy_from_start:message.Alloc_space_step_statu) if (&from == this) return; Clear(); MergeFrom(from); } bool Alloc_space_step_statu::IsInitialized() const { if ((_has_bits_[0] & 0x00000004) != 0x00000004) return false; return true; } void Alloc_space_step_statu::Swap(Alloc_space_step_statu* other) { if (other == this) return; InternalSwap(other); } void Alloc_space_step_statu::InternalSwap(Alloc_space_step_statu* other) { using std::swap; description_.Swap(&other->description_); swap(car_info_, other->car_info_); swap(step_statu_, other->step_statu_); swap(_has_bits_[0], other->_has_bits_[0]); _internal_metadata_.Swap(&other->_internal_metadata_); swap(_cached_size_, other->_cached_size_); } ::google::protobuf::Metadata Alloc_space_step_statu::GetMetadata() const { protobuf_process_5fmessage_2eproto::protobuf_AssignDescriptorsOnce(); return ::protobuf_process_5fmessage_2eproto::file_level_metadata[kIndexInFileMessages]; } // =================================================================== void Search_space_step_statu::InitAsDefaultInstance() { ::message::_Search_space_step_statu_default_instance_._instance.get_mutable()->space_info_ = const_cast< ::message::Parkspace_info*>( ::message::Parkspace_info::internal_default_instance()); } void Search_space_step_statu::clear_space_info() { if (space_info_ != NULL) space_info_->Clear(); clear_has_space_info(); } #if !defined(_MSC_VER) || _MSC_VER >= 1900 const int Search_space_step_statu::kStepStatuFieldNumber; const int Search_space_step_statu::kSpaceInfoFieldNumber; const int Search_space_step_statu::kDescriptionFieldNumber; #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 Search_space_step_statu::Search_space_step_statu() : ::google::protobuf::Message(), _internal_metadata_(NULL) { if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) { ::protobuf_process_5fmessage_2eproto::InitDefaultsSearch_space_step_statu(); } SharedCtor(); // @@protoc_insertion_point(constructor:message.Search_space_step_statu) } Search_space_step_statu::Search_space_step_statu(const Search_space_step_statu& from) : ::google::protobuf::Message(), _internal_metadata_(NULL), _has_bits_(from._has_bits_), _cached_size_(0) { _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_space_info()) { space_info_ = new ::message::Parkspace_info(*from.space_info_); } else { space_info_ = NULL; } step_statu_ = from.step_statu_; // @@protoc_insertion_point(copy_constructor:message.Search_space_step_statu) } void Search_space_step_statu::SharedCtor() { _cached_size_ = 0; description_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); ::memset(&space_info_, 0, static_cast( reinterpret_cast(&step_statu_) - reinterpret_cast(&space_info_)) + sizeof(step_statu_)); } Search_space_step_statu::~Search_space_step_statu() { // @@protoc_insertion_point(destructor:message.Search_space_step_statu) SharedDtor(); } void Search_space_step_statu::SharedDtor() { description_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); if (this != internal_default_instance()) delete space_info_; } void Search_space_step_statu::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* Search_space_step_statu::descriptor() { ::protobuf_process_5fmessage_2eproto::protobuf_AssignDescriptorsOnce(); return ::protobuf_process_5fmessage_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; } const Search_space_step_statu& Search_space_step_statu::default_instance() { ::protobuf_process_5fmessage_2eproto::InitDefaultsSearch_space_step_statu(); return *internal_default_instance(); } Search_space_step_statu* Search_space_step_statu::New(::google::protobuf::Arena* arena) const { Search_space_step_statu* n = new Search_space_step_statu; if (arena != NULL) { arena->Own(n); } return n; } void Search_space_step_statu::Clear() { // @@protoc_insertion_point(message_clear_start:message.Search_space_step_statu) ::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) { GOOGLE_DCHECK(!description_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited())); (*description_.UnsafeRawStringPointer())->clear(); } if (cached_has_bits & 0x00000002u) { GOOGLE_DCHECK(space_info_ != NULL); space_info_->Clear(); } } step_statu_ = 0; _has_bits_.Clear(); _internal_metadata_.Clear(); } bool Search_space_step_statu::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.Search_space_step_statu) 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.Step_statu step_statu = 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::Step_statu_IsValid(value)) { set_step_statu(static_cast< ::message::Step_statu >(value)); } else { mutable_unknown_fields()->AddVarint( 1, static_cast< ::google::protobuf::uint64>(value)); } } else { goto handle_unusual; } break; } // optional .message.Parkspace_info space_info = 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_space_info())); } else { goto handle_unusual; } break; } // optional string description = 3; case 3: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) { DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->mutable_description())); ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( this->description().data(), static_cast(this->description().length()), ::google::protobuf::internal::WireFormat::PARSE, "message.Search_space_step_statu.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.Search_space_step_statu) return true; failure: // @@protoc_insertion_point(parse_failure:message.Search_space_step_statu) return false; #undef DO_ } void Search_space_step_statu::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // @@protoc_insertion_point(serialize_start:message.Search_space_step_statu) ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; // required .message.Step_statu step_statu = 1; if (cached_has_bits & 0x00000004u) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 1, this->step_statu(), output); } // optional .message.Parkspace_info space_info = 2; if (cached_has_bits & 0x00000002u) { ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( 2, *this->space_info_, output); } // optional string description = 3; if (cached_has_bits & 0x00000001u) { ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( this->description().data(), static_cast(this->description().length()), ::google::protobuf::internal::WireFormat::SERIALIZE, "message.Search_space_step_statu.description"); ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( 3, 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.Search_space_step_statu) } ::google::protobuf::uint8* Search_space_step_statu::InternalSerializeWithCachedSizesToArray( bool deterministic, ::google::protobuf::uint8* target) const { (void)deterministic; // Unused // @@protoc_insertion_point(serialize_to_array_start:message.Search_space_step_statu) ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; // required .message.Step_statu step_statu = 1; if (cached_has_bits & 0x00000004u) { target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( 1, this->step_statu(), target); } // optional .message.Parkspace_info space_info = 2; if (cached_has_bits & 0x00000002u) { target = ::google::protobuf::internal::WireFormatLite:: InternalWriteMessageToArray( 2, *this->space_info_, deterministic, target); } // optional string description = 3; if (cached_has_bits & 0x00000001u) { ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( this->description().data(), static_cast(this->description().length()), ::google::protobuf::internal::WireFormat::SERIALIZE, "message.Search_space_step_statu.description"); target = ::google::protobuf::internal::WireFormatLite::WriteStringToArray( 3, 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.Search_space_step_statu) return target; } size_t Search_space_step_statu::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:message.Search_space_step_statu) size_t total_size = 0; if (_internal_metadata_.have_unknown_fields()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( _internal_metadata_.unknown_fields()); } // required .message.Step_statu step_statu = 1; if (has_step_statu()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->step_statu()); } if (_has_bits_[0 / 32] & 3u) { // optional string description = 3; if (has_description()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( this->description()); } // optional .message.Parkspace_info space_info = 2; if (has_space_info()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( *this->space_info_); } } int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = cached_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void Search_space_step_statu::MergeFrom(const ::google::protobuf::Message& from) { // @@protoc_insertion_point(generalized_merge_from_start:message.Search_space_step_statu) GOOGLE_DCHECK_NE(&from, this); const Search_space_step_statu* source = ::google::protobuf::internal::DynamicCastToGenerated( &from); if (source == NULL) { // @@protoc_insertion_point(generalized_merge_from_cast_fail:message.Search_space_step_statu) ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { // @@protoc_insertion_point(generalized_merge_from_cast_success:message.Search_space_step_statu) MergeFrom(*source); } } void Search_space_step_statu::MergeFrom(const Search_space_step_statu& from) { // @@protoc_insertion_point(class_specific_merge_from_start:message.Search_space_step_statu) 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 & 7u) { if (cached_has_bits & 0x00000001u) { set_has_description(); description_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.description_); } if (cached_has_bits & 0x00000002u) { mutable_space_info()->::message::Parkspace_info::MergeFrom(from.space_info()); } if (cached_has_bits & 0x00000004u) { step_statu_ = from.step_statu_; } _has_bits_[0] |= cached_has_bits; } } void Search_space_step_statu::CopyFrom(const ::google::protobuf::Message& from) { // @@protoc_insertion_point(generalized_copy_from_start:message.Search_space_step_statu) if (&from == this) return; Clear(); MergeFrom(from); } void Search_space_step_statu::CopyFrom(const Search_space_step_statu& from) { // @@protoc_insertion_point(class_specific_copy_from_start:message.Search_space_step_statu) if (&from == this) return; Clear(); MergeFrom(from); } bool Search_space_step_statu::IsInitialized() const { if ((_has_bits_[0] & 0x00000004) != 0x00000004) return false; return true; } void Search_space_step_statu::Swap(Search_space_step_statu* other) { if (other == this) return; InternalSwap(other); } void Search_space_step_statu::InternalSwap(Search_space_step_statu* other) { using std::swap; description_.Swap(&other->description_); swap(space_info_, other->space_info_); swap(step_statu_, other->step_statu_); swap(_has_bits_[0], other->_has_bits_[0]); _internal_metadata_.Swap(&other->_internal_metadata_); swap(_cached_size_, other->_cached_size_); } ::google::protobuf::Metadata Search_space_step_statu::GetMetadata() const { protobuf_process_5fmessage_2eproto::protobuf_AssignDescriptorsOnce(); return ::protobuf_process_5fmessage_2eproto::file_level_metadata[kIndexInFileMessages]; } // =================================================================== void Confirm_space_step_statu::InitAsDefaultInstance() { ::message::_Confirm_space_step_statu_default_instance_._instance.get_mutable()->space_info_ = const_cast< ::message::Parkspace_info*>( ::message::Parkspace_info::internal_default_instance()); } void Confirm_space_step_statu::clear_space_info() { if (space_info_ != NULL) space_info_->Clear(); clear_has_space_info(); } #if !defined(_MSC_VER) || _MSC_VER >= 1900 const int Confirm_space_step_statu::kStepStatuFieldNumber; const int Confirm_space_step_statu::kSpaceInfoFieldNumber; const int Confirm_space_step_statu::kDescriptionFieldNumber; #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 Confirm_space_step_statu::Confirm_space_step_statu() : ::google::protobuf::Message(), _internal_metadata_(NULL) { if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) { ::protobuf_process_5fmessage_2eproto::InitDefaultsConfirm_space_step_statu(); } SharedCtor(); // @@protoc_insertion_point(constructor:message.Confirm_space_step_statu) } Confirm_space_step_statu::Confirm_space_step_statu(const Confirm_space_step_statu& from) : ::google::protobuf::Message(), _internal_metadata_(NULL), _has_bits_(from._has_bits_), _cached_size_(0) { _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_space_info()) { space_info_ = new ::message::Parkspace_info(*from.space_info_); } else { space_info_ = NULL; } step_statu_ = from.step_statu_; // @@protoc_insertion_point(copy_constructor:message.Confirm_space_step_statu) } void Confirm_space_step_statu::SharedCtor() { _cached_size_ = 0; description_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); ::memset(&space_info_, 0, static_cast( reinterpret_cast(&step_statu_) - reinterpret_cast(&space_info_)) + sizeof(step_statu_)); } Confirm_space_step_statu::~Confirm_space_step_statu() { // @@protoc_insertion_point(destructor:message.Confirm_space_step_statu) SharedDtor(); } void Confirm_space_step_statu::SharedDtor() { description_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); if (this != internal_default_instance()) delete space_info_; } void Confirm_space_step_statu::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* Confirm_space_step_statu::descriptor() { ::protobuf_process_5fmessage_2eproto::protobuf_AssignDescriptorsOnce(); return ::protobuf_process_5fmessage_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; } const Confirm_space_step_statu& Confirm_space_step_statu::default_instance() { ::protobuf_process_5fmessage_2eproto::InitDefaultsConfirm_space_step_statu(); return *internal_default_instance(); } Confirm_space_step_statu* Confirm_space_step_statu::New(::google::protobuf::Arena* arena) const { Confirm_space_step_statu* n = new Confirm_space_step_statu; if (arena != NULL) { arena->Own(n); } return n; } void Confirm_space_step_statu::Clear() { // @@protoc_insertion_point(message_clear_start:message.Confirm_space_step_statu) ::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) { GOOGLE_DCHECK(!description_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited())); (*description_.UnsafeRawStringPointer())->clear(); } if (cached_has_bits & 0x00000002u) { GOOGLE_DCHECK(space_info_ != NULL); space_info_->Clear(); } } step_statu_ = 0; _has_bits_.Clear(); _internal_metadata_.Clear(); } bool Confirm_space_step_statu::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.Confirm_space_step_statu) 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.Step_statu step_statu = 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::Step_statu_IsValid(value)) { set_step_statu(static_cast< ::message::Step_statu >(value)); } else { mutable_unknown_fields()->AddVarint( 1, static_cast< ::google::protobuf::uint64>(value)); } } else { goto handle_unusual; } break; } // optional .message.Parkspace_info space_info = 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_space_info())); } else { goto handle_unusual; } break; } // optional string description = 3; case 3: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) { DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->mutable_description())); ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( this->description().data(), static_cast(this->description().length()), ::google::protobuf::internal::WireFormat::PARSE, "message.Confirm_space_step_statu.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.Confirm_space_step_statu) return true; failure: // @@protoc_insertion_point(parse_failure:message.Confirm_space_step_statu) return false; #undef DO_ } void Confirm_space_step_statu::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // @@protoc_insertion_point(serialize_start:message.Confirm_space_step_statu) ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; // required .message.Step_statu step_statu = 1; if (cached_has_bits & 0x00000004u) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 1, this->step_statu(), output); } // optional .message.Parkspace_info space_info = 2; if (cached_has_bits & 0x00000002u) { ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( 2, *this->space_info_, output); } // optional string description = 3; if (cached_has_bits & 0x00000001u) { ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( this->description().data(), static_cast(this->description().length()), ::google::protobuf::internal::WireFormat::SERIALIZE, "message.Confirm_space_step_statu.description"); ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( 3, 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.Confirm_space_step_statu) } ::google::protobuf::uint8* Confirm_space_step_statu::InternalSerializeWithCachedSizesToArray( bool deterministic, ::google::protobuf::uint8* target) const { (void)deterministic; // Unused // @@protoc_insertion_point(serialize_to_array_start:message.Confirm_space_step_statu) ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; // required .message.Step_statu step_statu = 1; if (cached_has_bits & 0x00000004u) { target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( 1, this->step_statu(), target); } // optional .message.Parkspace_info space_info = 2; if (cached_has_bits & 0x00000002u) { target = ::google::protobuf::internal::WireFormatLite:: InternalWriteMessageToArray( 2, *this->space_info_, deterministic, target); } // optional string description = 3; if (cached_has_bits & 0x00000001u) { ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( this->description().data(), static_cast(this->description().length()), ::google::protobuf::internal::WireFormat::SERIALIZE, "message.Confirm_space_step_statu.description"); target = ::google::protobuf::internal::WireFormatLite::WriteStringToArray( 3, 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.Confirm_space_step_statu) return target; } size_t Confirm_space_step_statu::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:message.Confirm_space_step_statu) size_t total_size = 0; if (_internal_metadata_.have_unknown_fields()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( _internal_metadata_.unknown_fields()); } // required .message.Step_statu step_statu = 1; if (has_step_statu()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->step_statu()); } if (_has_bits_[0 / 32] & 3u) { // optional string description = 3; if (has_description()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( this->description()); } // optional .message.Parkspace_info space_info = 2; if (has_space_info()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( *this->space_info_); } } int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = cached_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void Confirm_space_step_statu::MergeFrom(const ::google::protobuf::Message& from) { // @@protoc_insertion_point(generalized_merge_from_start:message.Confirm_space_step_statu) GOOGLE_DCHECK_NE(&from, this); const Confirm_space_step_statu* source = ::google::protobuf::internal::DynamicCastToGenerated( &from); if (source == NULL) { // @@protoc_insertion_point(generalized_merge_from_cast_fail:message.Confirm_space_step_statu) ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { // @@protoc_insertion_point(generalized_merge_from_cast_success:message.Confirm_space_step_statu) MergeFrom(*source); } } void Confirm_space_step_statu::MergeFrom(const Confirm_space_step_statu& from) { // @@protoc_insertion_point(class_specific_merge_from_start:message.Confirm_space_step_statu) 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 & 7u) { if (cached_has_bits & 0x00000001u) { set_has_description(); description_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.description_); } if (cached_has_bits & 0x00000002u) { mutable_space_info()->::message::Parkspace_info::MergeFrom(from.space_info()); } if (cached_has_bits & 0x00000004u) { step_statu_ = from.step_statu_; } _has_bits_[0] |= cached_has_bits; } } void Confirm_space_step_statu::CopyFrom(const ::google::protobuf::Message& from) { // @@protoc_insertion_point(generalized_copy_from_start:message.Confirm_space_step_statu) if (&from == this) return; Clear(); MergeFrom(from); } void Confirm_space_step_statu::CopyFrom(const Confirm_space_step_statu& from) { // @@protoc_insertion_point(class_specific_copy_from_start:message.Confirm_space_step_statu) if (&from == this) return; Clear(); MergeFrom(from); } bool Confirm_space_step_statu::IsInitialized() const { if ((_has_bits_[0] & 0x00000004) != 0x00000004) return false; return true; } void Confirm_space_step_statu::Swap(Confirm_space_step_statu* other) { if (other == this) return; InternalSwap(other); } void Confirm_space_step_statu::InternalSwap(Confirm_space_step_statu* other) { using std::swap; description_.Swap(&other->description_); swap(space_info_, other->space_info_); swap(step_statu_, other->step_statu_); swap(_has_bits_[0], other->_has_bits_[0]); _internal_metadata_.Swap(&other->_internal_metadata_); swap(_cached_size_, other->_cached_size_); } ::google::protobuf::Metadata Confirm_space_step_statu::GetMetadata() const { protobuf_process_5fmessage_2eproto::protobuf_AssignDescriptorsOnce(); return ::protobuf_process_5fmessage_2eproto::file_level_metadata[kIndexInFileMessages]; } // =================================================================== void Release_space_step_statu::InitAsDefaultInstance() { ::message::_Release_space_step_statu_default_instance_._instance.get_mutable()->space_info_ = const_cast< ::message::Parkspace_info*>( ::message::Parkspace_info::internal_default_instance()); } void Release_space_step_statu::clear_space_info() { if (space_info_ != NULL) space_info_->Clear(); clear_has_space_info(); } #if !defined(_MSC_VER) || _MSC_VER >= 1900 const int Release_space_step_statu::kStepStatuFieldNumber; const int Release_space_step_statu::kSpaceInfoFieldNumber; const int Release_space_step_statu::kDescriptionFieldNumber; #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 Release_space_step_statu::Release_space_step_statu() : ::google::protobuf::Message(), _internal_metadata_(NULL) { if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) { ::protobuf_process_5fmessage_2eproto::InitDefaultsRelease_space_step_statu(); } SharedCtor(); // @@protoc_insertion_point(constructor:message.Release_space_step_statu) } Release_space_step_statu::Release_space_step_statu(const Release_space_step_statu& from) : ::google::protobuf::Message(), _internal_metadata_(NULL), _has_bits_(from._has_bits_), _cached_size_(0) { _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_space_info()) { space_info_ = new ::message::Parkspace_info(*from.space_info_); } else { space_info_ = NULL; } step_statu_ = from.step_statu_; // @@protoc_insertion_point(copy_constructor:message.Release_space_step_statu) } void Release_space_step_statu::SharedCtor() { _cached_size_ = 0; description_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); ::memset(&space_info_, 0, static_cast( reinterpret_cast(&step_statu_) - reinterpret_cast(&space_info_)) + sizeof(step_statu_)); } Release_space_step_statu::~Release_space_step_statu() { // @@protoc_insertion_point(destructor:message.Release_space_step_statu) SharedDtor(); } void Release_space_step_statu::SharedDtor() { description_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); if (this != internal_default_instance()) delete space_info_; } void Release_space_step_statu::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* Release_space_step_statu::descriptor() { ::protobuf_process_5fmessage_2eproto::protobuf_AssignDescriptorsOnce(); return ::protobuf_process_5fmessage_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; } const Release_space_step_statu& Release_space_step_statu::default_instance() { ::protobuf_process_5fmessage_2eproto::InitDefaultsRelease_space_step_statu(); return *internal_default_instance(); } Release_space_step_statu* Release_space_step_statu::New(::google::protobuf::Arena* arena) const { Release_space_step_statu* n = new Release_space_step_statu; if (arena != NULL) { arena->Own(n); } return n; } void Release_space_step_statu::Clear() { // @@protoc_insertion_point(message_clear_start:message.Release_space_step_statu) ::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) { GOOGLE_DCHECK(!description_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited())); (*description_.UnsafeRawStringPointer())->clear(); } if (cached_has_bits & 0x00000002u) { GOOGLE_DCHECK(space_info_ != NULL); space_info_->Clear(); } } step_statu_ = 0; _has_bits_.Clear(); _internal_metadata_.Clear(); } bool Release_space_step_statu::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.Release_space_step_statu) 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.Step_statu step_statu = 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::Step_statu_IsValid(value)) { set_step_statu(static_cast< ::message::Step_statu >(value)); } else { mutable_unknown_fields()->AddVarint( 1, static_cast< ::google::protobuf::uint64>(value)); } } else { goto handle_unusual; } break; } // optional .message.Parkspace_info space_info = 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_space_info())); } else { goto handle_unusual; } break; } // optional string description = 3; case 3: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) { DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->mutable_description())); ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( this->description().data(), static_cast(this->description().length()), ::google::protobuf::internal::WireFormat::PARSE, "message.Release_space_step_statu.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.Release_space_step_statu) return true; failure: // @@protoc_insertion_point(parse_failure:message.Release_space_step_statu) return false; #undef DO_ } void Release_space_step_statu::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // @@protoc_insertion_point(serialize_start:message.Release_space_step_statu) ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; // required .message.Step_statu step_statu = 1; if (cached_has_bits & 0x00000004u) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 1, this->step_statu(), output); } // optional .message.Parkspace_info space_info = 2; if (cached_has_bits & 0x00000002u) { ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( 2, *this->space_info_, output); } // optional string description = 3; if (cached_has_bits & 0x00000001u) { ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( this->description().data(), static_cast(this->description().length()), ::google::protobuf::internal::WireFormat::SERIALIZE, "message.Release_space_step_statu.description"); ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( 3, 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.Release_space_step_statu) } ::google::protobuf::uint8* Release_space_step_statu::InternalSerializeWithCachedSizesToArray( bool deterministic, ::google::protobuf::uint8* target) const { (void)deterministic; // Unused // @@protoc_insertion_point(serialize_to_array_start:message.Release_space_step_statu) ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; // required .message.Step_statu step_statu = 1; if (cached_has_bits & 0x00000004u) { target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( 1, this->step_statu(), target); } // optional .message.Parkspace_info space_info = 2; if (cached_has_bits & 0x00000002u) { target = ::google::protobuf::internal::WireFormatLite:: InternalWriteMessageToArray( 2, *this->space_info_, deterministic, target); } // optional string description = 3; if (cached_has_bits & 0x00000001u) { ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( this->description().data(), static_cast(this->description().length()), ::google::protobuf::internal::WireFormat::SERIALIZE, "message.Release_space_step_statu.description"); target = ::google::protobuf::internal::WireFormatLite::WriteStringToArray( 3, 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.Release_space_step_statu) return target; } size_t Release_space_step_statu::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:message.Release_space_step_statu) size_t total_size = 0; if (_internal_metadata_.have_unknown_fields()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( _internal_metadata_.unknown_fields()); } // required .message.Step_statu step_statu = 1; if (has_step_statu()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->step_statu()); } if (_has_bits_[0 / 32] & 3u) { // optional string description = 3; if (has_description()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( this->description()); } // optional .message.Parkspace_info space_info = 2; if (has_space_info()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( *this->space_info_); } } int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = cached_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void Release_space_step_statu::MergeFrom(const ::google::protobuf::Message& from) { // @@protoc_insertion_point(generalized_merge_from_start:message.Release_space_step_statu) GOOGLE_DCHECK_NE(&from, this); const Release_space_step_statu* source = ::google::protobuf::internal::DynamicCastToGenerated( &from); if (source == NULL) { // @@protoc_insertion_point(generalized_merge_from_cast_fail:message.Release_space_step_statu) ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { // @@protoc_insertion_point(generalized_merge_from_cast_success:message.Release_space_step_statu) MergeFrom(*source); } } void Release_space_step_statu::MergeFrom(const Release_space_step_statu& from) { // @@protoc_insertion_point(class_specific_merge_from_start:message.Release_space_step_statu) 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 & 7u) { if (cached_has_bits & 0x00000001u) { set_has_description(); description_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.description_); } if (cached_has_bits & 0x00000002u) { mutable_space_info()->::message::Parkspace_info::MergeFrom(from.space_info()); } if (cached_has_bits & 0x00000004u) { step_statu_ = from.step_statu_; } _has_bits_[0] |= cached_has_bits; } } void Release_space_step_statu::CopyFrom(const ::google::protobuf::Message& from) { // @@protoc_insertion_point(generalized_copy_from_start:message.Release_space_step_statu) if (&from == this) return; Clear(); MergeFrom(from); } void Release_space_step_statu::CopyFrom(const Release_space_step_statu& from) { // @@protoc_insertion_point(class_specific_copy_from_start:message.Release_space_step_statu) if (&from == this) return; Clear(); MergeFrom(from); } bool Release_space_step_statu::IsInitialized() const { if ((_has_bits_[0] & 0x00000004) != 0x00000004) return false; return true; } void Release_space_step_statu::Swap(Release_space_step_statu* other) { if (other == this) return; InternalSwap(other); } void Release_space_step_statu::InternalSwap(Release_space_step_statu* other) { using std::swap; description_.Swap(&other->description_); swap(space_info_, other->space_info_); swap(step_statu_, other->step_statu_); swap(_has_bits_[0], other->_has_bits_[0]); _internal_metadata_.Swap(&other->_internal_metadata_); swap(_cached_size_, other->_cached_size_); } ::google::protobuf::Metadata Release_space_step_statu::GetMetadata() const { protobuf_process_5fmessage_2eproto::protobuf_AssignDescriptorsOnce(); return ::protobuf_process_5fmessage_2eproto::file_level_metadata[kIndexInFileMessages]; } // =================================================================== void Measure_step_statu::InitAsDefaultInstance() { ::message::_Measure_step_statu_default_instance_._instance.get_mutable()->locate_info_ = const_cast< ::message::Locate_information*>( ::message::Locate_information::internal_default_instance()); } void Measure_step_statu::clear_locate_info() { if (locate_info_ != NULL) locate_info_->Clear(); clear_has_locate_info(); } #if !defined(_MSC_VER) || _MSC_VER >= 1900 const int Measure_step_statu::kStepStatuFieldNumber; const int Measure_step_statu::kLocateInfoFieldNumber; const int Measure_step_statu::kDescriptionFieldNumber; #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 Measure_step_statu::Measure_step_statu() : ::google::protobuf::Message(), _internal_metadata_(NULL) { if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) { ::protobuf_process_5fmessage_2eproto::InitDefaultsMeasure_step_statu(); } SharedCtor(); // @@protoc_insertion_point(constructor:message.Measure_step_statu) } Measure_step_statu::Measure_step_statu(const Measure_step_statu& from) : ::google::protobuf::Message(), _internal_metadata_(NULL), _has_bits_(from._has_bits_), _cached_size_(0) { _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_locate_info()) { locate_info_ = new ::message::Locate_information(*from.locate_info_); } else { locate_info_ = NULL; } step_statu_ = from.step_statu_; // @@protoc_insertion_point(copy_constructor:message.Measure_step_statu) } void Measure_step_statu::SharedCtor() { _cached_size_ = 0; description_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); ::memset(&locate_info_, 0, static_cast( reinterpret_cast(&step_statu_) - reinterpret_cast(&locate_info_)) + sizeof(step_statu_)); } Measure_step_statu::~Measure_step_statu() { // @@protoc_insertion_point(destructor:message.Measure_step_statu) SharedDtor(); } void Measure_step_statu::SharedDtor() { description_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); if (this != internal_default_instance()) delete locate_info_; } void Measure_step_statu::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* Measure_step_statu::descriptor() { ::protobuf_process_5fmessage_2eproto::protobuf_AssignDescriptorsOnce(); return ::protobuf_process_5fmessage_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; } const Measure_step_statu& Measure_step_statu::default_instance() { ::protobuf_process_5fmessage_2eproto::InitDefaultsMeasure_step_statu(); return *internal_default_instance(); } Measure_step_statu* Measure_step_statu::New(::google::protobuf::Arena* arena) const { Measure_step_statu* n = new Measure_step_statu; if (arena != NULL) { arena->Own(n); } return n; } void Measure_step_statu::Clear() { // @@protoc_insertion_point(message_clear_start:message.Measure_step_statu) ::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) { GOOGLE_DCHECK(!description_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited())); (*description_.UnsafeRawStringPointer())->clear(); } if (cached_has_bits & 0x00000002u) { GOOGLE_DCHECK(locate_info_ != NULL); locate_info_->Clear(); } } step_statu_ = 0; _has_bits_.Clear(); _internal_metadata_.Clear(); } bool Measure_step_statu::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.Measure_step_statu) 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.Step_statu step_statu = 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::Step_statu_IsValid(value)) { set_step_statu(static_cast< ::message::Step_statu >(value)); } else { mutable_unknown_fields()->AddVarint( 1, static_cast< ::google::protobuf::uint64>(value)); } } else { goto handle_unusual; } break; } // optional .message.Locate_information locate_info = 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_locate_info())); } else { goto handle_unusual; } break; } // optional string description = 3; case 3: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) { DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->mutable_description())); ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( this->description().data(), static_cast(this->description().length()), ::google::protobuf::internal::WireFormat::PARSE, "message.Measure_step_statu.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.Measure_step_statu) return true; failure: // @@protoc_insertion_point(parse_failure:message.Measure_step_statu) return false; #undef DO_ } void Measure_step_statu::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // @@protoc_insertion_point(serialize_start:message.Measure_step_statu) ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; // required .message.Step_statu step_statu = 1; if (cached_has_bits & 0x00000004u) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 1, this->step_statu(), output); } // optional .message.Locate_information locate_info = 2; if (cached_has_bits & 0x00000002u) { ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( 2, *this->locate_info_, output); } // optional string description = 3; if (cached_has_bits & 0x00000001u) { ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( this->description().data(), static_cast(this->description().length()), ::google::protobuf::internal::WireFormat::SERIALIZE, "message.Measure_step_statu.description"); ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( 3, 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.Measure_step_statu) } ::google::protobuf::uint8* Measure_step_statu::InternalSerializeWithCachedSizesToArray( bool deterministic, ::google::protobuf::uint8* target) const { (void)deterministic; // Unused // @@protoc_insertion_point(serialize_to_array_start:message.Measure_step_statu) ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; // required .message.Step_statu step_statu = 1; if (cached_has_bits & 0x00000004u) { target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( 1, this->step_statu(), target); } // optional .message.Locate_information locate_info = 2; if (cached_has_bits & 0x00000002u) { target = ::google::protobuf::internal::WireFormatLite:: InternalWriteMessageToArray( 2, *this->locate_info_, deterministic, target); } // optional string description = 3; if (cached_has_bits & 0x00000001u) { ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( this->description().data(), static_cast(this->description().length()), ::google::protobuf::internal::WireFormat::SERIALIZE, "message.Measure_step_statu.description"); target = ::google::protobuf::internal::WireFormatLite::WriteStringToArray( 3, 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.Measure_step_statu) return target; } size_t Measure_step_statu::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:message.Measure_step_statu) size_t total_size = 0; if (_internal_metadata_.have_unknown_fields()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( _internal_metadata_.unknown_fields()); } // required .message.Step_statu step_statu = 1; if (has_step_statu()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->step_statu()); } if (_has_bits_[0 / 32] & 3u) { // optional string description = 3; if (has_description()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( this->description()); } // optional .message.Locate_information locate_info = 2; if (has_locate_info()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( *this->locate_info_); } } int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = cached_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void Measure_step_statu::MergeFrom(const ::google::protobuf::Message& from) { // @@protoc_insertion_point(generalized_merge_from_start:message.Measure_step_statu) GOOGLE_DCHECK_NE(&from, this); const Measure_step_statu* source = ::google::protobuf::internal::DynamicCastToGenerated( &from); if (source == NULL) { // @@protoc_insertion_point(generalized_merge_from_cast_fail:message.Measure_step_statu) ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { // @@protoc_insertion_point(generalized_merge_from_cast_success:message.Measure_step_statu) MergeFrom(*source); } } void Measure_step_statu::MergeFrom(const Measure_step_statu& from) { // @@protoc_insertion_point(class_specific_merge_from_start:message.Measure_step_statu) 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 & 7u) { if (cached_has_bits & 0x00000001u) { set_has_description(); description_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.description_); } if (cached_has_bits & 0x00000002u) { mutable_locate_info()->::message::Locate_information::MergeFrom(from.locate_info()); } if (cached_has_bits & 0x00000004u) { step_statu_ = from.step_statu_; } _has_bits_[0] |= cached_has_bits; } } void Measure_step_statu::CopyFrom(const ::google::protobuf::Message& from) { // @@protoc_insertion_point(generalized_copy_from_start:message.Measure_step_statu) if (&from == this) return; Clear(); MergeFrom(from); } void Measure_step_statu::CopyFrom(const Measure_step_statu& from) { // @@protoc_insertion_point(class_specific_copy_from_start:message.Measure_step_statu) if (&from == this) return; Clear(); MergeFrom(from); } bool Measure_step_statu::IsInitialized() const { if ((_has_bits_[0] & 0x00000004) != 0x00000004) return false; return true; } void Measure_step_statu::Swap(Measure_step_statu* other) { if (other == this) return; InternalSwap(other); } void Measure_step_statu::InternalSwap(Measure_step_statu* other) { using std::swap; description_.Swap(&other->description_); swap(locate_info_, other->locate_info_); swap(step_statu_, other->step_statu_); swap(_has_bits_[0], other->_has_bits_[0]); _internal_metadata_.Swap(&other->_internal_metadata_); swap(_cached_size_, other->_cached_size_); } ::google::protobuf::Metadata Measure_step_statu::GetMetadata() const { protobuf_process_5fmessage_2eproto::protobuf_AssignDescriptorsOnce(); return ::protobuf_process_5fmessage_2eproto::file_level_metadata[kIndexInFileMessages]; } // =================================================================== void Dispatch_store_step_statu::InitAsDefaultInstance() { ::message::_Dispatch_store_step_statu_default_instance_._instance.get_mutable()->locate_info_ = const_cast< ::message::Locate_information*>( ::message::Locate_information::internal_default_instance()); ::message::_Dispatch_store_step_statu_default_instance_._instance.get_mutable()->space_info_ = const_cast< ::message::Parkspace_info*>( ::message::Parkspace_info::internal_default_instance()); } void Dispatch_store_step_statu::clear_locate_info() { if (locate_info_ != NULL) locate_info_->Clear(); clear_has_locate_info(); } void Dispatch_store_step_statu::clear_space_info() { if (space_info_ != NULL) space_info_->Clear(); clear_has_space_info(); } #if !defined(_MSC_VER) || _MSC_VER >= 1900 const int Dispatch_store_step_statu::kStepStatuFieldNumber; const int Dispatch_store_step_statu::kLocateInfoFieldNumber; const int Dispatch_store_step_statu::kSpaceInfoFieldNumber; const int Dispatch_store_step_statu::kDescriptionFieldNumber; #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 Dispatch_store_step_statu::Dispatch_store_step_statu() : ::google::protobuf::Message(), _internal_metadata_(NULL) { if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) { ::protobuf_process_5fmessage_2eproto::InitDefaultsDispatch_store_step_statu(); } SharedCtor(); // @@protoc_insertion_point(constructor:message.Dispatch_store_step_statu) } Dispatch_store_step_statu::Dispatch_store_step_statu(const Dispatch_store_step_statu& from) : ::google::protobuf::Message(), _internal_metadata_(NULL), _has_bits_(from._has_bits_), _cached_size_(0) { _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_locate_info()) { locate_info_ = new ::message::Locate_information(*from.locate_info_); } else { locate_info_ = NULL; } if (from.has_space_info()) { space_info_ = new ::message::Parkspace_info(*from.space_info_); } else { space_info_ = NULL; } step_statu_ = from.step_statu_; // @@protoc_insertion_point(copy_constructor:message.Dispatch_store_step_statu) } void Dispatch_store_step_statu::SharedCtor() { _cached_size_ = 0; description_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); ::memset(&locate_info_, 0, static_cast( reinterpret_cast(&step_statu_) - reinterpret_cast(&locate_info_)) + sizeof(step_statu_)); } Dispatch_store_step_statu::~Dispatch_store_step_statu() { // @@protoc_insertion_point(destructor:message.Dispatch_store_step_statu) SharedDtor(); } void Dispatch_store_step_statu::SharedDtor() { description_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); if (this != internal_default_instance()) delete locate_info_; if (this != internal_default_instance()) delete space_info_; } void Dispatch_store_step_statu::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* Dispatch_store_step_statu::descriptor() { ::protobuf_process_5fmessage_2eproto::protobuf_AssignDescriptorsOnce(); return ::protobuf_process_5fmessage_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; } const Dispatch_store_step_statu& Dispatch_store_step_statu::default_instance() { ::protobuf_process_5fmessage_2eproto::InitDefaultsDispatch_store_step_statu(); return *internal_default_instance(); } Dispatch_store_step_statu* Dispatch_store_step_statu::New(::google::protobuf::Arena* arena) const { Dispatch_store_step_statu* n = new Dispatch_store_step_statu; if (arena != NULL) { arena->Own(n); } return n; } void Dispatch_store_step_statu::Clear() { // @@protoc_insertion_point(message_clear_start:message.Dispatch_store_step_statu) ::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 & 7u) { if (cached_has_bits & 0x00000001u) { GOOGLE_DCHECK(!description_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited())); (*description_.UnsafeRawStringPointer())->clear(); } if (cached_has_bits & 0x00000002u) { GOOGLE_DCHECK(locate_info_ != NULL); locate_info_->Clear(); } if (cached_has_bits & 0x00000004u) { GOOGLE_DCHECK(space_info_ != NULL); space_info_->Clear(); } } step_statu_ = 0; _has_bits_.Clear(); _internal_metadata_.Clear(); } bool Dispatch_store_step_statu::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.Dispatch_store_step_statu) 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.Step_statu step_statu = 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::Step_statu_IsValid(value)) { set_step_statu(static_cast< ::message::Step_statu >(value)); } else { mutable_unknown_fields()->AddVarint( 1, static_cast< ::google::protobuf::uint64>(value)); } } else { goto handle_unusual; } break; } // optional .message.Locate_information locate_info = 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_locate_info())); } else { goto handle_unusual; } break; } // optional .message.Parkspace_info space_info = 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_space_info())); } else { goto handle_unusual; } break; } // optional string description = 4; case 4: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(34u /* 34 & 0xFF */)) { DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->mutable_description())); ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( this->description().data(), static_cast(this->description().length()), ::google::protobuf::internal::WireFormat::PARSE, "message.Dispatch_store_step_statu.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.Dispatch_store_step_statu) return true; failure: // @@protoc_insertion_point(parse_failure:message.Dispatch_store_step_statu) return false; #undef DO_ } void Dispatch_store_step_statu::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // @@protoc_insertion_point(serialize_start:message.Dispatch_store_step_statu) ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; // required .message.Step_statu step_statu = 1; if (cached_has_bits & 0x00000008u) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 1, this->step_statu(), output); } // optional .message.Locate_information locate_info = 2; if (cached_has_bits & 0x00000002u) { ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( 2, *this->locate_info_, output); } // optional .message.Parkspace_info space_info = 3; if (cached_has_bits & 0x00000004u) { ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( 3, *this->space_info_, output); } // optional string description = 4; if (cached_has_bits & 0x00000001u) { ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( this->description().data(), static_cast(this->description().length()), ::google::protobuf::internal::WireFormat::SERIALIZE, "message.Dispatch_store_step_statu.description"); ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( 4, 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.Dispatch_store_step_statu) } ::google::protobuf::uint8* Dispatch_store_step_statu::InternalSerializeWithCachedSizesToArray( bool deterministic, ::google::protobuf::uint8* target) const { (void)deterministic; // Unused // @@protoc_insertion_point(serialize_to_array_start:message.Dispatch_store_step_statu) ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; // required .message.Step_statu step_statu = 1; if (cached_has_bits & 0x00000008u) { target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( 1, this->step_statu(), target); } // optional .message.Locate_information locate_info = 2; if (cached_has_bits & 0x00000002u) { target = ::google::protobuf::internal::WireFormatLite:: InternalWriteMessageToArray( 2, *this->locate_info_, deterministic, target); } // optional .message.Parkspace_info space_info = 3; if (cached_has_bits & 0x00000004u) { target = ::google::protobuf::internal::WireFormatLite:: InternalWriteMessageToArray( 3, *this->space_info_, deterministic, target); } // optional string description = 4; if (cached_has_bits & 0x00000001u) { ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( this->description().data(), static_cast(this->description().length()), ::google::protobuf::internal::WireFormat::SERIALIZE, "message.Dispatch_store_step_statu.description"); target = ::google::protobuf::internal::WireFormatLite::WriteStringToArray( 4, 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.Dispatch_store_step_statu) return target; } size_t Dispatch_store_step_statu::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:message.Dispatch_store_step_statu) size_t total_size = 0; if (_internal_metadata_.have_unknown_fields()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( _internal_metadata_.unknown_fields()); } // required .message.Step_statu step_statu = 1; if (has_step_statu()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->step_statu()); } if (_has_bits_[0 / 32] & 7u) { // optional string description = 4; if (has_description()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( this->description()); } // optional .message.Locate_information locate_info = 2; if (has_locate_info()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( *this->locate_info_); } // optional .message.Parkspace_info space_info = 3; if (has_space_info()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( *this->space_info_); } } int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = cached_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void Dispatch_store_step_statu::MergeFrom(const ::google::protobuf::Message& from) { // @@protoc_insertion_point(generalized_merge_from_start:message.Dispatch_store_step_statu) GOOGLE_DCHECK_NE(&from, this); const Dispatch_store_step_statu* source = ::google::protobuf::internal::DynamicCastToGenerated( &from); if (source == NULL) { // @@protoc_insertion_point(generalized_merge_from_cast_fail:message.Dispatch_store_step_statu) ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { // @@protoc_insertion_point(generalized_merge_from_cast_success:message.Dispatch_store_step_statu) MergeFrom(*source); } } void Dispatch_store_step_statu::MergeFrom(const Dispatch_store_step_statu& from) { // @@protoc_insertion_point(class_specific_merge_from_start:message.Dispatch_store_step_statu) 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 & 15u) { if (cached_has_bits & 0x00000001u) { set_has_description(); description_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.description_); } if (cached_has_bits & 0x00000002u) { mutable_locate_info()->::message::Locate_information::MergeFrom(from.locate_info()); } if (cached_has_bits & 0x00000004u) { mutable_space_info()->::message::Parkspace_info::MergeFrom(from.space_info()); } if (cached_has_bits & 0x00000008u) { step_statu_ = from.step_statu_; } _has_bits_[0] |= cached_has_bits; } } void Dispatch_store_step_statu::CopyFrom(const ::google::protobuf::Message& from) { // @@protoc_insertion_point(generalized_copy_from_start:message.Dispatch_store_step_statu) if (&from == this) return; Clear(); MergeFrom(from); } void Dispatch_store_step_statu::CopyFrom(const Dispatch_store_step_statu& from) { // @@protoc_insertion_point(class_specific_copy_from_start:message.Dispatch_store_step_statu) if (&from == this) return; Clear(); MergeFrom(from); } bool Dispatch_store_step_statu::IsInitialized() const { if ((_has_bits_[0] & 0x00000008) != 0x00000008) return false; return true; } void Dispatch_store_step_statu::Swap(Dispatch_store_step_statu* other) { if (other == this) return; InternalSwap(other); } void Dispatch_store_step_statu::InternalSwap(Dispatch_store_step_statu* other) { using std::swap; description_.Swap(&other->description_); swap(locate_info_, other->locate_info_); swap(space_info_, other->space_info_); swap(step_statu_, other->step_statu_); swap(_has_bits_[0], other->_has_bits_[0]); _internal_metadata_.Swap(&other->_internal_metadata_); swap(_cached_size_, other->_cached_size_); } ::google::protobuf::Metadata Dispatch_store_step_statu::GetMetadata() const { protobuf_process_5fmessage_2eproto::protobuf_AssignDescriptorsOnce(); return ::protobuf_process_5fmessage_2eproto::file_level_metadata[kIndexInFileMessages]; } // =================================================================== void Dispatch_pick_step_statu::InitAsDefaultInstance() { ::message::_Dispatch_pick_step_statu_default_instance_._instance.get_mutable()->space_info_ = const_cast< ::message::Parkspace_info*>( ::message::Parkspace_info::internal_default_instance()); } void Dispatch_pick_step_statu::clear_space_info() { if (space_info_ != NULL) space_info_->Clear(); clear_has_space_info(); } #if !defined(_MSC_VER) || _MSC_VER >= 1900 const int Dispatch_pick_step_statu::kStepStatuFieldNumber; const int Dispatch_pick_step_statu::kSpaceInfoFieldNumber; const int Dispatch_pick_step_statu::kDescriptionFieldNumber; #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 Dispatch_pick_step_statu::Dispatch_pick_step_statu() : ::google::protobuf::Message(), _internal_metadata_(NULL) { if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) { ::protobuf_process_5fmessage_2eproto::InitDefaultsDispatch_pick_step_statu(); } SharedCtor(); // @@protoc_insertion_point(constructor:message.Dispatch_pick_step_statu) } Dispatch_pick_step_statu::Dispatch_pick_step_statu(const Dispatch_pick_step_statu& from) : ::google::protobuf::Message(), _internal_metadata_(NULL), _has_bits_(from._has_bits_), _cached_size_(0) { _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_space_info()) { space_info_ = new ::message::Parkspace_info(*from.space_info_); } else { space_info_ = NULL; } step_statu_ = from.step_statu_; // @@protoc_insertion_point(copy_constructor:message.Dispatch_pick_step_statu) } void Dispatch_pick_step_statu::SharedCtor() { _cached_size_ = 0; description_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); ::memset(&space_info_, 0, static_cast( reinterpret_cast(&step_statu_) - reinterpret_cast(&space_info_)) + sizeof(step_statu_)); } Dispatch_pick_step_statu::~Dispatch_pick_step_statu() { // @@protoc_insertion_point(destructor:message.Dispatch_pick_step_statu) SharedDtor(); } void Dispatch_pick_step_statu::SharedDtor() { description_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); if (this != internal_default_instance()) delete space_info_; } void Dispatch_pick_step_statu::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* Dispatch_pick_step_statu::descriptor() { ::protobuf_process_5fmessage_2eproto::protobuf_AssignDescriptorsOnce(); return ::protobuf_process_5fmessage_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; } const Dispatch_pick_step_statu& Dispatch_pick_step_statu::default_instance() { ::protobuf_process_5fmessage_2eproto::InitDefaultsDispatch_pick_step_statu(); return *internal_default_instance(); } Dispatch_pick_step_statu* Dispatch_pick_step_statu::New(::google::protobuf::Arena* arena) const { Dispatch_pick_step_statu* n = new Dispatch_pick_step_statu; if (arena != NULL) { arena->Own(n); } return n; } void Dispatch_pick_step_statu::Clear() { // @@protoc_insertion_point(message_clear_start:message.Dispatch_pick_step_statu) ::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) { GOOGLE_DCHECK(!description_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited())); (*description_.UnsafeRawStringPointer())->clear(); } if (cached_has_bits & 0x00000002u) { GOOGLE_DCHECK(space_info_ != NULL); space_info_->Clear(); } } step_statu_ = 0; _has_bits_.Clear(); _internal_metadata_.Clear(); } bool Dispatch_pick_step_statu::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.Dispatch_pick_step_statu) 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.Step_statu step_statu = 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::Step_statu_IsValid(value)) { set_step_statu(static_cast< ::message::Step_statu >(value)); } else { mutable_unknown_fields()->AddVarint( 1, static_cast< ::google::protobuf::uint64>(value)); } } else { goto handle_unusual; } break; } // optional .message.Parkspace_info space_info = 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_space_info())); } else { goto handle_unusual; } break; } // optional string description = 3; case 3: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) { DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->mutable_description())); ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( this->description().data(), static_cast(this->description().length()), ::google::protobuf::internal::WireFormat::PARSE, "message.Dispatch_pick_step_statu.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.Dispatch_pick_step_statu) return true; failure: // @@protoc_insertion_point(parse_failure:message.Dispatch_pick_step_statu) return false; #undef DO_ } void Dispatch_pick_step_statu::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // @@protoc_insertion_point(serialize_start:message.Dispatch_pick_step_statu) ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; // required .message.Step_statu step_statu = 1; if (cached_has_bits & 0x00000004u) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 1, this->step_statu(), output); } // optional .message.Parkspace_info space_info = 2; if (cached_has_bits & 0x00000002u) { ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( 2, *this->space_info_, output); } // optional string description = 3; if (cached_has_bits & 0x00000001u) { ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( this->description().data(), static_cast(this->description().length()), ::google::protobuf::internal::WireFormat::SERIALIZE, "message.Dispatch_pick_step_statu.description"); ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( 3, 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.Dispatch_pick_step_statu) } ::google::protobuf::uint8* Dispatch_pick_step_statu::InternalSerializeWithCachedSizesToArray( bool deterministic, ::google::protobuf::uint8* target) const { (void)deterministic; // Unused // @@protoc_insertion_point(serialize_to_array_start:message.Dispatch_pick_step_statu) ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; // required .message.Step_statu step_statu = 1; if (cached_has_bits & 0x00000004u) { target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( 1, this->step_statu(), target); } // optional .message.Parkspace_info space_info = 2; if (cached_has_bits & 0x00000002u) { target = ::google::protobuf::internal::WireFormatLite:: InternalWriteMessageToArray( 2, *this->space_info_, deterministic, target); } // optional string description = 3; if (cached_has_bits & 0x00000001u) { ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( this->description().data(), static_cast(this->description().length()), ::google::protobuf::internal::WireFormat::SERIALIZE, "message.Dispatch_pick_step_statu.description"); target = ::google::protobuf::internal::WireFormatLite::WriteStringToArray( 3, 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.Dispatch_pick_step_statu) return target; } size_t Dispatch_pick_step_statu::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:message.Dispatch_pick_step_statu) size_t total_size = 0; if (_internal_metadata_.have_unknown_fields()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( _internal_metadata_.unknown_fields()); } // required .message.Step_statu step_statu = 1; if (has_step_statu()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->step_statu()); } if (_has_bits_[0 / 32] & 3u) { // optional string description = 3; if (has_description()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( this->description()); } // optional .message.Parkspace_info space_info = 2; if (has_space_info()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( *this->space_info_); } } int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = cached_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void Dispatch_pick_step_statu::MergeFrom(const ::google::protobuf::Message& from) { // @@protoc_insertion_point(generalized_merge_from_start:message.Dispatch_pick_step_statu) GOOGLE_DCHECK_NE(&from, this); const Dispatch_pick_step_statu* source = ::google::protobuf::internal::DynamicCastToGenerated( &from); if (source == NULL) { // @@protoc_insertion_point(generalized_merge_from_cast_fail:message.Dispatch_pick_step_statu) ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { // @@protoc_insertion_point(generalized_merge_from_cast_success:message.Dispatch_pick_step_statu) MergeFrom(*source); } } void Dispatch_pick_step_statu::MergeFrom(const Dispatch_pick_step_statu& from) { // @@protoc_insertion_point(class_specific_merge_from_start:message.Dispatch_pick_step_statu) 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 & 7u) { if (cached_has_bits & 0x00000001u) { set_has_description(); description_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.description_); } if (cached_has_bits & 0x00000002u) { mutable_space_info()->::message::Parkspace_info::MergeFrom(from.space_info()); } if (cached_has_bits & 0x00000004u) { step_statu_ = from.step_statu_; } _has_bits_[0] |= cached_has_bits; } } void Dispatch_pick_step_statu::CopyFrom(const ::google::protobuf::Message& from) { // @@protoc_insertion_point(generalized_copy_from_start:message.Dispatch_pick_step_statu) if (&from == this) return; Clear(); MergeFrom(from); } void Dispatch_pick_step_statu::CopyFrom(const Dispatch_pick_step_statu& from) { // @@protoc_insertion_point(class_specific_copy_from_start:message.Dispatch_pick_step_statu) if (&from == this) return; Clear(); MergeFrom(from); } bool Dispatch_pick_step_statu::IsInitialized() const { if ((_has_bits_[0] & 0x00000004) != 0x00000004) return false; return true; } void Dispatch_pick_step_statu::Swap(Dispatch_pick_step_statu* other) { if (other == this) return; InternalSwap(other); } void Dispatch_pick_step_statu::InternalSwap(Dispatch_pick_step_statu* other) { using std::swap; description_.Swap(&other->description_); swap(space_info_, other->space_info_); swap(step_statu_, other->step_statu_); swap(_has_bits_[0], other->_has_bits_[0]); _internal_metadata_.Swap(&other->_internal_metadata_); swap(_cached_size_, other->_cached_size_); } ::google::protobuf::Metadata Dispatch_pick_step_statu::GetMetadata() const { protobuf_process_5fmessage_2eproto::protobuf_AssignDescriptorsOnce(); return ::protobuf_process_5fmessage_2eproto::file_level_metadata[kIndexInFileMessages]; } // =================================================================== void Waitfor_leave_step_statu::InitAsDefaultInstance() { ::message::_Waitfor_leave_step_statu_default_instance_._instance.get_mutable()->car_info_ = const_cast< ::message::Car_info*>( ::message::Car_info::internal_default_instance()); } void Waitfor_leave_step_statu::clear_car_info() { if (car_info_ != NULL) car_info_->Clear(); clear_has_car_info(); } #if !defined(_MSC_VER) || _MSC_VER >= 1900 const int Waitfor_leave_step_statu::kStepStatuFieldNumber; const int Waitfor_leave_step_statu::kCarInfoFieldNumber; const int Waitfor_leave_step_statu::kDescriptionFieldNumber; #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 Waitfor_leave_step_statu::Waitfor_leave_step_statu() : ::google::protobuf::Message(), _internal_metadata_(NULL) { if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) { ::protobuf_process_5fmessage_2eproto::InitDefaultsWaitfor_leave_step_statu(); } SharedCtor(); // @@protoc_insertion_point(constructor:message.Waitfor_leave_step_statu) } Waitfor_leave_step_statu::Waitfor_leave_step_statu(const Waitfor_leave_step_statu& from) : ::google::protobuf::Message(), _internal_metadata_(NULL), _has_bits_(from._has_bits_), _cached_size_(0) { _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_car_info()) { car_info_ = new ::message::Car_info(*from.car_info_); } else { car_info_ = NULL; } step_statu_ = from.step_statu_; // @@protoc_insertion_point(copy_constructor:message.Waitfor_leave_step_statu) } void Waitfor_leave_step_statu::SharedCtor() { _cached_size_ = 0; description_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); ::memset(&car_info_, 0, static_cast( reinterpret_cast(&step_statu_) - reinterpret_cast(&car_info_)) + sizeof(step_statu_)); } Waitfor_leave_step_statu::~Waitfor_leave_step_statu() { // @@protoc_insertion_point(destructor:message.Waitfor_leave_step_statu) SharedDtor(); } void Waitfor_leave_step_statu::SharedDtor() { description_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); if (this != internal_default_instance()) delete car_info_; } void Waitfor_leave_step_statu::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* Waitfor_leave_step_statu::descriptor() { ::protobuf_process_5fmessage_2eproto::protobuf_AssignDescriptorsOnce(); return ::protobuf_process_5fmessage_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; } const Waitfor_leave_step_statu& Waitfor_leave_step_statu::default_instance() { ::protobuf_process_5fmessage_2eproto::InitDefaultsWaitfor_leave_step_statu(); return *internal_default_instance(); } Waitfor_leave_step_statu* Waitfor_leave_step_statu::New(::google::protobuf::Arena* arena) const { Waitfor_leave_step_statu* n = new Waitfor_leave_step_statu; if (arena != NULL) { arena->Own(n); } return n; } void Waitfor_leave_step_statu::Clear() { // @@protoc_insertion_point(message_clear_start:message.Waitfor_leave_step_statu) ::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) { GOOGLE_DCHECK(!description_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited())); (*description_.UnsafeRawStringPointer())->clear(); } if (cached_has_bits & 0x00000002u) { GOOGLE_DCHECK(car_info_ != NULL); car_info_->Clear(); } } step_statu_ = 0; _has_bits_.Clear(); _internal_metadata_.Clear(); } bool Waitfor_leave_step_statu::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.Waitfor_leave_step_statu) 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.Step_statu step_statu = 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::Step_statu_IsValid(value)) { set_step_statu(static_cast< ::message::Step_statu >(value)); } else { mutable_unknown_fields()->AddVarint( 1, static_cast< ::google::protobuf::uint64>(value)); } } else { goto handle_unusual; } break; } // optional .message.Car_info car_info = 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_car_info())); } else { goto handle_unusual; } break; } // optional string description = 3; case 3: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) { DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->mutable_description())); ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( this->description().data(), static_cast(this->description().length()), ::google::protobuf::internal::WireFormat::PARSE, "message.Waitfor_leave_step_statu.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.Waitfor_leave_step_statu) return true; failure: // @@protoc_insertion_point(parse_failure:message.Waitfor_leave_step_statu) return false; #undef DO_ } void Waitfor_leave_step_statu::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // @@protoc_insertion_point(serialize_start:message.Waitfor_leave_step_statu) ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; // required .message.Step_statu step_statu = 1; if (cached_has_bits & 0x00000004u) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 1, this->step_statu(), output); } // optional .message.Car_info car_info = 2; if (cached_has_bits & 0x00000002u) { ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( 2, *this->car_info_, output); } // optional string description = 3; if (cached_has_bits & 0x00000001u) { ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( this->description().data(), static_cast(this->description().length()), ::google::protobuf::internal::WireFormat::SERIALIZE, "message.Waitfor_leave_step_statu.description"); ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( 3, 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.Waitfor_leave_step_statu) } ::google::protobuf::uint8* Waitfor_leave_step_statu::InternalSerializeWithCachedSizesToArray( bool deterministic, ::google::protobuf::uint8* target) const { (void)deterministic; // Unused // @@protoc_insertion_point(serialize_to_array_start:message.Waitfor_leave_step_statu) ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; // required .message.Step_statu step_statu = 1; if (cached_has_bits & 0x00000004u) { target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( 1, this->step_statu(), target); } // optional .message.Car_info car_info = 2; if (cached_has_bits & 0x00000002u) { target = ::google::protobuf::internal::WireFormatLite:: InternalWriteMessageToArray( 2, *this->car_info_, deterministic, target); } // optional string description = 3; if (cached_has_bits & 0x00000001u) { ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( this->description().data(), static_cast(this->description().length()), ::google::protobuf::internal::WireFormat::SERIALIZE, "message.Waitfor_leave_step_statu.description"); target = ::google::protobuf::internal::WireFormatLite::WriteStringToArray( 3, 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.Waitfor_leave_step_statu) return target; } size_t Waitfor_leave_step_statu::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:message.Waitfor_leave_step_statu) size_t total_size = 0; if (_internal_metadata_.have_unknown_fields()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( _internal_metadata_.unknown_fields()); } // required .message.Step_statu step_statu = 1; if (has_step_statu()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->step_statu()); } if (_has_bits_[0 / 32] & 3u) { // optional string description = 3; if (has_description()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( this->description()); } // optional .message.Car_info car_info = 2; if (has_car_info()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( *this->car_info_); } } int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = cached_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void Waitfor_leave_step_statu::MergeFrom(const ::google::protobuf::Message& from) { // @@protoc_insertion_point(generalized_merge_from_start:message.Waitfor_leave_step_statu) GOOGLE_DCHECK_NE(&from, this); const Waitfor_leave_step_statu* source = ::google::protobuf::internal::DynamicCastToGenerated( &from); if (source == NULL) { // @@protoc_insertion_point(generalized_merge_from_cast_fail:message.Waitfor_leave_step_statu) ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { // @@protoc_insertion_point(generalized_merge_from_cast_success:message.Waitfor_leave_step_statu) MergeFrom(*source); } } void Waitfor_leave_step_statu::MergeFrom(const Waitfor_leave_step_statu& from) { // @@protoc_insertion_point(class_specific_merge_from_start:message.Waitfor_leave_step_statu) 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 & 7u) { if (cached_has_bits & 0x00000001u) { set_has_description(); description_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.description_); } if (cached_has_bits & 0x00000002u) { mutable_car_info()->::message::Car_info::MergeFrom(from.car_info()); } if (cached_has_bits & 0x00000004u) { step_statu_ = from.step_statu_; } _has_bits_[0] |= cached_has_bits; } } void Waitfor_leave_step_statu::CopyFrom(const ::google::protobuf::Message& from) { // @@protoc_insertion_point(generalized_copy_from_start:message.Waitfor_leave_step_statu) if (&from == this) return; Clear(); MergeFrom(from); } void Waitfor_leave_step_statu::CopyFrom(const Waitfor_leave_step_statu& from) { // @@protoc_insertion_point(class_specific_copy_from_start:message.Waitfor_leave_step_statu) if (&from == this) return; Clear(); MergeFrom(from); } bool Waitfor_leave_step_statu::IsInitialized() const { if ((_has_bits_[0] & 0x00000004) != 0x00000004) return false; return true; } void Waitfor_leave_step_statu::Swap(Waitfor_leave_step_statu* other) { if (other == this) return; InternalSwap(other); } void Waitfor_leave_step_statu::InternalSwap(Waitfor_leave_step_statu* other) { using std::swap; description_.Swap(&other->description_); swap(car_info_, other->car_info_); swap(step_statu_, other->step_statu_); swap(_has_bits_[0], other->_has_bits_[0]); _internal_metadata_.Swap(&other->_internal_metadata_); swap(_cached_size_, other->_cached_size_); } ::google::protobuf::Metadata Waitfor_leave_step_statu::GetMetadata() const { protobuf_process_5fmessage_2eproto::protobuf_AssignDescriptorsOnce(); return ::protobuf_process_5fmessage_2eproto::file_level_metadata[kIndexInFileMessages]; } // =================================================================== void Storing_process_statu_msg::InitAsDefaultInstance() { ::message::_Storing_process_statu_msg_default_instance_._instance.get_mutable()->base_info_ = const_cast< ::message::Base_info*>( ::message::Base_info::internal_default_instance()); ::message::_Storing_process_statu_msg_default_instance_._instance.get_mutable()->alloc_space_step_ = const_cast< ::message::Alloc_space_step_statu*>( ::message::Alloc_space_step_statu::internal_default_instance()); ::message::_Storing_process_statu_msg_default_instance_._instance.get_mutable()->measure_step_ = const_cast< ::message::Measure_step_statu*>( ::message::Measure_step_statu::internal_default_instance()); ::message::_Storing_process_statu_msg_default_instance_._instance.get_mutable()->dispatch_step_ = const_cast< ::message::Dispatch_store_step_statu*>( ::message::Dispatch_store_step_statu::internal_default_instance()); ::message::_Storing_process_statu_msg_default_instance_._instance.get_mutable()->confirm_space_step_ = const_cast< ::message::Confirm_space_step_statu*>( ::message::Confirm_space_step_statu::internal_default_instance()); ::message::_Storing_process_statu_msg_default_instance_._instance.get_mutable()->failed_release_space_step_ = const_cast< ::message::Release_space_step_statu*>( ::message::Release_space_step_statu::internal_default_instance()); } void Storing_process_statu_msg::clear_base_info() { if (base_info_ != NULL) base_info_->Clear(); clear_has_base_info(); } #if !defined(_MSC_VER) || _MSC_VER >= 1900 const int Storing_process_statu_msg::kBaseInfoFieldNumber; const int Storing_process_statu_msg::kTerminalIdFieldNumber; const int Storing_process_statu_msg::kLicenseFieldNumber; const int Storing_process_statu_msg::kAllocSpaceStepFieldNumber; const int Storing_process_statu_msg::kMeasureStepFieldNumber; const int Storing_process_statu_msg::kDispatchStepFieldNumber; const int Storing_process_statu_msg::kConfirmSpaceStepFieldNumber; const int Storing_process_statu_msg::kFailedReleaseSpaceStepFieldNumber; #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 Storing_process_statu_msg::Storing_process_statu_msg() : ::google::protobuf::Message(), _internal_metadata_(NULL) { if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) { ::protobuf_process_5fmessage_2eproto::InitDefaultsStoring_process_statu_msg(); } SharedCtor(); // @@protoc_insertion_point(constructor:message.Storing_process_statu_msg) } Storing_process_statu_msg::Storing_process_statu_msg(const Storing_process_statu_msg& from) : ::google::protobuf::Message(), _internal_metadata_(NULL), _has_bits_(from._has_bits_), _cached_size_(0) { _internal_metadata_.MergeFrom(from._internal_metadata_); license_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); if (from.has_license()) { license_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.license_); } if (from.has_base_info()) { base_info_ = new ::message::Base_info(*from.base_info_); } else { base_info_ = NULL; } if (from.has_alloc_space_step()) { alloc_space_step_ = new ::message::Alloc_space_step_statu(*from.alloc_space_step_); } else { alloc_space_step_ = NULL; } if (from.has_measure_step()) { measure_step_ = new ::message::Measure_step_statu(*from.measure_step_); } else { measure_step_ = NULL; } if (from.has_dispatch_step()) { dispatch_step_ = new ::message::Dispatch_store_step_statu(*from.dispatch_step_); } else { dispatch_step_ = NULL; } if (from.has_confirm_space_step()) { confirm_space_step_ = new ::message::Confirm_space_step_statu(*from.confirm_space_step_); } else { confirm_space_step_ = NULL; } if (from.has_failed_release_space_step()) { failed_release_space_step_ = new ::message::Release_space_step_statu(*from.failed_release_space_step_); } else { failed_release_space_step_ = NULL; } terminal_id_ = from.terminal_id_; // @@protoc_insertion_point(copy_constructor:message.Storing_process_statu_msg) } void Storing_process_statu_msg::SharedCtor() { _cached_size_ = 0; license_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); ::memset(&base_info_, 0, static_cast( reinterpret_cast(&terminal_id_) - reinterpret_cast(&base_info_)) + sizeof(terminal_id_)); } Storing_process_statu_msg::~Storing_process_statu_msg() { // @@protoc_insertion_point(destructor:message.Storing_process_statu_msg) SharedDtor(); } void Storing_process_statu_msg::SharedDtor() { license_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); if (this != internal_default_instance()) delete base_info_; if (this != internal_default_instance()) delete alloc_space_step_; if (this != internal_default_instance()) delete measure_step_; if (this != internal_default_instance()) delete dispatch_step_; if (this != internal_default_instance()) delete confirm_space_step_; if (this != internal_default_instance()) delete failed_release_space_step_; } void Storing_process_statu_msg::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* Storing_process_statu_msg::descriptor() { ::protobuf_process_5fmessage_2eproto::protobuf_AssignDescriptorsOnce(); return ::protobuf_process_5fmessage_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; } const Storing_process_statu_msg& Storing_process_statu_msg::default_instance() { ::protobuf_process_5fmessage_2eproto::InitDefaultsStoring_process_statu_msg(); return *internal_default_instance(); } Storing_process_statu_msg* Storing_process_statu_msg::New(::google::protobuf::Arena* arena) const { Storing_process_statu_msg* n = new Storing_process_statu_msg; if (arena != NULL) { arena->Own(n); } return n; } void Storing_process_statu_msg::Clear() { // @@protoc_insertion_point(message_clear_start:message.Storing_process_statu_msg) ::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 & 127u) { if (cached_has_bits & 0x00000001u) { GOOGLE_DCHECK(!license_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited())); (*license_.UnsafeRawStringPointer())->clear(); } if (cached_has_bits & 0x00000002u) { GOOGLE_DCHECK(base_info_ != NULL); base_info_->Clear(); } if (cached_has_bits & 0x00000004u) { GOOGLE_DCHECK(alloc_space_step_ != NULL); alloc_space_step_->Clear(); } if (cached_has_bits & 0x00000008u) { GOOGLE_DCHECK(measure_step_ != NULL); measure_step_->Clear(); } if (cached_has_bits & 0x00000010u) { GOOGLE_DCHECK(dispatch_step_ != NULL); dispatch_step_->Clear(); } if (cached_has_bits & 0x00000020u) { GOOGLE_DCHECK(confirm_space_step_ != NULL); confirm_space_step_->Clear(); } if (cached_has_bits & 0x00000040u) { GOOGLE_DCHECK(failed_release_space_step_ != NULL); failed_release_space_step_->Clear(); } } terminal_id_ = 0; _has_bits_.Clear(); _internal_metadata_.Clear(); } bool Storing_process_statu_msg::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.Storing_process_statu_msg) 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.Base_info base_info = 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_base_info())); } else { goto handle_unusual; } break; } // required int32 terminal_id = 2; case 2: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) { set_has_terminal_id(); DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &terminal_id_))); } else { goto handle_unusual; } break; } // required string license = 3; case 3: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) { DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->mutable_license())); ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( this->license().data(), static_cast(this->license().length()), ::google::protobuf::internal::WireFormat::PARSE, "message.Storing_process_statu_msg.license"); } else { goto handle_unusual; } break; } // required .message.Alloc_space_step_statu alloc_space_step = 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_alloc_space_step())); } else { goto handle_unusual; } break; } // required .message.Measure_step_statu measure_step = 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_measure_step())); } else { goto handle_unusual; } break; } // required .message.Dispatch_store_step_statu dispatch_step = 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_dispatch_step())); } else { goto handle_unusual; } break; } // required .message.Confirm_space_step_statu confirm_space_step = 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_space_step())); } else { goto handle_unusual; } break; } // optional .message.Release_space_step_statu failed_release_space_step = 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_failed_release_space_step())); } 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.Storing_process_statu_msg) return true; failure: // @@protoc_insertion_point(parse_failure:message.Storing_process_statu_msg) return false; #undef DO_ } void Storing_process_statu_msg::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // @@protoc_insertion_point(serialize_start:message.Storing_process_statu_msg) ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; // required .message.Base_info base_info = 1; if (cached_has_bits & 0x00000002u) { ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( 1, *this->base_info_, output); } // required int32 terminal_id = 2; if (cached_has_bits & 0x00000080u) { ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->terminal_id(), output); } // required string license = 3; if (cached_has_bits & 0x00000001u) { ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( this->license().data(), static_cast(this->license().length()), ::google::protobuf::internal::WireFormat::SERIALIZE, "message.Storing_process_statu_msg.license"); ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( 3, this->license(), output); } // required .message.Alloc_space_step_statu alloc_space_step = 4; if (cached_has_bits & 0x00000004u) { ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( 4, *this->alloc_space_step_, output); } // required .message.Measure_step_statu measure_step = 5; if (cached_has_bits & 0x00000008u) { ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( 5, *this->measure_step_, output); } // required .message.Dispatch_store_step_statu dispatch_step = 6; if (cached_has_bits & 0x00000010u) { ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( 6, *this->dispatch_step_, output); } // required .message.Confirm_space_step_statu confirm_space_step = 7; if (cached_has_bits & 0x00000020u) { ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( 7, *this->confirm_space_step_, output); } // optional .message.Release_space_step_statu failed_release_space_step = 8; if (cached_has_bits & 0x00000040u) { ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( 8, *this->failed_release_space_step_, output); } if (_internal_metadata_.have_unknown_fields()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( _internal_metadata_.unknown_fields(), output); } // @@protoc_insertion_point(serialize_end:message.Storing_process_statu_msg) } ::google::protobuf::uint8* Storing_process_statu_msg::InternalSerializeWithCachedSizesToArray( bool deterministic, ::google::protobuf::uint8* target) const { (void)deterministic; // Unused // @@protoc_insertion_point(serialize_to_array_start:message.Storing_process_statu_msg) ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; // required .message.Base_info base_info = 1; if (cached_has_bits & 0x00000002u) { target = ::google::protobuf::internal::WireFormatLite:: InternalWriteMessageToArray( 1, *this->base_info_, deterministic, target); } // required int32 terminal_id = 2; if (cached_has_bits & 0x00000080u) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->terminal_id(), target); } // required string license = 3; if (cached_has_bits & 0x00000001u) { ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( this->license().data(), static_cast(this->license().length()), ::google::protobuf::internal::WireFormat::SERIALIZE, "message.Storing_process_statu_msg.license"); target = ::google::protobuf::internal::WireFormatLite::WriteStringToArray( 3, this->license(), target); } // required .message.Alloc_space_step_statu alloc_space_step = 4; if (cached_has_bits & 0x00000004u) { target = ::google::protobuf::internal::WireFormatLite:: InternalWriteMessageToArray( 4, *this->alloc_space_step_, deterministic, target); } // required .message.Measure_step_statu measure_step = 5; if (cached_has_bits & 0x00000008u) { target = ::google::protobuf::internal::WireFormatLite:: InternalWriteMessageToArray( 5, *this->measure_step_, deterministic, target); } // required .message.Dispatch_store_step_statu dispatch_step = 6; if (cached_has_bits & 0x00000010u) { target = ::google::protobuf::internal::WireFormatLite:: InternalWriteMessageToArray( 6, *this->dispatch_step_, deterministic, target); } // required .message.Confirm_space_step_statu confirm_space_step = 7; if (cached_has_bits & 0x00000020u) { target = ::google::protobuf::internal::WireFormatLite:: InternalWriteMessageToArray( 7, *this->confirm_space_step_, deterministic, target); } // optional .message.Release_space_step_statu failed_release_space_step = 8; if (cached_has_bits & 0x00000040u) { target = ::google::protobuf::internal::WireFormatLite:: InternalWriteMessageToArray( 8, *this->failed_release_space_step_, 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.Storing_process_statu_msg) return target; } size_t Storing_process_statu_msg::RequiredFieldsByteSizeFallback() const { // @@protoc_insertion_point(required_fields_byte_size_fallback_start:message.Storing_process_statu_msg) size_t total_size = 0; if (has_license()) { // required string license = 3; total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( this->license()); } if (has_base_info()) { // required .message.Base_info base_info = 1; total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( *this->base_info_); } if (has_alloc_space_step()) { // required .message.Alloc_space_step_statu alloc_space_step = 4; total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( *this->alloc_space_step_); } if (has_measure_step()) { // required .message.Measure_step_statu measure_step = 5; total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( *this->measure_step_); } if (has_dispatch_step()) { // required .message.Dispatch_store_step_statu dispatch_step = 6; total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( *this->dispatch_step_); } if (has_confirm_space_step()) { // required .message.Confirm_space_step_statu confirm_space_step = 7; total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( *this->confirm_space_step_); } if (has_terminal_id()) { // required int32 terminal_id = 2; total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->terminal_id()); } return total_size; } size_t Storing_process_statu_msg::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:message.Storing_process_statu_msg) size_t total_size = 0; if (_internal_metadata_.have_unknown_fields()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( _internal_metadata_.unknown_fields()); } if (((_has_bits_[0] & 0x000000bf) ^ 0x000000bf) == 0) { // All required fields are present. // required string license = 3; total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( this->license()); // required .message.Base_info base_info = 1; total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( *this->base_info_); // required .message.Alloc_space_step_statu alloc_space_step = 4; total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( *this->alloc_space_step_); // required .message.Measure_step_statu measure_step = 5; total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( *this->measure_step_); // required .message.Dispatch_store_step_statu dispatch_step = 6; total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( *this->dispatch_step_); // required .message.Confirm_space_step_statu confirm_space_step = 7; total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( *this->confirm_space_step_); // required int32 terminal_id = 2; total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->terminal_id()); } else { total_size += RequiredFieldsByteSizeFallback(); } // optional .message.Release_space_step_statu failed_release_space_step = 8; if (has_failed_release_space_step()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( *this->failed_release_space_step_); } int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = cached_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void Storing_process_statu_msg::MergeFrom(const ::google::protobuf::Message& from) { // @@protoc_insertion_point(generalized_merge_from_start:message.Storing_process_statu_msg) GOOGLE_DCHECK_NE(&from, this); const Storing_process_statu_msg* source = ::google::protobuf::internal::DynamicCastToGenerated( &from); if (source == NULL) { // @@protoc_insertion_point(generalized_merge_from_cast_fail:message.Storing_process_statu_msg) ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { // @@protoc_insertion_point(generalized_merge_from_cast_success:message.Storing_process_statu_msg) MergeFrom(*source); } } void Storing_process_statu_msg::MergeFrom(const Storing_process_statu_msg& from) { // @@protoc_insertion_point(class_specific_merge_from_start:message.Storing_process_statu_msg) 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 & 255u) { if (cached_has_bits & 0x00000001u) { set_has_license(); license_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.license_); } if (cached_has_bits & 0x00000002u) { mutable_base_info()->::message::Base_info::MergeFrom(from.base_info()); } if (cached_has_bits & 0x00000004u) { mutable_alloc_space_step()->::message::Alloc_space_step_statu::MergeFrom(from.alloc_space_step()); } if (cached_has_bits & 0x00000008u) { mutable_measure_step()->::message::Measure_step_statu::MergeFrom(from.measure_step()); } if (cached_has_bits & 0x00000010u) { mutable_dispatch_step()->::message::Dispatch_store_step_statu::MergeFrom(from.dispatch_step()); } if (cached_has_bits & 0x00000020u) { mutable_confirm_space_step()->::message::Confirm_space_step_statu::MergeFrom(from.confirm_space_step()); } if (cached_has_bits & 0x00000040u) { mutable_failed_release_space_step()->::message::Release_space_step_statu::MergeFrom(from.failed_release_space_step()); } if (cached_has_bits & 0x00000080u) { terminal_id_ = from.terminal_id_; } _has_bits_[0] |= cached_has_bits; } } void Storing_process_statu_msg::CopyFrom(const ::google::protobuf::Message& from) { // @@protoc_insertion_point(generalized_copy_from_start:message.Storing_process_statu_msg) if (&from == this) return; Clear(); MergeFrom(from); } void Storing_process_statu_msg::CopyFrom(const Storing_process_statu_msg& from) { // @@protoc_insertion_point(class_specific_copy_from_start:message.Storing_process_statu_msg) if (&from == this) return; Clear(); MergeFrom(from); } bool Storing_process_statu_msg::IsInitialized() const { if ((_has_bits_[0] & 0x000000bf) != 0x000000bf) return false; if (has_base_info()) { if (!this->base_info_->IsInitialized()) return false; } if (has_alloc_space_step()) { if (!this->alloc_space_step_->IsInitialized()) return false; } if (has_measure_step()) { if (!this->measure_step_->IsInitialized()) return false; } if (has_dispatch_step()) { if (!this->dispatch_step_->IsInitialized()) return false; } if (has_confirm_space_step()) { if (!this->confirm_space_step_->IsInitialized()) return false; } if (has_failed_release_space_step()) { if (!this->failed_release_space_step_->IsInitialized()) return false; } return true; } void Storing_process_statu_msg::Swap(Storing_process_statu_msg* other) { if (other == this) return; InternalSwap(other); } void Storing_process_statu_msg::InternalSwap(Storing_process_statu_msg* other) { using std::swap; license_.Swap(&other->license_); swap(base_info_, other->base_info_); swap(alloc_space_step_, other->alloc_space_step_); swap(measure_step_, other->measure_step_); swap(dispatch_step_, other->dispatch_step_); swap(confirm_space_step_, other->confirm_space_step_); swap(failed_release_space_step_, other->failed_release_space_step_); swap(terminal_id_, other->terminal_id_); swap(_has_bits_[0], other->_has_bits_[0]); _internal_metadata_.Swap(&other->_internal_metadata_); swap(_cached_size_, other->_cached_size_); } ::google::protobuf::Metadata Storing_process_statu_msg::GetMetadata() const { protobuf_process_5fmessage_2eproto::protobuf_AssignDescriptorsOnce(); return ::protobuf_process_5fmessage_2eproto::file_level_metadata[kIndexInFileMessages]; } // =================================================================== void Picking_process_statu_msg::InitAsDefaultInstance() { ::message::_Picking_process_statu_msg_default_instance_._instance.get_mutable()->base_info_ = const_cast< ::message::Base_info*>( ::message::Base_info::internal_default_instance()); ::message::_Picking_process_statu_msg_default_instance_._instance.get_mutable()->search_space_step_ = const_cast< ::message::Search_space_step_statu*>( ::message::Search_space_step_statu::internal_default_instance()); ::message::_Picking_process_statu_msg_default_instance_._instance.get_mutable()->dispatch_step_ = const_cast< ::message::Dispatch_pick_step_statu*>( ::message::Dispatch_pick_step_statu::internal_default_instance()); ::message::_Picking_process_statu_msg_default_instance_._instance.get_mutable()->release_space_step_ = const_cast< ::message::Release_space_step_statu*>( ::message::Release_space_step_statu::internal_default_instance()); ::message::_Picking_process_statu_msg_default_instance_._instance.get_mutable()->waitfor_leave_ = const_cast< ::message::Waitfor_leave_step_statu*>( ::message::Waitfor_leave_step_statu::internal_default_instance()); } void Picking_process_statu_msg::clear_base_info() { if (base_info_ != NULL) base_info_->Clear(); clear_has_base_info(); } #if !defined(_MSC_VER) || _MSC_VER >= 1900 const int Picking_process_statu_msg::kBaseInfoFieldNumber; const int Picking_process_statu_msg::kTerminalIdFieldNumber; const int Picking_process_statu_msg::kLicenseFieldNumber; const int Picking_process_statu_msg::kSearchSpaceStepFieldNumber; const int Picking_process_statu_msg::kDispatchStepFieldNumber; const int Picking_process_statu_msg::kReleaseSpaceStepFieldNumber; const int Picking_process_statu_msg::kWaitforLeaveFieldNumber; #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 Picking_process_statu_msg::Picking_process_statu_msg() : ::google::protobuf::Message(), _internal_metadata_(NULL) { if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) { ::protobuf_process_5fmessage_2eproto::InitDefaultsPicking_process_statu_msg(); } SharedCtor(); // @@protoc_insertion_point(constructor:message.Picking_process_statu_msg) } Picking_process_statu_msg::Picking_process_statu_msg(const Picking_process_statu_msg& from) : ::google::protobuf::Message(), _internal_metadata_(NULL), _has_bits_(from._has_bits_), _cached_size_(0) { _internal_metadata_.MergeFrom(from._internal_metadata_); license_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); if (from.has_license()) { license_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.license_); } if (from.has_base_info()) { base_info_ = new ::message::Base_info(*from.base_info_); } else { base_info_ = NULL; } if (from.has_search_space_step()) { search_space_step_ = new ::message::Search_space_step_statu(*from.search_space_step_); } else { search_space_step_ = NULL; } if (from.has_dispatch_step()) { dispatch_step_ = new ::message::Dispatch_pick_step_statu(*from.dispatch_step_); } else { dispatch_step_ = NULL; } if (from.has_release_space_step()) { release_space_step_ = new ::message::Release_space_step_statu(*from.release_space_step_); } else { release_space_step_ = NULL; } if (from.has_waitfor_leave()) { waitfor_leave_ = new ::message::Waitfor_leave_step_statu(*from.waitfor_leave_); } else { waitfor_leave_ = NULL; } terminal_id_ = from.terminal_id_; // @@protoc_insertion_point(copy_constructor:message.Picking_process_statu_msg) } void Picking_process_statu_msg::SharedCtor() { _cached_size_ = 0; license_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); ::memset(&base_info_, 0, static_cast( reinterpret_cast(&terminal_id_) - reinterpret_cast(&base_info_)) + sizeof(terminal_id_)); } Picking_process_statu_msg::~Picking_process_statu_msg() { // @@protoc_insertion_point(destructor:message.Picking_process_statu_msg) SharedDtor(); } void Picking_process_statu_msg::SharedDtor() { license_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); if (this != internal_default_instance()) delete base_info_; if (this != internal_default_instance()) delete search_space_step_; if (this != internal_default_instance()) delete dispatch_step_; if (this != internal_default_instance()) delete release_space_step_; if (this != internal_default_instance()) delete waitfor_leave_; } void Picking_process_statu_msg::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* Picking_process_statu_msg::descriptor() { ::protobuf_process_5fmessage_2eproto::protobuf_AssignDescriptorsOnce(); return ::protobuf_process_5fmessage_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; } const Picking_process_statu_msg& Picking_process_statu_msg::default_instance() { ::protobuf_process_5fmessage_2eproto::InitDefaultsPicking_process_statu_msg(); return *internal_default_instance(); } Picking_process_statu_msg* Picking_process_statu_msg::New(::google::protobuf::Arena* arena) const { Picking_process_statu_msg* n = new Picking_process_statu_msg; if (arena != NULL) { arena->Own(n); } return n; } void Picking_process_statu_msg::Clear() { // @@protoc_insertion_point(message_clear_start:message.Picking_process_statu_msg) ::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 & 63u) { if (cached_has_bits & 0x00000001u) { GOOGLE_DCHECK(!license_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited())); (*license_.UnsafeRawStringPointer())->clear(); } if (cached_has_bits & 0x00000002u) { GOOGLE_DCHECK(base_info_ != NULL); base_info_->Clear(); } if (cached_has_bits & 0x00000004u) { GOOGLE_DCHECK(search_space_step_ != NULL); search_space_step_->Clear(); } if (cached_has_bits & 0x00000008u) { GOOGLE_DCHECK(dispatch_step_ != NULL); dispatch_step_->Clear(); } if (cached_has_bits & 0x00000010u) { GOOGLE_DCHECK(release_space_step_ != NULL); release_space_step_->Clear(); } if (cached_has_bits & 0x00000020u) { GOOGLE_DCHECK(waitfor_leave_ != NULL); waitfor_leave_->Clear(); } } terminal_id_ = 0; _has_bits_.Clear(); _internal_metadata_.Clear(); } bool Picking_process_statu_msg::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.Picking_process_statu_msg) 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.Base_info base_info = 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_base_info())); } else { goto handle_unusual; } break; } // required int32 terminal_id = 2; case 2: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) { set_has_terminal_id(); DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &terminal_id_))); } else { goto handle_unusual; } break; } // required string license = 3; case 3: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) { DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->mutable_license())); ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( this->license().data(), static_cast(this->license().length()), ::google::protobuf::internal::WireFormat::PARSE, "message.Picking_process_statu_msg.license"); } else { goto handle_unusual; } break; } // required .message.Search_space_step_statu search_space_step = 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_space_step())); } else { goto handle_unusual; } break; } // required .message.Dispatch_pick_step_statu dispatch_step = 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_dispatch_step())); } else { goto handle_unusual; } break; } // required .message.Release_space_step_statu release_space_step = 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_space_step())); } else { goto handle_unusual; } break; } // required .message.Waitfor_leave_step_statu waitfor_leave = 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_waitfor_leave())); } 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.Picking_process_statu_msg) return true; failure: // @@protoc_insertion_point(parse_failure:message.Picking_process_statu_msg) return false; #undef DO_ } void Picking_process_statu_msg::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // @@protoc_insertion_point(serialize_start:message.Picking_process_statu_msg) ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; // required .message.Base_info base_info = 1; if (cached_has_bits & 0x00000002u) { ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( 1, *this->base_info_, output); } // required int32 terminal_id = 2; if (cached_has_bits & 0x00000040u) { ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->terminal_id(), output); } // required string license = 3; if (cached_has_bits & 0x00000001u) { ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( this->license().data(), static_cast(this->license().length()), ::google::protobuf::internal::WireFormat::SERIALIZE, "message.Picking_process_statu_msg.license"); ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( 3, this->license(), output); } // required .message.Search_space_step_statu search_space_step = 4; if (cached_has_bits & 0x00000004u) { ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( 4, *this->search_space_step_, output); } // required .message.Dispatch_pick_step_statu dispatch_step = 5; if (cached_has_bits & 0x00000008u) { ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( 5, *this->dispatch_step_, output); } // required .message.Release_space_step_statu release_space_step = 6; if (cached_has_bits & 0x00000010u) { ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( 6, *this->release_space_step_, output); } // required .message.Waitfor_leave_step_statu waitfor_leave = 7; if (cached_has_bits & 0x00000020u) { ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( 7, *this->waitfor_leave_, output); } if (_internal_metadata_.have_unknown_fields()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( _internal_metadata_.unknown_fields(), output); } // @@protoc_insertion_point(serialize_end:message.Picking_process_statu_msg) } ::google::protobuf::uint8* Picking_process_statu_msg::InternalSerializeWithCachedSizesToArray( bool deterministic, ::google::protobuf::uint8* target) const { (void)deterministic; // Unused // @@protoc_insertion_point(serialize_to_array_start:message.Picking_process_statu_msg) ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; // required .message.Base_info base_info = 1; if (cached_has_bits & 0x00000002u) { target = ::google::protobuf::internal::WireFormatLite:: InternalWriteMessageToArray( 1, *this->base_info_, deterministic, target); } // required int32 terminal_id = 2; if (cached_has_bits & 0x00000040u) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->terminal_id(), target); } // required string license = 3; if (cached_has_bits & 0x00000001u) { ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( this->license().data(), static_cast(this->license().length()), ::google::protobuf::internal::WireFormat::SERIALIZE, "message.Picking_process_statu_msg.license"); target = ::google::protobuf::internal::WireFormatLite::WriteStringToArray( 3, this->license(), target); } // required .message.Search_space_step_statu search_space_step = 4; if (cached_has_bits & 0x00000004u) { target = ::google::protobuf::internal::WireFormatLite:: InternalWriteMessageToArray( 4, *this->search_space_step_, deterministic, target); } // required .message.Dispatch_pick_step_statu dispatch_step = 5; if (cached_has_bits & 0x00000008u) { target = ::google::protobuf::internal::WireFormatLite:: InternalWriteMessageToArray( 5, *this->dispatch_step_, deterministic, target); } // required .message.Release_space_step_statu release_space_step = 6; if (cached_has_bits & 0x00000010u) { target = ::google::protobuf::internal::WireFormatLite:: InternalWriteMessageToArray( 6, *this->release_space_step_, deterministic, target); } // required .message.Waitfor_leave_step_statu waitfor_leave = 7; if (cached_has_bits & 0x00000020u) { target = ::google::protobuf::internal::WireFormatLite:: InternalWriteMessageToArray( 7, *this->waitfor_leave_, 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.Picking_process_statu_msg) return target; } size_t Picking_process_statu_msg::RequiredFieldsByteSizeFallback() const { // @@protoc_insertion_point(required_fields_byte_size_fallback_start:message.Picking_process_statu_msg) size_t total_size = 0; if (has_license()) { // required string license = 3; total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( this->license()); } if (has_base_info()) { // required .message.Base_info base_info = 1; total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( *this->base_info_); } if (has_search_space_step()) { // required .message.Search_space_step_statu search_space_step = 4; total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( *this->search_space_step_); } if (has_dispatch_step()) { // required .message.Dispatch_pick_step_statu dispatch_step = 5; total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( *this->dispatch_step_); } if (has_release_space_step()) { // required .message.Release_space_step_statu release_space_step = 6; total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( *this->release_space_step_); } if (has_waitfor_leave()) { // required .message.Waitfor_leave_step_statu waitfor_leave = 7; total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( *this->waitfor_leave_); } if (has_terminal_id()) { // required int32 terminal_id = 2; total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->terminal_id()); } return total_size; } size_t Picking_process_statu_msg::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:message.Picking_process_statu_msg) size_t total_size = 0; if (_internal_metadata_.have_unknown_fields()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( _internal_metadata_.unknown_fields()); } if (((_has_bits_[0] & 0x0000007f) ^ 0x0000007f) == 0) { // All required fields are present. // required string license = 3; total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( this->license()); // required .message.Base_info base_info = 1; total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( *this->base_info_); // required .message.Search_space_step_statu search_space_step = 4; total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( *this->search_space_step_); // required .message.Dispatch_pick_step_statu dispatch_step = 5; total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( *this->dispatch_step_); // required .message.Release_space_step_statu release_space_step = 6; total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( *this->release_space_step_); // required .message.Waitfor_leave_step_statu waitfor_leave = 7; total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( *this->waitfor_leave_); // required int32 terminal_id = 2; total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->terminal_id()); } else { total_size += RequiredFieldsByteSizeFallback(); } int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = cached_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void Picking_process_statu_msg::MergeFrom(const ::google::protobuf::Message& from) { // @@protoc_insertion_point(generalized_merge_from_start:message.Picking_process_statu_msg) GOOGLE_DCHECK_NE(&from, this); const Picking_process_statu_msg* source = ::google::protobuf::internal::DynamicCastToGenerated( &from); if (source == NULL) { // @@protoc_insertion_point(generalized_merge_from_cast_fail:message.Picking_process_statu_msg) ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { // @@protoc_insertion_point(generalized_merge_from_cast_success:message.Picking_process_statu_msg) MergeFrom(*source); } } void Picking_process_statu_msg::MergeFrom(const Picking_process_statu_msg& from) { // @@protoc_insertion_point(class_specific_merge_from_start:message.Picking_process_statu_msg) 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 & 127u) { if (cached_has_bits & 0x00000001u) { set_has_license(); license_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.license_); } if (cached_has_bits & 0x00000002u) { mutable_base_info()->::message::Base_info::MergeFrom(from.base_info()); } if (cached_has_bits & 0x00000004u) { mutable_search_space_step()->::message::Search_space_step_statu::MergeFrom(from.search_space_step()); } if (cached_has_bits & 0x00000008u) { mutable_dispatch_step()->::message::Dispatch_pick_step_statu::MergeFrom(from.dispatch_step()); } if (cached_has_bits & 0x00000010u) { mutable_release_space_step()->::message::Release_space_step_statu::MergeFrom(from.release_space_step()); } if (cached_has_bits & 0x00000020u) { mutable_waitfor_leave()->::message::Waitfor_leave_step_statu::MergeFrom(from.waitfor_leave()); } if (cached_has_bits & 0x00000040u) { terminal_id_ = from.terminal_id_; } _has_bits_[0] |= cached_has_bits; } } void Picking_process_statu_msg::CopyFrom(const ::google::protobuf::Message& from) { // @@protoc_insertion_point(generalized_copy_from_start:message.Picking_process_statu_msg) if (&from == this) return; Clear(); MergeFrom(from); } void Picking_process_statu_msg::CopyFrom(const Picking_process_statu_msg& from) { // @@protoc_insertion_point(class_specific_copy_from_start:message.Picking_process_statu_msg) if (&from == this) return; Clear(); MergeFrom(from); } bool Picking_process_statu_msg::IsInitialized() const { if ((_has_bits_[0] & 0x0000007f) != 0x0000007f) return false; if (has_base_info()) { if (!this->base_info_->IsInitialized()) return false; } if (has_search_space_step()) { if (!this->search_space_step_->IsInitialized()) return false; } if (has_dispatch_step()) { if (!this->dispatch_step_->IsInitialized()) return false; } if (has_release_space_step()) { if (!this->release_space_step_->IsInitialized()) return false; } if (has_waitfor_leave()) { if (!this->waitfor_leave_->IsInitialized()) return false; } return true; } void Picking_process_statu_msg::Swap(Picking_process_statu_msg* other) { if (other == this) return; InternalSwap(other); } void Picking_process_statu_msg::InternalSwap(Picking_process_statu_msg* other) { using std::swap; license_.Swap(&other->license_); swap(base_info_, other->base_info_); swap(search_space_step_, other->search_space_step_); swap(dispatch_step_, other->dispatch_step_); swap(release_space_step_, other->release_space_step_); swap(waitfor_leave_, other->waitfor_leave_); swap(terminal_id_, other->terminal_id_); swap(_has_bits_[0], other->_has_bits_[0]); _internal_metadata_.Swap(&other->_internal_metadata_); swap(_cached_size_, other->_cached_size_); } ::google::protobuf::Metadata Picking_process_statu_msg::GetMetadata() const { protobuf_process_5fmessage_2eproto::protobuf_AssignDescriptorsOnce(); return ::protobuf_process_5fmessage_2eproto::file_level_metadata[kIndexInFileMessages]; } // @@protoc_insertion_point(namespace_scope) } // namespace message // @@protoc_insertion_point(global_scope)