// Generated by the protocol buffer compiler. DO NOT EDIT! // source: Qot_GetCodeChange.proto #include "Qot_GetCodeChange.pb.h" #include #include #include #include #include #include #include #include #include #include // This is a temporary google only hack #ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS #include "third_party/protobuf/version.h" #endif // @@protoc_insertion_point(includes) namespace Qot_GetCodeChange { class CodeChangeInfoDefaultTypeInternal { public: ::google::protobuf::internal::ExplicitlyConstructed _instance; } _CodeChangeInfo_default_instance_; class TimeFilterDefaultTypeInternal { public: ::google::protobuf::internal::ExplicitlyConstructed _instance; } _TimeFilter_default_instance_; class C2SDefaultTypeInternal { public: ::google::protobuf::internal::ExplicitlyConstructed _instance; } _C2S_default_instance_; class S2CDefaultTypeInternal { public: ::google::protobuf::internal::ExplicitlyConstructed _instance; } _S2C_default_instance_; class RequestDefaultTypeInternal { public: ::google::protobuf::internal::ExplicitlyConstructed _instance; } _Request_default_instance_; class ResponseDefaultTypeInternal { public: ::google::protobuf::internal::ExplicitlyConstructed _instance; } _Response_default_instance_; } // namespace Qot_GetCodeChange namespace protobuf_Qot_5fGetCodeChange_2eproto { void InitDefaultsCodeChangeInfoImpl() { GOOGLE_PROTOBUF_VERIFY_VERSION; #ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS ::google::protobuf::internal::InitProtobufDefaultsForceUnique(); #else ::google::protobuf::internal::InitProtobufDefaults(); #endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS protobuf_Qot_5fCommon_2eproto::InitDefaultsSecurity(); { void* ptr = &::Qot_GetCodeChange::_CodeChangeInfo_default_instance_; new (ptr) ::Qot_GetCodeChange::CodeChangeInfo(); ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); } ::Qot_GetCodeChange::CodeChangeInfo::InitAsDefaultInstance(); } void InitDefaultsCodeChangeInfo() { static GOOGLE_PROTOBUF_DECLARE_ONCE(once); ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsCodeChangeInfoImpl); } void InitDefaultsTimeFilterImpl() { GOOGLE_PROTOBUF_VERIFY_VERSION; #ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS ::google::protobuf::internal::InitProtobufDefaultsForceUnique(); #else ::google::protobuf::internal::InitProtobufDefaults(); #endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS { void* ptr = &::Qot_GetCodeChange::_TimeFilter_default_instance_; new (ptr) ::Qot_GetCodeChange::TimeFilter(); ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); } ::Qot_GetCodeChange::TimeFilter::InitAsDefaultInstance(); } void InitDefaultsTimeFilter() { static GOOGLE_PROTOBUF_DECLARE_ONCE(once); ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsTimeFilterImpl); } void InitDefaultsC2SImpl() { GOOGLE_PROTOBUF_VERIFY_VERSION; #ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS ::google::protobuf::internal::InitProtobufDefaultsForceUnique(); #else ::google::protobuf::internal::InitProtobufDefaults(); #endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS protobuf_Qot_5fCommon_2eproto::InitDefaultsSecurity(); protobuf_Qot_5fGetCodeChange_2eproto::InitDefaultsTimeFilter(); { void* ptr = &::Qot_GetCodeChange::_C2S_default_instance_; new (ptr) ::Qot_GetCodeChange::C2S(); ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); } ::Qot_GetCodeChange::C2S::InitAsDefaultInstance(); } void InitDefaultsC2S() { static GOOGLE_PROTOBUF_DECLARE_ONCE(once); ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsC2SImpl); } void InitDefaultsS2CImpl() { GOOGLE_PROTOBUF_VERIFY_VERSION; #ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS ::google::protobuf::internal::InitProtobufDefaultsForceUnique(); #else ::google::protobuf::internal::InitProtobufDefaults(); #endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS protobuf_Qot_5fGetCodeChange_2eproto::InitDefaultsCodeChangeInfo(); { void* ptr = &::Qot_GetCodeChange::_S2C_default_instance_; new (ptr) ::Qot_GetCodeChange::S2C(); ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); } ::Qot_GetCodeChange::S2C::InitAsDefaultInstance(); } void InitDefaultsS2C() { static GOOGLE_PROTOBUF_DECLARE_ONCE(once); ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsS2CImpl); } void InitDefaultsRequestImpl() { GOOGLE_PROTOBUF_VERIFY_VERSION; #ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS ::google::protobuf::internal::InitProtobufDefaultsForceUnique(); #else ::google::protobuf::internal::InitProtobufDefaults(); #endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS protobuf_Qot_5fGetCodeChange_2eproto::InitDefaultsC2S(); { void* ptr = &::Qot_GetCodeChange::_Request_default_instance_; new (ptr) ::Qot_GetCodeChange::Request(); ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); } ::Qot_GetCodeChange::Request::InitAsDefaultInstance(); } void InitDefaultsRequest() { static GOOGLE_PROTOBUF_DECLARE_ONCE(once); ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsRequestImpl); } void InitDefaultsResponseImpl() { GOOGLE_PROTOBUF_VERIFY_VERSION; #ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS ::google::protobuf::internal::InitProtobufDefaultsForceUnique(); #else ::google::protobuf::internal::InitProtobufDefaults(); #endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS protobuf_Qot_5fGetCodeChange_2eproto::InitDefaultsS2C(); { void* ptr = &::Qot_GetCodeChange::_Response_default_instance_; new (ptr) ::Qot_GetCodeChange::Response(); ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); } ::Qot_GetCodeChange::Response::InitAsDefaultInstance(); } void InitDefaultsResponse() { static GOOGLE_PROTOBUF_DECLARE_ONCE(once); ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsResponseImpl); } ::google::protobuf::Metadata file_level_metadata[6]; const ::google::protobuf::EnumDescriptor* file_level_enum_descriptors[2]; const ::google::protobuf::uint32 TableStruct::offsets[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Qot_GetCodeChange::CodeChangeInfo, _has_bits_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Qot_GetCodeChange::CodeChangeInfo, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Qot_GetCodeChange::CodeChangeInfo, type_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Qot_GetCodeChange::CodeChangeInfo, security_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Qot_GetCodeChange::CodeChangeInfo, relatedsecurity_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Qot_GetCodeChange::CodeChangeInfo, publictime_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Qot_GetCodeChange::CodeChangeInfo, publictimestamp_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Qot_GetCodeChange::CodeChangeInfo, effectivetime_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Qot_GetCodeChange::CodeChangeInfo, effectivetimestamp_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Qot_GetCodeChange::CodeChangeInfo, endtime_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Qot_GetCodeChange::CodeChangeInfo, endtimestamp_), 8, 3, 4, 0, 5, 1, 6, 2, 7, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Qot_GetCodeChange::TimeFilter, _has_bits_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Qot_GetCodeChange::TimeFilter, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Qot_GetCodeChange::TimeFilter, type_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Qot_GetCodeChange::TimeFilter, begintime_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Qot_GetCodeChange::TimeFilter, endtime_), 2, 0, 1, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Qot_GetCodeChange::C2S, _has_bits_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Qot_GetCodeChange::C2S, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Qot_GetCodeChange::C2S, placeholder_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Qot_GetCodeChange::C2S, securitylist_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Qot_GetCodeChange::C2S, timefilterlist_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Qot_GetCodeChange::C2S, typelist_), 0, ~0u, ~0u, ~0u, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Qot_GetCodeChange::S2C, _has_bits_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Qot_GetCodeChange::S2C, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Qot_GetCodeChange::S2C, codechangelist_), ~0u, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Qot_GetCodeChange::Request, _has_bits_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Qot_GetCodeChange::Request, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Qot_GetCodeChange::Request, c2s_), 0, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Qot_GetCodeChange::Response, _has_bits_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Qot_GetCodeChange::Response, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Qot_GetCodeChange::Response, rettype_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Qot_GetCodeChange::Response, retmsg_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Qot_GetCodeChange::Response, errcode_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Qot_GetCodeChange::Response, s2c_), 3, 0, 2, 1, }; static const ::google::protobuf::internal::MigrationSchema schemas[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = { { 0, 14, sizeof(::Qot_GetCodeChange::CodeChangeInfo)}, { 23, 31, sizeof(::Qot_GetCodeChange::TimeFilter)}, { 34, 43, sizeof(::Qot_GetCodeChange::C2S)}, { 47, 53, sizeof(::Qot_GetCodeChange::S2C)}, { 54, 60, sizeof(::Qot_GetCodeChange::Request)}, { 61, 70, sizeof(::Qot_GetCodeChange::Response)}, }; static ::google::protobuf::Message const * const file_default_instances[] = { reinterpret_cast(&::Qot_GetCodeChange::_CodeChangeInfo_default_instance_), reinterpret_cast(&::Qot_GetCodeChange::_TimeFilter_default_instance_), reinterpret_cast(&::Qot_GetCodeChange::_C2S_default_instance_), reinterpret_cast(&::Qot_GetCodeChange::_S2C_default_instance_), reinterpret_cast(&::Qot_GetCodeChange::_Request_default_instance_), reinterpret_cast(&::Qot_GetCodeChange::_Response_default_instance_), }; void protobuf_AssignDescriptors() { AddDescriptors(); ::google::protobuf::MessageFactory* factory = NULL; AssignDescriptors( "Qot_GetCodeChange.proto", schemas, file_default_instances, TableStruct::offsets, factory, file_level_metadata, file_level_enum_descriptors, NULL); } void protobuf_AssignDescriptorsOnce() { static GOOGLE_PROTOBUF_DECLARE_ONCE(once); ::google::protobuf::GoogleOnceInit(&once, &protobuf_AssignDescriptors); } void protobuf_RegisterTypes(const ::std::string&) GOOGLE_PROTOBUF_ATTRIBUTE_COLD; void protobuf_RegisterTypes(const ::std::string&) { protobuf_AssignDescriptorsOnce(); ::google::protobuf::internal::RegisterAllTypes(file_level_metadata, 6); } void AddDescriptorsImpl() { InitDefaults(); static const char descriptor[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = { "\n\027Qot_GetCodeChange.proto\022\021Qot_GetCodeCh" "ange\032\014Common.proto\032\020Qot_Common.proto\"\374\001\n" "\016CodeChangeInfo\022\014\n\004type\030\001 \002(\005\022&\n\010securit" "y\030\002 \002(\0132\024.Qot_Common.Security\022-\n\017related" "Security\030\003 \002(\0132\024.Qot_Common.Security\022\022\n\n" "publicTime\030\004 \001(\t\022\027\n\017publicTimestamp\030\005 \001(" "\001\022\025\n\reffectiveTime\030\006 \001(\t\022\032\n\022effectiveTim" "estamp\030\007 \001(\001\022\017\n\007endTime\030\010 \001(\t\022\024\n\014endTime" "stamp\030\t \001(\001\">\n\nTimeFilter\022\014\n\004type\030\001 \002(\005\022" "\021\n\tbeginTime\030\002 \001(\t\022\017\n\007endTime\030\003 \001(\t\"\217\001\n\003" "C2S\022\023\n\013placeHolder\030\001 \001(\005\022*\n\014securityList" "\030\002 \003(\0132\024.Qot_Common.Security\0225\n\016timeFilt" "erList\030\003 \003(\0132\035.Qot_GetCodeChange.TimeFil" "ter\022\020\n\010typeList\030\004 \003(\005\"@\n\003S2C\0229\n\016codeChan" "geList\030\001 \003(\0132!.Qot_GetCodeChange.CodeCha" "ngeInfo\".\n\007Request\022#\n\003c2s\030\001 \002(\0132\026.Qot_Ge" "tCodeChange.C2S\"g\n\010Response\022\025\n\007retType\030\001" " \002(\005:\004-400\022\016\n\006retMsg\030\002 \001(\t\022\017\n\007errCode\030\003 " "\001(\005\022#\n\003s2c\030\004 \001(\0132\026.Qot_GetCodeChange.S2C" "*\216\002\n\016CodeChangeType\022\031\n\025CodeChangeType_Un" "kown\020\000\022\034\n\030CodeChangeType_GemToMain\020\001\022\031\n\025" "CodeChangeType_Unpaid\020\002\022\034\n\030CodeChangeTyp" "e_ChangeLot\020\003\022\030\n\024CodeChangeType_Split\020\004\022" "\030\n\024CodeChangeType_Joint\020\005\022\035\n\031CodeChangeT" "ype_JointSplit\020\006\022\035\n\031CodeChangeType_Split" "Joint\020\007\022\030\n\024CodeChangeType_Other\020\010*|\n\016Tim" "eFilterType\022\031\n\025TimeFilterType_Unknow\020\000\022\031" "\n\025TimeFilterType_Public\020\001\022\034\n\030TimeFilterT" "ype_Effective\020\002\022\026\n\022TimeFilterType_End\020\003B" "G\n\023com.futu.openapi.pbZ0github.com/futuo" "pen/ftapi4go/pb/qotgetcodechange" }; ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( descriptor, 1232); ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( "Qot_GetCodeChange.proto", &protobuf_RegisterTypes); ::protobuf_Common_2eproto::AddDescriptors(); ::protobuf_Qot_5fCommon_2eproto::AddDescriptors(); } void AddDescriptors() { static GOOGLE_PROTOBUF_DECLARE_ONCE(once); ::google::protobuf::GoogleOnceInit(&once, &AddDescriptorsImpl); } // Force AddDescriptors() to be called at dynamic initialization time. struct StaticDescriptorInitializer { StaticDescriptorInitializer() { AddDescriptors(); } } static_descriptor_initializer; } // namespace protobuf_Qot_5fGetCodeChange_2eproto namespace Qot_GetCodeChange { const ::google::protobuf::EnumDescriptor* CodeChangeType_descriptor() { protobuf_Qot_5fGetCodeChange_2eproto::protobuf_AssignDescriptorsOnce(); return protobuf_Qot_5fGetCodeChange_2eproto::file_level_enum_descriptors[0]; } bool CodeChangeType_IsValid(int value) { switch (value) { case 0: case 1: case 2: case 3: case 4: case 5: case 6: case 7: case 8: return true; default: return false; } } const ::google::protobuf::EnumDescriptor* TimeFilterType_descriptor() { protobuf_Qot_5fGetCodeChange_2eproto::protobuf_AssignDescriptorsOnce(); return protobuf_Qot_5fGetCodeChange_2eproto::file_level_enum_descriptors[1]; } bool TimeFilterType_IsValid(int value) { switch (value) { case 0: case 1: case 2: case 3: return true; default: return false; } } // =================================================================== void CodeChangeInfo::InitAsDefaultInstance() { ::Qot_GetCodeChange::_CodeChangeInfo_default_instance_._instance.get_mutable()->security_ = const_cast< ::Qot_Common::Security*>( ::Qot_Common::Security::internal_default_instance()); ::Qot_GetCodeChange::_CodeChangeInfo_default_instance_._instance.get_mutable()->relatedsecurity_ = const_cast< ::Qot_Common::Security*>( ::Qot_Common::Security::internal_default_instance()); } void CodeChangeInfo::clear_security() { if (security_ != NULL) security_->Clear(); clear_has_security(); } void CodeChangeInfo::clear_relatedsecurity() { if (relatedsecurity_ != NULL) relatedsecurity_->Clear(); clear_has_relatedsecurity(); } #if !defined(_MSC_VER) || _MSC_VER >= 1900 const int CodeChangeInfo::kTypeFieldNumber; const int CodeChangeInfo::kSecurityFieldNumber; const int CodeChangeInfo::kRelatedSecurityFieldNumber; const int CodeChangeInfo::kPublicTimeFieldNumber; const int CodeChangeInfo::kPublicTimestampFieldNumber; const int CodeChangeInfo::kEffectiveTimeFieldNumber; const int CodeChangeInfo::kEffectiveTimestampFieldNumber; const int CodeChangeInfo::kEndTimeFieldNumber; const int CodeChangeInfo::kEndTimestampFieldNumber; #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 CodeChangeInfo::CodeChangeInfo() : ::google::protobuf::Message(), _internal_metadata_(NULL) { if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) { ::protobuf_Qot_5fGetCodeChange_2eproto::InitDefaultsCodeChangeInfo(); } SharedCtor(); // @@protoc_insertion_point(constructor:Qot_GetCodeChange.CodeChangeInfo) } CodeChangeInfo::CodeChangeInfo(const CodeChangeInfo& from) : ::google::protobuf::Message(), _internal_metadata_(NULL), _has_bits_(from._has_bits_), _cached_size_(0) { _internal_metadata_.MergeFrom(from._internal_metadata_); publictime_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); if (from.has_publictime()) { publictime_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.publictime_); } effectivetime_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); if (from.has_effectivetime()) { effectivetime_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.effectivetime_); } endtime_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); if (from.has_endtime()) { endtime_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.endtime_); } if (from.has_security()) { security_ = new ::Qot_Common::Security(*from.security_); } else { security_ = NULL; } if (from.has_relatedsecurity()) { relatedsecurity_ = new ::Qot_Common::Security(*from.relatedsecurity_); } else { relatedsecurity_ = NULL; } ::memcpy(&publictimestamp_, &from.publictimestamp_, static_cast(reinterpret_cast(&type_) - reinterpret_cast(&publictimestamp_)) + sizeof(type_)); // @@protoc_insertion_point(copy_constructor:Qot_GetCodeChange.CodeChangeInfo) } void CodeChangeInfo::SharedCtor() { _cached_size_ = 0; publictime_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); effectivetime_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); endtime_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); ::memset(&security_, 0, static_cast( reinterpret_cast(&type_) - reinterpret_cast(&security_)) + sizeof(type_)); } CodeChangeInfo::~CodeChangeInfo() { // @@protoc_insertion_point(destructor:Qot_GetCodeChange.CodeChangeInfo) SharedDtor(); } void CodeChangeInfo::SharedDtor() { publictime_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); effectivetime_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); endtime_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); if (this != internal_default_instance()) delete security_; if (this != internal_default_instance()) delete relatedsecurity_; } void CodeChangeInfo::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* CodeChangeInfo::descriptor() { ::protobuf_Qot_5fGetCodeChange_2eproto::protobuf_AssignDescriptorsOnce(); return ::protobuf_Qot_5fGetCodeChange_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; } const CodeChangeInfo& CodeChangeInfo::default_instance() { ::protobuf_Qot_5fGetCodeChange_2eproto::InitDefaultsCodeChangeInfo(); return *internal_default_instance(); } CodeChangeInfo* CodeChangeInfo::New(::google::protobuf::Arena* arena) const { CodeChangeInfo* n = new CodeChangeInfo; if (arena != NULL) { arena->Own(n); } return n; } void CodeChangeInfo::Clear() { // @@protoc_insertion_point(message_clear_start:Qot_GetCodeChange.CodeChangeInfo) ::google::protobuf::uint32 cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; cached_has_bits = _has_bits_[0]; if (cached_has_bits & 31u) { if (cached_has_bits & 0x00000001u) { GOOGLE_DCHECK(!publictime_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited())); (*publictime_.UnsafeRawStringPointer())->clear(); } if (cached_has_bits & 0x00000002u) { GOOGLE_DCHECK(!effectivetime_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited())); (*effectivetime_.UnsafeRawStringPointer())->clear(); } if (cached_has_bits & 0x00000004u) { GOOGLE_DCHECK(!endtime_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited())); (*endtime_.UnsafeRawStringPointer())->clear(); } if (cached_has_bits & 0x00000008u) { GOOGLE_DCHECK(security_ != NULL); security_->Clear(); } if (cached_has_bits & 0x00000010u) { GOOGLE_DCHECK(relatedsecurity_ != NULL); relatedsecurity_->Clear(); } } if (cached_has_bits & 224u) { ::memset(&publictimestamp_, 0, static_cast( reinterpret_cast(&endtimestamp_) - reinterpret_cast(&publictimestamp_)) + sizeof(endtimestamp_)); } type_ = 0; _has_bits_.Clear(); _internal_metadata_.Clear(); } bool CodeChangeInfo::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure ::google::protobuf::uint32 tag; // @@protoc_insertion_point(parse_start:Qot_GetCodeChange.CodeChangeInfo) for (;;) { ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); tag = p.first; if (!p.second) goto handle_unusual; switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // required int32 type = 1; case 1: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) { set_has_type(); DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &type_))); } else { goto handle_unusual; } break; } // required .Qot_Common.Security security = 2; case 2: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) { DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( input, mutable_security())); } else { goto handle_unusual; } break; } // required .Qot_Common.Security relatedSecurity = 3; case 3: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) { DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( input, mutable_relatedsecurity())); } else { goto handle_unusual; } break; } // optional string publicTime = 4; case 4: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(34u /* 34 & 0xFF */)) { DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->mutable_publictime())); ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( this->publictime().data(), static_cast(this->publictime().length()), ::google::protobuf::internal::WireFormat::PARSE, "Qot_GetCodeChange.CodeChangeInfo.publicTime"); } else { goto handle_unusual; } break; } // optional double publicTimestamp = 5; case 5: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(41u /* 41 & 0xFF */)) { set_has_publictimestamp(); DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< double, ::google::protobuf::internal::WireFormatLite::TYPE_DOUBLE>( input, &publictimestamp_))); } else { goto handle_unusual; } break; } // optional string effectiveTime = 6; case 6: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(50u /* 50 & 0xFF */)) { DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->mutable_effectivetime())); ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( this->effectivetime().data(), static_cast(this->effectivetime().length()), ::google::protobuf::internal::WireFormat::PARSE, "Qot_GetCodeChange.CodeChangeInfo.effectiveTime"); } else { goto handle_unusual; } break; } // optional double effectiveTimestamp = 7; case 7: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(57u /* 57 & 0xFF */)) { set_has_effectivetimestamp(); DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< double, ::google::protobuf::internal::WireFormatLite::TYPE_DOUBLE>( input, &effectivetimestamp_))); } else { goto handle_unusual; } break; } // optional string endTime = 8; case 8: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(66u /* 66 & 0xFF */)) { DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->mutable_endtime())); ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( this->endtime().data(), static_cast(this->endtime().length()), ::google::protobuf::internal::WireFormat::PARSE, "Qot_GetCodeChange.CodeChangeInfo.endTime"); } else { goto handle_unusual; } break; } // optional double endTimestamp = 9; case 9: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(73u /* 73 & 0xFF */)) { set_has_endtimestamp(); DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< double, ::google::protobuf::internal::WireFormatLite::TYPE_DOUBLE>( input, &endtimestamp_))); } else { goto handle_unusual; } break; } default: { handle_unusual: if (tag == 0) { goto success; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, _internal_metadata_.mutable_unknown_fields())); break; } } } success: // @@protoc_insertion_point(parse_success:Qot_GetCodeChange.CodeChangeInfo) return true; failure: // @@protoc_insertion_point(parse_failure:Qot_GetCodeChange.CodeChangeInfo) return false; #undef DO_ } void CodeChangeInfo::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // @@protoc_insertion_point(serialize_start:Qot_GetCodeChange.CodeChangeInfo) ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; // required int32 type = 1; if (cached_has_bits & 0x00000100u) { ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->type(), output); } // required .Qot_Common.Security security = 2; if (cached_has_bits & 0x00000008u) { ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( 2, *this->security_, output); } // required .Qot_Common.Security relatedSecurity = 3; if (cached_has_bits & 0x00000010u) { ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( 3, *this->relatedsecurity_, output); } // optional string publicTime = 4; if (cached_has_bits & 0x00000001u) { ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( this->publictime().data(), static_cast(this->publictime().length()), ::google::protobuf::internal::WireFormat::SERIALIZE, "Qot_GetCodeChange.CodeChangeInfo.publicTime"); ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( 4, this->publictime(), output); } // optional double publicTimestamp = 5; if (cached_has_bits & 0x00000020u) { ::google::protobuf::internal::WireFormatLite::WriteDouble(5, this->publictimestamp(), output); } // optional string effectiveTime = 6; if (cached_has_bits & 0x00000002u) { ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( this->effectivetime().data(), static_cast(this->effectivetime().length()), ::google::protobuf::internal::WireFormat::SERIALIZE, "Qot_GetCodeChange.CodeChangeInfo.effectiveTime"); ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( 6, this->effectivetime(), output); } // optional double effectiveTimestamp = 7; if (cached_has_bits & 0x00000040u) { ::google::protobuf::internal::WireFormatLite::WriteDouble(7, this->effectivetimestamp(), output); } // optional string endTime = 8; if (cached_has_bits & 0x00000004u) { ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( this->endtime().data(), static_cast(this->endtime().length()), ::google::protobuf::internal::WireFormat::SERIALIZE, "Qot_GetCodeChange.CodeChangeInfo.endTime"); ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( 8, this->endtime(), output); } // optional double endTimestamp = 9; if (cached_has_bits & 0x00000080u) { ::google::protobuf::internal::WireFormatLite::WriteDouble(9, this->endtimestamp(), output); } if (_internal_metadata_.have_unknown_fields()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( _internal_metadata_.unknown_fields(), output); } // @@protoc_insertion_point(serialize_end:Qot_GetCodeChange.CodeChangeInfo) } ::google::protobuf::uint8* CodeChangeInfo::InternalSerializeWithCachedSizesToArray( bool deterministic, ::google::protobuf::uint8* target) const { (void)deterministic; // Unused // @@protoc_insertion_point(serialize_to_array_start:Qot_GetCodeChange.CodeChangeInfo) ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; // required int32 type = 1; if (cached_has_bits & 0x00000100u) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->type(), target); } // required .Qot_Common.Security security = 2; if (cached_has_bits & 0x00000008u) { target = ::google::protobuf::internal::WireFormatLite:: InternalWriteMessageToArray( 2, *this->security_, deterministic, target); } // required .Qot_Common.Security relatedSecurity = 3; if (cached_has_bits & 0x00000010u) { target = ::google::protobuf::internal::WireFormatLite:: InternalWriteMessageToArray( 3, *this->relatedsecurity_, deterministic, target); } // optional string publicTime = 4; if (cached_has_bits & 0x00000001u) { ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( this->publictime().data(), static_cast(this->publictime().length()), ::google::protobuf::internal::WireFormat::SERIALIZE, "Qot_GetCodeChange.CodeChangeInfo.publicTime"); target = ::google::protobuf::internal::WireFormatLite::WriteStringToArray( 4, this->publictime(), target); } // optional double publicTimestamp = 5; if (cached_has_bits & 0x00000020u) { target = ::google::protobuf::internal::WireFormatLite::WriteDoubleToArray(5, this->publictimestamp(), target); } // optional string effectiveTime = 6; if (cached_has_bits & 0x00000002u) { ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( this->effectivetime().data(), static_cast(this->effectivetime().length()), ::google::protobuf::internal::WireFormat::SERIALIZE, "Qot_GetCodeChange.CodeChangeInfo.effectiveTime"); target = ::google::protobuf::internal::WireFormatLite::WriteStringToArray( 6, this->effectivetime(), target); } // optional double effectiveTimestamp = 7; if (cached_has_bits & 0x00000040u) { target = ::google::protobuf::internal::WireFormatLite::WriteDoubleToArray(7, this->effectivetimestamp(), target); } // optional string endTime = 8; if (cached_has_bits & 0x00000004u) { ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( this->endtime().data(), static_cast(this->endtime().length()), ::google::protobuf::internal::WireFormat::SERIALIZE, "Qot_GetCodeChange.CodeChangeInfo.endTime"); target = ::google::protobuf::internal::WireFormatLite::WriteStringToArray( 8, this->endtime(), target); } // optional double endTimestamp = 9; if (cached_has_bits & 0x00000080u) { target = ::google::protobuf::internal::WireFormatLite::WriteDoubleToArray(9, this->endtimestamp(), target); } if (_internal_metadata_.have_unknown_fields()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields(), target); } // @@protoc_insertion_point(serialize_to_array_end:Qot_GetCodeChange.CodeChangeInfo) return target; } size_t CodeChangeInfo::RequiredFieldsByteSizeFallback() const { // @@protoc_insertion_point(required_fields_byte_size_fallback_start:Qot_GetCodeChange.CodeChangeInfo) size_t total_size = 0; if (has_security()) { // required .Qot_Common.Security security = 2; total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( *this->security_); } if (has_relatedsecurity()) { // required .Qot_Common.Security relatedSecurity = 3; total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( *this->relatedsecurity_); } if (has_type()) { // required int32 type = 1; total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->type()); } return total_size; } size_t CodeChangeInfo::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:Qot_GetCodeChange.CodeChangeInfo) size_t total_size = 0; if (_internal_metadata_.have_unknown_fields()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( _internal_metadata_.unknown_fields()); } if (((_has_bits_[0] & 0x00000118) ^ 0x00000118) == 0) { // All required fields are present. // required .Qot_Common.Security security = 2; total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( *this->security_); // required .Qot_Common.Security relatedSecurity = 3; total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( *this->relatedsecurity_); // required int32 type = 1; total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->type()); } else { total_size += RequiredFieldsByteSizeFallback(); } if (_has_bits_[0 / 32] & 7u) { // optional string publicTime = 4; if (has_publictime()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( this->publictime()); } // optional string effectiveTime = 6; if (has_effectivetime()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( this->effectivetime()); } // optional string endTime = 8; if (has_endtime()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( this->endtime()); } } if (_has_bits_[0 / 32] & 224u) { // optional double publicTimestamp = 5; if (has_publictimestamp()) { total_size += 1 + 8; } // optional double effectiveTimestamp = 7; if (has_effectivetimestamp()) { total_size += 1 + 8; } // optional double endTimestamp = 9; if (has_endtimestamp()) { total_size += 1 + 8; } } int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = cached_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void CodeChangeInfo::MergeFrom(const ::google::protobuf::Message& from) { // @@protoc_insertion_point(generalized_merge_from_start:Qot_GetCodeChange.CodeChangeInfo) GOOGLE_DCHECK_NE(&from, this); const CodeChangeInfo* source = ::google::protobuf::internal::DynamicCastToGenerated( &from); if (source == NULL) { // @@protoc_insertion_point(generalized_merge_from_cast_fail:Qot_GetCodeChange.CodeChangeInfo) ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { // @@protoc_insertion_point(generalized_merge_from_cast_success:Qot_GetCodeChange.CodeChangeInfo) MergeFrom(*source); } } void CodeChangeInfo::MergeFrom(const CodeChangeInfo& from) { // @@protoc_insertion_point(class_specific_merge_from_start:Qot_GetCodeChange.CodeChangeInfo) GOOGLE_DCHECK_NE(&from, this); _internal_metadata_.MergeFrom(from._internal_metadata_); ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = from._has_bits_[0]; if (cached_has_bits & 255u) { if (cached_has_bits & 0x00000001u) { set_has_publictime(); publictime_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.publictime_); } if (cached_has_bits & 0x00000002u) { set_has_effectivetime(); effectivetime_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.effectivetime_); } if (cached_has_bits & 0x00000004u) { set_has_endtime(); endtime_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.endtime_); } if (cached_has_bits & 0x00000008u) { mutable_security()->::Qot_Common::Security::MergeFrom(from.security()); } if (cached_has_bits & 0x00000010u) { mutable_relatedsecurity()->::Qot_Common::Security::MergeFrom(from.relatedsecurity()); } if (cached_has_bits & 0x00000020u) { publictimestamp_ = from.publictimestamp_; } if (cached_has_bits & 0x00000040u) { effectivetimestamp_ = from.effectivetimestamp_; } if (cached_has_bits & 0x00000080u) { endtimestamp_ = from.endtimestamp_; } _has_bits_[0] |= cached_has_bits; } if (cached_has_bits & 0x00000100u) { set_type(from.type()); } } void CodeChangeInfo::CopyFrom(const ::google::protobuf::Message& from) { // @@protoc_insertion_point(generalized_copy_from_start:Qot_GetCodeChange.CodeChangeInfo) if (&from == this) return; Clear(); MergeFrom(from); } void CodeChangeInfo::CopyFrom(const CodeChangeInfo& from) { // @@protoc_insertion_point(class_specific_copy_from_start:Qot_GetCodeChange.CodeChangeInfo) if (&from == this) return; Clear(); MergeFrom(from); } bool CodeChangeInfo::IsInitialized() const { if ((_has_bits_[0] & 0x00000118) != 0x00000118) return false; if (has_security()) { if (!this->security_->IsInitialized()) return false; } if (has_relatedsecurity()) { if (!this->relatedsecurity_->IsInitialized()) return false; } return true; } void CodeChangeInfo::Swap(CodeChangeInfo* other) { if (other == this) return; InternalSwap(other); } void CodeChangeInfo::InternalSwap(CodeChangeInfo* other) { using std::swap; publictime_.Swap(&other->publictime_); effectivetime_.Swap(&other->effectivetime_); endtime_.Swap(&other->endtime_); swap(security_, other->security_); swap(relatedsecurity_, other->relatedsecurity_); swap(publictimestamp_, other->publictimestamp_); swap(effectivetimestamp_, other->effectivetimestamp_); swap(endtimestamp_, other->endtimestamp_); swap(type_, other->type_); swap(_has_bits_[0], other->_has_bits_[0]); _internal_metadata_.Swap(&other->_internal_metadata_); swap(_cached_size_, other->_cached_size_); } ::google::protobuf::Metadata CodeChangeInfo::GetMetadata() const { protobuf_Qot_5fGetCodeChange_2eproto::protobuf_AssignDescriptorsOnce(); return ::protobuf_Qot_5fGetCodeChange_2eproto::file_level_metadata[kIndexInFileMessages]; } // =================================================================== void TimeFilter::InitAsDefaultInstance() { } #if !defined(_MSC_VER) || _MSC_VER >= 1900 const int TimeFilter::kTypeFieldNumber; const int TimeFilter::kBeginTimeFieldNumber; const int TimeFilter::kEndTimeFieldNumber; #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 TimeFilter::TimeFilter() : ::google::protobuf::Message(), _internal_metadata_(NULL) { if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) { ::protobuf_Qot_5fGetCodeChange_2eproto::InitDefaultsTimeFilter(); } SharedCtor(); // @@protoc_insertion_point(constructor:Qot_GetCodeChange.TimeFilter) } TimeFilter::TimeFilter(const TimeFilter& from) : ::google::protobuf::Message(), _internal_metadata_(NULL), _has_bits_(from._has_bits_), _cached_size_(0) { _internal_metadata_.MergeFrom(from._internal_metadata_); begintime_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); if (from.has_begintime()) { begintime_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.begintime_); } endtime_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); if (from.has_endtime()) { endtime_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.endtime_); } type_ = from.type_; // @@protoc_insertion_point(copy_constructor:Qot_GetCodeChange.TimeFilter) } void TimeFilter::SharedCtor() { _cached_size_ = 0; begintime_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); endtime_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); type_ = 0; } TimeFilter::~TimeFilter() { // @@protoc_insertion_point(destructor:Qot_GetCodeChange.TimeFilter) SharedDtor(); } void TimeFilter::SharedDtor() { begintime_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); endtime_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } void TimeFilter::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* TimeFilter::descriptor() { ::protobuf_Qot_5fGetCodeChange_2eproto::protobuf_AssignDescriptorsOnce(); return ::protobuf_Qot_5fGetCodeChange_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; } const TimeFilter& TimeFilter::default_instance() { ::protobuf_Qot_5fGetCodeChange_2eproto::InitDefaultsTimeFilter(); return *internal_default_instance(); } TimeFilter* TimeFilter::New(::google::protobuf::Arena* arena) const { TimeFilter* n = new TimeFilter; if (arena != NULL) { arena->Own(n); } return n; } void TimeFilter::Clear() { // @@protoc_insertion_point(message_clear_start:Qot_GetCodeChange.TimeFilter) ::google::protobuf::uint32 cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; cached_has_bits = _has_bits_[0]; if (cached_has_bits & 3u) { if (cached_has_bits & 0x00000001u) { GOOGLE_DCHECK(!begintime_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited())); (*begintime_.UnsafeRawStringPointer())->clear(); } if (cached_has_bits & 0x00000002u) { GOOGLE_DCHECK(!endtime_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited())); (*endtime_.UnsafeRawStringPointer())->clear(); } } type_ = 0; _has_bits_.Clear(); _internal_metadata_.Clear(); } bool TimeFilter::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure ::google::protobuf::uint32 tag; // @@protoc_insertion_point(parse_start:Qot_GetCodeChange.TimeFilter) for (;;) { ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); tag = p.first; if (!p.second) goto handle_unusual; switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // required int32 type = 1; case 1: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) { set_has_type(); DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &type_))); } else { goto handle_unusual; } break; } // optional string beginTime = 2; case 2: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) { DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->mutable_begintime())); ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( this->begintime().data(), static_cast(this->begintime().length()), ::google::protobuf::internal::WireFormat::PARSE, "Qot_GetCodeChange.TimeFilter.beginTime"); } else { goto handle_unusual; } break; } // optional string endTime = 3; case 3: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) { DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->mutable_endtime())); ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( this->endtime().data(), static_cast(this->endtime().length()), ::google::protobuf::internal::WireFormat::PARSE, "Qot_GetCodeChange.TimeFilter.endTime"); } else { goto handle_unusual; } break; } default: { handle_unusual: if (tag == 0) { goto success; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, _internal_metadata_.mutable_unknown_fields())); break; } } } success: // @@protoc_insertion_point(parse_success:Qot_GetCodeChange.TimeFilter) return true; failure: // @@protoc_insertion_point(parse_failure:Qot_GetCodeChange.TimeFilter) return false; #undef DO_ } void TimeFilter::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // @@protoc_insertion_point(serialize_start:Qot_GetCodeChange.TimeFilter) ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; // required int32 type = 1; if (cached_has_bits & 0x00000004u) { ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->type(), output); } // optional string beginTime = 2; if (cached_has_bits & 0x00000001u) { ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( this->begintime().data(), static_cast(this->begintime().length()), ::google::protobuf::internal::WireFormat::SERIALIZE, "Qot_GetCodeChange.TimeFilter.beginTime"); ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( 2, this->begintime(), output); } // optional string endTime = 3; if (cached_has_bits & 0x00000002u) { ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( this->endtime().data(), static_cast(this->endtime().length()), ::google::protobuf::internal::WireFormat::SERIALIZE, "Qot_GetCodeChange.TimeFilter.endTime"); ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( 3, this->endtime(), output); } if (_internal_metadata_.have_unknown_fields()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( _internal_metadata_.unknown_fields(), output); } // @@protoc_insertion_point(serialize_end:Qot_GetCodeChange.TimeFilter) } ::google::protobuf::uint8* TimeFilter::InternalSerializeWithCachedSizesToArray( bool deterministic, ::google::protobuf::uint8* target) const { (void)deterministic; // Unused // @@protoc_insertion_point(serialize_to_array_start:Qot_GetCodeChange.TimeFilter) ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; // required int32 type = 1; if (cached_has_bits & 0x00000004u) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->type(), target); } // optional string beginTime = 2; if (cached_has_bits & 0x00000001u) { ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( this->begintime().data(), static_cast(this->begintime().length()), ::google::protobuf::internal::WireFormat::SERIALIZE, "Qot_GetCodeChange.TimeFilter.beginTime"); target = ::google::protobuf::internal::WireFormatLite::WriteStringToArray( 2, this->begintime(), target); } // optional string endTime = 3; if (cached_has_bits & 0x00000002u) { ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( this->endtime().data(), static_cast(this->endtime().length()), ::google::protobuf::internal::WireFormat::SERIALIZE, "Qot_GetCodeChange.TimeFilter.endTime"); target = ::google::protobuf::internal::WireFormatLite::WriteStringToArray( 3, this->endtime(), target); } if (_internal_metadata_.have_unknown_fields()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields(), target); } // @@protoc_insertion_point(serialize_to_array_end:Qot_GetCodeChange.TimeFilter) return target; } size_t TimeFilter::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:Qot_GetCodeChange.TimeFilter) size_t total_size = 0; if (_internal_metadata_.have_unknown_fields()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( _internal_metadata_.unknown_fields()); } // required int32 type = 1; if (has_type()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->type()); } if (_has_bits_[0 / 32] & 3u) { // optional string beginTime = 2; if (has_begintime()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( this->begintime()); } // optional string endTime = 3; if (has_endtime()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( this->endtime()); } } int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = cached_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void TimeFilter::MergeFrom(const ::google::protobuf::Message& from) { // @@protoc_insertion_point(generalized_merge_from_start:Qot_GetCodeChange.TimeFilter) GOOGLE_DCHECK_NE(&from, this); const TimeFilter* source = ::google::protobuf::internal::DynamicCastToGenerated( &from); if (source == NULL) { // @@protoc_insertion_point(generalized_merge_from_cast_fail:Qot_GetCodeChange.TimeFilter) ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { // @@protoc_insertion_point(generalized_merge_from_cast_success:Qot_GetCodeChange.TimeFilter) MergeFrom(*source); } } void TimeFilter::MergeFrom(const TimeFilter& from) { // @@protoc_insertion_point(class_specific_merge_from_start:Qot_GetCodeChange.TimeFilter) GOOGLE_DCHECK_NE(&from, this); _internal_metadata_.MergeFrom(from._internal_metadata_); ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = from._has_bits_[0]; if (cached_has_bits & 7u) { if (cached_has_bits & 0x00000001u) { set_has_begintime(); begintime_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.begintime_); } if (cached_has_bits & 0x00000002u) { set_has_endtime(); endtime_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.endtime_); } if (cached_has_bits & 0x00000004u) { type_ = from.type_; } _has_bits_[0] |= cached_has_bits; } } void TimeFilter::CopyFrom(const ::google::protobuf::Message& from) { // @@protoc_insertion_point(generalized_copy_from_start:Qot_GetCodeChange.TimeFilter) if (&from == this) return; Clear(); MergeFrom(from); } void TimeFilter::CopyFrom(const TimeFilter& from) { // @@protoc_insertion_point(class_specific_copy_from_start:Qot_GetCodeChange.TimeFilter) if (&from == this) return; Clear(); MergeFrom(from); } bool TimeFilter::IsInitialized() const { if ((_has_bits_[0] & 0x00000004) != 0x00000004) return false; return true; } void TimeFilter::Swap(TimeFilter* other) { if (other == this) return; InternalSwap(other); } void TimeFilter::InternalSwap(TimeFilter* other) { using std::swap; begintime_.Swap(&other->begintime_); endtime_.Swap(&other->endtime_); swap(type_, other->type_); swap(_has_bits_[0], other->_has_bits_[0]); _internal_metadata_.Swap(&other->_internal_metadata_); swap(_cached_size_, other->_cached_size_); } ::google::protobuf::Metadata TimeFilter::GetMetadata() const { protobuf_Qot_5fGetCodeChange_2eproto::protobuf_AssignDescriptorsOnce(); return ::protobuf_Qot_5fGetCodeChange_2eproto::file_level_metadata[kIndexInFileMessages]; } // =================================================================== void C2S::InitAsDefaultInstance() { } void C2S::clear_securitylist() { securitylist_.Clear(); } #if !defined(_MSC_VER) || _MSC_VER >= 1900 const int C2S::kPlaceHolderFieldNumber; const int C2S::kSecurityListFieldNumber; const int C2S::kTimeFilterListFieldNumber; const int C2S::kTypeListFieldNumber; #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 C2S::C2S() : ::google::protobuf::Message(), _internal_metadata_(NULL) { if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) { ::protobuf_Qot_5fGetCodeChange_2eproto::InitDefaultsC2S(); } SharedCtor(); // @@protoc_insertion_point(constructor:Qot_GetCodeChange.C2S) } C2S::C2S(const C2S& from) : ::google::protobuf::Message(), _internal_metadata_(NULL), _has_bits_(from._has_bits_), _cached_size_(0), securitylist_(from.securitylist_), timefilterlist_(from.timefilterlist_), typelist_(from.typelist_) { _internal_metadata_.MergeFrom(from._internal_metadata_); placeholder_ = from.placeholder_; // @@protoc_insertion_point(copy_constructor:Qot_GetCodeChange.C2S) } void C2S::SharedCtor() { _cached_size_ = 0; placeholder_ = 0; } C2S::~C2S() { // @@protoc_insertion_point(destructor:Qot_GetCodeChange.C2S) SharedDtor(); } void C2S::SharedDtor() { } void C2S::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* C2S::descriptor() { ::protobuf_Qot_5fGetCodeChange_2eproto::protobuf_AssignDescriptorsOnce(); return ::protobuf_Qot_5fGetCodeChange_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; } const C2S& C2S::default_instance() { ::protobuf_Qot_5fGetCodeChange_2eproto::InitDefaultsC2S(); return *internal_default_instance(); } C2S* C2S::New(::google::protobuf::Arena* arena) const { C2S* n = new C2S; if (arena != NULL) { arena->Own(n); } return n; } void C2S::Clear() { // @@protoc_insertion_point(message_clear_start:Qot_GetCodeChange.C2S) ::google::protobuf::uint32 cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; securitylist_.Clear(); timefilterlist_.Clear(); typelist_.Clear(); placeholder_ = 0; _has_bits_.Clear(); _internal_metadata_.Clear(); } bool C2S::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure ::google::protobuf::uint32 tag; // @@protoc_insertion_point(parse_start:Qot_GetCodeChange.C2S) for (;;) { ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); tag = p.first; if (!p.second) goto handle_unusual; switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // optional int32 placeHolder = 1; case 1: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) { set_has_placeholder(); DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &placeholder_))); } else { goto handle_unusual; } break; } // repeated .Qot_Common.Security securityList = 2; case 2: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) { DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(input, add_securitylist())); } else { goto handle_unusual; } break; } // repeated .Qot_GetCodeChange.TimeFilter timeFilterList = 3; case 3: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) { DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(input, add_timefilterlist())); } else { goto handle_unusual; } break; } // repeated int32 typeList = 4; case 4: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(32u /* 32 & 0xFF */)) { DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( 1, 32u, input, this->mutable_typelist()))); } else if ( static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(34u /* 34 & 0xFF */)) { DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, this->mutable_typelist()))); } else { goto handle_unusual; } break; } default: { handle_unusual: if (tag == 0) { goto success; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, _internal_metadata_.mutable_unknown_fields())); break; } } } success: // @@protoc_insertion_point(parse_success:Qot_GetCodeChange.C2S) return true; failure: // @@protoc_insertion_point(parse_failure:Qot_GetCodeChange.C2S) return false; #undef DO_ } void C2S::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // @@protoc_insertion_point(serialize_start:Qot_GetCodeChange.C2S) ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; // optional int32 placeHolder = 1; if (cached_has_bits & 0x00000001u) { ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->placeholder(), output); } // repeated .Qot_Common.Security securityList = 2; for (unsigned int i = 0, n = static_cast(this->securitylist_size()); i < n; i++) { ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( 2, this->securitylist(static_cast(i)), output); } // repeated .Qot_GetCodeChange.TimeFilter timeFilterList = 3; for (unsigned int i = 0, n = static_cast(this->timefilterlist_size()); i < n; i++) { ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( 3, this->timefilterlist(static_cast(i)), output); } // repeated int32 typeList = 4; for (int i = 0, n = this->typelist_size(); i < n; i++) { ::google::protobuf::internal::WireFormatLite::WriteInt32( 4, this->typelist(i), output); } if (_internal_metadata_.have_unknown_fields()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( _internal_metadata_.unknown_fields(), output); } // @@protoc_insertion_point(serialize_end:Qot_GetCodeChange.C2S) } ::google::protobuf::uint8* C2S::InternalSerializeWithCachedSizesToArray( bool deterministic, ::google::protobuf::uint8* target) const { (void)deterministic; // Unused // @@protoc_insertion_point(serialize_to_array_start:Qot_GetCodeChange.C2S) ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; // optional int32 placeHolder = 1; if (cached_has_bits & 0x00000001u) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->placeholder(), target); } // repeated .Qot_Common.Security securityList = 2; for (unsigned int i = 0, n = static_cast(this->securitylist_size()); i < n; i++) { target = ::google::protobuf::internal::WireFormatLite:: InternalWriteMessageToArray( 2, this->securitylist(static_cast(i)), deterministic, target); } // repeated .Qot_GetCodeChange.TimeFilter timeFilterList = 3; for (unsigned int i = 0, n = static_cast(this->timefilterlist_size()); i < n; i++) { target = ::google::protobuf::internal::WireFormatLite:: InternalWriteMessageToArray( 3, this->timefilterlist(static_cast(i)), deterministic, target); } // repeated int32 typeList = 4; target = ::google::protobuf::internal::WireFormatLite:: WriteInt32ToArray(4, this->typelist_, target); if (_internal_metadata_.have_unknown_fields()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields(), target); } // @@protoc_insertion_point(serialize_to_array_end:Qot_GetCodeChange.C2S) return target; } size_t C2S::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:Qot_GetCodeChange.C2S) size_t total_size = 0; if (_internal_metadata_.have_unknown_fields()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( _internal_metadata_.unknown_fields()); } // repeated .Qot_Common.Security securityList = 2; { unsigned int count = static_cast(this->securitylist_size()); total_size += 1UL * count; for (unsigned int i = 0; i < count; i++) { total_size += ::google::protobuf::internal::WireFormatLite::MessageSize( this->securitylist(static_cast(i))); } } // repeated .Qot_GetCodeChange.TimeFilter timeFilterList = 3; { unsigned int count = static_cast(this->timefilterlist_size()); total_size += 1UL * count; for (unsigned int i = 0; i < count; i++) { total_size += ::google::protobuf::internal::WireFormatLite::MessageSize( this->timefilterlist(static_cast(i))); } } // repeated int32 typeList = 4; { size_t data_size = ::google::protobuf::internal::WireFormatLite:: Int32Size(this->typelist_); total_size += 1 * ::google::protobuf::internal::FromIntSize(this->typelist_size()); total_size += data_size; } // optional int32 placeHolder = 1; if (has_placeholder()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->placeholder()); } int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = cached_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void C2S::MergeFrom(const ::google::protobuf::Message& from) { // @@protoc_insertion_point(generalized_merge_from_start:Qot_GetCodeChange.C2S) GOOGLE_DCHECK_NE(&from, this); const C2S* source = ::google::protobuf::internal::DynamicCastToGenerated( &from); if (source == NULL) { // @@protoc_insertion_point(generalized_merge_from_cast_fail:Qot_GetCodeChange.C2S) ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { // @@protoc_insertion_point(generalized_merge_from_cast_success:Qot_GetCodeChange.C2S) MergeFrom(*source); } } void C2S::MergeFrom(const C2S& from) { // @@protoc_insertion_point(class_specific_merge_from_start:Qot_GetCodeChange.C2S) GOOGLE_DCHECK_NE(&from, this); _internal_metadata_.MergeFrom(from._internal_metadata_); ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; securitylist_.MergeFrom(from.securitylist_); timefilterlist_.MergeFrom(from.timefilterlist_); typelist_.MergeFrom(from.typelist_); if (from.has_placeholder()) { set_placeholder(from.placeholder()); } } void C2S::CopyFrom(const ::google::protobuf::Message& from) { // @@protoc_insertion_point(generalized_copy_from_start:Qot_GetCodeChange.C2S) if (&from == this) return; Clear(); MergeFrom(from); } void C2S::CopyFrom(const C2S& from) { // @@protoc_insertion_point(class_specific_copy_from_start:Qot_GetCodeChange.C2S) if (&from == this) return; Clear(); MergeFrom(from); } bool C2S::IsInitialized() const { if (!::google::protobuf::internal::AllAreInitialized(this->securitylist())) return false; if (!::google::protobuf::internal::AllAreInitialized(this->timefilterlist())) return false; return true; } void C2S::Swap(C2S* other) { if (other == this) return; InternalSwap(other); } void C2S::InternalSwap(C2S* other) { using std::swap; securitylist_.InternalSwap(&other->securitylist_); timefilterlist_.InternalSwap(&other->timefilterlist_); typelist_.InternalSwap(&other->typelist_); swap(placeholder_, other->placeholder_); swap(_has_bits_[0], other->_has_bits_[0]); _internal_metadata_.Swap(&other->_internal_metadata_); swap(_cached_size_, other->_cached_size_); } ::google::protobuf::Metadata C2S::GetMetadata() const { protobuf_Qot_5fGetCodeChange_2eproto::protobuf_AssignDescriptorsOnce(); return ::protobuf_Qot_5fGetCodeChange_2eproto::file_level_metadata[kIndexInFileMessages]; } // =================================================================== void S2C::InitAsDefaultInstance() { } #if !defined(_MSC_VER) || _MSC_VER >= 1900 const int S2C::kCodeChangeListFieldNumber; #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 S2C::S2C() : ::google::protobuf::Message(), _internal_metadata_(NULL) { if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) { ::protobuf_Qot_5fGetCodeChange_2eproto::InitDefaultsS2C(); } SharedCtor(); // @@protoc_insertion_point(constructor:Qot_GetCodeChange.S2C) } S2C::S2C(const S2C& from) : ::google::protobuf::Message(), _internal_metadata_(NULL), _has_bits_(from._has_bits_), _cached_size_(0), codechangelist_(from.codechangelist_) { _internal_metadata_.MergeFrom(from._internal_metadata_); // @@protoc_insertion_point(copy_constructor:Qot_GetCodeChange.S2C) } void S2C::SharedCtor() { _cached_size_ = 0; } S2C::~S2C() { // @@protoc_insertion_point(destructor:Qot_GetCodeChange.S2C) SharedDtor(); } void S2C::SharedDtor() { } void S2C::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* S2C::descriptor() { ::protobuf_Qot_5fGetCodeChange_2eproto::protobuf_AssignDescriptorsOnce(); return ::protobuf_Qot_5fGetCodeChange_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; } const S2C& S2C::default_instance() { ::protobuf_Qot_5fGetCodeChange_2eproto::InitDefaultsS2C(); return *internal_default_instance(); } S2C* S2C::New(::google::protobuf::Arena* arena) const { S2C* n = new S2C; if (arena != NULL) { arena->Own(n); } return n; } void S2C::Clear() { // @@protoc_insertion_point(message_clear_start:Qot_GetCodeChange.S2C) ::google::protobuf::uint32 cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; codechangelist_.Clear(); _has_bits_.Clear(); _internal_metadata_.Clear(); } bool S2C::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure ::google::protobuf::uint32 tag; // @@protoc_insertion_point(parse_start:Qot_GetCodeChange.S2C) for (;;) { ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); tag = p.first; if (!p.second) goto handle_unusual; switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // repeated .Qot_GetCodeChange.CodeChangeInfo codeChangeList = 1; case 1: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) { DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(input, add_codechangelist())); } else { goto handle_unusual; } break; } default: { handle_unusual: if (tag == 0) { goto success; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, _internal_metadata_.mutable_unknown_fields())); break; } } } success: // @@protoc_insertion_point(parse_success:Qot_GetCodeChange.S2C) return true; failure: // @@protoc_insertion_point(parse_failure:Qot_GetCodeChange.S2C) return false; #undef DO_ } void S2C::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // @@protoc_insertion_point(serialize_start:Qot_GetCodeChange.S2C) ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; // repeated .Qot_GetCodeChange.CodeChangeInfo codeChangeList = 1; for (unsigned int i = 0, n = static_cast(this->codechangelist_size()); i < n; i++) { ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( 1, this->codechangelist(static_cast(i)), output); } if (_internal_metadata_.have_unknown_fields()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( _internal_metadata_.unknown_fields(), output); } // @@protoc_insertion_point(serialize_end:Qot_GetCodeChange.S2C) } ::google::protobuf::uint8* S2C::InternalSerializeWithCachedSizesToArray( bool deterministic, ::google::protobuf::uint8* target) const { (void)deterministic; // Unused // @@protoc_insertion_point(serialize_to_array_start:Qot_GetCodeChange.S2C) ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; // repeated .Qot_GetCodeChange.CodeChangeInfo codeChangeList = 1; for (unsigned int i = 0, n = static_cast(this->codechangelist_size()); i < n; i++) { target = ::google::protobuf::internal::WireFormatLite:: InternalWriteMessageToArray( 1, this->codechangelist(static_cast(i)), deterministic, target); } if (_internal_metadata_.have_unknown_fields()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields(), target); } // @@protoc_insertion_point(serialize_to_array_end:Qot_GetCodeChange.S2C) return target; } size_t S2C::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:Qot_GetCodeChange.S2C) size_t total_size = 0; if (_internal_metadata_.have_unknown_fields()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( _internal_metadata_.unknown_fields()); } // repeated .Qot_GetCodeChange.CodeChangeInfo codeChangeList = 1; { unsigned int count = static_cast(this->codechangelist_size()); total_size += 1UL * count; for (unsigned int i = 0; i < count; i++) { total_size += ::google::protobuf::internal::WireFormatLite::MessageSize( this->codechangelist(static_cast(i))); } } int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = cached_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void S2C::MergeFrom(const ::google::protobuf::Message& from) { // @@protoc_insertion_point(generalized_merge_from_start:Qot_GetCodeChange.S2C) GOOGLE_DCHECK_NE(&from, this); const S2C* source = ::google::protobuf::internal::DynamicCastToGenerated( &from); if (source == NULL) { // @@protoc_insertion_point(generalized_merge_from_cast_fail:Qot_GetCodeChange.S2C) ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { // @@protoc_insertion_point(generalized_merge_from_cast_success:Qot_GetCodeChange.S2C) MergeFrom(*source); } } void S2C::MergeFrom(const S2C& from) { // @@protoc_insertion_point(class_specific_merge_from_start:Qot_GetCodeChange.S2C) GOOGLE_DCHECK_NE(&from, this); _internal_metadata_.MergeFrom(from._internal_metadata_); ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; codechangelist_.MergeFrom(from.codechangelist_); } void S2C::CopyFrom(const ::google::protobuf::Message& from) { // @@protoc_insertion_point(generalized_copy_from_start:Qot_GetCodeChange.S2C) if (&from == this) return; Clear(); MergeFrom(from); } void S2C::CopyFrom(const S2C& from) { // @@protoc_insertion_point(class_specific_copy_from_start:Qot_GetCodeChange.S2C) if (&from == this) return; Clear(); MergeFrom(from); } bool S2C::IsInitialized() const { if (!::google::protobuf::internal::AllAreInitialized(this->codechangelist())) return false; return true; } void S2C::Swap(S2C* other) { if (other == this) return; InternalSwap(other); } void S2C::InternalSwap(S2C* other) { using std::swap; codechangelist_.InternalSwap(&other->codechangelist_); swap(_has_bits_[0], other->_has_bits_[0]); _internal_metadata_.Swap(&other->_internal_metadata_); swap(_cached_size_, other->_cached_size_); } ::google::protobuf::Metadata S2C::GetMetadata() const { protobuf_Qot_5fGetCodeChange_2eproto::protobuf_AssignDescriptorsOnce(); return ::protobuf_Qot_5fGetCodeChange_2eproto::file_level_metadata[kIndexInFileMessages]; } // =================================================================== void Request::InitAsDefaultInstance() { ::Qot_GetCodeChange::_Request_default_instance_._instance.get_mutable()->c2s_ = const_cast< ::Qot_GetCodeChange::C2S*>( ::Qot_GetCodeChange::C2S::internal_default_instance()); } #if !defined(_MSC_VER) || _MSC_VER >= 1900 const int Request::kC2SFieldNumber; #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 Request::Request() : ::google::protobuf::Message(), _internal_metadata_(NULL) { if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) { ::protobuf_Qot_5fGetCodeChange_2eproto::InitDefaultsRequest(); } SharedCtor(); // @@protoc_insertion_point(constructor:Qot_GetCodeChange.Request) } Request::Request(const Request& from) : ::google::protobuf::Message(), _internal_metadata_(NULL), _has_bits_(from._has_bits_), _cached_size_(0) { _internal_metadata_.MergeFrom(from._internal_metadata_); if (from.has_c2s()) { c2s_ = new ::Qot_GetCodeChange::C2S(*from.c2s_); } else { c2s_ = NULL; } // @@protoc_insertion_point(copy_constructor:Qot_GetCodeChange.Request) } void Request::SharedCtor() { _cached_size_ = 0; c2s_ = NULL; } Request::~Request() { // @@protoc_insertion_point(destructor:Qot_GetCodeChange.Request) SharedDtor(); } void Request::SharedDtor() { if (this != internal_default_instance()) delete c2s_; } void Request::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* Request::descriptor() { ::protobuf_Qot_5fGetCodeChange_2eproto::protobuf_AssignDescriptorsOnce(); return ::protobuf_Qot_5fGetCodeChange_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; } const Request& Request::default_instance() { ::protobuf_Qot_5fGetCodeChange_2eproto::InitDefaultsRequest(); return *internal_default_instance(); } Request* Request::New(::google::protobuf::Arena* arena) const { Request* n = new Request; if (arena != NULL) { arena->Own(n); } return n; } void Request::Clear() { // @@protoc_insertion_point(message_clear_start:Qot_GetCodeChange.Request) ::google::protobuf::uint32 cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; cached_has_bits = _has_bits_[0]; if (cached_has_bits & 0x00000001u) { GOOGLE_DCHECK(c2s_ != NULL); c2s_->Clear(); } _has_bits_.Clear(); _internal_metadata_.Clear(); } bool Request::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure ::google::protobuf::uint32 tag; // @@protoc_insertion_point(parse_start:Qot_GetCodeChange.Request) for (;;) { ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); tag = p.first; if (!p.second) goto handle_unusual; switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // required .Qot_GetCodeChange.C2S c2s = 1; case 1: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) { DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( input, mutable_c2s())); } else { goto handle_unusual; } break; } default: { handle_unusual: if (tag == 0) { goto success; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, _internal_metadata_.mutable_unknown_fields())); break; } } } success: // @@protoc_insertion_point(parse_success:Qot_GetCodeChange.Request) return true; failure: // @@protoc_insertion_point(parse_failure:Qot_GetCodeChange.Request) return false; #undef DO_ } void Request::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // @@protoc_insertion_point(serialize_start:Qot_GetCodeChange.Request) ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; // required .Qot_GetCodeChange.C2S c2s = 1; if (cached_has_bits & 0x00000001u) { ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( 1, *this->c2s_, output); } if (_internal_metadata_.have_unknown_fields()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( _internal_metadata_.unknown_fields(), output); } // @@protoc_insertion_point(serialize_end:Qot_GetCodeChange.Request) } ::google::protobuf::uint8* Request::InternalSerializeWithCachedSizesToArray( bool deterministic, ::google::protobuf::uint8* target) const { (void)deterministic; // Unused // @@protoc_insertion_point(serialize_to_array_start:Qot_GetCodeChange.Request) ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; // required .Qot_GetCodeChange.C2S c2s = 1; if (cached_has_bits & 0x00000001u) { target = ::google::protobuf::internal::WireFormatLite:: InternalWriteMessageToArray( 1, *this->c2s_, deterministic, target); } if (_internal_metadata_.have_unknown_fields()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields(), target); } // @@protoc_insertion_point(serialize_to_array_end:Qot_GetCodeChange.Request) return target; } size_t Request::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:Qot_GetCodeChange.Request) size_t total_size = 0; if (_internal_metadata_.have_unknown_fields()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( _internal_metadata_.unknown_fields()); } // required .Qot_GetCodeChange.C2S c2s = 1; if (has_c2s()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( *this->c2s_); } int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = cached_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void Request::MergeFrom(const ::google::protobuf::Message& from) { // @@protoc_insertion_point(generalized_merge_from_start:Qot_GetCodeChange.Request) GOOGLE_DCHECK_NE(&from, this); const Request* source = ::google::protobuf::internal::DynamicCastToGenerated( &from); if (source == NULL) { // @@protoc_insertion_point(generalized_merge_from_cast_fail:Qot_GetCodeChange.Request) ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { // @@protoc_insertion_point(generalized_merge_from_cast_success:Qot_GetCodeChange.Request) MergeFrom(*source); } } void Request::MergeFrom(const Request& from) { // @@protoc_insertion_point(class_specific_merge_from_start:Qot_GetCodeChange.Request) GOOGLE_DCHECK_NE(&from, this); _internal_metadata_.MergeFrom(from._internal_metadata_); ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; if (from.has_c2s()) { mutable_c2s()->::Qot_GetCodeChange::C2S::MergeFrom(from.c2s()); } } void Request::CopyFrom(const ::google::protobuf::Message& from) { // @@protoc_insertion_point(generalized_copy_from_start:Qot_GetCodeChange.Request) if (&from == this) return; Clear(); MergeFrom(from); } void Request::CopyFrom(const Request& from) { // @@protoc_insertion_point(class_specific_copy_from_start:Qot_GetCodeChange.Request) if (&from == this) return; Clear(); MergeFrom(from); } bool Request::IsInitialized() const { if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false; if (has_c2s()) { if (!this->c2s_->IsInitialized()) return false; } return true; } void Request::Swap(Request* other) { if (other == this) return; InternalSwap(other); } void Request::InternalSwap(Request* other) { using std::swap; swap(c2s_, other->c2s_); swap(_has_bits_[0], other->_has_bits_[0]); _internal_metadata_.Swap(&other->_internal_metadata_); swap(_cached_size_, other->_cached_size_); } ::google::protobuf::Metadata Request::GetMetadata() const { protobuf_Qot_5fGetCodeChange_2eproto::protobuf_AssignDescriptorsOnce(); return ::protobuf_Qot_5fGetCodeChange_2eproto::file_level_metadata[kIndexInFileMessages]; } // =================================================================== void Response::InitAsDefaultInstance() { ::Qot_GetCodeChange::_Response_default_instance_._instance.get_mutable()->s2c_ = const_cast< ::Qot_GetCodeChange::S2C*>( ::Qot_GetCodeChange::S2C::internal_default_instance()); } #if !defined(_MSC_VER) || _MSC_VER >= 1900 const int Response::kRetTypeFieldNumber; const int Response::kRetMsgFieldNumber; const int Response::kErrCodeFieldNumber; const int Response::kS2CFieldNumber; #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 Response::Response() : ::google::protobuf::Message(), _internal_metadata_(NULL) { if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) { ::protobuf_Qot_5fGetCodeChange_2eproto::InitDefaultsResponse(); } SharedCtor(); // @@protoc_insertion_point(constructor:Qot_GetCodeChange.Response) } Response::Response(const Response& from) : ::google::protobuf::Message(), _internal_metadata_(NULL), _has_bits_(from._has_bits_), _cached_size_(0) { _internal_metadata_.MergeFrom(from._internal_metadata_); retmsg_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); if (from.has_retmsg()) { retmsg_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.retmsg_); } if (from.has_s2c()) { s2c_ = new ::Qot_GetCodeChange::S2C(*from.s2c_); } else { s2c_ = NULL; } ::memcpy(&errcode_, &from.errcode_, static_cast(reinterpret_cast(&rettype_) - reinterpret_cast(&errcode_)) + sizeof(rettype_)); // @@protoc_insertion_point(copy_constructor:Qot_GetCodeChange.Response) } void Response::SharedCtor() { _cached_size_ = 0; retmsg_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); ::memset(&s2c_, 0, static_cast( reinterpret_cast(&errcode_) - reinterpret_cast(&s2c_)) + sizeof(errcode_)); rettype_ = -400; } Response::~Response() { // @@protoc_insertion_point(destructor:Qot_GetCodeChange.Response) SharedDtor(); } void Response::SharedDtor() { retmsg_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); if (this != internal_default_instance()) delete s2c_; } void Response::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* Response::descriptor() { ::protobuf_Qot_5fGetCodeChange_2eproto::protobuf_AssignDescriptorsOnce(); return ::protobuf_Qot_5fGetCodeChange_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; } const Response& Response::default_instance() { ::protobuf_Qot_5fGetCodeChange_2eproto::InitDefaultsResponse(); return *internal_default_instance(); } Response* Response::New(::google::protobuf::Arena* arena) const { Response* n = new Response; if (arena != NULL) { arena->Own(n); } return n; } void Response::Clear() { // @@protoc_insertion_point(message_clear_start:Qot_GetCodeChange.Response) ::google::protobuf::uint32 cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; cached_has_bits = _has_bits_[0]; if (cached_has_bits & 3u) { if (cached_has_bits & 0x00000001u) { GOOGLE_DCHECK(!retmsg_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited())); (*retmsg_.UnsafeRawStringPointer())->clear(); } if (cached_has_bits & 0x00000002u) { GOOGLE_DCHECK(s2c_ != NULL); s2c_->Clear(); } } if (cached_has_bits & 12u) { errcode_ = 0; rettype_ = -400; } _has_bits_.Clear(); _internal_metadata_.Clear(); } bool Response::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure ::google::protobuf::uint32 tag; // @@protoc_insertion_point(parse_start:Qot_GetCodeChange.Response) for (;;) { ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); tag = p.first; if (!p.second) goto handle_unusual; switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // required int32 retType = 1 [default = -400]; case 1: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) { set_has_rettype(); DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &rettype_))); } else { goto handle_unusual; } break; } // optional string retMsg = 2; case 2: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) { DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->mutable_retmsg())); ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( this->retmsg().data(), static_cast(this->retmsg().length()), ::google::protobuf::internal::WireFormat::PARSE, "Qot_GetCodeChange.Response.retMsg"); } else { goto handle_unusual; } break; } // optional int32 errCode = 3; case 3: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(24u /* 24 & 0xFF */)) { set_has_errcode(); DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &errcode_))); } else { goto handle_unusual; } break; } // optional .Qot_GetCodeChange.S2C s2c = 4; case 4: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(34u /* 34 & 0xFF */)) { DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( input, mutable_s2c())); } else { goto handle_unusual; } break; } default: { handle_unusual: if (tag == 0) { goto success; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, _internal_metadata_.mutable_unknown_fields())); break; } } } success: // @@protoc_insertion_point(parse_success:Qot_GetCodeChange.Response) return true; failure: // @@protoc_insertion_point(parse_failure:Qot_GetCodeChange.Response) return false; #undef DO_ } void Response::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // @@protoc_insertion_point(serialize_start:Qot_GetCodeChange.Response) ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; // required int32 retType = 1 [default = -400]; if (cached_has_bits & 0x00000008u) { ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->rettype(), output); } // optional string retMsg = 2; if (cached_has_bits & 0x00000001u) { ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( this->retmsg().data(), static_cast(this->retmsg().length()), ::google::protobuf::internal::WireFormat::SERIALIZE, "Qot_GetCodeChange.Response.retMsg"); ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( 2, this->retmsg(), output); } // optional int32 errCode = 3; if (cached_has_bits & 0x00000004u) { ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->errcode(), output); } // optional .Qot_GetCodeChange.S2C s2c = 4; if (cached_has_bits & 0x00000002u) { ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( 4, *this->s2c_, output); } if (_internal_metadata_.have_unknown_fields()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( _internal_metadata_.unknown_fields(), output); } // @@protoc_insertion_point(serialize_end:Qot_GetCodeChange.Response) } ::google::protobuf::uint8* Response::InternalSerializeWithCachedSizesToArray( bool deterministic, ::google::protobuf::uint8* target) const { (void)deterministic; // Unused // @@protoc_insertion_point(serialize_to_array_start:Qot_GetCodeChange.Response) ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; // required int32 retType = 1 [default = -400]; if (cached_has_bits & 0x00000008u) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->rettype(), target); } // optional string retMsg = 2; if (cached_has_bits & 0x00000001u) { ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( this->retmsg().data(), static_cast(this->retmsg().length()), ::google::protobuf::internal::WireFormat::SERIALIZE, "Qot_GetCodeChange.Response.retMsg"); target = ::google::protobuf::internal::WireFormatLite::WriteStringToArray( 2, this->retmsg(), target); } // optional int32 errCode = 3; if (cached_has_bits & 0x00000004u) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->errcode(), target); } // optional .Qot_GetCodeChange.S2C s2c = 4; if (cached_has_bits & 0x00000002u) { target = ::google::protobuf::internal::WireFormatLite:: InternalWriteMessageToArray( 4, *this->s2c_, deterministic, target); } if (_internal_metadata_.have_unknown_fields()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields(), target); } // @@protoc_insertion_point(serialize_to_array_end:Qot_GetCodeChange.Response) return target; } size_t Response::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:Qot_GetCodeChange.Response) size_t total_size = 0; if (_internal_metadata_.have_unknown_fields()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( _internal_metadata_.unknown_fields()); } // required int32 retType = 1 [default = -400]; if (has_rettype()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->rettype()); } if (_has_bits_[0 / 32] & 7u) { // optional string retMsg = 2; if (has_retmsg()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( this->retmsg()); } // optional .Qot_GetCodeChange.S2C s2c = 4; if (has_s2c()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( *this->s2c_); } // optional int32 errCode = 3; if (has_errcode()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->errcode()); } } int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = cached_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void Response::MergeFrom(const ::google::protobuf::Message& from) { // @@protoc_insertion_point(generalized_merge_from_start:Qot_GetCodeChange.Response) GOOGLE_DCHECK_NE(&from, this); const Response* source = ::google::protobuf::internal::DynamicCastToGenerated( &from); if (source == NULL) { // @@protoc_insertion_point(generalized_merge_from_cast_fail:Qot_GetCodeChange.Response) ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { // @@protoc_insertion_point(generalized_merge_from_cast_success:Qot_GetCodeChange.Response) MergeFrom(*source); } } void Response::MergeFrom(const Response& from) { // @@protoc_insertion_point(class_specific_merge_from_start:Qot_GetCodeChange.Response) GOOGLE_DCHECK_NE(&from, this); _internal_metadata_.MergeFrom(from._internal_metadata_); ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = from._has_bits_[0]; if (cached_has_bits & 15u) { if (cached_has_bits & 0x00000001u) { set_has_retmsg(); retmsg_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.retmsg_); } if (cached_has_bits & 0x00000002u) { mutable_s2c()->::Qot_GetCodeChange::S2C::MergeFrom(from.s2c()); } if (cached_has_bits & 0x00000004u) { errcode_ = from.errcode_; } if (cached_has_bits & 0x00000008u) { rettype_ = from.rettype_; } _has_bits_[0] |= cached_has_bits; } } void Response::CopyFrom(const ::google::protobuf::Message& from) { // @@protoc_insertion_point(generalized_copy_from_start:Qot_GetCodeChange.Response) if (&from == this) return; Clear(); MergeFrom(from); } void Response::CopyFrom(const Response& from) { // @@protoc_insertion_point(class_specific_copy_from_start:Qot_GetCodeChange.Response) if (&from == this) return; Clear(); MergeFrom(from); } bool Response::IsInitialized() const { if ((_has_bits_[0] & 0x00000008) != 0x00000008) return false; if (has_s2c()) { if (!this->s2c_->IsInitialized()) return false; } return true; } void Response::Swap(Response* other) { if (other == this) return; InternalSwap(other); } void Response::InternalSwap(Response* other) { using std::swap; retmsg_.Swap(&other->retmsg_); swap(s2c_, other->s2c_); swap(errcode_, other->errcode_); swap(rettype_, other->rettype_); swap(_has_bits_[0], other->_has_bits_[0]); _internal_metadata_.Swap(&other->_internal_metadata_); swap(_cached_size_, other->_cached_size_); } ::google::protobuf::Metadata Response::GetMetadata() const { protobuf_Qot_5fGetCodeChange_2eproto::protobuf_AssignDescriptorsOnce(); return ::protobuf_Qot_5fGetCodeChange_2eproto::file_level_metadata[kIndexInFileMessages]; } // @@protoc_insertion_point(namespace_scope) } // namespace Qot_GetCodeChange // @@protoc_insertion_point(global_scope)