// Generated by the protocol buffer compiler. DO NOT EDIT! // source: Qot_UpdatePriceReminder.proto #ifndef PROTOBUF_Qot_5fUpdatePriceReminder_2eproto__INCLUDED #define PROTOBUF_Qot_5fUpdatePriceReminder_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 #include "Common.pb.h" #include "Qot_Common.pb.h" // @@protoc_insertion_point(includes) namespace protobuf_Qot_5fUpdatePriceReminder_2eproto { // Internal implementation detail -- do not use these members. struct TableStruct { static const ::google::protobuf::internal::ParseTableField entries[]; static const ::google::protobuf::internal::AuxillaryParseTableField aux[]; static const ::google::protobuf::internal::ParseTable schema[2]; static const ::google::protobuf::internal::FieldMetadata field_metadata[]; static const ::google::protobuf::internal::SerializationTable serialization_table[]; static const ::google::protobuf::uint32 offsets[]; }; void AddDescriptors(); void InitDefaultsS2CImpl(); void InitDefaultsS2C(); void InitDefaultsResponseImpl(); void InitDefaultsResponse(); inline void InitDefaults() { InitDefaultsS2C(); InitDefaultsResponse(); } } // namespace protobuf_Qot_5fUpdatePriceReminder_2eproto namespace Qot_UpdatePriceReminder { class Response; class ResponseDefaultTypeInternal; extern ResponseDefaultTypeInternal _Response_default_instance_; class S2C; class S2CDefaultTypeInternal; extern S2CDefaultTypeInternal _S2C_default_instance_; } // namespace Qot_UpdatePriceReminder namespace Qot_UpdatePriceReminder { enum MarketStatus { MarketStatus_Unknow = 0, MarketStatus_Open = 1, MarketStatus_USPre = 2, MarketStatus_USAfter = 3 }; bool MarketStatus_IsValid(int value); const MarketStatus MarketStatus_MIN = MarketStatus_Unknow; const MarketStatus MarketStatus_MAX = MarketStatus_USAfter; const int MarketStatus_ARRAYSIZE = MarketStatus_MAX + 1; const ::google::protobuf::EnumDescriptor* MarketStatus_descriptor(); inline const ::std::string& MarketStatus_Name(MarketStatus value) { return ::google::protobuf::internal::NameOfEnum( MarketStatus_descriptor(), value); } inline bool MarketStatus_Parse( const ::std::string& name, MarketStatus* value) { return ::google::protobuf::internal::ParseNamedEnum( MarketStatus_descriptor(), name, value); } // =================================================================== class S2C : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Qot_UpdatePriceReminder.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 = 0; 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 ------------------------------------------------------- // required string content = 5; bool has_content() const; void clear_content(); static const int kContentFieldNumber = 5; const ::std::string& content() const; void set_content(const ::std::string& value); #if LANG_CXX11 void set_content(::std::string&& value); #endif void set_content(const char* value); void set_content(const char* value, size_t size); ::std::string* mutable_content(); ::std::string* release_content(); void set_allocated_content(::std::string* content); // required string note = 6; bool has_note() const; void clear_note(); static const int kNoteFieldNumber = 6; const ::std::string& note() const; void set_note(const ::std::string& value); #if LANG_CXX11 void set_note(::std::string&& value); #endif void set_note(const char* value); void set_note(const char* value, size_t size); ::std::string* mutable_note(); ::std::string* release_note(); void set_allocated_note(::std::string* note); // optional string name = 11; bool has_name() const; void clear_name(); static const int kNameFieldNumber = 11; const ::std::string& name() const; void set_name(const ::std::string& value); #if LANG_CXX11 void set_name(::std::string&& value); #endif void set_name(const char* value); void set_name(const char* value, size_t size); ::std::string* mutable_name(); ::std::string* release_name(); void set_allocated_name(::std::string* name); // required .Qot_Common.Security security = 1; bool has_security() const; void clear_security(); static const int kSecurityFieldNumber = 1; const ::Qot_Common::Security& security() const; ::Qot_Common::Security* release_security(); ::Qot_Common::Security* mutable_security(); void set_allocated_security(::Qot_Common::Security* security); // required double price = 2; bool has_price() const; void clear_price(); static const int kPriceFieldNumber = 2; double price() const; void set_price(double value); // required double changeRate = 3; bool has_changerate() const; void clear_changerate(); static const int kChangeRateFieldNumber = 3; double changerate() const; void set_changerate(double value); // required int32 marketStatus = 4; bool has_marketstatus() const; void clear_marketstatus(); static const int kMarketStatusFieldNumber = 4; ::google::protobuf::int32 marketstatus() const; void set_marketstatus(::google::protobuf::int32 value); // optional int32 type = 8; bool has_type() const; void clear_type(); static const int kTypeFieldNumber = 8; ::google::protobuf::int32 type() const; void set_type(::google::protobuf::int32 value); // optional int64 key = 7; bool has_key() const; void clear_key(); static const int kKeyFieldNumber = 7; ::google::protobuf::int64 key() const; void set_key(::google::protobuf::int64 value); // optional double setValue = 9; bool has_setvalue() const; void clear_setvalue(); static const int kSetValueFieldNumber = 9; double setvalue() const; void set_setvalue(double value); // optional double curValue = 10; bool has_curvalue() const; void clear_curvalue(); static const int kCurValueFieldNumber = 10; double curvalue() const; void set_curvalue(double value); // @@protoc_insertion_point(class_scope:Qot_UpdatePriceReminder.S2C) private: void set_has_security(); void clear_has_security(); void set_has_name(); void clear_has_name(); void set_has_price(); void clear_has_price(); void set_has_changerate(); void clear_has_changerate(); void set_has_marketstatus(); void clear_has_marketstatus(); void set_has_content(); void clear_has_content(); void set_has_note(); void clear_has_note(); void set_has_key(); void clear_has_key(); void set_has_type(); void clear_has_type(); void set_has_setvalue(); void clear_has_setvalue(); void set_has_curvalue(); void clear_has_curvalue(); // 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 content_; ::google::protobuf::internal::ArenaStringPtr note_; ::google::protobuf::internal::ArenaStringPtr name_; ::Qot_Common::Security* security_; double price_; double changerate_; ::google::protobuf::int32 marketstatus_; ::google::protobuf::int32 type_; ::google::protobuf::int64 key_; double setvalue_; double curvalue_; friend struct ::protobuf_Qot_5fUpdatePriceReminder_2eproto::TableStruct; friend void ::protobuf_Qot_5fUpdatePriceReminder_2eproto::InitDefaultsS2CImpl(); }; // ------------------------------------------------------------------- class Response : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Qot_UpdatePriceReminder.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 = 1; 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 .Qot_UpdatePriceReminder.S2C s2c = 4; bool has_s2c() const; void clear_s2c(); static const int kS2CFieldNumber = 4; const ::Qot_UpdatePriceReminder::S2C& s2c() const; ::Qot_UpdatePriceReminder::S2C* release_s2c(); ::Qot_UpdatePriceReminder::S2C* mutable_s2c(); void set_allocated_s2c(::Qot_UpdatePriceReminder::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:Qot_UpdatePriceReminder.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_; ::Qot_UpdatePriceReminder::S2C* s2c_; ::google::protobuf::int32 errcode_; ::google::protobuf::int32 rettype_; friend struct ::protobuf_Qot_5fUpdatePriceReminder_2eproto::TableStruct; friend void ::protobuf_Qot_5fUpdatePriceReminder_2eproto::InitDefaultsResponseImpl(); }; // =================================================================== // =================================================================== #ifdef __GNUC__ #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wstrict-aliasing" #endif // __GNUC__ // S2C // required .Qot_Common.Security security = 1; inline bool S2C::has_security() const { return (_has_bits_[0] & 0x00000008u) != 0; } inline void S2C::set_has_security() { _has_bits_[0] |= 0x00000008u; } inline void S2C::clear_has_security() { _has_bits_[0] &= ~0x00000008u; } inline const ::Qot_Common::Security& S2C::security() const { const ::Qot_Common::Security* p = security_; // @@protoc_insertion_point(field_get:Qot_UpdatePriceReminder.S2C.security) return p != NULL ? *p : *reinterpret_cast( &::Qot_Common::_Security_default_instance_); } inline ::Qot_Common::Security* S2C::release_security() { // @@protoc_insertion_point(field_release:Qot_UpdatePriceReminder.S2C.security) clear_has_security(); ::Qot_Common::Security* temp = security_; security_ = NULL; return temp; } inline ::Qot_Common::Security* S2C::mutable_security() { set_has_security(); if (security_ == NULL) { security_ = new ::Qot_Common::Security; } // @@protoc_insertion_point(field_mutable:Qot_UpdatePriceReminder.S2C.security) return security_; } inline void S2C::set_allocated_security(::Qot_Common::Security* security) { ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); if (message_arena == NULL) { delete reinterpret_cast< ::google::protobuf::MessageLite*>(security_); } if (security) { ::google::protobuf::Arena* submessage_arena = NULL; if (message_arena != submessage_arena) { security = ::google::protobuf::internal::GetOwnedMessage( message_arena, security, submessage_arena); } set_has_security(); } else { clear_has_security(); } security_ = security; // @@protoc_insertion_point(field_set_allocated:Qot_UpdatePriceReminder.S2C.security) } // optional string name = 11; inline bool S2C::has_name() const { return (_has_bits_[0] & 0x00000004u) != 0; } inline void S2C::set_has_name() { _has_bits_[0] |= 0x00000004u; } inline void S2C::clear_has_name() { _has_bits_[0] &= ~0x00000004u; } inline void S2C::clear_name() { name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); clear_has_name(); } inline const ::std::string& S2C::name() const { // @@protoc_insertion_point(field_get:Qot_UpdatePriceReminder.S2C.name) return name_.GetNoArena(); } inline void S2C::set_name(const ::std::string& value) { set_has_name(); name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); // @@protoc_insertion_point(field_set:Qot_UpdatePriceReminder.S2C.name) } #if LANG_CXX11 inline void S2C::set_name(::std::string&& value) { set_has_name(); name_.SetNoArena( &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:Qot_UpdatePriceReminder.S2C.name) } #endif inline void S2C::set_name(const char* value) { GOOGLE_DCHECK(value != NULL); set_has_name(); name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:Qot_UpdatePriceReminder.S2C.name) } inline void S2C::set_name(const char* value, size_t size) { set_has_name(); name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:Qot_UpdatePriceReminder.S2C.name) } inline ::std::string* S2C::mutable_name() { set_has_name(); // @@protoc_insertion_point(field_mutable:Qot_UpdatePriceReminder.S2C.name) return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } inline ::std::string* S2C::release_name() { // @@protoc_insertion_point(field_release:Qot_UpdatePriceReminder.S2C.name) clear_has_name(); return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } inline void S2C::set_allocated_name(::std::string* name) { if (name != NULL) { set_has_name(); } else { clear_has_name(); } name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name); // @@protoc_insertion_point(field_set_allocated:Qot_UpdatePriceReminder.S2C.name) } // required double price = 2; inline bool S2C::has_price() const { return (_has_bits_[0] & 0x00000010u) != 0; } inline void S2C::set_has_price() { _has_bits_[0] |= 0x00000010u; } inline void S2C::clear_has_price() { _has_bits_[0] &= ~0x00000010u; } inline void S2C::clear_price() { price_ = 0; clear_has_price(); } inline double S2C::price() const { // @@protoc_insertion_point(field_get:Qot_UpdatePriceReminder.S2C.price) return price_; } inline void S2C::set_price(double value) { set_has_price(); price_ = value; // @@protoc_insertion_point(field_set:Qot_UpdatePriceReminder.S2C.price) } // required double changeRate = 3; inline bool S2C::has_changerate() const { return (_has_bits_[0] & 0x00000020u) != 0; } inline void S2C::set_has_changerate() { _has_bits_[0] |= 0x00000020u; } inline void S2C::clear_has_changerate() { _has_bits_[0] &= ~0x00000020u; } inline void S2C::clear_changerate() { changerate_ = 0; clear_has_changerate(); } inline double S2C::changerate() const { // @@protoc_insertion_point(field_get:Qot_UpdatePriceReminder.S2C.changeRate) return changerate_; } inline void S2C::set_changerate(double value) { set_has_changerate(); changerate_ = value; // @@protoc_insertion_point(field_set:Qot_UpdatePriceReminder.S2C.changeRate) } // required int32 marketStatus = 4; inline bool S2C::has_marketstatus() const { return (_has_bits_[0] & 0x00000040u) != 0; } inline void S2C::set_has_marketstatus() { _has_bits_[0] |= 0x00000040u; } inline void S2C::clear_has_marketstatus() { _has_bits_[0] &= ~0x00000040u; } inline void S2C::clear_marketstatus() { marketstatus_ = 0; clear_has_marketstatus(); } inline ::google::protobuf::int32 S2C::marketstatus() const { // @@protoc_insertion_point(field_get:Qot_UpdatePriceReminder.S2C.marketStatus) return marketstatus_; } inline void S2C::set_marketstatus(::google::protobuf::int32 value) { set_has_marketstatus(); marketstatus_ = value; // @@protoc_insertion_point(field_set:Qot_UpdatePriceReminder.S2C.marketStatus) } // required string content = 5; inline bool S2C::has_content() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void S2C::set_has_content() { _has_bits_[0] |= 0x00000001u; } inline void S2C::clear_has_content() { _has_bits_[0] &= ~0x00000001u; } inline void S2C::clear_content() { content_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); clear_has_content(); } inline const ::std::string& S2C::content() const { // @@protoc_insertion_point(field_get:Qot_UpdatePriceReminder.S2C.content) return content_.GetNoArena(); } inline void S2C::set_content(const ::std::string& value) { set_has_content(); content_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); // @@protoc_insertion_point(field_set:Qot_UpdatePriceReminder.S2C.content) } #if LANG_CXX11 inline void S2C::set_content(::std::string&& value) { set_has_content(); content_.SetNoArena( &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:Qot_UpdatePriceReminder.S2C.content) } #endif inline void S2C::set_content(const char* value) { GOOGLE_DCHECK(value != NULL); set_has_content(); content_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:Qot_UpdatePriceReminder.S2C.content) } inline void S2C::set_content(const char* value, size_t size) { set_has_content(); content_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:Qot_UpdatePriceReminder.S2C.content) } inline ::std::string* S2C::mutable_content() { set_has_content(); // @@protoc_insertion_point(field_mutable:Qot_UpdatePriceReminder.S2C.content) return content_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } inline ::std::string* S2C::release_content() { // @@protoc_insertion_point(field_release:Qot_UpdatePriceReminder.S2C.content) clear_has_content(); return content_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } inline void S2C::set_allocated_content(::std::string* content) { if (content != NULL) { set_has_content(); } else { clear_has_content(); } content_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), content); // @@protoc_insertion_point(field_set_allocated:Qot_UpdatePriceReminder.S2C.content) } // required string note = 6; inline bool S2C::has_note() const { return (_has_bits_[0] & 0x00000002u) != 0; } inline void S2C::set_has_note() { _has_bits_[0] |= 0x00000002u; } inline void S2C::clear_has_note() { _has_bits_[0] &= ~0x00000002u; } inline void S2C::clear_note() { note_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); clear_has_note(); } inline const ::std::string& S2C::note() const { // @@protoc_insertion_point(field_get:Qot_UpdatePriceReminder.S2C.note) return note_.GetNoArena(); } inline void S2C::set_note(const ::std::string& value) { set_has_note(); note_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); // @@protoc_insertion_point(field_set:Qot_UpdatePriceReminder.S2C.note) } #if LANG_CXX11 inline void S2C::set_note(::std::string&& value) { set_has_note(); note_.SetNoArena( &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:Qot_UpdatePriceReminder.S2C.note) } #endif inline void S2C::set_note(const char* value) { GOOGLE_DCHECK(value != NULL); set_has_note(); note_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:Qot_UpdatePriceReminder.S2C.note) } inline void S2C::set_note(const char* value, size_t size) { set_has_note(); note_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:Qot_UpdatePriceReminder.S2C.note) } inline ::std::string* S2C::mutable_note() { set_has_note(); // @@protoc_insertion_point(field_mutable:Qot_UpdatePriceReminder.S2C.note) return note_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } inline ::std::string* S2C::release_note() { // @@protoc_insertion_point(field_release:Qot_UpdatePriceReminder.S2C.note) clear_has_note(); return note_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } inline void S2C::set_allocated_note(::std::string* note) { if (note != NULL) { set_has_note(); } else { clear_has_note(); } note_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), note); // @@protoc_insertion_point(field_set_allocated:Qot_UpdatePriceReminder.S2C.note) } // optional int64 key = 7; inline bool S2C::has_key() const { return (_has_bits_[0] & 0x00000100u) != 0; } inline void S2C::set_has_key() { _has_bits_[0] |= 0x00000100u; } inline void S2C::clear_has_key() { _has_bits_[0] &= ~0x00000100u; } inline void S2C::clear_key() { key_ = GOOGLE_LONGLONG(0); clear_has_key(); } inline ::google::protobuf::int64 S2C::key() const { // @@protoc_insertion_point(field_get:Qot_UpdatePriceReminder.S2C.key) return key_; } inline void S2C::set_key(::google::protobuf::int64 value) { set_has_key(); key_ = value; // @@protoc_insertion_point(field_set:Qot_UpdatePriceReminder.S2C.key) } // optional int32 type = 8; inline bool S2C::has_type() const { return (_has_bits_[0] & 0x00000080u) != 0; } inline void S2C::set_has_type() { _has_bits_[0] |= 0x00000080u; } inline void S2C::clear_has_type() { _has_bits_[0] &= ~0x00000080u; } inline void S2C::clear_type() { type_ = 0; clear_has_type(); } inline ::google::protobuf::int32 S2C::type() const { // @@protoc_insertion_point(field_get:Qot_UpdatePriceReminder.S2C.type) return type_; } inline void S2C::set_type(::google::protobuf::int32 value) { set_has_type(); type_ = value; // @@protoc_insertion_point(field_set:Qot_UpdatePriceReminder.S2C.type) } // optional double setValue = 9; inline bool S2C::has_setvalue() const { return (_has_bits_[0] & 0x00000200u) != 0; } inline void S2C::set_has_setvalue() { _has_bits_[0] |= 0x00000200u; } inline void S2C::clear_has_setvalue() { _has_bits_[0] &= ~0x00000200u; } inline void S2C::clear_setvalue() { setvalue_ = 0; clear_has_setvalue(); } inline double S2C::setvalue() const { // @@protoc_insertion_point(field_get:Qot_UpdatePriceReminder.S2C.setValue) return setvalue_; } inline void S2C::set_setvalue(double value) { set_has_setvalue(); setvalue_ = value; // @@protoc_insertion_point(field_set:Qot_UpdatePriceReminder.S2C.setValue) } // optional double curValue = 10; inline bool S2C::has_curvalue() const { return (_has_bits_[0] & 0x00000400u) != 0; } inline void S2C::set_has_curvalue() { _has_bits_[0] |= 0x00000400u; } inline void S2C::clear_has_curvalue() { _has_bits_[0] &= ~0x00000400u; } inline void S2C::clear_curvalue() { curvalue_ = 0; clear_has_curvalue(); } inline double S2C::curvalue() const { // @@protoc_insertion_point(field_get:Qot_UpdatePriceReminder.S2C.curValue) return curvalue_; } inline void S2C::set_curvalue(double value) { set_has_curvalue(); curvalue_ = value; // @@protoc_insertion_point(field_set:Qot_UpdatePriceReminder.S2C.curValue) } // ------------------------------------------------------------------- // 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:Qot_UpdatePriceReminder.Response.retType) return rettype_; } inline void Response::set_rettype(::google::protobuf::int32 value) { set_has_rettype(); rettype_ = value; // @@protoc_insertion_point(field_set:Qot_UpdatePriceReminder.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:Qot_UpdatePriceReminder.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:Qot_UpdatePriceReminder.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:Qot_UpdatePriceReminder.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:Qot_UpdatePriceReminder.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:Qot_UpdatePriceReminder.Response.retMsg) } inline ::std::string* Response::mutable_retmsg() { set_has_retmsg(); // @@protoc_insertion_point(field_mutable:Qot_UpdatePriceReminder.Response.retMsg) return retmsg_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } inline ::std::string* Response::release_retmsg() { // @@protoc_insertion_point(field_release:Qot_UpdatePriceReminder.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:Qot_UpdatePriceReminder.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:Qot_UpdatePriceReminder.Response.errCode) return errcode_; } inline void Response::set_errcode(::google::protobuf::int32 value) { set_has_errcode(); errcode_ = value; // @@protoc_insertion_point(field_set:Qot_UpdatePriceReminder.Response.errCode) } // optional .Qot_UpdatePriceReminder.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 ::Qot_UpdatePriceReminder::S2C& Response::s2c() const { const ::Qot_UpdatePriceReminder::S2C* p = s2c_; // @@protoc_insertion_point(field_get:Qot_UpdatePriceReminder.Response.s2c) return p != NULL ? *p : *reinterpret_cast( &::Qot_UpdatePriceReminder::_S2C_default_instance_); } inline ::Qot_UpdatePriceReminder::S2C* Response::release_s2c() { // @@protoc_insertion_point(field_release:Qot_UpdatePriceReminder.Response.s2c) clear_has_s2c(); ::Qot_UpdatePriceReminder::S2C* temp = s2c_; s2c_ = NULL; return temp; } inline ::Qot_UpdatePriceReminder::S2C* Response::mutable_s2c() { set_has_s2c(); if (s2c_ == NULL) { s2c_ = new ::Qot_UpdatePriceReminder::S2C; } // @@protoc_insertion_point(field_mutable:Qot_UpdatePriceReminder.Response.s2c) return s2c_; } inline void Response::set_allocated_s2c(::Qot_UpdatePriceReminder::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:Qot_UpdatePriceReminder.Response.s2c) } #ifdef __GNUC__ #pragma GCC diagnostic pop #endif // __GNUC__ // ------------------------------------------------------------------- // @@protoc_insertion_point(namespace_scope) } // namespace Qot_UpdatePriceReminder namespace google { namespace protobuf { template <> struct is_proto_enum< ::Qot_UpdatePriceReminder::MarketStatus> : ::google::protobuf::internal::true_type {}; template <> inline const EnumDescriptor* GetEnumDescriptor< ::Qot_UpdatePriceReminder::MarketStatus>() { return ::Qot_UpdatePriceReminder::MarketStatus_descriptor(); } } // namespace protobuf } // namespace google // @@protoc_insertion_point(global_scope) #endif // PROTOBUF_Qot_5fUpdatePriceReminder_2eproto__INCLUDED