// Generated by the protocol buffer compiler. DO NOT EDIT! // source: client2world_exchange.proto #ifndef PROTOBUF_client2world_5fexchange_2eproto__INCLUDED #define PROTOBUF_client2world_5fexchange_2eproto__INCLUDED #include #include #if GOOGLE_PROTOBUF_VERSION < 2005000 #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 2005000 < 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 "client2world_msg_type.pb.h" #include "msg_type_def.pb.h" #include "msg_info_def.pb.h" // @@protoc_insertion_point(includes) namespace client2world_protocols { // Internal implementation detail -- do not call these. void protobuf_AddDesc_client2world_5fexchange_2eproto(); void protobuf_AssignDesc_client2world_5fexchange_2eproto(); void protobuf_ShutdownFile_client2world_5fexchange_2eproto(); class packetc2w_exchange; class packetw2c_exchange_result; class packetc2w_get_exchange_state; class ExchangeInfo; class packetw2c_get_exchange_state_result; class packetc2w_req_exchange_count; class ExchangeCountInfo; class packetw2c_req_exchange_count_result; // =================================================================== class packetc2w_exchange : public ::google::protobuf::Message { public: packetc2w_exchange(); virtual ~packetc2w_exchange(); packetc2w_exchange(const packetc2w_exchange& from); inline packetc2w_exchange& operator=(const packetc2w_exchange& from) { CopyFrom(from); return *this; } inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { return _unknown_fields_; } inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { return &_unknown_fields_; } static const ::google::protobuf::Descriptor* descriptor(); static const packetc2w_exchange& default_instance(); void Swap(packetc2w_exchange* other); // implements Message ---------------------------------------------- packetc2w_exchange* New() const; void CopyFrom(const ::google::protobuf::Message& from); void MergeFrom(const ::google::protobuf::Message& from); void CopyFrom(const packetc2w_exchange& from); void MergeFrom(const packetc2w_exchange& from); void Clear(); bool IsInitialized() const; int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const; int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_exchange]; inline bool has_packet_id() const; inline void clear_packet_id(); static const int kPacketIdFieldNumber = 1; inline ::client2world_protocols::e_server_msg_type packet_id() const; inline void set_packet_id(::client2world_protocols::e_server_msg_type value); // optional int32 exchangeId = 2; inline bool has_exchangeid() const; inline void clear_exchangeid(); static const int kExchangeIdFieldNumber = 2; inline ::google::protobuf::int32 exchangeid() const; inline void set_exchangeid(::google::protobuf::int32 value); // optional string phone = 3; inline bool has_phone() const; inline void clear_phone(); static const int kPhoneFieldNumber = 3; inline const ::std::string& phone() const; inline void set_phone(const ::std::string& value); inline void set_phone(const char* value); inline void set_phone(const char* value, size_t size); inline ::std::string* mutable_phone(); inline ::std::string* release_phone(); inline void set_allocated_phone(::std::string* phone); // @@protoc_insertion_point(class_scope:client2world_protocols.packetc2w_exchange) private: inline void set_has_packet_id(); inline void clear_has_packet_id(); inline void set_has_exchangeid(); inline void clear_has_exchangeid(); inline void set_has_phone(); inline void clear_has_phone(); ::google::protobuf::UnknownFieldSet _unknown_fields_; int packet_id_; ::google::protobuf::int32 exchangeid_; ::std::string* phone_; mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32]; friend void protobuf_AddDesc_client2world_5fexchange_2eproto(); friend void protobuf_AssignDesc_client2world_5fexchange_2eproto(); friend void protobuf_ShutdownFile_client2world_5fexchange_2eproto(); void InitAsDefaultInstance(); static packetc2w_exchange* default_instance_; }; // ------------------------------------------------------------------- class packetw2c_exchange_result : public ::google::protobuf::Message { public: packetw2c_exchange_result(); virtual ~packetw2c_exchange_result(); packetw2c_exchange_result(const packetw2c_exchange_result& from); inline packetw2c_exchange_result& operator=(const packetw2c_exchange_result& from) { CopyFrom(from); return *this; } inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { return _unknown_fields_; } inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { return &_unknown_fields_; } static const ::google::protobuf::Descriptor* descriptor(); static const packetw2c_exchange_result& default_instance(); void Swap(packetw2c_exchange_result* other); // implements Message ---------------------------------------------- packetw2c_exchange_result* New() const; void CopyFrom(const ::google::protobuf::Message& from); void MergeFrom(const ::google::protobuf::Message& from); void CopyFrom(const packetw2c_exchange_result& from); void MergeFrom(const packetw2c_exchange_result& from); void Clear(); bool IsInitialized() const; int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const; int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_exchange_result]; inline bool has_packet_id() const; inline void clear_packet_id(); static const int kPacketIdFieldNumber = 1; inline ::client2world_protocols::e_server_msg_type packet_id() const; inline void set_packet_id(::client2world_protocols::e_server_msg_type value); // optional int32 exchangeId = 2; inline bool has_exchangeid() const; inline void clear_exchangeid(); static const int kExchangeIdFieldNumber = 2; inline ::google::protobuf::int32 exchangeid() const; inline void set_exchangeid(::google::protobuf::int32 value); // optional int32 result = 3; inline bool has_result() const; inline void clear_result(); static const int kResultFieldNumber = 3; inline ::google::protobuf::int32 result() const; inline void set_result(::google::protobuf::int32 value); // @@protoc_insertion_point(class_scope:client2world_protocols.packetw2c_exchange_result) private: inline void set_has_packet_id(); inline void clear_has_packet_id(); inline void set_has_exchangeid(); inline void clear_has_exchangeid(); inline void set_has_result(); inline void clear_has_result(); ::google::protobuf::UnknownFieldSet _unknown_fields_; int packet_id_; ::google::protobuf::int32 exchangeid_; ::google::protobuf::int32 result_; mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32]; friend void protobuf_AddDesc_client2world_5fexchange_2eproto(); friend void protobuf_AssignDesc_client2world_5fexchange_2eproto(); friend void protobuf_ShutdownFile_client2world_5fexchange_2eproto(); void InitAsDefaultInstance(); static packetw2c_exchange_result* default_instance_; }; // ------------------------------------------------------------------- class packetc2w_get_exchange_state : public ::google::protobuf::Message { public: packetc2w_get_exchange_state(); virtual ~packetc2w_get_exchange_state(); packetc2w_get_exchange_state(const packetc2w_get_exchange_state& from); inline packetc2w_get_exchange_state& operator=(const packetc2w_get_exchange_state& from) { CopyFrom(from); return *this; } inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { return _unknown_fields_; } inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { return &_unknown_fields_; } static const ::google::protobuf::Descriptor* descriptor(); static const packetc2w_get_exchange_state& default_instance(); void Swap(packetc2w_get_exchange_state* other); // implements Message ---------------------------------------------- packetc2w_get_exchange_state* New() const; void CopyFrom(const ::google::protobuf::Message& from); void MergeFrom(const ::google::protobuf::Message& from); void CopyFrom(const packetc2w_get_exchange_state& from); void MergeFrom(const packetc2w_get_exchange_state& from); void Clear(); bool IsInitialized() const; int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const; int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_exchange_state]; inline bool has_packet_id() const; inline void clear_packet_id(); static const int kPacketIdFieldNumber = 1; inline ::client2world_protocols::e_server_msg_type packet_id() const; inline void set_packet_id(::client2world_protocols::e_server_msg_type value); // @@protoc_insertion_point(class_scope:client2world_protocols.packetc2w_get_exchange_state) private: inline void set_has_packet_id(); inline void clear_has_packet_id(); ::google::protobuf::UnknownFieldSet _unknown_fields_; int packet_id_; mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32]; friend void protobuf_AddDesc_client2world_5fexchange_2eproto(); friend void protobuf_AssignDesc_client2world_5fexchange_2eproto(); friend void protobuf_ShutdownFile_client2world_5fexchange_2eproto(); void InitAsDefaultInstance(); static packetc2w_get_exchange_state* default_instance_; }; // ------------------------------------------------------------------- class ExchangeInfo : public ::google::protobuf::Message { public: ExchangeInfo(); virtual ~ExchangeInfo(); ExchangeInfo(const ExchangeInfo& from); inline ExchangeInfo& operator=(const ExchangeInfo& from) { CopyFrom(from); return *this; } inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { return _unknown_fields_; } inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { return &_unknown_fields_; } static const ::google::protobuf::Descriptor* descriptor(); static const ExchangeInfo& default_instance(); void Swap(ExchangeInfo* other); // implements Message ---------------------------------------------- ExchangeInfo* New() const; void CopyFrom(const ::google::protobuf::Message& from); void MergeFrom(const ::google::protobuf::Message& from); void CopyFrom(const ExchangeInfo& from); void MergeFrom(const ExchangeInfo& from); void Clear(); bool IsInitialized() const; int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const; int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- // optional int32 time = 1; inline bool has_time() const; inline void clear_time(); static const int kTimeFieldNumber = 1; inline ::google::protobuf::int32 time() const; inline void set_time(::google::protobuf::int32 value); // optional int32 chgId = 2; inline bool has_chgid() const; inline void clear_chgid(); static const int kChgIdFieldNumber = 2; inline ::google::protobuf::int32 chgid() const; inline void set_chgid(::google::protobuf::int32 value); // optional int32 state = 3; inline bool has_state() const; inline void clear_state(); static const int kStateFieldNumber = 3; inline ::google::protobuf::int32 state() const; inline void set_state(::google::protobuf::int32 value); // @@protoc_insertion_point(class_scope:client2world_protocols.ExchangeInfo) private: inline void set_has_time(); inline void clear_has_time(); inline void set_has_chgid(); inline void clear_has_chgid(); inline void set_has_state(); inline void clear_has_state(); ::google::protobuf::UnknownFieldSet _unknown_fields_; ::google::protobuf::int32 time_; ::google::protobuf::int32 chgid_; ::google::protobuf::int32 state_; mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32]; friend void protobuf_AddDesc_client2world_5fexchange_2eproto(); friend void protobuf_AssignDesc_client2world_5fexchange_2eproto(); friend void protobuf_ShutdownFile_client2world_5fexchange_2eproto(); void InitAsDefaultInstance(); static ExchangeInfo* default_instance_; }; // ------------------------------------------------------------------- class packetw2c_get_exchange_state_result : public ::google::protobuf::Message { public: packetw2c_get_exchange_state_result(); virtual ~packetw2c_get_exchange_state_result(); packetw2c_get_exchange_state_result(const packetw2c_get_exchange_state_result& from); inline packetw2c_get_exchange_state_result& operator=(const packetw2c_get_exchange_state_result& from) { CopyFrom(from); return *this; } inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { return _unknown_fields_; } inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { return &_unknown_fields_; } static const ::google::protobuf::Descriptor* descriptor(); static const packetw2c_get_exchange_state_result& default_instance(); void Swap(packetw2c_get_exchange_state_result* other); // implements Message ---------------------------------------------- packetw2c_get_exchange_state_result* New() const; void CopyFrom(const ::google::protobuf::Message& from); void MergeFrom(const ::google::protobuf::Message& from); void CopyFrom(const packetw2c_get_exchange_state_result& from); void MergeFrom(const packetw2c_get_exchange_state_result& from); void Clear(); bool IsInitialized() const; int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const; int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_exchange_state_result]; inline bool has_packet_id() const; inline void clear_packet_id(); static const int kPacketIdFieldNumber = 1; inline ::client2world_protocols::e_server_msg_type packet_id() const; inline void set_packet_id(::client2world_protocols::e_server_msg_type value); // repeated .client2world_protocols.ExchangeInfo infoList = 2; inline int infolist_size() const; inline void clear_infolist(); static const int kInfoListFieldNumber = 2; inline const ::client2world_protocols::ExchangeInfo& infolist(int index) const; inline ::client2world_protocols::ExchangeInfo* mutable_infolist(int index); inline ::client2world_protocols::ExchangeInfo* add_infolist(); inline const ::google::protobuf::RepeatedPtrField< ::client2world_protocols::ExchangeInfo >& infolist() const; inline ::google::protobuf::RepeatedPtrField< ::client2world_protocols::ExchangeInfo >* mutable_infolist(); // @@protoc_insertion_point(class_scope:client2world_protocols.packetw2c_get_exchange_state_result) private: inline void set_has_packet_id(); inline void clear_has_packet_id(); ::google::protobuf::UnknownFieldSet _unknown_fields_; ::google::protobuf::RepeatedPtrField< ::client2world_protocols::ExchangeInfo > infolist_; int packet_id_; mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; friend void protobuf_AddDesc_client2world_5fexchange_2eproto(); friend void protobuf_AssignDesc_client2world_5fexchange_2eproto(); friend void protobuf_ShutdownFile_client2world_5fexchange_2eproto(); void InitAsDefaultInstance(); static packetw2c_get_exchange_state_result* default_instance_; }; // ------------------------------------------------------------------- class packetc2w_req_exchange_count : public ::google::protobuf::Message { public: packetc2w_req_exchange_count(); virtual ~packetc2w_req_exchange_count(); packetc2w_req_exchange_count(const packetc2w_req_exchange_count& from); inline packetc2w_req_exchange_count& operator=(const packetc2w_req_exchange_count& from) { CopyFrom(from); return *this; } inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { return _unknown_fields_; } inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { return &_unknown_fields_; } static const ::google::protobuf::Descriptor* descriptor(); static const packetc2w_req_exchange_count& default_instance(); void Swap(packetc2w_req_exchange_count* other); // implements Message ---------------------------------------------- packetc2w_req_exchange_count* New() const; void CopyFrom(const ::google::protobuf::Message& from); void MergeFrom(const ::google::protobuf::Message& from); void CopyFrom(const packetc2w_req_exchange_count& from); void MergeFrom(const packetc2w_req_exchange_count& from); void Clear(); bool IsInitialized() const; int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const; int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_req_exchange_count]; inline bool has_packet_id() const; inline void clear_packet_id(); static const int kPacketIdFieldNumber = 1; inline ::client2world_protocols::e_server_msg_type packet_id() const; inline void set_packet_id(::client2world_protocols::e_server_msg_type value); // @@protoc_insertion_point(class_scope:client2world_protocols.packetc2w_req_exchange_count) private: inline void set_has_packet_id(); inline void clear_has_packet_id(); ::google::protobuf::UnknownFieldSet _unknown_fields_; int packet_id_; mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32]; friend void protobuf_AddDesc_client2world_5fexchange_2eproto(); friend void protobuf_AssignDesc_client2world_5fexchange_2eproto(); friend void protobuf_ShutdownFile_client2world_5fexchange_2eproto(); void InitAsDefaultInstance(); static packetc2w_req_exchange_count* default_instance_; }; // ------------------------------------------------------------------- class ExchangeCountInfo : public ::google::protobuf::Message { public: ExchangeCountInfo(); virtual ~ExchangeCountInfo(); ExchangeCountInfo(const ExchangeCountInfo& from); inline ExchangeCountInfo& operator=(const ExchangeCountInfo& from) { CopyFrom(from); return *this; } inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { return _unknown_fields_; } inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { return &_unknown_fields_; } static const ::google::protobuf::Descriptor* descriptor(); static const ExchangeCountInfo& default_instance(); void Swap(ExchangeCountInfo* other); // implements Message ---------------------------------------------- ExchangeCountInfo* New() const; void CopyFrom(const ::google::protobuf::Message& from); void MergeFrom(const ::google::protobuf::Message& from); void CopyFrom(const ExchangeCountInfo& from); void MergeFrom(const ExchangeCountInfo& from); void Clear(); bool IsInitialized() const; int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const; int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- // optional int32 chgId = 1; inline bool has_chgid() const; inline void clear_chgid(); static const int kChgIdFieldNumber = 1; inline ::google::protobuf::int32 chgid() const; inline void set_chgid(::google::protobuf::int32 value); // optional int32 hasExchangeCount = 2; inline bool has_hasexchangecount() const; inline void clear_hasexchangecount(); static const int kHasExchangeCountFieldNumber = 2; inline ::google::protobuf::int32 hasexchangecount() const; inline void set_hasexchangecount(::google::protobuf::int32 value); // @@protoc_insertion_point(class_scope:client2world_protocols.ExchangeCountInfo) private: inline void set_has_chgid(); inline void clear_has_chgid(); inline void set_has_hasexchangecount(); inline void clear_has_hasexchangecount(); ::google::protobuf::UnknownFieldSet _unknown_fields_; ::google::protobuf::int32 chgid_; ::google::protobuf::int32 hasexchangecount_; mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; friend void protobuf_AddDesc_client2world_5fexchange_2eproto(); friend void protobuf_AssignDesc_client2world_5fexchange_2eproto(); friend void protobuf_ShutdownFile_client2world_5fexchange_2eproto(); void InitAsDefaultInstance(); static ExchangeCountInfo* default_instance_; }; // ------------------------------------------------------------------- class packetw2c_req_exchange_count_result : public ::google::protobuf::Message { public: packetw2c_req_exchange_count_result(); virtual ~packetw2c_req_exchange_count_result(); packetw2c_req_exchange_count_result(const packetw2c_req_exchange_count_result& from); inline packetw2c_req_exchange_count_result& operator=(const packetw2c_req_exchange_count_result& from) { CopyFrom(from); return *this; } inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { return _unknown_fields_; } inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { return &_unknown_fields_; } static const ::google::protobuf::Descriptor* descriptor(); static const packetw2c_req_exchange_count_result& default_instance(); void Swap(packetw2c_req_exchange_count_result* other); // implements Message ---------------------------------------------- packetw2c_req_exchange_count_result* New() const; void CopyFrom(const ::google::protobuf::Message& from); void MergeFrom(const ::google::protobuf::Message& from); void CopyFrom(const packetw2c_req_exchange_count_result& from); void MergeFrom(const packetw2c_req_exchange_count_result& from); void Clear(); bool IsInitialized() const; int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const; int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_req_exchange_count_result]; inline bool has_packet_id() const; inline void clear_packet_id(); static const int kPacketIdFieldNumber = 1; inline ::client2world_protocols::e_server_msg_type packet_id() const; inline void set_packet_id(::client2world_protocols::e_server_msg_type value); // repeated .client2world_protocols.ExchangeCountInfo G_InfoList = 2; inline int g_infolist_size() const; inline void clear_g_infolist(); static const int kGInfoListFieldNumber = 2; inline const ::client2world_protocols::ExchangeCountInfo& g_infolist(int index) const; inline ::client2world_protocols::ExchangeCountInfo* mutable_g_infolist(int index); inline ::client2world_protocols::ExchangeCountInfo* add_g_infolist(); inline const ::google::protobuf::RepeatedPtrField< ::client2world_protocols::ExchangeCountInfo >& g_infolist() const; inline ::google::protobuf::RepeatedPtrField< ::client2world_protocols::ExchangeCountInfo >* mutable_g_infolist(); // repeated .client2world_protocols.ExchangeCountInfo P_InfoList = 3; inline int p_infolist_size() const; inline void clear_p_infolist(); static const int kPInfoListFieldNumber = 3; inline const ::client2world_protocols::ExchangeCountInfo& p_infolist(int index) const; inline ::client2world_protocols::ExchangeCountInfo* mutable_p_infolist(int index); inline ::client2world_protocols::ExchangeCountInfo* add_p_infolist(); inline const ::google::protobuf::RepeatedPtrField< ::client2world_protocols::ExchangeCountInfo >& p_infolist() const; inline ::google::protobuf::RepeatedPtrField< ::client2world_protocols::ExchangeCountInfo >* mutable_p_infolist(); // @@protoc_insertion_point(class_scope:client2world_protocols.packetw2c_req_exchange_count_result) private: inline void set_has_packet_id(); inline void clear_has_packet_id(); ::google::protobuf::UnknownFieldSet _unknown_fields_; ::google::protobuf::RepeatedPtrField< ::client2world_protocols::ExchangeCountInfo > g_infolist_; ::google::protobuf::RepeatedPtrField< ::client2world_protocols::ExchangeCountInfo > p_infolist_; int packet_id_; mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32]; friend void protobuf_AddDesc_client2world_5fexchange_2eproto(); friend void protobuf_AssignDesc_client2world_5fexchange_2eproto(); friend void protobuf_ShutdownFile_client2world_5fexchange_2eproto(); void InitAsDefaultInstance(); static packetw2c_req_exchange_count_result* default_instance_; }; // =================================================================== // =================================================================== // packetc2w_exchange // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_exchange]; inline bool packetc2w_exchange::has_packet_id() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void packetc2w_exchange::set_has_packet_id() { _has_bits_[0] |= 0x00000001u; } inline void packetc2w_exchange::clear_has_packet_id() { _has_bits_[0] &= ~0x00000001u; } inline void packetc2w_exchange::clear_packet_id() { packet_id_ = 5022; clear_has_packet_id(); } inline ::client2world_protocols::e_server_msg_type packetc2w_exchange::packet_id() const { return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_); } inline void packetc2w_exchange::set_packet_id(::client2world_protocols::e_server_msg_type value) { assert(::client2world_protocols::e_server_msg_type_IsValid(value)); set_has_packet_id(); packet_id_ = value; } // optional int32 exchangeId = 2; inline bool packetc2w_exchange::has_exchangeid() const { return (_has_bits_[0] & 0x00000002u) != 0; } inline void packetc2w_exchange::set_has_exchangeid() { _has_bits_[0] |= 0x00000002u; } inline void packetc2w_exchange::clear_has_exchangeid() { _has_bits_[0] &= ~0x00000002u; } inline void packetc2w_exchange::clear_exchangeid() { exchangeid_ = 0; clear_has_exchangeid(); } inline ::google::protobuf::int32 packetc2w_exchange::exchangeid() const { return exchangeid_; } inline void packetc2w_exchange::set_exchangeid(::google::protobuf::int32 value) { set_has_exchangeid(); exchangeid_ = value; } // optional string phone = 3; inline bool packetc2w_exchange::has_phone() const { return (_has_bits_[0] & 0x00000004u) != 0; } inline void packetc2w_exchange::set_has_phone() { _has_bits_[0] |= 0x00000004u; } inline void packetc2w_exchange::clear_has_phone() { _has_bits_[0] &= ~0x00000004u; } inline void packetc2w_exchange::clear_phone() { if (phone_ != &::google::protobuf::internal::kEmptyString) { phone_->clear(); } clear_has_phone(); } inline const ::std::string& packetc2w_exchange::phone() const { return *phone_; } inline void packetc2w_exchange::set_phone(const ::std::string& value) { set_has_phone(); if (phone_ == &::google::protobuf::internal::kEmptyString) { phone_ = new ::std::string; } phone_->assign(value); } inline void packetc2w_exchange::set_phone(const char* value) { set_has_phone(); if (phone_ == &::google::protobuf::internal::kEmptyString) { phone_ = new ::std::string; } phone_->assign(value); } inline void packetc2w_exchange::set_phone(const char* value, size_t size) { set_has_phone(); if (phone_ == &::google::protobuf::internal::kEmptyString) { phone_ = new ::std::string; } phone_->assign(reinterpret_cast(value), size); } inline ::std::string* packetc2w_exchange::mutable_phone() { set_has_phone(); if (phone_ == &::google::protobuf::internal::kEmptyString) { phone_ = new ::std::string; } return phone_; } inline ::std::string* packetc2w_exchange::release_phone() { clear_has_phone(); if (phone_ == &::google::protobuf::internal::kEmptyString) { return NULL; } else { ::std::string* temp = phone_; phone_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); return temp; } } inline void packetc2w_exchange::set_allocated_phone(::std::string* phone) { if (phone_ != &::google::protobuf::internal::kEmptyString) { delete phone_; } if (phone) { set_has_phone(); phone_ = phone; } else { clear_has_phone(); phone_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); } } // ------------------------------------------------------------------- // packetw2c_exchange_result // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_exchange_result]; inline bool packetw2c_exchange_result::has_packet_id() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void packetw2c_exchange_result::set_has_packet_id() { _has_bits_[0] |= 0x00000001u; } inline void packetw2c_exchange_result::clear_has_packet_id() { _has_bits_[0] &= ~0x00000001u; } inline void packetw2c_exchange_result::clear_packet_id() { packet_id_ = 7524; clear_has_packet_id(); } inline ::client2world_protocols::e_server_msg_type packetw2c_exchange_result::packet_id() const { return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_); } inline void packetw2c_exchange_result::set_packet_id(::client2world_protocols::e_server_msg_type value) { assert(::client2world_protocols::e_server_msg_type_IsValid(value)); set_has_packet_id(); packet_id_ = value; } // optional int32 exchangeId = 2; inline bool packetw2c_exchange_result::has_exchangeid() const { return (_has_bits_[0] & 0x00000002u) != 0; } inline void packetw2c_exchange_result::set_has_exchangeid() { _has_bits_[0] |= 0x00000002u; } inline void packetw2c_exchange_result::clear_has_exchangeid() { _has_bits_[0] &= ~0x00000002u; } inline void packetw2c_exchange_result::clear_exchangeid() { exchangeid_ = 0; clear_has_exchangeid(); } inline ::google::protobuf::int32 packetw2c_exchange_result::exchangeid() const { return exchangeid_; } inline void packetw2c_exchange_result::set_exchangeid(::google::protobuf::int32 value) { set_has_exchangeid(); exchangeid_ = value; } // optional int32 result = 3; inline bool packetw2c_exchange_result::has_result() const { return (_has_bits_[0] & 0x00000004u) != 0; } inline void packetw2c_exchange_result::set_has_result() { _has_bits_[0] |= 0x00000004u; } inline void packetw2c_exchange_result::clear_has_result() { _has_bits_[0] &= ~0x00000004u; } inline void packetw2c_exchange_result::clear_result() { result_ = 0; clear_has_result(); } inline ::google::protobuf::int32 packetw2c_exchange_result::result() const { return result_; } inline void packetw2c_exchange_result::set_result(::google::protobuf::int32 value) { set_has_result(); result_ = value; } // ------------------------------------------------------------------- // packetc2w_get_exchange_state // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_exchange_state]; inline bool packetc2w_get_exchange_state::has_packet_id() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void packetc2w_get_exchange_state::set_has_packet_id() { _has_bits_[0] |= 0x00000001u; } inline void packetc2w_get_exchange_state::clear_has_packet_id() { _has_bits_[0] &= ~0x00000001u; } inline void packetc2w_get_exchange_state::clear_packet_id() { packet_id_ = 5047; clear_has_packet_id(); } inline ::client2world_protocols::e_server_msg_type packetc2w_get_exchange_state::packet_id() const { return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_); } inline void packetc2w_get_exchange_state::set_packet_id(::client2world_protocols::e_server_msg_type value) { assert(::client2world_protocols::e_server_msg_type_IsValid(value)); set_has_packet_id(); packet_id_ = value; } // ------------------------------------------------------------------- // ExchangeInfo // optional int32 time = 1; inline bool ExchangeInfo::has_time() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void ExchangeInfo::set_has_time() { _has_bits_[0] |= 0x00000001u; } inline void ExchangeInfo::clear_has_time() { _has_bits_[0] &= ~0x00000001u; } inline void ExchangeInfo::clear_time() { time_ = 0; clear_has_time(); } inline ::google::protobuf::int32 ExchangeInfo::time() const { return time_; } inline void ExchangeInfo::set_time(::google::protobuf::int32 value) { set_has_time(); time_ = value; } // optional int32 chgId = 2; inline bool ExchangeInfo::has_chgid() const { return (_has_bits_[0] & 0x00000002u) != 0; } inline void ExchangeInfo::set_has_chgid() { _has_bits_[0] |= 0x00000002u; } inline void ExchangeInfo::clear_has_chgid() { _has_bits_[0] &= ~0x00000002u; } inline void ExchangeInfo::clear_chgid() { chgid_ = 0; clear_has_chgid(); } inline ::google::protobuf::int32 ExchangeInfo::chgid() const { return chgid_; } inline void ExchangeInfo::set_chgid(::google::protobuf::int32 value) { set_has_chgid(); chgid_ = value; } // optional int32 state = 3; inline bool ExchangeInfo::has_state() const { return (_has_bits_[0] & 0x00000004u) != 0; } inline void ExchangeInfo::set_has_state() { _has_bits_[0] |= 0x00000004u; } inline void ExchangeInfo::clear_has_state() { _has_bits_[0] &= ~0x00000004u; } inline void ExchangeInfo::clear_state() { state_ = 0; clear_has_state(); } inline ::google::protobuf::int32 ExchangeInfo::state() const { return state_; } inline void ExchangeInfo::set_state(::google::protobuf::int32 value) { set_has_state(); state_ = value; } // ------------------------------------------------------------------- // packetw2c_get_exchange_state_result // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_exchange_state_result]; inline bool packetw2c_get_exchange_state_result::has_packet_id() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void packetw2c_get_exchange_state_result::set_has_packet_id() { _has_bits_[0] |= 0x00000001u; } inline void packetw2c_get_exchange_state_result::clear_has_packet_id() { _has_bits_[0] &= ~0x00000001u; } inline void packetw2c_get_exchange_state_result::clear_packet_id() { packet_id_ = 7551; clear_has_packet_id(); } inline ::client2world_protocols::e_server_msg_type packetw2c_get_exchange_state_result::packet_id() const { return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_); } inline void packetw2c_get_exchange_state_result::set_packet_id(::client2world_protocols::e_server_msg_type value) { assert(::client2world_protocols::e_server_msg_type_IsValid(value)); set_has_packet_id(); packet_id_ = value; } // repeated .client2world_protocols.ExchangeInfo infoList = 2; inline int packetw2c_get_exchange_state_result::infolist_size() const { return infolist_.size(); } inline void packetw2c_get_exchange_state_result::clear_infolist() { infolist_.Clear(); } inline const ::client2world_protocols::ExchangeInfo& packetw2c_get_exchange_state_result::infolist(int index) const { return infolist_.Get(index); } inline ::client2world_protocols::ExchangeInfo* packetw2c_get_exchange_state_result::mutable_infolist(int index) { return infolist_.Mutable(index); } inline ::client2world_protocols::ExchangeInfo* packetw2c_get_exchange_state_result::add_infolist() { return infolist_.Add(); } inline const ::google::protobuf::RepeatedPtrField< ::client2world_protocols::ExchangeInfo >& packetw2c_get_exchange_state_result::infolist() const { return infolist_; } inline ::google::protobuf::RepeatedPtrField< ::client2world_protocols::ExchangeInfo >* packetw2c_get_exchange_state_result::mutable_infolist() { return &infolist_; } // ------------------------------------------------------------------- // packetc2w_req_exchange_count // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_req_exchange_count]; inline bool packetc2w_req_exchange_count::has_packet_id() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void packetc2w_req_exchange_count::set_has_packet_id() { _has_bits_[0] |= 0x00000001u; } inline void packetc2w_req_exchange_count::clear_has_packet_id() { _has_bits_[0] &= ~0x00000001u; } inline void packetc2w_req_exchange_count::clear_packet_id() { packet_id_ = 5079; clear_has_packet_id(); } inline ::client2world_protocols::e_server_msg_type packetc2w_req_exchange_count::packet_id() const { return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_); } inline void packetc2w_req_exchange_count::set_packet_id(::client2world_protocols::e_server_msg_type value) { assert(::client2world_protocols::e_server_msg_type_IsValid(value)); set_has_packet_id(); packet_id_ = value; } // ------------------------------------------------------------------- // ExchangeCountInfo // optional int32 chgId = 1; inline bool ExchangeCountInfo::has_chgid() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void ExchangeCountInfo::set_has_chgid() { _has_bits_[0] |= 0x00000001u; } inline void ExchangeCountInfo::clear_has_chgid() { _has_bits_[0] &= ~0x00000001u; } inline void ExchangeCountInfo::clear_chgid() { chgid_ = 0; clear_has_chgid(); } inline ::google::protobuf::int32 ExchangeCountInfo::chgid() const { return chgid_; } inline void ExchangeCountInfo::set_chgid(::google::protobuf::int32 value) { set_has_chgid(); chgid_ = value; } // optional int32 hasExchangeCount = 2; inline bool ExchangeCountInfo::has_hasexchangecount() const { return (_has_bits_[0] & 0x00000002u) != 0; } inline void ExchangeCountInfo::set_has_hasexchangecount() { _has_bits_[0] |= 0x00000002u; } inline void ExchangeCountInfo::clear_has_hasexchangecount() { _has_bits_[0] &= ~0x00000002u; } inline void ExchangeCountInfo::clear_hasexchangecount() { hasexchangecount_ = 0; clear_has_hasexchangecount(); } inline ::google::protobuf::int32 ExchangeCountInfo::hasexchangecount() const { return hasexchangecount_; } inline void ExchangeCountInfo::set_hasexchangecount(::google::protobuf::int32 value) { set_has_hasexchangecount(); hasexchangecount_ = value; } // ------------------------------------------------------------------- // packetw2c_req_exchange_count_result // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_req_exchange_count_result]; inline bool packetw2c_req_exchange_count_result::has_packet_id() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void packetw2c_req_exchange_count_result::set_has_packet_id() { _has_bits_[0] |= 0x00000001u; } inline void packetw2c_req_exchange_count_result::clear_has_packet_id() { _has_bits_[0] &= ~0x00000001u; } inline void packetw2c_req_exchange_count_result::clear_packet_id() { packet_id_ = 7585; clear_has_packet_id(); } inline ::client2world_protocols::e_server_msg_type packetw2c_req_exchange_count_result::packet_id() const { return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_); } inline void packetw2c_req_exchange_count_result::set_packet_id(::client2world_protocols::e_server_msg_type value) { assert(::client2world_protocols::e_server_msg_type_IsValid(value)); set_has_packet_id(); packet_id_ = value; } // repeated .client2world_protocols.ExchangeCountInfo G_InfoList = 2; inline int packetw2c_req_exchange_count_result::g_infolist_size() const { return g_infolist_.size(); } inline void packetw2c_req_exchange_count_result::clear_g_infolist() { g_infolist_.Clear(); } inline const ::client2world_protocols::ExchangeCountInfo& packetw2c_req_exchange_count_result::g_infolist(int index) const { return g_infolist_.Get(index); } inline ::client2world_protocols::ExchangeCountInfo* packetw2c_req_exchange_count_result::mutable_g_infolist(int index) { return g_infolist_.Mutable(index); } inline ::client2world_protocols::ExchangeCountInfo* packetw2c_req_exchange_count_result::add_g_infolist() { return g_infolist_.Add(); } inline const ::google::protobuf::RepeatedPtrField< ::client2world_protocols::ExchangeCountInfo >& packetw2c_req_exchange_count_result::g_infolist() const { return g_infolist_; } inline ::google::protobuf::RepeatedPtrField< ::client2world_protocols::ExchangeCountInfo >* packetw2c_req_exchange_count_result::mutable_g_infolist() { return &g_infolist_; } // repeated .client2world_protocols.ExchangeCountInfo P_InfoList = 3; inline int packetw2c_req_exchange_count_result::p_infolist_size() const { return p_infolist_.size(); } inline void packetw2c_req_exchange_count_result::clear_p_infolist() { p_infolist_.Clear(); } inline const ::client2world_protocols::ExchangeCountInfo& packetw2c_req_exchange_count_result::p_infolist(int index) const { return p_infolist_.Get(index); } inline ::client2world_protocols::ExchangeCountInfo* packetw2c_req_exchange_count_result::mutable_p_infolist(int index) { return p_infolist_.Mutable(index); } inline ::client2world_protocols::ExchangeCountInfo* packetw2c_req_exchange_count_result::add_p_infolist() { return p_infolist_.Add(); } inline const ::google::protobuf::RepeatedPtrField< ::client2world_protocols::ExchangeCountInfo >& packetw2c_req_exchange_count_result::p_infolist() const { return p_infolist_; } inline ::google::protobuf::RepeatedPtrField< ::client2world_protocols::ExchangeCountInfo >* packetw2c_req_exchange_count_result::mutable_p_infolist() { return &p_infolist_; } // @@protoc_insertion_point(namespace_scope) } // namespace client2world_protocols #ifndef SWIG namespace google { namespace protobuf { } // namespace google } // namespace protobuf #endif // SWIG // @@protoc_insertion_point(global_scope) #endif // PROTOBUF_client2world_5fexchange_2eproto__INCLUDED