|
@@ -8,12 +8,12 @@
|
|
|
#include <string>
|
|
|
|
|
|
#include <google/protobuf/port_def.inc>
|
|
|
-#if PROTOBUF_VERSION < 3013000
|
|
|
+#if PROTOBUF_VERSION < 3012000
|
|
|
#error This file was generated by a newer version of protoc which is
|
|
|
#error incompatible with your Protocol Buffer headers. Please update
|
|
|
#error your headers.
|
|
|
#endif
|
|
|
-#if 3013000 < PROTOBUF_MIN_PROTOC_VERSION
|
|
|
+#if 3012004 < PROTOBUF_MIN_PROTOC_VERSION
|
|
|
#error This file was generated by an older version of protoc which is
|
|
|
#error incompatible with your Protocol Buffer headers. Please
|
|
|
#error regenerate this file with a newer version of protoc.
|
|
@@ -45,7 +45,7 @@ PROTOBUF_NAMESPACE_CLOSE
|
|
|
struct TableStruct_ivgrpc_2eproto {
|
|
|
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
|
|
|
PROTOBUF_SECTION_VARIABLE(protodesc_cold);
|
|
|
- static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[]
|
|
|
+ static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[]
|
|
|
PROTOBUF_SECTION_VARIABLE(protodesc_cold);
|
|
|
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[5]
|
|
|
PROTOBUF_SECTION_VARIABLE(protodesc_cold);
|
|
@@ -85,7 +85,7 @@ namespace iv {
|
|
|
class ModuleMsg PROTOBUF_FINAL :
|
|
|
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:iv.ModuleMsg) */ {
|
|
|
public:
|
|
|
- inline ModuleMsg() : ModuleMsg(nullptr) {}
|
|
|
+ inline ModuleMsg() : ModuleMsg(nullptr) {};
|
|
|
virtual ~ModuleMsg();
|
|
|
|
|
|
ModuleMsg(const ModuleMsg& from);
|
|
@@ -125,6 +125,7 @@ class ModuleMsg PROTOBUF_FINAL :
|
|
|
}
|
|
|
static const ModuleMsg& default_instance();
|
|
|
|
|
|
+ static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
|
|
|
static inline const ModuleMsg* internal_default_instance() {
|
|
|
return reinterpret_cast<const ModuleMsg*>(
|
|
|
&_ModuleMsg_default_instance_);
|
|
@@ -220,6 +221,15 @@ class ModuleMsg PROTOBUF_FINAL :
|
|
|
std::string* mutable_msgname();
|
|
|
std::string* release_msgname();
|
|
|
void set_allocated_msgname(std::string* msgname);
|
|
|
+ GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
|
|
|
+ " string fields are deprecated and will be removed in a"
|
|
|
+ " future release.")
|
|
|
+ std::string* unsafe_arena_release_msgname();
|
|
|
+ GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
|
|
|
+ " string fields are deprecated and will be removed in a"
|
|
|
+ " future release.")
|
|
|
+ void unsafe_arena_set_allocated_msgname(
|
|
|
+ std::string* msgname);
|
|
|
private:
|
|
|
const std::string& _internal_msgname() const;
|
|
|
void _internal_set_msgname(const std::string& value);
|
|
@@ -240,6 +250,15 @@ class ModuleMsg PROTOBUF_FINAL :
|
|
|
std::string* mutable_xdata();
|
|
|
std::string* release_xdata();
|
|
|
void set_allocated_xdata(std::string* xdata);
|
|
|
+ GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
|
|
|
+ " string fields are deprecated and will be removed in a"
|
|
|
+ " future release.")
|
|
|
+ std::string* unsafe_arena_release_xdata();
|
|
|
+ GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
|
|
|
+ " string fields are deprecated and will be removed in a"
|
|
|
+ " future release.")
|
|
|
+ void unsafe_arena_set_allocated_xdata(
|
|
|
+ std::string* xdata);
|
|
|
private:
|
|
|
const std::string& _internal_xdata() const;
|
|
|
void _internal_set_xdata(const std::string& value);
|
|
@@ -292,7 +311,7 @@ class ModuleMsg PROTOBUF_FINAL :
|
|
|
class queryreq PROTOBUF_FINAL :
|
|
|
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:iv.queryreq) */ {
|
|
|
public:
|
|
|
- inline queryreq() : queryreq(nullptr) {}
|
|
|
+ inline queryreq() : queryreq(nullptr) {};
|
|
|
virtual ~queryreq();
|
|
|
|
|
|
queryreq(const queryreq& from);
|
|
@@ -332,6 +351,7 @@ class queryreq PROTOBUF_FINAL :
|
|
|
}
|
|
|
static const queryreq& default_instance();
|
|
|
|
|
|
+ static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
|
|
|
static inline const queryreq* internal_default_instance() {
|
|
|
return reinterpret_cast<const queryreq*>(
|
|
|
&_queryreq_default_instance_);
|
|
@@ -450,6 +470,15 @@ class queryreq PROTOBUF_FINAL :
|
|
|
std::string* mutable_strdevicename();
|
|
|
std::string* release_strdevicename();
|
|
|
void set_allocated_strdevicename(std::string* strdevicename);
|
|
|
+ GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
|
|
|
+ " string fields are deprecated and will be removed in a"
|
|
|
+ " future release.")
|
|
|
+ std::string* unsafe_arena_release_strdevicename();
|
|
|
+ GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
|
|
|
+ " string fields are deprecated and will be removed in a"
|
|
|
+ " future release.")
|
|
|
+ void unsafe_arena_set_allocated_strdevicename(
|
|
|
+ std::string* strdevicename);
|
|
|
private:
|
|
|
const std::string& _internal_strdevicename() const;
|
|
|
void _internal_set_strdevicename(const std::string& value);
|
|
@@ -488,7 +517,7 @@ class queryreq PROTOBUF_FINAL :
|
|
|
class queryReply PROTOBUF_FINAL :
|
|
|
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:iv.queryReply) */ {
|
|
|
public:
|
|
|
- inline queryReply() : queryReply(nullptr) {}
|
|
|
+ inline queryReply() : queryReply(nullptr) {};
|
|
|
virtual ~queryReply();
|
|
|
|
|
|
queryReply(const queryReply& from);
|
|
@@ -528,6 +557,7 @@ class queryReply PROTOBUF_FINAL :
|
|
|
}
|
|
|
static const queryReply& default_instance();
|
|
|
|
|
|
+ static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
|
|
|
static inline const queryReply* internal_default_instance() {
|
|
|
return reinterpret_cast<const queryReply*>(
|
|
|
&_queryReply_default_instance_);
|
|
@@ -656,7 +686,7 @@ class queryReply PROTOBUF_FINAL :
|
|
|
class ctrlreq PROTOBUF_FINAL :
|
|
|
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:iv.ctrlreq) */ {
|
|
|
public:
|
|
|
- inline ctrlreq() : ctrlreq(nullptr) {}
|
|
|
+ inline ctrlreq() : ctrlreq(nullptr) {};
|
|
|
virtual ~ctrlreq();
|
|
|
|
|
|
ctrlreq(const ctrlreq& from);
|
|
@@ -696,6 +726,7 @@ class ctrlreq PROTOBUF_FINAL :
|
|
|
}
|
|
|
static const ctrlreq& default_instance();
|
|
|
|
|
|
+ static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
|
|
|
static inline const ctrlreq* internal_default_instance() {
|
|
|
return reinterpret_cast<const ctrlreq*>(
|
|
|
&_ctrlreq_default_instance_);
|
|
@@ -808,6 +839,15 @@ class ctrlreq PROTOBUF_FINAL :
|
|
|
std::string* mutable_strdevicename();
|
|
|
std::string* release_strdevicename();
|
|
|
void set_allocated_strdevicename(std::string* strdevicename);
|
|
|
+ GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
|
|
|
+ " string fields are deprecated and will be removed in a"
|
|
|
+ " future release.")
|
|
|
+ std::string* unsafe_arena_release_strdevicename();
|
|
|
+ GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
|
|
|
+ " string fields are deprecated and will be removed in a"
|
|
|
+ " future release.")
|
|
|
+ void unsafe_arena_set_allocated_strdevicename(
|
|
|
+ std::string* strdevicename);
|
|
|
private:
|
|
|
const std::string& _internal_strdevicename() const;
|
|
|
void _internal_set_strdevicename(const std::string& value);
|
|
@@ -846,7 +886,7 @@ class ctrlreq PROTOBUF_FINAL :
|
|
|
class ctrlReply PROTOBUF_FINAL :
|
|
|
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:iv.ctrlReply) */ {
|
|
|
public:
|
|
|
- inline ctrlReply() : ctrlReply(nullptr) {}
|
|
|
+ inline ctrlReply() : ctrlReply(nullptr) {};
|
|
|
virtual ~ctrlReply();
|
|
|
|
|
|
ctrlReply(const ctrlReply& from);
|
|
@@ -886,6 +926,7 @@ class ctrlReply PROTOBUF_FINAL :
|
|
|
}
|
|
|
static const ctrlReply& default_instance();
|
|
|
|
|
|
+ static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
|
|
|
static inline const ctrlReply* internal_default_instance() {
|
|
|
return reinterpret_cast<const ctrlReply*>(
|
|
|
&_ctrlReply_default_instance_);
|
|
@@ -1073,6 +1114,25 @@ inline void ModuleMsg::set_allocated_msgname(std::string* msgname) {
|
|
|
GetArena());
|
|
|
// @@protoc_insertion_point(field_set_allocated:iv.ModuleMsg.msgname)
|
|
|
}
|
|
|
+inline std::string* ModuleMsg::unsafe_arena_release_msgname() {
|
|
|
+ // @@protoc_insertion_point(field_unsafe_arena_release:iv.ModuleMsg.msgname)
|
|
|
+ GOOGLE_DCHECK(GetArena() != nullptr);
|
|
|
+ _has_bits_[0] &= ~0x00000001u;
|
|
|
+ return msgname_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
|
|
|
+ GetArena());
|
|
|
+}
|
|
|
+inline void ModuleMsg::unsafe_arena_set_allocated_msgname(
|
|
|
+ std::string* msgname) {
|
|
|
+ GOOGLE_DCHECK(GetArena() != nullptr);
|
|
|
+ if (msgname != nullptr) {
|
|
|
+ _has_bits_[0] |= 0x00000001u;
|
|
|
+ } else {
|
|
|
+ _has_bits_[0] &= ~0x00000001u;
|
|
|
+ }
|
|
|
+ msgname_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
|
|
|
+ msgname, GetArena());
|
|
|
+ // @@protoc_insertion_point(field_unsafe_arena_set_allocated:iv.ModuleMsg.msgname)
|
|
|
+}
|
|
|
|
|
|
// optional int64 index = 2;
|
|
|
inline bool ModuleMsg::_internal_has_index() const {
|
|
@@ -1203,6 +1263,25 @@ inline void ModuleMsg::set_allocated_xdata(std::string* xdata) {
|
|
|
GetArena());
|
|
|
// @@protoc_insertion_point(field_set_allocated:iv.ModuleMsg.xdata)
|
|
|
}
|
|
|
+inline std::string* ModuleMsg::unsafe_arena_release_xdata() {
|
|
|
+ // @@protoc_insertion_point(field_unsafe_arena_release:iv.ModuleMsg.xdata)
|
|
|
+ GOOGLE_DCHECK(GetArena() != nullptr);
|
|
|
+ _has_bits_[0] &= ~0x00000002u;
|
|
|
+ return xdata_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
|
|
|
+ GetArena());
|
|
|
+}
|
|
|
+inline void ModuleMsg::unsafe_arena_set_allocated_xdata(
|
|
|
+ std::string* xdata) {
|
|
|
+ GOOGLE_DCHECK(GetArena() != nullptr);
|
|
|
+ if (xdata != nullptr) {
|
|
|
+ _has_bits_[0] |= 0x00000002u;
|
|
|
+ } else {
|
|
|
+ _has_bits_[0] &= ~0x00000002u;
|
|
|
+ }
|
|
|
+ xdata_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
|
|
|
+ xdata, GetArena());
|
|
|
+ // @@protoc_insertion_point(field_unsafe_arena_set_allocated:iv.ModuleMsg.xdata)
|
|
|
+}
|
|
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
|
@@ -1281,6 +1360,25 @@ inline void queryreq::set_allocated_strdevicename(std::string* strdevicename) {
|
|
|
GetArena());
|
|
|
// @@protoc_insertion_point(field_set_allocated:iv.queryreq.strdevicename)
|
|
|
}
|
|
|
+inline std::string* queryreq::unsafe_arena_release_strdevicename() {
|
|
|
+ // @@protoc_insertion_point(field_unsafe_arena_release:iv.queryreq.strdevicename)
|
|
|
+ GOOGLE_DCHECK(GetArena() != nullptr);
|
|
|
+ _has_bits_[0] &= ~0x00000001u;
|
|
|
+ return strdevicename_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
|
|
|
+ GetArena());
|
|
|
+}
|
|
|
+inline void queryreq::unsafe_arena_set_allocated_strdevicename(
|
|
|
+ std::string* strdevicename) {
|
|
|
+ GOOGLE_DCHECK(GetArena() != nullptr);
|
|
|
+ if (strdevicename != nullptr) {
|
|
|
+ _has_bits_[0] |= 0x00000001u;
|
|
|
+ } else {
|
|
|
+ _has_bits_[0] &= ~0x00000001u;
|
|
|
+ }
|
|
|
+ strdevicename_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
|
|
|
+ strdevicename, GetArena());
|
|
|
+ // @@protoc_insertion_point(field_unsafe_arena_set_allocated:iv.queryreq.strdevicename)
|
|
|
+}
|
|
|
|
|
|
// repeated string strmsgname = 2;
|
|
|
inline int queryreq::_internal_strmsgname_size() const {
|
|
@@ -1532,6 +1630,25 @@ inline void ctrlreq::set_allocated_strdevicename(std::string* strdevicename) {
|
|
|
GetArena());
|
|
|
// @@protoc_insertion_point(field_set_allocated:iv.ctrlreq.strdevicename)
|
|
|
}
|
|
|
+inline std::string* ctrlreq::unsafe_arena_release_strdevicename() {
|
|
|
+ // @@protoc_insertion_point(field_unsafe_arena_release:iv.ctrlreq.strdevicename)
|
|
|
+ GOOGLE_DCHECK(GetArena() != nullptr);
|
|
|
+ _has_bits_[0] &= ~0x00000001u;
|
|
|
+ return strdevicename_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
|
|
|
+ GetArena());
|
|
|
+}
|
|
|
+inline void ctrlreq::unsafe_arena_set_allocated_strdevicename(
|
|
|
+ std::string* strdevicename) {
|
|
|
+ GOOGLE_DCHECK(GetArena() != nullptr);
|
|
|
+ if (strdevicename != nullptr) {
|
|
|
+ _has_bits_[0] |= 0x00000001u;
|
|
|
+ } else {
|
|
|
+ _has_bits_[0] &= ~0x00000001u;
|
|
|
+ }
|
|
|
+ strdevicename_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
|
|
|
+ strdevicename, GetArena());
|
|
|
+ // @@protoc_insertion_point(field_unsafe_arena_set_allocated:iv.ctrlreq.strdevicename)
|
|
|
+}
|
|
|
|
|
|
// repeated .iv.ModuleMsg msg = 2;
|
|
|
inline int ctrlreq::_internal_msg_size() const {
|