|
@@ -226,10 +226,10 @@ class Measure_status_msg : public ::google::protobuf::Message /* @@protoc_insert
|
|
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
|
|
- // repeated .message.Laser_statu laser_statu_vector = 3;
|
|
|
+ // repeated .message.Laser_statu laser_statu_vector = 4;
|
|
|
int laser_statu_vector_size() const;
|
|
|
void clear_laser_statu_vector();
|
|
|
- static const int kLaserStatuVectorFieldNumber = 3;
|
|
|
+ static const int kLaserStatuVectorFieldNumber = 4;
|
|
|
::message::Laser_statu laser_statu_vector(int index) const;
|
|
|
void set_laser_statu_vector(int index, ::message::Laser_statu value);
|
|
|
void add_laser_statu_vector(::message::Laser_statu value);
|
|
@@ -245,35 +245,42 @@ class Measure_status_msg : public ::google::protobuf::Message /* @@protoc_insert
|
|
|
::message::Base_info* mutable_base_info();
|
|
|
void set_allocated_base_info(::message::Base_info* base_info);
|
|
|
|
|
|
- // optional .message.Locate_information locate_information_realtime = 5;
|
|
|
+ // optional .message.Locate_information locate_information_realtime = 6;
|
|
|
bool has_locate_information_realtime() const;
|
|
|
void clear_locate_information_realtime();
|
|
|
- static const int kLocateInformationRealtimeFieldNumber = 5;
|
|
|
+ static const int kLocateInformationRealtimeFieldNumber = 6;
|
|
|
const ::message::Locate_information& locate_information_realtime() const;
|
|
|
::message::Locate_information* release_locate_information_realtime();
|
|
|
::message::Locate_information* mutable_locate_information_realtime();
|
|
|
void set_allocated_locate_information_realtime(::message::Locate_information* locate_information_realtime);
|
|
|
|
|
|
- // required .message.Error_manager error_manager = 6;
|
|
|
+ // required .message.Error_manager error_manager = 7;
|
|
|
bool has_error_manager() const;
|
|
|
void clear_error_manager();
|
|
|
- static const int kErrorManagerFieldNumber = 6;
|
|
|
+ static const int kErrorManagerFieldNumber = 7;
|
|
|
const ::message::Error_manager& error_manager() const;
|
|
|
::message::Error_manager* release_error_manager();
|
|
|
::message::Error_manager* mutable_error_manager();
|
|
|
void set_allocated_error_manager(::message::Error_manager* error_manager);
|
|
|
|
|
|
- // required .message.Laser_manager_status laser_manager_status = 2;
|
|
|
+ // required int32 terminal_id = 2;
|
|
|
+ bool has_terminal_id() const;
|
|
|
+ void clear_terminal_id();
|
|
|
+ static const int kTerminalIdFieldNumber = 2;
|
|
|
+ ::google::protobuf::int32 terminal_id() const;
|
|
|
+ void set_terminal_id(::google::protobuf::int32 value);
|
|
|
+
|
|
|
+ // required .message.Laser_manager_status laser_manager_status = 3;
|
|
|
bool has_laser_manager_status() const;
|
|
|
void clear_laser_manager_status();
|
|
|
- static const int kLaserManagerStatusFieldNumber = 2;
|
|
|
+ static const int kLaserManagerStatusFieldNumber = 3;
|
|
|
::message::Laser_manager_status laser_manager_status() const;
|
|
|
void set_laser_manager_status(::message::Laser_manager_status value);
|
|
|
|
|
|
- // required .message.Locate_manager_status locate_manager_status = 4;
|
|
|
+ // required .message.Locate_manager_status locate_manager_status = 5;
|
|
|
bool has_locate_manager_status() const;
|
|
|
void clear_locate_manager_status();
|
|
|
- static const int kLocateManagerStatusFieldNumber = 4;
|
|
|
+ static const int kLocateManagerStatusFieldNumber = 5;
|
|
|
::message::Locate_manager_status locate_manager_status() const;
|
|
|
void set_locate_manager_status(::message::Locate_manager_status value);
|
|
|
|
|
@@ -281,6 +288,8 @@ class Measure_status_msg : public ::google::protobuf::Message /* @@protoc_insert
|
|
|
private:
|
|
|
void set_has_base_info();
|
|
|
void clear_has_base_info();
|
|
|
+ void set_has_terminal_id();
|
|
|
+ void clear_has_terminal_id();
|
|
|
void set_has_laser_manager_status();
|
|
|
void clear_has_laser_manager_status();
|
|
|
void set_has_locate_manager_status();
|
|
@@ -300,6 +309,7 @@ class Measure_status_msg : public ::google::protobuf::Message /* @@protoc_insert
|
|
|
::message::Base_info* base_info_;
|
|
|
::message::Locate_information* locate_information_realtime_;
|
|
|
::message::Error_manager* error_manager_;
|
|
|
+ ::google::protobuf::int32 terminal_id_;
|
|
|
int laser_manager_status_;
|
|
|
int locate_manager_status_;
|
|
|
friend struct ::protobuf_measure_5fmessage_2eproto::TableStruct;
|
|
@@ -396,6 +406,21 @@ class Measure_request_msg : public ::google::protobuf::Message /* @@protoc_inser
|
|
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
|
|
+ // required string command_key = 2;
|
|
|
+ bool has_command_key() const;
|
|
|
+ void clear_command_key();
|
|
|
+ static const int kCommandKeyFieldNumber = 2;
|
|
|
+ const ::std::string& command_key() const;
|
|
|
+ void set_command_key(const ::std::string& value);
|
|
|
+ #if LANG_CXX11
|
|
|
+ void set_command_key(::std::string&& value);
|
|
|
+ #endif
|
|
|
+ void set_command_key(const char* value);
|
|
|
+ void set_command_key(const char* value, size_t size);
|
|
|
+ ::std::string* mutable_command_key();
|
|
|
+ ::std::string* release_command_key();
|
|
|
+ void set_allocated_command_key(::std::string* command_key);
|
|
|
+
|
|
|
// required .message.Base_info base_info = 1;
|
|
|
bool has_base_info() const;
|
|
|
void clear_base_info();
|
|
@@ -405,13 +430,6 @@ class Measure_request_msg : public ::google::protobuf::Message /* @@protoc_inser
|
|
|
::message::Base_info* mutable_base_info();
|
|
|
void set_allocated_base_info(::message::Base_info* base_info);
|
|
|
|
|
|
- // 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 terminal_id = 3;
|
|
|
bool has_terminal_id() const;
|
|
|
void clear_terminal_id();
|
|
@@ -423,8 +441,8 @@ class Measure_request_msg : public ::google::protobuf::Message /* @@protoc_inser
|
|
|
private:
|
|
|
void set_has_base_info();
|
|
|
void clear_has_base_info();
|
|
|
- void set_has_command_id();
|
|
|
- void clear_has_command_id();
|
|
|
+ void set_has_command_key();
|
|
|
+ void clear_has_command_key();
|
|
|
void set_has_terminal_id();
|
|
|
void clear_has_terminal_id();
|
|
|
|
|
@@ -434,8 +452,8 @@ class Measure_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_;
|
|
|
+ ::google::protobuf::internal::ArenaStringPtr command_key_;
|
|
|
::message::Base_info* base_info_;
|
|
|
- ::google::protobuf::int32 command_id_;
|
|
|
::google::protobuf::int32 terminal_id_;
|
|
|
friend struct ::protobuf_measure_5fmessage_2eproto::TableStruct;
|
|
|
friend void ::protobuf_measure_5fmessage_2eproto::InitDefaultsMeasure_request_msgImpl();
|
|
@@ -531,6 +549,21 @@ class Measure_response_msg : public ::google::protobuf::Message /* @@protoc_inse
|
|
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
|
|
+ // required string command_key = 2;
|
|
|
+ bool has_command_key() const;
|
|
|
+ void clear_command_key();
|
|
|
+ static const int kCommandKeyFieldNumber = 2;
|
|
|
+ const ::std::string& command_key() const;
|
|
|
+ void set_command_key(const ::std::string& value);
|
|
|
+ #if LANG_CXX11
|
|
|
+ void set_command_key(::std::string&& value);
|
|
|
+ #endif
|
|
|
+ void set_command_key(const char* value);
|
|
|
+ void set_command_key(const char* value, size_t size);
|
|
|
+ ::std::string* mutable_command_key();
|
|
|
+ ::std::string* release_command_key();
|
|
|
+ void set_allocated_command_key(::std::string* command_key);
|
|
|
+
|
|
|
// required .message.Base_info base_info = 1;
|
|
|
bool has_base_info() const;
|
|
|
void clear_base_info();
|
|
@@ -558,13 +591,6 @@ class Measure_response_msg : public ::google::protobuf::Message /* @@protoc_inse
|
|
|
::message::Error_manager* mutable_error_manager();
|
|
|
void set_allocated_error_manager(::message::Error_manager* error_manager);
|
|
|
|
|
|
- // 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 terminal_id = 3;
|
|
|
bool has_terminal_id() const;
|
|
|
void clear_terminal_id();
|
|
@@ -576,8 +602,8 @@ class Measure_response_msg : public ::google::protobuf::Message /* @@protoc_inse
|
|
|
private:
|
|
|
void set_has_base_info();
|
|
|
void clear_has_base_info();
|
|
|
- void set_has_command_id();
|
|
|
- void clear_has_command_id();
|
|
|
+ void set_has_command_key();
|
|
|
+ void clear_has_command_key();
|
|
|
void set_has_terminal_id();
|
|
|
void clear_has_terminal_id();
|
|
|
void set_has_locate_information();
|
|
@@ -591,10 +617,10 @@ class Measure_response_msg : public ::google::protobuf::Message /* @@protoc_inse
|
|
|
::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
|
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
|
mutable int _cached_size_;
|
|
|
+ ::google::protobuf::internal::ArenaStringPtr command_key_;
|
|
|
::message::Base_info* base_info_;
|
|
|
::message::Locate_information* locate_information_;
|
|
|
::message::Error_manager* error_manager_;
|
|
|
- ::google::protobuf::int32 command_id_;
|
|
|
::google::protobuf::int32 terminal_id_;
|
|
|
friend struct ::protobuf_measure_5fmessage_2eproto::TableStruct;
|
|
|
friend void ::protobuf_measure_5fmessage_2eproto::InitDefaultsMeasure_response_msgImpl();
|
|
@@ -660,16 +686,40 @@ inline void Measure_status_msg::set_allocated_base_info(::message::Base_info* ba
|
|
|
// @@protoc_insertion_point(field_set_allocated:message.Measure_status_msg.base_info)
|
|
|
}
|
|
|
|
|
|
-// required .message.Laser_manager_status laser_manager_status = 2;
|
|
|
-inline bool Measure_status_msg::has_laser_manager_status() const {
|
|
|
+// required int32 terminal_id = 2;
|
|
|
+inline bool Measure_status_msg::has_terminal_id() const {
|
|
|
return (_has_bits_[0] & 0x00000008u) != 0;
|
|
|
}
|
|
|
-inline void Measure_status_msg::set_has_laser_manager_status() {
|
|
|
+inline void Measure_status_msg::set_has_terminal_id() {
|
|
|
_has_bits_[0] |= 0x00000008u;
|
|
|
}
|
|
|
-inline void Measure_status_msg::clear_has_laser_manager_status() {
|
|
|
+inline void Measure_status_msg::clear_has_terminal_id() {
|
|
|
_has_bits_[0] &= ~0x00000008u;
|
|
|
}
|
|
|
+inline void Measure_status_msg::clear_terminal_id() {
|
|
|
+ terminal_id_ = 0;
|
|
|
+ clear_has_terminal_id();
|
|
|
+}
|
|
|
+inline ::google::protobuf::int32 Measure_status_msg::terminal_id() const {
|
|
|
+ // @@protoc_insertion_point(field_get:message.Measure_status_msg.terminal_id)
|
|
|
+ return terminal_id_;
|
|
|
+}
|
|
|
+inline void Measure_status_msg::set_terminal_id(::google::protobuf::int32 value) {
|
|
|
+ set_has_terminal_id();
|
|
|
+ terminal_id_ = value;
|
|
|
+ // @@protoc_insertion_point(field_set:message.Measure_status_msg.terminal_id)
|
|
|
+}
|
|
|
+
|
|
|
+// required .message.Laser_manager_status laser_manager_status = 3;
|
|
|
+inline bool Measure_status_msg::has_laser_manager_status() const {
|
|
|
+ return (_has_bits_[0] & 0x00000010u) != 0;
|
|
|
+}
|
|
|
+inline void Measure_status_msg::set_has_laser_manager_status() {
|
|
|
+ _has_bits_[0] |= 0x00000010u;
|
|
|
+}
|
|
|
+inline void Measure_status_msg::clear_has_laser_manager_status() {
|
|
|
+ _has_bits_[0] &= ~0x00000010u;
|
|
|
+}
|
|
|
inline void Measure_status_msg::clear_laser_manager_status() {
|
|
|
laser_manager_status_ = 0;
|
|
|
clear_has_laser_manager_status();
|
|
@@ -685,7 +735,7 @@ inline void Measure_status_msg::set_laser_manager_status(::message::Laser_manage
|
|
|
// @@protoc_insertion_point(field_set:message.Measure_status_msg.laser_manager_status)
|
|
|
}
|
|
|
|
|
|
-// repeated .message.Laser_statu laser_statu_vector = 3;
|
|
|
+// repeated .message.Laser_statu laser_statu_vector = 4;
|
|
|
inline int Measure_status_msg::laser_statu_vector_size() const {
|
|
|
return laser_statu_vector_.size();
|
|
|
}
|
|
@@ -717,15 +767,15 @@ Measure_status_msg::mutable_laser_statu_vector() {
|
|
|
return &laser_statu_vector_;
|
|
|
}
|
|
|
|
|
|
-// required .message.Locate_manager_status locate_manager_status = 4;
|
|
|
+// required .message.Locate_manager_status locate_manager_status = 5;
|
|
|
inline bool Measure_status_msg::has_locate_manager_status() const {
|
|
|
- return (_has_bits_[0] & 0x00000010u) != 0;
|
|
|
+ return (_has_bits_[0] & 0x00000020u) != 0;
|
|
|
}
|
|
|
inline void Measure_status_msg::set_has_locate_manager_status() {
|
|
|
- _has_bits_[0] |= 0x00000010u;
|
|
|
+ _has_bits_[0] |= 0x00000020u;
|
|
|
}
|
|
|
inline void Measure_status_msg::clear_has_locate_manager_status() {
|
|
|
- _has_bits_[0] &= ~0x00000010u;
|
|
|
+ _has_bits_[0] &= ~0x00000020u;
|
|
|
}
|
|
|
inline void Measure_status_msg::clear_locate_manager_status() {
|
|
|
locate_manager_status_ = 0;
|
|
@@ -742,7 +792,7 @@ inline void Measure_status_msg::set_locate_manager_status(::message::Locate_mana
|
|
|
// @@protoc_insertion_point(field_set:message.Measure_status_msg.locate_manager_status)
|
|
|
}
|
|
|
|
|
|
-// optional .message.Locate_information locate_information_realtime = 5;
|
|
|
+// optional .message.Locate_information locate_information_realtime = 6;
|
|
|
inline bool Measure_status_msg::has_locate_information_realtime() const {
|
|
|
return (_has_bits_[0] & 0x00000002u) != 0;
|
|
|
}
|
|
@@ -792,7 +842,7 @@ inline void Measure_status_msg::set_allocated_locate_information_realtime(::mess
|
|
|
// @@protoc_insertion_point(field_set_allocated:message.Measure_status_msg.locate_information_realtime)
|
|
|
}
|
|
|
|
|
|
-// required .message.Error_manager error_manager = 6;
|
|
|
+// required .message.Error_manager error_manager = 7;
|
|
|
inline bool Measure_status_msg::has_error_manager() const {
|
|
|
return (_has_bits_[0] & 0x00000004u) != 0;
|
|
|
}
|
|
@@ -848,13 +898,13 @@ inline void Measure_status_msg::set_allocated_error_manager(::message::Error_man
|
|
|
|
|
|
// required .message.Base_info base_info = 1;
|
|
|
inline bool Measure_request_msg::has_base_info() const {
|
|
|
- return (_has_bits_[0] & 0x00000001u) != 0;
|
|
|
+ return (_has_bits_[0] & 0x00000002u) != 0;
|
|
|
}
|
|
|
inline void Measure_request_msg::set_has_base_info() {
|
|
|
- _has_bits_[0] |= 0x00000001u;
|
|
|
+ _has_bits_[0] |= 0x00000002u;
|
|
|
}
|
|
|
inline void Measure_request_msg::clear_has_base_info() {
|
|
|
- _has_bits_[0] &= ~0x00000001u;
|
|
|
+ _has_bits_[0] &= ~0x00000002u;
|
|
|
}
|
|
|
inline const ::message::Base_info& Measure_request_msg::base_info() const {
|
|
|
const ::message::Base_info* p = base_info_;
|
|
@@ -896,28 +946,67 @@ inline void Measure_request_msg::set_allocated_base_info(::message::Base_info* b
|
|
|
// @@protoc_insertion_point(field_set_allocated:message.Measure_request_msg.base_info)
|
|
|
}
|
|
|
|
|
|
-// required int32 command_id = 2;
|
|
|
-inline bool Measure_request_msg::has_command_id() const {
|
|
|
- return (_has_bits_[0] & 0x00000002u) != 0;
|
|
|
+// required string command_key = 2;
|
|
|
+inline bool Measure_request_msg::has_command_key() const {
|
|
|
+ return (_has_bits_[0] & 0x00000001u) != 0;
|
|
|
}
|
|
|
-inline void Measure_request_msg::set_has_command_id() {
|
|
|
- _has_bits_[0] |= 0x00000002u;
|
|
|
+inline void Measure_request_msg::set_has_command_key() {
|
|
|
+ _has_bits_[0] |= 0x00000001u;
|
|
|
}
|
|
|
-inline void Measure_request_msg::clear_has_command_id() {
|
|
|
- _has_bits_[0] &= ~0x00000002u;
|
|
|
+inline void Measure_request_msg::clear_has_command_key() {
|
|
|
+ _has_bits_[0] &= ~0x00000001u;
|
|
|
+}
|
|
|
+inline void Measure_request_msg::clear_command_key() {
|
|
|
+ command_key_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
|
+ clear_has_command_key();
|
|
|
+}
|
|
|
+inline const ::std::string& Measure_request_msg::command_key() const {
|
|
|
+ // @@protoc_insertion_point(field_get:message.Measure_request_msg.command_key)
|
|
|
+ return command_key_.GetNoArena();
|
|
|
}
|
|
|
-inline void Measure_request_msg::clear_command_id() {
|
|
|
- command_id_ = 0;
|
|
|
- clear_has_command_id();
|
|
|
+inline void Measure_request_msg::set_command_key(const ::std::string& value) {
|
|
|
+ set_has_command_key();
|
|
|
+ command_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
|
|
|
+ // @@protoc_insertion_point(field_set:message.Measure_request_msg.command_key)
|
|
|
}
|
|
|
-inline ::google::protobuf::int32 Measure_request_msg::command_id() const {
|
|
|
- // @@protoc_insertion_point(field_get:message.Measure_request_msg.command_id)
|
|
|
- return command_id_;
|
|
|
+#if LANG_CXX11
|
|
|
+inline void Measure_request_msg::set_command_key(::std::string&& value) {
|
|
|
+ set_has_command_key();
|
|
|
+ command_key_.SetNoArena(
|
|
|
+ &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
|
|
|
+ // @@protoc_insertion_point(field_set_rvalue:message.Measure_request_msg.command_key)
|
|
|
}
|
|
|
-inline void Measure_request_msg::set_command_id(::google::protobuf::int32 value) {
|
|
|
- set_has_command_id();
|
|
|
- command_id_ = value;
|
|
|
- // @@protoc_insertion_point(field_set:message.Measure_request_msg.command_id)
|
|
|
+#endif
|
|
|
+inline void Measure_request_msg::set_command_key(const char* value) {
|
|
|
+ GOOGLE_DCHECK(value != NULL);
|
|
|
+ set_has_command_key();
|
|
|
+ command_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
|
|
|
+ // @@protoc_insertion_point(field_set_char:message.Measure_request_msg.command_key)
|
|
|
+}
|
|
|
+inline void Measure_request_msg::set_command_key(const char* value, size_t size) {
|
|
|
+ set_has_command_key();
|
|
|
+ command_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
|
|
+ ::std::string(reinterpret_cast<const char*>(value), size));
|
|
|
+ // @@protoc_insertion_point(field_set_pointer:message.Measure_request_msg.command_key)
|
|
|
+}
|
|
|
+inline ::std::string* Measure_request_msg::mutable_command_key() {
|
|
|
+ set_has_command_key();
|
|
|
+ // @@protoc_insertion_point(field_mutable:message.Measure_request_msg.command_key)
|
|
|
+ return command_key_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
|
+}
|
|
|
+inline ::std::string* Measure_request_msg::release_command_key() {
|
|
|
+ // @@protoc_insertion_point(field_release:message.Measure_request_msg.command_key)
|
|
|
+ clear_has_command_key();
|
|
|
+ return command_key_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
|
+}
|
|
|
+inline void Measure_request_msg::set_allocated_command_key(::std::string* command_key) {
|
|
|
+ if (command_key != NULL) {
|
|
|
+ set_has_command_key();
|
|
|
+ } else {
|
|
|
+ clear_has_command_key();
|
|
|
+ }
|
|
|
+ command_key_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), command_key);
|
|
|
+ // @@protoc_insertion_point(field_set_allocated:message.Measure_request_msg.command_key)
|
|
|
}
|
|
|
|
|
|
// required int32 terminal_id = 3;
|
|
@@ -950,13 +1039,13 @@ inline void Measure_request_msg::set_terminal_id(::google::protobuf::int32 value
|
|
|
|
|
|
// required .message.Base_info base_info = 1;
|
|
|
inline bool Measure_response_msg::has_base_info() const {
|
|
|
- return (_has_bits_[0] & 0x00000001u) != 0;
|
|
|
+ return (_has_bits_[0] & 0x00000002u) != 0;
|
|
|
}
|
|
|
inline void Measure_response_msg::set_has_base_info() {
|
|
|
- _has_bits_[0] |= 0x00000001u;
|
|
|
+ _has_bits_[0] |= 0x00000002u;
|
|
|
}
|
|
|
inline void Measure_response_msg::clear_has_base_info() {
|
|
|
- _has_bits_[0] &= ~0x00000001u;
|
|
|
+ _has_bits_[0] &= ~0x00000002u;
|
|
|
}
|
|
|
inline const ::message::Base_info& Measure_response_msg::base_info() const {
|
|
|
const ::message::Base_info* p = base_info_;
|
|
@@ -998,28 +1087,67 @@ inline void Measure_response_msg::set_allocated_base_info(::message::Base_info*
|
|
|
// @@protoc_insertion_point(field_set_allocated:message.Measure_response_msg.base_info)
|
|
|
}
|
|
|
|
|
|
-// required int32 command_id = 2;
|
|
|
-inline bool Measure_response_msg::has_command_id() const {
|
|
|
- return (_has_bits_[0] & 0x00000008u) != 0;
|
|
|
+// required string command_key = 2;
|
|
|
+inline bool Measure_response_msg::has_command_key() const {
|
|
|
+ return (_has_bits_[0] & 0x00000001u) != 0;
|
|
|
}
|
|
|
-inline void Measure_response_msg::set_has_command_id() {
|
|
|
- _has_bits_[0] |= 0x00000008u;
|
|
|
+inline void Measure_response_msg::set_has_command_key() {
|
|
|
+ _has_bits_[0] |= 0x00000001u;
|
|
|
}
|
|
|
-inline void Measure_response_msg::clear_has_command_id() {
|
|
|
- _has_bits_[0] &= ~0x00000008u;
|
|
|
+inline void Measure_response_msg::clear_has_command_key() {
|
|
|
+ _has_bits_[0] &= ~0x00000001u;
|
|
|
+}
|
|
|
+inline void Measure_response_msg::clear_command_key() {
|
|
|
+ command_key_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
|
+ clear_has_command_key();
|
|
|
}
|
|
|
-inline void Measure_response_msg::clear_command_id() {
|
|
|
- command_id_ = 0;
|
|
|
- clear_has_command_id();
|
|
|
+inline const ::std::string& Measure_response_msg::command_key() const {
|
|
|
+ // @@protoc_insertion_point(field_get:message.Measure_response_msg.command_key)
|
|
|
+ return command_key_.GetNoArena();
|
|
|
}
|
|
|
-inline ::google::protobuf::int32 Measure_response_msg::command_id() const {
|
|
|
- // @@protoc_insertion_point(field_get:message.Measure_response_msg.command_id)
|
|
|
- return command_id_;
|
|
|
+inline void Measure_response_msg::set_command_key(const ::std::string& value) {
|
|
|
+ set_has_command_key();
|
|
|
+ command_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
|
|
|
+ // @@protoc_insertion_point(field_set:message.Measure_response_msg.command_key)
|
|
|
}
|
|
|
-inline void Measure_response_msg::set_command_id(::google::protobuf::int32 value) {
|
|
|
- set_has_command_id();
|
|
|
- command_id_ = value;
|
|
|
- // @@protoc_insertion_point(field_set:message.Measure_response_msg.command_id)
|
|
|
+#if LANG_CXX11
|
|
|
+inline void Measure_response_msg::set_command_key(::std::string&& value) {
|
|
|
+ set_has_command_key();
|
|
|
+ command_key_.SetNoArena(
|
|
|
+ &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
|
|
|
+ // @@protoc_insertion_point(field_set_rvalue:message.Measure_response_msg.command_key)
|
|
|
+}
|
|
|
+#endif
|
|
|
+inline void Measure_response_msg::set_command_key(const char* value) {
|
|
|
+ GOOGLE_DCHECK(value != NULL);
|
|
|
+ set_has_command_key();
|
|
|
+ command_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
|
|
|
+ // @@protoc_insertion_point(field_set_char:message.Measure_response_msg.command_key)
|
|
|
+}
|
|
|
+inline void Measure_response_msg::set_command_key(const char* value, size_t size) {
|
|
|
+ set_has_command_key();
|
|
|
+ command_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
|
|
+ ::std::string(reinterpret_cast<const char*>(value), size));
|
|
|
+ // @@protoc_insertion_point(field_set_pointer:message.Measure_response_msg.command_key)
|
|
|
+}
|
|
|
+inline ::std::string* Measure_response_msg::mutable_command_key() {
|
|
|
+ set_has_command_key();
|
|
|
+ // @@protoc_insertion_point(field_mutable:message.Measure_response_msg.command_key)
|
|
|
+ return command_key_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
|
+}
|
|
|
+inline ::std::string* Measure_response_msg::release_command_key() {
|
|
|
+ // @@protoc_insertion_point(field_release:message.Measure_response_msg.command_key)
|
|
|
+ clear_has_command_key();
|
|
|
+ return command_key_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
|
+}
|
|
|
+inline void Measure_response_msg::set_allocated_command_key(::std::string* command_key) {
|
|
|
+ if (command_key != NULL) {
|
|
|
+ set_has_command_key();
|
|
|
+ } else {
|
|
|
+ clear_has_command_key();
|
|
|
+ }
|
|
|
+ command_key_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), command_key);
|
|
|
+ // @@protoc_insertion_point(field_set_allocated:message.Measure_response_msg.command_key)
|
|
|
}
|
|
|
|
|
|
// required int32 terminal_id = 3;
|
|
@@ -1048,13 +1176,13 @@ inline void Measure_response_msg::set_terminal_id(::google::protobuf::int32 valu
|
|
|
|
|
|
// optional .message.Locate_information locate_information = 4;
|
|
|
inline bool Measure_response_msg::has_locate_information() const {
|
|
|
- return (_has_bits_[0] & 0x00000002u) != 0;
|
|
|
+ return (_has_bits_[0] & 0x00000004u) != 0;
|
|
|
}
|
|
|
inline void Measure_response_msg::set_has_locate_information() {
|
|
|
- _has_bits_[0] |= 0x00000002u;
|
|
|
+ _has_bits_[0] |= 0x00000004u;
|
|
|
}
|
|
|
inline void Measure_response_msg::clear_has_locate_information() {
|
|
|
- _has_bits_[0] &= ~0x00000002u;
|
|
|
+ _has_bits_[0] &= ~0x00000004u;
|
|
|
}
|
|
|
inline const ::message::Locate_information& Measure_response_msg::locate_information() const {
|
|
|
const ::message::Locate_information* p = locate_information_;
|
|
@@ -1098,13 +1226,13 @@ inline void Measure_response_msg::set_allocated_locate_information(::message::Lo
|
|
|
|
|
|
// required .message.Error_manager error_manager = 5;
|
|
|
inline bool Measure_response_msg::has_error_manager() const {
|
|
|
- return (_has_bits_[0] & 0x00000004u) != 0;
|
|
|
+ return (_has_bits_[0] & 0x00000008u) != 0;
|
|
|
}
|
|
|
inline void Measure_response_msg::set_has_error_manager() {
|
|
|
- _has_bits_[0] |= 0x00000004u;
|
|
|
+ _has_bits_[0] |= 0x00000008u;
|
|
|
}
|
|
|
inline void Measure_response_msg::clear_has_error_manager() {
|
|
|
- _has_bits_[0] &= ~0x00000004u;
|
|
|
+ _has_bits_[0] &= ~0x00000008u;
|
|
|
}
|
|
|
inline const ::message::Error_manager& Measure_response_msg::error_manager() const {
|
|
|
const ::message::Error_manager* p = error_manager_;
|