123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323 |
- // Generated by the protocol buffer compiler. DO NOT EDIT!
- // NO CHECKED-IN PROTOBUF GENCODE
- // source: ImageService.proto
- // Protobuf C++ Version: 5.29.0
- #ifndef ImageService_2eproto_2epb_2eh
- #define ImageService_2eproto_2epb_2eh
- #include <limits>
- #include <string>
- #include <type_traits>
- #include <utility>
- #include "google/protobuf/runtime_version.h"
- #if PROTOBUF_VERSION != 5029000
- #error "Protobuf C++ gencode is built with an incompatible version of"
- #error "Protobuf C++ headers/runtime. See"
- #error "https://protobuf.dev/support/cross-version-runtime-guarantee/#cpp"
- #endif
- #include "google/protobuf/io/coded_stream.h"
- #include "google/protobuf/arena.h"
- #include "google/protobuf/arenastring.h"
- #include "google/protobuf/generated_message_bases.h"
- #include "google/protobuf/generated_message_tctable_decl.h"
- #include "google/protobuf/generated_message_util.h"
- #include "google/protobuf/metadata_lite.h"
- #include "google/protobuf/generated_message_reflection.h"
- #include "google/protobuf/message.h"
- #include "google/protobuf/message_lite.h"
- #include "google/protobuf/repeated_field.h" // IWYU pragma: export
- #include "google/protobuf/extension_set.h" // IWYU pragma: export
- #include "google/protobuf/generated_enum_reflection.h"
- #include "google/protobuf/unknown_field_set.h"
- // @@protoc_insertion_point(includes)
- // Must be included last.
- #include "google/protobuf/port_def.inc"
- #define PROTOBUF_INTERNAL_EXPORT_ImageService_2eproto
- namespace google {
- namespace protobuf {
- namespace internal {
- template <typename T>
- ::absl::string_view GetAnyMessageName();
- } // namespace internal
- } // namespace protobuf
- } // namespace google
- // Internal implementation detail -- do not use these members.
- struct TableStruct_ImageService_2eproto {
- static const ::uint32_t offsets[];
- };
- extern const ::google::protobuf::internal::DescriptorTable
- descriptor_table_ImageService_2eproto;
- namespace R360 {
- class Alarm;
- struct AlarmDefaultTypeInternal;
- extern AlarmDefaultTypeInternal _Alarm_default_instance_;
- class DataList;
- struct DataListDefaultTypeInternal;
- extern DataListDefaultTypeInternal _DataList_default_instance_;
- class EmbeddedData;
- struct EmbeddedDataDefaultTypeInternal;
- extern EmbeddedDataDefaultTypeInternal _EmbeddedData_default_instance_;
- class Empty;
- struct EmptyDefaultTypeInternal;
- extern EmptyDefaultTypeInternal _Empty_default_instance_;
- } // namespace R360
- namespace google {
- namespace protobuf {
- } // namespace protobuf
- } // namespace google
- namespace R360 {
- enum AlarmType : int {
- UAV = 0,
- AlarmType_INT_MIN_SENTINEL_DO_NOT_USE_ =
- std::numeric_limits<::int32_t>::min(),
- AlarmType_INT_MAX_SENTINEL_DO_NOT_USE_ =
- std::numeric_limits<::int32_t>::max(),
- };
- bool AlarmType_IsValid(int value);
- extern const uint32_t AlarmType_internal_data_[];
- constexpr AlarmType AlarmType_MIN = static_cast<AlarmType>(0);
- constexpr AlarmType AlarmType_MAX = static_cast<AlarmType>(0);
- constexpr int AlarmType_ARRAYSIZE = 0 + 1;
- const ::google::protobuf::EnumDescriptor*
- AlarmType_descriptor();
- template <typename T>
- const std::string& AlarmType_Name(T value) {
- static_assert(std::is_same<T, AlarmType>::value ||
- std::is_integral<T>::value,
- "Incorrect type passed to AlarmType_Name().");
- return AlarmType_Name(static_cast<AlarmType>(value));
- }
- template <>
- inline const std::string& AlarmType_Name(AlarmType value) {
- return ::google::protobuf::internal::NameOfDenseEnum<AlarmType_descriptor,
- 0, 0>(
- static_cast<int>(value));
- }
- inline bool AlarmType_Parse(absl::string_view name, AlarmType* value) {
- return ::google::protobuf::internal::ParseNamedEnum<AlarmType>(
- AlarmType_descriptor(), name, value);
- }
- // ===================================================================
- // -------------------------------------------------------------------
- class Empty final
- : public ::google::protobuf::internal::ZeroFieldsBase
- /* @@protoc_insertion_point(class_definition:R360.Empty) */ {
- public:
- inline Empty() : Empty(nullptr) {}
- #if defined(PROTOBUF_CUSTOM_VTABLE)
- void operator delete(Empty* msg, std::destroying_delete_t) {
- SharedDtor(*msg);
- ::google::protobuf::internal::SizedDelete(msg, sizeof(Empty));
- }
- #endif
- template <typename = void>
- explicit PROTOBUF_CONSTEXPR Empty(
- ::google::protobuf::internal::ConstantInitialized);
- inline Empty(const Empty& from) : Empty(nullptr, from) {}
- inline Empty(Empty&& from) noexcept
- : Empty(nullptr, std::move(from)) {}
- inline Empty& operator=(const Empty& from) {
- CopyFrom(from);
- return *this;
- }
- inline Empty& operator=(Empty&& from) noexcept {
- if (this == &from) return *this;
- if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
- ABSL_ATTRIBUTE_LIFETIME_BOUND {
- return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
- }
- inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields()
- ABSL_ATTRIBUTE_LIFETIME_BOUND {
- return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
- }
- static const ::google::protobuf::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::google::protobuf::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::google::protobuf::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const Empty& default_instance() {
- return *internal_default_instance();
- }
- static inline const Empty* internal_default_instance() {
- return reinterpret_cast<const Empty*>(
- &_Empty_default_instance_);
- }
- static constexpr int kIndexInFileMessages = 0;
- friend void swap(Empty& a, Empty& b) { a.Swap(&b); }
- inline void Swap(Empty* other) {
- if (other == this) return;
- if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
- InternalSwap(other);
- } else {
- ::google::protobuf::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(Empty* other) {
- if (other == this) return;
- ABSL_DCHECK(GetArena() == other->GetArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- Empty* New(::google::protobuf::Arena* arena = nullptr) const {
- return ::google::protobuf::internal::ZeroFieldsBase::DefaultConstruct<Empty>(arena);
- }
- using ::google::protobuf::internal::ZeroFieldsBase::CopyFrom;
- inline void CopyFrom(const Empty& from) {
- ::google::protobuf::internal::ZeroFieldsBase::CopyImpl(*this, from);
- }
- using ::google::protobuf::internal::ZeroFieldsBase::MergeFrom;
- void MergeFrom(const Empty& from) {
- ::google::protobuf::internal::ZeroFieldsBase::MergeImpl(*this, from);
- }
- public:
- bool IsInitialized() const {
- return true;
- }
- private:
- template <typename T>
- friend ::absl::string_view(
- ::google::protobuf::internal::GetAnyMessageName)();
- static ::absl::string_view FullMessageName() { return "R360.Empty"; }
- protected:
- explicit Empty(::google::protobuf::Arena* arena);
- Empty(::google::protobuf::Arena* arena, const Empty& from);
- Empty(::google::protobuf::Arena* arena, Empty&& from) noexcept
- : Empty(arena) {
- *this = ::std::move(from);
- }
- const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL;
- static void* PlacementNew_(const void*, void* mem,
- ::google::protobuf::Arena* arena);
- static constexpr auto InternalNewImpl_();
- static const ::google::protobuf::internal::ClassDataFull _class_data_;
- public:
- ::google::protobuf::Metadata GetMetadata() const;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- // @@protoc_insertion_point(class_scope:R360.Empty)
- private:
- class _Internal;
- friend class ::google::protobuf::internal::TcParser;
- static const ::google::protobuf::internal::TcParseTable<
- 0, 0, 0,
- 0, 2>
- _table_;
- friend class ::google::protobuf::MessageLite;
- friend class ::google::protobuf::Arena;
- template <typename T>
- friend class ::google::protobuf::Arena::InternalHelper;
- using InternalArenaConstructable_ = void;
- using DestructorSkippable_ = void;
- struct Impl_ {
- inline explicit constexpr Impl_(
- ::google::protobuf::internal::ConstantInitialized) noexcept;
- inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
- ::google::protobuf::Arena* arena);
- inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
- ::google::protobuf::Arena* arena, const Impl_& from,
- const Empty& from_msg);
- PROTOBUF_TSAN_DECLARE_MEMBER
- };
- friend struct ::TableStruct_ImageService_2eproto;
- };
- // -------------------------------------------------------------------
- class Alarm final
- : public ::google::protobuf::Message
- /* @@protoc_insertion_point(class_definition:R360.Alarm) */ {
- public:
- inline Alarm() : Alarm(nullptr) {}
- ~Alarm() PROTOBUF_FINAL;
- #if defined(PROTOBUF_CUSTOM_VTABLE)
- void operator delete(Alarm* msg, std::destroying_delete_t) {
- SharedDtor(*msg);
- ::google::protobuf::internal::SizedDelete(msg, sizeof(Alarm));
- }
- #endif
- template <typename = void>
- explicit PROTOBUF_CONSTEXPR Alarm(
- ::google::protobuf::internal::ConstantInitialized);
- inline Alarm(const Alarm& from) : Alarm(nullptr, from) {}
- inline Alarm(Alarm&& from) noexcept
- : Alarm(nullptr, std::move(from)) {}
- inline Alarm& operator=(const Alarm& from) {
- CopyFrom(from);
- return *this;
- }
- inline Alarm& operator=(Alarm&& from) noexcept {
- if (this == &from) return *this;
- if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
- ABSL_ATTRIBUTE_LIFETIME_BOUND {
- return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
- }
- inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields()
- ABSL_ATTRIBUTE_LIFETIME_BOUND {
- return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
- }
- static const ::google::protobuf::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::google::protobuf::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::google::protobuf::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const Alarm& default_instance() {
- return *internal_default_instance();
- }
- static inline const Alarm* internal_default_instance() {
- return reinterpret_cast<const Alarm*>(
- &_Alarm_default_instance_);
- }
- static constexpr int kIndexInFileMessages = 3;
- friend void swap(Alarm& a, Alarm& b) { a.Swap(&b); }
- inline void Swap(Alarm* other) {
- if (other == this) return;
- if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
- InternalSwap(other);
- } else {
- ::google::protobuf::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(Alarm* other) {
- if (other == this) return;
- ABSL_DCHECK(GetArena() == other->GetArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- Alarm* New(::google::protobuf::Arena* arena = nullptr) const {
- return ::google::protobuf::Message::DefaultConstruct<Alarm>(arena);
- }
- using ::google::protobuf::Message::CopyFrom;
- void CopyFrom(const Alarm& from);
- using ::google::protobuf::Message::MergeFrom;
- void MergeFrom(const Alarm& from) { Alarm::MergeImpl(*this, from); }
- private:
- static void MergeImpl(
- ::google::protobuf::MessageLite& to_msg,
- const ::google::protobuf::MessageLite& from_msg);
- public:
- bool IsInitialized() const {
- return true;
- }
- ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
- #if defined(PROTOBUF_CUSTOM_VTABLE)
- private:
- static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
- static ::uint8_t* _InternalSerialize(
- const MessageLite& msg, ::uint8_t* target,
- ::google::protobuf::io::EpsCopyOutputStream* stream);
- public:
- ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
- ::uint8_t* _InternalSerialize(
- ::uint8_t* target,
- ::google::protobuf::io::EpsCopyOutputStream* stream) const {
- return _InternalSerialize(*this, target, stream);
- }
- #else // PROTOBUF_CUSTOM_VTABLE
- ::size_t ByteSizeLong() const final;
- ::uint8_t* _InternalSerialize(
- ::uint8_t* target,
- ::google::protobuf::io::EpsCopyOutputStream* stream) const final;
- #endif // PROTOBUF_CUSTOM_VTABLE
- int GetCachedSize() const { return _impl_._cached_size_.Get(); }
- private:
- void SharedCtor(::google::protobuf::Arena* arena);
- static void SharedDtor(MessageLite& self);
- void InternalSwap(Alarm* other);
- private:
- template <typename T>
- friend ::absl::string_view(
- ::google::protobuf::internal::GetAnyMessageName)();
- static ::absl::string_view FullMessageName() { return "R360.Alarm"; }
- protected:
- explicit Alarm(::google::protobuf::Arena* arena);
- Alarm(::google::protobuf::Arena* arena, const Alarm& from);
- Alarm(::google::protobuf::Arena* arena, Alarm&& from) noexcept
- : Alarm(arena) {
- *this = ::std::move(from);
- }
- const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL;
- static void* PlacementNew_(const void*, void* mem,
- ::google::protobuf::Arena* arena);
- static constexpr auto InternalNewImpl_();
- static const ::google::protobuf::internal::ClassDataFull _class_data_;
- public:
- ::google::protobuf::Metadata GetMetadata() const;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kXFieldNumber = 1,
- kYFieldNumber = 2,
- kWFieldNumber = 3,
- kHFieldNumber = 4,
- kScoreFieldNumber = 5,
- kTypeFieldNumber = 6,
- };
- // uint32 x = 1;
- void clear_x() ;
- ::uint32_t x() const;
- void set_x(::uint32_t value);
- private:
- ::uint32_t _internal_x() const;
- void _internal_set_x(::uint32_t value);
- public:
- // uint32 y = 2;
- void clear_y() ;
- ::uint32_t y() const;
- void set_y(::uint32_t value);
- private:
- ::uint32_t _internal_y() const;
- void _internal_set_y(::uint32_t value);
- public:
- // uint32 w = 3;
- void clear_w() ;
- ::uint32_t w() const;
- void set_w(::uint32_t value);
- private:
- ::uint32_t _internal_w() const;
- void _internal_set_w(::uint32_t value);
- public:
- // uint32 h = 4;
- void clear_h() ;
- ::uint32_t h() const;
- void set_h(::uint32_t value);
- private:
- ::uint32_t _internal_h() const;
- void _internal_set_h(::uint32_t value);
- public:
- // float score = 5;
- void clear_score() ;
- float score() const;
- void set_score(float value);
- private:
- float _internal_score() const;
- void _internal_set_score(float value);
- public:
- // .R360.AlarmType type = 6;
- void clear_type() ;
- ::R360::AlarmType type() const;
- void set_type(::R360::AlarmType value);
- private:
- ::R360::AlarmType _internal_type() const;
- void _internal_set_type(::R360::AlarmType value);
- public:
- // @@protoc_insertion_point(class_scope:R360.Alarm)
- private:
- class _Internal;
- friend class ::google::protobuf::internal::TcParser;
- static const ::google::protobuf::internal::TcParseTable<
- 3, 6, 0,
- 0, 2>
- _table_;
- friend class ::google::protobuf::MessageLite;
- friend class ::google::protobuf::Arena;
- template <typename T>
- friend class ::google::protobuf::Arena::InternalHelper;
- using InternalArenaConstructable_ = void;
- using DestructorSkippable_ = void;
- struct Impl_ {
- inline explicit constexpr Impl_(
- ::google::protobuf::internal::ConstantInitialized) noexcept;
- inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
- ::google::protobuf::Arena* arena);
- inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
- ::google::protobuf::Arena* arena, const Impl_& from,
- const Alarm& from_msg);
- ::uint32_t x_;
- ::uint32_t y_;
- ::uint32_t w_;
- ::uint32_t h_;
- float score_;
- int type_;
- ::google::protobuf::internal::CachedSize _cached_size_;
- PROTOBUF_TSAN_DECLARE_MEMBER
- };
- union { Impl_ _impl_; };
- friend struct ::TableStruct_ImageService_2eproto;
- };
- // -------------------------------------------------------------------
- class EmbeddedData final
- : public ::google::protobuf::Message
- /* @@protoc_insertion_point(class_definition:R360.EmbeddedData) */ {
- public:
- inline EmbeddedData() : EmbeddedData(nullptr) {}
- ~EmbeddedData() PROTOBUF_FINAL;
- #if defined(PROTOBUF_CUSTOM_VTABLE)
- void operator delete(EmbeddedData* msg, std::destroying_delete_t) {
- SharedDtor(*msg);
- ::google::protobuf::internal::SizedDelete(msg, sizeof(EmbeddedData));
- }
- #endif
- template <typename = void>
- explicit PROTOBUF_CONSTEXPR EmbeddedData(
- ::google::protobuf::internal::ConstantInitialized);
- inline EmbeddedData(const EmbeddedData& from) : EmbeddedData(nullptr, from) {}
- inline EmbeddedData(EmbeddedData&& from) noexcept
- : EmbeddedData(nullptr, std::move(from)) {}
- inline EmbeddedData& operator=(const EmbeddedData& from) {
- CopyFrom(from);
- return *this;
- }
- inline EmbeddedData& operator=(EmbeddedData&& from) noexcept {
- if (this == &from) return *this;
- if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
- ABSL_ATTRIBUTE_LIFETIME_BOUND {
- return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
- }
- inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields()
- ABSL_ATTRIBUTE_LIFETIME_BOUND {
- return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
- }
- static const ::google::protobuf::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::google::protobuf::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::google::protobuf::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const EmbeddedData& default_instance() {
- return *internal_default_instance();
- }
- static inline const EmbeddedData* internal_default_instance() {
- return reinterpret_cast<const EmbeddedData*>(
- &_EmbeddedData_default_instance_);
- }
- static constexpr int kIndexInFileMessages = 2;
- friend void swap(EmbeddedData& a, EmbeddedData& b) { a.Swap(&b); }
- inline void Swap(EmbeddedData* other) {
- if (other == this) return;
- if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
- InternalSwap(other);
- } else {
- ::google::protobuf::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(EmbeddedData* other) {
- if (other == this) return;
- ABSL_DCHECK(GetArena() == other->GetArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- EmbeddedData* New(::google::protobuf::Arena* arena = nullptr) const {
- return ::google::protobuf::Message::DefaultConstruct<EmbeddedData>(arena);
- }
- using ::google::protobuf::Message::CopyFrom;
- void CopyFrom(const EmbeddedData& from);
- using ::google::protobuf::Message::MergeFrom;
- void MergeFrom(const EmbeddedData& from) { EmbeddedData::MergeImpl(*this, from); }
- private:
- static void MergeImpl(
- ::google::protobuf::MessageLite& to_msg,
- const ::google::protobuf::MessageLite& from_msg);
- public:
- bool IsInitialized() const {
- return true;
- }
- ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
- #if defined(PROTOBUF_CUSTOM_VTABLE)
- private:
- static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
- static ::uint8_t* _InternalSerialize(
- const MessageLite& msg, ::uint8_t* target,
- ::google::protobuf::io::EpsCopyOutputStream* stream);
- public:
- ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
- ::uint8_t* _InternalSerialize(
- ::uint8_t* target,
- ::google::protobuf::io::EpsCopyOutputStream* stream) const {
- return _InternalSerialize(*this, target, stream);
- }
- #else // PROTOBUF_CUSTOM_VTABLE
- ::size_t ByteSizeLong() const final;
- ::uint8_t* _InternalSerialize(
- ::uint8_t* target,
- ::google::protobuf::io::EpsCopyOutputStream* stream) const final;
- #endif // PROTOBUF_CUSTOM_VTABLE
- int GetCachedSize() const { return _impl_._cached_size_.Get(); }
- private:
- void SharedCtor(::google::protobuf::Arena* arena);
- static void SharedDtor(MessageLite& self);
- void InternalSwap(EmbeddedData* other);
- private:
- template <typename T>
- friend ::absl::string_view(
- ::google::protobuf::internal::GetAnyMessageName)();
- static ::absl::string_view FullMessageName() { return "R360.EmbeddedData"; }
- protected:
- explicit EmbeddedData(::google::protobuf::Arena* arena);
- EmbeddedData(::google::protobuf::Arena* arena, const EmbeddedData& from);
- EmbeddedData(::google::protobuf::Arena* arena, EmbeddedData&& from) noexcept
- : EmbeddedData(arena) {
- *this = ::std::move(from);
- }
- const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL;
- static void* PlacementNew_(const void*, void* mem,
- ::google::protobuf::Arena* arena);
- static constexpr auto InternalNewImpl_();
- static const ::google::protobuf::internal::ClassDataFull _class_data_;
- public:
- ::google::protobuf::Metadata GetMetadata() const;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kAlarmFieldNumber = 4,
- kImageFieldNumber = 2,
- kDegreeFieldNumber = 3,
- kUsbCameraIndexFieldNumber = 1,
- };
- // repeated .R360.Alarm alarm = 4;
- int alarm_size() const;
- private:
- int _internal_alarm_size() const;
- public:
- void clear_alarm() ;
- ::R360::Alarm* mutable_alarm(int index);
- ::google::protobuf::RepeatedPtrField<::R360::Alarm>* mutable_alarm();
- private:
- const ::google::protobuf::RepeatedPtrField<::R360::Alarm>& _internal_alarm() const;
- ::google::protobuf::RepeatedPtrField<::R360::Alarm>* _internal_mutable_alarm();
- public:
- const ::R360::Alarm& alarm(int index) const;
- ::R360::Alarm* add_alarm();
- const ::google::protobuf::RepeatedPtrField<::R360::Alarm>& alarm() const;
- // bytes image = 2;
- void clear_image() ;
- const std::string& image() const;
- template <typename Arg_ = const std::string&, typename... Args_>
- void set_image(Arg_&& arg, Args_... args);
- std::string* mutable_image();
- PROTOBUF_NODISCARD std::string* release_image();
- void set_allocated_image(std::string* value);
- private:
- const std::string& _internal_image() const;
- inline PROTOBUF_ALWAYS_INLINE void _internal_set_image(
- const std::string& value);
- std::string* _internal_mutable_image();
- public:
- // uint64 degree = 3;
- void clear_degree() ;
- ::uint64_t degree() const;
- void set_degree(::uint64_t value);
- private:
- ::uint64_t _internal_degree() const;
- void _internal_set_degree(::uint64_t value);
- public:
- // uint32 usb_camera_index = 1;
- void clear_usb_camera_index() ;
- ::uint32_t usb_camera_index() const;
- void set_usb_camera_index(::uint32_t value);
- private:
- ::uint32_t _internal_usb_camera_index() const;
- void _internal_set_usb_camera_index(::uint32_t value);
- public:
- // @@protoc_insertion_point(class_scope:R360.EmbeddedData)
- private:
- class _Internal;
- friend class ::google::protobuf::internal::TcParser;
- static const ::google::protobuf::internal::TcParseTable<
- 2, 4, 1,
- 0, 2>
- _table_;
- friend class ::google::protobuf::MessageLite;
- friend class ::google::protobuf::Arena;
- template <typename T>
- friend class ::google::protobuf::Arena::InternalHelper;
- using InternalArenaConstructable_ = void;
- using DestructorSkippable_ = void;
- struct Impl_ {
- inline explicit constexpr Impl_(
- ::google::protobuf::internal::ConstantInitialized) noexcept;
- inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
- ::google::protobuf::Arena* arena);
- inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
- ::google::protobuf::Arena* arena, const Impl_& from,
- const EmbeddedData& from_msg);
- ::google::protobuf::RepeatedPtrField< ::R360::Alarm > alarm_;
- ::google::protobuf::internal::ArenaStringPtr image_;
- ::uint64_t degree_;
- ::uint32_t usb_camera_index_;
- ::google::protobuf::internal::CachedSize _cached_size_;
- PROTOBUF_TSAN_DECLARE_MEMBER
- };
- union { Impl_ _impl_; };
- friend struct ::TableStruct_ImageService_2eproto;
- };
- // -------------------------------------------------------------------
- class DataList final
- : public ::google::protobuf::Message
- /* @@protoc_insertion_point(class_definition:R360.DataList) */ {
- public:
- inline DataList() : DataList(nullptr) {}
- ~DataList() PROTOBUF_FINAL;
- #if defined(PROTOBUF_CUSTOM_VTABLE)
- void operator delete(DataList* msg, std::destroying_delete_t) {
- SharedDtor(*msg);
- ::google::protobuf::internal::SizedDelete(msg, sizeof(DataList));
- }
- #endif
- template <typename = void>
- explicit PROTOBUF_CONSTEXPR DataList(
- ::google::protobuf::internal::ConstantInitialized);
- inline DataList(const DataList& from) : DataList(nullptr, from) {}
- inline DataList(DataList&& from) noexcept
- : DataList(nullptr, std::move(from)) {}
- inline DataList& operator=(const DataList& from) {
- CopyFrom(from);
- return *this;
- }
- inline DataList& operator=(DataList&& from) noexcept {
- if (this == &from) return *this;
- if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
- ABSL_ATTRIBUTE_LIFETIME_BOUND {
- return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
- }
- inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields()
- ABSL_ATTRIBUTE_LIFETIME_BOUND {
- return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
- }
- static const ::google::protobuf::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::google::protobuf::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::google::protobuf::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const DataList& default_instance() {
- return *internal_default_instance();
- }
- static inline const DataList* internal_default_instance() {
- return reinterpret_cast<const DataList*>(
- &_DataList_default_instance_);
- }
- static constexpr int kIndexInFileMessages = 1;
- friend void swap(DataList& a, DataList& b) { a.Swap(&b); }
- inline void Swap(DataList* other) {
- if (other == this) return;
- if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
- InternalSwap(other);
- } else {
- ::google::protobuf::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(DataList* other) {
- if (other == this) return;
- ABSL_DCHECK(GetArena() == other->GetArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- DataList* New(::google::protobuf::Arena* arena = nullptr) const {
- return ::google::protobuf::Message::DefaultConstruct<DataList>(arena);
- }
- using ::google::protobuf::Message::CopyFrom;
- void CopyFrom(const DataList& from);
- using ::google::protobuf::Message::MergeFrom;
- void MergeFrom(const DataList& from) { DataList::MergeImpl(*this, from); }
- private:
- static void MergeImpl(
- ::google::protobuf::MessageLite& to_msg,
- const ::google::protobuf::MessageLite& from_msg);
- public:
- bool IsInitialized() const {
- return true;
- }
- ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
- #if defined(PROTOBUF_CUSTOM_VTABLE)
- private:
- static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
- static ::uint8_t* _InternalSerialize(
- const MessageLite& msg, ::uint8_t* target,
- ::google::protobuf::io::EpsCopyOutputStream* stream);
- public:
- ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
- ::uint8_t* _InternalSerialize(
- ::uint8_t* target,
- ::google::protobuf::io::EpsCopyOutputStream* stream) const {
- return _InternalSerialize(*this, target, stream);
- }
- #else // PROTOBUF_CUSTOM_VTABLE
- ::size_t ByteSizeLong() const final;
- ::uint8_t* _InternalSerialize(
- ::uint8_t* target,
- ::google::protobuf::io::EpsCopyOutputStream* stream) const final;
- #endif // PROTOBUF_CUSTOM_VTABLE
- int GetCachedSize() const { return _impl_._cached_size_.Get(); }
- private:
- void SharedCtor(::google::protobuf::Arena* arena);
- static void SharedDtor(MessageLite& self);
- void InternalSwap(DataList* other);
- private:
- template <typename T>
- friend ::absl::string_view(
- ::google::protobuf::internal::GetAnyMessageName)();
- static ::absl::string_view FullMessageName() { return "R360.DataList"; }
- protected:
- explicit DataList(::google::protobuf::Arena* arena);
- DataList(::google::protobuf::Arena* arena, const DataList& from);
- DataList(::google::protobuf::Arena* arena, DataList&& from) noexcept
- : DataList(arena) {
- *this = ::std::move(from);
- }
- const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL;
- static void* PlacementNew_(const void*, void* mem,
- ::google::protobuf::Arena* arena);
- static constexpr auto InternalNewImpl_();
- static const ::google::protobuf::internal::ClassDataFull _class_data_;
- public:
- ::google::protobuf::Metadata GetMetadata() const;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kDataFieldNumber = 1,
- };
- // repeated .R360.EmbeddedData data = 1;
- int data_size() const;
- private:
- int _internal_data_size() const;
- public:
- void clear_data() ;
- ::R360::EmbeddedData* mutable_data(int index);
- ::google::protobuf::RepeatedPtrField<::R360::EmbeddedData>* mutable_data();
- private:
- const ::google::protobuf::RepeatedPtrField<::R360::EmbeddedData>& _internal_data() const;
- ::google::protobuf::RepeatedPtrField<::R360::EmbeddedData>* _internal_mutable_data();
- public:
- const ::R360::EmbeddedData& data(int index) const;
- ::R360::EmbeddedData* add_data();
- const ::google::protobuf::RepeatedPtrField<::R360::EmbeddedData>& data() const;
- // @@protoc_insertion_point(class_scope:R360.DataList)
- private:
- class _Internal;
- friend class ::google::protobuf::internal::TcParser;
- static const ::google::protobuf::internal::TcParseTable<
- 0, 1, 1,
- 0, 2>
- _table_;
- friend class ::google::protobuf::MessageLite;
- friend class ::google::protobuf::Arena;
- template <typename T>
- friend class ::google::protobuf::Arena::InternalHelper;
- using InternalArenaConstructable_ = void;
- using DestructorSkippable_ = void;
- struct Impl_ {
- inline explicit constexpr Impl_(
- ::google::protobuf::internal::ConstantInitialized) noexcept;
- inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
- ::google::protobuf::Arena* arena);
- inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
- ::google::protobuf::Arena* arena, const Impl_& from,
- const DataList& from_msg);
- ::google::protobuf::RepeatedPtrField< ::R360::EmbeddedData > data_;
- ::google::protobuf::internal::CachedSize _cached_size_;
- PROTOBUF_TSAN_DECLARE_MEMBER
- };
- union { Impl_ _impl_; };
- friend struct ::TableStruct_ImageService_2eproto;
- };
- // ===================================================================
- // ===================================================================
- #ifdef __GNUC__
- #pragma GCC diagnostic push
- #pragma GCC diagnostic ignored "-Wstrict-aliasing"
- #endif // __GNUC__
- // -------------------------------------------------------------------
- // Empty
- // -------------------------------------------------------------------
- // DataList
- // repeated .R360.EmbeddedData data = 1;
- inline int DataList::_internal_data_size() const {
- return _internal_data().size();
- }
- inline int DataList::data_size() const {
- return _internal_data_size();
- }
- inline void DataList::clear_data() {
- ::google::protobuf::internal::TSanWrite(&_impl_);
- _impl_.data_.Clear();
- }
- inline ::R360::EmbeddedData* DataList::mutable_data(int index)
- ABSL_ATTRIBUTE_LIFETIME_BOUND {
- // @@protoc_insertion_point(field_mutable:R360.DataList.data)
- return _internal_mutable_data()->Mutable(index);
- }
- inline ::google::protobuf::RepeatedPtrField<::R360::EmbeddedData>* DataList::mutable_data()
- ABSL_ATTRIBUTE_LIFETIME_BOUND {
- // @@protoc_insertion_point(field_mutable_list:R360.DataList.data)
- ::google::protobuf::internal::TSanWrite(&_impl_);
- return _internal_mutable_data();
- }
- inline const ::R360::EmbeddedData& DataList::data(int index) const
- ABSL_ATTRIBUTE_LIFETIME_BOUND {
- // @@protoc_insertion_point(field_get:R360.DataList.data)
- return _internal_data().Get(index);
- }
- inline ::R360::EmbeddedData* DataList::add_data() ABSL_ATTRIBUTE_LIFETIME_BOUND {
- ::google::protobuf::internal::TSanWrite(&_impl_);
- ::R360::EmbeddedData* _add = _internal_mutable_data()->Add();
- // @@protoc_insertion_point(field_add:R360.DataList.data)
- return _add;
- }
- inline const ::google::protobuf::RepeatedPtrField<::R360::EmbeddedData>& DataList::data() const
- ABSL_ATTRIBUTE_LIFETIME_BOUND {
- // @@protoc_insertion_point(field_list:R360.DataList.data)
- return _internal_data();
- }
- inline const ::google::protobuf::RepeatedPtrField<::R360::EmbeddedData>&
- DataList::_internal_data() const {
- ::google::protobuf::internal::TSanRead(&_impl_);
- return _impl_.data_;
- }
- inline ::google::protobuf::RepeatedPtrField<::R360::EmbeddedData>*
- DataList::_internal_mutable_data() {
- ::google::protobuf::internal::TSanRead(&_impl_);
- return &_impl_.data_;
- }
- // -------------------------------------------------------------------
- // EmbeddedData
- // uint32 usb_camera_index = 1;
- inline void EmbeddedData::clear_usb_camera_index() {
- ::google::protobuf::internal::TSanWrite(&_impl_);
- _impl_.usb_camera_index_ = 0u;
- }
- inline ::uint32_t EmbeddedData::usb_camera_index() const {
- // @@protoc_insertion_point(field_get:R360.EmbeddedData.usb_camera_index)
- return _internal_usb_camera_index();
- }
- inline void EmbeddedData::set_usb_camera_index(::uint32_t value) {
- _internal_set_usb_camera_index(value);
- // @@protoc_insertion_point(field_set:R360.EmbeddedData.usb_camera_index)
- }
- inline ::uint32_t EmbeddedData::_internal_usb_camera_index() const {
- ::google::protobuf::internal::TSanRead(&_impl_);
- return _impl_.usb_camera_index_;
- }
- inline void EmbeddedData::_internal_set_usb_camera_index(::uint32_t value) {
- ::google::protobuf::internal::TSanWrite(&_impl_);
- _impl_.usb_camera_index_ = value;
- }
- // bytes image = 2;
- inline void EmbeddedData::clear_image() {
- ::google::protobuf::internal::TSanWrite(&_impl_);
- _impl_.image_.ClearToEmpty();
- }
- inline const std::string& EmbeddedData::image() const
- ABSL_ATTRIBUTE_LIFETIME_BOUND {
- // @@protoc_insertion_point(field_get:R360.EmbeddedData.image)
- return _internal_image();
- }
- template <typename Arg_, typename... Args_>
- inline PROTOBUF_ALWAYS_INLINE void EmbeddedData::set_image(Arg_&& arg,
- Args_... args) {
- ::google::protobuf::internal::TSanWrite(&_impl_);
- _impl_.image_.SetBytes(static_cast<Arg_&&>(arg), args..., GetArena());
- // @@protoc_insertion_point(field_set:R360.EmbeddedData.image)
- }
- inline std::string* EmbeddedData::mutable_image() ABSL_ATTRIBUTE_LIFETIME_BOUND {
- std::string* _s = _internal_mutable_image();
- // @@protoc_insertion_point(field_mutable:R360.EmbeddedData.image)
- return _s;
- }
- inline const std::string& EmbeddedData::_internal_image() const {
- ::google::protobuf::internal::TSanRead(&_impl_);
- return _impl_.image_.Get();
- }
- inline void EmbeddedData::_internal_set_image(const std::string& value) {
- ::google::protobuf::internal::TSanWrite(&_impl_);
- _impl_.image_.Set(value, GetArena());
- }
- inline std::string* EmbeddedData::_internal_mutable_image() {
- ::google::protobuf::internal::TSanWrite(&_impl_);
- return _impl_.image_.Mutable( GetArena());
- }
- inline std::string* EmbeddedData::release_image() {
- ::google::protobuf::internal::TSanWrite(&_impl_);
- // @@protoc_insertion_point(field_release:R360.EmbeddedData.image)
- return _impl_.image_.Release();
- }
- inline void EmbeddedData::set_allocated_image(std::string* value) {
- ::google::protobuf::internal::TSanWrite(&_impl_);
- _impl_.image_.SetAllocated(value, GetArena());
- if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.image_.IsDefault()) {
- _impl_.image_.Set("", GetArena());
- }
- // @@protoc_insertion_point(field_set_allocated:R360.EmbeddedData.image)
- }
- // uint64 degree = 3;
- inline void EmbeddedData::clear_degree() {
- ::google::protobuf::internal::TSanWrite(&_impl_);
- _impl_.degree_ = ::uint64_t{0u};
- }
- inline ::uint64_t EmbeddedData::degree() const {
- // @@protoc_insertion_point(field_get:R360.EmbeddedData.degree)
- return _internal_degree();
- }
- inline void EmbeddedData::set_degree(::uint64_t value) {
- _internal_set_degree(value);
- // @@protoc_insertion_point(field_set:R360.EmbeddedData.degree)
- }
- inline ::uint64_t EmbeddedData::_internal_degree() const {
- ::google::protobuf::internal::TSanRead(&_impl_);
- return _impl_.degree_;
- }
- inline void EmbeddedData::_internal_set_degree(::uint64_t value) {
- ::google::protobuf::internal::TSanWrite(&_impl_);
- _impl_.degree_ = value;
- }
- // repeated .R360.Alarm alarm = 4;
- inline int EmbeddedData::_internal_alarm_size() const {
- return _internal_alarm().size();
- }
- inline int EmbeddedData::alarm_size() const {
- return _internal_alarm_size();
- }
- inline void EmbeddedData::clear_alarm() {
- ::google::protobuf::internal::TSanWrite(&_impl_);
- _impl_.alarm_.Clear();
- }
- inline ::R360::Alarm* EmbeddedData::mutable_alarm(int index)
- ABSL_ATTRIBUTE_LIFETIME_BOUND {
- // @@protoc_insertion_point(field_mutable:R360.EmbeddedData.alarm)
- return _internal_mutable_alarm()->Mutable(index);
- }
- inline ::google::protobuf::RepeatedPtrField<::R360::Alarm>* EmbeddedData::mutable_alarm()
- ABSL_ATTRIBUTE_LIFETIME_BOUND {
- // @@protoc_insertion_point(field_mutable_list:R360.EmbeddedData.alarm)
- ::google::protobuf::internal::TSanWrite(&_impl_);
- return _internal_mutable_alarm();
- }
- inline const ::R360::Alarm& EmbeddedData::alarm(int index) const
- ABSL_ATTRIBUTE_LIFETIME_BOUND {
- // @@protoc_insertion_point(field_get:R360.EmbeddedData.alarm)
- return _internal_alarm().Get(index);
- }
- inline ::R360::Alarm* EmbeddedData::add_alarm() ABSL_ATTRIBUTE_LIFETIME_BOUND {
- ::google::protobuf::internal::TSanWrite(&_impl_);
- ::R360::Alarm* _add = _internal_mutable_alarm()->Add();
- // @@protoc_insertion_point(field_add:R360.EmbeddedData.alarm)
- return _add;
- }
- inline const ::google::protobuf::RepeatedPtrField<::R360::Alarm>& EmbeddedData::alarm() const
- ABSL_ATTRIBUTE_LIFETIME_BOUND {
- // @@protoc_insertion_point(field_list:R360.EmbeddedData.alarm)
- return _internal_alarm();
- }
- inline const ::google::protobuf::RepeatedPtrField<::R360::Alarm>&
- EmbeddedData::_internal_alarm() const {
- ::google::protobuf::internal::TSanRead(&_impl_);
- return _impl_.alarm_;
- }
- inline ::google::protobuf::RepeatedPtrField<::R360::Alarm>*
- EmbeddedData::_internal_mutable_alarm() {
- ::google::protobuf::internal::TSanRead(&_impl_);
- return &_impl_.alarm_;
- }
- // -------------------------------------------------------------------
- // Alarm
- // uint32 x = 1;
- inline void Alarm::clear_x() {
- ::google::protobuf::internal::TSanWrite(&_impl_);
- _impl_.x_ = 0u;
- }
- inline ::uint32_t Alarm::x() const {
- // @@protoc_insertion_point(field_get:R360.Alarm.x)
- return _internal_x();
- }
- inline void Alarm::set_x(::uint32_t value) {
- _internal_set_x(value);
- // @@protoc_insertion_point(field_set:R360.Alarm.x)
- }
- inline ::uint32_t Alarm::_internal_x() const {
- ::google::protobuf::internal::TSanRead(&_impl_);
- return _impl_.x_;
- }
- inline void Alarm::_internal_set_x(::uint32_t value) {
- ::google::protobuf::internal::TSanWrite(&_impl_);
- _impl_.x_ = value;
- }
- // uint32 y = 2;
- inline void Alarm::clear_y() {
- ::google::protobuf::internal::TSanWrite(&_impl_);
- _impl_.y_ = 0u;
- }
- inline ::uint32_t Alarm::y() const {
- // @@protoc_insertion_point(field_get:R360.Alarm.y)
- return _internal_y();
- }
- inline void Alarm::set_y(::uint32_t value) {
- _internal_set_y(value);
- // @@protoc_insertion_point(field_set:R360.Alarm.y)
- }
- inline ::uint32_t Alarm::_internal_y() const {
- ::google::protobuf::internal::TSanRead(&_impl_);
- return _impl_.y_;
- }
- inline void Alarm::_internal_set_y(::uint32_t value) {
- ::google::protobuf::internal::TSanWrite(&_impl_);
- _impl_.y_ = value;
- }
- // uint32 w = 3;
- inline void Alarm::clear_w() {
- ::google::protobuf::internal::TSanWrite(&_impl_);
- _impl_.w_ = 0u;
- }
- inline ::uint32_t Alarm::w() const {
- // @@protoc_insertion_point(field_get:R360.Alarm.w)
- return _internal_w();
- }
- inline void Alarm::set_w(::uint32_t value) {
- _internal_set_w(value);
- // @@protoc_insertion_point(field_set:R360.Alarm.w)
- }
- inline ::uint32_t Alarm::_internal_w() const {
- ::google::protobuf::internal::TSanRead(&_impl_);
- return _impl_.w_;
- }
- inline void Alarm::_internal_set_w(::uint32_t value) {
- ::google::protobuf::internal::TSanWrite(&_impl_);
- _impl_.w_ = value;
- }
- // uint32 h = 4;
- inline void Alarm::clear_h() {
- ::google::protobuf::internal::TSanWrite(&_impl_);
- _impl_.h_ = 0u;
- }
- inline ::uint32_t Alarm::h() const {
- // @@protoc_insertion_point(field_get:R360.Alarm.h)
- return _internal_h();
- }
- inline void Alarm::set_h(::uint32_t value) {
- _internal_set_h(value);
- // @@protoc_insertion_point(field_set:R360.Alarm.h)
- }
- inline ::uint32_t Alarm::_internal_h() const {
- ::google::protobuf::internal::TSanRead(&_impl_);
- return _impl_.h_;
- }
- inline void Alarm::_internal_set_h(::uint32_t value) {
- ::google::protobuf::internal::TSanWrite(&_impl_);
- _impl_.h_ = value;
- }
- // float score = 5;
- inline void Alarm::clear_score() {
- ::google::protobuf::internal::TSanWrite(&_impl_);
- _impl_.score_ = 0;
- }
- inline float Alarm::score() const {
- // @@protoc_insertion_point(field_get:R360.Alarm.score)
- return _internal_score();
- }
- inline void Alarm::set_score(float value) {
- _internal_set_score(value);
- // @@protoc_insertion_point(field_set:R360.Alarm.score)
- }
- inline float Alarm::_internal_score() const {
- ::google::protobuf::internal::TSanRead(&_impl_);
- return _impl_.score_;
- }
- inline void Alarm::_internal_set_score(float value) {
- ::google::protobuf::internal::TSanWrite(&_impl_);
- _impl_.score_ = value;
- }
- // .R360.AlarmType type = 6;
- inline void Alarm::clear_type() {
- ::google::protobuf::internal::TSanWrite(&_impl_);
- _impl_.type_ = 0;
- }
- inline ::R360::AlarmType Alarm::type() const {
- // @@protoc_insertion_point(field_get:R360.Alarm.type)
- return _internal_type();
- }
- inline void Alarm::set_type(::R360::AlarmType value) {
- _internal_set_type(value);
- // @@protoc_insertion_point(field_set:R360.Alarm.type)
- }
- inline ::R360::AlarmType Alarm::_internal_type() const {
- ::google::protobuf::internal::TSanRead(&_impl_);
- return static_cast<::R360::AlarmType>(_impl_.type_);
- }
- inline void Alarm::_internal_set_type(::R360::AlarmType value) {
- ::google::protobuf::internal::TSanWrite(&_impl_);
- _impl_.type_ = value;
- }
- #ifdef __GNUC__
- #pragma GCC diagnostic pop
- #endif // __GNUC__
- // @@protoc_insertion_point(namespace_scope)
- } // namespace R360
- namespace google {
- namespace protobuf {
- template <>
- struct is_proto_enum<::R360::AlarmType> : std::true_type {};
- template <>
- inline const EnumDescriptor* GetEnumDescriptor<::R360::AlarmType>() {
- return ::R360::AlarmType_descriptor();
- }
- } // namespace protobuf
- } // namespace google
- // @@protoc_insertion_point(global_scope)
- #include "google/protobuf/port_undef.inc"
- #endif // ImageService_2eproto_2epb_2eh
|