ImageService.pb.h 44 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323
  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // NO CHECKED-IN PROTOBUF GENCODE
  3. // source: ImageService.proto
  4. // Protobuf C++ Version: 5.29.0
  5. #ifndef ImageService_2eproto_2epb_2eh
  6. #define ImageService_2eproto_2epb_2eh
  7. #include <limits>
  8. #include <string>
  9. #include <type_traits>
  10. #include <utility>
  11. #include "google/protobuf/runtime_version.h"
  12. #if PROTOBUF_VERSION != 5029000
  13. #error "Protobuf C++ gencode is built with an incompatible version of"
  14. #error "Protobuf C++ headers/runtime. See"
  15. #error "https://protobuf.dev/support/cross-version-runtime-guarantee/#cpp"
  16. #endif
  17. #include "google/protobuf/io/coded_stream.h"
  18. #include "google/protobuf/arena.h"
  19. #include "google/protobuf/arenastring.h"
  20. #include "google/protobuf/generated_message_bases.h"
  21. #include "google/protobuf/generated_message_tctable_decl.h"
  22. #include "google/protobuf/generated_message_util.h"
  23. #include "google/protobuf/metadata_lite.h"
  24. #include "google/protobuf/generated_message_reflection.h"
  25. #include "google/protobuf/message.h"
  26. #include "google/protobuf/message_lite.h"
  27. #include "google/protobuf/repeated_field.h" // IWYU pragma: export
  28. #include "google/protobuf/extension_set.h" // IWYU pragma: export
  29. #include "google/protobuf/generated_enum_reflection.h"
  30. #include "google/protobuf/unknown_field_set.h"
  31. // @@protoc_insertion_point(includes)
  32. // Must be included last.
  33. #include "google/protobuf/port_def.inc"
  34. #define PROTOBUF_INTERNAL_EXPORT_ImageService_2eproto
  35. namespace google {
  36. namespace protobuf {
  37. namespace internal {
  38. template <typename T>
  39. ::absl::string_view GetAnyMessageName();
  40. } // namespace internal
  41. } // namespace protobuf
  42. } // namespace google
  43. // Internal implementation detail -- do not use these members.
  44. struct TableStruct_ImageService_2eproto {
  45. static const ::uint32_t offsets[];
  46. };
  47. extern const ::google::protobuf::internal::DescriptorTable
  48. descriptor_table_ImageService_2eproto;
  49. namespace R360 {
  50. class Alarm;
  51. struct AlarmDefaultTypeInternal;
  52. extern AlarmDefaultTypeInternal _Alarm_default_instance_;
  53. class DataList;
  54. struct DataListDefaultTypeInternal;
  55. extern DataListDefaultTypeInternal _DataList_default_instance_;
  56. class EmbeddedData;
  57. struct EmbeddedDataDefaultTypeInternal;
  58. extern EmbeddedDataDefaultTypeInternal _EmbeddedData_default_instance_;
  59. class Empty;
  60. struct EmptyDefaultTypeInternal;
  61. extern EmptyDefaultTypeInternal _Empty_default_instance_;
  62. } // namespace R360
  63. namespace google {
  64. namespace protobuf {
  65. } // namespace protobuf
  66. } // namespace google
  67. namespace R360 {
  68. enum AlarmType : int {
  69. UAV = 0,
  70. AlarmType_INT_MIN_SENTINEL_DO_NOT_USE_ =
  71. std::numeric_limits<::int32_t>::min(),
  72. AlarmType_INT_MAX_SENTINEL_DO_NOT_USE_ =
  73. std::numeric_limits<::int32_t>::max(),
  74. };
  75. bool AlarmType_IsValid(int value);
  76. extern const uint32_t AlarmType_internal_data_[];
  77. constexpr AlarmType AlarmType_MIN = static_cast<AlarmType>(0);
  78. constexpr AlarmType AlarmType_MAX = static_cast<AlarmType>(0);
  79. constexpr int AlarmType_ARRAYSIZE = 0 + 1;
  80. const ::google::protobuf::EnumDescriptor*
  81. AlarmType_descriptor();
  82. template <typename T>
  83. const std::string& AlarmType_Name(T value) {
  84. static_assert(std::is_same<T, AlarmType>::value ||
  85. std::is_integral<T>::value,
  86. "Incorrect type passed to AlarmType_Name().");
  87. return AlarmType_Name(static_cast<AlarmType>(value));
  88. }
  89. template <>
  90. inline const std::string& AlarmType_Name(AlarmType value) {
  91. return ::google::protobuf::internal::NameOfDenseEnum<AlarmType_descriptor,
  92. 0, 0>(
  93. static_cast<int>(value));
  94. }
  95. inline bool AlarmType_Parse(absl::string_view name, AlarmType* value) {
  96. return ::google::protobuf::internal::ParseNamedEnum<AlarmType>(
  97. AlarmType_descriptor(), name, value);
  98. }
  99. // ===================================================================
  100. // -------------------------------------------------------------------
  101. class Empty final
  102. : public ::google::protobuf::internal::ZeroFieldsBase
  103. /* @@protoc_insertion_point(class_definition:R360.Empty) */ {
  104. public:
  105. inline Empty() : Empty(nullptr) {}
  106. #if defined(PROTOBUF_CUSTOM_VTABLE)
  107. void operator delete(Empty* msg, std::destroying_delete_t) {
  108. SharedDtor(*msg);
  109. ::google::protobuf::internal::SizedDelete(msg, sizeof(Empty));
  110. }
  111. #endif
  112. template <typename = void>
  113. explicit PROTOBUF_CONSTEXPR Empty(
  114. ::google::protobuf::internal::ConstantInitialized);
  115. inline Empty(const Empty& from) : Empty(nullptr, from) {}
  116. inline Empty(Empty&& from) noexcept
  117. : Empty(nullptr, std::move(from)) {}
  118. inline Empty& operator=(const Empty& from) {
  119. CopyFrom(from);
  120. return *this;
  121. }
  122. inline Empty& operator=(Empty&& from) noexcept {
  123. if (this == &from) return *this;
  124. if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
  125. InternalSwap(&from);
  126. } else {
  127. CopyFrom(from);
  128. }
  129. return *this;
  130. }
  131. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
  132. ABSL_ATTRIBUTE_LIFETIME_BOUND {
  133. return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
  134. }
  135. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields()
  136. ABSL_ATTRIBUTE_LIFETIME_BOUND {
  137. return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
  138. }
  139. static const ::google::protobuf::Descriptor* descriptor() {
  140. return GetDescriptor();
  141. }
  142. static const ::google::protobuf::Descriptor* GetDescriptor() {
  143. return default_instance().GetMetadata().descriptor;
  144. }
  145. static const ::google::protobuf::Reflection* GetReflection() {
  146. return default_instance().GetMetadata().reflection;
  147. }
  148. static const Empty& default_instance() {
  149. return *internal_default_instance();
  150. }
  151. static inline const Empty* internal_default_instance() {
  152. return reinterpret_cast<const Empty*>(
  153. &_Empty_default_instance_);
  154. }
  155. static constexpr int kIndexInFileMessages = 0;
  156. friend void swap(Empty& a, Empty& b) { a.Swap(&b); }
  157. inline void Swap(Empty* other) {
  158. if (other == this) return;
  159. if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
  160. InternalSwap(other);
  161. } else {
  162. ::google::protobuf::internal::GenericSwap(this, other);
  163. }
  164. }
  165. void UnsafeArenaSwap(Empty* other) {
  166. if (other == this) return;
  167. ABSL_DCHECK(GetArena() == other->GetArena());
  168. InternalSwap(other);
  169. }
  170. // implements Message ----------------------------------------------
  171. Empty* New(::google::protobuf::Arena* arena = nullptr) const {
  172. return ::google::protobuf::internal::ZeroFieldsBase::DefaultConstruct<Empty>(arena);
  173. }
  174. using ::google::protobuf::internal::ZeroFieldsBase::CopyFrom;
  175. inline void CopyFrom(const Empty& from) {
  176. ::google::protobuf::internal::ZeroFieldsBase::CopyImpl(*this, from);
  177. }
  178. using ::google::protobuf::internal::ZeroFieldsBase::MergeFrom;
  179. void MergeFrom(const Empty& from) {
  180. ::google::protobuf::internal::ZeroFieldsBase::MergeImpl(*this, from);
  181. }
  182. public:
  183. bool IsInitialized() const {
  184. return true;
  185. }
  186. private:
  187. template <typename T>
  188. friend ::absl::string_view(
  189. ::google::protobuf::internal::GetAnyMessageName)();
  190. static ::absl::string_view FullMessageName() { return "R360.Empty"; }
  191. protected:
  192. explicit Empty(::google::protobuf::Arena* arena);
  193. Empty(::google::protobuf::Arena* arena, const Empty& from);
  194. Empty(::google::protobuf::Arena* arena, Empty&& from) noexcept
  195. : Empty(arena) {
  196. *this = ::std::move(from);
  197. }
  198. const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL;
  199. static void* PlacementNew_(const void*, void* mem,
  200. ::google::protobuf::Arena* arena);
  201. static constexpr auto InternalNewImpl_();
  202. static const ::google::protobuf::internal::ClassDataFull _class_data_;
  203. public:
  204. ::google::protobuf::Metadata GetMetadata() const;
  205. // nested types ----------------------------------------------------
  206. // accessors -------------------------------------------------------
  207. // @@protoc_insertion_point(class_scope:R360.Empty)
  208. private:
  209. class _Internal;
  210. friend class ::google::protobuf::internal::TcParser;
  211. static const ::google::protobuf::internal::TcParseTable<
  212. 0, 0, 0,
  213. 0, 2>
  214. _table_;
  215. friend class ::google::protobuf::MessageLite;
  216. friend class ::google::protobuf::Arena;
  217. template <typename T>
  218. friend class ::google::protobuf::Arena::InternalHelper;
  219. using InternalArenaConstructable_ = void;
  220. using DestructorSkippable_ = void;
  221. struct Impl_ {
  222. inline explicit constexpr Impl_(
  223. ::google::protobuf::internal::ConstantInitialized) noexcept;
  224. inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
  225. ::google::protobuf::Arena* arena);
  226. inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
  227. ::google::protobuf::Arena* arena, const Impl_& from,
  228. const Empty& from_msg);
  229. PROTOBUF_TSAN_DECLARE_MEMBER
  230. };
  231. friend struct ::TableStruct_ImageService_2eproto;
  232. };
  233. // -------------------------------------------------------------------
  234. class Alarm final
  235. : public ::google::protobuf::Message
  236. /* @@protoc_insertion_point(class_definition:R360.Alarm) */ {
  237. public:
  238. inline Alarm() : Alarm(nullptr) {}
  239. ~Alarm() PROTOBUF_FINAL;
  240. #if defined(PROTOBUF_CUSTOM_VTABLE)
  241. void operator delete(Alarm* msg, std::destroying_delete_t) {
  242. SharedDtor(*msg);
  243. ::google::protobuf::internal::SizedDelete(msg, sizeof(Alarm));
  244. }
  245. #endif
  246. template <typename = void>
  247. explicit PROTOBUF_CONSTEXPR Alarm(
  248. ::google::protobuf::internal::ConstantInitialized);
  249. inline Alarm(const Alarm& from) : Alarm(nullptr, from) {}
  250. inline Alarm(Alarm&& from) noexcept
  251. : Alarm(nullptr, std::move(from)) {}
  252. inline Alarm& operator=(const Alarm& from) {
  253. CopyFrom(from);
  254. return *this;
  255. }
  256. inline Alarm& operator=(Alarm&& from) noexcept {
  257. if (this == &from) return *this;
  258. if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
  259. InternalSwap(&from);
  260. } else {
  261. CopyFrom(from);
  262. }
  263. return *this;
  264. }
  265. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
  266. ABSL_ATTRIBUTE_LIFETIME_BOUND {
  267. return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
  268. }
  269. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields()
  270. ABSL_ATTRIBUTE_LIFETIME_BOUND {
  271. return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
  272. }
  273. static const ::google::protobuf::Descriptor* descriptor() {
  274. return GetDescriptor();
  275. }
  276. static const ::google::protobuf::Descriptor* GetDescriptor() {
  277. return default_instance().GetMetadata().descriptor;
  278. }
  279. static const ::google::protobuf::Reflection* GetReflection() {
  280. return default_instance().GetMetadata().reflection;
  281. }
  282. static const Alarm& default_instance() {
  283. return *internal_default_instance();
  284. }
  285. static inline const Alarm* internal_default_instance() {
  286. return reinterpret_cast<const Alarm*>(
  287. &_Alarm_default_instance_);
  288. }
  289. static constexpr int kIndexInFileMessages = 3;
  290. friend void swap(Alarm& a, Alarm& b) { a.Swap(&b); }
  291. inline void Swap(Alarm* other) {
  292. if (other == this) return;
  293. if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
  294. InternalSwap(other);
  295. } else {
  296. ::google::protobuf::internal::GenericSwap(this, other);
  297. }
  298. }
  299. void UnsafeArenaSwap(Alarm* other) {
  300. if (other == this) return;
  301. ABSL_DCHECK(GetArena() == other->GetArena());
  302. InternalSwap(other);
  303. }
  304. // implements Message ----------------------------------------------
  305. Alarm* New(::google::protobuf::Arena* arena = nullptr) const {
  306. return ::google::protobuf::Message::DefaultConstruct<Alarm>(arena);
  307. }
  308. using ::google::protobuf::Message::CopyFrom;
  309. void CopyFrom(const Alarm& from);
  310. using ::google::protobuf::Message::MergeFrom;
  311. void MergeFrom(const Alarm& from) { Alarm::MergeImpl(*this, from); }
  312. private:
  313. static void MergeImpl(
  314. ::google::protobuf::MessageLite& to_msg,
  315. const ::google::protobuf::MessageLite& from_msg);
  316. public:
  317. bool IsInitialized() const {
  318. return true;
  319. }
  320. ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
  321. #if defined(PROTOBUF_CUSTOM_VTABLE)
  322. private:
  323. static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
  324. static ::uint8_t* _InternalSerialize(
  325. const MessageLite& msg, ::uint8_t* target,
  326. ::google::protobuf::io::EpsCopyOutputStream* stream);
  327. public:
  328. ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
  329. ::uint8_t* _InternalSerialize(
  330. ::uint8_t* target,
  331. ::google::protobuf::io::EpsCopyOutputStream* stream) const {
  332. return _InternalSerialize(*this, target, stream);
  333. }
  334. #else // PROTOBUF_CUSTOM_VTABLE
  335. ::size_t ByteSizeLong() const final;
  336. ::uint8_t* _InternalSerialize(
  337. ::uint8_t* target,
  338. ::google::protobuf::io::EpsCopyOutputStream* stream) const final;
  339. #endif // PROTOBUF_CUSTOM_VTABLE
  340. int GetCachedSize() const { return _impl_._cached_size_.Get(); }
  341. private:
  342. void SharedCtor(::google::protobuf::Arena* arena);
  343. static void SharedDtor(MessageLite& self);
  344. void InternalSwap(Alarm* other);
  345. private:
  346. template <typename T>
  347. friend ::absl::string_view(
  348. ::google::protobuf::internal::GetAnyMessageName)();
  349. static ::absl::string_view FullMessageName() { return "R360.Alarm"; }
  350. protected:
  351. explicit Alarm(::google::protobuf::Arena* arena);
  352. Alarm(::google::protobuf::Arena* arena, const Alarm& from);
  353. Alarm(::google::protobuf::Arena* arena, Alarm&& from) noexcept
  354. : Alarm(arena) {
  355. *this = ::std::move(from);
  356. }
  357. const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL;
  358. static void* PlacementNew_(const void*, void* mem,
  359. ::google::protobuf::Arena* arena);
  360. static constexpr auto InternalNewImpl_();
  361. static const ::google::protobuf::internal::ClassDataFull _class_data_;
  362. public:
  363. ::google::protobuf::Metadata GetMetadata() const;
  364. // nested types ----------------------------------------------------
  365. // accessors -------------------------------------------------------
  366. enum : int {
  367. kXFieldNumber = 1,
  368. kYFieldNumber = 2,
  369. kWFieldNumber = 3,
  370. kHFieldNumber = 4,
  371. kScoreFieldNumber = 5,
  372. kTypeFieldNumber = 6,
  373. };
  374. // uint32 x = 1;
  375. void clear_x() ;
  376. ::uint32_t x() const;
  377. void set_x(::uint32_t value);
  378. private:
  379. ::uint32_t _internal_x() const;
  380. void _internal_set_x(::uint32_t value);
  381. public:
  382. // uint32 y = 2;
  383. void clear_y() ;
  384. ::uint32_t y() const;
  385. void set_y(::uint32_t value);
  386. private:
  387. ::uint32_t _internal_y() const;
  388. void _internal_set_y(::uint32_t value);
  389. public:
  390. // uint32 w = 3;
  391. void clear_w() ;
  392. ::uint32_t w() const;
  393. void set_w(::uint32_t value);
  394. private:
  395. ::uint32_t _internal_w() const;
  396. void _internal_set_w(::uint32_t value);
  397. public:
  398. // uint32 h = 4;
  399. void clear_h() ;
  400. ::uint32_t h() const;
  401. void set_h(::uint32_t value);
  402. private:
  403. ::uint32_t _internal_h() const;
  404. void _internal_set_h(::uint32_t value);
  405. public:
  406. // float score = 5;
  407. void clear_score() ;
  408. float score() const;
  409. void set_score(float value);
  410. private:
  411. float _internal_score() const;
  412. void _internal_set_score(float value);
  413. public:
  414. // .R360.AlarmType type = 6;
  415. void clear_type() ;
  416. ::R360::AlarmType type() const;
  417. void set_type(::R360::AlarmType value);
  418. private:
  419. ::R360::AlarmType _internal_type() const;
  420. void _internal_set_type(::R360::AlarmType value);
  421. public:
  422. // @@protoc_insertion_point(class_scope:R360.Alarm)
  423. private:
  424. class _Internal;
  425. friend class ::google::protobuf::internal::TcParser;
  426. static const ::google::protobuf::internal::TcParseTable<
  427. 3, 6, 0,
  428. 0, 2>
  429. _table_;
  430. friend class ::google::protobuf::MessageLite;
  431. friend class ::google::protobuf::Arena;
  432. template <typename T>
  433. friend class ::google::protobuf::Arena::InternalHelper;
  434. using InternalArenaConstructable_ = void;
  435. using DestructorSkippable_ = void;
  436. struct Impl_ {
  437. inline explicit constexpr Impl_(
  438. ::google::protobuf::internal::ConstantInitialized) noexcept;
  439. inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
  440. ::google::protobuf::Arena* arena);
  441. inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
  442. ::google::protobuf::Arena* arena, const Impl_& from,
  443. const Alarm& from_msg);
  444. ::uint32_t x_;
  445. ::uint32_t y_;
  446. ::uint32_t w_;
  447. ::uint32_t h_;
  448. float score_;
  449. int type_;
  450. ::google::protobuf::internal::CachedSize _cached_size_;
  451. PROTOBUF_TSAN_DECLARE_MEMBER
  452. };
  453. union { Impl_ _impl_; };
  454. friend struct ::TableStruct_ImageService_2eproto;
  455. };
  456. // -------------------------------------------------------------------
  457. class EmbeddedData final
  458. : public ::google::protobuf::Message
  459. /* @@protoc_insertion_point(class_definition:R360.EmbeddedData) */ {
  460. public:
  461. inline EmbeddedData() : EmbeddedData(nullptr) {}
  462. ~EmbeddedData() PROTOBUF_FINAL;
  463. #if defined(PROTOBUF_CUSTOM_VTABLE)
  464. void operator delete(EmbeddedData* msg, std::destroying_delete_t) {
  465. SharedDtor(*msg);
  466. ::google::protobuf::internal::SizedDelete(msg, sizeof(EmbeddedData));
  467. }
  468. #endif
  469. template <typename = void>
  470. explicit PROTOBUF_CONSTEXPR EmbeddedData(
  471. ::google::protobuf::internal::ConstantInitialized);
  472. inline EmbeddedData(const EmbeddedData& from) : EmbeddedData(nullptr, from) {}
  473. inline EmbeddedData(EmbeddedData&& from) noexcept
  474. : EmbeddedData(nullptr, std::move(from)) {}
  475. inline EmbeddedData& operator=(const EmbeddedData& from) {
  476. CopyFrom(from);
  477. return *this;
  478. }
  479. inline EmbeddedData& operator=(EmbeddedData&& from) noexcept {
  480. if (this == &from) return *this;
  481. if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
  482. InternalSwap(&from);
  483. } else {
  484. CopyFrom(from);
  485. }
  486. return *this;
  487. }
  488. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
  489. ABSL_ATTRIBUTE_LIFETIME_BOUND {
  490. return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
  491. }
  492. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields()
  493. ABSL_ATTRIBUTE_LIFETIME_BOUND {
  494. return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
  495. }
  496. static const ::google::protobuf::Descriptor* descriptor() {
  497. return GetDescriptor();
  498. }
  499. static const ::google::protobuf::Descriptor* GetDescriptor() {
  500. return default_instance().GetMetadata().descriptor;
  501. }
  502. static const ::google::protobuf::Reflection* GetReflection() {
  503. return default_instance().GetMetadata().reflection;
  504. }
  505. static const EmbeddedData& default_instance() {
  506. return *internal_default_instance();
  507. }
  508. static inline const EmbeddedData* internal_default_instance() {
  509. return reinterpret_cast<const EmbeddedData*>(
  510. &_EmbeddedData_default_instance_);
  511. }
  512. static constexpr int kIndexInFileMessages = 2;
  513. friend void swap(EmbeddedData& a, EmbeddedData& b) { a.Swap(&b); }
  514. inline void Swap(EmbeddedData* other) {
  515. if (other == this) return;
  516. if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
  517. InternalSwap(other);
  518. } else {
  519. ::google::protobuf::internal::GenericSwap(this, other);
  520. }
  521. }
  522. void UnsafeArenaSwap(EmbeddedData* other) {
  523. if (other == this) return;
  524. ABSL_DCHECK(GetArena() == other->GetArena());
  525. InternalSwap(other);
  526. }
  527. // implements Message ----------------------------------------------
  528. EmbeddedData* New(::google::protobuf::Arena* arena = nullptr) const {
  529. return ::google::protobuf::Message::DefaultConstruct<EmbeddedData>(arena);
  530. }
  531. using ::google::protobuf::Message::CopyFrom;
  532. void CopyFrom(const EmbeddedData& from);
  533. using ::google::protobuf::Message::MergeFrom;
  534. void MergeFrom(const EmbeddedData& from) { EmbeddedData::MergeImpl(*this, from); }
  535. private:
  536. static void MergeImpl(
  537. ::google::protobuf::MessageLite& to_msg,
  538. const ::google::protobuf::MessageLite& from_msg);
  539. public:
  540. bool IsInitialized() const {
  541. return true;
  542. }
  543. ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
  544. #if defined(PROTOBUF_CUSTOM_VTABLE)
  545. private:
  546. static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
  547. static ::uint8_t* _InternalSerialize(
  548. const MessageLite& msg, ::uint8_t* target,
  549. ::google::protobuf::io::EpsCopyOutputStream* stream);
  550. public:
  551. ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
  552. ::uint8_t* _InternalSerialize(
  553. ::uint8_t* target,
  554. ::google::protobuf::io::EpsCopyOutputStream* stream) const {
  555. return _InternalSerialize(*this, target, stream);
  556. }
  557. #else // PROTOBUF_CUSTOM_VTABLE
  558. ::size_t ByteSizeLong() const final;
  559. ::uint8_t* _InternalSerialize(
  560. ::uint8_t* target,
  561. ::google::protobuf::io::EpsCopyOutputStream* stream) const final;
  562. #endif // PROTOBUF_CUSTOM_VTABLE
  563. int GetCachedSize() const { return _impl_._cached_size_.Get(); }
  564. private:
  565. void SharedCtor(::google::protobuf::Arena* arena);
  566. static void SharedDtor(MessageLite& self);
  567. void InternalSwap(EmbeddedData* other);
  568. private:
  569. template <typename T>
  570. friend ::absl::string_view(
  571. ::google::protobuf::internal::GetAnyMessageName)();
  572. static ::absl::string_view FullMessageName() { return "R360.EmbeddedData"; }
  573. protected:
  574. explicit EmbeddedData(::google::protobuf::Arena* arena);
  575. EmbeddedData(::google::protobuf::Arena* arena, const EmbeddedData& from);
  576. EmbeddedData(::google::protobuf::Arena* arena, EmbeddedData&& from) noexcept
  577. : EmbeddedData(arena) {
  578. *this = ::std::move(from);
  579. }
  580. const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL;
  581. static void* PlacementNew_(const void*, void* mem,
  582. ::google::protobuf::Arena* arena);
  583. static constexpr auto InternalNewImpl_();
  584. static const ::google::protobuf::internal::ClassDataFull _class_data_;
  585. public:
  586. ::google::protobuf::Metadata GetMetadata() const;
  587. // nested types ----------------------------------------------------
  588. // accessors -------------------------------------------------------
  589. enum : int {
  590. kAlarmFieldNumber = 4,
  591. kImageFieldNumber = 2,
  592. kDegreeFieldNumber = 3,
  593. kUsbCameraIndexFieldNumber = 1,
  594. };
  595. // repeated .R360.Alarm alarm = 4;
  596. int alarm_size() const;
  597. private:
  598. int _internal_alarm_size() const;
  599. public:
  600. void clear_alarm() ;
  601. ::R360::Alarm* mutable_alarm(int index);
  602. ::google::protobuf::RepeatedPtrField<::R360::Alarm>* mutable_alarm();
  603. private:
  604. const ::google::protobuf::RepeatedPtrField<::R360::Alarm>& _internal_alarm() const;
  605. ::google::protobuf::RepeatedPtrField<::R360::Alarm>* _internal_mutable_alarm();
  606. public:
  607. const ::R360::Alarm& alarm(int index) const;
  608. ::R360::Alarm* add_alarm();
  609. const ::google::protobuf::RepeatedPtrField<::R360::Alarm>& alarm() const;
  610. // bytes image = 2;
  611. void clear_image() ;
  612. const std::string& image() const;
  613. template <typename Arg_ = const std::string&, typename... Args_>
  614. void set_image(Arg_&& arg, Args_... args);
  615. std::string* mutable_image();
  616. PROTOBUF_NODISCARD std::string* release_image();
  617. void set_allocated_image(std::string* value);
  618. private:
  619. const std::string& _internal_image() const;
  620. inline PROTOBUF_ALWAYS_INLINE void _internal_set_image(
  621. const std::string& value);
  622. std::string* _internal_mutable_image();
  623. public:
  624. // uint64 degree = 3;
  625. void clear_degree() ;
  626. ::uint64_t degree() const;
  627. void set_degree(::uint64_t value);
  628. private:
  629. ::uint64_t _internal_degree() const;
  630. void _internal_set_degree(::uint64_t value);
  631. public:
  632. // uint32 usb_camera_index = 1;
  633. void clear_usb_camera_index() ;
  634. ::uint32_t usb_camera_index() const;
  635. void set_usb_camera_index(::uint32_t value);
  636. private:
  637. ::uint32_t _internal_usb_camera_index() const;
  638. void _internal_set_usb_camera_index(::uint32_t value);
  639. public:
  640. // @@protoc_insertion_point(class_scope:R360.EmbeddedData)
  641. private:
  642. class _Internal;
  643. friend class ::google::protobuf::internal::TcParser;
  644. static const ::google::protobuf::internal::TcParseTable<
  645. 2, 4, 1,
  646. 0, 2>
  647. _table_;
  648. friend class ::google::protobuf::MessageLite;
  649. friend class ::google::protobuf::Arena;
  650. template <typename T>
  651. friend class ::google::protobuf::Arena::InternalHelper;
  652. using InternalArenaConstructable_ = void;
  653. using DestructorSkippable_ = void;
  654. struct Impl_ {
  655. inline explicit constexpr Impl_(
  656. ::google::protobuf::internal::ConstantInitialized) noexcept;
  657. inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
  658. ::google::protobuf::Arena* arena);
  659. inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
  660. ::google::protobuf::Arena* arena, const Impl_& from,
  661. const EmbeddedData& from_msg);
  662. ::google::protobuf::RepeatedPtrField< ::R360::Alarm > alarm_;
  663. ::google::protobuf::internal::ArenaStringPtr image_;
  664. ::uint64_t degree_;
  665. ::uint32_t usb_camera_index_;
  666. ::google::protobuf::internal::CachedSize _cached_size_;
  667. PROTOBUF_TSAN_DECLARE_MEMBER
  668. };
  669. union { Impl_ _impl_; };
  670. friend struct ::TableStruct_ImageService_2eproto;
  671. };
  672. // -------------------------------------------------------------------
  673. class DataList final
  674. : public ::google::protobuf::Message
  675. /* @@protoc_insertion_point(class_definition:R360.DataList) */ {
  676. public:
  677. inline DataList() : DataList(nullptr) {}
  678. ~DataList() PROTOBUF_FINAL;
  679. #if defined(PROTOBUF_CUSTOM_VTABLE)
  680. void operator delete(DataList* msg, std::destroying_delete_t) {
  681. SharedDtor(*msg);
  682. ::google::protobuf::internal::SizedDelete(msg, sizeof(DataList));
  683. }
  684. #endif
  685. template <typename = void>
  686. explicit PROTOBUF_CONSTEXPR DataList(
  687. ::google::protobuf::internal::ConstantInitialized);
  688. inline DataList(const DataList& from) : DataList(nullptr, from) {}
  689. inline DataList(DataList&& from) noexcept
  690. : DataList(nullptr, std::move(from)) {}
  691. inline DataList& operator=(const DataList& from) {
  692. CopyFrom(from);
  693. return *this;
  694. }
  695. inline DataList& operator=(DataList&& from) noexcept {
  696. if (this == &from) return *this;
  697. if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
  698. InternalSwap(&from);
  699. } else {
  700. CopyFrom(from);
  701. }
  702. return *this;
  703. }
  704. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
  705. ABSL_ATTRIBUTE_LIFETIME_BOUND {
  706. return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
  707. }
  708. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields()
  709. ABSL_ATTRIBUTE_LIFETIME_BOUND {
  710. return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
  711. }
  712. static const ::google::protobuf::Descriptor* descriptor() {
  713. return GetDescriptor();
  714. }
  715. static const ::google::protobuf::Descriptor* GetDescriptor() {
  716. return default_instance().GetMetadata().descriptor;
  717. }
  718. static const ::google::protobuf::Reflection* GetReflection() {
  719. return default_instance().GetMetadata().reflection;
  720. }
  721. static const DataList& default_instance() {
  722. return *internal_default_instance();
  723. }
  724. static inline const DataList* internal_default_instance() {
  725. return reinterpret_cast<const DataList*>(
  726. &_DataList_default_instance_);
  727. }
  728. static constexpr int kIndexInFileMessages = 1;
  729. friend void swap(DataList& a, DataList& b) { a.Swap(&b); }
  730. inline void Swap(DataList* other) {
  731. if (other == this) return;
  732. if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
  733. InternalSwap(other);
  734. } else {
  735. ::google::protobuf::internal::GenericSwap(this, other);
  736. }
  737. }
  738. void UnsafeArenaSwap(DataList* other) {
  739. if (other == this) return;
  740. ABSL_DCHECK(GetArena() == other->GetArena());
  741. InternalSwap(other);
  742. }
  743. // implements Message ----------------------------------------------
  744. DataList* New(::google::protobuf::Arena* arena = nullptr) const {
  745. return ::google::protobuf::Message::DefaultConstruct<DataList>(arena);
  746. }
  747. using ::google::protobuf::Message::CopyFrom;
  748. void CopyFrom(const DataList& from);
  749. using ::google::protobuf::Message::MergeFrom;
  750. void MergeFrom(const DataList& from) { DataList::MergeImpl(*this, from); }
  751. private:
  752. static void MergeImpl(
  753. ::google::protobuf::MessageLite& to_msg,
  754. const ::google::protobuf::MessageLite& from_msg);
  755. public:
  756. bool IsInitialized() const {
  757. return true;
  758. }
  759. ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
  760. #if defined(PROTOBUF_CUSTOM_VTABLE)
  761. private:
  762. static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
  763. static ::uint8_t* _InternalSerialize(
  764. const MessageLite& msg, ::uint8_t* target,
  765. ::google::protobuf::io::EpsCopyOutputStream* stream);
  766. public:
  767. ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
  768. ::uint8_t* _InternalSerialize(
  769. ::uint8_t* target,
  770. ::google::protobuf::io::EpsCopyOutputStream* stream) const {
  771. return _InternalSerialize(*this, target, stream);
  772. }
  773. #else // PROTOBUF_CUSTOM_VTABLE
  774. ::size_t ByteSizeLong() const final;
  775. ::uint8_t* _InternalSerialize(
  776. ::uint8_t* target,
  777. ::google::protobuf::io::EpsCopyOutputStream* stream) const final;
  778. #endif // PROTOBUF_CUSTOM_VTABLE
  779. int GetCachedSize() const { return _impl_._cached_size_.Get(); }
  780. private:
  781. void SharedCtor(::google::protobuf::Arena* arena);
  782. static void SharedDtor(MessageLite& self);
  783. void InternalSwap(DataList* other);
  784. private:
  785. template <typename T>
  786. friend ::absl::string_view(
  787. ::google::protobuf::internal::GetAnyMessageName)();
  788. static ::absl::string_view FullMessageName() { return "R360.DataList"; }
  789. protected:
  790. explicit DataList(::google::protobuf::Arena* arena);
  791. DataList(::google::protobuf::Arena* arena, const DataList& from);
  792. DataList(::google::protobuf::Arena* arena, DataList&& from) noexcept
  793. : DataList(arena) {
  794. *this = ::std::move(from);
  795. }
  796. const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL;
  797. static void* PlacementNew_(const void*, void* mem,
  798. ::google::protobuf::Arena* arena);
  799. static constexpr auto InternalNewImpl_();
  800. static const ::google::protobuf::internal::ClassDataFull _class_data_;
  801. public:
  802. ::google::protobuf::Metadata GetMetadata() const;
  803. // nested types ----------------------------------------------------
  804. // accessors -------------------------------------------------------
  805. enum : int {
  806. kDataFieldNumber = 1,
  807. };
  808. // repeated .R360.EmbeddedData data = 1;
  809. int data_size() const;
  810. private:
  811. int _internal_data_size() const;
  812. public:
  813. void clear_data() ;
  814. ::R360::EmbeddedData* mutable_data(int index);
  815. ::google::protobuf::RepeatedPtrField<::R360::EmbeddedData>* mutable_data();
  816. private:
  817. const ::google::protobuf::RepeatedPtrField<::R360::EmbeddedData>& _internal_data() const;
  818. ::google::protobuf::RepeatedPtrField<::R360::EmbeddedData>* _internal_mutable_data();
  819. public:
  820. const ::R360::EmbeddedData& data(int index) const;
  821. ::R360::EmbeddedData* add_data();
  822. const ::google::protobuf::RepeatedPtrField<::R360::EmbeddedData>& data() const;
  823. // @@protoc_insertion_point(class_scope:R360.DataList)
  824. private:
  825. class _Internal;
  826. friend class ::google::protobuf::internal::TcParser;
  827. static const ::google::protobuf::internal::TcParseTable<
  828. 0, 1, 1,
  829. 0, 2>
  830. _table_;
  831. friend class ::google::protobuf::MessageLite;
  832. friend class ::google::protobuf::Arena;
  833. template <typename T>
  834. friend class ::google::protobuf::Arena::InternalHelper;
  835. using InternalArenaConstructable_ = void;
  836. using DestructorSkippable_ = void;
  837. struct Impl_ {
  838. inline explicit constexpr Impl_(
  839. ::google::protobuf::internal::ConstantInitialized) noexcept;
  840. inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
  841. ::google::protobuf::Arena* arena);
  842. inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
  843. ::google::protobuf::Arena* arena, const Impl_& from,
  844. const DataList& from_msg);
  845. ::google::protobuf::RepeatedPtrField< ::R360::EmbeddedData > data_;
  846. ::google::protobuf::internal::CachedSize _cached_size_;
  847. PROTOBUF_TSAN_DECLARE_MEMBER
  848. };
  849. union { Impl_ _impl_; };
  850. friend struct ::TableStruct_ImageService_2eproto;
  851. };
  852. // ===================================================================
  853. // ===================================================================
  854. #ifdef __GNUC__
  855. #pragma GCC diagnostic push
  856. #pragma GCC diagnostic ignored "-Wstrict-aliasing"
  857. #endif // __GNUC__
  858. // -------------------------------------------------------------------
  859. // Empty
  860. // -------------------------------------------------------------------
  861. // DataList
  862. // repeated .R360.EmbeddedData data = 1;
  863. inline int DataList::_internal_data_size() const {
  864. return _internal_data().size();
  865. }
  866. inline int DataList::data_size() const {
  867. return _internal_data_size();
  868. }
  869. inline void DataList::clear_data() {
  870. ::google::protobuf::internal::TSanWrite(&_impl_);
  871. _impl_.data_.Clear();
  872. }
  873. inline ::R360::EmbeddedData* DataList::mutable_data(int index)
  874. ABSL_ATTRIBUTE_LIFETIME_BOUND {
  875. // @@protoc_insertion_point(field_mutable:R360.DataList.data)
  876. return _internal_mutable_data()->Mutable(index);
  877. }
  878. inline ::google::protobuf::RepeatedPtrField<::R360::EmbeddedData>* DataList::mutable_data()
  879. ABSL_ATTRIBUTE_LIFETIME_BOUND {
  880. // @@protoc_insertion_point(field_mutable_list:R360.DataList.data)
  881. ::google::protobuf::internal::TSanWrite(&_impl_);
  882. return _internal_mutable_data();
  883. }
  884. inline const ::R360::EmbeddedData& DataList::data(int index) const
  885. ABSL_ATTRIBUTE_LIFETIME_BOUND {
  886. // @@protoc_insertion_point(field_get:R360.DataList.data)
  887. return _internal_data().Get(index);
  888. }
  889. inline ::R360::EmbeddedData* DataList::add_data() ABSL_ATTRIBUTE_LIFETIME_BOUND {
  890. ::google::protobuf::internal::TSanWrite(&_impl_);
  891. ::R360::EmbeddedData* _add = _internal_mutable_data()->Add();
  892. // @@protoc_insertion_point(field_add:R360.DataList.data)
  893. return _add;
  894. }
  895. inline const ::google::protobuf::RepeatedPtrField<::R360::EmbeddedData>& DataList::data() const
  896. ABSL_ATTRIBUTE_LIFETIME_BOUND {
  897. // @@protoc_insertion_point(field_list:R360.DataList.data)
  898. return _internal_data();
  899. }
  900. inline const ::google::protobuf::RepeatedPtrField<::R360::EmbeddedData>&
  901. DataList::_internal_data() const {
  902. ::google::protobuf::internal::TSanRead(&_impl_);
  903. return _impl_.data_;
  904. }
  905. inline ::google::protobuf::RepeatedPtrField<::R360::EmbeddedData>*
  906. DataList::_internal_mutable_data() {
  907. ::google::protobuf::internal::TSanRead(&_impl_);
  908. return &_impl_.data_;
  909. }
  910. // -------------------------------------------------------------------
  911. // EmbeddedData
  912. // uint32 usb_camera_index = 1;
  913. inline void EmbeddedData::clear_usb_camera_index() {
  914. ::google::protobuf::internal::TSanWrite(&_impl_);
  915. _impl_.usb_camera_index_ = 0u;
  916. }
  917. inline ::uint32_t EmbeddedData::usb_camera_index() const {
  918. // @@protoc_insertion_point(field_get:R360.EmbeddedData.usb_camera_index)
  919. return _internal_usb_camera_index();
  920. }
  921. inline void EmbeddedData::set_usb_camera_index(::uint32_t value) {
  922. _internal_set_usb_camera_index(value);
  923. // @@protoc_insertion_point(field_set:R360.EmbeddedData.usb_camera_index)
  924. }
  925. inline ::uint32_t EmbeddedData::_internal_usb_camera_index() const {
  926. ::google::protobuf::internal::TSanRead(&_impl_);
  927. return _impl_.usb_camera_index_;
  928. }
  929. inline void EmbeddedData::_internal_set_usb_camera_index(::uint32_t value) {
  930. ::google::protobuf::internal::TSanWrite(&_impl_);
  931. _impl_.usb_camera_index_ = value;
  932. }
  933. // bytes image = 2;
  934. inline void EmbeddedData::clear_image() {
  935. ::google::protobuf::internal::TSanWrite(&_impl_);
  936. _impl_.image_.ClearToEmpty();
  937. }
  938. inline const std::string& EmbeddedData::image() const
  939. ABSL_ATTRIBUTE_LIFETIME_BOUND {
  940. // @@protoc_insertion_point(field_get:R360.EmbeddedData.image)
  941. return _internal_image();
  942. }
  943. template <typename Arg_, typename... Args_>
  944. inline PROTOBUF_ALWAYS_INLINE void EmbeddedData::set_image(Arg_&& arg,
  945. Args_... args) {
  946. ::google::protobuf::internal::TSanWrite(&_impl_);
  947. _impl_.image_.SetBytes(static_cast<Arg_&&>(arg), args..., GetArena());
  948. // @@protoc_insertion_point(field_set:R360.EmbeddedData.image)
  949. }
  950. inline std::string* EmbeddedData::mutable_image() ABSL_ATTRIBUTE_LIFETIME_BOUND {
  951. std::string* _s = _internal_mutable_image();
  952. // @@protoc_insertion_point(field_mutable:R360.EmbeddedData.image)
  953. return _s;
  954. }
  955. inline const std::string& EmbeddedData::_internal_image() const {
  956. ::google::protobuf::internal::TSanRead(&_impl_);
  957. return _impl_.image_.Get();
  958. }
  959. inline void EmbeddedData::_internal_set_image(const std::string& value) {
  960. ::google::protobuf::internal::TSanWrite(&_impl_);
  961. _impl_.image_.Set(value, GetArena());
  962. }
  963. inline std::string* EmbeddedData::_internal_mutable_image() {
  964. ::google::protobuf::internal::TSanWrite(&_impl_);
  965. return _impl_.image_.Mutable( GetArena());
  966. }
  967. inline std::string* EmbeddedData::release_image() {
  968. ::google::protobuf::internal::TSanWrite(&_impl_);
  969. // @@protoc_insertion_point(field_release:R360.EmbeddedData.image)
  970. return _impl_.image_.Release();
  971. }
  972. inline void EmbeddedData::set_allocated_image(std::string* value) {
  973. ::google::protobuf::internal::TSanWrite(&_impl_);
  974. _impl_.image_.SetAllocated(value, GetArena());
  975. if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.image_.IsDefault()) {
  976. _impl_.image_.Set("", GetArena());
  977. }
  978. // @@protoc_insertion_point(field_set_allocated:R360.EmbeddedData.image)
  979. }
  980. // uint64 degree = 3;
  981. inline void EmbeddedData::clear_degree() {
  982. ::google::protobuf::internal::TSanWrite(&_impl_);
  983. _impl_.degree_ = ::uint64_t{0u};
  984. }
  985. inline ::uint64_t EmbeddedData::degree() const {
  986. // @@protoc_insertion_point(field_get:R360.EmbeddedData.degree)
  987. return _internal_degree();
  988. }
  989. inline void EmbeddedData::set_degree(::uint64_t value) {
  990. _internal_set_degree(value);
  991. // @@protoc_insertion_point(field_set:R360.EmbeddedData.degree)
  992. }
  993. inline ::uint64_t EmbeddedData::_internal_degree() const {
  994. ::google::protobuf::internal::TSanRead(&_impl_);
  995. return _impl_.degree_;
  996. }
  997. inline void EmbeddedData::_internal_set_degree(::uint64_t value) {
  998. ::google::protobuf::internal::TSanWrite(&_impl_);
  999. _impl_.degree_ = value;
  1000. }
  1001. // repeated .R360.Alarm alarm = 4;
  1002. inline int EmbeddedData::_internal_alarm_size() const {
  1003. return _internal_alarm().size();
  1004. }
  1005. inline int EmbeddedData::alarm_size() const {
  1006. return _internal_alarm_size();
  1007. }
  1008. inline void EmbeddedData::clear_alarm() {
  1009. ::google::protobuf::internal::TSanWrite(&_impl_);
  1010. _impl_.alarm_.Clear();
  1011. }
  1012. inline ::R360::Alarm* EmbeddedData::mutable_alarm(int index)
  1013. ABSL_ATTRIBUTE_LIFETIME_BOUND {
  1014. // @@protoc_insertion_point(field_mutable:R360.EmbeddedData.alarm)
  1015. return _internal_mutable_alarm()->Mutable(index);
  1016. }
  1017. inline ::google::protobuf::RepeatedPtrField<::R360::Alarm>* EmbeddedData::mutable_alarm()
  1018. ABSL_ATTRIBUTE_LIFETIME_BOUND {
  1019. // @@protoc_insertion_point(field_mutable_list:R360.EmbeddedData.alarm)
  1020. ::google::protobuf::internal::TSanWrite(&_impl_);
  1021. return _internal_mutable_alarm();
  1022. }
  1023. inline const ::R360::Alarm& EmbeddedData::alarm(int index) const
  1024. ABSL_ATTRIBUTE_LIFETIME_BOUND {
  1025. // @@protoc_insertion_point(field_get:R360.EmbeddedData.alarm)
  1026. return _internal_alarm().Get(index);
  1027. }
  1028. inline ::R360::Alarm* EmbeddedData::add_alarm() ABSL_ATTRIBUTE_LIFETIME_BOUND {
  1029. ::google::protobuf::internal::TSanWrite(&_impl_);
  1030. ::R360::Alarm* _add = _internal_mutable_alarm()->Add();
  1031. // @@protoc_insertion_point(field_add:R360.EmbeddedData.alarm)
  1032. return _add;
  1033. }
  1034. inline const ::google::protobuf::RepeatedPtrField<::R360::Alarm>& EmbeddedData::alarm() const
  1035. ABSL_ATTRIBUTE_LIFETIME_BOUND {
  1036. // @@protoc_insertion_point(field_list:R360.EmbeddedData.alarm)
  1037. return _internal_alarm();
  1038. }
  1039. inline const ::google::protobuf::RepeatedPtrField<::R360::Alarm>&
  1040. EmbeddedData::_internal_alarm() const {
  1041. ::google::protobuf::internal::TSanRead(&_impl_);
  1042. return _impl_.alarm_;
  1043. }
  1044. inline ::google::protobuf::RepeatedPtrField<::R360::Alarm>*
  1045. EmbeddedData::_internal_mutable_alarm() {
  1046. ::google::protobuf::internal::TSanRead(&_impl_);
  1047. return &_impl_.alarm_;
  1048. }
  1049. // -------------------------------------------------------------------
  1050. // Alarm
  1051. // uint32 x = 1;
  1052. inline void Alarm::clear_x() {
  1053. ::google::protobuf::internal::TSanWrite(&_impl_);
  1054. _impl_.x_ = 0u;
  1055. }
  1056. inline ::uint32_t Alarm::x() const {
  1057. // @@protoc_insertion_point(field_get:R360.Alarm.x)
  1058. return _internal_x();
  1059. }
  1060. inline void Alarm::set_x(::uint32_t value) {
  1061. _internal_set_x(value);
  1062. // @@protoc_insertion_point(field_set:R360.Alarm.x)
  1063. }
  1064. inline ::uint32_t Alarm::_internal_x() const {
  1065. ::google::protobuf::internal::TSanRead(&_impl_);
  1066. return _impl_.x_;
  1067. }
  1068. inline void Alarm::_internal_set_x(::uint32_t value) {
  1069. ::google::protobuf::internal::TSanWrite(&_impl_);
  1070. _impl_.x_ = value;
  1071. }
  1072. // uint32 y = 2;
  1073. inline void Alarm::clear_y() {
  1074. ::google::protobuf::internal::TSanWrite(&_impl_);
  1075. _impl_.y_ = 0u;
  1076. }
  1077. inline ::uint32_t Alarm::y() const {
  1078. // @@protoc_insertion_point(field_get:R360.Alarm.y)
  1079. return _internal_y();
  1080. }
  1081. inline void Alarm::set_y(::uint32_t value) {
  1082. _internal_set_y(value);
  1083. // @@protoc_insertion_point(field_set:R360.Alarm.y)
  1084. }
  1085. inline ::uint32_t Alarm::_internal_y() const {
  1086. ::google::protobuf::internal::TSanRead(&_impl_);
  1087. return _impl_.y_;
  1088. }
  1089. inline void Alarm::_internal_set_y(::uint32_t value) {
  1090. ::google::protobuf::internal::TSanWrite(&_impl_);
  1091. _impl_.y_ = value;
  1092. }
  1093. // uint32 w = 3;
  1094. inline void Alarm::clear_w() {
  1095. ::google::protobuf::internal::TSanWrite(&_impl_);
  1096. _impl_.w_ = 0u;
  1097. }
  1098. inline ::uint32_t Alarm::w() const {
  1099. // @@protoc_insertion_point(field_get:R360.Alarm.w)
  1100. return _internal_w();
  1101. }
  1102. inline void Alarm::set_w(::uint32_t value) {
  1103. _internal_set_w(value);
  1104. // @@protoc_insertion_point(field_set:R360.Alarm.w)
  1105. }
  1106. inline ::uint32_t Alarm::_internal_w() const {
  1107. ::google::protobuf::internal::TSanRead(&_impl_);
  1108. return _impl_.w_;
  1109. }
  1110. inline void Alarm::_internal_set_w(::uint32_t value) {
  1111. ::google::protobuf::internal::TSanWrite(&_impl_);
  1112. _impl_.w_ = value;
  1113. }
  1114. // uint32 h = 4;
  1115. inline void Alarm::clear_h() {
  1116. ::google::protobuf::internal::TSanWrite(&_impl_);
  1117. _impl_.h_ = 0u;
  1118. }
  1119. inline ::uint32_t Alarm::h() const {
  1120. // @@protoc_insertion_point(field_get:R360.Alarm.h)
  1121. return _internal_h();
  1122. }
  1123. inline void Alarm::set_h(::uint32_t value) {
  1124. _internal_set_h(value);
  1125. // @@protoc_insertion_point(field_set:R360.Alarm.h)
  1126. }
  1127. inline ::uint32_t Alarm::_internal_h() const {
  1128. ::google::protobuf::internal::TSanRead(&_impl_);
  1129. return _impl_.h_;
  1130. }
  1131. inline void Alarm::_internal_set_h(::uint32_t value) {
  1132. ::google::protobuf::internal::TSanWrite(&_impl_);
  1133. _impl_.h_ = value;
  1134. }
  1135. // float score = 5;
  1136. inline void Alarm::clear_score() {
  1137. ::google::protobuf::internal::TSanWrite(&_impl_);
  1138. _impl_.score_ = 0;
  1139. }
  1140. inline float Alarm::score() const {
  1141. // @@protoc_insertion_point(field_get:R360.Alarm.score)
  1142. return _internal_score();
  1143. }
  1144. inline void Alarm::set_score(float value) {
  1145. _internal_set_score(value);
  1146. // @@protoc_insertion_point(field_set:R360.Alarm.score)
  1147. }
  1148. inline float Alarm::_internal_score() const {
  1149. ::google::protobuf::internal::TSanRead(&_impl_);
  1150. return _impl_.score_;
  1151. }
  1152. inline void Alarm::_internal_set_score(float value) {
  1153. ::google::protobuf::internal::TSanWrite(&_impl_);
  1154. _impl_.score_ = value;
  1155. }
  1156. // .R360.AlarmType type = 6;
  1157. inline void Alarm::clear_type() {
  1158. ::google::protobuf::internal::TSanWrite(&_impl_);
  1159. _impl_.type_ = 0;
  1160. }
  1161. inline ::R360::AlarmType Alarm::type() const {
  1162. // @@protoc_insertion_point(field_get:R360.Alarm.type)
  1163. return _internal_type();
  1164. }
  1165. inline void Alarm::set_type(::R360::AlarmType value) {
  1166. _internal_set_type(value);
  1167. // @@protoc_insertion_point(field_set:R360.Alarm.type)
  1168. }
  1169. inline ::R360::AlarmType Alarm::_internal_type() const {
  1170. ::google::protobuf::internal::TSanRead(&_impl_);
  1171. return static_cast<::R360::AlarmType>(_impl_.type_);
  1172. }
  1173. inline void Alarm::_internal_set_type(::R360::AlarmType value) {
  1174. ::google::protobuf::internal::TSanWrite(&_impl_);
  1175. _impl_.type_ = value;
  1176. }
  1177. #ifdef __GNUC__
  1178. #pragma GCC diagnostic pop
  1179. #endif // __GNUC__
  1180. // @@protoc_insertion_point(namespace_scope)
  1181. } // namespace R360
  1182. namespace google {
  1183. namespace protobuf {
  1184. template <>
  1185. struct is_proto_enum<::R360::AlarmType> : std::true_type {};
  1186. template <>
  1187. inline const EnumDescriptor* GetEnumDescriptor<::R360::AlarmType>() {
  1188. return ::R360::AlarmType_descriptor();
  1189. }
  1190. } // namespace protobuf
  1191. } // namespace google
  1192. // @@protoc_insertion_point(global_scope)
  1193. #include "google/protobuf/port_undef.inc"
  1194. #endif // ImageService_2eproto_2epb_2eh