1 В избранное 0 Ответвления 0

OSCHINA-MIRROR/DaYa_White-grpc

В этом репозитории не указан файл с открытой лицензией (LICENSE). При использовании обратитесь к конкретному описанию проекта и его зависимостям в коде.
Клонировать/Скачать
WechatProto.pb.h 68 КБ
Копировать Редактировать Web IDE Исходные данные Просмотреть построчно История
Daya Отправлено 29.12.2018 07:48 a4999ad
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: WeChatProto.proto
#ifndef PROTOBUF_WeChatProto_2eproto__INCLUDED
#define PROTOBUF_WeChatProto_2eproto__INCLUDED
#include <string>
#include <google/protobuf/stubs/common.h>
#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 <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/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)
namespace WechatProto {
class BaseMsg;
class BaseMsgDefaultTypeInternal;
extern BaseMsgDefaultTypeInternal _BaseMsg_default_instance_;
class User;
class UserDefaultTypeInternal;
extern UserDefaultTypeInternal _User_default_instance_;
class WechatMsg;
class WechatMsgDefaultTypeInternal;
extern WechatMsgDefaultTypeInternal _WechatMsg_default_instance_;
} // namespace WechatProto
namespace WechatProto {
namespace protobuf_WeChatProto_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_WeChatProto_2eproto
// ===================================================================
class WechatMsg : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:WechatProto.WechatMsg) */ {
public:
WechatMsg();
virtual ~WechatMsg();
WechatMsg(const WechatMsg& from);
inline WechatMsg& operator=(const WechatMsg& from) {
CopyFrom(from);
return *this;
}
static const ::google::protobuf::Descriptor* descriptor();
static const WechatMsg& default_instance();
static inline const WechatMsg* internal_default_instance() {
return reinterpret_cast<const WechatMsg*>(
&_WechatMsg_default_instance_);
}
static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
0;
void Swap(WechatMsg* other);
// implements Message ----------------------------------------------
inline WechatMsg* New() const PROTOBUF_FINAL { return New(NULL); }
WechatMsg* 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 WechatMsg& from);
void MergeFrom(const WechatMsg& 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(WechatMsg* 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 -------------------------------------------------------
// string token = 2;
void clear_token();
static const int kTokenFieldNumber = 2;
const ::std::string& token() const;
void set_token(const ::std::string& value);
#if LANG_CXX11
void set_token(::std::string&& value);
#endif
void set_token(const char* value);
void set_token(const char* value, size_t size);
::std::string* mutable_token();
::std::string* release_token();
void set_allocated_token(::std::string* token);
// string version = 3;
void clear_version();
static const int kVersionFieldNumber = 3;
const ::std::string& version() const;
void set_version(const ::std::string& value);
#if LANG_CXX11
void set_version(::std::string&& value);
#endif
void set_version(const char* value);
void set_version(const char* value, size_t size);
::std::string* mutable_version();
::std::string* release_version();
void set_allocated_version(::std::string* version);
// string iP = 5;
void clear_ip();
static const int kIPFieldNumber = 5;
const ::std::string& ip() const;
void set_ip(const ::std::string& value);
#if LANG_CXX11
void set_ip(::std::string&& value);
#endif
void set_ip(const char* value);
void set_ip(const char* value, size_t size);
::std::string* mutable_ip();
::std::string* release_ip();
void set_allocated_ip(::std::string* ip);
// .WechatProto.BaseMsg baseMsg = 1;
bool has_basemsg() const;
void clear_basemsg();
static const int kBaseMsgFieldNumber = 1;
const ::WechatProto::BaseMsg& basemsg() const;
::WechatProto::BaseMsg* mutable_basemsg();
::WechatProto::BaseMsg* release_basemsg();
void set_allocated_basemsg(::WechatProto::BaseMsg* basemsg);
// int32 timeStamp = 4;
void clear_timestamp();
static const int kTimeStampFieldNumber = 4;
::google::protobuf::int32 timestamp() const;
void set_timestamp(::google::protobuf::int32 value);
// @@protoc_insertion_point(class_scope:WechatProto.WechatMsg)
private:
::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
::google::protobuf::internal::ArenaStringPtr token_;
::google::protobuf::internal::ArenaStringPtr version_;
::google::protobuf::internal::ArenaStringPtr ip_;
::WechatProto::BaseMsg* basemsg_;
::google::protobuf::int32 timestamp_;
mutable int _cached_size_;
friend struct protobuf_WeChatProto_2eproto::TableStruct;
};
// -------------------------------------------------------------------
class BaseMsg : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:WechatProto.BaseMsg) */ {
public:
BaseMsg();
virtual ~BaseMsg();
BaseMsg(const BaseMsg& from);
inline BaseMsg& operator=(const BaseMsg& from) {
CopyFrom(from);
return *this;
}
static const ::google::protobuf::Descriptor* descriptor();
static const BaseMsg& default_instance();
static inline const BaseMsg* internal_default_instance() {
return reinterpret_cast<const BaseMsg*>(
&_BaseMsg_default_instance_);
}
static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
1;
void Swap(BaseMsg* other);
// implements Message ----------------------------------------------
inline BaseMsg* New() const PROTOBUF_FINAL { return New(NULL); }
BaseMsg* 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 BaseMsg& from);
void MergeFrom(const BaseMsg& 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(BaseMsg* 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 -------------------------------------------------------
// string cmdUrl = 3;
void clear_cmdurl();
static const int kCmdUrlFieldNumber = 3;
const ::std::string& cmdurl() const;
void set_cmdurl(const ::std::string& value);
#if LANG_CXX11
void set_cmdurl(::std::string&& value);
#endif
void set_cmdurl(const char* value);
void set_cmdurl(const char* value, size_t size);
::std::string* mutable_cmdurl();
::std::string* release_cmdurl();
void set_allocated_cmdurl(::std::string* cmdurl);
// string shortHost = 4;
void clear_shorthost();
static const int kShortHostFieldNumber = 4;
const ::std::string& shorthost() const;
void set_shorthost(const ::std::string& value);
#if LANG_CXX11
void set_shorthost(::std::string&& value);
#endif
void set_shorthost(const char* value);
void set_shorthost(const char* value, size_t size);
::std::string* mutable_shorthost();
::std::string* release_shorthost();
void set_allocated_shorthost(::std::string* shorthost);
// string longHost = 5;
void clear_longhost();
static const int kLongHostFieldNumber = 5;
const ::std::string& longhost() const;
void set_longhost(const ::std::string& value);
#if LANG_CXX11
void set_longhost(::std::string&& value);
#endif
void set_longhost(const char* value);
void set_longhost(const char* value, size_t size);
::std::string* mutable_longhost();
::std::string* release_longhost();
void set_allocated_longhost(::std::string* longhost);
// bytes longHead = 7;
void clear_longhead();
static const int kLongHeadFieldNumber = 7;
const ::std::string& longhead() const;
void set_longhead(const ::std::string& value);
#if LANG_CXX11
void set_longhead(::std::string&& value);
#endif
void set_longhead(const char* value);
void set_longhead(const void* value, size_t size);
::std::string* mutable_longhead();
::std::string* release_longhead();
void set_allocated_longhead(::std::string* longhead);
// bytes payloads = 8;
void clear_payloads();
static const int kPayloadsFieldNumber = 8;
const ::std::string& payloads() const;
void set_payloads(const ::std::string& value);
#if LANG_CXX11
void set_payloads(::std::string&& value);
#endif
void set_payloads(const char* value);
void set_payloads(const void* value, size_t size);
::std::string* mutable_payloads();
::std::string* release_payloads();
void set_allocated_payloads(::std::string* payloads);
// bytes playloadextend = 9;
void clear_playloadextend();
static const int kPlayloadextendFieldNumber = 9;
const ::std::string& playloadextend() const;
void set_playloadextend(const ::std::string& value);
#if LANG_CXX11
void set_playloadextend(::std::string&& value);
#endif
void set_playloadextend(const char* value);
void set_playloadextend(const void* value, size_t size);
::std::string* mutable_playloadextend();
::std::string* release_playloadextend();
void set_allocated_playloadextend(::std::string* playloadextend);
// .WechatProto.User user = 6;
bool has_user() const;
void clear_user();
static const int kUserFieldNumber = 6;
const ::WechatProto::User& user() const;
::WechatProto::User* mutable_user();
::WechatProto::User* release_user();
void set_allocated_user(::WechatProto::User* user);
// int32 ret = 1;
void clear_ret();
static const int kRetFieldNumber = 1;
::google::protobuf::int32 ret() const;
void set_ret(::google::protobuf::int32 value);
// int32 cmd = 2;
void clear_cmd();
static const int kCmdFieldNumber = 2;
::google::protobuf::int32 cmd() const;
void set_cmd(::google::protobuf::int32 value);
// @@protoc_insertion_point(class_scope:WechatProto.BaseMsg)
private:
::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
::google::protobuf::internal::ArenaStringPtr cmdurl_;
::google::protobuf::internal::ArenaStringPtr shorthost_;
::google::protobuf::internal::ArenaStringPtr longhost_;
::google::protobuf::internal::ArenaStringPtr longhead_;
::google::protobuf::internal::ArenaStringPtr payloads_;
::google::protobuf::internal::ArenaStringPtr playloadextend_;
::WechatProto::User* user_;
::google::protobuf::int32 ret_;
::google::protobuf::int32 cmd_;
mutable int _cached_size_;
friend struct protobuf_WeChatProto_2eproto::TableStruct;
};
// -------------------------------------------------------------------
class User : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:WechatProto.User) */ {
public:
User();
virtual ~User();
User(const User& from);
inline User& operator=(const User& from) {
CopyFrom(from);
return *this;
}
static const ::google::protobuf::Descriptor* descriptor();
static const User& default_instance();
static inline const User* internal_default_instance() {
return reinterpret_cast<const User*>(
&_User_default_instance_);
}
static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
2;
void Swap(User* other);
// implements Message ----------------------------------------------
inline User* New() const PROTOBUF_FINAL { return New(NULL); }
User* 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 User& from);
void MergeFrom(const User& 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(User* 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 -------------------------------------------------------
// bytes cookies = 2;
void clear_cookies();
static const int kCookiesFieldNumber = 2;
const ::std::string& cookies() const;
void set_cookies(const ::std::string& value);
#if LANG_CXX11
void set_cookies(::std::string&& value);
#endif
void set_cookies(const char* value);
void set_cookies(const void* value, size_t size);
::std::string* mutable_cookies();
::std::string* release_cookies();
void set_allocated_cookies(::std::string* cookies);
// bytes sessionKey = 3;
void clear_sessionkey();
static const int kSessionKeyFieldNumber = 3;
const ::std::string& sessionkey() const;
void set_sessionkey(const ::std::string& value);
#if LANG_CXX11
void set_sessionkey(::std::string&& value);
#endif
void set_sessionkey(const char* value);
void set_sessionkey(const void* value, size_t size);
::std::string* mutable_sessionkey();
::std::string* release_sessionkey();
void set_allocated_sessionkey(::std::string* sessionkey);
// string deviceId = 4;
void clear_deviceid();
static const int kDeviceIdFieldNumber = 4;
const ::std::string& deviceid() const;
void set_deviceid(const ::std::string& value);
#if LANG_CXX11
void set_deviceid(::std::string&& value);
#endif
void set_deviceid(const char* value);
void set_deviceid(const char* value, size_t size);
::std::string* mutable_deviceid();
::std::string* release_deviceid();
void set_allocated_deviceid(::std::string* deviceid);
// string deviceType = 5;
void clear_devicetype();
static const int kDeviceTypeFieldNumber = 5;
const ::std::string& devicetype() const;
void set_devicetype(const ::std::string& value);
#if LANG_CXX11
void set_devicetype(::std::string&& value);
#endif
void set_devicetype(const char* value);
void set_devicetype(const char* value, size_t size);
::std::string* mutable_devicetype();
::std::string* release_devicetype();
void set_allocated_devicetype(::std::string* devicetype);
// string deviceName = 6;
void clear_devicename();
static const int kDeviceNameFieldNumber = 6;
const ::std::string& devicename() const;
void set_devicename(const ::std::string& value);
#if LANG_CXX11
void set_devicename(::std::string&& value);
#endif
void set_devicename(const char* value);
void set_devicename(const char* value, size_t size);
::std::string* mutable_devicename();
::std::string* release_devicename();
void set_allocated_devicename(::std::string* devicename);
// bytes currentsyncKey = 7;
void clear_currentsynckey();
static const int kCurrentsyncKeyFieldNumber = 7;
const ::std::string& currentsynckey() const;
void set_currentsynckey(const ::std::string& value);
#if LANG_CXX11
void set_currentsynckey(::std::string&& value);
#endif
void set_currentsynckey(const char* value);
void set_currentsynckey(const void* value, size_t size);
::std::string* mutable_currentsynckey();
::std::string* release_currentsynckey();
void set_allocated_currentsynckey(::std::string* currentsynckey);
// bytes maxSyncKey = 8;
void clear_maxsynckey();
static const int kMaxSyncKeyFieldNumber = 8;
const ::std::string& maxsynckey() const;
void set_maxsynckey(const ::std::string& value);
#if LANG_CXX11
void set_maxsynckey(::std::string&& value);
#endif
void set_maxsynckey(const char* value);
void set_maxsynckey(const void* value, size_t size);
::std::string* mutable_maxsynckey();
::std::string* release_maxsynckey();
void set_allocated_maxsynckey(::std::string* maxsynckey);
// bytes autoAuthKey = 9;
void clear_autoauthkey();
static const int kAutoAuthKeyFieldNumber = 9;
const ::std::string& autoauthkey() const;
void set_autoauthkey(const ::std::string& value);
#if LANG_CXX11
void set_autoauthkey(::std::string&& value);
#endif
void set_autoauthkey(const char* value);
void set_autoauthkey(const void* value, size_t size);
::std::string* mutable_autoauthkey();
::std::string* release_autoauthkey();
void set_allocated_autoauthkey(::std::string* autoauthkey);
// string userame = 10;
void clear_userame();
static const int kUserameFieldNumber = 10;
const ::std::string& userame() const;
void set_userame(const ::std::string& value);
#if LANG_CXX11
void set_userame(::std::string&& value);
#endif
void set_userame(const char* value);
void set_userame(const char* value, size_t size);
::std::string* mutable_userame();
::std::string* release_userame();
void set_allocated_userame(::std::string* userame);
// bytes nickname = 11;
void clear_nickname();
static const int kNicknameFieldNumber = 11;
const ::std::string& nickname() const;
void set_nickname(const ::std::string& value);
#if LANG_CXX11
void set_nickname(::std::string&& value);
#endif
void set_nickname(const char* value);
void set_nickname(const void* value, size_t size);
::std::string* mutable_nickname();
::std::string* release_nickname();
void set_allocated_nickname(::std::string* nickname);
// bytes userExt = 12;
void clear_userext();
static const int kUserExtFieldNumber = 12;
const ::std::string& userext() const;
void set_userext(const ::std::string& value);
#if LANG_CXX11
void set_userext(::std::string&& value);
#endif
void set_userext(const char* value);
void set_userext(const void* value, size_t size);
::std::string* mutable_userext();
::std::string* release_userext();
void set_allocated_userext(::std::string* userext);
// int64 uin = 1;
void clear_uin();
static const int kUinFieldNumber = 1;
::google::protobuf::int64 uin() const;
void set_uin(::google::protobuf::int64 value);
// @@protoc_insertion_point(class_scope:WechatProto.User)
private:
::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
::google::protobuf::internal::ArenaStringPtr cookies_;
::google::protobuf::internal::ArenaStringPtr sessionkey_;
::google::protobuf::internal::ArenaStringPtr deviceid_;
::google::protobuf::internal::ArenaStringPtr devicetype_;
::google::protobuf::internal::ArenaStringPtr devicename_;
::google::protobuf::internal::ArenaStringPtr currentsynckey_;
::google::protobuf::internal::ArenaStringPtr maxsynckey_;
::google::protobuf::internal::ArenaStringPtr autoauthkey_;
::google::protobuf::internal::ArenaStringPtr userame_;
::google::protobuf::internal::ArenaStringPtr nickname_;
::google::protobuf::internal::ArenaStringPtr userext_;
::google::protobuf::int64 uin_;
mutable int _cached_size_;
friend struct protobuf_WeChatProto_2eproto::TableStruct;
};
// ===================================================================
// ===================================================================
#if !PROTOBUF_INLINE_NOT_IN_HEADERS
// WechatMsg
// .WechatProto.BaseMsg baseMsg = 1;
inline bool WechatMsg::has_basemsg() const {
return this != internal_default_instance() && basemsg_ != NULL;
}
inline void WechatMsg::clear_basemsg() {
if (GetArenaNoVirtual() == NULL && basemsg_ != NULL) delete basemsg_;
basemsg_ = NULL;
}
inline const ::WechatProto::BaseMsg& WechatMsg::basemsg() const {
// @@protoc_insertion_point(field_get:WechatProto.WechatMsg.baseMsg)
return basemsg_ != NULL ? *basemsg_
: *::WechatProto::BaseMsg::internal_default_instance();
}
inline ::WechatProto::BaseMsg* WechatMsg::mutable_basemsg() {
if (basemsg_ == NULL) {
basemsg_ = new ::WechatProto::BaseMsg;
}
// @@protoc_insertion_point(field_mutable:WechatProto.WechatMsg.baseMsg)
return basemsg_;
}
inline ::WechatProto::BaseMsg* WechatMsg::release_basemsg() {
// @@protoc_insertion_point(field_release:WechatProto.WechatMsg.baseMsg)
::WechatProto::BaseMsg* temp = basemsg_;
basemsg_ = NULL;
return temp;
}
inline void WechatMsg::set_allocated_basemsg(::WechatProto::BaseMsg* basemsg) {
delete basemsg_;
basemsg_ = basemsg;
if (basemsg) {
} else {
}
// @@protoc_insertion_point(field_set_allocated:WechatProto.WechatMsg.baseMsg)
}
// string token = 2;
inline void WechatMsg::clear_token() {
token_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline const ::std::string& WechatMsg::token() const {
// @@protoc_insertion_point(field_get:WechatProto.WechatMsg.token)
return token_.GetNoArena();
}
inline void WechatMsg::set_token(const ::std::string& value) {
token_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
// @@protoc_insertion_point(field_set:WechatProto.WechatMsg.token)
}
#if LANG_CXX11
inline void WechatMsg::set_token(::std::string&& value) {
token_.SetNoArena(
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
// @@protoc_insertion_point(field_set_rvalue:WechatProto.WechatMsg.token)
}
#endif
inline void WechatMsg::set_token(const char* value) {
GOOGLE_DCHECK(value != NULL);
token_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
// @@protoc_insertion_point(field_set_char:WechatProto.WechatMsg.token)
}
inline void WechatMsg::set_token(const char* value, size_t size) {
token_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
::std::string(reinterpret_cast<const char*>(value), size));
// @@protoc_insertion_point(field_set_pointer:WechatProto.WechatMsg.token)
}
inline ::std::string* WechatMsg::mutable_token() {
// @@protoc_insertion_point(field_mutable:WechatProto.WechatMsg.token)
return token_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline ::std::string* WechatMsg::release_token() {
// @@protoc_insertion_point(field_release:WechatProto.WechatMsg.token)
return token_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void WechatMsg::set_allocated_token(::std::string* token) {
if (token != NULL) {
} else {
}
token_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), token);
// @@protoc_insertion_point(field_set_allocated:WechatProto.WechatMsg.token)
}
// string version = 3;
inline void WechatMsg::clear_version() {
version_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline const ::std::string& WechatMsg::version() const {
// @@protoc_insertion_point(field_get:WechatProto.WechatMsg.version)
return version_.GetNoArena();
}
inline void WechatMsg::set_version(const ::std::string& value) {
version_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
// @@protoc_insertion_point(field_set:WechatProto.WechatMsg.version)
}
#if LANG_CXX11
inline void WechatMsg::set_version(::std::string&& value) {
version_.SetNoArena(
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
// @@protoc_insertion_point(field_set_rvalue:WechatProto.WechatMsg.version)
}
#endif
inline void WechatMsg::set_version(const char* value) {
GOOGLE_DCHECK(value != NULL);
version_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
// @@protoc_insertion_point(field_set_char:WechatProto.WechatMsg.version)
}
inline void WechatMsg::set_version(const char* value, size_t size) {
version_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
::std::string(reinterpret_cast<const char*>(value), size));
// @@protoc_insertion_point(field_set_pointer:WechatProto.WechatMsg.version)
}
inline ::std::string* WechatMsg::mutable_version() {
// @@protoc_insertion_point(field_mutable:WechatProto.WechatMsg.version)
return version_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline ::std::string* WechatMsg::release_version() {
// @@protoc_insertion_point(field_release:WechatProto.WechatMsg.version)
return version_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void WechatMsg::set_allocated_version(::std::string* version) {
if (version != NULL) {
} else {
}
version_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), version);
// @@protoc_insertion_point(field_set_allocated:WechatProto.WechatMsg.version)
}
// int32 timeStamp = 4;
inline void WechatMsg::clear_timestamp() {
timestamp_ = 0;
}
inline ::google::protobuf::int32 WechatMsg::timestamp() const {
// @@protoc_insertion_point(field_get:WechatProto.WechatMsg.timeStamp)
return timestamp_;
}
inline void WechatMsg::set_timestamp(::google::protobuf::int32 value) {
timestamp_ = value;
// @@protoc_insertion_point(field_set:WechatProto.WechatMsg.timeStamp)
}
// string iP = 5;
inline void WechatMsg::clear_ip() {
ip_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline const ::std::string& WechatMsg::ip() const {
// @@protoc_insertion_point(field_get:WechatProto.WechatMsg.iP)
return ip_.GetNoArena();
}
inline void WechatMsg::set_ip(const ::std::string& value) {
ip_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
// @@protoc_insertion_point(field_set:WechatProto.WechatMsg.iP)
}
#if LANG_CXX11
inline void WechatMsg::set_ip(::std::string&& value) {
ip_.SetNoArena(
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
// @@protoc_insertion_point(field_set_rvalue:WechatProto.WechatMsg.iP)
}
#endif
inline void WechatMsg::set_ip(const char* value) {
GOOGLE_DCHECK(value != NULL);
ip_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
// @@protoc_insertion_point(field_set_char:WechatProto.WechatMsg.iP)
}
inline void WechatMsg::set_ip(const char* value, size_t size) {
ip_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
::std::string(reinterpret_cast<const char*>(value), size));
// @@protoc_insertion_point(field_set_pointer:WechatProto.WechatMsg.iP)
}
inline ::std::string* WechatMsg::mutable_ip() {
// @@protoc_insertion_point(field_mutable:WechatProto.WechatMsg.iP)
return ip_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline ::std::string* WechatMsg::release_ip() {
// @@protoc_insertion_point(field_release:WechatProto.WechatMsg.iP)
return ip_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void WechatMsg::set_allocated_ip(::std::string* ip) {
if (ip != NULL) {
} else {
}
ip_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ip);
// @@protoc_insertion_point(field_set_allocated:WechatProto.WechatMsg.iP)
}
// -------------------------------------------------------------------
// BaseMsg
// int32 ret = 1;
inline void BaseMsg::clear_ret() {
ret_ = 0;
}
inline ::google::protobuf::int32 BaseMsg::ret() const {
// @@protoc_insertion_point(field_get:WechatProto.BaseMsg.ret)
return ret_;
}
inline void BaseMsg::set_ret(::google::protobuf::int32 value) {
ret_ = value;
// @@protoc_insertion_point(field_set:WechatProto.BaseMsg.ret)
}
// int32 cmd = 2;
inline void BaseMsg::clear_cmd() {
cmd_ = 0;
}
inline ::google::protobuf::int32 BaseMsg::cmd() const {
// @@protoc_insertion_point(field_get:WechatProto.BaseMsg.cmd)
return cmd_;
}
inline void BaseMsg::set_cmd(::google::protobuf::int32 value) {
cmd_ = value;
// @@protoc_insertion_point(field_set:WechatProto.BaseMsg.cmd)
}
// string cmdUrl = 3;
inline void BaseMsg::clear_cmdurl() {
cmdurl_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline const ::std::string& BaseMsg::cmdurl() const {
// @@protoc_insertion_point(field_get:WechatProto.BaseMsg.cmdUrl)
return cmdurl_.GetNoArena();
}
inline void BaseMsg::set_cmdurl(const ::std::string& value) {
cmdurl_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
// @@protoc_insertion_point(field_set:WechatProto.BaseMsg.cmdUrl)
}
#if LANG_CXX11
inline void BaseMsg::set_cmdurl(::std::string&& value) {
cmdurl_.SetNoArena(
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
// @@protoc_insertion_point(field_set_rvalue:WechatProto.BaseMsg.cmdUrl)
}
#endif
inline void BaseMsg::set_cmdurl(const char* value) {
GOOGLE_DCHECK(value != NULL);
cmdurl_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
// @@protoc_insertion_point(field_set_char:WechatProto.BaseMsg.cmdUrl)
}
inline void BaseMsg::set_cmdurl(const char* value, size_t size) {
cmdurl_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
::std::string(reinterpret_cast<const char*>(value), size));
// @@protoc_insertion_point(field_set_pointer:WechatProto.BaseMsg.cmdUrl)
}
inline ::std::string* BaseMsg::mutable_cmdurl() {
// @@protoc_insertion_point(field_mutable:WechatProto.BaseMsg.cmdUrl)
return cmdurl_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline ::std::string* BaseMsg::release_cmdurl() {
// @@protoc_insertion_point(field_release:WechatProto.BaseMsg.cmdUrl)
return cmdurl_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void BaseMsg::set_allocated_cmdurl(::std::string* cmdurl) {
if (cmdurl != NULL) {
} else {
}
cmdurl_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), cmdurl);
// @@protoc_insertion_point(field_set_allocated:WechatProto.BaseMsg.cmdUrl)
}
// string shortHost = 4;
inline void BaseMsg::clear_shorthost() {
shorthost_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline const ::std::string& BaseMsg::shorthost() const {
// @@protoc_insertion_point(field_get:WechatProto.BaseMsg.shortHost)
return shorthost_.GetNoArena();
}
inline void BaseMsg::set_shorthost(const ::std::string& value) {
shorthost_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
// @@protoc_insertion_point(field_set:WechatProto.BaseMsg.shortHost)
}
#if LANG_CXX11
inline void BaseMsg::set_shorthost(::std::string&& value) {
shorthost_.SetNoArena(
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
// @@protoc_insertion_point(field_set_rvalue:WechatProto.BaseMsg.shortHost)
}
#endif
inline void BaseMsg::set_shorthost(const char* value) {
GOOGLE_DCHECK(value != NULL);
shorthost_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
// @@protoc_insertion_point(field_set_char:WechatProto.BaseMsg.shortHost)
}
inline void BaseMsg::set_shorthost(const char* value, size_t size) {
shorthost_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
::std::string(reinterpret_cast<const char*>(value), size));
// @@protoc_insertion_point(field_set_pointer:WechatProto.BaseMsg.shortHost)
}
inline ::std::string* BaseMsg::mutable_shorthost() {
// @@protoc_insertion_point(field_mutable:WechatProto.BaseMsg.shortHost)
return shorthost_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline ::std::string* BaseMsg::release_shorthost() {
// @@protoc_insertion_point(field_release:WechatProto.BaseMsg.shortHost)
return shorthost_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void BaseMsg::set_allocated_shorthost(::std::string* shorthost) {
if (shorthost != NULL) {
} else {
}
shorthost_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), shorthost);
// @@protoc_insertion_point(field_set_allocated:WechatProto.BaseMsg.shortHost)
}
// string longHost = 5;
inline void BaseMsg::clear_longhost() {
longhost_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline const ::std::string& BaseMsg::longhost() const {
// @@protoc_insertion_point(field_get:WechatProto.BaseMsg.longHost)
return longhost_.GetNoArena();
}
inline void BaseMsg::set_longhost(const ::std::string& value) {
longhost_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
// @@protoc_insertion_point(field_set:WechatProto.BaseMsg.longHost)
}
#if LANG_CXX11
inline void BaseMsg::set_longhost(::std::string&& value) {
longhost_.SetNoArena(
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
// @@protoc_insertion_point(field_set_rvalue:WechatProto.BaseMsg.longHost)
}
#endif
inline void BaseMsg::set_longhost(const char* value) {
GOOGLE_DCHECK(value != NULL);
longhost_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
// @@protoc_insertion_point(field_set_char:WechatProto.BaseMsg.longHost)
}
inline void BaseMsg::set_longhost(const char* value, size_t size) {
longhost_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
::std::string(reinterpret_cast<const char*>(value), size));
// @@protoc_insertion_point(field_set_pointer:WechatProto.BaseMsg.longHost)
}
inline ::std::string* BaseMsg::mutable_longhost() {
// @@protoc_insertion_point(field_mutable:WechatProto.BaseMsg.longHost)
return longhost_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline ::std::string* BaseMsg::release_longhost() {
// @@protoc_insertion_point(field_release:WechatProto.BaseMsg.longHost)
return longhost_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void BaseMsg::set_allocated_longhost(::std::string* longhost) {
if (longhost != NULL) {
} else {
}
longhost_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), longhost);
// @@protoc_insertion_point(field_set_allocated:WechatProto.BaseMsg.longHost)
}
// .WechatProto.User user = 6;
inline bool BaseMsg::has_user() const {
return this != internal_default_instance() && user_ != NULL;
}
inline void BaseMsg::clear_user() {
if (GetArenaNoVirtual() == NULL && user_ != NULL) delete user_;
user_ = NULL;
}
inline const ::WechatProto::User& BaseMsg::user() const {
// @@protoc_insertion_point(field_get:WechatProto.BaseMsg.user)
return user_ != NULL ? *user_
: *::WechatProto::User::internal_default_instance();
}
inline ::WechatProto::User* BaseMsg::mutable_user() {
if (user_ == NULL) {
user_ = new ::WechatProto::User;
}
// @@protoc_insertion_point(field_mutable:WechatProto.BaseMsg.user)
return user_;
}
inline ::WechatProto::User* BaseMsg::release_user() {
// @@protoc_insertion_point(field_release:WechatProto.BaseMsg.user)
::WechatProto::User* temp = user_;
user_ = NULL;
return temp;
}
inline void BaseMsg::set_allocated_user(::WechatProto::User* user) {
delete user_;
user_ = user;
if (user) {
} else {
}
// @@protoc_insertion_point(field_set_allocated:WechatProto.BaseMsg.user)
}
// bytes longHead = 7;
inline void BaseMsg::clear_longhead() {
longhead_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline const ::std::string& BaseMsg::longhead() const {
// @@protoc_insertion_point(field_get:WechatProto.BaseMsg.longHead)
return longhead_.GetNoArena();
}
inline void BaseMsg::set_longhead(const ::std::string& value) {
longhead_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
// @@protoc_insertion_point(field_set:WechatProto.BaseMsg.longHead)
}
#if LANG_CXX11
inline void BaseMsg::set_longhead(::std::string&& value) {
longhead_.SetNoArena(
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
// @@protoc_insertion_point(field_set_rvalue:WechatProto.BaseMsg.longHead)
}
#endif
inline void BaseMsg::set_longhead(const char* value) {
GOOGLE_DCHECK(value != NULL);
longhead_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
// @@protoc_insertion_point(field_set_char:WechatProto.BaseMsg.longHead)
}
inline void BaseMsg::set_longhead(const void* value, size_t size) {
longhead_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
::std::string(reinterpret_cast<const char*>(value), size));
// @@protoc_insertion_point(field_set_pointer:WechatProto.BaseMsg.longHead)
}
inline ::std::string* BaseMsg::mutable_longhead() {
// @@protoc_insertion_point(field_mutable:WechatProto.BaseMsg.longHead)
return longhead_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline ::std::string* BaseMsg::release_longhead() {
// @@protoc_insertion_point(field_release:WechatProto.BaseMsg.longHead)
return longhead_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void BaseMsg::set_allocated_longhead(::std::string* longhead) {
if (longhead != NULL) {
} else {
}
longhead_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), longhead);
// @@protoc_insertion_point(field_set_allocated:WechatProto.BaseMsg.longHead)
}
// bytes payloads = 8;
inline void BaseMsg::clear_payloads() {
payloads_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline const ::std::string& BaseMsg::payloads() const {
// @@protoc_insertion_point(field_get:WechatProto.BaseMsg.payloads)
return payloads_.GetNoArena();
}
inline void BaseMsg::set_payloads(const ::std::string& value) {
payloads_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
// @@protoc_insertion_point(field_set:WechatProto.BaseMsg.payloads)
}
#if LANG_CXX11
inline void BaseMsg::set_payloads(::std::string&& value) {
payloads_.SetNoArena(
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
// @@protoc_insertion_point(field_set_rvalue:WechatProto.BaseMsg.payloads)
}
#endif
inline void BaseMsg::set_payloads(const char* value) {
GOOGLE_DCHECK(value != NULL);
payloads_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
// @@protoc_insertion_point(field_set_char:WechatProto.BaseMsg.payloads)
}
inline void BaseMsg::set_payloads(const void* value, size_t size) {
payloads_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
::std::string(reinterpret_cast<const char*>(value), size));
// @@protoc_insertion_point(field_set_pointer:WechatProto.BaseMsg.payloads)
}
inline ::std::string* BaseMsg::mutable_payloads() {
// @@protoc_insertion_point(field_mutable:WechatProto.BaseMsg.payloads)
return payloads_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline ::std::string* BaseMsg::release_payloads() {
// @@protoc_insertion_point(field_release:WechatProto.BaseMsg.payloads)
return payloads_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void BaseMsg::set_allocated_payloads(::std::string* payloads) {
if (payloads != NULL) {
} else {
}
payloads_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), payloads);
// @@protoc_insertion_point(field_set_allocated:WechatProto.BaseMsg.payloads)
}
// bytes playloadextend = 9;
inline void BaseMsg::clear_playloadextend() {
playloadextend_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline const ::std::string& BaseMsg::playloadextend() const {
// @@protoc_insertion_point(field_get:WechatProto.BaseMsg.playloadextend)
return playloadextend_.GetNoArena();
}
inline void BaseMsg::set_playloadextend(const ::std::string& value) {
playloadextend_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
// @@protoc_insertion_point(field_set:WechatProto.BaseMsg.playloadextend)
}
#if LANG_CXX11
inline void BaseMsg::set_playloadextend(::std::string&& value) {
playloadextend_.SetNoArena(
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
// @@protoc_insertion_point(field_set_rvalue:WechatProto.BaseMsg.playloadextend)
}
#endif
inline void BaseMsg::set_playloadextend(const char* value) {
GOOGLE_DCHECK(value != NULL);
playloadextend_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
// @@protoc_insertion_point(field_set_char:WechatProto.BaseMsg.playloadextend)
}
inline void BaseMsg::set_playloadextend(const void* value, size_t size) {
playloadextend_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
::std::string(reinterpret_cast<const char*>(value), size));
// @@protoc_insertion_point(field_set_pointer:WechatProto.BaseMsg.playloadextend)
}
inline ::std::string* BaseMsg::mutable_playloadextend() {
// @@protoc_insertion_point(field_mutable:WechatProto.BaseMsg.playloadextend)
return playloadextend_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline ::std::string* BaseMsg::release_playloadextend() {
// @@protoc_insertion_point(field_release:WechatProto.BaseMsg.playloadextend)
return playloadextend_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void BaseMsg::set_allocated_playloadextend(::std::string* playloadextend) {
if (playloadextend != NULL) {
} else {
}
playloadextend_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), playloadextend);
// @@protoc_insertion_point(field_set_allocated:WechatProto.BaseMsg.playloadextend)
}
// -------------------------------------------------------------------
// User
// int64 uin = 1;
inline void User::clear_uin() {
uin_ = GOOGLE_LONGLONG(0);
}
inline ::google::protobuf::int64 User::uin() const {
// @@protoc_insertion_point(field_get:WechatProto.User.uin)
return uin_;
}
inline void User::set_uin(::google::protobuf::int64 value) {
uin_ = value;
// @@protoc_insertion_point(field_set:WechatProto.User.uin)
}
// bytes cookies = 2;
inline void User::clear_cookies() {
cookies_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline const ::std::string& User::cookies() const {
// @@protoc_insertion_point(field_get:WechatProto.User.cookies)
return cookies_.GetNoArena();
}
inline void User::set_cookies(const ::std::string& value) {
cookies_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
// @@protoc_insertion_point(field_set:WechatProto.User.cookies)
}
#if LANG_CXX11
inline void User::set_cookies(::std::string&& value) {
cookies_.SetNoArena(
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
// @@protoc_insertion_point(field_set_rvalue:WechatProto.User.cookies)
}
#endif
inline void User::set_cookies(const char* value) {
GOOGLE_DCHECK(value != NULL);
cookies_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
// @@protoc_insertion_point(field_set_char:WechatProto.User.cookies)
}
inline void User::set_cookies(const void* value, size_t size) {
cookies_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
::std::string(reinterpret_cast<const char*>(value), size));
// @@protoc_insertion_point(field_set_pointer:WechatProto.User.cookies)
}
inline ::std::string* User::mutable_cookies() {
// @@protoc_insertion_point(field_mutable:WechatProto.User.cookies)
return cookies_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline ::std::string* User::release_cookies() {
// @@protoc_insertion_point(field_release:WechatProto.User.cookies)
return cookies_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void User::set_allocated_cookies(::std::string* cookies) {
if (cookies != NULL) {
} else {
}
cookies_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), cookies);
// @@protoc_insertion_point(field_set_allocated:WechatProto.User.cookies)
}
// bytes sessionKey = 3;
inline void User::clear_sessionkey() {
sessionkey_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline const ::std::string& User::sessionkey() const {
// @@protoc_insertion_point(field_get:WechatProto.User.sessionKey)
return sessionkey_.GetNoArena();
}
inline void User::set_sessionkey(const ::std::string& value) {
sessionkey_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
// @@protoc_insertion_point(field_set:WechatProto.User.sessionKey)
}
#if LANG_CXX11
inline void User::set_sessionkey(::std::string&& value) {
sessionkey_.SetNoArena(
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
// @@protoc_insertion_point(field_set_rvalue:WechatProto.User.sessionKey)
}
#endif
inline void User::set_sessionkey(const char* value) {
GOOGLE_DCHECK(value != NULL);
sessionkey_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
// @@protoc_insertion_point(field_set_char:WechatProto.User.sessionKey)
}
inline void User::set_sessionkey(const void* value, size_t size) {
sessionkey_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
::std::string(reinterpret_cast<const char*>(value), size));
// @@protoc_insertion_point(field_set_pointer:WechatProto.User.sessionKey)
}
inline ::std::string* User::mutable_sessionkey() {
// @@protoc_insertion_point(field_mutable:WechatProto.User.sessionKey)
return sessionkey_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline ::std::string* User::release_sessionkey() {
// @@protoc_insertion_point(field_release:WechatProto.User.sessionKey)
return sessionkey_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void User::set_allocated_sessionkey(::std::string* sessionkey) {
if (sessionkey != NULL) {
} else {
}
sessionkey_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), sessionkey);
// @@protoc_insertion_point(field_set_allocated:WechatProto.User.sessionKey)
}
// string deviceId = 4;
inline void User::clear_deviceid() {
deviceid_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline const ::std::string& User::deviceid() const {
// @@protoc_insertion_point(field_get:WechatProto.User.deviceId)
return deviceid_.GetNoArena();
}
inline void User::set_deviceid(const ::std::string& value) {
deviceid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
// @@protoc_insertion_point(field_set:WechatProto.User.deviceId)
}
#if LANG_CXX11
inline void User::set_deviceid(::std::string&& value) {
deviceid_.SetNoArena(
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
// @@protoc_insertion_point(field_set_rvalue:WechatProto.User.deviceId)
}
#endif
inline void User::set_deviceid(const char* value) {
GOOGLE_DCHECK(value != NULL);
deviceid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
// @@protoc_insertion_point(field_set_char:WechatProto.User.deviceId)
}
inline void User::set_deviceid(const char* value, size_t size) {
deviceid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
::std::string(reinterpret_cast<const char*>(value), size));
// @@protoc_insertion_point(field_set_pointer:WechatProto.User.deviceId)
}
inline ::std::string* User::mutable_deviceid() {
// @@protoc_insertion_point(field_mutable:WechatProto.User.deviceId)
return deviceid_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline ::std::string* User::release_deviceid() {
// @@protoc_insertion_point(field_release:WechatProto.User.deviceId)
return deviceid_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void User::set_allocated_deviceid(::std::string* deviceid) {
if (deviceid != NULL) {
} else {
}
deviceid_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), deviceid);
// @@protoc_insertion_point(field_set_allocated:WechatProto.User.deviceId)
}
// string deviceType = 5;
inline void User::clear_devicetype() {
devicetype_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline const ::std::string& User::devicetype() const {
// @@protoc_insertion_point(field_get:WechatProto.User.deviceType)
return devicetype_.GetNoArena();
}
inline void User::set_devicetype(const ::std::string& value) {
devicetype_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
// @@protoc_insertion_point(field_set:WechatProto.User.deviceType)
}
#if LANG_CXX11
inline void User::set_devicetype(::std::string&& value) {
devicetype_.SetNoArena(
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
// @@protoc_insertion_point(field_set_rvalue:WechatProto.User.deviceType)
}
#endif
inline void User::set_devicetype(const char* value) {
GOOGLE_DCHECK(value != NULL);
devicetype_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
// @@protoc_insertion_point(field_set_char:WechatProto.User.deviceType)
}
inline void User::set_devicetype(const char* value, size_t size) {
devicetype_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
::std::string(reinterpret_cast<const char*>(value), size));
// @@protoc_insertion_point(field_set_pointer:WechatProto.User.deviceType)
}
inline ::std::string* User::mutable_devicetype() {
// @@protoc_insertion_point(field_mutable:WechatProto.User.deviceType)
return devicetype_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline ::std::string* User::release_devicetype() {
// @@protoc_insertion_point(field_release:WechatProto.User.deviceType)
return devicetype_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void User::set_allocated_devicetype(::std::string* devicetype) {
if (devicetype != NULL) {
} else {
}
devicetype_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), devicetype);
// @@protoc_insertion_point(field_set_allocated:WechatProto.User.deviceType)
}
// string deviceName = 6;
inline void User::clear_devicename() {
devicename_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline const ::std::string& User::devicename() const {
// @@protoc_insertion_point(field_get:WechatProto.User.deviceName)
return devicename_.GetNoArena();
}
inline void User::set_devicename(const ::std::string& value) {
devicename_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
// @@protoc_insertion_point(field_set:WechatProto.User.deviceName)
}
#if LANG_CXX11
inline void User::set_devicename(::std::string&& value) {
devicename_.SetNoArena(
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
// @@protoc_insertion_point(field_set_rvalue:WechatProto.User.deviceName)
}
#endif
inline void User::set_devicename(const char* value) {
GOOGLE_DCHECK(value != NULL);
devicename_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
// @@protoc_insertion_point(field_set_char:WechatProto.User.deviceName)
}
inline void User::set_devicename(const char* value, size_t size) {
devicename_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
::std::string(reinterpret_cast<const char*>(value), size));
// @@protoc_insertion_point(field_set_pointer:WechatProto.User.deviceName)
}
inline ::std::string* User::mutable_devicename() {
// @@protoc_insertion_point(field_mutable:WechatProto.User.deviceName)
return devicename_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline ::std::string* User::release_devicename() {
// @@protoc_insertion_point(field_release:WechatProto.User.deviceName)
return devicename_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void User::set_allocated_devicename(::std::string* devicename) {
if (devicename != NULL) {
} else {
}
devicename_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), devicename);
// @@protoc_insertion_point(field_set_allocated:WechatProto.User.deviceName)
}
// bytes currentsyncKey = 7;
inline void User::clear_currentsynckey() {
currentsynckey_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline const ::std::string& User::currentsynckey() const {
// @@protoc_insertion_point(field_get:WechatProto.User.currentsyncKey)
return currentsynckey_.GetNoArena();
}
inline void User::set_currentsynckey(const ::std::string& value) {
currentsynckey_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
// @@protoc_insertion_point(field_set:WechatProto.User.currentsyncKey)
}
#if LANG_CXX11
inline void User::set_currentsynckey(::std::string&& value) {
currentsynckey_.SetNoArena(
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
// @@protoc_insertion_point(field_set_rvalue:WechatProto.User.currentsyncKey)
}
#endif
inline void User::set_currentsynckey(const char* value) {
GOOGLE_DCHECK(value != NULL);
currentsynckey_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
// @@protoc_insertion_point(field_set_char:WechatProto.User.currentsyncKey)
}
inline void User::set_currentsynckey(const void* value, size_t size) {
currentsynckey_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
::std::string(reinterpret_cast<const char*>(value), size));
// @@protoc_insertion_point(field_set_pointer:WechatProto.User.currentsyncKey)
}
inline ::std::string* User::mutable_currentsynckey() {
// @@protoc_insertion_point(field_mutable:WechatProto.User.currentsyncKey)
return currentsynckey_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline ::std::string* User::release_currentsynckey() {
// @@protoc_insertion_point(field_release:WechatProto.User.currentsyncKey)
return currentsynckey_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void User::set_allocated_currentsynckey(::std::string* currentsynckey) {
if (currentsynckey != NULL) {
} else {
}
currentsynckey_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), currentsynckey);
// @@protoc_insertion_point(field_set_allocated:WechatProto.User.currentsyncKey)
}
// bytes maxSyncKey = 8;
inline void User::clear_maxsynckey() {
maxsynckey_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline const ::std::string& User::maxsynckey() const {
// @@protoc_insertion_point(field_get:WechatProto.User.maxSyncKey)
return maxsynckey_.GetNoArena();
}
inline void User::set_maxsynckey(const ::std::string& value) {
maxsynckey_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
// @@protoc_insertion_point(field_set:WechatProto.User.maxSyncKey)
}
#if LANG_CXX11
inline void User::set_maxsynckey(::std::string&& value) {
maxsynckey_.SetNoArena(
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
// @@protoc_insertion_point(field_set_rvalue:WechatProto.User.maxSyncKey)
}
#endif
inline void User::set_maxsynckey(const char* value) {
GOOGLE_DCHECK(value != NULL);
maxsynckey_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
// @@protoc_insertion_point(field_set_char:WechatProto.User.maxSyncKey)
}
inline void User::set_maxsynckey(const void* value, size_t size) {
maxsynckey_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
::std::string(reinterpret_cast<const char*>(value), size));
// @@protoc_insertion_point(field_set_pointer:WechatProto.User.maxSyncKey)
}
inline ::std::string* User::mutable_maxsynckey() {
// @@protoc_insertion_point(field_mutable:WechatProto.User.maxSyncKey)
return maxsynckey_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline ::std::string* User::release_maxsynckey() {
// @@protoc_insertion_point(field_release:WechatProto.User.maxSyncKey)
return maxsynckey_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void User::set_allocated_maxsynckey(::std::string* maxsynckey) {
if (maxsynckey != NULL) {
} else {
}
maxsynckey_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), maxsynckey);
// @@protoc_insertion_point(field_set_allocated:WechatProto.User.maxSyncKey)
}
// bytes autoAuthKey = 9;
inline void User::clear_autoauthkey() {
autoauthkey_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline const ::std::string& User::autoauthkey() const {
// @@protoc_insertion_point(field_get:WechatProto.User.autoAuthKey)
return autoauthkey_.GetNoArena();
}
inline void User::set_autoauthkey(const ::std::string& value) {
autoauthkey_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
// @@protoc_insertion_point(field_set:WechatProto.User.autoAuthKey)
}
#if LANG_CXX11
inline void User::set_autoauthkey(::std::string&& value) {
autoauthkey_.SetNoArena(
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
// @@protoc_insertion_point(field_set_rvalue:WechatProto.User.autoAuthKey)
}
#endif
inline void User::set_autoauthkey(const char* value) {
GOOGLE_DCHECK(value != NULL);
autoauthkey_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
// @@protoc_insertion_point(field_set_char:WechatProto.User.autoAuthKey)
}
inline void User::set_autoauthkey(const void* value, size_t size) {
autoauthkey_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
::std::string(reinterpret_cast<const char*>(value), size));
// @@protoc_insertion_point(field_set_pointer:WechatProto.User.autoAuthKey)
}
inline ::std::string* User::mutable_autoauthkey() {
// @@protoc_insertion_point(field_mutable:WechatProto.User.autoAuthKey)
return autoauthkey_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline ::std::string* User::release_autoauthkey() {
// @@protoc_insertion_point(field_release:WechatProto.User.autoAuthKey)
return autoauthkey_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void User::set_allocated_autoauthkey(::std::string* autoauthkey) {
if (autoauthkey != NULL) {
} else {
}
autoauthkey_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), autoauthkey);
// @@protoc_insertion_point(field_set_allocated:WechatProto.User.autoAuthKey)
}
// string userame = 10;
inline void User::clear_userame() {
userame_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline const ::std::string& User::userame() const {
// @@protoc_insertion_point(field_get:WechatProto.User.userame)
return userame_.GetNoArena();
}
inline void User::set_userame(const ::std::string& value) {
userame_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
// @@protoc_insertion_point(field_set:WechatProto.User.userame)
}
#if LANG_CXX11
inline void User::set_userame(::std::string&& value) {
userame_.SetNoArena(
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
// @@protoc_insertion_point(field_set_rvalue:WechatProto.User.userame)
}
#endif
inline void User::set_userame(const char* value) {
GOOGLE_DCHECK(value != NULL);
userame_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
// @@protoc_insertion_point(field_set_char:WechatProto.User.userame)
}
inline void User::set_userame(const char* value, size_t size) {
userame_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
::std::string(reinterpret_cast<const char*>(value), size));
// @@protoc_insertion_point(field_set_pointer:WechatProto.User.userame)
}
inline ::std::string* User::mutable_userame() {
// @@protoc_insertion_point(field_mutable:WechatProto.User.userame)
return userame_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline ::std::string* User::release_userame() {
// @@protoc_insertion_point(field_release:WechatProto.User.userame)
return userame_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void User::set_allocated_userame(::std::string* userame) {
if (userame != NULL) {
} else {
}
userame_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), userame);
// @@protoc_insertion_point(field_set_allocated:WechatProto.User.userame)
}
// bytes nickname = 11;
inline void User::clear_nickname() {
nickname_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline const ::std::string& User::nickname() const {
// @@protoc_insertion_point(field_get:WechatProto.User.nickname)
return nickname_.GetNoArena();
}
inline void User::set_nickname(const ::std::string& value) {
nickname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
// @@protoc_insertion_point(field_set:WechatProto.User.nickname)
}
#if LANG_CXX11
inline void User::set_nickname(::std::string&& value) {
nickname_.SetNoArena(
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
// @@protoc_insertion_point(field_set_rvalue:WechatProto.User.nickname)
}
#endif
inline void User::set_nickname(const char* value) {
GOOGLE_DCHECK(value != NULL);
nickname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
// @@protoc_insertion_point(field_set_char:WechatProto.User.nickname)
}
inline void User::set_nickname(const void* value, size_t size) {
nickname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
::std::string(reinterpret_cast<const char*>(value), size));
// @@protoc_insertion_point(field_set_pointer:WechatProto.User.nickname)
}
inline ::std::string* User::mutable_nickname() {
// @@protoc_insertion_point(field_mutable:WechatProto.User.nickname)
return nickname_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline ::std::string* User::release_nickname() {
// @@protoc_insertion_point(field_release:WechatProto.User.nickname)
return nickname_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void User::set_allocated_nickname(::std::string* nickname) {
if (nickname != NULL) {
} else {
}
nickname_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), nickname);
// @@protoc_insertion_point(field_set_allocated:WechatProto.User.nickname)
}
// bytes userExt = 12;
inline void User::clear_userext() {
userext_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline const ::std::string& User::userext() const {
// @@protoc_insertion_point(field_get:WechatProto.User.userExt)
return userext_.GetNoArena();
}
inline void User::set_userext(const ::std::string& value) {
userext_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
// @@protoc_insertion_point(field_set:WechatProto.User.userExt)
}
#if LANG_CXX11
inline void User::set_userext(::std::string&& value) {
userext_.SetNoArena(
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
// @@protoc_insertion_point(field_set_rvalue:WechatProto.User.userExt)
}
#endif
inline void User::set_userext(const char* value) {
GOOGLE_DCHECK(value != NULL);
userext_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
// @@protoc_insertion_point(field_set_char:WechatProto.User.userExt)
}
inline void User::set_userext(const void* value, size_t size) {
userext_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
::std::string(reinterpret_cast<const char*>(value), size));
// @@protoc_insertion_point(field_set_pointer:WechatProto.User.userExt)
}
inline ::std::string* User::mutable_userext() {
// @@protoc_insertion_point(field_mutable:WechatProto.User.userExt)
return userext_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline ::std::string* User::release_userext() {
// @@protoc_insertion_point(field_release:WechatProto.User.userExt)
return userext_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void User::set_allocated_userext(::std::string* userext) {
if (userext != NULL) {
} else {
}
userext_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), userext);
// @@protoc_insertion_point(field_set_allocated:WechatProto.User.userExt)
}
#endif // !PROTOBUF_INLINE_NOT_IN_HEADERS
// -------------------------------------------------------------------
// -------------------------------------------------------------------
// @@protoc_insertion_point(namespace_scope)
} // namespace WechatProto
// @@protoc_insertion_point(global_scope)
#endif // PROTOBUF_WeChatProto_2eproto__INCLUDED

Опубликовать ( 0 )

Вы можете оставить комментарий после Вход в систему

1
https://api.gitlife.ru/oschina-mirror/DaYa_White-grpc.git
git@api.gitlife.ru:oschina-mirror/DaYa_White-grpc.git
oschina-mirror
DaYa_White-grpc
DaYa_White-grpc
master