From d9125b1f5e3bfd1c657d75c4ef812f1202dc406d Mon Sep 17 00:00:00 2001 From: houxiao <houxiao@454eff88-639b-444f-9e54-f578c98de674> Date: 星期一, 10 七月 2017 10:12:44 +0800 Subject: [PATCH] proto support st_track_id --- FaceServer/PbFaceList.pb.h | 112 ++++++++++++++++++++++++++++++++++++------------------- 1 files changed, 73 insertions(+), 39 deletions(-) diff --git a/FaceServer/PbFaceList.pb.h b/FaceServer/PbFaceList.pb.h index 8085a09..9a00cfc 100644 --- a/FaceServer/PbFaceList.pb.h +++ b/FaceServer/PbFaceList.pb.h @@ -221,10 +221,10 @@ // 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); @@ -250,45 +250,52 @@ ::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); @@ -296,6 +303,8 @@ 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(); @@ -317,6 +326,7 @@ 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_; @@ -500,15 +510,39 @@ // @@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; @@ -524,15 +558,15 @@ // @@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; @@ -549,15 +583,15 @@ // @@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; @@ -573,15 +607,15 @@ // @@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; @@ -597,15 +631,15 @@ // @@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; @@ -621,15 +655,15 @@ // @@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; @@ -645,7 +679,7 @@ // @@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(); } -- Gitblit v1.8.0