|
@@ -135,7 +135,7 @@ void InitDefaultsDispatch_control_response_msg() {
|
|
|
}
|
|
|
|
|
|
::google::protobuf::Metadata file_level_metadata[4];
|
|
|
-const ::google::protobuf::EnumDescriptor* file_level_enum_descriptors[3];
|
|
|
+const ::google::protobuf::EnumDescriptor* file_level_enum_descriptors[4];
|
|
|
|
|
|
const ::google::protobuf::uint32 TableStruct::offsets[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
|
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Dispatch_plan_request_msg, _has_bits_),
|
|
@@ -185,14 +185,16 @@ const ::google::protobuf::uint32 TableStruct::offsets[] GOOGLE_PROTOBUF_ATTRIBUT
|
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Dispatch_control_request_msg, dispatch_destination_),
|
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Dispatch_control_request_msg, error_manager_),
|
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Dispatch_control_request_msg, dispatch_device_target_status_),
|
|
|
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Dispatch_control_request_msg, dispatch_device_task_status_),
|
|
|
1,
|
|
|
0,
|
|
|
- 6,
|
|
|
7,
|
|
|
+ 8,
|
|
|
3,
|
|
|
4,
|
|
|
2,
|
|
|
5,
|
|
|
+ 6,
|
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Dispatch_control_response_msg, _has_bits_),
|
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Dispatch_control_response_msg, _internal_metadata_),
|
|
|
~0u, // no _extensions_
|
|
@@ -206,20 +208,22 @@ const ::google::protobuf::uint32 TableStruct::offsets[] GOOGLE_PROTOBUF_ATTRIBUT
|
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Dispatch_control_response_msg, dispatch_destination_),
|
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Dispatch_control_response_msg, error_manager_),
|
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Dispatch_control_response_msg, dispatch_device_target_status_),
|
|
|
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Dispatch_control_response_msg, dispatch_device_task_status_),
|
|
|
1,
|
|
|
0,
|
|
|
- 6,
|
|
|
7,
|
|
|
+ 8,
|
|
|
3,
|
|
|
4,
|
|
|
2,
|
|
|
5,
|
|
|
+ 6,
|
|
|
};
|
|
|
static const ::google::protobuf::internal::MigrationSchema schemas[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
|
|
|
{ 0, 11, sizeof(::message::Dispatch_plan_request_msg)},
|
|
|
{ 17, 28, sizeof(::message::Dispatch_plan_response_msg)},
|
|
|
- { 34, 47, sizeof(::message::Dispatch_control_request_msg)},
|
|
|
- { 55, 68, sizeof(::message::Dispatch_control_response_msg)},
|
|
|
+ { 34, 48, sizeof(::message::Dispatch_control_request_msg)},
|
|
|
+ { 57, 71, sizeof(::message::Dispatch_control_response_msg)},
|
|
|
};
|
|
|
|
|
|
static ::google::protobuf::Message const * const file_default_instances[] = {
|
|
@@ -264,7 +268,7 @@ void AddDescriptorsImpl() {
|
|
|
"patch_task_type\030\003 \001(\0162\033.message.Dispatch"
|
|
|
"_task_type\022\027\n\017dispatch_source\030\004 \001(\005\022\034\n\024d"
|
|
|
"ispatch_destination\030\005 \001(\005\022-\n\rerror_manag"
|
|
|
- "er\030\006 \001(\0132\026.message.Error_manager\"\205\003\n\034Dis"
|
|
|
+ "er\030\006 \001(\0132\026.message.Error_manager\"\320\003\n\034Dis"
|
|
|
"patch_control_request_msg\022%\n\tbase_info\030\001"
|
|
|
" \002(\0132\022.message.Base_info\022\023\n\013command_key\030"
|
|
|
"\002 \002(\t\0227\n\022dispatch_task_type\030\003 \002(\0162\033.mess"
|
|
@@ -274,47 +278,58 @@ void AddDescriptorsImpl() {
|
|
|
"_destination\030\006 \001(\005\022-\n\rerror_manager\030\007 \001("
|
|
|
"\0132\026.message.Error_manager\022M\n\035dispatch_de"
|
|
|
"vice_target_status\030\010 \001(\0162&.message.Dispa"
|
|
|
- "tch_device_target_status\"\206\003\n\035Dispatch_co"
|
|
|
- "ntrol_response_msg\022%\n\tbase_info\030\001 \002(\0132\022."
|
|
|
- "message.Base_info\022\023\n\013command_key\030\002 \002(\t\0227"
|
|
|
- "\n\022dispatch_task_type\030\003 \001(\0162\033.message.Dis"
|
|
|
- "patch_task_type\022;\n\024dispatch_device_type\030"
|
|
|
- "\004 \001(\0162\035.message.Dispatch_device_type\022\027\n\017"
|
|
|
- "dispatch_source\030\005 \001(\005\022\034\n\024dispatch_destin"
|
|
|
- "ation\030\006 \001(\005\022-\n\rerror_manager\030\007 \001(\0132\026.mes"
|
|
|
- "sage.Error_manager\022M\n\035dispatch_device_ta"
|
|
|
- "rget_status\030\010 \001(\0162&.message.Dispatch_dev"
|
|
|
- "ice_target_status*\333\005\n\022Dispatch_task_type"
|
|
|
- "\022\027\n\023DISPATCH_PLAN_STORE\020e\022\030\n\024DISPATCH_PL"
|
|
|
- "AN_PICKUP\020f\022\036\n\032ROBOT_CATCH_CAR_FROM_INLE"
|
|
|
- "T\020\001\022\034\n\030ROBOT_PUT_CAR_TO_CARRIER\020\002\022 \n\034ROB"
|
|
|
- "OT_CATCH_CAR_FROM_CARRIER\020\003\022\033\n\027ROBOT_PUT"
|
|
|
- "_CAR_TO_OUTLET\020\004\022\016\n\nROBOT_MOVE\020\005\022\"\n\036CARR"
|
|
|
- "IER_RECEIVE_CAR_FROM_ROBOT\020\013\022%\n!CARRIER_"
|
|
|
- "STORE_CAR_TO_PARKINGSPACE\020\014\022(\n$CARRIER_S"
|
|
|
- "TORE_CAR_TO_PARKINGSPACE_EX\020z\022(\n$CARRIER"
|
|
|
- "_PICKUP_CAR_FROM_PARKINGSPACE\020\r\022 \n\034CARRI"
|
|
|
- "ER_DELIVER_CAR_TO_ROBOT\020\016\022\020\n\014CARRIER_MOV"
|
|
|
- "E\020\017\022 \n\034PASSAGEWAY_OPEN_OUTSIDE_DOOR\020\025\022!\n"
|
|
|
- "\035PASSAGEWAY_CLOSE_OUTSIDE_DOOR\020\026\022\037\n\033PASS"
|
|
|
- "AGEWAY_OPEN_INSIDE_DOOR\020\027\022 \n\034PASSAGEWAY_"
|
|
|
- "CLOSE_INSIDE_DOOR\020\030\022*\n&PASSAGEWAY_ROTATE"
|
|
|
- "_TURNTABLE_TO_CARRIER\020\031\022)\n%PASSAGEWAY_RO"
|
|
|
- "TATE_TURNTABLE_TO_OUTLET\020\032\022\023\n\017DISPATCH_F"
|
|
|
- "INISH\020\036\022\023\n\017DISPATCH_CANCEL\020\037\022\022\n\016DISPATCH"
|
|
|
- "_PAUSE\020(\022\025\n\021DISPATCH_RESERVED\0202*\370\001\n\024Disp"
|
|
|
- "atch_device_type\022\013\n\007ROBOT_1\020e\022\013\n\007ROBOT_2"
|
|
|
- "\020f\022\016\n\tCARRIER_1\020\310\001\022\016\n\tCARRIER_2\020\317\001\022\016\n\tCA"
|
|
|
- "RRIER_3\020\313\001\022\021\n\014PASSAGEWAY_0\020\254\002\022\021\n\014PASSAGE"
|
|
|
- "WAY_1\020\255\002\022\021\n\014PASSAGEWAY_2\020\256\002\022\021\n\014PASSAGEWA"
|
|
|
- "Y_3\020\257\002\022\021\n\014PASSAGEWAY_4\020\260\002\022\021\n\014PASSAGEWAY_"
|
|
|
- "5\020\261\002\022\021\n\014PASSAGEWAY_6\020\262\002\022\021\n\014PASSAGEWAY_7\020"
|
|
|
- "\263\002*^\n\035Dispatch_device_target_status\022\014\n\010E"
|
|
|
- "_UNKNOW\020\000\022\n\n\006E_IDLE\020\001\022\n\n\006E_BUSY\020\002\022\013\n\007E_R"
|
|
|
- "EADY\020\003\022\n\n\006E_WAIT\020\004"
|
|
|
+ "tch_device_target_status\022I\n\033dispatch_dev"
|
|
|
+ "ice_task_status\030\t \001(\0162$.message.Dispatch"
|
|
|
+ "_device_task_status\"\321\003\n\035Dispatch_control"
|
|
|
+ "_response_msg\022%\n\tbase_info\030\001 \002(\0132\022.messa"
|
|
|
+ "ge.Base_info\022\023\n\013command_key\030\002 \002(\t\0227\n\022dis"
|
|
|
+ "patch_task_type\030\003 \001(\0162\033.message.Dispatch"
|
|
|
+ "_task_type\022;\n\024dispatch_device_type\030\004 \001(\016"
|
|
|
+ "2\035.message.Dispatch_device_type\022\027\n\017dispa"
|
|
|
+ "tch_source\030\005 \001(\005\022\034\n\024dispatch_destination"
|
|
|
+ "\030\006 \001(\005\022-\n\rerror_manager\030\007 \001(\0132\026.message."
|
|
|
+ "Error_manager\022M\n\035dispatch_device_target_"
|
|
|
+ "status\030\010 \001(\0162&.message.Dispatch_device_t"
|
|
|
+ "arget_status\022I\n\033dispatch_device_task_sta"
|
|
|
+ "tus\030\t \001(\0162$.message.Dispatch_device_task"
|
|
|
+ "_status*\333\005\n\022Dispatch_task_type\022\027\n\023DISPAT"
|
|
|
+ "CH_PLAN_STORE\020e\022\030\n\024DISPATCH_PLAN_PICKUP\020"
|
|
|
+ "f\022\036\n\032ROBOT_CATCH_CAR_FROM_INLET\020\001\022\034\n\030ROB"
|
|
|
+ "OT_PUT_CAR_TO_CARRIER\020\002\022 \n\034ROBOT_CATCH_C"
|
|
|
+ "AR_FROM_CARRIER\020\003\022\033\n\027ROBOT_PUT_CAR_TO_OU"
|
|
|
+ "TLET\020\004\022\016\n\nROBOT_MOVE\020\005\022\"\n\036CARRIER_RECEIV"
|
|
|
+ "E_CAR_FROM_ROBOT\020\013\022%\n!CARRIER_STORE_CAR_"
|
|
|
+ "TO_PARKINGSPACE\020\014\022(\n$CARRIER_STORE_CAR_T"
|
|
|
+ "O_PARKINGSPACE_EX\020z\022(\n$CARRIER_PICKUP_CA"
|
|
|
+ "R_FROM_PARKINGSPACE\020\r\022 \n\034CARRIER_DELIVER"
|
|
|
+ "_CAR_TO_ROBOT\020\016\022\020\n\014CARRIER_MOVE\020\017\022 \n\034PAS"
|
|
|
+ "SAGEWAY_OPEN_OUTSIDE_DOOR\020\025\022!\n\035PASSAGEWA"
|
|
|
+ "Y_CLOSE_OUTSIDE_DOOR\020\026\022\037\n\033PASSAGEWAY_OPE"
|
|
|
+ "N_INSIDE_DOOR\020\027\022 \n\034PASSAGEWAY_CLOSE_INSI"
|
|
|
+ "DE_DOOR\020\030\022*\n&PASSAGEWAY_ROTATE_TURNTABLE"
|
|
|
+ "_TO_CARRIER\020\031\022)\n%PASSAGEWAY_ROTATE_TURNT"
|
|
|
+ "ABLE_TO_OUTLET\020\032\022\023\n\017DISPATCH_FINISH\020\036\022\023\n"
|
|
|
+ "\017DISPATCH_CANCEL\020\037\022\022\n\016DISPATCH_PAUSE\020(\022\025"
|
|
|
+ "\n\021DISPATCH_RESERVED\0202*\370\001\n\024Dispatch_devic"
|
|
|
+ "e_type\022\013\n\007ROBOT_1\020e\022\013\n\007ROBOT_2\020f\022\016\n\tCARR"
|
|
|
+ "IER_1\020\310\001\022\016\n\tCARRIER_2\020\317\001\022\016\n\tCARRIER_3\020\313\001"
|
|
|
+ "\022\021\n\014PASSAGEWAY_0\020\254\002\022\021\n\014PASSAGEWAY_1\020\255\002\022\021"
|
|
|
+ "\n\014PASSAGEWAY_2\020\256\002\022\021\n\014PASSAGEWAY_3\020\257\002\022\021\n\014"
|
|
|
+ "PASSAGEWAY_4\020\260\002\022\021\n\014PASSAGEWAY_5\020\261\002\022\021\n\014PA"
|
|
|
+ "SSAGEWAY_6\020\262\002\022\021\n\014PASSAGEWAY_7\020\263\002*\244\001\n\035Dis"
|
|
|
+ "patch_device_target_status\022\032\n\026E_TARGET_S"
|
|
|
+ "TATUS_UNKNOW\020\000\022\030\n\024E_TARGET_STATUS_IDLE\020\001"
|
|
|
+ "\022\030\n\024E_TARGET_STATUS_BUSY\020\002\022\031\n\025E_TARGET_S"
|
|
|
+ "TATUS_READY\020\003\022\030\n\024E_TARGET_STATUS_WAIT\020\004*"
|
|
|
+ "\350\001\n\033Dispatch_device_task_status\022\022\n\016E_TAS"
|
|
|
+ "K_CREATED\020\000\022\020\n\014E_TASK_ISSUE\020\001\022\021\n\rE_TASK_"
|
|
|
+ "SIGNED\020\002\022\022\n\016E_TASK_WORKING\020\003\022\017\n\013E_TASK_O"
|
|
|
+ "VER\020\004\022\017\n\013E_TASK_STOP\020\005\022\020\n\014E_TASK_ERROR\020\013"
|
|
|
+ "\022\021\n\rE_TASK_CANCEL\020\025\022\017\n\013E_TASK_DEAD\020\026\022\023\n\017"
|
|
|
+ "E_TASK_WITHDRAW\020\037\022\017\n\013E_TASK_FREE\020 "
|
|
|
};
|
|
|
::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
|
|
|
- descriptor, 2418);
|
|
|
+ descriptor, 2874);
|
|
|
::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
|
|
|
"dispatch_control.proto", &protobuf_RegisterTypes);
|
|
|
::protobuf_message_5fbase_2eproto::AddDescriptors();
|
|
@@ -409,6 +424,29 @@ bool Dispatch_device_target_status_IsValid(int value) {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+const ::google::protobuf::EnumDescriptor* Dispatch_device_task_status_descriptor() {
|
|
|
+ protobuf_dispatch_5fcontrol_2eproto::protobuf_AssignDescriptorsOnce();
|
|
|
+ return protobuf_dispatch_5fcontrol_2eproto::file_level_enum_descriptors[3];
|
|
|
+}
|
|
|
+bool Dispatch_device_task_status_IsValid(int value) {
|
|
|
+ switch (value) {
|
|
|
+ case 0:
|
|
|
+ case 1:
|
|
|
+ case 2:
|
|
|
+ case 3:
|
|
|
+ case 4:
|
|
|
+ case 5:
|
|
|
+ case 11:
|
|
|
+ case 21:
|
|
|
+ case 22:
|
|
|
+ case 31:
|
|
|
+ case 32:
|
|
|
+ return true;
|
|
|
+ default:
|
|
|
+ return false;
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
|
|
|
// ===================================================================
|
|
|
|
|
@@ -1503,6 +1541,7 @@ const int Dispatch_control_request_msg::kDispatchSourceFieldNumber;
|
|
|
const int Dispatch_control_request_msg::kDispatchDestinationFieldNumber;
|
|
|
const int Dispatch_control_request_msg::kErrorManagerFieldNumber;
|
|
|
const int Dispatch_control_request_msg::kDispatchDeviceTargetStatusFieldNumber;
|
|
|
+const int Dispatch_control_request_msg::kDispatchDeviceTaskStatusFieldNumber;
|
|
|
#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
|
|
|
|
|
|
Dispatch_control_request_msg::Dispatch_control_request_msg()
|
|
@@ -1543,8 +1582,8 @@ void Dispatch_control_request_msg::SharedCtor() {
|
|
|
_cached_size_ = 0;
|
|
|
command_key_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
|
::memset(&base_info_, 0, static_cast<size_t>(
|
|
|
- reinterpret_cast<char*>(&dispatch_device_target_status_) -
|
|
|
- reinterpret_cast<char*>(&base_info_)) + sizeof(dispatch_device_target_status_));
|
|
|
+ reinterpret_cast<char*>(&dispatch_device_task_status_) -
|
|
|
+ reinterpret_cast<char*>(&base_info_)) + sizeof(dispatch_device_task_status_));
|
|
|
dispatch_task_type_ = 101;
|
|
|
dispatch_device_type_ = 101;
|
|
|
}
|
|
@@ -1606,11 +1645,11 @@ void Dispatch_control_request_msg::Clear() {
|
|
|
}
|
|
|
if (cached_has_bits & 248u) {
|
|
|
::memset(&dispatch_source_, 0, static_cast<size_t>(
|
|
|
- reinterpret_cast<char*>(&dispatch_device_target_status_) -
|
|
|
- reinterpret_cast<char*>(&dispatch_source_)) + sizeof(dispatch_device_target_status_));
|
|
|
+ reinterpret_cast<char*>(&dispatch_device_task_status_) -
|
|
|
+ reinterpret_cast<char*>(&dispatch_source_)) + sizeof(dispatch_device_task_status_));
|
|
|
dispatch_task_type_ = 101;
|
|
|
- dispatch_device_type_ = 101;
|
|
|
}
|
|
|
+ dispatch_device_type_ = 101;
|
|
|
_has_bits_.Clear();
|
|
|
_internal_metadata_.Clear();
|
|
|
}
|
|
@@ -1753,6 +1792,26 @@ bool Dispatch_control_request_msg::MergePartialFromCodedStream(
|
|
|
break;
|
|
|
}
|
|
|
|
|
|
+ // optional .message.Dispatch_device_task_status dispatch_device_task_status = 9;
|
|
|
+ case 9: {
|
|
|
+ if (static_cast< ::google::protobuf::uint8>(tag) ==
|
|
|
+ static_cast< ::google::protobuf::uint8>(72u /* 72 & 0xFF */)) {
|
|
|
+ int value;
|
|
|
+ DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
|
+ int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
|
|
|
+ input, &value)));
|
|
|
+ if (::message::Dispatch_device_task_status_IsValid(value)) {
|
|
|
+ set_dispatch_device_task_status(static_cast< ::message::Dispatch_device_task_status >(value));
|
|
|
+ } else {
|
|
|
+ mutable_unknown_fields()->AddVarint(
|
|
|
+ 9, static_cast< ::google::protobuf::uint64>(value));
|
|
|
+ }
|
|
|
+ } else {
|
|
|
+ goto handle_unusual;
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ }
|
|
|
+
|
|
|
default: {
|
|
|
handle_unusual:
|
|
|
if (tag == 0) {
|
|
@@ -1797,13 +1856,13 @@ void Dispatch_control_request_msg::SerializeWithCachedSizes(
|
|
|
}
|
|
|
|
|
|
// required .message.Dispatch_task_type dispatch_task_type = 3;
|
|
|
- if (cached_has_bits & 0x00000040u) {
|
|
|
+ if (cached_has_bits & 0x00000080u) {
|
|
|
::google::protobuf::internal::WireFormatLite::WriteEnum(
|
|
|
3, this->dispatch_task_type(), output);
|
|
|
}
|
|
|
|
|
|
// optional .message.Dispatch_device_type dispatch_device_type = 4;
|
|
|
- if (cached_has_bits & 0x00000080u) {
|
|
|
+ if (cached_has_bits & 0x00000100u) {
|
|
|
::google::protobuf::internal::WireFormatLite::WriteEnum(
|
|
|
4, this->dispatch_device_type(), output);
|
|
|
}
|
|
@@ -1830,6 +1889,12 @@ void Dispatch_control_request_msg::SerializeWithCachedSizes(
|
|
|
8, this->dispatch_device_target_status(), output);
|
|
|
}
|
|
|
|
|
|
+ // optional .message.Dispatch_device_task_status dispatch_device_task_status = 9;
|
|
|
+ if (cached_has_bits & 0x00000040u) {
|
|
|
+ ::google::protobuf::internal::WireFormatLite::WriteEnum(
|
|
|
+ 9, this->dispatch_device_task_status(), output);
|
|
|
+ }
|
|
|
+
|
|
|
if (_internal_metadata_.have_unknown_fields()) {
|
|
|
::google::protobuf::internal::WireFormat::SerializeUnknownFields(
|
|
|
_internal_metadata_.unknown_fields(), output);
|
|
@@ -1864,13 +1929,13 @@ void Dispatch_control_request_msg::SerializeWithCachedSizes(
|
|
|
}
|
|
|
|
|
|
// required .message.Dispatch_task_type dispatch_task_type = 3;
|
|
|
- if (cached_has_bits & 0x00000040u) {
|
|
|
+ if (cached_has_bits & 0x00000080u) {
|
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
|
|
|
3, this->dispatch_task_type(), target);
|
|
|
}
|
|
|
|
|
|
// optional .message.Dispatch_device_type dispatch_device_type = 4;
|
|
|
- if (cached_has_bits & 0x00000080u) {
|
|
|
+ if (cached_has_bits & 0x00000100u) {
|
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
|
|
|
4, this->dispatch_device_type(), target);
|
|
|
}
|
|
@@ -1898,6 +1963,12 @@ void Dispatch_control_request_msg::SerializeWithCachedSizes(
|
|
|
8, this->dispatch_device_target_status(), target);
|
|
|
}
|
|
|
|
|
|
+ // optional .message.Dispatch_device_task_status dispatch_device_task_status = 9;
|
|
|
+ if (cached_has_bits & 0x00000040u) {
|
|
|
+ target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
|
|
|
+ 9, this->dispatch_device_task_status(), target);
|
|
|
+ }
|
|
|
+
|
|
|
if (_internal_metadata_.have_unknown_fields()) {
|
|
|
target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
|
|
|
_internal_metadata_.unknown_fields(), target);
|
|
@@ -1941,7 +2012,7 @@ size_t Dispatch_control_request_msg::ByteSizeLong() const {
|
|
|
::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
|
|
|
_internal_metadata_.unknown_fields());
|
|
|
}
|
|
|
- if (((_has_bits_[0] & 0x00000043) ^ 0x00000043) == 0) { // All required fields are present.
|
|
|
+ if (((_has_bits_[0] & 0x00000083) ^ 0x00000083) == 0) { // All required fields are present.
|
|
|
// required string command_key = 2;
|
|
|
total_size += 1 +
|
|
|
::google::protobuf::internal::WireFormatLite::StringSize(
|
|
@@ -1959,7 +2030,7 @@ size_t Dispatch_control_request_msg::ByteSizeLong() const {
|
|
|
} else {
|
|
|
total_size += RequiredFieldsByteSizeFallback();
|
|
|
}
|
|
|
- if (_has_bits_[0 / 32] & 60u) {
|
|
|
+ if (_has_bits_[0 / 32] & 124u) {
|
|
|
// optional .message.Error_manager error_manager = 7;
|
|
|
if (has_error_manager()) {
|
|
|
total_size += 1 +
|
|
@@ -1987,6 +2058,12 @@ size_t Dispatch_control_request_msg::ByteSizeLong() const {
|
|
|
::google::protobuf::internal::WireFormatLite::EnumSize(this->dispatch_device_target_status());
|
|
|
}
|
|
|
|
|
|
+ // optional .message.Dispatch_device_task_status dispatch_device_task_status = 9;
|
|
|
+ if (has_dispatch_device_task_status()) {
|
|
|
+ total_size += 1 +
|
|
|
+ ::google::protobuf::internal::WireFormatLite::EnumSize(this->dispatch_device_task_status());
|
|
|
+ }
|
|
|
+
|
|
|
}
|
|
|
// optional .message.Dispatch_device_type dispatch_device_type = 4;
|
|
|
if (has_dispatch_device_type()) {
|
|
@@ -2045,13 +2122,16 @@ void Dispatch_control_request_msg::MergeFrom(const Dispatch_control_request_msg&
|
|
|
dispatch_device_target_status_ = from.dispatch_device_target_status_;
|
|
|
}
|
|
|
if (cached_has_bits & 0x00000040u) {
|
|
|
- dispatch_task_type_ = from.dispatch_task_type_;
|
|
|
+ dispatch_device_task_status_ = from.dispatch_device_task_status_;
|
|
|
}
|
|
|
if (cached_has_bits & 0x00000080u) {
|
|
|
- dispatch_device_type_ = from.dispatch_device_type_;
|
|
|
+ dispatch_task_type_ = from.dispatch_task_type_;
|
|
|
}
|
|
|
_has_bits_[0] |= cached_has_bits;
|
|
|
}
|
|
|
+ if (cached_has_bits & 0x00000100u) {
|
|
|
+ set_dispatch_device_type(from.dispatch_device_type());
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
void Dispatch_control_request_msg::CopyFrom(const ::google::protobuf::Message& from) {
|
|
@@ -2069,7 +2149,7 @@ void Dispatch_control_request_msg::CopyFrom(const Dispatch_control_request_msg&
|
|
|
}
|
|
|
|
|
|
bool Dispatch_control_request_msg::IsInitialized() const {
|
|
|
- if ((_has_bits_[0] & 0x00000043) != 0x00000043) return false;
|
|
|
+ if ((_has_bits_[0] & 0x00000083) != 0x00000083) return false;
|
|
|
if (has_base_info()) {
|
|
|
if (!this->base_info_->IsInitialized()) return false;
|
|
|
}
|
|
@@ -2091,6 +2171,7 @@ void Dispatch_control_request_msg::InternalSwap(Dispatch_control_request_msg* ot
|
|
|
swap(dispatch_source_, other->dispatch_source_);
|
|
|
swap(dispatch_destination_, other->dispatch_destination_);
|
|
|
swap(dispatch_device_target_status_, other->dispatch_device_target_status_);
|
|
|
+ swap(dispatch_device_task_status_, other->dispatch_device_task_status_);
|
|
|
swap(dispatch_task_type_, other->dispatch_task_type_);
|
|
|
swap(dispatch_device_type_, other->dispatch_device_type_);
|
|
|
swap(_has_bits_[0], other->_has_bits_[0]);
|
|
@@ -2129,6 +2210,7 @@ const int Dispatch_control_response_msg::kDispatchSourceFieldNumber;
|
|
|
const int Dispatch_control_response_msg::kDispatchDestinationFieldNumber;
|
|
|
const int Dispatch_control_response_msg::kErrorManagerFieldNumber;
|
|
|
const int Dispatch_control_response_msg::kDispatchDeviceTargetStatusFieldNumber;
|
|
|
+const int Dispatch_control_response_msg::kDispatchDeviceTaskStatusFieldNumber;
|
|
|
#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
|
|
|
|
|
|
Dispatch_control_response_msg::Dispatch_control_response_msg()
|
|
@@ -2169,8 +2251,8 @@ void Dispatch_control_response_msg::SharedCtor() {
|
|
|
_cached_size_ = 0;
|
|
|
command_key_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
|
::memset(&base_info_, 0, static_cast<size_t>(
|
|
|
- reinterpret_cast<char*>(&dispatch_device_target_status_) -
|
|
|
- reinterpret_cast<char*>(&base_info_)) + sizeof(dispatch_device_target_status_));
|
|
|
+ reinterpret_cast<char*>(&dispatch_device_task_status_) -
|
|
|
+ reinterpret_cast<char*>(&base_info_)) + sizeof(dispatch_device_task_status_));
|
|
|
dispatch_task_type_ = 101;
|
|
|
dispatch_device_type_ = 101;
|
|
|
}
|
|
@@ -2232,11 +2314,11 @@ void Dispatch_control_response_msg::Clear() {
|
|
|
}
|
|
|
if (cached_has_bits & 248u) {
|
|
|
::memset(&dispatch_source_, 0, static_cast<size_t>(
|
|
|
- reinterpret_cast<char*>(&dispatch_device_target_status_) -
|
|
|
- reinterpret_cast<char*>(&dispatch_source_)) + sizeof(dispatch_device_target_status_));
|
|
|
+ reinterpret_cast<char*>(&dispatch_device_task_status_) -
|
|
|
+ reinterpret_cast<char*>(&dispatch_source_)) + sizeof(dispatch_device_task_status_));
|
|
|
dispatch_task_type_ = 101;
|
|
|
- dispatch_device_type_ = 101;
|
|
|
}
|
|
|
+ dispatch_device_type_ = 101;
|
|
|
_has_bits_.Clear();
|
|
|
_internal_metadata_.Clear();
|
|
|
}
|
|
@@ -2379,6 +2461,26 @@ bool Dispatch_control_response_msg::MergePartialFromCodedStream(
|
|
|
break;
|
|
|
}
|
|
|
|
|
|
+ // optional .message.Dispatch_device_task_status dispatch_device_task_status = 9;
|
|
|
+ case 9: {
|
|
|
+ if (static_cast< ::google::protobuf::uint8>(tag) ==
|
|
|
+ static_cast< ::google::protobuf::uint8>(72u /* 72 & 0xFF */)) {
|
|
|
+ int value;
|
|
|
+ DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
|
+ int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
|
|
|
+ input, &value)));
|
|
|
+ if (::message::Dispatch_device_task_status_IsValid(value)) {
|
|
|
+ set_dispatch_device_task_status(static_cast< ::message::Dispatch_device_task_status >(value));
|
|
|
+ } else {
|
|
|
+ mutable_unknown_fields()->AddVarint(
|
|
|
+ 9, static_cast< ::google::protobuf::uint64>(value));
|
|
|
+ }
|
|
|
+ } else {
|
|
|
+ goto handle_unusual;
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ }
|
|
|
+
|
|
|
default: {
|
|
|
handle_unusual:
|
|
|
if (tag == 0) {
|
|
@@ -2423,13 +2525,13 @@ void Dispatch_control_response_msg::SerializeWithCachedSizes(
|
|
|
}
|
|
|
|
|
|
// optional .message.Dispatch_task_type dispatch_task_type = 3;
|
|
|
- if (cached_has_bits & 0x00000040u) {
|
|
|
+ if (cached_has_bits & 0x00000080u) {
|
|
|
::google::protobuf::internal::WireFormatLite::WriteEnum(
|
|
|
3, this->dispatch_task_type(), output);
|
|
|
}
|
|
|
|
|
|
// optional .message.Dispatch_device_type dispatch_device_type = 4;
|
|
|
- if (cached_has_bits & 0x00000080u) {
|
|
|
+ if (cached_has_bits & 0x00000100u) {
|
|
|
::google::protobuf::internal::WireFormatLite::WriteEnum(
|
|
|
4, this->dispatch_device_type(), output);
|
|
|
}
|
|
@@ -2456,6 +2558,12 @@ void Dispatch_control_response_msg::SerializeWithCachedSizes(
|
|
|
8, this->dispatch_device_target_status(), output);
|
|
|
}
|
|
|
|
|
|
+ // optional .message.Dispatch_device_task_status dispatch_device_task_status = 9;
|
|
|
+ if (cached_has_bits & 0x00000040u) {
|
|
|
+ ::google::protobuf::internal::WireFormatLite::WriteEnum(
|
|
|
+ 9, this->dispatch_device_task_status(), output);
|
|
|
+ }
|
|
|
+
|
|
|
if (_internal_metadata_.have_unknown_fields()) {
|
|
|
::google::protobuf::internal::WireFormat::SerializeUnknownFields(
|
|
|
_internal_metadata_.unknown_fields(), output);
|
|
@@ -2490,13 +2598,13 @@ void Dispatch_control_response_msg::SerializeWithCachedSizes(
|
|
|
}
|
|
|
|
|
|
// optional .message.Dispatch_task_type dispatch_task_type = 3;
|
|
|
- if (cached_has_bits & 0x00000040u) {
|
|
|
+ if (cached_has_bits & 0x00000080u) {
|
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
|
|
|
3, this->dispatch_task_type(), target);
|
|
|
}
|
|
|
|
|
|
// optional .message.Dispatch_device_type dispatch_device_type = 4;
|
|
|
- if (cached_has_bits & 0x00000080u) {
|
|
|
+ if (cached_has_bits & 0x00000100u) {
|
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
|
|
|
4, this->dispatch_device_type(), target);
|
|
|
}
|
|
@@ -2524,6 +2632,12 @@ void Dispatch_control_response_msg::SerializeWithCachedSizes(
|
|
|
8, this->dispatch_device_target_status(), target);
|
|
|
}
|
|
|
|
|
|
+ // optional .message.Dispatch_device_task_status dispatch_device_task_status = 9;
|
|
|
+ if (cached_has_bits & 0x00000040u) {
|
|
|
+ target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
|
|
|
+ 9, this->dispatch_device_task_status(), target);
|
|
|
+ }
|
|
|
+
|
|
|
if (_internal_metadata_.have_unknown_fields()) {
|
|
|
target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
|
|
|
_internal_metadata_.unknown_fields(), target);
|
|
@@ -2603,19 +2717,25 @@ size_t Dispatch_control_response_msg::ByteSizeLong() const {
|
|
|
::google::protobuf::internal::WireFormatLite::EnumSize(this->dispatch_device_target_status());
|
|
|
}
|
|
|
|
|
|
- // optional .message.Dispatch_task_type dispatch_task_type = 3;
|
|
|
- if (has_dispatch_task_type()) {
|
|
|
+ // optional .message.Dispatch_device_task_status dispatch_device_task_status = 9;
|
|
|
+ if (has_dispatch_device_task_status()) {
|
|
|
total_size += 1 +
|
|
|
- ::google::protobuf::internal::WireFormatLite::EnumSize(this->dispatch_task_type());
|
|
|
+ ::google::protobuf::internal::WireFormatLite::EnumSize(this->dispatch_device_task_status());
|
|
|
}
|
|
|
|
|
|
- // optional .message.Dispatch_device_type dispatch_device_type = 4;
|
|
|
- if (has_dispatch_device_type()) {
|
|
|
+ // optional .message.Dispatch_task_type dispatch_task_type = 3;
|
|
|
+ if (has_dispatch_task_type()) {
|
|
|
total_size += 1 +
|
|
|
- ::google::protobuf::internal::WireFormatLite::EnumSize(this->dispatch_device_type());
|
|
|
+ ::google::protobuf::internal::WireFormatLite::EnumSize(this->dispatch_task_type());
|
|
|
}
|
|
|
|
|
|
}
|
|
|
+ // optional .message.Dispatch_device_type dispatch_device_type = 4;
|
|
|
+ if (has_dispatch_device_type()) {
|
|
|
+ total_size += 1 +
|
|
|
+ ::google::protobuf::internal::WireFormatLite::EnumSize(this->dispatch_device_type());
|
|
|
+ }
|
|
|
+
|
|
|
int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
|
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
|
|
|
_cached_size_ = cached_size;
|
|
@@ -2667,13 +2787,16 @@ void Dispatch_control_response_msg::MergeFrom(const Dispatch_control_response_ms
|
|
|
dispatch_device_target_status_ = from.dispatch_device_target_status_;
|
|
|
}
|
|
|
if (cached_has_bits & 0x00000040u) {
|
|
|
- dispatch_task_type_ = from.dispatch_task_type_;
|
|
|
+ dispatch_device_task_status_ = from.dispatch_device_task_status_;
|
|
|
}
|
|
|
if (cached_has_bits & 0x00000080u) {
|
|
|
- dispatch_device_type_ = from.dispatch_device_type_;
|
|
|
+ dispatch_task_type_ = from.dispatch_task_type_;
|
|
|
}
|
|
|
_has_bits_[0] |= cached_has_bits;
|
|
|
}
|
|
|
+ if (cached_has_bits & 0x00000100u) {
|
|
|
+ set_dispatch_device_type(from.dispatch_device_type());
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
void Dispatch_control_response_msg::CopyFrom(const ::google::protobuf::Message& from) {
|
|
@@ -2713,6 +2836,7 @@ void Dispatch_control_response_msg::InternalSwap(Dispatch_control_response_msg*
|
|
|
swap(dispatch_source_, other->dispatch_source_);
|
|
|
swap(dispatch_destination_, other->dispatch_destination_);
|
|
|
swap(dispatch_device_target_status_, other->dispatch_device_target_status_);
|
|
|
+ swap(dispatch_device_task_status_, other->dispatch_device_task_status_);
|
|
|
swap(dispatch_task_type_, other->dispatch_task_type_);
|
|
|
swap(dispatch_device_type_, other->dispatch_device_type_);
|
|
|
swap(_has_bits_[0], other->_has_bits_[0]);
|