// 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 #include #include #include #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 ::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(0); constexpr AlarmType AlarmType_MAX = static_cast(0); constexpr int AlarmType_ARRAYSIZE = 0 + 1; const ::google::protobuf::EnumDescriptor* AlarmType_descriptor(); template const std::string& AlarmType_Name(T value) { static_assert(std::is_same::value || std::is_integral::value, "Incorrect type passed to AlarmType_Name()."); return AlarmType_Name(static_cast(value)); } template <> inline const std::string& AlarmType_Name(AlarmType value) { return ::google::protobuf::internal::NameOfDenseEnum( static_cast(value)); } inline bool AlarmType_Parse(absl::string_view name, AlarmType* value) { return ::google::protobuf::internal::ParseNamedEnum( 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 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( &_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(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 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 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 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( &_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(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 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 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 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( &_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(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 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 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 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 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( &_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(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 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 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 inline PROTOBUF_ALWAYS_INLINE void EmbeddedData::set_image(Arg_&& arg, Args_... args) { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.image_.SetBytes(static_cast(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