// Generated by the protocol buffer compiler. DO NOT EDIT! // source: VerifyUserResponse.proto #ifndef PROTOBUF_VerifyUserResponse_2eproto__INCLUDED #define PROTOBUF_VerifyUserResponse_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" // @@protoc_insertion_point(includes) namespace MMPro { namespace micromsg { class BaseResponse; class BaseResponseDefaultTypeInternal; extern BaseResponseDefaultTypeInternal _BaseResponse_default_instance_; class VerifyUserResponse; class VerifyUserResponseDefaultTypeInternal; extern VerifyUserResponseDefaultTypeInternal _VerifyUserResponse_default_instance_; } // namespace micromsg } // namespace MMPro namespace MMPro { namespace micromsg { namespace protobuf_VerifyUserResponse_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_VerifyUserResponse_2eproto // =================================================================== class VerifyUserResponse : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:MMPro.micromsg.VerifyUserResponse) */ { public: VerifyUserResponse(); virtual ~VerifyUserResponse(); VerifyUserResponse(const VerifyUserResponse& from); inline VerifyUserResponse& operator=(const VerifyUserResponse& 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 VerifyUserResponse& default_instance(); static inline const VerifyUserResponse* internal_default_instance() { return reinterpret_cast( &_VerifyUserResponse_default_instance_); } static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = 0; void Swap(VerifyUserResponse* other); // implements Message ---------------------------------------------- inline VerifyUserResponse* New() const PROTOBUF_FINAL { return New(NULL); } VerifyUserResponse* 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 VerifyUserResponse& from); void MergeFrom(const VerifyUserResponse& 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(VerifyUserResponse* 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 ------------------------------------------------------- // optional string _UserName = 2; bool has__username() const; void clear__username(); static const int kUserNameFieldNumber = 2; const ::std::string& _username() const; void set__username(const ::std::string& value); #if LANG_CXX11 void set__username(::std::string&& value); #endif void set__username(const char* value); void set__username(const char* value, size_t size); ::std::string* mutable__username(); ::std::string* release__username(); void set_allocated__username(::std::string* _username); // 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); // @@protoc_insertion_point(class_scope:MMPro.micromsg.VerifyUserResponse) private: void set_has__baseresponse(); void clear_has__baseresponse(); void set_has__username(); void clear_has__username(); ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; ::google::protobuf::internal::HasBits<1> _has_bits_; mutable int _cached_size_; ::google::protobuf::internal::ArenaStringPtr _username_; ::MMPro::micromsg::BaseResponse* _baseresponse_; friend struct protobuf_VerifyUserResponse_2eproto::TableStruct; }; // =================================================================== // =================================================================== #if !PROTOBUF_INLINE_NOT_IN_HEADERS // VerifyUserResponse // required .MMPro.micromsg.BaseResponse _BaseResponse = 1; inline bool VerifyUserResponse::has__baseresponse() const { return (_has_bits_[0] & 0x00000002u) != 0; } inline void VerifyUserResponse::set_has__baseresponse() { _has_bits_[0] |= 0x00000002u; } inline void VerifyUserResponse::clear_has__baseresponse() { _has_bits_[0] &= ~0x00000002u; } inline void VerifyUserResponse::clear__baseresponse() { if (_baseresponse_ != NULL) _baseresponse_->::MMPro::micromsg::BaseResponse::Clear(); clear_has__baseresponse(); } inline const ::MMPro::micromsg::BaseResponse& VerifyUserResponse::_baseresponse() const { // @@protoc_insertion_point(field_get:MMPro.micromsg.VerifyUserResponse._BaseResponse) return _baseresponse_ != NULL ? *_baseresponse_ : *::MMPro::micromsg::BaseResponse::internal_default_instance(); } inline ::MMPro::micromsg::BaseResponse* VerifyUserResponse::mutable__baseresponse() { set_has__baseresponse(); if (_baseresponse_ == NULL) { _baseresponse_ = new ::MMPro::micromsg::BaseResponse; } // @@protoc_insertion_point(field_mutable:MMPro.micromsg.VerifyUserResponse._BaseResponse) return _baseresponse_; } inline ::MMPro::micromsg::BaseResponse* VerifyUserResponse::release__baseresponse() { // @@protoc_insertion_point(field_release:MMPro.micromsg.VerifyUserResponse._BaseResponse) clear_has__baseresponse(); ::MMPro::micromsg::BaseResponse* temp = _baseresponse_; _baseresponse_ = NULL; return temp; } inline void VerifyUserResponse::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.VerifyUserResponse._BaseResponse) } // optional string _UserName = 2; inline bool VerifyUserResponse::has__username() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void VerifyUserResponse::set_has__username() { _has_bits_[0] |= 0x00000001u; } inline void VerifyUserResponse::clear_has__username() { _has_bits_[0] &= ~0x00000001u; } inline void VerifyUserResponse::clear__username() { _username_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); clear_has__username(); } inline const ::std::string& VerifyUserResponse::_username() const { // @@protoc_insertion_point(field_get:MMPro.micromsg.VerifyUserResponse._UserName) return _username_.GetNoArena(); } inline void VerifyUserResponse::set__username(const ::std::string& value) { set_has__username(); _username_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); // @@protoc_insertion_point(field_set:MMPro.micromsg.VerifyUserResponse._UserName) } #if LANG_CXX11 inline void VerifyUserResponse::set__username(::std::string&& value) { set_has__username(); _username_.SetNoArena( &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:MMPro.micromsg.VerifyUserResponse._UserName) } #endif inline void VerifyUserResponse::set__username(const char* value) { GOOGLE_DCHECK(value != NULL); set_has__username(); _username_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:MMPro.micromsg.VerifyUserResponse._UserName) } inline void VerifyUserResponse::set__username(const char* value, size_t size) { set_has__username(); _username_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:MMPro.micromsg.VerifyUserResponse._UserName) } inline ::std::string* VerifyUserResponse::mutable__username() { set_has__username(); // @@protoc_insertion_point(field_mutable:MMPro.micromsg.VerifyUserResponse._UserName) return _username_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } inline ::std::string* VerifyUserResponse::release__username() { // @@protoc_insertion_point(field_release:MMPro.micromsg.VerifyUserResponse._UserName) clear_has__username(); return _username_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } inline void VerifyUserResponse::set_allocated__username(::std::string* _username) { if (_username != NULL) { set_has__username(); } else { clear_has__username(); } _username_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), _username); // @@protoc_insertion_point(field_set_allocated:MMPro.micromsg.VerifyUserResponse._UserName) } #endif // !PROTOBUF_INLINE_NOT_IN_HEADERS // @@protoc_insertion_point(namespace_scope) } // namespace micromsg } // namespace MMPro // @@protoc_insertion_point(global_scope) #endif // PROTOBUF_VerifyUserResponse_2eproto__INCLUDED