void MsgSocialUserInfo::Clear() { ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); }
bool MFNHashFileSaltedProtobuf::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) return false ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // optional uint32 hash_length_bytes = 1; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &hash_length_bytes_))); set_has_hash_length_bytes(); } else { goto handle_uninterpreted; } if (input->ExpectTag(16)) goto parse_salt_length_bytes; break; } // optional uint32 salt_length_bytes = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_salt_length_bytes: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &salt_length_bytes_))); set_has_salt_length_bytes(); } else { goto handle_uninterpreted; } if (input->ExpectTag(26)) goto parse_salted_hash_value; break; } // repeated .MFNHashFileSaltedProtobuf.SaltedHash salted_hash_value = 3; case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { parse_salted_hash_value: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, add_salted_hash_value())); } else { goto handle_uninterpreted; } if (input->ExpectTag(26)) goto parse_salted_hash_value; if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { return true; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } return true; #undef DO_ }
void CSFightReadyRequest::Clear() { ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); }
void RseHeartbeat::Clear() { ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); }
bool tictacpacket::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure ::google::protobuf::uint32 tag; // @@protoc_insertion_point(parse_start:tictac.tictacpacket) for (;;) { ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); tag = p.first; if (!p.second) goto handle_unusual; switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // required int32 Ipv4 = 1; case 1: { if (tag == 8) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &ipv4_))); set_has_ipv4(); } else { goto handle_unusual; } if (input->ExpectTag(16)) goto parse_msgType; break; } // required .tictac.tictacpacket.MsgType msgType = 2; case 2: { if (tag == 16) { parse_msgType: int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( input, &value))); if (::tictac::tictacpacket_MsgType_IsValid(value)) { set_msgtype(static_cast< ::tictac::tictacpacket_MsgType >(value)); } else { mutable_unknown_fields()->AddVarint(2, value); } } else { goto handle_unusual; } if (input->ExpectTag(26)) goto parse_playerName; break; } // optional string playerName = 3; case 3: { if (tag == 26) { parse_playerName: DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->mutable_playername())); ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( this->playername().data(), this->playername().length(), ::google::protobuf::internal::WireFormat::PARSE, "playername"); } else { goto handle_unusual; } if (input->ExpectTag(34)) goto parse_state; break; } // optional string state = 4; case 4: { if (tag == 34) { parse_state: DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->mutable_state())); ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( this->state().data(), this->state().length(), ::google::protobuf::internal::WireFormat::PARSE, "state"); } else { goto handle_unusual; } if (input->ExpectTag(40)) goto parse_Ipv4Opp; break; } // optional int32 Ipv4Opp = 5; case 5: { if (tag == 40) { parse_Ipv4Opp: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &ipv4opp_))); set_has_ipv4opp(); } else { goto handle_unusual; } if (input->ExpectTag(48)) goto parse_endType; break; } // optional .tictac.tictacpacket.EndType endType = 6; case 6: { if (tag == 48) { parse_endType: int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( input, &value))); if (::tictac::tictacpacket_EndType_IsValid(value)) { set_endtype(static_cast< ::tictac::tictacpacket_EndType >(value)); } else { mutable_unknown_fields()->AddVarint(6, value); } } else { goto handle_unusual; } if (input->ExpectTag(56)) goto parse_nPos; break; } // optional int32 nPos = 7; case 7: { if (tag == 56) { parse_nPos: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &npos_))); set_has_npos(); } else { goto handle_unusual; } if (input->ExpectAtEnd()) goto success; break; } default: { handle_unusual: if (tag == 0 || ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { goto success; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } success: // @@protoc_insertion_point(parse_success:tictac.tictacpacket) return true; failure: // @@protoc_insertion_point(parse_failure:tictac.tictacpacket) return false; #undef DO_ }
bool MktData::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) return false ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // optional int32 secu_id = 1 [default = 0]; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &secu_id_))); set_has_secu_id(); } else { goto handle_uninterpreted; } if (input->ExpectTag(18)) goto parse_instrument; break; } // optional string instrument = 2 [default = ""]; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { parse_instrument: DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->mutable_instrument())); ::google::protobuf::internal::WireFormat::VerifyUTF8String( this->instrument().data(), this->instrument().length(), ::google::protobuf::internal::WireFormat::PARSE); } else { goto handle_uninterpreted; } if (input->ExpectTag(26)) goto parse_quotes; break; } // repeated .acm.PriceInfo quotes = 3; case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { parse_quotes: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, add_quotes())); } else { goto handle_uninterpreted; } if (input->ExpectTag(26)) goto parse_quotes; if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { return true; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } return true; #undef DO_ }
bool RceUpdateMisc::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) return false ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // optional int32 planetId = 1; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) != ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { goto handle_uninterpreted; } DO_(::google::protobuf::internal::WireFormatLite::ReadInt32( input, &planetid_)); _set_bit(0); if (input->ExpectTag(18)) goto parse_action; break; } // optional string action = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) != ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { goto handle_uninterpreted; } parse_action: DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->mutable_action())); ::google::protobuf::internal::WireFormat::VerifyUTF8String( this->action().data(), this->action().length(), ::google::protobuf::internal::WireFormat::PARSE); if (input->ExpectTag(24)) goto parse_wk; break; } // optional int32 wk = 3; case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) != ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { goto handle_uninterpreted; } parse_wk: DO_(::google::protobuf::internal::WireFormatLite::ReadInt32( input, &wk_)); _set_bit(2); if (input->ExpectTag(32)) goto parse_chk; break; } // optional int32 chk = 4; case 4: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) != ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { goto handle_uninterpreted; } parse_chk: DO_(::google::protobuf::internal::WireFormatLite::ReadInt32( input, &chk_)); _set_bit(3); if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { return true; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } return true; #undef DO_ }
bool UserLogin::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure ::google::protobuf::uint32 tag; ::google::protobuf::io::StringOutputStream unknown_fields_string( mutable_unknown_fields()); ::google::protobuf::io::CodedOutputStream unknown_fields_stream( &unknown_fields_string); // @@protoc_insertion_point(parse_start:yunquan.UserLogin) for (;;) { ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); tag = p.first; if (!p.second) goto handle_unusual; switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // required .yunquan.E_CLIENT_TYPE clientType = 1; case 1: { if (tag == 8) { int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( input, &value))); if (::yunquan::E_CLIENT_TYPE_IsValid(value)) { set_clienttype(static_cast< ::yunquan::E_CLIENT_TYPE >(value)); } else { unknown_fields_stream.WriteVarint32(tag); unknown_fields_stream.WriteVarint32(value); } } else { goto handle_unusual; } if (input->ExpectTag(18)) goto parse_clientId; break; } // required string clientId = 2; case 2: { if (tag == 18) { parse_clientId: DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->mutable_clientid())); } else { goto handle_unusual; } if (input->ExpectTag(26)) goto parse_clientSecret; break; } // required string clientSecret = 3; case 3: { if (tag == 26) { parse_clientSecret: DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->mutable_clientsecret())); } else { goto handle_unusual; } if (input->ExpectTag(32)) goto parse_sessionId; break; } // optional uint32 sessionId = 4; case 4: { if (tag == 32) { parse_sessionId: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &sessionid_))); set_has_sessionid(); } else { goto handle_unusual; } if (input->ExpectAtEnd()) goto success; break; } default: { handle_unusual: if (tag == 0 || ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { goto success; } DO_(::google::protobuf::internal::WireFormatLite::SkipField( input, tag, &unknown_fields_stream)); break; } } } success: // @@protoc_insertion_point(parse_success:yunquan.UserLogin) return true; failure: // @@protoc_insertion_point(parse_failure:yunquan.UserLogin) return false; #undef DO_ }
void RseObtainAskForHelp::Clear() { items_.Clear(); units_.Clear(); ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); }
void FriendInfoLite::MergeFrom(const FriendInfoLite& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (from._has_bit(0)) { set_baseid(from.baseid()); } if (from._has_bit(1)) { set_first_name(from.first_name()); } if (from._has_bit(2)) { set_pic(from.pic()); } if (from._has_bit(3)) { set_lvl(from.lvl()); } if (from._has_bit(4)) { set_is_yellow_vip(from.is_yellow_vip()); } if (from._has_bit(5)) { set_is_yellow_year_vip(from.is_yellow_year_vip()); } if (from._has_bit(6)) { set_yellow_vip_level(from.yellow_vip_level()); } if (from._has_bit(7)) { set_totalpercharge(from.totalpercharge()); } } if (from._has_bits_[8 / 32] & (0xffu << (8 % 32))) { if (from._has_bit(8)) { set_lastlogontime(from.lastlogontime()); } if (from._has_bit(9)) { set_qqdmdlvl(from.qqdmdlvl()); } if (from._has_bit(10)) { set_isqqdmd(from.isqqdmd()); } if (from._has_bit(11)) { set_isqqdmdyear(from.isqqdmdyear()); } if (from._has_bit(12)) { set_sameregion(from.sameregion()); } if (from._has_bit(13)) { set_platid(from.platid()); } if (from._has_bit(14)) { set_finishcapturetm(from.finishcapturetm()); } if (from._has_bit(15)) { set_is_sumptuous_yellow_vip(from.is_sumptuous_yellow_vip()); } } if (from._has_bits_[16 / 32] & (0xffu << (16 % 32))) { if (from._has_bit(16)) { set_viplevel(from.viplevel()); } if (from._has_bit(17)) { set_viptype(from.viptype()); } if (from._has_bit(18)) { set_qhalldmdlvl(from.qhalldmdlvl()); } if (from._has_bit(19)) { set_isqhalldmd(from.isqhalldmd()); } if (from._has_bit(20)) { set_isqhalldmdyear(from.isqhalldmdyear()); } if (from._has_bit(21)) { set_ishighqhalldmd(from.ishighqhalldmd()); } if (from._has_bit(22)) { set_ishighqhalldmeyear(from.ishighqhalldmeyear()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); }
bool FriendInfoLite::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) return false ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // required string baseid = 1; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) != ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { goto handle_uninterpreted; } DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->mutable_baseid())); ::google::protobuf::internal::WireFormat::VerifyUTF8String( this->baseid().data(), this->baseid().length(), ::google::protobuf::internal::WireFormat::PARSE); if (input->ExpectTag(18)) goto parse_first_name; break; } // required string first_name = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) != ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { goto handle_uninterpreted; } parse_first_name: DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->mutable_first_name())); ::google::protobuf::internal::WireFormat::VerifyUTF8String( this->first_name().data(), this->first_name().length(), ::google::protobuf::internal::WireFormat::PARSE); if (input->ExpectTag(26)) goto parse_pic; break; } // optional string pic = 3; case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) != ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { goto handle_uninterpreted; } parse_pic: DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->mutable_pic())); ::google::protobuf::internal::WireFormat::VerifyUTF8String( this->pic().data(), this->pic().length(), ::google::protobuf::internal::WireFormat::PARSE); if (input->ExpectTag(32)) goto parse_lvl; break; } // required uint32 lvl = 4; case 4: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) != ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { goto handle_uninterpreted; } parse_lvl: DO_(::google::protobuf::internal::WireFormatLite::ReadUInt32( input, &lvl_)); _set_bit(3); if (input->ExpectTag(40)) goto parse_is_yellow_vip; break; } // optional bool is_yellow_vip = 5 [default = false]; case 5: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) != ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { goto handle_uninterpreted; } parse_is_yellow_vip: DO_(::google::protobuf::internal::WireFormatLite::ReadBool( input, &is_yellow_vip_)); _set_bit(4); if (input->ExpectTag(48)) goto parse_is_yellow_year_vip; break; } // optional bool is_yellow_year_vip = 6 [default = false]; case 6: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) != ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { goto handle_uninterpreted; } parse_is_yellow_year_vip: DO_(::google::protobuf::internal::WireFormatLite::ReadBool( input, &is_yellow_year_vip_)); _set_bit(5); if (input->ExpectTag(56)) goto parse_yellow_vip_level; break; } // optional int32 yellow_vip_level = 7 [default = 0]; case 7: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) != ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { goto handle_uninterpreted; } parse_yellow_vip_level: DO_(::google::protobuf::internal::WireFormatLite::ReadInt32( input, &yellow_vip_level_)); _set_bit(6); if (input->ExpectTag(66)) goto parse_totalpercharge; break; } // optional string totalpercharge = 8; case 8: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) != ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { goto handle_uninterpreted; } parse_totalpercharge: DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->mutable_totalpercharge())); ::google::protobuf::internal::WireFormat::VerifyUTF8String( this->totalpercharge().data(), this->totalpercharge().length(), ::google::protobuf::internal::WireFormat::PARSE); if (input->ExpectTag(72)) goto parse_lastLogonTime; break; } // optional int32 lastLogonTime = 9 [default = 0]; case 9: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) != ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { goto handle_uninterpreted; } parse_lastLogonTime: DO_(::google::protobuf::internal::WireFormatLite::ReadInt32( input, &lastlogontime_)); _set_bit(8); if (input->ExpectTag(80)) goto parse_QQDmdLvl; break; } // optional int32 QQDmdLvl = 10 [default = 0]; case 10: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) != ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { goto handle_uninterpreted; } parse_QQDmdLvl: DO_(::google::protobuf::internal::WireFormatLite::ReadInt32( input, &qqdmdlvl_)); _set_bit(9); if (input->ExpectTag(88)) goto parse_isQQDmd; break; } // optional bool isQQDmd = 11 [default = false]; case 11: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) != ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { goto handle_uninterpreted; } parse_isQQDmd: DO_(::google::protobuf::internal::WireFormatLite::ReadBool( input, &isqqdmd_)); _set_bit(10); if (input->ExpectTag(96)) goto parse_isQQDmdYear; break; } // optional bool isQQDmdYear = 12 [default = false]; case 12: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) != ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { goto handle_uninterpreted; } parse_isQQDmdYear: DO_(::google::protobuf::internal::WireFormatLite::ReadBool( input, &isqqdmdyear_)); _set_bit(11); if (input->ExpectTag(104)) goto parse_sameRegion; break; } // optional bool sameRegion = 13; case 13: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) != ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { goto handle_uninterpreted; } parse_sameRegion: DO_(::google::protobuf::internal::WireFormatLite::ReadBool( input, &sameregion_)); _set_bit(12); if (input->ExpectTag(114)) goto parse_platid; break; } // optional string platid = 14; case 14: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) != ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { goto handle_uninterpreted; } parse_platid: DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->mutable_platid())); ::google::protobuf::internal::WireFormat::VerifyUTF8String( this->platid().data(), this->platid().length(), ::google::protobuf::internal::WireFormat::PARSE); if (input->ExpectTag(120)) goto parse_finishCaptureTm; break; } // optional int32 finishCaptureTm = 15; case 15: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) != ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { goto handle_uninterpreted; } parse_finishCaptureTm: DO_(::google::protobuf::internal::WireFormatLite::ReadInt32( input, &finishcapturetm_)); _set_bit(14); if (input->ExpectTag(128)) goto parse_is_sumptuous_yellow_vip; break; } // optional bool is_sumptuous_yellow_vip = 16 [default = false]; case 16: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) != ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { goto handle_uninterpreted; } parse_is_sumptuous_yellow_vip: DO_(::google::protobuf::internal::WireFormatLite::ReadBool( input, &is_sumptuous_yellow_vip_)); _set_bit(15); if (input->ExpectTag(136)) goto parse_viplevel; break; } // optional int32 viplevel = 17 [default = 0]; case 17: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) != ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { goto handle_uninterpreted; } parse_viplevel: DO_(::google::protobuf::internal::WireFormatLite::ReadInt32( input, &viplevel_)); _set_bit(16); if (input->ExpectTag(144)) goto parse_viptype; break; } // optional int32 viptype = 18 [default = 0]; case 18: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) != ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { goto handle_uninterpreted; } parse_viptype: DO_(::google::protobuf::internal::WireFormatLite::ReadInt32( input, &viptype_)); _set_bit(17); if (input->ExpectTag(152)) goto parse_QHallDmdLvl; break; } // optional int32 QHallDmdLvl = 19 [default = 0]; case 19: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) != ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { goto handle_uninterpreted; } parse_QHallDmdLvl: DO_(::google::protobuf::internal::WireFormatLite::ReadInt32( input, &qhalldmdlvl_)); _set_bit(18); if (input->ExpectTag(160)) goto parse_isQHallDmd; break; } // optional bool isQHallDmd = 20 [default = false]; case 20: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) != ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { goto handle_uninterpreted; } parse_isQHallDmd: DO_(::google::protobuf::internal::WireFormatLite::ReadBool( input, &isqhalldmd_)); _set_bit(19); if (input->ExpectTag(168)) goto parse_isQHallDmdYear; break; } // optional bool isQHallDmdYear = 21 [default = false]; case 21: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) != ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { goto handle_uninterpreted; } parse_isQHallDmdYear: DO_(::google::protobuf::internal::WireFormatLite::ReadBool( input, &isqhalldmdyear_)); _set_bit(20); if (input->ExpectTag(176)) goto parse_isHighQHallDmd; break; } // optional bool isHighQHallDmd = 22 [default = false]; case 22: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) != ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { goto handle_uninterpreted; } parse_isHighQHallDmd: DO_(::google::protobuf::internal::WireFormatLite::ReadBool( input, &ishighqhalldmd_)); _set_bit(21); if (input->ExpectTag(184)) goto parse_isHighQHallDmeYear; break; } // optional bool isHighQHallDmeYear = 23 [default = false]; case 23: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) != ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { goto handle_uninterpreted; } parse_isHighQHallDmeYear: DO_(::google::protobuf::internal::WireFormatLite::ReadBool( input, &ishighqhalldmeyear_)); _set_bit(22); if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { return true; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } return true; #undef DO_ }
bool RceObtainPayUrlParame::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) return false ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // optional string openid = 1; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) != ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { goto handle_uninterpreted; } DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->mutable_openid())); ::google::protobuf::internal::WireFormat::VerifyUTF8String( this->openid().data(), this->openid().length(), ::google::protobuf::internal::WireFormat::PARSE); if (input->ExpectTag(16)) goto parse_appmode; break; } // optional int32 appmode = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) != ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { goto handle_uninterpreted; } parse_appmode: DO_(::google::protobuf::internal::WireFormatLite::ReadInt32( input, &appmode_)); _set_bit(1); if (input->ExpectTag(26)) goto parse_platId; break; } // optional string platId = 3; case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) != ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { goto handle_uninterpreted; } parse_platId: DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->mutable_platid())); ::google::protobuf::internal::WireFormat::VerifyUTF8String( this->platid().data(), this->platid().length(), ::google::protobuf::internal::WireFormat::PARSE); if (input->ExpectTag(34)) goto parse_planetId; break; } // optional string planetId = 4; case 4: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) != ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { goto handle_uninterpreted; } parse_planetId: DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->mutable_planetid())); ::google::protobuf::internal::WireFormat::VerifyUTF8String( this->planetid().data(), this->planetid().length(), ::google::protobuf::internal::WireFormat::PARSE); if (input->ExpectTag(42)) goto parse_goodsmeta; break; } // optional string goodsmeta = 5; case 5: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) != ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { goto handle_uninterpreted; } parse_goodsmeta: DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->mutable_goodsmeta())); ::google::protobuf::internal::WireFormat::VerifyUTF8String( this->goodsmeta().data(), this->goodsmeta().length(), ::google::protobuf::internal::WireFormat::PARSE); if (input->ExpectTag(50)) goto parse_gdurl; break; } // optional string gdurl = 6; case 6: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) != ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { goto handle_uninterpreted; } parse_gdurl: DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->mutable_gdurl())); ::google::protobuf::internal::WireFormat::VerifyUTF8String( this->gdurl().data(), this->gdurl().length(), ::google::protobuf::internal::WireFormat::PARSE); if (input->ExpectTag(58)) goto parse_payitem; break; } // optional string payitem = 7; case 7: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) != ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { goto handle_uninterpreted; } parse_payitem: DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->mutable_payitem())); ::google::protobuf::internal::WireFormat::VerifyUTF8String( this->payitem().data(), this->payitem().length(), ::google::protobuf::internal::WireFormat::PARSE); if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { return true; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } return true; #undef DO_ }
bool RseObtainSocialUserInfo::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) return false ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // optional string name = 1; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) != ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { goto handle_uninterpreted; } DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->mutable_name())); ::google::protobuf::internal::WireFormat::VerifyUTF8String( this->name().data(), this->name().length(), ::google::protobuf::internal::WireFormat::PARSE); if (input->ExpectTag(18)) goto parse_photoURL; break; } // optional string photoURL = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) != ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { goto handle_uninterpreted; } parse_photoURL: DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->mutable_photourl())); ::google::protobuf::internal::WireFormat::VerifyUTF8String( this->photourl().data(), this->photourl().length(), ::google::protobuf::internal::WireFormat::PARSE); if (input->ExpectTag(24)) goto parse_fan; break; } // optional int32 fan = 3; case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) != ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { goto handle_uninterpreted; } parse_fan: DO_(::google::protobuf::internal::WireFormatLite::ReadInt32( input, &fan_)); _set_bit(2); if (input->ExpectTag(34)) goto parse_SocialUserInfo; break; } // repeated .MsgSocialUserInfo SocialUserInfo = 4; case 4: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) != ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { goto handle_uninterpreted; } parse_SocialUserInfo: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, add_socialuserinfo())); if (input->ExpectTag(34)) goto parse_SocialUserInfo; if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { return true; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } return true; #undef DO_ }
void MsgSocialUserInfo::MergeFrom(const MsgSocialUserInfo& from) { GOOGLE_CHECK_NE(&from, this); mutable_unknown_fields()->MergeFrom(from.unknown_fields()); }
bool Port::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure ::google::protobuf::uint32 tag; // @@protoc_insertion_point(parse_start:port.Port) for (;;) { ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); tag = p.first; if (!p.second) goto handle_unusual; switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // required int32 port_num = 1; case 1: { if (tag == 8) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &port_num_))); set_has_port_num(); } else { goto handle_unusual; } if (input->ExpectTag(18)) goto parse_ip; break; } // required string ip = 2; case 2: { if (tag == 18) { parse_ip: DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->mutable_ip())); ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( this->ip().data(), this->ip().length(), ::google::protobuf::internal::WireFormat::PARSE, "ip"); } else { goto handle_unusual; } if (input->ExpectAtEnd()) goto success; break; } default: { handle_unusual: if (tag == 0 || ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { goto success; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } success: // @@protoc_insertion_point(parse_success:port.Port) return true; failure: // @@protoc_insertion_point(parse_failure:port.Port) return false; #undef DO_ }
void RseObtainAskForHelp::MergeFrom(const RseObtainAskForHelp& from) { GOOGLE_CHECK_NE(&from, this); items_.MergeFrom(from.items_); units_.MergeFrom(from.units_); mutable_unknown_fields()->MergeFrom(from.unknown_fields()); }
bool PriceInfo::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) return false ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // required int32 price = 1; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &price_))); set_has_price(); } else { goto handle_uninterpreted; } if (input->ExpectTag(16)) goto parse_size; break; } // required int32 size = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_size: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &size_))); set_has_size(); } else { goto handle_uninterpreted; } if (input->ExpectTag(24)) goto parse_side; break; } // required .acm.Side side = 3; case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_side: int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( input, &value))); if (::acm::Side_IsValid(value)) { set_side(static_cast< ::acm::Side >(value)); } else { mutable_unknown_fields()->AddVarint(3, value); } } else { goto handle_uninterpreted; } if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { return true; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } return true; #undef DO_ }
bool RceUpdateProfile::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) return false ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // optional .MsgTransaction transaction = 1; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) != ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { goto handle_uninterpreted; } DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, mutable_transaction())); if (input->ExpectTag(18)) goto parse_sku; break; } // optional string sku = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) != ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { goto handle_uninterpreted; } parse_sku: DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->mutable_sku())); ::google::protobuf::internal::WireFormat::VerifyUTF8String( this->sku().data(), this->sku().length(), ::google::protobuf::internal::WireFormat::PARSE); if (input->ExpectTag(24)) goto parse_value; break; } // optional int32 value = 3; case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) != ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { goto handle_uninterpreted; } parse_value: DO_(::google::protobuf::internal::WireFormatLite::ReadInt32( input, &value_)); _set_bit(2); if (input->ExpectTag(34)) goto parse_key; break; } // optional string key = 4; case 4: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) != ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { goto handle_uninterpreted; } parse_key: DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->mutable_key())); ::google::protobuf::internal::WireFormat::VerifyUTF8String( this->key().data(), this->key().length(), ::google::protobuf::internal::WireFormat::PARSE); if (input->ExpectTag(40)) goto parse_planetId; break; } // optional int32 planetId = 5; case 5: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) != ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { goto handle_uninterpreted; } parse_planetId: DO_(::google::protobuf::internal::WireFormatLite::ReadInt32( input, &planetid_)); _set_bit(4); if (input->ExpectTag(50)) goto parse_action; break; } // optional string action = 6; case 6: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) != ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { goto handle_uninterpreted; } parse_action: DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->mutable_action())); ::google::protobuf::internal::WireFormat::VerifyUTF8String( this->action().data(), this->action().length(), ::google::protobuf::internal::WireFormat::PARSE); if (input->ExpectTag(56)) goto parse_level; break; } // optional int32 level = 7; case 7: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) != ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { goto handle_uninterpreted; } parse_level: DO_(::google::protobuf::internal::WireFormatLite::ReadInt32( input, &level_)); _set_bit(6); if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { return true; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } return true; #undef DO_ }
bool AttentionMessage::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) return false ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // required string message = 1; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->mutable_message())); ::google::protobuf::internal::WireFormat::VerifyUTF8String( this->message().data(), this->message().length(), ::google::protobuf::internal::WireFormat::PARSE); } else { goto handle_uninterpreted; } if (input->ExpectTag(21)) goto parse_time_to_show; break; } // optional float time_to_show = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED32) { parse_time_to_show: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>( input, &time_to_show_))); set_has_time_to_show(); } else { goto handle_uninterpreted; } if (input->ExpectTag(24)) goto parse_team_color; break; } // optional .llsf_msgs.Team team_color = 3; case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_team_color: int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( input, &value))); if (llsf_msgs::Team_IsValid(value)) { set_team_color(static_cast< llsf_msgs::Team >(value)); } else { mutable_unknown_fields()->AddVarint(3, value); } } else { goto handle_uninterpreted; } if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { return true; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } return true; #undef DO_ }
bool RseLogin::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) return false ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // optional int32 currentTimeMillis = 1; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) != ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { goto handle_uninterpreted; } DO_(::google::protobuf::internal::WireFormatLite::ReadInt32( input, ¤ttimemillis_)); _set_bit(0); if (input->ExpectTag(16)) goto parse_id; break; } // optional int32 id = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) != ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { goto handle_uninterpreted; } parse_id: DO_(::google::protobuf::internal::WireFormatLite::ReadInt32( input, &id_)); _set_bit(1); if (input->ExpectTag(24)) goto parse_levelBasedOnScore; break; } // optional int32 levelBasedOnScore = 3; case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) != ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { goto handle_uninterpreted; } parse_levelBasedOnScore: DO_(::google::protobuf::internal::WireFormatLite::ReadInt32( input, &levelbasedonscore_)); _set_bit(2); if (input->ExpectTag(32)) goto parse_myAccountIsLocked; break; } // optional int32 myAccountIsLocked = 4; case 4: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) != ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { goto handle_uninterpreted; } parse_myAccountIsLocked: DO_(::google::protobuf::internal::WireFormatLite::ReadInt32( input, &myaccountislocked_)); _set_bit(3); if (input->ExpectTag(40)) goto parse_pop; break; } // optional bool pop = 5; case 5: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) != ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { goto handle_uninterpreted; } parse_pop: DO_(::google::protobuf::internal::WireFormatLite::ReadBool( input, &pop_)); _set_bit(4); if (input->ExpectTag(48)) goto parse_rqId; break; } // optional int32 rqId = 6; case 6: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) != ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { goto handle_uninterpreted; } parse_rqId: DO_(::google::protobuf::internal::WireFormatLite::ReadInt32( input, &rqid_)); _set_bit(5); if (input->ExpectTag(56)) goto parse_sync; break; } // optional int32 sync = 7; case 7: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) != ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { goto handle_uninterpreted; } parse_sync: DO_(::google::protobuf::internal::WireFormatLite::ReadInt32( input, &sync_)); _set_bit(6); if (input->ExpectTag(64)) goto parse_timeFromLastLogin; break; } // optional int32 timeFromLastLogin = 8; case 8: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) != ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { goto handle_uninterpreted; } parse_timeFromLastLogin: DO_(::google::protobuf::internal::WireFormatLite::ReadInt32( input, &timefromlastlogin_)); _set_bit(7); if (input->ExpectTag(72)) goto parse_timeFromLastUpdate; break; } // optional int32 timeFromLastUpdate = 9; case 9: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) != ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { goto handle_uninterpreted; } parse_timeFromLastUpdate: DO_(::google::protobuf::internal::WireFormatLite::ReadInt32( input, &timefromlastupdate_)); _set_bit(8); if (input->ExpectTag(80)) goto parse_token; break; } // optional int32 token = 10; case 10: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) != ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { goto handle_uninterpreted; } parse_token: DO_(::google::protobuf::internal::WireFormatLite::ReadInt32( input, &token_)); _set_bit(9); if (input->ExpectTag(90)) goto parse_userId; break; } // optional string userId = 11; case 11: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) != ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { goto handle_uninterpreted; } parse_userId: DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->mutable_userid())); ::google::protobuf::internal::WireFormat::VerifyUTF8String( this->userid().data(), this->userid().length(), ::google::protobuf::internal::WireFormat::PARSE); if (input->ExpectTag(98)) goto parse_version; break; } // optional string version = 12; case 12: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) != ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { goto handle_uninterpreted; } parse_version: DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->mutable_version())); ::google::protobuf::internal::WireFormat::VerifyUTF8String( this->version().data(), this->version().length(), ::google::protobuf::internal::WireFormat::PARSE); if (input->ExpectTag(104)) goto parse_vip; break; } // optional int32 vip = 13; case 13: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) != ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { goto handle_uninterpreted; } parse_vip: DO_(::google::protobuf::internal::WireFormatLite::ReadInt32( input, &vip_)); _set_bit(12); if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { return true; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } return true; #undef DO_ }
bool InputMessage::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure ::google::protobuf::uint32 tag; // @@protoc_insertion_point(parse_start:InputMessage) for (;;) { ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); tag = p.first; if (!p.second) goto handle_unusual; switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // required bool ahead = 1; case 1: { if (tag == 8) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( input, &ahead_))); set_has_ahead(); } else { goto handle_unusual; } if (input->ExpectTag(16)) goto parse_back; break; } // required bool back = 2; case 2: { if (tag == 16) { parse_back: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( input, &back_))); set_has_back(); } else { goto handle_unusual; } if (input->ExpectTag(24)) goto parse_left; break; } // required bool left = 3; case 3: { if (tag == 24) { parse_left: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( input, &left_))); set_has_left(); } else { goto handle_unusual; } if (input->ExpectTag(32)) goto parse_right; break; } // required bool right = 4; case 4: { if (tag == 32) { parse_right: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( input, &right_))); set_has_right(); } else { goto handle_unusual; } if (input->ExpectAtEnd()) goto success; break; } default: { handle_unusual: if (tag == 0 || ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { goto success; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } success: // @@protoc_insertion_point(parse_success:InputMessage) return true; failure: // @@protoc_insertion_point(parse_failure:InputMessage) return false; #undef DO_ }
bool SimTimeSync::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) return false ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // required .llsf_msgs.Time sim_time = 1; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, mutable_sim_time())); } else { goto handle_uninterpreted; } if (input->ExpectTag(21)) goto parse_real_time_factor; break; } // required float real_time_factor = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED32) { parse_real_time_factor: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>( input, &real_time_factor_))); set_has_real_time_factor(); } else { goto handle_uninterpreted; } if (input->ExpectTag(24)) goto parse_paused; break; } // required bool paused = 3; case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_paused: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( input, &paused_))); set_has_paused(); } else { goto handle_uninterpreted; } if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { return true; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } return true; #undef DO_ }
void RseHeartbeat::MergeFrom(const RseHeartbeat& from) { GOOGLE_CHECK_NE(&from, this); mutable_unknown_fields()->MergeFrom(from.unknown_fields()); }
bool RceQueryRefuseReceiveWishItem::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) return false ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // optional string type = 1; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) != ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { goto handle_uninterpreted; } DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->mutable_type())); ::google::protobuf::internal::WireFormat::VerifyUTF8String( this->type().data(), this->type().length(), ::google::protobuf::internal::WireFormat::PARSE); if (input->ExpectTag(18)) goto parse_name; break; } // optional string name = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) != ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { goto handle_uninterpreted; } parse_name: DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->mutable_name())); ::google::protobuf::internal::WireFormat::VerifyUTF8String( this->name().data(), this->name().length(), ::google::protobuf::internal::WireFormat::PARSE); if (input->ExpectTag(26)) goto parse_playerId; break; } // optional string playerId = 3; case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) != ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { goto handle_uninterpreted; } parse_playerId: DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->mutable_playerid())); ::google::protobuf::internal::WireFormat::VerifyUTF8String( this->playerid().data(), this->playerid().length(), ::google::protobuf::internal::WireFormat::PARSE); if (input->ExpectTag(34)) goto parse_id; break; } // optional string id = 4; case 4: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) != ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { goto handle_uninterpreted; } parse_id: DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->mutable_id())); ::google::protobuf::internal::WireFormat::VerifyUTF8String( this->id().data(), this->id().length(), ::google::protobuf::internal::WireFormat::PARSE); if (input->ExpectTag(42)) goto parse_guid; break; } // optional string guid = 5; case 5: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) != ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { goto handle_uninterpreted; } parse_guid: DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->mutable_guid())); ::google::protobuf::internal::WireFormat::VerifyUTF8String( this->guid().data(), this->guid().length(), ::google::protobuf::internal::WireFormat::PARSE); if (input->ExpectTag(50)) goto parse_planetId; break; } // optional string planetId = 6; case 6: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) != ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { goto handle_uninterpreted; } parse_planetId: DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->mutable_planetid())); ::google::protobuf::internal::WireFormat::VerifyUTF8String( this->planetid().data(), this->planetid().length(), ::google::protobuf::internal::WireFormat::PARSE); if (input->ExpectTag(58)) goto parse_time; break; } // optional string time = 7; case 7: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) != ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { goto handle_uninterpreted; } parse_time: DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->mutable_time())); ::google::protobuf::internal::WireFormat::VerifyUTF8String( this->time().data(), this->time().length(), ::google::protobuf::internal::WireFormat::PARSE); if (input->ExpectTag(66)) goto parse_msg; break; } // optional string msg = 8; case 8: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) != ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { goto handle_uninterpreted; } parse_msg: DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->mutable_msg())); ::google::protobuf::internal::WireFormat::VerifyUTF8String( this->msg().data(), this->msg().length(), ::google::protobuf::internal::WireFormat::PARSE); if (input->ExpectTag(74)) goto parse_url; break; } // optional string url = 9; case 9: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) != ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { goto handle_uninterpreted; } parse_url: DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->mutable_url())); ::google::protobuf::internal::WireFormat::VerifyUTF8String( this->url().data(), this->url().length(), ::google::protobuf::internal::WireFormat::PARSE); if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { return true; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } return true; #undef DO_ }
bool MFNHashFileSaltedProtobuf_SaltedHash::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) return false ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // optional bytes hash = 1; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { DO_(::google::protobuf::internal::WireFormatLite::ReadBytes( input, this->mutable_hash())); } else { goto handle_uninterpreted; } if (input->ExpectTag(18)) goto parse_salt; break; } // optional bytes salt = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { parse_salt: DO_(::google::protobuf::internal::WireFormatLite::ReadBytes( input, this->mutable_salt())); } else { goto handle_uninterpreted; } if (input->ExpectTag(24)) goto parse_iteration_count; break; } // optional uint32 iteration_count = 3; case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_iteration_count: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &iteration_count_))); set_has_iteration_count(); } else { goto handle_uninterpreted; } if (input->ExpectTag(34)) goto parse_other_data_1; break; } // optional bytes other_data_1 = 4; case 4: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { parse_other_data_1: DO_(::google::protobuf::internal::WireFormatLite::ReadBytes( input, this->mutable_other_data_1())); } else { goto handle_uninterpreted; } if (input->ExpectTag(42)) goto parse_other_data_2; break; } // optional bytes other_data_2 = 5; case 5: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { parse_other_data_2: DO_(::google::protobuf::internal::WireFormatLite::ReadBytes( input, this->mutable_other_data_2())); } else { goto handle_uninterpreted; } if (input->ExpectTag(50)) goto parse_other_data_3; break; } // optional bytes other_data_3 = 6; case 6: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { parse_other_data_3: DO_(::google::protobuf::internal::WireFormatLite::ReadBytes( input, this->mutable_other_data_3())); } else { goto handle_uninterpreted; } if (input->ExpectTag(58)) goto parse_other_data_4; break; } // optional bytes other_data_4 = 7; case 7: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { parse_other_data_4: DO_(::google::protobuf::internal::WireFormatLite::ReadBytes( input, this->mutable_other_data_4())); } else { goto handle_uninterpreted; } if (input->ExpectTag(66)) goto parse_other_data_5; break; } // optional bytes other_data_5 = 8; case 8: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { parse_other_data_5: DO_(::google::protobuf::internal::WireFormatLite::ReadBytes( input, this->mutable_other_data_5())); } else { goto handle_uninterpreted; } if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { return true; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } return true; #undef DO_ }
bool DMatches::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) return false ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // optional uint32 queryIdx = 1; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &queryidx_))); set_has_queryidx(); } else { goto handle_uninterpreted; } if (input->ExpectTag(16)) goto parse_trainIdx; break; } // optional uint32 trainIdx = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_trainIdx: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &trainidx_))); set_has_trainidx(); } else { goto handle_uninterpreted; } if (input->ExpectTag(24)) goto parse_imgIdx; break; } // optional uint32 imgIdx = 3; case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_imgIdx: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &imgidx_))); set_has_imgidx(); } else { goto handle_uninterpreted; } if (input->ExpectTag(37)) goto parse_distance; break; } // optional float distance = 4; case 4: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED32) { parse_distance: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>( input, &distance_))); set_has_distance(); } else { goto handle_uninterpreted; } if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { return true; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } return true; #undef DO_ }
bool RseAuthState::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) return false ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // required bool pass = 1; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) != ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { goto handle_uninterpreted; } DO_(::google::protobuf::internal::WireFormatLite::ReadBool( input, &pass_)); _set_bit(0); if (input->ExpectTag(16)) goto parse_type; break; } // required int32 type = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) != ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { goto handle_uninterpreted; } parse_type: DO_(::google::protobuf::internal::WireFormatLite::ReadInt32( input, &type_)); _set_bit(1); if (input->ExpectTag(24)) goto parse_leftMin; break; } // required int32 leftMin = 3; case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) != ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { goto handle_uninterpreted; } parse_leftMin: DO_(::google::protobuf::internal::WireFormatLite::ReadInt32( input, &leftmin_)); _set_bit(2); if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { return true; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } return true; #undef DO_ }
bool MatchesProto::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) return false ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // optional fixed64 imageLseq = 1; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED64) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED64>( input, &imagelseq_))); set_has_imagelseq(); } else { goto handle_uninterpreted; } if (input->ExpectTag(17)) goto parse_imageRseq; break; } // optional fixed64 imageRseq = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED64) { parse_imageRseq: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED64>( input, &imagerseq_))); set_has_imagerseq(); } else { goto handle_uninterpreted; } if (input->ExpectTag(26)) goto parse_matches; break; } // repeated .sfm.DMatches matches = 3; case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { parse_matches: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, add_matches())); } else { goto handle_uninterpreted; } if (input->ExpectTag(26)) goto parse_matches; if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { return true; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } return true; #undef DO_ }
void CSFightReadyRequest::MergeFrom(const CSFightReadyRequest& from) { GOOGLE_CHECK_NE(&from, this); mutable_unknown_fields()->MergeFrom(from.unknown_fields()); }
void RseObtainNeighborsList::Clear() { neighborlist_.Clear(); ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); }