|
@@ -25,11 +25,6 @@ class Base_infoDefaultTypeInternal {
|
|
|
::google::protobuf::internal::ExplicitlyConstructed<Base_info>
|
|
|
_instance;
|
|
|
} _Base_info_default_instance_;
|
|
|
-class Command_infoDefaultTypeInternal {
|
|
|
- public:
|
|
|
- ::google::protobuf::internal::ExplicitlyConstructed<Command_info>
|
|
|
- _instance;
|
|
|
-} _Command_info_default_instance_;
|
|
|
class Base_msgDefaultTypeInternal {
|
|
|
public:
|
|
|
::google::protobuf::internal::ExplicitlyConstructed<Base_msg>
|
|
@@ -78,27 +73,6 @@ void InitDefaultsBase_info() {
|
|
|
::google::protobuf::GoogleOnceInit(&once, &InitDefaultsBase_infoImpl);
|
|
|
}
|
|
|
|
|
|
-void InitDefaultsCommand_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 = &::message::_Command_info_default_instance_;
|
|
|
- new (ptr) ::message::Command_info();
|
|
|
- ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
|
|
|
- }
|
|
|
- ::message::Command_info::InitAsDefaultInstance();
|
|
|
-}
|
|
|
-
|
|
|
-void InitDefaultsCommand_info() {
|
|
|
- static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
|
|
|
- ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsCommand_infoImpl);
|
|
|
-}
|
|
|
-
|
|
|
void InitDefaultsBase_msgImpl() {
|
|
|
GOOGLE_PROTOBUF_VERIFY_VERSION;
|
|
|
|
|
@@ -206,8 +180,8 @@ void InitDefaultsParkspace_info() {
|
|
|
::google::protobuf::GoogleOnceInit(&once, &InitDefaultsParkspace_infoImpl);
|
|
|
}
|
|
|
|
|
|
-::google::protobuf::Metadata file_level_metadata[7];
|
|
|
-const ::google::protobuf::EnumDescriptor* file_level_enum_descriptors[6];
|
|
|
+::google::protobuf::Metadata file_level_metadata[6];
|
|
|
+const ::google::protobuf::EnumDescriptor* file_level_enum_descriptors[8];
|
|
|
|
|
|
const ::google::protobuf::uint32 TableStruct::offsets[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
|
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Base_info, _has_bits_),
|
|
@@ -223,17 +197,6 @@ const ::google::protobuf::uint32 TableStruct::offsets[] GOOGLE_PROTOBUF_ATTRIBUT
|
|
|
1,
|
|
|
2,
|
|
|
3,
|
|
|
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Command_info, _has_bits_),
|
|
|
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Command_info, _internal_metadata_),
|
|
|
- ~0u, // no _extensions_
|
|
|
- ~0u, // no _oneof_case_
|
|
|
- ~0u, // no _weak_field_map_
|
|
|
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Command_info, time_),
|
|
|
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Command_info, location_),
|
|
|
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Command_info, event_),
|
|
|
- 0,
|
|
|
- 1,
|
|
|
- 2,
|
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Base_msg, _has_bits_),
|
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Base_msg, _internal_metadata_),
|
|
|
~0u, // no _extensions_
|
|
@@ -304,10 +267,9 @@ const ::google::protobuf::uint32 TableStruct::offsets[] GOOGLE_PROTOBUF_ATTRIBUT
|
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Parkspace_info, car_info_),
|
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Parkspace_info, entry_time_),
|
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Parkspace_info, leave_time_),
|
|
|
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Parkspace_info, block_id_),
|
|
|
3,
|
|
|
4,
|
|
|
- 11,
|
|
|
+ 10,
|
|
|
5,
|
|
|
6,
|
|
|
7,
|
|
@@ -316,21 +278,18 @@ const ::google::protobuf::uint32 TableStruct::offsets[] GOOGLE_PROTOBUF_ATTRIBUT
|
|
|
2,
|
|
|
0,
|
|
|
1,
|
|
|
- 10,
|
|
|
};
|
|
|
static const ::google::protobuf::internal::MigrationSchema schemas[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
|
|
|
{ 0, 9, sizeof(::message::Base_info)},
|
|
|
- { 13, 21, sizeof(::message::Command_info)},
|
|
|
- { 24, 30, sizeof(::message::Base_msg)},
|
|
|
- { 31, 39, sizeof(::message::Error_manager)},
|
|
|
- { 42, 56, sizeof(::message::Locate_information)},
|
|
|
- { 65, 74, sizeof(::message::Car_info)},
|
|
|
- { 78, 95, sizeof(::message::Parkspace_info)},
|
|
|
+ { 13, 19, sizeof(::message::Base_msg)},
|
|
|
+ { 20, 28, sizeof(::message::Error_manager)},
|
|
|
+ { 31, 45, sizeof(::message::Locate_information)},
|
|
|
+ { 54, 63, sizeof(::message::Car_info)},
|
|
|
+ { 67, 83, sizeof(::message::Parkspace_info)},
|
|
|
};
|
|
|
|
|
|
static ::google::protobuf::Message const * const file_default_instances[] = {
|
|
|
reinterpret_cast<const ::google::protobuf::Message*>(&::message::_Base_info_default_instance_),
|
|
|
- reinterpret_cast<const ::google::protobuf::Message*>(&::message::_Command_info_default_instance_),
|
|
|
reinterpret_cast<const ::google::protobuf::Message*>(&::message::_Base_msg_default_instance_),
|
|
|
reinterpret_cast<const ::google::protobuf::Message*>(&::message::_Error_manager_default_instance_),
|
|
|
reinterpret_cast<const ::google::protobuf::Message*>(&::message::_Locate_information_default_instance_),
|
|
@@ -354,7 +313,7 @@ void protobuf_AssignDescriptorsOnce() {
|
|
|
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, 7);
|
|
|
+ ::google::protobuf::internal::RegisterAllTypes(file_level_metadata, 6);
|
|
|
}
|
|
|
|
|
|
void AddDescriptorsImpl() {
|
|
@@ -364,63 +323,74 @@ void AddDescriptorsImpl() {
|
|
|
"nfo\022\'\n\010msg_type\030\001 \002(\0162\025.message.Message_"
|
|
|
"type\022\022\n\ntimeout_ms\030\002 \001(\005\022%\n\006sender\030\003 \002(\016"
|
|
|
"2\025.message.Communicator\022\'\n\010receiver\030\004 \002("
|
|
|
- "\0162\025.message.Communicator\"M\n\014Command_info"
|
|
|
- "\022\014\n\004time\030\001 \002(\t\022\020\n\010location\030\002 \002(\t\022\035\n\005even"
|
|
|
- "t\030\003 \002(\0162\016.message.Event\"1\n\010Base_msg\022%\n\tb"
|
|
|
- "ase_info\030\001 \002(\0132\022.message.Base_info\"i\n\rEr"
|
|
|
- "ror_manager\022\022\n\nerror_code\030\001 \002(\005\022)\n\013error"
|
|
|
- "_level\030\002 \001(\0162\024.message.Error_level\022\031\n\021er"
|
|
|
- "ror_description\030\003 \001(\t\"\341\001\n\022Locate_informa"
|
|
|
- "tion\022\020\n\010locate_x\030\001 \001(\002\022\020\n\010locate_y\030\002 \001(\002"
|
|
|
- "\022\024\n\014locate_angle\030\003 \001(\002\022\025\n\rlocate_length\030"
|
|
|
- "\004 \001(\002\022\024\n\014locate_width\030\005 \001(\002\022\025\n\rlocate_he"
|
|
|
- "ight\030\006 \001(\002\022\031\n\021locate_wheel_base\030\007 \001(\002\022\032\n"
|
|
|
- "\022locate_wheel_width\030\010 \001(\002\022\026\n\016locate_corr"
|
|
|
- "ect\030\t \001(\010\"V\n\010Car_info\022\022\n\ncar_length\030\001 \001("
|
|
|
- "\002\022\021\n\tcar_width\030\002 \001(\002\022\022\n\ncar_height\030\003 \001(\002"
|
|
|
- "\022\017\n\007license\030\004 \001(\t\"\256\002\n\016Parkspace_info\022\024\n\014"
|
|
|
- "parkspace_id\030\001 \001(\005\022\r\n\005index\030\002 \001(\005\022%\n\tdir"
|
|
|
- "ection\030\003 \001(\0162\022.message.Direction\022\r\n\005floo"
|
|
|
- "r\030\004 \001(\005\022\016\n\006length\030\005 \001(\002\022\r\n\005width\030\006 \001(\002\022\016"
|
|
|
- "\n\006height\030\007 \001(\002\0223\n\020parkspace_status\030\010 \001(\016"
|
|
|
- "2\031.message.Parkspace_status\022#\n\010car_info\030"
|
|
|
- "\t \001(\0132\021.message.Car_info\022\022\n\nentry_time\030\n"
|
|
|
- " \001(\t\022\022\n\nleave_time\030\013 \001(\t\022\020\n\010block_id\030\014 \001"
|
|
|
- "(\005*\276\006\n\014Message_type\022\r\n\teBase_msg\020\000\022\020\n\014eC"
|
|
|
- "ommand_msg\020\001\022\026\n\022eLocate_status_msg\020\021\022\027\n\023"
|
|
|
- "eLocate_request_msg\020\022\022\030\n\024eLocate_respons"
|
|
|
- "e_msg\020\023\022\030\n\024eDispatch_status_msg\020!\022\031\n\025eDi"
|
|
|
- "spatch_request_msg\020\"\022\032\n\026eDispatch_respon"
|
|
|
- "se_msg\020#\022$\n eParkspace_allocation_status"
|
|
|
- "_msg\0201\022%\n!eParkspace_allocation_request_"
|
|
|
- "msg\0202\022&\n\"eParkspace_allocation_response_"
|
|
|
- "msg\0203\022!\n\035eParkspace_search_request_msg\0204"
|
|
|
- "\022\"\n\036eParkspace_search_response_msg\0205\022\"\n\036"
|
|
|
- "eParkspace_release_request_msg\0206\022#\n\037ePar"
|
|
|
- "kspace_release_response_msg\0207\022\'\n#eParksp"
|
|
|
- "ace_force_update_request_msg\0208\022(\n$eParks"
|
|
|
- "pace_force_update_response_msg\0209\022(\n$ePar"
|
|
|
- "kspace_confirm_alloc_request_msg\020:\022)\n%eP"
|
|
|
- "arkspace_confirm_alloc_response_msg\020;\022\036\n"
|
|
|
- "\032eStore_command_request_msg\020A\022\037\n\033eStore_"
|
|
|
- "command_response_msg\020B\022\037\n\033ePickup_comman"
|
|
|
- "d_request_msg\020C\022 \n\034ePickup_command_respo"
|
|
|
- "nse_msg\020D\022\037\n\032eStoring_process_statu_msg\020"
|
|
|
- "\220\001\022\037\n\032ePicking_process_statu_msg\020\221\001*f\n\014C"
|
|
|
- "ommunicator\022\n\n\006eEmpty\020\000\022\t\n\005eMain\020\001\022\016\n\teT"
|
|
|
- "erminor\020\200\002\022\017\n\neParkspace\020\200\004\022\016\n\teMeasurer"
|
|
|
- "\020\200\006\022\016\n\teDispatch\020\200\010*#\n\005Event\022\014\n\010eStoring"
|
|
|
- "\020\001\022\014\n\010ePicking\020\002*e\n\013Error_level\022\n\n\006NORMA"
|
|
|
- "L\020\000\022\024\n\020NEGLIGIBLE_ERROR\020\001\022\017\n\013MINOR_ERROR"
|
|
|
- "\020\002\022\017\n\013MAJOR_ERROR\020\003\022\022\n\016CRITICAL_ERROR\020\004*"
|
|
|
- "\207\001\n\020Parkspace_status\022\024\n\020eParkspace_empty"
|
|
|
- "\020\000\022\027\n\023eParkspace_occupied\020\001\022\027\n\023eParkspac"
|
|
|
- "e_reserved\020\002\022\025\n\021eParkspace_locked\020\003\022\024\n\020e"
|
|
|
- "Parkspace_error\020\004*(\n\tDirection\022\014\n\010eForwa"
|
|
|
- "rd\020\001\022\r\n\teBackward\020\002"
|
|
|
+ "\0162\025.message.Communicator\"1\n\010Base_msg\022%\n\t"
|
|
|
+ "base_info\030\001 \002(\0132\022.message.Base_info\"i\n\rE"
|
|
|
+ "rror_manager\022\022\n\nerror_code\030\001 \002(\005\022)\n\013erro"
|
|
|
+ "r_level\030\002 \001(\0162\024.message.Error_level\022\031\n\021e"
|
|
|
+ "rror_description\030\003 \001(\t\"\341\001\n\022Locate_inform"
|
|
|
+ "ation\022\020\n\010locate_x\030\001 \001(\002\022\020\n\010locate_y\030\002 \001("
|
|
|
+ "\002\022\024\n\014locate_angle\030\003 \001(\002\022\025\n\rlocate_length"
|
|
|
+ "\030\004 \001(\002\022\024\n\014locate_width\030\005 \001(\002\022\025\n\rlocate_h"
|
|
|
+ "eight\030\006 \001(\002\022\031\n\021locate_wheel_base\030\007 \001(\002\022\032"
|
|
|
+ "\n\022locate_wheel_width\030\010 \001(\002\022\026\n\016locate_cor"
|
|
|
+ "rect\030\t \001(\010\"V\n\010Car_info\022\022\n\ncar_length\030\001 \001"
|
|
|
+ "(\002\022\021\n\tcar_width\030\002 \001(\002\022\022\n\ncar_height\030\003 \001("
|
|
|
+ "\002\022\017\n\007license\030\004 \001(\t\"\234\002\n\016Parkspace_info\022\024\n"
|
|
|
+ "\014parkspace_id\030\001 \001(\005\022\r\n\005index\030\002 \001(\005\022%\n\tdi"
|
|
|
+ "rection\030\003 \001(\0162\022.message.Direction\022\r\n\005flo"
|
|
|
+ "or\030\004 \001(\005\022\016\n\006length\030\005 \001(\002\022\r\n\005width\030\006 \001(\002\022"
|
|
|
+ "\016\n\006height\030\007 \001(\002\0223\n\020parkspace_status\030\010 \001("
|
|
|
+ "\0162\031.message.Parkspace_status\022#\n\010car_info"
|
|
|
+ "\030\t \001(\0132\021.message.Car_info\022\022\n\nentry_time\030"
|
|
|
+ "\n \001(\t\022\022\n\nleave_time\030\013 \001(\t*\253\007\n\014Message_ty"
|
|
|
+ "pe\022\r\n\teBase_msg\020\000\022\020\n\014eCommand_msg\020\001\022\026\n\022e"
|
|
|
+ "Locate_status_msg\020\021\022\027\n\023eLocate_request_m"
|
|
|
+ "sg\020\022\022\030\n\024eLocate_response_msg\020\023\022\030\n\024eDispa"
|
|
|
+ "tch_status_msg\020!\022\031\n\025eDispatch_request_ms"
|
|
|
+ "g\020\"\022\032\n\026eDispatch_response_msg\020#\022$\n ePark"
|
|
|
+ "space_allocation_status_msg\0201\022%\n!eParksp"
|
|
|
+ "ace_allocation_request_msg\0202\022&\n\"eParkspa"
|
|
|
+ "ce_allocation_response_msg\0203\022!\n\035eParkspa"
|
|
|
+ "ce_search_request_msg\0204\022\"\n\036eParkspace_se"
|
|
|
+ "arch_response_msg\0205\022\"\n\036eParkspace_releas"
|
|
|
+ "e_request_msg\0206\022#\n\037eParkspace_release_re"
|
|
|
+ "sponse_msg\0207\022\'\n#eParkspace_force_update_"
|
|
|
+ "request_msg\0208\022(\n$eParkspace_force_update"
|
|
|
+ "_response_msg\0209\022(\n$eParkspace_confirm_al"
|
|
|
+ "loc_request_msg\020:\022)\n%eParkspace_confirm_"
|
|
|
+ "alloc_response_msg\020;\022\036\n\032eStore_command_r"
|
|
|
+ "equest_msg\020A\022\037\n\033eStore_command_response_"
|
|
|
+ "msg\020B\022\037\n\033ePickup_command_request_msg\020C\022 "
|
|
|
+ "\n\034ePickup_command_response_msg\020D\022\037\n\032eSto"
|
|
|
+ "ring_process_statu_msg\020\220\001\022\037\n\032ePicking_pr"
|
|
|
+ "ocess_statu_msg\020\221\001\022\"\n\035eCentral_controlle"
|
|
|
+ "r_statu_msg\020\240\001\022#\n\036eEntrance_manual_opera"
|
|
|
+ "tion_msg\020\260\001\022\"\n\035eProcess_manual_operation"
|
|
|
+ "_msg\020\261\001*f\n\014Communicator\022\n\n\006eEmpty\020\000\022\t\n\005e"
|
|
|
+ "Main\020\001\022\016\n\teTerminor\020\200\002\022\017\n\neParkspace\020\200\004\022"
|
|
|
+ "\016\n\teMeasurer\020\200\006\022\016\n\teDispatch\020\200\010**\n\014Proce"
|
|
|
+ "ss_type\022\014\n\010eStoring\020\001\022\014\n\010ePicking\020\002*e\n\013E"
|
|
|
+ "rror_level\022\n\n\006NORMAL\020\000\022\024\n\020NEGLIGIBLE_ERR"
|
|
|
+ "OR\020\001\022\017\n\013MINOR_ERROR\020\002\022\017\n\013MAJOR_ERROR\020\003\022\022"
|
|
|
+ "\n\016CRITICAL_ERROR\020\004*\207\001\n\020Parkspace_status\022"
|
|
|
+ "\024\n\020eParkspace_empty\020\000\022\027\n\023eParkspace_occu"
|
|
|
+ "pied\020\001\022\027\n\023eParkspace_reserved\020\002\022\025\n\021ePark"
|
|
|
+ "space_locked\020\003\022\024\n\020eParkspace_error\020\004*(\n\t"
|
|
|
+ "Direction\022\014\n\010eForward\020\001\022\r\n\teBackward\020\002*\335"
|
|
|
+ "\002\n\tStep_type\022\017\n\013eAlloc_step\020\000\022\021\n\reMeasur"
|
|
|
+ "e_step\020\001\022\021\n\reCompare_step\020\002\022\022\n\016eDispatch"
|
|
|
+ "_step\020\003\022\021\n\reConfirm_step\020\004\022\020\n\014eSearch_st"
|
|
|
+ "ep\020\005\022\016\n\neWait_step\020\006\022\021\n\reRelease_step\020\007\022"
|
|
|
+ "\r\n\teComplete\020\010\022\025\n\021eBackConfirm_step\020\t\022\026\n"
|
|
|
+ "\022eBack_compare_step\020\n\022\025\n\021eBackMeasure_st"
|
|
|
+ "ep\020\013\022\023\n\017eBackAlloc_step\020\014\022\022\n\016eBackWait_s"
|
|
|
+ "tep\020\r\022\026\n\022eBackDispatch_step\020\016\022\024\n\020eBackSe"
|
|
|
+ "arch_step\020\017\022\021\n\reBackComplete\020\020*C\n\nStep_s"
|
|
|
+ "tatu\022\014\n\010eWaiting\020\000\022\014\n\010eWorking\020\001\022\n\n\006eErr"
|
|
|
+ "or\020\002\022\r\n\teFinished\020\003"
|
|
|
};
|
|
|
::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
|
|
|
- descriptor, 2299);
|
|
|
+ descriptor, 2739);
|
|
|
::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
|
|
|
"message_base.proto", &protobuf_RegisterTypes);
|
|
|
}
|
|
@@ -468,6 +438,9 @@ bool Message_type_IsValid(int value) {
|
|
|
case 68:
|
|
|
case 144:
|
|
|
case 145:
|
|
|
+ case 160:
|
|
|
+ case 176:
|
|
|
+ case 177:
|
|
|
return true;
|
|
|
default:
|
|
|
return false;
|
|
@@ -492,11 +465,11 @@ bool Communicator_IsValid(int value) {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-const ::google::protobuf::EnumDescriptor* Event_descriptor() {
|
|
|
+const ::google::protobuf::EnumDescriptor* Process_type_descriptor() {
|
|
|
protobuf_message_5fbase_2eproto::protobuf_AssignDescriptorsOnce();
|
|
|
return protobuf_message_5fbase_2eproto::file_level_enum_descriptors[2];
|
|
|
}
|
|
|
-bool Event_IsValid(int value) {
|
|
|
+bool Process_type_IsValid(int value) {
|
|
|
switch (value) {
|
|
|
case 1:
|
|
|
case 2:
|
|
@@ -554,6 +527,51 @@ bool Direction_IsValid(int value) {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+const ::google::protobuf::EnumDescriptor* Step_type_descriptor() {
|
|
|
+ protobuf_message_5fbase_2eproto::protobuf_AssignDescriptorsOnce();
|
|
|
+ return protobuf_message_5fbase_2eproto::file_level_enum_descriptors[6];
|
|
|
+}
|
|
|
+bool Step_type_IsValid(int value) {
|
|
|
+ switch (value) {
|
|
|
+ case 0:
|
|
|
+ case 1:
|
|
|
+ case 2:
|
|
|
+ case 3:
|
|
|
+ case 4:
|
|
|
+ case 5:
|
|
|
+ case 6:
|
|
|
+ case 7:
|
|
|
+ case 8:
|
|
|
+ case 9:
|
|
|
+ case 10:
|
|
|
+ case 11:
|
|
|
+ case 12:
|
|
|
+ case 13:
|
|
|
+ case 14:
|
|
|
+ case 15:
|
|
|
+ case 16:
|
|
|
+ return true;
|
|
|
+ default:
|
|
|
+ return false;
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+const ::google::protobuf::EnumDescriptor* Step_statu_descriptor() {
|
|
|
+ protobuf_message_5fbase_2eproto::protobuf_AssignDescriptorsOnce();
|
|
|
+ return protobuf_message_5fbase_2eproto::file_level_enum_descriptors[7];
|
|
|
+}
|
|
|
+bool Step_statu_IsValid(int value) {
|
|
|
+ switch (value) {
|
|
|
+ case 0:
|
|
|
+ case 1:
|
|
|
+ case 2:
|
|
|
+ case 3:
|
|
|
+ return true;
|
|
|
+ default:
|
|
|
+ return false;
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
|
|
|
// ===================================================================
|
|
|
|
|
@@ -963,408 +981,6 @@ void Base_info::InternalSwap(Base_info* other) {
|
|
|
}
|
|
|
|
|
|
|
|
|
-// ===================================================================
|
|
|
-
|
|
|
-void Command_info::InitAsDefaultInstance() {
|
|
|
-}
|
|
|
-#if !defined(_MSC_VER) || _MSC_VER >= 1900
|
|
|
-const int Command_info::kTimeFieldNumber;
|
|
|
-const int Command_info::kLocationFieldNumber;
|
|
|
-const int Command_info::kEventFieldNumber;
|
|
|
-#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
|
|
|
-
|
|
|
-Command_info::Command_info()
|
|
|
- : ::google::protobuf::Message(), _internal_metadata_(NULL) {
|
|
|
- if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
|
|
|
- ::protobuf_message_5fbase_2eproto::InitDefaultsCommand_info();
|
|
|
- }
|
|
|
- SharedCtor();
|
|
|
- // @@protoc_insertion_point(constructor:message.Command_info)
|
|
|
-}
|
|
|
-Command_info::Command_info(const Command_info& from)
|
|
|
- : ::google::protobuf::Message(),
|
|
|
- _internal_metadata_(NULL),
|
|
|
- _has_bits_(from._has_bits_),
|
|
|
- _cached_size_(0) {
|
|
|
- _internal_metadata_.MergeFrom(from._internal_metadata_);
|
|
|
- time_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
|
- if (from.has_time()) {
|
|
|
- time_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.time_);
|
|
|
- }
|
|
|
- location_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
|
- if (from.has_location()) {
|
|
|
- location_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.location_);
|
|
|
- }
|
|
|
- event_ = from.event_;
|
|
|
- // @@protoc_insertion_point(copy_constructor:message.Command_info)
|
|
|
-}
|
|
|
-
|
|
|
-void Command_info::SharedCtor() {
|
|
|
- _cached_size_ = 0;
|
|
|
- time_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
|
- location_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
|
- event_ = 1;
|
|
|
-}
|
|
|
-
|
|
|
-Command_info::~Command_info() {
|
|
|
- // @@protoc_insertion_point(destructor:message.Command_info)
|
|
|
- SharedDtor();
|
|
|
-}
|
|
|
-
|
|
|
-void Command_info::SharedDtor() {
|
|
|
- time_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
|
- location_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
|
-}
|
|
|
-
|
|
|
-void Command_info::SetCachedSize(int size) const {
|
|
|
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
|
|
|
- _cached_size_ = size;
|
|
|
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
|
|
|
-}
|
|
|
-const ::google::protobuf::Descriptor* Command_info::descriptor() {
|
|
|
- ::protobuf_message_5fbase_2eproto::protobuf_AssignDescriptorsOnce();
|
|
|
- return ::protobuf_message_5fbase_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
|
|
|
-}
|
|
|
-
|
|
|
-const Command_info& Command_info::default_instance() {
|
|
|
- ::protobuf_message_5fbase_2eproto::InitDefaultsCommand_info();
|
|
|
- return *internal_default_instance();
|
|
|
-}
|
|
|
-
|
|
|
-Command_info* Command_info::New(::google::protobuf::Arena* arena) const {
|
|
|
- Command_info* n = new Command_info;
|
|
|
- if (arena != NULL) {
|
|
|
- arena->Own(n);
|
|
|
- }
|
|
|
- return n;
|
|
|
-}
|
|
|
-
|
|
|
-void Command_info::Clear() {
|
|
|
-// @@protoc_insertion_point(message_clear_start:message.Command_info)
|
|
|
- ::google::protobuf::uint32 cached_has_bits = 0;
|
|
|
- // Prevent compiler warnings about cached_has_bits being unused
|
|
|
- (void) cached_has_bits;
|
|
|
-
|
|
|
- cached_has_bits = _has_bits_[0];
|
|
|
- if (cached_has_bits & 7u) {
|
|
|
- if (cached_has_bits & 0x00000001u) {
|
|
|
- GOOGLE_DCHECK(!time_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
|
|
|
- (*time_.UnsafeRawStringPointer())->clear();
|
|
|
- }
|
|
|
- if (cached_has_bits & 0x00000002u) {
|
|
|
- GOOGLE_DCHECK(!location_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
|
|
|
- (*location_.UnsafeRawStringPointer())->clear();
|
|
|
- }
|
|
|
- event_ = 1;
|
|
|
- }
|
|
|
- _has_bits_.Clear();
|
|
|
- _internal_metadata_.Clear();
|
|
|
-}
|
|
|
-
|
|
|
-bool Command_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:message.Command_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)) {
|
|
|
- // required string time = 1;
|
|
|
- case 1: {
|
|
|
- if (static_cast< ::google::protobuf::uint8>(tag) ==
|
|
|
- static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
|
|
|
- DO_(::google::protobuf::internal::WireFormatLite::ReadString(
|
|
|
- input, this->mutable_time()));
|
|
|
- ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
|
- this->time().data(), static_cast<int>(this->time().length()),
|
|
|
- ::google::protobuf::internal::WireFormat::PARSE,
|
|
|
- "message.Command_info.time");
|
|
|
- } else {
|
|
|
- goto handle_unusual;
|
|
|
- }
|
|
|
- break;
|
|
|
- }
|
|
|
-
|
|
|
- // required string location = 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_location()));
|
|
|
- ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
|
- this->location().data(), static_cast<int>(this->location().length()),
|
|
|
- ::google::protobuf::internal::WireFormat::PARSE,
|
|
|
- "message.Command_info.location");
|
|
|
- } else {
|
|
|
- goto handle_unusual;
|
|
|
- }
|
|
|
- break;
|
|
|
- }
|
|
|
-
|
|
|
- // required .message.Event event = 3;
|
|
|
- case 3: {
|
|
|
- if (static_cast< ::google::protobuf::uint8>(tag) ==
|
|
|
- static_cast< ::google::protobuf::uint8>(24u /* 24 & 0xFF */)) {
|
|
|
- int value;
|
|
|
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
|
- int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
|
|
|
- input, &value)));
|
|
|
- if (::message::Event_IsValid(value)) {
|
|
|
- set_event(static_cast< ::message::Event >(value));
|
|
|
- } else {
|
|
|
- mutable_unknown_fields()->AddVarint(
|
|
|
- 3, static_cast< ::google::protobuf::uint64>(value));
|
|
|
- }
|
|
|
- } else {
|
|
|
- goto handle_unusual;
|
|
|
- }
|
|
|
- break;
|
|
|
- }
|
|
|
-
|
|
|
- default: {
|
|
|
- handle_unusual:
|
|
|
- if (tag == 0) {
|
|
|
- goto success;
|
|
|
- }
|
|
|
- DO_(::google::protobuf::internal::WireFormat::SkipField(
|
|
|
- input, tag, _internal_metadata_.mutable_unknown_fields()));
|
|
|
- break;
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
-success:
|
|
|
- // @@protoc_insertion_point(parse_success:message.Command_info)
|
|
|
- return true;
|
|
|
-failure:
|
|
|
- // @@protoc_insertion_point(parse_failure:message.Command_info)
|
|
|
- return false;
|
|
|
-#undef DO_
|
|
|
-}
|
|
|
-
|
|
|
-void Command_info::SerializeWithCachedSizes(
|
|
|
- ::google::protobuf::io::CodedOutputStream* output) const {
|
|
|
- // @@protoc_insertion_point(serialize_start:message.Command_info)
|
|
|
- ::google::protobuf::uint32 cached_has_bits = 0;
|
|
|
- (void) cached_has_bits;
|
|
|
-
|
|
|
- cached_has_bits = _has_bits_[0];
|
|
|
- // required string time = 1;
|
|
|
- if (cached_has_bits & 0x00000001u) {
|
|
|
- ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
|
- this->time().data(), static_cast<int>(this->time().length()),
|
|
|
- ::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
|
- "message.Command_info.time");
|
|
|
- ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
|
|
|
- 1, this->time(), output);
|
|
|
- }
|
|
|
-
|
|
|
- // required string location = 2;
|
|
|
- if (cached_has_bits & 0x00000002u) {
|
|
|
- ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
|
- this->location().data(), static_cast<int>(this->location().length()),
|
|
|
- ::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
|
- "message.Command_info.location");
|
|
|
- ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
|
|
|
- 2, this->location(), output);
|
|
|
- }
|
|
|
-
|
|
|
- // required .message.Event event = 3;
|
|
|
- if (cached_has_bits & 0x00000004u) {
|
|
|
- ::google::protobuf::internal::WireFormatLite::WriteEnum(
|
|
|
- 3, this->event(), output);
|
|
|
- }
|
|
|
-
|
|
|
- if (_internal_metadata_.have_unknown_fields()) {
|
|
|
- ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
|
|
|
- _internal_metadata_.unknown_fields(), output);
|
|
|
- }
|
|
|
- // @@protoc_insertion_point(serialize_end:message.Command_info)
|
|
|
-}
|
|
|
-
|
|
|
-::google::protobuf::uint8* Command_info::InternalSerializeWithCachedSizesToArray(
|
|
|
- bool deterministic, ::google::protobuf::uint8* target) const {
|
|
|
- (void)deterministic; // Unused
|
|
|
- // @@protoc_insertion_point(serialize_to_array_start:message.Command_info)
|
|
|
- ::google::protobuf::uint32 cached_has_bits = 0;
|
|
|
- (void) cached_has_bits;
|
|
|
-
|
|
|
- cached_has_bits = _has_bits_[0];
|
|
|
- // required string time = 1;
|
|
|
- if (cached_has_bits & 0x00000001u) {
|
|
|
- ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
|
- this->time().data(), static_cast<int>(this->time().length()),
|
|
|
- ::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
|
- "message.Command_info.time");
|
|
|
- target =
|
|
|
- ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
|
|
|
- 1, this->time(), target);
|
|
|
- }
|
|
|
-
|
|
|
- // required string location = 2;
|
|
|
- if (cached_has_bits & 0x00000002u) {
|
|
|
- ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
|
- this->location().data(), static_cast<int>(this->location().length()),
|
|
|
- ::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
|
- "message.Command_info.location");
|
|
|
- target =
|
|
|
- ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
|
|
|
- 2, this->location(), target);
|
|
|
- }
|
|
|
-
|
|
|
- // required .message.Event event = 3;
|
|
|
- if (cached_has_bits & 0x00000004u) {
|
|
|
- target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
|
|
|
- 3, this->event(), target);
|
|
|
- }
|
|
|
-
|
|
|
- if (_internal_metadata_.have_unknown_fields()) {
|
|
|
- target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
|
|
|
- _internal_metadata_.unknown_fields(), target);
|
|
|
- }
|
|
|
- // @@protoc_insertion_point(serialize_to_array_end:message.Command_info)
|
|
|
- return target;
|
|
|
-}
|
|
|
-
|
|
|
-size_t Command_info::RequiredFieldsByteSizeFallback() const {
|
|
|
-// @@protoc_insertion_point(required_fields_byte_size_fallback_start:message.Command_info)
|
|
|
- size_t total_size = 0;
|
|
|
-
|
|
|
- if (has_time()) {
|
|
|
- // required string time = 1;
|
|
|
- total_size += 1 +
|
|
|
- ::google::protobuf::internal::WireFormatLite::StringSize(
|
|
|
- this->time());
|
|
|
- }
|
|
|
-
|
|
|
- if (has_location()) {
|
|
|
- // required string location = 2;
|
|
|
- total_size += 1 +
|
|
|
- ::google::protobuf::internal::WireFormatLite::StringSize(
|
|
|
- this->location());
|
|
|
- }
|
|
|
-
|
|
|
- if (has_event()) {
|
|
|
- // required .message.Event event = 3;
|
|
|
- total_size += 1 +
|
|
|
- ::google::protobuf::internal::WireFormatLite::EnumSize(this->event());
|
|
|
- }
|
|
|
-
|
|
|
- return total_size;
|
|
|
-}
|
|
|
-size_t Command_info::ByteSizeLong() const {
|
|
|
-// @@protoc_insertion_point(message_byte_size_start:message.Command_info)
|
|
|
- size_t total_size = 0;
|
|
|
-
|
|
|
- if (_internal_metadata_.have_unknown_fields()) {
|
|
|
- total_size +=
|
|
|
- ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
|
|
|
- _internal_metadata_.unknown_fields());
|
|
|
- }
|
|
|
- if (((_has_bits_[0] & 0x00000007) ^ 0x00000007) == 0) { // All required fields are present.
|
|
|
- // required string time = 1;
|
|
|
- total_size += 1 +
|
|
|
- ::google::protobuf::internal::WireFormatLite::StringSize(
|
|
|
- this->time());
|
|
|
-
|
|
|
- // required string location = 2;
|
|
|
- total_size += 1 +
|
|
|
- ::google::protobuf::internal::WireFormatLite::StringSize(
|
|
|
- this->location());
|
|
|
-
|
|
|
- // required .message.Event event = 3;
|
|
|
- total_size += 1 +
|
|
|
- ::google::protobuf::internal::WireFormatLite::EnumSize(this->event());
|
|
|
-
|
|
|
- } else {
|
|
|
- total_size += RequiredFieldsByteSizeFallback();
|
|
|
- }
|
|
|
- int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
|
|
|
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
|
|
|
- _cached_size_ = cached_size;
|
|
|
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
|
|
|
- return total_size;
|
|
|
-}
|
|
|
-
|
|
|
-void Command_info::MergeFrom(const ::google::protobuf::Message& from) {
|
|
|
-// @@protoc_insertion_point(generalized_merge_from_start:message.Command_info)
|
|
|
- GOOGLE_DCHECK_NE(&from, this);
|
|
|
- const Command_info* source =
|
|
|
- ::google::protobuf::internal::DynamicCastToGenerated<const Command_info>(
|
|
|
- &from);
|
|
|
- if (source == NULL) {
|
|
|
- // @@protoc_insertion_point(generalized_merge_from_cast_fail:message.Command_info)
|
|
|
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
|
|
|
- } else {
|
|
|
- // @@protoc_insertion_point(generalized_merge_from_cast_success:message.Command_info)
|
|
|
- MergeFrom(*source);
|
|
|
- }
|
|
|
-}
|
|
|
-
|
|
|
-void Command_info::MergeFrom(const Command_info& from) {
|
|
|
-// @@protoc_insertion_point(class_specific_merge_from_start:message.Command_info)
|
|
|
- GOOGLE_DCHECK_NE(&from, this);
|
|
|
- _internal_metadata_.MergeFrom(from._internal_metadata_);
|
|
|
- ::google::protobuf::uint32 cached_has_bits = 0;
|
|
|
- (void) cached_has_bits;
|
|
|
-
|
|
|
- cached_has_bits = from._has_bits_[0];
|
|
|
- if (cached_has_bits & 7u) {
|
|
|
- if (cached_has_bits & 0x00000001u) {
|
|
|
- set_has_time();
|
|
|
- time_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.time_);
|
|
|
- }
|
|
|
- if (cached_has_bits & 0x00000002u) {
|
|
|
- set_has_location();
|
|
|
- location_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.location_);
|
|
|
- }
|
|
|
- if (cached_has_bits & 0x00000004u) {
|
|
|
- event_ = from.event_;
|
|
|
- }
|
|
|
- _has_bits_[0] |= cached_has_bits;
|
|
|
- }
|
|
|
-}
|
|
|
-
|
|
|
-void Command_info::CopyFrom(const ::google::protobuf::Message& from) {
|
|
|
-// @@protoc_insertion_point(generalized_copy_from_start:message.Command_info)
|
|
|
- if (&from == this) return;
|
|
|
- Clear();
|
|
|
- MergeFrom(from);
|
|
|
-}
|
|
|
-
|
|
|
-void Command_info::CopyFrom(const Command_info& from) {
|
|
|
-// @@protoc_insertion_point(class_specific_copy_from_start:message.Command_info)
|
|
|
- if (&from == this) return;
|
|
|
- Clear();
|
|
|
- MergeFrom(from);
|
|
|
-}
|
|
|
-
|
|
|
-bool Command_info::IsInitialized() const {
|
|
|
- if ((_has_bits_[0] & 0x00000007) != 0x00000007) return false;
|
|
|
- return true;
|
|
|
-}
|
|
|
-
|
|
|
-void Command_info::Swap(Command_info* other) {
|
|
|
- if (other == this) return;
|
|
|
- InternalSwap(other);
|
|
|
-}
|
|
|
-void Command_info::InternalSwap(Command_info* other) {
|
|
|
- using std::swap;
|
|
|
- time_.Swap(&other->time_);
|
|
|
- location_.Swap(&other->location_);
|
|
|
- swap(event_, other->event_);
|
|
|
- swap(_has_bits_[0], other->_has_bits_[0]);
|
|
|
- _internal_metadata_.Swap(&other->_internal_metadata_);
|
|
|
- swap(_cached_size_, other->_cached_size_);
|
|
|
-}
|
|
|
-
|
|
|
-::google::protobuf::Metadata Command_info::GetMetadata() const {
|
|
|
- protobuf_message_5fbase_2eproto::protobuf_AssignDescriptorsOnce();
|
|
|
- return ::protobuf_message_5fbase_2eproto::file_level_metadata[kIndexInFileMessages];
|
|
|
-}
|
|
|
-
|
|
|
-
|
|
|
// ===================================================================
|
|
|
|
|
|
void Base_msg::InitAsDefaultInstance() {
|
|
@@ -2913,7 +2529,6 @@ const int Parkspace_info::kParkspaceStatusFieldNumber;
|
|
|
const int Parkspace_info::kCarInfoFieldNumber;
|
|
|
const int Parkspace_info::kEntryTimeFieldNumber;
|
|
|
const int Parkspace_info::kLeaveTimeFieldNumber;
|
|
|
-const int Parkspace_info::kBlockIdFieldNumber;
|
|
|
#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
|
|
|
|
|
|
Parkspace_info::Parkspace_info()
|
|
@@ -2954,8 +2569,8 @@ void Parkspace_info::SharedCtor() {
|
|
|
entry_time_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
|
leave_time_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
|
::memset(&car_info_, 0, static_cast<size_t>(
|
|
|
- reinterpret_cast<char*>(&block_id_) -
|
|
|
- reinterpret_cast<char*>(&car_info_)) + sizeof(block_id_));
|
|
|
+ reinterpret_cast<char*>(&parkspace_status_) -
|
|
|
+ reinterpret_cast<char*>(&car_info_)) + sizeof(parkspace_status_));
|
|
|
direction_ = 1;
|
|
|
}
|
|
|
|
|
@@ -3019,10 +2634,10 @@ void Parkspace_info::Clear() {
|
|
|
reinterpret_cast<char*>(&width_) -
|
|
|
reinterpret_cast<char*>(&parkspace_id_)) + sizeof(width_));
|
|
|
}
|
|
|
- if (cached_has_bits & 3840u) {
|
|
|
+ if (cached_has_bits & 1792u) {
|
|
|
::memset(&height_, 0, static_cast<size_t>(
|
|
|
- reinterpret_cast<char*>(&block_id_) -
|
|
|
- reinterpret_cast<char*>(&height_)) + sizeof(block_id_));
|
|
|
+ reinterpret_cast<char*>(&parkspace_status_) -
|
|
|
+ reinterpret_cast<char*>(&height_)) + sizeof(parkspace_status_));
|
|
|
direction_ = 1;
|
|
|
}
|
|
|
_has_bits_.Clear();
|
|
@@ -3207,20 +2822,6 @@ bool Parkspace_info::MergePartialFromCodedStream(
|
|
|
break;
|
|
|
}
|
|
|
|
|
|
- // optional int32 block_id = 12;
|
|
|
- case 12: {
|
|
|
- if (static_cast< ::google::protobuf::uint8>(tag) ==
|
|
|
- static_cast< ::google::protobuf::uint8>(96u /* 96 & 0xFF */)) {
|
|
|
- set_has_block_id();
|
|
|
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
|
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
|
|
|
- input, &block_id_)));
|
|
|
- } else {
|
|
|
- goto handle_unusual;
|
|
|
- }
|
|
|
- break;
|
|
|
- }
|
|
|
-
|
|
|
default: {
|
|
|
handle_unusual:
|
|
|
if (tag == 0) {
|
|
@@ -3259,7 +2860,7 @@ void Parkspace_info::SerializeWithCachedSizes(
|
|
|
}
|
|
|
|
|
|
// optional .message.Direction direction = 3;
|
|
|
- if (cached_has_bits & 0x00000800u) {
|
|
|
+ if (cached_has_bits & 0x00000400u) {
|
|
|
::google::protobuf::internal::WireFormatLite::WriteEnum(
|
|
|
3, this->direction(), output);
|
|
|
}
|
|
@@ -3316,11 +2917,6 @@ void Parkspace_info::SerializeWithCachedSizes(
|
|
|
11, this->leave_time(), output);
|
|
|
}
|
|
|
|
|
|
- // optional int32 block_id = 12;
|
|
|
- if (cached_has_bits & 0x00000400u) {
|
|
|
- ::google::protobuf::internal::WireFormatLite::WriteInt32(12, this->block_id(), output);
|
|
|
- }
|
|
|
-
|
|
|
if (_internal_metadata_.have_unknown_fields()) {
|
|
|
::google::protobuf::internal::WireFormat::SerializeUnknownFields(
|
|
|
_internal_metadata_.unknown_fields(), output);
|
|
@@ -3347,7 +2943,7 @@ void Parkspace_info::SerializeWithCachedSizes(
|
|
|
}
|
|
|
|
|
|
// optional .message.Direction direction = 3;
|
|
|
- if (cached_has_bits & 0x00000800u) {
|
|
|
+ if (cached_has_bits & 0x00000400u) {
|
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
|
|
|
3, this->direction(), target);
|
|
|
}
|
|
@@ -3407,11 +3003,6 @@ void Parkspace_info::SerializeWithCachedSizes(
|
|
|
11, this->leave_time(), target);
|
|
|
}
|
|
|
|
|
|
- // optional int32 block_id = 12;
|
|
|
- if (cached_has_bits & 0x00000400u) {
|
|
|
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(12, this->block_id(), target);
|
|
|
- }
|
|
|
-
|
|
|
if (_internal_metadata_.have_unknown_fields()) {
|
|
|
target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
|
|
|
_internal_metadata_.unknown_fields(), target);
|
|
@@ -3483,7 +3074,7 @@ size_t Parkspace_info::ByteSizeLong() const {
|
|
|
}
|
|
|
|
|
|
}
|
|
|
- if (_has_bits_[8 / 32] & 3840u) {
|
|
|
+ if (_has_bits_[8 / 32] & 1792u) {
|
|
|
// optional float height = 7;
|
|
|
if (has_height()) {
|
|
|
total_size += 1 + 4;
|
|
@@ -3495,13 +3086,6 @@ size_t Parkspace_info::ByteSizeLong() const {
|
|
|
::google::protobuf::internal::WireFormatLite::EnumSize(this->parkspace_status());
|
|
|
}
|
|
|
|
|
|
- // optional int32 block_id = 12;
|
|
|
- if (has_block_id()) {
|
|
|
- total_size += 1 +
|
|
|
- ::google::protobuf::internal::WireFormatLite::Int32Size(
|
|
|
- this->block_id());
|
|
|
- }
|
|
|
-
|
|
|
// optional .message.Direction direction = 3;
|
|
|
if (has_direction()) {
|
|
|
total_size += 1 +
|
|
@@ -3568,7 +3152,7 @@ void Parkspace_info::MergeFrom(const Parkspace_info& from) {
|
|
|
}
|
|
|
_has_bits_[0] |= cached_has_bits;
|
|
|
}
|
|
|
- if (cached_has_bits & 3840u) {
|
|
|
+ if (cached_has_bits & 1792u) {
|
|
|
if (cached_has_bits & 0x00000100u) {
|
|
|
height_ = from.height_;
|
|
|
}
|
|
@@ -3576,9 +3160,6 @@ void Parkspace_info::MergeFrom(const Parkspace_info& from) {
|
|
|
parkspace_status_ = from.parkspace_status_;
|
|
|
}
|
|
|
if (cached_has_bits & 0x00000400u) {
|
|
|
- block_id_ = from.block_id_;
|
|
|
- }
|
|
|
- if (cached_has_bits & 0x00000800u) {
|
|
|
direction_ = from.direction_;
|
|
|
}
|
|
|
_has_bits_[0] |= cached_has_bits;
|
|
@@ -3619,7 +3200,6 @@ void Parkspace_info::InternalSwap(Parkspace_info* other) {
|
|
|
swap(width_, other->width_);
|
|
|
swap(height_, other->height_);
|
|
|
swap(parkspace_status_, other->parkspace_status_);
|
|
|
- swap(block_id_, other->block_id_);
|
|
|
swap(direction_, other->direction_);
|
|
|
swap(_has_bits_[0], other->_has_bits_[0]);
|
|
|
_internal_metadata_.Swap(&other->_internal_metadata_);
|