Files
QTradeProgram/include/Proto/InitConnect.pb.h

1434 lines
48 KiB
C
Raw Normal View History

2025-08-15 15:57:31 +08:00
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: InitConnect.proto
#ifndef PROTOBUF_InitConnect_2eproto__INCLUDED
#define PROTOBUF_InitConnect_2eproto__INCLUDED
#include <string>
#include <google/protobuf/stubs/common.h>
#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 <google/protobuf/io/coded_stream.h>
#include <google/protobuf/arena.h>
#include <google/protobuf/arenastring.h>
#include <google/protobuf/generated_message_table_driven.h>
#include <google/protobuf/generated_message_util.h>
#include <google/protobuf/metadata.h>
#include <google/protobuf/message.h>
#include <google/protobuf/repeated_field.h> // IWYU pragma: export
#include <google/protobuf/extension_set.h> // IWYU pragma: export
#include <google/protobuf/unknown_field_set.h>
#include "Common.pb.h"
// @@protoc_insertion_point(includes)
namespace protobuf_InitConnect_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_InitConnect_2eproto
namespace InitConnect {
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 InitConnect
namespace InitConnect {
// ===================================================================
class C2S : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:InitConnect.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<const C2S*>(
&_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 string clientID = 2;
bool has_clientid() const;
void clear_clientid();
static const int kClientIDFieldNumber = 2;
const ::std::string& clientid() const;
void set_clientid(const ::std::string& value);
#if LANG_CXX11
void set_clientid(::std::string&& value);
#endif
void set_clientid(const char* value);
void set_clientid(const char* value, size_t size);
::std::string* mutable_clientid();
::std::string* release_clientid();
void set_allocated_clientid(::std::string* clientid);
// optional string programmingLanguage = 6;
bool has_programminglanguage() const;
void clear_programminglanguage();
static const int kProgrammingLanguageFieldNumber = 6;
const ::std::string& programminglanguage() const;
void set_programminglanguage(const ::std::string& value);
#if LANG_CXX11
void set_programminglanguage(::std::string&& value);
#endif
void set_programminglanguage(const char* value);
void set_programminglanguage(const char* value, size_t size);
::std::string* mutable_programminglanguage();
::std::string* release_programminglanguage();
void set_allocated_programminglanguage(::std::string* programminglanguage);
// required int32 clientVer = 1;
bool has_clientver() const;
void clear_clientver();
static const int kClientVerFieldNumber = 1;
::google::protobuf::int32 clientver() const;
void set_clientver(::google::protobuf::int32 value);
// optional bool recvNotify = 3;
bool has_recvnotify() const;
void clear_recvnotify();
static const int kRecvNotifyFieldNumber = 3;
bool recvnotify() const;
void set_recvnotify(bool value);
// optional int32 packetEncAlgo = 4;
bool has_packetencalgo() const;
void clear_packetencalgo();
static const int kPacketEncAlgoFieldNumber = 4;
::google::protobuf::int32 packetencalgo() const;
void set_packetencalgo(::google::protobuf::int32 value);
// optional int32 pushProtoFmt = 5;
bool has_pushprotofmt() const;
void clear_pushprotofmt();
static const int kPushProtoFmtFieldNumber = 5;
::google::protobuf::int32 pushprotofmt() const;
void set_pushprotofmt(::google::protobuf::int32 value);
// @@protoc_insertion_point(class_scope:InitConnect.C2S)
private:
void set_has_clientver();
void clear_has_clientver();
void set_has_clientid();
void clear_has_clientid();
void set_has_recvnotify();
void clear_has_recvnotify();
void set_has_packetencalgo();
void clear_has_packetencalgo();
void set_has_pushprotofmt();
void clear_has_pushprotofmt();
void set_has_programminglanguage();
void clear_has_programminglanguage();
// 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 clientid_;
::google::protobuf::internal::ArenaStringPtr programminglanguage_;
::google::protobuf::int32 clientver_;
bool recvnotify_;
::google::protobuf::int32 packetencalgo_;
::google::protobuf::int32 pushprotofmt_;
friend struct ::protobuf_InitConnect_2eproto::TableStruct;
friend void ::protobuf_InitConnect_2eproto::InitDefaultsC2SImpl();
};
// -------------------------------------------------------------------
class S2C : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:InitConnect.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<const S2C*>(
&_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 -------------------------------------------------------
// required string connAESKey = 4;
bool has_connaeskey() const;
void clear_connaeskey();
static const int kConnAESKeyFieldNumber = 4;
const ::std::string& connaeskey() const;
void set_connaeskey(const ::std::string& value);
#if LANG_CXX11
void set_connaeskey(::std::string&& value);
#endif
void set_connaeskey(const char* value);
void set_connaeskey(const char* value, size_t size);
::std::string* mutable_connaeskey();
::std::string* release_connaeskey();
void set_allocated_connaeskey(::std::string* connaeskey);
// optional string aesCBCiv = 6;
bool has_aescbciv() const;
void clear_aescbciv();
static const int kAesCBCivFieldNumber = 6;
const ::std::string& aescbciv() const;
void set_aescbciv(const ::std::string& value);
#if LANG_CXX11
void set_aescbciv(::std::string&& value);
#endif
void set_aescbciv(const char* value);
void set_aescbciv(const char* value, size_t size);
::std::string* mutable_aescbciv();
::std::string* release_aescbciv();
void set_allocated_aescbciv(::std::string* aescbciv);
// required uint64 loginUserID = 2;
bool has_loginuserid() const;
void clear_loginuserid();
static const int kLoginUserIDFieldNumber = 2;
::google::protobuf::uint64 loginuserid() const;
void set_loginuserid(::google::protobuf::uint64 value);
// required uint64 connID = 3;
bool has_connid() const;
void clear_connid();
static const int kConnIDFieldNumber = 3;
::google::protobuf::uint64 connid() const;
void set_connid(::google::protobuf::uint64 value);
// required int32 serverVer = 1;
bool has_serverver() const;
void clear_serverver();
static const int kServerVerFieldNumber = 1;
::google::protobuf::int32 serverver() const;
void set_serverver(::google::protobuf::int32 value);
// required int32 keepAliveInterval = 5;
bool has_keepaliveinterval() const;
void clear_keepaliveinterval();
static const int kKeepAliveIntervalFieldNumber = 5;
::google::protobuf::int32 keepaliveinterval() const;
void set_keepaliveinterval(::google::protobuf::int32 value);
// optional int32 userAttribution = 7;
bool has_userattribution() const;
void clear_userattribution();
static const int kUserAttributionFieldNumber = 7;
::google::protobuf::int32 userattribution() const;
void set_userattribution(::google::protobuf::int32 value);
// @@protoc_insertion_point(class_scope:InitConnect.S2C)
private:
void set_has_serverver();
void clear_has_serverver();
void set_has_loginuserid();
void clear_has_loginuserid();
void set_has_connid();
void clear_has_connid();
void set_has_connaeskey();
void clear_has_connaeskey();
void set_has_keepaliveinterval();
void clear_has_keepaliveinterval();
void set_has_aescbciv();
void clear_has_aescbciv();
void set_has_userattribution();
void clear_has_userattribution();
// 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 connaeskey_;
::google::protobuf::internal::ArenaStringPtr aescbciv_;
::google::protobuf::uint64 loginuserid_;
::google::protobuf::uint64 connid_;
::google::protobuf::int32 serverver_;
::google::protobuf::int32 keepaliveinterval_;
::google::protobuf::int32 userattribution_;
friend struct ::protobuf_InitConnect_2eproto::TableStruct;
friend void ::protobuf_InitConnect_2eproto::InitDefaultsS2CImpl();
};
// -------------------------------------------------------------------
class Request : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:InitConnect.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<const Request*>(
&_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 .InitConnect.C2S c2s = 1;
bool has_c2s() const;
void clear_c2s();
static const int kC2SFieldNumber = 1;
const ::InitConnect::C2S& c2s() const;
::InitConnect::C2S* release_c2s();
::InitConnect::C2S* mutable_c2s();
void set_allocated_c2s(::InitConnect::C2S* c2s);
// @@protoc_insertion_point(class_scope:InitConnect.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_;
::InitConnect::C2S* c2s_;
friend struct ::protobuf_InitConnect_2eproto::TableStruct;
friend void ::protobuf_InitConnect_2eproto::InitDefaultsRequestImpl();
};
// -------------------------------------------------------------------
class Response : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:InitConnect.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<const Response*>(
&_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 .InitConnect.S2C s2c = 4;
bool has_s2c() const;
void clear_s2c();
static const int kS2CFieldNumber = 4;
const ::InitConnect::S2C& s2c() const;
::InitConnect::S2C* release_s2c();
::InitConnect::S2C* mutable_s2c();
void set_allocated_s2c(::InitConnect::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:InitConnect.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_;
::InitConnect::S2C* s2c_;
::google::protobuf::int32 errcode_;
::google::protobuf::int32 rettype_;
friend struct ::protobuf_InitConnect_2eproto::TableStruct;
friend void ::protobuf_InitConnect_2eproto::InitDefaultsResponseImpl();
};
// ===================================================================
// ===================================================================
#ifdef __GNUC__
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
#endif // __GNUC__
// C2S
// required int32 clientVer = 1;
inline bool C2S::has_clientver() const {
return (_has_bits_[0] & 0x00000004u) != 0;
}
inline void C2S::set_has_clientver() {
_has_bits_[0] |= 0x00000004u;
}
inline void C2S::clear_has_clientver() {
_has_bits_[0] &= ~0x00000004u;
}
inline void C2S::clear_clientver() {
clientver_ = 0;
clear_has_clientver();
}
inline ::google::protobuf::int32 C2S::clientver() const {
// @@protoc_insertion_point(field_get:InitConnect.C2S.clientVer)
return clientver_;
}
inline void C2S::set_clientver(::google::protobuf::int32 value) {
set_has_clientver();
clientver_ = value;
// @@protoc_insertion_point(field_set:InitConnect.C2S.clientVer)
}
// required string clientID = 2;
inline bool C2S::has_clientid() const {
return (_has_bits_[0] & 0x00000001u) != 0;
}
inline void C2S::set_has_clientid() {
_has_bits_[0] |= 0x00000001u;
}
inline void C2S::clear_has_clientid() {
_has_bits_[0] &= ~0x00000001u;
}
inline void C2S::clear_clientid() {
clientid_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
clear_has_clientid();
}
inline const ::std::string& C2S::clientid() const {
// @@protoc_insertion_point(field_get:InitConnect.C2S.clientID)
return clientid_.GetNoArena();
}
inline void C2S::set_clientid(const ::std::string& value) {
set_has_clientid();
clientid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
// @@protoc_insertion_point(field_set:InitConnect.C2S.clientID)
}
#if LANG_CXX11
inline void C2S::set_clientid(::std::string&& value) {
set_has_clientid();
clientid_.SetNoArena(
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
// @@protoc_insertion_point(field_set_rvalue:InitConnect.C2S.clientID)
}
#endif
inline void C2S::set_clientid(const char* value) {
GOOGLE_DCHECK(value != NULL);
set_has_clientid();
clientid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
// @@protoc_insertion_point(field_set_char:InitConnect.C2S.clientID)
}
inline void C2S::set_clientid(const char* value, size_t size) {
set_has_clientid();
clientid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
::std::string(reinterpret_cast<const char*>(value), size));
// @@protoc_insertion_point(field_set_pointer:InitConnect.C2S.clientID)
}
inline ::std::string* C2S::mutable_clientid() {
set_has_clientid();
// @@protoc_insertion_point(field_mutable:InitConnect.C2S.clientID)
return clientid_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline ::std::string* C2S::release_clientid() {
// @@protoc_insertion_point(field_release:InitConnect.C2S.clientID)
clear_has_clientid();
return clientid_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void C2S::set_allocated_clientid(::std::string* clientid) {
if (clientid != NULL) {
set_has_clientid();
} else {
clear_has_clientid();
}
clientid_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), clientid);
// @@protoc_insertion_point(field_set_allocated:InitConnect.C2S.clientID)
}
// optional bool recvNotify = 3;
inline bool C2S::has_recvnotify() const {
return (_has_bits_[0] & 0x00000008u) != 0;
}
inline void C2S::set_has_recvnotify() {
_has_bits_[0] |= 0x00000008u;
}
inline void C2S::clear_has_recvnotify() {
_has_bits_[0] &= ~0x00000008u;
}
inline void C2S::clear_recvnotify() {
recvnotify_ = false;
clear_has_recvnotify();
}
inline bool C2S::recvnotify() const {
// @@protoc_insertion_point(field_get:InitConnect.C2S.recvNotify)
return recvnotify_;
}
inline void C2S::set_recvnotify(bool value) {
set_has_recvnotify();
recvnotify_ = value;
// @@protoc_insertion_point(field_set:InitConnect.C2S.recvNotify)
}
// optional int32 packetEncAlgo = 4;
inline bool C2S::has_packetencalgo() const {
return (_has_bits_[0] & 0x00000010u) != 0;
}
inline void C2S::set_has_packetencalgo() {
_has_bits_[0] |= 0x00000010u;
}
inline void C2S::clear_has_packetencalgo() {
_has_bits_[0] &= ~0x00000010u;
}
inline void C2S::clear_packetencalgo() {
packetencalgo_ = 0;
clear_has_packetencalgo();
}
inline ::google::protobuf::int32 C2S::packetencalgo() const {
// @@protoc_insertion_point(field_get:InitConnect.C2S.packetEncAlgo)
return packetencalgo_;
}
inline void C2S::set_packetencalgo(::google::protobuf::int32 value) {
set_has_packetencalgo();
packetencalgo_ = value;
// @@protoc_insertion_point(field_set:InitConnect.C2S.packetEncAlgo)
}
// optional int32 pushProtoFmt = 5;
inline bool C2S::has_pushprotofmt() const {
return (_has_bits_[0] & 0x00000020u) != 0;
}
inline void C2S::set_has_pushprotofmt() {
_has_bits_[0] |= 0x00000020u;
}
inline void C2S::clear_has_pushprotofmt() {
_has_bits_[0] &= ~0x00000020u;
}
inline void C2S::clear_pushprotofmt() {
pushprotofmt_ = 0;
clear_has_pushprotofmt();
}
inline ::google::protobuf::int32 C2S::pushprotofmt() const {
// @@protoc_insertion_point(field_get:InitConnect.C2S.pushProtoFmt)
return pushprotofmt_;
}
inline void C2S::set_pushprotofmt(::google::protobuf::int32 value) {
set_has_pushprotofmt();
pushprotofmt_ = value;
// @@protoc_insertion_point(field_set:InitConnect.C2S.pushProtoFmt)
}
// optional string programmingLanguage = 6;
inline bool C2S::has_programminglanguage() const {
return (_has_bits_[0] & 0x00000002u) != 0;
}
inline void C2S::set_has_programminglanguage() {
_has_bits_[0] |= 0x00000002u;
}
inline void C2S::clear_has_programminglanguage() {
_has_bits_[0] &= ~0x00000002u;
}
inline void C2S::clear_programminglanguage() {
programminglanguage_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
clear_has_programminglanguage();
}
inline const ::std::string& C2S::programminglanguage() const {
// @@protoc_insertion_point(field_get:InitConnect.C2S.programmingLanguage)
return programminglanguage_.GetNoArena();
}
inline void C2S::set_programminglanguage(const ::std::string& value) {
set_has_programminglanguage();
programminglanguage_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
// @@protoc_insertion_point(field_set:InitConnect.C2S.programmingLanguage)
}
#if LANG_CXX11
inline void C2S::set_programminglanguage(::std::string&& value) {
set_has_programminglanguage();
programminglanguage_.SetNoArena(
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
// @@protoc_insertion_point(field_set_rvalue:InitConnect.C2S.programmingLanguage)
}
#endif
inline void C2S::set_programminglanguage(const char* value) {
GOOGLE_DCHECK(value != NULL);
set_has_programminglanguage();
programminglanguage_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
// @@protoc_insertion_point(field_set_char:InitConnect.C2S.programmingLanguage)
}
inline void C2S::set_programminglanguage(const char* value, size_t size) {
set_has_programminglanguage();
programminglanguage_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
::std::string(reinterpret_cast<const char*>(value), size));
// @@protoc_insertion_point(field_set_pointer:InitConnect.C2S.programmingLanguage)
}
inline ::std::string* C2S::mutable_programminglanguage() {
set_has_programminglanguage();
// @@protoc_insertion_point(field_mutable:InitConnect.C2S.programmingLanguage)
return programminglanguage_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline ::std::string* C2S::release_programminglanguage() {
// @@protoc_insertion_point(field_release:InitConnect.C2S.programmingLanguage)
clear_has_programminglanguage();
return programminglanguage_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void C2S::set_allocated_programminglanguage(::std::string* programminglanguage) {
if (programminglanguage != NULL) {
set_has_programminglanguage();
} else {
clear_has_programminglanguage();
}
programminglanguage_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), programminglanguage);
// @@protoc_insertion_point(field_set_allocated:InitConnect.C2S.programmingLanguage)
}
// -------------------------------------------------------------------
// S2C
// required int32 serverVer = 1;
inline bool S2C::has_serverver() const {
return (_has_bits_[0] & 0x00000010u) != 0;
}
inline void S2C::set_has_serverver() {
_has_bits_[0] |= 0x00000010u;
}
inline void S2C::clear_has_serverver() {
_has_bits_[0] &= ~0x00000010u;
}
inline void S2C::clear_serverver() {
serverver_ = 0;
clear_has_serverver();
}
inline ::google::protobuf::int32 S2C::serverver() const {
// @@protoc_insertion_point(field_get:InitConnect.S2C.serverVer)
return serverver_;
}
inline void S2C::set_serverver(::google::protobuf::int32 value) {
set_has_serverver();
serverver_ = value;
// @@protoc_insertion_point(field_set:InitConnect.S2C.serverVer)
}
// required uint64 loginUserID = 2;
inline bool S2C::has_loginuserid() const {
return (_has_bits_[0] & 0x00000004u) != 0;
}
inline void S2C::set_has_loginuserid() {
_has_bits_[0] |= 0x00000004u;
}
inline void S2C::clear_has_loginuserid() {
_has_bits_[0] &= ~0x00000004u;
}
inline void S2C::clear_loginuserid() {
loginuserid_ = GOOGLE_ULONGLONG(0);
clear_has_loginuserid();
}
inline ::google::protobuf::uint64 S2C::loginuserid() const {
// @@protoc_insertion_point(field_get:InitConnect.S2C.loginUserID)
return loginuserid_;
}
inline void S2C::set_loginuserid(::google::protobuf::uint64 value) {
set_has_loginuserid();
loginuserid_ = value;
// @@protoc_insertion_point(field_set:InitConnect.S2C.loginUserID)
}
// required uint64 connID = 3;
inline bool S2C::has_connid() const {
return (_has_bits_[0] & 0x00000008u) != 0;
}
inline void S2C::set_has_connid() {
_has_bits_[0] |= 0x00000008u;
}
inline void S2C::clear_has_connid() {
_has_bits_[0] &= ~0x00000008u;
}
inline void S2C::clear_connid() {
connid_ = GOOGLE_ULONGLONG(0);
clear_has_connid();
}
inline ::google::protobuf::uint64 S2C::connid() const {
// @@protoc_insertion_point(field_get:InitConnect.S2C.connID)
return connid_;
}
inline void S2C::set_connid(::google::protobuf::uint64 value) {
set_has_connid();
connid_ = value;
// @@protoc_insertion_point(field_set:InitConnect.S2C.connID)
}
// required string connAESKey = 4;
inline bool S2C::has_connaeskey() const {
return (_has_bits_[0] & 0x00000001u) != 0;
}
inline void S2C::set_has_connaeskey() {
_has_bits_[0] |= 0x00000001u;
}
inline void S2C::clear_has_connaeskey() {
_has_bits_[0] &= ~0x00000001u;
}
inline void S2C::clear_connaeskey() {
connaeskey_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
clear_has_connaeskey();
}
inline const ::std::string& S2C::connaeskey() const {
// @@protoc_insertion_point(field_get:InitConnect.S2C.connAESKey)
return connaeskey_.GetNoArena();
}
inline void S2C::set_connaeskey(const ::std::string& value) {
set_has_connaeskey();
connaeskey_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
// @@protoc_insertion_point(field_set:InitConnect.S2C.connAESKey)
}
#if LANG_CXX11
inline void S2C::set_connaeskey(::std::string&& value) {
set_has_connaeskey();
connaeskey_.SetNoArena(
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
// @@protoc_insertion_point(field_set_rvalue:InitConnect.S2C.connAESKey)
}
#endif
inline void S2C::set_connaeskey(const char* value) {
GOOGLE_DCHECK(value != NULL);
set_has_connaeskey();
connaeskey_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
// @@protoc_insertion_point(field_set_char:InitConnect.S2C.connAESKey)
}
inline void S2C::set_connaeskey(const char* value, size_t size) {
set_has_connaeskey();
connaeskey_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
::std::string(reinterpret_cast<const char*>(value), size));
// @@protoc_insertion_point(field_set_pointer:InitConnect.S2C.connAESKey)
}
inline ::std::string* S2C::mutable_connaeskey() {
set_has_connaeskey();
// @@protoc_insertion_point(field_mutable:InitConnect.S2C.connAESKey)
return connaeskey_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline ::std::string* S2C::release_connaeskey() {
// @@protoc_insertion_point(field_release:InitConnect.S2C.connAESKey)
clear_has_connaeskey();
return connaeskey_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void S2C::set_allocated_connaeskey(::std::string* connaeskey) {
if (connaeskey != NULL) {
set_has_connaeskey();
} else {
clear_has_connaeskey();
}
connaeskey_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), connaeskey);
// @@protoc_insertion_point(field_set_allocated:InitConnect.S2C.connAESKey)
}
// required int32 keepAliveInterval = 5;
inline bool S2C::has_keepaliveinterval() const {
return (_has_bits_[0] & 0x00000020u) != 0;
}
inline void S2C::set_has_keepaliveinterval() {
_has_bits_[0] |= 0x00000020u;
}
inline void S2C::clear_has_keepaliveinterval() {
_has_bits_[0] &= ~0x00000020u;
}
inline void S2C::clear_keepaliveinterval() {
keepaliveinterval_ = 0;
clear_has_keepaliveinterval();
}
inline ::google::protobuf::int32 S2C::keepaliveinterval() const {
// @@protoc_insertion_point(field_get:InitConnect.S2C.keepAliveInterval)
return keepaliveinterval_;
}
inline void S2C::set_keepaliveinterval(::google::protobuf::int32 value) {
set_has_keepaliveinterval();
keepaliveinterval_ = value;
// @@protoc_insertion_point(field_set:InitConnect.S2C.keepAliveInterval)
}
// optional string aesCBCiv = 6;
inline bool S2C::has_aescbciv() const {
return (_has_bits_[0] & 0x00000002u) != 0;
}
inline void S2C::set_has_aescbciv() {
_has_bits_[0] |= 0x00000002u;
}
inline void S2C::clear_has_aescbciv() {
_has_bits_[0] &= ~0x00000002u;
}
inline void S2C::clear_aescbciv() {
aescbciv_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
clear_has_aescbciv();
}
inline const ::std::string& S2C::aescbciv() const {
// @@protoc_insertion_point(field_get:InitConnect.S2C.aesCBCiv)
return aescbciv_.GetNoArena();
}
inline void S2C::set_aescbciv(const ::std::string& value) {
set_has_aescbciv();
aescbciv_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
// @@protoc_insertion_point(field_set:InitConnect.S2C.aesCBCiv)
}
#if LANG_CXX11
inline void S2C::set_aescbciv(::std::string&& value) {
set_has_aescbciv();
aescbciv_.SetNoArena(
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
// @@protoc_insertion_point(field_set_rvalue:InitConnect.S2C.aesCBCiv)
}
#endif
inline void S2C::set_aescbciv(const char* value) {
GOOGLE_DCHECK(value != NULL);
set_has_aescbciv();
aescbciv_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
// @@protoc_insertion_point(field_set_char:InitConnect.S2C.aesCBCiv)
}
inline void S2C::set_aescbciv(const char* value, size_t size) {
set_has_aescbciv();
aescbciv_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
::std::string(reinterpret_cast<const char*>(value), size));
// @@protoc_insertion_point(field_set_pointer:InitConnect.S2C.aesCBCiv)
}
inline ::std::string* S2C::mutable_aescbciv() {
set_has_aescbciv();
// @@protoc_insertion_point(field_mutable:InitConnect.S2C.aesCBCiv)
return aescbciv_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline ::std::string* S2C::release_aescbciv() {
// @@protoc_insertion_point(field_release:InitConnect.S2C.aesCBCiv)
clear_has_aescbciv();
return aescbciv_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void S2C::set_allocated_aescbciv(::std::string* aescbciv) {
if (aescbciv != NULL) {
set_has_aescbciv();
} else {
clear_has_aescbciv();
}
aescbciv_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), aescbciv);
// @@protoc_insertion_point(field_set_allocated:InitConnect.S2C.aesCBCiv)
}
// optional int32 userAttribution = 7;
inline bool S2C::has_userattribution() const {
return (_has_bits_[0] & 0x00000040u) != 0;
}
inline void S2C::set_has_userattribution() {
_has_bits_[0] |= 0x00000040u;
}
inline void S2C::clear_has_userattribution() {
_has_bits_[0] &= ~0x00000040u;
}
inline void S2C::clear_userattribution() {
userattribution_ = 0;
clear_has_userattribution();
}
inline ::google::protobuf::int32 S2C::userattribution() const {
// @@protoc_insertion_point(field_get:InitConnect.S2C.userAttribution)
return userattribution_;
}
inline void S2C::set_userattribution(::google::protobuf::int32 value) {
set_has_userattribution();
userattribution_ = value;
// @@protoc_insertion_point(field_set:InitConnect.S2C.userAttribution)
}
// -------------------------------------------------------------------
// Request
// required .InitConnect.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 ::InitConnect::C2S& Request::c2s() const {
const ::InitConnect::C2S* p = c2s_;
// @@protoc_insertion_point(field_get:InitConnect.Request.c2s)
return p != NULL ? *p : *reinterpret_cast<const ::InitConnect::C2S*>(
&::InitConnect::_C2S_default_instance_);
}
inline ::InitConnect::C2S* Request::release_c2s() {
// @@protoc_insertion_point(field_release:InitConnect.Request.c2s)
clear_has_c2s();
::InitConnect::C2S* temp = c2s_;
c2s_ = NULL;
return temp;
}
inline ::InitConnect::C2S* Request::mutable_c2s() {
set_has_c2s();
if (c2s_ == NULL) {
c2s_ = new ::InitConnect::C2S;
}
// @@protoc_insertion_point(field_mutable:InitConnect.Request.c2s)
return c2s_;
}
inline void Request::set_allocated_c2s(::InitConnect::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:InitConnect.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:InitConnect.Response.retType)
return rettype_;
}
inline void Response::set_rettype(::google::protobuf::int32 value) {
set_has_rettype();
rettype_ = value;
// @@protoc_insertion_point(field_set:InitConnect.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:InitConnect.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:InitConnect.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:InitConnect.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:InitConnect.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<const char*>(value), size));
// @@protoc_insertion_point(field_set_pointer:InitConnect.Response.retMsg)
}
inline ::std::string* Response::mutable_retmsg() {
set_has_retmsg();
// @@protoc_insertion_point(field_mutable:InitConnect.Response.retMsg)
return retmsg_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline ::std::string* Response::release_retmsg() {
// @@protoc_insertion_point(field_release:InitConnect.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:InitConnect.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:InitConnect.Response.errCode)
return errcode_;
}
inline void Response::set_errcode(::google::protobuf::int32 value) {
set_has_errcode();
errcode_ = value;
// @@protoc_insertion_point(field_set:InitConnect.Response.errCode)
}
// optional .InitConnect.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 ::InitConnect::S2C& Response::s2c() const {
const ::InitConnect::S2C* p = s2c_;
// @@protoc_insertion_point(field_get:InitConnect.Response.s2c)
return p != NULL ? *p : *reinterpret_cast<const ::InitConnect::S2C*>(
&::InitConnect::_S2C_default_instance_);
}
inline ::InitConnect::S2C* Response::release_s2c() {
// @@protoc_insertion_point(field_release:InitConnect.Response.s2c)
clear_has_s2c();
::InitConnect::S2C* temp = s2c_;
s2c_ = NULL;
return temp;
}
inline ::InitConnect::S2C* Response::mutable_s2c() {
set_has_s2c();
if (s2c_ == NULL) {
s2c_ = new ::InitConnect::S2C;
}
// @@protoc_insertion_point(field_mutable:InitConnect.Response.s2c)
return s2c_;
}
inline void Response::set_allocated_s2c(::InitConnect::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:InitConnect.Response.s2c)
}
#ifdef __GNUC__
#pragma GCC diagnostic pop
#endif // __GNUC__
// -------------------------------------------------------------------
// -------------------------------------------------------------------
// -------------------------------------------------------------------
// @@protoc_insertion_point(namespace_scope)
} // namespace InitConnect
// @@protoc_insertion_point(global_scope)
#endif // PROTOBUF_InitConnect_2eproto__INCLUDED