public override SearchContactRequest.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>(SearchContactRequest._searchContactRequestFieldNames, str, StringComparer.Ordinal); if (index >= 0) { num = SearchContactRequest._searchContactRequestFieldTags[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 0x12: { SKBuiltinString_t.Builder builder2 = SKBuiltinString_t.CreateBuilder(); if (this.result.hasUserName) { builder2.MergeFrom(this.UserName); } input.ReadMessage(builder2, extensionRegistry); this.UserName = builder2.BuildPartial(); continue; } } if (WireFormat.IsEndGroupTag(num)) { return(this); } this.ParseUnknownField(input, extensionRegistry, num, str); } return(this); }
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); }
public override SnsTimeLineRequest.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>(SnsTimeLineRequest._snsTimeLineRequestFieldNames, str, StringComparer.Ordinal); if (index >= 0) { num = SnsTimeLineRequest._snsTimeLineRequestFieldTags[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 0x12: { this.result.hasFirstPageMd5 = input.ReadString(ref this.result.firstPageMd5_); continue; } case 0x18: { this.result.hasMaxId = input.ReadUInt64(ref this.result.maxId_); continue; } case 0x20: { this.result.hasMinFilterId = input.ReadUInt64(ref this.result.minFilterId_); continue; } case 40: break; default: { if (WireFormat.IsEndGroupTag(num)) { return(this); } this.ParseUnknownField(input, extensionRegistry, num, str); continue; } } this.result.hasLastRequestTime = input.ReadUInt32(ref this.result.lastRequestTime_); } return(this); }
public override AddSafeDeviceRequest.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>(AddSafeDeviceRequest._addSafeDeviceRequestFieldNames, str, StringComparer.Ordinal); if (index >= 0) { num = AddSafeDeviceRequest._addSafeDeviceRequestFieldTags[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 0x12: { this.result.hasAuthTicket = input.ReadString(ref this.result.authTicket_); continue; } case 0x1a: { this.result.hasName = input.ReadString(ref this.result.name_); continue; } case 0x22: break; default: { if (WireFormat.IsEndGroupTag(num)) { return(this); } this.ParseUnknownField(input, extensionRegistry, num, str); continue; } } this.result.hasDeviceType = input.ReadString(ref this.result.deviceType_); } return(this); }
public override BindOpMobileRequest.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>(BindOpMobileRequest._bindOpMobileRequestFieldNames, str, StringComparer.Ordinal); if (index >= 0) { num = BindOpMobileRequest._bindOpMobileRequestFieldTags[index]; } else { this.ParseUnknownField(input, extensionRegistry, num, str); continue; } } switch (num) { case 0x1a: { this.result.hasMobile = input.ReadString(ref this.result.mobile_); continue; } case 0x20: { this.result.hasOpcode = input.ReadInt32(ref this.result.opcode_); continue; } case 0x2a: { this.result.hasVerifycode = input.ReadString(ref this.result.verifycode_); 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 0x12: { this.result.hasUserName = input.ReadString(ref this.result.userName_); continue; } case 0x30: { this.result.hasDialFlag = input.ReadInt32(ref this.result.dialFlag_); continue; } case 0x3a: { this.result.hasDialLang = input.ReadString(ref this.result.dialLang_); continue; } case 0x42: { this.result.hasAuthTicket = input.ReadString(ref this.result.authTicket_); continue; } case 0x48: { this.result.hasForceReg = input.ReadUInt32(ref this.result.forceReg_); continue; } case 0x52: { this.result.hasSafeDeviceName = input.ReadString(ref this.result.safeDeviceName_); continue; } case 90: break; default: { if (WireFormat.IsEndGroupTag(num)) { return(this); } this.ParseUnknownField(input, extensionRegistry, num, str); continue; } } this.result.hasSafeDeviceType = input.ReadString(ref this.result.safeDeviceType_); } return(this); }
public override NewInitRequest.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>(NewInitRequest._newInitRequestFieldNames, str, StringComparer.Ordinal); if (index >= 0) { num = NewInitRequest._newInitRequestFieldTags[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 0x12: { this.result.hasUserName = input.ReadString(ref this.result.userName_); continue; } case 0x1a: { SKBuiltinBuffer_t.Builder builder2 = SKBuiltinBuffer_t.CreateBuilder(); if (this.result.hasCurrentSynckey) { builder2.MergeFrom(this.CurrentSynckey); } input.ReadMessage(builder2, extensionRegistry); this.CurrentSynckey = builder2.BuildPartial(); continue; } case 0x22: { SKBuiltinBuffer_t.Builder builder3 = SKBuiltinBuffer_t.CreateBuilder(); if (this.result.hasMaxSynckey) { builder3.MergeFrom(this.MaxSynckey); } input.ReadMessage(builder3, extensionRegistry); this.MaxSynckey = builder3.BuildPartial(); continue; } case 0x2a: break; default: { if (WireFormat.IsEndGroupTag(num)) { return(this); } this.ParseUnknownField(input, extensionRegistry, num, str); continue; } } this.result.hasLanguage = input.ReadString(ref this.result.language_); } return(this); }
public override DownloadVoiceRequest.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>(DownloadVoiceRequest._downloadVoiceRequestFieldNames, str, StringComparer.Ordinal); if (index >= 0) { num = DownloadVoiceRequest._downloadVoiceRequestFieldTags[index]; } else { this.ParseUnknownField(input, extensionRegistry, num, str); continue; } } switch (num) { case 0: throw InvalidProtocolBufferException.InvalidTag(); case 8: { this.result.hasMsgId = input.ReadUInt32(ref this.result.msgId_); continue; } case 0x10: { this.result.hasOffset = input.ReadUInt32(ref this.result.offset_); continue; } case 0x18: { this.result.hasLength = input.ReadUInt32(ref this.result.length_); continue; } case 0x22: { this.result.hasClientMsgId = input.ReadString(ref this.result.clientMsgId_); continue; } case 0x2a: { micromsg.BaseRequest.Builder builder = micromsg.BaseRequest.CreateBuilder(); if (this.result.hasBaseRequest) { builder.MergeFrom(this.BaseRequest); } input.ReadMessage(builder, extensionRegistry); this.BaseRequest = builder.BuildPartial(); continue; } } if (WireFormat.IsEndGroupTag(num)) { return(this); } this.ParseUnknownField(input, extensionRegistry, num, str); } return(this); }
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); }
public override NewRegRequest.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>(NewRegRequest._newRegRequestFieldNames, str, StringComparer.Ordinal); if (index >= 0) { num = NewRegRequest._newRegRequestFieldTags[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 0x12: { this.result.hasUserName = input.ReadString(ref this.result.userName_); continue; } case 40: { this.result.hasBindUin = input.ReadUInt32(ref this.result.bindUin_); continue; } case 50: { this.result.hasBindEmail = input.ReadString(ref this.result.bindEmail_); continue; } case 0x1a: { this.result.hasPwd = input.ReadString(ref this.result.pwd_); continue; } case 0x22: { this.result.hasNickName = input.ReadString(ref this.result.nickName_); continue; } case 0x3a: { this.result.hasBindMobile = input.ReadString(ref this.result.bindMobile_); continue; } case 0x42: { this.result.hasTicket = input.ReadString(ref this.result.ticket_); continue; } case 0x60: { this.result.hasBuiltinIPSeq = input.ReadUInt32(ref this.result.builtinIPSeq_); continue; } case 0x68: { this.result.hasDLSrc = input.ReadUInt32(ref this.result.dLSrc_); continue; } case 0x70: { this.result.hasRegMode = input.ReadUInt32(ref this.result.regMode_); continue; } case 0x7a: { this.result.hasTimeZone = input.ReadString(ref this.result.timeZone_); continue; } case 130: break; default: { if (WireFormat.IsEndGroupTag(num)) { return(this); } this.ParseUnknownField(input, extensionRegistry, num, str); continue; } } this.result.hasLanguage = input.ReadString(ref this.result.language_); } return(this); }
public override SnsObjectOpRequest.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>(SnsObjectOpRequest._snsObjectOpRequestFieldNames, str, StringComparer.Ordinal); if (index >= 0) { num = SnsObjectOpRequest._snsObjectOpRequestFieldTags[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.hasOpCount = input.ReadUInt32(ref this.result.opCount_); continue; } case 0x1a: break; default: { if (WireFormat.IsEndGroupTag(num)) { return(this); } this.ParseUnknownField(input, extensionRegistry, num, str); continue; } } input.ReadMessageArray <SnsObjectOp>(num, str, this.result.opList_, SnsObjectOp.DefaultInstance, extensionRegistry); } return(this); }
public override SendCardRequest.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>(SendCardRequest._sendCardRequestFieldNames, str, StringComparer.Ordinal); if (index >= 0) { num = SendCardRequest._sendCardRequestFieldTags[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 0x12: { this.result.hasUserName = input.ReadString(ref this.result.userName_); continue; } case 0x1a: { this.result.hasContent = input.ReadString(ref this.result.content_); continue; } case 0x20: { this.result.hasSendCardBitFlag = input.ReadUInt32(ref this.result.sendCardBitFlag_); continue; } case 40: { this.result.hasStyle = input.ReadUInt32(ref this.result.style_); continue; } case 50: break; default: { if (WireFormat.IsEndGroupTag(num)) { return(this); } this.ParseUnknownField(input, extensionRegistry, num, str); continue; } } this.result.hasContentEx = input.ReadString(ref this.result.contentEx_); } return(this); }
public override VerifyUserRequest.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>(VerifyUserRequest._verifyUserRequestFieldNames, str, StringComparer.Ordinal); if (index >= 0) { num = VerifyUserRequest._verifyUserRequestFieldTags[index]; } else { this.ParseUnknownField(input, extensionRegistry, num, str); continue; } } switch (num) { case 0x10: { this.result.hasOpcode = input.ReadUInt32(ref this.result.opcode_); continue; } case 0x18: { this.result.hasVerifyUserListSize = input.ReadUInt32(ref this.result.verifyUserListSize_); 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: { input.ReadMessageArray <VerifyUser>(num, str, this.result.verifyUserList_, VerifyUser.DefaultInstance, extensionRegistry); continue; } case 0x2a: { this.result.hasVerifyContent = input.ReadString(ref this.result.verifyContent_); continue; } case 0x38: case 0x3a: break; case 0x30: { this.result.hasSceneListNum = input.ReadUInt32(ref this.result.sceneListNum_); continue; } default: { if (WireFormat.IsEndGroupTag(num)) { return(this); } this.ParseUnknownField(input, extensionRegistry, num, str); continue; } } input.ReadUInt32Array(num, str, this.result.sceneList_); } return(this); }