// Generated by the protocol buffer compiler. DO NOT EDIT! // source: PbFaceList #ifndef PROTOBUF_PbFaceList__INCLUDED #define PROTOBUF_PbFaceList__INCLUDED #include #include #if GOOGLE_PROTOBUF_VERSION < 3002000 #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 3002000 < GOOGLE_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 // IWYU pragma: export #include // IWYU pragma: export #include #include // @@protoc_insertion_point(includes) class PbFaceList; class PbFaceListDefaultTypeInternal; extern PbFaceListDefaultTypeInternal _PbFaceList_default_instance_; class PbFaceList_FaceListImage; class PbFaceList_FaceListImageDefaultTypeInternal; extern PbFaceList_FaceListImageDefaultTypeInternal _PbFaceList_FaceListImage_default_instance_; namespace protobuf_PbFaceList { // Internal implementation detail -- do not call these. struct TableStruct { static const ::google::protobuf::uint32 offsets[]; static void InitDefaultsImpl(); static void Shutdown(); }; void AddDescriptors(); void InitDefaults(); } // namespace protobuf_PbFaceList enum PbFaceList_FaceListImage_ImageType { PbFaceList_FaceListImage_ImageType_MBFT_YUV = 8, PbFaceList_FaceListImage_ImageType_MBFT_Y8 = 9, PbFaceList_FaceListImage_ImageType_MBFT_RGB = 11 }; bool PbFaceList_FaceListImage_ImageType_IsValid(int value); const PbFaceList_FaceListImage_ImageType PbFaceList_FaceListImage_ImageType_ImageType_MIN = PbFaceList_FaceListImage_ImageType_MBFT_YUV; const PbFaceList_FaceListImage_ImageType PbFaceList_FaceListImage_ImageType_ImageType_MAX = PbFaceList_FaceListImage_ImageType_MBFT_RGB; const int PbFaceList_FaceListImage_ImageType_ImageType_ARRAYSIZE = PbFaceList_FaceListImage_ImageType_ImageType_MAX + 1; const ::google::protobuf::EnumDescriptor* PbFaceList_FaceListImage_ImageType_descriptor(); inline const ::std::string& PbFaceList_FaceListImage_ImageType_Name(PbFaceList_FaceListImage_ImageType value) { return ::google::protobuf::internal::NameOfEnum( PbFaceList_FaceListImage_ImageType_descriptor(), value); } inline bool PbFaceList_FaceListImage_ImageType_Parse( const ::std::string& name, PbFaceList_FaceListImage_ImageType* value) { return ::google::protobuf::internal::ParseNamedEnum( PbFaceList_FaceListImage_ImageType_descriptor(), name, value); } // =================================================================== class PbFaceList_FaceListImage : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:PbFaceList.FaceListImage) */ { public: PbFaceList_FaceListImage(); virtual ~PbFaceList_FaceListImage(); PbFaceList_FaceListImage(const PbFaceList_FaceListImage& from); inline PbFaceList_FaceListImage& operator=(const PbFaceList_FaceListImage& from) { CopyFrom(from); return *this; } inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { return _internal_metadata_.unknown_fields(); } inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { return _internal_metadata_.mutable_unknown_fields(); } static const ::google::protobuf::Descriptor* descriptor(); static const PbFaceList_FaceListImage& default_instance(); static inline const PbFaceList_FaceListImage* internal_default_instance() { return reinterpret_cast( &_PbFaceList_FaceListImage_default_instance_); } void Swap(PbFaceList_FaceListImage* other); // implements Message ---------------------------------------------- inline PbFaceList_FaceListImage* New() const PROTOBUF_FINAL { return New(NULL); } PbFaceList_FaceListImage* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; void CopyFrom(const PbFaceList_FaceListImage& from); void MergeFrom(const PbFaceList_FaceListImage& from); void Clear() PROTOBUF_FINAL; bool IsInitialized() const PROTOBUF_FINAL; size_t ByteSizeLong() const PROTOBUF_FINAL; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const PROTOBUF_FINAL { return InternalSerializeWithCachedSizesToArray( ::google::protobuf::io::CodedOutputStream::IsDefaultSerializationDeterministic(), output); } int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const PROTOBUF_FINAL; void InternalSwap(PbFaceList_FaceListImage* other); private: inline ::google::protobuf::Arena* GetArenaNoVirtual() const { return NULL; } inline void* MaybeArenaPtr() const { return NULL; } public: ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; // nested types ---------------------------------------------------- typedef PbFaceList_FaceListImage_ImageType ImageType; static const ImageType MBFT_YUV = PbFaceList_FaceListImage_ImageType_MBFT_YUV; static const ImageType MBFT_Y8 = PbFaceList_FaceListImage_ImageType_MBFT_Y8; static const ImageType MBFT_RGB = PbFaceList_FaceListImage_ImageType_MBFT_RGB; static inline bool ImageType_IsValid(int value) { return PbFaceList_FaceListImage_ImageType_IsValid(value); } static const ImageType ImageType_MIN = PbFaceList_FaceListImage_ImageType_ImageType_MIN; static const ImageType ImageType_MAX = PbFaceList_FaceListImage_ImageType_ImageType_MAX; static const int ImageType_ARRAYSIZE = PbFaceList_FaceListImage_ImageType_ImageType_ARRAYSIZE; static inline const ::google::protobuf::EnumDescriptor* ImageType_descriptor() { return PbFaceList_FaceListImage_ImageType_descriptor(); } static inline const ::std::string& ImageType_Name(ImageType value) { return PbFaceList_FaceListImage_ImageType_Name(value); } static inline bool ImageType_Parse(const ::std::string& name, ImageType* value) { return PbFaceList_FaceListImage_ImageType_Parse(name, value); } // accessors ------------------------------------------------------- // repeated bytes img = 8; int img_size() const; void clear_img(); static const int kImgFieldNumber = 8; const ::std::string& img(int index) const; ::std::string* mutable_img(int index); void set_img(int index, const ::std::string& value); #if LANG_CXX11 void set_img(int index, ::std::string&& value); #endif void set_img(int index, const char* value); void set_img(int index, const void* value, size_t size); ::std::string* add_img(); void add_img(const ::std::string& value); #if LANG_CXX11 void add_img(::std::string&& value); #endif void add_img(const char* value); void add_img(const void* value, size_t size); const ::google::protobuf::RepeatedPtrField< ::std::string>& img() const; ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_img(); // required uint32 idx = 1; bool has_idx() const; void clear_idx(); static const int kIdxFieldNumber = 1; ::google::protobuf::uint32 idx() const; void set_idx(::google::protobuf::uint32 value); // required uint32 size = 2; bool has_size() const; void clear_size(); static const int kSizeFieldNumber = 2; ::google::protobuf::uint32 size() const; void set_size(::google::protobuf::uint32 value); // required uint32 width = 4; bool has_width() const; void clear_width(); static const int kWidthFieldNumber = 4; ::google::protobuf::uint32 width() const; void set_width(::google::protobuf::uint32 value); // required uint32 height = 5; bool has_height() const; void clear_height(); static const int kHeightFieldNumber = 5; ::google::protobuf::uint32 height() const; void set_height(::google::protobuf::uint32 value); // optional uint32 top_left_x = 6; bool has_top_left_x() const; void clear_top_left_x(); static const int kTopLeftXFieldNumber = 6; ::google::protobuf::uint32 top_left_x() const; void set_top_left_x(::google::protobuf::uint32 value); // optional uint32 top_left_y = 7; bool has_top_left_y() const; void clear_top_left_y(); static const int kTopLeftYFieldNumber = 7; ::google::protobuf::uint32 top_left_y() const; void set_top_left_y(::google::protobuf::uint32 value); // required .PbFaceList.FaceListImage.ImageType type = 3 [default = MBFT_Y8]; bool has_type() const; void clear_type(); static const int kTypeFieldNumber = 3; ::PbFaceList_FaceListImage_ImageType type() const; void set_type(::PbFaceList_FaceListImage_ImageType value); // @@protoc_insertion_point(class_scope:PbFaceList.FaceListImage) private: void set_has_idx(); void clear_has_idx(); void set_has_size(); void clear_has_size(); void set_has_type(); void clear_has_type(); void set_has_width(); void clear_has_width(); void set_has_height(); void clear_has_height(); void set_has_top_left_x(); void clear_has_top_left_x(); void set_has_top_left_y(); void clear_has_top_left_y(); // helper for ByteSizeLong() size_t RequiredFieldsByteSizeFallback() const; ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; ::google::protobuf::internal::HasBits<1> _has_bits_; mutable int _cached_size_; ::google::protobuf::RepeatedPtrField< ::std::string> img_; ::google::protobuf::uint32 idx_; ::google::protobuf::uint32 size_; ::google::protobuf::uint32 width_; ::google::protobuf::uint32 height_; ::google::protobuf::uint32 top_left_x_; ::google::protobuf::uint32 top_left_y_; int type_; friend struct protobuf_PbFaceList::TableStruct; }; // ------------------------------------------------------------------- class PbFaceList : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:PbFaceList) */ { public: PbFaceList(); virtual ~PbFaceList(); PbFaceList(const PbFaceList& from); inline PbFaceList& operator=(const PbFaceList& from) { CopyFrom(from); return *this; } inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { return _internal_metadata_.unknown_fields(); } inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { return _internal_metadata_.mutable_unknown_fields(); } static const ::google::protobuf::Descriptor* descriptor(); static const PbFaceList& default_instance(); static inline const PbFaceList* internal_default_instance() { return reinterpret_cast( &_PbFaceList_default_instance_); } void Swap(PbFaceList* other); // implements Message ---------------------------------------------- inline PbFaceList* New() const PROTOBUF_FINAL { return New(NULL); } PbFaceList* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; void CopyFrom(const PbFaceList& from); void MergeFrom(const PbFaceList& from); void Clear() PROTOBUF_FINAL; bool IsInitialized() const PROTOBUF_FINAL; size_t ByteSizeLong() const PROTOBUF_FINAL; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const PROTOBUF_FINAL { return InternalSerializeWithCachedSizesToArray( ::google::protobuf::io::CodedOutputStream::IsDefaultSerializationDeterministic(), output); } int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const PROTOBUF_FINAL; void InternalSwap(PbFaceList* other); private: inline ::google::protobuf::Arena* GetArenaNoVirtual() const { return NULL; } inline void* MaybeArenaPtr() const { return NULL; } public: ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; // nested types ---------------------------------------------------- typedef PbFaceList_FaceListImage FaceListImage; // accessors ------------------------------------------------------- // repeated .PbFaceList.FaceListImage images = 5; int images_size() const; void clear_images(); static const int kImagesFieldNumber = 5; const ::PbFaceList_FaceListImage& images(int index) const; ::PbFaceList_FaceListImage* mutable_images(int index); ::PbFaceList_FaceListImage* add_images(); ::google::protobuf::RepeatedPtrField< ::PbFaceList_FaceListImage >* mutable_images(); const ::google::protobuf::RepeatedPtrField< ::PbFaceList_FaceListImage >& images() const; // required uint32 image_count = 2; bool has_image_count() const; void clear_image_count(); static const int kImageCountFieldNumber = 2; ::google::protobuf::uint32 image_count() const; void set_image_count(::google::protobuf::uint32 value); // optional uint32 src_width = 3; bool has_src_width() const; void clear_src_width(); static const int kSrcWidthFieldNumber = 3; ::google::protobuf::uint32 src_width() const; void set_src_width(::google::protobuf::uint32 value); // optional uint32 src_height = 4; bool has_src_height() const; void clear_src_height(); static const int kSrcHeightFieldNumber = 4; ::google::protobuf::uint32 src_height() const; void set_src_height(::google::protobuf::uint32 value); // required uint32 magic = 1 [default = 11706629]; bool has_magic() const; void clear_magic(); static const int kMagicFieldNumber = 1; ::google::protobuf::uint32 magic() const; void set_magic(::google::protobuf::uint32 value); // @@protoc_insertion_point(class_scope:PbFaceList) private: void set_has_magic(); void clear_has_magic(); void set_has_image_count(); void clear_has_image_count(); void set_has_src_width(); void clear_has_src_width(); void set_has_src_height(); void clear_has_src_height(); // helper for ByteSizeLong() size_t RequiredFieldsByteSizeFallback() const; ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; ::google::protobuf::internal::HasBits<1> _has_bits_; mutable int _cached_size_; ::google::protobuf::RepeatedPtrField< ::PbFaceList_FaceListImage > images_; ::google::protobuf::uint32 image_count_; ::google::protobuf::uint32 src_width_; ::google::protobuf::uint32 src_height_; ::google::protobuf::uint32 magic_; friend struct protobuf_PbFaceList::TableStruct; }; // =================================================================== // =================================================================== #if !PROTOBUF_INLINE_NOT_IN_HEADERS // PbFaceList_FaceListImage // required uint32 idx = 1; inline bool PbFaceList_FaceListImage::has_idx() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void PbFaceList_FaceListImage::set_has_idx() { _has_bits_[0] |= 0x00000001u; } inline void PbFaceList_FaceListImage::clear_has_idx() { _has_bits_[0] &= ~0x00000001u; } inline void PbFaceList_FaceListImage::clear_idx() { idx_ = 0u; clear_has_idx(); } inline ::google::protobuf::uint32 PbFaceList_FaceListImage::idx() const { // @@protoc_insertion_point(field_get:PbFaceList.FaceListImage.idx) return idx_; } inline void PbFaceList_FaceListImage::set_idx(::google::protobuf::uint32 value) { set_has_idx(); idx_ = value; // @@protoc_insertion_point(field_set:PbFaceList.FaceListImage.idx) } // required uint32 size = 2; inline bool PbFaceList_FaceListImage::has_size() const { return (_has_bits_[0] & 0x00000002u) != 0; } inline void PbFaceList_FaceListImage::set_has_size() { _has_bits_[0] |= 0x00000002u; } inline void PbFaceList_FaceListImage::clear_has_size() { _has_bits_[0] &= ~0x00000002u; } inline void PbFaceList_FaceListImage::clear_size() { size_ = 0u; clear_has_size(); } inline ::google::protobuf::uint32 PbFaceList_FaceListImage::size() const { // @@protoc_insertion_point(field_get:PbFaceList.FaceListImage.size) return size_; } inline void PbFaceList_FaceListImage::set_size(::google::protobuf::uint32 value) { set_has_size(); size_ = value; // @@protoc_insertion_point(field_set:PbFaceList.FaceListImage.size) } // required .PbFaceList.FaceListImage.ImageType type = 3 [default = MBFT_Y8]; inline bool PbFaceList_FaceListImage::has_type() const { return (_has_bits_[0] & 0x00000040u) != 0; } inline void PbFaceList_FaceListImage::set_has_type() { _has_bits_[0] |= 0x00000040u; } inline void PbFaceList_FaceListImage::clear_has_type() { _has_bits_[0] &= ~0x00000040u; } inline void PbFaceList_FaceListImage::clear_type() { type_ = 9; clear_has_type(); } inline ::PbFaceList_FaceListImage_ImageType PbFaceList_FaceListImage::type() const { // @@protoc_insertion_point(field_get:PbFaceList.FaceListImage.type) return static_cast< ::PbFaceList_FaceListImage_ImageType >(type_); } inline void PbFaceList_FaceListImage::set_type(::PbFaceList_FaceListImage_ImageType value) { assert(::PbFaceList_FaceListImage_ImageType_IsValid(value)); set_has_type(); type_ = value; // @@protoc_insertion_point(field_set:PbFaceList.FaceListImage.type) } // required uint32 width = 4; inline bool PbFaceList_FaceListImage::has_width() const { return (_has_bits_[0] & 0x00000004u) != 0; } inline void PbFaceList_FaceListImage::set_has_width() { _has_bits_[0] |= 0x00000004u; } inline void PbFaceList_FaceListImage::clear_has_width() { _has_bits_[0] &= ~0x00000004u; } inline void PbFaceList_FaceListImage::clear_width() { width_ = 0u; clear_has_width(); } inline ::google::protobuf::uint32 PbFaceList_FaceListImage::width() const { // @@protoc_insertion_point(field_get:PbFaceList.FaceListImage.width) return width_; } inline void PbFaceList_FaceListImage::set_width(::google::protobuf::uint32 value) { set_has_width(); width_ = value; // @@protoc_insertion_point(field_set:PbFaceList.FaceListImage.width) } // required uint32 height = 5; inline bool PbFaceList_FaceListImage::has_height() const { return (_has_bits_[0] & 0x00000008u) != 0; } inline void PbFaceList_FaceListImage::set_has_height() { _has_bits_[0] |= 0x00000008u; } inline void PbFaceList_FaceListImage::clear_has_height() { _has_bits_[0] &= ~0x00000008u; } inline void PbFaceList_FaceListImage::clear_height() { height_ = 0u; clear_has_height(); } inline ::google::protobuf::uint32 PbFaceList_FaceListImage::height() const { // @@protoc_insertion_point(field_get:PbFaceList.FaceListImage.height) return height_; } inline void PbFaceList_FaceListImage::set_height(::google::protobuf::uint32 value) { set_has_height(); height_ = value; // @@protoc_insertion_point(field_set:PbFaceList.FaceListImage.height) } // optional uint32 top_left_x = 6; inline bool PbFaceList_FaceListImage::has_top_left_x() const { return (_has_bits_[0] & 0x00000010u) != 0; } inline void PbFaceList_FaceListImage::set_has_top_left_x() { _has_bits_[0] |= 0x00000010u; } inline void PbFaceList_FaceListImage::clear_has_top_left_x() { _has_bits_[0] &= ~0x00000010u; } inline void PbFaceList_FaceListImage::clear_top_left_x() { top_left_x_ = 0u; clear_has_top_left_x(); } inline ::google::protobuf::uint32 PbFaceList_FaceListImage::top_left_x() const { // @@protoc_insertion_point(field_get:PbFaceList.FaceListImage.top_left_x) return top_left_x_; } inline void PbFaceList_FaceListImage::set_top_left_x(::google::protobuf::uint32 value) { set_has_top_left_x(); top_left_x_ = value; // @@protoc_insertion_point(field_set:PbFaceList.FaceListImage.top_left_x) } // optional uint32 top_left_y = 7; inline bool PbFaceList_FaceListImage::has_top_left_y() const { return (_has_bits_[0] & 0x00000020u) != 0; } inline void PbFaceList_FaceListImage::set_has_top_left_y() { _has_bits_[0] |= 0x00000020u; } inline void PbFaceList_FaceListImage::clear_has_top_left_y() { _has_bits_[0] &= ~0x00000020u; } inline void PbFaceList_FaceListImage::clear_top_left_y() { top_left_y_ = 0u; clear_has_top_left_y(); } inline ::google::protobuf::uint32 PbFaceList_FaceListImage::top_left_y() const { // @@protoc_insertion_point(field_get:PbFaceList.FaceListImage.top_left_y) return top_left_y_; } inline void PbFaceList_FaceListImage::set_top_left_y(::google::protobuf::uint32 value) { set_has_top_left_y(); top_left_y_ = value; // @@protoc_insertion_point(field_set:PbFaceList.FaceListImage.top_left_y) } // repeated bytes img = 8; inline int PbFaceList_FaceListImage::img_size() const { return img_.size(); } inline void PbFaceList_FaceListImage::clear_img() { img_.Clear(); } inline const ::std::string& PbFaceList_FaceListImage::img(int index) const { // @@protoc_insertion_point(field_get:PbFaceList.FaceListImage.img) return img_.Get(index); } inline ::std::string* PbFaceList_FaceListImage::mutable_img(int index) { // @@protoc_insertion_point(field_mutable:PbFaceList.FaceListImage.img) return img_.Mutable(index); } inline void PbFaceList_FaceListImage::set_img(int index, const ::std::string& value) { // @@protoc_insertion_point(field_set:PbFaceList.FaceListImage.img) img_.Mutable(index)->assign(value); } #if LANG_CXX11 inline void PbFaceList_FaceListImage::set_img(int index, ::std::string&& value) { // @@protoc_insertion_point(field_set:PbFaceList.FaceListImage.img) img_.Mutable(index)->assign(std::move(value)); } #endif inline void PbFaceList_FaceListImage::set_img(int index, const char* value) { img_.Mutable(index)->assign(value); // @@protoc_insertion_point(field_set_char:PbFaceList.FaceListImage.img) } inline void PbFaceList_FaceListImage::set_img(int index, const void* value, size_t size) { img_.Mutable(index)->assign( reinterpret_cast(value), size); // @@protoc_insertion_point(field_set_pointer:PbFaceList.FaceListImage.img) } inline ::std::string* PbFaceList_FaceListImage::add_img() { // @@protoc_insertion_point(field_add_mutable:PbFaceList.FaceListImage.img) return img_.Add(); } inline void PbFaceList_FaceListImage::add_img(const ::std::string& value) { img_.Add()->assign(value); // @@protoc_insertion_point(field_add:PbFaceList.FaceListImage.img) } #if LANG_CXX11 inline void PbFaceList_FaceListImage::add_img(::std::string&& value) { img_.Add()->assign(std::move(value)); // @@protoc_insertion_point(field_add:PbFaceList.FaceListImage.img) } #endif inline void PbFaceList_FaceListImage::add_img(const char* value) { img_.Add()->assign(value); // @@protoc_insertion_point(field_add_char:PbFaceList.FaceListImage.img) } inline void PbFaceList_FaceListImage::add_img(const void* value, size_t size) { img_.Add()->assign(reinterpret_cast(value), size); // @@protoc_insertion_point(field_add_pointer:PbFaceList.FaceListImage.img) } inline const ::google::protobuf::RepeatedPtrField< ::std::string>& PbFaceList_FaceListImage::img() const { // @@protoc_insertion_point(field_list:PbFaceList.FaceListImage.img) return img_; } inline ::google::protobuf::RepeatedPtrField< ::std::string>* PbFaceList_FaceListImage::mutable_img() { // @@protoc_insertion_point(field_mutable_list:PbFaceList.FaceListImage.img) return &img_; } // ------------------------------------------------------------------- // PbFaceList // required uint32 magic = 1 [default = 11706629]; inline bool PbFaceList::has_magic() const { return (_has_bits_[0] & 0x00000008u) != 0; } inline void PbFaceList::set_has_magic() { _has_bits_[0] |= 0x00000008u; } inline void PbFaceList::clear_has_magic() { _has_bits_[0] &= ~0x00000008u; } inline void PbFaceList::clear_magic() { magic_ = 11706629u; clear_has_magic(); } inline ::google::protobuf::uint32 PbFaceList::magic() const { // @@protoc_insertion_point(field_get:PbFaceList.magic) return magic_; } inline void PbFaceList::set_magic(::google::protobuf::uint32 value) { set_has_magic(); magic_ = value; // @@protoc_insertion_point(field_set:PbFaceList.magic) } // required uint32 image_count = 2; inline bool PbFaceList::has_image_count() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void PbFaceList::set_has_image_count() { _has_bits_[0] |= 0x00000001u; } inline void PbFaceList::clear_has_image_count() { _has_bits_[0] &= ~0x00000001u; } inline void PbFaceList::clear_image_count() { image_count_ = 0u; clear_has_image_count(); } inline ::google::protobuf::uint32 PbFaceList::image_count() const { // @@protoc_insertion_point(field_get:PbFaceList.image_count) return image_count_; } inline void PbFaceList::set_image_count(::google::protobuf::uint32 value) { set_has_image_count(); image_count_ = value; // @@protoc_insertion_point(field_set:PbFaceList.image_count) } // optional uint32 src_width = 3; inline bool PbFaceList::has_src_width() const { return (_has_bits_[0] & 0x00000002u) != 0; } inline void PbFaceList::set_has_src_width() { _has_bits_[0] |= 0x00000002u; } inline void PbFaceList::clear_has_src_width() { _has_bits_[0] &= ~0x00000002u; } inline void PbFaceList::clear_src_width() { src_width_ = 0u; clear_has_src_width(); } inline ::google::protobuf::uint32 PbFaceList::src_width() const { // @@protoc_insertion_point(field_get:PbFaceList.src_width) return src_width_; } inline void PbFaceList::set_src_width(::google::protobuf::uint32 value) { set_has_src_width(); src_width_ = value; // @@protoc_insertion_point(field_set:PbFaceList.src_width) } // optional uint32 src_height = 4; inline bool PbFaceList::has_src_height() const { return (_has_bits_[0] & 0x00000004u) != 0; } inline void PbFaceList::set_has_src_height() { _has_bits_[0] |= 0x00000004u; } inline void PbFaceList::clear_has_src_height() { _has_bits_[0] &= ~0x00000004u; } inline void PbFaceList::clear_src_height() { src_height_ = 0u; clear_has_src_height(); } inline ::google::protobuf::uint32 PbFaceList::src_height() const { // @@protoc_insertion_point(field_get:PbFaceList.src_height) return src_height_; } inline void PbFaceList::set_src_height(::google::protobuf::uint32 value) { set_has_src_height(); src_height_ = value; // @@protoc_insertion_point(field_set:PbFaceList.src_height) } // repeated .PbFaceList.FaceListImage images = 5; inline int PbFaceList::images_size() const { return images_.size(); } inline void PbFaceList::clear_images() { images_.Clear(); } inline const ::PbFaceList_FaceListImage& PbFaceList::images(int index) const { // @@protoc_insertion_point(field_get:PbFaceList.images) return images_.Get(index); } inline ::PbFaceList_FaceListImage* PbFaceList::mutable_images(int index) { // @@protoc_insertion_point(field_mutable:PbFaceList.images) return images_.Mutable(index); } inline ::PbFaceList_FaceListImage* PbFaceList::add_images() { // @@protoc_insertion_point(field_add:PbFaceList.images) return images_.Add(); } inline ::google::protobuf::RepeatedPtrField< ::PbFaceList_FaceListImage >* PbFaceList::mutable_images() { // @@protoc_insertion_point(field_mutable_list:PbFaceList.images) return &images_; } inline const ::google::protobuf::RepeatedPtrField< ::PbFaceList_FaceListImage >& PbFaceList::images() const { // @@protoc_insertion_point(field_list:PbFaceList.images) return images_; } #endif // !PROTOBUF_INLINE_NOT_IN_HEADERS // ------------------------------------------------------------------- // @@protoc_insertion_point(namespace_scope) #ifndef SWIG namespace google { namespace protobuf { template <> struct is_proto_enum< ::PbFaceList_FaceListImage_ImageType> : ::google::protobuf::internal::true_type {}; template <> inline const EnumDescriptor* GetEnumDescriptor< ::PbFaceList_FaceListImage_ImageType>() { return ::PbFaceList_FaceListImage_ImageType_descriptor(); } } // namespace protobuf } // namespace google #endif // SWIG // @@protoc_insertion_point(global_scope) #endif // PROTOBUF_PbFaceList__INCLUDED