123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776 |
- // Generated by the protocol buffer compiler. DO NOT EDIT!
- // source: msg.proto
- #ifndef PROTOBUF_INCLUDED_msg_2eproto
- #define PROTOBUF_INCLUDED_msg_2eproto
- #include <string>
- #include <google/protobuf/stubs/common.h>
- #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 <google/protobuf/io/coded_stream.h>
- #include <google/protobuf/arena.h>
- #include <google/protobuf/arenastring.h>
- #include <google/protobuf/generated_message_table_driven.h>
- #include <google/protobuf/generated_message_util.h>
- #include <google/protobuf/inlined_string_field.h>
- #include <google/protobuf/metadata.h>
- #include <google/protobuf/message.h>
- #include <google/protobuf/repeated_field.h> // IWYU pragma: export
- #include <google/protobuf/extension_set.h> // IWYU pragma: export
- #include <google/protobuf/unknown_field_set.h>
- // @@protoc_insertion_point(includes)
- #define PROTOBUF_INTERNAL_EXPORT_protobuf_msg_2eproto
- namespace protobuf_msg_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[2];
- 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_msg_2eproto
- class msg_login;
- class msg_loginDefaultTypeInternal;
- extern msg_loginDefaultTypeInternal _msg_login_default_instance_;
- class msg_register;
- class msg_registerDefaultTypeInternal;
- extern msg_registerDefaultTypeInternal _msg_register_default_instance_;
- namespace google {
- namespace protobuf {
- template<> ::msg_login* Arena::CreateMaybeMessage<::msg_login>(Arena*);
- template<> ::msg_register* Arena::CreateMaybeMessage<::msg_register>(Arena*);
- } // namespace protobuf
- } // namespace google
- // ===================================================================
- class msg_login : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:msg_login) */ {
- public:
- msg_login();
- virtual ~msg_login();
- msg_login(const msg_login& from);
- inline msg_login& operator=(const msg_login& from) {
- CopyFrom(from);
- return *this;
- }
- #if LANG_CXX11
- msg_login(msg_login&& from) noexcept
- : msg_login() {
- *this = ::std::move(from);
- }
- inline msg_login& operator=(msg_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 msg_login& default_instance();
- static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
- static inline const msg_login* internal_default_instance() {
- return reinterpret_cast<const msg_login*>(
- &_msg_login_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 0;
- void Swap(msg_login* other);
- friend void swap(msg_login& a, msg_login& b) {
- a.Swap(&b);
- }
- // implements Message ----------------------------------------------
- inline msg_login* New() const final {
- return CreateMaybeMessage<msg_login>(NULL);
- }
- msg_login* New(::google::protobuf::Arena* arena) const final {
- return CreateMaybeMessage<msg_login>(arena);
- }
- void CopyFrom(const ::google::protobuf::Message& from) final;
- void MergeFrom(const ::google::protobuf::Message& from) final;
- void CopyFrom(const msg_login& from);
- void MergeFrom(const msg_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(msg_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 system = 3;
- void clear_system();
- static const int kSystemFieldNumber = 3;
- const ::std::string& system() const;
- void set_system(const ::std::string& value);
- #if LANG_CXX11
- void set_system(::std::string&& value);
- #endif
- void set_system(const char* value);
- void set_system(const char* value, size_t size);
- ::std::string* mutable_system();
- ::std::string* release_system();
- void set_allocated_system(::std::string* system);
- // @@protoc_insertion_point(class_scope:msg_login)
- private:
- ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
- ::google::protobuf::internal::ArenaStringPtr phone_;
- ::google::protobuf::internal::ArenaStringPtr passwrod_;
- ::google::protobuf::internal::ArenaStringPtr system_;
- mutable ::google::protobuf::internal::CachedSize _cached_size_;
- friend struct ::protobuf_msg_2eproto::TableStruct;
- };
- // -------------------------------------------------------------------
- class msg_register : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:msg_register) */ {
- public:
- msg_register();
- virtual ~msg_register();
- msg_register(const msg_register& from);
- inline msg_register& operator=(const msg_register& from) {
- CopyFrom(from);
- return *this;
- }
- #if LANG_CXX11
- msg_register(msg_register&& from) noexcept
- : msg_register() {
- *this = ::std::move(from);
- }
- inline msg_register& operator=(msg_register&& 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 msg_register& default_instance();
- static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
- static inline const msg_register* internal_default_instance() {
- return reinterpret_cast<const msg_register*>(
- &_msg_register_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 1;
- void Swap(msg_register* other);
- friend void swap(msg_register& a, msg_register& b) {
- a.Swap(&b);
- }
- // implements Message ----------------------------------------------
- inline msg_register* New() const final {
- return CreateMaybeMessage<msg_register>(NULL);
- }
- msg_register* New(::google::protobuf::Arena* arena) const final {
- return CreateMaybeMessage<msg_register>(arena);
- }
- void CopyFrom(const ::google::protobuf::Message& from) final;
- void MergeFrom(const ::google::protobuf::Message& from) final;
- void CopyFrom(const msg_register& from);
- void MergeFrom(const msg_register& 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(msg_register* 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 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 passwrod = 4;
- void clear_passwrod();
- static const int kPasswrodFieldNumber = 4;
- 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 vcode = 5;
- void clear_vcode();
- static const int kVcodeFieldNumber = 5;
- const ::std::string& vcode() const;
- void set_vcode(const ::std::string& value);
- #if LANG_CXX11
- void set_vcode(::std::string&& value);
- #endif
- void set_vcode(const char* value);
- void set_vcode(const char* value, size_t size);
- ::std::string* mutable_vcode();
- ::std::string* release_vcode();
- void set_allocated_vcode(::std::string* vcode);
- // bool gender = 3;
- void clear_gender();
- static const int kGenderFieldNumber = 3;
- bool gender() const;
- void set_gender(bool value);
- // @@protoc_insertion_point(class_scope:msg_register)
- private:
- ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
- ::google::protobuf::internal::ArenaStringPtr phone_;
- ::google::protobuf::internal::ArenaStringPtr name_;
- ::google::protobuf::internal::ArenaStringPtr passwrod_;
- ::google::protobuf::internal::ArenaStringPtr vcode_;
- bool gender_;
- mutable ::google::protobuf::internal::CachedSize _cached_size_;
- friend struct ::protobuf_msg_2eproto::TableStruct;
- };
- // ===================================================================
- // ===================================================================
- #ifdef __GNUC__
- #pragma GCC diagnostic push
- #pragma GCC diagnostic ignored "-Wstrict-aliasing"
- #endif // __GNUC__
- // msg_login
- // string phone = 1;
- inline void msg_login::clear_phone() {
- phone_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- inline const ::std::string& msg_login::phone() const {
- // @@protoc_insertion_point(field_get:msg_login.phone)
- return phone_.GetNoArena();
- }
- inline void msg_login::set_phone(const ::std::string& value) {
-
- phone_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
- // @@protoc_insertion_point(field_set:msg_login.phone)
- }
- #if LANG_CXX11
- inline void msg_login::set_phone(::std::string&& value) {
-
- phone_.SetNoArena(
- &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
- // @@protoc_insertion_point(field_set_rvalue:msg_login.phone)
- }
- #endif
- inline void msg_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:msg_login.phone)
- }
- inline void msg_login::set_phone(const char* value, size_t size) {
-
- phone_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
- ::std::string(reinterpret_cast<const char*>(value), size));
- // @@protoc_insertion_point(field_set_pointer:msg_login.phone)
- }
- inline ::std::string* msg_login::mutable_phone() {
-
- // @@protoc_insertion_point(field_mutable:msg_login.phone)
- return phone_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- inline ::std::string* msg_login::release_phone() {
- // @@protoc_insertion_point(field_release:msg_login.phone)
-
- return phone_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- inline void msg_login::set_allocated_phone(::std::string* phone) {
- if (phone != NULL) {
-
- } else {
-
- }
- phone_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), phone);
- // @@protoc_insertion_point(field_set_allocated:msg_login.phone)
- }
- // string passwrod = 2;
- inline void msg_login::clear_passwrod() {
- passwrod_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- inline const ::std::string& msg_login::passwrod() const {
- // @@protoc_insertion_point(field_get:msg_login.passwrod)
- return passwrod_.GetNoArena();
- }
- inline void msg_login::set_passwrod(const ::std::string& value) {
-
- passwrod_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
- // @@protoc_insertion_point(field_set:msg_login.passwrod)
- }
- #if LANG_CXX11
- inline void msg_login::set_passwrod(::std::string&& value) {
-
- passwrod_.SetNoArena(
- &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
- // @@protoc_insertion_point(field_set_rvalue:msg_login.passwrod)
- }
- #endif
- inline void msg_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:msg_login.passwrod)
- }
- inline void msg_login::set_passwrod(const char* value, size_t size) {
-
- passwrod_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
- ::std::string(reinterpret_cast<const char*>(value), size));
- // @@protoc_insertion_point(field_set_pointer:msg_login.passwrod)
- }
- inline ::std::string* msg_login::mutable_passwrod() {
-
- // @@protoc_insertion_point(field_mutable:msg_login.passwrod)
- return passwrod_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- inline ::std::string* msg_login::release_passwrod() {
- // @@protoc_insertion_point(field_release:msg_login.passwrod)
-
- return passwrod_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- inline void msg_login::set_allocated_passwrod(::std::string* passwrod) {
- if (passwrod != NULL) {
-
- } else {
-
- }
- passwrod_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), passwrod);
- // @@protoc_insertion_point(field_set_allocated:msg_login.passwrod)
- }
- // string system = 3;
- inline void msg_login::clear_system() {
- system_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- inline const ::std::string& msg_login::system() const {
- // @@protoc_insertion_point(field_get:msg_login.system)
- return system_.GetNoArena();
- }
- inline void msg_login::set_system(const ::std::string& value) {
-
- system_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
- // @@protoc_insertion_point(field_set:msg_login.system)
- }
- #if LANG_CXX11
- inline void msg_login::set_system(::std::string&& value) {
-
- system_.SetNoArena(
- &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
- // @@protoc_insertion_point(field_set_rvalue:msg_login.system)
- }
- #endif
- inline void msg_login::set_system(const char* value) {
- GOOGLE_DCHECK(value != NULL);
-
- system_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
- // @@protoc_insertion_point(field_set_char:msg_login.system)
- }
- inline void msg_login::set_system(const char* value, size_t size) {
-
- system_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
- ::std::string(reinterpret_cast<const char*>(value), size));
- // @@protoc_insertion_point(field_set_pointer:msg_login.system)
- }
- inline ::std::string* msg_login::mutable_system() {
-
- // @@protoc_insertion_point(field_mutable:msg_login.system)
- return system_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- inline ::std::string* msg_login::release_system() {
- // @@protoc_insertion_point(field_release:msg_login.system)
-
- return system_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- inline void msg_login::set_allocated_system(::std::string* system) {
- if (system != NULL) {
-
- } else {
-
- }
- system_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), system);
- // @@protoc_insertion_point(field_set_allocated:msg_login.system)
- }
- // -------------------------------------------------------------------
- // msg_register
- // string phone = 1;
- inline void msg_register::clear_phone() {
- phone_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- inline const ::std::string& msg_register::phone() const {
- // @@protoc_insertion_point(field_get:msg_register.phone)
- return phone_.GetNoArena();
- }
- inline void msg_register::set_phone(const ::std::string& value) {
-
- phone_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
- // @@protoc_insertion_point(field_set:msg_register.phone)
- }
- #if LANG_CXX11
- inline void msg_register::set_phone(::std::string&& value) {
-
- phone_.SetNoArena(
- &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
- // @@protoc_insertion_point(field_set_rvalue:msg_register.phone)
- }
- #endif
- inline void msg_register::set_phone(const char* value) {
- GOOGLE_DCHECK(value != NULL);
-
- phone_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
- // @@protoc_insertion_point(field_set_char:msg_register.phone)
- }
- inline void msg_register::set_phone(const char* value, size_t size) {
-
- phone_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
- ::std::string(reinterpret_cast<const char*>(value), size));
- // @@protoc_insertion_point(field_set_pointer:msg_register.phone)
- }
- inline ::std::string* msg_register::mutable_phone() {
-
- // @@protoc_insertion_point(field_mutable:msg_register.phone)
- return phone_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- inline ::std::string* msg_register::release_phone() {
- // @@protoc_insertion_point(field_release:msg_register.phone)
-
- return phone_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- inline void msg_register::set_allocated_phone(::std::string* phone) {
- if (phone != NULL) {
-
- } else {
-
- }
- phone_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), phone);
- // @@protoc_insertion_point(field_set_allocated:msg_register.phone)
- }
- // string name = 2;
- inline void msg_register::clear_name() {
- name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- inline const ::std::string& msg_register::name() const {
- // @@protoc_insertion_point(field_get:msg_register.name)
- return name_.GetNoArena();
- }
- inline void msg_register::set_name(const ::std::string& value) {
-
- name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
- // @@protoc_insertion_point(field_set:msg_register.name)
- }
- #if LANG_CXX11
- inline void msg_register::set_name(::std::string&& value) {
-
- name_.SetNoArena(
- &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
- // @@protoc_insertion_point(field_set_rvalue:msg_register.name)
- }
- #endif
- inline void msg_register::set_name(const char* value) {
- GOOGLE_DCHECK(value != NULL);
-
- name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
- // @@protoc_insertion_point(field_set_char:msg_register.name)
- }
- inline void msg_register::set_name(const char* value, size_t size) {
-
- name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
- ::std::string(reinterpret_cast<const char*>(value), size));
- // @@protoc_insertion_point(field_set_pointer:msg_register.name)
- }
- inline ::std::string* msg_register::mutable_name() {
-
- // @@protoc_insertion_point(field_mutable:msg_register.name)
- return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- inline ::std::string* msg_register::release_name() {
- // @@protoc_insertion_point(field_release:msg_register.name)
-
- return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- inline void msg_register::set_allocated_name(::std::string* name) {
- if (name != NULL) {
-
- } else {
-
- }
- name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name);
- // @@protoc_insertion_point(field_set_allocated:msg_register.name)
- }
- // bool gender = 3;
- inline void msg_register::clear_gender() {
- gender_ = false;
- }
- inline bool msg_register::gender() const {
- // @@protoc_insertion_point(field_get:msg_register.gender)
- return gender_;
- }
- inline void msg_register::set_gender(bool value) {
-
- gender_ = value;
- // @@protoc_insertion_point(field_set:msg_register.gender)
- }
- // string passwrod = 4;
- inline void msg_register::clear_passwrod() {
- passwrod_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- inline const ::std::string& msg_register::passwrod() const {
- // @@protoc_insertion_point(field_get:msg_register.passwrod)
- return passwrod_.GetNoArena();
- }
- inline void msg_register::set_passwrod(const ::std::string& value) {
-
- passwrod_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
- // @@protoc_insertion_point(field_set:msg_register.passwrod)
- }
- #if LANG_CXX11
- inline void msg_register::set_passwrod(::std::string&& value) {
-
- passwrod_.SetNoArena(
- &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
- // @@protoc_insertion_point(field_set_rvalue:msg_register.passwrod)
- }
- #endif
- inline void msg_register::set_passwrod(const char* value) {
- GOOGLE_DCHECK(value != NULL);
-
- passwrod_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
- // @@protoc_insertion_point(field_set_char:msg_register.passwrod)
- }
- inline void msg_register::set_passwrod(const char* value, size_t size) {
-
- passwrod_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
- ::std::string(reinterpret_cast<const char*>(value), size));
- // @@protoc_insertion_point(field_set_pointer:msg_register.passwrod)
- }
- inline ::std::string* msg_register::mutable_passwrod() {
-
- // @@protoc_insertion_point(field_mutable:msg_register.passwrod)
- return passwrod_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- inline ::std::string* msg_register::release_passwrod() {
- // @@protoc_insertion_point(field_release:msg_register.passwrod)
-
- return passwrod_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- inline void msg_register::set_allocated_passwrod(::std::string* passwrod) {
- if (passwrod != NULL) {
-
- } else {
-
- }
- passwrod_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), passwrod);
- // @@protoc_insertion_point(field_set_allocated:msg_register.passwrod)
- }
- // string vcode = 5;
- inline void msg_register::clear_vcode() {
- vcode_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- inline const ::std::string& msg_register::vcode() const {
- // @@protoc_insertion_point(field_get:msg_register.vcode)
- return vcode_.GetNoArena();
- }
- inline void msg_register::set_vcode(const ::std::string& value) {
-
- vcode_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
- // @@protoc_insertion_point(field_set:msg_register.vcode)
- }
- #if LANG_CXX11
- inline void msg_register::set_vcode(::std::string&& value) {
-
- vcode_.SetNoArena(
- &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
- // @@protoc_insertion_point(field_set_rvalue:msg_register.vcode)
- }
- #endif
- inline void msg_register::set_vcode(const char* value) {
- GOOGLE_DCHECK(value != NULL);
-
- vcode_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
- // @@protoc_insertion_point(field_set_char:msg_register.vcode)
- }
- inline void msg_register::set_vcode(const char* value, size_t size) {
-
- vcode_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
- ::std::string(reinterpret_cast<const char*>(value), size));
- // @@protoc_insertion_point(field_set_pointer:msg_register.vcode)
- }
- inline ::std::string* msg_register::mutable_vcode() {
-
- // @@protoc_insertion_point(field_mutable:msg_register.vcode)
- return vcode_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- inline ::std::string* msg_register::release_vcode() {
- // @@protoc_insertion_point(field_release:msg_register.vcode)
-
- return vcode_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- inline void msg_register::set_allocated_vcode(::std::string* vcode) {
- if (vcode != NULL) {
-
- } else {
-
- }
- vcode_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), vcode);
- // @@protoc_insertion_point(field_set_allocated:msg_register.vcode)
- }
- #ifdef __GNUC__
- #pragma GCC diagnostic pop
- #endif // __GNUC__
- // -------------------------------------------------------------------
- // @@protoc_insertion_point(namespace_scope)
- // @@protoc_insertion_point(global_scope)
- #endif // PROTOBUF_INCLUDED_msg_2eproto
|