// Generated by the protocol buffer compiler. DO NOT EDIT! // source: GetContactLabelListResponse.proto #ifndef PROTOBUF_GetContactLabelListResponse_2eproto__INCLUDED #define PROTOBUF_GetContactLabelListResponse_2eproto__INCLUDED #include #include #if GOOGLE_PROTOBUF_VERSION < 3003000 #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 3003000 < 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 #include // IWYU pragma: export #include // IWYU pragma: export #include #include "BaseResponse.pb.h" #include "LabelPair.pb.h" // @@protoc_insertion_point(includes) namespace MMPro { namespace micromsg { class BaseResponse; class BaseResponseDefaultTypeInternal; extern BaseResponseDefaultTypeInternal _BaseResponse_default_instance_; class GetContactLabelListResponse; class GetContactLabelListResponseDefaultTypeInternal; extern GetContactLabelListResponseDefaultTypeInternal _GetContactLabelListResponse_default_instance_; class LabelPair; class LabelPairDefaultTypeInternal; extern LabelPairDefaultTypeInternal _LabelPair_default_instance_; } // namespace micromsg } // namespace MMPro namespace MMPro { namespace micromsg { namespace protobuf_GetContactLabelListResponse_2eproto { // Internal implementation detail -- do not call these. struct TableStruct { static const ::google::protobuf::internal::ParseTableField entries[]; static const ::google::protobuf::internal::AuxillaryParseTableField aux[]; static const ::google::protobuf::internal::ParseTable schema[]; static const ::google::protobuf::uint32 offsets[]; static void InitDefaultsImpl(); static void Shutdown(); }; void AddDescriptors(); void InitDefaults(); } // namespace protobuf_GetContactLabelListResponse_2eproto // =================================================================== class GetContactLabelListResponse : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:MMPro.micromsg.GetContactLabelListResponse) */ { public: GetContactLabelListResponse(); virtual ~GetContactLabelListResponse(); GetContactLabelListResponse(const GetContactLabelListResponse& from); inline GetContactLabelListResponse& operator=(const GetContactLabelListResponse& 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 GetContactLabelListResponse& default_instance(); static inline const GetContactLabelListResponse* internal_default_instance() { return reinterpret_cast( &_GetContactLabelListResponse_default_instance_); } static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = 0; void Swap(GetContactLabelListResponse* other); // implements Message ---------------------------------------------- inline GetContactLabelListResponse* New() const PROTOBUF_FINAL { return New(NULL); } GetContactLabelListResponse* 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 GetContactLabelListResponse& from); void MergeFrom(const GetContactLabelListResponse& 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; int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const PROTOBUF_FINAL; void InternalSwap(GetContactLabelListResponse* 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 ---------------------------------------------------- // accessors ------------------------------------------------------- // repeated .MMPro.micromsg.LabelPair _LabelPairList = 3; int _labelpairlist_size() const; void clear__labelpairlist(); static const int kLabelPairListFieldNumber = 3; const ::MMPro::micromsg::LabelPair& _labelpairlist(int index) const; ::MMPro::micromsg::LabelPair* mutable__labelpairlist(int index); ::MMPro::micromsg::LabelPair* add__labelpairlist(); ::google::protobuf::RepeatedPtrField< ::MMPro::micromsg::LabelPair >* mutable__labelpairlist(); const ::google::protobuf::RepeatedPtrField< ::MMPro::micromsg::LabelPair >& _labelpairlist() const; // required .MMPro.micromsg.BaseResponse _BaseResponse = 1; bool has__baseresponse() const; void clear__baseresponse(); static const int kBaseResponseFieldNumber = 1; const ::MMPro::micromsg::BaseResponse& _baseresponse() const; ::MMPro::micromsg::BaseResponse* mutable__baseresponse(); ::MMPro::micromsg::BaseResponse* release__baseresponse(); void set_allocated__baseresponse(::MMPro::micromsg::BaseResponse* _baseresponse); // required uint32 _LabelCount = 2; bool has__labelcount() const; void clear__labelcount(); static const int kLabelCountFieldNumber = 2; ::google::protobuf::uint32 _labelcount() const; void set__labelcount(::google::protobuf::uint32 value); // @@protoc_insertion_point(class_scope:MMPro.micromsg.GetContactLabelListResponse) private: void set_has__baseresponse(); void clear_has__baseresponse(); void set_has__labelcount(); void clear_has__labelcount(); // 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< ::MMPro::micromsg::LabelPair > _labelpairlist_; ::MMPro::micromsg::BaseResponse* _baseresponse_; ::google::protobuf::uint32 _labelcount_; friend struct protobuf_GetContactLabelListResponse_2eproto::TableStruct; }; // =================================================================== // =================================================================== #if !PROTOBUF_INLINE_NOT_IN_HEADERS // GetContactLabelListResponse // required .MMPro.micromsg.BaseResponse _BaseResponse = 1; inline bool GetContactLabelListResponse::has__baseresponse() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void GetContactLabelListResponse::set_has__baseresponse() { _has_bits_[0] |= 0x00000001u; } inline void GetContactLabelListResponse::clear_has__baseresponse() { _has_bits_[0] &= ~0x00000001u; } inline void GetContactLabelListResponse::clear__baseresponse() { if (_baseresponse_ != NULL) _baseresponse_->::MMPro::micromsg::BaseResponse::Clear(); clear_has__baseresponse(); } inline const ::MMPro::micromsg::BaseResponse& GetContactLabelListResponse::_baseresponse() const { // @@protoc_insertion_point(field_get:MMPro.micromsg.GetContactLabelListResponse._BaseResponse) return _baseresponse_ != NULL ? *_baseresponse_ : *::MMPro::micromsg::BaseResponse::internal_default_instance(); } inline ::MMPro::micromsg::BaseResponse* GetContactLabelListResponse::mutable__baseresponse() { set_has__baseresponse(); if (_baseresponse_ == NULL) { _baseresponse_ = new ::MMPro::micromsg::BaseResponse; } // @@protoc_insertion_point(field_mutable:MMPro.micromsg.GetContactLabelListResponse._BaseResponse) return _baseresponse_; } inline ::MMPro::micromsg::BaseResponse* GetContactLabelListResponse::release__baseresponse() { // @@protoc_insertion_point(field_release:MMPro.micromsg.GetContactLabelListResponse._BaseResponse) clear_has__baseresponse(); ::MMPro::micromsg::BaseResponse* temp = _baseresponse_; _baseresponse_ = NULL; return temp; } inline void GetContactLabelListResponse::set_allocated__baseresponse(::MMPro::micromsg::BaseResponse* _baseresponse) { delete _baseresponse_; _baseresponse_ = _baseresponse; if (_baseresponse) { set_has__baseresponse(); } else { clear_has__baseresponse(); } // @@protoc_insertion_point(field_set_allocated:MMPro.micromsg.GetContactLabelListResponse._BaseResponse) } // required uint32 _LabelCount = 2; inline bool GetContactLabelListResponse::has__labelcount() const { return (_has_bits_[0] & 0x00000002u) != 0; } inline void GetContactLabelListResponse::set_has__labelcount() { _has_bits_[0] |= 0x00000002u; } inline void GetContactLabelListResponse::clear_has__labelcount() { _has_bits_[0] &= ~0x00000002u; } inline void GetContactLabelListResponse::clear__labelcount() { _labelcount_ = 0u; clear_has__labelcount(); } inline ::google::protobuf::uint32 GetContactLabelListResponse::_labelcount() const { // @@protoc_insertion_point(field_get:MMPro.micromsg.GetContactLabelListResponse._LabelCount) return _labelcount_; } inline void GetContactLabelListResponse::set__labelcount(::google::protobuf::uint32 value) { set_has__labelcount(); _labelcount_ = value; // @@protoc_insertion_point(field_set:MMPro.micromsg.GetContactLabelListResponse._LabelCount) } // repeated .MMPro.micromsg.LabelPair _LabelPairList = 3; inline int GetContactLabelListResponse::_labelpairlist_size() const { return _labelpairlist_.size(); } inline void GetContactLabelListResponse::clear__labelpairlist() { _labelpairlist_.Clear(); } inline const ::MMPro::micromsg::LabelPair& GetContactLabelListResponse::_labelpairlist(int index) const { // @@protoc_insertion_point(field_get:MMPro.micromsg.GetContactLabelListResponse._LabelPairList) return _labelpairlist_.Get(index); } inline ::MMPro::micromsg::LabelPair* GetContactLabelListResponse::mutable__labelpairlist(int index) { // @@protoc_insertion_point(field_mutable:MMPro.micromsg.GetContactLabelListResponse._LabelPairList) return _labelpairlist_.Mutable(index); } inline ::MMPro::micromsg::LabelPair* GetContactLabelListResponse::add__labelpairlist() { // @@protoc_insertion_point(field_add:MMPro.micromsg.GetContactLabelListResponse._LabelPairList) return _labelpairlist_.Add(); } inline ::google::protobuf::RepeatedPtrField< ::MMPro::micromsg::LabelPair >* GetContactLabelListResponse::mutable__labelpairlist() { // @@protoc_insertion_point(field_mutable_list:MMPro.micromsg.GetContactLabelListResponse._LabelPairList) return &_labelpairlist_; } inline const ::google::protobuf::RepeatedPtrField< ::MMPro::micromsg::LabelPair >& GetContactLabelListResponse::_labelpairlist() const { // @@protoc_insertion_point(field_list:MMPro.micromsg.GetContactLabelListResponse._LabelPairList) return _labelpairlist_; } #endif // !PROTOBUF_INLINE_NOT_IN_HEADERS // @@protoc_insertion_point(namespace_scope) } // namespace micromsg } // namespace MMPro // @@protoc_insertion_point(global_scope) #endif // PROTOBUF_GetContactLabelListResponse_2eproto__INCLUDED