Пример #1
0
            public override ModChatRoomTopic.Builder MergeFrom(ICodedInputStream input, ExtensionRegistry extensionRegistry)
            {
                uint   num;
                string str;

                this.PrepareBuilder();
                while (input.ReadTag(out num, out str))
                {
                    if ((num == 0) && (str != null))
                    {
                        int index = Array.BinarySearch <string>(ModChatRoomTopic._modChatRoomTopicFieldNames, str, StringComparer.Ordinal);
                        if (index >= 0)
                        {
                            num = ModChatRoomTopic._modChatRoomTopicFieldTags[index];
                        }
                        else
                        {
                            this.ParseUnknownField(input, extensionRegistry, num, str);
                            continue;
                        }
                    }
                    switch (num)
                    {
                    case 0:
                        throw InvalidProtocolBufferException.InvalidTag();

                    case 10:
                    {
                        SKBuiltinString_t.Builder builder = SKBuiltinString_t.CreateBuilder();
                        if (this.result.hasChatRoomName)
                        {
                            builder.MergeFrom(this.ChatRoomName);
                        }
                        input.ReadMessage(builder, extensionRegistry);
                        this.ChatRoomName = builder.BuildPartial();
                        continue;
                    }

                    case 0x12:
                    {
                        SKBuiltinString_t.Builder builder2 = SKBuiltinString_t.CreateBuilder();
                        if (this.result.hasChatRoomTopic)
                        {
                            builder2.MergeFrom(this.ChatRoomTopic);
                        }
                        input.ReadMessage(builder2, extensionRegistry);
                        this.ChatRoomTopic = builder2.BuildPartial();
                        continue;
                    }
                    }
                    if (WireFormat.IsEndGroupTag(num))
                    {
                        return(this);
                    }
                    this.ParseUnknownField(input, extensionRegistry, num, str);
                }
                return(this);
            }
Пример #2
0
            public override DelContactMsg.Builder MergeFrom(ICodedInputStream input, ExtensionRegistry extensionRegistry)
            {
                uint   num;
                string str;

                this.PrepareBuilder();
                while (input.ReadTag(out num, out str))
                {
                    if ((num == 0) && (str != null))
                    {
                        int index = Array.BinarySearch <string>(DelContactMsg._delContactMsgFieldNames, str, StringComparer.Ordinal);
                        if (index >= 0)
                        {
                            num = DelContactMsg._delContactMsgFieldTags[index];
                        }
                        else
                        {
                            this.ParseUnknownField(input, extensionRegistry, num, str);
                            continue;
                        }
                    }
                    switch (num)
                    {
                    case 0:
                        throw InvalidProtocolBufferException.InvalidTag();

                    case 10:
                    {
                        SKBuiltinString_t.Builder builder = SKBuiltinString_t.CreateBuilder();
                        if (this.result.hasUserName)
                        {
                            builder.MergeFrom(this.UserName);
                        }
                        input.ReadMessage(builder, extensionRegistry);
                        this.UserName = builder.BuildPartial();
                        continue;
                    }

                    case 0x10:
                        break;

                    default:
                    {
                        if (WireFormat.IsEndGroupTag(num))
                        {
                            return(this);
                        }
                        this.ParseUnknownField(input, extensionRegistry, num, str);
                        continue;
                    }
                    }
                    this.result.hasMaxMsgId = input.ReadInt32(ref this.result.maxMsgId_);
                }
                return(this);
            }
Пример #3
0
            public override BaseResponse.Builder MergeFrom(ICodedInputStream input, ExtensionRegistry extensionRegistry)
            {
                uint   num;
                string str;

                this.PrepareBuilder();
                while (input.ReadTag(out num, out str))
                {
                    if ((num == 0) && (str != null))
                    {
                        int index = Array.BinarySearch <string>(BaseResponse._baseResponseFieldNames, str, StringComparer.Ordinal);
                        if (index >= 0)
                        {
                            num = BaseResponse._baseResponseFieldTags[index];
                        }
                        else
                        {
                            this.ParseUnknownField(input, extensionRegistry, num, str);
                            continue;
                        }
                    }
                    switch (num)
                    {
                    case 0:
                        throw InvalidProtocolBufferException.InvalidTag();

                    case 8:
                    {
                        this.result.hasRet = input.ReadInt32(ref this.result.ret_);
                        continue;
                    }

                    case 0x12:
                    {
                        SKBuiltinString_t.Builder builder = SKBuiltinString_t.CreateBuilder();
                        if (this.result.hasErrMsg)
                        {
                            builder.MergeFrom(this.ErrMsg);
                        }
                        input.ReadMessage(builder, extensionRegistry);
                        this.ErrMsg = builder.BuildPartial();
                        continue;
                    }
                    }
                    if (WireFormat.IsEndGroupTag(num))
                    {
                        return(this);
                    }
                    this.ParseUnknownField(input, extensionRegistry, num, str);
                }
                return(this);
            }
            public override CreateChatRoomResponse.Builder MergeFrom(ICodedInputStream input, ExtensionRegistry extensionRegistry)
            {
                uint   num;
                string str;

                this.PrepareBuilder();
                while (input.ReadTag(out num, out str))
                {
                    if ((num == 0) && (str != null))
                    {
                        int index = Array.BinarySearch <string>(CreateChatRoomResponse._createChatRoomResponseFieldNames, str, StringComparer.Ordinal);
                        if (index >= 0)
                        {
                            num = CreateChatRoomResponse._createChatRoomResponseFieldTags[index];
                        }
                        else
                        {
                            this.ParseUnknownField(input, extensionRegistry, num, str);
                            continue;
                        }
                    }
                    switch (num)
                    {
                    case 0x12:
                    {
                        SKBuiltinString_t.Builder builder2 = SKBuiltinString_t.CreateBuilder();
                        if (this.result.hasTopic)
                        {
                            builder2.MergeFrom(this.Topic);
                        }
                        input.ReadMessage(builder2, extensionRegistry);
                        this.Topic = builder2.BuildPartial();
                        continue;
                    }

                    case 0x1a:
                    {
                        SKBuiltinString_t.Builder builder3 = SKBuiltinString_t.CreateBuilder();
                        if (this.result.hasPYInitial)
                        {
                            builder3.MergeFrom(this.PYInitial);
                        }
                        input.ReadMessage(builder3, extensionRegistry);
                        this.PYInitial = builder3.BuildPartial();
                        continue;
                    }

                    case 0x22:
                    {
                        SKBuiltinString_t.Builder builder4 = SKBuiltinString_t.CreateBuilder();
                        if (this.result.hasQuanPin)
                        {
                            builder4.MergeFrom(this.QuanPin);
                        }
                        input.ReadMessage(builder4, extensionRegistry);
                        this.QuanPin = builder4.BuildPartial();
                        continue;
                    }

                    case 0:
                        throw InvalidProtocolBufferException.InvalidTag();

                    case 10:
                    {
                        micromsg.BaseResponse.Builder builder = micromsg.BaseResponse.CreateBuilder();
                        if (this.result.hasBaseResponse)
                        {
                            builder.MergeFrom(this.BaseResponse);
                        }
                        input.ReadMessage(builder, extensionRegistry);
                        this.BaseResponse = builder.BuildPartial();
                        continue;
                    }

                    case 40:
                    {
                        this.result.hasMemberCount = input.ReadUInt32(ref this.result.memberCount_);
                        continue;
                    }

                    case 50:
                    {
                        input.ReadMessageArray <MemberResp>(num, str, this.result.memberList_, MemberResp.DefaultInstance, extensionRegistry);
                        continue;
                    }

                    case 0x3a:
                    {
                        SKBuiltinString_t.Builder builder5 = SKBuiltinString_t.CreateBuilder();
                        if (this.result.hasChatRoomName)
                        {
                            builder5.MergeFrom(this.ChatRoomName);
                        }
                        input.ReadMessage(builder5, extensionRegistry);
                        this.ChatRoomName = builder5.BuildPartial();
                        continue;
                    }

                    case 0x42:
                    {
                        SKBuiltinBuffer_t.Builder builder6 = SKBuiltinBuffer_t.CreateBuilder();
                        if (this.result.hasImgBuf)
                        {
                            builder6.MergeFrom(this.ImgBuf);
                        }
                        input.ReadMessage(builder6, extensionRegistry);
                        this.ImgBuf = builder6.BuildPartial();
                        continue;
                    }

                    case 0x4a:
                    {
                        this.result.hasBigHeadImgUrl = input.ReadString(ref this.result.bigHeadImgUrl_);
                        continue;
                    }

                    case 0x52:
                        break;

                    default:
                    {
                        if (WireFormat.IsEndGroupTag(num))
                        {
                            return(this);
                        }
                        this.ParseUnknownField(input, extensionRegistry, num, str);
                        continue;
                    }
                    }
                    this.result.hasSmallHeadImgUrl = input.ReadString(ref this.result.smallHeadImgUrl_);
                }
                return(this);
            }
Пример #5
0
            public override GetMsgImgRequest.Builder MergeFrom(ICodedInputStream input, ExtensionRegistry extensionRegistry)
            {
                uint   num;
                string str;

                this.PrepareBuilder();
                while (input.ReadTag(out num, out str))
                {
                    if ((num == 0) && (str != null))
                    {
                        int index = Array.BinarySearch <string>(GetMsgImgRequest._getMsgImgRequestFieldNames, str, StringComparer.Ordinal);
                        if (index >= 0)
                        {
                            num = GetMsgImgRequest._getMsgImgRequestFieldTags[index];
                        }
                        else
                        {
                            this.ParseUnknownField(input, extensionRegistry, num, str);
                            continue;
                        }
                    }
                    switch (num)
                    {
                    case 0x10:
                    {
                        this.result.hasMsgId = input.ReadUInt32(ref this.result.msgId_);
                        continue;
                    }

                    case 0x1a:
                    {
                        SKBuiltinString_t.Builder builder2 = SKBuiltinString_t.CreateBuilder();
                        if (this.result.hasFromUserName)
                        {
                            builder2.MergeFrom(this.FromUserName);
                        }
                        input.ReadMessage(builder2, extensionRegistry);
                        this.FromUserName = builder2.BuildPartial();
                        continue;
                    }

                    case 0:
                        throw InvalidProtocolBufferException.InvalidTag();

                    case 10:
                    {
                        micromsg.BaseRequest.Builder builder = micromsg.BaseRequest.CreateBuilder();
                        if (this.result.hasBaseRequest)
                        {
                            builder.MergeFrom(this.BaseRequest);
                        }
                        input.ReadMessage(builder, extensionRegistry);
                        this.BaseRequest = builder.BuildPartial();
                        continue;
                    }

                    case 0x22:
                    {
                        SKBuiltinString_t.Builder builder3 = SKBuiltinString_t.CreateBuilder();
                        if (this.result.hasToUserName)
                        {
                            builder3.MergeFrom(this.ToUserName);
                        }
                        input.ReadMessage(builder3, extensionRegistry);
                        this.ToUserName = builder3.BuildPartial();
                        continue;
                    }

                    case 40:
                    {
                        this.result.hasTotalLen = input.ReadUInt32(ref this.result.totalLen_);
                        continue;
                    }

                    case 0x30:
                    {
                        this.result.hasStartPos = input.ReadUInt32(ref this.result.startPos_);
                        continue;
                    }

                    case 0x38:
                    {
                        this.result.hasDataLen = input.ReadUInt32(ref this.result.dataLen_);
                        continue;
                    }

                    case 0x40:
                        break;

                    default:
                    {
                        if (WireFormat.IsEndGroupTag(num))
                        {
                            return(this);
                        }
                        this.ParseUnknownField(input, extensionRegistry, num, str);
                        continue;
                    }
                    }
                    this.result.hasCompressType = input.ReadUInt32(ref this.result.compressType_);
                }
                return(this);
            }
            public override InviteChatRoomMemberRequest.Builder MergeFrom(ICodedInputStream input, ExtensionRegistry extensionRegistry)
            {
                uint   num;
                string str;

                this.PrepareBuilder();
                while (input.ReadTag(out num, out str))
                {
                    if ((num == 0) && (str != null))
                    {
                        int index = Array.BinarySearch <string>(InviteChatRoomMemberRequest._inviteChatRoomMemberRequestFieldNames, str, StringComparer.Ordinal);
                        if (index >= 0)
                        {
                            num = InviteChatRoomMemberRequest._inviteChatRoomMemberRequestFieldTags[index];
                        }
                        else
                        {
                            this.ParseUnknownField(input, extensionRegistry, num, str);
                            continue;
                        }
                    }
                    switch (num)
                    {
                    case 0:
                        throw InvalidProtocolBufferException.InvalidTag();

                    case 10:
                    {
                        micromsg.BaseRequest.Builder builder = micromsg.BaseRequest.CreateBuilder();
                        if (this.result.hasBaseRequest)
                        {
                            builder.MergeFrom(this.BaseRequest);
                        }
                        input.ReadMessage(builder, extensionRegistry);
                        this.BaseRequest = builder.BuildPartial();
                        continue;
                    }

                    case 0x10:
                    {
                        this.result.hasMemberCount = input.ReadUInt32(ref this.result.memberCount_);
                        continue;
                    }

                    case 0x1a:
                    {
                        input.ReadMessageArray <MemberReq>(num, str, this.result.memberList_, MemberReq.DefaultInstance, extensionRegistry);
                        continue;
                    }

                    case 0x22:
                    {
                        SKBuiltinString_t.Builder builder2 = SKBuiltinString_t.CreateBuilder();
                        if (this.result.hasChatRoomName)
                        {
                            builder2.MergeFrom(this.ChatRoomName);
                        }
                        input.ReadMessage(builder2, extensionRegistry);
                        this.ChatRoomName = builder2.BuildPartial();
                        continue;
                    }
                    }
                    if (WireFormat.IsEndGroupTag(num))
                    {
                        return(this);
                    }
                    this.ParseUnknownField(input, extensionRegistry, num, str);
                }
                return(this);
            }
Пример #7
0
            public override GetA8KeyReq.Builder MergeFrom(ICodedInputStream input, ExtensionRegistry extensionRegistry)
            {
                uint   num;
                string str;

                this.PrepareBuilder();
                while (input.ReadTag(out num, out str))
                {
                    if ((num == 0) && (str != null))
                    {
                        int index = Array.BinarySearch <string>(GetA8KeyReq._getA8KeyReqFieldNames, str, StringComparer.Ordinal);
                        if (index >= 0)
                        {
                            num = GetA8KeyReq._getA8KeyReqFieldTags[index];
                        }
                        else
                        {
                            this.ParseUnknownField(input, extensionRegistry, num, str);
                            continue;
                        }
                    }
                    switch (num)
                    {
                    case 0x1a:
                    {
                        SKBuiltinBuffer_t.Builder builder2 = SKBuiltinBuffer_t.CreateBuilder();
                        if (this.result.hasA2Key)
                        {
                            builder2.MergeFrom(this.A2Key);
                        }
                        input.ReadMessage(builder2, extensionRegistry);
                        this.A2Key = builder2.BuildPartial();
                        continue;
                    }

                    case 0x22:
                    {
                        SKBuiltinString_t.Builder builder3 = SKBuiltinString_t.CreateBuilder();
                        if (this.result.hasAppID)
                        {
                            builder3.MergeFrom(this.AppID);
                        }
                        input.ReadMessage(builder3, extensionRegistry);
                        this.AppID = builder3.BuildPartial();
                        continue;
                    }

                    case 0x2a:
                    {
                        SKBuiltinString_t.Builder builder4 = SKBuiltinString_t.CreateBuilder();
                        if (this.result.hasScope)
                        {
                            builder4.MergeFrom(this.Scope);
                        }
                        input.ReadMessage(builder4, extensionRegistry);
                        this.Scope = builder4.BuildPartial();
                        continue;
                    }

                    case 0:
                        throw InvalidProtocolBufferException.InvalidTag();

                    case 10:
                    {
                        micromsg.BaseRequest.Builder builder = micromsg.BaseRequest.CreateBuilder();
                        if (this.result.hasBaseRequest)
                        {
                            builder.MergeFrom(this.BaseRequest);
                        }
                        input.ReadMessage(builder, extensionRegistry);
                        this.BaseRequest = builder.BuildPartial();
                        continue;
                    }

                    case 0x10:
                    {
                        this.result.hasOpCode = input.ReadUInt32(ref this.result.opCode_);
                        continue;
                    }

                    case 50:
                    {
                        SKBuiltinString_t.Builder builder5 = SKBuiltinString_t.CreateBuilder();
                        if (this.result.hasState)
                        {
                            builder5.MergeFrom(this.State);
                        }
                        input.ReadMessage(builder5, extensionRegistry);
                        this.State = builder5.BuildPartial();
                        continue;
                    }

                    case 0x3a:
                    {
                        SKBuiltinString_t.Builder builder6 = SKBuiltinString_t.CreateBuilder();
                        if (this.result.hasReqUrl)
                        {
                            builder6.MergeFrom(this.ReqUrl);
                        }
                        input.ReadMessage(builder6, extensionRegistry);
                        this.ReqUrl = builder6.BuildPartial();
                        continue;
                    }

                    case 0x42:
                    {
                        this.result.hasFriendUserName = input.ReadString(ref this.result.friendUserName_);
                        continue;
                    }

                    case 0x48:
                    {
                        this.result.hasFriendQQ = input.ReadUInt32(ref this.result.friendQQ_);
                        continue;
                    }

                    case 80:
                    {
                        this.result.hasScene = input.ReadUInt32(ref this.result.scene_);
                        continue;
                    }

                    case 90:
                        break;

                    default:
                    {
                        if (WireFormat.IsEndGroupTag(num))
                        {
                            return(this);
                        }
                        this.ParseUnknownField(input, extensionRegistry, num, str);
                        continue;
                    }
                    }
                    this.result.hasUserName = input.ReadString(ref this.result.userName_);
                }
                return(this);
            }
Пример #8
0
            public override MicroMsgRequest.Builder MergeFrom(ICodedInputStream input, ExtensionRegistry extensionRegistry)
            {
                uint   num;
                string str;

                this.PrepareBuilder();
                while (input.ReadTag(out num, out str))
                {
                    if ((num == 0) && (str != null))
                    {
                        int index = Array.BinarySearch <string>(MicroMsgRequest._microMsgRequestFieldNames, str, StringComparer.Ordinal);
                        if (index >= 0)
                        {
                            num = MicroMsgRequest._microMsgRequestFieldTags[index];
                        }
                        else
                        {
                            this.ParseUnknownField(input, extensionRegistry, num, str);
                            continue;
                        }
                    }
                    switch (num)
                    {
                    case 0x12:
                    {
                        SKBuiltinString_t.Builder builder2 = SKBuiltinString_t.CreateBuilder();
                        if (this.result.hasToUserName)
                        {
                            builder2.MergeFrom(this.ToUserName);
                        }
                        input.ReadMessage(builder2, extensionRegistry);
                        this.ToUserName = builder2.BuildPartial();
                        continue;
                    }

                    case 0x18:
                    {
                        this.result.hasType = input.ReadUInt32(ref this.result.type_);
                        continue;
                    }

                    case 0:
                        throw InvalidProtocolBufferException.InvalidTag();

                    case 10:
                    {
                        SKBuiltinString_t.Builder builder = SKBuiltinString_t.CreateBuilder();
                        if (this.result.hasFromUserName)
                        {
                            builder.MergeFrom(this.FromUserName);
                        }
                        input.ReadMessage(builder, extensionRegistry);
                        this.FromUserName = builder.BuildPartial();
                        continue;
                    }

                    case 0x22:
                    {
                        this.result.hasContent = input.ReadString(ref this.result.content_);
                        continue;
                    }

                    case 40:
                    {
                        this.result.hasCreateTime = input.ReadUInt32(ref this.result.createTime_);
                        continue;
                    }

                    case 50:
                    {
                        this.result.hasClientMsgId = input.ReadString(ref this.result.clientMsgId_);
                        continue;
                    }

                    case 0x3a:
                    {
                        this.result.hasMsgSource = input.ReadString(ref this.result.msgSource_);
                        continue;
                    }

                    case 0x40:
                        break;

                    default:
                    {
                        if (WireFormat.IsEndGroupTag(num))
                        {
                            return(this);
                        }
                        this.ParseUnknownField(input, extensionRegistry, num, str);
                        continue;
                    }
                    }
                    this.result.hasEmojiFlag = input.ReadUInt32(ref this.result.emojiFlag_);
                }
                return(this);
            }
Пример #9
0
            public override AddMsg.Builder MergeFrom(ICodedInputStream input, ExtensionRegistry extensionRegistry)
            {
                uint   num;
                string str;

                this.PrepareBuilder();
                while (input.ReadTag(out num, out str))
                {
                    if ((num == 0) && (str != null))
                    {
                        int index = Array.BinarySearch <string>(AddMsg._addMsgFieldNames, str, StringComparer.Ordinal);
                        if (index >= 0)
                        {
                            num = AddMsg._addMsgFieldTags[index];
                        }
                        else
                        {
                            this.ParseUnknownField(input, extensionRegistry, num, str);
                            continue;
                        }
                    }
                    switch (num)
                    {
                    case 0x1a:
                    {
                        SKBuiltinString_t.Builder builder2 = SKBuiltinString_t.CreateBuilder();
                        if (this.result.hasToUserName)
                        {
                            builder2.MergeFrom(this.ToUserName);
                        }
                        input.ReadMessage(builder2, extensionRegistry);
                        this.ToUserName = builder2.BuildPartial();
                        continue;
                    }

                    case 0x20:
                    {
                        this.result.hasMsgType = input.ReadInt32(ref this.result.msgType_);
                        continue;
                    }

                    case 0x2a:
                    {
                        SKBuiltinString_t.Builder builder3 = SKBuiltinString_t.CreateBuilder();
                        if (this.result.hasContent)
                        {
                            builder3.MergeFrom(this.Content);
                        }
                        input.ReadMessage(builder3, extensionRegistry);
                        this.Content = builder3.BuildPartial();
                        continue;
                    }

                    case 0:
                        throw InvalidProtocolBufferException.InvalidTag();

                    case 8:
                    {
                        this.result.hasMsgId = input.ReadInt32(ref this.result.msgId_);
                        continue;
                    }

                    case 0x12:
                    {
                        SKBuiltinString_t.Builder builder = SKBuiltinString_t.CreateBuilder();
                        if (this.result.hasFromUserName)
                        {
                            builder.MergeFrom(this.FromUserName);
                        }
                        input.ReadMessage(builder, extensionRegistry);
                        this.FromUserName = builder.BuildPartial();
                        continue;
                    }

                    case 0x30:
                    {
                        this.result.hasStatus = input.ReadUInt32(ref this.result.status_);
                        continue;
                    }

                    case 0x38:
                    {
                        this.result.hasImgStatus = input.ReadUInt32(ref this.result.imgStatus_);
                        continue;
                    }

                    case 0x42:
                    {
                        SKBuiltinBuffer_t.Builder builder4 = SKBuiltinBuffer_t.CreateBuilder();
                        if (this.result.hasImgBuf)
                        {
                            builder4.MergeFrom(this.ImgBuf);
                        }
                        input.ReadMessage(builder4, extensionRegistry);
                        this.ImgBuf = builder4.BuildPartial();
                        continue;
                    }

                    case 0x48:
                    {
                        this.result.hasCreateTime = input.ReadUInt32(ref this.result.createTime_);
                        continue;
                    }

                    case 0x52:
                    {
                        this.result.hasMsgSource = input.ReadString(ref this.result.msgSource_);
                        continue;
                    }

                    case 90:
                    {
                        this.result.hasPushContent = input.ReadString(ref this.result.pushContent_);
                        continue;
                    }

                    case 0x60:
                        break;

                    default:
                    {
                        if (WireFormat.IsEndGroupTag(num))
                        {
                            return(this);
                        }
                        this.ParseUnknownField(input, extensionRegistry, num, str);
                        continue;
                    }
                    }
                    this.result.hasNewMsgId = input.ReadInt64(ref this.result.newMsgId_);
                }
                return(this);
            }
Пример #10
0
            public override UserInfoExt.Builder MergeFrom(ICodedInputStream input, ExtensionRegistry extensionRegistry)
            {
                uint   num;
                string str;

                this.PrepareBuilder();
                while (input.ReadTag(out num, out str))
                {
                    if ((num == 0) && (str != null))
                    {
                        int index = Array.BinarySearch <string>(UserInfoExt._userInfoExtFieldNames, str, StringComparer.Ordinal);
                        if (index >= 0)
                        {
                            num = UserInfoExt._userInfoExtFieldTags[index];
                        }
                        else
                        {
                            this.ParseUnknownField(input, extensionRegistry, num, str);
                            continue;
                        }
                    }
                    switch (num)
                    {
                    case 0x12:
                    {
                        this.result.hasMyBrandList = input.ReadString(ref this.result.myBrandList_);
                        continue;
                    }

                    case 0x1a:
                    {
                        this.result.hasMsgPushSound = input.ReadString(ref this.result.msgPushSound_);
                        continue;
                    }

                    case 0:
                        throw InvalidProtocolBufferException.InvalidTag();

                    case 10:
                    {
                        micromsg.SnsUserInfo.Builder builder = micromsg.SnsUserInfo.CreateBuilder();
                        if (this.result.hasSnsUserInfo)
                        {
                            builder.MergeFrom(this.SnsUserInfo);
                        }
                        input.ReadMessage(builder, extensionRegistry);
                        this.SnsUserInfo = builder.BuildPartial();
                        continue;
                    }

                    case 0x22:
                    {
                        this.result.hasVoipPushSound = input.ReadString(ref this.result.voipPushSound_);
                        continue;
                    }

                    case 40:
                    {
                        this.result.hasBigChatRoomSize = input.ReadUInt32(ref this.result.bigChatRoomSize_);
                        continue;
                    }

                    case 0x30:
                    {
                        this.result.hasBigChatRoomQuota = input.ReadUInt32(ref this.result.bigChatRoomQuota_);
                        continue;
                    }

                    case 0x38:
                    {
                        this.result.hasBigChatRoomInvite = input.ReadUInt32(ref this.result.bigChatRoomInvite_);
                        continue;
                    }

                    case 0x52:
                    {
                        this.result.hasSmallHeadImgUrl = input.ReadString(ref this.result.smallHeadImgUrl_);
                        continue;
                    }

                    case 0x58:
                    {
                        this.result.hasMainAcctType = input.ReadUInt32(ref this.result.mainAcctType_);
                        continue;
                    }

                    case 0x42:
                    {
                        this.result.hasSafeMobile = input.ReadString(ref this.result.safeMobile_);
                        continue;
                    }

                    case 0x4a:
                    {
                        this.result.hasBigHeadImgUrl = input.ReadString(ref this.result.bigHeadImgUrl_);
                        continue;
                    }

                    case 0x62:
                    {
                        SKBuiltinString_t.Builder builder2 = SKBuiltinString_t.CreateBuilder();
                        if (this.result.hasExtXml)
                        {
                            builder2.MergeFrom(this.ExtXml);
                        }
                        input.ReadMessage(builder2, extensionRegistry);
                        this.ExtXml = builder2.BuildPartial();
                        continue;
                    }

                    case 0x6a:
                    {
                        micromsg.SafeDeviceList.Builder builder3 = micromsg.SafeDeviceList.CreateBuilder();
                        if (this.result.hasSafeDeviceList)
                        {
                            builder3.MergeFrom(this.SafeDeviceList);
                        }
                        input.ReadMessage(builder3, extensionRegistry);
                        this.SafeDeviceList = builder3.BuildPartial();
                        continue;
                    }

                    case 0x70:
                    {
                        this.result.hasSafeDevice = input.ReadUInt32(ref this.result.safeDevice_);
                        continue;
                    }

                    case 120:
                        break;

                    default:
                    {
                        if (WireFormat.IsEndGroupTag(num))
                        {
                            return(this);
                        }
                        this.ParseUnknownField(input, extensionRegistry, num, str);
                        continue;
                    }
                    }
                    this.result.hasGrayscaleFlag = input.ReadUInt32(ref this.result.grayscaleFlag_);
                }
                return(this);
            }