// Generated by the protocol buffer compiler. DO NOT EDIT! // source: trackerdata.proto #ifndef GOOGLE_PROTOBUF_INCLUDED_trackerdata_2eproto #define GOOGLE_PROTOBUF_INCLUDED_trackerdata_2eproto #include #include #include #if PROTOBUF_VERSION < 3012000 #error This file was generated by a newer version of protoc which is #error incompatible with your Protocol Buffer headers. Please update #error your headers. #endif #if 3012003 < PROTOBUF_MIN_PROTOC_VERSION #error This file was generated by an older version of protoc which is #error incompatible with your Protocol Buffer headers. Please #error regenerate this file with a newer version of protoc. #endif #include #include #include #include #include #include #include #include #include #include #include // IWYU pragma: export #include // IWYU pragma: export #include #include // @@protoc_insertion_point(includes) #include #define PROTOBUF_INTERNAL_EXPORT_trackerdata_2eproto PROTOBUF_NAMESPACE_OPEN namespace internal { class AnyMetadata; } // namespace internal PROTOBUF_NAMESPACE_CLOSE // Internal implementation detail -- do not use these members. struct TableStruct_trackerdata_2eproto { static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[] PROTOBUF_SECTION_VARIABLE(protodesc_cold); static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[] PROTOBUF_SECTION_VARIABLE(protodesc_cold); static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[3] PROTOBUF_SECTION_VARIABLE(protodesc_cold); static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[]; static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[]; static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[]; }; extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_trackerdata_2eproto; namespace libopenshottracker { class Frame; class FrameDefaultTypeInternal; extern FrameDefaultTypeInternal _Frame_default_instance_; class Frame_Box; class Frame_BoxDefaultTypeInternal; extern Frame_BoxDefaultTypeInternal _Frame_Box_default_instance_; class Tracker; class TrackerDefaultTypeInternal; extern TrackerDefaultTypeInternal _Tracker_default_instance_; } // namespace libopenshottracker PROTOBUF_NAMESPACE_OPEN template<> ::libopenshottracker::Frame* Arena::CreateMaybeMessage<::libopenshottracker::Frame>(Arena*); template<> ::libopenshottracker::Frame_Box* Arena::CreateMaybeMessage<::libopenshottracker::Frame_Box>(Arena*); template<> ::libopenshottracker::Tracker* Arena::CreateMaybeMessage<::libopenshottracker::Tracker>(Arena*); PROTOBUF_NAMESPACE_CLOSE namespace libopenshottracker { // =================================================================== class Frame_Box PROTOBUF_FINAL : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:libopenshottracker.Frame.Box) */ { public: inline Frame_Box() : Frame_Box(nullptr) {}; virtual ~Frame_Box(); Frame_Box(const Frame_Box& from); Frame_Box(Frame_Box&& from) noexcept : Frame_Box() { *this = ::std::move(from); } inline Frame_Box& operator=(const Frame_Box& from) { CopyFrom(from); return *this; } inline Frame_Box& operator=(Frame_Box&& from) noexcept { if (GetArena() == from.GetArena()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { return GetDescriptor(); } static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { return GetMetadataStatic().descriptor; } static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return GetMetadataStatic().reflection; } static const Frame_Box& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY static inline const Frame_Box* internal_default_instance() { return reinterpret_cast( &_Frame_Box_default_instance_); } static constexpr int kIndexInFileMessages = 0; friend void swap(Frame_Box& a, Frame_Box& b) { a.Swap(&b); } inline void Swap(Frame_Box* other) { if (other == this) return; if (GetArena() == other->GetArena()) { InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } void UnsafeArenaSwap(Frame_Box* other) { if (other == this) return; GOOGLE_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); } // implements Message ---------------------------------------------- inline Frame_Box* New() const final { return CreateMaybeMessage(nullptr); } Frame_Box* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { return CreateMaybeMessage(arena); } void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; void CopyFrom(const Frame_Box& from); void MergeFrom(const Frame_Box& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: inline void SharedCtor(); inline void SharedDtor(); void SetCachedSize(int size) const final; void InternalSwap(Frame_Box* other); friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "libopenshottracker.Frame.Box"; } protected: explicit Frame_Box(::PROTOBUF_NAMESPACE_ID::Arena* arena); private: static void ArenaDtor(void* object); inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; private: static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_trackerdata_2eproto); return ::descriptor_table_trackerdata_2eproto.file_level_metadata[kIndexInFileMessages]; } public: // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- enum : int { kX1FieldNumber = 1, kY1FieldNumber = 2, kX2FieldNumber = 3, kY2FieldNumber = 4, }; // int32 x1 = 1; void clear_x1(); ::PROTOBUF_NAMESPACE_ID::int32 x1() const; void set_x1(::PROTOBUF_NAMESPACE_ID::int32 value); private: ::PROTOBUF_NAMESPACE_ID::int32 _internal_x1() const; void _internal_set_x1(::PROTOBUF_NAMESPACE_ID::int32 value); public: // int32 y1 = 2; void clear_y1(); ::PROTOBUF_NAMESPACE_ID::int32 y1() const; void set_y1(::PROTOBUF_NAMESPACE_ID::int32 value); private: ::PROTOBUF_NAMESPACE_ID::int32 _internal_y1() const; void _internal_set_y1(::PROTOBUF_NAMESPACE_ID::int32 value); public: // int32 x2 = 3; void clear_x2(); ::PROTOBUF_NAMESPACE_ID::int32 x2() const; void set_x2(::PROTOBUF_NAMESPACE_ID::int32 value); private: ::PROTOBUF_NAMESPACE_ID::int32 _internal_x2() const; void _internal_set_x2(::PROTOBUF_NAMESPACE_ID::int32 value); public: // int32 y2 = 4; void clear_y2(); ::PROTOBUF_NAMESPACE_ID::int32 y2() const; void set_y2(::PROTOBUF_NAMESPACE_ID::int32 value); private: ::PROTOBUF_NAMESPACE_ID::int32 _internal_y2() const; void _internal_set_y2(::PROTOBUF_NAMESPACE_ID::int32 value); public: // @@protoc_insertion_point(class_scope:libopenshottracker.Frame.Box) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; ::PROTOBUF_NAMESPACE_ID::int32 x1_; ::PROTOBUF_NAMESPACE_ID::int32 y1_; ::PROTOBUF_NAMESPACE_ID::int32 x2_; ::PROTOBUF_NAMESPACE_ID::int32 y2_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_trackerdata_2eproto; }; // ------------------------------------------------------------------- class Frame PROTOBUF_FINAL : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:libopenshottracker.Frame) */ { public: inline Frame() : Frame(nullptr) {}; virtual ~Frame(); Frame(const Frame& from); Frame(Frame&& from) noexcept : Frame() { *this = ::std::move(from); } inline Frame& operator=(const Frame& from) { CopyFrom(from); return *this; } inline Frame& operator=(Frame&& from) noexcept { if (GetArena() == from.GetArena()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { return GetDescriptor(); } static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { return GetMetadataStatic().descriptor; } static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return GetMetadataStatic().reflection; } static const Frame& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY static inline const Frame* internal_default_instance() { return reinterpret_cast( &_Frame_default_instance_); } static constexpr int kIndexInFileMessages = 1; friend void swap(Frame& a, Frame& b) { a.Swap(&b); } inline void Swap(Frame* other) { if (other == this) return; if (GetArena() == other->GetArena()) { InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } void UnsafeArenaSwap(Frame* other) { if (other == this) return; GOOGLE_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); } // implements Message ---------------------------------------------- inline Frame* New() const final { return CreateMaybeMessage(nullptr); } Frame* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { return CreateMaybeMessage(arena); } void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; void CopyFrom(const Frame& from); void MergeFrom(const Frame& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: inline void SharedCtor(); inline void SharedDtor(); void SetCachedSize(int size) const final; void InternalSwap(Frame* other); friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "libopenshottracker.Frame"; } protected: explicit Frame(::PROTOBUF_NAMESPACE_ID::Arena* arena); private: static void ArenaDtor(void* object); inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; private: static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_trackerdata_2eproto); return ::descriptor_table_trackerdata_2eproto.file_level_metadata[kIndexInFileMessages]; } public: // nested types ---------------------------------------------------- typedef Frame_Box Box; // accessors ------------------------------------------------------- enum : int { kBoundingBoxFieldNumber = 3, kIdFieldNumber = 1, kRotationFieldNumber = 2, }; // .libopenshottracker.Frame.Box bounding_box = 3; bool has_bounding_box() const; private: bool _internal_has_bounding_box() const; public: void clear_bounding_box(); const ::libopenshottracker::Frame_Box& bounding_box() const; ::libopenshottracker::Frame_Box* release_bounding_box(); ::libopenshottracker::Frame_Box* mutable_bounding_box(); void set_allocated_bounding_box(::libopenshottracker::Frame_Box* bounding_box); private: const ::libopenshottracker::Frame_Box& _internal_bounding_box() const; ::libopenshottracker::Frame_Box* _internal_mutable_bounding_box(); public: void unsafe_arena_set_allocated_bounding_box( ::libopenshottracker::Frame_Box* bounding_box); ::libopenshottracker::Frame_Box* unsafe_arena_release_bounding_box(); // int32 id = 1; void clear_id(); ::PROTOBUF_NAMESPACE_ID::int32 id() const; void set_id(::PROTOBUF_NAMESPACE_ID::int32 value); private: ::PROTOBUF_NAMESPACE_ID::int32 _internal_id() const; void _internal_set_id(::PROTOBUF_NAMESPACE_ID::int32 value); public: // float rotation = 2; void clear_rotation(); float rotation() const; void set_rotation(float value); private: float _internal_rotation() const; void _internal_set_rotation(float value); public: // @@protoc_insertion_point(class_scope:libopenshottracker.Frame) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; ::libopenshottracker::Frame_Box* bounding_box_; ::PROTOBUF_NAMESPACE_ID::int32 id_; float rotation_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_trackerdata_2eproto; }; // ------------------------------------------------------------------- class Tracker PROTOBUF_FINAL : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:libopenshottracker.Tracker) */ { public: inline Tracker() : Tracker(nullptr) {}; virtual ~Tracker(); Tracker(const Tracker& from); Tracker(Tracker&& from) noexcept : Tracker() { *this = ::std::move(from); } inline Tracker& operator=(const Tracker& from) { CopyFrom(from); return *this; } inline Tracker& operator=(Tracker&& from) noexcept { if (GetArena() == from.GetArena()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { return GetDescriptor(); } static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { return GetMetadataStatic().descriptor; } static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return GetMetadataStatic().reflection; } static const Tracker& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY static inline const Tracker* internal_default_instance() { return reinterpret_cast( &_Tracker_default_instance_); } static constexpr int kIndexInFileMessages = 2; friend void swap(Tracker& a, Tracker& b) { a.Swap(&b); } inline void Swap(Tracker* other) { if (other == this) return; if (GetArena() == other->GetArena()) { InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } void UnsafeArenaSwap(Tracker* other) { if (other == this) return; GOOGLE_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); } // implements Message ---------------------------------------------- inline Tracker* New() const final { return CreateMaybeMessage(nullptr); } Tracker* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { return CreateMaybeMessage(arena); } void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; void CopyFrom(const Tracker& from); void MergeFrom(const Tracker& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: inline void SharedCtor(); inline void SharedDtor(); void SetCachedSize(int size) const final; void InternalSwap(Tracker* other); friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "libopenshottracker.Tracker"; } protected: explicit Tracker(::PROTOBUF_NAMESPACE_ID::Arena* arena); private: static void ArenaDtor(void* object); inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; private: static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_trackerdata_2eproto); return ::descriptor_table_trackerdata_2eproto.file_level_metadata[kIndexInFileMessages]; } public: // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- enum : int { kFrameFieldNumber = 1, kLastUpdatedFieldNumber = 2, }; // repeated .libopenshottracker.Frame frame = 1; int frame_size() const; private: int _internal_frame_size() const; public: void clear_frame(); ::libopenshottracker::Frame* mutable_frame(int index); ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::libopenshottracker::Frame >* mutable_frame(); private: const ::libopenshottracker::Frame& _internal_frame(int index) const; ::libopenshottracker::Frame* _internal_add_frame(); public: const ::libopenshottracker::Frame& frame(int index) const; ::libopenshottracker::Frame* add_frame(); const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::libopenshottracker::Frame >& frame() const; // .google.protobuf.Timestamp last_updated = 2; bool has_last_updated() const; private: bool _internal_has_last_updated() const; public: void clear_last_updated(); const PROTOBUF_NAMESPACE_ID::Timestamp& last_updated() const; PROTOBUF_NAMESPACE_ID::Timestamp* release_last_updated(); PROTOBUF_NAMESPACE_ID::Timestamp* mutable_last_updated(); void set_allocated_last_updated(PROTOBUF_NAMESPACE_ID::Timestamp* last_updated); private: const PROTOBUF_NAMESPACE_ID::Timestamp& _internal_last_updated() const; PROTOBUF_NAMESPACE_ID::Timestamp* _internal_mutable_last_updated(); public: void unsafe_arena_set_allocated_last_updated( PROTOBUF_NAMESPACE_ID::Timestamp* last_updated); PROTOBUF_NAMESPACE_ID::Timestamp* unsafe_arena_release_last_updated(); // @@protoc_insertion_point(class_scope:libopenshottracker.Tracker) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::libopenshottracker::Frame > frame_; PROTOBUF_NAMESPACE_ID::Timestamp* last_updated_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_trackerdata_2eproto; }; // =================================================================== // =================================================================== #ifdef __GNUC__ #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wstrict-aliasing" #endif // __GNUC__ // Frame_Box // int32 x1 = 1; inline void Frame_Box::clear_x1() { x1_ = 0; } inline ::PROTOBUF_NAMESPACE_ID::int32 Frame_Box::_internal_x1() const { return x1_; } inline ::PROTOBUF_NAMESPACE_ID::int32 Frame_Box::x1() const { // @@protoc_insertion_point(field_get:libopenshottracker.Frame.Box.x1) return _internal_x1(); } inline void Frame_Box::_internal_set_x1(::PROTOBUF_NAMESPACE_ID::int32 value) { x1_ = value; } inline void Frame_Box::set_x1(::PROTOBUF_NAMESPACE_ID::int32 value) { _internal_set_x1(value); // @@protoc_insertion_point(field_set:libopenshottracker.Frame.Box.x1) } // int32 y1 = 2; inline void Frame_Box::clear_y1() { y1_ = 0; } inline ::PROTOBUF_NAMESPACE_ID::int32 Frame_Box::_internal_y1() const { return y1_; } inline ::PROTOBUF_NAMESPACE_ID::int32 Frame_Box::y1() const { // @@protoc_insertion_point(field_get:libopenshottracker.Frame.Box.y1) return _internal_y1(); } inline void Frame_Box::_internal_set_y1(::PROTOBUF_NAMESPACE_ID::int32 value) { y1_ = value; } inline void Frame_Box::set_y1(::PROTOBUF_NAMESPACE_ID::int32 value) { _internal_set_y1(value); // @@protoc_insertion_point(field_set:libopenshottracker.Frame.Box.y1) } // int32 x2 = 3; inline void Frame_Box::clear_x2() { x2_ = 0; } inline ::PROTOBUF_NAMESPACE_ID::int32 Frame_Box::_internal_x2() const { return x2_; } inline ::PROTOBUF_NAMESPACE_ID::int32 Frame_Box::x2() const { // @@protoc_insertion_point(field_get:libopenshottracker.Frame.Box.x2) return _internal_x2(); } inline void Frame_Box::_internal_set_x2(::PROTOBUF_NAMESPACE_ID::int32 value) { x2_ = value; } inline void Frame_Box::set_x2(::PROTOBUF_NAMESPACE_ID::int32 value) { _internal_set_x2(value); // @@protoc_insertion_point(field_set:libopenshottracker.Frame.Box.x2) } // int32 y2 = 4; inline void Frame_Box::clear_y2() { y2_ = 0; } inline ::PROTOBUF_NAMESPACE_ID::int32 Frame_Box::_internal_y2() const { return y2_; } inline ::PROTOBUF_NAMESPACE_ID::int32 Frame_Box::y2() const { // @@protoc_insertion_point(field_get:libopenshottracker.Frame.Box.y2) return _internal_y2(); } inline void Frame_Box::_internal_set_y2(::PROTOBUF_NAMESPACE_ID::int32 value) { y2_ = value; } inline void Frame_Box::set_y2(::PROTOBUF_NAMESPACE_ID::int32 value) { _internal_set_y2(value); // @@protoc_insertion_point(field_set:libopenshottracker.Frame.Box.y2) } // ------------------------------------------------------------------- // Frame // int32 id = 1; inline void Frame::clear_id() { id_ = 0; } inline ::PROTOBUF_NAMESPACE_ID::int32 Frame::_internal_id() const { return id_; } inline ::PROTOBUF_NAMESPACE_ID::int32 Frame::id() const { // @@protoc_insertion_point(field_get:libopenshottracker.Frame.id) return _internal_id(); } inline void Frame::_internal_set_id(::PROTOBUF_NAMESPACE_ID::int32 value) { id_ = value; } inline void Frame::set_id(::PROTOBUF_NAMESPACE_ID::int32 value) { _internal_set_id(value); // @@protoc_insertion_point(field_set:libopenshottracker.Frame.id) } // float rotation = 2; inline void Frame::clear_rotation() { rotation_ = 0; } inline float Frame::_internal_rotation() const { return rotation_; } inline float Frame::rotation() const { // @@protoc_insertion_point(field_get:libopenshottracker.Frame.rotation) return _internal_rotation(); } inline void Frame::_internal_set_rotation(float value) { rotation_ = value; } inline void Frame::set_rotation(float value) { _internal_set_rotation(value); // @@protoc_insertion_point(field_set:libopenshottracker.Frame.rotation) } // .libopenshottracker.Frame.Box bounding_box = 3; inline bool Frame::_internal_has_bounding_box() const { return this != internal_default_instance() && bounding_box_ != nullptr; } inline bool Frame::has_bounding_box() const { return _internal_has_bounding_box(); } inline void Frame::clear_bounding_box() { if (GetArena() == nullptr && bounding_box_ != nullptr) { delete bounding_box_; } bounding_box_ = nullptr; } inline const ::libopenshottracker::Frame_Box& Frame::_internal_bounding_box() const { const ::libopenshottracker::Frame_Box* p = bounding_box_; return p != nullptr ? *p : *reinterpret_cast( &::libopenshottracker::_Frame_Box_default_instance_); } inline const ::libopenshottracker::Frame_Box& Frame::bounding_box() const { // @@protoc_insertion_point(field_get:libopenshottracker.Frame.bounding_box) return _internal_bounding_box(); } inline void Frame::unsafe_arena_set_allocated_bounding_box( ::libopenshottracker::Frame_Box* bounding_box) { if (GetArena() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(bounding_box_); } bounding_box_ = bounding_box; if (bounding_box) { } else { } // @@protoc_insertion_point(field_unsafe_arena_set_allocated:libopenshottracker.Frame.bounding_box) } inline ::libopenshottracker::Frame_Box* Frame::release_bounding_box() { auto temp = unsafe_arena_release_bounding_box(); if (GetArena() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } return temp; } inline ::libopenshottracker::Frame_Box* Frame::unsafe_arena_release_bounding_box() { // @@protoc_insertion_point(field_release:libopenshottracker.Frame.bounding_box) ::libopenshottracker::Frame_Box* temp = bounding_box_; bounding_box_ = nullptr; return temp; } inline ::libopenshottracker::Frame_Box* Frame::_internal_mutable_bounding_box() { if (bounding_box_ == nullptr) { auto* p = CreateMaybeMessage<::libopenshottracker::Frame_Box>(GetArena()); bounding_box_ = p; } return bounding_box_; } inline ::libopenshottracker::Frame_Box* Frame::mutable_bounding_box() { // @@protoc_insertion_point(field_mutable:libopenshottracker.Frame.bounding_box) return _internal_mutable_bounding_box(); } inline void Frame::set_allocated_bounding_box(::libopenshottracker::Frame_Box* bounding_box) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); if (message_arena == nullptr) { delete bounding_box_; } if (bounding_box) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(bounding_box); if (message_arena != submessage_arena) { bounding_box = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, bounding_box, submessage_arena); } } else { } bounding_box_ = bounding_box; // @@protoc_insertion_point(field_set_allocated:libopenshottracker.Frame.bounding_box) } // ------------------------------------------------------------------- // Tracker // repeated .libopenshottracker.Frame frame = 1; inline int Tracker::_internal_frame_size() const { return frame_.size(); } inline int Tracker::frame_size() const { return _internal_frame_size(); } inline void Tracker::clear_frame() { frame_.Clear(); } inline ::libopenshottracker::Frame* Tracker::mutable_frame(int index) { // @@protoc_insertion_point(field_mutable:libopenshottracker.Tracker.frame) return frame_.Mutable(index); } inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::libopenshottracker::Frame >* Tracker::mutable_frame() { // @@protoc_insertion_point(field_mutable_list:libopenshottracker.Tracker.frame) return &frame_; } inline const ::libopenshottracker::Frame& Tracker::_internal_frame(int index) const { return frame_.Get(index); } inline const ::libopenshottracker::Frame& Tracker::frame(int index) const { // @@protoc_insertion_point(field_get:libopenshottracker.Tracker.frame) return _internal_frame(index); } inline ::libopenshottracker::Frame* Tracker::_internal_add_frame() { return frame_.Add(); } inline ::libopenshottracker::Frame* Tracker::add_frame() { // @@protoc_insertion_point(field_add:libopenshottracker.Tracker.frame) return _internal_add_frame(); } inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::libopenshottracker::Frame >& Tracker::frame() const { // @@protoc_insertion_point(field_list:libopenshottracker.Tracker.frame) return frame_; } // .google.protobuf.Timestamp last_updated = 2; inline bool Tracker::_internal_has_last_updated() const { return this != internal_default_instance() && last_updated_ != nullptr; } inline bool Tracker::has_last_updated() const { return _internal_has_last_updated(); } inline const PROTOBUF_NAMESPACE_ID::Timestamp& Tracker::_internal_last_updated() const { const PROTOBUF_NAMESPACE_ID::Timestamp* p = last_updated_; return p != nullptr ? *p : *reinterpret_cast( &PROTOBUF_NAMESPACE_ID::_Timestamp_default_instance_); } inline const PROTOBUF_NAMESPACE_ID::Timestamp& Tracker::last_updated() const { // @@protoc_insertion_point(field_get:libopenshottracker.Tracker.last_updated) return _internal_last_updated(); } inline void Tracker::unsafe_arena_set_allocated_last_updated( PROTOBUF_NAMESPACE_ID::Timestamp* last_updated) { if (GetArena() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(last_updated_); } last_updated_ = last_updated; if (last_updated) { } else { } // @@protoc_insertion_point(field_unsafe_arena_set_allocated:libopenshottracker.Tracker.last_updated) } inline PROTOBUF_NAMESPACE_ID::Timestamp* Tracker::release_last_updated() { auto temp = unsafe_arena_release_last_updated(); if (GetArena() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } return temp; } inline PROTOBUF_NAMESPACE_ID::Timestamp* Tracker::unsafe_arena_release_last_updated() { // @@protoc_insertion_point(field_release:libopenshottracker.Tracker.last_updated) PROTOBUF_NAMESPACE_ID::Timestamp* temp = last_updated_; last_updated_ = nullptr; return temp; } inline PROTOBUF_NAMESPACE_ID::Timestamp* Tracker::_internal_mutable_last_updated() { if (last_updated_ == nullptr) { auto* p = CreateMaybeMessage(GetArena()); last_updated_ = p; } return last_updated_; } inline PROTOBUF_NAMESPACE_ID::Timestamp* Tracker::mutable_last_updated() { // @@protoc_insertion_point(field_mutable:libopenshottracker.Tracker.last_updated) return _internal_mutable_last_updated(); } inline void Tracker::set_allocated_last_updated(PROTOBUF_NAMESPACE_ID::Timestamp* last_updated) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); if (message_arena == nullptr) { delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(last_updated_); } if (last_updated) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(last_updated)->GetArena(); if (message_arena != submessage_arena) { last_updated = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, last_updated, submessage_arena); } } else { } last_updated_ = last_updated; // @@protoc_insertion_point(field_set_allocated:libopenshottracker.Tracker.last_updated) } #ifdef __GNUC__ #pragma GCC diagnostic pop #endif // __GNUC__ // ------------------------------------------------------------------- // ------------------------------------------------------------------- // @@protoc_insertion_point(namespace_scope) } // namespace libopenshottracker // @@protoc_insertion_point(global_scope) #include #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_trackerdata_2eproto