// Generated by the protocol buffer compiler. DO NOT EDIT! // source: login.proto #ifndef PROTOBUF_INCLUDED_login_2eproto #define PROTOBUF_INCLUDED_login_2eproto #include #include #if GOOGLE_PROTOBUF_VERSION < 3006001 #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 3006001 < 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 #include // IWYU pragma: export #include // IWYU pragma: export #include // @@protoc_insertion_point(includes) #define PROTOBUF_INTERNAL_EXPORT_protobuf_login_2eproto namespace protobuf_login_2eproto { // Internal implementation detail -- do not use these members. struct TableStruct { static const ::google::protobuf::internal::ParseTableField entries[]; static const ::google::protobuf::internal::AuxillaryParseTableField aux[]; static const ::google::protobuf::internal::ParseTable schema[4]; static const ::google::protobuf::internal::FieldMetadata field_metadata[]; static const ::google::protobuf::internal::SerializationTable serialization_table[]; static const ::google::protobuf::uint32 offsets[]; }; void AddDescriptors(); } // namespace protobuf_login_2eproto class login; class loginDefaultTypeInternal; extern loginDefaultTypeInternal _login_default_instance_; class rdetail; class rdetailDefaultTypeInternal; extern rdetailDefaultTypeInternal _rdetail_default_instance_; class rtype; class rtypeDefaultTypeInternal; extern rtypeDefaultTypeInternal _rtype_default_instance_; class userInfo; class userInfoDefaultTypeInternal; extern userInfoDefaultTypeInternal _userInfo_default_instance_; namespace google { namespace protobuf { template<> ::login* Arena::CreateMaybeMessage<::login>(Arena*); template<> ::rdetail* Arena::CreateMaybeMessage<::rdetail>(Arena*); template<> ::rtype* Arena::CreateMaybeMessage<::rtype>(Arena*); template<> ::userInfo* Arena::CreateMaybeMessage<::userInfo>(Arena*); } // namespace protobuf } // namespace google // =================================================================== class login : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:login) */ { public: login(); virtual ~login(); login(const login& from); inline login& operator=(const login& from) { CopyFrom(from); return *this; } #if LANG_CXX11 login(login&& from) noexcept : login() { *this = ::std::move(from); } inline login& operator=(login&& from) noexcept { if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } #endif static const ::google::protobuf::Descriptor* descriptor(); static const login& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY static inline const login* internal_default_instance() { return reinterpret_cast( &_login_default_instance_); } static constexpr int kIndexInFileMessages = 0; void Swap(login* other); friend void swap(login& a, login& b) { a.Swap(&b); } // implements Message ---------------------------------------------- inline login* New() const final { return CreateMaybeMessage(NULL); } login* New(::google::protobuf::Arena* arena) const final { return CreateMaybeMessage(arena); } void CopyFrom(const ::google::protobuf::Message& from) final; void MergeFrom(const ::google::protobuf::Message& from) final; void CopyFrom(const login& from); void MergeFrom(const login& from); void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) final; void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const final; ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( bool deterministic, ::google::protobuf::uint8* target) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; void InternalSwap(login* other); private: inline ::google::protobuf::Arena* GetArenaNoVirtual() const { return NULL; } inline void* MaybeArenaPtr() const { return NULL; } public: ::google::protobuf::Metadata GetMetadata() const final; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- // string phone = 1; void clear_phone(); static const int kPhoneFieldNumber = 1; const ::std::string& phone() const; void set_phone(const ::std::string& value); #if LANG_CXX11 void set_phone(::std::string&& value); #endif void set_phone(const char* value); void set_phone(const char* value, size_t size); ::std::string* mutable_phone(); ::std::string* release_phone(); void set_allocated_phone(::std::string* phone); // string passwrod = 2; void clear_passwrod(); static const int kPasswrodFieldNumber = 2; const ::std::string& passwrod() const; void set_passwrod(const ::std::string& value); #if LANG_CXX11 void set_passwrod(::std::string&& value); #endif void set_passwrod(const char* value); void set_passwrod(const char* value, size_t size); ::std::string* mutable_passwrod(); ::std::string* release_passwrod(); void set_allocated_passwrod(::std::string* passwrod); // string macAddr = 3; void clear_macaddr(); static const int kMacAddrFieldNumber = 3; const ::std::string& macaddr() const; void set_macaddr(const ::std::string& value); #if LANG_CXX11 void set_macaddr(::std::string&& value); #endif void set_macaddr(const char* value); void set_macaddr(const char* value, size_t size); ::std::string* mutable_macaddr(); ::std::string* release_macaddr(); void set_allocated_macaddr(::std::string* macaddr); // @@protoc_insertion_point(class_scope:login) private: ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; ::google::protobuf::internal::ArenaStringPtr phone_; ::google::protobuf::internal::ArenaStringPtr passwrod_; ::google::protobuf::internal::ArenaStringPtr macaddr_; mutable ::google::protobuf::internal::CachedSize _cached_size_; friend struct ::protobuf_login_2eproto::TableStruct; }; // ------------------------------------------------------------------- class userInfo : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:userInfo) */ { public: userInfo(); virtual ~userInfo(); userInfo(const userInfo& from); inline userInfo& operator=(const userInfo& from) { CopyFrom(from); return *this; } #if LANG_CXX11 userInfo(userInfo&& from) noexcept : userInfo() { *this = ::std::move(from); } inline userInfo& operator=(userInfo&& from) noexcept { if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } #endif static const ::google::protobuf::Descriptor* descriptor(); static const userInfo& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY static inline const userInfo* internal_default_instance() { return reinterpret_cast( &_userInfo_default_instance_); } static constexpr int kIndexInFileMessages = 1; void Swap(userInfo* other); friend void swap(userInfo& a, userInfo& b) { a.Swap(&b); } // implements Message ---------------------------------------------- inline userInfo* New() const final { return CreateMaybeMessage(NULL); } userInfo* New(::google::protobuf::Arena* arena) const final { return CreateMaybeMessage(arena); } void CopyFrom(const ::google::protobuf::Message& from) final; void MergeFrom(const ::google::protobuf::Message& from) final; void CopyFrom(const userInfo& from); void MergeFrom(const userInfo& from); void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) final; void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const final; ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( bool deterministic, ::google::protobuf::uint8* target) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; void InternalSwap(userInfo* other); private: inline ::google::protobuf::Arena* GetArenaNoVirtual() const { return NULL; } inline void* MaybeArenaPtr() const { return NULL; } public: ::google::protobuf::Metadata GetMetadata() const final; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- // repeated .rtype reply = 5; int reply_size() const; void clear_reply(); static const int kReplyFieldNumber = 5; ::rtype* mutable_reply(int index); ::google::protobuf::RepeatedPtrField< ::rtype >* mutable_reply(); const ::rtype& reply(int index) const; ::rtype* add_reply(); const ::google::protobuf::RepeatedPtrField< ::rtype >& reply() const; // string id = 1; void clear_id(); static const int kIdFieldNumber = 1; const ::std::string& id() const; void set_id(const ::std::string& value); #if LANG_CXX11 void set_id(::std::string&& value); #endif void set_id(const char* value); void set_id(const char* value, size_t size); ::std::string* mutable_id(); ::std::string* release_id(); void set_allocated_id(::std::string* id); // string name = 2; void clear_name(); static const int kNameFieldNumber = 2; const ::std::string& name() const; void set_name(const ::std::string& value); #if LANG_CXX11 void set_name(::std::string&& value); #endif void set_name(const char* value); void set_name(const char* value, size_t size); ::std::string* mutable_name(); ::std::string* release_name(); void set_allocated_name(::std::string* name); // string phone = 4; void clear_phone(); static const int kPhoneFieldNumber = 4; const ::std::string& phone() const; void set_phone(const ::std::string& value); #if LANG_CXX11 void set_phone(::std::string&& value); #endif void set_phone(const char* value); void set_phone(const char* value, size_t size); ::std::string* mutable_phone(); ::std::string* release_phone(); void set_allocated_phone(::std::string* phone); // bool gender = 3; void clear_gender(); static const int kGenderFieldNumber = 3; bool gender() const; void set_gender(bool value); // @@protoc_insertion_point(class_scope:userInfo) private: ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; ::google::protobuf::RepeatedPtrField< ::rtype > reply_; ::google::protobuf::internal::ArenaStringPtr id_; ::google::protobuf::internal::ArenaStringPtr name_; ::google::protobuf::internal::ArenaStringPtr phone_; bool gender_; mutable ::google::protobuf::internal::CachedSize _cached_size_; friend struct ::protobuf_login_2eproto::TableStruct; }; // ------------------------------------------------------------------- class rtype : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:rtype) */ { public: rtype(); virtual ~rtype(); rtype(const rtype& from); inline rtype& operator=(const rtype& from) { CopyFrom(from); return *this; } #if LANG_CXX11 rtype(rtype&& from) noexcept : rtype() { *this = ::std::move(from); } inline rtype& operator=(rtype&& from) noexcept { if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } #endif static const ::google::protobuf::Descriptor* descriptor(); static const rtype& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY static inline const rtype* internal_default_instance() { return reinterpret_cast( &_rtype_default_instance_); } static constexpr int kIndexInFileMessages = 2; void Swap(rtype* other); friend void swap(rtype& a, rtype& b) { a.Swap(&b); } // implements Message ---------------------------------------------- inline rtype* New() const final { return CreateMaybeMessage(NULL); } rtype* New(::google::protobuf::Arena* arena) const final { return CreateMaybeMessage(arena); } void CopyFrom(const ::google::protobuf::Message& from) final; void MergeFrom(const ::google::protobuf::Message& from) final; void CopyFrom(const rtype& from); void MergeFrom(const rtype& from); void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) final; void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const final; ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( bool deterministic, ::google::protobuf::uint8* target) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; void InternalSwap(rtype* other); private: inline ::google::protobuf::Arena* GetArenaNoVirtual() const { return NULL; } inline void* MaybeArenaPtr() const { return NULL; } public: ::google::protobuf::Metadata GetMetadata() const final; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- // repeated .rdetail detail = 3; int detail_size() const; void clear_detail(); static const int kDetailFieldNumber = 3; ::rdetail* mutable_detail(int index); ::google::protobuf::RepeatedPtrField< ::rdetail >* mutable_detail(); const ::rdetail& detail(int index) const; ::rdetail* add_detail(); const ::google::protobuf::RepeatedPtrField< ::rdetail >& detail() const; // string id = 1; void clear_id(); static const int kIdFieldNumber = 1; const ::std::string& id() const; void set_id(const ::std::string& value); #if LANG_CXX11 void set_id(::std::string&& value); #endif void set_id(const char* value); void set_id(const char* value, size_t size); ::std::string* mutable_id(); ::std::string* release_id(); void set_allocated_id(::std::string* id); // string name = 2; void clear_name(); static const int kNameFieldNumber = 2; const ::std::string& name() const; void set_name(const ::std::string& value); #if LANG_CXX11 void set_name(::std::string&& value); #endif void set_name(const char* value); void set_name(const char* value, size_t size); ::std::string* mutable_name(); ::std::string* release_name(); void set_allocated_name(::std::string* name); // @@protoc_insertion_point(class_scope:rtype) private: ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; ::google::protobuf::RepeatedPtrField< ::rdetail > detail_; ::google::protobuf::internal::ArenaStringPtr id_; ::google::protobuf::internal::ArenaStringPtr name_; mutable ::google::protobuf::internal::CachedSize _cached_size_; friend struct ::protobuf_login_2eproto::TableStruct; }; // ------------------------------------------------------------------- class rdetail : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:rdetail) */ { public: rdetail(); virtual ~rdetail(); rdetail(const rdetail& from); inline rdetail& operator=(const rdetail& from) { CopyFrom(from); return *this; } #if LANG_CXX11 rdetail(rdetail&& from) noexcept : rdetail() { *this = ::std::move(from); } inline rdetail& operator=(rdetail&& from) noexcept { if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } #endif static const ::google::protobuf::Descriptor* descriptor(); static const rdetail& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY static inline const rdetail* internal_default_instance() { return reinterpret_cast( &_rdetail_default_instance_); } static constexpr int kIndexInFileMessages = 3; void Swap(rdetail* other); friend void swap(rdetail& a, rdetail& b) { a.Swap(&b); } // implements Message ---------------------------------------------- inline rdetail* New() const final { return CreateMaybeMessage(NULL); } rdetail* New(::google::protobuf::Arena* arena) const final { return CreateMaybeMessage(arena); } void CopyFrom(const ::google::protobuf::Message& from) final; void MergeFrom(const ::google::protobuf::Message& from) final; void CopyFrom(const rdetail& from); void MergeFrom(const rdetail& from); void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) final; void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const final; ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( bool deterministic, ::google::protobuf::uint8* target) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; void InternalSwap(rdetail* other); private: inline ::google::protobuf::Arena* GetArenaNoVirtual() const { return NULL; } inline void* MaybeArenaPtr() const { return NULL; } public: ::google::protobuf::Metadata GetMetadata() const final; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- // string id = 1; void clear_id(); static const int kIdFieldNumber = 1; const ::std::string& id() const; void set_id(const ::std::string& value); #if LANG_CXX11 void set_id(::std::string&& value); #endif void set_id(const char* value); void set_id(const char* value, size_t size); ::std::string* mutable_id(); ::std::string* release_id(); void set_allocated_id(::std::string* id); // string name = 2; void clear_name(); static const int kNameFieldNumber = 2; const ::std::string& name() const; void set_name(const ::std::string& value); #if LANG_CXX11 void set_name(::std::string&& value); #endif void set_name(const char* value); void set_name(const char* value, size_t size); ::std::string* mutable_name(); ::std::string* release_name(); void set_allocated_name(::std::string* name); // string content = 3; void clear_content(); static const int kContentFieldNumber = 3; const ::std::string& content() const; void set_content(const ::std::string& value); #if LANG_CXX11 void set_content(::std::string&& value); #endif void set_content(const char* value); void set_content(const char* value, size_t size); ::std::string* mutable_content(); ::std::string* release_content(); void set_allocated_content(::std::string* content); // @@protoc_insertion_point(class_scope:rdetail) private: ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; ::google::protobuf::internal::ArenaStringPtr id_; ::google::protobuf::internal::ArenaStringPtr name_; ::google::protobuf::internal::ArenaStringPtr content_; mutable ::google::protobuf::internal::CachedSize _cached_size_; friend struct ::protobuf_login_2eproto::TableStruct; }; // =================================================================== // =================================================================== #ifdef __GNUC__ #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wstrict-aliasing" #endif // __GNUC__ // login // string phone = 1; inline void login::clear_phone() { phone_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } inline const ::std::string& login::phone() const { // @@protoc_insertion_point(field_get:login.phone) return phone_.GetNoArena(); } inline void login::set_phone(const ::std::string& value) { phone_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); // @@protoc_insertion_point(field_set:login.phone) } #if LANG_CXX11 inline void login::set_phone(::std::string&& value) { phone_.SetNoArena( &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:login.phone) } #endif inline void login::set_phone(const char* value) { GOOGLE_DCHECK(value != NULL); phone_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:login.phone) } inline void login::set_phone(const char* value, size_t size) { phone_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:login.phone) } inline ::std::string* login::mutable_phone() { // @@protoc_insertion_point(field_mutable:login.phone) return phone_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } inline ::std::string* login::release_phone() { // @@protoc_insertion_point(field_release:login.phone) return phone_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } inline void login::set_allocated_phone(::std::string* phone) { if (phone != NULL) { } else { } phone_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), phone); // @@protoc_insertion_point(field_set_allocated:login.phone) } // string passwrod = 2; inline void login::clear_passwrod() { passwrod_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } inline const ::std::string& login::passwrod() const { // @@protoc_insertion_point(field_get:login.passwrod) return passwrod_.GetNoArena(); } inline void login::set_passwrod(const ::std::string& value) { passwrod_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); // @@protoc_insertion_point(field_set:login.passwrod) } #if LANG_CXX11 inline void login::set_passwrod(::std::string&& value) { passwrod_.SetNoArena( &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:login.passwrod) } #endif inline void login::set_passwrod(const char* value) { GOOGLE_DCHECK(value != NULL); passwrod_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:login.passwrod) } inline void login::set_passwrod(const char* value, size_t size) { passwrod_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:login.passwrod) } inline ::std::string* login::mutable_passwrod() { // @@protoc_insertion_point(field_mutable:login.passwrod) return passwrod_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } inline ::std::string* login::release_passwrod() { // @@protoc_insertion_point(field_release:login.passwrod) return passwrod_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } inline void login::set_allocated_passwrod(::std::string* passwrod) { if (passwrod != NULL) { } else { } passwrod_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), passwrod); // @@protoc_insertion_point(field_set_allocated:login.passwrod) } // string macAddr = 3; inline void login::clear_macaddr() { macaddr_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } inline const ::std::string& login::macaddr() const { // @@protoc_insertion_point(field_get:login.macAddr) return macaddr_.GetNoArena(); } inline void login::set_macaddr(const ::std::string& value) { macaddr_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); // @@protoc_insertion_point(field_set:login.macAddr) } #if LANG_CXX11 inline void login::set_macaddr(::std::string&& value) { macaddr_.SetNoArena( &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:login.macAddr) } #endif inline void login::set_macaddr(const char* value) { GOOGLE_DCHECK(value != NULL); macaddr_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:login.macAddr) } inline void login::set_macaddr(const char* value, size_t size) { macaddr_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:login.macAddr) } inline ::std::string* login::mutable_macaddr() { // @@protoc_insertion_point(field_mutable:login.macAddr) return macaddr_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } inline ::std::string* login::release_macaddr() { // @@protoc_insertion_point(field_release:login.macAddr) return macaddr_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } inline void login::set_allocated_macaddr(::std::string* macaddr) { if (macaddr != NULL) { } else { } macaddr_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), macaddr); // @@protoc_insertion_point(field_set_allocated:login.macAddr) } // ------------------------------------------------------------------- // userInfo // string id = 1; inline void userInfo::clear_id() { id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } inline const ::std::string& userInfo::id() const { // @@protoc_insertion_point(field_get:userInfo.id) return id_.GetNoArena(); } inline void userInfo::set_id(const ::std::string& value) { id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); // @@protoc_insertion_point(field_set:userInfo.id) } #if LANG_CXX11 inline void userInfo::set_id(::std::string&& value) { id_.SetNoArena( &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:userInfo.id) } #endif inline void userInfo::set_id(const char* value) { GOOGLE_DCHECK(value != NULL); id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:userInfo.id) } inline void userInfo::set_id(const char* value, size_t size) { id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:userInfo.id) } inline ::std::string* userInfo::mutable_id() { // @@protoc_insertion_point(field_mutable:userInfo.id) return id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } inline ::std::string* userInfo::release_id() { // @@protoc_insertion_point(field_release:userInfo.id) return id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } inline void userInfo::set_allocated_id(::std::string* id) { if (id != NULL) { } else { } id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), id); // @@protoc_insertion_point(field_set_allocated:userInfo.id) } // string name = 2; inline void userInfo::clear_name() { name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } inline const ::std::string& userInfo::name() const { // @@protoc_insertion_point(field_get:userInfo.name) return name_.GetNoArena(); } inline void userInfo::set_name(const ::std::string& value) { name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); // @@protoc_insertion_point(field_set:userInfo.name) } #if LANG_CXX11 inline void userInfo::set_name(::std::string&& value) { name_.SetNoArena( &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:userInfo.name) } #endif inline void userInfo::set_name(const char* value) { GOOGLE_DCHECK(value != NULL); name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:userInfo.name) } inline void userInfo::set_name(const char* value, size_t size) { name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:userInfo.name) } inline ::std::string* userInfo::mutable_name() { // @@protoc_insertion_point(field_mutable:userInfo.name) return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } inline ::std::string* userInfo::release_name() { // @@protoc_insertion_point(field_release:userInfo.name) return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } inline void userInfo::set_allocated_name(::std::string* name) { if (name != NULL) { } else { } name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name); // @@protoc_insertion_point(field_set_allocated:userInfo.name) } // bool gender = 3; inline void userInfo::clear_gender() { gender_ = false; } inline bool userInfo::gender() const { // @@protoc_insertion_point(field_get:userInfo.gender) return gender_; } inline void userInfo::set_gender(bool value) { gender_ = value; // @@protoc_insertion_point(field_set:userInfo.gender) } // string phone = 4; inline void userInfo::clear_phone() { phone_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } inline const ::std::string& userInfo::phone() const { // @@protoc_insertion_point(field_get:userInfo.phone) return phone_.GetNoArena(); } inline void userInfo::set_phone(const ::std::string& value) { phone_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); // @@protoc_insertion_point(field_set:userInfo.phone) } #if LANG_CXX11 inline void userInfo::set_phone(::std::string&& value) { phone_.SetNoArena( &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:userInfo.phone) } #endif inline void userInfo::set_phone(const char* value) { GOOGLE_DCHECK(value != NULL); phone_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:userInfo.phone) } inline void userInfo::set_phone(const char* value, size_t size) { phone_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:userInfo.phone) } inline ::std::string* userInfo::mutable_phone() { // @@protoc_insertion_point(field_mutable:userInfo.phone) return phone_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } inline ::std::string* userInfo::release_phone() { // @@protoc_insertion_point(field_release:userInfo.phone) return phone_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } inline void userInfo::set_allocated_phone(::std::string* phone) { if (phone != NULL) { } else { } phone_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), phone); // @@protoc_insertion_point(field_set_allocated:userInfo.phone) } // repeated .rtype reply = 5; inline int userInfo::reply_size() const { return reply_.size(); } inline void userInfo::clear_reply() { reply_.Clear(); } inline ::rtype* userInfo::mutable_reply(int index) { // @@protoc_insertion_point(field_mutable:userInfo.reply) return reply_.Mutable(index); } inline ::google::protobuf::RepeatedPtrField< ::rtype >* userInfo::mutable_reply() { // @@protoc_insertion_point(field_mutable_list:userInfo.reply) return &reply_; } inline const ::rtype& userInfo::reply(int index) const { // @@protoc_insertion_point(field_get:userInfo.reply) return reply_.Get(index); } inline ::rtype* userInfo::add_reply() { // @@protoc_insertion_point(field_add:userInfo.reply) return reply_.Add(); } inline const ::google::protobuf::RepeatedPtrField< ::rtype >& userInfo::reply() const { // @@protoc_insertion_point(field_list:userInfo.reply) return reply_; } // ------------------------------------------------------------------- // rtype // string id = 1; inline void rtype::clear_id() { id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } inline const ::std::string& rtype::id() const { // @@protoc_insertion_point(field_get:rtype.id) return id_.GetNoArena(); } inline void rtype::set_id(const ::std::string& value) { id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); // @@protoc_insertion_point(field_set:rtype.id) } #if LANG_CXX11 inline void rtype::set_id(::std::string&& value) { id_.SetNoArena( &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:rtype.id) } #endif inline void rtype::set_id(const char* value) { GOOGLE_DCHECK(value != NULL); id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:rtype.id) } inline void rtype::set_id(const char* value, size_t size) { id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:rtype.id) } inline ::std::string* rtype::mutable_id() { // @@protoc_insertion_point(field_mutable:rtype.id) return id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } inline ::std::string* rtype::release_id() { // @@protoc_insertion_point(field_release:rtype.id) return id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } inline void rtype::set_allocated_id(::std::string* id) { if (id != NULL) { } else { } id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), id); // @@protoc_insertion_point(field_set_allocated:rtype.id) } // string name = 2; inline void rtype::clear_name() { name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } inline const ::std::string& rtype::name() const { // @@protoc_insertion_point(field_get:rtype.name) return name_.GetNoArena(); } inline void rtype::set_name(const ::std::string& value) { name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); // @@protoc_insertion_point(field_set:rtype.name) } #if LANG_CXX11 inline void rtype::set_name(::std::string&& value) { name_.SetNoArena( &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:rtype.name) } #endif inline void rtype::set_name(const char* value) { GOOGLE_DCHECK(value != NULL); name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:rtype.name) } inline void rtype::set_name(const char* value, size_t size) { name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:rtype.name) } inline ::std::string* rtype::mutable_name() { // @@protoc_insertion_point(field_mutable:rtype.name) return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } inline ::std::string* rtype::release_name() { // @@protoc_insertion_point(field_release:rtype.name) return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } inline void rtype::set_allocated_name(::std::string* name) { if (name != NULL) { } else { } name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name); // @@protoc_insertion_point(field_set_allocated:rtype.name) } // repeated .rdetail detail = 3; inline int rtype::detail_size() const { return detail_.size(); } inline void rtype::clear_detail() { detail_.Clear(); } inline ::rdetail* rtype::mutable_detail(int index) { // @@protoc_insertion_point(field_mutable:rtype.detail) return detail_.Mutable(index); } inline ::google::protobuf::RepeatedPtrField< ::rdetail >* rtype::mutable_detail() { // @@protoc_insertion_point(field_mutable_list:rtype.detail) return &detail_; } inline const ::rdetail& rtype::detail(int index) const { // @@protoc_insertion_point(field_get:rtype.detail) return detail_.Get(index); } inline ::rdetail* rtype::add_detail() { // @@protoc_insertion_point(field_add:rtype.detail) return detail_.Add(); } inline const ::google::protobuf::RepeatedPtrField< ::rdetail >& rtype::detail() const { // @@protoc_insertion_point(field_list:rtype.detail) return detail_; } // ------------------------------------------------------------------- // rdetail // string id = 1; inline void rdetail::clear_id() { id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } inline const ::std::string& rdetail::id() const { // @@protoc_insertion_point(field_get:rdetail.id) return id_.GetNoArena(); } inline void rdetail::set_id(const ::std::string& value) { id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); // @@protoc_insertion_point(field_set:rdetail.id) } #if LANG_CXX11 inline void rdetail::set_id(::std::string&& value) { id_.SetNoArena( &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:rdetail.id) } #endif inline void rdetail::set_id(const char* value) { GOOGLE_DCHECK(value != NULL); id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:rdetail.id) } inline void rdetail::set_id(const char* value, size_t size) { id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:rdetail.id) } inline ::std::string* rdetail::mutable_id() { // @@protoc_insertion_point(field_mutable:rdetail.id) return id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } inline ::std::string* rdetail::release_id() { // @@protoc_insertion_point(field_release:rdetail.id) return id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } inline void rdetail::set_allocated_id(::std::string* id) { if (id != NULL) { } else { } id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), id); // @@protoc_insertion_point(field_set_allocated:rdetail.id) } // string name = 2; inline void rdetail::clear_name() { name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } inline const ::std::string& rdetail::name() const { // @@protoc_insertion_point(field_get:rdetail.name) return name_.GetNoArena(); } inline void rdetail::set_name(const ::std::string& value) { name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); // @@protoc_insertion_point(field_set:rdetail.name) } #if LANG_CXX11 inline void rdetail::set_name(::std::string&& value) { name_.SetNoArena( &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:rdetail.name) } #endif inline void rdetail::set_name(const char* value) { GOOGLE_DCHECK(value != NULL); name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:rdetail.name) } inline void rdetail::set_name(const char* value, size_t size) { name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:rdetail.name) } inline ::std::string* rdetail::mutable_name() { // @@protoc_insertion_point(field_mutable:rdetail.name) return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } inline ::std::string* rdetail::release_name() { // @@protoc_insertion_point(field_release:rdetail.name) return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } inline void rdetail::set_allocated_name(::std::string* name) { if (name != NULL) { } else { } name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name); // @@protoc_insertion_point(field_set_allocated:rdetail.name) } // string content = 3; inline void rdetail::clear_content() { content_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } inline const ::std::string& rdetail::content() const { // @@protoc_insertion_point(field_get:rdetail.content) return content_.GetNoArena(); } inline void rdetail::set_content(const ::std::string& value) { content_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); // @@protoc_insertion_point(field_set:rdetail.content) } #if LANG_CXX11 inline void rdetail::set_content(::std::string&& value) { content_.SetNoArena( &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:rdetail.content) } #endif inline void rdetail::set_content(const char* value) { GOOGLE_DCHECK(value != NULL); content_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:rdetail.content) } inline void rdetail::set_content(const char* value, size_t size) { content_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:rdetail.content) } inline ::std::string* rdetail::mutable_content() { // @@protoc_insertion_point(field_mutable:rdetail.content) return content_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } inline ::std::string* rdetail::release_content() { // @@protoc_insertion_point(field_release:rdetail.content) return content_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } inline void rdetail::set_allocated_content(::std::string* content) { if (content != NULL) { } else { } content_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), content); // @@protoc_insertion_point(field_set_allocated:rdetail.content) } #ifdef __GNUC__ #pragma GCC diagnostic pop #endif // __GNUC__ // ------------------------------------------------------------------- // ------------------------------------------------------------------- // ------------------------------------------------------------------- // @@protoc_insertion_point(namespace_scope) // @@protoc_insertion_point(global_scope) #endif // PROTOBUF_INCLUDED_login_2eproto