device-c.pb.cc 55 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404
  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // NO CHECKED-IN PROTOBUF GENCODE
  3. // source: device/v3/device-c.proto
  4. // Protobuf C++ Version: 5.27.1
  5. #include "device/v3/device-c.pb.h"
  6. #include <algorithm>
  7. #include <type_traits>
  8. #include "google/protobuf/io/coded_stream.h"
  9. #include "google/protobuf/generated_message_tctable_impl.h"
  10. #include "google/protobuf/extension_set.h"
  11. #include "google/protobuf/wire_format_lite.h"
  12. #include "google/protobuf/descriptor.h"
  13. #include "google/protobuf/generated_message_reflection.h"
  14. #include "google/protobuf/reflection_ops.h"
  15. #include "google/protobuf/wire_format.h"
  16. // @@protoc_insertion_point(includes)
  17. // Must be included last.
  18. #include "google/protobuf/port_def.inc"
  19. PROTOBUF_PRAGMA_INIT_SEG
  20. namespace _pb = ::google::protobuf;
  21. namespace _pbi = ::google::protobuf::internal;
  22. namespace _fl = ::google::protobuf::internal::field_layout;
  23. namespace Device {
  24. namespace V3 {
  25. inline constexpr OpenRequest::Impl_::Impl_(
  26. ::_pbi::ConstantInitialized) noexcept
  27. : deviceuri_(
  28. &::google::protobuf::internal::fixed_address_empty_string,
  29. ::_pbi::ConstantInitialized()),
  30. devicegroup_(
  31. &::google::protobuf::internal::fixed_address_empty_string,
  32. ::_pbi::ConstantInitialized()),
  33. _cached_size_{0} {}
  34. template <typename>
  35. PROTOBUF_CONSTEXPR OpenRequest::OpenRequest(::_pbi::ConstantInitialized)
  36. : _impl_(::_pbi::ConstantInitialized()) {}
  37. struct OpenRequestDefaultTypeInternal {
  38. PROTOBUF_CONSTEXPR OpenRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  39. ~OpenRequestDefaultTypeInternal() {}
  40. union {
  41. OpenRequest _instance;
  42. };
  43. };
  44. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  45. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 OpenRequestDefaultTypeInternal _OpenRequest_default_instance_;
  46. inline constexpr OpenReply::Impl_::Impl_(
  47. ::_pbi::ConstantInitialized) noexcept
  48. : message_(
  49. &::google::protobuf::internal::fixed_address_empty_string,
  50. ::_pbi::ConstantInitialized()),
  51. retcode_(
  52. &::google::protobuf::internal::fixed_address_empty_string,
  53. ::_pbi::ConstantInitialized()),
  54. retcontext_(
  55. &::google::protobuf::internal::fixed_address_empty_string,
  56. ::_pbi::ConstantInitialized()),
  57. _cached_size_{0} {}
  58. template <typename>
  59. PROTOBUF_CONSTEXPR OpenReply::OpenReply(::_pbi::ConstantInitialized)
  60. : _impl_(::_pbi::ConstantInitialized()) {}
  61. struct OpenReplyDefaultTypeInternal {
  62. PROTOBUF_CONSTEXPR OpenReplyDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  63. ~OpenReplyDefaultTypeInternal() {}
  64. union {
  65. OpenReply _instance;
  66. };
  67. };
  68. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  69. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 OpenReplyDefaultTypeInternal _OpenReply_default_instance_;
  70. inline constexpr DoResponse::Impl_::Impl_(
  71. ::_pbi::ConstantInitialized) noexcept
  72. : deviceuri_(
  73. &::google::protobuf::internal::fixed_address_empty_string,
  74. ::_pbi::ConstantInitialized()),
  75. retcode_(
  76. &::google::protobuf::internal::fixed_address_empty_string,
  77. ::_pbi::ConstantInitialized()),
  78. reqname_(
  79. &::google::protobuf::internal::fixed_address_empty_string,
  80. ::_pbi::ConstantInitialized()),
  81. respresult_(
  82. &::google::protobuf::internal::fixed_address_empty_string,
  83. ::_pbi::ConstantInitialized()),
  84. reqtransaction_(
  85. &::google::protobuf::internal::fixed_address_empty_string,
  86. ::_pbi::ConstantInitialized()),
  87. retcontext_(
  88. &::google::protobuf::internal::fixed_address_empty_string,
  89. ::_pbi::ConstantInitialized()),
  90. _cached_size_{0} {}
  91. template <typename>
  92. PROTOBUF_CONSTEXPR DoResponse::DoResponse(::_pbi::ConstantInitialized)
  93. : _impl_(::_pbi::ConstantInitialized()) {}
  94. struct DoResponseDefaultTypeInternal {
  95. PROTOBUF_CONSTEXPR DoResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  96. ~DoResponseDefaultTypeInternal() {}
  97. union {
  98. DoResponse _instance;
  99. };
  100. };
  101. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  102. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DoResponseDefaultTypeInternal _DoResponse_default_instance_;
  103. inline constexpr DoRequest::Impl_::Impl_(
  104. ::_pbi::ConstantInitialized) noexcept
  105. : deviceuri_(
  106. &::google::protobuf::internal::fixed_address_empty_string,
  107. ::_pbi::ConstantInitialized()),
  108. reqname_(
  109. &::google::protobuf::internal::fixed_address_empty_string,
  110. ::_pbi::ConstantInitialized()),
  111. reqparam_(
  112. &::google::protobuf::internal::fixed_address_empty_string,
  113. ::_pbi::ConstantInitialized()),
  114. reqtransaction_(
  115. &::google::protobuf::internal::fixed_address_empty_string,
  116. ::_pbi::ConstantInitialized()),
  117. reqclientid_(
  118. &::google::protobuf::internal::fixed_address_empty_string,
  119. ::_pbi::ConstantInitialized()),
  120. _cached_size_{0} {}
  121. template <typename>
  122. PROTOBUF_CONSTEXPR DoRequest::DoRequest(::_pbi::ConstantInitialized)
  123. : _impl_(::_pbi::ConstantInitialized()) {}
  124. struct DoRequestDefaultTypeInternal {
  125. PROTOBUF_CONSTEXPR DoRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  126. ~DoRequestDefaultTypeInternal() {}
  127. union {
  128. DoRequest _instance;
  129. };
  130. };
  131. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  132. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DoRequestDefaultTypeInternal _DoRequest_default_instance_;
  133. } // namespace V3
  134. } // namespace Device
  135. static constexpr const ::_pb::EnumDescriptor**
  136. file_level_enum_descriptors_device_2fv3_2fdevice_2dc_2eproto = nullptr;
  137. static constexpr const ::_pb::ServiceDescriptor**
  138. file_level_service_descriptors_device_2fv3_2fdevice_2dc_2eproto = nullptr;
  139. const ::uint32_t
  140. TableStruct_device_2fv3_2fdevice_2dc_2eproto::offsets[] ABSL_ATTRIBUTE_SECTION_VARIABLE(
  141. protodesc_cold) = {
  142. ~0u, // no _has_bits_
  143. PROTOBUF_FIELD_OFFSET(::Device::V3::OpenRequest, _internal_metadata_),
  144. ~0u, // no _extensions_
  145. ~0u, // no _oneof_case_
  146. ~0u, // no _weak_field_map_
  147. ~0u, // no _inlined_string_donated_
  148. ~0u, // no _split_
  149. ~0u, // no sizeof(Split)
  150. PROTOBUF_FIELD_OFFSET(::Device::V3::OpenRequest, _impl_.deviceuri_),
  151. PROTOBUF_FIELD_OFFSET(::Device::V3::OpenRequest, _impl_.devicegroup_),
  152. ~0u, // no _has_bits_
  153. PROTOBUF_FIELD_OFFSET(::Device::V3::OpenReply, _internal_metadata_),
  154. ~0u, // no _extensions_
  155. ~0u, // no _oneof_case_
  156. ~0u, // no _weak_field_map_
  157. ~0u, // no _inlined_string_donated_
  158. ~0u, // no _split_
  159. ~0u, // no sizeof(Split)
  160. PROTOBUF_FIELD_OFFSET(::Device::V3::OpenReply, _impl_.message_),
  161. PROTOBUF_FIELD_OFFSET(::Device::V3::OpenReply, _impl_.retcode_),
  162. PROTOBUF_FIELD_OFFSET(::Device::V3::OpenReply, _impl_.retcontext_),
  163. ~0u, // no _has_bits_
  164. PROTOBUF_FIELD_OFFSET(::Device::V3::DoRequest, _internal_metadata_),
  165. ~0u, // no _extensions_
  166. ~0u, // no _oneof_case_
  167. ~0u, // no _weak_field_map_
  168. ~0u, // no _inlined_string_donated_
  169. ~0u, // no _split_
  170. ~0u, // no sizeof(Split)
  171. PROTOBUF_FIELD_OFFSET(::Device::V3::DoRequest, _impl_.deviceuri_),
  172. PROTOBUF_FIELD_OFFSET(::Device::V3::DoRequest, _impl_.reqname_),
  173. PROTOBUF_FIELD_OFFSET(::Device::V3::DoRequest, _impl_.reqparam_),
  174. PROTOBUF_FIELD_OFFSET(::Device::V3::DoRequest, _impl_.reqtransaction_),
  175. PROTOBUF_FIELD_OFFSET(::Device::V3::DoRequest, _impl_.reqclientid_),
  176. ~0u, // no _has_bits_
  177. PROTOBUF_FIELD_OFFSET(::Device::V3::DoResponse, _internal_metadata_),
  178. ~0u, // no _extensions_
  179. ~0u, // no _oneof_case_
  180. ~0u, // no _weak_field_map_
  181. ~0u, // no _inlined_string_donated_
  182. ~0u, // no _split_
  183. ~0u, // no sizeof(Split)
  184. PROTOBUF_FIELD_OFFSET(::Device::V3::DoResponse, _impl_.deviceuri_),
  185. PROTOBUF_FIELD_OFFSET(::Device::V3::DoResponse, _impl_.retcode_),
  186. PROTOBUF_FIELD_OFFSET(::Device::V3::DoResponse, _impl_.reqname_),
  187. PROTOBUF_FIELD_OFFSET(::Device::V3::DoResponse, _impl_.respresult_),
  188. PROTOBUF_FIELD_OFFSET(::Device::V3::DoResponse, _impl_.reqtransaction_),
  189. PROTOBUF_FIELD_OFFSET(::Device::V3::DoResponse, _impl_.retcontext_),
  190. };
  191. static const ::_pbi::MigrationSchema
  192. schemas[] ABSL_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
  193. {0, -1, -1, sizeof(::Device::V3::OpenRequest)},
  194. {10, -1, -1, sizeof(::Device::V3::OpenReply)},
  195. {21, -1, -1, sizeof(::Device::V3::DoRequest)},
  196. {34, -1, -1, sizeof(::Device::V3::DoResponse)},
  197. };
  198. static const ::_pb::Message* const file_default_instances[] = {
  199. &::Device::V3::_OpenRequest_default_instance_._instance,
  200. &::Device::V3::_OpenReply_default_instance_._instance,
  201. &::Device::V3::_DoRequest_default_instance_._instance,
  202. &::Device::V3::_DoResponse_default_instance_._instance,
  203. };
  204. const char descriptor_table_protodef_device_2fv3_2fdevice_2dc_2eproto[] ABSL_ATTRIBUTE_SECTION_VARIABLE(
  205. protodesc_cold) = {
  206. "\n\030device/v3/device-c.proto\022\tDevice.V3\"5\n"
  207. "\013OpenRequest\022\021\n\tdeviceUri\030\001 \001(\t\022\023\n\013devic"
  208. "eGroup\030\002 \001(\t\"A\n\tOpenReply\022\017\n\007message\030\001 \001"
  209. "(\t\022\017\n\007retCode\030\002 \001(\t\022\022\n\nretContext\030\003 \001(\t\""
  210. "n\n\tDoRequest\022\021\n\tdeviceUri\030\001 \001(\t\022\017\n\007reqNa"
  211. "me\030\002 \001(\t\022\020\n\010reqParam\030\003 \001(\t\022\026\n\016reqTransac"
  212. "tion\030\004 \001(\t\022\023\n\013reqClientID\030\005 \001(\t\"\201\001\n\nDoRe"
  213. "sponse\022\021\n\tdeviceUri\030\001 \001(\t\022\017\n\007retCode\030\002 \001"
  214. "(\t\022\017\n\007reqName\030\003 \001(\t\022\022\n\nrespResult\030\004 \001(\t\022"
  215. "\026\n\016reqTransaction\030\005 \001(\t\022\022\n\nretContext\030\006 "
  216. "\001(\t2\375\003\n\006Device\0226\n\004Open\022\026.Device.V3.OpenR"
  217. "equest\032\024.Device.V3.OpenReply\"\000\0227\n\005Close\022"
  218. "\026.Device.V3.OpenRequest\032\024.Device.V3.Open"
  219. "Reply\"\000\0224\n\003Get\022\024.Device.V3.DoRequest\032\025.D"
  220. "evice.V3.DoResponse\"\000\0224\n\003Set\022\024.Device.V3"
  221. ".DoRequest\032\025.Device.V3.DoResponse\"\000\0227\n\006U"
  222. "pdate\022\024.Device.V3.DoRequest\032\025.Device.V3."
  223. "DoResponse\"\000\0224\n\003Add\022\024.Device.V3.DoReques"
  224. "t\032\025.Device.V3.DoResponse\"\000\0224\n\003Del\022\024.Devi"
  225. "ce.V3.DoRequest\032\025.Device.V3.DoResponse\"\000"
  226. "\0227\n\006Action\022\024.Device.V3.DoRequest\032\025.Devic"
  227. "e.V3.DoResponse\"\000\0228\n\007Message\022\024.Device.V3"
  228. ".DoRequest\032\025.Device.V3.DoResponse\"\000b\006pro"
  229. "to3"
  230. };
  231. static ::absl::once_flag descriptor_table_device_2fv3_2fdevice_2dc_2eproto_once;
  232. PROTOBUF_CONSTINIT const ::_pbi::DescriptorTable descriptor_table_device_2fv3_2fdevice_2dc_2eproto = {
  233. false,
  234. false,
  235. 923,
  236. descriptor_table_protodef_device_2fv3_2fdevice_2dc_2eproto,
  237. "device/v3/device-c.proto",
  238. &descriptor_table_device_2fv3_2fdevice_2dc_2eproto_once,
  239. nullptr,
  240. 0,
  241. 4,
  242. schemas,
  243. file_default_instances,
  244. TableStruct_device_2fv3_2fdevice_2dc_2eproto::offsets,
  245. file_level_enum_descriptors_device_2fv3_2fdevice_2dc_2eproto,
  246. file_level_service_descriptors_device_2fv3_2fdevice_2dc_2eproto,
  247. };
  248. namespace Device {
  249. namespace V3 {
  250. // ===================================================================
  251. class OpenRequest::_Internal {
  252. public:
  253. };
  254. OpenRequest::OpenRequest(::google::protobuf::Arena* arena)
  255. : ::google::protobuf::Message(arena) {
  256. SharedCtor(arena);
  257. // @@protoc_insertion_point(arena_constructor:Device.V3.OpenRequest)
  258. }
  259. inline PROTOBUF_NDEBUG_INLINE OpenRequest::Impl_::Impl_(
  260. ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena,
  261. const Impl_& from, const ::Device::V3::OpenRequest& from_msg)
  262. : deviceuri_(arena, from.deviceuri_),
  263. devicegroup_(arena, from.devicegroup_),
  264. _cached_size_{0} {}
  265. OpenRequest::OpenRequest(
  266. ::google::protobuf::Arena* arena,
  267. const OpenRequest& from)
  268. : ::google::protobuf::Message(arena) {
  269. OpenRequest* const _this = this;
  270. (void)_this;
  271. _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
  272. from._internal_metadata_);
  273. new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
  274. // @@protoc_insertion_point(copy_constructor:Device.V3.OpenRequest)
  275. }
  276. inline PROTOBUF_NDEBUG_INLINE OpenRequest::Impl_::Impl_(
  277. ::google::protobuf::internal::InternalVisibility visibility,
  278. ::google::protobuf::Arena* arena)
  279. : deviceuri_(arena),
  280. devicegroup_(arena),
  281. _cached_size_{0} {}
  282. inline void OpenRequest::SharedCtor(::_pb::Arena* arena) {
  283. new (&_impl_) Impl_(internal_visibility(), arena);
  284. }
  285. OpenRequest::~OpenRequest() {
  286. // @@protoc_insertion_point(destructor:Device.V3.OpenRequest)
  287. _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
  288. SharedDtor();
  289. }
  290. inline void OpenRequest::SharedDtor() {
  291. ABSL_DCHECK(GetArena() == nullptr);
  292. _impl_.deviceuri_.Destroy();
  293. _impl_.devicegroup_.Destroy();
  294. _impl_.~Impl_();
  295. }
  296. const ::google::protobuf::MessageLite::ClassData*
  297. OpenRequest::GetClassData() const {
  298. PROTOBUF_CONSTINIT static const ::google::protobuf::MessageLite::
  299. ClassDataFull _data_ = {
  300. {
  301. &_table_.header,
  302. nullptr, // OnDemandRegisterArenaDtor
  303. nullptr, // IsInitialized
  304. PROTOBUF_FIELD_OFFSET(OpenRequest, _impl_._cached_size_),
  305. false,
  306. },
  307. &OpenRequest::MergeImpl,
  308. &OpenRequest::kDescriptorMethods,
  309. &descriptor_table_device_2fv3_2fdevice_2dc_2eproto,
  310. nullptr, // tracker
  311. };
  312. ::google::protobuf::internal::PrefetchToLocalCache(&_data_);
  313. ::google::protobuf::internal::PrefetchToLocalCache(_data_.tc_table);
  314. return _data_.base();
  315. }
  316. PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
  317. const ::_pbi::TcParseTable<1, 2, 0, 50, 2> OpenRequest::_table_ = {
  318. {
  319. 0, // no _has_bits_
  320. 0, // no _extensions_
  321. 2, 8, // max_field_number, fast_idx_mask
  322. offsetof(decltype(_table_), field_lookup_table),
  323. 4294967292, // skipmap
  324. offsetof(decltype(_table_), field_entries),
  325. 2, // num_field_entries
  326. 0, // num_aux_entries
  327. offsetof(decltype(_table_), field_names), // no aux_entries
  328. &_OpenRequest_default_instance_._instance,
  329. nullptr, // post_loop_handler
  330. ::_pbi::TcParser::GenericFallback, // fallback
  331. #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
  332. ::_pbi::TcParser::GetTable<::Device::V3::OpenRequest>(), // to_prefetch
  333. #endif // PROTOBUF_PREFETCH_PARSE_TABLE
  334. }, {{
  335. // string deviceGroup = 2;
  336. {::_pbi::TcParser::FastUS1,
  337. {18, 63, 0, PROTOBUF_FIELD_OFFSET(OpenRequest, _impl_.devicegroup_)}},
  338. // string deviceUri = 1;
  339. {::_pbi::TcParser::FastUS1,
  340. {10, 63, 0, PROTOBUF_FIELD_OFFSET(OpenRequest, _impl_.deviceuri_)}},
  341. }}, {{
  342. 65535, 65535
  343. }}, {{
  344. // string deviceUri = 1;
  345. {PROTOBUF_FIELD_OFFSET(OpenRequest, _impl_.deviceuri_), 0, 0,
  346. (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)},
  347. // string deviceGroup = 2;
  348. {PROTOBUF_FIELD_OFFSET(OpenRequest, _impl_.devicegroup_), 0, 0,
  349. (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)},
  350. }},
  351. // no aux_entries
  352. {{
  353. "\25\11\13\0\0\0\0\0"
  354. "Device.V3.OpenRequest"
  355. "deviceUri"
  356. "deviceGroup"
  357. }},
  358. };
  359. PROTOBUF_NOINLINE void OpenRequest::Clear() {
  360. // @@protoc_insertion_point(message_clear_start:Device.V3.OpenRequest)
  361. ::google::protobuf::internal::TSanWrite(&_impl_);
  362. ::uint32_t cached_has_bits = 0;
  363. // Prevent compiler warnings about cached_has_bits being unused
  364. (void) cached_has_bits;
  365. _impl_.deviceuri_.ClearToEmpty();
  366. _impl_.devicegroup_.ClearToEmpty();
  367. _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
  368. }
  369. ::uint8_t* OpenRequest::_InternalSerialize(
  370. ::uint8_t* target,
  371. ::google::protobuf::io::EpsCopyOutputStream* stream) const {
  372. // @@protoc_insertion_point(serialize_to_array_start:Device.V3.OpenRequest)
  373. ::uint32_t cached_has_bits = 0;
  374. (void)cached_has_bits;
  375. // string deviceUri = 1;
  376. if (!this->_internal_deviceuri().empty()) {
  377. const std::string& _s = this->_internal_deviceuri();
  378. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  379. _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "Device.V3.OpenRequest.deviceUri");
  380. target = stream->WriteStringMaybeAliased(1, _s, target);
  381. }
  382. // string deviceGroup = 2;
  383. if (!this->_internal_devicegroup().empty()) {
  384. const std::string& _s = this->_internal_devicegroup();
  385. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  386. _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "Device.V3.OpenRequest.deviceGroup");
  387. target = stream->WriteStringMaybeAliased(2, _s, target);
  388. }
  389. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  390. target =
  391. ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
  392. _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
  393. }
  394. // @@protoc_insertion_point(serialize_to_array_end:Device.V3.OpenRequest)
  395. return target;
  396. }
  397. ::size_t OpenRequest::ByteSizeLong() const {
  398. // @@protoc_insertion_point(message_byte_size_start:Device.V3.OpenRequest)
  399. ::size_t total_size = 0;
  400. ::uint32_t cached_has_bits = 0;
  401. // Prevent compiler warnings about cached_has_bits being unused
  402. (void) cached_has_bits;
  403. ::_pbi::Prefetch5LinesFrom7Lines(reinterpret_cast<const void*>(this));
  404. // string deviceUri = 1;
  405. if (!this->_internal_deviceuri().empty()) {
  406. total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
  407. this->_internal_deviceuri());
  408. }
  409. // string deviceGroup = 2;
  410. if (!this->_internal_devicegroup().empty()) {
  411. total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
  412. this->_internal_devicegroup());
  413. }
  414. return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
  415. }
  416. void OpenRequest::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
  417. auto* const _this = static_cast<OpenRequest*>(&to_msg);
  418. auto& from = static_cast<const OpenRequest&>(from_msg);
  419. // @@protoc_insertion_point(class_specific_merge_from_start:Device.V3.OpenRequest)
  420. ABSL_DCHECK_NE(&from, _this);
  421. ::uint32_t cached_has_bits = 0;
  422. (void) cached_has_bits;
  423. if (!from._internal_deviceuri().empty()) {
  424. _this->_internal_set_deviceuri(from._internal_deviceuri());
  425. }
  426. if (!from._internal_devicegroup().empty()) {
  427. _this->_internal_set_devicegroup(from._internal_devicegroup());
  428. }
  429. _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
  430. }
  431. void OpenRequest::CopyFrom(const OpenRequest& from) {
  432. // @@protoc_insertion_point(class_specific_copy_from_start:Device.V3.OpenRequest)
  433. if (&from == this) return;
  434. Clear();
  435. MergeFrom(from);
  436. }
  437. void OpenRequest::InternalSwap(OpenRequest* PROTOBUF_RESTRICT other) {
  438. using std::swap;
  439. auto* arena = GetArena();
  440. ABSL_DCHECK_EQ(arena, other->GetArena());
  441. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  442. ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.deviceuri_, &other->_impl_.deviceuri_, arena);
  443. ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.devicegroup_, &other->_impl_.devicegroup_, arena);
  444. }
  445. ::google::protobuf::Metadata OpenRequest::GetMetadata() const {
  446. return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
  447. }
  448. // ===================================================================
  449. class OpenReply::_Internal {
  450. public:
  451. };
  452. OpenReply::OpenReply(::google::protobuf::Arena* arena)
  453. : ::google::protobuf::Message(arena) {
  454. SharedCtor(arena);
  455. // @@protoc_insertion_point(arena_constructor:Device.V3.OpenReply)
  456. }
  457. inline PROTOBUF_NDEBUG_INLINE OpenReply::Impl_::Impl_(
  458. ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena,
  459. const Impl_& from, const ::Device::V3::OpenReply& from_msg)
  460. : message_(arena, from.message_),
  461. retcode_(arena, from.retcode_),
  462. retcontext_(arena, from.retcontext_),
  463. _cached_size_{0} {}
  464. OpenReply::OpenReply(
  465. ::google::protobuf::Arena* arena,
  466. const OpenReply& from)
  467. : ::google::protobuf::Message(arena) {
  468. OpenReply* const _this = this;
  469. (void)_this;
  470. _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
  471. from._internal_metadata_);
  472. new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
  473. // @@protoc_insertion_point(copy_constructor:Device.V3.OpenReply)
  474. }
  475. inline PROTOBUF_NDEBUG_INLINE OpenReply::Impl_::Impl_(
  476. ::google::protobuf::internal::InternalVisibility visibility,
  477. ::google::protobuf::Arena* arena)
  478. : message_(arena),
  479. retcode_(arena),
  480. retcontext_(arena),
  481. _cached_size_{0} {}
  482. inline void OpenReply::SharedCtor(::_pb::Arena* arena) {
  483. new (&_impl_) Impl_(internal_visibility(), arena);
  484. }
  485. OpenReply::~OpenReply() {
  486. // @@protoc_insertion_point(destructor:Device.V3.OpenReply)
  487. _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
  488. SharedDtor();
  489. }
  490. inline void OpenReply::SharedDtor() {
  491. ABSL_DCHECK(GetArena() == nullptr);
  492. _impl_.message_.Destroy();
  493. _impl_.retcode_.Destroy();
  494. _impl_.retcontext_.Destroy();
  495. _impl_.~Impl_();
  496. }
  497. const ::google::protobuf::MessageLite::ClassData*
  498. OpenReply::GetClassData() const {
  499. PROTOBUF_CONSTINIT static const ::google::protobuf::MessageLite::
  500. ClassDataFull _data_ = {
  501. {
  502. &_table_.header,
  503. nullptr, // OnDemandRegisterArenaDtor
  504. nullptr, // IsInitialized
  505. PROTOBUF_FIELD_OFFSET(OpenReply, _impl_._cached_size_),
  506. false,
  507. },
  508. &OpenReply::MergeImpl,
  509. &OpenReply::kDescriptorMethods,
  510. &descriptor_table_device_2fv3_2fdevice_2dc_2eproto,
  511. nullptr, // tracker
  512. };
  513. ::google::protobuf::internal::PrefetchToLocalCache(&_data_);
  514. ::google::protobuf::internal::PrefetchToLocalCache(_data_.tc_table);
  515. return _data_.base();
  516. }
  517. PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
  518. const ::_pbi::TcParseTable<2, 3, 0, 52, 2> OpenReply::_table_ = {
  519. {
  520. 0, // no _has_bits_
  521. 0, // no _extensions_
  522. 3, 24, // max_field_number, fast_idx_mask
  523. offsetof(decltype(_table_), field_lookup_table),
  524. 4294967288, // skipmap
  525. offsetof(decltype(_table_), field_entries),
  526. 3, // num_field_entries
  527. 0, // num_aux_entries
  528. offsetof(decltype(_table_), field_names), // no aux_entries
  529. &_OpenReply_default_instance_._instance,
  530. nullptr, // post_loop_handler
  531. ::_pbi::TcParser::GenericFallback, // fallback
  532. #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
  533. ::_pbi::TcParser::GetTable<::Device::V3::OpenReply>(), // to_prefetch
  534. #endif // PROTOBUF_PREFETCH_PARSE_TABLE
  535. }, {{
  536. {::_pbi::TcParser::MiniParse, {}},
  537. // string message = 1;
  538. {::_pbi::TcParser::FastUS1,
  539. {10, 63, 0, PROTOBUF_FIELD_OFFSET(OpenReply, _impl_.message_)}},
  540. // string retCode = 2;
  541. {::_pbi::TcParser::FastUS1,
  542. {18, 63, 0, PROTOBUF_FIELD_OFFSET(OpenReply, _impl_.retcode_)}},
  543. // string retContext = 3;
  544. {::_pbi::TcParser::FastUS1,
  545. {26, 63, 0, PROTOBUF_FIELD_OFFSET(OpenReply, _impl_.retcontext_)}},
  546. }}, {{
  547. 65535, 65535
  548. }}, {{
  549. // string message = 1;
  550. {PROTOBUF_FIELD_OFFSET(OpenReply, _impl_.message_), 0, 0,
  551. (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)},
  552. // string retCode = 2;
  553. {PROTOBUF_FIELD_OFFSET(OpenReply, _impl_.retcode_), 0, 0,
  554. (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)},
  555. // string retContext = 3;
  556. {PROTOBUF_FIELD_OFFSET(OpenReply, _impl_.retcontext_), 0, 0,
  557. (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)},
  558. }},
  559. // no aux_entries
  560. {{
  561. "\23\7\7\12\0\0\0\0"
  562. "Device.V3.OpenReply"
  563. "message"
  564. "retCode"
  565. "retContext"
  566. }},
  567. };
  568. PROTOBUF_NOINLINE void OpenReply::Clear() {
  569. // @@protoc_insertion_point(message_clear_start:Device.V3.OpenReply)
  570. ::google::protobuf::internal::TSanWrite(&_impl_);
  571. ::uint32_t cached_has_bits = 0;
  572. // Prevent compiler warnings about cached_has_bits being unused
  573. (void) cached_has_bits;
  574. _impl_.message_.ClearToEmpty();
  575. _impl_.retcode_.ClearToEmpty();
  576. _impl_.retcontext_.ClearToEmpty();
  577. _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
  578. }
  579. ::uint8_t* OpenReply::_InternalSerialize(
  580. ::uint8_t* target,
  581. ::google::protobuf::io::EpsCopyOutputStream* stream) const {
  582. // @@protoc_insertion_point(serialize_to_array_start:Device.V3.OpenReply)
  583. ::uint32_t cached_has_bits = 0;
  584. (void)cached_has_bits;
  585. // string message = 1;
  586. if (!this->_internal_message().empty()) {
  587. const std::string& _s = this->_internal_message();
  588. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  589. _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "Device.V3.OpenReply.message");
  590. target = stream->WriteStringMaybeAliased(1, _s, target);
  591. }
  592. // string retCode = 2;
  593. if (!this->_internal_retcode().empty()) {
  594. const std::string& _s = this->_internal_retcode();
  595. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  596. _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "Device.V3.OpenReply.retCode");
  597. target = stream->WriteStringMaybeAliased(2, _s, target);
  598. }
  599. // string retContext = 3;
  600. if (!this->_internal_retcontext().empty()) {
  601. const std::string& _s = this->_internal_retcontext();
  602. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  603. _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "Device.V3.OpenReply.retContext");
  604. target = stream->WriteStringMaybeAliased(3, _s, target);
  605. }
  606. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  607. target =
  608. ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
  609. _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
  610. }
  611. // @@protoc_insertion_point(serialize_to_array_end:Device.V3.OpenReply)
  612. return target;
  613. }
  614. ::size_t OpenReply::ByteSizeLong() const {
  615. // @@protoc_insertion_point(message_byte_size_start:Device.V3.OpenReply)
  616. ::size_t total_size = 0;
  617. ::uint32_t cached_has_bits = 0;
  618. // Prevent compiler warnings about cached_has_bits being unused
  619. (void) cached_has_bits;
  620. ::_pbi::Prefetch5LinesFrom7Lines(reinterpret_cast<const void*>(this));
  621. // string message = 1;
  622. if (!this->_internal_message().empty()) {
  623. total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
  624. this->_internal_message());
  625. }
  626. // string retCode = 2;
  627. if (!this->_internal_retcode().empty()) {
  628. total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
  629. this->_internal_retcode());
  630. }
  631. // string retContext = 3;
  632. if (!this->_internal_retcontext().empty()) {
  633. total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
  634. this->_internal_retcontext());
  635. }
  636. return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
  637. }
  638. void OpenReply::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
  639. auto* const _this = static_cast<OpenReply*>(&to_msg);
  640. auto& from = static_cast<const OpenReply&>(from_msg);
  641. // @@protoc_insertion_point(class_specific_merge_from_start:Device.V3.OpenReply)
  642. ABSL_DCHECK_NE(&from, _this);
  643. ::uint32_t cached_has_bits = 0;
  644. (void) cached_has_bits;
  645. if (!from._internal_message().empty()) {
  646. _this->_internal_set_message(from._internal_message());
  647. }
  648. if (!from._internal_retcode().empty()) {
  649. _this->_internal_set_retcode(from._internal_retcode());
  650. }
  651. if (!from._internal_retcontext().empty()) {
  652. _this->_internal_set_retcontext(from._internal_retcontext());
  653. }
  654. _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
  655. }
  656. void OpenReply::CopyFrom(const OpenReply& from) {
  657. // @@protoc_insertion_point(class_specific_copy_from_start:Device.V3.OpenReply)
  658. if (&from == this) return;
  659. Clear();
  660. MergeFrom(from);
  661. }
  662. void OpenReply::InternalSwap(OpenReply* PROTOBUF_RESTRICT other) {
  663. using std::swap;
  664. auto* arena = GetArena();
  665. ABSL_DCHECK_EQ(arena, other->GetArena());
  666. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  667. ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.message_, &other->_impl_.message_, arena);
  668. ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.retcode_, &other->_impl_.retcode_, arena);
  669. ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.retcontext_, &other->_impl_.retcontext_, arena);
  670. }
  671. ::google::protobuf::Metadata OpenReply::GetMetadata() const {
  672. return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
  673. }
  674. // ===================================================================
  675. class DoRequest::_Internal {
  676. public:
  677. };
  678. DoRequest::DoRequest(::google::protobuf::Arena* arena)
  679. : ::google::protobuf::Message(arena) {
  680. SharedCtor(arena);
  681. // @@protoc_insertion_point(arena_constructor:Device.V3.DoRequest)
  682. }
  683. inline PROTOBUF_NDEBUG_INLINE DoRequest::Impl_::Impl_(
  684. ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena,
  685. const Impl_& from, const ::Device::V3::DoRequest& from_msg)
  686. : deviceuri_(arena, from.deviceuri_),
  687. reqname_(arena, from.reqname_),
  688. reqparam_(arena, from.reqparam_),
  689. reqtransaction_(arena, from.reqtransaction_),
  690. reqclientid_(arena, from.reqclientid_),
  691. _cached_size_{0} {}
  692. DoRequest::DoRequest(
  693. ::google::protobuf::Arena* arena,
  694. const DoRequest& from)
  695. : ::google::protobuf::Message(arena) {
  696. DoRequest* const _this = this;
  697. (void)_this;
  698. _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
  699. from._internal_metadata_);
  700. new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
  701. // @@protoc_insertion_point(copy_constructor:Device.V3.DoRequest)
  702. }
  703. inline PROTOBUF_NDEBUG_INLINE DoRequest::Impl_::Impl_(
  704. ::google::protobuf::internal::InternalVisibility visibility,
  705. ::google::protobuf::Arena* arena)
  706. : deviceuri_(arena),
  707. reqname_(arena),
  708. reqparam_(arena),
  709. reqtransaction_(arena),
  710. reqclientid_(arena),
  711. _cached_size_{0} {}
  712. inline void DoRequest::SharedCtor(::_pb::Arena* arena) {
  713. new (&_impl_) Impl_(internal_visibility(), arena);
  714. }
  715. DoRequest::~DoRequest() {
  716. // @@protoc_insertion_point(destructor:Device.V3.DoRequest)
  717. _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
  718. SharedDtor();
  719. }
  720. inline void DoRequest::SharedDtor() {
  721. ABSL_DCHECK(GetArena() == nullptr);
  722. _impl_.deviceuri_.Destroy();
  723. _impl_.reqname_.Destroy();
  724. _impl_.reqparam_.Destroy();
  725. _impl_.reqtransaction_.Destroy();
  726. _impl_.reqclientid_.Destroy();
  727. _impl_.~Impl_();
  728. }
  729. const ::google::protobuf::MessageLite::ClassData*
  730. DoRequest::GetClassData() const {
  731. PROTOBUF_CONSTINIT static const ::google::protobuf::MessageLite::
  732. ClassDataFull _data_ = {
  733. {
  734. &_table_.header,
  735. nullptr, // OnDemandRegisterArenaDtor
  736. nullptr, // IsInitialized
  737. PROTOBUF_FIELD_OFFSET(DoRequest, _impl_._cached_size_),
  738. false,
  739. },
  740. &DoRequest::MergeImpl,
  741. &DoRequest::kDescriptorMethods,
  742. &descriptor_table_device_2fv3_2fdevice_2dc_2eproto,
  743. nullptr, // tracker
  744. };
  745. ::google::protobuf::internal::PrefetchToLocalCache(&_data_);
  746. ::google::protobuf::internal::PrefetchToLocalCache(_data_.tc_table);
  747. return _data_.base();
  748. }
  749. PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
  750. const ::_pbi::TcParseTable<3, 5, 0, 77, 2> DoRequest::_table_ = {
  751. {
  752. 0, // no _has_bits_
  753. 0, // no _extensions_
  754. 5, 56, // max_field_number, fast_idx_mask
  755. offsetof(decltype(_table_), field_lookup_table),
  756. 4294967264, // skipmap
  757. offsetof(decltype(_table_), field_entries),
  758. 5, // num_field_entries
  759. 0, // num_aux_entries
  760. offsetof(decltype(_table_), field_names), // no aux_entries
  761. &_DoRequest_default_instance_._instance,
  762. nullptr, // post_loop_handler
  763. ::_pbi::TcParser::GenericFallback, // fallback
  764. #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
  765. ::_pbi::TcParser::GetTable<::Device::V3::DoRequest>(), // to_prefetch
  766. #endif // PROTOBUF_PREFETCH_PARSE_TABLE
  767. }, {{
  768. {::_pbi::TcParser::MiniParse, {}},
  769. // string deviceUri = 1;
  770. {::_pbi::TcParser::FastUS1,
  771. {10, 63, 0, PROTOBUF_FIELD_OFFSET(DoRequest, _impl_.deviceuri_)}},
  772. // string reqName = 2;
  773. {::_pbi::TcParser::FastUS1,
  774. {18, 63, 0, PROTOBUF_FIELD_OFFSET(DoRequest, _impl_.reqname_)}},
  775. // string reqParam = 3;
  776. {::_pbi::TcParser::FastUS1,
  777. {26, 63, 0, PROTOBUF_FIELD_OFFSET(DoRequest, _impl_.reqparam_)}},
  778. // string reqTransaction = 4;
  779. {::_pbi::TcParser::FastUS1,
  780. {34, 63, 0, PROTOBUF_FIELD_OFFSET(DoRequest, _impl_.reqtransaction_)}},
  781. // string reqClientID = 5;
  782. {::_pbi::TcParser::FastUS1,
  783. {42, 63, 0, PROTOBUF_FIELD_OFFSET(DoRequest, _impl_.reqclientid_)}},
  784. {::_pbi::TcParser::MiniParse, {}},
  785. {::_pbi::TcParser::MiniParse, {}},
  786. }}, {{
  787. 65535, 65535
  788. }}, {{
  789. // string deviceUri = 1;
  790. {PROTOBUF_FIELD_OFFSET(DoRequest, _impl_.deviceuri_), 0, 0,
  791. (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)},
  792. // string reqName = 2;
  793. {PROTOBUF_FIELD_OFFSET(DoRequest, _impl_.reqname_), 0, 0,
  794. (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)},
  795. // string reqParam = 3;
  796. {PROTOBUF_FIELD_OFFSET(DoRequest, _impl_.reqparam_), 0, 0,
  797. (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)},
  798. // string reqTransaction = 4;
  799. {PROTOBUF_FIELD_OFFSET(DoRequest, _impl_.reqtransaction_), 0, 0,
  800. (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)},
  801. // string reqClientID = 5;
  802. {PROTOBUF_FIELD_OFFSET(DoRequest, _impl_.reqclientid_), 0, 0,
  803. (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)},
  804. }},
  805. // no aux_entries
  806. {{
  807. "\23\11\7\10\16\13\0\0"
  808. "Device.V3.DoRequest"
  809. "deviceUri"
  810. "reqName"
  811. "reqParam"
  812. "reqTransaction"
  813. "reqClientID"
  814. }},
  815. };
  816. PROTOBUF_NOINLINE void DoRequest::Clear() {
  817. // @@protoc_insertion_point(message_clear_start:Device.V3.DoRequest)
  818. ::google::protobuf::internal::TSanWrite(&_impl_);
  819. ::uint32_t cached_has_bits = 0;
  820. // Prevent compiler warnings about cached_has_bits being unused
  821. (void) cached_has_bits;
  822. _impl_.deviceuri_.ClearToEmpty();
  823. _impl_.reqname_.ClearToEmpty();
  824. _impl_.reqparam_.ClearToEmpty();
  825. _impl_.reqtransaction_.ClearToEmpty();
  826. _impl_.reqclientid_.ClearToEmpty();
  827. _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
  828. }
  829. ::uint8_t* DoRequest::_InternalSerialize(
  830. ::uint8_t* target,
  831. ::google::protobuf::io::EpsCopyOutputStream* stream) const {
  832. // @@protoc_insertion_point(serialize_to_array_start:Device.V3.DoRequest)
  833. ::uint32_t cached_has_bits = 0;
  834. (void)cached_has_bits;
  835. // string deviceUri = 1;
  836. if (!this->_internal_deviceuri().empty()) {
  837. const std::string& _s = this->_internal_deviceuri();
  838. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  839. _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "Device.V3.DoRequest.deviceUri");
  840. target = stream->WriteStringMaybeAliased(1, _s, target);
  841. }
  842. // string reqName = 2;
  843. if (!this->_internal_reqname().empty()) {
  844. const std::string& _s = this->_internal_reqname();
  845. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  846. _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "Device.V3.DoRequest.reqName");
  847. target = stream->WriteStringMaybeAliased(2, _s, target);
  848. }
  849. // string reqParam = 3;
  850. if (!this->_internal_reqparam().empty()) {
  851. const std::string& _s = this->_internal_reqparam();
  852. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  853. _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "Device.V3.DoRequest.reqParam");
  854. target = stream->WriteStringMaybeAliased(3, _s, target);
  855. }
  856. // string reqTransaction = 4;
  857. if (!this->_internal_reqtransaction().empty()) {
  858. const std::string& _s = this->_internal_reqtransaction();
  859. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  860. _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "Device.V3.DoRequest.reqTransaction");
  861. target = stream->WriteStringMaybeAliased(4, _s, target);
  862. }
  863. // string reqClientID = 5;
  864. if (!this->_internal_reqclientid().empty()) {
  865. const std::string& _s = this->_internal_reqclientid();
  866. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  867. _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "Device.V3.DoRequest.reqClientID");
  868. target = stream->WriteStringMaybeAliased(5, _s, target);
  869. }
  870. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  871. target =
  872. ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
  873. _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
  874. }
  875. // @@protoc_insertion_point(serialize_to_array_end:Device.V3.DoRequest)
  876. return target;
  877. }
  878. ::size_t DoRequest::ByteSizeLong() const {
  879. // @@protoc_insertion_point(message_byte_size_start:Device.V3.DoRequest)
  880. ::size_t total_size = 0;
  881. ::uint32_t cached_has_bits = 0;
  882. // Prevent compiler warnings about cached_has_bits being unused
  883. (void) cached_has_bits;
  884. ::_pbi::Prefetch5LinesFrom7Lines(reinterpret_cast<const void*>(this));
  885. // string deviceUri = 1;
  886. if (!this->_internal_deviceuri().empty()) {
  887. total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
  888. this->_internal_deviceuri());
  889. }
  890. // string reqName = 2;
  891. if (!this->_internal_reqname().empty()) {
  892. total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
  893. this->_internal_reqname());
  894. }
  895. // string reqParam = 3;
  896. if (!this->_internal_reqparam().empty()) {
  897. total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
  898. this->_internal_reqparam());
  899. }
  900. // string reqTransaction = 4;
  901. if (!this->_internal_reqtransaction().empty()) {
  902. total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
  903. this->_internal_reqtransaction());
  904. }
  905. // string reqClientID = 5;
  906. if (!this->_internal_reqclientid().empty()) {
  907. total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
  908. this->_internal_reqclientid());
  909. }
  910. return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
  911. }
  912. void DoRequest::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
  913. auto* const _this = static_cast<DoRequest*>(&to_msg);
  914. auto& from = static_cast<const DoRequest&>(from_msg);
  915. // @@protoc_insertion_point(class_specific_merge_from_start:Device.V3.DoRequest)
  916. ABSL_DCHECK_NE(&from, _this);
  917. ::uint32_t cached_has_bits = 0;
  918. (void) cached_has_bits;
  919. if (!from._internal_deviceuri().empty()) {
  920. _this->_internal_set_deviceuri(from._internal_deviceuri());
  921. }
  922. if (!from._internal_reqname().empty()) {
  923. _this->_internal_set_reqname(from._internal_reqname());
  924. }
  925. if (!from._internal_reqparam().empty()) {
  926. _this->_internal_set_reqparam(from._internal_reqparam());
  927. }
  928. if (!from._internal_reqtransaction().empty()) {
  929. _this->_internal_set_reqtransaction(from._internal_reqtransaction());
  930. }
  931. if (!from._internal_reqclientid().empty()) {
  932. _this->_internal_set_reqclientid(from._internal_reqclientid());
  933. }
  934. _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
  935. }
  936. void DoRequest::CopyFrom(const DoRequest& from) {
  937. // @@protoc_insertion_point(class_specific_copy_from_start:Device.V3.DoRequest)
  938. if (&from == this) return;
  939. Clear();
  940. MergeFrom(from);
  941. }
  942. void DoRequest::InternalSwap(DoRequest* PROTOBUF_RESTRICT other) {
  943. using std::swap;
  944. auto* arena = GetArena();
  945. ABSL_DCHECK_EQ(arena, other->GetArena());
  946. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  947. ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.deviceuri_, &other->_impl_.deviceuri_, arena);
  948. ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.reqname_, &other->_impl_.reqname_, arena);
  949. ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.reqparam_, &other->_impl_.reqparam_, arena);
  950. ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.reqtransaction_, &other->_impl_.reqtransaction_, arena);
  951. ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.reqclientid_, &other->_impl_.reqclientid_, arena);
  952. }
  953. ::google::protobuf::Metadata DoRequest::GetMetadata() const {
  954. return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
  955. }
  956. // ===================================================================
  957. class DoResponse::_Internal {
  958. public:
  959. };
  960. DoResponse::DoResponse(::google::protobuf::Arena* arena)
  961. : ::google::protobuf::Message(arena) {
  962. SharedCtor(arena);
  963. // @@protoc_insertion_point(arena_constructor:Device.V3.DoResponse)
  964. }
  965. inline PROTOBUF_NDEBUG_INLINE DoResponse::Impl_::Impl_(
  966. ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena,
  967. const Impl_& from, const ::Device::V3::DoResponse& from_msg)
  968. : deviceuri_(arena, from.deviceuri_),
  969. retcode_(arena, from.retcode_),
  970. reqname_(arena, from.reqname_),
  971. respresult_(arena, from.respresult_),
  972. reqtransaction_(arena, from.reqtransaction_),
  973. retcontext_(arena, from.retcontext_),
  974. _cached_size_{0} {}
  975. DoResponse::DoResponse(
  976. ::google::protobuf::Arena* arena,
  977. const DoResponse& from)
  978. : ::google::protobuf::Message(arena) {
  979. DoResponse* const _this = this;
  980. (void)_this;
  981. _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
  982. from._internal_metadata_);
  983. new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
  984. // @@protoc_insertion_point(copy_constructor:Device.V3.DoResponse)
  985. }
  986. inline PROTOBUF_NDEBUG_INLINE DoResponse::Impl_::Impl_(
  987. ::google::protobuf::internal::InternalVisibility visibility,
  988. ::google::protobuf::Arena* arena)
  989. : deviceuri_(arena),
  990. retcode_(arena),
  991. reqname_(arena),
  992. respresult_(arena),
  993. reqtransaction_(arena),
  994. retcontext_(arena),
  995. _cached_size_{0} {}
  996. inline void DoResponse::SharedCtor(::_pb::Arena* arena) {
  997. new (&_impl_) Impl_(internal_visibility(), arena);
  998. }
  999. DoResponse::~DoResponse() {
  1000. // @@protoc_insertion_point(destructor:Device.V3.DoResponse)
  1001. _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
  1002. SharedDtor();
  1003. }
  1004. inline void DoResponse::SharedDtor() {
  1005. ABSL_DCHECK(GetArena() == nullptr);
  1006. _impl_.deviceuri_.Destroy();
  1007. _impl_.retcode_.Destroy();
  1008. _impl_.reqname_.Destroy();
  1009. _impl_.respresult_.Destroy();
  1010. _impl_.reqtransaction_.Destroy();
  1011. _impl_.retcontext_.Destroy();
  1012. _impl_.~Impl_();
  1013. }
  1014. const ::google::protobuf::MessageLite::ClassData*
  1015. DoResponse::GetClassData() const {
  1016. PROTOBUF_CONSTINIT static const ::google::protobuf::MessageLite::
  1017. ClassDataFull _data_ = {
  1018. {
  1019. &_table_.header,
  1020. nullptr, // OnDemandRegisterArenaDtor
  1021. nullptr, // IsInitialized
  1022. PROTOBUF_FIELD_OFFSET(DoResponse, _impl_._cached_size_),
  1023. false,
  1024. },
  1025. &DoResponse::MergeImpl,
  1026. &DoResponse::kDescriptorMethods,
  1027. &descriptor_table_device_2fv3_2fdevice_2dc_2eproto,
  1028. nullptr, // tracker
  1029. };
  1030. ::google::protobuf::internal::PrefetchToLocalCache(&_data_);
  1031. ::google::protobuf::internal::PrefetchToLocalCache(_data_.tc_table);
  1032. return _data_.base();
  1033. }
  1034. PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
  1035. const ::_pbi::TcParseTable<3, 6, 0, 86, 2> DoResponse::_table_ = {
  1036. {
  1037. 0, // no _has_bits_
  1038. 0, // no _extensions_
  1039. 6, 56, // max_field_number, fast_idx_mask
  1040. offsetof(decltype(_table_), field_lookup_table),
  1041. 4294967232, // skipmap
  1042. offsetof(decltype(_table_), field_entries),
  1043. 6, // num_field_entries
  1044. 0, // num_aux_entries
  1045. offsetof(decltype(_table_), field_names), // no aux_entries
  1046. &_DoResponse_default_instance_._instance,
  1047. nullptr, // post_loop_handler
  1048. ::_pbi::TcParser::GenericFallback, // fallback
  1049. #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
  1050. ::_pbi::TcParser::GetTable<::Device::V3::DoResponse>(), // to_prefetch
  1051. #endif // PROTOBUF_PREFETCH_PARSE_TABLE
  1052. }, {{
  1053. {::_pbi::TcParser::MiniParse, {}},
  1054. // string deviceUri = 1;
  1055. {::_pbi::TcParser::FastUS1,
  1056. {10, 63, 0, PROTOBUF_FIELD_OFFSET(DoResponse, _impl_.deviceuri_)}},
  1057. // string retCode = 2;
  1058. {::_pbi::TcParser::FastUS1,
  1059. {18, 63, 0, PROTOBUF_FIELD_OFFSET(DoResponse, _impl_.retcode_)}},
  1060. // string reqName = 3;
  1061. {::_pbi::TcParser::FastUS1,
  1062. {26, 63, 0, PROTOBUF_FIELD_OFFSET(DoResponse, _impl_.reqname_)}},
  1063. // string respResult = 4;
  1064. {::_pbi::TcParser::FastUS1,
  1065. {34, 63, 0, PROTOBUF_FIELD_OFFSET(DoResponse, _impl_.respresult_)}},
  1066. // string reqTransaction = 5;
  1067. {::_pbi::TcParser::FastUS1,
  1068. {42, 63, 0, PROTOBUF_FIELD_OFFSET(DoResponse, _impl_.reqtransaction_)}},
  1069. // string retContext = 6;
  1070. {::_pbi::TcParser::FastUS1,
  1071. {50, 63, 0, PROTOBUF_FIELD_OFFSET(DoResponse, _impl_.retcontext_)}},
  1072. {::_pbi::TcParser::MiniParse, {}},
  1073. }}, {{
  1074. 65535, 65535
  1075. }}, {{
  1076. // string deviceUri = 1;
  1077. {PROTOBUF_FIELD_OFFSET(DoResponse, _impl_.deviceuri_), 0, 0,
  1078. (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)},
  1079. // string retCode = 2;
  1080. {PROTOBUF_FIELD_OFFSET(DoResponse, _impl_.retcode_), 0, 0,
  1081. (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)},
  1082. // string reqName = 3;
  1083. {PROTOBUF_FIELD_OFFSET(DoResponse, _impl_.reqname_), 0, 0,
  1084. (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)},
  1085. // string respResult = 4;
  1086. {PROTOBUF_FIELD_OFFSET(DoResponse, _impl_.respresult_), 0, 0,
  1087. (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)},
  1088. // string reqTransaction = 5;
  1089. {PROTOBUF_FIELD_OFFSET(DoResponse, _impl_.reqtransaction_), 0, 0,
  1090. (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)},
  1091. // string retContext = 6;
  1092. {PROTOBUF_FIELD_OFFSET(DoResponse, _impl_.retcontext_), 0, 0,
  1093. (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)},
  1094. }},
  1095. // no aux_entries
  1096. {{
  1097. "\24\11\7\7\12\16\12\0"
  1098. "Device.V3.DoResponse"
  1099. "deviceUri"
  1100. "retCode"
  1101. "reqName"
  1102. "respResult"
  1103. "reqTransaction"
  1104. "retContext"
  1105. }},
  1106. };
  1107. PROTOBUF_NOINLINE void DoResponse::Clear() {
  1108. // @@protoc_insertion_point(message_clear_start:Device.V3.DoResponse)
  1109. ::google::protobuf::internal::TSanWrite(&_impl_);
  1110. ::uint32_t cached_has_bits = 0;
  1111. // Prevent compiler warnings about cached_has_bits being unused
  1112. (void) cached_has_bits;
  1113. _impl_.deviceuri_.ClearToEmpty();
  1114. _impl_.retcode_.ClearToEmpty();
  1115. _impl_.reqname_.ClearToEmpty();
  1116. _impl_.respresult_.ClearToEmpty();
  1117. _impl_.reqtransaction_.ClearToEmpty();
  1118. _impl_.retcontext_.ClearToEmpty();
  1119. _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
  1120. }
  1121. ::uint8_t* DoResponse::_InternalSerialize(
  1122. ::uint8_t* target,
  1123. ::google::protobuf::io::EpsCopyOutputStream* stream) const {
  1124. // @@protoc_insertion_point(serialize_to_array_start:Device.V3.DoResponse)
  1125. ::uint32_t cached_has_bits = 0;
  1126. (void)cached_has_bits;
  1127. // string deviceUri = 1;
  1128. if (!this->_internal_deviceuri().empty()) {
  1129. const std::string& _s = this->_internal_deviceuri();
  1130. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  1131. _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "Device.V3.DoResponse.deviceUri");
  1132. target = stream->WriteStringMaybeAliased(1, _s, target);
  1133. }
  1134. // string retCode = 2;
  1135. if (!this->_internal_retcode().empty()) {
  1136. const std::string& _s = this->_internal_retcode();
  1137. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  1138. _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "Device.V3.DoResponse.retCode");
  1139. target = stream->WriteStringMaybeAliased(2, _s, target);
  1140. }
  1141. // string reqName = 3;
  1142. if (!this->_internal_reqname().empty()) {
  1143. const std::string& _s = this->_internal_reqname();
  1144. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  1145. _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "Device.V3.DoResponse.reqName");
  1146. target = stream->WriteStringMaybeAliased(3, _s, target);
  1147. }
  1148. // string respResult = 4;
  1149. if (!this->_internal_respresult().empty()) {
  1150. const std::string& _s = this->_internal_respresult();
  1151. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  1152. _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "Device.V3.DoResponse.respResult");
  1153. target = stream->WriteStringMaybeAliased(4, _s, target);
  1154. }
  1155. // string reqTransaction = 5;
  1156. if (!this->_internal_reqtransaction().empty()) {
  1157. const std::string& _s = this->_internal_reqtransaction();
  1158. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  1159. _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "Device.V3.DoResponse.reqTransaction");
  1160. target = stream->WriteStringMaybeAliased(5, _s, target);
  1161. }
  1162. // string retContext = 6;
  1163. if (!this->_internal_retcontext().empty()) {
  1164. const std::string& _s = this->_internal_retcontext();
  1165. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  1166. _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "Device.V3.DoResponse.retContext");
  1167. target = stream->WriteStringMaybeAliased(6, _s, target);
  1168. }
  1169. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  1170. target =
  1171. ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
  1172. _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
  1173. }
  1174. // @@protoc_insertion_point(serialize_to_array_end:Device.V3.DoResponse)
  1175. return target;
  1176. }
  1177. ::size_t DoResponse::ByteSizeLong() const {
  1178. // @@protoc_insertion_point(message_byte_size_start:Device.V3.DoResponse)
  1179. ::size_t total_size = 0;
  1180. ::uint32_t cached_has_bits = 0;
  1181. // Prevent compiler warnings about cached_has_bits being unused
  1182. (void) cached_has_bits;
  1183. ::_pbi::Prefetch5LinesFrom7Lines(reinterpret_cast<const void*>(this));
  1184. // string deviceUri = 1;
  1185. if (!this->_internal_deviceuri().empty()) {
  1186. total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
  1187. this->_internal_deviceuri());
  1188. }
  1189. // string retCode = 2;
  1190. if (!this->_internal_retcode().empty()) {
  1191. total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
  1192. this->_internal_retcode());
  1193. }
  1194. // string reqName = 3;
  1195. if (!this->_internal_reqname().empty()) {
  1196. total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
  1197. this->_internal_reqname());
  1198. }
  1199. // string respResult = 4;
  1200. if (!this->_internal_respresult().empty()) {
  1201. total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
  1202. this->_internal_respresult());
  1203. }
  1204. // string reqTransaction = 5;
  1205. if (!this->_internal_reqtransaction().empty()) {
  1206. total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
  1207. this->_internal_reqtransaction());
  1208. }
  1209. // string retContext = 6;
  1210. if (!this->_internal_retcontext().empty()) {
  1211. total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
  1212. this->_internal_retcontext());
  1213. }
  1214. return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
  1215. }
  1216. void DoResponse::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
  1217. auto* const _this = static_cast<DoResponse*>(&to_msg);
  1218. auto& from = static_cast<const DoResponse&>(from_msg);
  1219. // @@protoc_insertion_point(class_specific_merge_from_start:Device.V3.DoResponse)
  1220. ABSL_DCHECK_NE(&from, _this);
  1221. ::uint32_t cached_has_bits = 0;
  1222. (void) cached_has_bits;
  1223. if (!from._internal_deviceuri().empty()) {
  1224. _this->_internal_set_deviceuri(from._internal_deviceuri());
  1225. }
  1226. if (!from._internal_retcode().empty()) {
  1227. _this->_internal_set_retcode(from._internal_retcode());
  1228. }
  1229. if (!from._internal_reqname().empty()) {
  1230. _this->_internal_set_reqname(from._internal_reqname());
  1231. }
  1232. if (!from._internal_respresult().empty()) {
  1233. _this->_internal_set_respresult(from._internal_respresult());
  1234. }
  1235. if (!from._internal_reqtransaction().empty()) {
  1236. _this->_internal_set_reqtransaction(from._internal_reqtransaction());
  1237. }
  1238. if (!from._internal_retcontext().empty()) {
  1239. _this->_internal_set_retcontext(from._internal_retcontext());
  1240. }
  1241. _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
  1242. }
  1243. void DoResponse::CopyFrom(const DoResponse& from) {
  1244. // @@protoc_insertion_point(class_specific_copy_from_start:Device.V3.DoResponse)
  1245. if (&from == this) return;
  1246. Clear();
  1247. MergeFrom(from);
  1248. }
  1249. void DoResponse::InternalSwap(DoResponse* PROTOBUF_RESTRICT other) {
  1250. using std::swap;
  1251. auto* arena = GetArena();
  1252. ABSL_DCHECK_EQ(arena, other->GetArena());
  1253. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  1254. ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.deviceuri_, &other->_impl_.deviceuri_, arena);
  1255. ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.retcode_, &other->_impl_.retcode_, arena);
  1256. ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.reqname_, &other->_impl_.reqname_, arena);
  1257. ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.respresult_, &other->_impl_.respresult_, arena);
  1258. ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.reqtransaction_, &other->_impl_.reqtransaction_, arena);
  1259. ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.retcontext_, &other->_impl_.retcontext_, arena);
  1260. }
  1261. ::google::protobuf::Metadata DoResponse::GetMetadata() const {
  1262. return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
  1263. }
  1264. // @@protoc_insertion_point(namespace_scope)
  1265. } // namespace V3
  1266. } // namespace Device
  1267. namespace google {
  1268. namespace protobuf {
  1269. } // namespace protobuf
  1270. } // namespace google
  1271. // @@protoc_insertion_point(global_scope)
  1272. PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::std::false_type
  1273. _static_init2_ PROTOBUF_UNUSED =
  1274. (::_pbi::AddDescriptors(&descriptor_table_device_2fv3_2fdevice_2dc_2eproto),
  1275. ::std::false_type{});
  1276. #include "google/protobuf/port_undef.inc"