// Generated by the protocol buffer compiler. DO NOT EDIT! // source: message.proto #include "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) class measure_infoDefaultTypeInternal { public: ::google::protobuf::internal::ExplicitlyConstructed _instance; } _measure_info_default_instance_; class parkspace_infoDefaultTypeInternal { public: ::google::protobuf::internal::ExplicitlyConstructed _instance; } _parkspace_info_default_instance_; class table_statuDefaultTypeInternal { public: ::google::protobuf::internal::ExplicitlyConstructed _instance; } _table_statu_default_instance_; class park_tableDefaultTypeInternal { public: ::google::protobuf::internal::ExplicitlyConstructed _instance; } _park_table_default_instance_; class pick_tableDefaultTypeInternal { public: ::google::protobuf::internal::ExplicitlyConstructed _instance; } _pick_table_default_instance_; class out_mcpu_statuDefaultTypeInternal { public: ::google::protobuf::internal::ExplicitlyConstructed _instance; } _out_mcpu_statu_default_instance_; class in_mcpu_statuDefaultTypeInternal { public: ::google::protobuf::internal::ExplicitlyConstructed _instance; } _in_mcpu_statu_default_instance_; class measure_statuDefaultTypeInternal { public: ::google::protobuf::internal::ExplicitlyConstructed _instance; } _measure_statu_default_instance_; class dispatch_region_infoDefaultTypeInternal { public: ::google::protobuf::internal::ExplicitlyConstructed _instance; } _dispatch_region_info_default_instance_; class dispatch_node_statuDefaultTypeInternal { public: ::google::protobuf::internal::ExplicitlyConstructed _instance; } _dispatch_node_statu_default_instance_; namespace protobuf_message_2eproto { void InitDefaultsmeasure_infoImpl() { GOOGLE_PROTOBUF_VERIFY_VERSION; #ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS ::google::protobuf::internal::InitProtobufDefaultsForceUnique(); #else ::google::protobuf::internal::InitProtobufDefaults(); #endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS { void* ptr = &::_measure_info_default_instance_; new (ptr) ::measure_info(); ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); } ::measure_info::InitAsDefaultInstance(); } void InitDefaultsmeasure_info() { static GOOGLE_PROTOBUF_DECLARE_ONCE(once); ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsmeasure_infoImpl); } void InitDefaultsparkspace_infoImpl() { GOOGLE_PROTOBUF_VERIFY_VERSION; #ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS ::google::protobuf::internal::InitProtobufDefaultsForceUnique(); #else ::google::protobuf::internal::InitProtobufDefaults(); #endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS { void* ptr = &::_parkspace_info_default_instance_; new (ptr) ::parkspace_info(); ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); } ::parkspace_info::InitAsDefaultInstance(); } void InitDefaultsparkspace_info() { static GOOGLE_PROTOBUF_DECLARE_ONCE(once); ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsparkspace_infoImpl); } void InitDefaultstable_statuImpl() { GOOGLE_PROTOBUF_VERIFY_VERSION; #ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS ::google::protobuf::internal::InitProtobufDefaultsForceUnique(); #else ::google::protobuf::internal::InitProtobufDefaults(); #endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS { void* ptr = &::_table_statu_default_instance_; new (ptr) ::table_statu(); ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); } ::table_statu::InitAsDefaultInstance(); } void InitDefaultstable_statu() { static GOOGLE_PROTOBUF_DECLARE_ONCE(once); ::google::protobuf::GoogleOnceInit(&once, &InitDefaultstable_statuImpl); } void InitDefaultspark_tableImpl() { 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_2eproto::InitDefaultstable_statu(); protobuf_message_2eproto::InitDefaultsmeasure_info(); protobuf_message_2eproto::InitDefaultsparkspace_info(); { void* ptr = &::_park_table_default_instance_; new (ptr) ::park_table(); ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); } ::park_table::InitAsDefaultInstance(); } void InitDefaultspark_table() { static GOOGLE_PROTOBUF_DECLARE_ONCE(once); ::google::protobuf::GoogleOnceInit(&once, &InitDefaultspark_tableImpl); } void InitDefaultspick_tableImpl() { 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_2eproto::InitDefaultstable_statu(); protobuf_message_2eproto::InitDefaultsparkspace_info(); protobuf_message_2eproto::InitDefaultsmeasure_info(); { void* ptr = &::_pick_table_default_instance_; new (ptr) ::pick_table(); ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); } ::pick_table::InitAsDefaultInstance(); } void InitDefaultspick_table() { static GOOGLE_PROTOBUF_DECLARE_ONCE(once); ::google::protobuf::GoogleOnceInit(&once, &InitDefaultspick_tableImpl); } void InitDefaultsout_mcpu_statuImpl() { GOOGLE_PROTOBUF_VERIFY_VERSION; #ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS ::google::protobuf::internal::InitProtobufDefaultsForceUnique(); #else ::google::protobuf::internal::InitProtobufDefaults(); #endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS { void* ptr = &::_out_mcpu_statu_default_instance_; new (ptr) ::out_mcpu_statu(); ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); } ::out_mcpu_statu::InitAsDefaultInstance(); } void InitDefaultsout_mcpu_statu() { static GOOGLE_PROTOBUF_DECLARE_ONCE(once); ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsout_mcpu_statuImpl); } void InitDefaultsin_mcpu_statuImpl() { GOOGLE_PROTOBUF_VERIFY_VERSION; #ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS ::google::protobuf::internal::InitProtobufDefaultsForceUnique(); #else ::google::protobuf::internal::InitProtobufDefaults(); #endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS { void* ptr = &::_in_mcpu_statu_default_instance_; new (ptr) ::in_mcpu_statu(); ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); } ::in_mcpu_statu::InitAsDefaultInstance(); } void InitDefaultsin_mcpu_statu() { static GOOGLE_PROTOBUF_DECLARE_ONCE(once); ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsin_mcpu_statuImpl); } void InitDefaultsmeasure_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_2eproto::InitDefaultsmeasure_info(); { void* ptr = &::_measure_statu_default_instance_; new (ptr) ::measure_statu(); ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); } ::measure_statu::InitAsDefaultInstance(); } void InitDefaultsmeasure_statu() { static GOOGLE_PROTOBUF_DECLARE_ONCE(once); ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsmeasure_statuImpl); } void InitDefaultsdispatch_region_infoImpl() { GOOGLE_PROTOBUF_VERIFY_VERSION; #ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS ::google::protobuf::internal::InitProtobufDefaultsForceUnique(); #else ::google::protobuf::internal::InitProtobufDefaults(); #endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS { void* ptr = &::_dispatch_region_info_default_instance_; new (ptr) ::dispatch_region_info(); ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); } ::dispatch_region_info::InitAsDefaultInstance(); } void InitDefaultsdispatch_region_info() { static GOOGLE_PROTOBUF_DECLARE_ONCE(once); ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsdispatch_region_infoImpl); } void InitDefaultsdispatch_node_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_2eproto::InitDefaultspark_table(); protobuf_message_2eproto::InitDefaultspick_table(); protobuf_message_2eproto::InitDefaultsdispatch_region_info(); { void* ptr = &::_dispatch_node_statu_default_instance_; new (ptr) ::dispatch_node_statu(); ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); } ::dispatch_node_statu::InitAsDefaultInstance(); } void InitDefaultsdispatch_node_statu() { static GOOGLE_PROTOBUF_DECLARE_ONCE(once); ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsdispatch_node_statuImpl); } ::google::protobuf::Metadata file_level_metadata[10]; const ::google::protobuf::EnumDescriptor* file_level_enum_descriptors[2]; const ::google::protobuf::uint32 TableStruct::offsets[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = { ~0u, // no _has_bits_ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::measure_info, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::measure_info, cx_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::measure_info, cy_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::measure_info, theta_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::measure_info, length_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::measure_info, width_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::measure_info, height_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::measure_info, wheelbase_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::measure_info, front_theta_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::measure_info, border_statu_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::measure_info, ground_status_), ~0u, // no _has_bits_ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::parkspace_info, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::parkspace_info, id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::parkspace_info, unit_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::parkspace_info, floor_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::parkspace_info, room_id_), ~0u, // no _has_bits_ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::table_statu, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::table_statu, execute_statu_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::table_statu, statu_description_), ~0u, // no _has_bits_ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::park_table, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::park_table, statu_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::park_table, queue_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::park_table, car_number_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::park_table, unit_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::park_table, terminal_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::park_table, primary_key_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::park_table, entrance_measure_info_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::park_table, allocated_space_info_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::park_table, actually_measure_info_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::park_table, actually_space_info_), ~0u, // no _has_bits_ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::pick_table, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::pick_table, statu_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::pick_table, queue_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::pick_table, car_number_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::pick_table, unit_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::pick_table, terminal_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::pick_table, primary_key_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::pick_table, actually_space_info_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::pick_table, actually_measure_info_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::pick_table, export_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::pick_table, is_leaved_), ~0u, // no _has_bits_ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::out_mcpu_statu, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::out_mcpu_statu, door_statu_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::out_mcpu_statu, outside_safety_), ~0u, // no _has_bits_ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::in_mcpu_statu, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::in_mcpu_statu, door_statu_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::in_mcpu_statu, back_io_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::in_mcpu_statu, is_occupy_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::in_mcpu_statu, heighth_), ~0u, // no _has_bits_ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::measure_statu, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::measure_statu, info_), ~0u, // no _has_bits_ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::dispatch_region_info, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::dispatch_region_info, terminal_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::dispatch_region_info, turnplate_angle_min_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::dispatch_region_info, turnplate_angle_max_), ~0u, // no _has_bits_ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::dispatch_node_statu, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::dispatch_node_statu, statu_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::dispatch_node_statu, idle_stop_floor_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::dispatch_node_statu, running_pack_info_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::dispatch_node_statu, running_pick_info_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::dispatch_node_statu, unit_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::dispatch_node_statu, plc_heartbeat_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::dispatch_node_statu, plc_status_info_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::dispatch_node_statu, dispatch_region_info_vector_), }; static const ::google::protobuf::internal::MigrationSchema schemas[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = { { 0, -1, sizeof(::measure_info)}, { 15, -1, sizeof(::parkspace_info)}, { 24, -1, sizeof(::table_statu)}, { 31, -1, sizeof(::park_table)}, { 46, -1, sizeof(::pick_table)}, { 61, -1, sizeof(::out_mcpu_statu)}, { 68, -1, sizeof(::in_mcpu_statu)}, { 77, -1, sizeof(::measure_statu)}, { 83, -1, sizeof(::dispatch_region_info)}, { 91, -1, sizeof(::dispatch_node_statu)}, }; static ::google::protobuf::Message const * const file_default_instances[] = { reinterpret_cast(&::_measure_info_default_instance_), reinterpret_cast(&::_parkspace_info_default_instance_), reinterpret_cast(&::_table_statu_default_instance_), reinterpret_cast(&::_park_table_default_instance_), reinterpret_cast(&::_pick_table_default_instance_), reinterpret_cast(&::_out_mcpu_statu_default_instance_), reinterpret_cast(&::_in_mcpu_statu_default_instance_), reinterpret_cast(&::_measure_statu_default_instance_), reinterpret_cast(&::_dispatch_region_info_default_instance_), reinterpret_cast(&::_dispatch_node_statu_default_instance_), }; void protobuf_AssignDescriptors() { AddDescriptors(); ::google::protobuf::MessageFactory* factory = NULL; AssignDescriptors( "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\rmessage.proto\"\271\001\n\014measure_info\022\n\n\002cx\030\001" " \001(\002\022\n\n\002cy\030\002 \001(\002\022\r\n\005theta\030\003 \001(\002\022\016\n\006lengt" "h\030\004 \001(\002\022\r\n\005width\030\005 \001(\002\022\016\n\006height\030\006 \001(\002\022\021" "\n\twheelbase\030\007 \001(\002\022\023\n\013front_theta\030\010 \001(\002\022\024" "\n\014border_statu\030\t \001(\005\022\025\n\rground_status\030\n " "\001(\005\"M\n\016parkspace_info\022\n\n\002id\030\001 \001(\005\022\017\n\007uni" "t_id\030\002 \001(\005\022\r\n\005floor\030\003 \001(\005\022\017\n\007room_id\030\004 \001" "(\005\"G\n\013table_statu\022\035\n\rexecute_statu\030\001 \001(\016" "2\006.STATU\022\031\n\021statu_description\030\002 \001(\t\"\303\002\n\n" "park_table\022\033\n\005statu\030\001 \001(\0132\014.table_statu\022" "\020\n\010queue_id\030\002 \001(\005\022\022\n\ncar_number\030\003 \001(\t\022\017\n" "\007unit_id\030\004 \001(\005\022\023\n\013terminal_id\030\005 \001(\005\022\023\n\013p" "rimary_key\030\006 \001(\t\022,\n\025entrance_measure_inf" "o\030\007 \001(\0132\r.measure_info\022-\n\024allocated_spac" "e_info\030\010 \001(\0132\017.parkspace_info\022,\n\025actuall" "y_measure_info\030\t \001(\0132\r.measure_info\022,\n\023a" "ctually_space_info\030\n \001(\0132\017.parkspace_inf" "o\"\214\002\n\npick_table\022\033\n\005statu\030\001 \001(\0132\014.table_" "statu\022\020\n\010queue_id\030\002 \001(\005\022\022\n\ncar_number\030\003 " "\001(\t\022\017\n\007unit_id\030\004 \001(\005\022\023\n\013terminal_id\030\005 \001(" "\005\022\023\n\013primary_key\030\006 \001(\t\022,\n\023actually_space" "_info\030\007 \001(\0132\017.parkspace_info\022,\n\025actually" "_measure_info\030\010 \001(\0132\r.measure_info\022\021\n\tex" "port_id\030\t \001(\005\022\021\n\tis_leaved\030\n \001(\010\"<\n\016out_" "mcpu_statu\022\022\n\ndoor_statu\030\001 \001(\005\022\026\n\016outsid" "e_safety\030\002 \001(\005\"X\n\rin_mcpu_statu\022\022\n\ndoor_" "statu\030\001 \001(\005\022\017\n\007back_io\030\002 \001(\005\022\021\n\tis_occup" "y\030\003 \001(\005\022\017\n\007heighth\030\004 \001(\005\",\n\rmeasure_stat" "u\022\033\n\004info\030\001 \001(\0132\r.measure_info\"e\n\024dispat" "ch_region_info\022\023\n\013terminal_id\030\001 \001(\005\022\033\n\023t" "urnplate_angle_min\030\002 \001(\002\022\033\n\023turnplate_an" "gle_max\030\003 \001(\002\"\231\002\n\023dispatch_node_statu\022\034\n" "\005statu\030\001 \001(\0162\r.CarrierStatu\022\027\n\017idle_stop" "_floor\030\002 \001(\005\022&\n\021running_pack_info\030\003 \001(\0132" "\013.park_table\022&\n\021running_pick_info\030\004 \001(\0132" "\013.pick_table\022\017\n\007unit_id\030\005 \001(\005\022\025\n\rplc_hea" "rtbeat\030\006 \001(\005\022\027\n\017plc_status_info\030\007 \001(\005\022:\n" "\033dispatch_region_info_vector\030\010 \003(\0132\025.dis" "patch_region_info* \n\005STATU\022\013\n\007eNormal\020\000\022" "\n\n\006eError\020\001*0\n\014CarrierStatu\022\t\n\005eIdle\020\000\022\t" "\n\005eBusy\020\001\022\n\n\006eFault\020\002b\006proto3" }; ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( descriptor, 1629); ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( "message.proto", &protobuf_RegisterTypes); } void AddDescriptors() { static GOOGLE_PROTOBUF_DECLARE_ONCE(once); ::google::protobuf::GoogleOnceInit(&once, &AddDescriptorsImpl); } // Force AddDescriptors() to be called at dynamic initialization time. struct StaticDescriptorInitializer { StaticDescriptorInitializer() { AddDescriptors(); } } static_descriptor_initializer; } // namespace protobuf_message_2eproto const ::google::protobuf::EnumDescriptor* STATU_descriptor() { protobuf_message_2eproto::protobuf_AssignDescriptorsOnce(); return protobuf_message_2eproto::file_level_enum_descriptors[0]; } bool STATU_IsValid(int value) { switch (value) { case 0: case 1: return true; default: return false; } } const ::google::protobuf::EnumDescriptor* CarrierStatu_descriptor() { protobuf_message_2eproto::protobuf_AssignDescriptorsOnce(); return protobuf_message_2eproto::file_level_enum_descriptors[1]; } bool CarrierStatu_IsValid(int value) { switch (value) { case 0: case 1: case 2: return true; default: return false; } } // =================================================================== void measure_info::InitAsDefaultInstance() { } #if !defined(_MSC_VER) || _MSC_VER >= 1900 const int measure_info::kCxFieldNumber; const int measure_info::kCyFieldNumber; const int measure_info::kThetaFieldNumber; const int measure_info::kLengthFieldNumber; const int measure_info::kWidthFieldNumber; const int measure_info::kHeightFieldNumber; const int measure_info::kWheelbaseFieldNumber; const int measure_info::kFrontThetaFieldNumber; const int measure_info::kBorderStatuFieldNumber; const int measure_info::kGroundStatusFieldNumber; #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 measure_info::measure_info() : ::google::protobuf::Message(), _internal_metadata_(NULL) { if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) { ::protobuf_message_2eproto::InitDefaultsmeasure_info(); } SharedCtor(); // @@protoc_insertion_point(constructor:measure_info) } measure_info::measure_info(const measure_info& from) : ::google::protobuf::Message(), _internal_metadata_(NULL), _cached_size_(0) { _internal_metadata_.MergeFrom(from._internal_metadata_); ::memcpy(&cx_, &from.cx_, static_cast(reinterpret_cast(&ground_status_) - reinterpret_cast(&cx_)) + sizeof(ground_status_)); // @@protoc_insertion_point(copy_constructor:measure_info) } void measure_info::SharedCtor() { ::memset(&cx_, 0, static_cast( reinterpret_cast(&ground_status_) - reinterpret_cast(&cx_)) + sizeof(ground_status_)); _cached_size_ = 0; } measure_info::~measure_info() { // @@protoc_insertion_point(destructor:measure_info) SharedDtor(); } void measure_info::SharedDtor() { } void measure_info::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* measure_info::descriptor() { ::protobuf_message_2eproto::protobuf_AssignDescriptorsOnce(); return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; } const measure_info& measure_info::default_instance() { ::protobuf_message_2eproto::InitDefaultsmeasure_info(); return *internal_default_instance(); } measure_info* measure_info::New(::google::protobuf::Arena* arena) const { measure_info* n = new measure_info; if (arena != NULL) { arena->Own(n); } return n; } void measure_info::Clear() { // @@protoc_insertion_point(message_clear_start:measure_info) ::google::protobuf::uint32 cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; ::memset(&cx_, 0, static_cast( reinterpret_cast(&ground_status_) - reinterpret_cast(&cx_)) + sizeof(ground_status_)); _internal_metadata_.Clear(); } bool measure_info::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:measure_info) 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)) { // float cx = 1; case 1: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(13u /* 13 & 0xFF */)) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>( input, &cx_))); } else { goto handle_unusual; } break; } // float cy = 2; case 2: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(21u /* 21 & 0xFF */)) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>( input, &cy_))); } else { goto handle_unusual; } break; } // float theta = 3; case 3: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(29u /* 29 & 0xFF */)) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>( input, &theta_))); } else { goto handle_unusual; } break; } // float length = 4; case 4: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(37u /* 37 & 0xFF */)) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>( input, &length_))); } else { goto handle_unusual; } break; } // float width = 5; case 5: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(45u /* 45 & 0xFF */)) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>( input, &width_))); } else { goto handle_unusual; } break; } // float height = 6; case 6: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(53u /* 53 & 0xFF */)) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>( input, &height_))); } else { goto handle_unusual; } break; } // float wheelbase = 7; case 7: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(61u /* 61 & 0xFF */)) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>( input, &wheelbase_))); } else { goto handle_unusual; } break; } // float front_theta = 8; case 8: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(69u /* 69 & 0xFF */)) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>( input, &front_theta_))); } else { goto handle_unusual; } break; } // int32 border_statu = 9; case 9: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(72u /* 72 & 0xFF */)) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &border_statu_))); } else { goto handle_unusual; } break; } // int32 ground_status = 10; case 10: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(80u /* 80 & 0xFF */)) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &ground_status_))); } 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:measure_info) return true; failure: // @@protoc_insertion_point(parse_failure:measure_info) return false; #undef DO_ } void measure_info::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // @@protoc_insertion_point(serialize_start:measure_info) ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; // float cx = 1; if (this->cx() != 0) { ::google::protobuf::internal::WireFormatLite::WriteFloat(1, this->cx(), output); } // float cy = 2; if (this->cy() != 0) { ::google::protobuf::internal::WireFormatLite::WriteFloat(2, this->cy(), output); } // float theta = 3; if (this->theta() != 0) { ::google::protobuf::internal::WireFormatLite::WriteFloat(3, this->theta(), output); } // float length = 4; if (this->length() != 0) { ::google::protobuf::internal::WireFormatLite::WriteFloat(4, this->length(), output); } // float width = 5; if (this->width() != 0) { ::google::protobuf::internal::WireFormatLite::WriteFloat(5, this->width(), output); } // float height = 6; if (this->height() != 0) { ::google::protobuf::internal::WireFormatLite::WriteFloat(6, this->height(), output); } // float wheelbase = 7; if (this->wheelbase() != 0) { ::google::protobuf::internal::WireFormatLite::WriteFloat(7, this->wheelbase(), output); } // float front_theta = 8; if (this->front_theta() != 0) { ::google::protobuf::internal::WireFormatLite::WriteFloat(8, this->front_theta(), output); } // int32 border_statu = 9; if (this->border_statu() != 0) { ::google::protobuf::internal::WireFormatLite::WriteInt32(9, this->border_statu(), output); } // int32 ground_status = 10; if (this->ground_status() != 0) { ::google::protobuf::internal::WireFormatLite::WriteInt32(10, this->ground_status(), output); } if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output); } // @@protoc_insertion_point(serialize_end:measure_info) } ::google::protobuf::uint8* measure_info::InternalSerializeWithCachedSizesToArray( bool deterministic, ::google::protobuf::uint8* target) const { (void)deterministic; // Unused // @@protoc_insertion_point(serialize_to_array_start:measure_info) ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; // float cx = 1; if (this->cx() != 0) { target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(1, this->cx(), target); } // float cy = 2; if (this->cy() != 0) { target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(2, this->cy(), target); } // float theta = 3; if (this->theta() != 0) { target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(3, this->theta(), target); } // float length = 4; if (this->length() != 0) { target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(4, this->length(), target); } // float width = 5; if (this->width() != 0) { target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(5, this->width(), target); } // float height = 6; if (this->height() != 0) { target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(6, this->height(), target); } // float wheelbase = 7; if (this->wheelbase() != 0) { target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(7, this->wheelbase(), target); } // float front_theta = 8; if (this->front_theta() != 0) { target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(8, this->front_theta(), target); } // int32 border_statu = 9; if (this->border_statu() != 0) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(9, this->border_statu(), target); } // int32 ground_status = 10; if (this->ground_status() != 0) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(10, this->ground_status(), target); } if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target); } // @@protoc_insertion_point(serialize_to_array_end:measure_info) return target; } size_t measure_info::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:measure_info) size_t total_size = 0; if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance())); } // float cx = 1; if (this->cx() != 0) { total_size += 1 + 4; } // float cy = 2; if (this->cy() != 0) { total_size += 1 + 4; } // float theta = 3; if (this->theta() != 0) { total_size += 1 + 4; } // float length = 4; if (this->length() != 0) { total_size += 1 + 4; } // float width = 5; if (this->width() != 0) { total_size += 1 + 4; } // float height = 6; if (this->height() != 0) { total_size += 1 + 4; } // float wheelbase = 7; if (this->wheelbase() != 0) { total_size += 1 + 4; } // float front_theta = 8; if (this->front_theta() != 0) { total_size += 1 + 4; } // int32 border_statu = 9; if (this->border_statu() != 0) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->border_statu()); } // int32 ground_status = 10; if (this->ground_status() != 0) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->ground_status()); } 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_info::MergeFrom(const ::google::protobuf::Message& from) { // @@protoc_insertion_point(generalized_merge_from_start:measure_info) GOOGLE_DCHECK_NE(&from, this); const measure_info* source = ::google::protobuf::internal::DynamicCastToGenerated( &from); if (source == NULL) { // @@protoc_insertion_point(generalized_merge_from_cast_fail:measure_info) ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { // @@protoc_insertion_point(generalized_merge_from_cast_success:measure_info) MergeFrom(*source); } } void measure_info::MergeFrom(const measure_info& from) { // @@protoc_insertion_point(class_specific_merge_from_start:measure_info) GOOGLE_DCHECK_NE(&from, this); _internal_metadata_.MergeFrom(from._internal_metadata_); ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; if (from.cx() != 0) { set_cx(from.cx()); } if (from.cy() != 0) { set_cy(from.cy()); } if (from.theta() != 0) { set_theta(from.theta()); } if (from.length() != 0) { set_length(from.length()); } if (from.width() != 0) { set_width(from.width()); } if (from.height() != 0) { set_height(from.height()); } if (from.wheelbase() != 0) { set_wheelbase(from.wheelbase()); } if (from.front_theta() != 0) { set_front_theta(from.front_theta()); } if (from.border_statu() != 0) { set_border_statu(from.border_statu()); } if (from.ground_status() != 0) { set_ground_status(from.ground_status()); } } void measure_info::CopyFrom(const ::google::protobuf::Message& from) { // @@protoc_insertion_point(generalized_copy_from_start:measure_info) if (&from == this) return; Clear(); MergeFrom(from); } void measure_info::CopyFrom(const measure_info& from) { // @@protoc_insertion_point(class_specific_copy_from_start:measure_info) if (&from == this) return; Clear(); MergeFrom(from); } bool measure_info::IsInitialized() const { return true; } void measure_info::Swap(measure_info* other) { if (other == this) return; InternalSwap(other); } void measure_info::InternalSwap(measure_info* other) { using std::swap; swap(cx_, other->cx_); swap(cy_, other->cy_); swap(theta_, other->theta_); swap(length_, other->length_); swap(width_, other->width_); swap(height_, other->height_); swap(wheelbase_, other->wheelbase_); swap(front_theta_, other->front_theta_); swap(border_statu_, other->border_statu_); swap(ground_status_, other->ground_status_); _internal_metadata_.Swap(&other->_internal_metadata_); swap(_cached_size_, other->_cached_size_); } ::google::protobuf::Metadata measure_info::GetMetadata() const { protobuf_message_2eproto::protobuf_AssignDescriptorsOnce(); return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages]; } // =================================================================== void parkspace_info::InitAsDefaultInstance() { } #if !defined(_MSC_VER) || _MSC_VER >= 1900 const int parkspace_info::kIdFieldNumber; const int parkspace_info::kUnitIdFieldNumber; const int parkspace_info::kFloorFieldNumber; const int parkspace_info::kRoomIdFieldNumber; #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 parkspace_info::parkspace_info() : ::google::protobuf::Message(), _internal_metadata_(NULL) { if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) { ::protobuf_message_2eproto::InitDefaultsparkspace_info(); } SharedCtor(); // @@protoc_insertion_point(constructor:parkspace_info) } parkspace_info::parkspace_info(const parkspace_info& from) : ::google::protobuf::Message(), _internal_metadata_(NULL), _cached_size_(0) { _internal_metadata_.MergeFrom(from._internal_metadata_); ::memcpy(&id_, &from.id_, static_cast(reinterpret_cast(&room_id_) - reinterpret_cast(&id_)) + sizeof(room_id_)); // @@protoc_insertion_point(copy_constructor:parkspace_info) } void parkspace_info::SharedCtor() { ::memset(&id_, 0, static_cast( reinterpret_cast(&room_id_) - reinterpret_cast(&id_)) + sizeof(room_id_)); _cached_size_ = 0; } parkspace_info::~parkspace_info() { // @@protoc_insertion_point(destructor:parkspace_info) SharedDtor(); } void parkspace_info::SharedDtor() { } void parkspace_info::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* parkspace_info::descriptor() { ::protobuf_message_2eproto::protobuf_AssignDescriptorsOnce(); return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; } const parkspace_info& parkspace_info::default_instance() { ::protobuf_message_2eproto::InitDefaultsparkspace_info(); return *internal_default_instance(); } parkspace_info* parkspace_info::New(::google::protobuf::Arena* arena) const { parkspace_info* n = new parkspace_info; if (arena != NULL) { arena->Own(n); } return n; } void parkspace_info::Clear() { // @@protoc_insertion_point(message_clear_start:parkspace_info) ::google::protobuf::uint32 cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; ::memset(&id_, 0, static_cast( reinterpret_cast(&room_id_) - reinterpret_cast(&id_)) + sizeof(room_id_)); _internal_metadata_.Clear(); } bool parkspace_info::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:parkspace_info) 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)) { // int32 id = 1; case 1: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &id_))); } else { goto handle_unusual; } break; } // int32 unit_id = 2; case 2: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &unit_id_))); } else { goto handle_unusual; } break; } // int32 floor = 3; case 3: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(24u /* 24 & 0xFF */)) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &floor_))); } else { goto handle_unusual; } break; } // int32 room_id = 4; case 4: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(32u /* 32 & 0xFF */)) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &room_id_))); } 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:parkspace_info) return true; failure: // @@protoc_insertion_point(parse_failure:parkspace_info) return false; #undef DO_ } void parkspace_info::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // @@protoc_insertion_point(serialize_start:parkspace_info) ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; // int32 id = 1; if (this->id() != 0) { ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->id(), output); } // int32 unit_id = 2; if (this->unit_id() != 0) { ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->unit_id(), output); } // int32 floor = 3; if (this->floor() != 0) { ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->floor(), output); } // int32 room_id = 4; if (this->room_id() != 0) { ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->room_id(), output); } if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output); } // @@protoc_insertion_point(serialize_end:parkspace_info) } ::google::protobuf::uint8* parkspace_info::InternalSerializeWithCachedSizesToArray( bool deterministic, ::google::protobuf::uint8* target) const { (void)deterministic; // Unused // @@protoc_insertion_point(serialize_to_array_start:parkspace_info) ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; // int32 id = 1; if (this->id() != 0) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->id(), target); } // int32 unit_id = 2; if (this->unit_id() != 0) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->unit_id(), target); } // int32 floor = 3; if (this->floor() != 0) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->floor(), target); } // int32 room_id = 4; if (this->room_id() != 0) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->room_id(), target); } if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target); } // @@protoc_insertion_point(serialize_to_array_end:parkspace_info) return target; } size_t parkspace_info::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:parkspace_info) size_t total_size = 0; if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance())); } // int32 id = 1; if (this->id() != 0) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->id()); } // int32 unit_id = 2; if (this->unit_id() != 0) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->unit_id()); } // int32 floor = 3; if (this->floor() != 0) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->floor()); } // int32 room_id = 4; if (this->room_id() != 0) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->room_id()); } 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 parkspace_info::MergeFrom(const ::google::protobuf::Message& from) { // @@protoc_insertion_point(generalized_merge_from_start:parkspace_info) GOOGLE_DCHECK_NE(&from, this); const parkspace_info* source = ::google::protobuf::internal::DynamicCastToGenerated( &from); if (source == NULL) { // @@protoc_insertion_point(generalized_merge_from_cast_fail:parkspace_info) ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { // @@protoc_insertion_point(generalized_merge_from_cast_success:parkspace_info) MergeFrom(*source); } } void parkspace_info::MergeFrom(const parkspace_info& from) { // @@protoc_insertion_point(class_specific_merge_from_start:parkspace_info) GOOGLE_DCHECK_NE(&from, this); _internal_metadata_.MergeFrom(from._internal_metadata_); ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; if (from.id() != 0) { set_id(from.id()); } if (from.unit_id() != 0) { set_unit_id(from.unit_id()); } if (from.floor() != 0) { set_floor(from.floor()); } if (from.room_id() != 0) { set_room_id(from.room_id()); } } void parkspace_info::CopyFrom(const ::google::protobuf::Message& from) { // @@protoc_insertion_point(generalized_copy_from_start:parkspace_info) if (&from == this) return; Clear(); MergeFrom(from); } void parkspace_info::CopyFrom(const parkspace_info& from) { // @@protoc_insertion_point(class_specific_copy_from_start:parkspace_info) if (&from == this) return; Clear(); MergeFrom(from); } bool parkspace_info::IsInitialized() const { return true; } void parkspace_info::Swap(parkspace_info* other) { if (other == this) return; InternalSwap(other); } void parkspace_info::InternalSwap(parkspace_info* other) { using std::swap; swap(id_, other->id_); swap(unit_id_, other->unit_id_); swap(floor_, other->floor_); swap(room_id_, other->room_id_); _internal_metadata_.Swap(&other->_internal_metadata_); swap(_cached_size_, other->_cached_size_); } ::google::protobuf::Metadata parkspace_info::GetMetadata() const { protobuf_message_2eproto::protobuf_AssignDescriptorsOnce(); return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages]; } // =================================================================== void table_statu::InitAsDefaultInstance() { } #if !defined(_MSC_VER) || _MSC_VER >= 1900 const int table_statu::kExecuteStatuFieldNumber; const int table_statu::kStatuDescriptionFieldNumber; #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 table_statu::table_statu() : ::google::protobuf::Message(), _internal_metadata_(NULL) { if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) { ::protobuf_message_2eproto::InitDefaultstable_statu(); } SharedCtor(); // @@protoc_insertion_point(constructor:table_statu) } table_statu::table_statu(const table_statu& from) : ::google::protobuf::Message(), _internal_metadata_(NULL), _cached_size_(0) { _internal_metadata_.MergeFrom(from._internal_metadata_); statu_description_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); if (from.statu_description().size() > 0) { statu_description_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.statu_description_); } execute_statu_ = from.execute_statu_; // @@protoc_insertion_point(copy_constructor:table_statu) } void table_statu::SharedCtor() { statu_description_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); execute_statu_ = 0; _cached_size_ = 0; } table_statu::~table_statu() { // @@protoc_insertion_point(destructor:table_statu) SharedDtor(); } void table_statu::SharedDtor() { statu_description_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } void table_statu::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* table_statu::descriptor() { ::protobuf_message_2eproto::protobuf_AssignDescriptorsOnce(); return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; } const table_statu& table_statu::default_instance() { ::protobuf_message_2eproto::InitDefaultstable_statu(); return *internal_default_instance(); } table_statu* table_statu::New(::google::protobuf::Arena* arena) const { table_statu* n = new table_statu; if (arena != NULL) { arena->Own(n); } return n; } void table_statu::Clear() { // @@protoc_insertion_point(message_clear_start:table_statu) ::google::protobuf::uint32 cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; statu_description_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); execute_statu_ = 0; _internal_metadata_.Clear(); } bool table_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:table_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)) { // .STATU execute_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))); set_execute_statu(static_cast< ::STATU >(value)); } else { goto handle_unusual; } break; } // string statu_description = 2; case 2: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) { DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->mutable_statu_description())); DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->statu_description().data(), static_cast(this->statu_description().length()), ::google::protobuf::internal::WireFormatLite::PARSE, "table_statu.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:table_statu) return true; failure: // @@protoc_insertion_point(parse_failure:table_statu) return false; #undef DO_ } void table_statu::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // @@protoc_insertion_point(serialize_start:table_statu) ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; // .STATU execute_statu = 1; if (this->execute_statu() != 0) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 1, this->execute_statu(), output); } // string statu_description = 2; if (this->statu_description().size() > 0) { ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->statu_description().data(), static_cast(this->statu_description().length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "table_statu.statu_description"); ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( 2, this->statu_description(), output); } if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output); } // @@protoc_insertion_point(serialize_end:table_statu) } ::google::protobuf::uint8* table_statu::InternalSerializeWithCachedSizesToArray( bool deterministic, ::google::protobuf::uint8* target) const { (void)deterministic; // Unused // @@protoc_insertion_point(serialize_to_array_start:table_statu) ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; // .STATU execute_statu = 1; if (this->execute_statu() != 0) { target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( 1, this->execute_statu(), target); } // string statu_description = 2; if (this->statu_description().size() > 0) { ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->statu_description().data(), static_cast(this->statu_description().length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "table_statu.statu_description"); target = ::google::protobuf::internal::WireFormatLite::WriteStringToArray( 2, this->statu_description(), target); } if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target); } // @@protoc_insertion_point(serialize_to_array_end:table_statu) return target; } size_t table_statu::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:table_statu) size_t total_size = 0; if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance())); } // string statu_description = 2; if (this->statu_description().size() > 0) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( this->statu_description()); } // .STATU execute_statu = 1; if (this->execute_statu() != 0) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->execute_statu()); } 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 table_statu::MergeFrom(const ::google::protobuf::Message& from) { // @@protoc_insertion_point(generalized_merge_from_start:table_statu) GOOGLE_DCHECK_NE(&from, this); const table_statu* source = ::google::protobuf::internal::DynamicCastToGenerated( &from); if (source == NULL) { // @@protoc_insertion_point(generalized_merge_from_cast_fail:table_statu) ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { // @@protoc_insertion_point(generalized_merge_from_cast_success:table_statu) MergeFrom(*source); } } void table_statu::MergeFrom(const table_statu& from) { // @@protoc_insertion_point(class_specific_merge_from_start:table_statu) GOOGLE_DCHECK_NE(&from, this); _internal_metadata_.MergeFrom(from._internal_metadata_); ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; if (from.statu_description().size() > 0) { statu_description_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.statu_description_); } if (from.execute_statu() != 0) { set_execute_statu(from.execute_statu()); } } void table_statu::CopyFrom(const ::google::protobuf::Message& from) { // @@protoc_insertion_point(generalized_copy_from_start:table_statu) if (&from == this) return; Clear(); MergeFrom(from); } void table_statu::CopyFrom(const table_statu& from) { // @@protoc_insertion_point(class_specific_copy_from_start:table_statu) if (&from == this) return; Clear(); MergeFrom(from); } bool table_statu::IsInitialized() const { return true; } void table_statu::Swap(table_statu* other) { if (other == this) return; InternalSwap(other); } void table_statu::InternalSwap(table_statu* other) { using std::swap; statu_description_.Swap(&other->statu_description_); swap(execute_statu_, other->execute_statu_); _internal_metadata_.Swap(&other->_internal_metadata_); swap(_cached_size_, other->_cached_size_); } ::google::protobuf::Metadata table_statu::GetMetadata() const { protobuf_message_2eproto::protobuf_AssignDescriptorsOnce(); return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages]; } // =================================================================== void park_table::InitAsDefaultInstance() { ::_park_table_default_instance_._instance.get_mutable()->statu_ = const_cast< ::table_statu*>( ::table_statu::internal_default_instance()); ::_park_table_default_instance_._instance.get_mutable()->entrance_measure_info_ = const_cast< ::measure_info*>( ::measure_info::internal_default_instance()); ::_park_table_default_instance_._instance.get_mutable()->allocated_space_info_ = const_cast< ::parkspace_info*>( ::parkspace_info::internal_default_instance()); ::_park_table_default_instance_._instance.get_mutable()->actually_measure_info_ = const_cast< ::measure_info*>( ::measure_info::internal_default_instance()); ::_park_table_default_instance_._instance.get_mutable()->actually_space_info_ = const_cast< ::parkspace_info*>( ::parkspace_info::internal_default_instance()); } #if !defined(_MSC_VER) || _MSC_VER >= 1900 const int park_table::kStatuFieldNumber; const int park_table::kQueueIdFieldNumber; const int park_table::kCarNumberFieldNumber; const int park_table::kUnitIdFieldNumber; const int park_table::kTerminalIdFieldNumber; const int park_table::kPrimaryKeyFieldNumber; const int park_table::kEntranceMeasureInfoFieldNumber; const int park_table::kAllocatedSpaceInfoFieldNumber; const int park_table::kActuallyMeasureInfoFieldNumber; const int park_table::kActuallySpaceInfoFieldNumber; #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 park_table::park_table() : ::google::protobuf::Message(), _internal_metadata_(NULL) { if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) { ::protobuf_message_2eproto::InitDefaultspark_table(); } SharedCtor(); // @@protoc_insertion_point(constructor:park_table) } park_table::park_table(const park_table& from) : ::google::protobuf::Message(), _internal_metadata_(NULL), _cached_size_(0) { _internal_metadata_.MergeFrom(from._internal_metadata_); car_number_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); if (from.car_number().size() > 0) { car_number_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.car_number_); } primary_key_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); if (from.primary_key().size() > 0) { primary_key_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.primary_key_); } if (from.has_statu()) { statu_ = new ::table_statu(*from.statu_); } else { statu_ = NULL; } if (from.has_entrance_measure_info()) { entrance_measure_info_ = new ::measure_info(*from.entrance_measure_info_); } else { entrance_measure_info_ = NULL; } if (from.has_allocated_space_info()) { allocated_space_info_ = new ::parkspace_info(*from.allocated_space_info_); } else { allocated_space_info_ = NULL; } if (from.has_actually_measure_info()) { actually_measure_info_ = new ::measure_info(*from.actually_measure_info_); } else { actually_measure_info_ = NULL; } if (from.has_actually_space_info()) { actually_space_info_ = new ::parkspace_info(*from.actually_space_info_); } else { actually_space_info_ = NULL; } ::memcpy(&queue_id_, &from.queue_id_, static_cast(reinterpret_cast(&terminal_id_) - reinterpret_cast(&queue_id_)) + sizeof(terminal_id_)); // @@protoc_insertion_point(copy_constructor:park_table) } void park_table::SharedCtor() { car_number_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); primary_key_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); ::memset(&statu_, 0, static_cast( reinterpret_cast(&terminal_id_) - reinterpret_cast(&statu_)) + sizeof(terminal_id_)); _cached_size_ = 0; } park_table::~park_table() { // @@protoc_insertion_point(destructor:park_table) SharedDtor(); } void park_table::SharedDtor() { car_number_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); primary_key_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); if (this != internal_default_instance()) delete statu_; if (this != internal_default_instance()) delete entrance_measure_info_; if (this != internal_default_instance()) delete allocated_space_info_; if (this != internal_default_instance()) delete actually_measure_info_; if (this != internal_default_instance()) delete actually_space_info_; } void park_table::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* park_table::descriptor() { ::protobuf_message_2eproto::protobuf_AssignDescriptorsOnce(); return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; } const park_table& park_table::default_instance() { ::protobuf_message_2eproto::InitDefaultspark_table(); return *internal_default_instance(); } park_table* park_table::New(::google::protobuf::Arena* arena) const { park_table* n = new park_table; if (arena != NULL) { arena->Own(n); } return n; } void park_table::Clear() { // @@protoc_insertion_point(message_clear_start:park_table) ::google::protobuf::uint32 cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; car_number_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); primary_key_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); if (GetArenaNoVirtual() == NULL && statu_ != NULL) { delete statu_; } statu_ = NULL; if (GetArenaNoVirtual() == NULL && entrance_measure_info_ != NULL) { delete entrance_measure_info_; } entrance_measure_info_ = NULL; if (GetArenaNoVirtual() == NULL && allocated_space_info_ != NULL) { delete allocated_space_info_; } allocated_space_info_ = NULL; if (GetArenaNoVirtual() == NULL && actually_measure_info_ != NULL) { delete actually_measure_info_; } actually_measure_info_ = NULL; if (GetArenaNoVirtual() == NULL && actually_space_info_ != NULL) { delete actually_space_info_; } actually_space_info_ = NULL; ::memset(&queue_id_, 0, static_cast( reinterpret_cast(&terminal_id_) - reinterpret_cast(&queue_id_)) + sizeof(terminal_id_)); _internal_metadata_.Clear(); } bool park_table::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:park_table) 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)) { // .table_statu statu = 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_statu())); } else { goto handle_unusual; } break; } // int32 queue_id = 2; case 2: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &queue_id_))); } else { goto handle_unusual; } break; } // string car_number = 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_car_number())); DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->car_number().data(), static_cast(this->car_number().length()), ::google::protobuf::internal::WireFormatLite::PARSE, "park_table.car_number")); } else { goto handle_unusual; } break; } // int32 unit_id = 4; case 4: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(32u /* 32 & 0xFF */)) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &unit_id_))); } else { goto handle_unusual; } break; } // int32 terminal_id = 5; case 5: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(40u /* 40 & 0xFF */)) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &terminal_id_))); } else { goto handle_unusual; } break; } // string primary_key = 6; case 6: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(50u /* 50 & 0xFF */)) { DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->mutable_primary_key())); DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->primary_key().data(), static_cast(this->primary_key().length()), ::google::protobuf::internal::WireFormatLite::PARSE, "park_table.primary_key")); } else { goto handle_unusual; } break; } // .measure_info entrance_measure_info = 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_entrance_measure_info())); } else { goto handle_unusual; } break; } // .parkspace_info allocated_space_info = 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_allocated_space_info())); } else { goto handle_unusual; } break; } // .measure_info actually_measure_info = 9; case 9: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(74u /* 74 & 0xFF */)) { DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( input, mutable_actually_measure_info())); } else { goto handle_unusual; } break; } // .parkspace_info actually_space_info = 10; case 10: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(82u /* 82 & 0xFF */)) { DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( input, mutable_actually_space_info())); } 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:park_table) return true; failure: // @@protoc_insertion_point(parse_failure:park_table) return false; #undef DO_ } void park_table::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // @@protoc_insertion_point(serialize_start:park_table) ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; // .table_statu statu = 1; if (this->has_statu()) { ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( 1, *this->statu_, output); } // int32 queue_id = 2; if (this->queue_id() != 0) { ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->queue_id(), output); } // string car_number = 3; if (this->car_number().size() > 0) { ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->car_number().data(), static_cast(this->car_number().length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "park_table.car_number"); ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( 3, this->car_number(), output); } // int32 unit_id = 4; if (this->unit_id() != 0) { ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->unit_id(), output); } // int32 terminal_id = 5; if (this->terminal_id() != 0) { ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->terminal_id(), output); } // string primary_key = 6; if (this->primary_key().size() > 0) { ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->primary_key().data(), static_cast(this->primary_key().length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "park_table.primary_key"); ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( 6, this->primary_key(), output); } // .measure_info entrance_measure_info = 7; if (this->has_entrance_measure_info()) { ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( 7, *this->entrance_measure_info_, output); } // .parkspace_info allocated_space_info = 8; if (this->has_allocated_space_info()) { ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( 8, *this->allocated_space_info_, output); } // .measure_info actually_measure_info = 9; if (this->has_actually_measure_info()) { ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( 9, *this->actually_measure_info_, output); } // .parkspace_info actually_space_info = 10; if (this->has_actually_space_info()) { ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( 10, *this->actually_space_info_, output); } if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output); } // @@protoc_insertion_point(serialize_end:park_table) } ::google::protobuf::uint8* park_table::InternalSerializeWithCachedSizesToArray( bool deterministic, ::google::protobuf::uint8* target) const { (void)deterministic; // Unused // @@protoc_insertion_point(serialize_to_array_start:park_table) ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; // .table_statu statu = 1; if (this->has_statu()) { target = ::google::protobuf::internal::WireFormatLite:: InternalWriteMessageToArray( 1, *this->statu_, deterministic, target); } // int32 queue_id = 2; if (this->queue_id() != 0) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->queue_id(), target); } // string car_number = 3; if (this->car_number().size() > 0) { ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->car_number().data(), static_cast(this->car_number().length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "park_table.car_number"); target = ::google::protobuf::internal::WireFormatLite::WriteStringToArray( 3, this->car_number(), target); } // int32 unit_id = 4; if (this->unit_id() != 0) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->unit_id(), target); } // int32 terminal_id = 5; if (this->terminal_id() != 0) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->terminal_id(), target); } // string primary_key = 6; if (this->primary_key().size() > 0) { ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->primary_key().data(), static_cast(this->primary_key().length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "park_table.primary_key"); target = ::google::protobuf::internal::WireFormatLite::WriteStringToArray( 6, this->primary_key(), target); } // .measure_info entrance_measure_info = 7; if (this->has_entrance_measure_info()) { target = ::google::protobuf::internal::WireFormatLite:: InternalWriteMessageToArray( 7, *this->entrance_measure_info_, deterministic, target); } // .parkspace_info allocated_space_info = 8; if (this->has_allocated_space_info()) { target = ::google::protobuf::internal::WireFormatLite:: InternalWriteMessageToArray( 8, *this->allocated_space_info_, deterministic, target); } // .measure_info actually_measure_info = 9; if (this->has_actually_measure_info()) { target = ::google::protobuf::internal::WireFormatLite:: InternalWriteMessageToArray( 9, *this->actually_measure_info_, deterministic, target); } // .parkspace_info actually_space_info = 10; if (this->has_actually_space_info()) { target = ::google::protobuf::internal::WireFormatLite:: InternalWriteMessageToArray( 10, *this->actually_space_info_, deterministic, target); } if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target); } // @@protoc_insertion_point(serialize_to_array_end:park_table) return target; } size_t park_table::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:park_table) size_t total_size = 0; if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance())); } // string car_number = 3; if (this->car_number().size() > 0) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( this->car_number()); } // string primary_key = 6; if (this->primary_key().size() > 0) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( this->primary_key()); } // .table_statu statu = 1; if (this->has_statu()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( *this->statu_); } // .measure_info entrance_measure_info = 7; if (this->has_entrance_measure_info()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( *this->entrance_measure_info_); } // .parkspace_info allocated_space_info = 8; if (this->has_allocated_space_info()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( *this->allocated_space_info_); } // .measure_info actually_measure_info = 9; if (this->has_actually_measure_info()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( *this->actually_measure_info_); } // .parkspace_info actually_space_info = 10; if (this->has_actually_space_info()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( *this->actually_space_info_); } // int32 queue_id = 2; if (this->queue_id() != 0) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->queue_id()); } // int32 unit_id = 4; if (this->unit_id() != 0) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->unit_id()); } // int32 terminal_id = 5; if (this->terminal_id() != 0) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->terminal_id()); } 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 park_table::MergeFrom(const ::google::protobuf::Message& from) { // @@protoc_insertion_point(generalized_merge_from_start:park_table) GOOGLE_DCHECK_NE(&from, this); const park_table* source = ::google::protobuf::internal::DynamicCastToGenerated( &from); if (source == NULL) { // @@protoc_insertion_point(generalized_merge_from_cast_fail:park_table) ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { // @@protoc_insertion_point(generalized_merge_from_cast_success:park_table) MergeFrom(*source); } } void park_table::MergeFrom(const park_table& from) { // @@protoc_insertion_point(class_specific_merge_from_start:park_table) GOOGLE_DCHECK_NE(&from, this); _internal_metadata_.MergeFrom(from._internal_metadata_); ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; if (from.car_number().size() > 0) { car_number_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.car_number_); } if (from.primary_key().size() > 0) { primary_key_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.primary_key_); } if (from.has_statu()) { mutable_statu()->::table_statu::MergeFrom(from.statu()); } if (from.has_entrance_measure_info()) { mutable_entrance_measure_info()->::measure_info::MergeFrom(from.entrance_measure_info()); } if (from.has_allocated_space_info()) { mutable_allocated_space_info()->::parkspace_info::MergeFrom(from.allocated_space_info()); } if (from.has_actually_measure_info()) { mutable_actually_measure_info()->::measure_info::MergeFrom(from.actually_measure_info()); } if (from.has_actually_space_info()) { mutable_actually_space_info()->::parkspace_info::MergeFrom(from.actually_space_info()); } if (from.queue_id() != 0) { set_queue_id(from.queue_id()); } if (from.unit_id() != 0) { set_unit_id(from.unit_id()); } if (from.terminal_id() != 0) { set_terminal_id(from.terminal_id()); } } void park_table::CopyFrom(const ::google::protobuf::Message& from) { // @@protoc_insertion_point(generalized_copy_from_start:park_table) if (&from == this) return; Clear(); MergeFrom(from); } void park_table::CopyFrom(const park_table& from) { // @@protoc_insertion_point(class_specific_copy_from_start:park_table) if (&from == this) return; Clear(); MergeFrom(from); } bool park_table::IsInitialized() const { return true; } void park_table::Swap(park_table* other) { if (other == this) return; InternalSwap(other); } void park_table::InternalSwap(park_table* other) { using std::swap; car_number_.Swap(&other->car_number_); primary_key_.Swap(&other->primary_key_); swap(statu_, other->statu_); swap(entrance_measure_info_, other->entrance_measure_info_); swap(allocated_space_info_, other->allocated_space_info_); swap(actually_measure_info_, other->actually_measure_info_); swap(actually_space_info_, other->actually_space_info_); swap(queue_id_, other->queue_id_); swap(unit_id_, other->unit_id_); swap(terminal_id_, other->terminal_id_); _internal_metadata_.Swap(&other->_internal_metadata_); swap(_cached_size_, other->_cached_size_); } ::google::protobuf::Metadata park_table::GetMetadata() const { protobuf_message_2eproto::protobuf_AssignDescriptorsOnce(); return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages]; } // =================================================================== void pick_table::InitAsDefaultInstance() { ::_pick_table_default_instance_._instance.get_mutable()->statu_ = const_cast< ::table_statu*>( ::table_statu::internal_default_instance()); ::_pick_table_default_instance_._instance.get_mutable()->actually_space_info_ = const_cast< ::parkspace_info*>( ::parkspace_info::internal_default_instance()); ::_pick_table_default_instance_._instance.get_mutable()->actually_measure_info_ = const_cast< ::measure_info*>( ::measure_info::internal_default_instance()); } #if !defined(_MSC_VER) || _MSC_VER >= 1900 const int pick_table::kStatuFieldNumber; const int pick_table::kQueueIdFieldNumber; const int pick_table::kCarNumberFieldNumber; const int pick_table::kUnitIdFieldNumber; const int pick_table::kTerminalIdFieldNumber; const int pick_table::kPrimaryKeyFieldNumber; const int pick_table::kActuallySpaceInfoFieldNumber; const int pick_table::kActuallyMeasureInfoFieldNumber; const int pick_table::kExportIdFieldNumber; const int pick_table::kIsLeavedFieldNumber; #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 pick_table::pick_table() : ::google::protobuf::Message(), _internal_metadata_(NULL) { if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) { ::protobuf_message_2eproto::InitDefaultspick_table(); } SharedCtor(); // @@protoc_insertion_point(constructor:pick_table) } pick_table::pick_table(const pick_table& from) : ::google::protobuf::Message(), _internal_metadata_(NULL), _cached_size_(0) { _internal_metadata_.MergeFrom(from._internal_metadata_); car_number_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); if (from.car_number().size() > 0) { car_number_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.car_number_); } primary_key_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); if (from.primary_key().size() > 0) { primary_key_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.primary_key_); } if (from.has_statu()) { statu_ = new ::table_statu(*from.statu_); } else { statu_ = NULL; } if (from.has_actually_space_info()) { actually_space_info_ = new ::parkspace_info(*from.actually_space_info_); } else { actually_space_info_ = NULL; } if (from.has_actually_measure_info()) { actually_measure_info_ = new ::measure_info(*from.actually_measure_info_); } else { actually_measure_info_ = NULL; } ::memcpy(&queue_id_, &from.queue_id_, static_cast(reinterpret_cast(&is_leaved_) - reinterpret_cast(&queue_id_)) + sizeof(is_leaved_)); // @@protoc_insertion_point(copy_constructor:pick_table) } void pick_table::SharedCtor() { car_number_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); primary_key_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); ::memset(&statu_, 0, static_cast( reinterpret_cast(&is_leaved_) - reinterpret_cast(&statu_)) + sizeof(is_leaved_)); _cached_size_ = 0; } pick_table::~pick_table() { // @@protoc_insertion_point(destructor:pick_table) SharedDtor(); } void pick_table::SharedDtor() { car_number_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); primary_key_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); if (this != internal_default_instance()) delete statu_; if (this != internal_default_instance()) delete actually_space_info_; if (this != internal_default_instance()) delete actually_measure_info_; } void pick_table::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* pick_table::descriptor() { ::protobuf_message_2eproto::protobuf_AssignDescriptorsOnce(); return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; } const pick_table& pick_table::default_instance() { ::protobuf_message_2eproto::InitDefaultspick_table(); return *internal_default_instance(); } pick_table* pick_table::New(::google::protobuf::Arena* arena) const { pick_table* n = new pick_table; if (arena != NULL) { arena->Own(n); } return n; } void pick_table::Clear() { // @@protoc_insertion_point(message_clear_start:pick_table) ::google::protobuf::uint32 cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; car_number_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); primary_key_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); if (GetArenaNoVirtual() == NULL && statu_ != NULL) { delete statu_; } statu_ = NULL; if (GetArenaNoVirtual() == NULL && actually_space_info_ != NULL) { delete actually_space_info_; } actually_space_info_ = NULL; if (GetArenaNoVirtual() == NULL && actually_measure_info_ != NULL) { delete actually_measure_info_; } actually_measure_info_ = NULL; ::memset(&queue_id_, 0, static_cast( reinterpret_cast(&is_leaved_) - reinterpret_cast(&queue_id_)) + sizeof(is_leaved_)); _internal_metadata_.Clear(); } bool pick_table::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:pick_table) 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)) { // .table_statu statu = 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_statu())); } else { goto handle_unusual; } break; } // int32 queue_id = 2; case 2: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &queue_id_))); } else { goto handle_unusual; } break; } // string car_number = 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_car_number())); DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->car_number().data(), static_cast(this->car_number().length()), ::google::protobuf::internal::WireFormatLite::PARSE, "pick_table.car_number")); } else { goto handle_unusual; } break; } // int32 unit_id = 4; case 4: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(32u /* 32 & 0xFF */)) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &unit_id_))); } else { goto handle_unusual; } break; } // int32 terminal_id = 5; case 5: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(40u /* 40 & 0xFF */)) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &terminal_id_))); } else { goto handle_unusual; } break; } // string primary_key = 6; case 6: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(50u /* 50 & 0xFF */)) { DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->mutable_primary_key())); DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->primary_key().data(), static_cast(this->primary_key().length()), ::google::protobuf::internal::WireFormatLite::PARSE, "pick_table.primary_key")); } else { goto handle_unusual; } break; } // .parkspace_info actually_space_info = 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_actually_space_info())); } else { goto handle_unusual; } break; } // .measure_info actually_measure_info = 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_actually_measure_info())); } else { goto handle_unusual; } break; } // int32 export_id = 9; case 9: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(72u /* 72 & 0xFF */)) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &export_id_))); } else { goto handle_unusual; } break; } // bool is_leaved = 10; case 10: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(80u /* 80 & 0xFF */)) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( input, &is_leaved_))); } 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:pick_table) return true; failure: // @@protoc_insertion_point(parse_failure:pick_table) return false; #undef DO_ } void pick_table::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // @@protoc_insertion_point(serialize_start:pick_table) ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; // .table_statu statu = 1; if (this->has_statu()) { ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( 1, *this->statu_, output); } // int32 queue_id = 2; if (this->queue_id() != 0) { ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->queue_id(), output); } // string car_number = 3; if (this->car_number().size() > 0) { ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->car_number().data(), static_cast(this->car_number().length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "pick_table.car_number"); ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( 3, this->car_number(), output); } // int32 unit_id = 4; if (this->unit_id() != 0) { ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->unit_id(), output); } // int32 terminal_id = 5; if (this->terminal_id() != 0) { ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->terminal_id(), output); } // string primary_key = 6; if (this->primary_key().size() > 0) { ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->primary_key().data(), static_cast(this->primary_key().length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "pick_table.primary_key"); ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( 6, this->primary_key(), output); } // .parkspace_info actually_space_info = 7; if (this->has_actually_space_info()) { ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( 7, *this->actually_space_info_, output); } // .measure_info actually_measure_info = 8; if (this->has_actually_measure_info()) { ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( 8, *this->actually_measure_info_, output); } // int32 export_id = 9; if (this->export_id() != 0) { ::google::protobuf::internal::WireFormatLite::WriteInt32(9, this->export_id(), output); } // bool is_leaved = 10; if (this->is_leaved() != 0) { ::google::protobuf::internal::WireFormatLite::WriteBool(10, this->is_leaved(), output); } if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output); } // @@protoc_insertion_point(serialize_end:pick_table) } ::google::protobuf::uint8* pick_table::InternalSerializeWithCachedSizesToArray( bool deterministic, ::google::protobuf::uint8* target) const { (void)deterministic; // Unused // @@protoc_insertion_point(serialize_to_array_start:pick_table) ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; // .table_statu statu = 1; if (this->has_statu()) { target = ::google::protobuf::internal::WireFormatLite:: InternalWriteMessageToArray( 1, *this->statu_, deterministic, target); } // int32 queue_id = 2; if (this->queue_id() != 0) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->queue_id(), target); } // string car_number = 3; if (this->car_number().size() > 0) { ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->car_number().data(), static_cast(this->car_number().length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "pick_table.car_number"); target = ::google::protobuf::internal::WireFormatLite::WriteStringToArray( 3, this->car_number(), target); } // int32 unit_id = 4; if (this->unit_id() != 0) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->unit_id(), target); } // int32 terminal_id = 5; if (this->terminal_id() != 0) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->terminal_id(), target); } // string primary_key = 6; if (this->primary_key().size() > 0) { ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->primary_key().data(), static_cast(this->primary_key().length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "pick_table.primary_key"); target = ::google::protobuf::internal::WireFormatLite::WriteStringToArray( 6, this->primary_key(), target); } // .parkspace_info actually_space_info = 7; if (this->has_actually_space_info()) { target = ::google::protobuf::internal::WireFormatLite:: InternalWriteMessageToArray( 7, *this->actually_space_info_, deterministic, target); } // .measure_info actually_measure_info = 8; if (this->has_actually_measure_info()) { target = ::google::protobuf::internal::WireFormatLite:: InternalWriteMessageToArray( 8, *this->actually_measure_info_, deterministic, target); } // int32 export_id = 9; if (this->export_id() != 0) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(9, this->export_id(), target); } // bool is_leaved = 10; if (this->is_leaved() != 0) { target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(10, this->is_leaved(), target); } if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target); } // @@protoc_insertion_point(serialize_to_array_end:pick_table) return target; } size_t pick_table::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:pick_table) size_t total_size = 0; if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance())); } // string car_number = 3; if (this->car_number().size() > 0) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( this->car_number()); } // string primary_key = 6; if (this->primary_key().size() > 0) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( this->primary_key()); } // .table_statu statu = 1; if (this->has_statu()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( *this->statu_); } // .parkspace_info actually_space_info = 7; if (this->has_actually_space_info()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( *this->actually_space_info_); } // .measure_info actually_measure_info = 8; if (this->has_actually_measure_info()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( *this->actually_measure_info_); } // int32 queue_id = 2; if (this->queue_id() != 0) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->queue_id()); } // int32 unit_id = 4; if (this->unit_id() != 0) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->unit_id()); } // int32 terminal_id = 5; if (this->terminal_id() != 0) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->terminal_id()); } // int32 export_id = 9; if (this->export_id() != 0) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->export_id()); } // bool is_leaved = 10; if (this->is_leaved() != 0) { total_size += 1 + 1; } 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 pick_table::MergeFrom(const ::google::protobuf::Message& from) { // @@protoc_insertion_point(generalized_merge_from_start:pick_table) GOOGLE_DCHECK_NE(&from, this); const pick_table* source = ::google::protobuf::internal::DynamicCastToGenerated( &from); if (source == NULL) { // @@protoc_insertion_point(generalized_merge_from_cast_fail:pick_table) ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { // @@protoc_insertion_point(generalized_merge_from_cast_success:pick_table) MergeFrom(*source); } } void pick_table::MergeFrom(const pick_table& from) { // @@protoc_insertion_point(class_specific_merge_from_start:pick_table) GOOGLE_DCHECK_NE(&from, this); _internal_metadata_.MergeFrom(from._internal_metadata_); ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; if (from.car_number().size() > 0) { car_number_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.car_number_); } if (from.primary_key().size() > 0) { primary_key_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.primary_key_); } if (from.has_statu()) { mutable_statu()->::table_statu::MergeFrom(from.statu()); } if (from.has_actually_space_info()) { mutable_actually_space_info()->::parkspace_info::MergeFrom(from.actually_space_info()); } if (from.has_actually_measure_info()) { mutable_actually_measure_info()->::measure_info::MergeFrom(from.actually_measure_info()); } if (from.queue_id() != 0) { set_queue_id(from.queue_id()); } if (from.unit_id() != 0) { set_unit_id(from.unit_id()); } if (from.terminal_id() != 0) { set_terminal_id(from.terminal_id()); } if (from.export_id() != 0) { set_export_id(from.export_id()); } if (from.is_leaved() != 0) { set_is_leaved(from.is_leaved()); } } void pick_table::CopyFrom(const ::google::protobuf::Message& from) { // @@protoc_insertion_point(generalized_copy_from_start:pick_table) if (&from == this) return; Clear(); MergeFrom(from); } void pick_table::CopyFrom(const pick_table& from) { // @@protoc_insertion_point(class_specific_copy_from_start:pick_table) if (&from == this) return; Clear(); MergeFrom(from); } bool pick_table::IsInitialized() const { return true; } void pick_table::Swap(pick_table* other) { if (other == this) return; InternalSwap(other); } void pick_table::InternalSwap(pick_table* other) { using std::swap; car_number_.Swap(&other->car_number_); primary_key_.Swap(&other->primary_key_); swap(statu_, other->statu_); swap(actually_space_info_, other->actually_space_info_); swap(actually_measure_info_, other->actually_measure_info_); swap(queue_id_, other->queue_id_); swap(unit_id_, other->unit_id_); swap(terminal_id_, other->terminal_id_); swap(export_id_, other->export_id_); swap(is_leaved_, other->is_leaved_); _internal_metadata_.Swap(&other->_internal_metadata_); swap(_cached_size_, other->_cached_size_); } ::google::protobuf::Metadata pick_table::GetMetadata() const { protobuf_message_2eproto::protobuf_AssignDescriptorsOnce(); return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages]; } // =================================================================== void out_mcpu_statu::InitAsDefaultInstance() { } #if !defined(_MSC_VER) || _MSC_VER >= 1900 const int out_mcpu_statu::kDoorStatuFieldNumber; const int out_mcpu_statu::kOutsideSafetyFieldNumber; #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 out_mcpu_statu::out_mcpu_statu() : ::google::protobuf::Message(), _internal_metadata_(NULL) { if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) { ::protobuf_message_2eproto::InitDefaultsout_mcpu_statu(); } SharedCtor(); // @@protoc_insertion_point(constructor:out_mcpu_statu) } out_mcpu_statu::out_mcpu_statu(const out_mcpu_statu& from) : ::google::protobuf::Message(), _internal_metadata_(NULL), _cached_size_(0) { _internal_metadata_.MergeFrom(from._internal_metadata_); ::memcpy(&door_statu_, &from.door_statu_, static_cast(reinterpret_cast(&outside_safety_) - reinterpret_cast(&door_statu_)) + sizeof(outside_safety_)); // @@protoc_insertion_point(copy_constructor:out_mcpu_statu) } void out_mcpu_statu::SharedCtor() { ::memset(&door_statu_, 0, static_cast( reinterpret_cast(&outside_safety_) - reinterpret_cast(&door_statu_)) + sizeof(outside_safety_)); _cached_size_ = 0; } out_mcpu_statu::~out_mcpu_statu() { // @@protoc_insertion_point(destructor:out_mcpu_statu) SharedDtor(); } void out_mcpu_statu::SharedDtor() { } void out_mcpu_statu::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* out_mcpu_statu::descriptor() { ::protobuf_message_2eproto::protobuf_AssignDescriptorsOnce(); return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; } const out_mcpu_statu& out_mcpu_statu::default_instance() { ::protobuf_message_2eproto::InitDefaultsout_mcpu_statu(); return *internal_default_instance(); } out_mcpu_statu* out_mcpu_statu::New(::google::protobuf::Arena* arena) const { out_mcpu_statu* n = new out_mcpu_statu; if (arena != NULL) { arena->Own(n); } return n; } void out_mcpu_statu::Clear() { // @@protoc_insertion_point(message_clear_start:out_mcpu_statu) ::google::protobuf::uint32 cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; ::memset(&door_statu_, 0, static_cast( reinterpret_cast(&outside_safety_) - reinterpret_cast(&door_statu_)) + sizeof(outside_safety_)); _internal_metadata_.Clear(); } bool out_mcpu_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:out_mcpu_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)) { // int32 door_statu = 1; case 1: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &door_statu_))); } else { goto handle_unusual; } break; } // int32 outside_safety = 2; case 2: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &outside_safety_))); } 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:out_mcpu_statu) return true; failure: // @@protoc_insertion_point(parse_failure:out_mcpu_statu) return false; #undef DO_ } void out_mcpu_statu::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // @@protoc_insertion_point(serialize_start:out_mcpu_statu) ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; // int32 door_statu = 1; if (this->door_statu() != 0) { ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->door_statu(), output); } // int32 outside_safety = 2; if (this->outside_safety() != 0) { ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->outside_safety(), output); } if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output); } // @@protoc_insertion_point(serialize_end:out_mcpu_statu) } ::google::protobuf::uint8* out_mcpu_statu::InternalSerializeWithCachedSizesToArray( bool deterministic, ::google::protobuf::uint8* target) const { (void)deterministic; // Unused // @@protoc_insertion_point(serialize_to_array_start:out_mcpu_statu) ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; // int32 door_statu = 1; if (this->door_statu() != 0) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->door_statu(), target); } // int32 outside_safety = 2; if (this->outside_safety() != 0) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->outside_safety(), target); } if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target); } // @@protoc_insertion_point(serialize_to_array_end:out_mcpu_statu) return target; } size_t out_mcpu_statu::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:out_mcpu_statu) size_t total_size = 0; if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance())); } // int32 door_statu = 1; if (this->door_statu() != 0) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->door_statu()); } // int32 outside_safety = 2; if (this->outside_safety() != 0) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->outside_safety()); } 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 out_mcpu_statu::MergeFrom(const ::google::protobuf::Message& from) { // @@protoc_insertion_point(generalized_merge_from_start:out_mcpu_statu) GOOGLE_DCHECK_NE(&from, this); const out_mcpu_statu* source = ::google::protobuf::internal::DynamicCastToGenerated( &from); if (source == NULL) { // @@protoc_insertion_point(generalized_merge_from_cast_fail:out_mcpu_statu) ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { // @@protoc_insertion_point(generalized_merge_from_cast_success:out_mcpu_statu) MergeFrom(*source); } } void out_mcpu_statu::MergeFrom(const out_mcpu_statu& from) { // @@protoc_insertion_point(class_specific_merge_from_start:out_mcpu_statu) GOOGLE_DCHECK_NE(&from, this); _internal_metadata_.MergeFrom(from._internal_metadata_); ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; if (from.door_statu() != 0) { set_door_statu(from.door_statu()); } if (from.outside_safety() != 0) { set_outside_safety(from.outside_safety()); } } void out_mcpu_statu::CopyFrom(const ::google::protobuf::Message& from) { // @@protoc_insertion_point(generalized_copy_from_start:out_mcpu_statu) if (&from == this) return; Clear(); MergeFrom(from); } void out_mcpu_statu::CopyFrom(const out_mcpu_statu& from) { // @@protoc_insertion_point(class_specific_copy_from_start:out_mcpu_statu) if (&from == this) return; Clear(); MergeFrom(from); } bool out_mcpu_statu::IsInitialized() const { return true; } void out_mcpu_statu::Swap(out_mcpu_statu* other) { if (other == this) return; InternalSwap(other); } void out_mcpu_statu::InternalSwap(out_mcpu_statu* other) { using std::swap; swap(door_statu_, other->door_statu_); swap(outside_safety_, other->outside_safety_); _internal_metadata_.Swap(&other->_internal_metadata_); swap(_cached_size_, other->_cached_size_); } ::google::protobuf::Metadata out_mcpu_statu::GetMetadata() const { protobuf_message_2eproto::protobuf_AssignDescriptorsOnce(); return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages]; } // =================================================================== void in_mcpu_statu::InitAsDefaultInstance() { } #if !defined(_MSC_VER) || _MSC_VER >= 1900 const int in_mcpu_statu::kDoorStatuFieldNumber; const int in_mcpu_statu::kBackIoFieldNumber; const int in_mcpu_statu::kIsOccupyFieldNumber; const int in_mcpu_statu::kHeighthFieldNumber; #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 in_mcpu_statu::in_mcpu_statu() : ::google::protobuf::Message(), _internal_metadata_(NULL) { if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) { ::protobuf_message_2eproto::InitDefaultsin_mcpu_statu(); } SharedCtor(); // @@protoc_insertion_point(constructor:in_mcpu_statu) } in_mcpu_statu::in_mcpu_statu(const in_mcpu_statu& from) : ::google::protobuf::Message(), _internal_metadata_(NULL), _cached_size_(0) { _internal_metadata_.MergeFrom(from._internal_metadata_); ::memcpy(&door_statu_, &from.door_statu_, static_cast(reinterpret_cast(&heighth_) - reinterpret_cast(&door_statu_)) + sizeof(heighth_)); // @@protoc_insertion_point(copy_constructor:in_mcpu_statu) } void in_mcpu_statu::SharedCtor() { ::memset(&door_statu_, 0, static_cast( reinterpret_cast(&heighth_) - reinterpret_cast(&door_statu_)) + sizeof(heighth_)); _cached_size_ = 0; } in_mcpu_statu::~in_mcpu_statu() { // @@protoc_insertion_point(destructor:in_mcpu_statu) SharedDtor(); } void in_mcpu_statu::SharedDtor() { } void in_mcpu_statu::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* in_mcpu_statu::descriptor() { ::protobuf_message_2eproto::protobuf_AssignDescriptorsOnce(); return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; } const in_mcpu_statu& in_mcpu_statu::default_instance() { ::protobuf_message_2eproto::InitDefaultsin_mcpu_statu(); return *internal_default_instance(); } in_mcpu_statu* in_mcpu_statu::New(::google::protobuf::Arena* arena) const { in_mcpu_statu* n = new in_mcpu_statu; if (arena != NULL) { arena->Own(n); } return n; } void in_mcpu_statu::Clear() { // @@protoc_insertion_point(message_clear_start:in_mcpu_statu) ::google::protobuf::uint32 cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; ::memset(&door_statu_, 0, static_cast( reinterpret_cast(&heighth_) - reinterpret_cast(&door_statu_)) + sizeof(heighth_)); _internal_metadata_.Clear(); } bool in_mcpu_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:in_mcpu_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)) { // int32 door_statu = 1; case 1: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &door_statu_))); } else { goto handle_unusual; } break; } // int32 back_io = 2; case 2: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &back_io_))); } else { goto handle_unusual; } break; } // int32 is_occupy = 3; case 3: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(24u /* 24 & 0xFF */)) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &is_occupy_))); } else { goto handle_unusual; } break; } // int32 heighth = 4; case 4: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(32u /* 32 & 0xFF */)) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &heighth_))); } 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:in_mcpu_statu) return true; failure: // @@protoc_insertion_point(parse_failure:in_mcpu_statu) return false; #undef DO_ } void in_mcpu_statu::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // @@protoc_insertion_point(serialize_start:in_mcpu_statu) ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; // int32 door_statu = 1; if (this->door_statu() != 0) { ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->door_statu(), output); } // int32 back_io = 2; if (this->back_io() != 0) { ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->back_io(), output); } // int32 is_occupy = 3; if (this->is_occupy() != 0) { ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->is_occupy(), output); } // int32 heighth = 4; if (this->heighth() != 0) { ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->heighth(), output); } if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output); } // @@protoc_insertion_point(serialize_end:in_mcpu_statu) } ::google::protobuf::uint8* in_mcpu_statu::InternalSerializeWithCachedSizesToArray( bool deterministic, ::google::protobuf::uint8* target) const { (void)deterministic; // Unused // @@protoc_insertion_point(serialize_to_array_start:in_mcpu_statu) ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; // int32 door_statu = 1; if (this->door_statu() != 0) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->door_statu(), target); } // int32 back_io = 2; if (this->back_io() != 0) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->back_io(), target); } // int32 is_occupy = 3; if (this->is_occupy() != 0) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->is_occupy(), target); } // int32 heighth = 4; if (this->heighth() != 0) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->heighth(), target); } if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target); } // @@protoc_insertion_point(serialize_to_array_end:in_mcpu_statu) return target; } size_t in_mcpu_statu::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:in_mcpu_statu) size_t total_size = 0; if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance())); } // int32 door_statu = 1; if (this->door_statu() != 0) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->door_statu()); } // int32 back_io = 2; if (this->back_io() != 0) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->back_io()); } // int32 is_occupy = 3; if (this->is_occupy() != 0) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->is_occupy()); } // int32 heighth = 4; if (this->heighth() != 0) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->heighth()); } 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 in_mcpu_statu::MergeFrom(const ::google::protobuf::Message& from) { // @@protoc_insertion_point(generalized_merge_from_start:in_mcpu_statu) GOOGLE_DCHECK_NE(&from, this); const in_mcpu_statu* source = ::google::protobuf::internal::DynamicCastToGenerated( &from); if (source == NULL) { // @@protoc_insertion_point(generalized_merge_from_cast_fail:in_mcpu_statu) ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { // @@protoc_insertion_point(generalized_merge_from_cast_success:in_mcpu_statu) MergeFrom(*source); } } void in_mcpu_statu::MergeFrom(const in_mcpu_statu& from) { // @@protoc_insertion_point(class_specific_merge_from_start:in_mcpu_statu) GOOGLE_DCHECK_NE(&from, this); _internal_metadata_.MergeFrom(from._internal_metadata_); ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; if (from.door_statu() != 0) { set_door_statu(from.door_statu()); } if (from.back_io() != 0) { set_back_io(from.back_io()); } if (from.is_occupy() != 0) { set_is_occupy(from.is_occupy()); } if (from.heighth() != 0) { set_heighth(from.heighth()); } } void in_mcpu_statu::CopyFrom(const ::google::protobuf::Message& from) { // @@protoc_insertion_point(generalized_copy_from_start:in_mcpu_statu) if (&from == this) return; Clear(); MergeFrom(from); } void in_mcpu_statu::CopyFrom(const in_mcpu_statu& from) { // @@protoc_insertion_point(class_specific_copy_from_start:in_mcpu_statu) if (&from == this) return; Clear(); MergeFrom(from); } bool in_mcpu_statu::IsInitialized() const { return true; } void in_mcpu_statu::Swap(in_mcpu_statu* other) { if (other == this) return; InternalSwap(other); } void in_mcpu_statu::InternalSwap(in_mcpu_statu* other) { using std::swap; swap(door_statu_, other->door_statu_); swap(back_io_, other->back_io_); swap(is_occupy_, other->is_occupy_); swap(heighth_, other->heighth_); _internal_metadata_.Swap(&other->_internal_metadata_); swap(_cached_size_, other->_cached_size_); } ::google::protobuf::Metadata in_mcpu_statu::GetMetadata() const { protobuf_message_2eproto::protobuf_AssignDescriptorsOnce(); return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages]; } // =================================================================== void measure_statu::InitAsDefaultInstance() { ::_measure_statu_default_instance_._instance.get_mutable()->info_ = const_cast< ::measure_info*>( ::measure_info::internal_default_instance()); } #if !defined(_MSC_VER) || _MSC_VER >= 1900 const int measure_statu::kInfoFieldNumber; #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 measure_statu::measure_statu() : ::google::protobuf::Message(), _internal_metadata_(NULL) { if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) { ::protobuf_message_2eproto::InitDefaultsmeasure_statu(); } SharedCtor(); // @@protoc_insertion_point(constructor:measure_statu) } measure_statu::measure_statu(const measure_statu& from) : ::google::protobuf::Message(), _internal_metadata_(NULL), _cached_size_(0) { _internal_metadata_.MergeFrom(from._internal_metadata_); if (from.has_info()) { info_ = new ::measure_info(*from.info_); } else { info_ = NULL; } // @@protoc_insertion_point(copy_constructor:measure_statu) } void measure_statu::SharedCtor() { info_ = NULL; _cached_size_ = 0; } measure_statu::~measure_statu() { // @@protoc_insertion_point(destructor:measure_statu) SharedDtor(); } void measure_statu::SharedDtor() { if (this != internal_default_instance()) delete info_; } void measure_statu::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* measure_statu::descriptor() { ::protobuf_message_2eproto::protobuf_AssignDescriptorsOnce(); return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; } const measure_statu& measure_statu::default_instance() { ::protobuf_message_2eproto::InitDefaultsmeasure_statu(); return *internal_default_instance(); } measure_statu* measure_statu::New(::google::protobuf::Arena* arena) const { measure_statu* n = new measure_statu; if (arena != NULL) { arena->Own(n); } return n; } void measure_statu::Clear() { // @@protoc_insertion_point(message_clear_start:measure_statu) ::google::protobuf::uint32 cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; if (GetArenaNoVirtual() == NULL && info_ != NULL) { delete info_; } info_ = NULL; _internal_metadata_.Clear(); } bool measure_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:measure_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)) { // .measure_info 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_info())); } 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:measure_statu) return true; failure: // @@protoc_insertion_point(parse_failure:measure_statu) return false; #undef DO_ } void measure_statu::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // @@protoc_insertion_point(serialize_start:measure_statu) ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; // .measure_info info = 1; if (this->has_info()) { ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( 1, *this->info_, output); } if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output); } // @@protoc_insertion_point(serialize_end:measure_statu) } ::google::protobuf::uint8* measure_statu::InternalSerializeWithCachedSizesToArray( bool deterministic, ::google::protobuf::uint8* target) const { (void)deterministic; // Unused // @@protoc_insertion_point(serialize_to_array_start:measure_statu) ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; // .measure_info info = 1; if (this->has_info()) { target = ::google::protobuf::internal::WireFormatLite:: InternalWriteMessageToArray( 1, *this->info_, deterministic, target); } if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target); } // @@protoc_insertion_point(serialize_to_array_end:measure_statu) return target; } size_t measure_statu::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:measure_statu) size_t total_size = 0; if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance())); } // .measure_info info = 1; if (this->has_info()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( *this->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_statu::MergeFrom(const ::google::protobuf::Message& from) { // @@protoc_insertion_point(generalized_merge_from_start:measure_statu) GOOGLE_DCHECK_NE(&from, this); const measure_statu* source = ::google::protobuf::internal::DynamicCastToGenerated( &from); if (source == NULL) { // @@protoc_insertion_point(generalized_merge_from_cast_fail:measure_statu) ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { // @@protoc_insertion_point(generalized_merge_from_cast_success:measure_statu) MergeFrom(*source); } } void measure_statu::MergeFrom(const measure_statu& from) { // @@protoc_insertion_point(class_specific_merge_from_start:measure_statu) GOOGLE_DCHECK_NE(&from, this); _internal_metadata_.MergeFrom(from._internal_metadata_); ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; if (from.has_info()) { mutable_info()->::measure_info::MergeFrom(from.info()); } } void measure_statu::CopyFrom(const ::google::protobuf::Message& from) { // @@protoc_insertion_point(generalized_copy_from_start:measure_statu) if (&from == this) return; Clear(); MergeFrom(from); } void measure_statu::CopyFrom(const measure_statu& from) { // @@protoc_insertion_point(class_specific_copy_from_start:measure_statu) if (&from == this) return; Clear(); MergeFrom(from); } bool measure_statu::IsInitialized() const { return true; } void measure_statu::Swap(measure_statu* other) { if (other == this) return; InternalSwap(other); } void measure_statu::InternalSwap(measure_statu* other) { using std::swap; swap(info_, other->info_); _internal_metadata_.Swap(&other->_internal_metadata_); swap(_cached_size_, other->_cached_size_); } ::google::protobuf::Metadata measure_statu::GetMetadata() const { protobuf_message_2eproto::protobuf_AssignDescriptorsOnce(); return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages]; } // =================================================================== void dispatch_region_info::InitAsDefaultInstance() { } #if !defined(_MSC_VER) || _MSC_VER >= 1900 const int dispatch_region_info::kTerminalIdFieldNumber; const int dispatch_region_info::kTurnplateAngleMinFieldNumber; const int dispatch_region_info::kTurnplateAngleMaxFieldNumber; #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 dispatch_region_info::dispatch_region_info() : ::google::protobuf::Message(), _internal_metadata_(NULL) { if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) { ::protobuf_message_2eproto::InitDefaultsdispatch_region_info(); } SharedCtor(); // @@protoc_insertion_point(constructor:dispatch_region_info) } dispatch_region_info::dispatch_region_info(const dispatch_region_info& from) : ::google::protobuf::Message(), _internal_metadata_(NULL), _cached_size_(0) { _internal_metadata_.MergeFrom(from._internal_metadata_); ::memcpy(&terminal_id_, &from.terminal_id_, static_cast(reinterpret_cast(&turnplate_angle_max_) - reinterpret_cast(&terminal_id_)) + sizeof(turnplate_angle_max_)); // @@protoc_insertion_point(copy_constructor:dispatch_region_info) } void dispatch_region_info::SharedCtor() { ::memset(&terminal_id_, 0, static_cast( reinterpret_cast(&turnplate_angle_max_) - reinterpret_cast(&terminal_id_)) + sizeof(turnplate_angle_max_)); _cached_size_ = 0; } dispatch_region_info::~dispatch_region_info() { // @@protoc_insertion_point(destructor:dispatch_region_info) SharedDtor(); } void dispatch_region_info::SharedDtor() { } void dispatch_region_info::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* dispatch_region_info::descriptor() { ::protobuf_message_2eproto::protobuf_AssignDescriptorsOnce(); return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; } const dispatch_region_info& dispatch_region_info::default_instance() { ::protobuf_message_2eproto::InitDefaultsdispatch_region_info(); return *internal_default_instance(); } dispatch_region_info* dispatch_region_info::New(::google::protobuf::Arena* arena) const { dispatch_region_info* n = new dispatch_region_info; if (arena != NULL) { arena->Own(n); } return n; } void dispatch_region_info::Clear() { // @@protoc_insertion_point(message_clear_start:dispatch_region_info) ::google::protobuf::uint32 cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; ::memset(&terminal_id_, 0, static_cast( reinterpret_cast(&turnplate_angle_max_) - reinterpret_cast(&terminal_id_)) + sizeof(turnplate_angle_max_)); _internal_metadata_.Clear(); } bool dispatch_region_info::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:dispatch_region_info) 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)) { // int32 terminal_id = 1; case 1: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &terminal_id_))); } else { goto handle_unusual; } break; } // float turnplate_angle_min = 2; case 2: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(21u /* 21 & 0xFF */)) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>( input, &turnplate_angle_min_))); } else { goto handle_unusual; } break; } // float turnplate_angle_max = 3; case 3: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(29u /* 29 & 0xFF */)) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>( input, &turnplate_angle_max_))); } 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:dispatch_region_info) return true; failure: // @@protoc_insertion_point(parse_failure:dispatch_region_info) return false; #undef DO_ } void dispatch_region_info::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // @@protoc_insertion_point(serialize_start:dispatch_region_info) ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; // int32 terminal_id = 1; if (this->terminal_id() != 0) { ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->terminal_id(), output); } // float turnplate_angle_min = 2; if (this->turnplate_angle_min() != 0) { ::google::protobuf::internal::WireFormatLite::WriteFloat(2, this->turnplate_angle_min(), output); } // float turnplate_angle_max = 3; if (this->turnplate_angle_max() != 0) { ::google::protobuf::internal::WireFormatLite::WriteFloat(3, this->turnplate_angle_max(), output); } if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output); } // @@protoc_insertion_point(serialize_end:dispatch_region_info) } ::google::protobuf::uint8* dispatch_region_info::InternalSerializeWithCachedSizesToArray( bool deterministic, ::google::protobuf::uint8* target) const { (void)deterministic; // Unused // @@protoc_insertion_point(serialize_to_array_start:dispatch_region_info) ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; // int32 terminal_id = 1; if (this->terminal_id() != 0) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->terminal_id(), target); } // float turnplate_angle_min = 2; if (this->turnplate_angle_min() != 0) { target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(2, this->turnplate_angle_min(), target); } // float turnplate_angle_max = 3; if (this->turnplate_angle_max() != 0) { target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(3, this->turnplate_angle_max(), target); } if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target); } // @@protoc_insertion_point(serialize_to_array_end:dispatch_region_info) return target; } size_t dispatch_region_info::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:dispatch_region_info) size_t total_size = 0; if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance())); } // int32 terminal_id = 1; if (this->terminal_id() != 0) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->terminal_id()); } // float turnplate_angle_min = 2; if (this->turnplate_angle_min() != 0) { total_size += 1 + 4; } // float turnplate_angle_max = 3; if (this->turnplate_angle_max() != 0) { total_size += 1 + 4; } 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_region_info::MergeFrom(const ::google::protobuf::Message& from) { // @@protoc_insertion_point(generalized_merge_from_start:dispatch_region_info) GOOGLE_DCHECK_NE(&from, this); const dispatch_region_info* source = ::google::protobuf::internal::DynamicCastToGenerated( &from); if (source == NULL) { // @@protoc_insertion_point(generalized_merge_from_cast_fail:dispatch_region_info) ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { // @@protoc_insertion_point(generalized_merge_from_cast_success:dispatch_region_info) MergeFrom(*source); } } void dispatch_region_info::MergeFrom(const dispatch_region_info& from) { // @@protoc_insertion_point(class_specific_merge_from_start:dispatch_region_info) GOOGLE_DCHECK_NE(&from, this); _internal_metadata_.MergeFrom(from._internal_metadata_); ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; if (from.terminal_id() != 0) { set_terminal_id(from.terminal_id()); } if (from.turnplate_angle_min() != 0) { set_turnplate_angle_min(from.turnplate_angle_min()); } if (from.turnplate_angle_max() != 0) { set_turnplate_angle_max(from.turnplate_angle_max()); } } void dispatch_region_info::CopyFrom(const ::google::protobuf::Message& from) { // @@protoc_insertion_point(generalized_copy_from_start:dispatch_region_info) if (&from == this) return; Clear(); MergeFrom(from); } void dispatch_region_info::CopyFrom(const dispatch_region_info& from) { // @@protoc_insertion_point(class_specific_copy_from_start:dispatch_region_info) if (&from == this) return; Clear(); MergeFrom(from); } bool dispatch_region_info::IsInitialized() const { return true; } void dispatch_region_info::Swap(dispatch_region_info* other) { if (other == this) return; InternalSwap(other); } void dispatch_region_info::InternalSwap(dispatch_region_info* other) { using std::swap; swap(terminal_id_, other->terminal_id_); swap(turnplate_angle_min_, other->turnplate_angle_min_); swap(turnplate_angle_max_, other->turnplate_angle_max_); _internal_metadata_.Swap(&other->_internal_metadata_); swap(_cached_size_, other->_cached_size_); } ::google::protobuf::Metadata dispatch_region_info::GetMetadata() const { protobuf_message_2eproto::protobuf_AssignDescriptorsOnce(); return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages]; } // =================================================================== void dispatch_node_statu::InitAsDefaultInstance() { ::_dispatch_node_statu_default_instance_._instance.get_mutable()->running_pack_info_ = const_cast< ::park_table*>( ::park_table::internal_default_instance()); ::_dispatch_node_statu_default_instance_._instance.get_mutable()->running_pick_info_ = const_cast< ::pick_table*>( ::pick_table::internal_default_instance()); } #if !defined(_MSC_VER) || _MSC_VER >= 1900 const int dispatch_node_statu::kStatuFieldNumber; const int dispatch_node_statu::kIdleStopFloorFieldNumber; const int dispatch_node_statu::kRunningPackInfoFieldNumber; const int dispatch_node_statu::kRunningPickInfoFieldNumber; const int dispatch_node_statu::kUnitIdFieldNumber; const int dispatch_node_statu::kPlcHeartbeatFieldNumber; const int dispatch_node_statu::kPlcStatusInfoFieldNumber; const int dispatch_node_statu::kDispatchRegionInfoVectorFieldNumber; #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 dispatch_node_statu::dispatch_node_statu() : ::google::protobuf::Message(), _internal_metadata_(NULL) { if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) { ::protobuf_message_2eproto::InitDefaultsdispatch_node_statu(); } SharedCtor(); // @@protoc_insertion_point(constructor:dispatch_node_statu) } dispatch_node_statu::dispatch_node_statu(const dispatch_node_statu& from) : ::google::protobuf::Message(), _internal_metadata_(NULL), dispatch_region_info_vector_(from.dispatch_region_info_vector_), _cached_size_(0) { _internal_metadata_.MergeFrom(from._internal_metadata_); if (from.has_running_pack_info()) { running_pack_info_ = new ::park_table(*from.running_pack_info_); } else { running_pack_info_ = NULL; } if (from.has_running_pick_info()) { running_pick_info_ = new ::pick_table(*from.running_pick_info_); } else { running_pick_info_ = NULL; } ::memcpy(&statu_, &from.statu_, static_cast(reinterpret_cast(&plc_status_info_) - reinterpret_cast(&statu_)) + sizeof(plc_status_info_)); // @@protoc_insertion_point(copy_constructor:dispatch_node_statu) } void dispatch_node_statu::SharedCtor() { ::memset(&running_pack_info_, 0, static_cast( reinterpret_cast(&plc_status_info_) - reinterpret_cast(&running_pack_info_)) + sizeof(plc_status_info_)); _cached_size_ = 0; } dispatch_node_statu::~dispatch_node_statu() { // @@protoc_insertion_point(destructor:dispatch_node_statu) SharedDtor(); } void dispatch_node_statu::SharedDtor() { if (this != internal_default_instance()) delete running_pack_info_; if (this != internal_default_instance()) delete running_pick_info_; } void dispatch_node_statu::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* dispatch_node_statu::descriptor() { ::protobuf_message_2eproto::protobuf_AssignDescriptorsOnce(); return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; } const dispatch_node_statu& dispatch_node_statu::default_instance() { ::protobuf_message_2eproto::InitDefaultsdispatch_node_statu(); return *internal_default_instance(); } dispatch_node_statu* dispatch_node_statu::New(::google::protobuf::Arena* arena) const { dispatch_node_statu* n = new dispatch_node_statu; if (arena != NULL) { arena->Own(n); } return n; } void dispatch_node_statu::Clear() { // @@protoc_insertion_point(message_clear_start:dispatch_node_statu) ::google::protobuf::uint32 cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; dispatch_region_info_vector_.Clear(); if (GetArenaNoVirtual() == NULL && running_pack_info_ != NULL) { delete running_pack_info_; } running_pack_info_ = NULL; if (GetArenaNoVirtual() == NULL && running_pick_info_ != NULL) { delete running_pick_info_; } running_pick_info_ = NULL; ::memset(&statu_, 0, static_cast( reinterpret_cast(&plc_status_info_) - reinterpret_cast(&statu_)) + sizeof(plc_status_info_)); _internal_metadata_.Clear(); } bool dispatch_node_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:dispatch_node_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)) { // .CarrierStatu 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))); set_statu(static_cast< ::CarrierStatu >(value)); } else { goto handle_unusual; } break; } // int32 idle_stop_floor = 2; case 2: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &idle_stop_floor_))); } else { goto handle_unusual; } break; } // .park_table running_pack_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_running_pack_info())); } else { goto handle_unusual; } break; } // .pick_table running_pick_info = 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_running_pick_info())); } else { goto handle_unusual; } break; } // int32 unit_id = 5; case 5: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(40u /* 40 & 0xFF */)) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &unit_id_))); } else { goto handle_unusual; } break; } // int32 plc_heartbeat = 6; case 6: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(48u /* 48 & 0xFF */)) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &plc_heartbeat_))); } else { goto handle_unusual; } break; } // int32 plc_status_info = 7; case 7: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(56u /* 56 & 0xFF */)) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &plc_status_info_))); } else { goto handle_unusual; } break; } // repeated .dispatch_region_info dispatch_region_info_vector = 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, add_dispatch_region_info_vector())); } 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:dispatch_node_statu) return true; failure: // @@protoc_insertion_point(parse_failure:dispatch_node_statu) return false; #undef DO_ } void dispatch_node_statu::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // @@protoc_insertion_point(serialize_start:dispatch_node_statu) ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; // .CarrierStatu statu = 1; if (this->statu() != 0) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 1, this->statu(), output); } // int32 idle_stop_floor = 2; if (this->idle_stop_floor() != 0) { ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->idle_stop_floor(), output); } // .park_table running_pack_info = 3; if (this->has_running_pack_info()) { ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( 3, *this->running_pack_info_, output); } // .pick_table running_pick_info = 4; if (this->has_running_pick_info()) { ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( 4, *this->running_pick_info_, output); } // int32 unit_id = 5; if (this->unit_id() != 0) { ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->unit_id(), output); } // int32 plc_heartbeat = 6; if (this->plc_heartbeat() != 0) { ::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->plc_heartbeat(), output); } // int32 plc_status_info = 7; if (this->plc_status_info() != 0) { ::google::protobuf::internal::WireFormatLite::WriteInt32(7, this->plc_status_info(), output); } // repeated .dispatch_region_info dispatch_region_info_vector = 8; for (unsigned int i = 0, n = static_cast(this->dispatch_region_info_vector_size()); i < n; i++) { ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( 8, this->dispatch_region_info_vector(static_cast(i)), output); } if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output); } // @@protoc_insertion_point(serialize_end:dispatch_node_statu) } ::google::protobuf::uint8* dispatch_node_statu::InternalSerializeWithCachedSizesToArray( bool deterministic, ::google::protobuf::uint8* target) const { (void)deterministic; // Unused // @@protoc_insertion_point(serialize_to_array_start:dispatch_node_statu) ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; // .CarrierStatu statu = 1; if (this->statu() != 0) { target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( 1, this->statu(), target); } // int32 idle_stop_floor = 2; if (this->idle_stop_floor() != 0) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->idle_stop_floor(), target); } // .park_table running_pack_info = 3; if (this->has_running_pack_info()) { target = ::google::protobuf::internal::WireFormatLite:: InternalWriteMessageToArray( 3, *this->running_pack_info_, deterministic, target); } // .pick_table running_pick_info = 4; if (this->has_running_pick_info()) { target = ::google::protobuf::internal::WireFormatLite:: InternalWriteMessageToArray( 4, *this->running_pick_info_, deterministic, target); } // int32 unit_id = 5; if (this->unit_id() != 0) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->unit_id(), target); } // int32 plc_heartbeat = 6; if (this->plc_heartbeat() != 0) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->plc_heartbeat(), target); } // int32 plc_status_info = 7; if (this->plc_status_info() != 0) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(7, this->plc_status_info(), target); } // repeated .dispatch_region_info dispatch_region_info_vector = 8; for (unsigned int i = 0, n = static_cast(this->dispatch_region_info_vector_size()); i < n; i++) { target = ::google::protobuf::internal::WireFormatLite:: InternalWriteMessageToArray( 8, this->dispatch_region_info_vector(static_cast(i)), deterministic, target); } if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target); } // @@protoc_insertion_point(serialize_to_array_end:dispatch_node_statu) return target; } size_t dispatch_node_statu::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:dispatch_node_statu) size_t total_size = 0; if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance())); } // repeated .dispatch_region_info dispatch_region_info_vector = 8; { unsigned int count = static_cast(this->dispatch_region_info_vector_size()); total_size += 1UL * count; for (unsigned int i = 0; i < count; i++) { total_size += ::google::protobuf::internal::WireFormatLite::MessageSize( this->dispatch_region_info_vector(static_cast(i))); } } // .park_table running_pack_info = 3; if (this->has_running_pack_info()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( *this->running_pack_info_); } // .pick_table running_pick_info = 4; if (this->has_running_pick_info()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( *this->running_pick_info_); } // .CarrierStatu statu = 1; if (this->statu() != 0) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->statu()); } // int32 idle_stop_floor = 2; if (this->idle_stop_floor() != 0) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->idle_stop_floor()); } // int32 unit_id = 5; if (this->unit_id() != 0) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->unit_id()); } // int32 plc_heartbeat = 6; if (this->plc_heartbeat() != 0) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->plc_heartbeat()); } // int32 plc_status_info = 7; if (this->plc_status_info() != 0) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->plc_status_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_node_statu::MergeFrom(const ::google::protobuf::Message& from) { // @@protoc_insertion_point(generalized_merge_from_start:dispatch_node_statu) GOOGLE_DCHECK_NE(&from, this); const dispatch_node_statu* source = ::google::protobuf::internal::DynamicCastToGenerated( &from); if (source == NULL) { // @@protoc_insertion_point(generalized_merge_from_cast_fail:dispatch_node_statu) ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { // @@protoc_insertion_point(generalized_merge_from_cast_success:dispatch_node_statu) MergeFrom(*source); } } void dispatch_node_statu::MergeFrom(const dispatch_node_statu& from) { // @@protoc_insertion_point(class_specific_merge_from_start:dispatch_node_statu) GOOGLE_DCHECK_NE(&from, this); _internal_metadata_.MergeFrom(from._internal_metadata_); ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; dispatch_region_info_vector_.MergeFrom(from.dispatch_region_info_vector_); if (from.has_running_pack_info()) { mutable_running_pack_info()->::park_table::MergeFrom(from.running_pack_info()); } if (from.has_running_pick_info()) { mutable_running_pick_info()->::pick_table::MergeFrom(from.running_pick_info()); } if (from.statu() != 0) { set_statu(from.statu()); } if (from.idle_stop_floor() != 0) { set_idle_stop_floor(from.idle_stop_floor()); } if (from.unit_id() != 0) { set_unit_id(from.unit_id()); } if (from.plc_heartbeat() != 0) { set_plc_heartbeat(from.plc_heartbeat()); } if (from.plc_status_info() != 0) { set_plc_status_info(from.plc_status_info()); } } void dispatch_node_statu::CopyFrom(const ::google::protobuf::Message& from) { // @@protoc_insertion_point(generalized_copy_from_start:dispatch_node_statu) if (&from == this) return; Clear(); MergeFrom(from); } void dispatch_node_statu::CopyFrom(const dispatch_node_statu& from) { // @@protoc_insertion_point(class_specific_copy_from_start:dispatch_node_statu) if (&from == this) return; Clear(); MergeFrom(from); } bool dispatch_node_statu::IsInitialized() const { return true; } void dispatch_node_statu::Swap(dispatch_node_statu* other) { if (other == this) return; InternalSwap(other); } void dispatch_node_statu::InternalSwap(dispatch_node_statu* other) { using std::swap; dispatch_region_info_vector_.InternalSwap(&other->dispatch_region_info_vector_); swap(running_pack_info_, other->running_pack_info_); swap(running_pick_info_, other->running_pick_info_); swap(statu_, other->statu_); swap(idle_stop_floor_, other->idle_stop_floor_); swap(unit_id_, other->unit_id_); swap(plc_heartbeat_, other->plc_heartbeat_); swap(plc_status_info_, other->plc_status_info_); _internal_metadata_.Swap(&other->_internal_metadata_); swap(_cached_size_, other->_cached_size_); } ::google::protobuf::Metadata dispatch_node_statu::GetMetadata() const { protobuf_message_2eproto::protobuf_AssignDescriptorsOnce(); return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages]; } // @@protoc_insertion_point(namespace_scope) // @@protoc_insertion_point(global_scope)