// Generated by the protocol buffer compiler. DO NOT EDIT! // source: GetGlobalState.proto #ifndef PROTOBUF_GetGlobalState_2eproto__INCLUDED #define PROTOBUF_GetGlobalState_2eproto__INCLUDED #include #include #if GOOGLE_PROTOBUF_VERSION < 3005000 #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 3005001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION #error This file was generated by an older version of protoc which is #error incompatible with your Protocol Buffer headers. Please #error regenerate this file with a newer version of protoc. #endif #include #include #include #include #include #include #include #include // IWYU pragma: export #include // IWYU pragma: export #include #include "Common.pb.h" #include "Qot_Common.pb.h" // @@protoc_insertion_point(includes) namespace protobuf_GetGlobalState_2eproto { // Internal implementation detail -- do not use these members. struct TableStruct { static const ::google::protobuf::internal::ParseTableField entries[]; static const ::google::protobuf::internal::AuxillaryParseTableField aux[]; static const ::google::protobuf::internal::ParseTable schema[4]; static const ::google::protobuf::internal::FieldMetadata field_metadata[]; static const ::google::protobuf::internal::SerializationTable serialization_table[]; static const ::google::protobuf::uint32 offsets[]; }; void AddDescriptors(); void InitDefaultsC2SImpl(); void InitDefaultsC2S(); void InitDefaultsS2CImpl(); void InitDefaultsS2C(); void InitDefaultsRequestImpl(); void InitDefaultsRequest(); void InitDefaultsResponseImpl(); void InitDefaultsResponse(); inline void InitDefaults() { InitDefaultsC2S(); InitDefaultsS2C(); InitDefaultsRequest(); InitDefaultsResponse(); } } // namespace protobuf_GetGlobalState_2eproto namespace GetGlobalState { class C2S; class C2SDefaultTypeInternal; extern C2SDefaultTypeInternal _C2S_default_instance_; class Request; class RequestDefaultTypeInternal; extern RequestDefaultTypeInternal _Request_default_instance_; class Response; class ResponseDefaultTypeInternal; extern ResponseDefaultTypeInternal _Response_default_instance_; class S2C; class S2CDefaultTypeInternal; extern S2CDefaultTypeInternal _S2C_default_instance_; } // namespace GetGlobalState namespace GetGlobalState { // =================================================================== class C2S : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:GetGlobalState.C2S) */ { public: C2S(); virtual ~C2S(); C2S(const C2S& from); inline C2S& operator=(const C2S& from) { CopyFrom(from); return *this; } #if LANG_CXX11 C2S(C2S&& from) noexcept : C2S() { *this = ::std::move(from); } inline C2S& operator=(C2S&& from) noexcept { if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } #endif inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { return _internal_metadata_.unknown_fields(); } inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { return _internal_metadata_.mutable_unknown_fields(); } static const ::google::protobuf::Descriptor* descriptor(); static const C2S& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY static inline const C2S* internal_default_instance() { return reinterpret_cast( &_C2S_default_instance_); } static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = 0; void Swap(C2S* other); friend void swap(C2S& a, C2S& b) { a.Swap(&b); } // implements Message ---------------------------------------------- inline C2S* New() const PROTOBUF_FINAL { return New(NULL); } C2S* 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 C2S& from); void MergeFrom(const C2S& 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(C2S* 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 ------------------------------------------------------- // required uint64 userID = 1; bool has_userid() const; void clear_userid(); static const int kUserIDFieldNumber = 1; ::google::protobuf::uint64 userid() const; void set_userid(::google::protobuf::uint64 value); // @@protoc_insertion_point(class_scope:GetGlobalState.C2S) private: void set_has_userid(); void clear_has_userid(); ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; ::google::protobuf::internal::HasBits<1> _has_bits_; mutable int _cached_size_; ::google::protobuf::uint64 userid_; friend struct ::protobuf_GetGlobalState_2eproto::TableStruct; friend void ::protobuf_GetGlobalState_2eproto::InitDefaultsC2SImpl(); }; // ------------------------------------------------------------------- class S2C : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:GetGlobalState.S2C) */ { public: S2C(); virtual ~S2C(); S2C(const S2C& from); inline S2C& operator=(const S2C& from) { CopyFrom(from); return *this; } #if LANG_CXX11 S2C(S2C&& from) noexcept : S2C() { *this = ::std::move(from); } inline S2C& operator=(S2C&& from) noexcept { if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } #endif inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { return _internal_metadata_.unknown_fields(); } inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { return _internal_metadata_.mutable_unknown_fields(); } static const ::google::protobuf::Descriptor* descriptor(); static const S2C& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY static inline const S2C* internal_default_instance() { return reinterpret_cast( &_S2C_default_instance_); } static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = 1; void Swap(S2C* other); friend void swap(S2C& a, S2C& b) { a.Swap(&b); } // implements Message ---------------------------------------------- inline S2C* New() const PROTOBUF_FINAL { return New(NULL); } S2C* 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 S2C& from); void MergeFrom(const S2C& 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(S2C* other); private: inline ::google::protobuf::Arena* GetArenaNoVirtual() const { return NULL; } inline void* MaybeArenaPtr() const { return NULL; } public: ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- // optional string qotSvrIpAddr = 13; bool has_qotsvripaddr() const; void clear_qotsvripaddr(); static const int kQotSvrIpAddrFieldNumber = 13; const ::std::string& qotsvripaddr() const; void set_qotsvripaddr(const ::std::string& value); #if LANG_CXX11 void set_qotsvripaddr(::std::string&& value); #endif void set_qotsvripaddr(const char* value); void set_qotsvripaddr(const char* value, size_t size); ::std::string* mutable_qotsvripaddr(); ::std::string* release_qotsvripaddr(); void set_allocated_qotsvripaddr(::std::string* qotsvripaddr); // optional string trdSvrIpAddr = 14; bool has_trdsvripaddr() const; void clear_trdsvripaddr(); static const int kTrdSvrIpAddrFieldNumber = 14; const ::std::string& trdsvripaddr() const; void set_trdsvripaddr(const ::std::string& value); #if LANG_CXX11 void set_trdsvripaddr(::std::string&& value); #endif void set_trdsvripaddr(const char* value); void set_trdsvripaddr(const char* value, size_t size); ::std::string* mutable_trdsvripaddr(); ::std::string* release_trdsvripaddr(); void set_allocated_trdsvripaddr(::std::string* trdsvripaddr); // optional .Common.ProgramStatus programStatus = 12; bool has_programstatus() const; void clear_programstatus(); static const int kProgramStatusFieldNumber = 12; const ::Common::ProgramStatus& programstatus() const; ::Common::ProgramStatus* release_programstatus(); ::Common::ProgramStatus* mutable_programstatus(); void set_allocated_programstatus(::Common::ProgramStatus* programstatus); // required int32 marketHK = 1; bool has_markethk() const; void clear_markethk(); static const int kMarketHKFieldNumber = 1; ::google::protobuf::int32 markethk() const; void set_markethk(::google::protobuf::int32 value); // required int32 marketUS = 2; bool has_marketus() const; void clear_marketus(); static const int kMarketUSFieldNumber = 2; ::google::protobuf::int32 marketus() const; void set_marketus(::google::protobuf::int32 value); // required int32 marketSH = 3; bool has_marketsh() const; void clear_marketsh(); static const int kMarketSHFieldNumber = 3; ::google::protobuf::int32 marketsh() const; void set_marketsh(::google::protobuf::int32 value); // required int32 marketSZ = 4; bool has_marketsz() const; void clear_marketsz(); static const int kMarketSZFieldNumber = 4; ::google::protobuf::int32 marketsz() const; void set_marketsz(::google::protobuf::int32 value); // required int32 marketHKFuture = 5; bool has_markethkfuture() const; void clear_markethkfuture(); static const int kMarketHKFutureFieldNumber = 5; ::google::protobuf::int32 markethkfuture() const; void set_markethkfuture(::google::protobuf::int32 value); // required bool qotLogined = 6; bool has_qotlogined() const; void clear_qotlogined(); static const int kQotLoginedFieldNumber = 6; bool qotlogined() const; void set_qotlogined(bool value); // required bool trdLogined = 7; bool has_trdlogined() const; void clear_trdlogined(); static const int kTrdLoginedFieldNumber = 7; bool trdlogined() const; void set_trdlogined(bool value); // required int32 serverVer = 8; bool has_serverver() const; void clear_serverver(); static const int kServerVerFieldNumber = 8; ::google::protobuf::int32 serverver() const; void set_serverver(::google::protobuf::int32 value); // required int32 serverBuildNo = 9; bool has_serverbuildno() const; void clear_serverbuildno(); static const int kServerBuildNoFieldNumber = 9; ::google::protobuf::int32 serverbuildno() const; void set_serverbuildno(::google::protobuf::int32 value); // required int64 time = 10; bool has_time() const; void clear_time(); static const int kTimeFieldNumber = 10; ::google::protobuf::int64 time() const; void set_time(::google::protobuf::int64 value); // optional double localTime = 11; bool has_localtime() const; void clear_localtime(); static const int kLocalTimeFieldNumber = 11; double localtime() const; void set_localtime(double value); // optional uint64 connID = 16; bool has_connid() const; void clear_connid(); static const int kConnIDFieldNumber = 16; ::google::protobuf::uint64 connid() const; void set_connid(::google::protobuf::uint64 value); // optional int32 marketUSFuture = 15; bool has_marketusfuture() const; void clear_marketusfuture(); static const int kMarketUSFutureFieldNumber = 15; ::google::protobuf::int32 marketusfuture() const; void set_marketusfuture(::google::protobuf::int32 value); // optional int32 marketSGFuture = 17; bool has_marketsgfuture() const; void clear_marketsgfuture(); static const int kMarketSGFutureFieldNumber = 17; ::google::protobuf::int32 marketsgfuture() const; void set_marketsgfuture(::google::protobuf::int32 value); // optional int32 marketJPFuture = 18; bool has_marketjpfuture() const; void clear_marketjpfuture(); static const int kMarketJPFutureFieldNumber = 18; ::google::protobuf::int32 marketjpfuture() const; void set_marketjpfuture(::google::protobuf::int32 value); // @@protoc_insertion_point(class_scope:GetGlobalState.S2C) private: void set_has_markethk(); void clear_has_markethk(); void set_has_marketus(); void clear_has_marketus(); void set_has_marketsh(); void clear_has_marketsh(); void set_has_marketsz(); void clear_has_marketsz(); void set_has_markethkfuture(); void clear_has_markethkfuture(); void set_has_marketusfuture(); void clear_has_marketusfuture(); void set_has_marketsgfuture(); void clear_has_marketsgfuture(); void set_has_marketjpfuture(); void clear_has_marketjpfuture(); void set_has_qotlogined(); void clear_has_qotlogined(); void set_has_trdlogined(); void clear_has_trdlogined(); void set_has_serverver(); void clear_has_serverver(); void set_has_serverbuildno(); void clear_has_serverbuildno(); void set_has_time(); void clear_has_time(); void set_has_localtime(); void clear_has_localtime(); void set_has_programstatus(); void clear_has_programstatus(); void set_has_qotsvripaddr(); void clear_has_qotsvripaddr(); void set_has_trdsvripaddr(); void clear_has_trdsvripaddr(); void set_has_connid(); void clear_has_connid(); // helper for ByteSizeLong() size_t RequiredFieldsByteSizeFallback() const; ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; ::google::protobuf::internal::HasBits<1> _has_bits_; mutable int _cached_size_; ::google::protobuf::internal::ArenaStringPtr qotsvripaddr_; ::google::protobuf::internal::ArenaStringPtr trdsvripaddr_; ::Common::ProgramStatus* programstatus_; ::google::protobuf::int32 markethk_; ::google::protobuf::int32 marketus_; ::google::protobuf::int32 marketsh_; ::google::protobuf::int32 marketsz_; ::google::protobuf::int32 markethkfuture_; bool qotlogined_; bool trdlogined_; ::google::protobuf::int32 serverver_; ::google::protobuf::int32 serverbuildno_; ::google::protobuf::int64 time_; double localtime_; ::google::protobuf::uint64 connid_; ::google::protobuf::int32 marketusfuture_; ::google::protobuf::int32 marketsgfuture_; ::google::protobuf::int32 marketjpfuture_; friend struct ::protobuf_GetGlobalState_2eproto::TableStruct; friend void ::protobuf_GetGlobalState_2eproto::InitDefaultsS2CImpl(); }; // ------------------------------------------------------------------- class Request : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:GetGlobalState.Request) */ { public: Request(); virtual ~Request(); Request(const Request& from); inline Request& operator=(const Request& from) { CopyFrom(from); return *this; } #if LANG_CXX11 Request(Request&& from) noexcept : Request() { *this = ::std::move(from); } inline Request& operator=(Request&& from) noexcept { if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } #endif inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { return _internal_metadata_.unknown_fields(); } inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { return _internal_metadata_.mutable_unknown_fields(); } static const ::google::protobuf::Descriptor* descriptor(); static const Request& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY static inline const Request* internal_default_instance() { return reinterpret_cast( &_Request_default_instance_); } static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = 2; void Swap(Request* other); friend void swap(Request& a, Request& b) { a.Swap(&b); } // implements Message ---------------------------------------------- inline Request* New() const PROTOBUF_FINAL { return New(NULL); } Request* 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 Request& from); void MergeFrom(const Request& 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(Request* 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 ------------------------------------------------------- // required .GetGlobalState.C2S c2s = 1; bool has_c2s() const; void clear_c2s(); static const int kC2SFieldNumber = 1; const ::GetGlobalState::C2S& c2s() const; ::GetGlobalState::C2S* release_c2s(); ::GetGlobalState::C2S* mutable_c2s(); void set_allocated_c2s(::GetGlobalState::C2S* c2s); // @@protoc_insertion_point(class_scope:GetGlobalState.Request) private: void set_has_c2s(); void clear_has_c2s(); ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; ::google::protobuf::internal::HasBits<1> _has_bits_; mutable int _cached_size_; ::GetGlobalState::C2S* c2s_; friend struct ::protobuf_GetGlobalState_2eproto::TableStruct; friend void ::protobuf_GetGlobalState_2eproto::InitDefaultsRequestImpl(); }; // ------------------------------------------------------------------- class Response : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:GetGlobalState.Response) */ { public: Response(); virtual ~Response(); Response(const Response& from); inline Response& operator=(const Response& from) { CopyFrom(from); return *this; } #if LANG_CXX11 Response(Response&& from) noexcept : Response() { *this = ::std::move(from); } inline Response& operator=(Response&& from) noexcept { if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } #endif inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { return _internal_metadata_.unknown_fields(); } inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { return _internal_metadata_.mutable_unknown_fields(); } static const ::google::protobuf::Descriptor* descriptor(); static const Response& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY static inline const Response* internal_default_instance() { return reinterpret_cast( &_Response_default_instance_); } static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = 3; void Swap(Response* other); friend void swap(Response& a, Response& b) { a.Swap(&b); } // implements Message ---------------------------------------------- inline Response* New() const PROTOBUF_FINAL { return New(NULL); } Response* 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 Response& from); void MergeFrom(const Response& 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(Response* other); private: inline ::google::protobuf::Arena* GetArenaNoVirtual() const { return NULL; } inline void* MaybeArenaPtr() const { return NULL; } public: ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- // optional string retMsg = 2; bool has_retmsg() const; void clear_retmsg(); static const int kRetMsgFieldNumber = 2; const ::std::string& retmsg() const; void set_retmsg(const ::std::string& value); #if LANG_CXX11 void set_retmsg(::std::string&& value); #endif void set_retmsg(const char* value); void set_retmsg(const char* value, size_t size); ::std::string* mutable_retmsg(); ::std::string* release_retmsg(); void set_allocated_retmsg(::std::string* retmsg); // optional .GetGlobalState.S2C s2c = 4; bool has_s2c() const; void clear_s2c(); static const int kS2CFieldNumber = 4; const ::GetGlobalState::S2C& s2c() const; ::GetGlobalState::S2C* release_s2c(); ::GetGlobalState::S2C* mutable_s2c(); void set_allocated_s2c(::GetGlobalState::S2C* s2c); // optional int32 errCode = 3; bool has_errcode() const; void clear_errcode(); static const int kErrCodeFieldNumber = 3; ::google::protobuf::int32 errcode() const; void set_errcode(::google::protobuf::int32 value); // required int32 retType = 1 [default = -400]; bool has_rettype() const; void clear_rettype(); static const int kRetTypeFieldNumber = 1; ::google::protobuf::int32 rettype() const; void set_rettype(::google::protobuf::int32 value); // @@protoc_insertion_point(class_scope:GetGlobalState.Response) private: void set_has_rettype(); void clear_has_rettype(); void set_has_retmsg(); void clear_has_retmsg(); void set_has_errcode(); void clear_has_errcode(); void set_has_s2c(); void clear_has_s2c(); ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; ::google::protobuf::internal::HasBits<1> _has_bits_; mutable int _cached_size_; ::google::protobuf::internal::ArenaStringPtr retmsg_; ::GetGlobalState::S2C* s2c_; ::google::protobuf::int32 errcode_; ::google::protobuf::int32 rettype_; friend struct ::protobuf_GetGlobalState_2eproto::TableStruct; friend void ::protobuf_GetGlobalState_2eproto::InitDefaultsResponseImpl(); }; // =================================================================== // =================================================================== #ifdef __GNUC__ #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wstrict-aliasing" #endif // __GNUC__ // C2S // required uint64 userID = 1; inline bool C2S::has_userid() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void C2S::set_has_userid() { _has_bits_[0] |= 0x00000001u; } inline void C2S::clear_has_userid() { _has_bits_[0] &= ~0x00000001u; } inline void C2S::clear_userid() { userid_ = GOOGLE_ULONGLONG(0); clear_has_userid(); } inline ::google::protobuf::uint64 C2S::userid() const { // @@protoc_insertion_point(field_get:GetGlobalState.C2S.userID) return userid_; } inline void C2S::set_userid(::google::protobuf::uint64 value) { set_has_userid(); userid_ = value; // @@protoc_insertion_point(field_set:GetGlobalState.C2S.userID) } // ------------------------------------------------------------------- // S2C // required int32 marketHK = 1; inline bool S2C::has_markethk() const { return (_has_bits_[0] & 0x00000008u) != 0; } inline void S2C::set_has_markethk() { _has_bits_[0] |= 0x00000008u; } inline void S2C::clear_has_markethk() { _has_bits_[0] &= ~0x00000008u; } inline void S2C::clear_markethk() { markethk_ = 0; clear_has_markethk(); } inline ::google::protobuf::int32 S2C::markethk() const { // @@protoc_insertion_point(field_get:GetGlobalState.S2C.marketHK) return markethk_; } inline void S2C::set_markethk(::google::protobuf::int32 value) { set_has_markethk(); markethk_ = value; // @@protoc_insertion_point(field_set:GetGlobalState.S2C.marketHK) } // required int32 marketUS = 2; inline bool S2C::has_marketus() const { return (_has_bits_[0] & 0x00000010u) != 0; } inline void S2C::set_has_marketus() { _has_bits_[0] |= 0x00000010u; } inline void S2C::clear_has_marketus() { _has_bits_[0] &= ~0x00000010u; } inline void S2C::clear_marketus() { marketus_ = 0; clear_has_marketus(); } inline ::google::protobuf::int32 S2C::marketus() const { // @@protoc_insertion_point(field_get:GetGlobalState.S2C.marketUS) return marketus_; } inline void S2C::set_marketus(::google::protobuf::int32 value) { set_has_marketus(); marketus_ = value; // @@protoc_insertion_point(field_set:GetGlobalState.S2C.marketUS) } // required int32 marketSH = 3; inline bool S2C::has_marketsh() const { return (_has_bits_[0] & 0x00000020u) != 0; } inline void S2C::set_has_marketsh() { _has_bits_[0] |= 0x00000020u; } inline void S2C::clear_has_marketsh() { _has_bits_[0] &= ~0x00000020u; } inline void S2C::clear_marketsh() { marketsh_ = 0; clear_has_marketsh(); } inline ::google::protobuf::int32 S2C::marketsh() const { // @@protoc_insertion_point(field_get:GetGlobalState.S2C.marketSH) return marketsh_; } inline void S2C::set_marketsh(::google::protobuf::int32 value) { set_has_marketsh(); marketsh_ = value; // @@protoc_insertion_point(field_set:GetGlobalState.S2C.marketSH) } // required int32 marketSZ = 4; inline bool S2C::has_marketsz() const { return (_has_bits_[0] & 0x00000040u) != 0; } inline void S2C::set_has_marketsz() { _has_bits_[0] |= 0x00000040u; } inline void S2C::clear_has_marketsz() { _has_bits_[0] &= ~0x00000040u; } inline void S2C::clear_marketsz() { marketsz_ = 0; clear_has_marketsz(); } inline ::google::protobuf::int32 S2C::marketsz() const { // @@protoc_insertion_point(field_get:GetGlobalState.S2C.marketSZ) return marketsz_; } inline void S2C::set_marketsz(::google::protobuf::int32 value) { set_has_marketsz(); marketsz_ = value; // @@protoc_insertion_point(field_set:GetGlobalState.S2C.marketSZ) } // required int32 marketHKFuture = 5; inline bool S2C::has_markethkfuture() const { return (_has_bits_[0] & 0x00000080u) != 0; } inline void S2C::set_has_markethkfuture() { _has_bits_[0] |= 0x00000080u; } inline void S2C::clear_has_markethkfuture() { _has_bits_[0] &= ~0x00000080u; } inline void S2C::clear_markethkfuture() { markethkfuture_ = 0; clear_has_markethkfuture(); } inline ::google::protobuf::int32 S2C::markethkfuture() const { // @@protoc_insertion_point(field_get:GetGlobalState.S2C.marketHKFuture) return markethkfuture_; } inline void S2C::set_markethkfuture(::google::protobuf::int32 value) { set_has_markethkfuture(); markethkfuture_ = value; // @@protoc_insertion_point(field_set:GetGlobalState.S2C.marketHKFuture) } // optional int32 marketUSFuture = 15; inline bool S2C::has_marketusfuture() const { return (_has_bits_[0] & 0x00008000u) != 0; } inline void S2C::set_has_marketusfuture() { _has_bits_[0] |= 0x00008000u; } inline void S2C::clear_has_marketusfuture() { _has_bits_[0] &= ~0x00008000u; } inline void S2C::clear_marketusfuture() { marketusfuture_ = 0; clear_has_marketusfuture(); } inline ::google::protobuf::int32 S2C::marketusfuture() const { // @@protoc_insertion_point(field_get:GetGlobalState.S2C.marketUSFuture) return marketusfuture_; } inline void S2C::set_marketusfuture(::google::protobuf::int32 value) { set_has_marketusfuture(); marketusfuture_ = value; // @@protoc_insertion_point(field_set:GetGlobalState.S2C.marketUSFuture) } // optional int32 marketSGFuture = 17; inline bool S2C::has_marketsgfuture() const { return (_has_bits_[0] & 0x00010000u) != 0; } inline void S2C::set_has_marketsgfuture() { _has_bits_[0] |= 0x00010000u; } inline void S2C::clear_has_marketsgfuture() { _has_bits_[0] &= ~0x00010000u; } inline void S2C::clear_marketsgfuture() { marketsgfuture_ = 0; clear_has_marketsgfuture(); } inline ::google::protobuf::int32 S2C::marketsgfuture() const { // @@protoc_insertion_point(field_get:GetGlobalState.S2C.marketSGFuture) return marketsgfuture_; } inline void S2C::set_marketsgfuture(::google::protobuf::int32 value) { set_has_marketsgfuture(); marketsgfuture_ = value; // @@protoc_insertion_point(field_set:GetGlobalState.S2C.marketSGFuture) } // optional int32 marketJPFuture = 18; inline bool S2C::has_marketjpfuture() const { return (_has_bits_[0] & 0x00020000u) != 0; } inline void S2C::set_has_marketjpfuture() { _has_bits_[0] |= 0x00020000u; } inline void S2C::clear_has_marketjpfuture() { _has_bits_[0] &= ~0x00020000u; } inline void S2C::clear_marketjpfuture() { marketjpfuture_ = 0; clear_has_marketjpfuture(); } inline ::google::protobuf::int32 S2C::marketjpfuture() const { // @@protoc_insertion_point(field_get:GetGlobalState.S2C.marketJPFuture) return marketjpfuture_; } inline void S2C::set_marketjpfuture(::google::protobuf::int32 value) { set_has_marketjpfuture(); marketjpfuture_ = value; // @@protoc_insertion_point(field_set:GetGlobalState.S2C.marketJPFuture) } // required bool qotLogined = 6; inline bool S2C::has_qotlogined() const { return (_has_bits_[0] & 0x00000100u) != 0; } inline void S2C::set_has_qotlogined() { _has_bits_[0] |= 0x00000100u; } inline void S2C::clear_has_qotlogined() { _has_bits_[0] &= ~0x00000100u; } inline void S2C::clear_qotlogined() { qotlogined_ = false; clear_has_qotlogined(); } inline bool S2C::qotlogined() const { // @@protoc_insertion_point(field_get:GetGlobalState.S2C.qotLogined) return qotlogined_; } inline void S2C::set_qotlogined(bool value) { set_has_qotlogined(); qotlogined_ = value; // @@protoc_insertion_point(field_set:GetGlobalState.S2C.qotLogined) } // required bool trdLogined = 7; inline bool S2C::has_trdlogined() const { return (_has_bits_[0] & 0x00000200u) != 0; } inline void S2C::set_has_trdlogined() { _has_bits_[0] |= 0x00000200u; } inline void S2C::clear_has_trdlogined() { _has_bits_[0] &= ~0x00000200u; } inline void S2C::clear_trdlogined() { trdlogined_ = false; clear_has_trdlogined(); } inline bool S2C::trdlogined() const { // @@protoc_insertion_point(field_get:GetGlobalState.S2C.trdLogined) return trdlogined_; } inline void S2C::set_trdlogined(bool value) { set_has_trdlogined(); trdlogined_ = value; // @@protoc_insertion_point(field_set:GetGlobalState.S2C.trdLogined) } // required int32 serverVer = 8; inline bool S2C::has_serverver() const { return (_has_bits_[0] & 0x00000400u) != 0; } inline void S2C::set_has_serverver() { _has_bits_[0] |= 0x00000400u; } inline void S2C::clear_has_serverver() { _has_bits_[0] &= ~0x00000400u; } inline void S2C::clear_serverver() { serverver_ = 0; clear_has_serverver(); } inline ::google::protobuf::int32 S2C::serverver() const { // @@protoc_insertion_point(field_get:GetGlobalState.S2C.serverVer) return serverver_; } inline void S2C::set_serverver(::google::protobuf::int32 value) { set_has_serverver(); serverver_ = value; // @@protoc_insertion_point(field_set:GetGlobalState.S2C.serverVer) } // required int32 serverBuildNo = 9; inline bool S2C::has_serverbuildno() const { return (_has_bits_[0] & 0x00000800u) != 0; } inline void S2C::set_has_serverbuildno() { _has_bits_[0] |= 0x00000800u; } inline void S2C::clear_has_serverbuildno() { _has_bits_[0] &= ~0x00000800u; } inline void S2C::clear_serverbuildno() { serverbuildno_ = 0; clear_has_serverbuildno(); } inline ::google::protobuf::int32 S2C::serverbuildno() const { // @@protoc_insertion_point(field_get:GetGlobalState.S2C.serverBuildNo) return serverbuildno_; } inline void S2C::set_serverbuildno(::google::protobuf::int32 value) { set_has_serverbuildno(); serverbuildno_ = value; // @@protoc_insertion_point(field_set:GetGlobalState.S2C.serverBuildNo) } // required int64 time = 10; inline bool S2C::has_time() const { return (_has_bits_[0] & 0x00001000u) != 0; } inline void S2C::set_has_time() { _has_bits_[0] |= 0x00001000u; } inline void S2C::clear_has_time() { _has_bits_[0] &= ~0x00001000u; } inline void S2C::clear_time() { time_ = GOOGLE_LONGLONG(0); clear_has_time(); } inline ::google::protobuf::int64 S2C::time() const { // @@protoc_insertion_point(field_get:GetGlobalState.S2C.time) return time_; } inline void S2C::set_time(::google::protobuf::int64 value) { set_has_time(); time_ = value; // @@protoc_insertion_point(field_set:GetGlobalState.S2C.time) } // optional double localTime = 11; inline bool S2C::has_localtime() const { return (_has_bits_[0] & 0x00002000u) != 0; } inline void S2C::set_has_localtime() { _has_bits_[0] |= 0x00002000u; } inline void S2C::clear_has_localtime() { _has_bits_[0] &= ~0x00002000u; } inline void S2C::clear_localtime() { localtime_ = 0; clear_has_localtime(); } inline double S2C::localtime() const { // @@protoc_insertion_point(field_get:GetGlobalState.S2C.localTime) return localtime_; } inline void S2C::set_localtime(double value) { set_has_localtime(); localtime_ = value; // @@protoc_insertion_point(field_set:GetGlobalState.S2C.localTime) } // optional .Common.ProgramStatus programStatus = 12; inline bool S2C::has_programstatus() const { return (_has_bits_[0] & 0x00000004u) != 0; } inline void S2C::set_has_programstatus() { _has_bits_[0] |= 0x00000004u; } inline void S2C::clear_has_programstatus() { _has_bits_[0] &= ~0x00000004u; } inline const ::Common::ProgramStatus& S2C::programstatus() const { const ::Common::ProgramStatus* p = programstatus_; // @@protoc_insertion_point(field_get:GetGlobalState.S2C.programStatus) return p != NULL ? *p : *reinterpret_cast( &::Common::_ProgramStatus_default_instance_); } inline ::Common::ProgramStatus* S2C::release_programstatus() { // @@protoc_insertion_point(field_release:GetGlobalState.S2C.programStatus) clear_has_programstatus(); ::Common::ProgramStatus* temp = programstatus_; programstatus_ = NULL; return temp; } inline ::Common::ProgramStatus* S2C::mutable_programstatus() { set_has_programstatus(); if (programstatus_ == NULL) { programstatus_ = new ::Common::ProgramStatus; } // @@protoc_insertion_point(field_mutable:GetGlobalState.S2C.programStatus) return programstatus_; } inline void S2C::set_allocated_programstatus(::Common::ProgramStatus* programstatus) { ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); if (message_arena == NULL) { delete reinterpret_cast< ::google::protobuf::MessageLite*>(programstatus_); } if (programstatus) { ::google::protobuf::Arena* submessage_arena = NULL; if (message_arena != submessage_arena) { programstatus = ::google::protobuf::internal::GetOwnedMessage( message_arena, programstatus, submessage_arena); } set_has_programstatus(); } else { clear_has_programstatus(); } programstatus_ = programstatus; // @@protoc_insertion_point(field_set_allocated:GetGlobalState.S2C.programStatus) } // optional string qotSvrIpAddr = 13; inline bool S2C::has_qotsvripaddr() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void S2C::set_has_qotsvripaddr() { _has_bits_[0] |= 0x00000001u; } inline void S2C::clear_has_qotsvripaddr() { _has_bits_[0] &= ~0x00000001u; } inline void S2C::clear_qotsvripaddr() { qotsvripaddr_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); clear_has_qotsvripaddr(); } inline const ::std::string& S2C::qotsvripaddr() const { // @@protoc_insertion_point(field_get:GetGlobalState.S2C.qotSvrIpAddr) return qotsvripaddr_.GetNoArena(); } inline void S2C::set_qotsvripaddr(const ::std::string& value) { set_has_qotsvripaddr(); qotsvripaddr_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); // @@protoc_insertion_point(field_set:GetGlobalState.S2C.qotSvrIpAddr) } #if LANG_CXX11 inline void S2C::set_qotsvripaddr(::std::string&& value) { set_has_qotsvripaddr(); qotsvripaddr_.SetNoArena( &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:GetGlobalState.S2C.qotSvrIpAddr) } #endif inline void S2C::set_qotsvripaddr(const char* value) { GOOGLE_DCHECK(value != NULL); set_has_qotsvripaddr(); qotsvripaddr_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:GetGlobalState.S2C.qotSvrIpAddr) } inline void S2C::set_qotsvripaddr(const char* value, size_t size) { set_has_qotsvripaddr(); qotsvripaddr_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:GetGlobalState.S2C.qotSvrIpAddr) } inline ::std::string* S2C::mutable_qotsvripaddr() { set_has_qotsvripaddr(); // @@protoc_insertion_point(field_mutable:GetGlobalState.S2C.qotSvrIpAddr) return qotsvripaddr_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } inline ::std::string* S2C::release_qotsvripaddr() { // @@protoc_insertion_point(field_release:GetGlobalState.S2C.qotSvrIpAddr) clear_has_qotsvripaddr(); return qotsvripaddr_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } inline void S2C::set_allocated_qotsvripaddr(::std::string* qotsvripaddr) { if (qotsvripaddr != NULL) { set_has_qotsvripaddr(); } else { clear_has_qotsvripaddr(); } qotsvripaddr_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), qotsvripaddr); // @@protoc_insertion_point(field_set_allocated:GetGlobalState.S2C.qotSvrIpAddr) } // optional string trdSvrIpAddr = 14; inline bool S2C::has_trdsvripaddr() const { return (_has_bits_[0] & 0x00000002u) != 0; } inline void S2C::set_has_trdsvripaddr() { _has_bits_[0] |= 0x00000002u; } inline void S2C::clear_has_trdsvripaddr() { _has_bits_[0] &= ~0x00000002u; } inline void S2C::clear_trdsvripaddr() { trdsvripaddr_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); clear_has_trdsvripaddr(); } inline const ::std::string& S2C::trdsvripaddr() const { // @@protoc_insertion_point(field_get:GetGlobalState.S2C.trdSvrIpAddr) return trdsvripaddr_.GetNoArena(); } inline void S2C::set_trdsvripaddr(const ::std::string& value) { set_has_trdsvripaddr(); trdsvripaddr_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); // @@protoc_insertion_point(field_set:GetGlobalState.S2C.trdSvrIpAddr) } #if LANG_CXX11 inline void S2C::set_trdsvripaddr(::std::string&& value) { set_has_trdsvripaddr(); trdsvripaddr_.SetNoArena( &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:GetGlobalState.S2C.trdSvrIpAddr) } #endif inline void S2C::set_trdsvripaddr(const char* value) { GOOGLE_DCHECK(value != NULL); set_has_trdsvripaddr(); trdsvripaddr_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:GetGlobalState.S2C.trdSvrIpAddr) } inline void S2C::set_trdsvripaddr(const char* value, size_t size) { set_has_trdsvripaddr(); trdsvripaddr_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:GetGlobalState.S2C.trdSvrIpAddr) } inline ::std::string* S2C::mutable_trdsvripaddr() { set_has_trdsvripaddr(); // @@protoc_insertion_point(field_mutable:GetGlobalState.S2C.trdSvrIpAddr) return trdsvripaddr_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } inline ::std::string* S2C::release_trdsvripaddr() { // @@protoc_insertion_point(field_release:GetGlobalState.S2C.trdSvrIpAddr) clear_has_trdsvripaddr(); return trdsvripaddr_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } inline void S2C::set_allocated_trdsvripaddr(::std::string* trdsvripaddr) { if (trdsvripaddr != NULL) { set_has_trdsvripaddr(); } else { clear_has_trdsvripaddr(); } trdsvripaddr_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), trdsvripaddr); // @@protoc_insertion_point(field_set_allocated:GetGlobalState.S2C.trdSvrIpAddr) } // optional uint64 connID = 16; inline bool S2C::has_connid() const { return (_has_bits_[0] & 0x00004000u) != 0; } inline void S2C::set_has_connid() { _has_bits_[0] |= 0x00004000u; } inline void S2C::clear_has_connid() { _has_bits_[0] &= ~0x00004000u; } inline void S2C::clear_connid() { connid_ = GOOGLE_ULONGLONG(0); clear_has_connid(); } inline ::google::protobuf::uint64 S2C::connid() const { // @@protoc_insertion_point(field_get:GetGlobalState.S2C.connID) return connid_; } inline void S2C::set_connid(::google::protobuf::uint64 value) { set_has_connid(); connid_ = value; // @@protoc_insertion_point(field_set:GetGlobalState.S2C.connID) } // ------------------------------------------------------------------- // Request // required .GetGlobalState.C2S c2s = 1; inline bool Request::has_c2s() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void Request::set_has_c2s() { _has_bits_[0] |= 0x00000001u; } inline void Request::clear_has_c2s() { _has_bits_[0] &= ~0x00000001u; } inline void Request::clear_c2s() { if (c2s_ != NULL) c2s_->Clear(); clear_has_c2s(); } inline const ::GetGlobalState::C2S& Request::c2s() const { const ::GetGlobalState::C2S* p = c2s_; // @@protoc_insertion_point(field_get:GetGlobalState.Request.c2s) return p != NULL ? *p : *reinterpret_cast( &::GetGlobalState::_C2S_default_instance_); } inline ::GetGlobalState::C2S* Request::release_c2s() { // @@protoc_insertion_point(field_release:GetGlobalState.Request.c2s) clear_has_c2s(); ::GetGlobalState::C2S* temp = c2s_; c2s_ = NULL; return temp; } inline ::GetGlobalState::C2S* Request::mutable_c2s() { set_has_c2s(); if (c2s_ == NULL) { c2s_ = new ::GetGlobalState::C2S; } // @@protoc_insertion_point(field_mutable:GetGlobalState.Request.c2s) return c2s_; } inline void Request::set_allocated_c2s(::GetGlobalState::C2S* c2s) { ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); if (message_arena == NULL) { delete c2s_; } if (c2s) { ::google::protobuf::Arena* submessage_arena = NULL; if (message_arena != submessage_arena) { c2s = ::google::protobuf::internal::GetOwnedMessage( message_arena, c2s, submessage_arena); } set_has_c2s(); } else { clear_has_c2s(); } c2s_ = c2s; // @@protoc_insertion_point(field_set_allocated:GetGlobalState.Request.c2s) } // ------------------------------------------------------------------- // Response // required int32 retType = 1 [default = -400]; inline bool Response::has_rettype() const { return (_has_bits_[0] & 0x00000008u) != 0; } inline void Response::set_has_rettype() { _has_bits_[0] |= 0x00000008u; } inline void Response::clear_has_rettype() { _has_bits_[0] &= ~0x00000008u; } inline void Response::clear_rettype() { rettype_ = -400; clear_has_rettype(); } inline ::google::protobuf::int32 Response::rettype() const { // @@protoc_insertion_point(field_get:GetGlobalState.Response.retType) return rettype_; } inline void Response::set_rettype(::google::protobuf::int32 value) { set_has_rettype(); rettype_ = value; // @@protoc_insertion_point(field_set:GetGlobalState.Response.retType) } // optional string retMsg = 2; inline bool Response::has_retmsg() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void Response::set_has_retmsg() { _has_bits_[0] |= 0x00000001u; } inline void Response::clear_has_retmsg() { _has_bits_[0] &= ~0x00000001u; } inline void Response::clear_retmsg() { retmsg_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); clear_has_retmsg(); } inline const ::std::string& Response::retmsg() const { // @@protoc_insertion_point(field_get:GetGlobalState.Response.retMsg) return retmsg_.GetNoArena(); } inline void Response::set_retmsg(const ::std::string& value) { set_has_retmsg(); retmsg_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); // @@protoc_insertion_point(field_set:GetGlobalState.Response.retMsg) } #if LANG_CXX11 inline void Response::set_retmsg(::std::string&& value) { set_has_retmsg(); retmsg_.SetNoArena( &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:GetGlobalState.Response.retMsg) } #endif inline void Response::set_retmsg(const char* value) { GOOGLE_DCHECK(value != NULL); set_has_retmsg(); retmsg_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:GetGlobalState.Response.retMsg) } inline void Response::set_retmsg(const char* value, size_t size) { set_has_retmsg(); retmsg_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:GetGlobalState.Response.retMsg) } inline ::std::string* Response::mutable_retmsg() { set_has_retmsg(); // @@protoc_insertion_point(field_mutable:GetGlobalState.Response.retMsg) return retmsg_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } inline ::std::string* Response::release_retmsg() { // @@protoc_insertion_point(field_release:GetGlobalState.Response.retMsg) clear_has_retmsg(); return retmsg_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } inline void Response::set_allocated_retmsg(::std::string* retmsg) { if (retmsg != NULL) { set_has_retmsg(); } else { clear_has_retmsg(); } retmsg_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), retmsg); // @@protoc_insertion_point(field_set_allocated:GetGlobalState.Response.retMsg) } // optional int32 errCode = 3; inline bool Response::has_errcode() const { return (_has_bits_[0] & 0x00000004u) != 0; } inline void Response::set_has_errcode() { _has_bits_[0] |= 0x00000004u; } inline void Response::clear_has_errcode() { _has_bits_[0] &= ~0x00000004u; } inline void Response::clear_errcode() { errcode_ = 0; clear_has_errcode(); } inline ::google::protobuf::int32 Response::errcode() const { // @@protoc_insertion_point(field_get:GetGlobalState.Response.errCode) return errcode_; } inline void Response::set_errcode(::google::protobuf::int32 value) { set_has_errcode(); errcode_ = value; // @@protoc_insertion_point(field_set:GetGlobalState.Response.errCode) } // optional .GetGlobalState.S2C s2c = 4; inline bool Response::has_s2c() const { return (_has_bits_[0] & 0x00000002u) != 0; } inline void Response::set_has_s2c() { _has_bits_[0] |= 0x00000002u; } inline void Response::clear_has_s2c() { _has_bits_[0] &= ~0x00000002u; } inline void Response::clear_s2c() { if (s2c_ != NULL) s2c_->Clear(); clear_has_s2c(); } inline const ::GetGlobalState::S2C& Response::s2c() const { const ::GetGlobalState::S2C* p = s2c_; // @@protoc_insertion_point(field_get:GetGlobalState.Response.s2c) return p != NULL ? *p : *reinterpret_cast( &::GetGlobalState::_S2C_default_instance_); } inline ::GetGlobalState::S2C* Response::release_s2c() { // @@protoc_insertion_point(field_release:GetGlobalState.Response.s2c) clear_has_s2c(); ::GetGlobalState::S2C* temp = s2c_; s2c_ = NULL; return temp; } inline ::GetGlobalState::S2C* Response::mutable_s2c() { set_has_s2c(); if (s2c_ == NULL) { s2c_ = new ::GetGlobalState::S2C; } // @@protoc_insertion_point(field_mutable:GetGlobalState.Response.s2c) return s2c_; } inline void Response::set_allocated_s2c(::GetGlobalState::S2C* s2c) { ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); if (message_arena == NULL) { delete s2c_; } if (s2c) { ::google::protobuf::Arena* submessage_arena = NULL; if (message_arena != submessage_arena) { s2c = ::google::protobuf::internal::GetOwnedMessage( message_arena, s2c, submessage_arena); } set_has_s2c(); } else { clear_has_s2c(); } s2c_ = s2c; // @@protoc_insertion_point(field_set_allocated:GetGlobalState.Response.s2c) } #ifdef __GNUC__ #pragma GCC diagnostic pop #endif // __GNUC__ // ------------------------------------------------------------------- // ------------------------------------------------------------------- // ------------------------------------------------------------------- // @@protoc_insertion_point(namespace_scope) } // namespace GetGlobalState // @@protoc_insertion_point(global_scope) #endif // PROTOBUF_GetGlobalState_2eproto__INCLUDED