|
@@ -135,7 +135,7 @@ void InitDefaultsDispatch_control_response_msg() {
|
|
|
}
|
|
|
|
|
|
::google::protobuf::Metadata file_level_metadata[4];
|
|
|
-const ::google::protobuf::EnumDescriptor* file_level_enum_descriptors[2];
|
|
|
+const ::google::protobuf::EnumDescriptor* file_level_enum_descriptors[3];
|
|
|
|
|
|
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_),
|
|
@@ -184,13 +184,15 @@ const ::google::protobuf::uint32 TableStruct::offsets[] GOOGLE_PROTOBUF_ATTRIBUT
|
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Dispatch_control_request_msg, dispatch_source_),
|
|
|
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_),
|
|
|
1,
|
|
|
0,
|
|
|
- 5,
|
|
|
6,
|
|
|
+ 7,
|
|
|
3,
|
|
|
4,
|
|
|
2,
|
|
|
+ 5,
|
|
|
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_
|
|
@@ -203,19 +205,21 @@ const ::google::protobuf::uint32 TableStruct::offsets[] GOOGLE_PROTOBUF_ATTRIBUT
|
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Dispatch_control_response_msg, dispatch_source_),
|
|
|
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_),
|
|
|
1,
|
|
|
0,
|
|
|
- 5,
|
|
|
6,
|
|
|
+ 7,
|
|
|
3,
|
|
|
4,
|
|
|
2,
|
|
|
+ 5,
|
|
|
};
|
|
|
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, 46, sizeof(::message::Dispatch_control_request_msg)},
|
|
|
- { 53, 65, sizeof(::message::Dispatch_control_response_msg)},
|
|
|
+ { 34, 47, sizeof(::message::Dispatch_control_request_msg)},
|
|
|
+ { 55, 68, sizeof(::message::Dispatch_control_response_msg)},
|
|
|
};
|
|
|
|
|
|
static ::google::protobuf::Message const * const file_default_instances[] = {
|
|
@@ -260,7 +264,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\"\266\002\n\034Dis"
|
|
|
+ "er\030\006 \001(\0132\026.message.Error_manager\"\205\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"
|
|
@@ -268,43 +272,49 @@ void AddDescriptorsImpl() {
|
|
|
"e_type\030\004 \001(\0162\035.message.Dispatch_device_t"
|
|
|
"ype\022\027\n\017dispatch_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\"\267\002\n\035Dispatch_c"
|
|
|
- "ontrol_response_msg\022%\n\tbase_info\030\001 \002(\0132\022"
|
|
|
- ".message.Base_info\022\023\n\013command_key\030\002 \002(\t\022"
|
|
|
- "7\n\022dispatch_task_type\030\003 \001(\0162\033.message.Di"
|
|
|
- "spatch_task_type\022;\n\024dispatch_device_type"
|
|
|
- "\030\004 \001(\0162\035.message.Dispatch_device_type\022\027\n"
|
|
|
- "\017dispatch_source\030\005 \001(\005\022\034\n\024dispatch_desti"
|
|
|
- "nation\030\006 \001(\005\022-\n\rerror_manager\030\007 \001(\0132\026.me"
|
|
|
- "ssage.Error_manager*\333\005\n\022Dispatch_task_ty"
|
|
|
- "pe\022\027\n\023DISPATCH_PLAN_STORE\020e\022\030\n\024DISPATCH_"
|
|
|
- "PLAN_PICKUP\020f\022\036\n\032ROBOT_CATCH_CAR_FROM_IN"
|
|
|
- "LET\020\001\022\034\n\030ROBOT_PUT_CAR_TO_CARRIER\020\002\022 \n\034R"
|
|
|
- "OBOT_CATCH_CAR_FROM_CARRIER\020\003\022\033\n\027ROBOT_P"
|
|
|
- "UT_CAR_TO_OUTLET\020\004\022\016\n\nROBOT_MOVE\020\005\022\"\n\036CA"
|
|
|
- "RRIER_RECEIVE_CAR_FROM_ROBOT\020\013\022%\n!CARRIE"
|
|
|
- "R_STORE_CAR_TO_PARKINGSPACE\020\014\022(\n$CARRIER"
|
|
|
- "_STORE_CAR_TO_PARKINGSPACE_EX\020z\022(\n$CARRI"
|
|
|
- "ER_PICKUP_CAR_FROM_PARKINGSPACE\020\r\022 \n\034CAR"
|
|
|
- "RIER_DELIVER_CAR_TO_ROBOT\020\016\022\020\n\014CARRIER_M"
|
|
|
- "OVE\020\017\022 \n\034PASSAGEWAY_OPEN_OUTSIDE_DOOR\020\025\022"
|
|
|
- "!\n\035PASSAGEWAY_CLOSE_OUTSIDE_DOOR\020\026\022\037\n\033PA"
|
|
|
- "SSAGEWAY_OPEN_INSIDE_DOOR\020\027\022 \n\034PASSAGEWA"
|
|
|
- "Y_CLOSE_INSIDE_DOOR\020\030\022*\n&PASSAGEWAY_ROTA"
|
|
|
- "TE_TURNTABLE_TO_CARRIER\020\031\022)\n%PASSAGEWAY_"
|
|
|
- "ROTATE_TURNTABLE_TO_OUTLET\020\032\022\023\n\017DISPATCH"
|
|
|
- "_FINISH\020\036\022\023\n\017DISPATCH_CANCEL\020\037\022\022\n\016DISPAT"
|
|
|
- "CH_PAUSE\020(\022\025\n\021DISPATCH_RESERVED\0202*\370\001\n\024Di"
|
|
|
- "spatch_device_type\022\013\n\007ROBOT_1\020e\022\013\n\007ROBOT"
|
|
|
- "_2\020f\022\016\n\tCARRIER_1\020\311\001\022\016\n\tCARRIER_2\020\312\001\022\016\n\t"
|
|
|
- "CARRIER_3\020\313\001\022\021\n\014PASSAGEWAY_0\020\254\002\022\021\n\014PASSA"
|
|
|
- "GEWAY_1\020\255\002\022\021\n\014PASSAGEWAY_2\020\256\002\022\021\n\014PASSAGE"
|
|
|
- "WAY_3\020\257\002\022\021\n\014PASSAGEWAY_4\020\260\002\022\021\n\014PASSAGEWA"
|
|
|
- "Y_5\020\261\002\022\021\n\014PASSAGEWAY_6\020\262\002\022\021\n\014PASSAGEWAY_"
|
|
|
- "7\020\263\002"
|
|
|
+ "\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\311\001\022\016\n\tCARRIER_2\020\312\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"
|
|
|
};
|
|
|
::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
|
|
|
- descriptor, 2164);
|
|
|
+ descriptor, 2418);
|
|
|
::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
|
|
|
"dispatch_control.proto", &protobuf_RegisterTypes);
|
|
|
::protobuf_message_5fbase_2eproto::AddDescriptors();
|
|
@@ -382,6 +392,23 @@ bool Dispatch_device_type_IsValid(int value) {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+const ::google::protobuf::EnumDescriptor* Dispatch_device_target_status_descriptor() {
|
|
|
+ protobuf_dispatch_5fcontrol_2eproto::protobuf_AssignDescriptorsOnce();
|
|
|
+ return protobuf_dispatch_5fcontrol_2eproto::file_level_enum_descriptors[2];
|
|
|
+}
|
|
|
+bool Dispatch_device_target_status_IsValid(int value) {
|
|
|
+ switch (value) {
|
|
|
+ case 0:
|
|
|
+ case 1:
|
|
|
+ case 2:
|
|
|
+ case 3:
|
|
|
+ case 4:
|
|
|
+ return true;
|
|
|
+ default:
|
|
|
+ return false;
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
|
|
|
// ===================================================================
|
|
|
|
|
@@ -1475,6 +1502,7 @@ const int Dispatch_control_request_msg::kDispatchDeviceTypeFieldNumber;
|
|
|
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;
|
|
|
#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
|
|
|
|
|
|
Dispatch_control_request_msg::Dispatch_control_request_msg()
|
|
@@ -1515,8 +1543,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_destination_) -
|
|
|
- reinterpret_cast<char*>(&base_info_)) + sizeof(dispatch_destination_));
|
|
|
+ reinterpret_cast<char*>(&dispatch_device_target_status_) -
|
|
|
+ reinterpret_cast<char*>(&base_info_)) + sizeof(dispatch_device_target_status_));
|
|
|
dispatch_task_type_ = 101;
|
|
|
dispatch_device_type_ = 101;
|
|
|
}
|
|
@@ -1576,10 +1604,10 @@ void Dispatch_control_request_msg::Clear() {
|
|
|
error_manager_->Clear();
|
|
|
}
|
|
|
}
|
|
|
- if (cached_has_bits & 120u) {
|
|
|
+ if (cached_has_bits & 248u) {
|
|
|
::memset(&dispatch_source_, 0, static_cast<size_t>(
|
|
|
- reinterpret_cast<char*>(&dispatch_destination_) -
|
|
|
- reinterpret_cast<char*>(&dispatch_source_)) + sizeof(dispatch_destination_));
|
|
|
+ reinterpret_cast<char*>(&dispatch_device_target_status_) -
|
|
|
+ reinterpret_cast<char*>(&dispatch_source_)) + sizeof(dispatch_device_target_status_));
|
|
|
dispatch_task_type_ = 101;
|
|
|
dispatch_device_type_ = 101;
|
|
|
}
|
|
@@ -1705,6 +1733,26 @@ bool Dispatch_control_request_msg::MergePartialFromCodedStream(
|
|
|
break;
|
|
|
}
|
|
|
|
|
|
+ // optional .message.Dispatch_device_target_status dispatch_device_target_status = 8;
|
|
|
+ case 8: {
|
|
|
+ if (static_cast< ::google::protobuf::uint8>(tag) ==
|
|
|
+ static_cast< ::google::protobuf::uint8>(64u /* 64 & 0xFF */)) {
|
|
|
+ int value;
|
|
|
+ DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
|
+ int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
|
|
|
+ input, &value)));
|
|
|
+ if (::message::Dispatch_device_target_status_IsValid(value)) {
|
|
|
+ set_dispatch_device_target_status(static_cast< ::message::Dispatch_device_target_status >(value));
|
|
|
+ } else {
|
|
|
+ mutable_unknown_fields()->AddVarint(
|
|
|
+ 8, static_cast< ::google::protobuf::uint64>(value));
|
|
|
+ }
|
|
|
+ } else {
|
|
|
+ goto handle_unusual;
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ }
|
|
|
+
|
|
|
default: {
|
|
|
handle_unusual:
|
|
|
if (tag == 0) {
|
|
@@ -1749,13 +1797,13 @@ void Dispatch_control_request_msg::SerializeWithCachedSizes(
|
|
|
}
|
|
|
|
|
|
// required .message.Dispatch_task_type dispatch_task_type = 3;
|
|
|
- if (cached_has_bits & 0x00000020u) {
|
|
|
+ if (cached_has_bits & 0x00000040u) {
|
|
|
::google::protobuf::internal::WireFormatLite::WriteEnum(
|
|
|
3, this->dispatch_task_type(), output);
|
|
|
}
|
|
|
|
|
|
// optional .message.Dispatch_device_type dispatch_device_type = 4;
|
|
|
- if (cached_has_bits & 0x00000040u) {
|
|
|
+ if (cached_has_bits & 0x00000080u) {
|
|
|
::google::protobuf::internal::WireFormatLite::WriteEnum(
|
|
|
4, this->dispatch_device_type(), output);
|
|
|
}
|
|
@@ -1776,6 +1824,12 @@ void Dispatch_control_request_msg::SerializeWithCachedSizes(
|
|
|
7, *this->error_manager_, output);
|
|
|
}
|
|
|
|
|
|
+ // optional .message.Dispatch_device_target_status dispatch_device_target_status = 8;
|
|
|
+ if (cached_has_bits & 0x00000020u) {
|
|
|
+ ::google::protobuf::internal::WireFormatLite::WriteEnum(
|
|
|
+ 8, this->dispatch_device_target_status(), output);
|
|
|
+ }
|
|
|
+
|
|
|
if (_internal_metadata_.have_unknown_fields()) {
|
|
|
::google::protobuf::internal::WireFormat::SerializeUnknownFields(
|
|
|
_internal_metadata_.unknown_fields(), output);
|
|
@@ -1810,13 +1864,13 @@ void Dispatch_control_request_msg::SerializeWithCachedSizes(
|
|
|
}
|
|
|
|
|
|
// required .message.Dispatch_task_type dispatch_task_type = 3;
|
|
|
- if (cached_has_bits & 0x00000020u) {
|
|
|
+ if (cached_has_bits & 0x00000040u) {
|
|
|
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 & 0x00000040u) {
|
|
|
+ if (cached_has_bits & 0x00000080u) {
|
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
|
|
|
4, this->dispatch_device_type(), target);
|
|
|
}
|
|
@@ -1838,6 +1892,12 @@ void Dispatch_control_request_msg::SerializeWithCachedSizes(
|
|
|
7, *this->error_manager_, deterministic, target);
|
|
|
}
|
|
|
|
|
|
+ // optional .message.Dispatch_device_target_status dispatch_device_target_status = 8;
|
|
|
+ if (cached_has_bits & 0x00000020u) {
|
|
|
+ target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
|
|
|
+ 8, this->dispatch_device_target_status(), target);
|
|
|
+ }
|
|
|
+
|
|
|
if (_internal_metadata_.have_unknown_fields()) {
|
|
|
target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
|
|
|
_internal_metadata_.unknown_fields(), target);
|
|
@@ -1881,7 +1941,7 @@ size_t Dispatch_control_request_msg::ByteSizeLong() const {
|
|
|
::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
|
|
|
_internal_metadata_.unknown_fields());
|
|
|
}
|
|
|
- if (((_has_bits_[0] & 0x00000023) ^ 0x00000023) == 0) { // All required fields are present.
|
|
|
+ if (((_has_bits_[0] & 0x00000043) ^ 0x00000043) == 0) { // All required fields are present.
|
|
|
// required string command_key = 2;
|
|
|
total_size += 1 +
|
|
|
::google::protobuf::internal::WireFormatLite::StringSize(
|
|
@@ -1899,7 +1959,7 @@ size_t Dispatch_control_request_msg::ByteSizeLong() const {
|
|
|
} else {
|
|
|
total_size += RequiredFieldsByteSizeFallback();
|
|
|
}
|
|
|
- if (_has_bits_[0 / 32] & 28u) {
|
|
|
+ if (_has_bits_[0 / 32] & 60u) {
|
|
|
// optional .message.Error_manager error_manager = 7;
|
|
|
if (has_error_manager()) {
|
|
|
total_size += 1 +
|
|
@@ -1921,6 +1981,12 @@ size_t Dispatch_control_request_msg::ByteSizeLong() const {
|
|
|
this->dispatch_destination());
|
|
|
}
|
|
|
|
|
|
+ // optional .message.Dispatch_device_target_status dispatch_device_target_status = 8;
|
|
|
+ if (has_dispatch_device_target_status()) {
|
|
|
+ total_size += 1 +
|
|
|
+ ::google::protobuf::internal::WireFormatLite::EnumSize(this->dispatch_device_target_status());
|
|
|
+ }
|
|
|
+
|
|
|
}
|
|
|
// optional .message.Dispatch_device_type dispatch_device_type = 4;
|
|
|
if (has_dispatch_device_type()) {
|
|
@@ -1958,7 +2024,7 @@ void Dispatch_control_request_msg::MergeFrom(const Dispatch_control_request_msg&
|
|
|
(void) cached_has_bits;
|
|
|
|
|
|
cached_has_bits = from._has_bits_[0];
|
|
|
- if (cached_has_bits & 127u) {
|
|
|
+ if (cached_has_bits & 255u) {
|
|
|
if (cached_has_bits & 0x00000001u) {
|
|
|
set_has_command_key();
|
|
|
command_key_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.command_key_);
|
|
@@ -1976,9 +2042,12 @@ void Dispatch_control_request_msg::MergeFrom(const Dispatch_control_request_msg&
|
|
|
dispatch_destination_ = from.dispatch_destination_;
|
|
|
}
|
|
|
if (cached_has_bits & 0x00000020u) {
|
|
|
- dispatch_task_type_ = from.dispatch_task_type_;
|
|
|
+ dispatch_device_target_status_ = from.dispatch_device_target_status_;
|
|
|
}
|
|
|
if (cached_has_bits & 0x00000040u) {
|
|
|
+ dispatch_task_type_ = from.dispatch_task_type_;
|
|
|
+ }
|
|
|
+ if (cached_has_bits & 0x00000080u) {
|
|
|
dispatch_device_type_ = from.dispatch_device_type_;
|
|
|
}
|
|
|
_has_bits_[0] |= cached_has_bits;
|
|
@@ -2000,7 +2069,7 @@ void Dispatch_control_request_msg::CopyFrom(const Dispatch_control_request_msg&
|
|
|
}
|
|
|
|
|
|
bool Dispatch_control_request_msg::IsInitialized() const {
|
|
|
- if ((_has_bits_[0] & 0x00000023) != 0x00000023) return false;
|
|
|
+ if ((_has_bits_[0] & 0x00000043) != 0x00000043) return false;
|
|
|
if (has_base_info()) {
|
|
|
if (!this->base_info_->IsInitialized()) return false;
|
|
|
}
|
|
@@ -2021,6 +2090,7 @@ void Dispatch_control_request_msg::InternalSwap(Dispatch_control_request_msg* ot
|
|
|
swap(error_manager_, other->error_manager_);
|
|
|
swap(dispatch_source_, other->dispatch_source_);
|
|
|
swap(dispatch_destination_, other->dispatch_destination_);
|
|
|
+ swap(dispatch_device_target_status_, other->dispatch_device_target_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]);
|
|
@@ -2058,6 +2128,7 @@ const int Dispatch_control_response_msg::kDispatchDeviceTypeFieldNumber;
|
|
|
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;
|
|
|
#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
|
|
|
|
|
|
Dispatch_control_response_msg::Dispatch_control_response_msg()
|
|
@@ -2098,8 +2169,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_destination_) -
|
|
|
- reinterpret_cast<char*>(&base_info_)) + sizeof(dispatch_destination_));
|
|
|
+ reinterpret_cast<char*>(&dispatch_device_target_status_) -
|
|
|
+ reinterpret_cast<char*>(&base_info_)) + sizeof(dispatch_device_target_status_));
|
|
|
dispatch_task_type_ = 101;
|
|
|
dispatch_device_type_ = 101;
|
|
|
}
|
|
@@ -2159,10 +2230,10 @@ void Dispatch_control_response_msg::Clear() {
|
|
|
error_manager_->Clear();
|
|
|
}
|
|
|
}
|
|
|
- if (cached_has_bits & 120u) {
|
|
|
+ if (cached_has_bits & 248u) {
|
|
|
::memset(&dispatch_source_, 0, static_cast<size_t>(
|
|
|
- reinterpret_cast<char*>(&dispatch_destination_) -
|
|
|
- reinterpret_cast<char*>(&dispatch_source_)) + sizeof(dispatch_destination_));
|
|
|
+ reinterpret_cast<char*>(&dispatch_device_target_status_) -
|
|
|
+ reinterpret_cast<char*>(&dispatch_source_)) + sizeof(dispatch_device_target_status_));
|
|
|
dispatch_task_type_ = 101;
|
|
|
dispatch_device_type_ = 101;
|
|
|
}
|
|
@@ -2288,6 +2359,26 @@ bool Dispatch_control_response_msg::MergePartialFromCodedStream(
|
|
|
break;
|
|
|
}
|
|
|
|
|
|
+ // optional .message.Dispatch_device_target_status dispatch_device_target_status = 8;
|
|
|
+ case 8: {
|
|
|
+ if (static_cast< ::google::protobuf::uint8>(tag) ==
|
|
|
+ static_cast< ::google::protobuf::uint8>(64u /* 64 & 0xFF */)) {
|
|
|
+ int value;
|
|
|
+ DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
|
+ int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
|
|
|
+ input, &value)));
|
|
|
+ if (::message::Dispatch_device_target_status_IsValid(value)) {
|
|
|
+ set_dispatch_device_target_status(static_cast< ::message::Dispatch_device_target_status >(value));
|
|
|
+ } else {
|
|
|
+ mutable_unknown_fields()->AddVarint(
|
|
|
+ 8, static_cast< ::google::protobuf::uint64>(value));
|
|
|
+ }
|
|
|
+ } else {
|
|
|
+ goto handle_unusual;
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ }
|
|
|
+
|
|
|
default: {
|
|
|
handle_unusual:
|
|
|
if (tag == 0) {
|
|
@@ -2332,13 +2423,13 @@ void Dispatch_control_response_msg::SerializeWithCachedSizes(
|
|
|
}
|
|
|
|
|
|
// optional .message.Dispatch_task_type dispatch_task_type = 3;
|
|
|
- if (cached_has_bits & 0x00000020u) {
|
|
|
+ if (cached_has_bits & 0x00000040u) {
|
|
|
::google::protobuf::internal::WireFormatLite::WriteEnum(
|
|
|
3, this->dispatch_task_type(), output);
|
|
|
}
|
|
|
|
|
|
// optional .message.Dispatch_device_type dispatch_device_type = 4;
|
|
|
- if (cached_has_bits & 0x00000040u) {
|
|
|
+ if (cached_has_bits & 0x00000080u) {
|
|
|
::google::protobuf::internal::WireFormatLite::WriteEnum(
|
|
|
4, this->dispatch_device_type(), output);
|
|
|
}
|
|
@@ -2359,6 +2450,12 @@ void Dispatch_control_response_msg::SerializeWithCachedSizes(
|
|
|
7, *this->error_manager_, output);
|
|
|
}
|
|
|
|
|
|
+ // optional .message.Dispatch_device_target_status dispatch_device_target_status = 8;
|
|
|
+ if (cached_has_bits & 0x00000020u) {
|
|
|
+ ::google::protobuf::internal::WireFormatLite::WriteEnum(
|
|
|
+ 8, this->dispatch_device_target_status(), output);
|
|
|
+ }
|
|
|
+
|
|
|
if (_internal_metadata_.have_unknown_fields()) {
|
|
|
::google::protobuf::internal::WireFormat::SerializeUnknownFields(
|
|
|
_internal_metadata_.unknown_fields(), output);
|
|
@@ -2393,13 +2490,13 @@ void Dispatch_control_response_msg::SerializeWithCachedSizes(
|
|
|
}
|
|
|
|
|
|
// optional .message.Dispatch_task_type dispatch_task_type = 3;
|
|
|
- if (cached_has_bits & 0x00000020u) {
|
|
|
+ if (cached_has_bits & 0x00000040u) {
|
|
|
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 & 0x00000040u) {
|
|
|
+ if (cached_has_bits & 0x00000080u) {
|
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
|
|
|
4, this->dispatch_device_type(), target);
|
|
|
}
|
|
@@ -2421,6 +2518,12 @@ void Dispatch_control_response_msg::SerializeWithCachedSizes(
|
|
|
7, *this->error_manager_, deterministic, target);
|
|
|
}
|
|
|
|
|
|
+ // optional .message.Dispatch_device_target_status dispatch_device_target_status = 8;
|
|
|
+ if (cached_has_bits & 0x00000020u) {
|
|
|
+ target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
|
|
|
+ 8, this->dispatch_device_target_status(), target);
|
|
|
+ }
|
|
|
+
|
|
|
if (_internal_metadata_.have_unknown_fields()) {
|
|
|
target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
|
|
|
_internal_metadata_.unknown_fields(), target);
|
|
@@ -2472,7 +2575,7 @@ size_t Dispatch_control_response_msg::ByteSizeLong() const {
|
|
|
} else {
|
|
|
total_size += RequiredFieldsByteSizeFallback();
|
|
|
}
|
|
|
- if (_has_bits_[0 / 32] & 124u) {
|
|
|
+ if (_has_bits_[0 / 32] & 252u) {
|
|
|
// optional .message.Error_manager error_manager = 7;
|
|
|
if (has_error_manager()) {
|
|
|
total_size += 1 +
|
|
@@ -2494,6 +2597,12 @@ size_t Dispatch_control_response_msg::ByteSizeLong() const {
|
|
|
this->dispatch_destination());
|
|
|
}
|
|
|
|
|
|
+ // optional .message.Dispatch_device_target_status dispatch_device_target_status = 8;
|
|
|
+ if (has_dispatch_device_target_status()) {
|
|
|
+ total_size += 1 +
|
|
|
+ ::google::protobuf::internal::WireFormatLite::EnumSize(this->dispatch_device_target_status());
|
|
|
+ }
|
|
|
+
|
|
|
// optional .message.Dispatch_task_type dispatch_task_type = 3;
|
|
|
if (has_dispatch_task_type()) {
|
|
|
total_size += 1 +
|
|
@@ -2537,7 +2646,7 @@ void Dispatch_control_response_msg::MergeFrom(const Dispatch_control_response_ms
|
|
|
(void) cached_has_bits;
|
|
|
|
|
|
cached_has_bits = from._has_bits_[0];
|
|
|
- if (cached_has_bits & 127u) {
|
|
|
+ if (cached_has_bits & 255u) {
|
|
|
if (cached_has_bits & 0x00000001u) {
|
|
|
set_has_command_key();
|
|
|
command_key_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.command_key_);
|
|
@@ -2555,9 +2664,12 @@ void Dispatch_control_response_msg::MergeFrom(const Dispatch_control_response_ms
|
|
|
dispatch_destination_ = from.dispatch_destination_;
|
|
|
}
|
|
|
if (cached_has_bits & 0x00000020u) {
|
|
|
- dispatch_task_type_ = from.dispatch_task_type_;
|
|
|
+ dispatch_device_target_status_ = from.dispatch_device_target_status_;
|
|
|
}
|
|
|
if (cached_has_bits & 0x00000040u) {
|
|
|
+ dispatch_task_type_ = from.dispatch_task_type_;
|
|
|
+ }
|
|
|
+ if (cached_has_bits & 0x00000080u) {
|
|
|
dispatch_device_type_ = from.dispatch_device_type_;
|
|
|
}
|
|
|
_has_bits_[0] |= cached_has_bits;
|
|
@@ -2600,6 +2712,7 @@ void Dispatch_control_response_msg::InternalSwap(Dispatch_control_response_msg*
|
|
|
swap(error_manager_, other->error_manager_);
|
|
|
swap(dispatch_source_, other->dispatch_source_);
|
|
|
swap(dispatch_destination_, other->dispatch_destination_);
|
|
|
+ swap(dispatch_device_target_status_, other->dispatch_device_target_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]);
|