Exemple #1
0
        public override void WriteTo(ICodedOutputStream output)
        {
            int serializedSize = this.SerializedSize;

            string[] strArray = _tenPayRequestFieldNames;
            if (this.hasBaseRequest)
            {
                output.WriteMessage(1, strArray[0], this.BaseRequest);
            }
            if (this.hasCgiCmd)
            {
                output.WriteUInt32(2, strArray[1], this.CgiCmd);
            }
            if (this.hasOutPutType)
            {
                output.WriteUInt32(3, strArray[2], this.OutPutType);
            }
            if (this.hasReqText)
            {
                output.WriteMessage(4, strArray[3], this.ReqText);
            }
            if (this.hasReqTextWx)
            {
                output.WriteMessage(5, strArray[4], this.ReqTextWx);
            }
        }
Exemple #2
0
        public override void WriteTo(ICodedOutputStream output)
        {
            int serializedSize = this.SerializedSize;

            string[] strArray = _downloadVideoResponseFieldNames;
            if (this.hasBaseResponse)
            {
                output.WriteMessage(1, strArray[0], this.BaseResponse);
            }
            if (this.hasMsgId)
            {
                output.WriteUInt32(2, strArray[2], this.MsgId);
            }
            if (this.hasTotalLen)
            {
                output.WriteUInt32(3, strArray[4], this.TotalLen);
            }
            if (this.hasStartPos)
            {
                output.WriteUInt32(4, strArray[3], this.StartPos);
            }
            if (this.hasData)
            {
                output.WriteMessage(5, strArray[1], this.Data);
            }
        }
        public override void WriteTo(ICodedOutputStream output)
        {
            int serializedSize = this.SerializedSize;

            string[] strArray = _newSyncResponseFieldNames;
            if (this.hasRet)
            {
                output.WriteInt32(1, strArray[4], this.Ret);
            }
            if (this.hasCmdList)
            {
                output.WriteMessage(2, strArray[0], this.CmdList);
            }
            if (this.hasContinueFlag)
            {
                output.WriteUInt32(3, strArray[1], this.ContinueFlag);
            }
            if (this.hasKeyBuf)
            {
                output.WriteMessage(4, strArray[2], this.KeyBuf);
            }
            if (this.hasStatus)
            {
                output.WriteUInt32(5, strArray[5], this.Status);
            }
            if (this.hasOnlineVersion)
            {
                output.WriteUInt32(6, strArray[3], this.OnlineVersion);
            }
        }
        public override void WriteTo(ICodedOutputStream output)
        {
            int serializedSize = this.SerializedSize;

            string[] strArray = _microMsgResponseFieldNames;
            if (this.hasRet)
            {
                output.WriteInt32(1, strArray[4], this.Ret);
            }
            if (this.hasFromUserName)
            {
                output.WriteMessage(2, strArray[2], this.FromUserName);
            }
            if (this.hasToUserName)
            {
                output.WriteMessage(3, strArray[5], this.ToUserName);
            }
            if (this.hasMsgId)
            {
                output.WriteUInt32(4, strArray[3], this.MsgId);
            }
            if (this.hasClientMsgId)
            {
                output.WriteString(5, strArray[0], this.ClientMsgId);
            }
            if (this.hasCreateTime)
            {
                output.WriteUInt32(6, strArray[1], this.CreateTime);
            }
            if (this.hasType)
            {
                output.WriteUInt32(7, strArray[6], this.Type);
            }
        }
        public override void WriteTo(ICodedOutputStream output)
        {
            int serializedSize = this.SerializedSize;

            string[] strArray = _snsUserPageResponseFieldNames;
            if (this.hasBaseResponse)
            {
                output.WriteMessage(1, strArray[0], this.BaseResponse);
            }
            if (this.hasFirstPageMd5)
            {
                output.WriteString(2, strArray[1], this.FirstPageMd5);
            }
            if (this.hasObjectCount)
            {
                output.WriteUInt32(3, strArray[3], this.ObjectCount);
            }
            if (this.objectList_.Count > 0)
            {
                output.WriteMessageArray <SnsObject>(4, strArray[4], this.objectList_);
            }
            if (this.hasObjectTotalCount)
            {
                output.WriteUInt32(5, strArray[5], this.ObjectTotalCount);
            }
            if (this.hasSnsUserInfo)
            {
                output.WriteMessage(6, strArray[6], this.SnsUserInfo);
            }
            if (this.hasNewRequestTime)
            {
                output.WriteUInt32(7, strArray[2], this.NewRequestTime);
            }
        }
        public override void WriteTo(ICodedOutputStream output)
        {
            int serializedSize = this.SerializedSize;

            string[] strArray = _tenPayResponseFieldNames;
            if (this.hasBaseResponse)
            {
                output.WriteMessage(1, strArray[0], this.BaseResponse);
            }
            if (this.hasRetText)
            {
                output.WriteMessage(2, strArray[4], this.RetText);
            }
            if (this.hasPlatRet)
            {
                output.WriteInt32(3, strArray[3], this.PlatRet);
            }
            if (this.hasPlatMsg)
            {
                output.WriteString(4, strArray[2], this.PlatMsg);
            }
            if (this.hasCgiCmdid)
            {
                output.WriteInt32(5, strArray[1], this.CgiCmdid);
            }
            if (this.hasTenpayErrType)
            {
                output.WriteInt32(6, strArray[6], this.TenpayErrType);
            }
            if (this.hasTenpayErrMsg)
            {
                output.WriteString(7, strArray[5], this.TenpayErrMsg);
            }
        }
        public override void WriteTo(ICodedOutputStream output)
        {
            int serializedSize = this.SerializedSize;

            string[] strArray = _newSyncRequestFieldNames;
            if (this.hasOplog)
            {
                output.WriteMessage(1, strArray[2], this.Oplog);
            }
            if (this.hasSelector)
            {
                output.WriteUInt32(2, strArray[4], this.Selector);
            }
            if (this.hasKeyBuf)
            {
                output.WriteMessage(3, strArray[1], this.KeyBuf);
            }
            if (this.hasScene)
            {
                output.WriteUInt32(4, strArray[3], this.Scene);
            }
            if (this.hasDeviceType)
            {
                //output.WriteString(5, strArray[0], this.DeviceType);
                output.WriteBytes(5, strArray[0], this.DeviceType);
            }
        }
        public override void WriteTo(ICodedOutputStream output)
        {
            int serializedSize = this.SerializedSize;

            string[] strArray = _newInitRequestFieldNames;
            if (this.hasBaseRequest)
            {
                output.WriteMessage(1, strArray[0], this.BaseRequest);
            }
            if (this.hasUserName)
            {
                output.WriteString(2, strArray[4], this.UserName);
            }
            if (this.hasCurrentSynckey)
            {
                output.WriteMessage(3, strArray[1], this.CurrentSynckey);
            }
            if (this.hasMaxSynckey)
            {
                output.WriteMessage(4, strArray[3], this.MaxSynckey);
            }
            if (this.hasLanguage)
            {
                output.WriteString(5, strArray[2], this.Language);
            }
        }
Exemple #9
0
        public override void WriteTo(ICodedOutputStream output)
        {
            int serializedSize = this.SerializedSize;

            string[] transparentFieldNames = Transparent._transparentFieldNames;
            if (this.hasId)
            {
                output.WriteString(1, transparentFieldNames[5], this.Id);
            }
            if (this.hasAction)
            {
                output.WriteString(2, transparentFieldNames[0], this.Action);
            }
            if (this.hasTaskId)
            {
                output.WriteString(3, transparentFieldNames[10], this.TaskId);
            }
            if (this.hasAppKey)
            {
                output.WriteString(4, transparentFieldNames[3], this.AppKey);
            }
            if (this.hasAppId)
            {
                output.WriteString(5, transparentFieldNames[2], this.AppId);
            }
            if (this.hasMessageId)
            {
                output.WriteString(6, transparentFieldNames[6], this.MessageId);
            }
            if (this.hasPushInfo)
            {
                output.WriteMessage(7, transparentFieldNames[7], (IMessageLite)this.PushInfo);
            }
            if (this.actionChain_.Count > 0)
            {
                output.WriteMessageArray <ActionChain>(8, transparentFieldNames[1], (IEnumerable <ActionChain>) this.actionChain_);
            }
            if (this.condition_.Count > 0)
            {
                output.WriteStringArray(9, transparentFieldNames[4], (IEnumerable <string>) this.condition_);
            }
            if (this.hasTemplateId)
            {
                output.WriteInt32(10, transparentFieldNames[11], this.TemplateId);
            }
            if (this.hasTaskGroupId)
            {
                output.WriteString(11, transparentFieldNames[9], this.TaskGroupId);
            }
            if (this.hasSmsInfo)
            {
                output.WriteMessage(12, transparentFieldNames[8], (IMessageLite)this.SmsInfo);
            }
            this.UnknownFields.WriteTo(output);
        }
        // Token: 0x06000305 RID: 773 RVA: 0x00006804 File Offset: 0x00004A04
        public override void WriteTo(ICodedOutputStream output)
        {
            int serializedSize = SerializedSize;

            string[] transparentFieldNames = _transparentFieldNames;
            if (HasId)
            {
                output.WriteString(1, transparentFieldNames[5], Id);
            }
            if (HasAction)
            {
                output.WriteString(2, transparentFieldNames[0], Action);
            }
            if (HasTaskId)
            {
                output.WriteString(3, transparentFieldNames[10], TaskId);
            }
            if (HasAppKey)
            {
                output.WriteString(4, transparentFieldNames[3], AppKey);
            }
            if (HasAppId)
            {
                output.WriteString(5, transparentFieldNames[2], AppId);
            }
            if (HasMessageId)
            {
                output.WriteString(6, transparentFieldNames[6], MessageId);
            }
            if (HasPushInfo)
            {
                output.WriteMessage(7, transparentFieldNames[7], PushInfo);
            }
            if (actionChain_.Count > 0)
            {
                output.WriteMessageArray(8, transparentFieldNames[1], actionChain_);
            }
            if (condition_.Count > 0)
            {
                output.WriteStringArray(9, transparentFieldNames[4], condition_);
            }
            if (HasTemplateId)
            {
                output.WriteInt32(10, transparentFieldNames[11], TemplateId);
            }
            if (HasTaskGroupId)
            {
                output.WriteString(11, transparentFieldNames[9], TaskGroupId);
            }
            if (HasSmsInfo)
            {
                output.WriteMessage(12, transparentFieldNames[8], SmsInfo);
            }
            UnknownFields.WriteTo(output);
        }
Exemple #11
0
        public override void WriteTo(ICodedOutputStream output)
        {
            int serializedSize = this.SerializedSize;

            string[] strArray = _addMsgFieldNames;
            if (this.hasMsgId)
            {
                output.WriteInt32(1, strArray[5], this.MsgId);
            }
            if (this.hasFromUserName)
            {
                output.WriteMessage(2, strArray[2], this.FromUserName);
            }
            if (this.hasToUserName)
            {
                output.WriteMessage(3, strArray[11], this.ToUserName);
            }
            if (this.hasMsgType)
            {
                output.WriteInt32(4, strArray[7], this.MsgType);
            }
            if (this.hasContent)
            {
                output.WriteMessage(5, strArray[0], this.Content);
            }
            if (this.hasStatus)
            {
                output.WriteUInt32(6, strArray[10], this.Status);
            }
            if (this.hasImgStatus)
            {
                output.WriteUInt32(7, strArray[4], this.ImgStatus);
            }
            if (this.hasImgBuf)
            {
                output.WriteMessage(8, strArray[3], this.ImgBuf);
            }
            if (this.hasCreateTime)
            {
                output.WriteUInt32(9, strArray[1], this.CreateTime);
            }
            if (this.hasMsgSource)
            {
                output.WriteString(10, strArray[6], this.MsgSource);
            }
            if (this.hasPushContent)
            {
                output.WriteString(11, strArray[9], this.PushContent);
            }
            if (this.hasNewMsgId)
            {
                output.WriteInt64(12, strArray[8], this.NewMsgId);
            }
        }
Exemple #12
0
        public override void WriteTo(ICodedOutputStream output)
        {
            int serializedSize = this.SerializedSize;

            string[] strArray = _searchContactRequestFieldNames;
            if (this.hasBaseRequest)
            {
                output.WriteMessage(1, strArray[0], this.BaseRequest);
            }
            if (this.hasUserName)
            {
                output.WriteMessage(2, strArray[1], this.UserName);
            }
        }
Exemple #13
0
        public override void WriteTo(ICodedOutputStream output)
        {
            int serializedSize = this.SerializedSize;

            string[] strArray = _delUserDomainEmailFieldNames;
            if (this.hasUserName)
            {
                output.WriteMessage(1, strArray[1], this.UserName);
            }
            if (this.hasEmail)
            {
                output.WriteMessage(2, strArray[0], this.Email);
            }
        }
        public override void WriteTo(ICodedOutputStream output)
        {
            int arg_06_0 = this.SerializedSize;

            string[] showMessageFromWXReqFieldNames = ShowMessageFromWXReq._showMessageFromWXReqFieldNames;
            if (this.hasBase)
            {
                output.WriteMessage(1, showMessageFromWXReqFieldNames[0], this.Base);
            }
            if (this.hasMsg)
            {
                output.WriteMessage(2, showMessageFromWXReqFieldNames[1], this.Msg);
            }
        }
        public override void WriteTo(ICodedOutputStream output)
        {
            int serializedSize = this.SerializedSize;

            string[] strArray = _showMessageFromWXReqFieldNames;
            if (this.hasBase)
            {
                output.WriteMessage(1, strArray[0], this.Base);
            }
            if (this.hasMsg)
            {
                output.WriteMessage(2, strArray[1], this.Msg);
            }
        }
        public override void WriteTo(ICodedOutputStream output)
        {
            int serializedSize = this.SerializedSize;

            string[] strArray = _addSafeDeviceResponseFieldNames;
            if (this.hasBaseResponse)
            {
                output.WriteMessage(1, strArray[0], this.BaseResponse);
            }
            if (this.hasSafeDeviceList)
            {
                output.WriteMessage(2, strArray[1], this.SafeDeviceList);
            }
        }
Exemple #17
0
        public override void WriteTo(ICodedOutputStream output)
        {
            int serializedSize = this.SerializedSize;

            string[] strArray = _snsObjectDetailResponseFieldNames;
            if (this.hasBaseResponse)
            {
                output.WriteMessage(1, strArray[0], this.BaseResponse);
            }
            if (this.hasObject)
            {
                output.WriteMessage(2, strArray[1], this.Object);
            }
        }
Exemple #18
0
        public override void WriteTo(ICodedOutputStream output)
        {
            int serializedSize = this.SerializedSize;

            string[] strArray = _modChatRoomTopicFieldNames;
            if (this.hasChatRoomName)
            {
                output.WriteMessage(1, strArray[0], this.ChatRoomName);
            }
            if (this.hasChatRoomTopic)
            {
                output.WriteMessage(2, strArray[1], this.ChatRoomTopic);
            }
        }
Exemple #19
0
        public override void WriteTo(ICodedOutputStream output)
        {
            int serializedSize = this.SerializedSize;

            string[] strArray = _roomInfoFieldNames;
            if (this.hasUserName)
            {
                output.WriteMessage(1, strArray[1], this.UserName);
            }
            if (this.hasNickName)
            {
                output.WriteMessage(2, strArray[0], this.NickName);
            }
        }
Exemple #20
0
        // Token: 0x06000242 RID: 578 RVA: 0x0000547C File Offset: 0x0000367C
        public override void WriteTo(ICodedOutputStream output)
        {
            int serializedSize = SerializedSize;

            string[] pushMMPAppMessageFieldNames = _pushMMPAppMessageFieldNames;
            if (HasMessage)
            {
                output.WriteMessage(1, pushMMPAppMessageFieldNames[1], Message);
            }
            if (appIdList_.Count > 0)
            {
                output.WriteStringArray(2, pushMMPAppMessageFieldNames[0], appIdList_);
            }
            if (phoneTypeList_.Count > 0)
            {
                output.WriteStringArray(3, pushMMPAppMessageFieldNames[2], phoneTypeList_);
            }
            if (provinceList_.Count > 0)
            {
                output.WriteStringArray(4, pushMMPAppMessageFieldNames[3], provinceList_);
            }
            if (HasSeqId)
            {
                output.WriteString(5, pushMMPAppMessageFieldNames[4], SeqId);
            }
            UnknownFields.WriteTo(output);
        }
Exemple #21
0
        // Token: 0x060012CD RID: 4813 RVA: 0x00043044 File Offset: 0x00041244
        public override void WriteTo(ICodedOutputStream output)
        {
            int serializedSize = this.SerializedSize;

            string[] objectSleepingAvatarFieldNames = objectSleepingAvatar._objectSleepingAvatarFieldNames;
            if (this.hasFootArmor)
            {
                output.WriteInt32(1, objectSleepingAvatarFieldNames[0], this.FootArmor);
            }
            if (this.hasLegArmor)
            {
                output.WriteInt32(2, objectSleepingAvatarFieldNames[2], this.LegArmor);
            }
            if (this.hasTorsoArmor)
            {
                output.WriteInt32(3, objectSleepingAvatarFieldNames[4], this.TorsoArmor);
            }
            if (this.hasHeadArmor)
            {
                output.WriteInt32(4, objectSleepingAvatarFieldNames[1], this.HeadArmor);
            }
            if (this.hasTimestamp)
            {
                output.WriteInt32(5, objectSleepingAvatarFieldNames[3], this.Timestamp);
            }
            if (this.hasVitals)
            {
                output.WriteMessage(6, objectSleepingAvatarFieldNames[5], this.Vitals);
            }
            this.UnknownFields.WriteTo(output);
        }
        public override void WriteTo(ICodedOutputStream output)
        {
            int serializedSize = this.SerializedSize;

            string[] strArray = _sendCardRequestFieldNames;
            if (this.hasBaseRequest)
            {
                output.WriteMessage(1, strArray[0], this.BaseRequest);
            }
            if (this.hasUserName)
            {
                output.WriteString(2, strArray[5], this.UserName);
            }
            if (this.hasContent)
            {
                output.WriteString(3, strArray[1], this.Content);
            }
            if (this.hasSendCardBitFlag)
            {
                output.WriteUInt32(4, strArray[3], this.SendCardBitFlag);
            }
            if (this.hasStyle)
            {
                output.WriteUInt32(5, strArray[4], this.Style);
            }
            if (this.hasContentEx)
            {
                output.WriteString(6, strArray[2], this.ContentEx);
            }
        }
        public override void WriteTo(ICodedOutputStream output)
        {
            int serializedSize = this.SerializedSize;

            string[] strArray = _snsTimeLineRequestFieldNames;
            if (this.hasBaseRequest)
            {
                output.WriteMessage(1, strArray[0], this.BaseRequest);
            }
            if (this.hasFirstPageMd5)
            {
                output.WriteString(2, strArray[1], this.FirstPageMd5);
            }
            if (this.hasMaxId)
            {
                output.WriteUInt64(3, strArray[3], this.MaxId);
            }
            if (this.hasMinFilterId)
            {
                output.WriteUInt64(4, strArray[4], this.MinFilterId);
            }
            if (this.hasLastRequestTime)
            {
                output.WriteUInt32(5, strArray[2], this.LastRequestTime);
            }
        }
Exemple #24
0
        public override void WriteTo(ICodedOutputStream output)
        {
            int serializedSize = this.SerializedSize;

            string[] strArray = _uploadVideoResponseFieldNames;
            if (this.hasBaseResponse)
            {
                output.WriteMessage(1, strArray[0], this.BaseResponse);
            }
            if (this.hasClientMsgId)
            {
                output.WriteString(2, strArray[1], this.ClientMsgId);
            }
            if (this.hasMsgId)
            {
                output.WriteUInt32(3, strArray[2], this.MsgId);
            }
            if (this.hasThumbStartPos)
            {
                output.WriteUInt32(4, strArray[4], this.ThumbStartPos);
            }
            if (this.hasVideoStartPos)
            {
                output.WriteUInt32(5, strArray[5], this.VideoStartPos);
            }
            if (this.hasNewMsgId)
            {
                output.WriteUInt64(6, strArray[3], this.NewMsgId);
            }
        }
Exemple #25
0
        public override void WriteTo(ICodedOutputStream output)
        {
            int serializedSize = this.SerializedSize;

            string[] strArray = _objectSleepingAvatarFieldNames;
            if (this.hasFootArmor)
            {
                output.WriteInt32(1, strArray[0], this.FootArmor);
            }
            if (this.hasLegArmor)
            {
                output.WriteInt32(2, strArray[2], this.LegArmor);
            }
            if (this.hasTorsoArmor)
            {
                output.WriteInt32(3, strArray[4], this.TorsoArmor);
            }
            if (this.hasHeadArmor)
            {
                output.WriteInt32(4, strArray[1], this.HeadArmor);
            }
            if (this.hasTimestamp)
            {
                output.WriteInt32(5, strArray[3], this.Timestamp);
            }
            if (this.hasVitals)
            {
                output.WriteMessage(6, strArray[5], this.Vitals);
            }
            this.get_UnknownFields().WriteTo(output);
        }
Exemple #26
0
        public override void WriteTo(ICodedOutputStream output)
        {
            int arg_06_0 = this.SerializedSize;

            string[] sendPayReqPFieldNames = SendPayReqP._sendPayReqPFieldNames;
            if (this.hasBase)
            {
                output.WriteMessage(1, sendPayReqPFieldNames[0], this.Base);
            }
            if (this.hasPartnerId)
            {
                output.WriteString(2, sendPayReqPFieldNames[3], this.PartnerId);
            }
            if (this.hasPrepayId)
            {
                output.WriteString(3, sendPayReqPFieldNames[4], this.PrepayId);
            }
            if (this.hasNonceStr)
            {
                output.WriteString(4, sendPayReqPFieldNames[1], this.NonceStr);
            }
            if (this.hasTimeStamp)
            {
                output.WriteUInt32(5, sendPayReqPFieldNames[6], this.TimeStamp);
            }
            if (this.hasPackage)
            {
                output.WriteString(6, sendPayReqPFieldNames[2], this.Package);
            }
            if (this.hasSign)
            {
                output.WriteString(7, sendPayReqPFieldNames[5], this.Sign);
            }
        }
        // Token: 0x060002A7 RID: 679 RVA: 0x00005E38 File Offset: 0x00004038
        public override void WriteTo(ICodedOutputStream output)
        {
            int serializedSize = SerializedSize;

            string[] oSMessageFieldNames = _oSMessageFieldNames;
            if (HasIsOffline)
            {
                output.WriteBool(2, oSMessageFieldNames[1], IsOffline);
            }
            if (HasOfflineExpireTime)
            {
                output.WriteInt64(3, oSMessageFieldNames[4], OfflineExpireTime);
            }
            if (HasTransparent)
            {
                output.WriteMessage(4, oSMessageFieldNames[6], Transparent);
            }
            if (HasExtraData)
            {
                output.WriteString(5, oSMessageFieldNames[0], ExtraData);
            }
            if (HasMsgType)
            {
                output.WriteInt32(6, oSMessageFieldNames[3], MsgType);
            }
            if (HasMsgTraceFlag)
            {
                output.WriteInt32(7, oSMessageFieldNames[2], MsgTraceFlag);
            }
            if (HasPriority)
            {
                output.WriteInt32(8, oSMessageFieldNames[5], Priority);
            }
            UnknownFields.WriteTo(output);
        }
Exemple #28
0
        public override void WriteTo(ICodedOutputStream output)
        {
            int serializedSize = this.SerializedSize;

            string[] smessageFieldNames = OSMessage._oSMessageFieldNames;
            if (this.hasIsOffline)
            {
                output.WriteBool(2, smessageFieldNames[1], this.IsOffline);
            }
            if (this.hasOfflineExpireTime)
            {
                output.WriteInt64(3, smessageFieldNames[4], this.OfflineExpireTime);
            }
            if (this.hasTransparent)
            {
                output.WriteMessage(4, smessageFieldNames[6], (IMessageLite)this.Transparent);
            }
            if (this.hasExtraData)
            {
                output.WriteString(5, smessageFieldNames[0], this.ExtraData);
            }
            if (this.hasMsgType)
            {
                output.WriteInt32(6, smessageFieldNames[3], this.MsgType);
            }
            if (this.hasMsgTraceFlag)
            {
                output.WriteInt32(7, smessageFieldNames[2], this.MsgTraceFlag);
            }
            if (this.hasPriority)
            {
                output.WriteInt32(8, smessageFieldNames[5], this.Priority);
            }
            this.UnknownFields.WriteTo(output);
        }
Exemple #29
0
        public override void WriteTo(ICodedOutputStream output)
        {
            int serializedSize = this.SerializedSize;

            string[] messageFieldNames = PushMMPAppMessage._pushMMPAppMessageFieldNames;
            if (this.hasMessage)
            {
                output.WriteMessage(1, messageFieldNames[1], (IMessageLite)this.Message);
            }
            if (this.appIdList_.Count > 0)
            {
                output.WriteStringArray(2, messageFieldNames[0], (IEnumerable <string>) this.appIdList_);
            }
            if (this.phoneTypeList_.Count > 0)
            {
                output.WriteStringArray(3, messageFieldNames[2], (IEnumerable <string>) this.phoneTypeList_);
            }
            if (this.provinceList_.Count > 0)
            {
                output.WriteStringArray(4, messageFieldNames[3], (IEnumerable <string>) this.provinceList_);
            }
            if (this.hasSeqId)
            {
                output.WriteString(5, messageFieldNames[4], this.SeqId);
            }
            this.UnknownFields.WriteTo(output);
        }
Exemple #30
0
        public override void WriteTo(ICodedOutputStream output)
        {
            int serializedSize = this.SerializedSize;

            string[] strArray = _downloadVoiceRequestFieldNames;
            if (this.hasMsgId)
            {
                output.WriteUInt32(1, strArray[3], this.MsgId);
            }
            if (this.hasOffset)
            {
                output.WriteUInt32(2, strArray[4], this.Offset);
            }
            if (this.hasLength)
            {
                output.WriteUInt32(3, strArray[2], this.Length);
            }
            if (this.hasClientMsgId)
            {
                output.WriteString(4, strArray[1], this.ClientMsgId);
            }
            if (this.hasBaseRequest)
            {
                output.WriteMessage(5, strArray[0], this.BaseRequest);
            }
        }