|
@@ -46,6 +46,7 @@ void InitDefaultsNotify_request_msgImpl() {
|
|
|
::google::protobuf::internal::InitProtobufDefaults();
|
|
|
#endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
|
|
|
protobuf_message_5fbase_2eproto::InitDefaultsBase_info();
|
|
|
+ protobuf_message_5fbase_2eproto::InitDefaultsId_struct();
|
|
|
protobuf_message_5fbase_2eproto::InitDefaultsCar_info();
|
|
|
{
|
|
|
void* ptr = &::message::_Notify_request_msg_default_instance_;
|
|
@@ -69,6 +70,7 @@ void InitDefaultsNotify_response_msgImpl() {
|
|
|
::google::protobuf::internal::InitProtobufDefaults();
|
|
|
#endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
|
|
|
protobuf_message_5fbase_2eproto::InitDefaultsBase_info();
|
|
|
+ protobuf_message_5fbase_2eproto::InitDefaultsId_struct();
|
|
|
protobuf_message_5fbase_2eproto::InitDefaultsError_manager();
|
|
|
{
|
|
|
void* ptr = &::message::_Notify_response_msg_default_instance_;
|
|
@@ -92,6 +94,7 @@ void InitDefaultsNotify_status_msgImpl() {
|
|
|
::google::protobuf::internal::InitProtobufDefaults();
|
|
|
#endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
|
|
|
protobuf_message_5fbase_2eproto::InitDefaultsBase_info();
|
|
|
+ protobuf_message_5fbase_2eproto::InitDefaultsId_struct();
|
|
|
protobuf_message_5fbase_2eproto::InitDefaultsError_manager();
|
|
|
protobuf_singlechip_5fmsg_2eproto::InitDefaultsSinglechip_data();
|
|
|
{
|
|
@@ -117,12 +120,12 @@ const ::google::protobuf::uint32 TableStruct::offsets[] GOOGLE_PROTOBUF_ATTRIBUT
|
|
|
~0u, // no _weak_field_map_
|
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Notify_request_msg, base_info_),
|
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Notify_request_msg, command_key_),
|
|
|
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Notify_request_msg, terminal_id_),
|
|
|
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Notify_request_msg, id_struct_),
|
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Notify_request_msg, car_info_),
|
|
|
1,
|
|
|
0,
|
|
|
- 3,
|
|
|
2,
|
|
|
+ 3,
|
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Notify_response_msg, _has_bits_),
|
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Notify_response_msg, _internal_metadata_),
|
|
|
~0u, // no _extensions_
|
|
@@ -130,26 +133,26 @@ const ::google::protobuf::uint32 TableStruct::offsets[] GOOGLE_PROTOBUF_ATTRIBUT
|
|
|
~0u, // no _weak_field_map_
|
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Notify_response_msg, base_info_),
|
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Notify_response_msg, command_key_),
|
|
|
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Notify_response_msg, terminal_id_),
|
|
|
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Notify_response_msg, id_struct_),
|
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Notify_response_msg, code_),
|
|
|
1,
|
|
|
0,
|
|
|
- 3,
|
|
|
2,
|
|
|
+ 3,
|
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Notify_status_msg, _has_bits_),
|
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Notify_status_msg, _internal_metadata_),
|
|
|
~0u, // no _extensions_
|
|
|
~0u, // no _oneof_case_
|
|
|
~0u, // no _weak_field_map_
|
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Notify_status_msg, base_info_),
|
|
|
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Notify_status_msg, terminal_id_),
|
|
|
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Notify_status_msg, id_struct_),
|
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Notify_status_msg, error_manager_),
|
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Notify_status_msg, singlechipdata_),
|
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Notify_status_msg, singlechip_validity_),
|
|
|
0,
|
|
|
- 3,
|
|
|
1,
|
|
|
2,
|
|
|
+ 3,
|
|
|
4,
|
|
|
};
|
|
|
static const ::google::protobuf::internal::MigrationSchema schemas[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
|
|
@@ -187,23 +190,24 @@ void AddDescriptorsImpl() {
|
|
|
InitDefaults();
|
|
|
static const char descriptor[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
|
|
|
"\n\024notify_message.proto\022\007message\032\022message"
|
|
|
- "_base.proto\032\024singlechip_msg.proto\"\212\001\n\022No"
|
|
|
+ "_base.proto\032\024singlechip_msg.proto\"\234\001\n\022No"
|
|
|
"tify_request_msg\022%\n\tbase_info\030\001 \002(\0132\022.me"
|
|
|
- "ssage.Base_info\022\023\n\013command_key\030\002 \002(\t\022\023\n\013"
|
|
|
- "terminal_id\030\003 \002(\005\022#\n\010car_info\030\004 \002(\0132\021.me"
|
|
|
- "ssage.Car_info\"\214\001\n\023Notify_response_msg\022%"
|
|
|
- "\n\tbase_info\030\001 \002(\0132\022.message.Base_info\022\023\n"
|
|
|
- "\013command_key\030\002 \002(\t\022\023\n\013terminal_id\030\003 \002(\005\022"
|
|
|
- "$\n\004code\030\004 \002(\0132\026.message.Error_manager\"\315\001"
|
|
|
- "\n\021Notify_status_msg\022%\n\tbase_info\030\001 \002(\0132\022"
|
|
|
- ".message.Base_info\022\023\n\013terminal_id\030\002 \002(\005\022"
|
|
|
- "-\n\rerror_manager\030\003 \002(\0132\026.message.Error_m"
|
|
|
- "anager\0220\n\016singlechipData\030\004 \001(\0132\030.message"
|
|
|
- ".Singlechip_data\022\033\n\023singlechip_validity\030"
|
|
|
- "\005 \001(\010"
|
|
|
+ "ssage.Base_info\022\023\n\013command_key\030\002 \002(\t\022%\n\t"
|
|
|
+ "id_struct\030\003 \002(\0132\022.message.Id_struct\022#\n\010c"
|
|
|
+ "ar_info\030\004 \002(\0132\021.message.Car_info\"\236\001\n\023Not"
|
|
|
+ "ify_response_msg\022%\n\tbase_info\030\001 \002(\0132\022.me"
|
|
|
+ "ssage.Base_info\022\023\n\013command_key\030\002 \002(\t\022%\n\t"
|
|
|
+ "id_struct\030\003 \002(\0132\022.message.Id_struct\022$\n\004c"
|
|
|
+ "ode\030\004 \002(\0132\026.message.Error_manager\"\337\001\n\021No"
|
|
|
+ "tify_status_msg\022%\n\tbase_info\030\001 \002(\0132\022.mes"
|
|
|
+ "sage.Base_info\022%\n\tid_struct\030\002 \002(\0132\022.mess"
|
|
|
+ "age.Id_struct\022-\n\rerror_manager\030\003 \002(\0132\026.m"
|
|
|
+ "essage.Error_manager\0220\n\016singlechipData\030\004"
|
|
|
+ " \001(\0132\030.message.Singlechip_data\022\033\n\023single"
|
|
|
+ "chip_validity\030\005 \001(\010"
|
|
|
};
|
|
|
::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
|
|
|
- descriptor, 565);
|
|
|
+ descriptor, 619);
|
|
|
::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
|
|
|
"notify_message.proto", &protobuf_RegisterTypes);
|
|
|
::protobuf_message_5fbase_2eproto::AddDescriptors();
|
|
@@ -228,6 +232,8 @@ namespace message {
|
|
|
void Notify_request_msg::InitAsDefaultInstance() {
|
|
|
::message::_Notify_request_msg_default_instance_._instance.get_mutable()->base_info_ = const_cast< ::message::Base_info*>(
|
|
|
::message::Base_info::internal_default_instance());
|
|
|
+ ::message::_Notify_request_msg_default_instance_._instance.get_mutable()->id_struct_ = const_cast< ::message::Id_struct*>(
|
|
|
+ ::message::Id_struct::internal_default_instance());
|
|
|
::message::_Notify_request_msg_default_instance_._instance.get_mutable()->car_info_ = const_cast< ::message::Car_info*>(
|
|
|
::message::Car_info::internal_default_instance());
|
|
|
}
|
|
@@ -235,6 +241,10 @@ void Notify_request_msg::clear_base_info() {
|
|
|
if (base_info_ != NULL) base_info_->Clear();
|
|
|
clear_has_base_info();
|
|
|
}
|
|
|
+void Notify_request_msg::clear_id_struct() {
|
|
|
+ if (id_struct_ != NULL) id_struct_->Clear();
|
|
|
+ clear_has_id_struct();
|
|
|
+}
|
|
|
void Notify_request_msg::clear_car_info() {
|
|
|
if (car_info_ != NULL) car_info_->Clear();
|
|
|
clear_has_car_info();
|
|
@@ -242,7 +252,7 @@ void Notify_request_msg::clear_car_info() {
|
|
|
#if !defined(_MSC_VER) || _MSC_VER >= 1900
|
|
|
const int Notify_request_msg::kBaseInfoFieldNumber;
|
|
|
const int Notify_request_msg::kCommandKeyFieldNumber;
|
|
|
-const int Notify_request_msg::kTerminalIdFieldNumber;
|
|
|
+const int Notify_request_msg::kIdStructFieldNumber;
|
|
|
const int Notify_request_msg::kCarInfoFieldNumber;
|
|
|
#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
|
|
|
|
|
@@ -269,12 +279,16 @@ Notify_request_msg::Notify_request_msg(const Notify_request_msg& from)
|
|
|
} else {
|
|
|
base_info_ = NULL;
|
|
|
}
|
|
|
+ if (from.has_id_struct()) {
|
|
|
+ id_struct_ = new ::message::Id_struct(*from.id_struct_);
|
|
|
+ } else {
|
|
|
+ id_struct_ = NULL;
|
|
|
+ }
|
|
|
if (from.has_car_info()) {
|
|
|
car_info_ = new ::message::Car_info(*from.car_info_);
|
|
|
} else {
|
|
|
car_info_ = NULL;
|
|
|
}
|
|
|
- terminal_id_ = from.terminal_id_;
|
|
|
// @@protoc_insertion_point(copy_constructor:message.Notify_request_msg)
|
|
|
}
|
|
|
|
|
@@ -282,8 +296,8 @@ void Notify_request_msg::SharedCtor() {
|
|
|
_cached_size_ = 0;
|
|
|
command_key_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
|
::memset(&base_info_, 0, static_cast<size_t>(
|
|
|
- reinterpret_cast<char*>(&terminal_id_) -
|
|
|
- reinterpret_cast<char*>(&base_info_)) + sizeof(terminal_id_));
|
|
|
+ reinterpret_cast<char*>(&car_info_) -
|
|
|
+ reinterpret_cast<char*>(&base_info_)) + sizeof(car_info_));
|
|
|
}
|
|
|
|
|
|
Notify_request_msg::~Notify_request_msg() {
|
|
@@ -294,6 +308,7 @@ Notify_request_msg::~Notify_request_msg() {
|
|
|
void Notify_request_msg::SharedDtor() {
|
|
|
command_key_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
|
if (this != internal_default_instance()) delete base_info_;
|
|
|
+ if (this != internal_default_instance()) delete id_struct_;
|
|
|
if (this != internal_default_instance()) delete car_info_;
|
|
|
}
|
|
|
|
|
@@ -327,7 +342,7 @@ void Notify_request_msg::Clear() {
|
|
|
(void) cached_has_bits;
|
|
|
|
|
|
cached_has_bits = _has_bits_[0];
|
|
|
- if (cached_has_bits & 7u) {
|
|
|
+ if (cached_has_bits & 15u) {
|
|
|
if (cached_has_bits & 0x00000001u) {
|
|
|
GOOGLE_DCHECK(!command_key_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
|
|
|
(*command_key_.UnsafeRawStringPointer())->clear();
|
|
@@ -337,11 +352,14 @@ void Notify_request_msg::Clear() {
|
|
|
base_info_->Clear();
|
|
|
}
|
|
|
if (cached_has_bits & 0x00000004u) {
|
|
|
+ GOOGLE_DCHECK(id_struct_ != NULL);
|
|
|
+ id_struct_->Clear();
|
|
|
+ }
|
|
|
+ if (cached_has_bits & 0x00000008u) {
|
|
|
GOOGLE_DCHECK(car_info_ != NULL);
|
|
|
car_info_->Clear();
|
|
|
}
|
|
|
}
|
|
|
- terminal_id_ = 0;
|
|
|
_has_bits_.Clear();
|
|
|
_internal_metadata_.Clear();
|
|
|
}
|
|
@@ -384,14 +402,12 @@ bool Notify_request_msg::MergePartialFromCodedStream(
|
|
|
break;
|
|
|
}
|
|
|
|
|
|
- // required int32 terminal_id = 3;
|
|
|
+ // required .message.Id_struct id_struct = 3;
|
|
|
case 3: {
|
|
|
if (static_cast< ::google::protobuf::uint8>(tag) ==
|
|
|
- static_cast< ::google::protobuf::uint8>(24u /* 24 & 0xFF */)) {
|
|
|
- set_has_terminal_id();
|
|
|
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
|
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
|
|
|
- input, &terminal_id_)));
|
|
|
+ static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) {
|
|
|
+ DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
|
|
|
+ input, mutable_id_struct()));
|
|
|
} else {
|
|
|
goto handle_unusual;
|
|
|
}
|
|
@@ -453,13 +469,14 @@ void Notify_request_msg::SerializeWithCachedSizes(
|
|
|
2, this->command_key(), output);
|
|
|
}
|
|
|
|
|
|
- // required int32 terminal_id = 3;
|
|
|
- if (cached_has_bits & 0x00000008u) {
|
|
|
- ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->terminal_id(), output);
|
|
|
+ // required .message.Id_struct id_struct = 3;
|
|
|
+ if (cached_has_bits & 0x00000004u) {
|
|
|
+ ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
|
|
|
+ 3, *this->id_struct_, output);
|
|
|
}
|
|
|
|
|
|
// required .message.Car_info car_info = 4;
|
|
|
- if (cached_has_bits & 0x00000004u) {
|
|
|
+ if (cached_has_bits & 0x00000008u) {
|
|
|
::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
|
|
|
4, *this->car_info_, output);
|
|
|
}
|
|
@@ -497,13 +514,15 @@ void Notify_request_msg::SerializeWithCachedSizes(
|
|
|
2, this->command_key(), target);
|
|
|
}
|
|
|
|
|
|
- // required int32 terminal_id = 3;
|
|
|
- if (cached_has_bits & 0x00000008u) {
|
|
|
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->terminal_id(), target);
|
|
|
+ // required .message.Id_struct id_struct = 3;
|
|
|
+ if (cached_has_bits & 0x00000004u) {
|
|
|
+ target = ::google::protobuf::internal::WireFormatLite::
|
|
|
+ InternalWriteMessageToArray(
|
|
|
+ 3, *this->id_struct_, deterministic, target);
|
|
|
}
|
|
|
|
|
|
// required .message.Car_info car_info = 4;
|
|
|
- if (cached_has_bits & 0x00000004u) {
|
|
|
+ if (cached_has_bits & 0x00000008u) {
|
|
|
target = ::google::protobuf::internal::WireFormatLite::
|
|
|
InternalWriteMessageToArray(
|
|
|
4, *this->car_info_, deterministic, target);
|
|
@@ -535,18 +554,18 @@ size_t Notify_request_msg::RequiredFieldsByteSizeFallback() const {
|
|
|
*this->base_info_);
|
|
|
}
|
|
|
|
|
|
- if (has_car_info()) {
|
|
|
- // required .message.Car_info car_info = 4;
|
|
|
+ if (has_id_struct()) {
|
|
|
+ // required .message.Id_struct id_struct = 3;
|
|
|
total_size += 1 +
|
|
|
::google::protobuf::internal::WireFormatLite::MessageSize(
|
|
|
- *this->car_info_);
|
|
|
+ *this->id_struct_);
|
|
|
}
|
|
|
|
|
|
- if (has_terminal_id()) {
|
|
|
- // required int32 terminal_id = 3;
|
|
|
+ if (has_car_info()) {
|
|
|
+ // required .message.Car_info car_info = 4;
|
|
|
total_size += 1 +
|
|
|
- ::google::protobuf::internal::WireFormatLite::Int32Size(
|
|
|
- this->terminal_id());
|
|
|
+ ::google::protobuf::internal::WireFormatLite::MessageSize(
|
|
|
+ *this->car_info_);
|
|
|
}
|
|
|
|
|
|
return total_size;
|
|
@@ -571,15 +590,15 @@ size_t Notify_request_msg::ByteSizeLong() const {
|
|
|
::google::protobuf::internal::WireFormatLite::MessageSize(
|
|
|
*this->base_info_);
|
|
|
|
|
|
- // required .message.Car_info car_info = 4;
|
|
|
+ // required .message.Id_struct id_struct = 3;
|
|
|
total_size += 1 +
|
|
|
::google::protobuf::internal::WireFormatLite::MessageSize(
|
|
|
- *this->car_info_);
|
|
|
+ *this->id_struct_);
|
|
|
|
|
|
- // required int32 terminal_id = 3;
|
|
|
+ // required .message.Car_info car_info = 4;
|
|
|
total_size += 1 +
|
|
|
- ::google::protobuf::internal::WireFormatLite::Int32Size(
|
|
|
- this->terminal_id());
|
|
|
+ ::google::protobuf::internal::WireFormatLite::MessageSize(
|
|
|
+ *this->car_info_);
|
|
|
|
|
|
} else {
|
|
|
total_size += RequiredFieldsByteSizeFallback();
|
|
@@ -623,12 +642,11 @@ void Notify_request_msg::MergeFrom(const Notify_request_msg& from) {
|
|
|
mutable_base_info()->::message::Base_info::MergeFrom(from.base_info());
|
|
|
}
|
|
|
if (cached_has_bits & 0x00000004u) {
|
|
|
- mutable_car_info()->::message::Car_info::MergeFrom(from.car_info());
|
|
|
+ mutable_id_struct()->::message::Id_struct::MergeFrom(from.id_struct());
|
|
|
}
|
|
|
if (cached_has_bits & 0x00000008u) {
|
|
|
- terminal_id_ = from.terminal_id_;
|
|
|
+ mutable_car_info()->::message::Car_info::MergeFrom(from.car_info());
|
|
|
}
|
|
|
- _has_bits_[0] |= cached_has_bits;
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -662,8 +680,8 @@ void Notify_request_msg::InternalSwap(Notify_request_msg* other) {
|
|
|
using std::swap;
|
|
|
command_key_.Swap(&other->command_key_);
|
|
|
swap(base_info_, other->base_info_);
|
|
|
+ swap(id_struct_, other->id_struct_);
|
|
|
swap(car_info_, other->car_info_);
|
|
|
- swap(terminal_id_, other->terminal_id_);
|
|
|
swap(_has_bits_[0], other->_has_bits_[0]);
|
|
|
_internal_metadata_.Swap(&other->_internal_metadata_);
|
|
|
swap(_cached_size_, other->_cached_size_);
|
|
@@ -680,6 +698,8 @@ void Notify_request_msg::InternalSwap(Notify_request_msg* other) {
|
|
|
void Notify_response_msg::InitAsDefaultInstance() {
|
|
|
::message::_Notify_response_msg_default_instance_._instance.get_mutable()->base_info_ = const_cast< ::message::Base_info*>(
|
|
|
::message::Base_info::internal_default_instance());
|
|
|
+ ::message::_Notify_response_msg_default_instance_._instance.get_mutable()->id_struct_ = const_cast< ::message::Id_struct*>(
|
|
|
+ ::message::Id_struct::internal_default_instance());
|
|
|
::message::_Notify_response_msg_default_instance_._instance.get_mutable()->code_ = const_cast< ::message::Error_manager*>(
|
|
|
::message::Error_manager::internal_default_instance());
|
|
|
}
|
|
@@ -687,6 +707,10 @@ void Notify_response_msg::clear_base_info() {
|
|
|
if (base_info_ != NULL) base_info_->Clear();
|
|
|
clear_has_base_info();
|
|
|
}
|
|
|
+void Notify_response_msg::clear_id_struct() {
|
|
|
+ if (id_struct_ != NULL) id_struct_->Clear();
|
|
|
+ clear_has_id_struct();
|
|
|
+}
|
|
|
void Notify_response_msg::clear_code() {
|
|
|
if (code_ != NULL) code_->Clear();
|
|
|
clear_has_code();
|
|
@@ -694,7 +718,7 @@ void Notify_response_msg::clear_code() {
|
|
|
#if !defined(_MSC_VER) || _MSC_VER >= 1900
|
|
|
const int Notify_response_msg::kBaseInfoFieldNumber;
|
|
|
const int Notify_response_msg::kCommandKeyFieldNumber;
|
|
|
-const int Notify_response_msg::kTerminalIdFieldNumber;
|
|
|
+const int Notify_response_msg::kIdStructFieldNumber;
|
|
|
const int Notify_response_msg::kCodeFieldNumber;
|
|
|
#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
|
|
|
|
|
@@ -721,12 +745,16 @@ Notify_response_msg::Notify_response_msg(const Notify_response_msg& from)
|
|
|
} else {
|
|
|
base_info_ = NULL;
|
|
|
}
|
|
|
+ if (from.has_id_struct()) {
|
|
|
+ id_struct_ = new ::message::Id_struct(*from.id_struct_);
|
|
|
+ } else {
|
|
|
+ id_struct_ = NULL;
|
|
|
+ }
|
|
|
if (from.has_code()) {
|
|
|
code_ = new ::message::Error_manager(*from.code_);
|
|
|
} else {
|
|
|
code_ = NULL;
|
|
|
}
|
|
|
- terminal_id_ = from.terminal_id_;
|
|
|
// @@protoc_insertion_point(copy_constructor:message.Notify_response_msg)
|
|
|
}
|
|
|
|
|
@@ -734,8 +762,8 @@ void Notify_response_msg::SharedCtor() {
|
|
|
_cached_size_ = 0;
|
|
|
command_key_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
|
::memset(&base_info_, 0, static_cast<size_t>(
|
|
|
- reinterpret_cast<char*>(&terminal_id_) -
|
|
|
- reinterpret_cast<char*>(&base_info_)) + sizeof(terminal_id_));
|
|
|
+ reinterpret_cast<char*>(&code_) -
|
|
|
+ reinterpret_cast<char*>(&base_info_)) + sizeof(code_));
|
|
|
}
|
|
|
|
|
|
Notify_response_msg::~Notify_response_msg() {
|
|
@@ -746,6 +774,7 @@ Notify_response_msg::~Notify_response_msg() {
|
|
|
void Notify_response_msg::SharedDtor() {
|
|
|
command_key_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
|
if (this != internal_default_instance()) delete base_info_;
|
|
|
+ if (this != internal_default_instance()) delete id_struct_;
|
|
|
if (this != internal_default_instance()) delete code_;
|
|
|
}
|
|
|
|
|
@@ -779,7 +808,7 @@ void Notify_response_msg::Clear() {
|
|
|
(void) cached_has_bits;
|
|
|
|
|
|
cached_has_bits = _has_bits_[0];
|
|
|
- if (cached_has_bits & 7u) {
|
|
|
+ if (cached_has_bits & 15u) {
|
|
|
if (cached_has_bits & 0x00000001u) {
|
|
|
GOOGLE_DCHECK(!command_key_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
|
|
|
(*command_key_.UnsafeRawStringPointer())->clear();
|
|
@@ -789,11 +818,14 @@ void Notify_response_msg::Clear() {
|
|
|
base_info_->Clear();
|
|
|
}
|
|
|
if (cached_has_bits & 0x00000004u) {
|
|
|
+ GOOGLE_DCHECK(id_struct_ != NULL);
|
|
|
+ id_struct_->Clear();
|
|
|
+ }
|
|
|
+ if (cached_has_bits & 0x00000008u) {
|
|
|
GOOGLE_DCHECK(code_ != NULL);
|
|
|
code_->Clear();
|
|
|
}
|
|
|
}
|
|
|
- terminal_id_ = 0;
|
|
|
_has_bits_.Clear();
|
|
|
_internal_metadata_.Clear();
|
|
|
}
|
|
@@ -836,14 +868,12 @@ bool Notify_response_msg::MergePartialFromCodedStream(
|
|
|
break;
|
|
|
}
|
|
|
|
|
|
- // required int32 terminal_id = 3;
|
|
|
+ // required .message.Id_struct id_struct = 3;
|
|
|
case 3: {
|
|
|
if (static_cast< ::google::protobuf::uint8>(tag) ==
|
|
|
- static_cast< ::google::protobuf::uint8>(24u /* 24 & 0xFF */)) {
|
|
|
- set_has_terminal_id();
|
|
|
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
|
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
|
|
|
- input, &terminal_id_)));
|
|
|
+ static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) {
|
|
|
+ DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
|
|
|
+ input, mutable_id_struct()));
|
|
|
} else {
|
|
|
goto handle_unusual;
|
|
|
}
|
|
@@ -905,13 +935,14 @@ void Notify_response_msg::SerializeWithCachedSizes(
|
|
|
2, this->command_key(), output);
|
|
|
}
|
|
|
|
|
|
- // required int32 terminal_id = 3;
|
|
|
- if (cached_has_bits & 0x00000008u) {
|
|
|
- ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->terminal_id(), output);
|
|
|
+ // required .message.Id_struct id_struct = 3;
|
|
|
+ if (cached_has_bits & 0x00000004u) {
|
|
|
+ ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
|
|
|
+ 3, *this->id_struct_, output);
|
|
|
}
|
|
|
|
|
|
// required .message.Error_manager code = 4;
|
|
|
- if (cached_has_bits & 0x00000004u) {
|
|
|
+ if (cached_has_bits & 0x00000008u) {
|
|
|
::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
|
|
|
4, *this->code_, output);
|
|
|
}
|
|
@@ -949,13 +980,15 @@ void Notify_response_msg::SerializeWithCachedSizes(
|
|
|
2, this->command_key(), target);
|
|
|
}
|
|
|
|
|
|
- // required int32 terminal_id = 3;
|
|
|
- if (cached_has_bits & 0x00000008u) {
|
|
|
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->terminal_id(), target);
|
|
|
+ // required .message.Id_struct id_struct = 3;
|
|
|
+ if (cached_has_bits & 0x00000004u) {
|
|
|
+ target = ::google::protobuf::internal::WireFormatLite::
|
|
|
+ InternalWriteMessageToArray(
|
|
|
+ 3, *this->id_struct_, deterministic, target);
|
|
|
}
|
|
|
|
|
|
// required .message.Error_manager code = 4;
|
|
|
- if (cached_has_bits & 0x00000004u) {
|
|
|
+ if (cached_has_bits & 0x00000008u) {
|
|
|
target = ::google::protobuf::internal::WireFormatLite::
|
|
|
InternalWriteMessageToArray(
|
|
|
4, *this->code_, deterministic, target);
|
|
@@ -987,18 +1020,18 @@ size_t Notify_response_msg::RequiredFieldsByteSizeFallback() const {
|
|
|
*this->base_info_);
|
|
|
}
|
|
|
|
|
|
- if (has_code()) {
|
|
|
- // required .message.Error_manager code = 4;
|
|
|
+ if (has_id_struct()) {
|
|
|
+ // required .message.Id_struct id_struct = 3;
|
|
|
total_size += 1 +
|
|
|
::google::protobuf::internal::WireFormatLite::MessageSize(
|
|
|
- *this->code_);
|
|
|
+ *this->id_struct_);
|
|
|
}
|
|
|
|
|
|
- if (has_terminal_id()) {
|
|
|
- // required int32 terminal_id = 3;
|
|
|
+ if (has_code()) {
|
|
|
+ // required .message.Error_manager code = 4;
|
|
|
total_size += 1 +
|
|
|
- ::google::protobuf::internal::WireFormatLite::Int32Size(
|
|
|
- this->terminal_id());
|
|
|
+ ::google::protobuf::internal::WireFormatLite::MessageSize(
|
|
|
+ *this->code_);
|
|
|
}
|
|
|
|
|
|
return total_size;
|
|
@@ -1023,15 +1056,15 @@ size_t Notify_response_msg::ByteSizeLong() const {
|
|
|
::google::protobuf::internal::WireFormatLite::MessageSize(
|
|
|
*this->base_info_);
|
|
|
|
|
|
- // required .message.Error_manager code = 4;
|
|
|
+ // required .message.Id_struct id_struct = 3;
|
|
|
total_size += 1 +
|
|
|
::google::protobuf::internal::WireFormatLite::MessageSize(
|
|
|
- *this->code_);
|
|
|
+ *this->id_struct_);
|
|
|
|
|
|
- // required int32 terminal_id = 3;
|
|
|
+ // required .message.Error_manager code = 4;
|
|
|
total_size += 1 +
|
|
|
- ::google::protobuf::internal::WireFormatLite::Int32Size(
|
|
|
- this->terminal_id());
|
|
|
+ ::google::protobuf::internal::WireFormatLite::MessageSize(
|
|
|
+ *this->code_);
|
|
|
|
|
|
} else {
|
|
|
total_size += RequiredFieldsByteSizeFallback();
|
|
@@ -1075,12 +1108,11 @@ void Notify_response_msg::MergeFrom(const Notify_response_msg& from) {
|
|
|
mutable_base_info()->::message::Base_info::MergeFrom(from.base_info());
|
|
|
}
|
|
|
if (cached_has_bits & 0x00000004u) {
|
|
|
- mutable_code()->::message::Error_manager::MergeFrom(from.code());
|
|
|
+ mutable_id_struct()->::message::Id_struct::MergeFrom(from.id_struct());
|
|
|
}
|
|
|
if (cached_has_bits & 0x00000008u) {
|
|
|
- terminal_id_ = from.terminal_id_;
|
|
|
+ mutable_code()->::message::Error_manager::MergeFrom(from.code());
|
|
|
}
|
|
|
- _has_bits_[0] |= cached_has_bits;
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -1117,8 +1149,8 @@ void Notify_response_msg::InternalSwap(Notify_response_msg* other) {
|
|
|
using std::swap;
|
|
|
command_key_.Swap(&other->command_key_);
|
|
|
swap(base_info_, other->base_info_);
|
|
|
+ swap(id_struct_, other->id_struct_);
|
|
|
swap(code_, other->code_);
|
|
|
- swap(terminal_id_, other->terminal_id_);
|
|
|
swap(_has_bits_[0], other->_has_bits_[0]);
|
|
|
_internal_metadata_.Swap(&other->_internal_metadata_);
|
|
|
swap(_cached_size_, other->_cached_size_);
|
|
@@ -1135,6 +1167,8 @@ void Notify_response_msg::InternalSwap(Notify_response_msg* other) {
|
|
|
void Notify_status_msg::InitAsDefaultInstance() {
|
|
|
::message::_Notify_status_msg_default_instance_._instance.get_mutable()->base_info_ = const_cast< ::message::Base_info*>(
|
|
|
::message::Base_info::internal_default_instance());
|
|
|
+ ::message::_Notify_status_msg_default_instance_._instance.get_mutable()->id_struct_ = const_cast< ::message::Id_struct*>(
|
|
|
+ ::message::Id_struct::internal_default_instance());
|
|
|
::message::_Notify_status_msg_default_instance_._instance.get_mutable()->error_manager_ = const_cast< ::message::Error_manager*>(
|
|
|
::message::Error_manager::internal_default_instance());
|
|
|
::message::_Notify_status_msg_default_instance_._instance.get_mutable()->singlechipdata_ = const_cast< ::message::Singlechip_data*>(
|
|
@@ -1144,6 +1178,10 @@ void Notify_status_msg::clear_base_info() {
|
|
|
if (base_info_ != NULL) base_info_->Clear();
|
|
|
clear_has_base_info();
|
|
|
}
|
|
|
+void Notify_status_msg::clear_id_struct() {
|
|
|
+ if (id_struct_ != NULL) id_struct_->Clear();
|
|
|
+ clear_has_id_struct();
|
|
|
+}
|
|
|
void Notify_status_msg::clear_error_manager() {
|
|
|
if (error_manager_ != NULL) error_manager_->Clear();
|
|
|
clear_has_error_manager();
|
|
@@ -1154,7 +1192,7 @@ void Notify_status_msg::clear_singlechipdata() {
|
|
|
}
|
|
|
#if !defined(_MSC_VER) || _MSC_VER >= 1900
|
|
|
const int Notify_status_msg::kBaseInfoFieldNumber;
|
|
|
-const int Notify_status_msg::kTerminalIdFieldNumber;
|
|
|
+const int Notify_status_msg::kIdStructFieldNumber;
|
|
|
const int Notify_status_msg::kErrorManagerFieldNumber;
|
|
|
const int Notify_status_msg::kSinglechipDataFieldNumber;
|
|
|
const int Notify_status_msg::kSinglechipValidityFieldNumber;
|
|
@@ -1179,6 +1217,11 @@ Notify_status_msg::Notify_status_msg(const Notify_status_msg& from)
|
|
|
} else {
|
|
|
base_info_ = NULL;
|
|
|
}
|
|
|
+ if (from.has_id_struct()) {
|
|
|
+ id_struct_ = new ::message::Id_struct(*from.id_struct_);
|
|
|
+ } else {
|
|
|
+ id_struct_ = NULL;
|
|
|
+ }
|
|
|
if (from.has_error_manager()) {
|
|
|
error_manager_ = new ::message::Error_manager(*from.error_manager_);
|
|
|
} else {
|
|
@@ -1189,9 +1232,7 @@ Notify_status_msg::Notify_status_msg(const Notify_status_msg& from)
|
|
|
} else {
|
|
|
singlechipdata_ = NULL;
|
|
|
}
|
|
|
- ::memcpy(&terminal_id_, &from.terminal_id_,
|
|
|
- static_cast<size_t>(reinterpret_cast<char*>(&singlechip_validity_) -
|
|
|
- reinterpret_cast<char*>(&terminal_id_)) + sizeof(singlechip_validity_));
|
|
|
+ singlechip_validity_ = from.singlechip_validity_;
|
|
|
// @@protoc_insertion_point(copy_constructor:message.Notify_status_msg)
|
|
|
}
|
|
|
|
|
@@ -1209,6 +1250,7 @@ Notify_status_msg::~Notify_status_msg() {
|
|
|
|
|
|
void Notify_status_msg::SharedDtor() {
|
|
|
if (this != internal_default_instance()) delete base_info_;
|
|
|
+ if (this != internal_default_instance()) delete id_struct_;
|
|
|
if (this != internal_default_instance()) delete error_manager_;
|
|
|
if (this != internal_default_instance()) delete singlechipdata_;
|
|
|
}
|
|
@@ -1243,25 +1285,25 @@ void Notify_status_msg::Clear() {
|
|
|
(void) cached_has_bits;
|
|
|
|
|
|
cached_has_bits = _has_bits_[0];
|
|
|
- if (cached_has_bits & 7u) {
|
|
|
+ if (cached_has_bits & 15u) {
|
|
|
if (cached_has_bits & 0x00000001u) {
|
|
|
GOOGLE_DCHECK(base_info_ != NULL);
|
|
|
base_info_->Clear();
|
|
|
}
|
|
|
if (cached_has_bits & 0x00000002u) {
|
|
|
+ GOOGLE_DCHECK(id_struct_ != NULL);
|
|
|
+ id_struct_->Clear();
|
|
|
+ }
|
|
|
+ if (cached_has_bits & 0x00000004u) {
|
|
|
GOOGLE_DCHECK(error_manager_ != NULL);
|
|
|
error_manager_->Clear();
|
|
|
}
|
|
|
- if (cached_has_bits & 0x00000004u) {
|
|
|
+ if (cached_has_bits & 0x00000008u) {
|
|
|
GOOGLE_DCHECK(singlechipdata_ != NULL);
|
|
|
singlechipdata_->Clear();
|
|
|
}
|
|
|
}
|
|
|
- if (cached_has_bits & 24u) {
|
|
|
- ::memset(&terminal_id_, 0, static_cast<size_t>(
|
|
|
- reinterpret_cast<char*>(&singlechip_validity_) -
|
|
|
- reinterpret_cast<char*>(&terminal_id_)) + sizeof(singlechip_validity_));
|
|
|
- }
|
|
|
+ singlechip_validity_ = false;
|
|
|
_has_bits_.Clear();
|
|
|
_internal_metadata_.Clear();
|
|
|
}
|
|
@@ -1288,14 +1330,12 @@ bool Notify_status_msg::MergePartialFromCodedStream(
|
|
|
break;
|
|
|
}
|
|
|
|
|
|
- // required int32 terminal_id = 2;
|
|
|
+ // required .message.Id_struct id_struct = 2;
|
|
|
case 2: {
|
|
|
if (static_cast< ::google::protobuf::uint8>(tag) ==
|
|
|
- static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) {
|
|
|
- set_has_terminal_id();
|
|
|
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
|
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
|
|
|
- input, &terminal_id_)));
|
|
|
+ static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
|
|
|
+ DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
|
|
|
+ input, mutable_id_struct()));
|
|
|
} else {
|
|
|
goto handle_unusual;
|
|
|
}
|
|
@@ -1373,19 +1413,20 @@ void Notify_status_msg::SerializeWithCachedSizes(
|
|
|
1, *this->base_info_, output);
|
|
|
}
|
|
|
|
|
|
- // required int32 terminal_id = 2;
|
|
|
- if (cached_has_bits & 0x00000008u) {
|
|
|
- ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->terminal_id(), output);
|
|
|
+ // required .message.Id_struct id_struct = 2;
|
|
|
+ if (cached_has_bits & 0x00000002u) {
|
|
|
+ ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
|
|
|
+ 2, *this->id_struct_, output);
|
|
|
}
|
|
|
|
|
|
// required .message.Error_manager error_manager = 3;
|
|
|
- if (cached_has_bits & 0x00000002u) {
|
|
|
+ if (cached_has_bits & 0x00000004u) {
|
|
|
::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
|
|
|
3, *this->error_manager_, output);
|
|
|
}
|
|
|
|
|
|
// optional .message.Singlechip_data singlechipData = 4;
|
|
|
- if (cached_has_bits & 0x00000004u) {
|
|
|
+ if (cached_has_bits & 0x00000008u) {
|
|
|
::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
|
|
|
4, *this->singlechipdata_, output);
|
|
|
}
|
|
@@ -1417,20 +1458,22 @@ void Notify_status_msg::SerializeWithCachedSizes(
|
|
|
1, *this->base_info_, deterministic, target);
|
|
|
}
|
|
|
|
|
|
- // required int32 terminal_id = 2;
|
|
|
- if (cached_has_bits & 0x00000008u) {
|
|
|
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->terminal_id(), target);
|
|
|
+ // required .message.Id_struct id_struct = 2;
|
|
|
+ if (cached_has_bits & 0x00000002u) {
|
|
|
+ target = ::google::protobuf::internal::WireFormatLite::
|
|
|
+ InternalWriteMessageToArray(
|
|
|
+ 2, *this->id_struct_, deterministic, target);
|
|
|
}
|
|
|
|
|
|
// required .message.Error_manager error_manager = 3;
|
|
|
- if (cached_has_bits & 0x00000002u) {
|
|
|
+ if (cached_has_bits & 0x00000004u) {
|
|
|
target = ::google::protobuf::internal::WireFormatLite::
|
|
|
InternalWriteMessageToArray(
|
|
|
3, *this->error_manager_, deterministic, target);
|
|
|
}
|
|
|
|
|
|
// optional .message.Singlechip_data singlechipData = 4;
|
|
|
- if (cached_has_bits & 0x00000004u) {
|
|
|
+ if (cached_has_bits & 0x00000008u) {
|
|
|
target = ::google::protobuf::internal::WireFormatLite::
|
|
|
InternalWriteMessageToArray(
|
|
|
4, *this->singlechipdata_, deterministic, target);
|
|
@@ -1460,18 +1503,18 @@ size_t Notify_status_msg::RequiredFieldsByteSizeFallback() const {
|
|
|
*this->base_info_);
|
|
|
}
|
|
|
|
|
|
- if (has_error_manager()) {
|
|
|
- // required .message.Error_manager error_manager = 3;
|
|
|
+ if (has_id_struct()) {
|
|
|
+ // required .message.Id_struct id_struct = 2;
|
|
|
total_size += 1 +
|
|
|
::google::protobuf::internal::WireFormatLite::MessageSize(
|
|
|
- *this->error_manager_);
|
|
|
+ *this->id_struct_);
|
|
|
}
|
|
|
|
|
|
- if (has_terminal_id()) {
|
|
|
- // required int32 terminal_id = 2;
|
|
|
+ if (has_error_manager()) {
|
|
|
+ // required .message.Error_manager error_manager = 3;
|
|
|
total_size += 1 +
|
|
|
- ::google::protobuf::internal::WireFormatLite::Int32Size(
|
|
|
- this->terminal_id());
|
|
|
+ ::google::protobuf::internal::WireFormatLite::MessageSize(
|
|
|
+ *this->error_manager_);
|
|
|
}
|
|
|
|
|
|
return total_size;
|
|
@@ -1485,37 +1528,39 @@ size_t Notify_status_msg::ByteSizeLong() const {
|
|
|
::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
|
|
|
_internal_metadata_.unknown_fields());
|
|
|
}
|
|
|
- if (((_has_bits_[0] & 0x0000000b) ^ 0x0000000b) == 0) { // All required fields are present.
|
|
|
+ if (((_has_bits_[0] & 0x00000007) ^ 0x00000007) == 0) { // All required fields are present.
|
|
|
// required .message.Base_info base_info = 1;
|
|
|
total_size += 1 +
|
|
|
::google::protobuf::internal::WireFormatLite::MessageSize(
|
|
|
*this->base_info_);
|
|
|
|
|
|
- // required .message.Error_manager error_manager = 3;
|
|
|
+ // required .message.Id_struct id_struct = 2;
|
|
|
total_size += 1 +
|
|
|
::google::protobuf::internal::WireFormatLite::MessageSize(
|
|
|
- *this->error_manager_);
|
|
|
+ *this->id_struct_);
|
|
|
|
|
|
- // required int32 terminal_id = 2;
|
|
|
+ // required .message.Error_manager error_manager = 3;
|
|
|
total_size += 1 +
|
|
|
- ::google::protobuf::internal::WireFormatLite::Int32Size(
|
|
|
- this->terminal_id());
|
|
|
+ ::google::protobuf::internal::WireFormatLite::MessageSize(
|
|
|
+ *this->error_manager_);
|
|
|
|
|
|
} else {
|
|
|
total_size += RequiredFieldsByteSizeFallback();
|
|
|
}
|
|
|
- // optional .message.Singlechip_data singlechipData = 4;
|
|
|
- if (has_singlechipdata()) {
|
|
|
- total_size += 1 +
|
|
|
- ::google::protobuf::internal::WireFormatLite::MessageSize(
|
|
|
- *this->singlechipdata_);
|
|
|
- }
|
|
|
+ if (_has_bits_[0 / 32] & 24u) {
|
|
|
+ // optional .message.Singlechip_data singlechipData = 4;
|
|
|
+ if (has_singlechipdata()) {
|
|
|
+ total_size += 1 +
|
|
|
+ ::google::protobuf::internal::WireFormatLite::MessageSize(
|
|
|
+ *this->singlechipdata_);
|
|
|
+ }
|
|
|
|
|
|
- // optional bool singlechip_validity = 5;
|
|
|
- if (has_singlechip_validity()) {
|
|
|
- total_size += 1 + 1;
|
|
|
- }
|
|
|
+ // optional bool singlechip_validity = 5;
|
|
|
+ if (has_singlechip_validity()) {
|
|
|
+ total_size += 1 + 1;
|
|
|
+ }
|
|
|
|
|
|
+ }
|
|
|
int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
|
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
|
|
|
_cached_size_ = cached_size;
|
|
@@ -1551,13 +1596,13 @@ void Notify_status_msg::MergeFrom(const Notify_status_msg& from) {
|
|
|
mutable_base_info()->::message::Base_info::MergeFrom(from.base_info());
|
|
|
}
|
|
|
if (cached_has_bits & 0x00000002u) {
|
|
|
- mutable_error_manager()->::message::Error_manager::MergeFrom(from.error_manager());
|
|
|
+ mutable_id_struct()->::message::Id_struct::MergeFrom(from.id_struct());
|
|
|
}
|
|
|
if (cached_has_bits & 0x00000004u) {
|
|
|
- mutable_singlechipdata()->::message::Singlechip_data::MergeFrom(from.singlechipdata());
|
|
|
+ mutable_error_manager()->::message::Error_manager::MergeFrom(from.error_manager());
|
|
|
}
|
|
|
if (cached_has_bits & 0x00000008u) {
|
|
|
- terminal_id_ = from.terminal_id_;
|
|
|
+ mutable_singlechipdata()->::message::Singlechip_data::MergeFrom(from.singlechipdata());
|
|
|
}
|
|
|
if (cached_has_bits & 0x00000010u) {
|
|
|
singlechip_validity_ = from.singlechip_validity_;
|
|
@@ -1581,7 +1626,7 @@ void Notify_status_msg::CopyFrom(const Notify_status_msg& from) {
|
|
|
}
|
|
|
|
|
|
bool Notify_status_msg::IsInitialized() const {
|
|
|
- if ((_has_bits_[0] & 0x0000000b) != 0x0000000b) return false;
|
|
|
+ if ((_has_bits_[0] & 0x00000007) != 0x00000007) return false;
|
|
|
if (has_base_info()) {
|
|
|
if (!this->base_info_->IsInitialized()) return false;
|
|
|
}
|
|
@@ -1598,9 +1643,9 @@ void Notify_status_msg::Swap(Notify_status_msg* other) {
|
|
|
void Notify_status_msg::InternalSwap(Notify_status_msg* other) {
|
|
|
using std::swap;
|
|
|
swap(base_info_, other->base_info_);
|
|
|
+ swap(id_struct_, other->id_struct_);
|
|
|
swap(error_manager_, other->error_manager_);
|
|
|
swap(singlechipdata_, other->singlechipdata_);
|
|
|
- swap(terminal_id_, other->terminal_id_);
|
|
|
swap(singlechip_validity_, other->singlechip_validity_);
|
|
|
swap(_has_bits_[0], other->_has_bits_[0]);
|
|
|
_internal_metadata_.Swap(&other->_internal_metadata_);
|