| | |
| | | |
| | | // accessors ------------------------------------------------------- |
| | | |
| | | // repeated bytes img = 8; |
| | | // repeated bytes img = 9; |
| | | int img_size() const; |
| | | void clear_img(); |
| | | static const int kImgFieldNumber = 8; |
| | | static const int kImgFieldNumber = 9; |
| | | const ::std::string& img(int index) const; |
| | | ::std::string* mutable_img(int index); |
| | | void set_img(int index, const ::std::string& value); |
| | |
| | | ::google::protobuf::uint32 idx() const; |
| | | void set_idx(::google::protobuf::uint32 value); |
| | | |
| | | // required uint32 size = 2; |
| | | // required uint32 st_track_id = 2; |
| | | bool has_st_track_id() const; |
| | | void clear_st_track_id(); |
| | | static const int kStTrackIdFieldNumber = 2; |
| | | ::google::protobuf::uint32 st_track_id() const; |
| | | void set_st_track_id(::google::protobuf::uint32 value); |
| | | |
| | | // required uint32 size = 3; |
| | | bool has_size() const; |
| | | void clear_size(); |
| | | static const int kSizeFieldNumber = 2; |
| | | static const int kSizeFieldNumber = 3; |
| | | ::google::protobuf::uint32 size() const; |
| | | void set_size(::google::protobuf::uint32 value); |
| | | |
| | | // required uint32 width = 4; |
| | | // required uint32 width = 5; |
| | | bool has_width() const; |
| | | void clear_width(); |
| | | static const int kWidthFieldNumber = 4; |
| | | static const int kWidthFieldNumber = 5; |
| | | ::google::protobuf::uint32 width() const; |
| | | void set_width(::google::protobuf::uint32 value); |
| | | |
| | | // required uint32 height = 5; |
| | | // required uint32 height = 6; |
| | | bool has_height() const; |
| | | void clear_height(); |
| | | static const int kHeightFieldNumber = 5; |
| | | static const int kHeightFieldNumber = 6; |
| | | ::google::protobuf::uint32 height() const; |
| | | void set_height(::google::protobuf::uint32 value); |
| | | |
| | | // optional uint32 top_left_x = 6; |
| | | // optional uint32 top_left_x = 7; |
| | | bool has_top_left_x() const; |
| | | void clear_top_left_x(); |
| | | static const int kTopLeftXFieldNumber = 6; |
| | | static const int kTopLeftXFieldNumber = 7; |
| | | ::google::protobuf::uint32 top_left_x() const; |
| | | void set_top_left_x(::google::protobuf::uint32 value); |
| | | |
| | | // optional uint32 top_left_y = 7; |
| | | // optional uint32 top_left_y = 8; |
| | | bool has_top_left_y() const; |
| | | void clear_top_left_y(); |
| | | static const int kTopLeftYFieldNumber = 7; |
| | | static const int kTopLeftYFieldNumber = 8; |
| | | ::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]; |
| | | // required .PbFaceList.FaceListImage.ImageType type = 4 [default = MBFT_Y8]; |
| | | bool has_type() const; |
| | | void clear_type(); |
| | | static const int kTypeFieldNumber = 3; |
| | | static const int kTypeFieldNumber = 4; |
| | | ::PbFaceList_FaceListImage_ImageType type() const; |
| | | void set_type(::PbFaceList_FaceListImage_ImageType value); |
| | | |
| | |
| | | private: |
| | | void set_has_idx(); |
| | | void clear_has_idx(); |
| | | void set_has_st_track_id(); |
| | | void clear_has_st_track_id(); |
| | | void set_has_size(); |
| | | void clear_has_size(); |
| | | void set_has_type(); |
| | |
| | | mutable int _cached_size_; |
| | | ::google::protobuf::RepeatedPtrField< ::std::string> img_; |
| | | ::google::protobuf::uint32 idx_; |
| | | ::google::protobuf::uint32 st_track_id_; |
| | | ::google::protobuf::uint32 size_; |
| | | ::google::protobuf::uint32 width_; |
| | | ::google::protobuf::uint32 height_; |
| | |
| | | // @@protoc_insertion_point(field_set:PbFaceList.FaceListImage.idx) |
| | | } |
| | | |
| | | // required uint32 size = 2; |
| | | inline bool PbFaceList_FaceListImage::has_size() const { |
| | | // required uint32 st_track_id = 2; |
| | | inline bool PbFaceList_FaceListImage::has_st_track_id() const { |
| | | return (_has_bits_[0] & 0x00000002u) != 0; |
| | | } |
| | | inline void PbFaceList_FaceListImage::set_has_size() { |
| | | inline void PbFaceList_FaceListImage::set_has_st_track_id() { |
| | | _has_bits_[0] |= 0x00000002u; |
| | | } |
| | | inline void PbFaceList_FaceListImage::clear_has_size() { |
| | | inline void PbFaceList_FaceListImage::clear_has_st_track_id() { |
| | | _has_bits_[0] &= ~0x00000002u; |
| | | } |
| | | inline void PbFaceList_FaceListImage::clear_st_track_id() { |
| | | st_track_id_ = 0u; |
| | | clear_has_st_track_id(); |
| | | } |
| | | inline ::google::protobuf::uint32 PbFaceList_FaceListImage::st_track_id() const { |
| | | // @@protoc_insertion_point(field_get:PbFaceList.FaceListImage.st_track_id) |
| | | return st_track_id_; |
| | | } |
| | | inline void PbFaceList_FaceListImage::set_st_track_id(::google::protobuf::uint32 value) { |
| | | set_has_st_track_id(); |
| | | st_track_id_ = value; |
| | | // @@protoc_insertion_point(field_set:PbFaceList.FaceListImage.st_track_id) |
| | | } |
| | | |
| | | // required uint32 size = 3; |
| | | inline bool PbFaceList_FaceListImage::has_size() const { |
| | | return (_has_bits_[0] & 0x00000004u) != 0; |
| | | } |
| | | inline void PbFaceList_FaceListImage::set_has_size() { |
| | | _has_bits_[0] |= 0x00000004u; |
| | | } |
| | | inline void PbFaceList_FaceListImage::clear_has_size() { |
| | | _has_bits_[0] &= ~0x00000004u; |
| | | } |
| | | inline void PbFaceList_FaceListImage::clear_size() { |
| | | size_ = 0u; |
| | |
| | | // @@protoc_insertion_point(field_set:PbFaceList.FaceListImage.size) |
| | | } |
| | | |
| | | // required .PbFaceList.FaceListImage.ImageType type = 3 [default = MBFT_Y8]; |
| | | // required .PbFaceList.FaceListImage.ImageType type = 4 [default = MBFT_Y8]; |
| | | inline bool PbFaceList_FaceListImage::has_type() const { |
| | | return (_has_bits_[0] & 0x00000040u) != 0; |
| | | return (_has_bits_[0] & 0x00000080u) != 0; |
| | | } |
| | | inline void PbFaceList_FaceListImage::set_has_type() { |
| | | _has_bits_[0] |= 0x00000040u; |
| | | _has_bits_[0] |= 0x00000080u; |
| | | } |
| | | inline void PbFaceList_FaceListImage::clear_has_type() { |
| | | _has_bits_[0] &= ~0x00000040u; |
| | | _has_bits_[0] &= ~0x00000080u; |
| | | } |
| | | inline void PbFaceList_FaceListImage::clear_type() { |
| | | type_ = 9; |
| | |
| | | // @@protoc_insertion_point(field_set:PbFaceList.FaceListImage.type) |
| | | } |
| | | |
| | | // required uint32 width = 4; |
| | | // required uint32 width = 5; |
| | | inline bool PbFaceList_FaceListImage::has_width() const { |
| | | return (_has_bits_[0] & 0x00000004u) != 0; |
| | | return (_has_bits_[0] & 0x00000008u) != 0; |
| | | } |
| | | inline void PbFaceList_FaceListImage::set_has_width() { |
| | | _has_bits_[0] |= 0x00000004u; |
| | | _has_bits_[0] |= 0x00000008u; |
| | | } |
| | | inline void PbFaceList_FaceListImage::clear_has_width() { |
| | | _has_bits_[0] &= ~0x00000004u; |
| | | _has_bits_[0] &= ~0x00000008u; |
| | | } |
| | | inline void PbFaceList_FaceListImage::clear_width() { |
| | | width_ = 0u; |
| | |
| | | // @@protoc_insertion_point(field_set:PbFaceList.FaceListImage.width) |
| | | } |
| | | |
| | | // required uint32 height = 5; |
| | | // required uint32 height = 6; |
| | | inline bool PbFaceList_FaceListImage::has_height() const { |
| | | return (_has_bits_[0] & 0x00000008u) != 0; |
| | | return (_has_bits_[0] & 0x00000010u) != 0; |
| | | } |
| | | inline void PbFaceList_FaceListImage::set_has_height() { |
| | | _has_bits_[0] |= 0x00000008u; |
| | | _has_bits_[0] |= 0x00000010u; |
| | | } |
| | | inline void PbFaceList_FaceListImage::clear_has_height() { |
| | | _has_bits_[0] &= ~0x00000008u; |
| | | _has_bits_[0] &= ~0x00000010u; |
| | | } |
| | | inline void PbFaceList_FaceListImage::clear_height() { |
| | | height_ = 0u; |
| | |
| | | // @@protoc_insertion_point(field_set:PbFaceList.FaceListImage.height) |
| | | } |
| | | |
| | | // optional uint32 top_left_x = 6; |
| | | // optional uint32 top_left_x = 7; |
| | | inline bool PbFaceList_FaceListImage::has_top_left_x() const { |
| | | return (_has_bits_[0] & 0x00000010u) != 0; |
| | | return (_has_bits_[0] & 0x00000020u) != 0; |
| | | } |
| | | inline void PbFaceList_FaceListImage::set_has_top_left_x() { |
| | | _has_bits_[0] |= 0x00000010u; |
| | | _has_bits_[0] |= 0x00000020u; |
| | | } |
| | | inline void PbFaceList_FaceListImage::clear_has_top_left_x() { |
| | | _has_bits_[0] &= ~0x00000010u; |
| | | _has_bits_[0] &= ~0x00000020u; |
| | | } |
| | | inline void PbFaceList_FaceListImage::clear_top_left_x() { |
| | | top_left_x_ = 0u; |
| | |
| | | // @@protoc_insertion_point(field_set:PbFaceList.FaceListImage.top_left_x) |
| | | } |
| | | |
| | | // optional uint32 top_left_y = 7; |
| | | // optional uint32 top_left_y = 8; |
| | | inline bool PbFaceList_FaceListImage::has_top_left_y() const { |
| | | return (_has_bits_[0] & 0x00000020u) != 0; |
| | | return (_has_bits_[0] & 0x00000040u) != 0; |
| | | } |
| | | inline void PbFaceList_FaceListImage::set_has_top_left_y() { |
| | | _has_bits_[0] |= 0x00000020u; |
| | | _has_bits_[0] |= 0x00000040u; |
| | | } |
| | | inline void PbFaceList_FaceListImage::clear_has_top_left_y() { |
| | | _has_bits_[0] &= ~0x00000020u; |
| | | _has_bits_[0] &= ~0x00000040u; |
| | | } |
| | | inline void PbFaceList_FaceListImage::clear_top_left_y() { |
| | | top_left_y_ = 0u; |
| | |
| | | // @@protoc_insertion_point(field_set:PbFaceList.FaceListImage.top_left_y) |
| | | } |
| | | |
| | | // repeated bytes img = 8; |
| | | // repeated bytes img = 9; |
| | | inline int PbFaceList_FaceListImage::img_size() const { |
| | | return img_.size(); |
| | | } |