|
@@ -102,6 +102,25 @@ inline bool Hardware_statu_Parse(
|
|
|
return ::google::protobuf::internal::ParseNamedEnum<Hardware_statu>(
|
|
|
Hardware_statu_descriptor(), name, value);
|
|
|
}
|
|
|
+enum Action_type {
|
|
|
+ ePark = 0,
|
|
|
+ ePick = 1
|
|
|
+};
|
|
|
+bool Action_type_IsValid(int value);
|
|
|
+const Action_type Action_type_MIN = ePark;
|
|
|
+const Action_type Action_type_MAX = ePick;
|
|
|
+const int Action_type_ARRAYSIZE = Action_type_MAX + 1;
|
|
|
+
|
|
|
+const ::google::protobuf::EnumDescriptor* Action_type_descriptor();
|
|
|
+inline const ::std::string& Action_type_Name(Action_type value) {
|
|
|
+ return ::google::protobuf::internal::NameOfEnum(
|
|
|
+ Action_type_descriptor(), value);
|
|
|
+}
|
|
|
+inline bool Action_type_Parse(
|
|
|
+ const ::std::string& name, Action_type* value) {
|
|
|
+ return ::google::protobuf::internal::ParseNamedEnum<Action_type>(
|
|
|
+ Action_type_descriptor(), name, value);
|
|
|
+}
|
|
|
// ===================================================================
|
|
|
|
|
|
class Position : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Position) */ {
|
|
@@ -326,31 +345,22 @@ class Carrier_status : public ::google::protobuf::Message /* @@protoc_insertion_
|
|
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
|
|
- // optional string error_destination = 3;
|
|
|
- bool has_error_destination() const;
|
|
|
- void clear_error_destination();
|
|
|
- static const int kErrorDestinationFieldNumber = 3;
|
|
|
- const ::std::string& error_destination() const;
|
|
|
- void set_error_destination(const ::std::string& value);
|
|
|
+ // optional string error_description = 3;
|
|
|
+ bool has_error_description() const;
|
|
|
+ void clear_error_description();
|
|
|
+ static const int kErrorDescriptionFieldNumber = 3;
|
|
|
+ const ::std::string& error_description() const;
|
|
|
+ void set_error_description(const ::std::string& value);
|
|
|
#if LANG_CXX11
|
|
|
- void set_error_destination(::std::string&& value);
|
|
|
+ void set_error_description(::std::string&& value);
|
|
|
#endif
|
|
|
- void set_error_destination(const char* value);
|
|
|
- void set_error_destination(const char* value, size_t size);
|
|
|
- ::std::string* mutable_error_destination();
|
|
|
- ::std::string* release_error_destination();
|
|
|
- void set_allocated_error_destination(::std::string* error_destination);
|
|
|
-
|
|
|
- // optional .message.Command_message cmd_msg = 2;
|
|
|
- bool has_cmd_msg() const;
|
|
|
- void clear_cmd_msg();
|
|
|
- static const int kCmdMsgFieldNumber = 2;
|
|
|
- const ::message::Command_message& cmd_msg() const;
|
|
|
- ::message::Command_message* release_cmd_msg();
|
|
|
- ::message::Command_message* mutable_cmd_msg();
|
|
|
- void set_allocated_cmd_msg(::message::Command_message* cmd_msg);
|
|
|
-
|
|
|
- // optional .message.Position position = 4;
|
|
|
+ void set_error_description(const char* value);
|
|
|
+ void set_error_description(const char* value, size_t size);
|
|
|
+ ::std::string* mutable_error_description();
|
|
|
+ ::std::string* release_error_description();
|
|
|
+ void set_allocated_error_description(::std::string* error_description);
|
|
|
+
|
|
|
+ // required .message.Position position = 4;
|
|
|
bool has_position() const;
|
|
|
void clear_position();
|
|
|
static const int kPositionFieldNumber = 4;
|
|
@@ -366,6 +376,13 @@ class Carrier_status : public ::google::protobuf::Message /* @@protoc_insertion_
|
|
|
::message::Hardware_statu statu() const;
|
|
|
void set_statu(::message::Hardware_statu value);
|
|
|
|
|
|
+ // optional int32 command_id = 2;
|
|
|
+ bool has_command_id() const;
|
|
|
+ void clear_command_id();
|
|
|
+ static const int kCommandIdFieldNumber = 2;
|
|
|
+ ::google::protobuf::int32 command_id() const;
|
|
|
+ void set_command_id(::google::protobuf::int32 value);
|
|
|
+
|
|
|
// required bool empty = 5;
|
|
|
bool has_empty() const;
|
|
|
void clear_empty();
|
|
@@ -377,10 +394,10 @@ class Carrier_status : public ::google::protobuf::Message /* @@protoc_insertion_
|
|
|
private:
|
|
|
void set_has_statu();
|
|
|
void clear_has_statu();
|
|
|
- void set_has_cmd_msg();
|
|
|
- void clear_has_cmd_msg();
|
|
|
- void set_has_error_destination();
|
|
|
- void clear_has_error_destination();
|
|
|
+ void set_has_command_id();
|
|
|
+ void clear_has_command_id();
|
|
|
+ void set_has_error_description();
|
|
|
+ void clear_has_error_description();
|
|
|
void set_has_position();
|
|
|
void clear_has_position();
|
|
|
void set_has_empty();
|
|
@@ -392,10 +409,10 @@ class Carrier_status : public ::google::protobuf::Message /* @@protoc_insertion_
|
|
|
::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
|
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
|
mutable int _cached_size_;
|
|
|
- ::google::protobuf::internal::ArenaStringPtr error_destination_;
|
|
|
- ::message::Command_message* cmd_msg_;
|
|
|
+ ::google::protobuf::internal::ArenaStringPtr error_description_;
|
|
|
::message::Position* position_;
|
|
|
int statu_;
|
|
|
+ ::google::protobuf::int32 command_id_;
|
|
|
bool empty_;
|
|
|
friend struct ::protobuf_hardware_5fmessage_2eproto::TableStruct;
|
|
|
friend void ::protobuf_hardware_5fmessage_2eproto::InitDefaultsCarrier_statusImpl();
|
|
@@ -640,37 +657,66 @@ class Execute_request_msg : public ::google::protobuf::Message /* @@protoc_inser
|
|
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
|
|
- // required .message.Command_message cmd_msg = 2;
|
|
|
- bool has_cmd_msg() const;
|
|
|
- void clear_cmd_msg();
|
|
|
- static const int kCmdMsgFieldNumber = 2;
|
|
|
- const ::message::Command_message& cmd_msg() const;
|
|
|
- ::message::Command_message* release_cmd_msg();
|
|
|
- ::message::Command_message* mutable_cmd_msg();
|
|
|
- void set_allocated_cmd_msg(::message::Command_message* cmd_msg);
|
|
|
-
|
|
|
- // required .message.Message_type msg_type = 1;
|
|
|
- bool has_msg_type() const;
|
|
|
- void clear_msg_type();
|
|
|
- static const int kMsgTypeFieldNumber = 1;
|
|
|
- ::message::Message_type msg_type() const;
|
|
|
- void set_msg_type(::message::Message_type value);
|
|
|
-
|
|
|
- // optional int32 time_out = 3 [default = 200000];
|
|
|
- bool has_time_out() const;
|
|
|
- void clear_time_out();
|
|
|
- static const int kTimeOutFieldNumber = 3;
|
|
|
- ::google::protobuf::int32 time_out() const;
|
|
|
- void set_time_out(::google::protobuf::int32 value);
|
|
|
+ // required .message.Base_msg msg_base = 1;
|
|
|
+ bool has_msg_base() const;
|
|
|
+ void clear_msg_base();
|
|
|
+ static const int kMsgBaseFieldNumber = 1;
|
|
|
+ const ::message::Base_msg& msg_base() const;
|
|
|
+ ::message::Base_msg* release_msg_base();
|
|
|
+ ::message::Base_msg* mutable_msg_base();
|
|
|
+ void set_allocated_msg_base(::message::Base_msg* msg_base);
|
|
|
+
|
|
|
+ // required .message.Locate_information locate_information = 6;
|
|
|
+ bool has_locate_information() const;
|
|
|
+ void clear_locate_information();
|
|
|
+ static const int kLocateInformationFieldNumber = 6;
|
|
|
+ const ::message::Locate_information& locate_information() const;
|
|
|
+ ::message::Locate_information* release_locate_information();
|
|
|
+ ::message::Locate_information* mutable_locate_information();
|
|
|
+ void set_allocated_locate_information(::message::Locate_information* locate_information);
|
|
|
+
|
|
|
+ // required int32 command_id = 2;
|
|
|
+ bool has_command_id() const;
|
|
|
+ void clear_command_id();
|
|
|
+ static const int kCommandIdFieldNumber = 2;
|
|
|
+ ::google::protobuf::int32 command_id() const;
|
|
|
+ void set_command_id(::google::protobuf::int32 value);
|
|
|
+
|
|
|
+ // required .message.Action_type action_type = 3;
|
|
|
+ bool has_action_type() const;
|
|
|
+ void clear_action_type();
|
|
|
+ static const int kActionTypeFieldNumber = 3;
|
|
|
+ ::message::Action_type action_type() const;
|
|
|
+ void set_action_type(::message::Action_type value);
|
|
|
+
|
|
|
+ // required int32 from_id = 4;
|
|
|
+ bool has_from_id() const;
|
|
|
+ void clear_from_id();
|
|
|
+ static const int kFromIdFieldNumber = 4;
|
|
|
+ ::google::protobuf::int32 from_id() const;
|
|
|
+ void set_from_id(::google::protobuf::int32 value);
|
|
|
+
|
|
|
+ // required int32 destination = 5;
|
|
|
+ bool has_destination() const;
|
|
|
+ void clear_destination();
|
|
|
+ static const int kDestinationFieldNumber = 5;
|
|
|
+ ::google::protobuf::int32 destination() const;
|
|
|
+ void set_destination(::google::protobuf::int32 value);
|
|
|
|
|
|
// @@protoc_insertion_point(class_scope:message.Execute_request_msg)
|
|
|
private:
|
|
|
- void set_has_msg_type();
|
|
|
- void clear_has_msg_type();
|
|
|
- void set_has_cmd_msg();
|
|
|
- void clear_has_cmd_msg();
|
|
|
- void set_has_time_out();
|
|
|
- void clear_has_time_out();
|
|
|
+ void set_has_msg_base();
|
|
|
+ void clear_has_msg_base();
|
|
|
+ void set_has_command_id();
|
|
|
+ void clear_has_command_id();
|
|
|
+ void set_has_action_type();
|
|
|
+ void clear_has_action_type();
|
|
|
+ void set_has_from_id();
|
|
|
+ void clear_has_from_id();
|
|
|
+ void set_has_destination();
|
|
|
+ void clear_has_destination();
|
|
|
+ void set_has_locate_information();
|
|
|
+ void clear_has_locate_information();
|
|
|
|
|
|
// helper for ByteSizeLong()
|
|
|
size_t RequiredFieldsByteSizeFallback() const;
|
|
@@ -678,9 +724,12 @@ class Execute_request_msg : public ::google::protobuf::Message /* @@protoc_inser
|
|
|
::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
|
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
|
mutable int _cached_size_;
|
|
|
- ::message::Command_message* cmd_msg_;
|
|
|
- int msg_type_;
|
|
|
- ::google::protobuf::int32 time_out_;
|
|
|
+ ::message::Base_msg* msg_base_;
|
|
|
+ ::message::Locate_information* locate_information_;
|
|
|
+ ::google::protobuf::int32 command_id_;
|
|
|
+ int action_type_;
|
|
|
+ ::google::protobuf::int32 from_id_;
|
|
|
+ ::google::protobuf::int32 destination_;
|
|
|
friend struct ::protobuf_hardware_5fmessage_2eproto::TableStruct;
|
|
|
friend void ::protobuf_hardware_5fmessage_2eproto::InitDefaultsExecute_request_msgImpl();
|
|
|
};
|
|
@@ -790,14 +839,21 @@ class Execute_response_msg : public ::google::protobuf::Message /* @@protoc_inse
|
|
|
::std::string* release_error_description();
|
|
|
void set_allocated_error_description(::std::string* error_description);
|
|
|
|
|
|
- // required .message.Command_message cmd_msg = 2;
|
|
|
- bool has_cmd_msg() const;
|
|
|
- void clear_cmd_msg();
|
|
|
- static const int kCmdMsgFieldNumber = 2;
|
|
|
- const ::message::Command_message& cmd_msg() const;
|
|
|
- ::message::Command_message* release_cmd_msg();
|
|
|
- ::message::Command_message* mutable_cmd_msg();
|
|
|
- void set_allocated_cmd_msg(::message::Command_message* cmd_msg);
|
|
|
+ // required .message.Base_msg msg_base = 1;
|
|
|
+ bool has_msg_base() const;
|
|
|
+ void clear_msg_base();
|
|
|
+ static const int kMsgBaseFieldNumber = 1;
|
|
|
+ const ::message::Base_msg& msg_base() const;
|
|
|
+ ::message::Base_msg* release_msg_base();
|
|
|
+ ::message::Base_msg* mutable_msg_base();
|
|
|
+ void set_allocated_msg_base(::message::Base_msg* msg_base);
|
|
|
+
|
|
|
+ // required int32 command_id = 2;
|
|
|
+ bool has_command_id() const;
|
|
|
+ void clear_command_id();
|
|
|
+ static const int kCommandIdFieldNumber = 2;
|
|
|
+ ::google::protobuf::int32 command_id() const;
|
|
|
+ void set_command_id(::google::protobuf::int32 value);
|
|
|
|
|
|
// required int32 error_code = 3;
|
|
|
bool has_error_code() const;
|
|
@@ -806,19 +862,12 @@ class Execute_response_msg : public ::google::protobuf::Message /* @@protoc_inse
|
|
|
::google::protobuf::int32 error_code() const;
|
|
|
void set_error_code(::google::protobuf::int32 value);
|
|
|
|
|
|
- // required .message.Message_type msg_type = 1;
|
|
|
- bool has_msg_type() const;
|
|
|
- void clear_msg_type();
|
|
|
- static const int kMsgTypeFieldNumber = 1;
|
|
|
- ::message::Message_type msg_type() const;
|
|
|
- void set_msg_type(::message::Message_type value);
|
|
|
-
|
|
|
// @@protoc_insertion_point(class_scope:message.Execute_response_msg)
|
|
|
private:
|
|
|
- void set_has_msg_type();
|
|
|
- void clear_has_msg_type();
|
|
|
- void set_has_cmd_msg();
|
|
|
- void clear_has_cmd_msg();
|
|
|
+ void set_has_msg_base();
|
|
|
+ void clear_has_msg_base();
|
|
|
+ void set_has_command_id();
|
|
|
+ void clear_has_command_id();
|
|
|
void set_has_error_code();
|
|
|
void clear_has_error_code();
|
|
|
void set_has_error_description();
|
|
@@ -831,9 +880,9 @@ class Execute_response_msg : public ::google::protobuf::Message /* @@protoc_inse
|
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
|
mutable int _cached_size_;
|
|
|
::google::protobuf::internal::ArenaStringPtr error_description_;
|
|
|
- ::message::Command_message* cmd_msg_;
|
|
|
+ ::message::Base_msg* msg_base_;
|
|
|
+ ::google::protobuf::int32 command_id_;
|
|
|
::google::protobuf::int32 error_code_;
|
|
|
- int msg_type_;
|
|
|
friend struct ::protobuf_hardware_5fmessage_2eproto::TableStruct;
|
|
|
friend void ::protobuf_hardware_5fmessage_2eproto::InitDefaultsExecute_response_msgImpl();
|
|
|
};
|
|
@@ -926,13 +975,13 @@ inline void Position::set_z(float value) {
|
|
|
|
|
|
// required .message.Hardware_statu statu = 1;
|
|
|
inline bool Carrier_status::has_statu() const {
|
|
|
- return (_has_bits_[0] & 0x00000008u) != 0;
|
|
|
+ return (_has_bits_[0] & 0x00000004u) != 0;
|
|
|
}
|
|
|
inline void Carrier_status::set_has_statu() {
|
|
|
- _has_bits_[0] |= 0x00000008u;
|
|
|
+ _has_bits_[0] |= 0x00000004u;
|
|
|
}
|
|
|
inline void Carrier_status::clear_has_statu() {
|
|
|
- _has_bits_[0] &= ~0x00000008u;
|
|
|
+ _has_bits_[0] &= ~0x00000004u;
|
|
|
}
|
|
|
inline void Carrier_status::clear_statu() {
|
|
|
statu_ = 0;
|
|
@@ -949,128 +998,102 @@ inline void Carrier_status::set_statu(::message::Hardware_statu value) {
|
|
|
// @@protoc_insertion_point(field_set:message.Carrier_status.statu)
|
|
|
}
|
|
|
|
|
|
-// optional .message.Command_message cmd_msg = 2;
|
|
|
-inline bool Carrier_status::has_cmd_msg() const {
|
|
|
- return (_has_bits_[0] & 0x00000002u) != 0;
|
|
|
+// optional int32 command_id = 2;
|
|
|
+inline bool Carrier_status::has_command_id() const {
|
|
|
+ return (_has_bits_[0] & 0x00000008u) != 0;
|
|
|
}
|
|
|
-inline void Carrier_status::set_has_cmd_msg() {
|
|
|
- _has_bits_[0] |= 0x00000002u;
|
|
|
+inline void Carrier_status::set_has_command_id() {
|
|
|
+ _has_bits_[0] |= 0x00000008u;
|
|
|
}
|
|
|
-inline void Carrier_status::clear_has_cmd_msg() {
|
|
|
- _has_bits_[0] &= ~0x00000002u;
|
|
|
+inline void Carrier_status::clear_has_command_id() {
|
|
|
+ _has_bits_[0] &= ~0x00000008u;
|
|
|
}
|
|
|
-inline const ::message::Command_message& Carrier_status::cmd_msg() const {
|
|
|
- const ::message::Command_message* p = cmd_msg_;
|
|
|
- // @@protoc_insertion_point(field_get:message.Carrier_status.cmd_msg)
|
|
|
- return p != NULL ? *p : *reinterpret_cast<const ::message::Command_message*>(
|
|
|
- &::message::_Command_message_default_instance_);
|
|
|
-}
|
|
|
-inline ::message::Command_message* Carrier_status::release_cmd_msg() {
|
|
|
- // @@protoc_insertion_point(field_release:message.Carrier_status.cmd_msg)
|
|
|
- clear_has_cmd_msg();
|
|
|
- ::message::Command_message* temp = cmd_msg_;
|
|
|
- cmd_msg_ = NULL;
|
|
|
- return temp;
|
|
|
+inline void Carrier_status::clear_command_id() {
|
|
|
+ command_id_ = 0;
|
|
|
+ clear_has_command_id();
|
|
|
}
|
|
|
-inline ::message::Command_message* Carrier_status::mutable_cmd_msg() {
|
|
|
- set_has_cmd_msg();
|
|
|
- if (cmd_msg_ == NULL) {
|
|
|
- cmd_msg_ = new ::message::Command_message;
|
|
|
- }
|
|
|
- // @@protoc_insertion_point(field_mutable:message.Carrier_status.cmd_msg)
|
|
|
- return cmd_msg_;
|
|
|
+inline ::google::protobuf::int32 Carrier_status::command_id() const {
|
|
|
+ // @@protoc_insertion_point(field_get:message.Carrier_status.command_id)
|
|
|
+ return command_id_;
|
|
|
}
|
|
|
-inline void Carrier_status::set_allocated_cmd_msg(::message::Command_message* cmd_msg) {
|
|
|
- ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
|
|
|
- if (message_arena == NULL) {
|
|
|
- delete reinterpret_cast< ::google::protobuf::MessageLite*>(cmd_msg_);
|
|
|
- }
|
|
|
- if (cmd_msg) {
|
|
|
- ::google::protobuf::Arena* submessage_arena = NULL;
|
|
|
- if (message_arena != submessage_arena) {
|
|
|
- cmd_msg = ::google::protobuf::internal::GetOwnedMessage(
|
|
|
- message_arena, cmd_msg, submessage_arena);
|
|
|
- }
|
|
|
- set_has_cmd_msg();
|
|
|
- } else {
|
|
|
- clear_has_cmd_msg();
|
|
|
- }
|
|
|
- cmd_msg_ = cmd_msg;
|
|
|
- // @@protoc_insertion_point(field_set_allocated:message.Carrier_status.cmd_msg)
|
|
|
+inline void Carrier_status::set_command_id(::google::protobuf::int32 value) {
|
|
|
+ set_has_command_id();
|
|
|
+ command_id_ = value;
|
|
|
+ // @@protoc_insertion_point(field_set:message.Carrier_status.command_id)
|
|
|
}
|
|
|
|
|
|
-// optional string error_destination = 3;
|
|
|
-inline bool Carrier_status::has_error_destination() const {
|
|
|
+// optional string error_description = 3;
|
|
|
+inline bool Carrier_status::has_error_description() const {
|
|
|
return (_has_bits_[0] & 0x00000001u) != 0;
|
|
|
}
|
|
|
-inline void Carrier_status::set_has_error_destination() {
|
|
|
+inline void Carrier_status::set_has_error_description() {
|
|
|
_has_bits_[0] |= 0x00000001u;
|
|
|
}
|
|
|
-inline void Carrier_status::clear_has_error_destination() {
|
|
|
+inline void Carrier_status::clear_has_error_description() {
|
|
|
_has_bits_[0] &= ~0x00000001u;
|
|
|
}
|
|
|
-inline void Carrier_status::clear_error_destination() {
|
|
|
- error_destination_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
|
- clear_has_error_destination();
|
|
|
+inline void Carrier_status::clear_error_description() {
|
|
|
+ error_description_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
|
+ clear_has_error_description();
|
|
|
}
|
|
|
-inline const ::std::string& Carrier_status::error_destination() const {
|
|
|
- // @@protoc_insertion_point(field_get:message.Carrier_status.error_destination)
|
|
|
- return error_destination_.GetNoArena();
|
|
|
+inline const ::std::string& Carrier_status::error_description() const {
|
|
|
+ // @@protoc_insertion_point(field_get:message.Carrier_status.error_description)
|
|
|
+ return error_description_.GetNoArena();
|
|
|
}
|
|
|
-inline void Carrier_status::set_error_destination(const ::std::string& value) {
|
|
|
- set_has_error_destination();
|
|
|
- error_destination_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
|
|
|
- // @@protoc_insertion_point(field_set:message.Carrier_status.error_destination)
|
|
|
+inline void Carrier_status::set_error_description(const ::std::string& value) {
|
|
|
+ set_has_error_description();
|
|
|
+ error_description_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
|
|
|
+ // @@protoc_insertion_point(field_set:message.Carrier_status.error_description)
|
|
|
}
|
|
|
#if LANG_CXX11
|
|
|
-inline void Carrier_status::set_error_destination(::std::string&& value) {
|
|
|
- set_has_error_destination();
|
|
|
- error_destination_.SetNoArena(
|
|
|
+inline void Carrier_status::set_error_description(::std::string&& value) {
|
|
|
+ set_has_error_description();
|
|
|
+ error_description_.SetNoArena(
|
|
|
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
|
|
|
- // @@protoc_insertion_point(field_set_rvalue:message.Carrier_status.error_destination)
|
|
|
+ // @@protoc_insertion_point(field_set_rvalue:message.Carrier_status.error_description)
|
|
|
}
|
|
|
#endif
|
|
|
-inline void Carrier_status::set_error_destination(const char* value) {
|
|
|
+inline void Carrier_status::set_error_description(const char* value) {
|
|
|
GOOGLE_DCHECK(value != NULL);
|
|
|
- set_has_error_destination();
|
|
|
- error_destination_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
|
|
|
- // @@protoc_insertion_point(field_set_char:message.Carrier_status.error_destination)
|
|
|
+ set_has_error_description();
|
|
|
+ error_description_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
|
|
|
+ // @@protoc_insertion_point(field_set_char:message.Carrier_status.error_description)
|
|
|
}
|
|
|
-inline void Carrier_status::set_error_destination(const char* value, size_t size) {
|
|
|
- set_has_error_destination();
|
|
|
- error_destination_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
|
|
+inline void Carrier_status::set_error_description(const char* value, size_t size) {
|
|
|
+ set_has_error_description();
|
|
|
+ error_description_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
|
|
::std::string(reinterpret_cast<const char*>(value), size));
|
|
|
- // @@protoc_insertion_point(field_set_pointer:message.Carrier_status.error_destination)
|
|
|
+ // @@protoc_insertion_point(field_set_pointer:message.Carrier_status.error_description)
|
|
|
}
|
|
|
-inline ::std::string* Carrier_status::mutable_error_destination() {
|
|
|
- set_has_error_destination();
|
|
|
- // @@protoc_insertion_point(field_mutable:message.Carrier_status.error_destination)
|
|
|
- return error_destination_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
|
+inline ::std::string* Carrier_status::mutable_error_description() {
|
|
|
+ set_has_error_description();
|
|
|
+ // @@protoc_insertion_point(field_mutable:message.Carrier_status.error_description)
|
|
|
+ return error_description_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
|
}
|
|
|
-inline ::std::string* Carrier_status::release_error_destination() {
|
|
|
- // @@protoc_insertion_point(field_release:message.Carrier_status.error_destination)
|
|
|
- clear_has_error_destination();
|
|
|
- return error_destination_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
|
+inline ::std::string* Carrier_status::release_error_description() {
|
|
|
+ // @@protoc_insertion_point(field_release:message.Carrier_status.error_description)
|
|
|
+ clear_has_error_description();
|
|
|
+ return error_description_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
|
}
|
|
|
-inline void Carrier_status::set_allocated_error_destination(::std::string* error_destination) {
|
|
|
- if (error_destination != NULL) {
|
|
|
- set_has_error_destination();
|
|
|
+inline void Carrier_status::set_allocated_error_description(::std::string* error_description) {
|
|
|
+ if (error_description != NULL) {
|
|
|
+ set_has_error_description();
|
|
|
} else {
|
|
|
- clear_has_error_destination();
|
|
|
+ clear_has_error_description();
|
|
|
}
|
|
|
- error_destination_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), error_destination);
|
|
|
- // @@protoc_insertion_point(field_set_allocated:message.Carrier_status.error_destination)
|
|
|
+ error_description_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), error_description);
|
|
|
+ // @@protoc_insertion_point(field_set_allocated:message.Carrier_status.error_description)
|
|
|
}
|
|
|
|
|
|
-// optional .message.Position position = 4;
|
|
|
+// required .message.Position position = 4;
|
|
|
inline bool Carrier_status::has_position() const {
|
|
|
- return (_has_bits_[0] & 0x00000004u) != 0;
|
|
|
+ return (_has_bits_[0] & 0x00000002u) != 0;
|
|
|
}
|
|
|
inline void Carrier_status::set_has_position() {
|
|
|
- _has_bits_[0] |= 0x00000004u;
|
|
|
+ _has_bits_[0] |= 0x00000002u;
|
|
|
}
|
|
|
inline void Carrier_status::clear_has_position() {
|
|
|
- _has_bits_[0] &= ~0x00000004u;
|
|
|
+ _has_bits_[0] &= ~0x00000002u;
|
|
|
}
|
|
|
inline void Carrier_status::clear_position() {
|
|
|
if (position_ != NULL) position_->Clear();
|
|
@@ -1155,7 +1178,7 @@ inline void Harware_statu_msg::clear_has_msg_type() {
|
|
|
_has_bits_[0] &= ~0x00000008u;
|
|
|
}
|
|
|
inline void Harware_statu_msg::clear_msg_type() {
|
|
|
- msg_type_ = 1;
|
|
|
+ msg_type_ = 0;
|
|
|
clear_has_msg_type();
|
|
|
}
|
|
|
inline ::message::Message_type Harware_statu_msg::msg_type() const {
|
|
@@ -1335,193 +1358,290 @@ inline void Harware_statu_msg::set_allocated_carrier3_statu(::message::Carrier_s
|
|
|
|
|
|
// Execute_request_msg
|
|
|
|
|
|
-// required .message.Message_type msg_type = 1;
|
|
|
-inline bool Execute_request_msg::has_msg_type() const {
|
|
|
- return (_has_bits_[0] & 0x00000002u) != 0;
|
|
|
-}
|
|
|
-inline void Execute_request_msg::set_has_msg_type() {
|
|
|
- _has_bits_[0] |= 0x00000002u;
|
|
|
-}
|
|
|
-inline void Execute_request_msg::clear_has_msg_type() {
|
|
|
- _has_bits_[0] &= ~0x00000002u;
|
|
|
-}
|
|
|
-inline void Execute_request_msg::clear_msg_type() {
|
|
|
- msg_type_ = 1;
|
|
|
- clear_has_msg_type();
|
|
|
-}
|
|
|
-inline ::message::Message_type Execute_request_msg::msg_type() const {
|
|
|
- // @@protoc_insertion_point(field_get:message.Execute_request_msg.msg_type)
|
|
|
- return static_cast< ::message::Message_type >(msg_type_);
|
|
|
-}
|
|
|
-inline void Execute_request_msg::set_msg_type(::message::Message_type value) {
|
|
|
- assert(::message::Message_type_IsValid(value));
|
|
|
- set_has_msg_type();
|
|
|
- msg_type_ = value;
|
|
|
- // @@protoc_insertion_point(field_set:message.Execute_request_msg.msg_type)
|
|
|
-}
|
|
|
-
|
|
|
-// required .message.Command_message cmd_msg = 2;
|
|
|
-inline bool Execute_request_msg::has_cmd_msg() const {
|
|
|
+// required .message.Base_msg msg_base = 1;
|
|
|
+inline bool Execute_request_msg::has_msg_base() const {
|
|
|
return (_has_bits_[0] & 0x00000001u) != 0;
|
|
|
}
|
|
|
-inline void Execute_request_msg::set_has_cmd_msg() {
|
|
|
+inline void Execute_request_msg::set_has_msg_base() {
|
|
|
_has_bits_[0] |= 0x00000001u;
|
|
|
}
|
|
|
-inline void Execute_request_msg::clear_has_cmd_msg() {
|
|
|
+inline void Execute_request_msg::clear_has_msg_base() {
|
|
|
_has_bits_[0] &= ~0x00000001u;
|
|
|
}
|
|
|
-inline const ::message::Command_message& Execute_request_msg::cmd_msg() const {
|
|
|
- const ::message::Command_message* p = cmd_msg_;
|
|
|
- // @@protoc_insertion_point(field_get:message.Execute_request_msg.cmd_msg)
|
|
|
- return p != NULL ? *p : *reinterpret_cast<const ::message::Command_message*>(
|
|
|
- &::message::_Command_message_default_instance_);
|
|
|
-}
|
|
|
-inline ::message::Command_message* Execute_request_msg::release_cmd_msg() {
|
|
|
- // @@protoc_insertion_point(field_release:message.Execute_request_msg.cmd_msg)
|
|
|
- clear_has_cmd_msg();
|
|
|
- ::message::Command_message* temp = cmd_msg_;
|
|
|
- cmd_msg_ = NULL;
|
|
|
+inline const ::message::Base_msg& Execute_request_msg::msg_base() const {
|
|
|
+ const ::message::Base_msg* p = msg_base_;
|
|
|
+ // @@protoc_insertion_point(field_get:message.Execute_request_msg.msg_base)
|
|
|
+ return p != NULL ? *p : *reinterpret_cast<const ::message::Base_msg*>(
|
|
|
+ &::message::_Base_msg_default_instance_);
|
|
|
+}
|
|
|
+inline ::message::Base_msg* Execute_request_msg::release_msg_base() {
|
|
|
+ // @@protoc_insertion_point(field_release:message.Execute_request_msg.msg_base)
|
|
|
+ clear_has_msg_base();
|
|
|
+ ::message::Base_msg* temp = msg_base_;
|
|
|
+ msg_base_ = NULL;
|
|
|
return temp;
|
|
|
}
|
|
|
-inline ::message::Command_message* Execute_request_msg::mutable_cmd_msg() {
|
|
|
- set_has_cmd_msg();
|
|
|
- if (cmd_msg_ == NULL) {
|
|
|
- cmd_msg_ = new ::message::Command_message;
|
|
|
+inline ::message::Base_msg* Execute_request_msg::mutable_msg_base() {
|
|
|
+ set_has_msg_base();
|
|
|
+ if (msg_base_ == NULL) {
|
|
|
+ msg_base_ = new ::message::Base_msg;
|
|
|
}
|
|
|
- // @@protoc_insertion_point(field_mutable:message.Execute_request_msg.cmd_msg)
|
|
|
- return cmd_msg_;
|
|
|
+ // @@protoc_insertion_point(field_mutable:message.Execute_request_msg.msg_base)
|
|
|
+ return msg_base_;
|
|
|
}
|
|
|
-inline void Execute_request_msg::set_allocated_cmd_msg(::message::Command_message* cmd_msg) {
|
|
|
+inline void Execute_request_msg::set_allocated_msg_base(::message::Base_msg* msg_base) {
|
|
|
::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
|
|
|
if (message_arena == NULL) {
|
|
|
- delete reinterpret_cast< ::google::protobuf::MessageLite*>(cmd_msg_);
|
|
|
+ delete reinterpret_cast< ::google::protobuf::MessageLite*>(msg_base_);
|
|
|
}
|
|
|
- if (cmd_msg) {
|
|
|
+ if (msg_base) {
|
|
|
::google::protobuf::Arena* submessage_arena = NULL;
|
|
|
if (message_arena != submessage_arena) {
|
|
|
- cmd_msg = ::google::protobuf::internal::GetOwnedMessage(
|
|
|
- message_arena, cmd_msg, submessage_arena);
|
|
|
+ msg_base = ::google::protobuf::internal::GetOwnedMessage(
|
|
|
+ message_arena, msg_base, submessage_arena);
|
|
|
}
|
|
|
- set_has_cmd_msg();
|
|
|
+ set_has_msg_base();
|
|
|
} else {
|
|
|
- clear_has_cmd_msg();
|
|
|
+ clear_has_msg_base();
|
|
|
}
|
|
|
- cmd_msg_ = cmd_msg;
|
|
|
- // @@protoc_insertion_point(field_set_allocated:message.Execute_request_msg.cmd_msg)
|
|
|
+ msg_base_ = msg_base;
|
|
|
+ // @@protoc_insertion_point(field_set_allocated:message.Execute_request_msg.msg_base)
|
|
|
}
|
|
|
|
|
|
-// optional int32 time_out = 3 [default = 200000];
|
|
|
-inline bool Execute_request_msg::has_time_out() const {
|
|
|
+// required int32 command_id = 2;
|
|
|
+inline bool Execute_request_msg::has_command_id() const {
|
|
|
return (_has_bits_[0] & 0x00000004u) != 0;
|
|
|
}
|
|
|
-inline void Execute_request_msg::set_has_time_out() {
|
|
|
+inline void Execute_request_msg::set_has_command_id() {
|
|
|
_has_bits_[0] |= 0x00000004u;
|
|
|
}
|
|
|
-inline void Execute_request_msg::clear_has_time_out() {
|
|
|
+inline void Execute_request_msg::clear_has_command_id() {
|
|
|
_has_bits_[0] &= ~0x00000004u;
|
|
|
}
|
|
|
-inline void Execute_request_msg::clear_time_out() {
|
|
|
- time_out_ = 200000;
|
|
|
- clear_has_time_out();
|
|
|
+inline void Execute_request_msg::clear_command_id() {
|
|
|
+ command_id_ = 0;
|
|
|
+ clear_has_command_id();
|
|
|
}
|
|
|
-inline ::google::protobuf::int32 Execute_request_msg::time_out() const {
|
|
|
- // @@protoc_insertion_point(field_get:message.Execute_request_msg.time_out)
|
|
|
- return time_out_;
|
|
|
+inline ::google::protobuf::int32 Execute_request_msg::command_id() const {
|
|
|
+ // @@protoc_insertion_point(field_get:message.Execute_request_msg.command_id)
|
|
|
+ return command_id_;
|
|
|
}
|
|
|
-inline void Execute_request_msg::set_time_out(::google::protobuf::int32 value) {
|
|
|
- set_has_time_out();
|
|
|
- time_out_ = value;
|
|
|
- // @@protoc_insertion_point(field_set:message.Execute_request_msg.time_out)
|
|
|
+inline void Execute_request_msg::set_command_id(::google::protobuf::int32 value) {
|
|
|
+ set_has_command_id();
|
|
|
+ command_id_ = value;
|
|
|
+ // @@protoc_insertion_point(field_set:message.Execute_request_msg.command_id)
|
|
|
}
|
|
|
|
|
|
-// -------------------------------------------------------------------
|
|
|
-
|
|
|
-// Execute_response_msg
|
|
|
-
|
|
|
-// required .message.Message_type msg_type = 1;
|
|
|
-inline bool Execute_response_msg::has_msg_type() const {
|
|
|
+// required .message.Action_type action_type = 3;
|
|
|
+inline bool Execute_request_msg::has_action_type() const {
|
|
|
return (_has_bits_[0] & 0x00000008u) != 0;
|
|
|
}
|
|
|
-inline void Execute_response_msg::set_has_msg_type() {
|
|
|
+inline void Execute_request_msg::set_has_action_type() {
|
|
|
_has_bits_[0] |= 0x00000008u;
|
|
|
}
|
|
|
-inline void Execute_response_msg::clear_has_msg_type() {
|
|
|
+inline void Execute_request_msg::clear_has_action_type() {
|
|
|
_has_bits_[0] &= ~0x00000008u;
|
|
|
}
|
|
|
-inline void Execute_response_msg::clear_msg_type() {
|
|
|
- msg_type_ = 1;
|
|
|
- clear_has_msg_type();
|
|
|
+inline void Execute_request_msg::clear_action_type() {
|
|
|
+ action_type_ = 0;
|
|
|
+ clear_has_action_type();
|
|
|
}
|
|
|
-inline ::message::Message_type Execute_response_msg::msg_type() const {
|
|
|
- // @@protoc_insertion_point(field_get:message.Execute_response_msg.msg_type)
|
|
|
- return static_cast< ::message::Message_type >(msg_type_);
|
|
|
+inline ::message::Action_type Execute_request_msg::action_type() const {
|
|
|
+ // @@protoc_insertion_point(field_get:message.Execute_request_msg.action_type)
|
|
|
+ return static_cast< ::message::Action_type >(action_type_);
|
|
|
}
|
|
|
-inline void Execute_response_msg::set_msg_type(::message::Message_type value) {
|
|
|
- assert(::message::Message_type_IsValid(value));
|
|
|
- set_has_msg_type();
|
|
|
- msg_type_ = value;
|
|
|
- // @@protoc_insertion_point(field_set:message.Execute_response_msg.msg_type)
|
|
|
+inline void Execute_request_msg::set_action_type(::message::Action_type value) {
|
|
|
+ assert(::message::Action_type_IsValid(value));
|
|
|
+ set_has_action_type();
|
|
|
+ action_type_ = value;
|
|
|
+ // @@protoc_insertion_point(field_set:message.Execute_request_msg.action_type)
|
|
|
+}
|
|
|
+
|
|
|
+// required int32 from_id = 4;
|
|
|
+inline bool Execute_request_msg::has_from_id() const {
|
|
|
+ return (_has_bits_[0] & 0x00000010u) != 0;
|
|
|
+}
|
|
|
+inline void Execute_request_msg::set_has_from_id() {
|
|
|
+ _has_bits_[0] |= 0x00000010u;
|
|
|
+}
|
|
|
+inline void Execute_request_msg::clear_has_from_id() {
|
|
|
+ _has_bits_[0] &= ~0x00000010u;
|
|
|
+}
|
|
|
+inline void Execute_request_msg::clear_from_id() {
|
|
|
+ from_id_ = 0;
|
|
|
+ clear_has_from_id();
|
|
|
+}
|
|
|
+inline ::google::protobuf::int32 Execute_request_msg::from_id() const {
|
|
|
+ // @@protoc_insertion_point(field_get:message.Execute_request_msg.from_id)
|
|
|
+ return from_id_;
|
|
|
+}
|
|
|
+inline void Execute_request_msg::set_from_id(::google::protobuf::int32 value) {
|
|
|
+ set_has_from_id();
|
|
|
+ from_id_ = value;
|
|
|
+ // @@protoc_insertion_point(field_set:message.Execute_request_msg.from_id)
|
|
|
+}
|
|
|
+
|
|
|
+// required int32 destination = 5;
|
|
|
+inline bool Execute_request_msg::has_destination() const {
|
|
|
+ return (_has_bits_[0] & 0x00000020u) != 0;
|
|
|
+}
|
|
|
+inline void Execute_request_msg::set_has_destination() {
|
|
|
+ _has_bits_[0] |= 0x00000020u;
|
|
|
+}
|
|
|
+inline void Execute_request_msg::clear_has_destination() {
|
|
|
+ _has_bits_[0] &= ~0x00000020u;
|
|
|
+}
|
|
|
+inline void Execute_request_msg::clear_destination() {
|
|
|
+ destination_ = 0;
|
|
|
+ clear_has_destination();
|
|
|
+}
|
|
|
+inline ::google::protobuf::int32 Execute_request_msg::destination() const {
|
|
|
+ // @@protoc_insertion_point(field_get:message.Execute_request_msg.destination)
|
|
|
+ return destination_;
|
|
|
+}
|
|
|
+inline void Execute_request_msg::set_destination(::google::protobuf::int32 value) {
|
|
|
+ set_has_destination();
|
|
|
+ destination_ = value;
|
|
|
+ // @@protoc_insertion_point(field_set:message.Execute_request_msg.destination)
|
|
|
}
|
|
|
|
|
|
-// required .message.Command_message cmd_msg = 2;
|
|
|
-inline bool Execute_response_msg::has_cmd_msg() const {
|
|
|
+// required .message.Locate_information locate_information = 6;
|
|
|
+inline bool Execute_request_msg::has_locate_information() const {
|
|
|
return (_has_bits_[0] & 0x00000002u) != 0;
|
|
|
}
|
|
|
-inline void Execute_response_msg::set_has_cmd_msg() {
|
|
|
+inline void Execute_request_msg::set_has_locate_information() {
|
|
|
_has_bits_[0] |= 0x00000002u;
|
|
|
}
|
|
|
-inline void Execute_response_msg::clear_has_cmd_msg() {
|
|
|
+inline void Execute_request_msg::clear_has_locate_information() {
|
|
|
_has_bits_[0] &= ~0x00000002u;
|
|
|
}
|
|
|
-inline const ::message::Command_message& Execute_response_msg::cmd_msg() const {
|
|
|
- const ::message::Command_message* p = cmd_msg_;
|
|
|
- // @@protoc_insertion_point(field_get:message.Execute_response_msg.cmd_msg)
|
|
|
- return p != NULL ? *p : *reinterpret_cast<const ::message::Command_message*>(
|
|
|
- &::message::_Command_message_default_instance_);
|
|
|
-}
|
|
|
-inline ::message::Command_message* Execute_response_msg::release_cmd_msg() {
|
|
|
- // @@protoc_insertion_point(field_release:message.Execute_response_msg.cmd_msg)
|
|
|
- clear_has_cmd_msg();
|
|
|
- ::message::Command_message* temp = cmd_msg_;
|
|
|
- cmd_msg_ = NULL;
|
|
|
+inline const ::message::Locate_information& Execute_request_msg::locate_information() const {
|
|
|
+ const ::message::Locate_information* p = locate_information_;
|
|
|
+ // @@protoc_insertion_point(field_get:message.Execute_request_msg.locate_information)
|
|
|
+ return p != NULL ? *p : *reinterpret_cast<const ::message::Locate_information*>(
|
|
|
+ &::message::_Locate_information_default_instance_);
|
|
|
+}
|
|
|
+inline ::message::Locate_information* Execute_request_msg::release_locate_information() {
|
|
|
+ // @@protoc_insertion_point(field_release:message.Execute_request_msg.locate_information)
|
|
|
+ clear_has_locate_information();
|
|
|
+ ::message::Locate_information* temp = locate_information_;
|
|
|
+ locate_information_ = NULL;
|
|
|
return temp;
|
|
|
}
|
|
|
-inline ::message::Command_message* Execute_response_msg::mutable_cmd_msg() {
|
|
|
- set_has_cmd_msg();
|
|
|
- if (cmd_msg_ == NULL) {
|
|
|
- cmd_msg_ = new ::message::Command_message;
|
|
|
+inline ::message::Locate_information* Execute_request_msg::mutable_locate_information() {
|
|
|
+ set_has_locate_information();
|
|
|
+ if (locate_information_ == NULL) {
|
|
|
+ locate_information_ = new ::message::Locate_information;
|
|
|
}
|
|
|
- // @@protoc_insertion_point(field_mutable:message.Execute_response_msg.cmd_msg)
|
|
|
- return cmd_msg_;
|
|
|
+ // @@protoc_insertion_point(field_mutable:message.Execute_request_msg.locate_information)
|
|
|
+ return locate_information_;
|
|
|
}
|
|
|
-inline void Execute_response_msg::set_allocated_cmd_msg(::message::Command_message* cmd_msg) {
|
|
|
+inline void Execute_request_msg::set_allocated_locate_information(::message::Locate_information* locate_information) {
|
|
|
::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
|
|
|
if (message_arena == NULL) {
|
|
|
- delete reinterpret_cast< ::google::protobuf::MessageLite*>(cmd_msg_);
|
|
|
+ delete reinterpret_cast< ::google::protobuf::MessageLite*>(locate_information_);
|
|
|
}
|
|
|
- if (cmd_msg) {
|
|
|
+ if (locate_information) {
|
|
|
::google::protobuf::Arena* submessage_arena = NULL;
|
|
|
if (message_arena != submessage_arena) {
|
|
|
- cmd_msg = ::google::protobuf::internal::GetOwnedMessage(
|
|
|
- message_arena, cmd_msg, submessage_arena);
|
|
|
+ locate_information = ::google::protobuf::internal::GetOwnedMessage(
|
|
|
+ message_arena, locate_information, submessage_arena);
|
|
|
}
|
|
|
- set_has_cmd_msg();
|
|
|
+ set_has_locate_information();
|
|
|
} else {
|
|
|
- clear_has_cmd_msg();
|
|
|
+ clear_has_locate_information();
|
|
|
}
|
|
|
- cmd_msg_ = cmd_msg;
|
|
|
- // @@protoc_insertion_point(field_set_allocated:message.Execute_response_msg.cmd_msg)
|
|
|
+ locate_information_ = locate_information;
|
|
|
+ // @@protoc_insertion_point(field_set_allocated:message.Execute_request_msg.locate_information)
|
|
|
+}
|
|
|
+
|
|
|
+// -------------------------------------------------------------------
|
|
|
+
|
|
|
+// Execute_response_msg
|
|
|
+
|
|
|
+// required .message.Base_msg msg_base = 1;
|
|
|
+inline bool Execute_response_msg::has_msg_base() const {
|
|
|
+ return (_has_bits_[0] & 0x00000002u) != 0;
|
|
|
+}
|
|
|
+inline void Execute_response_msg::set_has_msg_base() {
|
|
|
+ _has_bits_[0] |= 0x00000002u;
|
|
|
+}
|
|
|
+inline void Execute_response_msg::clear_has_msg_base() {
|
|
|
+ _has_bits_[0] &= ~0x00000002u;
|
|
|
+}
|
|
|
+inline const ::message::Base_msg& Execute_response_msg::msg_base() const {
|
|
|
+ const ::message::Base_msg* p = msg_base_;
|
|
|
+ // @@protoc_insertion_point(field_get:message.Execute_response_msg.msg_base)
|
|
|
+ return p != NULL ? *p : *reinterpret_cast<const ::message::Base_msg*>(
|
|
|
+ &::message::_Base_msg_default_instance_);
|
|
|
+}
|
|
|
+inline ::message::Base_msg* Execute_response_msg::release_msg_base() {
|
|
|
+ // @@protoc_insertion_point(field_release:message.Execute_response_msg.msg_base)
|
|
|
+ clear_has_msg_base();
|
|
|
+ ::message::Base_msg* temp = msg_base_;
|
|
|
+ msg_base_ = NULL;
|
|
|
+ return temp;
|
|
|
+}
|
|
|
+inline ::message::Base_msg* Execute_response_msg::mutable_msg_base() {
|
|
|
+ set_has_msg_base();
|
|
|
+ if (msg_base_ == NULL) {
|
|
|
+ msg_base_ = new ::message::Base_msg;
|
|
|
+ }
|
|
|
+ // @@protoc_insertion_point(field_mutable:message.Execute_response_msg.msg_base)
|
|
|
+ return msg_base_;
|
|
|
+}
|
|
|
+inline void Execute_response_msg::set_allocated_msg_base(::message::Base_msg* msg_base) {
|
|
|
+ ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
|
|
|
+ if (message_arena == NULL) {
|
|
|
+ delete reinterpret_cast< ::google::protobuf::MessageLite*>(msg_base_);
|
|
|
+ }
|
|
|
+ if (msg_base) {
|
|
|
+ ::google::protobuf::Arena* submessage_arena = NULL;
|
|
|
+ if (message_arena != submessage_arena) {
|
|
|
+ msg_base = ::google::protobuf::internal::GetOwnedMessage(
|
|
|
+ message_arena, msg_base, submessage_arena);
|
|
|
+ }
|
|
|
+ set_has_msg_base();
|
|
|
+ } else {
|
|
|
+ clear_has_msg_base();
|
|
|
+ }
|
|
|
+ msg_base_ = msg_base;
|
|
|
+ // @@protoc_insertion_point(field_set_allocated:message.Execute_response_msg.msg_base)
|
|
|
+}
|
|
|
+
|
|
|
+// required int32 command_id = 2;
|
|
|
+inline bool Execute_response_msg::has_command_id() const {
|
|
|
+ return (_has_bits_[0] & 0x00000004u) != 0;
|
|
|
+}
|
|
|
+inline void Execute_response_msg::set_has_command_id() {
|
|
|
+ _has_bits_[0] |= 0x00000004u;
|
|
|
+}
|
|
|
+inline void Execute_response_msg::clear_has_command_id() {
|
|
|
+ _has_bits_[0] &= ~0x00000004u;
|
|
|
+}
|
|
|
+inline void Execute_response_msg::clear_command_id() {
|
|
|
+ command_id_ = 0;
|
|
|
+ clear_has_command_id();
|
|
|
+}
|
|
|
+inline ::google::protobuf::int32 Execute_response_msg::command_id() const {
|
|
|
+ // @@protoc_insertion_point(field_get:message.Execute_response_msg.command_id)
|
|
|
+ return command_id_;
|
|
|
+}
|
|
|
+inline void Execute_response_msg::set_command_id(::google::protobuf::int32 value) {
|
|
|
+ set_has_command_id();
|
|
|
+ command_id_ = value;
|
|
|
+ // @@protoc_insertion_point(field_set:message.Execute_response_msg.command_id)
|
|
|
}
|
|
|
|
|
|
// required int32 error_code = 3;
|
|
|
inline bool Execute_response_msg::has_error_code() const {
|
|
|
- return (_has_bits_[0] & 0x00000004u) != 0;
|
|
|
+ return (_has_bits_[0] & 0x00000008u) != 0;
|
|
|
}
|
|
|
inline void Execute_response_msg::set_has_error_code() {
|
|
|
- _has_bits_[0] |= 0x00000004u;
|
|
|
+ _has_bits_[0] |= 0x00000008u;
|
|
|
}
|
|
|
inline void Execute_response_msg::clear_has_error_code() {
|
|
|
- _has_bits_[0] &= ~0x00000004u;
|
|
|
+ _has_bits_[0] &= ~0x00000008u;
|
|
|
}
|
|
|
inline void Execute_response_msg::clear_error_code() {
|
|
|
error_code_ = 0;
|
|
@@ -1624,6 +1744,11 @@ template <>
|
|
|
inline const EnumDescriptor* GetEnumDescriptor< ::message::Hardware_statu>() {
|
|
|
return ::message::Hardware_statu_descriptor();
|
|
|
}
|
|
|
+template <> struct is_proto_enum< ::message::Action_type> : ::google::protobuf::internal::true_type {};
|
|
|
+template <>
|
|
|
+inline const EnumDescriptor* GetEnumDescriptor< ::message::Action_type>() {
|
|
|
+ return ::message::Action_type_descriptor();
|
|
|
+}
|
|
|
|
|
|
} // namespace protobuf
|
|
|
} // namespace google
|