|
@@ -121,6 +121,7 @@ void InitDefaultsDispatch_request_msgImpl() {
|
|
::google::protobuf::internal::InitProtobufDefaults();
|
|
::google::protobuf::internal::InitProtobufDefaults();
|
|
#endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
|
|
#endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
|
|
protobuf_message_5fbase_2eproto::InitDefaultsBase_info();
|
|
protobuf_message_5fbase_2eproto::InitDefaultsBase_info();
|
|
|
|
+ protobuf_message_5fbase_2eproto::InitDefaultsParkspace_info();
|
|
protobuf_message_5fbase_2eproto::InitDefaultsLocate_information();
|
|
protobuf_message_5fbase_2eproto::InitDefaultsLocate_information();
|
|
{
|
|
{
|
|
void* ptr = &::message::_Dispatch_request_msg_default_instance_;
|
|
void* ptr = &::message::_Dispatch_request_msg_default_instance_;
|
|
@@ -214,14 +215,14 @@ const ::google::protobuf::uint32 TableStruct::offsets[] GOOGLE_PROTOBUF_ATTRIBUT
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Dispatch_request_msg, command_key_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Dispatch_request_msg, command_key_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Dispatch_request_msg, dispatch_motion_direction_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Dispatch_request_msg, dispatch_motion_direction_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Dispatch_request_msg, terminal_id_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Dispatch_request_msg, terminal_id_),
|
|
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Dispatch_request_msg, parkspace_id_),
|
|
|
|
|
|
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Dispatch_request_msg, parkspace_info_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Dispatch_request_msg, locate_information_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Dispatch_request_msg, locate_information_),
|
|
1,
|
|
1,
|
|
0,
|
|
0,
|
|
- 3,
|
|
|
|
4,
|
|
4,
|
|
5,
|
|
5,
|
|
2,
|
|
2,
|
|
|
|
+ 3,
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Dispatch_response_msg, _has_bits_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Dispatch_response_msg, _has_bits_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Dispatch_response_msg, _internal_metadata_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Dispatch_response_msg, _internal_metadata_),
|
|
~0u, // no _extensions_
|
|
~0u, // no _extensions_
|
|
@@ -288,44 +289,45 @@ void AddDescriptorsImpl() {
|
|
"2\022.message.Base_info\022\023\n\013terminal_id\030\002 \002("
|
|
"2\022.message.Base_info\022\023\n\013terminal_id\030\002 \002("
|
|
"\005\0221\n\017terminal_status\030\003 \002(\0162\030.message.Ter"
|
|
"\005\0221\n\017terminal_status\030\003 \002(\0162\030.message.Ter"
|
|
"minal_status\022;\n\024passageway_direction\030\004 \002"
|
|
"minal_status\022;\n\024passageway_direction\030\004 \002"
|
|
- "(\0162\035.message.Passageway_direction\"\375\001\n\024Di"
|
|
|
|
|
|
+ "(\0162\035.message.Passageway_direction\"\230\002\n\024Di"
|
|
"spatch_request_msg\022%\n\tbase_info\030\001 \002(\0132\022."
|
|
"spatch_request_msg\022%\n\tbase_info\030\001 \002(\0132\022."
|
|
"message.Base_info\022\023\n\013command_key\030\002 \002(\t\022E"
|
|
"message.Base_info\022\023\n\013command_key\030\002 \002(\t\022E"
|
|
"\n\031dispatch_motion_direction\030\003 \002(\0162\".mess"
|
|
"\n\031dispatch_motion_direction\030\003 \002(\0162\".mess"
|
|
"age.Dispatch_motion_direction\022\023\n\013termina"
|
|
"age.Dispatch_motion_direction\022\023\n\013termina"
|
|
- "l_id\030\004 \002(\005\022\024\n\014parkspace_id\030\005 \002(\005\0227\n\022loca"
|
|
|
|
- "te_information\030\006 \001(\0132\033.message.Locate_in"
|
|
|
|
- "formation\"\202\001\n\025Dispatch_response_msg\022%\n\tb"
|
|
|
|
- "ase_info\030\001 \002(\0132\022.message.Base_info\022\023\n\013co"
|
|
|
|
- "mmand_key\030\002 \002(\t\022-\n\rerror_manager\030\003 \002(\0132\026"
|
|
|
|
- ".message.Error_manager*\261\001\n\027Dispatch_mana"
|
|
|
|
- "ger_status\022\035\n\031E_DISPATCH_MANAGER_UNKNOW\020"
|
|
|
|
- "\000\022\034\n\030E_DISPATCH_MANAGER_READY\020\001\022\034\n\030E_DIS"
|
|
|
|
- "PATCH_MANAGER_STORE\020\002\022\035\n\031E_DISPATCH_MANA"
|
|
|
|
- "GER_PICKUP\020\003\022\034\n\030E_DISPATCH_MANAGER_FAULT"
|
|
|
|
- "\020\n*{\n\016Catcher_status\022\024\n\020E_CATCHER_UNKNOW"
|
|
|
|
- "\020\000\022\023\n\017E_CATCHER_READY\020\001\022\023\n\017E_CATCHER_STO"
|
|
|
|
- "RE\020\002\022\024\n\020E_CATCHER_PICKUP\020\003\022\023\n\017E_CATCHER_"
|
|
|
|
- "FAULT\020\n*{\n\016Carrier_status\022\024\n\020E_CARRIER_U"
|
|
|
|
- "NKNOW\020\000\022\023\n\017E_CARRIER_READY\020\001\022\023\n\017E_CARRIE"
|
|
|
|
- "R_STORE\020\002\022\024\n\020E_CARRIER_PICKUP\020\003\022\023\n\017E_CAR"
|
|
|
|
- "RIER_FAULT\020\n*\201\001\n\017Elevator_status\022\025\n\021E_EL"
|
|
|
|
- "EVATOR_UNKNOW\020\000\022\024\n\020E_ELEVATOR_READY\020\001\022\024\n"
|
|
|
|
- "\020E_ELEVATOR_STORE\020\002\022\025\n\021E_ELEVATOR_PICKUP"
|
|
|
|
- "\020\003\022\024\n\020E_ELEVATOR_FAULT\020\n*\215\001\n\021Passageway_"
|
|
|
|
- "status\022\027\n\023E_PASSAGEWAY_UNKNOW\020\000\022\026\n\022E_PAS"
|
|
|
|
- "SAGEWAY_READY\020\001\022\026\n\022E_PASSAGEWAY_STORE\020\002\022"
|
|
|
|
- "\027\n\023E_PASSAGEWAY_PICKUP\020\003\022\026\n\022E_PASSAGEWAY"
|
|
|
|
- "_FAULT\020\n*\201\001\n\017Terminal_status\022\025\n\021E_TERMIN"
|
|
|
|
- "AL_UNKNOW\020\000\022\024\n\020E_TERMINAL_READY\020\001\022\024\n\020E_T"
|
|
|
|
- "ERMINAL_STORE\020\002\022\025\n\021E_TERMINAL_PICKUP\020\003\022\024"
|
|
|
|
- "\n\020E_TERMINAL_FAULT\020\n*B\n\024Passageway_direc"
|
|
|
|
- "tion\022\013\n\007E_INLET\020\000\022\014\n\010E_OUTLET\020\001\022\017\n\013E_BIL"
|
|
|
|
- "ATERAL\020\002*>\n\031Dispatch_motion_direction\022\017\n"
|
|
|
|
- "\013E_STORE_CAR\020\000\022\020\n\014E_PICKUP_CAR\020\001"
|
|
|
|
|
|
+ "l_id\030\004 \002(\005\022/\n\016parkspace_info\030\005 \002(\0132\027.mes"
|
|
|
|
+ "sage.Parkspace_info\0227\n\022locate_informatio"
|
|
|
|
+ "n\030\006 \001(\0132\033.message.Locate_information\"\202\001\n"
|
|
|
|
+ "\025Dispatch_response_msg\022%\n\tbase_info\030\001 \002("
|
|
|
|
+ "\0132\022.message.Base_info\022\023\n\013command_key\030\002 \002"
|
|
|
|
+ "(\t\022-\n\rerror_manager\030\003 \002(\0132\026.message.Erro"
|
|
|
|
+ "r_manager*\261\001\n\027Dispatch_manager_status\022\035\n"
|
|
|
|
+ "\031E_DISPATCH_MANAGER_UNKNOW\020\000\022\034\n\030E_DISPAT"
|
|
|
|
+ "CH_MANAGER_READY\020\001\022\034\n\030E_DISPATCH_MANAGER"
|
|
|
|
+ "_STORE\020\002\022\035\n\031E_DISPATCH_MANAGER_PICKUP\020\003\022"
|
|
|
|
+ "\034\n\030E_DISPATCH_MANAGER_FAULT\020\n*{\n\016Catcher"
|
|
|
|
+ "_status\022\024\n\020E_CATCHER_UNKNOW\020\000\022\023\n\017E_CATCH"
|
|
|
|
+ "ER_READY\020\001\022\023\n\017E_CATCHER_STORE\020\002\022\024\n\020E_CAT"
|
|
|
|
+ "CHER_PICKUP\020\003\022\023\n\017E_CATCHER_FAULT\020\n*{\n\016Ca"
|
|
|
|
+ "rrier_status\022\024\n\020E_CARRIER_UNKNOW\020\000\022\023\n\017E_"
|
|
|
|
+ "CARRIER_READY\020\001\022\023\n\017E_CARRIER_STORE\020\002\022\024\n\020"
|
|
|
|
+ "E_CARRIER_PICKUP\020\003\022\023\n\017E_CARRIER_FAULT\020\n*"
|
|
|
|
+ "\201\001\n\017Elevator_status\022\025\n\021E_ELEVATOR_UNKNOW"
|
|
|
|
+ "\020\000\022\024\n\020E_ELEVATOR_READY\020\001\022\024\n\020E_ELEVATOR_S"
|
|
|
|
+ "TORE\020\002\022\025\n\021E_ELEVATOR_PICKUP\020\003\022\024\n\020E_ELEVA"
|
|
|
|
+ "TOR_FAULT\020\n*\215\001\n\021Passageway_status\022\027\n\023E_P"
|
|
|
|
+ "ASSAGEWAY_UNKNOW\020\000\022\026\n\022E_PASSAGEWAY_READY"
|
|
|
|
+ "\020\001\022\026\n\022E_PASSAGEWAY_STORE\020\002\022\027\n\023E_PASSAGEW"
|
|
|
|
+ "AY_PICKUP\020\003\022\026\n\022E_PASSAGEWAY_FAULT\020\n*\201\001\n\017"
|
|
|
|
+ "Terminal_status\022\025\n\021E_TERMINAL_UNKNOW\020\000\022\024"
|
|
|
|
+ "\n\020E_TERMINAL_READY\020\001\022\024\n\020E_TERMINAL_STORE"
|
|
|
|
+ "\020\002\022\025\n\021E_TERMINAL_PICKUP\020\003\022\024\n\020E_TERMINAL_"
|
|
|
|
+ "FAULT\020\n*B\n\024Passageway_direction\022\013\n\007E_INL"
|
|
|
|
+ "ET\020\000\022\014\n\010E_OUTLET\020\001\022\017\n\013E_BILATERAL\020\002*>\n\031D"
|
|
|
|
+ "ispatch_motion_direction\022\017\n\013E_STORE_CAR\020"
|
|
|
|
+ "\000\022\020\n\014E_PICKUP_CAR\020\001"
|
|
};
|
|
};
|
|
::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
|
|
::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
|
|
- descriptor, 2032);
|
|
|
|
|
|
+ descriptor, 2059);
|
|
::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
|
|
::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
|
|
"dispatch_message.proto", &protobuf_RegisterTypes);
|
|
"dispatch_message.proto", &protobuf_RegisterTypes);
|
|
::protobuf_message_5fbase_2eproto::AddDescriptors();
|
|
::protobuf_message_5fbase_2eproto::AddDescriptors();
|
|
@@ -1845,6 +1847,8 @@ void Dispatch_terminal_status_msg::InternalSwap(Dispatch_terminal_status_msg* ot
|
|
void Dispatch_request_msg::InitAsDefaultInstance() {
|
|
void Dispatch_request_msg::InitAsDefaultInstance() {
|
|
::message::_Dispatch_request_msg_default_instance_._instance.get_mutable()->base_info_ = const_cast< ::message::Base_info*>(
|
|
::message::_Dispatch_request_msg_default_instance_._instance.get_mutable()->base_info_ = const_cast< ::message::Base_info*>(
|
|
::message::Base_info::internal_default_instance());
|
|
::message::Base_info::internal_default_instance());
|
|
|
|
+ ::message::_Dispatch_request_msg_default_instance_._instance.get_mutable()->parkspace_info_ = const_cast< ::message::Parkspace_info*>(
|
|
|
|
+ ::message::Parkspace_info::internal_default_instance());
|
|
::message::_Dispatch_request_msg_default_instance_._instance.get_mutable()->locate_information_ = const_cast< ::message::Locate_information*>(
|
|
::message::_Dispatch_request_msg_default_instance_._instance.get_mutable()->locate_information_ = const_cast< ::message::Locate_information*>(
|
|
::message::Locate_information::internal_default_instance());
|
|
::message::Locate_information::internal_default_instance());
|
|
}
|
|
}
|
|
@@ -1852,6 +1856,10 @@ void Dispatch_request_msg::clear_base_info() {
|
|
if (base_info_ != NULL) base_info_->Clear();
|
|
if (base_info_ != NULL) base_info_->Clear();
|
|
clear_has_base_info();
|
|
clear_has_base_info();
|
|
}
|
|
}
|
|
|
|
+void Dispatch_request_msg::clear_parkspace_info() {
|
|
|
|
+ if (parkspace_info_ != NULL) parkspace_info_->Clear();
|
|
|
|
+ clear_has_parkspace_info();
|
|
|
|
+}
|
|
void Dispatch_request_msg::clear_locate_information() {
|
|
void Dispatch_request_msg::clear_locate_information() {
|
|
if (locate_information_ != NULL) locate_information_->Clear();
|
|
if (locate_information_ != NULL) locate_information_->Clear();
|
|
clear_has_locate_information();
|
|
clear_has_locate_information();
|
|
@@ -1861,7 +1869,7 @@ const int Dispatch_request_msg::kBaseInfoFieldNumber;
|
|
const int Dispatch_request_msg::kCommandKeyFieldNumber;
|
|
const int Dispatch_request_msg::kCommandKeyFieldNumber;
|
|
const int Dispatch_request_msg::kDispatchMotionDirectionFieldNumber;
|
|
const int Dispatch_request_msg::kDispatchMotionDirectionFieldNumber;
|
|
const int Dispatch_request_msg::kTerminalIdFieldNumber;
|
|
const int Dispatch_request_msg::kTerminalIdFieldNumber;
|
|
-const int Dispatch_request_msg::kParkspaceIdFieldNumber;
|
|
|
|
|
|
+const int Dispatch_request_msg::kParkspaceInfoFieldNumber;
|
|
const int Dispatch_request_msg::kLocateInformationFieldNumber;
|
|
const int Dispatch_request_msg::kLocateInformationFieldNumber;
|
|
#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
|
|
#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
|
|
|
|
|
|
@@ -1888,14 +1896,19 @@ Dispatch_request_msg::Dispatch_request_msg(const Dispatch_request_msg& from)
|
|
} else {
|
|
} else {
|
|
base_info_ = NULL;
|
|
base_info_ = NULL;
|
|
}
|
|
}
|
|
|
|
+ if (from.has_parkspace_info()) {
|
|
|
|
+ parkspace_info_ = new ::message::Parkspace_info(*from.parkspace_info_);
|
|
|
|
+ } else {
|
|
|
|
+ parkspace_info_ = NULL;
|
|
|
|
+ }
|
|
if (from.has_locate_information()) {
|
|
if (from.has_locate_information()) {
|
|
locate_information_ = new ::message::Locate_information(*from.locate_information_);
|
|
locate_information_ = new ::message::Locate_information(*from.locate_information_);
|
|
} else {
|
|
} else {
|
|
locate_information_ = NULL;
|
|
locate_information_ = NULL;
|
|
}
|
|
}
|
|
::memcpy(&dispatch_motion_direction_, &from.dispatch_motion_direction_,
|
|
::memcpy(&dispatch_motion_direction_, &from.dispatch_motion_direction_,
|
|
- static_cast<size_t>(reinterpret_cast<char*>(&parkspace_id_) -
|
|
|
|
- reinterpret_cast<char*>(&dispatch_motion_direction_)) + sizeof(parkspace_id_));
|
|
|
|
|
|
+ static_cast<size_t>(reinterpret_cast<char*>(&terminal_id_) -
|
|
|
|
+ reinterpret_cast<char*>(&dispatch_motion_direction_)) + sizeof(terminal_id_));
|
|
// @@protoc_insertion_point(copy_constructor:message.Dispatch_request_msg)
|
|
// @@protoc_insertion_point(copy_constructor:message.Dispatch_request_msg)
|
|
}
|
|
}
|
|
|
|
|
|
@@ -1903,8 +1916,8 @@ void Dispatch_request_msg::SharedCtor() {
|
|
_cached_size_ = 0;
|
|
_cached_size_ = 0;
|
|
command_key_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
command_key_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
::memset(&base_info_, 0, static_cast<size_t>(
|
|
::memset(&base_info_, 0, static_cast<size_t>(
|
|
- reinterpret_cast<char*>(&parkspace_id_) -
|
|
|
|
- reinterpret_cast<char*>(&base_info_)) + sizeof(parkspace_id_));
|
|
|
|
|
|
+ reinterpret_cast<char*>(&terminal_id_) -
|
|
|
|
+ reinterpret_cast<char*>(&base_info_)) + sizeof(terminal_id_));
|
|
}
|
|
}
|
|
|
|
|
|
Dispatch_request_msg::~Dispatch_request_msg() {
|
|
Dispatch_request_msg::~Dispatch_request_msg() {
|
|
@@ -1915,6 +1928,7 @@ Dispatch_request_msg::~Dispatch_request_msg() {
|
|
void Dispatch_request_msg::SharedDtor() {
|
|
void Dispatch_request_msg::SharedDtor() {
|
|
command_key_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
command_key_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
if (this != internal_default_instance()) delete base_info_;
|
|
if (this != internal_default_instance()) delete base_info_;
|
|
|
|
+ if (this != internal_default_instance()) delete parkspace_info_;
|
|
if (this != internal_default_instance()) delete locate_information_;
|
|
if (this != internal_default_instance()) delete locate_information_;
|
|
}
|
|
}
|
|
|
|
|
|
@@ -1948,7 +1962,7 @@ void Dispatch_request_msg::Clear() {
|
|
(void) cached_has_bits;
|
|
(void) cached_has_bits;
|
|
|
|
|
|
cached_has_bits = _has_bits_[0];
|
|
cached_has_bits = _has_bits_[0];
|
|
- if (cached_has_bits & 7u) {
|
|
|
|
|
|
+ if (cached_has_bits & 15u) {
|
|
if (cached_has_bits & 0x00000001u) {
|
|
if (cached_has_bits & 0x00000001u) {
|
|
GOOGLE_DCHECK(!command_key_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
|
|
GOOGLE_DCHECK(!command_key_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
|
|
(*command_key_.UnsafeRawStringPointer())->clear();
|
|
(*command_key_.UnsafeRawStringPointer())->clear();
|
|
@@ -1958,14 +1972,18 @@ void Dispatch_request_msg::Clear() {
|
|
base_info_->Clear();
|
|
base_info_->Clear();
|
|
}
|
|
}
|
|
if (cached_has_bits & 0x00000004u) {
|
|
if (cached_has_bits & 0x00000004u) {
|
|
|
|
+ GOOGLE_DCHECK(parkspace_info_ != NULL);
|
|
|
|
+ parkspace_info_->Clear();
|
|
|
|
+ }
|
|
|
|
+ if (cached_has_bits & 0x00000008u) {
|
|
GOOGLE_DCHECK(locate_information_ != NULL);
|
|
GOOGLE_DCHECK(locate_information_ != NULL);
|
|
locate_information_->Clear();
|
|
locate_information_->Clear();
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- if (cached_has_bits & 56u) {
|
|
|
|
|
|
+ if (cached_has_bits & 48u) {
|
|
::memset(&dispatch_motion_direction_, 0, static_cast<size_t>(
|
|
::memset(&dispatch_motion_direction_, 0, static_cast<size_t>(
|
|
- reinterpret_cast<char*>(&parkspace_id_) -
|
|
|
|
- reinterpret_cast<char*>(&dispatch_motion_direction_)) + sizeof(parkspace_id_));
|
|
|
|
|
|
+ reinterpret_cast<char*>(&terminal_id_) -
|
|
|
|
+ reinterpret_cast<char*>(&dispatch_motion_direction_)) + sizeof(terminal_id_));
|
|
}
|
|
}
|
|
_has_bits_.Clear();
|
|
_has_bits_.Clear();
|
|
_internal_metadata_.Clear();
|
|
_internal_metadata_.Clear();
|
|
@@ -2043,14 +2061,12 @@ bool Dispatch_request_msg::MergePartialFromCodedStream(
|
|
break;
|
|
break;
|
|
}
|
|
}
|
|
|
|
|
|
- // required int32 parkspace_id = 5;
|
|
|
|
|
|
+ // required .message.Parkspace_info parkspace_info = 5;
|
|
case 5: {
|
|
case 5: {
|
|
if (static_cast< ::google::protobuf::uint8>(tag) ==
|
|
if (static_cast< ::google::protobuf::uint8>(tag) ==
|
|
- static_cast< ::google::protobuf::uint8>(40u /* 40 & 0xFF */)) {
|
|
|
|
- set_has_parkspace_id();
|
|
|
|
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
|
|
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
|
|
|
|
- input, &parkspace_id_)));
|
|
|
|
|
|
+ static_cast< ::google::protobuf::uint8>(42u /* 42 & 0xFF */)) {
|
|
|
|
+ DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
|
|
|
|
+ input, mutable_parkspace_info()));
|
|
} else {
|
|
} else {
|
|
goto handle_unusual;
|
|
goto handle_unusual;
|
|
}
|
|
}
|
|
@@ -2113,23 +2129,24 @@ void Dispatch_request_msg::SerializeWithCachedSizes(
|
|
}
|
|
}
|
|
|
|
|
|
// required .message.Dispatch_motion_direction dispatch_motion_direction = 3;
|
|
// required .message.Dispatch_motion_direction dispatch_motion_direction = 3;
|
|
- if (cached_has_bits & 0x00000008u) {
|
|
|
|
|
|
+ if (cached_has_bits & 0x00000010u) {
|
|
::google::protobuf::internal::WireFormatLite::WriteEnum(
|
|
::google::protobuf::internal::WireFormatLite::WriteEnum(
|
|
3, this->dispatch_motion_direction(), output);
|
|
3, this->dispatch_motion_direction(), output);
|
|
}
|
|
}
|
|
|
|
|
|
// required int32 terminal_id = 4;
|
|
// required int32 terminal_id = 4;
|
|
- if (cached_has_bits & 0x00000010u) {
|
|
|
|
|
|
+ if (cached_has_bits & 0x00000020u) {
|
|
::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->terminal_id(), output);
|
|
::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->terminal_id(), output);
|
|
}
|
|
}
|
|
|
|
|
|
- // required int32 parkspace_id = 5;
|
|
|
|
- if (cached_has_bits & 0x00000020u) {
|
|
|
|
- ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->parkspace_id(), output);
|
|
|
|
|
|
+ // required .message.Parkspace_info parkspace_info = 5;
|
|
|
|
+ if (cached_has_bits & 0x00000004u) {
|
|
|
|
+ ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
|
|
|
|
+ 5, *this->parkspace_info_, output);
|
|
}
|
|
}
|
|
|
|
|
|
// optional .message.Locate_information locate_information = 6;
|
|
// optional .message.Locate_information locate_information = 6;
|
|
- if (cached_has_bits & 0x00000004u) {
|
|
|
|
|
|
+ if (cached_has_bits & 0x00000008u) {
|
|
::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
|
|
::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
|
|
6, *this->locate_information_, output);
|
|
6, *this->locate_information_, output);
|
|
}
|
|
}
|
|
@@ -2168,23 +2185,25 @@ void Dispatch_request_msg::SerializeWithCachedSizes(
|
|
}
|
|
}
|
|
|
|
|
|
// required .message.Dispatch_motion_direction dispatch_motion_direction = 3;
|
|
// required .message.Dispatch_motion_direction dispatch_motion_direction = 3;
|
|
- if (cached_has_bits & 0x00000008u) {
|
|
|
|
|
|
+ if (cached_has_bits & 0x00000010u) {
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
|
|
3, this->dispatch_motion_direction(), target);
|
|
3, this->dispatch_motion_direction(), target);
|
|
}
|
|
}
|
|
|
|
|
|
// required int32 terminal_id = 4;
|
|
// required int32 terminal_id = 4;
|
|
- if (cached_has_bits & 0x00000010u) {
|
|
|
|
|
|
+ if (cached_has_bits & 0x00000020u) {
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->terminal_id(), target);
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->terminal_id(), target);
|
|
}
|
|
}
|
|
|
|
|
|
- // required int32 parkspace_id = 5;
|
|
|
|
- if (cached_has_bits & 0x00000020u) {
|
|
|
|
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->parkspace_id(), target);
|
|
|
|
|
|
+ // required .message.Parkspace_info parkspace_info = 5;
|
|
|
|
+ if (cached_has_bits & 0x00000004u) {
|
|
|
|
+ target = ::google::protobuf::internal::WireFormatLite::
|
|
|
|
+ InternalWriteMessageToArray(
|
|
|
|
+ 5, *this->parkspace_info_, deterministic, target);
|
|
}
|
|
}
|
|
|
|
|
|
// optional .message.Locate_information locate_information = 6;
|
|
// optional .message.Locate_information locate_information = 6;
|
|
- if (cached_has_bits & 0x00000004u) {
|
|
|
|
|
|
+ if (cached_has_bits & 0x00000008u) {
|
|
target = ::google::protobuf::internal::WireFormatLite::
|
|
target = ::google::protobuf::internal::WireFormatLite::
|
|
InternalWriteMessageToArray(
|
|
InternalWriteMessageToArray(
|
|
6, *this->locate_information_, deterministic, target);
|
|
6, *this->locate_information_, deterministic, target);
|
|
@@ -2216,6 +2235,13 @@ size_t Dispatch_request_msg::RequiredFieldsByteSizeFallback() const {
|
|
*this->base_info_);
|
|
*this->base_info_);
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ if (has_parkspace_info()) {
|
|
|
|
+ // required .message.Parkspace_info parkspace_info = 5;
|
|
|
|
+ total_size += 1 +
|
|
|
|
+ ::google::protobuf::internal::WireFormatLite::MessageSize(
|
|
|
|
+ *this->parkspace_info_);
|
|
|
|
+ }
|
|
|
|
+
|
|
if (has_dispatch_motion_direction()) {
|
|
if (has_dispatch_motion_direction()) {
|
|
// required .message.Dispatch_motion_direction dispatch_motion_direction = 3;
|
|
// required .message.Dispatch_motion_direction dispatch_motion_direction = 3;
|
|
total_size += 1 +
|
|
total_size += 1 +
|
|
@@ -2229,13 +2255,6 @@ size_t Dispatch_request_msg::RequiredFieldsByteSizeFallback() const {
|
|
this->terminal_id());
|
|
this->terminal_id());
|
|
}
|
|
}
|
|
|
|
|
|
- if (has_parkspace_id()) {
|
|
|
|
- // required int32 parkspace_id = 5;
|
|
|
|
- total_size += 1 +
|
|
|
|
- ::google::protobuf::internal::WireFormatLite::Int32Size(
|
|
|
|
- this->parkspace_id());
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
return total_size;
|
|
return total_size;
|
|
}
|
|
}
|
|
size_t Dispatch_request_msg::ByteSizeLong() const {
|
|
size_t Dispatch_request_msg::ByteSizeLong() const {
|
|
@@ -2247,7 +2266,7 @@ size_t Dispatch_request_msg::ByteSizeLong() const {
|
|
::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
|
|
::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
|
|
_internal_metadata_.unknown_fields());
|
|
_internal_metadata_.unknown_fields());
|
|
}
|
|
}
|
|
- if (((_has_bits_[0] & 0x0000003b) ^ 0x0000003b) == 0) { // All required fields are present.
|
|
|
|
|
|
+ if (((_has_bits_[0] & 0x00000037) ^ 0x00000037) == 0) { // All required fields are present.
|
|
// required string command_key = 2;
|
|
// required string command_key = 2;
|
|
total_size += 1 +
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::StringSize(
|
|
::google::protobuf::internal::WireFormatLite::StringSize(
|
|
@@ -2258,6 +2277,11 @@ size_t Dispatch_request_msg::ByteSizeLong() const {
|
|
::google::protobuf::internal::WireFormatLite::MessageSize(
|
|
::google::protobuf::internal::WireFormatLite::MessageSize(
|
|
*this->base_info_);
|
|
*this->base_info_);
|
|
|
|
|
|
|
|
+ // required .message.Parkspace_info parkspace_info = 5;
|
|
|
|
+ total_size += 1 +
|
|
|
|
+ ::google::protobuf::internal::WireFormatLite::MessageSize(
|
|
|
|
+ *this->parkspace_info_);
|
|
|
|
+
|
|
// required .message.Dispatch_motion_direction dispatch_motion_direction = 3;
|
|
// required .message.Dispatch_motion_direction dispatch_motion_direction = 3;
|
|
total_size += 1 +
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::EnumSize(this->dispatch_motion_direction());
|
|
::google::protobuf::internal::WireFormatLite::EnumSize(this->dispatch_motion_direction());
|
|
@@ -2267,11 +2291,6 @@ size_t Dispatch_request_msg::ByteSizeLong() const {
|
|
::google::protobuf::internal::WireFormatLite::Int32Size(
|
|
::google::protobuf::internal::WireFormatLite::Int32Size(
|
|
this->terminal_id());
|
|
this->terminal_id());
|
|
|
|
|
|
- // required int32 parkspace_id = 5;
|
|
|
|
- total_size += 1 +
|
|
|
|
- ::google::protobuf::internal::WireFormatLite::Int32Size(
|
|
|
|
- this->parkspace_id());
|
|
|
|
-
|
|
|
|
} else {
|
|
} else {
|
|
total_size += RequiredFieldsByteSizeFallback();
|
|
total_size += RequiredFieldsByteSizeFallback();
|
|
}
|
|
}
|
|
@@ -2321,16 +2340,16 @@ void Dispatch_request_msg::MergeFrom(const Dispatch_request_msg& from) {
|
|
mutable_base_info()->::message::Base_info::MergeFrom(from.base_info());
|
|
mutable_base_info()->::message::Base_info::MergeFrom(from.base_info());
|
|
}
|
|
}
|
|
if (cached_has_bits & 0x00000004u) {
|
|
if (cached_has_bits & 0x00000004u) {
|
|
- mutable_locate_information()->::message::Locate_information::MergeFrom(from.locate_information());
|
|
|
|
|
|
+ mutable_parkspace_info()->::message::Parkspace_info::MergeFrom(from.parkspace_info());
|
|
}
|
|
}
|
|
if (cached_has_bits & 0x00000008u) {
|
|
if (cached_has_bits & 0x00000008u) {
|
|
- dispatch_motion_direction_ = from.dispatch_motion_direction_;
|
|
|
|
|
|
+ mutable_locate_information()->::message::Locate_information::MergeFrom(from.locate_information());
|
|
}
|
|
}
|
|
if (cached_has_bits & 0x00000010u) {
|
|
if (cached_has_bits & 0x00000010u) {
|
|
- terminal_id_ = from.terminal_id_;
|
|
|
|
|
|
+ dispatch_motion_direction_ = from.dispatch_motion_direction_;
|
|
}
|
|
}
|
|
if (cached_has_bits & 0x00000020u) {
|
|
if (cached_has_bits & 0x00000020u) {
|
|
- parkspace_id_ = from.parkspace_id_;
|
|
|
|
|
|
+ terminal_id_ = from.terminal_id_;
|
|
}
|
|
}
|
|
_has_bits_[0] |= cached_has_bits;
|
|
_has_bits_[0] |= cached_has_bits;
|
|
}
|
|
}
|
|
@@ -2351,7 +2370,7 @@ void Dispatch_request_msg::CopyFrom(const Dispatch_request_msg& from) {
|
|
}
|
|
}
|
|
|
|
|
|
bool Dispatch_request_msg::IsInitialized() const {
|
|
bool Dispatch_request_msg::IsInitialized() const {
|
|
- if ((_has_bits_[0] & 0x0000003b) != 0x0000003b) return false;
|
|
|
|
|
|
+ if ((_has_bits_[0] & 0x00000037) != 0x00000037) return false;
|
|
if (has_base_info()) {
|
|
if (has_base_info()) {
|
|
if (!this->base_info_->IsInitialized()) return false;
|
|
if (!this->base_info_->IsInitialized()) return false;
|
|
}
|
|
}
|
|
@@ -2366,10 +2385,10 @@ void Dispatch_request_msg::InternalSwap(Dispatch_request_msg* other) {
|
|
using std::swap;
|
|
using std::swap;
|
|
command_key_.Swap(&other->command_key_);
|
|
command_key_.Swap(&other->command_key_);
|
|
swap(base_info_, other->base_info_);
|
|
swap(base_info_, other->base_info_);
|
|
|
|
+ swap(parkspace_info_, other->parkspace_info_);
|
|
swap(locate_information_, other->locate_information_);
|
|
swap(locate_information_, other->locate_information_);
|
|
swap(dispatch_motion_direction_, other->dispatch_motion_direction_);
|
|
swap(dispatch_motion_direction_, other->dispatch_motion_direction_);
|
|
swap(terminal_id_, other->terminal_id_);
|
|
swap(terminal_id_, other->terminal_id_);
|
|
- swap(parkspace_id_, other->parkspace_id_);
|
|
|
|
swap(_has_bits_[0], other->_has_bits_[0]);
|
|
swap(_has_bits_[0], other->_has_bits_[0]);
|
|
_internal_metadata_.Swap(&other->_internal_metadata_);
|
|
_internal_metadata_.Swap(&other->_internal_metadata_);
|
|
swap(_cached_size_, other->_cached_size_);
|
|
swap(_cached_size_, other->_cached_size_);
|