(function(e){function t(t){for(var i,o,s=t[0],p=t[1],l=t[2],u=0,c=[];u0&&t.writeString(1,r),r=e.getData_asU8(),r.length>0&&t.writeBytes(2,r)},proto.rpc.Image.prototype.getExt=function(){return i.Message.getFieldWithDefault(this,1,"")},proto.rpc.Image.prototype.setExt=function(e){return i.Message.setProto3StringField(this,1,e)},proto.rpc.Image.prototype.getData=function(){return i.Message.getFieldWithDefault(this,2,"")},proto.rpc.Image.prototype.getData_asB64=function(){return i.Message.bytesAsB64(this.getData())},proto.rpc.Image.prototype.getData_asU8=function(){return i.Message.bytesAsU8(this.getData())},proto.rpc.Image.prototype.setData=function(e){return i.Message.setProto3BytesField(this,2,e)},i.Message.GENERATE_TO_OBJECT&&(proto.rpc.DefaultRequest.prototype.toObject=function(e){return proto.rpc.DefaultRequest.toObject(e,this)},proto.rpc.DefaultRequest.toObject=function(e,t){var r={usertype:i.Message.getFieldWithDefault(t,1,0),upid:i.Message.getFieldWithDefault(t,2,0)};return e&&(r.$jspbMessageInstance=t),r}),proto.rpc.DefaultRequest.deserializeBinary=function(e){var t=new i.BinaryReader(e),r=new proto.rpc.DefaultRequest;return proto.rpc.DefaultRequest.deserializeBinaryFromReader(r,t)},proto.rpc.DefaultRequest.deserializeBinaryFromReader=function(e,t){while(t.nextField()){if(t.isEndGroup())break;var r=t.getFieldNumber();switch(r){case 1:var i=t.readEnum();e.setUsertype(i);break;case 2:i=t.readInt32();e.setUpid(i);break;default:t.skipField();break}}return e},proto.rpc.DefaultRequest.prototype.serializeBinary=function(){var e=new i.BinaryWriter;return proto.rpc.DefaultRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.rpc.DefaultRequest.serializeBinaryToWriter=function(e,t){var r=void 0;r=e.getUsertype(),0!==r&&t.writeEnum(1,r),r=e.getUpid(),0!==r&&t.writeInt32(2,r)},proto.rpc.DefaultRequest.prototype.getUsertype=function(){return i.Message.getFieldWithDefault(this,1,0)},proto.rpc.DefaultRequest.prototype.setUsertype=function(e){return i.Message.setProto3EnumField(this,1,e)},proto.rpc.DefaultRequest.prototype.getUpid=function(){return i.Message.getFieldWithDefault(this,2,0)},proto.rpc.DefaultRequest.prototype.setUpid=function(e){return i.Message.setProto3IntField(this,2,e)},i.Message.GENERATE_TO_OBJECT&&(proto.rpc.GenVerifyPicRequest.prototype.toObject=function(e){return proto.rpc.GenVerifyPicRequest.toObject(e,this)},proto.rpc.GenVerifyPicRequest.toObject=function(e,t){var r={height:i.Message.getFieldWithDefault(t,1,0),width:i.Message.getFieldWithDefault(t,2,0),noisecount:i.Message.getFieldWithDefault(t,3,0),length:i.Message.getFieldWithDefault(t,4,0),source:i.Message.getFieldWithDefault(t,5,"")};return e&&(r.$jspbMessageInstance=t),r}),proto.rpc.GenVerifyPicRequest.deserializeBinary=function(e){var t=new i.BinaryReader(e),r=new proto.rpc.GenVerifyPicRequest;return proto.rpc.GenVerifyPicRequest.deserializeBinaryFromReader(r,t)},proto.rpc.GenVerifyPicRequest.deserializeBinaryFromReader=function(e,t){while(t.nextField()){if(t.isEndGroup())break;var r=t.getFieldNumber();switch(r){case 1:var i=t.readInt32();e.setHeight(i);break;case 2:i=t.readInt32();e.setWidth(i);break;case 3:i=t.readInt32();e.setNoisecount(i);break;case 4:i=t.readInt32();e.setLength(i);break;case 5:i=t.readString();e.setSource(i);break;default:t.skipField();break}}return e},proto.rpc.GenVerifyPicRequest.prototype.serializeBinary=function(){var e=new i.BinaryWriter;return proto.rpc.GenVerifyPicRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.rpc.GenVerifyPicRequest.serializeBinaryToWriter=function(e,t){var r=void 0;r=e.getHeight(),0!==r&&t.writeInt32(1,r),r=e.getWidth(),0!==r&&t.writeInt32(2,r),r=e.getNoisecount(),0!==r&&t.writeInt32(3,r),r=e.getLength(),0!==r&&t.writeInt32(4,r),r=e.getSource(),r.length>0&&t.writeString(5,r)},proto.rpc.GenVerifyPicRequest.prototype.getHeight=function(){return i.Message.getFieldWithDefault(this,1,0)},proto.rpc.GenVerifyPicRequest.prototype.setHeight=function(e){return i.Message.setProto3IntField(this,1,e)},proto.rpc.GenVerifyPicRequest.prototype.getWidth=function(){return i.Message.getFieldWithDefault(this,2,0)},proto.rpc.GenVerifyPicRequest.prototype.setWidth=function(e){return i.Message.setProto3IntField(this,2,e)},proto.rpc.GenVerifyPicRequest.prototype.getNoisecount=function(){return i.Message.getFieldWithDefault(this,3,0)},proto.rpc.GenVerifyPicRequest.prototype.setNoisecount=function(e){return i.Message.setProto3IntField(this,3,e)},proto.rpc.GenVerifyPicRequest.prototype.getLength=function(){return i.Message.getFieldWithDefault(this,4,0)},proto.rpc.GenVerifyPicRequest.prototype.setLength=function(e){return i.Message.setProto3IntField(this,4,e)},proto.rpc.GenVerifyPicRequest.prototype.getSource=function(){return i.Message.getFieldWithDefault(this,5,"")},proto.rpc.GenVerifyPicRequest.prototype.setSource=function(e){return i.Message.setProto3StringField(this,5,e)},i.Message.GENERATE_TO_OBJECT&&(proto.rpc.GenVerifyPicReply.prototype.toObject=function(e){return proto.rpc.GenVerifyPicReply.toObject(e,this)},proto.rpc.GenVerifyPicReply.toObject=function(e,t){var r={id:i.Message.getFieldWithDefault(t,1,""),pic:i.Message.getFieldWithDefault(t,2,"")};return e&&(r.$jspbMessageInstance=t),r}),proto.rpc.GenVerifyPicReply.deserializeBinary=function(e){var t=new i.BinaryReader(e),r=new proto.rpc.GenVerifyPicReply;return proto.rpc.GenVerifyPicReply.deserializeBinaryFromReader(r,t)},proto.rpc.GenVerifyPicReply.deserializeBinaryFromReader=function(e,t){while(t.nextField()){if(t.isEndGroup())break;var r=t.getFieldNumber();switch(r){case 1:var i=t.readString();e.setId(i);break;case 2:i=t.readString();e.setPic(i);break;default:t.skipField();break}}return e},proto.rpc.GenVerifyPicReply.prototype.serializeBinary=function(){var e=new i.BinaryWriter;return proto.rpc.GenVerifyPicReply.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.rpc.GenVerifyPicReply.serializeBinaryToWriter=function(e,t){var r=void 0;r=e.getId(),r.length>0&&t.writeString(1,r),r=e.getPic(),r.length>0&&t.writeString(2,r)},proto.rpc.GenVerifyPicReply.prototype.getId=function(){return i.Message.getFieldWithDefault(this,1,"")},proto.rpc.GenVerifyPicReply.prototype.setId=function(e){return i.Message.setProto3StringField(this,1,e)},proto.rpc.GenVerifyPicReply.prototype.getPic=function(){return i.Message.getFieldWithDefault(this,2,"")},proto.rpc.GenVerifyPicReply.prototype.setPic=function(e){return i.Message.setProto3StringField(this,2,e)},i.Message.GENERATE_TO_OBJECT&&(proto.rpc.GetVoluntaryExerciseListRequest.prototype.toObject=function(e){return proto.rpc.GetVoluntaryExerciseListRequest.toObject(e,this)},proto.rpc.GetVoluntaryExerciseListRequest.toObject=function(e,t){var r={offset:i.Message.getFieldWithDefault(t,1,0),limit:i.Message.getFieldWithDefault(t,2,0)};return e&&(r.$jspbMessageInstance=t),r}),proto.rpc.GetVoluntaryExerciseListRequest.deserializeBinary=function(e){var t=new i.BinaryReader(e),r=new proto.rpc.GetVoluntaryExerciseListRequest;return proto.rpc.GetVoluntaryExerciseListRequest.deserializeBinaryFromReader(r,t)},proto.rpc.GetVoluntaryExerciseListRequest.deserializeBinaryFromReader=function(e,t){while(t.nextField()){if(t.isEndGroup())break;var r=t.getFieldNumber();switch(r){case 1:var i=t.readInt32();e.setOffset(i);break;case 2:i=t.readInt32();e.setLimit(i);break;default:t.skipField();break}}return e},proto.rpc.GetVoluntaryExerciseListRequest.prototype.serializeBinary=function(){var e=new i.BinaryWriter;return proto.rpc.GetVoluntaryExerciseListRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.rpc.GetVoluntaryExerciseListRequest.serializeBinaryToWriter=function(e,t){var r=void 0;r=e.getOffset(),0!==r&&t.writeInt32(1,r),r=e.getLimit(),0!==r&&t.writeInt32(2,r)},proto.rpc.GetVoluntaryExerciseListRequest.prototype.getOffset=function(){return i.Message.getFieldWithDefault(this,1,0)},proto.rpc.GetVoluntaryExerciseListRequest.prototype.setOffset=function(e){return i.Message.setProto3IntField(this,1,e)},proto.rpc.GetVoluntaryExerciseListRequest.prototype.getLimit=function(){return i.Message.getFieldWithDefault(this,2,0)},proto.rpc.GetVoluntaryExerciseListRequest.prototype.setLimit=function(e){return i.Message.setProto3IntField(this,2,e)},i.Message.GENERATE_TO_OBJECT&&(proto.rpc.UserProfileAddReply.prototype.toObject=function(e){return proto.rpc.UserProfileAddReply.toObject(e,this)},proto.rpc.UserProfileAddReply.toObject=function(e,t){var r={upid:i.Message.getFieldWithDefault(t,1,0)};return e&&(r.$jspbMessageInstance=t),r}),proto.rpc.UserProfileAddReply.deserializeBinary=function(e){var t=new i.BinaryReader(e),r=new proto.rpc.UserProfileAddReply;return proto.rpc.UserProfileAddReply.deserializeBinaryFromReader(r,t)},proto.rpc.UserProfileAddReply.deserializeBinaryFromReader=function(e,t){while(t.nextField()){if(t.isEndGroup())break;var r=t.getFieldNumber();switch(r){case 1:var i=t.readInt32();e.setUpid(i);break;default:t.skipField();break}}return e},proto.rpc.UserProfileAddReply.prototype.serializeBinary=function(){var e=new i.BinaryWriter;return proto.rpc.UserProfileAddReply.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.rpc.UserProfileAddReply.serializeBinaryToWriter=function(e,t){var r=void 0;r=e.getUpid(),0!==r&&t.writeInt32(1,r)},proto.rpc.UserProfileAddReply.prototype.getUpid=function(){return i.Message.getFieldWithDefault(this,1,0)},proto.rpc.UserProfileAddReply.prototype.setUpid=function(e){return i.Message.setProto3IntField(this,1,e)},proto.rpc.LoalloutThisWeekBasicMotionVideoListReply.repeatedFields_=[1],i.Message.GENERATE_TO_OBJECT&&(proto.rpc.LoalloutThisWeekBasicMotionVideoListReply.prototype.toObject=function(e){return proto.rpc.LoalloutThisWeekBasicMotionVideoListReply.toObject(e,this)},proto.rpc.LoalloutThisWeekBasicMotionVideoListReply.toObject=function(e,t){var r={rsList:i.Message.toObjectList(t.getRsList(),proto.rpc.LoalloutDailyTrainVideoList.toObject,e)};return e&&(r.$jspbMessageInstance=t),r}),proto.rpc.LoalloutThisWeekBasicMotionVideoListReply.deserializeBinary=function(e){var t=new i.BinaryReader(e),r=new proto.rpc.LoalloutThisWeekBasicMotionVideoListReply;return proto.rpc.LoalloutThisWeekBasicMotionVideoListReply.deserializeBinaryFromReader(r,t)},proto.rpc.LoalloutThisWeekBasicMotionVideoListReply.deserializeBinaryFromReader=function(e,t){while(t.nextField()){if(t.isEndGroup())break;var r=t.getFieldNumber();switch(r){case 1:var i=new proto.rpc.LoalloutDailyTrainVideoList;t.readMessage(i,proto.rpc.LoalloutDailyTrainVideoList.deserializeBinaryFromReader),e.addRs(i);break;default:t.skipField();break}}return e},proto.rpc.LoalloutThisWeekBasicMotionVideoListReply.prototype.serializeBinary=function(){var e=new i.BinaryWriter;return proto.rpc.LoalloutThisWeekBasicMotionVideoListReply.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.rpc.LoalloutThisWeekBasicMotionVideoListReply.serializeBinaryToWriter=function(e,t){var r=void 0;r=e.getRsList(),r.length>0&&t.writeRepeatedMessage(1,r,proto.rpc.LoalloutDailyTrainVideoList.serializeBinaryToWriter)},proto.rpc.LoalloutThisWeekBasicMotionVideoListReply.prototype.getRsList=function(){return i.Message.getRepeatedWrapperField(this,proto.rpc.LoalloutDailyTrainVideoList,1)},proto.rpc.LoalloutThisWeekBasicMotionVideoListReply.prototype.setRsList=function(e){return i.Message.setRepeatedWrapperField(this,1,e)},proto.rpc.LoalloutThisWeekBasicMotionVideoListReply.prototype.addRs=function(e,t){return i.Message.addToRepeatedWrapperField(this,1,e,proto.rpc.LoalloutDailyTrainVideoList,t)},proto.rpc.LoalloutThisWeekBasicMotionVideoListReply.prototype.clearRsList=function(){return this.setRsList([])},proto.rpc.LoalloutDailyTrainVideoList.repeatedFields_=[3],i.Message.GENERATE_TO_OBJECT&&(proto.rpc.LoalloutDailyTrainVideoList.prototype.toObject=function(e){return proto.rpc.LoalloutDailyTrainVideoList.toObject(e,this)},proto.rpc.LoalloutDailyTrainVideoList.toObject=function(e,t){var r={weekday:i.Message.getFieldWithDefault(t,1,""),currentdate:i.Message.getFieldWithDefault(t,2,""),videorsList:i.Message.toObjectList(t.getVideorsList(),proto.rpc.VideoInfo.toObject,e)};return e&&(r.$jspbMessageInstance=t),r}),proto.rpc.LoalloutDailyTrainVideoList.deserializeBinary=function(e){var t=new i.BinaryReader(e),r=new proto.rpc.LoalloutDailyTrainVideoList;return proto.rpc.LoalloutDailyTrainVideoList.deserializeBinaryFromReader(r,t)},proto.rpc.LoalloutDailyTrainVideoList.deserializeBinaryFromReader=function(e,t){while(t.nextField()){if(t.isEndGroup())break;var r=t.getFieldNumber();switch(r){case 1:var i=t.readString();e.setWeekday(i);break;case 2:i=t.readString();e.setCurrentdate(i);break;case 3:i=new proto.rpc.VideoInfo;t.readMessage(i,proto.rpc.VideoInfo.deserializeBinaryFromReader),e.addVideors(i);break;default:t.skipField();break}}return e},proto.rpc.LoalloutDailyTrainVideoList.prototype.serializeBinary=function(){var e=new i.BinaryWriter;return proto.rpc.LoalloutDailyTrainVideoList.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.rpc.LoalloutDailyTrainVideoList.serializeBinaryToWriter=function(e,t){var r=void 0;r=e.getWeekday(),r.length>0&&t.writeString(1,r),r=e.getCurrentdate(),r.length>0&&t.writeString(2,r),r=e.getVideorsList(),r.length>0&&t.writeRepeatedMessage(3,r,proto.rpc.VideoInfo.serializeBinaryToWriter)},proto.rpc.LoalloutDailyTrainVideoList.prototype.getWeekday=function(){return i.Message.getFieldWithDefault(this,1,"")},proto.rpc.LoalloutDailyTrainVideoList.prototype.setWeekday=function(e){return i.Message.setProto3StringField(this,1,e)},proto.rpc.LoalloutDailyTrainVideoList.prototype.getCurrentdate=function(){return i.Message.getFieldWithDefault(this,2,"")},proto.rpc.LoalloutDailyTrainVideoList.prototype.setCurrentdate=function(e){return i.Message.setProto3StringField(this,2,e)},proto.rpc.LoalloutDailyTrainVideoList.prototype.getVideorsList=function(){return i.Message.getRepeatedWrapperField(this,proto.rpc.VideoInfo,3)},proto.rpc.LoalloutDailyTrainVideoList.prototype.setVideorsList=function(e){return i.Message.setRepeatedWrapperField(this,3,e)},proto.rpc.LoalloutDailyTrainVideoList.prototype.addVideors=function(e,t){return i.Message.addToRepeatedWrapperField(this,3,e,proto.rpc.VideoInfo,t)},proto.rpc.LoalloutDailyTrainVideoList.prototype.clearVideorsList=function(){return this.setVideorsList([])},proto.rpc.GetVoluntaryExerciseListReply.repeatedFields_=[1],i.Message.GENERATE_TO_OBJECT&&(proto.rpc.GetVoluntaryExerciseListReply.prototype.toObject=function(e){return proto.rpc.GetVoluntaryExerciseListReply.toObject(e,this)},proto.rpc.GetVoluntaryExerciseListReply.toObject=function(e,t){var r={rsList:i.Message.toObjectList(t.getRsList(),proto.rpc.VoluntaryExerciseHistory.toObject,e)};return e&&(r.$jspbMessageInstance=t),r}),proto.rpc.GetVoluntaryExerciseListReply.deserializeBinary=function(e){var t=new i.BinaryReader(e),r=new proto.rpc.GetVoluntaryExerciseListReply;return proto.rpc.GetVoluntaryExerciseListReply.deserializeBinaryFromReader(r,t)},proto.rpc.GetVoluntaryExerciseListReply.deserializeBinaryFromReader=function(e,t){while(t.nextField()){if(t.isEndGroup())break;var r=t.getFieldNumber();switch(r){case 1:var i=new proto.rpc.VoluntaryExerciseHistory;t.readMessage(i,proto.rpc.VoluntaryExerciseHistory.deserializeBinaryFromReader),e.addRs(i);break;default:t.skipField();break}}return e},proto.rpc.GetVoluntaryExerciseListReply.prototype.serializeBinary=function(){var e=new i.BinaryWriter;return proto.rpc.GetVoluntaryExerciseListReply.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.rpc.GetVoluntaryExerciseListReply.serializeBinaryToWriter=function(e,t){var r=void 0;r=e.getRsList(),r.length>0&&t.writeRepeatedMessage(1,r,proto.rpc.VoluntaryExerciseHistory.serializeBinaryToWriter)},proto.rpc.GetVoluntaryExerciseListReply.prototype.getRsList=function(){return i.Message.getRepeatedWrapperField(this,proto.rpc.VoluntaryExerciseHistory,1)},proto.rpc.GetVoluntaryExerciseListReply.prototype.setRsList=function(e){return i.Message.setRepeatedWrapperField(this,1,e)},proto.rpc.GetVoluntaryExerciseListReply.prototype.addRs=function(e,t){return i.Message.addToRepeatedWrapperField(this,1,e,proto.rpc.VoluntaryExerciseHistory,t)},proto.rpc.GetVoluntaryExerciseListReply.prototype.clearRsList=function(){return this.setRsList([])},i.Message.GENERATE_TO_OBJECT&&(proto.rpc.VoluntaryExerciseHistory.prototype.toObject=function(e){return proto.rpc.VoluntaryExerciseHistory.toObject(e,this)},proto.rpc.VoluntaryExerciseHistory.toObject=function(e,t){var r={veid:i.Message.getFieldWithDefault(t,1,0),exname:i.Message.getFieldWithDefault(t,2,""),userid:i.Message.getFieldWithDefault(t,3,0),username:i.Message.getFieldWithDefault(t,4,""),userhead:i.Message.getFieldWithDefault(t,5,""),age:i.Message.getFieldWithDefault(t,6,0),sex:i.Message.getFieldWithDefault(t,7,0),begintime:i.Message.getFieldWithDefault(t,8,0),endtime:i.Message.getFieldWithDefault(t,9,0),sportduration:i.Message.getFieldWithDefault(t,10,0),cle:i.Message.getFloatingPointFieldWithDefault(t,11,0),ck:i.Message.getFloatingPointFieldWithDefault(t,12,0),ei:i.Message.getFloatingPointFieldWithDefault(t,13,0),height:i.Message.getFieldWithDefault(t,14,0),weight:i.Message.getFloatingPointFieldWithDefault(t,15,0),statichr:i.Message.getFieldWithDefault(t,16,0),avghr:i.Message.getFieldWithDefault(t,17,0),maxhr:i.Message.getFieldWithDefault(t,18,0),orderid:i.Message.getFieldWithDefault(t,19,0),upid:i.Message.getFieldWithDefault(t,20,0),acweight:i.Message.getFieldWithDefault(t,21,""),acpercent:i.Message.getFieldWithDefault(t,22,"")};return e&&(r.$jspbMessageInstance=t),r}),proto.rpc.VoluntaryExerciseHistory.deserializeBinary=function(e){var t=new i.BinaryReader(e),r=new proto.rpc.VoluntaryExerciseHistory;return proto.rpc.VoluntaryExerciseHistory.deserializeBinaryFromReader(r,t)},proto.rpc.VoluntaryExerciseHistory.deserializeBinaryFromReader=function(e,t){while(t.nextField()){if(t.isEndGroup())break;var r=t.getFieldNumber();switch(r){case 1:var i=t.readInt32();e.setVeid(i);break;case 2:i=t.readString();e.setExname(i);break;case 3:i=t.readInt32();e.setUserid(i);break;case 4:i=t.readString();e.setUsername(i);break;case 5:i=t.readString();e.setUserhead(i);break;case 6:i=t.readInt32();e.setAge(i);break;case 7:i=t.readInt32();e.setSex(i);break;case 8:i=t.readInt64();e.setBegintime(i);break;case 9:i=t.readInt64();e.setEndtime(i);break;case 10:i=t.readInt32();e.setSportduration(i);break;case 11:i=t.readFloat();e.setCle(i);break;case 12:i=t.readFloat();e.setCk(i);break;case 13:i=t.readFloat();e.setEi(i);break;case 14:i=t.readInt32();e.setHeight(i);break;case 15:i=t.readFloat();e.setWeight(i);break;case 16:i=t.readInt32();e.setStatichr(i);break;case 17:i=t.readInt32();e.setAvghr(i);break;case 18:i=t.readInt32();e.setMaxhr(i);break;case 19:i=t.readInt64();e.setOrderid(i);break;case 20:i=t.readInt32();e.setUpid(i);break;case 21:i=t.readString();e.setAcweight(i);break;case 22:i=t.readString();e.setAcpercent(i);break;default:t.skipField();break}}return e},proto.rpc.VoluntaryExerciseHistory.prototype.serializeBinary=function(){var e=new i.BinaryWriter;return proto.rpc.VoluntaryExerciseHistory.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.rpc.VoluntaryExerciseHistory.serializeBinaryToWriter=function(e,t){var r=void 0;r=e.getVeid(),0!==r&&t.writeInt32(1,r),r=e.getExname(),r.length>0&&t.writeString(2,r),r=e.getUserid(),0!==r&&t.writeInt32(3,r),r=e.getUsername(),r.length>0&&t.writeString(4,r),r=e.getUserhead(),r.length>0&&t.writeString(5,r),r=e.getAge(),0!==r&&t.writeInt32(6,r),r=e.getSex(),0!==r&&t.writeInt32(7,r),r=e.getBegintime(),0!==r&&t.writeInt64(8,r),r=e.getEndtime(),0!==r&&t.writeInt64(9,r),r=e.getSportduration(),0!==r&&t.writeInt32(10,r),r=e.getCle(),0!==r&&t.writeFloat(11,r),r=e.getCk(),0!==r&&t.writeFloat(12,r),r=e.getEi(),0!==r&&t.writeFloat(13,r),r=e.getHeight(),0!==r&&t.writeInt32(14,r),r=e.getWeight(),0!==r&&t.writeFloat(15,r),r=e.getStatichr(),0!==r&&t.writeInt32(16,r),r=e.getAvghr(),0!==r&&t.writeInt32(17,r),r=e.getMaxhr(),0!==r&&t.writeInt32(18,r),r=e.getOrderid(),0!==r&&t.writeInt64(19,r),r=e.getUpid(),0!==r&&t.writeInt32(20,r),r=e.getAcweight(),r.length>0&&t.writeString(21,r),r=e.getAcpercent(),r.length>0&&t.writeString(22,r)},proto.rpc.VoluntaryExerciseHistory.prototype.getVeid=function(){return i.Message.getFieldWithDefault(this,1,0)},proto.rpc.VoluntaryExerciseHistory.prototype.setVeid=function(e){return i.Message.setProto3IntField(this,1,e)},proto.rpc.VoluntaryExerciseHistory.prototype.getExname=function(){return i.Message.getFieldWithDefault(this,2,"")},proto.rpc.VoluntaryExerciseHistory.prototype.setExname=function(e){return i.Message.setProto3StringField(this,2,e)},proto.rpc.VoluntaryExerciseHistory.prototype.getUserid=function(){return i.Message.getFieldWithDefault(this,3,0)},proto.rpc.VoluntaryExerciseHistory.prototype.setUserid=function(e){return i.Message.setProto3IntField(this,3,e)},proto.rpc.VoluntaryExerciseHistory.prototype.getUsername=function(){return i.Message.getFieldWithDefault(this,4,"")},proto.rpc.VoluntaryExerciseHistory.prototype.setUsername=function(e){return i.Message.setProto3StringField(this,4,e)},proto.rpc.VoluntaryExerciseHistory.prototype.getUserhead=function(){return i.Message.getFieldWithDefault(this,5,"")},proto.rpc.VoluntaryExerciseHistory.prototype.setUserhead=function(e){return i.Message.setProto3StringField(this,5,e)},proto.rpc.VoluntaryExerciseHistory.prototype.getAge=function(){return i.Message.getFieldWithDefault(this,6,0)},proto.rpc.VoluntaryExerciseHistory.prototype.setAge=function(e){return i.Message.setProto3IntField(this,6,e)},proto.rpc.VoluntaryExerciseHistory.prototype.getSex=function(){return i.Message.getFieldWithDefault(this,7,0)},proto.rpc.VoluntaryExerciseHistory.prototype.setSex=function(e){return i.Message.setProto3IntField(this,7,e)},proto.rpc.VoluntaryExerciseHistory.prototype.getBegintime=function(){return i.Message.getFieldWithDefault(this,8,0)},proto.rpc.VoluntaryExerciseHistory.prototype.setBegintime=function(e){return i.Message.setProto3IntField(this,8,e)},proto.rpc.VoluntaryExerciseHistory.prototype.getEndtime=function(){return i.Message.getFieldWithDefault(this,9,0)},proto.rpc.VoluntaryExerciseHistory.prototype.setEndtime=function(e){return i.Message.setProto3IntField(this,9,e)},proto.rpc.VoluntaryExerciseHistory.prototype.getSportduration=function(){return i.Message.getFieldWithDefault(this,10,0)},proto.rpc.VoluntaryExerciseHistory.prototype.setSportduration=function(e){return i.Message.setProto3IntField(this,10,e)},proto.rpc.VoluntaryExerciseHistory.prototype.getCle=function(){return i.Message.getFloatingPointFieldWithDefault(this,11,0)},proto.rpc.VoluntaryExerciseHistory.prototype.setCle=function(e){return i.Message.setProto3FloatField(this,11,e)},proto.rpc.VoluntaryExerciseHistory.prototype.getCk=function(){return i.Message.getFloatingPointFieldWithDefault(this,12,0)},proto.rpc.VoluntaryExerciseHistory.prototype.setCk=function(e){return i.Message.setProto3FloatField(this,12,e)},proto.rpc.VoluntaryExerciseHistory.prototype.getEi=function(){return i.Message.getFloatingPointFieldWithDefault(this,13,0)},proto.rpc.VoluntaryExerciseHistory.prototype.setEi=function(e){return i.Message.setProto3FloatField(this,13,e)},proto.rpc.VoluntaryExerciseHistory.prototype.getHeight=function(){return i.Message.getFieldWithDefault(this,14,0)},proto.rpc.VoluntaryExerciseHistory.prototype.setHeight=function(e){return i.Message.setProto3IntField(this,14,e)},proto.rpc.VoluntaryExerciseHistory.prototype.getWeight=function(){return i.Message.getFloatingPointFieldWithDefault(this,15,0)},proto.rpc.VoluntaryExerciseHistory.prototype.setWeight=function(e){return i.Message.setProto3FloatField(this,15,e)},proto.rpc.VoluntaryExerciseHistory.prototype.getStatichr=function(){return i.Message.getFieldWithDefault(this,16,0)},proto.rpc.VoluntaryExerciseHistory.prototype.setStatichr=function(e){return i.Message.setProto3IntField(this,16,e)},proto.rpc.VoluntaryExerciseHistory.prototype.getAvghr=function(){return i.Message.getFieldWithDefault(this,17,0)},proto.rpc.VoluntaryExerciseHistory.prototype.setAvghr=function(e){return i.Message.setProto3IntField(this,17,e)},proto.rpc.VoluntaryExerciseHistory.prototype.getMaxhr=function(){return i.Message.getFieldWithDefault(this,18,0)},proto.rpc.VoluntaryExerciseHistory.prototype.setMaxhr=function(e){return i.Message.setProto3IntField(this,18,e)},proto.rpc.VoluntaryExerciseHistory.prototype.getOrderid=function(){return i.Message.getFieldWithDefault(this,19,0)},proto.rpc.VoluntaryExerciseHistory.prototype.setOrderid=function(e){return i.Message.setProto3IntField(this,19,e)},proto.rpc.VoluntaryExerciseHistory.prototype.getUpid=function(){return i.Message.getFieldWithDefault(this,20,0)},proto.rpc.VoluntaryExerciseHistory.prototype.setUpid=function(e){return i.Message.setProto3IntField(this,20,e)},proto.rpc.VoluntaryExerciseHistory.prototype.getAcweight=function(){return i.Message.getFieldWithDefault(this,21,"")},proto.rpc.VoluntaryExerciseHistory.prototype.setAcweight=function(e){return i.Message.setProto3StringField(this,21,e)},proto.rpc.VoluntaryExerciseHistory.prototype.getAcpercent=function(){return i.Message.getFieldWithDefault(this,22,"")},proto.rpc.VoluntaryExerciseHistory.prototype.setAcpercent=function(e){return i.Message.setProto3StringField(this,22,e)},i.Message.GENERATE_TO_OBJECT&&(proto.rpc.GetVoluntaryExerciseDetailRequest.prototype.toObject=function(e){return proto.rpc.GetVoluntaryExerciseDetailRequest.toObject(e,this)},proto.rpc.GetVoluntaryExerciseDetailRequest.toObject=function(e,t){var r={veid:i.Message.getFieldWithDefault(t,1,0)};return e&&(r.$jspbMessageInstance=t),r}),proto.rpc.GetVoluntaryExerciseDetailRequest.deserializeBinary=function(e){var t=new i.BinaryReader(e),r=new proto.rpc.GetVoluntaryExerciseDetailRequest;return proto.rpc.GetVoluntaryExerciseDetailRequest.deserializeBinaryFromReader(r,t)},proto.rpc.GetVoluntaryExerciseDetailRequest.deserializeBinaryFromReader=function(e,t){while(t.nextField()){if(t.isEndGroup())break;var r=t.getFieldNumber();switch(r){case 1:var i=t.readInt32();e.setVeid(i);break;default:t.skipField();break}}return e},proto.rpc.GetVoluntaryExerciseDetailRequest.prototype.serializeBinary=function(){var e=new i.BinaryWriter;return proto.rpc.GetVoluntaryExerciseDetailRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.rpc.GetVoluntaryExerciseDetailRequest.serializeBinaryToWriter=function(e,t){var r=void 0;r=e.getVeid(),0!==r&&t.writeInt32(1,r)},proto.rpc.GetVoluntaryExerciseDetailRequest.prototype.getVeid=function(){return i.Message.getFieldWithDefault(this,1,0)},proto.rpc.GetVoluntaryExerciseDetailRequest.prototype.setVeid=function(e){return i.Message.setProto3IntField(this,1,e)},i.Message.GENERATE_TO_OBJECT&&(proto.rpc.GetVoluntaryExerciseHeartRateRequest.prototype.toObject=function(e){return proto.rpc.GetVoluntaryExerciseHeartRateRequest.toObject(e,this)},proto.rpc.GetVoluntaryExerciseHeartRateRequest.toObject=function(e,t){var r={veid:i.Message.getFieldWithDefault(t,1,0),begintimestamp:i.Message.getFieldWithDefault(t,2,0),endtimestamp:i.Message.getFieldWithDefault(t,3,0)};return e&&(r.$jspbMessageInstance=t),r}),proto.rpc.GetVoluntaryExerciseHeartRateRequest.deserializeBinary=function(e){var t=new i.BinaryReader(e),r=new proto.rpc.GetVoluntaryExerciseHeartRateRequest;return proto.rpc.GetVoluntaryExerciseHeartRateRequest.deserializeBinaryFromReader(r,t)},proto.rpc.GetVoluntaryExerciseHeartRateRequest.deserializeBinaryFromReader=function(e,t){while(t.nextField()){if(t.isEndGroup())break;var r=t.getFieldNumber();switch(r){case 1:var i=t.readInt32();e.setVeid(i);break;case 2:i=t.readInt64();e.setBegintimestamp(i);break;case 3:i=t.readInt64();e.setEndtimestamp(i);break;default:t.skipField();break}}return e},proto.rpc.GetVoluntaryExerciseHeartRateRequest.prototype.serializeBinary=function(){var e=new i.BinaryWriter;return proto.rpc.GetVoluntaryExerciseHeartRateRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.rpc.GetVoluntaryExerciseHeartRateRequest.serializeBinaryToWriter=function(e,t){var r=void 0;r=e.getVeid(),0!==r&&t.writeInt32(1,r),r=e.getBegintimestamp(),0!==r&&t.writeInt64(2,r),r=e.getEndtimestamp(),0!==r&&t.writeInt64(3,r)},proto.rpc.GetVoluntaryExerciseHeartRateRequest.prototype.getVeid=function(){return i.Message.getFieldWithDefault(this,1,0)},proto.rpc.GetVoluntaryExerciseHeartRateRequest.prototype.setVeid=function(e){return i.Message.setProto3IntField(this,1,e)},proto.rpc.GetVoluntaryExerciseHeartRateRequest.prototype.getBegintimestamp=function(){return i.Message.getFieldWithDefault(this,2,0)},proto.rpc.GetVoluntaryExerciseHeartRateRequest.prototype.setBegintimestamp=function(e){return i.Message.setProto3IntField(this,2,e)},proto.rpc.GetVoluntaryExerciseHeartRateRequest.prototype.getEndtimestamp=function(){return i.Message.getFieldWithDefault(this,3,0)},proto.rpc.GetVoluntaryExerciseHeartRateRequest.prototype.setEndtimestamp=function(e){return i.Message.setProto3IntField(this,3,e)},proto.rpc.VoluntaryExerciseHeartRateSaveRequest.repeatedFields_=[2],i.Message.GENERATE_TO_OBJECT&&(proto.rpc.VoluntaryExerciseHeartRateSaveRequest.prototype.toObject=function(e){return proto.rpc.VoluntaryExerciseHeartRateSaveRequest.toObject(e,this)},proto.rpc.VoluntaryExerciseHeartRateSaveRequest.toObject=function(e,t){var r={veid:i.Message.getFieldWithDefault(t,1,0),hrsList:i.Message.toObjectList(t.getHrsList(),proto.rpc.HeartRate.toObject,e),isfinish:i.Message.getFieldWithDefault(t,3,0)};return e&&(r.$jspbMessageInstance=t),r}),proto.rpc.VoluntaryExerciseHeartRateSaveRequest.deserializeBinary=function(e){var t=new i.BinaryReader(e),r=new proto.rpc.VoluntaryExerciseHeartRateSaveRequest;return proto.rpc.VoluntaryExerciseHeartRateSaveRequest.deserializeBinaryFromReader(r,t)},proto.rpc.VoluntaryExerciseHeartRateSaveRequest.deserializeBinaryFromReader=function(e,t){while(t.nextField()){if(t.isEndGroup())break;var r=t.getFieldNumber();switch(r){case 1:var i=t.readInt32();e.setVeid(i);break;case 2:i=new proto.rpc.HeartRate;t.readMessage(i,proto.rpc.HeartRate.deserializeBinaryFromReader),e.addHrs(i);break;case 3:i=t.readInt32();e.setIsfinish(i);break;default:t.skipField();break}}return e},proto.rpc.VoluntaryExerciseHeartRateSaveRequest.prototype.serializeBinary=function(){var e=new i.BinaryWriter;return proto.rpc.VoluntaryExerciseHeartRateSaveRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.rpc.VoluntaryExerciseHeartRateSaveRequest.serializeBinaryToWriter=function(e,t){var r=void 0;r=e.getVeid(),0!==r&&t.writeInt32(1,r),r=e.getHrsList(),r.length>0&&t.writeRepeatedMessage(2,r,proto.rpc.HeartRate.serializeBinaryToWriter),r=e.getIsfinish(),0!==r&&t.writeInt32(3,r)},proto.rpc.VoluntaryExerciseHeartRateSaveRequest.prototype.getVeid=function(){return i.Message.getFieldWithDefault(this,1,0)},proto.rpc.VoluntaryExerciseHeartRateSaveRequest.prototype.setVeid=function(e){return i.Message.setProto3IntField(this,1,e)},proto.rpc.VoluntaryExerciseHeartRateSaveRequest.prototype.getHrsList=function(){return i.Message.getRepeatedWrapperField(this,proto.rpc.HeartRate,2)},proto.rpc.VoluntaryExerciseHeartRateSaveRequest.prototype.setHrsList=function(e){return i.Message.setRepeatedWrapperField(this,2,e)},proto.rpc.VoluntaryExerciseHeartRateSaveRequest.prototype.addHrs=function(e,t){return i.Message.addToRepeatedWrapperField(this,2,e,proto.rpc.HeartRate,t)},proto.rpc.VoluntaryExerciseHeartRateSaveRequest.prototype.clearHrsList=function(){return this.setHrsList([])},proto.rpc.VoluntaryExerciseHeartRateSaveRequest.prototype.getIsfinish=function(){return i.Message.getFieldWithDefault(this,3,0)},proto.rpc.VoluntaryExerciseHeartRateSaveRequest.prototype.setIsfinish=function(e){return i.Message.setProto3IntField(this,3,e)},i.Message.GENERATE_TO_OBJECT&&(proto.rpc.VoluntaryExerciseAddRequest.prototype.toObject=function(e){return proto.rpc.VoluntaryExerciseAddRequest.toObject(e,this)},proto.rpc.VoluntaryExerciseAddRequest.toObject=function(e,t){var r={usertype:i.Message.getFieldWithDefault(t,1,0),upid:i.Message.getFieldWithDefault(t,2,0),vename:i.Message.getFieldWithDefault(t,3,""),begintime:i.Message.getFieldWithDefault(t,4,0)};return e&&(r.$jspbMessageInstance=t),r}),proto.rpc.VoluntaryExerciseAddRequest.deserializeBinary=function(e){var t=new i.BinaryReader(e),r=new proto.rpc.VoluntaryExerciseAddRequest;return proto.rpc.VoluntaryExerciseAddRequest.deserializeBinaryFromReader(r,t)},proto.rpc.VoluntaryExerciseAddRequest.deserializeBinaryFromReader=function(e,t){while(t.nextField()){if(t.isEndGroup())break;var r=t.getFieldNumber();switch(r){case 1:var i=t.readEnum();e.setUsertype(i);break;case 2:i=t.readInt32();e.setUpid(i);break;case 3:i=t.readString();e.setVename(i);break;case 4:i=t.readInt64();e.setBegintime(i);break;default:t.skipField();break}}return e},proto.rpc.VoluntaryExerciseAddRequest.prototype.serializeBinary=function(){var e=new i.BinaryWriter;return proto.rpc.VoluntaryExerciseAddRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.rpc.VoluntaryExerciseAddRequest.serializeBinaryToWriter=function(e,t){var r=void 0;r=e.getUsertype(),0!==r&&t.writeEnum(1,r),r=e.getUpid(),0!==r&&t.writeInt32(2,r),r=e.getVename(),r.length>0&&t.writeString(3,r),r=e.getBegintime(),0!==r&&t.writeInt64(4,r)},proto.rpc.VoluntaryExerciseAddRequest.prototype.getUsertype=function(){return i.Message.getFieldWithDefault(this,1,0)},proto.rpc.VoluntaryExerciseAddRequest.prototype.setUsertype=function(e){return i.Message.setProto3EnumField(this,1,e)},proto.rpc.VoluntaryExerciseAddRequest.prototype.getUpid=function(){return i.Message.getFieldWithDefault(this,2,0)},proto.rpc.VoluntaryExerciseAddRequest.prototype.setUpid=function(e){return i.Message.setProto3IntField(this,2,e)},proto.rpc.VoluntaryExerciseAddRequest.prototype.getVename=function(){return i.Message.getFieldWithDefault(this,3,"")},proto.rpc.VoluntaryExerciseAddRequest.prototype.setVename=function(e){return i.Message.setProto3StringField(this,3,e)},proto.rpc.VoluntaryExerciseAddRequest.prototype.getBegintime=function(){return i.Message.getFieldWithDefault(this,4,0)},proto.rpc.VoluntaryExerciseAddRequest.prototype.setBegintime=function(e){return i.Message.setProto3IntField(this,4,e)},i.Message.GENERATE_TO_OBJECT&&(proto.rpc.VoluntaryExerciseAddReply.prototype.toObject=function(e){return proto.rpc.VoluntaryExerciseAddReply.toObject(e,this)},proto.rpc.VoluntaryExerciseAddReply.toObject=function(e,t){var r={veid:i.Message.getFieldWithDefault(t,1,0)};return e&&(r.$jspbMessageInstance=t),r}),proto.rpc.VoluntaryExerciseAddReply.deserializeBinary=function(e){var t=new i.BinaryReader(e),r=new proto.rpc.VoluntaryExerciseAddReply;return proto.rpc.VoluntaryExerciseAddReply.deserializeBinaryFromReader(r,t)},proto.rpc.VoluntaryExerciseAddReply.deserializeBinaryFromReader=function(e,t){while(t.nextField()){if(t.isEndGroup())break;var r=t.getFieldNumber();switch(r){case 1:var i=t.readInt32();e.setVeid(i);break;default:t.skipField();break}}return e},proto.rpc.VoluntaryExerciseAddReply.prototype.serializeBinary=function(){var e=new i.BinaryWriter;return proto.rpc.VoluntaryExerciseAddReply.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.rpc.VoluntaryExerciseAddReply.serializeBinaryToWriter=function(e,t){var r=void 0;r=e.getVeid(),0!==r&&t.writeInt32(1,r)},proto.rpc.VoluntaryExerciseAddReply.prototype.getVeid=function(){return i.Message.getFieldWithDefault(this,1,0)},proto.rpc.VoluntaryExerciseAddReply.prototype.setVeid=function(e){return i.Message.setProto3IntField(this,1,e)},i.Message.GENERATE_TO_OBJECT&&(proto.rpc.VoluntaryExerciseSaveRequest.prototype.toObject=function(e){return proto.rpc.VoluntaryExerciseSaveRequest.toObject(e,this)},proto.rpc.VoluntaryExerciseSaveRequest.toObject=function(e,t){var r={usertype:i.Message.getFieldWithDefault(t,1,0),veid:i.Message.getFieldWithDefault(t,2,0),vename:i.Message.getFieldWithDefault(t,3,""),avghr:i.Message.getFieldWithDefault(t,4,0),maxhr:i.Message.getFieldWithDefault(t,5,0),cle:i.Message.getFieldWithDefault(t,6,0),ck:i.Message.getFieldWithDefault(t,7,0),ei:i.Message.getFloatingPointFieldWithDefault(t,8,0),acpercent:i.Message.getFieldWithDefault(t,9,""),acweight:i.Message.getFieldWithDefault(t,10,""),endtime:i.Message.getFieldWithDefault(t,11,0)};return e&&(r.$jspbMessageInstance=t),r}),proto.rpc.VoluntaryExerciseSaveRequest.deserializeBinary=function(e){var t=new i.BinaryReader(e),r=new proto.rpc.VoluntaryExerciseSaveRequest;return proto.rpc.VoluntaryExerciseSaveRequest.deserializeBinaryFromReader(r,t)},proto.rpc.VoluntaryExerciseSaveRequest.deserializeBinaryFromReader=function(e,t){while(t.nextField()){if(t.isEndGroup())break;var r=t.getFieldNumber();switch(r){case 1:var i=t.readEnum();e.setUsertype(i);break;case 2:i=t.readInt32();e.setVeid(i);break;case 3:i=t.readString();e.setVename(i);break;case 4:i=t.readInt32();e.setAvghr(i);break;case 5:i=t.readInt32();e.setMaxhr(i);break;case 6:i=t.readInt32();e.setCle(i);break;case 7:i=t.readInt32();e.setCk(i);break;case 8:i=t.readFloat();e.setEi(i);break;case 9:i=t.readString();e.setAcpercent(i);break;case 10:i=t.readString();e.setAcweight(i);break;case 11:i=t.readInt64();e.setEndtime(i);break;default:t.skipField();break}}return e},proto.rpc.VoluntaryExerciseSaveRequest.prototype.serializeBinary=function(){var e=new i.BinaryWriter;return proto.rpc.VoluntaryExerciseSaveRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.rpc.VoluntaryExerciseSaveRequest.serializeBinaryToWriter=function(e,t){var r=void 0;r=e.getUsertype(),0!==r&&t.writeEnum(1,r),r=e.getVeid(),0!==r&&t.writeInt32(2,r),r=e.getVename(),r.length>0&&t.writeString(3,r),r=e.getAvghr(),0!==r&&t.writeInt32(4,r),r=e.getMaxhr(),0!==r&&t.writeInt32(5,r),r=e.getCle(),0!==r&&t.writeInt32(6,r),r=e.getCk(),0!==r&&t.writeInt32(7,r),r=e.getEi(),0!==r&&t.writeFloat(8,r),r=e.getAcpercent(),r.length>0&&t.writeString(9,r),r=e.getAcweight(),r.length>0&&t.writeString(10,r),r=e.getEndtime(),0!==r&&t.writeInt64(11,r)},proto.rpc.VoluntaryExerciseSaveRequest.prototype.getUsertype=function(){return i.Message.getFieldWithDefault(this,1,0)},proto.rpc.VoluntaryExerciseSaveRequest.prototype.setUsertype=function(e){return i.Message.setProto3EnumField(this,1,e)},proto.rpc.VoluntaryExerciseSaveRequest.prototype.getVeid=function(){return i.Message.getFieldWithDefault(this,2,0)},proto.rpc.VoluntaryExerciseSaveRequest.prototype.setVeid=function(e){return i.Message.setProto3IntField(this,2,e)},proto.rpc.VoluntaryExerciseSaveRequest.prototype.getVename=function(){return i.Message.getFieldWithDefault(this,3,"")},proto.rpc.VoluntaryExerciseSaveRequest.prototype.setVename=function(e){return i.Message.setProto3StringField(this,3,e)},proto.rpc.VoluntaryExerciseSaveRequest.prototype.getAvghr=function(){return i.Message.getFieldWithDefault(this,4,0)},proto.rpc.VoluntaryExerciseSaveRequest.prototype.setAvghr=function(e){return i.Message.setProto3IntField(this,4,e)},proto.rpc.VoluntaryExerciseSaveRequest.prototype.getMaxhr=function(){return i.Message.getFieldWithDefault(this,5,0)},proto.rpc.VoluntaryExerciseSaveRequest.prototype.setMaxhr=function(e){return i.Message.setProto3IntField(this,5,e)},proto.rpc.VoluntaryExerciseSaveRequest.prototype.getCle=function(){return i.Message.getFieldWithDefault(this,6,0)},proto.rpc.VoluntaryExerciseSaveRequest.prototype.setCle=function(e){return i.Message.setProto3IntField(this,6,e)},proto.rpc.VoluntaryExerciseSaveRequest.prototype.getCk=function(){return i.Message.getFieldWithDefault(this,7,0)},proto.rpc.VoluntaryExerciseSaveRequest.prototype.setCk=function(e){return i.Message.setProto3IntField(this,7,e)},proto.rpc.VoluntaryExerciseSaveRequest.prototype.getEi=function(){return i.Message.getFloatingPointFieldWithDefault(this,8,0)},proto.rpc.VoluntaryExerciseSaveRequest.prototype.setEi=function(e){return i.Message.setProto3FloatField(this,8,e)},proto.rpc.VoluntaryExerciseSaveRequest.prototype.getAcpercent=function(){return i.Message.getFieldWithDefault(this,9,"")},proto.rpc.VoluntaryExerciseSaveRequest.prototype.setAcpercent=function(e){return i.Message.setProto3StringField(this,9,e)},proto.rpc.VoluntaryExerciseSaveRequest.prototype.getAcweight=function(){return i.Message.getFieldWithDefault(this,10,"")},proto.rpc.VoluntaryExerciseSaveRequest.prototype.setAcweight=function(e){return i.Message.setProto3StringField(this,10,e)},proto.rpc.VoluntaryExerciseSaveRequest.prototype.getEndtime=function(){return i.Message.getFieldWithDefault(this,11,0)},proto.rpc.VoluntaryExerciseSaveRequest.prototype.setEndtime=function(e){return i.Message.setProto3IntField(this,11,e)},proto.rpc.GetAllProfileByUserReply.repeatedFields_=[1],i.Message.GENERATE_TO_OBJECT&&(proto.rpc.GetAllProfileByUserReply.prototype.toObject=function(e){return proto.rpc.GetAllProfileByUserReply.toObject(e,this)},proto.rpc.GetAllProfileByUserReply.toObject=function(e,t){var r={rsList:i.Message.toObjectList(t.getRsList(),proto.rpc.UserInfoMainReply.toObject,e)};return e&&(r.$jspbMessageInstance=t),r}),proto.rpc.GetAllProfileByUserReply.deserializeBinary=function(e){var t=new i.BinaryReader(e),r=new proto.rpc.GetAllProfileByUserReply;return proto.rpc.GetAllProfileByUserReply.deserializeBinaryFromReader(r,t)},proto.rpc.GetAllProfileByUserReply.deserializeBinaryFromReader=function(e,t){while(t.nextField()){if(t.isEndGroup())break;var r=t.getFieldNumber();switch(r){case 1:var i=new proto.rpc.UserInfoMainReply;t.readMessage(i,proto.rpc.UserInfoMainReply.deserializeBinaryFromReader),e.addRs(i);break;default:t.skipField();break}}return e},proto.rpc.GetAllProfileByUserReply.prototype.serializeBinary=function(){var e=new i.BinaryWriter;return proto.rpc.GetAllProfileByUserReply.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.rpc.GetAllProfileByUserReply.serializeBinaryToWriter=function(e,t){var r=void 0;r=e.getRsList(),r.length>0&&t.writeRepeatedMessage(1,r,proto.rpc.UserInfoMainReply.serializeBinaryToWriter)},proto.rpc.GetAllProfileByUserReply.prototype.getRsList=function(){return i.Message.getRepeatedWrapperField(this,proto.rpc.UserInfoMainReply,1)},proto.rpc.GetAllProfileByUserReply.prototype.setRsList=function(e){return i.Message.setRepeatedWrapperField(this,1,e)},proto.rpc.GetAllProfileByUserReply.prototype.addRs=function(e,t){return i.Message.addToRepeatedWrapperField(this,1,e,proto.rpc.UserInfoMainReply,t)},proto.rpc.GetAllProfileByUserReply.prototype.clearRsList=function(){return this.setRsList([])},i.Message.GENERATE_TO_OBJECT&&(proto.rpc.UserProfileDelRequest.prototype.toObject=function(e){return proto.rpc.UserProfileDelRequest.toObject(e,this)},proto.rpc.UserProfileDelRequest.toObject=function(e,t){var r={upid:i.Message.getFieldWithDefault(t,1,0)};return e&&(r.$jspbMessageInstance=t),r}),proto.rpc.UserProfileDelRequest.deserializeBinary=function(e){var t=new i.BinaryReader(e),r=new proto.rpc.UserProfileDelRequest;return proto.rpc.UserProfileDelRequest.deserializeBinaryFromReader(r,t)},proto.rpc.UserProfileDelRequest.deserializeBinaryFromReader=function(e,t){while(t.nextField()){if(t.isEndGroup())break;var r=t.getFieldNumber();switch(r){case 1:var i=t.readInt32();e.setUpid(i);break;default:t.skipField();break}}return e},proto.rpc.UserProfileDelRequest.prototype.serializeBinary=function(){var e=new i.BinaryWriter;return proto.rpc.UserProfileDelRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.rpc.UserProfileDelRequest.serializeBinaryToWriter=function(e,t){var r=void 0;r=e.getUpid(),0!==r&&t.writeInt32(1,r)},proto.rpc.UserProfileDelRequest.prototype.getUpid=function(){return i.Message.getFieldWithDefault(this,1,0)},proto.rpc.UserProfileDelRequest.prototype.setUpid=function(e){return i.Message.setProto3IntField(this,1,e)},i.Message.GENERATE_TO_OBJECT&&(proto.rpc.UserProfileAddRequest.prototype.toObject=function(e){return proto.rpc.UserProfileAddRequest.toObject(e,this)},proto.rpc.UserProfileAddRequest.toObject=function(e,t){var r={name:i.Message.getFieldWithDefault(t,1,""),weightgram:i.Message.getFieldWithDefault(t,2,0),sex:i.Message.getFieldWithDefault(t,3,0),rhr:i.Message.getFieldWithDefault(t,4,0),head:t.getHead_asB64(),age:i.Message.getFieldWithDefault(t,6,0),heightmillimeter:i.Message.getFieldWithDefault(t,7,0),birthday:i.Message.getFieldWithDefault(t,8,0),usertype:i.Message.getFieldWithDefault(t,9,0)};return e&&(r.$jspbMessageInstance=t),r}),proto.rpc.UserProfileAddRequest.deserializeBinary=function(e){var t=new i.BinaryReader(e),r=new proto.rpc.UserProfileAddRequest;return proto.rpc.UserProfileAddRequest.deserializeBinaryFromReader(r,t)},proto.rpc.UserProfileAddRequest.deserializeBinaryFromReader=function(e,t){while(t.nextField()){if(t.isEndGroup())break;var r=t.getFieldNumber();switch(r){case 1:var i=t.readString();e.setName(i);break;case 2:i=t.readInt32();e.setWeightgram(i);break;case 3:i=t.readEnum();e.setSex(i);break;case 4:i=t.readInt32();e.setRhr(i);break;case 5:i=t.readBytes();e.setHead(i);break;case 6:i=t.readInt32();e.setAge(i);break;case 7:i=t.readInt32();e.setHeightmillimeter(i);break;case 8:i=t.readInt32();e.setBirthday(i);break;case 9:i=t.readEnum();e.setUsertype(i);break;default:t.skipField();break}}return e},proto.rpc.UserProfileAddRequest.prototype.serializeBinary=function(){var e=new i.BinaryWriter;return proto.rpc.UserProfileAddRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.rpc.UserProfileAddRequest.serializeBinaryToWriter=function(e,t){var r=void 0;r=e.getName(),r.length>0&&t.writeString(1,r),r=e.getWeightgram(),0!==r&&t.writeInt32(2,r),r=e.getSex(),0!==r&&t.writeEnum(3,r),r=e.getRhr(),0!==r&&t.writeInt32(4,r),r=e.getHead_asU8(),r.length>0&&t.writeBytes(5,r),r=e.getAge(),0!==r&&t.writeInt32(6,r),r=e.getHeightmillimeter(),0!==r&&t.writeInt32(7,r),r=e.getBirthday(),0!==r&&t.writeInt32(8,r),r=e.getUsertype(),0!==r&&t.writeEnum(9,r)},proto.rpc.UserProfileAddRequest.prototype.getName=function(){return i.Message.getFieldWithDefault(this,1,"")},proto.rpc.UserProfileAddRequest.prototype.setName=function(e){return i.Message.setProto3StringField(this,1,e)},proto.rpc.UserProfileAddRequest.prototype.getWeightgram=function(){return i.Message.getFieldWithDefault(this,2,0)},proto.rpc.UserProfileAddRequest.prototype.setWeightgram=function(e){return i.Message.setProto3IntField(this,2,e)},proto.rpc.UserProfileAddRequest.prototype.getSex=function(){return i.Message.getFieldWithDefault(this,3,0)},proto.rpc.UserProfileAddRequest.prototype.setSex=function(e){return i.Message.setProto3EnumField(this,3,e)},proto.rpc.UserProfileAddRequest.prototype.getRhr=function(){return i.Message.getFieldWithDefault(this,4,0)},proto.rpc.UserProfileAddRequest.prototype.setRhr=function(e){return i.Message.setProto3IntField(this,4,e)},proto.rpc.UserProfileAddRequest.prototype.getHead=function(){return i.Message.getFieldWithDefault(this,5,"")},proto.rpc.UserProfileAddRequest.prototype.getHead_asB64=function(){return i.Message.bytesAsB64(this.getHead())},proto.rpc.UserProfileAddRequest.prototype.getHead_asU8=function(){return i.Message.bytesAsU8(this.getHead())},proto.rpc.UserProfileAddRequest.prototype.setHead=function(e){return i.Message.setProto3BytesField(this,5,e)},proto.rpc.UserProfileAddRequest.prototype.getAge=function(){return i.Message.getFieldWithDefault(this,6,0)},proto.rpc.UserProfileAddRequest.prototype.setAge=function(e){return i.Message.setProto3IntField(this,6,e)},proto.rpc.UserProfileAddRequest.prototype.getHeightmillimeter=function(){return i.Message.getFieldWithDefault(this,7,0)},proto.rpc.UserProfileAddRequest.prototype.setHeightmillimeter=function(e){return i.Message.setProto3IntField(this,7,e)},proto.rpc.UserProfileAddRequest.prototype.getBirthday=function(){return i.Message.getFieldWithDefault(this,8,0)},proto.rpc.UserProfileAddRequest.prototype.setBirthday=function(e){return i.Message.setProto3IntField(this,8,e)},proto.rpc.UserProfileAddRequest.prototype.getUsertype=function(){return i.Message.getFieldWithDefault(this,9,0)},proto.rpc.UserProfileAddRequest.prototype.setUsertype=function(e){return i.Message.setProto3EnumField(this,9,e)},proto.rpc.GetVideoHistoryListReply.repeatedFields_=[1],i.Message.GENERATE_TO_OBJECT&&(proto.rpc.GetVideoHistoryListReply.prototype.toObject=function(e){return proto.rpc.GetVideoHistoryListReply.toObject(e,this)},proto.rpc.GetVideoHistoryListReply.toObject=function(e,t){var r={rsList:i.Message.toObjectList(t.getRsList(),proto.rpc.VideoHistory.toObject,e)};return e&&(r.$jspbMessageInstance=t),r}),proto.rpc.GetVideoHistoryListReply.deserializeBinary=function(e){var t=new i.BinaryReader(e),r=new proto.rpc.GetVideoHistoryListReply;return proto.rpc.GetVideoHistoryListReply.deserializeBinaryFromReader(r,t)},proto.rpc.GetVideoHistoryListReply.deserializeBinaryFromReader=function(e,t){while(t.nextField()){if(t.isEndGroup())break;var r=t.getFieldNumber();switch(r){case 1:var i=new proto.rpc.VideoHistory;t.readMessage(i,proto.rpc.VideoHistory.deserializeBinaryFromReader),e.addRs(i);break;default:t.skipField();break}}return e},proto.rpc.GetVideoHistoryListReply.prototype.serializeBinary=function(){var e=new i.BinaryWriter;return proto.rpc.GetVideoHistoryListReply.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.rpc.GetVideoHistoryListReply.serializeBinaryToWriter=function(e,t){var r=void 0;r=e.getRsList(),r.length>0&&t.writeRepeatedMessage(1,r,proto.rpc.VideoHistory.serializeBinaryToWriter)},proto.rpc.GetVideoHistoryListReply.prototype.getRsList=function(){return i.Message.getRepeatedWrapperField(this,proto.rpc.VideoHistory,1)},proto.rpc.GetVideoHistoryListReply.prototype.setRsList=function(e){return i.Message.setRepeatedWrapperField(this,1,e)},proto.rpc.GetVideoHistoryListReply.prototype.addRs=function(e,t){return i.Message.addToRepeatedWrapperField(this,1,e,proto.rpc.VideoHistory,t)},proto.rpc.GetVideoHistoryListReply.prototype.clearRsList=function(){return this.setRsList([])},i.Message.GENERATE_TO_OBJECT&&(proto.rpc.VideoHistoryDetailRequest.prototype.toObject=function(e){return proto.rpc.VideoHistoryDetailRequest.toObject(e,this)},proto.rpc.VideoHistoryDetailRequest.toObject=function(e,t){var r={prid:i.Message.getFieldWithDefault(t,1,0),videosource:i.Message.getFieldWithDefault(t,2,0)};return e&&(r.$jspbMessageInstance=t),r}),proto.rpc.VideoHistoryDetailRequest.deserializeBinary=function(e){var t=new i.BinaryReader(e),r=new proto.rpc.VideoHistoryDetailRequest;return proto.rpc.VideoHistoryDetailRequest.deserializeBinaryFromReader(r,t)},proto.rpc.VideoHistoryDetailRequest.deserializeBinaryFromReader=function(e,t){while(t.nextField()){if(t.isEndGroup())break;var r=t.getFieldNumber();switch(r){case 1:var i=t.readInt32();e.setPrid(i);break;case 2:i=t.readInt32();e.setVideosource(i);break;default:t.skipField();break}}return e},proto.rpc.VideoHistoryDetailRequest.prototype.serializeBinary=function(){var e=new i.BinaryWriter;return proto.rpc.VideoHistoryDetailRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.rpc.VideoHistoryDetailRequest.serializeBinaryToWriter=function(e,t){var r=void 0;r=e.getPrid(),0!==r&&t.writeInt32(1,r),r=e.getVideosource(),0!==r&&t.writeInt32(2,r)},proto.rpc.VideoHistoryDetailRequest.prototype.getPrid=function(){return i.Message.getFieldWithDefault(this,1,0)},proto.rpc.VideoHistoryDetailRequest.prototype.setPrid=function(e){return i.Message.setProto3IntField(this,1,e)},proto.rpc.VideoHistoryDetailRequest.prototype.getVideosource=function(){return i.Message.getFieldWithDefault(this,2,0)},proto.rpc.VideoHistoryDetailRequest.prototype.setVideosource=function(e){return i.Message.setProto3IntField(this,2,e)},i.Message.GENERATE_TO_OBJECT&&(proto.rpc.VideoHistory.prototype.toObject=function(e){return proto.rpc.VideoHistory.toObject(e,this)},proto.rpc.VideoHistory.toObject=function(e,t){var r={videoid:i.Message.getFieldWithDefault(t,1,0),alivid:i.Message.getFieldWithDefault(t,2,""),vtitle:i.Message.getFieldWithDefault(t,3,""),coverurl:i.Message.getFieldWithDefault(t,4,""),exerciselevel:i.Message.getFieldWithDefault(t,5,0),memo:i.Message.getFieldWithDefault(t,6,""),username:i.Message.getFieldWithDefault(t,7,""),userhead:i.Message.getFieldWithDefault(t,8,""),begintime:i.Message.getFieldWithDefault(t,9,0),videoduration:i.Message.getFieldWithDefault(t,10,0),sportduration:i.Message.getFieldWithDefault(t,11,0),cle:i.Message.getFloatingPointFieldWithDefault(t,12,0),ck:i.Message.getFloatingPointFieldWithDefault(t,13,0),ei:i.Message.getFloatingPointFieldWithDefault(t,14,0),orderid:i.Message.getFieldWithDefault(t,15,0),userid:i.Message.getFieldWithDefault(t,16,0),upid:i.Message.getFieldWithDefault(t,17,0),age:i.Message.getFieldWithDefault(t,18,0),height:i.Message.getFieldWithDefault(t,19,0),weight:i.Message.getFloatingPointFieldWithDefault(t,20,0),sex:i.Message.getFieldWithDefault(t,21,0),statichr:i.Message.getFieldWithDefault(t,22,0)};return e&&(r.$jspbMessageInstance=t),r}),proto.rpc.VideoHistory.deserializeBinary=function(e){var t=new i.BinaryReader(e),r=new proto.rpc.VideoHistory;return proto.rpc.VideoHistory.deserializeBinaryFromReader(r,t)},proto.rpc.VideoHistory.deserializeBinaryFromReader=function(e,t){while(t.nextField()){if(t.isEndGroup())break;var r=t.getFieldNumber();switch(r){case 1:var i=t.readInt32();e.setVideoid(i);break;case 2:i=t.readString();e.setAlivid(i);break;case 3:i=t.readString();e.setVtitle(i);break;case 4:i=t.readString();e.setCoverurl(i);break;case 5:i=t.readInt32();e.setExerciselevel(i);break;case 6:i=t.readString();e.setMemo(i);break;case 7:i=t.readString();e.setUsername(i);break;case 8:i=t.readString();e.setUserhead(i);break;case 9:i=t.readInt64();e.setBegintime(i);break;case 10:i=t.readInt32();e.setVideoduration(i);break;case 11:i=t.readInt32();e.setSportduration(i);break;case 12:i=t.readFloat();e.setCle(i);break;case 13:i=t.readFloat();e.setCk(i);break;case 14:i=t.readFloat();e.setEi(i);break;case 15:i=t.readInt64();e.setOrderid(i);break;case 16:i=t.readInt32();e.setUserid(i);break;case 17:i=t.readInt32();e.setUpid(i);break;case 18:i=t.readInt32();e.setAge(i);break;case 19:i=t.readInt32();e.setHeight(i);break;case 20:i=t.readFloat();e.setWeight(i);break;case 21:i=t.readInt32();e.setSex(i);break;case 22:i=t.readInt32();e.setStatichr(i);break;default:t.skipField();break}}return e},proto.rpc.VideoHistory.prototype.serializeBinary=function(){var e=new i.BinaryWriter;return proto.rpc.VideoHistory.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.rpc.VideoHistory.serializeBinaryToWriter=function(e,t){var r=void 0;r=e.getVideoid(),0!==r&&t.writeInt32(1,r),r=e.getAlivid(),r.length>0&&t.writeString(2,r),r=e.getVtitle(),r.length>0&&t.writeString(3,r),r=e.getCoverurl(),r.length>0&&t.writeString(4,r),r=e.getExerciselevel(),0!==r&&t.writeInt32(5,r),r=e.getMemo(),r.length>0&&t.writeString(6,r),r=e.getUsername(),r.length>0&&t.writeString(7,r),r=e.getUserhead(),r.length>0&&t.writeString(8,r),r=e.getBegintime(),0!==r&&t.writeInt64(9,r),r=e.getVideoduration(),0!==r&&t.writeInt32(10,r),r=e.getSportduration(),0!==r&&t.writeInt32(11,r),r=e.getCle(),0!==r&&t.writeFloat(12,r),r=e.getCk(),0!==r&&t.writeFloat(13,r),r=e.getEi(),0!==r&&t.writeFloat(14,r),r=e.getOrderid(),0!==r&&t.writeInt64(15,r),r=e.getUserid(),0!==r&&t.writeInt32(16,r),r=e.getUpid(),0!==r&&t.writeInt32(17,r),r=e.getAge(),0!==r&&t.writeInt32(18,r),r=e.getHeight(),0!==r&&t.writeInt32(19,r),r=e.getWeight(),0!==r&&t.writeFloat(20,r),r=e.getSex(),0!==r&&t.writeInt32(21,r),r=e.getStatichr(),0!==r&&t.writeInt32(22,r)},proto.rpc.VideoHistory.prototype.getVideoid=function(){return i.Message.getFieldWithDefault(this,1,0)},proto.rpc.VideoHistory.prototype.setVideoid=function(e){return i.Message.setProto3IntField(this,1,e)},proto.rpc.VideoHistory.prototype.getAlivid=function(){return i.Message.getFieldWithDefault(this,2,"")},proto.rpc.VideoHistory.prototype.setAlivid=function(e){return i.Message.setProto3StringField(this,2,e)},proto.rpc.VideoHistory.prototype.getVtitle=function(){return i.Message.getFieldWithDefault(this,3,"")},proto.rpc.VideoHistory.prototype.setVtitle=function(e){return i.Message.setProto3StringField(this,3,e)},proto.rpc.VideoHistory.prototype.getCoverurl=function(){return i.Message.getFieldWithDefault(this,4,"")},proto.rpc.VideoHistory.prototype.setCoverurl=function(e){return i.Message.setProto3StringField(this,4,e)},proto.rpc.VideoHistory.prototype.getExerciselevel=function(){return i.Message.getFieldWithDefault(this,5,0)},proto.rpc.VideoHistory.prototype.setExerciselevel=function(e){return i.Message.setProto3IntField(this,5,e)},proto.rpc.VideoHistory.prototype.getMemo=function(){return i.Message.getFieldWithDefault(this,6,"")},proto.rpc.VideoHistory.prototype.setMemo=function(e){return i.Message.setProto3StringField(this,6,e)},proto.rpc.VideoHistory.prototype.getUsername=function(){return i.Message.getFieldWithDefault(this,7,"")},proto.rpc.VideoHistory.prototype.setUsername=function(e){return i.Message.setProto3StringField(this,7,e)},proto.rpc.VideoHistory.prototype.getUserhead=function(){return i.Message.getFieldWithDefault(this,8,"")},proto.rpc.VideoHistory.prototype.setUserhead=function(e){return i.Message.setProto3StringField(this,8,e)},proto.rpc.VideoHistory.prototype.getBegintime=function(){return i.Message.getFieldWithDefault(this,9,0)},proto.rpc.VideoHistory.prototype.setBegintime=function(e){return i.Message.setProto3IntField(this,9,e)},proto.rpc.VideoHistory.prototype.getVideoduration=function(){return i.Message.getFieldWithDefault(this,10,0)},proto.rpc.VideoHistory.prototype.setVideoduration=function(e){return i.Message.setProto3IntField(this,10,e)},proto.rpc.VideoHistory.prototype.getSportduration=function(){return i.Message.getFieldWithDefault(this,11,0)},proto.rpc.VideoHistory.prototype.setSportduration=function(e){return i.Message.setProto3IntField(this,11,e)},proto.rpc.VideoHistory.prototype.getCle=function(){return i.Message.getFloatingPointFieldWithDefault(this,12,0)},proto.rpc.VideoHistory.prototype.setCle=function(e){return i.Message.setProto3FloatField(this,12,e)},proto.rpc.VideoHistory.prototype.getCk=function(){return i.Message.getFloatingPointFieldWithDefault(this,13,0)},proto.rpc.VideoHistory.prototype.setCk=function(e){return i.Message.setProto3FloatField(this,13,e)},proto.rpc.VideoHistory.prototype.getEi=function(){return i.Message.getFloatingPointFieldWithDefault(this,14,0)},proto.rpc.VideoHistory.prototype.setEi=function(e){return i.Message.setProto3FloatField(this,14,e)},proto.rpc.VideoHistory.prototype.getOrderid=function(){return i.Message.getFieldWithDefault(this,15,0)},proto.rpc.VideoHistory.prototype.setOrderid=function(e){return i.Message.setProto3IntField(this,15,e)};proto.rpc.VideoHistory.prototype.getUserid=function(){return i.Message.getFieldWithDefault(this,16,0)},proto.rpc.VideoHistory.prototype.setUserid=function(e){return i.Message.setProto3IntField(this,16,e)},proto.rpc.VideoHistory.prototype.getUpid=function(){return i.Message.getFieldWithDefault(this,17,0)},proto.rpc.VideoHistory.prototype.setUpid=function(e){return i.Message.setProto3IntField(this,17,e)},proto.rpc.VideoHistory.prototype.getAge=function(){return i.Message.getFieldWithDefault(this,18,0)},proto.rpc.VideoHistory.prototype.setAge=function(e){return i.Message.setProto3IntField(this,18,e)},proto.rpc.VideoHistory.prototype.getHeight=function(){return i.Message.getFieldWithDefault(this,19,0)},proto.rpc.VideoHistory.prototype.setHeight=function(e){return i.Message.setProto3IntField(this,19,e)},proto.rpc.VideoHistory.prototype.getWeight=function(){return i.Message.getFloatingPointFieldWithDefault(this,20,0)},proto.rpc.VideoHistory.prototype.setWeight=function(e){return i.Message.setProto3FloatField(this,20,e)},proto.rpc.VideoHistory.prototype.getSex=function(){return i.Message.getFieldWithDefault(this,21,0)},proto.rpc.VideoHistory.prototype.setSex=function(e){return i.Message.setProto3IntField(this,21,e)},proto.rpc.VideoHistory.prototype.getStatichr=function(){return i.Message.getFieldWithDefault(this,22,0)},proto.rpc.VideoHistory.prototype.setStatichr=function(e){return i.Message.setProto3IntField(this,22,e)},i.Message.GENERATE_TO_OBJECT&&(proto.rpc.GetUserTypeReply.prototype.toObject=function(e){return proto.rpc.GetUserTypeReply.toObject(e,this)},proto.rpc.GetUserTypeReply.toObject=function(e,t){var r={usertype:i.Message.getFieldWithDefault(t,1,0)};return e&&(r.$jspbMessageInstance=t),r}),proto.rpc.GetUserTypeReply.deserializeBinary=function(e){var t=new i.BinaryReader(e),r=new proto.rpc.GetUserTypeReply;return proto.rpc.GetUserTypeReply.deserializeBinaryFromReader(r,t)},proto.rpc.GetUserTypeReply.deserializeBinaryFromReader=function(e,t){while(t.nextField()){if(t.isEndGroup())break;var r=t.getFieldNumber();switch(r){case 1:var i=t.readEnum();e.setUsertype(i);break;default:t.skipField();break}}return e},proto.rpc.GetUserTypeReply.prototype.serializeBinary=function(){var e=new i.BinaryWriter;return proto.rpc.GetUserTypeReply.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.rpc.GetUserTypeReply.serializeBinaryToWriter=function(e,t){var r=void 0;r=e.getUsertype(),0!==r&&t.writeEnum(1,r)},proto.rpc.GetUserTypeReply.prototype.getUsertype=function(){return i.Message.getFieldWithDefault(this,1,0)},proto.rpc.GetUserTypeReply.prototype.setUsertype=function(e){return i.Message.setProto3EnumField(this,1,e)},i.Message.GENERATE_TO_OBJECT&&(proto.rpc.DefaultReply.prototype.toObject=function(e){return proto.rpc.DefaultReply.toObject(e,this)},proto.rpc.DefaultReply.toObject=function(e,t){var r={};return e&&(r.$jspbMessageInstance=t),r}),proto.rpc.DefaultReply.deserializeBinary=function(e){var t=new i.BinaryReader(e),r=new proto.rpc.DefaultReply;return proto.rpc.DefaultReply.deserializeBinaryFromReader(r,t)},proto.rpc.DefaultReply.deserializeBinaryFromReader=function(e,t){while(t.nextField()){if(t.isEndGroup())break;var r=t.getFieldNumber();switch(r){default:t.skipField();break}}return e},proto.rpc.DefaultReply.prototype.serializeBinary=function(){var e=new i.BinaryWriter;return proto.rpc.DefaultReply.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.rpc.DefaultReply.serializeBinaryToWriter=function(e,t){},i.Message.GENERATE_TO_OBJECT&&(proto.rpc.StdRsReply.prototype.toObject=function(e){return proto.rpc.StdRsReply.toObject(e,this)},proto.rpc.StdRsReply.toObject=function(e,t){var r={jsonstr:i.Message.getFieldWithDefault(t,1,"")};return e&&(r.$jspbMessageInstance=t),r}),proto.rpc.StdRsReply.deserializeBinary=function(e){var t=new i.BinaryReader(e),r=new proto.rpc.StdRsReply;return proto.rpc.StdRsReply.deserializeBinaryFromReader(r,t)},proto.rpc.StdRsReply.deserializeBinaryFromReader=function(e,t){while(t.nextField()){if(t.isEndGroup())break;var r=t.getFieldNumber();switch(r){case 1:var i=t.readString();e.setJsonstr(i);break;default:t.skipField();break}}return e},proto.rpc.StdRsReply.prototype.serializeBinary=function(){var e=new i.BinaryWriter;return proto.rpc.StdRsReply.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.rpc.StdRsReply.serializeBinaryToWriter=function(e,t){var r=void 0;r=e.getJsonstr(),r.length>0&&t.writeString(1,r)},proto.rpc.StdRsReply.prototype.getJsonstr=function(){return i.Message.getFieldWithDefault(this,1,"")},proto.rpc.StdRsReply.prototype.setJsonstr=function(e){return i.Message.setProto3StringField(this,1,e)},i.Message.GENERATE_TO_OBJECT&&(proto.rpc.StdRs.prototype.toObject=function(e){return proto.rpc.StdRs.toObject(e,this)},proto.rpc.StdRs.toObject=function(e,t){var r={rs:i.Message.getFieldWithDefault(t,1,""),pagecount:i.Message.getFieldWithDefault(t,2,0)};return e&&(r.$jspbMessageInstance=t),r}),proto.rpc.StdRs.deserializeBinary=function(e){var t=new i.BinaryReader(e),r=new proto.rpc.StdRs;return proto.rpc.StdRs.deserializeBinaryFromReader(r,t)},proto.rpc.StdRs.deserializeBinaryFromReader=function(e,t){while(t.nextField()){if(t.isEndGroup())break;var r=t.getFieldNumber();switch(r){case 1:var i=t.readString();e.setRs(i);break;case 2:i=t.readInt64();e.setPagecount(i);break;default:t.skipField();break}}return e},proto.rpc.StdRs.prototype.serializeBinary=function(){var e=new i.BinaryWriter;return proto.rpc.StdRs.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.rpc.StdRs.serializeBinaryToWriter=function(e,t){var r=void 0;r=e.getRs(),r.length>0&&t.writeString(1,r),r=e.getPagecount(),0!==r&&t.writeInt64(2,r)},proto.rpc.StdRs.prototype.getRs=function(){return i.Message.getFieldWithDefault(this,1,"")},proto.rpc.StdRs.prototype.setRs=function(e){return i.Message.setProto3StringField(this,1,e)},proto.rpc.StdRs.prototype.getPagecount=function(){return i.Message.getFieldWithDefault(this,2,0)},proto.rpc.StdRs.prototype.setPagecount=function(e){return i.Message.setProto3IntField(this,2,e)},proto.rpc.LoalloutDailyTrainOverviewReply.repeatedFields_=[1],i.Message.GENERATE_TO_OBJECT&&(proto.rpc.LoalloutDailyTrainOverviewReply.prototype.toObject=function(e){return proto.rpc.LoalloutDailyTrainOverviewReply.toObject(e,this)},proto.rpc.LoalloutDailyTrainOverviewReply.toObject=function(e,t){var r={rsList:i.Message.toObjectList(t.getRsList(),proto.rpc.DailyTrainOverviewInfo.toObject,e)};return e&&(r.$jspbMessageInstance=t),r}),proto.rpc.LoalloutDailyTrainOverviewReply.deserializeBinary=function(e){var t=new i.BinaryReader(e),r=new proto.rpc.LoalloutDailyTrainOverviewReply;return proto.rpc.LoalloutDailyTrainOverviewReply.deserializeBinaryFromReader(r,t)},proto.rpc.LoalloutDailyTrainOverviewReply.deserializeBinaryFromReader=function(e,t){while(t.nextField()){if(t.isEndGroup())break;var r=t.getFieldNumber();switch(r){case 1:var i=new proto.rpc.DailyTrainOverviewInfo;t.readMessage(i,proto.rpc.DailyTrainOverviewInfo.deserializeBinaryFromReader),e.addRs(i);break;default:t.skipField();break}}return e},proto.rpc.LoalloutDailyTrainOverviewReply.prototype.serializeBinary=function(){var e=new i.BinaryWriter;return proto.rpc.LoalloutDailyTrainOverviewReply.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.rpc.LoalloutDailyTrainOverviewReply.serializeBinaryToWriter=function(e,t){var r=void 0;r=e.getRsList(),r.length>0&&t.writeRepeatedMessage(1,r,proto.rpc.DailyTrainOverviewInfo.serializeBinaryToWriter)},proto.rpc.LoalloutDailyTrainOverviewReply.prototype.getRsList=function(){return i.Message.getRepeatedWrapperField(this,proto.rpc.DailyTrainOverviewInfo,1)},proto.rpc.LoalloutDailyTrainOverviewReply.prototype.setRsList=function(e){return i.Message.setRepeatedWrapperField(this,1,e)},proto.rpc.LoalloutDailyTrainOverviewReply.prototype.addRs=function(e,t){return i.Message.addToRepeatedWrapperField(this,1,e,proto.rpc.DailyTrainOverviewInfo,t)},proto.rpc.LoalloutDailyTrainOverviewReply.prototype.clearRsList=function(){return this.setRsList([])},i.Message.GENERATE_TO_OBJECT&&(proto.rpc.DailyTrainOverviewInfo.prototype.toObject=function(e){return proto.rpc.DailyTrainOverviewInfo.toObject(e,this)},proto.rpc.DailyTrainOverviewInfo.toObject=function(e,t){var r={dtoid:i.Message.getFieldWithDefault(t,1,0),shopid:i.Message.getFieldWithDefault(t,2,0),userid:i.Message.getFieldWithDefault(t,3,0),dtoname:i.Message.getFieldWithDefault(t,4,""),year:i.Message.getFieldWithDefault(t,5,0),week:i.Message.getFieldWithDefault(t,6,0),begindate:i.Message.getFieldWithDefault(t,7,""),enddate:i.Message.getFieldWithDefault(t,8,""),ispublish:i.Message.getFieldWithDefault(t,9,0),iscurrent:i.Message.getFieldWithDefault(t,10,0),username:i.Message.getFieldWithDefault(t,11,"")};return e&&(r.$jspbMessageInstance=t),r}),proto.rpc.DailyTrainOverviewInfo.deserializeBinary=function(e){var t=new i.BinaryReader(e),r=new proto.rpc.DailyTrainOverviewInfo;return proto.rpc.DailyTrainOverviewInfo.deserializeBinaryFromReader(r,t)},proto.rpc.DailyTrainOverviewInfo.deserializeBinaryFromReader=function(e,t){while(t.nextField()){if(t.isEndGroup())break;var r=t.getFieldNumber();switch(r){case 1:var i=t.readInt32();e.setDtoid(i);break;case 2:i=t.readInt32();e.setShopid(i);break;case 3:i=t.readInt32();e.setUserid(i);break;case 4:i=t.readString();e.setDtoname(i);break;case 5:i=t.readInt32();e.setYear(i);break;case 6:i=t.readInt32();e.setWeek(i);break;case 7:i=t.readString();e.setBegindate(i);break;case 8:i=t.readString();e.setEnddate(i);break;case 9:i=t.readInt32();e.setIspublish(i);break;case 10:i=t.readInt32();e.setIscurrent(i);break;case 11:i=t.readString();e.setUsername(i);break;default:t.skipField();break}}return e},proto.rpc.DailyTrainOverviewInfo.prototype.serializeBinary=function(){var e=new i.BinaryWriter;return proto.rpc.DailyTrainOverviewInfo.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.rpc.DailyTrainOverviewInfo.serializeBinaryToWriter=function(e,t){var r=void 0;r=e.getDtoid(),0!==r&&t.writeInt32(1,r),r=e.getShopid(),0!==r&&t.writeInt32(2,r),r=e.getUserid(),0!==r&&t.writeInt32(3,r),r=e.getDtoname(),r.length>0&&t.writeString(4,r),r=e.getYear(),0!==r&&t.writeInt32(5,r),r=e.getWeek(),0!==r&&t.writeInt32(6,r),r=e.getBegindate(),r.length>0&&t.writeString(7,r),r=e.getEnddate(),r.length>0&&t.writeString(8,r),r=e.getIspublish(),0!==r&&t.writeInt32(9,r),r=e.getIscurrent(),0!==r&&t.writeInt32(10,r),r=e.getUsername(),r.length>0&&t.writeString(11,r)},proto.rpc.DailyTrainOverviewInfo.prototype.getDtoid=function(){return i.Message.getFieldWithDefault(this,1,0)},proto.rpc.DailyTrainOverviewInfo.prototype.setDtoid=function(e){return i.Message.setProto3IntField(this,1,e)},proto.rpc.DailyTrainOverviewInfo.prototype.getShopid=function(){return i.Message.getFieldWithDefault(this,2,0)},proto.rpc.DailyTrainOverviewInfo.prototype.setShopid=function(e){return i.Message.setProto3IntField(this,2,e)},proto.rpc.DailyTrainOverviewInfo.prototype.getUserid=function(){return i.Message.getFieldWithDefault(this,3,0)},proto.rpc.DailyTrainOverviewInfo.prototype.setUserid=function(e){return i.Message.setProto3IntField(this,3,e)},proto.rpc.DailyTrainOverviewInfo.prototype.getDtoname=function(){return i.Message.getFieldWithDefault(this,4,"")},proto.rpc.DailyTrainOverviewInfo.prototype.setDtoname=function(e){return i.Message.setProto3StringField(this,4,e)},proto.rpc.DailyTrainOverviewInfo.prototype.getYear=function(){return i.Message.getFieldWithDefault(this,5,0)},proto.rpc.DailyTrainOverviewInfo.prototype.setYear=function(e){return i.Message.setProto3IntField(this,5,e)},proto.rpc.DailyTrainOverviewInfo.prototype.getWeek=function(){return i.Message.getFieldWithDefault(this,6,0)},proto.rpc.DailyTrainOverviewInfo.prototype.setWeek=function(e){return i.Message.setProto3IntField(this,6,e)},proto.rpc.DailyTrainOverviewInfo.prototype.getBegindate=function(){return i.Message.getFieldWithDefault(this,7,"")},proto.rpc.DailyTrainOverviewInfo.prototype.setBegindate=function(e){return i.Message.setProto3StringField(this,7,e)},proto.rpc.DailyTrainOverviewInfo.prototype.getEnddate=function(){return i.Message.getFieldWithDefault(this,8,"")},proto.rpc.DailyTrainOverviewInfo.prototype.setEnddate=function(e){return i.Message.setProto3StringField(this,8,e)},proto.rpc.DailyTrainOverviewInfo.prototype.getIspublish=function(){return i.Message.getFieldWithDefault(this,9,0)},proto.rpc.DailyTrainOverviewInfo.prototype.setIspublish=function(e){return i.Message.setProto3IntField(this,9,e)},proto.rpc.DailyTrainOverviewInfo.prototype.getIscurrent=function(){return i.Message.getFieldWithDefault(this,10,0)},proto.rpc.DailyTrainOverviewInfo.prototype.setIscurrent=function(e){return i.Message.setProto3IntField(this,10,e)},proto.rpc.DailyTrainOverviewInfo.prototype.getUsername=function(){return i.Message.getFieldWithDefault(this,11,"")},proto.rpc.DailyTrainOverviewInfo.prototype.setUsername=function(e){return i.Message.setProto3StringField(this,11,e)},i.Message.GENERATE_TO_OBJECT&&(proto.rpc.LoalloutDailyTrainDetailListRequest.prototype.toObject=function(e){return proto.rpc.LoalloutDailyTrainDetailListRequest.toObject(e,this)},proto.rpc.LoalloutDailyTrainDetailListRequest.toObject=function(e,t){var r={dtoid:i.Message.getFieldWithDefault(t,1,0),incomingday:i.Message.getFieldWithDefault(t,2,"")};return e&&(r.$jspbMessageInstance=t),r}),proto.rpc.LoalloutDailyTrainDetailListRequest.deserializeBinary=function(e){var t=new i.BinaryReader(e),r=new proto.rpc.LoalloutDailyTrainDetailListRequest;return proto.rpc.LoalloutDailyTrainDetailListRequest.deserializeBinaryFromReader(r,t)},proto.rpc.LoalloutDailyTrainDetailListRequest.deserializeBinaryFromReader=function(e,t){while(t.nextField()){if(t.isEndGroup())break;var r=t.getFieldNumber();switch(r){case 1:var i=t.readInt32();e.setDtoid(i);break;case 2:i=t.readString();e.setIncomingday(i);break;default:t.skipField();break}}return e},proto.rpc.LoalloutDailyTrainDetailListRequest.prototype.serializeBinary=function(){var e=new i.BinaryWriter;return proto.rpc.LoalloutDailyTrainDetailListRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.rpc.LoalloutDailyTrainDetailListRequest.serializeBinaryToWriter=function(e,t){var r=void 0;r=e.getDtoid(),0!==r&&t.writeInt32(1,r),r=e.getIncomingday(),r.length>0&&t.writeString(2,r)},proto.rpc.LoalloutDailyTrainDetailListRequest.prototype.getDtoid=function(){return i.Message.getFieldWithDefault(this,1,0)},proto.rpc.LoalloutDailyTrainDetailListRequest.prototype.setDtoid=function(e){return i.Message.setProto3IntField(this,1,e)},proto.rpc.LoalloutDailyTrainDetailListRequest.prototype.getIncomingday=function(){return i.Message.getFieldWithDefault(this,2,"")},proto.rpc.LoalloutDailyTrainDetailListRequest.prototype.setIncomingday=function(e){return i.Message.setProto3StringField(this,2,e)},proto.rpc.LoalloutDailyTrainDetailListReply.repeatedFields_=[1],i.Message.GENERATE_TO_OBJECT&&(proto.rpc.LoalloutDailyTrainDetailListReply.prototype.toObject=function(e){return proto.rpc.LoalloutDailyTrainDetailListReply.toObject(e,this)},proto.rpc.LoalloutDailyTrainDetailListReply.toObject=function(e,t){var r={rsList:i.Message.toObjectList(t.getRsList(),proto.rpc.DailyTrainDetailInfo.toObject,e)};return e&&(r.$jspbMessageInstance=t),r}),proto.rpc.LoalloutDailyTrainDetailListReply.deserializeBinary=function(e){var t=new i.BinaryReader(e),r=new proto.rpc.LoalloutDailyTrainDetailListReply;return proto.rpc.LoalloutDailyTrainDetailListReply.deserializeBinaryFromReader(r,t)},proto.rpc.LoalloutDailyTrainDetailListReply.deserializeBinaryFromReader=function(e,t){while(t.nextField()){if(t.isEndGroup())break;var r=t.getFieldNumber();switch(r){case 1:var i=new proto.rpc.DailyTrainDetailInfo;t.readMessage(i,proto.rpc.DailyTrainDetailInfo.deserializeBinaryFromReader),e.addRs(i);break;default:t.skipField();break}}return e},proto.rpc.LoalloutDailyTrainDetailListReply.prototype.serializeBinary=function(){var e=new i.BinaryWriter;return proto.rpc.LoalloutDailyTrainDetailListReply.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.rpc.LoalloutDailyTrainDetailListReply.serializeBinaryToWriter=function(e,t){var r=void 0;r=e.getRsList(),r.length>0&&t.writeRepeatedMessage(1,r,proto.rpc.DailyTrainDetailInfo.serializeBinaryToWriter)},proto.rpc.LoalloutDailyTrainDetailListReply.prototype.getRsList=function(){return i.Message.getRepeatedWrapperField(this,proto.rpc.DailyTrainDetailInfo,1)},proto.rpc.LoalloutDailyTrainDetailListReply.prototype.setRsList=function(e){return i.Message.setRepeatedWrapperField(this,1,e)},proto.rpc.LoalloutDailyTrainDetailListReply.prototype.addRs=function(e,t){return i.Message.addToRepeatedWrapperField(this,1,e,proto.rpc.DailyTrainDetailInfo,t)},proto.rpc.LoalloutDailyTrainDetailListReply.prototype.clearRsList=function(){return this.setRsList([])},i.Message.GENERATE_TO_OBJECT&&(proto.rpc.DailyTrainDetailInfo.prototype.toObject=function(e){return proto.rpc.DailyTrainDetailInfo.toObject(e,this)},proto.rpc.DailyTrainDetailInfo.toObject=function(e,t){var r={dtdid:i.Message.getFieldWithDefault(t,1,0),dtoid:i.Message.getFieldWithDefault(t,2,0),bmid:i.Message.getFieldWithDefault(t,3,0),trid:i.Message.getFieldWithDefault(t,4,0),currentdate:i.Message.getFieldWithDefault(t,5,""),weekday:i.Message.getFieldWithDefault(t,6,0),lessonindex:i.Message.getFieldWithDefault(t,7,0),bmname:i.Message.getFieldWithDefault(t,8,""),trname:i.Message.getFieldWithDefault(t,9,""),locking:i.Message.getFieldWithDefault(t,10,0)};return e&&(r.$jspbMessageInstance=t),r}),proto.rpc.DailyTrainDetailInfo.deserializeBinary=function(e){var t=new i.BinaryReader(e),r=new proto.rpc.DailyTrainDetailInfo;return proto.rpc.DailyTrainDetailInfo.deserializeBinaryFromReader(r,t)},proto.rpc.DailyTrainDetailInfo.deserializeBinaryFromReader=function(e,t){while(t.nextField()){if(t.isEndGroup())break;var r=t.getFieldNumber();switch(r){case 1:var i=t.readInt32();e.setDtdid(i);break;case 2:i=t.readInt32();e.setDtoid(i);break;case 3:i=t.readInt32();e.setBmid(i);break;case 4:i=t.readInt32();e.setTrid(i);break;case 5:i=t.readString();e.setCurrentdate(i);break;case 6:i=t.readInt32();e.setWeekday(i);break;case 7:i=t.readInt32();e.setLessonindex(i);break;case 8:i=t.readString();e.setBmname(i);break;case 9:i=t.readString();e.setTrname(i);break;case 10:i=t.readInt32();e.setLocking(i);break;default:t.skipField();break}}return e},proto.rpc.DailyTrainDetailInfo.prototype.serializeBinary=function(){var e=new i.BinaryWriter;return proto.rpc.DailyTrainDetailInfo.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.rpc.DailyTrainDetailInfo.serializeBinaryToWriter=function(e,t){var r=void 0;r=e.getDtdid(),0!==r&&t.writeInt32(1,r),r=e.getDtoid(),0!==r&&t.writeInt32(2,r),r=e.getBmid(),0!==r&&t.writeInt32(3,r),r=e.getTrid(),0!==r&&t.writeInt32(4,r),r=e.getCurrentdate(),r.length>0&&t.writeString(5,r),r=e.getWeekday(),0!==r&&t.writeInt32(6,r),r=e.getLessonindex(),0!==r&&t.writeInt32(7,r),r=e.getBmname(),r.length>0&&t.writeString(8,r),r=e.getTrname(),r.length>0&&t.writeString(9,r),r=e.getLocking(),0!==r&&t.writeInt32(10,r)},proto.rpc.DailyTrainDetailInfo.prototype.getDtdid=function(){return i.Message.getFieldWithDefault(this,1,0)},proto.rpc.DailyTrainDetailInfo.prototype.setDtdid=function(e){return i.Message.setProto3IntField(this,1,e)},proto.rpc.DailyTrainDetailInfo.prototype.getDtoid=function(){return i.Message.getFieldWithDefault(this,2,0)},proto.rpc.DailyTrainDetailInfo.prototype.setDtoid=function(e){return i.Message.setProto3IntField(this,2,e)},proto.rpc.DailyTrainDetailInfo.prototype.getBmid=function(){return i.Message.getFieldWithDefault(this,3,0)},proto.rpc.DailyTrainDetailInfo.prototype.setBmid=function(e){return i.Message.setProto3IntField(this,3,e)},proto.rpc.DailyTrainDetailInfo.prototype.getTrid=function(){return i.Message.getFieldWithDefault(this,4,0)},proto.rpc.DailyTrainDetailInfo.prototype.setTrid=function(e){return i.Message.setProto3IntField(this,4,e)},proto.rpc.DailyTrainDetailInfo.prototype.getCurrentdate=function(){return i.Message.getFieldWithDefault(this,5,"")},proto.rpc.DailyTrainDetailInfo.prototype.setCurrentdate=function(e){return i.Message.setProto3StringField(this,5,e)},proto.rpc.DailyTrainDetailInfo.prototype.getWeekday=function(){return i.Message.getFieldWithDefault(this,6,0)},proto.rpc.DailyTrainDetailInfo.prototype.setWeekday=function(e){return i.Message.setProto3IntField(this,6,e)},proto.rpc.DailyTrainDetailInfo.prototype.getLessonindex=function(){return i.Message.getFieldWithDefault(this,7,0)},proto.rpc.DailyTrainDetailInfo.prototype.setLessonindex=function(e){return i.Message.setProto3IntField(this,7,e)},proto.rpc.DailyTrainDetailInfo.prototype.getBmname=function(){return i.Message.getFieldWithDefault(this,8,"")},proto.rpc.DailyTrainDetailInfo.prototype.setBmname=function(e){return i.Message.setProto3StringField(this,8,e)},proto.rpc.DailyTrainDetailInfo.prototype.getTrname=function(){return i.Message.getFieldWithDefault(this,9,"")},proto.rpc.DailyTrainDetailInfo.prototype.setTrname=function(e){return i.Message.setProto3StringField(this,9,e)},proto.rpc.DailyTrainDetailInfo.prototype.getLocking=function(){return i.Message.getFieldWithDefault(this,10,0)},proto.rpc.DailyTrainDetailInfo.prototype.setLocking=function(e){return i.Message.setProto3IntField(this,10,e)},proto.rpc.BasicMotionRsReply.repeatedFields_=[1],i.Message.GENERATE_TO_OBJECT&&(proto.rpc.BasicMotionRsReply.prototype.toObject=function(e){return proto.rpc.BasicMotionRsReply.toObject(e,this)},proto.rpc.BasicMotionRsReply.toObject=function(e,t){var r={bmrsList:i.Message.toObjectList(t.getBmrsList(),proto.rpc.BasicMotionInfo.toObject,e)};return e&&(r.$jspbMessageInstance=t),r}),proto.rpc.BasicMotionRsReply.deserializeBinary=function(e){var t=new i.BinaryReader(e),r=new proto.rpc.BasicMotionRsReply;return proto.rpc.BasicMotionRsReply.deserializeBinaryFromReader(r,t)},proto.rpc.BasicMotionRsReply.deserializeBinaryFromReader=function(e,t){while(t.nextField()){if(t.isEndGroup())break;var r=t.getFieldNumber();switch(r){case 1:var i=new proto.rpc.BasicMotionInfo;t.readMessage(i,proto.rpc.BasicMotionInfo.deserializeBinaryFromReader),e.addBmrs(i);break;default:t.skipField();break}}return e},proto.rpc.BasicMotionRsReply.prototype.serializeBinary=function(){var e=new i.BinaryWriter;return proto.rpc.BasicMotionRsReply.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.rpc.BasicMotionRsReply.serializeBinaryToWriter=function(e,t){var r=void 0;r=e.getBmrsList(),r.length>0&&t.writeRepeatedMessage(1,r,proto.rpc.BasicMotionInfo.serializeBinaryToWriter)},proto.rpc.BasicMotionRsReply.prototype.getBmrsList=function(){return i.Message.getRepeatedWrapperField(this,proto.rpc.BasicMotionInfo,1)},proto.rpc.BasicMotionRsReply.prototype.setBmrsList=function(e){return i.Message.setRepeatedWrapperField(this,1,e)},proto.rpc.BasicMotionRsReply.prototype.addBmrs=function(e,t){return i.Message.addToRepeatedWrapperField(this,1,e,proto.rpc.BasicMotionInfo,t)},proto.rpc.BasicMotionRsReply.prototype.clearBmrsList=function(){return this.setBmrsList([])},i.Message.GENERATE_TO_OBJECT&&(proto.rpc.BasicMotionInfo.prototype.toObject=function(e){return proto.rpc.BasicMotionInfo.toObject(e,this)},proto.rpc.BasicMotionInfo.toObject=function(e,t){var r={bmid:i.Message.getFieldWithDefault(t,1,0),name:i.Message.getFieldWithDefault(t,2,""),bmvid:i.Message.getFieldWithDefault(t,3,0)};return e&&(r.$jspbMessageInstance=t),r}),proto.rpc.BasicMotionInfo.deserializeBinary=function(e){var t=new i.BinaryReader(e),r=new proto.rpc.BasicMotionInfo;return proto.rpc.BasicMotionInfo.deserializeBinaryFromReader(r,t)},proto.rpc.BasicMotionInfo.deserializeBinaryFromReader=function(e,t){while(t.nextField()){if(t.isEndGroup())break;var r=t.getFieldNumber();switch(r){case 1:var i=t.readInt32();e.setBmid(i);break;case 2:i=t.readString();e.setName(i);break;case 3:i=t.readInt32();e.setBmvid(i);break;default:t.skipField();break}}return e},proto.rpc.BasicMotionInfo.prototype.serializeBinary=function(){var e=new i.BinaryWriter;return proto.rpc.BasicMotionInfo.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.rpc.BasicMotionInfo.serializeBinaryToWriter=function(e,t){var r=void 0;r=e.getBmid(),0!==r&&t.writeInt32(1,r),r=e.getName(),r.length>0&&t.writeString(2,r),r=e.getBmvid(),0!==r&&t.writeInt32(3,r)},proto.rpc.BasicMotionInfo.prototype.getBmid=function(){return i.Message.getFieldWithDefault(this,1,0)},proto.rpc.BasicMotionInfo.prototype.setBmid=function(e){return i.Message.setProto3IntField(this,1,e)},proto.rpc.BasicMotionInfo.prototype.getName=function(){return i.Message.getFieldWithDefault(this,2,"")},proto.rpc.BasicMotionInfo.prototype.setName=function(e){return i.Message.setProto3StringField(this,2,e)},proto.rpc.BasicMotionInfo.prototype.getBmvid=function(){return i.Message.getFieldWithDefault(this,3,0)},proto.rpc.BasicMotionInfo.prototype.setBmvid=function(e){return i.Message.setProto3IntField(this,3,e)},i.Message.GENERATE_TO_OBJECT&&(proto.rpc.ManagerVideoCategoriesAddRequest.prototype.toObject=function(e){return proto.rpc.ManagerVideoCategoriesAddRequest.toObject(e,this)},proto.rpc.ManagerVideoCategoriesAddRequest.toObject=function(e,t){var r={name:i.Message.getFieldWithDefault(t,1,""),order:i.Message.getFieldWithDefault(t,2,0)};return e&&(r.$jspbMessageInstance=t),r}),proto.rpc.ManagerVideoCategoriesAddRequest.deserializeBinary=function(e){var t=new i.BinaryReader(e),r=new proto.rpc.ManagerVideoCategoriesAddRequest;return proto.rpc.ManagerVideoCategoriesAddRequest.deserializeBinaryFromReader(r,t)},proto.rpc.ManagerVideoCategoriesAddRequest.deserializeBinaryFromReader=function(e,t){while(t.nextField()){if(t.isEndGroup())break;var r=t.getFieldNumber();switch(r){case 1:var i=t.readString();e.setName(i);break;case 2:i=t.readInt32();e.setOrder(i);break;default:t.skipField();break}}return e},proto.rpc.ManagerVideoCategoriesAddRequest.prototype.serializeBinary=function(){var e=new i.BinaryWriter;return proto.rpc.ManagerVideoCategoriesAddRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.rpc.ManagerVideoCategoriesAddRequest.serializeBinaryToWriter=function(e,t){var r=void 0;r=e.getName(),r.length>0&&t.writeString(1,r),r=e.getOrder(),0!==r&&t.writeInt32(2,r)},proto.rpc.ManagerVideoCategoriesAddRequest.prototype.getName=function(){return i.Message.getFieldWithDefault(this,1,"")},proto.rpc.ManagerVideoCategoriesAddRequest.prototype.setName=function(e){return i.Message.setProto3StringField(this,1,e)},proto.rpc.ManagerVideoCategoriesAddRequest.prototype.getOrder=function(){return i.Message.getFieldWithDefault(this,2,0)},proto.rpc.ManagerVideoCategoriesAddRequest.prototype.setOrder=function(e){return i.Message.setProto3IntField(this,2,e)},i.Message.GENERATE_TO_OBJECT&&(proto.rpc.ManagerVideoCategoriesEditRequest.prototype.toObject=function(e){return proto.rpc.ManagerVideoCategoriesEditRequest.toObject(e,this)},proto.rpc.ManagerVideoCategoriesEditRequest.toObject=function(e,t){var r={vcid:i.Message.getFieldWithDefault(t,1,0),name:i.Message.getFieldWithDefault(t,2,""),order:i.Message.getFieldWithDefault(t,3,0)};return e&&(r.$jspbMessageInstance=t),r}),proto.rpc.ManagerVideoCategoriesEditRequest.deserializeBinary=function(e){var t=new i.BinaryReader(e),r=new proto.rpc.ManagerVideoCategoriesEditRequest;return proto.rpc.ManagerVideoCategoriesEditRequest.deserializeBinaryFromReader(r,t)},proto.rpc.ManagerVideoCategoriesEditRequest.deserializeBinaryFromReader=function(e,t){while(t.nextField()){if(t.isEndGroup())break;var r=t.getFieldNumber();switch(r){case 1:var i=t.readInt32();e.setVcid(i);break;case 2:i=t.readString();e.setName(i);break;case 3:i=t.readInt32();e.setOrder(i);break;default:t.skipField();break}}return e},proto.rpc.ManagerVideoCategoriesEditRequest.prototype.serializeBinary=function(){var e=new i.BinaryWriter;return proto.rpc.ManagerVideoCategoriesEditRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.rpc.ManagerVideoCategoriesEditRequest.serializeBinaryToWriter=function(e,t){var r=void 0;r=e.getVcid(),0!==r&&t.writeInt32(1,r),r=e.getName(),r.length>0&&t.writeString(2,r),r=e.getOrder(),0!==r&&t.writeInt32(3,r)},proto.rpc.ManagerVideoCategoriesEditRequest.prototype.getVcid=function(){return i.Message.getFieldWithDefault(this,1,0)},proto.rpc.ManagerVideoCategoriesEditRequest.prototype.setVcid=function(e){return i.Message.setProto3IntField(this,1,e)},proto.rpc.ManagerVideoCategoriesEditRequest.prototype.getName=function(){return i.Message.getFieldWithDefault(this,2,"")},proto.rpc.ManagerVideoCategoriesEditRequest.prototype.setName=function(e){return i.Message.setProto3StringField(this,2,e)},proto.rpc.ManagerVideoCategoriesEditRequest.prototype.getOrder=function(){return i.Message.getFieldWithDefault(this,3,0)},proto.rpc.ManagerVideoCategoriesEditRequest.prototype.setOrder=function(e){return i.Message.setProto3IntField(this,3,e)},i.Message.GENERATE_TO_OBJECT&&(proto.rpc.ManagerVideoCategoriesOfflineEditRequest.prototype.toObject=function(e){return proto.rpc.ManagerVideoCategoriesOfflineEditRequest.toObject(e,this)},proto.rpc.ManagerVideoCategoriesOfflineEditRequest.toObject=function(e,t){var r={vcid:i.Message.getFieldWithDefault(t,1,0),isshow:i.Message.getFieldWithDefault(t,2,0)};return e&&(r.$jspbMessageInstance=t),r}),proto.rpc.ManagerVideoCategoriesOfflineEditRequest.deserializeBinary=function(e){var t=new i.BinaryReader(e),r=new proto.rpc.ManagerVideoCategoriesOfflineEditRequest;return proto.rpc.ManagerVideoCategoriesOfflineEditRequest.deserializeBinaryFromReader(r,t)},proto.rpc.ManagerVideoCategoriesOfflineEditRequest.deserializeBinaryFromReader=function(e,t){while(t.nextField()){if(t.isEndGroup())break;var r=t.getFieldNumber();switch(r){case 1:var i=t.readInt32();e.setVcid(i);break;case 2:i=t.readInt32();e.setIsshow(i);break;default:t.skipField();break}}return e},proto.rpc.ManagerVideoCategoriesOfflineEditRequest.prototype.serializeBinary=function(){var e=new i.BinaryWriter;return proto.rpc.ManagerVideoCategoriesOfflineEditRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.rpc.ManagerVideoCategoriesOfflineEditRequest.serializeBinaryToWriter=function(e,t){var r=void 0;r=e.getVcid(),0!==r&&t.writeInt32(1,r),r=e.getIsshow(),0!==r&&t.writeInt32(2,r)},proto.rpc.ManagerVideoCategoriesOfflineEditRequest.prototype.getVcid=function(){return i.Message.getFieldWithDefault(this,1,0)},proto.rpc.ManagerVideoCategoriesOfflineEditRequest.prototype.setVcid=function(e){return i.Message.setProto3IntField(this,1,e)},proto.rpc.ManagerVideoCategoriesOfflineEditRequest.prototype.getIsshow=function(){return i.Message.getFieldWithDefault(this,2,0)},proto.rpc.ManagerVideoCategoriesOfflineEditRequest.prototype.setIsshow=function(e){return i.Message.setProto3IntField(this,2,e)},i.Message.GENERATE_TO_OBJECT&&(proto.rpc.ManagerVideoCategoriesDelRequest.prototype.toObject=function(e){return proto.rpc.ManagerVideoCategoriesDelRequest.toObject(e,this)},proto.rpc.ManagerVideoCategoriesDelRequest.toObject=function(e,t){var r={vcid:i.Message.getFieldWithDefault(t,1,0)};return e&&(r.$jspbMessageInstance=t),r}),proto.rpc.ManagerVideoCategoriesDelRequest.deserializeBinary=function(e){var t=new i.BinaryReader(e),r=new proto.rpc.ManagerVideoCategoriesDelRequest;return proto.rpc.ManagerVideoCategoriesDelRequest.deserializeBinaryFromReader(r,t)},proto.rpc.ManagerVideoCategoriesDelRequest.deserializeBinaryFromReader=function(e,t){while(t.nextField()){if(t.isEndGroup())break;var r=t.getFieldNumber();switch(r){case 1:var i=t.readInt32();e.setVcid(i);break;default:t.skipField();break}}return e},proto.rpc.ManagerVideoCategoriesDelRequest.prototype.serializeBinary=function(){var e=new i.BinaryWriter;return proto.rpc.ManagerVideoCategoriesDelRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.rpc.ManagerVideoCategoriesDelRequest.serializeBinaryToWriter=function(e,t){var r=void 0;r=e.getVcid(),0!==r&&t.writeInt32(1,r)},proto.rpc.ManagerVideoCategoriesDelRequest.prototype.getVcid=function(){return i.Message.getFieldWithDefault(this,1,0)},proto.rpc.ManagerVideoCategoriesDelRequest.prototype.setVcid=function(e){return i.Message.setProto3IntField(this,1,e)},i.Message.GENERATE_TO_OBJECT&&(proto.rpc.ManagerVideoTagAddRequest.prototype.toObject=function(e){return proto.rpc.ManagerVideoTagAddRequest.toObject(e,this)},proto.rpc.ManagerVideoTagAddRequest.toObject=function(e,t){var r={name:i.Message.getFieldWithDefault(t,1,""),tagtype:i.Message.getFieldWithDefault(t,2,0)};return e&&(r.$jspbMessageInstance=t),r}),proto.rpc.ManagerVideoTagAddRequest.deserializeBinary=function(e){var t=new i.BinaryReader(e),r=new proto.rpc.ManagerVideoTagAddRequest;return proto.rpc.ManagerVideoTagAddRequest.deserializeBinaryFromReader(r,t)},proto.rpc.ManagerVideoTagAddRequest.deserializeBinaryFromReader=function(e,t){while(t.nextField()){if(t.isEndGroup())break;var r=t.getFieldNumber();switch(r){case 1:var i=t.readString();e.setName(i);break;case 2:i=t.readInt32();e.setTagtype(i);break;default:t.skipField();break}}return e},proto.rpc.ManagerVideoTagAddRequest.prototype.serializeBinary=function(){var e=new i.BinaryWriter;return proto.rpc.ManagerVideoTagAddRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.rpc.ManagerVideoTagAddRequest.serializeBinaryToWriter=function(e,t){var r=void 0;r=e.getName(),r.length>0&&t.writeString(1,r),r=e.getTagtype(),0!==r&&t.writeInt32(2,r)},proto.rpc.ManagerVideoTagAddRequest.prototype.getName=function(){return i.Message.getFieldWithDefault(this,1,"")},proto.rpc.ManagerVideoTagAddRequest.prototype.setName=function(e){return i.Message.setProto3StringField(this,1,e)},proto.rpc.ManagerVideoTagAddRequest.prototype.getTagtype=function(){return i.Message.getFieldWithDefault(this,2,0)},proto.rpc.ManagerVideoTagAddRequest.prototype.setTagtype=function(e){return i.Message.setProto3IntField(this,2,e)},i.Message.GENERATE_TO_OBJECT&&(proto.rpc.ManagerVideoTagEditRequest.prototype.toObject=function(e){return proto.rpc.ManagerVideoTagEditRequest.toObject(e,this)},proto.rpc.ManagerVideoTagEditRequest.toObject=function(e,t){var r={tagid:i.Message.getFieldWithDefault(t,1,0),name:i.Message.getFieldWithDefault(t,2,""),tagtype:i.Message.getFieldWithDefault(t,3,0)};return e&&(r.$jspbMessageInstance=t),r}),proto.rpc.ManagerVideoTagEditRequest.deserializeBinary=function(e){var t=new i.BinaryReader(e),r=new proto.rpc.ManagerVideoTagEditRequest;return proto.rpc.ManagerVideoTagEditRequest.deserializeBinaryFromReader(r,t)},proto.rpc.ManagerVideoTagEditRequest.deserializeBinaryFromReader=function(e,t){while(t.nextField()){if(t.isEndGroup())break;var r=t.getFieldNumber();switch(r){case 1:var i=t.readInt32();e.setTagid(i);break;case 2:i=t.readString();e.setName(i);break;case 3:i=t.readInt32();e.setTagtype(i);break;default:t.skipField();break}}return e},proto.rpc.ManagerVideoTagEditRequest.prototype.serializeBinary=function(){var e=new i.BinaryWriter;return proto.rpc.ManagerVideoTagEditRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.rpc.ManagerVideoTagEditRequest.serializeBinaryToWriter=function(e,t){var r=void 0;r=e.getTagid(),0!==r&&t.writeInt32(1,r),r=e.getName(),r.length>0&&t.writeString(2,r),r=e.getTagtype(),0!==r&&t.writeInt32(3,r)},proto.rpc.ManagerVideoTagEditRequest.prototype.getTagid=function(){return i.Message.getFieldWithDefault(this,1,0)},proto.rpc.ManagerVideoTagEditRequest.prototype.setTagid=function(e){return i.Message.setProto3IntField(this,1,e)},proto.rpc.ManagerVideoTagEditRequest.prototype.getName=function(){return i.Message.getFieldWithDefault(this,2,"")},proto.rpc.ManagerVideoTagEditRequest.prototype.setName=function(e){return i.Message.setProto3StringField(this,2,e)},proto.rpc.ManagerVideoTagEditRequest.prototype.getTagtype=function(){return i.Message.getFieldWithDefault(this,3,0)},proto.rpc.ManagerVideoTagEditRequest.prototype.setTagtype=function(e){return i.Message.setProto3IntField(this,3,e)},i.Message.GENERATE_TO_OBJECT&&(proto.rpc.ManagerVideoTagOfflineEditRequest.prototype.toObject=function(e){return proto.rpc.ManagerVideoTagOfflineEditRequest.toObject(e,this)},proto.rpc.ManagerVideoTagOfflineEditRequest.toObject=function(e,t){var r={tagid:i.Message.getFieldWithDefault(t,1,0),isshow:i.Message.getFieldWithDefault(t,2,0)};return e&&(r.$jspbMessageInstance=t),r}),proto.rpc.ManagerVideoTagOfflineEditRequest.deserializeBinary=function(e){var t=new i.BinaryReader(e),r=new proto.rpc.ManagerVideoTagOfflineEditRequest;return proto.rpc.ManagerVideoTagOfflineEditRequest.deserializeBinaryFromReader(r,t)},proto.rpc.ManagerVideoTagOfflineEditRequest.deserializeBinaryFromReader=function(e,t){while(t.nextField()){if(t.isEndGroup())break;var r=t.getFieldNumber();switch(r){case 1:var i=t.readInt32();e.setTagid(i);break;case 2:i=t.readInt32();e.setIsshow(i);break;default:t.skipField();break}}return e},proto.rpc.ManagerVideoTagOfflineEditRequest.prototype.serializeBinary=function(){var e=new i.BinaryWriter;return proto.rpc.ManagerVideoTagOfflineEditRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.rpc.ManagerVideoTagOfflineEditRequest.serializeBinaryToWriter=function(e,t){var r=void 0;r=e.getTagid(),0!==r&&t.writeInt32(1,r),r=e.getIsshow(),0!==r&&t.writeInt32(2,r)},proto.rpc.ManagerVideoTagOfflineEditRequest.prototype.getTagid=function(){return i.Message.getFieldWithDefault(this,1,0)},proto.rpc.ManagerVideoTagOfflineEditRequest.prototype.setTagid=function(e){return i.Message.setProto3IntField(this,1,e)},proto.rpc.ManagerVideoTagOfflineEditRequest.prototype.getIsshow=function(){return i.Message.getFieldWithDefault(this,2,0)},proto.rpc.ManagerVideoTagOfflineEditRequest.prototype.setIsshow=function(e){return i.Message.setProto3IntField(this,2,e)},i.Message.GENERATE_TO_OBJECT&&(proto.rpc.ManagerVideoTagDelRequest.prototype.toObject=function(e){return proto.rpc.ManagerVideoTagDelRequest.toObject(e,this)},proto.rpc.ManagerVideoTagDelRequest.toObject=function(e,t){var r={tagid:i.Message.getFieldWithDefault(t,1,0)};return e&&(r.$jspbMessageInstance=t),r}),proto.rpc.ManagerVideoTagDelRequest.deserializeBinary=function(e){var t=new i.BinaryReader(e),r=new proto.rpc.ManagerVideoTagDelRequest;return proto.rpc.ManagerVideoTagDelRequest.deserializeBinaryFromReader(r,t)},proto.rpc.ManagerVideoTagDelRequest.deserializeBinaryFromReader=function(e,t){while(t.nextField()){if(t.isEndGroup())break;var r=t.getFieldNumber();switch(r){case 1:var i=t.readInt32();e.setTagid(i);break;default:t.skipField();break}}return e},proto.rpc.ManagerVideoTagDelRequest.prototype.serializeBinary=function(){var e=new i.BinaryWriter;return proto.rpc.ManagerVideoTagDelRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.rpc.ManagerVideoTagDelRequest.serializeBinaryToWriter=function(e,t){var r=void 0;r=e.getTagid(),0!==r&&t.writeInt32(1,r)},proto.rpc.ManagerVideoTagDelRequest.prototype.getTagid=function(){return i.Message.getFieldWithDefault(this,1,0)},proto.rpc.ManagerVideoTagDelRequest.prototype.setTagid=function(e){return i.Message.setProto3IntField(this,1,e)},i.Message.GENERATE_TO_OBJECT&&(proto.rpc.ManagerCreateQiNiuImageTokenRequest.prototype.toObject=function(e){return proto.rpc.ManagerCreateQiNiuImageTokenRequest.toObject(e,this)},proto.rpc.ManagerCreateQiNiuImageTokenRequest.toObject=function(e,t){var r={filename:i.Message.getFieldWithDefault(t,1,"")};return e&&(r.$jspbMessageInstance=t),r}),proto.rpc.ManagerCreateQiNiuImageTokenRequest.deserializeBinary=function(e){var t=new i.BinaryReader(e),r=new proto.rpc.ManagerCreateQiNiuImageTokenRequest;return proto.rpc.ManagerCreateQiNiuImageTokenRequest.deserializeBinaryFromReader(r,t)},proto.rpc.ManagerCreateQiNiuImageTokenRequest.deserializeBinaryFromReader=function(e,t){while(t.nextField()){if(t.isEndGroup())break;var r=t.getFieldNumber();switch(r){case 1:var i=t.readString();e.setFilename(i);break;default:t.skipField();break}}return e},proto.rpc.ManagerCreateQiNiuImageTokenRequest.prototype.serializeBinary=function(){var e=new i.BinaryWriter;return proto.rpc.ManagerCreateQiNiuImageTokenRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.rpc.ManagerCreateQiNiuImageTokenRequest.serializeBinaryToWriter=function(e,t){var r=void 0;r=e.getFilename(),r.length>0&&t.writeString(1,r)},proto.rpc.ManagerCreateQiNiuImageTokenRequest.prototype.getFilename=function(){return i.Message.getFieldWithDefault(this,1,"")},proto.rpc.ManagerCreateQiNiuImageTokenRequest.prototype.setFilename=function(e){return i.Message.setProto3StringField(this,1,e)},i.Message.GENERATE_TO_OBJECT&&(proto.rpc.ManagerCreateQiNiuImageTokenReply.prototype.toObject=function(e){return proto.rpc.ManagerCreateQiNiuImageTokenReply.toObject(e,this)},proto.rpc.ManagerCreateQiNiuImageTokenReply.toObject=function(e,t){var r={qiniutoken:i.Message.getFieldWithDefault(t,1,""),urldomain:i.Message.getFieldWithDefault(t,2,"")};return e&&(r.$jspbMessageInstance=t),r}),proto.rpc.ManagerCreateQiNiuImageTokenReply.deserializeBinary=function(e){var t=new i.BinaryReader(e),r=new proto.rpc.ManagerCreateQiNiuImageTokenReply;return proto.rpc.ManagerCreateQiNiuImageTokenReply.deserializeBinaryFromReader(r,t)},proto.rpc.ManagerCreateQiNiuImageTokenReply.deserializeBinaryFromReader=function(e,t){while(t.nextField()){if(t.isEndGroup())break;var r=t.getFieldNumber();switch(r){case 1:var i=t.readString();e.setQiniutoken(i);break;case 2:i=t.readString();e.setUrldomain(i);break;default:t.skipField();break}}return e},proto.rpc.ManagerCreateQiNiuImageTokenReply.prototype.serializeBinary=function(){var e=new i.BinaryWriter;return proto.rpc.ManagerCreateQiNiuImageTokenReply.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.rpc.ManagerCreateQiNiuImageTokenReply.serializeBinaryToWriter=function(e,t){var r=void 0;r=e.getQiniutoken(),r.length>0&&t.writeString(1,r),r=e.getUrldomain(),r.length>0&&t.writeString(2,r)},proto.rpc.ManagerCreateQiNiuImageTokenReply.prototype.getQiniutoken=function(){return i.Message.getFieldWithDefault(this,1,"")},proto.rpc.ManagerCreateQiNiuImageTokenReply.prototype.setQiniutoken=function(e){return i.Message.setProto3StringField(this,1,e)},proto.rpc.ManagerCreateQiNiuImageTokenReply.prototype.getUrldomain=function(){return i.Message.getFieldWithDefault(this,2,"")},proto.rpc.ManagerCreateQiNiuImageTokenReply.prototype.setUrldomain=function(e){return i.Message.setProto3StringField(this,2,e)},i.Message.GENERATE_TO_OBJECT&&(proto.rpc.ManagerVideoStatusEditRequest.prototype.toObject=function(e){return proto.rpc.ManagerVideoStatusEditRequest.toObject(e,this)},proto.rpc.ManagerVideoStatusEditRequest.toObject=function(e,t){var r={videoid:i.Message.getFieldWithDefault(t,1,0),status:i.Message.getFieldWithDefault(t,2,0)};return e&&(r.$jspbMessageInstance=t),r}),proto.rpc.ManagerVideoStatusEditRequest.deserializeBinary=function(e){var t=new i.BinaryReader(e),r=new proto.rpc.ManagerVideoStatusEditRequest;return proto.rpc.ManagerVideoStatusEditRequest.deserializeBinaryFromReader(r,t)},proto.rpc.ManagerVideoStatusEditRequest.deserializeBinaryFromReader=function(e,t){while(t.nextField()){if(t.isEndGroup())break;var r=t.getFieldNumber();switch(r){case 1:var i=t.readInt32();e.setVideoid(i);break;case 2:i=t.readInt32();e.setStatus(i);break;default:t.skipField();break}}return e},proto.rpc.ManagerVideoStatusEditRequest.prototype.serializeBinary=function(){var e=new i.BinaryWriter;return proto.rpc.ManagerVideoStatusEditRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.rpc.ManagerVideoStatusEditRequest.serializeBinaryToWriter=function(e,t){var r=void 0;r=e.getVideoid(),0!==r&&t.writeInt32(1,r),r=e.getStatus(),0!==r&&t.writeInt32(2,r)},proto.rpc.ManagerVideoStatusEditRequest.prototype.getVideoid=function(){return i.Message.getFieldWithDefault(this,1,0)},proto.rpc.ManagerVideoStatusEditRequest.prototype.setVideoid=function(e){return i.Message.setProto3IntField(this,1,e)},proto.rpc.ManagerVideoStatusEditRequest.prototype.getStatus=function(){return i.Message.getFieldWithDefault(this,2,0)},proto.rpc.ManagerVideoStatusEditRequest.prototype.setStatus=function(e){return i.Message.setProto3IntField(this,2,e)},i.Message.GENERATE_TO_OBJECT&&(proto.rpc.EvaluateSubmitRequest.prototype.toObject=function(e){return proto.rpc.EvaluateSubmitRequest.toObject(e,this)},proto.rpc.EvaluateSubmitRequest.toObject=function(e,t){var r={content:i.Message.getFieldWithDefault(t,1,""),usertype:i.Message.getFieldWithDefault(t,2,0)};return e&&(r.$jspbMessageInstance=t),r}),proto.rpc.EvaluateSubmitRequest.deserializeBinary=function(e){var t=new i.BinaryReader(e),r=new proto.rpc.EvaluateSubmitRequest;return proto.rpc.EvaluateSubmitRequest.deserializeBinaryFromReader(r,t)},proto.rpc.EvaluateSubmitRequest.deserializeBinaryFromReader=function(e,t){while(t.nextField()){if(t.isEndGroup())break;var r=t.getFieldNumber();switch(r){case 1:var i=t.readString();e.setContent(i);break;case 2:i=t.readEnum();e.setUsertype(i);break;default:t.skipField();break}}return e},proto.rpc.EvaluateSubmitRequest.prototype.serializeBinary=function(){var e=new i.BinaryWriter;return proto.rpc.EvaluateSubmitRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.rpc.EvaluateSubmitRequest.serializeBinaryToWriter=function(e,t){var r=void 0;r=e.getContent(),r.length>0&&t.writeString(1,r),r=e.getUsertype(),0!==r&&t.writeEnum(2,r)},proto.rpc.EvaluateSubmitRequest.prototype.getContent=function(){return i.Message.getFieldWithDefault(this,1,"")},proto.rpc.EvaluateSubmitRequest.prototype.setContent=function(e){return i.Message.setProto3StringField(this,1,e)},proto.rpc.EvaluateSubmitRequest.prototype.getUsertype=function(){return i.Message.getFieldWithDefault(this,2,0)},proto.rpc.EvaluateSubmitRequest.prototype.setUsertype=function(e){return i.Message.setProto3EnumField(this,2,e)},i.Message.GENERATE_TO_OBJECT&&(proto.rpc.ManagerCreateUploadVideoRequest.prototype.toObject=function(e){return proto.rpc.ManagerCreateUploadVideoRequest.toObject(e,this)},proto.rpc.ManagerCreateUploadVideoRequest.toObject=function(e,t){var r={filepath:i.Message.getFieldWithDefault(t,1,""),title:i.Message.getFieldWithDefault(t,2,""),coverurl:i.Message.getFieldWithDefault(t,3,"")};return e&&(r.$jspbMessageInstance=t),r}),proto.rpc.ManagerCreateUploadVideoRequest.deserializeBinary=function(e){var t=new i.BinaryReader(e),r=new proto.rpc.ManagerCreateUploadVideoRequest;return proto.rpc.ManagerCreateUploadVideoRequest.deserializeBinaryFromReader(r,t)},proto.rpc.ManagerCreateUploadVideoRequest.deserializeBinaryFromReader=function(e,t){while(t.nextField()){if(t.isEndGroup())break;var r=t.getFieldNumber();switch(r){case 1:var i=t.readString();e.setFilepath(i);break;case 2:i=t.readString();e.setTitle(i);break;case 3:i=t.readString();e.setCoverurl(i);break;default:t.skipField();break}}return e},proto.rpc.ManagerCreateUploadVideoRequest.prototype.serializeBinary=function(){var e=new i.BinaryWriter;return proto.rpc.ManagerCreateUploadVideoRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.rpc.ManagerCreateUploadVideoRequest.serializeBinaryToWriter=function(e,t){var r=void 0;r=e.getFilepath(),r.length>0&&t.writeString(1,r),r=e.getTitle(),r.length>0&&t.writeString(2,r),r=e.getCoverurl(),r.length>0&&t.writeString(3,r)},proto.rpc.ManagerCreateUploadVideoRequest.prototype.getFilepath=function(){return i.Message.getFieldWithDefault(this,1,"")},proto.rpc.ManagerCreateUploadVideoRequest.prototype.setFilepath=function(e){return i.Message.setProto3StringField(this,1,e)},proto.rpc.ManagerCreateUploadVideoRequest.prototype.getTitle=function(){return i.Message.getFieldWithDefault(this,2,"")},proto.rpc.ManagerCreateUploadVideoRequest.prototype.setTitle=function(e){return i.Message.setProto3StringField(this,2,e)},proto.rpc.ManagerCreateUploadVideoRequest.prototype.getCoverurl=function(){return i.Message.getFieldWithDefault(this,3,"")},proto.rpc.ManagerCreateUploadVideoRequest.prototype.setCoverurl=function(e){return i.Message.setProto3StringField(this,3,e)},i.Message.GENERATE_TO_OBJECT&&(proto.rpc.ManagerCreateUploadImageRequest.prototype.toObject=function(e){return proto.rpc.ManagerCreateUploadImageRequest.toObject(e,this)},proto.rpc.ManagerCreateUploadImageRequest.toObject=function(e,t){var r={imageext:i.Message.getFieldWithDefault(t,1,"")};return e&&(r.$jspbMessageInstance=t),r}),proto.rpc.ManagerCreateUploadImageRequest.deserializeBinary=function(e){var t=new i.BinaryReader(e),r=new proto.rpc.ManagerCreateUploadImageRequest;return proto.rpc.ManagerCreateUploadImageRequest.deserializeBinaryFromReader(r,t)},proto.rpc.ManagerCreateUploadImageRequest.deserializeBinaryFromReader=function(e,t){while(t.nextField()){if(t.isEndGroup())break;var r=t.getFieldNumber();switch(r){case 1:var i=t.readString();e.setImageext(i);break;default:t.skipField();break}}return e},proto.rpc.ManagerCreateUploadImageRequest.prototype.serializeBinary=function(){var e=new i.BinaryWriter;return proto.rpc.ManagerCreateUploadImageRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.rpc.ManagerCreateUploadImageRequest.serializeBinaryToWriter=function(e,t){var r=void 0;r=e.getImageext(),r.length>0&&t.writeString(1,r)},proto.rpc.ManagerCreateUploadImageRequest.prototype.getImageext=function(){return i.Message.getFieldWithDefault(this,1,"")},proto.rpc.ManagerCreateUploadImageRequest.prototype.setImageext=function(e){return i.Message.setProto3StringField(this,1,e)},i.Message.GENERATE_TO_OBJECT&&(proto.rpc.ManagerCreateUploadImageReply.prototype.toObject=function(e){return proto.rpc.ManagerCreateUploadImageReply.toObject(e,this)},proto.rpc.ManagerCreateUploadImageReply.toObject=function(e,t){var r={uploadaddress:i.Message.getFieldWithDefault(t,1,""),requestid:i.Message.getFieldWithDefault(t,2,""),uploadauth:i.Message.getFieldWithDefault(t,3,""),imageid:i.Message.getFieldWithDefault(t,4,""),imageurl:i.Message.getFieldWithDefault(t,5,"")};return e&&(r.$jspbMessageInstance=t),r}),proto.rpc.ManagerCreateUploadImageReply.deserializeBinary=function(e){var t=new i.BinaryReader(e),r=new proto.rpc.ManagerCreateUploadImageReply;return proto.rpc.ManagerCreateUploadImageReply.deserializeBinaryFromReader(r,t)},proto.rpc.ManagerCreateUploadImageReply.deserializeBinaryFromReader=function(e,t){while(t.nextField()){if(t.isEndGroup())break;var r=t.getFieldNumber();switch(r){case 1:var i=t.readString();e.setUploadaddress(i);break;case 2:i=t.readString();e.setRequestid(i);break;case 3:i=t.readString();e.setUploadauth(i);break;case 4:i=t.readString();e.setImageid(i);break;case 5:i=t.readString();e.setImageurl(i);break;default:t.skipField();break}}return e},proto.rpc.ManagerCreateUploadImageReply.prototype.serializeBinary=function(){var e=new i.BinaryWriter;return proto.rpc.ManagerCreateUploadImageReply.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.rpc.ManagerCreateUploadImageReply.serializeBinaryToWriter=function(e,t){var r=void 0;r=e.getUploadaddress(),r.length>0&&t.writeString(1,r),r=e.getRequestid(),r.length>0&&t.writeString(2,r),r=e.getUploadauth(),r.length>0&&t.writeString(3,r),r=e.getImageid(),r.length>0&&t.writeString(4,r),r=e.getImageurl(),r.length>0&&t.writeString(5,r)},proto.rpc.ManagerCreateUploadImageReply.prototype.getUploadaddress=function(){return i.Message.getFieldWithDefault(this,1,"")},proto.rpc.ManagerCreateUploadImageReply.prototype.setUploadaddress=function(e){return i.Message.setProto3StringField(this,1,e)},proto.rpc.ManagerCreateUploadImageReply.prototype.getRequestid=function(){return i.Message.getFieldWithDefault(this,2,"")},proto.rpc.ManagerCreateUploadImageReply.prototype.setRequestid=function(e){return i.Message.setProto3StringField(this,2,e)},proto.rpc.ManagerCreateUploadImageReply.prototype.getUploadauth=function(){return i.Message.getFieldWithDefault(this,3,"")},proto.rpc.ManagerCreateUploadImageReply.prototype.setUploadauth=function(e){return i.Message.setProto3StringField(this,3,e)},proto.rpc.ManagerCreateUploadImageReply.prototype.getImageid=function(){return i.Message.getFieldWithDefault(this,4,"")},proto.rpc.ManagerCreateUploadImageReply.prototype.setImageid=function(e){return i.Message.setProto3StringField(this,4,e)},proto.rpc.ManagerCreateUploadImageReply.prototype.getImageurl=function(){return i.Message.getFieldWithDefault(this,5,"")},proto.rpc.ManagerCreateUploadImageReply.prototype.setImageurl=function(e){return i.Message.setProto3StringField(this,5,e)},i.Message.GENERATE_TO_OBJECT&&(proto.rpc.ManagerVideoInfoAddRequest.prototype.toObject=function(e){return proto.rpc.ManagerVideoInfoAddRequest.toObject(e,this)},proto.rpc.ManagerVideoInfoAddRequest.toObject=function(e,t){var r={title:i.Message.getFieldWithDefault(t,1,""),vtype:i.Message.getFieldWithDefault(t,2,0),vcidlist:i.Message.getFieldWithDefault(t,3,""),memo:i.Message.getFieldWithDefault(t,4,""),cal:i.Message.getFieldWithDefault(t,5,0),level:i.Message.getFieldWithDefault(t,6,0),tagidlist:i.Message.getFieldWithDefault(t,7,""),coverurl:i.Message.getFieldWithDefault(t,8,""),monitorlevel:i.Message.getFieldWithDefault(t,9,0)};return e&&(r.$jspbMessageInstance=t),r}),proto.rpc.ManagerVideoInfoAddRequest.deserializeBinary=function(e){var t=new i.BinaryReader(e),r=new proto.rpc.ManagerVideoInfoAddRequest;return proto.rpc.ManagerVideoInfoAddRequest.deserializeBinaryFromReader(r,t)},proto.rpc.ManagerVideoInfoAddRequest.deserializeBinaryFromReader=function(e,t){while(t.nextField()){if(t.isEndGroup())break;var r=t.getFieldNumber();switch(r){case 1:var i=t.readString();e.setTitle(i);break;case 2:i=t.readInt32();e.setVtype(i);break;case 3:i=t.readString();e.setVcidlist(i);break;case 4:i=t.readString();e.setMemo(i);break;case 5:i=t.readInt32();e.setCal(i);break;case 6:i=t.readInt32();e.setLevel(i);break;case 7:i=t.readString();e.setTagidlist(i);break;case 8:i=t.readString();e.setCoverurl(i);break;case 9:i=t.readInt32();e.setMonitorlevel(i);break;default:t.skipField();break}}return e},proto.rpc.ManagerVideoInfoAddRequest.prototype.serializeBinary=function(){var e=new i.BinaryWriter;return proto.rpc.ManagerVideoInfoAddRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.rpc.ManagerVideoInfoAddRequest.serializeBinaryToWriter=function(e,t){var r=void 0;r=e.getTitle(),r.length>0&&t.writeString(1,r),r=e.getVtype(),0!==r&&t.writeInt32(2,r),r=e.getVcidlist(),r.length>0&&t.writeString(3,r),r=e.getMemo(),r.length>0&&t.writeString(4,r),r=e.getCal(),0!==r&&t.writeInt32(5,r),r=e.getLevel(),0!==r&&t.writeInt32(6,r),r=e.getTagidlist(),r.length>0&&t.writeString(7,r),r=e.getCoverurl(),r.length>0&&t.writeString(8,r),r=e.getMonitorlevel(),0!==r&&t.writeInt32(9,r)},proto.rpc.ManagerVideoInfoAddRequest.prototype.getTitle=function(){return i.Message.getFieldWithDefault(this,1,"")},proto.rpc.ManagerVideoInfoAddRequest.prototype.setTitle=function(e){return i.Message.setProto3StringField(this,1,e)},proto.rpc.ManagerVideoInfoAddRequest.prototype.getVtype=function(){return i.Message.getFieldWithDefault(this,2,0)},proto.rpc.ManagerVideoInfoAddRequest.prototype.setVtype=function(e){return i.Message.setProto3IntField(this,2,e)},proto.rpc.ManagerVideoInfoAddRequest.prototype.getVcidlist=function(){return i.Message.getFieldWithDefault(this,3,"")},proto.rpc.ManagerVideoInfoAddRequest.prototype.setVcidlist=function(e){return i.Message.setProto3StringField(this,3,e)},proto.rpc.ManagerVideoInfoAddRequest.prototype.getMemo=function(){return i.Message.getFieldWithDefault(this,4,"")},proto.rpc.ManagerVideoInfoAddRequest.prototype.setMemo=function(e){return i.Message.setProto3StringField(this,4,e)},proto.rpc.ManagerVideoInfoAddRequest.prototype.getCal=function(){return i.Message.getFieldWithDefault(this,5,0)},proto.rpc.ManagerVideoInfoAddRequest.prototype.setCal=function(e){return i.Message.setProto3IntField(this,5,e)},proto.rpc.ManagerVideoInfoAddRequest.prototype.getLevel=function(){return i.Message.getFieldWithDefault(this,6,0)},proto.rpc.ManagerVideoInfoAddRequest.prototype.setLevel=function(e){return i.Message.setProto3IntField(this,6,e)},proto.rpc.ManagerVideoInfoAddRequest.prototype.getTagidlist=function(){return i.Message.getFieldWithDefault(this,7,"")},proto.rpc.ManagerVideoInfoAddRequest.prototype.setTagidlist=function(e){return i.Message.setProto3StringField(this,7,e)},proto.rpc.ManagerVideoInfoAddRequest.prototype.getCoverurl=function(){return i.Message.getFieldWithDefault(this,8,"")},proto.rpc.ManagerVideoInfoAddRequest.prototype.setCoverurl=function(e){return i.Message.setProto3StringField(this,8,e)},proto.rpc.ManagerVideoInfoAddRequest.prototype.getMonitorlevel=function(){return i.Message.getFieldWithDefault(this,9,0)},proto.rpc.ManagerVideoInfoAddRequest.prototype.setMonitorlevel=function(e){return i.Message.setProto3IntField(this,9,e)},i.Message.GENERATE_TO_OBJECT&&(proto.rpc.ManagerVideoInfoEditRequest.prototype.toObject=function(e){return proto.rpc.ManagerVideoInfoEditRequest.toObject(e,this)},proto.rpc.ManagerVideoInfoEditRequest.toObject=function(e,t){var r={videoid:i.Message.getFieldWithDefault(t,1,0),title:i.Message.getFieldWithDefault(t,2,""),vtype:i.Message.getFieldWithDefault(t,3,0),vcidlist:i.Message.getFieldWithDefault(t,4,""),memo:i.Message.getFieldWithDefault(t,5,""),cal:i.Message.getFieldWithDefault(t,6,0),level:i.Message.getFieldWithDefault(t,7,0),tagidlist:i.Message.getFieldWithDefault(t,8,""),coverurl:i.Message.getFieldWithDefault(t,9,""),monitorlevel:i.Message.getFieldWithDefault(t,10,0)};return e&&(r.$jspbMessageInstance=t),r}),proto.rpc.ManagerVideoInfoEditRequest.deserializeBinary=function(e){var t=new i.BinaryReader(e),r=new proto.rpc.ManagerVideoInfoEditRequest;return proto.rpc.ManagerVideoInfoEditRequest.deserializeBinaryFromReader(r,t)},proto.rpc.ManagerVideoInfoEditRequest.deserializeBinaryFromReader=function(e,t){while(t.nextField()){if(t.isEndGroup())break;var r=t.getFieldNumber();switch(r){case 1:var i=t.readInt32();e.setVideoid(i);break;case 2:i=t.readString();e.setTitle(i);break;case 3:i=t.readInt32();e.setVtype(i);break;case 4:i=t.readString();e.setVcidlist(i);break;case 5:i=t.readString();e.setMemo(i);break;case 6:i=t.readInt32();e.setCal(i);break;case 7:i=t.readInt32();e.setLevel(i);break;case 8:i=t.readString();e.setTagidlist(i);break;case 9:i=t.readString();e.setCoverurl(i);break;case 10:i=t.readInt32();e.setMonitorlevel(i);break;default:t.skipField();break}}return e},proto.rpc.ManagerVideoInfoEditRequest.prototype.serializeBinary=function(){var e=new i.BinaryWriter;return proto.rpc.ManagerVideoInfoEditRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.rpc.ManagerVideoInfoEditRequest.serializeBinaryToWriter=function(e,t){var r=void 0;r=e.getVideoid(),0!==r&&t.writeInt32(1,r),r=e.getTitle(),r.length>0&&t.writeString(2,r),r=e.getVtype(),0!==r&&t.writeInt32(3,r),r=e.getVcidlist(),r.length>0&&t.writeString(4,r),r=e.getMemo(),r.length>0&&t.writeString(5,r),r=e.getCal(),0!==r&&t.writeInt32(6,r),r=e.getLevel(),0!==r&&t.writeInt32(7,r),r=e.getTagidlist(),r.length>0&&t.writeString(8,r),r=e.getCoverurl(),r.length>0&&t.writeString(9,r),r=e.getMonitorlevel(),0!==r&&t.writeInt32(10,r)},proto.rpc.ManagerVideoInfoEditRequest.prototype.getVideoid=function(){return i.Message.getFieldWithDefault(this,1,0)},proto.rpc.ManagerVideoInfoEditRequest.prototype.setVideoid=function(e){return i.Message.setProto3IntField(this,1,e)},proto.rpc.ManagerVideoInfoEditRequest.prototype.getTitle=function(){return i.Message.getFieldWithDefault(this,2,"")},proto.rpc.ManagerVideoInfoEditRequest.prototype.setTitle=function(e){return i.Message.setProto3StringField(this,2,e)},proto.rpc.ManagerVideoInfoEditRequest.prototype.getVtype=function(){return i.Message.getFieldWithDefault(this,3,0)},proto.rpc.ManagerVideoInfoEditRequest.prototype.setVtype=function(e){return i.Message.setProto3IntField(this,3,e)},proto.rpc.ManagerVideoInfoEditRequest.prototype.getVcidlist=function(){return i.Message.getFieldWithDefault(this,4,"")},proto.rpc.ManagerVideoInfoEditRequest.prototype.setVcidlist=function(e){return i.Message.setProto3StringField(this,4,e)},proto.rpc.ManagerVideoInfoEditRequest.prototype.getMemo=function(){return i.Message.getFieldWithDefault(this,5,"")},proto.rpc.ManagerVideoInfoEditRequest.prototype.setMemo=function(e){return i.Message.setProto3StringField(this,5,e)},proto.rpc.ManagerVideoInfoEditRequest.prototype.getCal=function(){return i.Message.getFieldWithDefault(this,6,0)},proto.rpc.ManagerVideoInfoEditRequest.prototype.setCal=function(e){return i.Message.setProto3IntField(this,6,e)},proto.rpc.ManagerVideoInfoEditRequest.prototype.getLevel=function(){return i.Message.getFieldWithDefault(this,7,0)},proto.rpc.ManagerVideoInfoEditRequest.prototype.setLevel=function(e){return i.Message.setProto3IntField(this,7,e)},proto.rpc.ManagerVideoInfoEditRequest.prototype.getTagidlist=function(){return i.Message.getFieldWithDefault(this,8,"")},proto.rpc.ManagerVideoInfoEditRequest.prototype.setTagidlist=function(e){return i.Message.setProto3StringField(this,8,e)},proto.rpc.ManagerVideoInfoEditRequest.prototype.getCoverurl=function(){return i.Message.getFieldWithDefault(this,9,"")},proto.rpc.ManagerVideoInfoEditRequest.prototype.setCoverurl=function(e){return i.Message.setProto3StringField(this,9,e)},proto.rpc.ManagerVideoInfoEditRequest.prototype.getMonitorlevel=function(){return i.Message.getFieldWithDefault(this,10,0)},proto.rpc.ManagerVideoInfoEditRequest.prototype.setMonitorlevel=function(e){return i.Message.setProto3IntField(this,10,e)},i.Message.GENERATE_TO_OBJECT&&(proto.rpc.ManagerRefreshUploadVideoRequest.prototype.toObject=function(e){return proto.rpc.ManagerRefreshUploadVideoRequest.toObject(e,this)},proto.rpc.ManagerRefreshUploadVideoRequest.toObject=function(e,t){var r={alivid:i.Message.getFieldWithDefault(t,1,"")};return e&&(r.$jspbMessageInstance=t),r}),proto.rpc.ManagerRefreshUploadVideoRequest.deserializeBinary=function(e){var t=new i.BinaryReader(e),r=new proto.rpc.ManagerRefreshUploadVideoRequest;return proto.rpc.ManagerRefreshUploadVideoRequest.deserializeBinaryFromReader(r,t)},proto.rpc.ManagerRefreshUploadVideoRequest.deserializeBinaryFromReader=function(e,t){while(t.nextField()){if(t.isEndGroup())break;var r=t.getFieldNumber();switch(r){case 1:var i=t.readString();e.setAlivid(i);break;default:t.skipField();break}}return e},proto.rpc.ManagerRefreshUploadVideoRequest.prototype.serializeBinary=function(){var e=new i.BinaryWriter;return proto.rpc.ManagerRefreshUploadVideoRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.rpc.ManagerRefreshUploadVideoRequest.serializeBinaryToWriter=function(e,t){var r=void 0;r=e.getAlivid(),r.length>0&&t.writeString(1,r)},proto.rpc.ManagerRefreshUploadVideoRequest.prototype.getAlivid=function(){return i.Message.getFieldWithDefault(this,1,"")},proto.rpc.ManagerRefreshUploadVideoRequest.prototype.setAlivid=function(e){return i.Message.setProto3StringField(this,1,e)},i.Message.GENERATE_TO_OBJECT&&(proto.rpc.ManagerCreatePlayVideoRequest.prototype.toObject=function(e){return proto.rpc.ManagerCreatePlayVideoRequest.toObject(e,this)},proto.rpc.ManagerCreatePlayVideoRequest.toObject=function(e,t){var r={alivid:i.Message.getFieldWithDefault(t,1,"")};return e&&(r.$jspbMessageInstance=t),r}),proto.rpc.ManagerCreatePlayVideoRequest.deserializeBinary=function(e){var t=new i.BinaryReader(e),r=new proto.rpc.ManagerCreatePlayVideoRequest;return proto.rpc.ManagerCreatePlayVideoRequest.deserializeBinaryFromReader(r,t)},proto.rpc.ManagerCreatePlayVideoRequest.deserializeBinaryFromReader=function(e,t){while(t.nextField()){if(t.isEndGroup())break;var r=t.getFieldNumber();switch(r){case 1:var i=t.readString();e.setAlivid(i);break;default:t.skipField();break}}return e},proto.rpc.ManagerCreatePlayVideoRequest.prototype.serializeBinary=function(){var e=new i.BinaryWriter;return proto.rpc.ManagerCreatePlayVideoRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.rpc.ManagerCreatePlayVideoRequest.serializeBinaryToWriter=function(e,t){var r=void 0;r=e.getAlivid(),r.length>0&&t.writeString(1,r)},proto.rpc.ManagerCreatePlayVideoRequest.prototype.getAlivid=function(){return i.Message.getFieldWithDefault(this,1,"")},proto.rpc.ManagerCreatePlayVideoRequest.prototype.setAlivid=function(e){return i.Message.setProto3StringField(this,1,e)},i.Message.GENERATE_TO_OBJECT&&(proto.rpc.ManagerVideoInfoUploadFinishRequest.prototype.toObject=function(e){return proto.rpc.ManagerVideoInfoUploadFinishRequest.toObject(e,this)},proto.rpc.ManagerVideoInfoUploadFinishRequest.toObject=function(e,t){var r={alivid:i.Message.getFieldWithDefault(t,1,""),videoid:i.Message.getFieldWithDefault(t,2,0),vstate:i.Message.getFieldWithDefault(t,3,0)};return e&&(r.$jspbMessageInstance=t),r}),proto.rpc.ManagerVideoInfoUploadFinishRequest.deserializeBinary=function(e){var t=new i.BinaryReader(e),r=new proto.rpc.ManagerVideoInfoUploadFinishRequest;return proto.rpc.ManagerVideoInfoUploadFinishRequest.deserializeBinaryFromReader(r,t)},proto.rpc.ManagerVideoInfoUploadFinishRequest.deserializeBinaryFromReader=function(e,t){while(t.nextField()){if(t.isEndGroup())break;var r=t.getFieldNumber();switch(r){case 1:var i=t.readString();e.setAlivid(i);break;case 2:i=t.readInt32();e.setVideoid(i);break;case 3:i=t.readInt32();e.setVstate(i);break;default:t.skipField();break}}return e},proto.rpc.ManagerVideoInfoUploadFinishRequest.prototype.serializeBinary=function(){var e=new i.BinaryWriter;return proto.rpc.ManagerVideoInfoUploadFinishRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.rpc.ManagerVideoInfoUploadFinishRequest.serializeBinaryToWriter=function(e,t){var r=void 0;r=e.getAlivid(),r.length>0&&t.writeString(1,r),r=e.getVideoid(),0!==r&&t.writeInt32(2,r),r=e.getVstate(),0!==r&&t.writeInt32(3,r)},proto.rpc.ManagerVideoInfoUploadFinishRequest.prototype.getAlivid=function(){return i.Message.getFieldWithDefault(this,1,"")},proto.rpc.ManagerVideoInfoUploadFinishRequest.prototype.setAlivid=function(e){return i.Message.setProto3StringField(this,1,e)},proto.rpc.ManagerVideoInfoUploadFinishRequest.prototype.getVideoid=function(){return i.Message.getFieldWithDefault(this,2,0)},proto.rpc.ManagerVideoInfoUploadFinishRequest.prototype.setVideoid=function(e){return i.Message.setProto3IntField(this,2,e)},proto.rpc.ManagerVideoInfoUploadFinishRequest.prototype.getVstate=function(){return i.Message.getFieldWithDefault(this,3,0)},proto.rpc.ManagerVideoInfoUploadFinishRequest.prototype.setVstate=function(e){return i.Message.setProto3IntField(this,3,e)},i.Message.GENERATE_TO_OBJECT&&(proto.rpc.ManagerCreateUploadVideoReply.prototype.toObject=function(e){return proto.rpc.ManagerCreateUploadVideoReply.toObject(e,this)},proto.rpc.ManagerCreateUploadVideoReply.toObject=function(e,t){var r={uploadaddress:i.Message.getFieldWithDefault(t,1,""),alivid:i.Message.getFieldWithDefault(t,2,""),uploadauth:i.Message.getFieldWithDefault(t,3,"")};return e&&(r.$jspbMessageInstance=t),r}),proto.rpc.ManagerCreateUploadVideoReply.deserializeBinary=function(e){var t=new i.BinaryReader(e),r=new proto.rpc.ManagerCreateUploadVideoReply;return proto.rpc.ManagerCreateUploadVideoReply.deserializeBinaryFromReader(r,t)},proto.rpc.ManagerCreateUploadVideoReply.deserializeBinaryFromReader=function(e,t){while(t.nextField()){if(t.isEndGroup())break;var r=t.getFieldNumber();switch(r){case 1:var i=t.readString();e.setUploadaddress(i);break;case 2:i=t.readString();e.setAlivid(i);break;case 3:i=t.readString();e.setUploadauth(i);break;default:t.skipField();break}}return e},proto.rpc.ManagerCreateUploadVideoReply.prototype.serializeBinary=function(){var e=new i.BinaryWriter;return proto.rpc.ManagerCreateUploadVideoReply.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.rpc.ManagerCreateUploadVideoReply.serializeBinaryToWriter=function(e,t){var r=void 0;r=e.getUploadaddress(),r.length>0&&t.writeString(1,r),r=e.getAlivid(),r.length>0&&t.writeString(2,r),r=e.getUploadauth(),r.length>0&&t.writeString(3,r)},proto.rpc.ManagerCreateUploadVideoReply.prototype.getUploadaddress=function(){return i.Message.getFieldWithDefault(this,1,"")},proto.rpc.ManagerCreateUploadVideoReply.prototype.setUploadaddress=function(e){return i.Message.setProto3StringField(this,1,e)},proto.rpc.ManagerCreateUploadVideoReply.prototype.getAlivid=function(){return i.Message.getFieldWithDefault(this,2,"")},proto.rpc.ManagerCreateUploadVideoReply.prototype.setAlivid=function(e){return i.Message.setProto3StringField(this,2,e)},proto.rpc.ManagerCreateUploadVideoReply.prototype.getUploadauth=function(){return i.Message.getFieldWithDefault(this,3,"")},proto.rpc.ManagerCreateUploadVideoReply.prototype.setUploadauth=function(e){return i.Message.setProto3StringField(this,3,e)},i.Message.GENERATE_TO_OBJECT&&(proto.rpc.SignUpRequest.prototype.toObject=function(e){return proto.rpc.SignUpRequest.toObject(e,this)},proto.rpc.SignUpRequest.toObject=function(e,t){var r={name:i.Message.getFieldWithDefault(t,1,""),password:i.Message.getFieldWithDefault(t,2,""),usertype:i.Message.getFieldWithDefault(t,3,0),deviceid:i.Message.getFieldWithDefault(t,4,"")};return e&&(r.$jspbMessageInstance=t),r}),proto.rpc.SignUpRequest.deserializeBinary=function(e){var t=new i.BinaryReader(e),r=new proto.rpc.SignUpRequest;return proto.rpc.SignUpRequest.deserializeBinaryFromReader(r,t)},proto.rpc.SignUpRequest.deserializeBinaryFromReader=function(e,t){while(t.nextField()){if(t.isEndGroup())break;var r=t.getFieldNumber();switch(r){case 1:var i=t.readString();e.setName(i);break;case 2:i=t.readString();e.setPassword(i);break;case 3:i=t.readEnum();e.setUsertype(i);break;case 4:i=t.readString();e.setDeviceid(i);break;default:t.skipField();break}}return e},proto.rpc.SignUpRequest.prototype.serializeBinary=function(){var e=new i.BinaryWriter;return proto.rpc.SignUpRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.rpc.SignUpRequest.serializeBinaryToWriter=function(e,t){var r=void 0;r=e.getName(),r.length>0&&t.writeString(1,r),r=e.getPassword(),r.length>0&&t.writeString(2,r),r=e.getUsertype(),0!==r&&t.writeEnum(3,r),r=e.getDeviceid(),r.length>0&&t.writeString(4,r)},proto.rpc.SignUpRequest.prototype.getName=function(){return i.Message.getFieldWithDefault(this,1,"")},proto.rpc.SignUpRequest.prototype.setName=function(e){return i.Message.setProto3StringField(this,1,e)},proto.rpc.SignUpRequest.prototype.getPassword=function(){return i.Message.getFieldWithDefault(this,2,"")},proto.rpc.SignUpRequest.prototype.setPassword=function(e){return i.Message.setProto3StringField(this,2,e)},proto.rpc.SignUpRequest.prototype.getUsertype=function(){return i.Message.getFieldWithDefault(this,3,0)},proto.rpc.SignUpRequest.prototype.setUsertype=function(e){return i.Message.setProto3EnumField(this,3,e)},proto.rpc.SignUpRequest.prototype.getDeviceid=function(){return i.Message.getFieldWithDefault(this,4,"")},proto.rpc.SignUpRequest.prototype.setDeviceid=function(e){return i.Message.setProto3StringField(this,4,e)},i.Message.GENERATE_TO_OBJECT&&(proto.rpc.TvQrSignRequest.prototype.toObject=function(e){return proto.rpc.TvQrSignRequest.toObject(e,this)},proto.rpc.TvQrSignRequest.toObject=function(e,t){var r={qrcode:i.Message.getFieldWithDefault(t,1,"")};return e&&(r.$jspbMessageInstance=t),r}),proto.rpc.TvQrSignRequest.deserializeBinary=function(e){var t=new i.BinaryReader(e),r=new proto.rpc.TvQrSignRequest;return proto.rpc.TvQrSignRequest.deserializeBinaryFromReader(r,t)},proto.rpc.TvQrSignRequest.deserializeBinaryFromReader=function(e,t){while(t.nextField()){if(t.isEndGroup())break;var r=t.getFieldNumber();switch(r){case 1:var i=t.readString();e.setQrcode(i);break;default:t.skipField();break}}return e},proto.rpc.TvQrSignRequest.prototype.serializeBinary=function(){var e=new i.BinaryWriter;return proto.rpc.TvQrSignRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.rpc.TvQrSignRequest.serializeBinaryToWriter=function(e,t){var r=void 0;r=e.getQrcode(),r.length>0&&t.writeString(1,r)},proto.rpc.TvQrSignRequest.prototype.getQrcode=function(){return i.Message.getFieldWithDefault(this,1,"")},proto.rpc.TvQrSignRequest.prototype.setQrcode=function(e){return i.Message.setProto3StringField(this,1,e)},i.Message.GENERATE_TO_OBJECT&&(proto.rpc.TvQrSignReply.prototype.toObject=function(e){return proto.rpc.TvQrSignReply.toObject(e,this)},proto.rpc.TvQrSignReply.toObject=function(e,t){var r={token:i.Message.getFieldWithDefault(t,1,"")};return e&&(r.$jspbMessageInstance=t),r}),proto.rpc.TvQrSignReply.deserializeBinary=function(e){var t=new i.BinaryReader(e),r=new proto.rpc.TvQrSignReply;return proto.rpc.TvQrSignReply.deserializeBinaryFromReader(r,t)},proto.rpc.TvQrSignReply.deserializeBinaryFromReader=function(e,t){while(t.nextField()){if(t.isEndGroup())break;var r=t.getFieldNumber();switch(r){case 1:var i=t.readString();e.setToken(i);break;default:t.skipField();break}}return e},proto.rpc.TvQrSignReply.prototype.serializeBinary=function(){var e=new i.BinaryWriter;return proto.rpc.TvQrSignReply.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.rpc.TvQrSignReply.serializeBinaryToWriter=function(e,t){var r=void 0;r=e.getToken(),r.length>0&&t.writeString(1,r)},proto.rpc.TvQrSignReply.prototype.getToken=function(){return i.Message.getFieldWithDefault(this,1,"")},proto.rpc.TvQrSignReply.prototype.setToken=function(e){return i.Message.setProto3StringField(this,1,e)},i.Message.GENERATE_TO_OBJECT&&(proto.rpc.GetScanQrSignInRequest.prototype.toObject=function(e){return proto.rpc.GetScanQrSignInRequest.toObject(e,this)},proto.rpc.GetScanQrSignInRequest.toObject=function(e,t){var r={qrcode:i.Message.getFieldWithDefault(t,1,"")};return e&&(r.$jspbMessageInstance=t),r}),proto.rpc.GetScanQrSignInRequest.deserializeBinary=function(e){var t=new i.BinaryReader(e),r=new proto.rpc.GetScanQrSignInRequest;return proto.rpc.GetScanQrSignInRequest.deserializeBinaryFromReader(r,t)},proto.rpc.GetScanQrSignInRequest.deserializeBinaryFromReader=function(e,t){while(t.nextField()){if(t.isEndGroup())break;var r=t.getFieldNumber();switch(r){case 1:var i=t.readString();e.setQrcode(i);break;default:t.skipField();break}}return e},proto.rpc.GetScanQrSignInRequest.prototype.serializeBinary=function(){var e=new i.BinaryWriter;return proto.rpc.GetScanQrSignInRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.rpc.GetScanQrSignInRequest.serializeBinaryToWriter=function(e,t){var r=void 0;r=e.getQrcode(),r.length>0&&t.writeString(1,r)},proto.rpc.GetScanQrSignInRequest.prototype.getQrcode=function(){return i.Message.getFieldWithDefault(this,1,"")},proto.rpc.GetScanQrSignInRequest.prototype.setQrcode=function(e){return i.Message.setProto3StringField(this,1,e)},i.Message.GENERATE_TO_OBJECT&&(proto.rpc.SignInReply.prototype.toObject=function(e){return proto.rpc.SignInReply.toObject(e,this)},proto.rpc.SignInReply.toObject=function(e,t){var r={token:i.Message.getFieldWithDefault(t,1,""),usertype:i.Message.getFieldWithDefault(t,3,0),iscomplete:i.Message.getFieldWithDefault(t,4,0)};return e&&(r.$jspbMessageInstance=t),r}),proto.rpc.SignInReply.deserializeBinary=function(e){var t=new i.BinaryReader(e),r=new proto.rpc.SignInReply;return proto.rpc.SignInReply.deserializeBinaryFromReader(r,t)},proto.rpc.SignInReply.deserializeBinaryFromReader=function(e,t){while(t.nextField()){if(t.isEndGroup())break;var r=t.getFieldNumber();switch(r){case 1:var i=t.readString();e.setToken(i);break;case 3:i=t.readEnum();e.setUsertype(i);break;case 4:i=t.readInt32();e.setIscomplete(i);break;default:t.skipField();break}}return e},proto.rpc.SignInReply.prototype.serializeBinary=function(){var e=new i.BinaryWriter;return proto.rpc.SignInReply.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.rpc.SignInReply.serializeBinaryToWriter=function(e,t){var r=void 0;r=e.getToken(),r.length>0&&t.writeString(1,r),r=e.getUsertype(),0!==r&&t.writeEnum(3,r),r=e.getIscomplete(),0!==r&&t.writeInt32(4,r)},proto.rpc.SignInReply.prototype.getToken=function(){return i.Message.getFieldWithDefault(this,1,"")},proto.rpc.SignInReply.prototype.setToken=function(e){return i.Message.setProto3StringField(this,1,e)},proto.rpc.SignInReply.prototype.getUsertype=function(){return i.Message.getFieldWithDefault(this,3,0)},proto.rpc.SignInReply.prototype.setUsertype=function(e){return i.Message.setProto3EnumField(this,3,e)},proto.rpc.SignInReply.prototype.getIscomplete=function(){return i.Message.getFieldWithDefault(this,4,0)},proto.rpc.SignInReply.prototype.setIscomplete=function(e){return i.Message.setProto3IntField(this,4,e)},i.Message.GENERATE_TO_OBJECT&&(proto.rpc.ManagerSignInReply.prototype.toObject=function(e){return proto.rpc.ManagerSignInReply.toObject(e,this)},proto.rpc.ManagerSignInReply.toObject=function(e,t){var r={token:i.Message.getFieldWithDefault(t,1,"")};return e&&(r.$jspbMessageInstance=t),r}),proto.rpc.ManagerSignInReply.deserializeBinary=function(e){var t=new i.BinaryReader(e),r=new proto.rpc.ManagerSignInReply;return proto.rpc.ManagerSignInReply.deserializeBinaryFromReader(r,t)},proto.rpc.ManagerSignInReply.deserializeBinaryFromReader=function(e,t){while(t.nextField()){if(t.isEndGroup())break;var r=t.getFieldNumber();switch(r){case 1:var i=t.readString();e.setToken(i);break;default:t.skipField();break}}return e},proto.rpc.ManagerSignInReply.prototype.serializeBinary=function(){var e=new i.BinaryWriter;return proto.rpc.ManagerSignInReply.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.rpc.ManagerSignInReply.serializeBinaryToWriter=function(e,t){var r=void 0;r=e.getToken(),r.length>0&&t.writeString(1,r)},proto.rpc.ManagerSignInReply.prototype.getToken=function(){return i.Message.getFieldWithDefault(this,1,"")},proto.rpc.ManagerSignInReply.prototype.setToken=function(e){return i.Message.setProto3StringField(this,1,e)},i.Message.GENERATE_TO_OBJECT&&(proto.rpc.SignInRequest.prototype.toObject=function(e){return proto.rpc.SignInRequest.toObject(e,this)},proto.rpc.SignInRequest.toObject=function(e,t){var r={name:i.Message.getFieldWithDefault(t,1,""),password:i.Message.getFieldWithDefault(t,2,""),deviceid:i.Message.getFieldWithDefault(t,3,"")};return e&&(r.$jspbMessageInstance=t),r}),proto.rpc.SignInRequest.deserializeBinary=function(e){var t=new i.BinaryReader(e),r=new proto.rpc.SignInRequest;return proto.rpc.SignInRequest.deserializeBinaryFromReader(r,t)},proto.rpc.SignInRequest.deserializeBinaryFromReader=function(e,t){while(t.nextField()){if(t.isEndGroup())break;var r=t.getFieldNumber();switch(r){case 1:var i=t.readString();e.setName(i);break;case 2:i=t.readString();e.setPassword(i);break;case 3:i=t.readString();e.setDeviceid(i);break;default:t.skipField();break}}return e},proto.rpc.SignInRequest.prototype.serializeBinary=function(){var e=new i.BinaryWriter;return proto.rpc.SignInRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.rpc.SignInRequest.serializeBinaryToWriter=function(e,t){var r=void 0;r=e.getName(),r.length>0&&t.writeString(1,r),r=e.getPassword(),r.length>0&&t.writeString(2,r),r=e.getDeviceid(),r.length>0&&t.writeString(3,r)},proto.rpc.SignInRequest.prototype.getName=function(){return i.Message.getFieldWithDefault(this,1,"")},proto.rpc.SignInRequest.prototype.setName=function(e){return i.Message.setProto3StringField(this,1,e)},proto.rpc.SignInRequest.prototype.getPassword=function(){return i.Message.getFieldWithDefault(this,2,"")},proto.rpc.SignInRequest.prototype.setPassword=function(e){return i.Message.setProto3StringField(this,2,e)},proto.rpc.SignInRequest.prototype.getDeviceid=function(){return i.Message.getFieldWithDefault(this,3,"")},proto.rpc.SignInRequest.prototype.setDeviceid=function(e){return i.Message.setProto3StringField(this,3,e)},i.Message.GENERATE_TO_OBJECT&&(proto.rpc.TvSignInRequest.prototype.toObject=function(e){return proto.rpc.TvSignInRequest.toObject(e,this)},proto.rpc.TvSignInRequest.toObject=function(e,t){var r={name:i.Message.getFieldWithDefault(t,1,""),password:i.Message.getFieldWithDefault(t,2,""),deviceid:i.Message.getFieldWithDefault(t,3,"")};return e&&(r.$jspbMessageInstance=t),r}),proto.rpc.TvSignInRequest.deserializeBinary=function(e){var t=new i.BinaryReader(e),r=new proto.rpc.TvSignInRequest;return proto.rpc.TvSignInRequest.deserializeBinaryFromReader(r,t)},proto.rpc.TvSignInRequest.deserializeBinaryFromReader=function(e,t){while(t.nextField()){if(t.isEndGroup())break;var r=t.getFieldNumber();switch(r){case 1:var i=t.readString();e.setName(i);break;case 2:i=t.readString();e.setPassword(i);break;case 3:i=t.readString();e.setDeviceid(i);break;default:t.skipField();break}}return e},proto.rpc.TvSignInRequest.prototype.serializeBinary=function(){var e=new i.BinaryWriter;return proto.rpc.TvSignInRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.rpc.TvSignInRequest.serializeBinaryToWriter=function(e,t){var r=void 0;r=e.getName(),r.length>0&&t.writeString(1,r),r=e.getPassword(),r.length>0&&t.writeString(2,r),r=e.getDeviceid(),r.length>0&&t.writeString(3,r)},proto.rpc.TvSignInRequest.prototype.getName=function(){return i.Message.getFieldWithDefault(this,1,"")},proto.rpc.TvSignInRequest.prototype.setName=function(e){return i.Message.setProto3StringField(this,1,e)},proto.rpc.TvSignInRequest.prototype.getPassword=function(){return i.Message.getFieldWithDefault(this,2,"")},proto.rpc.TvSignInRequest.prototype.setPassword=function(e){return i.Message.setProto3StringField(this,2,e)},proto.rpc.TvSignInRequest.prototype.getDeviceid=function(){return i.Message.getFieldWithDefault(this,3,"")},proto.rpc.TvSignInRequest.prototype.setDeviceid=function(e){return i.Message.setProto3StringField(this,3,e)},i.Message.GENERATE_TO_OBJECT&&(proto.rpc.ManagerSignInRequest.prototype.toObject=function(e){return proto.rpc.ManagerSignInRequest.toObject(e,this)},proto.rpc.ManagerSignInRequest.toObject=function(e,t){var r={usercode:i.Message.getFieldWithDefault(t,1,""),password:i.Message.getFieldWithDefault(t,2,""),ip:i.Message.getFieldWithDefault(t,3,""),picid:i.Message.getFieldWithDefault(t,4,""),piccode:i.Message.getFieldWithDefault(t,5,"")};return e&&(r.$jspbMessageInstance=t),r}),proto.rpc.ManagerSignInRequest.deserializeBinary=function(e){var t=new i.BinaryReader(e),r=new proto.rpc.ManagerSignInRequest;return proto.rpc.ManagerSignInRequest.deserializeBinaryFromReader(r,t)},proto.rpc.ManagerSignInRequest.deserializeBinaryFromReader=function(e,t){while(t.nextField()){if(t.isEndGroup())break;var r=t.getFieldNumber();switch(r){case 1:var i=t.readString();e.setUsercode(i);break;case 2:i=t.readString();e.setPassword(i);break;case 3:i=t.readString();e.setIp(i);break;case 4:i=t.readString();e.setPicid(i);break;case 5:i=t.readString();e.setPiccode(i);break;default:t.skipField();break}}return e},proto.rpc.ManagerSignInRequest.prototype.serializeBinary=function(){var e=new i.BinaryWriter;return proto.rpc.ManagerSignInRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.rpc.ManagerSignInRequest.serializeBinaryToWriter=function(e,t){var r=void 0;r=e.getUsercode(),r.length>0&&t.writeString(1,r),r=e.getPassword(),r.length>0&&t.writeString(2,r),r=e.getIp(),r.length>0&&t.writeString(3,r),r=e.getPicid(),r.length>0&&t.writeString(4,r),r=e.getPiccode(),r.length>0&&t.writeString(5,r)},proto.rpc.ManagerSignInRequest.prototype.getUsercode=function(){return i.Message.getFieldWithDefault(this,1,"")},proto.rpc.ManagerSignInRequest.prototype.setUsercode=function(e){return i.Message.setProto3StringField(this,1,e)},proto.rpc.ManagerSignInRequest.prototype.getPassword=function(){return i.Message.getFieldWithDefault(this,2,"")},proto.rpc.ManagerSignInRequest.prototype.setPassword=function(e){return i.Message.setProto3StringField(this,2,e)},proto.rpc.ManagerSignInRequest.prototype.getIp=function(){return i.Message.getFieldWithDefault(this,3,"")},proto.rpc.ManagerSignInRequest.prototype.setIp=function(e){return i.Message.setProto3StringField(this,3,e)},proto.rpc.ManagerSignInRequest.prototype.getPicid=function(){return i.Message.getFieldWithDefault(this,4,"")},proto.rpc.ManagerSignInRequest.prototype.setPicid=function(e){return i.Message.setProto3StringField(this,4,e)},proto.rpc.ManagerSignInRequest.prototype.getPiccode=function(){return i.Message.getFieldWithDefault(this,5,"")},proto.rpc.ManagerSignInRequest.prototype.setPiccode=function(e){return i.Message.setProto3StringField(this,5,e)},i.Message.GENERATE_TO_OBJECT&&(proto.rpc.SignOutRequest.prototype.toObject=function(e){return proto.rpc.SignOutRequest.toObject(e,this)},proto.rpc.SignOutRequest.toObject=function(e,t){var r={name:i.Message.getFieldWithDefault(t,1,"")};return e&&(r.$jspbMessageInstance=t),r}),proto.rpc.SignOutRequest.deserializeBinary=function(e){var t=new i.BinaryReader(e),r=new proto.rpc.SignOutRequest;return proto.rpc.SignOutRequest.deserializeBinaryFromReader(r,t)},proto.rpc.SignOutRequest.deserializeBinaryFromReader=function(e,t){while(t.nextField()){if(t.isEndGroup())break;var r=t.getFieldNumber();switch(r){case 1:var i=t.readString();e.setName(i);break;default:t.skipField();break}}return e},proto.rpc.SignOutRequest.prototype.serializeBinary=function(){var e=new i.BinaryWriter;return proto.rpc.SignOutRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.rpc.SignOutRequest.serializeBinaryToWriter=function(e,t){var r=void 0;r=e.getName(),r.length>0&&t.writeString(1,r)},proto.rpc.SignOutRequest.prototype.getName=function(){return i.Message.getFieldWithDefault(this,1,"")},proto.rpc.SignOutRequest.prototype.setName=function(e){return i.Message.setProto3StringField(this,1,e)},i.Message.GENERATE_TO_OBJECT&&(proto.rpc.User.prototype.toObject=function(e){return proto.rpc.User.toObject(e,this)},proto.rpc.User.toObject=function(e,t){var r={};return e&&(r.$jspbMessageInstance=t),r}),proto.rpc.User.deserializeBinary=function(e){var t=new i.BinaryReader(e),r=new proto.rpc.User;return proto.rpc.User.deserializeBinaryFromReader(r,t)},proto.rpc.User.deserializeBinaryFromReader=function(e,t){while(t.nextField()){if(t.isEndGroup())break;var r=t.getFieldNumber();switch(r){default:t.skipField();break}}return e},proto.rpc.User.prototype.serializeBinary=function(){var e=new i.BinaryWriter;return proto.rpc.User.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.rpc.User.serializeBinaryToWriter=function(e,t){},proto.rpc.User.Sex={UNDEFINE:0,MALE:1,FEMALE:2},i.Message.GENERATE_TO_OBJECT&&(proto.rpc.UserInfoMainReply.prototype.toObject=function(e){return proto.rpc.UserInfoMainReply.toObject(e,this)},proto.rpc.UserInfoMainReply.toObject=function(e,t){var r={name:i.Message.getFieldWithDefault(t,1,""),imageurl:i.Message.getFieldWithDefault(t,2,""),sex:i.Message.getFieldWithDefault(t,3,0),height:i.Message.getFieldWithDefault(t,4,0),weight:i.Message.getFieldWithDefault(t,5,0),age:i.Message.getFieldWithDefault(t,6,0),mhr:i.Message.getFieldWithDefault(t,7,0),rhr:i.Message.getFieldWithDefault(t,8,0),birthday:i.Message.getFieldWithDefault(t,9,0),caltotal:i.Message.getFieldWithDefault(t,10,0),durationtotal:i.Message.getFieldWithDefault(t,11,0),iscomplete:i.Message.getFieldWithDefault(t,12,0),isweekmotion:i.Message.getFieldWithDefault(t,13,0),upid:i.Message.getFieldWithDefault(t,14,0),prefs:i.Message.getFieldWithDefault(t,15,0),usersource:i.Message.getFieldWithDefault(t,16,0)};return e&&(r.$jspbMessageInstance=t),r}),proto.rpc.UserInfoMainReply.deserializeBinary=function(e){var t=new i.BinaryReader(e),r=new proto.rpc.UserInfoMainReply;return proto.rpc.UserInfoMainReply.deserializeBinaryFromReader(r,t)},proto.rpc.UserInfoMainReply.deserializeBinaryFromReader=function(e,t){while(t.nextField()){if(t.isEndGroup())break;var r=t.getFieldNumber();switch(r){case 1:var i=t.readString();e.setName(i);break;case 2:i=t.readString();e.setImageurl(i);break;case 3:i=t.readEnum();e.setSex(i);break;case 4:i=t.readUint32();e.setHeight(i);break;case 5:i=t.readUint32();e.setWeight(i);break;case 6:i=t.readUint32();e.setAge(i);break;case 7:i=t.readUint32();e.setMhr(i);break;case 8:i=t.readUint32();e.setRhr(i);break;case 9:i=t.readUint32();e.setBirthday(i);break;case 10:i=t.readInt64();e.setCaltotal(i);break;case 11:i=t.readInt64();e.setDurationtotal(i);break;case 12:i=t.readInt32();e.setIscomplete(i);break;case 13:i=t.readInt32();e.setIsweekmotion(i);break;case 14:i=t.readInt32();e.setUpid(i);break;case 15:i=t.readInt32();e.setPrefs(i);break;case 16:i=t.readEnum();e.setUsersource(i);break;default:t.skipField();break}}return e},proto.rpc.UserInfoMainReply.prototype.serializeBinary=function(){var e=new i.BinaryWriter;return proto.rpc.UserInfoMainReply.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.rpc.UserInfoMainReply.serializeBinaryToWriter=function(e,t){var r=void 0;r=e.getName(),r.length>0&&t.writeString(1,r),r=e.getImageurl(),r.length>0&&t.writeString(2,r),r=e.getSex(),0!==r&&t.writeEnum(3,r),r=e.getHeight(),0!==r&&t.writeUint32(4,r),r=e.getWeight(),0!==r&&t.writeUint32(5,r),r=e.getAge(),0!==r&&t.writeUint32(6,r),r=e.getMhr(),0!==r&&t.writeUint32(7,r),r=e.getRhr(),0!==r&&t.writeUint32(8,r),r=e.getBirthday(),0!==r&&t.writeUint32(9,r),r=e.getCaltotal(),0!==r&&t.writeInt64(10,r),r=e.getDurationtotal(),0!==r&&t.writeInt64(11,r),r=e.getIscomplete(),0!==r&&t.writeInt32(12,r),r=e.getIsweekmotion(),0!==r&&t.writeInt32(13,r),r=e.getUpid(),0!==r&&t.writeInt32(14,r),r=e.getPrefs(),0!==r&&t.writeInt32(15,r),r=e.getUsersource(),0!==r&&t.writeEnum(16,r)},proto.rpc.UserInfoMainReply.prototype.getName=function(){return i.Message.getFieldWithDefault(this,1,"")},proto.rpc.UserInfoMainReply.prototype.setName=function(e){return i.Message.setProto3StringField(this,1,e)},proto.rpc.UserInfoMainReply.prototype.getImageurl=function(){return i.Message.getFieldWithDefault(this,2,"")},proto.rpc.UserInfoMainReply.prototype.setImageurl=function(e){return i.Message.setProto3StringField(this,2,e)},proto.rpc.UserInfoMainReply.prototype.getSex=function(){return i.Message.getFieldWithDefault(this,3,0)},proto.rpc.UserInfoMainReply.prototype.setSex=function(e){return i.Message.setProto3EnumField(this,3,e)},proto.rpc.UserInfoMainReply.prototype.getHeight=function(){return i.Message.getFieldWithDefault(this,4,0)},proto.rpc.UserInfoMainReply.prototype.setHeight=function(e){return i.Message.setProto3IntField(this,4,e)},proto.rpc.UserInfoMainReply.prototype.getWeight=function(){return i.Message.getFieldWithDefault(this,5,0)},proto.rpc.UserInfoMainReply.prototype.setWeight=function(e){return i.Message.setProto3IntField(this,5,e)},proto.rpc.UserInfoMainReply.prototype.getAge=function(){return i.Message.getFieldWithDefault(this,6,0)},proto.rpc.UserInfoMainReply.prototype.setAge=function(e){return i.Message.setProto3IntField(this,6,e)},proto.rpc.UserInfoMainReply.prototype.getMhr=function(){return i.Message.getFieldWithDefault(this,7,0)},proto.rpc.UserInfoMainReply.prototype.setMhr=function(e){return i.Message.setProto3IntField(this,7,e)},proto.rpc.UserInfoMainReply.prototype.getRhr=function(){return i.Message.getFieldWithDefault(this,8,0)},proto.rpc.UserInfoMainReply.prototype.setRhr=function(e){return i.Message.setProto3IntField(this,8,e)},proto.rpc.UserInfoMainReply.prototype.getBirthday=function(){return i.Message.getFieldWithDefault(this,9,0)},proto.rpc.UserInfoMainReply.prototype.setBirthday=function(e){return i.Message.setProto3IntField(this,9,e)},proto.rpc.UserInfoMainReply.prototype.getCaltotal=function(){return i.Message.getFieldWithDefault(this,10,0)},proto.rpc.UserInfoMainReply.prototype.setCaltotal=function(e){return i.Message.setProto3IntField(this,10,e)},proto.rpc.UserInfoMainReply.prototype.getDurationtotal=function(){return i.Message.getFieldWithDefault(this,11,0)},proto.rpc.UserInfoMainReply.prototype.setDurationtotal=function(e){return i.Message.setProto3IntField(this,11,e)},proto.rpc.UserInfoMainReply.prototype.getIscomplete=function(){return i.Message.getFieldWithDefault(this,12,0)},proto.rpc.UserInfoMainReply.prototype.setIscomplete=function(e){return i.Message.setProto3IntField(this,12,e)},proto.rpc.UserInfoMainReply.prototype.getIsweekmotion=function(){return i.Message.getFieldWithDefault(this,13,0)},proto.rpc.UserInfoMainReply.prototype.setIsweekmotion=function(e){return i.Message.setProto3IntField(this,13,e)},proto.rpc.UserInfoMainReply.prototype.getUpid=function(){return i.Message.getFieldWithDefault(this,14,0)},proto.rpc.UserInfoMainReply.prototype.setUpid=function(e){return i.Message.setProto3IntField(this,14,e)},proto.rpc.UserInfoMainReply.prototype.getPrefs=function(){return i.Message.getFieldWithDefault(this,15,0)},proto.rpc.UserInfoMainReply.prototype.setPrefs=function(e){return i.Message.setProto3IntField(this,15,e)},proto.rpc.UserInfoMainReply.prototype.getUsersource=function(){return i.Message.getFieldWithDefault(this,16,0)},proto.rpc.UserInfoMainReply.prototype.setUsersource=function(e){return i.Message.setProto3EnumField(this,16,e)},i.Message.GENERATE_TO_OBJECT&&(proto.rpc.UserInfoMenu.prototype.toObject=function(e){return proto.rpc.UserInfoMenu.toObject(e,this)},proto.rpc.UserInfoMenu.toObject=function(e,t){var r,o={name:i.Message.getFieldWithDefault(t,1,""),headimage:(r=t.getHeadimage())&&proto.rpc.Image.toObject(e,r)};return e&&(o.$jspbMessageInstance=t),o}),proto.rpc.UserInfoMenu.deserializeBinary=function(e){var t=new i.BinaryReader(e),r=new proto.rpc.UserInfoMenu;return proto.rpc.UserInfoMenu.deserializeBinaryFromReader(r,t)},proto.rpc.UserInfoMenu.deserializeBinaryFromReader=function(e,t){while(t.nextField()){if(t.isEndGroup())break;var r=t.getFieldNumber();switch(r){case 1:var i=t.readString();e.setName(i);break;case 2:i=new proto.rpc.Image;t.readMessage(i,proto.rpc.Image.deserializeBinaryFromReader),e.setHeadimage(i);break;default:t.skipField();break}}return e},proto.rpc.UserInfoMenu.prototype.serializeBinary=function(){var e=new i.BinaryWriter;return proto.rpc.UserInfoMenu.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.rpc.UserInfoMenu.serializeBinaryToWriter=function(e,t){var r=void 0;r=e.getName(),r.length>0&&t.writeString(1,r),r=e.getHeadimage(),null!=r&&t.writeMessage(2,r,proto.rpc.Image.serializeBinaryToWriter)},proto.rpc.UserInfoMenu.prototype.getName=function(){return i.Message.getFieldWithDefault(this,1,"")},proto.rpc.UserInfoMenu.prototype.setName=function(e){return i.Message.setProto3StringField(this,1,e)},proto.rpc.UserInfoMenu.prototype.getHeadimage=function(){return i.Message.getWrapperField(this,proto.rpc.Image,2)},proto.rpc.UserInfoMenu.prototype.setHeadimage=function(e){return i.Message.setWrapperField(this,2,e)},proto.rpc.UserInfoMenu.prototype.clearHeadimage=function(){return this.setHeadimage(void 0)},proto.rpc.UserInfoMenu.prototype.hasHeadimage=function(){return null!=i.Message.getField(this,2)},i.Message.GENERATE_TO_OBJECT&&(proto.rpc.VideoListRequest.prototype.toObject=function(e){return proto.rpc.VideoListRequest.toObject(e,this)},proto.rpc.VideoListRequest.toObject=function(e,t){var r={vcid:i.Message.getFieldWithDefault(t,1,0),limit:i.Message.getFieldWithDefault(t,2,0),startid:i.Message.getFieldWithDefault(t,3,0)};return e&&(r.$jspbMessageInstance=t),r}),proto.rpc.VideoListRequest.deserializeBinary=function(e){var t=new i.BinaryReader(e),r=new proto.rpc.VideoListRequest;return proto.rpc.VideoListRequest.deserializeBinaryFromReader(r,t)},proto.rpc.VideoListRequest.deserializeBinaryFromReader=function(e,t){while(t.nextField()){if(t.isEndGroup())break;var r=t.getFieldNumber();switch(r){case 1:var i=t.readInt32();e.setVcid(i);break;case 2:i=t.readInt32();e.setLimit(i);break;case 3:i=t.readInt64();e.setStartid(i);break;default:t.skipField();break}}return e},proto.rpc.VideoListRequest.prototype.serializeBinary=function(){var e=new i.BinaryWriter;return proto.rpc.VideoListRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.rpc.VideoListRequest.serializeBinaryToWriter=function(e,t){var r=void 0;r=e.getVcid(),0!==r&&t.writeInt32(1,r),r=e.getLimit(),0!==r&&t.writeInt32(2,r),r=e.getStartid(),0!==r&&t.writeInt64(3,r)},proto.rpc.VideoListRequest.prototype.getVcid=function(){return i.Message.getFieldWithDefault(this,1,0)},proto.rpc.VideoListRequest.prototype.setVcid=function(e){return i.Message.setProto3IntField(this,1,e)},proto.rpc.VideoListRequest.prototype.getLimit=function(){return i.Message.getFieldWithDefault(this,2,0)},proto.rpc.VideoListRequest.prototype.setLimit=function(e){return i.Message.setProto3IntField(this,2,e)},proto.rpc.VideoListRequest.prototype.getStartid=function(){return i.Message.getFieldWithDefault(this,3,0)},proto.rpc.VideoListRequest.prototype.setStartid=function(e){return i.Message.setProto3IntField(this,3,e)},i.Message.GENERATE_TO_OBJECT&&(proto.rpc.VideoDetailRequest.prototype.toObject=function(e){return proto.rpc.VideoDetailRequest.toObject(e,this)},proto.rpc.VideoDetailRequest.toObject=function(e,t){var r={videoid:i.Message.getFieldWithDefault(t,1,0),videosource:i.Message.getFieldWithDefault(t,2,0)};return e&&(r.$jspbMessageInstance=t),r}),proto.rpc.VideoDetailRequest.deserializeBinary=function(e){var t=new i.BinaryReader(e),r=new proto.rpc.VideoDetailRequest;return proto.rpc.VideoDetailRequest.deserializeBinaryFromReader(r,t)},proto.rpc.VideoDetailRequest.deserializeBinaryFromReader=function(e,t){while(t.nextField()){if(t.isEndGroup())break;var r=t.getFieldNumber();switch(r){case 1:var i=t.readInt32();e.setVideoid(i);break;case 2:i=t.readInt32();e.setVideosource(i);break;default:t.skipField();break}}return e},proto.rpc.VideoDetailRequest.prototype.serializeBinary=function(){var e=new i.BinaryWriter;return proto.rpc.VideoDetailRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.rpc.VideoDetailRequest.serializeBinaryToWriter=function(e,t){var r=void 0;r=e.getVideoid(),0!==r&&t.writeInt32(1,r),r=e.getVideosource(),0!==r&&t.writeInt32(2,r)},proto.rpc.VideoDetailRequest.prototype.getVideoid=function(){return i.Message.getFieldWithDefault(this,1,0)},proto.rpc.VideoDetailRequest.prototype.setVideoid=function(e){return i.Message.setProto3IntField(this,1,e)},proto.rpc.VideoDetailRequest.prototype.getVideosource=function(){return i.Message.getFieldWithDefault(this,2,0)},proto.rpc.VideoDetailRequest.prototype.setVideosource=function(e){return i.Message.setProto3IntField(this,2,e)},i.Message.GENERATE_TO_OBJECT&&(proto.rpc.RecommendVideoListRequest.prototype.toObject=function(e){return proto.rpc.RecommendVideoListRequest.toObject(e,this)},proto.rpc.RecommendVideoListRequest.toObject=function(e,t){var r={videoid:i.Message.getFieldWithDefault(t,1,0),vcid:i.Message.getFieldWithDefault(t,2,0),limit:i.Message.getFieldWithDefault(t,3,0),startid:i.Message.getFieldWithDefault(t,4,0)};return e&&(r.$jspbMessageInstance=t),r}),proto.rpc.RecommendVideoListRequest.deserializeBinary=function(e){var t=new i.BinaryReader(e),r=new proto.rpc.RecommendVideoListRequest;return proto.rpc.RecommendVideoListRequest.deserializeBinaryFromReader(r,t)},proto.rpc.RecommendVideoListRequest.deserializeBinaryFromReader=function(e,t){while(t.nextField()){if(t.isEndGroup())break;var r=t.getFieldNumber();switch(r){case 1:var i=t.readInt32();e.setVideoid(i);break;case 2:i=t.readInt32();e.setVcid(i);break;case 3:i=t.readInt32();e.setLimit(i);break;case 4:i=t.readInt64();e.setStartid(i);break;default:t.skipField();break}}return e},proto.rpc.RecommendVideoListRequest.prototype.serializeBinary=function(){var e=new i.BinaryWriter;return proto.rpc.RecommendVideoListRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.rpc.RecommendVideoListRequest.serializeBinaryToWriter=function(e,t){var r=void 0;r=e.getVideoid(),0!==r&&t.writeInt32(1,r),r=e.getVcid(),0!==r&&t.writeInt32(2,r),r=e.getLimit(),0!==r&&t.writeInt32(3,r),r=e.getStartid(),0!==r&&t.writeInt64(4,r)},proto.rpc.RecommendVideoListRequest.prototype.getVideoid=function(){return i.Message.getFieldWithDefault(this,1,0)},proto.rpc.RecommendVideoListRequest.prototype.setVideoid=function(e){return i.Message.setProto3IntField(this,1,e)},proto.rpc.RecommendVideoListRequest.prototype.getVcid=function(){return i.Message.getFieldWithDefault(this,2,0)},proto.rpc.RecommendVideoListRequest.prototype.setVcid=function(e){return i.Message.setProto3IntField(this,2,e)},proto.rpc.RecommendVideoListRequest.prototype.getLimit=function(){return i.Message.getFieldWithDefault(this,3,0)},proto.rpc.RecommendVideoListRequest.prototype.setLimit=function(e){return i.Message.setProto3IntField(this,3,e)},proto.rpc.RecommendVideoListRequest.prototype.getStartid=function(){return i.Message.getFieldWithDefault(this,4,0)},proto.rpc.RecommendVideoListRequest.prototype.setStartid=function(e){return i.Message.setProto3IntField(this,4,e)},i.Message.GENERATE_TO_OBJECT&&(proto.rpc.AuthSendCodeToPhoneRequest.prototype.toObject=function(e){return proto.rpc.AuthSendCodeToPhoneRequest.toObject(e,this)},proto.rpc.AuthSendCodeToPhoneRequest.toObject=function(e,t){var r={phone:i.Message.getFieldWithDefault(t,1,""),usertype:i.Message.getFieldWithDefault(t,2,0)};return e&&(r.$jspbMessageInstance=t),r}),proto.rpc.AuthSendCodeToPhoneRequest.deserializeBinary=function(e){var t=new i.BinaryReader(e),r=new proto.rpc.AuthSendCodeToPhoneRequest;return proto.rpc.AuthSendCodeToPhoneRequest.deserializeBinaryFromReader(r,t)},proto.rpc.AuthSendCodeToPhoneRequest.deserializeBinaryFromReader=function(e,t){while(t.nextField()){if(t.isEndGroup())break;var r=t.getFieldNumber();switch(r){case 1:var i=t.readString();e.setPhone(i);break;case 2:i=t.readEnum();e.setUsertype(i);break;default:t.skipField();break}}return e},proto.rpc.AuthSendCodeToPhoneRequest.prototype.serializeBinary=function(){var e=new i.BinaryWriter;return proto.rpc.AuthSendCodeToPhoneRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.rpc.AuthSendCodeToPhoneRequest.serializeBinaryToWriter=function(e,t){var r=void 0;r=e.getPhone(),r.length>0&&t.writeString(1,r),r=e.getUsertype(),0!==r&&t.writeEnum(2,r)},proto.rpc.AuthSendCodeToPhoneRequest.prototype.getPhone=function(){return i.Message.getFieldWithDefault(this,1,"")},proto.rpc.AuthSendCodeToPhoneRequest.prototype.setPhone=function(e){return i.Message.setProto3StringField(this,1,e)},proto.rpc.AuthSendCodeToPhoneRequest.prototype.getUsertype=function(){return i.Message.getFieldWithDefault(this,2,0)},proto.rpc.AuthSendCodeToPhoneRequest.prototype.setUsertype=function(e){return i.Message.setProto3EnumField(this,2,e)},i.Message.GENERATE_TO_OBJECT&&(proto.rpc.AuthPhoneSignInOrRegisterRequest.prototype.toObject=function(e){return proto.rpc.AuthPhoneSignInOrRegisterRequest.toObject(e,this)},proto.rpc.AuthPhoneSignInOrRegisterRequest.toObject=function(e,t){var r={phone:i.Message.getFieldWithDefault(t,1,""),code:i.Message.getFieldWithDefault(t,2,"")};return e&&(r.$jspbMessageInstance=t),r}),proto.rpc.AuthPhoneSignInOrRegisterRequest.deserializeBinary=function(e){var t=new i.BinaryReader(e),r=new proto.rpc.AuthPhoneSignInOrRegisterRequest;return proto.rpc.AuthPhoneSignInOrRegisterRequest.deserializeBinaryFromReader(r,t)},proto.rpc.AuthPhoneSignInOrRegisterRequest.deserializeBinaryFromReader=function(e,t){while(t.nextField()){if(t.isEndGroup())break;var r=t.getFieldNumber();switch(r){case 1:var i=t.readString();e.setPhone(i);break;case 2:i=t.readString();e.setCode(i);break;default:t.skipField();break}}return e},proto.rpc.AuthPhoneSignInOrRegisterRequest.prototype.serializeBinary=function(){var e=new i.BinaryWriter;return proto.rpc.AuthPhoneSignInOrRegisterRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.rpc.AuthPhoneSignInOrRegisterRequest.serializeBinaryToWriter=function(e,t){var r=void 0;r=e.getPhone(),r.length>0&&t.writeString(1,r),r=e.getCode(),r.length>0&&t.writeString(2,r)},proto.rpc.AuthPhoneSignInOrRegisterRequest.prototype.getPhone=function(){return i.Message.getFieldWithDefault(this,1,"")},proto.rpc.AuthPhoneSignInOrRegisterRequest.prototype.setPhone=function(e){return i.Message.setProto3StringField(this,1,e)},proto.rpc.AuthPhoneSignInOrRegisterRequest.prototype.getCode=function(){return i.Message.getFieldWithDefault(this,2,"")},proto.rpc.AuthPhoneSignInOrRegisterRequest.prototype.setCode=function(e){return i.Message.setProto3StringField(this,2,e)},i.Message.GENERATE_TO_OBJECT&&(proto.rpc.UserInfoEditRequest.prototype.toObject=function(e){return proto.rpc.UserInfoEditRequest.toObject(e,this)},proto.rpc.UserInfoEditRequest.toObject=function(e,t){var r={name:i.Message.getFieldWithDefault(t,1,""),weightgram:i.Message.getFieldWithDefault(t,2,0),sex:i.Message.getFieldWithDefault(t,3,0),rhr:i.Message.getFieldWithDefault(t,4,0),head:t.getHead_asB64(),age:i.Message.getFieldWithDefault(t,6,0),heightmillimeter:i.Message.getFieldWithDefault(t,7,0),birthday:i.Message.getFieldWithDefault(t,8,0),upid:i.Message.getFieldWithDefault(t,9,0)};return e&&(r.$jspbMessageInstance=t),r}),proto.rpc.UserInfoEditRequest.deserializeBinary=function(e){var t=new i.BinaryReader(e),r=new proto.rpc.UserInfoEditRequest;return proto.rpc.UserInfoEditRequest.deserializeBinaryFromReader(r,t)},proto.rpc.UserInfoEditRequest.deserializeBinaryFromReader=function(e,t){while(t.nextField()){if(t.isEndGroup())break;var r=t.getFieldNumber();switch(r){case 1:var i=t.readString();e.setName(i);break;case 2:i=t.readInt32();e.setWeightgram(i);break;case 3:i=t.readEnum();e.setSex(i);break;case 4:i=t.readInt32();e.setRhr(i);break;case 5:i=t.readBytes();e.setHead(i);break;case 6:i=t.readInt32();e.setAge(i);break;case 7:i=t.readInt32();e.setHeightmillimeter(i);break;case 8:i=t.readInt32();e.setBirthday(i);break;case 9:i=t.readInt32();e.setUpid(i);break;default:t.skipField();break}}return e},proto.rpc.UserInfoEditRequest.prototype.serializeBinary=function(){var e=new i.BinaryWriter;return proto.rpc.UserInfoEditRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.rpc.UserInfoEditRequest.serializeBinaryToWriter=function(e,t){var r=void 0;r=e.getName(),r.length>0&&t.writeString(1,r),r=e.getWeightgram(),0!==r&&t.writeInt32(2,r),r=e.getSex(),0!==r&&t.writeEnum(3,r),r=e.getRhr(),0!==r&&t.writeInt32(4,r),r=e.getHead_asU8(),r.length>0&&t.writeBytes(5,r),r=e.getAge(),0!==r&&t.writeInt32(6,r),r=e.getHeightmillimeter(),0!==r&&t.writeInt32(7,r),r=e.getBirthday(),0!==r&&t.writeInt32(8,r),r=e.getUpid(),0!==r&&t.writeInt32(9,r)},proto.rpc.UserInfoEditRequest.prototype.getName=function(){return i.Message.getFieldWithDefault(this,1,"")},proto.rpc.UserInfoEditRequest.prototype.setName=function(e){return i.Message.setProto3StringField(this,1,e)},proto.rpc.UserInfoEditRequest.prototype.getWeightgram=function(){return i.Message.getFieldWithDefault(this,2,0)},proto.rpc.UserInfoEditRequest.prototype.setWeightgram=function(e){return i.Message.setProto3IntField(this,2,e)},proto.rpc.UserInfoEditRequest.prototype.getSex=function(){return i.Message.getFieldWithDefault(this,3,0)},proto.rpc.UserInfoEditRequest.prototype.setSex=function(e){return i.Message.setProto3EnumField(this,3,e)},proto.rpc.UserInfoEditRequest.prototype.getRhr=function(){return i.Message.getFieldWithDefault(this,4,0)},proto.rpc.UserInfoEditRequest.prototype.setRhr=function(e){return i.Message.setProto3IntField(this,4,e)},proto.rpc.UserInfoEditRequest.prototype.getHead=function(){return i.Message.getFieldWithDefault(this,5,"")},proto.rpc.UserInfoEditRequest.prototype.getHead_asB64=function(){return i.Message.bytesAsB64(this.getHead())},proto.rpc.UserInfoEditRequest.prototype.getHead_asU8=function(){return i.Message.bytesAsU8(this.getHead())},proto.rpc.UserInfoEditRequest.prototype.setHead=function(e){return i.Message.setProto3BytesField(this,5,e)},proto.rpc.UserInfoEditRequest.prototype.getAge=function(){return i.Message.getFieldWithDefault(this,6,0)},proto.rpc.UserInfoEditRequest.prototype.setAge=function(e){return i.Message.setProto3IntField(this,6,e)},proto.rpc.UserInfoEditRequest.prototype.getHeightmillimeter=function(){return i.Message.getFieldWithDefault(this,7,0)},proto.rpc.UserInfoEditRequest.prototype.setHeightmillimeter=function(e){return i.Message.setProto3IntField(this,7,e)},proto.rpc.UserInfoEditRequest.prototype.getBirthday=function(){return i.Message.getFieldWithDefault(this,8,0)},proto.rpc.UserInfoEditRequest.prototype.setBirthday=function(e){return i.Message.setProto3IntField(this,8,e)},proto.rpc.UserInfoEditRequest.prototype.getUpid=function(){return i.Message.getFieldWithDefault(this,9,0)},proto.rpc.UserInfoEditRequest.prototype.setUpid=function(e){return i.Message.setProto3IntField(this,9,e)},i.Message.GENERATE_TO_OBJECT&&(proto.rpc.SnUserNameInfo.prototype.toObject=function(e){return proto.rpc.SnUserNameInfo.toObject(e,this)},proto.rpc.SnUserNameInfo.toObject=function(e,t){var r={sn:i.Message.getFieldWithDefault(t,1,""),name:i.Message.getFieldWithDefault(t,2,"")};return e&&(r.$jspbMessageInstance=t),r}),proto.rpc.SnUserNameInfo.deserializeBinary=function(e){var t=new i.BinaryReader(e),r=new proto.rpc.SnUserNameInfo;return proto.rpc.SnUserNameInfo.deserializeBinaryFromReader(r,t)},proto.rpc.SnUserNameInfo.deserializeBinaryFromReader=function(e,t){while(t.nextField()){if(t.isEndGroup())break;var r=t.getFieldNumber();switch(r){case 1:var i=t.readString();e.setSn(i);break;case 2:i=t.readString();e.setName(i);break;default:t.skipField();break}}return e},proto.rpc.SnUserNameInfo.prototype.serializeBinary=function(){var e=new i.BinaryWriter;return proto.rpc.SnUserNameInfo.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.rpc.SnUserNameInfo.serializeBinaryToWriter=function(e,t){var r=void 0;r=e.getSn(),r.length>0&&t.writeString(1,r),r=e.getName(),r.length>0&&t.writeString(2,r)},proto.rpc.SnUserNameInfo.prototype.getSn=function(){return i.Message.getFieldWithDefault(this,1,"")},proto.rpc.SnUserNameInfo.prototype.setSn=function(e){return i.Message.setProto3StringField(this,1,e)},proto.rpc.SnUserNameInfo.prototype.getName=function(){return i.Message.getFieldWithDefault(this,2,"")},proto.rpc.SnUserNameInfo.prototype.setName=function(e){return i.Message.setProto3StringField(this,2,e)},proto.rpc.GetUserNameBySnRequest.repeatedFields_=[1],i.Message.GENERATE_TO_OBJECT&&(proto.rpc.GetUserNameBySnRequest.prototype.toObject=function(e){return proto.rpc.GetUserNameBySnRequest.toObject(e,this)},proto.rpc.GetUserNameBySnRequest.toObject=function(e,t){var r,o={listList:null==(r=i.Message.getRepeatedField(t,1))?void 0:r};return e&&(o.$jspbMessageInstance=t),o}),proto.rpc.GetUserNameBySnRequest.deserializeBinary=function(e){var t=new i.BinaryReader(e),r=new proto.rpc.GetUserNameBySnRequest;return proto.rpc.GetUserNameBySnRequest.deserializeBinaryFromReader(r,t)},proto.rpc.GetUserNameBySnRequest.deserializeBinaryFromReader=function(e,t){while(t.nextField()){if(t.isEndGroup())break;var r=t.getFieldNumber();switch(r){case 1:var i=t.readString();e.addList(i);break;default:t.skipField();break}}return e},proto.rpc.GetUserNameBySnRequest.prototype.serializeBinary=function(){var e=new i.BinaryWriter;return proto.rpc.GetUserNameBySnRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.rpc.GetUserNameBySnRequest.serializeBinaryToWriter=function(e,t){var r=void 0;r=e.getListList(),r.length>0&&t.writeRepeatedString(1,r)},proto.rpc.GetUserNameBySnRequest.prototype.getListList=function(){return i.Message.getRepeatedField(this,1)},proto.rpc.GetUserNameBySnRequest.prototype.setListList=function(e){return i.Message.setField(this,1,e||[])},proto.rpc.GetUserNameBySnRequest.prototype.addList=function(e,t){return i.Message.addToRepeatedField(this,1,e,t)},proto.rpc.GetUserNameBySnRequest.prototype.clearListList=function(){return this.setListList([])},i.Message.GENERATE_TO_OBJECT&&(proto.rpc.GetUserNameBySnReply.prototype.toObject=function(e){return proto.rpc.GetUserNameBySnReply.toObject(e,this)},proto.rpc.GetUserNameBySnReply.toObject=function(e,t){var r,i={namemapMap:(r=t.getNamemapMap())?r.toObject(e,void 0):[]};return e&&(i.$jspbMessageInstance=t),i}),proto.rpc.GetUserNameBySnReply.deserializeBinary=function(e){var t=new i.BinaryReader(e),r=new proto.rpc.GetUserNameBySnReply;return proto.rpc.GetUserNameBySnReply.deserializeBinaryFromReader(r,t)},proto.rpc.GetUserNameBySnReply.deserializeBinaryFromReader=function(e,t){while(t.nextField()){if(t.isEndGroup())break;var r=t.getFieldNumber();switch(r){case 1:var o=e.getNamemapMap();t.readMessage(o,(function(e,t){i.Map.deserializeBinary(e,t,i.BinaryReader.prototype.readString,i.BinaryReader.prototype.readString,null,"","")}));break;default:t.skipField();break}}return e},proto.rpc.GetUserNameBySnReply.prototype.serializeBinary=function(){var e=new i.BinaryWriter;return proto.rpc.GetUserNameBySnReply.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.rpc.GetUserNameBySnReply.serializeBinaryToWriter=function(e,t){var r=void 0;r=e.getNamemapMap(!0),r&&r.getLength()>0&&r.serializeBinary(1,t,i.BinaryWriter.prototype.writeString,i.BinaryWriter.prototype.writeString)},proto.rpc.GetUserNameBySnReply.prototype.getNamemapMap=function(e){return i.Message.getMapField(this,1,e,null)},proto.rpc.GetUserNameBySnReply.prototype.clearNamemapMap=function(){return this.getNamemapMap().clear(),this},i.Message.GENERATE_TO_OBJECT&&(proto.rpc.VersionLatestRequest.prototype.toObject=function(e){return proto.rpc.VersionLatestRequest.toObject(e,this)},proto.rpc.VersionLatestRequest.toObject=function(e,t){var r={channel:i.Message.getFieldWithDefault(t,1,"")};return e&&(r.$jspbMessageInstance=t),r}),proto.rpc.VersionLatestRequest.deserializeBinary=function(e){var t=new i.BinaryReader(e),r=new proto.rpc.VersionLatestRequest;return proto.rpc.VersionLatestRequest.deserializeBinaryFromReader(r,t)},proto.rpc.VersionLatestRequest.deserializeBinaryFromReader=function(e,t){while(t.nextField()){if(t.isEndGroup())break;var r=t.getFieldNumber();switch(r){case 1:var i=t.readString();e.setChannel(i);break;default:t.skipField();break}}return e},proto.rpc.VersionLatestRequest.prototype.serializeBinary=function(){var e=new i.BinaryWriter;return proto.rpc.VersionLatestRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.rpc.VersionLatestRequest.serializeBinaryToWriter=function(e,t){var r=void 0;r=e.getChannel(),r.length>0&&t.writeString(1,r)},proto.rpc.VersionLatestRequest.prototype.getChannel=function(){return i.Message.getFieldWithDefault(this,1,"")},proto.rpc.VersionLatestRequest.prototype.setChannel=function(e){return i.Message.setProto3StringField(this,1,e)},i.Message.GENERATE_TO_OBJECT&&(proto.rpc.VersionLatestReply.prototype.toObject=function(e){return proto.rpc.VersionLatestReply.toObject(e,this)},proto.rpc.VersionLatestReply.toObject=function(e,t){var r={major:i.Message.getFieldWithDefault(t,1,0),minor:i.Message.getFieldWithDefault(t,2,0),patch:i.Message.getFieldWithDefault(t,3,0),apkurl:i.Message.getFieldWithDefault(t,4,""),updatemsg:t.getUpdatemsg_asB64(),updatemsgext:i.Message.getFieldWithDefault(t,6,""),createtime:i.Message.getFieldWithDefault(t,7,0),md5:t.getMd5_asB64()};return e&&(r.$jspbMessageInstance=t),r}),proto.rpc.VersionLatestReply.deserializeBinary=function(e){var t=new i.BinaryReader(e),r=new proto.rpc.VersionLatestReply;return proto.rpc.VersionLatestReply.deserializeBinaryFromReader(r,t)},proto.rpc.VersionLatestReply.deserializeBinaryFromReader=function(e,t){while(t.nextField()){if(t.isEndGroup())break;var r=t.getFieldNumber();switch(r){case 1:var i=t.readInt32();e.setMajor(i);break;case 2:i=t.readInt32();e.setMinor(i);break;case 3:i=t.readInt32();e.setPatch(i);break;case 4:i=t.readString();e.setApkurl(i);break;case 5:i=t.readBytes();e.setUpdatemsg(i);break;case 6:i=t.readString();e.setUpdatemsgext(i);break;case 7:i=t.readInt64();e.setCreatetime(i);break;case 8:i=t.readBytes();e.setMd5(i);break;default:t.skipField();break}}return e},proto.rpc.VersionLatestReply.prototype.serializeBinary=function(){var e=new i.BinaryWriter;return proto.rpc.VersionLatestReply.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.rpc.VersionLatestReply.serializeBinaryToWriter=function(e,t){var r=void 0;r=e.getMajor(),0!==r&&t.writeInt32(1,r),r=e.getMinor(),0!==r&&t.writeInt32(2,r),r=e.getPatch(),0!==r&&t.writeInt32(3,r),r=e.getApkurl(),r.length>0&&t.writeString(4,r),r=e.getUpdatemsg_asU8(),r.length>0&&t.writeBytes(5,r),r=e.getUpdatemsgext(),r.length>0&&t.writeString(6,r),r=e.getCreatetime(),0!==r&&t.writeInt64(7,r),r=e.getMd5_asU8(),r.length>0&&t.writeBytes(8,r)},proto.rpc.VersionLatestReply.prototype.getMajor=function(){return i.Message.getFieldWithDefault(this,1,0)},proto.rpc.VersionLatestReply.prototype.setMajor=function(e){return i.Message.setProto3IntField(this,1,e)},proto.rpc.VersionLatestReply.prototype.getMinor=function(){return i.Message.getFieldWithDefault(this,2,0)},proto.rpc.VersionLatestReply.prototype.setMinor=function(e){return i.Message.setProto3IntField(this,2,e)},proto.rpc.VersionLatestReply.prototype.getPatch=function(){return i.Message.getFieldWithDefault(this,3,0)},proto.rpc.VersionLatestReply.prototype.setPatch=function(e){return i.Message.setProto3IntField(this,3,e)},proto.rpc.VersionLatestReply.prototype.getApkurl=function(){return i.Message.getFieldWithDefault(this,4,"")},proto.rpc.VersionLatestReply.prototype.setApkurl=function(e){return i.Message.setProto3StringField(this,4,e)},proto.rpc.VersionLatestReply.prototype.getUpdatemsg=function(){return i.Message.getFieldWithDefault(this,5,"")},proto.rpc.VersionLatestReply.prototype.getUpdatemsg_asB64=function(){return i.Message.bytesAsB64(this.getUpdatemsg())},proto.rpc.VersionLatestReply.prototype.getUpdatemsg_asU8=function(){return i.Message.bytesAsU8(this.getUpdatemsg())},proto.rpc.VersionLatestReply.prototype.setUpdatemsg=function(e){return i.Message.setProto3BytesField(this,5,e)},proto.rpc.VersionLatestReply.prototype.getUpdatemsgext=function(){return i.Message.getFieldWithDefault(this,6,"")},proto.rpc.VersionLatestReply.prototype.setUpdatemsgext=function(e){return i.Message.setProto3StringField(this,6,e)},proto.rpc.VersionLatestReply.prototype.getCreatetime=function(){return i.Message.getFieldWithDefault(this,7,0)},proto.rpc.VersionLatestReply.prototype.setCreatetime=function(e){return i.Message.setProto3IntField(this,7,e)},proto.rpc.VersionLatestReply.prototype.getMd5=function(){return i.Message.getFieldWithDefault(this,8,"")},proto.rpc.VersionLatestReply.prototype.getMd5_asB64=function(){return i.Message.bytesAsB64(this.getMd5())},proto.rpc.VersionLatestReply.prototype.getMd5_asU8=function(){return i.Message.bytesAsU8(this.getMd5())},proto.rpc.VersionLatestReply.prototype.setMd5=function(e){return i.Message.setProto3BytesField(this,8,e)},i.Message.GENERATE_TO_OBJECT&&(proto.rpc.ReportErrorRequest.prototype.toObject=function(e){return proto.rpc.ReportErrorRequest.toObject(e,this)},proto.rpc.ReportErrorRequest.toObject=function(e,t){var r={versionname:i.Message.getFieldWithDefault(t,1,""),message:i.Message.getFieldWithDefault(t,2,""),createtimestamp:i.Message.getFieldWithDefault(t,3,0)};return e&&(r.$jspbMessageInstance=t),r}),proto.rpc.ReportErrorRequest.deserializeBinary=function(e){var t=new i.BinaryReader(e),r=new proto.rpc.ReportErrorRequest;return proto.rpc.ReportErrorRequest.deserializeBinaryFromReader(r,t)},proto.rpc.ReportErrorRequest.deserializeBinaryFromReader=function(e,t){while(t.nextField()){if(t.isEndGroup())break;var r=t.getFieldNumber();switch(r){case 1:var i=t.readString();e.setVersionname(i);break;case 2:i=t.readString();e.setMessage(i);break;case 3:i=t.readInt64();e.setCreatetimestamp(i);break;default:t.skipField();break}}return e},proto.rpc.ReportErrorRequest.prototype.serializeBinary=function(){var e=new i.BinaryWriter;return proto.rpc.ReportErrorRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.rpc.ReportErrorRequest.serializeBinaryToWriter=function(e,t){var r=void 0;r=e.getVersionname(),r.length>0&&t.writeString(1,r),r=e.getMessage(),r.length>0&&t.writeString(2,r),r=e.getCreatetimestamp(),0!==r&&t.writeInt64(3,r)},proto.rpc.ReportErrorRequest.prototype.getVersionname=function(){return i.Message.getFieldWithDefault(this,1,"")},proto.rpc.ReportErrorRequest.prototype.setVersionname=function(e){return i.Message.setProto3StringField(this,1,e)},proto.rpc.ReportErrorRequest.prototype.getMessage=function(){return i.Message.getFieldWithDefault(this,2,"")},proto.rpc.ReportErrorRequest.prototype.setMessage=function(e){return i.Message.setProto3StringField(this,2,e)},proto.rpc.ReportErrorRequest.prototype.getCreatetimestamp=function(){return i.Message.getFieldWithDefault(this,3,0)},proto.rpc.ReportErrorRequest.prototype.setCreatetimestamp=function(e){return i.Message.setProto3IntField(this,3,e)},i.Message.GENERATE_TO_OBJECT&&(proto.rpc.ClassBeginMeta.prototype.toObject=function(e){return proto.rpc.ClassBeginMeta.toObject(e,this)},proto.rpc.ClassBeginMeta.toObject=function(e,t){var r={classid:i.Message.getFieldWithDefault(t,1,0),begintime:i.Message.getFieldWithDefault(t,2,0),classname:i.Message.getFieldWithDefault(t,3,""),username:i.Message.getFieldWithDefault(t,4,""),shopname:i.Message.getFieldWithDefault(t,5,""),upid:i.Message.getFieldWithDefault(t,6,0)};return e&&(r.$jspbMessageInstance=t),r}),proto.rpc.ClassBeginMeta.deserializeBinary=function(e){var t=new i.BinaryReader(e),r=new proto.rpc.ClassBeginMeta;return proto.rpc.ClassBeginMeta.deserializeBinaryFromReader(r,t)},proto.rpc.ClassBeginMeta.deserializeBinaryFromReader=function(e,t){while(t.nextField()){if(t.isEndGroup())break;var r=t.getFieldNumber();switch(r){case 1:var i=t.readInt64();e.setClassid(i);break;case 2:i=t.readInt64();e.setBegintime(i);break;case 3:i=t.readString();e.setClassname(i);break;case 4:i=t.readString();e.setUsername(i);break;case 5:i=t.readString();e.setShopname(i);break;case 6:i=t.readInt32();e.setUpid(i);break;default:t.skipField();break}}return e},proto.rpc.ClassBeginMeta.prototype.serializeBinary=function(){var e=new i.BinaryWriter;return proto.rpc.ClassBeginMeta.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.rpc.ClassBeginMeta.serializeBinaryToWriter=function(e,t){var r=void 0;r=e.getClassid(),0!==r&&t.writeInt64(1,r),r=e.getBegintime(),0!==r&&t.writeInt64(2,r),r=e.getClassname(),r.length>0&&t.writeString(3,r),r=e.getUsername(),r.length>0&&t.writeString(4,r),r=e.getShopname(),r.length>0&&t.writeString(5,r),r=e.getUpid(),0!==r&&t.writeInt32(6,r)},proto.rpc.ClassBeginMeta.prototype.getClassid=function(){return i.Message.getFieldWithDefault(this,1,0)},proto.rpc.ClassBeginMeta.prototype.setClassid=function(e){return i.Message.setProto3IntField(this,1,e)},proto.rpc.ClassBeginMeta.prototype.getBegintime=function(){return i.Message.getFieldWithDefault(this,2,0)},proto.rpc.ClassBeginMeta.prototype.setBegintime=function(e){return i.Message.setProto3IntField(this,2,e)},proto.rpc.ClassBeginMeta.prototype.getClassname=function(){return i.Message.getFieldWithDefault(this,3,"")},proto.rpc.ClassBeginMeta.prototype.setClassname=function(e){return i.Message.setProto3StringField(this,3,e)},proto.rpc.ClassBeginMeta.prototype.getUsername=function(){return i.Message.getFieldWithDefault(this,4,"")},proto.rpc.ClassBeginMeta.prototype.setUsername=function(e){return i.Message.setProto3StringField(this,4,e)},proto.rpc.ClassBeginMeta.prototype.getShopname=function(){return i.Message.getFieldWithDefault(this,5,"")},proto.rpc.ClassBeginMeta.prototype.setShopname=function(e){return i.Message.setProto3StringField(this,5,e)},proto.rpc.ClassBeginMeta.prototype.getUpid=function(){return i.Message.getFieldWithDefault(this,6,0)},proto.rpc.ClassBeginMeta.prototype.setUpid=function(e){return i.Message.setProto3IntField(this,6,e)},i.Message.GENERATE_TO_OBJECT&&(proto.rpc.ClassOverMeta.prototype.toObject=function(e){return proto.rpc.ClassOverMeta.toObject(e,this)},proto.rpc.ClassOverMeta.toObject=function(e,t){var r={classid:i.Message.getFieldWithDefault(t,1,0),endtime:i.Message.getFieldWithDefault(t,2,0)};return e&&(r.$jspbMessageInstance=t),r}),proto.rpc.ClassOverMeta.deserializeBinary=function(e){var t=new i.BinaryReader(e),r=new proto.rpc.ClassOverMeta;return proto.rpc.ClassOverMeta.deserializeBinaryFromReader(r,t)},proto.rpc.ClassOverMeta.deserializeBinaryFromReader=function(e,t){while(t.nextField()){if(t.isEndGroup())break;var r=t.getFieldNumber();switch(r){case 1:var i=t.readInt64();e.setClassid(i);break;case 2:i=t.readInt64();e.setEndtime(i);break;default:t.skipField();break}}return e},proto.rpc.ClassOverMeta.prototype.serializeBinary=function(){var e=new i.BinaryWriter;return proto.rpc.ClassOverMeta.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.rpc.ClassOverMeta.serializeBinaryToWriter=function(e,t){var r=void 0;r=e.getClassid(),0!==r&&t.writeInt64(1,r),r=e.getEndtime(),0!==r&&t.writeInt64(2,r)},proto.rpc.ClassOverMeta.prototype.getClassid=function(){return i.Message.getFieldWithDefault(this,1,0)},proto.rpc.ClassOverMeta.prototype.setClassid=function(e){return i.Message.setProto3IntField(this,1,e)},proto.rpc.ClassOverMeta.prototype.getEndtime=function(){return i.Message.getFieldWithDefault(this,2,0)},proto.rpc.ClassOverMeta.prototype.setEndtime=function(e){return i.Message.setProto3IntField(this,2,e)},i.Message.GENERATE_TO_OBJECT&&(proto.rpc.WatchEventReplay.prototype.toObject=function(e){return proto.rpc.WatchEventReplay.toObject(e,this)},proto.rpc.WatchEventReplay.toObject=function(e,t){var r,o={timestamp:i.Message.getFieldWithDefault(t,1,0),eventtype:i.Message.getFieldWithDefault(t,2,0),meta:(r=t.getMeta())&&n.Any.toObject(e,r)};return e&&(o.$jspbMessageInstance=t),o}),proto.rpc.WatchEventReplay.deserializeBinary=function(e){var t=new i.BinaryReader(e),r=new proto.rpc.WatchEventReplay;return proto.rpc.WatchEventReplay.deserializeBinaryFromReader(r,t)},proto.rpc.WatchEventReplay.deserializeBinaryFromReader=function(e,t){while(t.nextField()){if(t.isEndGroup())break;var r=t.getFieldNumber();switch(r){case 1:var i=t.readInt64();e.setTimestamp(i);break;case 2:i=t.readEnum();e.setEventtype(i);break;case 3:i=new n.Any;t.readMessage(i,n.Any.deserializeBinaryFromReader),e.setMeta(i);break;default:t.skipField();break}}return e},proto.rpc.WatchEventReplay.prototype.serializeBinary=function(){var e=new i.BinaryWriter;return proto.rpc.WatchEventReplay.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.rpc.WatchEventReplay.serializeBinaryToWriter=function(e,t){var r=void 0;r=e.getTimestamp(),0!==r&&t.writeInt64(1,r),r=e.getEventtype(),0!==r&&t.writeEnum(2,r),r=e.getMeta(),null!=r&&t.writeMessage(3,r,n.Any.serializeBinaryToWriter)},proto.rpc.WatchEventReplay.EventType={CLASSBEGIN:0,CLASSOVER:1},proto.rpc.WatchEventReplay.prototype.getTimestamp=function(){return i.Message.getFieldWithDefault(this,1,0)},proto.rpc.WatchEventReplay.prototype.setTimestamp=function(e){return i.Message.setProto3IntField(this,1,e)},proto.rpc.WatchEventReplay.prototype.getEventtype=function(){return i.Message.getFieldWithDefault(this,2,0)},proto.rpc.WatchEventReplay.prototype.setEventtype=function(e){return i.Message.setProto3EnumField(this,2,e)},proto.rpc.WatchEventReplay.prototype.getMeta=function(){return i.Message.getWrapperField(this,n.Any,3)},proto.rpc.WatchEventReplay.prototype.setMeta=function(e){return i.Message.setWrapperField(this,3,e)},proto.rpc.WatchEventReplay.prototype.clearMeta=function(){return this.setMeta(void 0)},proto.rpc.WatchEventReplay.prototype.hasMeta=function(){return null!=i.Message.getField(this,3)},i.Message.GENERATE_TO_OBJECT&&(proto.rpc.HeartRate.prototype.toObject=function(e){return proto.rpc.HeartRate.toObject(e,this)},proto.rpc.HeartRate.toObject=function(e,t){var r={timestampms:i.Message.getFieldWithDefault(t,1,0),hr:i.Message.getFieldWithDefault(t,2,0)};return e&&(r.$jspbMessageInstance=t),r}),proto.rpc.HeartRate.deserializeBinary=function(e){var t=new i.BinaryReader(e),r=new proto.rpc.HeartRate;return proto.rpc.HeartRate.deserializeBinaryFromReader(r,t)},proto.rpc.HeartRate.deserializeBinaryFromReader=function(e,t){while(t.nextField()){if(t.isEndGroup())break;var r=t.getFieldNumber();switch(r){case 1:var i=t.readInt64();e.setTimestampms(i);break;case 2:i=t.readInt32();e.setHr(i);break;default:t.skipField();break}}return e},proto.rpc.HeartRate.prototype.serializeBinary=function(){var e=new i.BinaryWriter;return proto.rpc.HeartRate.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.rpc.HeartRate.serializeBinaryToWriter=function(e,t){var r=void 0;r=e.getTimestampms(),0!==r&&t.writeInt64(1,r),r=e.getHr(),0!==r&&t.writeInt32(2,r)},proto.rpc.HeartRate.prototype.getTimestampms=function(){return i.Message.getFieldWithDefault(this,1,0)},proto.rpc.HeartRate.prototype.setTimestampms=function(e){return i.Message.setProto3IntField(this,1,e)},proto.rpc.HeartRate.prototype.getHr=function(){return i.Message.getFieldWithDefault(this,2,0)},proto.rpc.HeartRate.prototype.setHr=function(e){return i.Message.setProto3IntField(this,2,e)},proto.rpc.WatchHrReplay.repeatedFields_=[1],i.Message.GENERATE_TO_OBJECT&&(proto.rpc.WatchHrReplay.prototype.toObject=function(e){return proto.rpc.WatchHrReplay.toObject(e,this)},proto.rpc.WatchHrReplay.toObject=function(e,t){var r={hrsList:i.Message.toObjectList(t.getHrsList(),proto.rpc.HeartRate.toObject,e),begintime:i.Message.getFieldWithDefault(t,2,0),duid:i.Message.getFieldWithDefault(t,3,0),usermd5:i.Message.getFieldWithDefault(t,4,""),cle:i.Message.getFloatingPointFieldWithDefault(t,5,0),ck:i.Message.getFloatingPointFieldWithDefault(t,6,0),ei:i.Message.getFieldWithDefault(t,7,0)};return e&&(r.$jspbMessageInstance=t),r}),proto.rpc.WatchHrReplay.deserializeBinary=function(e){var t=new i.BinaryReader(e),r=new proto.rpc.WatchHrReplay;return proto.rpc.WatchHrReplay.deserializeBinaryFromReader(r,t)},proto.rpc.WatchHrReplay.deserializeBinaryFromReader=function(e,t){while(t.nextField()){if(t.isEndGroup())break;var r=t.getFieldNumber();switch(r){case 1:var i=new proto.rpc.HeartRate;t.readMessage(i,proto.rpc.HeartRate.deserializeBinaryFromReader),e.addHrs(i);break;case 2:i=t.readInt64();e.setBegintime(i);break;case 3:i=t.readInt32();e.setDuid(i);break;case 4:i=t.readString();e.setUsermd5(i);break;case 5:i=t.readFloat();e.setCle(i);break;case 6:i=t.readFloat();e.setCk(i);break;case 7:i=t.readInt32();e.setEi(i);break;default:t.skipField();break}}return e},proto.rpc.WatchHrReplay.prototype.serializeBinary=function(){var e=new i.BinaryWriter;return proto.rpc.WatchHrReplay.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.rpc.WatchHrReplay.serializeBinaryToWriter=function(e,t){var r=void 0;r=e.getHrsList(),r.length>0&&t.writeRepeatedMessage(1,r,proto.rpc.HeartRate.serializeBinaryToWriter),r=e.getBegintime(),0!==r&&t.writeInt64(2,r),r=e.getDuid(),0!==r&&t.writeInt32(3,r),r=e.getUsermd5(),r.length>0&&t.writeString(4,r),r=e.getCle(),0!==r&&t.writeFloat(5,r),r=e.getCk(),0!==r&&t.writeFloat(6,r),r=e.getEi(),0!==r&&t.writeInt32(7,r)},proto.rpc.WatchHrReplay.prototype.getHrsList=function(){return i.Message.getRepeatedWrapperField(this,proto.rpc.HeartRate,1)},proto.rpc.WatchHrReplay.prototype.setHrsList=function(e){return i.Message.setRepeatedWrapperField(this,1,e)},proto.rpc.WatchHrReplay.prototype.addHrs=function(e,t){return i.Message.addToRepeatedWrapperField(this,1,e,proto.rpc.HeartRate,t)},proto.rpc.WatchHrReplay.prototype.clearHrsList=function(){return this.setHrsList([])},proto.rpc.WatchHrReplay.prototype.getBegintime=function(){return i.Message.getFieldWithDefault(this,2,0)},proto.rpc.WatchHrReplay.prototype.setBegintime=function(e){return i.Message.setProto3IntField(this,2,e)},proto.rpc.WatchHrReplay.prototype.getDuid=function(){return i.Message.getFieldWithDefault(this,3,0)},proto.rpc.WatchHrReplay.prototype.setDuid=function(e){return i.Message.setProto3IntField(this,3,e)},proto.rpc.WatchHrReplay.prototype.getUsermd5=function(){return i.Message.getFieldWithDefault(this,4,"")},proto.rpc.WatchHrReplay.prototype.setUsermd5=function(e){return i.Message.setProto3StringField(this,4,e)},proto.rpc.WatchHrReplay.prototype.getCle=function(){return i.Message.getFloatingPointFieldWithDefault(this,5,0)},proto.rpc.WatchHrReplay.prototype.setCle=function(e){return i.Message.setProto3FloatField(this,5,e)},proto.rpc.WatchHrReplay.prototype.getCk=function(){return i.Message.getFloatingPointFieldWithDefault(this,6,0)},proto.rpc.WatchHrReplay.prototype.setCk=function(e){return i.Message.setProto3FloatField(this,6,e)},proto.rpc.WatchHrReplay.prototype.getEi=function(){return i.Message.getFieldWithDefault(this,7,0)},proto.rpc.WatchHrReplay.prototype.setEi=function(e){return i.Message.setProto3IntField(this,7,e)},i.Message.GENERATE_TO_OBJECT&&(proto.rpc.WatchHeartRateRequest.prototype.toObject=function(e){return proto.rpc.WatchHeartRateRequest.toObject(e,this)},proto.rpc.WatchHeartRateRequest.toObject=function(e,t){var r={classid:i.Message.getFieldWithDefault(t,1,0)};return e&&(r.$jspbMessageInstance=t),r}),proto.rpc.WatchHeartRateRequest.deserializeBinary=function(e){var t=new i.BinaryReader(e),r=new proto.rpc.WatchHeartRateRequest;return proto.rpc.WatchHeartRateRequest.deserializeBinaryFromReader(r,t)},proto.rpc.WatchHeartRateRequest.deserializeBinaryFromReader=function(e,t){while(t.nextField()){if(t.isEndGroup())break;var r=t.getFieldNumber();switch(r){case 1:var i=t.readInt64();e.setClassid(i);break;default:t.skipField();break}}return e},proto.rpc.WatchHeartRateRequest.prototype.serializeBinary=function(){var e=new i.BinaryWriter;return proto.rpc.WatchHeartRateRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.rpc.WatchHeartRateRequest.serializeBinaryToWriter=function(e,t){var r=void 0;r=e.getClassid(),0!==r&&t.writeInt64(1,r)},proto.rpc.WatchHeartRateRequest.prototype.getClassid=function(){return i.Message.getFieldWithDefault(this,1,0)},proto.rpc.WatchHeartRateRequest.prototype.setClassid=function(e){return i.Message.setProto3IntField(this,1,e)},i.Message.GENERATE_TO_OBJECT&&(proto.rpc.GetHeartRateRequest.prototype.toObject=function(e){return proto.rpc.GetHeartRateRequest.toObject(e,this)},proto.rpc.GetHeartRateRequest.toObject=function(e,t){var r={classid:i.Message.getFieldWithDefault(t,1,0),begintimestamp:i.Message.getFieldWithDefault(t,2,0),endtimestamp:i.Message.getFieldWithDefault(t,3,0)};return e&&(r.$jspbMessageInstance=t),r}),proto.rpc.GetHeartRateRequest.deserializeBinary=function(e){var t=new i.BinaryReader(e),r=new proto.rpc.GetHeartRateRequest;return proto.rpc.GetHeartRateRequest.deserializeBinaryFromReader(r,t)},proto.rpc.GetHeartRateRequest.deserializeBinaryFromReader=function(e,t){while(t.nextField()){if(t.isEndGroup())break;var r=t.getFieldNumber();switch(r){case 1:var i=t.readInt64();e.setClassid(i);break;case 2:i=t.readInt64();e.setBegintimestamp(i);break;case 3:i=t.readInt64();e.setEndtimestamp(i);break;default:t.skipField();break}}return e},proto.rpc.GetHeartRateRequest.prototype.serializeBinary=function(){var e=new i.BinaryWriter;return proto.rpc.GetHeartRateRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.rpc.GetHeartRateRequest.serializeBinaryToWriter=function(e,t){var r=void 0;r=e.getClassid(),0!==r&&t.writeInt64(1,r),r=e.getBegintimestamp(),0!==r&&t.writeInt64(2,r),r=e.getEndtimestamp(),0!==r&&t.writeInt64(3,r)},proto.rpc.GetHeartRateRequest.prototype.getClassid=function(){return i.Message.getFieldWithDefault(this,1,0)},proto.rpc.GetHeartRateRequest.prototype.setClassid=function(e){return i.Message.setProto3IntField(this,1,e)},proto.rpc.GetHeartRateRequest.prototype.getBegintimestamp=function(){return i.Message.getFieldWithDefault(this,2,0)},proto.rpc.GetHeartRateRequest.prototype.setBegintimestamp=function(e){return i.Message.setProto3IntField(this,2,e)},proto.rpc.GetHeartRateRequest.prototype.getEndtimestamp=function(){return i.Message.getFieldWithDefault(this,3,0)},proto.rpc.GetHeartRateRequest.prototype.setEndtimestamp=function(e){return i.Message.setProto3IntField(this,3,e)},i.Message.GENERATE_TO_OBJECT&&(proto.rpc.GetVideoHeartRateRequest.prototype.toObject=function(e){return proto.rpc.GetVideoHeartRateRequest.toObject(e,this)},proto.rpc.GetVideoHeartRateRequest.toObject=function(e,t){var r={prid:i.Message.getFieldWithDefault(t,1,0),begintimestamp:i.Message.getFieldWithDefault(t,2,0),endtimestamp:i.Message.getFieldWithDefault(t,3,0)};return e&&(r.$jspbMessageInstance=t),r}),proto.rpc.GetVideoHeartRateRequest.deserializeBinary=function(e){var t=new i.BinaryReader(e),r=new proto.rpc.GetVideoHeartRateRequest;return proto.rpc.GetVideoHeartRateRequest.deserializeBinaryFromReader(r,t)},proto.rpc.GetVideoHeartRateRequest.deserializeBinaryFromReader=function(e,t){while(t.nextField()){if(t.isEndGroup())break;var r=t.getFieldNumber();switch(r){case 1:var i=t.readInt64();e.setPrid(i);break;case 2:i=t.readInt64();e.setBegintimestamp(i);break;case 3:i=t.readInt64();e.setEndtimestamp(i);break;default:t.skipField();break}}return e},proto.rpc.GetVideoHeartRateRequest.prototype.serializeBinary=function(){var e=new i.BinaryWriter;return proto.rpc.GetVideoHeartRateRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.rpc.GetVideoHeartRateRequest.serializeBinaryToWriter=function(e,t){var r=void 0;r=e.getPrid(),0!==r&&t.writeInt64(1,r),r=e.getBegintimestamp(),0!==r&&t.writeInt64(2,r),r=e.getEndtimestamp(),0!==r&&t.writeInt64(3,r)},proto.rpc.GetVideoHeartRateRequest.prototype.getPrid=function(){return i.Message.getFieldWithDefault(this,1,0)},proto.rpc.GetVideoHeartRateRequest.prototype.setPrid=function(e){return i.Message.setProto3IntField(this,1,e)},proto.rpc.GetVideoHeartRateRequest.prototype.getBegintimestamp=function(){return i.Message.getFieldWithDefault(this,2,0)},proto.rpc.GetVideoHeartRateRequest.prototype.setBegintimestamp=function(e){return i.Message.setProto3IntField(this,2,e)},proto.rpc.GetVideoHeartRateRequest.prototype.getEndtimestamp=function(){return i.Message.getFieldWithDefault(this,3,0)},proto.rpc.GetVideoHeartRateRequest.prototype.setEndtimestamp=function(e){return i.Message.setProto3IntField(this,3,e)},i.Message.GENERATE_TO_OBJECT&&(proto.rpc.GetClassHistoryListRequest.prototype.toObject=function(e){return proto.rpc.GetClassHistoryListRequest.toObject(e,this)},proto.rpc.GetClassHistoryListRequest.toObject=function(e,t){var r={offset:i.Message.getFieldWithDefault(t,1,0),limit:i.Message.getFieldWithDefault(t,2,0),upid:i.Message.getFieldWithDefault(t,3,0)};return e&&(r.$jspbMessageInstance=t),r}),proto.rpc.GetClassHistoryListRequest.deserializeBinary=function(e){var t=new i.BinaryReader(e),r=new proto.rpc.GetClassHistoryListRequest;return proto.rpc.GetClassHistoryListRequest.deserializeBinaryFromReader(r,t)},proto.rpc.GetClassHistoryListRequest.deserializeBinaryFromReader=function(e,t){while(t.nextField()){if(t.isEndGroup())break;var r=t.getFieldNumber();switch(r){case 1:var i=t.readInt32();e.setOffset(i);break;case 2:i=t.readInt32();e.setLimit(i);break;case 3:i=t.readInt32();e.setUpid(i);break;default:t.skipField();break}}return e},proto.rpc.GetClassHistoryListRequest.prototype.serializeBinary=function(){var e=new i.BinaryWriter;return proto.rpc.GetClassHistoryListRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.rpc.GetClassHistoryListRequest.serializeBinaryToWriter=function(e,t){var r=void 0;r=e.getOffset(),0!==r&&t.writeInt32(1,r),r=e.getLimit(),0!==r&&t.writeInt32(2,r),r=e.getUpid(),0!==r&&t.writeInt32(3,r)},proto.rpc.GetClassHistoryListRequest.prototype.getOffset=function(){return i.Message.getFieldWithDefault(this,1,0)},proto.rpc.GetClassHistoryListRequest.prototype.setOffset=function(e){return i.Message.setProto3IntField(this,1,e)},proto.rpc.GetClassHistoryListRequest.prototype.getLimit=function(){return i.Message.getFieldWithDefault(this,2,0)},proto.rpc.GetClassHistoryListRequest.prototype.setLimit=function(e){return i.Message.setProto3IntField(this,2,e)},proto.rpc.GetClassHistoryListRequest.prototype.getUpid=function(){return i.Message.getFieldWithDefault(this,3,0)},proto.rpc.GetClassHistoryListRequest.prototype.setUpid=function(e){return i.Message.setProto3IntField(this,3,e)},i.Message.GENERATE_TO_OBJECT&&(proto.rpc.DuInfo.prototype.toObject=function(e){return proto.rpc.DuInfo.toObject(e,this)},proto.rpc.DuInfo.toObject=function(e,t){var r={classid:i.Message.getFieldWithDefault(t,1,0),shopname:i.Message.getFieldWithDefault(t,2,""),classname:i.Message.getFieldWithDefault(t,3,""),classcolor:i.Message.getFieldWithDefault(t,4,""),cle:i.Message.getFloatingPointFieldWithDefault(t,5,0),ck:i.Message.getFloatingPointFieldWithDefault(t,6,0),ei:i.Message.getFloatingPointFieldWithDefault(t,7,0),begintime:i.Message.getFieldWithDefault(t,8,0),endtime:i.Message.getFieldWithDefault(t,9,0),sportduration:i.Message.getFieldWithDefault(t,10,0),age:i.Message.getFieldWithDefault(t,11,0),height:i.Message.getFieldWithDefault(t,12,0),weight:i.Message.getFloatingPointFieldWithDefault(t,13,0),sex:i.Message.getFieldWithDefault(t,14,0),statichr:i.Message.getFieldWithDefault(t,15,0),upid:i.Message.getFieldWithDefault(t,16,0)};return e&&(r.$jspbMessageInstance=t),r}),proto.rpc.DuInfo.deserializeBinary=function(e){var t=new i.BinaryReader(e),r=new proto.rpc.DuInfo;return proto.rpc.DuInfo.deserializeBinaryFromReader(r,t)},proto.rpc.DuInfo.deserializeBinaryFromReader=function(e,t){while(t.nextField()){if(t.isEndGroup())break;var r=t.getFieldNumber();switch(r){case 1:var i=t.readInt32();e.setClassid(i);break;case 2:i=t.readString();e.setShopname(i);break;case 3:i=t.readString();e.setClassname(i);break;case 4:i=t.readString();e.setClasscolor(i);break;case 5:i=t.readFloat();e.setCle(i);break;case 6:i=t.readFloat();e.setCk(i);break;case 7:i=t.readFloat();e.setEi(i);break;case 8:i=t.readInt64();e.setBegintime(i);break;case 9:i=t.readInt64();e.setEndtime(i);break;case 10:i=t.readInt32();e.setSportduration(i);break;case 11:i=t.readInt32();e.setAge(i);break;case 12:i=t.readInt32();e.setHeight(i);break;case 13:i=t.readFloat();e.setWeight(i);break;case 14:i=t.readInt32();e.setSex(i);break;case 15:i=t.readInt32();e.setStatichr(i);break;case 16:i=t.readInt32();e.setUpid(i);break;default:t.skipField();break}}return e},proto.rpc.DuInfo.prototype.serializeBinary=function(){var e=new i.BinaryWriter;return proto.rpc.DuInfo.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.rpc.DuInfo.serializeBinaryToWriter=function(e,t){var r=void 0;r=e.getClassid(),0!==r&&t.writeInt32(1,r),r=e.getShopname(),r.length>0&&t.writeString(2,r),r=e.getClassname(),r.length>0&&t.writeString(3,r),r=e.getClasscolor(),r.length>0&&t.writeString(4,r),r=e.getCle(),0!==r&&t.writeFloat(5,r),r=e.getCk(),0!==r&&t.writeFloat(6,r),r=e.getEi(),0!==r&&t.writeFloat(7,r),r=e.getBegintime(),0!==r&&t.writeInt64(8,r),r=e.getEndtime(),0!==r&&t.writeInt64(9,r),r=e.getSportduration(),0!==r&&t.writeInt32(10,r),r=e.getAge(),0!==r&&t.writeInt32(11,r),r=e.getHeight(),0!==r&&t.writeInt32(12,r),r=e.getWeight(),0!==r&&t.writeFloat(13,r),r=e.getSex(),0!==r&&t.writeInt32(14,r),r=e.getStatichr(),0!==r&&t.writeInt32(15,r),r=e.getUpid(),0!==r&&t.writeInt32(16,r)},proto.rpc.DuInfo.prototype.getClassid=function(){return i.Message.getFieldWithDefault(this,1,0)},proto.rpc.DuInfo.prototype.setClassid=function(e){return i.Message.setProto3IntField(this,1,e)},proto.rpc.DuInfo.prototype.getShopname=function(){return i.Message.getFieldWithDefault(this,2,"")},proto.rpc.DuInfo.prototype.setShopname=function(e){return i.Message.setProto3StringField(this,2,e)},proto.rpc.DuInfo.prototype.getClassname=function(){return i.Message.getFieldWithDefault(this,3,"")},proto.rpc.DuInfo.prototype.setClassname=function(e){return i.Message.setProto3StringField(this,3,e)},proto.rpc.DuInfo.prototype.getClasscolor=function(){return i.Message.getFieldWithDefault(this,4,"")},proto.rpc.DuInfo.prototype.setClasscolor=function(e){return i.Message.setProto3StringField(this,4,e)},proto.rpc.DuInfo.prototype.getCle=function(){return i.Message.getFloatingPointFieldWithDefault(this,5,0)},proto.rpc.DuInfo.prototype.setCle=function(e){return i.Message.setProto3FloatField(this,5,e)},proto.rpc.DuInfo.prototype.getCk=function(){return i.Message.getFloatingPointFieldWithDefault(this,6,0)},proto.rpc.DuInfo.prototype.setCk=function(e){return i.Message.setProto3FloatField(this,6,e)},proto.rpc.DuInfo.prototype.getEi=function(){return i.Message.getFloatingPointFieldWithDefault(this,7,0)},proto.rpc.DuInfo.prototype.setEi=function(e){return i.Message.setProto3FloatField(this,7,e)},proto.rpc.DuInfo.prototype.getBegintime=function(){return i.Message.getFieldWithDefault(this,8,0)},proto.rpc.DuInfo.prototype.setBegintime=function(e){return i.Message.setProto3IntField(this,8,e)},proto.rpc.DuInfo.prototype.getEndtime=function(){return i.Message.getFieldWithDefault(this,9,0)},proto.rpc.DuInfo.prototype.setEndtime=function(e){return i.Message.setProto3IntField(this,9,e)},proto.rpc.DuInfo.prototype.getSportduration=function(){return i.Message.getFieldWithDefault(this,10,0)},proto.rpc.DuInfo.prototype.setSportduration=function(e){return i.Message.setProto3IntField(this,10,e)},proto.rpc.DuInfo.prototype.getAge=function(){return i.Message.getFieldWithDefault(this,11,0)},proto.rpc.DuInfo.prototype.setAge=function(e){return i.Message.setProto3IntField(this,11,e)};proto.rpc.DuInfo.prototype.getHeight=function(){return i.Message.getFieldWithDefault(this,12,0)},proto.rpc.DuInfo.prototype.setHeight=function(e){return i.Message.setProto3IntField(this,12,e)},proto.rpc.DuInfo.prototype.getWeight=function(){return i.Message.getFloatingPointFieldWithDefault(this,13,0)},proto.rpc.DuInfo.prototype.setWeight=function(e){return i.Message.setProto3FloatField(this,13,e)},proto.rpc.DuInfo.prototype.getSex=function(){return i.Message.getFieldWithDefault(this,14,0)},proto.rpc.DuInfo.prototype.setSex=function(e){return i.Message.setProto3IntField(this,14,e)},proto.rpc.DuInfo.prototype.getStatichr=function(){return i.Message.getFieldWithDefault(this,15,0)},proto.rpc.DuInfo.prototype.setStatichr=function(e){return i.Message.setProto3IntField(this,15,e)},proto.rpc.DuInfo.prototype.getUpid=function(){return i.Message.getFieldWithDefault(this,16,0)},proto.rpc.DuInfo.prototype.setUpid=function(e){return i.Message.setProto3IntField(this,16,e)},proto.rpc.GetClassHistoryListReply.repeatedFields_=[1],i.Message.GENERATE_TO_OBJECT&&(proto.rpc.GetClassHistoryListReply.prototype.toObject=function(e){return proto.rpc.GetClassHistoryListReply.toObject(e,this)},proto.rpc.GetClassHistoryListReply.toObject=function(e,t){var r={dursList:i.Message.toObjectList(t.getDursList(),proto.rpc.DuInfo.toObject,e)};return e&&(r.$jspbMessageInstance=t),r}),proto.rpc.GetClassHistoryListReply.deserializeBinary=function(e){var t=new i.BinaryReader(e),r=new proto.rpc.GetClassHistoryListReply;return proto.rpc.GetClassHistoryListReply.deserializeBinaryFromReader(r,t)},proto.rpc.GetClassHistoryListReply.deserializeBinaryFromReader=function(e,t){while(t.nextField()){if(t.isEndGroup())break;var r=t.getFieldNumber();switch(r){case 1:var i=new proto.rpc.DuInfo;t.readMessage(i,proto.rpc.DuInfo.deserializeBinaryFromReader),e.addDurs(i);break;default:t.skipField();break}}return e},proto.rpc.GetClassHistoryListReply.prototype.serializeBinary=function(){var e=new i.BinaryWriter;return proto.rpc.GetClassHistoryListReply.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.rpc.GetClassHistoryListReply.serializeBinaryToWriter=function(e,t){var r=void 0;r=e.getDursList(),r.length>0&&t.writeRepeatedMessage(1,r,proto.rpc.DuInfo.serializeBinaryToWriter)},proto.rpc.GetClassHistoryListReply.prototype.getDursList=function(){return i.Message.getRepeatedWrapperField(this,proto.rpc.DuInfo,1)},proto.rpc.GetClassHistoryListReply.prototype.setDursList=function(e){return i.Message.setRepeatedWrapperField(this,1,e)},proto.rpc.GetClassHistoryListReply.prototype.addDurs=function(e,t){return i.Message.addToRepeatedWrapperField(this,1,e,proto.rpc.DuInfo,t)},proto.rpc.GetClassHistoryListReply.prototype.clearDursList=function(){return this.setDursList([])},i.Message.GENERATE_TO_OBJECT&&(proto.rpc.VideoCategoriesInfo.prototype.toObject=function(e){return proto.rpc.VideoCategoriesInfo.toObject(e,this)},proto.rpc.VideoCategoriesInfo.toObject=function(e,t){var r={vcid:i.Message.getFieldWithDefault(t,1,0),vcname:i.Message.getFieldWithDefault(t,2,""),orderno:i.Message.getFieldWithDefault(t,3,0),videocount:i.Message.getFieldWithDefault(t,4,0)};return e&&(r.$jspbMessageInstance=t),r}),proto.rpc.VideoCategoriesInfo.deserializeBinary=function(e){var t=new i.BinaryReader(e),r=new proto.rpc.VideoCategoriesInfo;return proto.rpc.VideoCategoriesInfo.deserializeBinaryFromReader(r,t)},proto.rpc.VideoCategoriesInfo.deserializeBinaryFromReader=function(e,t){while(t.nextField()){if(t.isEndGroup())break;var r=t.getFieldNumber();switch(r){case 1:var i=t.readInt32();e.setVcid(i);break;case 2:i=t.readString();e.setVcname(i);break;case 3:i=t.readInt32();e.setOrderno(i);break;case 4:i=t.readInt32();e.setVideocount(i);break;default:t.skipField();break}}return e},proto.rpc.VideoCategoriesInfo.prototype.serializeBinary=function(){var e=new i.BinaryWriter;return proto.rpc.VideoCategoriesInfo.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.rpc.VideoCategoriesInfo.serializeBinaryToWriter=function(e,t){var r=void 0;r=e.getVcid(),0!==r&&t.writeInt32(1,r),r=e.getVcname(),r.length>0&&t.writeString(2,r),r=e.getOrderno(),0!==r&&t.writeInt32(3,r),r=e.getVideocount(),0!==r&&t.writeInt32(4,r)},proto.rpc.VideoCategoriesInfo.prototype.getVcid=function(){return i.Message.getFieldWithDefault(this,1,0)},proto.rpc.VideoCategoriesInfo.prototype.setVcid=function(e){return i.Message.setProto3IntField(this,1,e)},proto.rpc.VideoCategoriesInfo.prototype.getVcname=function(){return i.Message.getFieldWithDefault(this,2,"")},proto.rpc.VideoCategoriesInfo.prototype.setVcname=function(e){return i.Message.setProto3StringField(this,2,e)},proto.rpc.VideoCategoriesInfo.prototype.getOrderno=function(){return i.Message.getFieldWithDefault(this,3,0)},proto.rpc.VideoCategoriesInfo.prototype.setOrderno=function(e){return i.Message.setProto3IntField(this,3,e)},proto.rpc.VideoCategoriesInfo.prototype.getVideocount=function(){return i.Message.getFieldWithDefault(this,4,0)},proto.rpc.VideoCategoriesInfo.prototype.setVideocount=function(e){return i.Message.setProto3IntField(this,4,e)},proto.rpc.GetVideoCategoriesListReply.repeatedFields_=[1],i.Message.GENERATE_TO_OBJECT&&(proto.rpc.GetVideoCategoriesListReply.prototype.toObject=function(e){return proto.rpc.GetVideoCategoriesListReply.toObject(e,this)},proto.rpc.GetVideoCategoriesListReply.toObject=function(e,t){var r={vcrsList:i.Message.toObjectList(t.getVcrsList(),proto.rpc.VideoCategoriesInfo.toObject,e)};return e&&(r.$jspbMessageInstance=t),r}),proto.rpc.GetVideoCategoriesListReply.deserializeBinary=function(e){var t=new i.BinaryReader(e),r=new proto.rpc.GetVideoCategoriesListReply;return proto.rpc.GetVideoCategoriesListReply.deserializeBinaryFromReader(r,t)},proto.rpc.GetVideoCategoriesListReply.deserializeBinaryFromReader=function(e,t){while(t.nextField()){if(t.isEndGroup())break;var r=t.getFieldNumber();switch(r){case 1:var i=new proto.rpc.VideoCategoriesInfo;t.readMessage(i,proto.rpc.VideoCategoriesInfo.deserializeBinaryFromReader),e.addVcrs(i);break;default:t.skipField();break}}return e},proto.rpc.GetVideoCategoriesListReply.prototype.serializeBinary=function(){var e=new i.BinaryWriter;return proto.rpc.GetVideoCategoriesListReply.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.rpc.GetVideoCategoriesListReply.serializeBinaryToWriter=function(e,t){var r=void 0;r=e.getVcrsList(),r.length>0&&t.writeRepeatedMessage(1,r,proto.rpc.VideoCategoriesInfo.serializeBinaryToWriter)},proto.rpc.GetVideoCategoriesListReply.prototype.getVcrsList=function(){return i.Message.getRepeatedWrapperField(this,proto.rpc.VideoCategoriesInfo,1)},proto.rpc.GetVideoCategoriesListReply.prototype.setVcrsList=function(e){return i.Message.setRepeatedWrapperField(this,1,e)},proto.rpc.GetVideoCategoriesListReply.prototype.addVcrs=function(e,t){return i.Message.addToRepeatedWrapperField(this,1,e,proto.rpc.VideoCategoriesInfo,t)},proto.rpc.GetVideoCategoriesListReply.prototype.clearVcrsList=function(){return this.setVcrsList([])},proto.rpc.GetVideoTagListReply.repeatedFields_=[1],i.Message.GENERATE_TO_OBJECT&&(proto.rpc.GetVideoTagListReply.prototype.toObject=function(e){return proto.rpc.GetVideoTagListReply.toObject(e,this)},proto.rpc.GetVideoTagListReply.toObject=function(e,t){var r={tagrsList:i.Message.toObjectList(t.getTagrsList(),proto.rpc.TagInfo.toObject,e)};return e&&(r.$jspbMessageInstance=t),r}),proto.rpc.GetVideoTagListReply.deserializeBinary=function(e){var t=new i.BinaryReader(e),r=new proto.rpc.GetVideoTagListReply;return proto.rpc.GetVideoTagListReply.deserializeBinaryFromReader(r,t)},proto.rpc.GetVideoTagListReply.deserializeBinaryFromReader=function(e,t){while(t.nextField()){if(t.isEndGroup())break;var r=t.getFieldNumber();switch(r){case 1:var i=new proto.rpc.TagInfo;t.readMessage(i,proto.rpc.TagInfo.deserializeBinaryFromReader),e.addTagrs(i);break;default:t.skipField();break}}return e},proto.rpc.GetVideoTagListReply.prototype.serializeBinary=function(){var e=new i.BinaryWriter;return proto.rpc.GetVideoTagListReply.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.rpc.GetVideoTagListReply.serializeBinaryToWriter=function(e,t){var r=void 0;r=e.getTagrsList(),r.length>0&&t.writeRepeatedMessage(1,r,proto.rpc.TagInfo.serializeBinaryToWriter)},proto.rpc.GetVideoTagListReply.prototype.getTagrsList=function(){return i.Message.getRepeatedWrapperField(this,proto.rpc.TagInfo,1)},proto.rpc.GetVideoTagListReply.prototype.setTagrsList=function(e){return i.Message.setRepeatedWrapperField(this,1,e)},proto.rpc.GetVideoTagListReply.prototype.addTagrs=function(e,t){return i.Message.addToRepeatedWrapperField(this,1,e,proto.rpc.TagInfo,t)},proto.rpc.GetVideoTagListReply.prototype.clearTagrsList=function(){return this.setTagrsList([])},i.Message.GENERATE_TO_OBJECT&&(proto.rpc.TagInfo.prototype.toObject=function(e){return proto.rpc.TagInfo.toObject(e,this)},proto.rpc.TagInfo.toObject=function(e,t){var r={tagid:i.Message.getFieldWithDefault(t,1,0),tagname:i.Message.getFieldWithDefault(t,2,"")};return e&&(r.$jspbMessageInstance=t),r}),proto.rpc.TagInfo.deserializeBinary=function(e){var t=new i.BinaryReader(e),r=new proto.rpc.TagInfo;return proto.rpc.TagInfo.deserializeBinaryFromReader(r,t)},proto.rpc.TagInfo.deserializeBinaryFromReader=function(e,t){while(t.nextField()){if(t.isEndGroup())break;var r=t.getFieldNumber();switch(r){case 1:var i=t.readInt32();e.setTagid(i);break;case 2:i=t.readString();e.setTagname(i);break;default:t.skipField();break}}return e},proto.rpc.TagInfo.prototype.serializeBinary=function(){var e=new i.BinaryWriter;return proto.rpc.TagInfo.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.rpc.TagInfo.serializeBinaryToWriter=function(e,t){var r=void 0;r=e.getTagid(),0!==r&&t.writeInt32(1,r),r=e.getTagname(),r.length>0&&t.writeString(2,r)},proto.rpc.TagInfo.prototype.getTagid=function(){return i.Message.getFieldWithDefault(this,1,0)},proto.rpc.TagInfo.prototype.setTagid=function(e){return i.Message.setProto3IntField(this,1,e)},proto.rpc.TagInfo.prototype.getTagname=function(){return i.Message.getFieldWithDefault(this,2,"")},proto.rpc.TagInfo.prototype.setTagname=function(e){return i.Message.setProto3StringField(this,2,e)},proto.rpc.VideoListReply.repeatedFields_=[1],i.Message.GENERATE_TO_OBJECT&&(proto.rpc.VideoListReply.prototype.toObject=function(e){return proto.rpc.VideoListReply.toObject(e,this)},proto.rpc.VideoListReply.toObject=function(e,t){var r={videorsList:i.Message.toObjectList(t.getVideorsList(),proto.rpc.VideoInfo.toObject,e)};return e&&(r.$jspbMessageInstance=t),r}),proto.rpc.VideoListReply.deserializeBinary=function(e){var t=new i.BinaryReader(e),r=new proto.rpc.VideoListReply;return proto.rpc.VideoListReply.deserializeBinaryFromReader(r,t)},proto.rpc.VideoListReply.deserializeBinaryFromReader=function(e,t){while(t.nextField()){if(t.isEndGroup())break;var r=t.getFieldNumber();switch(r){case 1:var i=new proto.rpc.VideoInfo;t.readMessage(i,proto.rpc.VideoInfo.deserializeBinaryFromReader),e.addVideors(i);break;default:t.skipField();break}}return e},proto.rpc.VideoListReply.prototype.serializeBinary=function(){var e=new i.BinaryWriter;return proto.rpc.VideoListReply.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.rpc.VideoListReply.serializeBinaryToWriter=function(e,t){var r=void 0;r=e.getVideorsList(),r.length>0&&t.writeRepeatedMessage(1,r,proto.rpc.VideoInfo.serializeBinaryToWriter)},proto.rpc.VideoListReply.prototype.getVideorsList=function(){return i.Message.getRepeatedWrapperField(this,proto.rpc.VideoInfo,1)},proto.rpc.VideoListReply.prototype.setVideorsList=function(e){return i.Message.setRepeatedWrapperField(this,1,e)},proto.rpc.VideoListReply.prototype.addVideors=function(e,t){return i.Message.addToRepeatedWrapperField(this,1,e,proto.rpc.VideoInfo,t)},proto.rpc.VideoListReply.prototype.clearVideorsList=function(){return this.setVideorsList([])},proto.rpc.MyAllVideoListPlayQueryReply.repeatedFields_=[1],i.Message.GENERATE_TO_OBJECT&&(proto.rpc.MyAllVideoListPlayQueryReply.prototype.toObject=function(e){return proto.rpc.MyAllVideoListPlayQueryReply.toObject(e,this)},proto.rpc.MyAllVideoListPlayQueryReply.toObject=function(e,t){var r={playrsList:i.Message.toObjectList(t.getPlayrsList(),proto.rpc.VideoPlayInfo.toObject,e)};return e&&(r.$jspbMessageInstance=t),r}),proto.rpc.MyAllVideoListPlayQueryReply.deserializeBinary=function(e){var t=new i.BinaryReader(e),r=new proto.rpc.MyAllVideoListPlayQueryReply;return proto.rpc.MyAllVideoListPlayQueryReply.deserializeBinaryFromReader(r,t)},proto.rpc.MyAllVideoListPlayQueryReply.deserializeBinaryFromReader=function(e,t){while(t.nextField()){if(t.isEndGroup())break;var r=t.getFieldNumber();switch(r){case 1:var i=new proto.rpc.VideoPlayInfo;t.readMessage(i,proto.rpc.VideoPlayInfo.deserializeBinaryFromReader),e.addPlayrs(i);break;default:t.skipField();break}}return e},proto.rpc.MyAllVideoListPlayQueryReply.prototype.serializeBinary=function(){var e=new i.BinaryWriter;return proto.rpc.MyAllVideoListPlayQueryReply.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.rpc.MyAllVideoListPlayQueryReply.serializeBinaryToWriter=function(e,t){var r=void 0;r=e.getPlayrsList(),r.length>0&&t.writeRepeatedMessage(1,r,proto.rpc.VideoPlayInfo.serializeBinaryToWriter)},proto.rpc.MyAllVideoListPlayQueryReply.prototype.getPlayrsList=function(){return i.Message.getRepeatedWrapperField(this,proto.rpc.VideoPlayInfo,1)},proto.rpc.MyAllVideoListPlayQueryReply.prototype.setPlayrsList=function(e){return i.Message.setRepeatedWrapperField(this,1,e)},proto.rpc.MyAllVideoListPlayQueryReply.prototype.addPlayrs=function(e,t){return i.Message.addToRepeatedWrapperField(this,1,e,proto.rpc.VideoPlayInfo,t)},proto.rpc.MyAllVideoListPlayQueryReply.prototype.clearPlayrsList=function(){return this.setPlayrsList([])},proto.rpc.AllVideoListReply.repeatedFields_=[1],i.Message.GENERATE_TO_OBJECT&&(proto.rpc.AllVideoListReply.prototype.toObject=function(e){return proto.rpc.AllVideoListReply.toObject(e,this)},proto.rpc.AllVideoListReply.toObject=function(e,t){var r={fullvideorsList:i.Message.toObjectList(t.getFullvideorsList(),proto.rpc.CategoriesListInfo.toObject,e)};return e&&(r.$jspbMessageInstance=t),r}),proto.rpc.AllVideoListReply.deserializeBinary=function(e){var t=new i.BinaryReader(e),r=new proto.rpc.AllVideoListReply;return proto.rpc.AllVideoListReply.deserializeBinaryFromReader(r,t)},proto.rpc.AllVideoListReply.deserializeBinaryFromReader=function(e,t){while(t.nextField()){if(t.isEndGroup())break;var r=t.getFieldNumber();switch(r){case 1:var i=new proto.rpc.CategoriesListInfo;t.readMessage(i,proto.rpc.CategoriesListInfo.deserializeBinaryFromReader),e.addFullvideors(i);break;default:t.skipField();break}}return e},proto.rpc.AllVideoListReply.prototype.serializeBinary=function(){var e=new i.BinaryWriter;return proto.rpc.AllVideoListReply.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.rpc.AllVideoListReply.serializeBinaryToWriter=function(e,t){var r=void 0;r=e.getFullvideorsList(),r.length>0&&t.writeRepeatedMessage(1,r,proto.rpc.CategoriesListInfo.serializeBinaryToWriter)},proto.rpc.AllVideoListReply.prototype.getFullvideorsList=function(){return i.Message.getRepeatedWrapperField(this,proto.rpc.CategoriesListInfo,1)},proto.rpc.AllVideoListReply.prototype.setFullvideorsList=function(e){return i.Message.setRepeatedWrapperField(this,1,e)},proto.rpc.AllVideoListReply.prototype.addFullvideors=function(e,t){return i.Message.addToRepeatedWrapperField(this,1,e,proto.rpc.CategoriesListInfo,t)},proto.rpc.AllVideoListReply.prototype.clearFullvideorsList=function(){return this.setFullvideorsList([])},proto.rpc.CategoriesListInfo.repeatedFields_=[3],i.Message.GENERATE_TO_OBJECT&&(proto.rpc.CategoriesListInfo.prototype.toObject=function(e){return proto.rpc.CategoriesListInfo.toObject(e,this)},proto.rpc.CategoriesListInfo.toObject=function(e,t){var r={vcname:i.Message.getFieldWithDefault(t,1,""),vcid:i.Message.getFieldWithDefault(t,2,0),videorsList:i.Message.toObjectList(t.getVideorsList(),proto.rpc.VideoInfo.toObject,e)};return e&&(r.$jspbMessageInstance=t),r}),proto.rpc.CategoriesListInfo.deserializeBinary=function(e){var t=new i.BinaryReader(e),r=new proto.rpc.CategoriesListInfo;return proto.rpc.CategoriesListInfo.deserializeBinaryFromReader(r,t)},proto.rpc.CategoriesListInfo.deserializeBinaryFromReader=function(e,t){while(t.nextField()){if(t.isEndGroup())break;var r=t.getFieldNumber();switch(r){case 1:var i=t.readString();e.setVcname(i);break;case 2:i=t.readInt32();e.setVcid(i);break;case 3:i=new proto.rpc.VideoInfo;t.readMessage(i,proto.rpc.VideoInfo.deserializeBinaryFromReader),e.addVideors(i);break;default:t.skipField();break}}return e},proto.rpc.CategoriesListInfo.prototype.serializeBinary=function(){var e=new i.BinaryWriter;return proto.rpc.CategoriesListInfo.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.rpc.CategoriesListInfo.serializeBinaryToWriter=function(e,t){var r=void 0;r=e.getVcname(),r.length>0&&t.writeString(1,r),r=e.getVcid(),0!==r&&t.writeInt32(2,r),r=e.getVideorsList(),r.length>0&&t.writeRepeatedMessage(3,r,proto.rpc.VideoInfo.serializeBinaryToWriter)},proto.rpc.CategoriesListInfo.prototype.getVcname=function(){return i.Message.getFieldWithDefault(this,1,"")},proto.rpc.CategoriesListInfo.prototype.setVcname=function(e){return i.Message.setProto3StringField(this,1,e)},proto.rpc.CategoriesListInfo.prototype.getVcid=function(){return i.Message.getFieldWithDefault(this,2,0)},proto.rpc.CategoriesListInfo.prototype.setVcid=function(e){return i.Message.setProto3IntField(this,2,e)},proto.rpc.CategoriesListInfo.prototype.getVideorsList=function(){return i.Message.getRepeatedWrapperField(this,proto.rpc.VideoInfo,3)},proto.rpc.CategoriesListInfo.prototype.setVideorsList=function(e){return i.Message.setRepeatedWrapperField(this,3,e)},proto.rpc.CategoriesListInfo.prototype.addVideors=function(e,t){return i.Message.addToRepeatedWrapperField(this,3,e,proto.rpc.VideoInfo,t)},proto.rpc.CategoriesListInfo.prototype.clearVideorsList=function(){return this.setVideorsList([])},i.Message.GENERATE_TO_OBJECT&&(proto.rpc.VideoPlayInfo.prototype.toObject=function(e){return proto.rpc.VideoPlayInfo.toObject(e,this)},proto.rpc.VideoPlayInfo.toObject=function(e,t){var r={videoid:i.Message.getFieldWithDefault(t,1,0),alivid:i.Message.getFieldWithDefault(t,2,""),vtitle:i.Message.getFieldWithDefault(t,3,""),coverurl:i.Message.getFieldWithDefault(t,4,""),playduration:i.Message.getFieldWithDefault(t,5,0),playtimestamp:i.Message.getFieldWithDefault(t,6,0),orderid:i.Message.getFieldWithDefault(t,7,0),isvalid:i.Message.getFieldWithDefault(t,8,0)};return e&&(r.$jspbMessageInstance=t),r}),proto.rpc.VideoPlayInfo.deserializeBinary=function(e){var t=new i.BinaryReader(e),r=new proto.rpc.VideoPlayInfo;return proto.rpc.VideoPlayInfo.deserializeBinaryFromReader(r,t)},proto.rpc.VideoPlayInfo.deserializeBinaryFromReader=function(e,t){while(t.nextField()){if(t.isEndGroup())break;var r=t.getFieldNumber();switch(r){case 1:var i=t.readInt32();e.setVideoid(i);break;case 2:i=t.readString();e.setAlivid(i);break;case 3:i=t.readString();e.setVtitle(i);break;case 4:i=t.readString();e.setCoverurl(i);break;case 5:i=t.readInt32();e.setPlayduration(i);break;case 6:i=t.readInt64();e.setPlaytimestamp(i);break;case 7:i=t.readInt64();e.setOrderid(i);break;case 8:i=t.readInt32();e.setIsvalid(i);break;default:t.skipField();break}}return e},proto.rpc.VideoPlayInfo.prototype.serializeBinary=function(){var e=new i.BinaryWriter;return proto.rpc.VideoPlayInfo.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.rpc.VideoPlayInfo.serializeBinaryToWriter=function(e,t){var r=void 0;r=e.getVideoid(),0!==r&&t.writeInt32(1,r),r=e.getAlivid(),r.length>0&&t.writeString(2,r),r=e.getVtitle(),r.length>0&&t.writeString(3,r),r=e.getCoverurl(),r.length>0&&t.writeString(4,r),r=e.getPlayduration(),0!==r&&t.writeInt32(5,r),r=e.getPlaytimestamp(),0!==r&&t.writeInt64(6,r),r=e.getOrderid(),0!==r&&t.writeInt64(7,r),r=e.getIsvalid(),0!==r&&t.writeInt32(8,r)},proto.rpc.VideoPlayInfo.prototype.getVideoid=function(){return i.Message.getFieldWithDefault(this,1,0)},proto.rpc.VideoPlayInfo.prototype.setVideoid=function(e){return i.Message.setProto3IntField(this,1,e)},proto.rpc.VideoPlayInfo.prototype.getAlivid=function(){return i.Message.getFieldWithDefault(this,2,"")},proto.rpc.VideoPlayInfo.prototype.setAlivid=function(e){return i.Message.setProto3StringField(this,2,e)},proto.rpc.VideoPlayInfo.prototype.getVtitle=function(){return i.Message.getFieldWithDefault(this,3,"")},proto.rpc.VideoPlayInfo.prototype.setVtitle=function(e){return i.Message.setProto3StringField(this,3,e)},proto.rpc.VideoPlayInfo.prototype.getCoverurl=function(){return i.Message.getFieldWithDefault(this,4,"")},proto.rpc.VideoPlayInfo.prototype.setCoverurl=function(e){return i.Message.setProto3StringField(this,4,e)},proto.rpc.VideoPlayInfo.prototype.getPlayduration=function(){return i.Message.getFieldWithDefault(this,5,0)},proto.rpc.VideoPlayInfo.prototype.setPlayduration=function(e){return i.Message.setProto3IntField(this,5,e)},proto.rpc.VideoPlayInfo.prototype.getPlaytimestamp=function(){return i.Message.getFieldWithDefault(this,6,0)},proto.rpc.VideoPlayInfo.prototype.setPlaytimestamp=function(e){return i.Message.setProto3IntField(this,6,e)},proto.rpc.VideoPlayInfo.prototype.getOrderid=function(){return i.Message.getFieldWithDefault(this,7,0)},proto.rpc.VideoPlayInfo.prototype.setOrderid=function(e){return i.Message.setProto3IntField(this,7,e)},proto.rpc.VideoPlayInfo.prototype.getIsvalid=function(){return i.Message.getFieldWithDefault(this,8,0)},proto.rpc.VideoPlayInfo.prototype.setIsvalid=function(e){return i.Message.setProto3IntField(this,8,e)},i.Message.GENERATE_TO_OBJECT&&(proto.rpc.VideoInfo.prototype.toObject=function(e){return proto.rpc.VideoInfo.toObject(e,this)},proto.rpc.VideoInfo.toObject=function(e,t){var r={videoid:i.Message.getFieldWithDefault(t,1,0),alivid:i.Message.getFieldWithDefault(t,2,""),vtitle:i.Message.getFieldWithDefault(t,3,""),coverurl:i.Message.getFieldWithDefault(t,4,""),videoduration:i.Message.getFieldWithDefault(t,5,0),collectcount:i.Message.getFieldWithDefault(t,6,0),playcount:i.Message.getFieldWithDefault(t,7,0),vtype:i.Message.getFieldWithDefault(t,8,0),predictcal:i.Message.getFieldWithDefault(t,9,0),exerciselevel:i.Message.getFieldWithDefault(t,10,0),memo:i.Message.getFieldWithDefault(t,11,""),orderid:i.Message.getFieldWithDefault(t,12,0),ei:i.Message.getFloatingPointFieldWithDefault(t,13,0),isfavoritestatus:i.Message.getFieldWithDefault(t,14,0)};return e&&(r.$jspbMessageInstance=t),r}),proto.rpc.VideoInfo.deserializeBinary=function(e){var t=new i.BinaryReader(e),r=new proto.rpc.VideoInfo;return proto.rpc.VideoInfo.deserializeBinaryFromReader(r,t)},proto.rpc.VideoInfo.deserializeBinaryFromReader=function(e,t){while(t.nextField()){if(t.isEndGroup())break;var r=t.getFieldNumber();switch(r){case 1:var i=t.readInt32();e.setVideoid(i);break;case 2:i=t.readString();e.setAlivid(i);break;case 3:i=t.readString();e.setVtitle(i);break;case 4:i=t.readString();e.setCoverurl(i);break;case 5:i=t.readInt32();e.setVideoduration(i);break;case 6:i=t.readInt32();e.setCollectcount(i);break;case 7:i=t.readInt32();e.setPlaycount(i);break;case 8:i=t.readInt32();e.setVtype(i);break;case 9:i=t.readInt32();e.setPredictcal(i);break;case 10:i=t.readInt32();e.setExerciselevel(i);break;case 11:i=t.readString();e.setMemo(i);break;case 12:i=t.readInt64();e.setOrderid(i);break;case 13:i=t.readFloat();e.setEi(i);break;case 14:i=t.readInt32();e.setIsfavoritestatus(i);break;default:t.skipField();break}}return e},proto.rpc.VideoInfo.prototype.serializeBinary=function(){var e=new i.BinaryWriter;return proto.rpc.VideoInfo.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.rpc.VideoInfo.serializeBinaryToWriter=function(e,t){var r=void 0;r=e.getVideoid(),0!==r&&t.writeInt32(1,r),r=e.getAlivid(),r.length>0&&t.writeString(2,r),r=e.getVtitle(),r.length>0&&t.writeString(3,r),r=e.getCoverurl(),r.length>0&&t.writeString(4,r),r=e.getVideoduration(),0!==r&&t.writeInt32(5,r),r=e.getCollectcount(),0!==r&&t.writeInt32(6,r),r=e.getPlaycount(),0!==r&&t.writeInt32(7,r),r=e.getVtype(),0!==r&&t.writeInt32(8,r),r=e.getPredictcal(),0!==r&&t.writeInt32(9,r),r=e.getExerciselevel(),0!==r&&t.writeInt32(10,r),r=e.getMemo(),r.length>0&&t.writeString(11,r),r=e.getOrderid(),0!==r&&t.writeInt64(12,r),r=e.getEi(),0!==r&&t.writeFloat(13,r),r=e.getIsfavoritestatus(),0!==r&&t.writeInt32(14,r)},proto.rpc.VideoInfo.prototype.getVideoid=function(){return i.Message.getFieldWithDefault(this,1,0)},proto.rpc.VideoInfo.prototype.setVideoid=function(e){return i.Message.setProto3IntField(this,1,e)},proto.rpc.VideoInfo.prototype.getAlivid=function(){return i.Message.getFieldWithDefault(this,2,"")},proto.rpc.VideoInfo.prototype.setAlivid=function(e){return i.Message.setProto3StringField(this,2,e)},proto.rpc.VideoInfo.prototype.getVtitle=function(){return i.Message.getFieldWithDefault(this,3,"")},proto.rpc.VideoInfo.prototype.setVtitle=function(e){return i.Message.setProto3StringField(this,3,e)},proto.rpc.VideoInfo.prototype.getCoverurl=function(){return i.Message.getFieldWithDefault(this,4,"")},proto.rpc.VideoInfo.prototype.setCoverurl=function(e){return i.Message.setProto3StringField(this,4,e)},proto.rpc.VideoInfo.prototype.getVideoduration=function(){return i.Message.getFieldWithDefault(this,5,0)},proto.rpc.VideoInfo.prototype.setVideoduration=function(e){return i.Message.setProto3IntField(this,5,e)},proto.rpc.VideoInfo.prototype.getCollectcount=function(){return i.Message.getFieldWithDefault(this,6,0)},proto.rpc.VideoInfo.prototype.setCollectcount=function(e){return i.Message.setProto3IntField(this,6,e)},proto.rpc.VideoInfo.prototype.getPlaycount=function(){return i.Message.getFieldWithDefault(this,7,0)},proto.rpc.VideoInfo.prototype.setPlaycount=function(e){return i.Message.setProto3IntField(this,7,e)},proto.rpc.VideoInfo.prototype.getVtype=function(){return i.Message.getFieldWithDefault(this,8,0)},proto.rpc.VideoInfo.prototype.setVtype=function(e){return i.Message.setProto3IntField(this,8,e)},proto.rpc.VideoInfo.prototype.getPredictcal=function(){return i.Message.getFieldWithDefault(this,9,0)},proto.rpc.VideoInfo.prototype.setPredictcal=function(e){return i.Message.setProto3IntField(this,9,e)},proto.rpc.VideoInfo.prototype.getExerciselevel=function(){return i.Message.getFieldWithDefault(this,10,0)},proto.rpc.VideoInfo.prototype.setExerciselevel=function(e){return i.Message.setProto3IntField(this,10,e)},proto.rpc.VideoInfo.prototype.getMemo=function(){return i.Message.getFieldWithDefault(this,11,"")},proto.rpc.VideoInfo.prototype.setMemo=function(e){return i.Message.setProto3StringField(this,11,e)},proto.rpc.VideoInfo.prototype.getOrderid=function(){return i.Message.getFieldWithDefault(this,12,0)},proto.rpc.VideoInfo.prototype.setOrderid=function(e){return i.Message.setProto3IntField(this,12,e)},proto.rpc.VideoInfo.prototype.getEi=function(){return i.Message.getFloatingPointFieldWithDefault(this,13,0)},proto.rpc.VideoInfo.prototype.setEi=function(e){return i.Message.setProto3FloatField(this,13,e)},proto.rpc.VideoInfo.prototype.getIsfavoritestatus=function(){return i.Message.getFieldWithDefault(this,14,0)},proto.rpc.VideoInfo.prototype.setIsfavoritestatus=function(e){return i.Message.setProto3IntField(this,14,e)},i.Message.GENERATE_TO_OBJECT&&(proto.rpc.ManagerVideoInfo.prototype.toObject=function(e){return proto.rpc.ManagerVideoInfo.toObject(e,this)},proto.rpc.ManagerVideoInfo.toObject=function(e,t){var r={videoid:i.Message.getFieldWithDefault(t,1,0),alivid:i.Message.getFieldWithDefault(t,2,""),vtitle:i.Message.getFieldWithDefault(t,3,""),coverurl:i.Message.getFieldWithDefault(t,4,""),videoduration:i.Message.getFieldWithDefault(t,5,0),collectcount:i.Message.getFieldWithDefault(t,6,0),playcount:i.Message.getFieldWithDefault(t,7,0),vtype:i.Message.getFieldWithDefault(t,8,0),predictcal:i.Message.getFieldWithDefault(t,9,0),exerciselevel:i.Message.getFieldWithDefault(t,10,0),memo:i.Message.getFieldWithDefault(t,11,""),status:i.Message.getFieldWithDefault(t,12,0)};return e&&(r.$jspbMessageInstance=t),r}),proto.rpc.ManagerVideoInfo.deserializeBinary=function(e){var t=new i.BinaryReader(e),r=new proto.rpc.ManagerVideoInfo;return proto.rpc.ManagerVideoInfo.deserializeBinaryFromReader(r,t)},proto.rpc.ManagerVideoInfo.deserializeBinaryFromReader=function(e,t){while(t.nextField()){if(t.isEndGroup())break;var r=t.getFieldNumber();switch(r){case 1:var i=t.readInt32();e.setVideoid(i);break;case 2:i=t.readString();e.setAlivid(i);break;case 3:i=t.readString();e.setVtitle(i);break;case 4:i=t.readString();e.setCoverurl(i);break;case 5:i=t.readInt32();e.setVideoduration(i);break;case 6:i=t.readInt32();e.setCollectcount(i);break;case 7:i=t.readInt32();e.setPlaycount(i);break;case 8:i=t.readInt32();e.setVtype(i);break;case 9:i=t.readInt32();e.setPredictcal(i);break;case 10:i=t.readInt32();e.setExerciselevel(i);break;case 11:i=t.readString();e.setMemo(i);break;case 12:i=t.readInt32();e.setStatus(i);break;default:t.skipField();break}}return e},proto.rpc.ManagerVideoInfo.prototype.serializeBinary=function(){var e=new i.BinaryWriter;return proto.rpc.ManagerVideoInfo.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.rpc.ManagerVideoInfo.serializeBinaryToWriter=function(e,t){var r=void 0;r=e.getVideoid(),0!==r&&t.writeInt32(1,r),r=e.getAlivid(),r.length>0&&t.writeString(2,r),r=e.getVtitle(),r.length>0&&t.writeString(3,r),r=e.getCoverurl(),r.length>0&&t.writeString(4,r),r=e.getVideoduration(),0!==r&&t.writeInt32(5,r),r=e.getCollectcount(),0!==r&&t.writeInt32(6,r),r=e.getPlaycount(),0!==r&&t.writeInt32(7,r),r=e.getVtype(),0!==r&&t.writeInt32(8,r),r=e.getPredictcal(),0!==r&&t.writeInt32(9,r),r=e.getExerciselevel(),0!==r&&t.writeInt32(10,r),r=e.getMemo(),r.length>0&&t.writeString(11,r),r=e.getStatus(),0!==r&&t.writeInt32(12,r)},proto.rpc.ManagerVideoInfo.prototype.getVideoid=function(){return i.Message.getFieldWithDefault(this,1,0)},proto.rpc.ManagerVideoInfo.prototype.setVideoid=function(e){return i.Message.setProto3IntField(this,1,e)},proto.rpc.ManagerVideoInfo.prototype.getAlivid=function(){return i.Message.getFieldWithDefault(this,2,"")},proto.rpc.ManagerVideoInfo.prototype.setAlivid=function(e){return i.Message.setProto3StringField(this,2,e)},proto.rpc.ManagerVideoInfo.prototype.getVtitle=function(){return i.Message.getFieldWithDefault(this,3,"")},proto.rpc.ManagerVideoInfo.prototype.setVtitle=function(e){return i.Message.setProto3StringField(this,3,e)},proto.rpc.ManagerVideoInfo.prototype.getCoverurl=function(){return i.Message.getFieldWithDefault(this,4,"")},proto.rpc.ManagerVideoInfo.prototype.setCoverurl=function(e){return i.Message.setProto3StringField(this,4,e)},proto.rpc.ManagerVideoInfo.prototype.getVideoduration=function(){return i.Message.getFieldWithDefault(this,5,0)},proto.rpc.ManagerVideoInfo.prototype.setVideoduration=function(e){return i.Message.setProto3IntField(this,5,e)},proto.rpc.ManagerVideoInfo.prototype.getCollectcount=function(){return i.Message.getFieldWithDefault(this,6,0)},proto.rpc.ManagerVideoInfo.prototype.setCollectcount=function(e){return i.Message.setProto3IntField(this,6,e)},proto.rpc.ManagerVideoInfo.prototype.getPlaycount=function(){return i.Message.getFieldWithDefault(this,7,0)},proto.rpc.ManagerVideoInfo.prototype.setPlaycount=function(e){return i.Message.setProto3IntField(this,7,e)},proto.rpc.ManagerVideoInfo.prototype.getVtype=function(){return i.Message.getFieldWithDefault(this,8,0)},proto.rpc.ManagerVideoInfo.prototype.setVtype=function(e){return i.Message.setProto3IntField(this,8,e)},proto.rpc.ManagerVideoInfo.prototype.getPredictcal=function(){return i.Message.getFieldWithDefault(this,9,0)},proto.rpc.ManagerVideoInfo.prototype.setPredictcal=function(e){return i.Message.setProto3IntField(this,9,e)},proto.rpc.ManagerVideoInfo.prototype.getExerciselevel=function(){return i.Message.getFieldWithDefault(this,10,0)},proto.rpc.ManagerVideoInfo.prototype.setExerciselevel=function(e){return i.Message.setProto3IntField(this,10,e)},proto.rpc.ManagerVideoInfo.prototype.getMemo=function(){return i.Message.getFieldWithDefault(this,11,"")},proto.rpc.ManagerVideoInfo.prototype.setMemo=function(e){return i.Message.setProto3StringField(this,11,e)},proto.rpc.ManagerVideoInfo.prototype.getStatus=function(){return i.Message.getFieldWithDefault(this,12,0)},proto.rpc.ManagerVideoInfo.prototype.setStatus=function(e){return i.Message.setProto3IntField(this,12,e)},i.Message.GENERATE_TO_OBJECT&&(proto.rpc.VideoDetailInfo.prototype.toObject=function(e){return proto.rpc.VideoDetailInfo.toObject(e,this)},proto.rpc.VideoDetailInfo.toObject=function(e,t){var r,o={basevideo:(r=t.getBasevideo())&&proto.rpc.VideoInfo.toObject(e,r),lastplayinfo:(r=t.getLastplayinfo())&&proto.rpc.LastPlayRecords.toObject(e,r),lastplaystatus:i.Message.getFieldWithDefault(t,3,0),isfavoritestatus:i.Message.getFieldWithDefault(t,4,0)};return e&&(o.$jspbMessageInstance=t),o}),proto.rpc.VideoDetailInfo.deserializeBinary=function(e){var t=new i.BinaryReader(e),r=new proto.rpc.VideoDetailInfo;return proto.rpc.VideoDetailInfo.deserializeBinaryFromReader(r,t)},proto.rpc.VideoDetailInfo.deserializeBinaryFromReader=function(e,t){while(t.nextField()){if(t.isEndGroup())break;var r=t.getFieldNumber();switch(r){case 1:var i=new proto.rpc.VideoInfo;t.readMessage(i,proto.rpc.VideoInfo.deserializeBinaryFromReader),e.setBasevideo(i);break;case 2:i=new proto.rpc.LastPlayRecords;t.readMessage(i,proto.rpc.LastPlayRecords.deserializeBinaryFromReader),e.setLastplayinfo(i);break;case 3:i=t.readInt32();e.setLastplaystatus(i);break;case 4:i=t.readInt32();e.setIsfavoritestatus(i);break;default:t.skipField();break}}return e},proto.rpc.VideoDetailInfo.prototype.serializeBinary=function(){var e=new i.BinaryWriter;return proto.rpc.VideoDetailInfo.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.rpc.VideoDetailInfo.serializeBinaryToWriter=function(e,t){var r=void 0;r=e.getBasevideo(),null!=r&&t.writeMessage(1,r,proto.rpc.VideoInfo.serializeBinaryToWriter),r=e.getLastplayinfo(),null!=r&&t.writeMessage(2,r,proto.rpc.LastPlayRecords.serializeBinaryToWriter),r=e.getLastplaystatus(),0!==r&&t.writeInt32(3,r),r=e.getIsfavoritestatus(),0!==r&&t.writeInt32(4,r)},proto.rpc.VideoDetailInfo.prototype.getBasevideo=function(){return i.Message.getWrapperField(this,proto.rpc.VideoInfo,1)},proto.rpc.VideoDetailInfo.prototype.setBasevideo=function(e){return i.Message.setWrapperField(this,1,e)},proto.rpc.VideoDetailInfo.prototype.clearBasevideo=function(){return this.setBasevideo(void 0)},proto.rpc.VideoDetailInfo.prototype.hasBasevideo=function(){return null!=i.Message.getField(this,1)},proto.rpc.VideoDetailInfo.prototype.getLastplayinfo=function(){return i.Message.getWrapperField(this,proto.rpc.LastPlayRecords,2)},proto.rpc.VideoDetailInfo.prototype.setLastplayinfo=function(e){return i.Message.setWrapperField(this,2,e)},proto.rpc.VideoDetailInfo.prototype.clearLastplayinfo=function(){return this.setLastplayinfo(void 0)},proto.rpc.VideoDetailInfo.prototype.hasLastplayinfo=function(){return null!=i.Message.getField(this,2)},proto.rpc.VideoDetailInfo.prototype.getLastplaystatus=function(){return i.Message.getFieldWithDefault(this,3,0)},proto.rpc.VideoDetailInfo.prototype.setLastplaystatus=function(e){return i.Message.setProto3IntField(this,3,e)},proto.rpc.VideoDetailInfo.prototype.getIsfavoritestatus=function(){return i.Message.getFieldWithDefault(this,4,0)},proto.rpc.VideoDetailInfo.prototype.setIsfavoritestatus=function(e){return i.Message.setProto3IntField(this,4,e)},i.Message.GENERATE_TO_OBJECT&&(proto.rpc.VcInfo.prototype.toObject=function(e){return proto.rpc.VcInfo.toObject(e,this)},proto.rpc.VcInfo.toObject=function(e,t){var r={vcid:i.Message.getFieldWithDefault(t,1,0),vcname:i.Message.getFieldWithDefault(t,2,"")};return e&&(r.$jspbMessageInstance=t),r}),proto.rpc.VcInfo.deserializeBinary=function(e){var t=new i.BinaryReader(e),r=new proto.rpc.VcInfo;return proto.rpc.VcInfo.deserializeBinaryFromReader(r,t)},proto.rpc.VcInfo.deserializeBinaryFromReader=function(e,t){while(t.nextField()){if(t.isEndGroup())break;var r=t.getFieldNumber();switch(r){case 1:var i=t.readInt32();e.setVcid(i);break;case 2:i=t.readString();e.setVcname(i);break;default:t.skipField();break}}return e},proto.rpc.VcInfo.prototype.serializeBinary=function(){var e=new i.BinaryWriter;return proto.rpc.VcInfo.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.rpc.VcInfo.serializeBinaryToWriter=function(e,t){var r=void 0;r=e.getVcid(),0!==r&&t.writeInt32(1,r),r=e.getVcname(),r.length>0&&t.writeString(2,r)},proto.rpc.VcInfo.prototype.getVcid=function(){return i.Message.getFieldWithDefault(this,1,0)},proto.rpc.VcInfo.prototype.setVcid=function(e){return i.Message.setProto3IntField(this,1,e)},proto.rpc.VcInfo.prototype.getVcname=function(){return i.Message.getFieldWithDefault(this,2,"")},proto.rpc.VcInfo.prototype.setVcname=function(e){return i.Message.setProto3StringField(this,2,e)},proto.rpc.LastPlayRecords.repeatedFields_=[9],i.Message.GENERATE_TO_OBJECT&&(proto.rpc.LastPlayRecords.prototype.toObject=function(e){return proto.rpc.LastPlayRecords.toObject(e,this)},proto.rpc.LastPlayRecords.toObject=function(e,t){var r={prid:i.Message.getFieldWithDefault(t,1,0),playstate:i.Message.getFieldWithDefault(t,2,0),playduration:i.Message.getFieldWithDefault(t,3,0),begintime:i.Message.getFieldWithDefault(t,4,0),trid:i.Message.getFieldWithDefault(t,5,0),predictcal:i.Message.getFieldWithDefault(t,6,0),ei:i.Message.getFloatingPointFieldWithDefault(t,7,0),datasource:i.Message.getFieldWithDefault(t,8,0),hrsList:i.Message.toObjectList(t.getHrsList(),proto.rpc.HeartRate.toObject,e)};return e&&(r.$jspbMessageInstance=t),r}),proto.rpc.LastPlayRecords.deserializeBinary=function(e){var t=new i.BinaryReader(e),r=new proto.rpc.LastPlayRecords;return proto.rpc.LastPlayRecords.deserializeBinaryFromReader(r,t)},proto.rpc.LastPlayRecords.deserializeBinaryFromReader=function(e,t){while(t.nextField()){if(t.isEndGroup())break;var r=t.getFieldNumber();switch(r){case 1:var i=t.readInt32();e.setPrid(i);break;case 2:i=t.readInt32();e.setPlaystate(i);break;case 3:i=t.readInt32();e.setPlayduration(i);break;case 4:i=t.readInt64();e.setBegintime(i);break;case 5:i=t.readInt32();e.setTrid(i);break;case 6:i=t.readInt32();e.setPredictcal(i);break;case 7:i=t.readFloat();e.setEi(i);break;case 8:i=t.readInt32();e.setDatasource(i);break;case 9:i=new proto.rpc.HeartRate;t.readMessage(i,proto.rpc.HeartRate.deserializeBinaryFromReader),e.addHrs(i);break;default:t.skipField();break}}return e},proto.rpc.LastPlayRecords.prototype.serializeBinary=function(){var e=new i.BinaryWriter;return proto.rpc.LastPlayRecords.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.rpc.LastPlayRecords.serializeBinaryToWriter=function(e,t){var r=void 0;r=e.getPrid(),0!==r&&t.writeInt32(1,r),r=e.getPlaystate(),0!==r&&t.writeInt32(2,r),r=e.getPlayduration(),0!==r&&t.writeInt32(3,r),r=e.getBegintime(),0!==r&&t.writeInt64(4,r),r=e.getTrid(),0!==r&&t.writeInt32(5,r),r=e.getPredictcal(),0!==r&&t.writeInt32(6,r),r=e.getEi(),0!==r&&t.writeFloat(7,r),r=e.getDatasource(),0!==r&&t.writeInt32(8,r),r=e.getHrsList(),r.length>0&&t.writeRepeatedMessage(9,r,proto.rpc.HeartRate.serializeBinaryToWriter)},proto.rpc.LastPlayRecords.prototype.getPrid=function(){return i.Message.getFieldWithDefault(this,1,0)},proto.rpc.LastPlayRecords.prototype.setPrid=function(e){return i.Message.setProto3IntField(this,1,e)},proto.rpc.LastPlayRecords.prototype.getPlaystate=function(){return i.Message.getFieldWithDefault(this,2,0)},proto.rpc.LastPlayRecords.prototype.setPlaystate=function(e){return i.Message.setProto3IntField(this,2,e)},proto.rpc.LastPlayRecords.prototype.getPlayduration=function(){return i.Message.getFieldWithDefault(this,3,0)},proto.rpc.LastPlayRecords.prototype.setPlayduration=function(e){return i.Message.setProto3IntField(this,3,e)},proto.rpc.LastPlayRecords.prototype.getBegintime=function(){return i.Message.getFieldWithDefault(this,4,0)},proto.rpc.LastPlayRecords.prototype.setBegintime=function(e){return i.Message.setProto3IntField(this,4,e)},proto.rpc.LastPlayRecords.prototype.getTrid=function(){return i.Message.getFieldWithDefault(this,5,0)},proto.rpc.LastPlayRecords.prototype.setTrid=function(e){return i.Message.setProto3IntField(this,5,e)},proto.rpc.LastPlayRecords.prototype.getPredictcal=function(){return i.Message.getFieldWithDefault(this,6,0)},proto.rpc.LastPlayRecords.prototype.setPredictcal=function(e){return i.Message.setProto3IntField(this,6,e)},proto.rpc.LastPlayRecords.prototype.getEi=function(){return i.Message.getFloatingPointFieldWithDefault(this,7,0)},proto.rpc.LastPlayRecords.prototype.setEi=function(e){return i.Message.setProto3FloatField(this,7,e)},proto.rpc.LastPlayRecords.prototype.getDatasource=function(){return i.Message.getFieldWithDefault(this,8,0)},proto.rpc.LastPlayRecords.prototype.setDatasource=function(e){return i.Message.setProto3IntField(this,8,e)},proto.rpc.LastPlayRecords.prototype.getHrsList=function(){return i.Message.getRepeatedWrapperField(this,proto.rpc.HeartRate,9)},proto.rpc.LastPlayRecords.prototype.setHrsList=function(e){return i.Message.setRepeatedWrapperField(this,9,e)},proto.rpc.LastPlayRecords.prototype.addHrs=function(e,t){return i.Message.addToRepeatedWrapperField(this,9,e,proto.rpc.HeartRate,t)},proto.rpc.LastPlayRecords.prototype.clearHrsList=function(){return this.setHrsList([])},i.Message.GENERATE_TO_OBJECT&&(proto.rpc.VideoCollectionRequest.prototype.toObject=function(e){return proto.rpc.VideoCollectionRequest.toObject(e,this)},proto.rpc.VideoCollectionRequest.toObject=function(e,t){var r={videoid:i.Message.getFieldWithDefault(t,1,0)};return e&&(r.$jspbMessageInstance=t),r}),proto.rpc.VideoCollectionRequest.deserializeBinary=function(e){var t=new i.BinaryReader(e),r=new proto.rpc.VideoCollectionRequest;return proto.rpc.VideoCollectionRequest.deserializeBinaryFromReader(r,t)},proto.rpc.VideoCollectionRequest.deserializeBinaryFromReader=function(e,t){while(t.nextField()){if(t.isEndGroup())break;var r=t.getFieldNumber();switch(r){case 1:var i=t.readInt32();e.setVideoid(i);break;default:t.skipField();break}}return e},proto.rpc.VideoCollectionRequest.prototype.serializeBinary=function(){var e=new i.BinaryWriter;return proto.rpc.VideoCollectionRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.rpc.VideoCollectionRequest.serializeBinaryToWriter=function(e,t){var r=void 0;r=e.getVideoid(),0!==r&&t.writeInt32(1,r)},proto.rpc.VideoCollectionRequest.prototype.getVideoid=function(){return i.Message.getFieldWithDefault(this,1,0)},proto.rpc.VideoCollectionRequest.prototype.setVideoid=function(e){return i.Message.setProto3IntField(this,1,e)},i.Message.GENERATE_TO_OBJECT&&(proto.rpc.HeartRateSaveRequest.prototype.toObject=function(e){return proto.rpc.HeartRateSaveRequest.toObject(e,this)},proto.rpc.HeartRateSaveRequest.toObject=function(e,t){var r,o={videoid:i.Message.getFieldWithDefault(t,1,0),hrs:(r=t.getHrs())&&proto.rpc.HeartRate.toObject(e,r)};return e&&(o.$jspbMessageInstance=t),o}),proto.rpc.HeartRateSaveRequest.deserializeBinary=function(e){var t=new i.BinaryReader(e),r=new proto.rpc.HeartRateSaveRequest;return proto.rpc.HeartRateSaveRequest.deserializeBinaryFromReader(r,t)},proto.rpc.HeartRateSaveRequest.deserializeBinaryFromReader=function(e,t){while(t.nextField()){if(t.isEndGroup())break;var r=t.getFieldNumber();switch(r){case 1:var i=t.readInt32();e.setVideoid(i);break;case 2:i=new proto.rpc.HeartRate;t.readMessage(i,proto.rpc.HeartRate.deserializeBinaryFromReader),e.setHrs(i);break;default:t.skipField();break}}return e},proto.rpc.HeartRateSaveRequest.prototype.serializeBinary=function(){var e=new i.BinaryWriter;return proto.rpc.HeartRateSaveRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.rpc.HeartRateSaveRequest.serializeBinaryToWriter=function(e,t){var r=void 0;r=e.getVideoid(),0!==r&&t.writeInt32(1,r),r=e.getHrs(),null!=r&&t.writeMessage(2,r,proto.rpc.HeartRate.serializeBinaryToWriter)},proto.rpc.HeartRateSaveRequest.prototype.getVideoid=function(){return i.Message.getFieldWithDefault(this,1,0)},proto.rpc.HeartRateSaveRequest.prototype.setVideoid=function(e){return i.Message.setProto3IntField(this,1,e)},proto.rpc.HeartRateSaveRequest.prototype.getHrs=function(){return i.Message.getWrapperField(this,proto.rpc.HeartRate,2)},proto.rpc.HeartRateSaveRequest.prototype.setHrs=function(e){return i.Message.setWrapperField(this,2,e)},proto.rpc.HeartRateSaveRequest.prototype.clearHrs=function(){return this.setHrs(void 0)},proto.rpc.HeartRateSaveRequest.prototype.hasHrs=function(){return null!=i.Message.getField(this,2)},i.Message.GENERATE_TO_OBJECT&&(proto.rpc.HeartBatSaveRequest.prototype.toObject=function(e){return proto.rpc.HeartBatSaveRequest.toObject(e,this)},proto.rpc.HeartBatSaveRequest.toObject=function(e,t){var r={videoid:i.Message.getFieldWithDefault(t,1,0),playduration:i.Message.getFieldWithDefault(t,2,0)};return e&&(r.$jspbMessageInstance=t),r}),proto.rpc.HeartBatSaveRequest.deserializeBinary=function(e){var t=new i.BinaryReader(e),r=new proto.rpc.HeartBatSaveRequest;return proto.rpc.HeartBatSaveRequest.deserializeBinaryFromReader(r,t)},proto.rpc.HeartBatSaveRequest.deserializeBinaryFromReader=function(e,t){while(t.nextField()){if(t.isEndGroup())break;var r=t.getFieldNumber();switch(r){case 1:var i=t.readInt32();e.setVideoid(i);break;case 2:i=t.readInt32();e.setPlayduration(i);break;default:t.skipField();break}}return e},proto.rpc.HeartBatSaveRequest.prototype.serializeBinary=function(){var e=new i.BinaryWriter;return proto.rpc.HeartBatSaveRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.rpc.HeartBatSaveRequest.serializeBinaryToWriter=function(e,t){var r=void 0;r=e.getVideoid(),0!==r&&t.writeInt32(1,r),r=e.getPlayduration(),0!==r&&t.writeInt32(2,r)},proto.rpc.HeartBatSaveRequest.prototype.getVideoid=function(){return i.Message.getFieldWithDefault(this,1,0)},proto.rpc.HeartBatSaveRequest.prototype.setVideoid=function(e){return i.Message.setProto3IntField(this,1,e)},proto.rpc.HeartBatSaveRequest.prototype.getPlayduration=function(){return i.Message.getFieldWithDefault(this,2,0)},proto.rpc.HeartBatSaveRequest.prototype.setPlayduration=function(e){return i.Message.setProto3IntField(this,2,e)},i.Message.GENERATE_TO_OBJECT&&(proto.rpc.VideoPlayRequest.prototype.toObject=function(e){return proto.rpc.VideoPlayRequest.toObject(e,this)},proto.rpc.VideoPlayRequest.toObject=function(e,t){var r={videoid:i.Message.getFieldWithDefault(t,1,0),datasource:i.Message.getFieldWithDefault(t,2,0),begintime:i.Message.getFieldWithDefault(t,3,0),hrsn:i.Message.getFieldWithDefault(t,4,""),videosource:i.Message.getFieldWithDefault(t,5,0),upid:i.Message.getFieldWithDefault(t,6,0)};return e&&(r.$jspbMessageInstance=t),r}),proto.rpc.VideoPlayRequest.deserializeBinary=function(e){var t=new i.BinaryReader(e),r=new proto.rpc.VideoPlayRequest;return proto.rpc.VideoPlayRequest.deserializeBinaryFromReader(r,t)},proto.rpc.VideoPlayRequest.deserializeBinaryFromReader=function(e,t){while(t.nextField()){if(t.isEndGroup())break;var r=t.getFieldNumber();switch(r){case 1:var i=t.readInt32();e.setVideoid(i);break;case 2:i=t.readEnum();e.setDatasource(i);break;case 3:i=t.readInt64();e.setBegintime(i);break;case 4:i=t.readString();e.setHrsn(i);break;case 5:i=t.readInt32();e.setVideosource(i);break;case 6:i=t.readInt32();e.setUpid(i);break;default:t.skipField();break}}return e},proto.rpc.VideoPlayRequest.prototype.serializeBinary=function(){var e=new i.BinaryWriter;return proto.rpc.VideoPlayRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.rpc.VideoPlayRequest.serializeBinaryToWriter=function(e,t){var r=void 0;r=e.getVideoid(),0!==r&&t.writeInt32(1,r),r=e.getDatasource(),0!==r&&t.writeEnum(2,r),r=e.getBegintime(),0!==r&&t.writeInt64(3,r),r=e.getHrsn(),r.length>0&&t.writeString(4,r),r=e.getVideosource(),0!==r&&t.writeInt32(5,r),r=e.getUpid(),0!==r&&t.writeInt32(6,r)},proto.rpc.VideoPlayRequest.prototype.getVideoid=function(){return i.Message.getFieldWithDefault(this,1,0)},proto.rpc.VideoPlayRequest.prototype.setVideoid=function(e){return i.Message.setProto3IntField(this,1,e)},proto.rpc.VideoPlayRequest.prototype.getDatasource=function(){return i.Message.getFieldWithDefault(this,2,0)},proto.rpc.VideoPlayRequest.prototype.setDatasource=function(e){return i.Message.setProto3EnumField(this,2,e)},proto.rpc.VideoPlayRequest.prototype.getBegintime=function(){return i.Message.getFieldWithDefault(this,3,0)},proto.rpc.VideoPlayRequest.prototype.setBegintime=function(e){return i.Message.setProto3IntField(this,3,e)},proto.rpc.VideoPlayRequest.prototype.getHrsn=function(){return i.Message.getFieldWithDefault(this,4,"")},proto.rpc.VideoPlayRequest.prototype.setHrsn=function(e){return i.Message.setProto3StringField(this,4,e)},proto.rpc.VideoPlayRequest.prototype.getVideosource=function(){return i.Message.getFieldWithDefault(this,5,0)},proto.rpc.VideoPlayRequest.prototype.setVideosource=function(e){return i.Message.setProto3IntField(this,5,e)},proto.rpc.VideoPlayRequest.prototype.getUpid=function(){return i.Message.getFieldWithDefault(this,6,0)},proto.rpc.VideoPlayRequest.prototype.setUpid=function(e){return i.Message.setProto3IntField(this,6,e)},i.Message.GENERATE_TO_OBJECT&&(proto.rpc.VideoRePlayRequest.prototype.toObject=function(e){return proto.rpc.VideoRePlayRequest.toObject(e,this)},proto.rpc.VideoRePlayRequest.toObject=function(e,t){var r={videoid:i.Message.getFieldWithDefault(t,1,0),playduration:i.Message.getFieldWithDefault(t,2,0),videosource:i.Message.getFieldWithDefault(t,3,0),exerciseduration:i.Message.getFieldWithDefault(t,4,0),upid:i.Message.getFieldWithDefault(t,5,0)};return e&&(r.$jspbMessageInstance=t),r}),proto.rpc.VideoRePlayRequest.deserializeBinary=function(e){var t=new i.BinaryReader(e),r=new proto.rpc.VideoRePlayRequest;return proto.rpc.VideoRePlayRequest.deserializeBinaryFromReader(r,t)},proto.rpc.VideoRePlayRequest.deserializeBinaryFromReader=function(e,t){while(t.nextField()){if(t.isEndGroup())break;var r=t.getFieldNumber();switch(r){case 1:var i=t.readInt32();e.setVideoid(i);break;case 2:i=t.readInt32();e.setPlayduration(i);break;case 3:i=t.readInt32();e.setVideosource(i);break;case 4:i=t.readInt32();e.setExerciseduration(i);break;case 5:i=t.readInt32();e.setUpid(i);break;default:t.skipField();break}}return e},proto.rpc.VideoRePlayRequest.prototype.serializeBinary=function(){var e=new i.BinaryWriter;return proto.rpc.VideoRePlayRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.rpc.VideoRePlayRequest.serializeBinaryToWriter=function(e,t){var r=void 0;r=e.getVideoid(),0!==r&&t.writeInt32(1,r),r=e.getPlayduration(),0!==r&&t.writeInt32(2,r),r=e.getVideosource(),0!==r&&t.writeInt32(3,r),r=e.getExerciseduration(),0!==r&&t.writeInt32(4,r),r=e.getUpid(),0!==r&&t.writeInt32(5,r)},proto.rpc.VideoRePlayRequest.prototype.getVideoid=function(){return i.Message.getFieldWithDefault(this,1,0)},proto.rpc.VideoRePlayRequest.prototype.setVideoid=function(e){return i.Message.setProto3IntField(this,1,e)},proto.rpc.VideoRePlayRequest.prototype.getPlayduration=function(){return i.Message.getFieldWithDefault(this,2,0)},proto.rpc.VideoRePlayRequest.prototype.setPlayduration=function(e){return i.Message.setProto3IntField(this,2,e)},proto.rpc.VideoRePlayRequest.prototype.getVideosource=function(){return i.Message.getFieldWithDefault(this,3,0)},proto.rpc.VideoRePlayRequest.prototype.setVideosource=function(e){return i.Message.setProto3IntField(this,3,e)},proto.rpc.VideoRePlayRequest.prototype.getExerciseduration=function(){return i.Message.getFieldWithDefault(this,4,0)},proto.rpc.VideoRePlayRequest.prototype.setExerciseduration=function(e){return i.Message.setProto3IntField(this,4,e)},proto.rpc.VideoRePlayRequest.prototype.getUpid=function(){return i.Message.getFieldWithDefault(this,5,0)},proto.rpc.VideoRePlayRequest.prototype.setUpid=function(e){return i.Message.setProto3IntField(this,5,e)},i.Message.GENERATE_TO_OBJECT&&(proto.rpc.VideoPlayReply.prototype.toObject=function(e){return proto.rpc.VideoPlayReply.toObject(e,this)},proto.rpc.VideoPlayReply.toObject=function(e,t){var r={playauth:i.Message.getFieldWithDefault(t,1,""),requestid:i.Message.getFieldWithDefault(t,2,"")};return e&&(r.$jspbMessageInstance=t),r}),proto.rpc.VideoPlayReply.deserializeBinary=function(e){var t=new i.BinaryReader(e),r=new proto.rpc.VideoPlayReply;return proto.rpc.VideoPlayReply.deserializeBinaryFromReader(r,t)},proto.rpc.VideoPlayReply.deserializeBinaryFromReader=function(e,t){while(t.nextField()){if(t.isEndGroup())break;var r=t.getFieldNumber();switch(r){case 1:var i=t.readString();e.setPlayauth(i);break;case 2:i=t.readString();e.setRequestid(i);break;default:t.skipField();break}}return e},proto.rpc.VideoPlayReply.prototype.serializeBinary=function(){var e=new i.BinaryWriter;return proto.rpc.VideoPlayReply.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.rpc.VideoPlayReply.serializeBinaryToWriter=function(e,t){var r=void 0;r=e.getPlayauth(),r.length>0&&t.writeString(1,r),r=e.getRequestid(),r.length>0&&t.writeString(2,r)},proto.rpc.VideoPlayReply.prototype.getPlayauth=function(){return i.Message.getFieldWithDefault(this,1,"")},proto.rpc.VideoPlayReply.prototype.setPlayauth=function(e){return i.Message.setProto3StringField(this,1,e)},proto.rpc.VideoPlayReply.prototype.getRequestid=function(){return i.Message.getFieldWithDefault(this,2,"")},proto.rpc.VideoPlayReply.prototype.setRequestid=function(e){return i.Message.setProto3StringField(this,2,e)},i.Message.GENERATE_TO_OBJECT&&(proto.rpc.VideoPlayUrlReply.prototype.toObject=function(e){return proto.rpc.VideoPlayUrlReply.toObject(e,this)},proto.rpc.VideoPlayUrlReply.toObject=function(e,t){var r={playurl:i.Message.getFieldWithDefault(t,1,""),requestid:i.Message.getFieldWithDefault(t,2,"")};return e&&(r.$jspbMessageInstance=t),r}),proto.rpc.VideoPlayUrlReply.deserializeBinary=function(e){var t=new i.BinaryReader(e),r=new proto.rpc.VideoPlayUrlReply;return proto.rpc.VideoPlayUrlReply.deserializeBinaryFromReader(r,t)},proto.rpc.VideoPlayUrlReply.deserializeBinaryFromReader=function(e,t){while(t.nextField()){if(t.isEndGroup())break;var r=t.getFieldNumber();switch(r){case 1:var i=t.readString();e.setPlayurl(i);break;case 2:i=t.readString();e.setRequestid(i);break;default:t.skipField();break}}return e},proto.rpc.VideoPlayUrlReply.prototype.serializeBinary=function(){var e=new i.BinaryWriter;return proto.rpc.VideoPlayUrlReply.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.rpc.VideoPlayUrlReply.serializeBinaryToWriter=function(e,t){var r=void 0;r=e.getPlayurl(),r.length>0&&t.writeString(1,r),r=e.getRequestid(),r.length>0&&t.writeString(2,r)},proto.rpc.VideoPlayUrlReply.prototype.getPlayurl=function(){return i.Message.getFieldWithDefault(this,1,"")},proto.rpc.VideoPlayUrlReply.prototype.setPlayurl=function(e){return i.Message.setProto3StringField(this,1,e)},proto.rpc.VideoPlayUrlReply.prototype.getRequestid=function(){return i.Message.getFieldWithDefault(this,2,"")},proto.rpc.VideoPlayUrlReply.prototype.setRequestid=function(e){return i.Message.setProto3StringField(this,2,e)},i.Message.GENERATE_TO_OBJECT&&(proto.rpc.VideoPauseRequest.prototype.toObject=function(e){return proto.rpc.VideoPauseRequest.toObject(e,this)},proto.rpc.VideoPauseRequest.toObject=function(e,t){var r={videoid:i.Message.getFieldWithDefault(t,1,0),cal:i.Message.getFieldWithDefault(t,2,0),ei:i.Message.getFloatingPointFieldWithDefault(t,3,0),playduration:i.Message.getFieldWithDefault(t,4,0),videosource:i.Message.getFieldWithDefault(t,5,0),exerciseduration:i.Message.getFieldWithDefault(t,6,0),upid:i.Message.getFieldWithDefault(t,7,0)};return e&&(r.$jspbMessageInstance=t),r}),proto.rpc.VideoPauseRequest.deserializeBinary=function(e){var t=new i.BinaryReader(e),r=new proto.rpc.VideoPauseRequest;return proto.rpc.VideoPauseRequest.deserializeBinaryFromReader(r,t)},proto.rpc.VideoPauseRequest.deserializeBinaryFromReader=function(e,t){while(t.nextField()){if(t.isEndGroup())break;var r=t.getFieldNumber();switch(r){case 1:var i=t.readInt32();e.setVideoid(i);break;case 2:i=t.readInt64();e.setCal(i);break;case 3:i=t.readFloat();e.setEi(i);break;case 4:i=t.readInt32();e.setPlayduration(i);break;case 5:i=t.readInt32();e.setVideosource(i);break;case 6:i=t.readInt32();e.setExerciseduration(i);break;case 7:i=t.readInt32();e.setUpid(i);break;default:t.skipField();break}}return e},proto.rpc.VideoPauseRequest.prototype.serializeBinary=function(){var e=new i.BinaryWriter;return proto.rpc.VideoPauseRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.rpc.VideoPauseRequest.serializeBinaryToWriter=function(e,t){var r=void 0;r=e.getVideoid(),0!==r&&t.writeInt32(1,r),r=e.getCal(),0!==r&&t.writeInt64(2,r),r=e.getEi(),0!==r&&t.writeFloat(3,r),r=e.getPlayduration(),0!==r&&t.writeInt32(4,r),r=e.getVideosource(),0!==r&&t.writeInt32(5,r),r=e.getExerciseduration(),0!==r&&t.writeInt32(6,r),r=e.getUpid(),0!==r&&t.writeInt32(7,r)},proto.rpc.VideoPauseRequest.prototype.getVideoid=function(){return i.Message.getFieldWithDefault(this,1,0)},proto.rpc.VideoPauseRequest.prototype.setVideoid=function(e){return i.Message.setProto3IntField(this,1,e)},proto.rpc.VideoPauseRequest.prototype.getCal=function(){return i.Message.getFieldWithDefault(this,2,0)},proto.rpc.VideoPauseRequest.prototype.setCal=function(e){return i.Message.setProto3IntField(this,2,e)},proto.rpc.VideoPauseRequest.prototype.getEi=function(){return i.Message.getFloatingPointFieldWithDefault(this,3,0)},proto.rpc.VideoPauseRequest.prototype.setEi=function(e){return i.Message.setProto3FloatField(this,3,e)},proto.rpc.VideoPauseRequest.prototype.getPlayduration=function(){return i.Message.getFieldWithDefault(this,4,0)},proto.rpc.VideoPauseRequest.prototype.setPlayduration=function(e){return i.Message.setProto3IntField(this,4,e)},proto.rpc.VideoPauseRequest.prototype.getVideosource=function(){return i.Message.getFieldWithDefault(this,5,0)},proto.rpc.VideoPauseRequest.prototype.setVideosource=function(e){return i.Message.setProto3IntField(this,5,e)},proto.rpc.VideoPauseRequest.prototype.getExerciseduration=function(){return i.Message.getFieldWithDefault(this,6,0)},proto.rpc.VideoPauseRequest.prototype.setExerciseduration=function(e){return i.Message.setProto3IntField(this,6,e)},proto.rpc.VideoPauseRequest.prototype.getUpid=function(){return i.Message.getFieldWithDefault(this,7,0)},proto.rpc.VideoPauseRequest.prototype.setUpid=function(e){return i.Message.setProto3IntField(this,7,e)},i.Message.GENERATE_TO_OBJECT&&(proto.rpc.VideoStopRequest.prototype.toObject=function(e){return proto.rpc.VideoStopRequest.toObject(e,this)},proto.rpc.VideoStopRequest.toObject=function(e,t){var r={videoid:i.Message.getFieldWithDefault(t,1,0),cal:i.Message.getFieldWithDefault(t,2,0),ei:i.Message.getFloatingPointFieldWithDefault(t,3,0),playduration:i.Message.getFieldWithDefault(t,4,0),videosource:i.Message.getFieldWithDefault(t,5,0),exerciseduration:i.Message.getFieldWithDefault(t,6,0),upid:i.Message.getFieldWithDefault(t,7,0)};return e&&(r.$jspbMessageInstance=t),r}),proto.rpc.VideoStopRequest.deserializeBinary=function(e){var t=new i.BinaryReader(e),r=new proto.rpc.VideoStopRequest;return proto.rpc.VideoStopRequest.deserializeBinaryFromReader(r,t)},proto.rpc.VideoStopRequest.deserializeBinaryFromReader=function(e,t){while(t.nextField()){if(t.isEndGroup())break;var r=t.getFieldNumber();switch(r){case 1:var i=t.readInt32();e.setVideoid(i);break;case 2:i=t.readInt64();e.setCal(i);break;case 3:i=t.readFloat();e.setEi(i);break;case 4:i=t.readInt32();e.setPlayduration(i);break;case 5:i=t.readInt32();e.setVideosource(i);break;case 6:i=t.readInt32();e.setExerciseduration(i);break;case 7:i=t.readInt32();e.setUpid(i);break;default:t.skipField();break}}return e},proto.rpc.VideoStopRequest.prototype.serializeBinary=function(){var e=new i.BinaryWriter;return proto.rpc.VideoStopRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.rpc.VideoStopRequest.serializeBinaryToWriter=function(e,t){var r=void 0;r=e.getVideoid(),0!==r&&t.writeInt32(1,r),r=e.getCal(),0!==r&&t.writeInt64(2,r),r=e.getEi(),0!==r&&t.writeFloat(3,r),r=e.getPlayduration(),0!==r&&t.writeInt32(4,r),r=e.getVideosource(),0!==r&&t.writeInt32(5,r),r=e.getExerciseduration(),0!==r&&t.writeInt32(6,r),r=e.getUpid(),0!==r&&t.writeInt32(7,r)},proto.rpc.VideoStopRequest.prototype.getVideoid=function(){return i.Message.getFieldWithDefault(this,1,0)},proto.rpc.VideoStopRequest.prototype.setVideoid=function(e){return i.Message.setProto3IntField(this,1,e)},proto.rpc.VideoStopRequest.prototype.getCal=function(){return i.Message.getFieldWithDefault(this,2,0)},proto.rpc.VideoStopRequest.prototype.setCal=function(e){return i.Message.setProto3IntField(this,2,e)},proto.rpc.VideoStopRequest.prototype.getEi=function(){return i.Message.getFloatingPointFieldWithDefault(this,3,0)},proto.rpc.VideoStopRequest.prototype.setEi=function(e){return i.Message.setProto3FloatField(this,3,e)},proto.rpc.VideoStopRequest.prototype.getPlayduration=function(){return i.Message.getFieldWithDefault(this,4,0)},proto.rpc.VideoStopRequest.prototype.setPlayduration=function(e){return i.Message.setProto3IntField(this,4,e)},proto.rpc.VideoStopRequest.prototype.getVideosource=function(){return i.Message.getFieldWithDefault(this,5,0)},proto.rpc.VideoStopRequest.prototype.setVideosource=function(e){return i.Message.setProto3IntField(this,5,e)},proto.rpc.VideoStopRequest.prototype.getExerciseduration=function(){return i.Message.getFieldWithDefault(this,6,0)},proto.rpc.VideoStopRequest.prototype.setExerciseduration=function(e){return i.Message.setProto3IntField(this,6,e)},proto.rpc.VideoStopRequest.prototype.getUpid=function(){return i.Message.getFieldWithDefault(this,7,0)},proto.rpc.VideoStopRequest.prototype.setUpid=function(e){return i.Message.setProto3IntField(this,7,e)},i.Message.GENERATE_TO_OBJECT&&(proto.rpc.VideoFinishRequest.prototype.toObject=function(e){return proto.rpc.VideoFinishRequest.toObject(e,this)},proto.rpc.VideoFinishRequest.toObject=function(e,t){var r={videoid:i.Message.getFieldWithDefault(t,1,0),cal:i.Message.getFieldWithDefault(t,2,0),ei:i.Message.getFloatingPointFieldWithDefault(t,3,0),endtime:i.Message.getFieldWithDefault(t,4,0),playduration:i.Message.getFieldWithDefault(t,5,0),videosource:i.Message.getFieldWithDefault(t,6,0),exerciseduration:i.Message.getFieldWithDefault(t,7,0),upid:i.Message.getFieldWithDefault(t,8,0)};return e&&(r.$jspbMessageInstance=t),r}),proto.rpc.VideoFinishRequest.deserializeBinary=function(e){var t=new i.BinaryReader(e),r=new proto.rpc.VideoFinishRequest;return proto.rpc.VideoFinishRequest.deserializeBinaryFromReader(r,t)},proto.rpc.VideoFinishRequest.deserializeBinaryFromReader=function(e,t){while(t.nextField()){if(t.isEndGroup())break;var r=t.getFieldNumber();switch(r){case 1:var i=t.readInt32();e.setVideoid(i);break;case 2:i=t.readInt64();e.setCal(i);break;case 3:i=t.readFloat();e.setEi(i);break;case 4:i=t.readInt64();e.setEndtime(i);break;case 5:i=t.readInt32();e.setPlayduration(i);break;case 6:i=t.readInt32();e.setVideosource(i);break;case 7:i=t.readInt32();e.setExerciseduration(i);break;case 8:i=t.readInt32();e.setUpid(i);break;default:t.skipField();break}}return e},proto.rpc.VideoFinishRequest.prototype.serializeBinary=function(){var e=new i.BinaryWriter;return proto.rpc.VideoFinishRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.rpc.VideoFinishRequest.serializeBinaryToWriter=function(e,t){var r=void 0;r=e.getVideoid(),0!==r&&t.writeInt32(1,r),r=e.getCal(),0!==r&&t.writeInt64(2,r),r=e.getEi(),0!==r&&t.writeFloat(3,r),r=e.getEndtime(),0!==r&&t.writeInt64(4,r),r=e.getPlayduration(),0!==r&&t.writeInt32(5,r),r=e.getVideosource(),0!==r&&t.writeInt32(6,r),r=e.getExerciseduration(),0!==r&&t.writeInt32(7,r),r=e.getUpid(),0!==r&&t.writeInt32(8,r)},proto.rpc.VideoFinishRequest.prototype.getVideoid=function(){return i.Message.getFieldWithDefault(this,1,0)},proto.rpc.VideoFinishRequest.prototype.setVideoid=function(e){return i.Message.setProto3IntField(this,1,e)},proto.rpc.VideoFinishRequest.prototype.getCal=function(){return i.Message.getFieldWithDefault(this,2,0)},proto.rpc.VideoFinishRequest.prototype.setCal=function(e){return i.Message.setProto3IntField(this,2,e)},proto.rpc.VideoFinishRequest.prototype.getEi=function(){return i.Message.getFloatingPointFieldWithDefault(this,3,0)},proto.rpc.VideoFinishRequest.prototype.setEi=function(e){return i.Message.setProto3FloatField(this,3,e)},proto.rpc.VideoFinishRequest.prototype.getEndtime=function(){return i.Message.getFieldWithDefault(this,4,0)},proto.rpc.VideoFinishRequest.prototype.setEndtime=function(e){return i.Message.setProto3IntField(this,4,e)},proto.rpc.VideoFinishRequest.prototype.getPlayduration=function(){return i.Message.getFieldWithDefault(this,5,0)},proto.rpc.VideoFinishRequest.prototype.setPlayduration=function(e){return i.Message.setProto3IntField(this,5,e)},proto.rpc.VideoFinishRequest.prototype.getVideosource=function(){return i.Message.getFieldWithDefault(this,6,0)},proto.rpc.VideoFinishRequest.prototype.setVideosource=function(e){return i.Message.setProto3IntField(this,6,e)},proto.rpc.VideoFinishRequest.prototype.getExerciseduration=function(){return i.Message.getFieldWithDefault(this,7,0)},proto.rpc.VideoFinishRequest.prototype.setExerciseduration=function(e){return i.Message.setProto3IntField(this,7,e)},proto.rpc.VideoFinishRequest.prototype.getUpid=function(){return i.Message.getFieldWithDefault(this,8,0)},proto.rpc.VideoFinishRequest.prototype.setUpid=function(e){return i.Message.setProto3IntField(this,8,e)},i.Message.GENERATE_TO_OBJECT&&(proto.rpc.VideoAbandonRequest.prototype.toObject=function(e){return proto.rpc.VideoAbandonRequest.toObject(e,this)},proto.rpc.VideoAbandonRequest.toObject=function(e,t){var r={videoid:i.Message.getFieldWithDefault(t,1,0),cal:i.Message.getFieldWithDefault(t,2,0),ei:i.Message.getFloatingPointFieldWithDefault(t,3,0),endtime:i.Message.getFieldWithDefault(t,4,0),playduration:i.Message.getFieldWithDefault(t,5,0),videosource:i.Message.getFieldWithDefault(t,6,0),exerciseduration:i.Message.getFieldWithDefault(t,7,0),upid:i.Message.getFieldWithDefault(t,8,0)};return e&&(r.$jspbMessageInstance=t),r}),proto.rpc.VideoAbandonRequest.deserializeBinary=function(e){var t=new i.BinaryReader(e),r=new proto.rpc.VideoAbandonRequest;return proto.rpc.VideoAbandonRequest.deserializeBinaryFromReader(r,t)},proto.rpc.VideoAbandonRequest.deserializeBinaryFromReader=function(e,t){while(t.nextField()){if(t.isEndGroup())break;var r=t.getFieldNumber();switch(r){case 1:var i=t.readInt32();e.setVideoid(i);break;case 2:i=t.readInt64();e.setCal(i);break;case 3:i=t.readFloat();e.setEi(i);break;case 4:i=t.readInt64();e.setEndtime(i);break;case 5:i=t.readInt32();e.setPlayduration(i);break;case 6:i=t.readInt32();e.setVideosource(i);break;case 7:i=t.readInt32();e.setExerciseduration(i);break;case 8:i=t.readInt32();e.setUpid(i);break;default:t.skipField();break}}return e},proto.rpc.VideoAbandonRequest.prototype.serializeBinary=function(){var e=new i.BinaryWriter;return proto.rpc.VideoAbandonRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.rpc.VideoAbandonRequest.serializeBinaryToWriter=function(e,t){var r=void 0;r=e.getVideoid(),0!==r&&t.writeInt32(1,r),r=e.getCal(),0!==r&&t.writeInt64(2,r),r=e.getEi(),0!==r&&t.writeFloat(3,r),r=e.getEndtime(),0!==r&&t.writeInt64(4,r),r=e.getPlayduration(),0!==r&&t.writeInt32(5,r),r=e.getVideosource(),0!==r&&t.writeInt32(6,r),r=e.getExerciseduration(),0!==r&&t.writeInt32(7,r),r=e.getUpid(),0!==r&&t.writeInt32(8,r)},proto.rpc.VideoAbandonRequest.prototype.getVideoid=function(){return i.Message.getFieldWithDefault(this,1,0)},proto.rpc.VideoAbandonRequest.prototype.setVideoid=function(e){return i.Message.setProto3IntField(this,1,e)},proto.rpc.VideoAbandonRequest.prototype.getCal=function(){return i.Message.getFieldWithDefault(this,2,0)},proto.rpc.VideoAbandonRequest.prototype.setCal=function(e){return i.Message.setProto3IntField(this,2,e)},proto.rpc.VideoAbandonRequest.prototype.getEi=function(){return i.Message.getFloatingPointFieldWithDefault(this,3,0)},proto.rpc.VideoAbandonRequest.prototype.setEi=function(e){return i.Message.setProto3FloatField(this,3,e)},proto.rpc.VideoAbandonRequest.prototype.getEndtime=function(){return i.Message.getFieldWithDefault(this,4,0)},proto.rpc.VideoAbandonRequest.prototype.setEndtime=function(e){return i.Message.setProto3IntField(this,4,e)},proto.rpc.VideoAbandonRequest.prototype.getPlayduration=function(){return i.Message.getFieldWithDefault(this,5,0)},proto.rpc.VideoAbandonRequest.prototype.setPlayduration=function(e){return i.Message.setProto3IntField(this,5,e)},proto.rpc.VideoAbandonRequest.prototype.getVideosource=function(){return i.Message.getFieldWithDefault(this,6,0)},proto.rpc.VideoAbandonRequest.prototype.setVideosource=function(e){return i.Message.setProto3IntField(this,6,e)},proto.rpc.VideoAbandonRequest.prototype.getExerciseduration=function(){return i.Message.getFieldWithDefault(this,7,0)},proto.rpc.VideoAbandonRequest.prototype.setExerciseduration=function(e){return i.Message.setProto3IntField(this,7,e)},proto.rpc.VideoAbandonRequest.prototype.getUpid=function(){return i.Message.getFieldWithDefault(this,8,0)},proto.rpc.VideoAbandonRequest.prototype.setUpid=function(e){return i.Message.setProto3IntField(this,8,e)},i.Message.GENERATE_TO_OBJECT&&(proto.rpc.ManagerVideoListRequest.prototype.toObject=function(e){return proto.rpc.ManagerVideoListRequest.toObject(e,this)},proto.rpc.ManagerVideoListRequest.toObject=function(e,t){var r={vcid:i.Message.getFieldWithDefault(t,1,0),tagid:i.Message.getFieldWithDefault(t,2,0),name:i.Message.getFieldWithDefault(t,3,""),start:i.Message.getFieldWithDefault(t,4,0),tablemax:i.Message.getFieldWithDefault(t,5,0)};return e&&(r.$jspbMessageInstance=t),r}),proto.rpc.ManagerVideoListRequest.deserializeBinary=function(e){var t=new i.BinaryReader(e),r=new proto.rpc.ManagerVideoListRequest;return proto.rpc.ManagerVideoListRequest.deserializeBinaryFromReader(r,t)},proto.rpc.ManagerVideoListRequest.deserializeBinaryFromReader=function(e,t){while(t.nextField()){if(t.isEndGroup())break;var r=t.getFieldNumber();switch(r){case 1:var i=t.readInt32();e.setVcid(i);break;case 2:i=t.readInt32();e.setTagid(i);break;case 3:i=t.readString();e.setName(i);break;case 4:i=t.readInt32();e.setStart(i);break;case 5:i=t.readInt32();e.setTablemax(i);break;default:t.skipField();break}}return e},proto.rpc.ManagerVideoListRequest.prototype.serializeBinary=function(){var e=new i.BinaryWriter;return proto.rpc.ManagerVideoListRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.rpc.ManagerVideoListRequest.serializeBinaryToWriter=function(e,t){var r=void 0;r=e.getVcid(),0!==r&&t.writeInt32(1,r),r=e.getTagid(),0!==r&&t.writeInt32(2,r),r=e.getName(),r.length>0&&t.writeString(3,r),r=e.getStart(),0!==r&&t.writeInt32(4,r),r=e.getTablemax(),0!==r&&t.writeInt32(5,r)},proto.rpc.ManagerVideoListRequest.prototype.getVcid=function(){return i.Message.getFieldWithDefault(this,1,0)},proto.rpc.ManagerVideoListRequest.prototype.setVcid=function(e){return i.Message.setProto3IntField(this,1,e)},proto.rpc.ManagerVideoListRequest.prototype.getTagid=function(){return i.Message.getFieldWithDefault(this,2,0)},proto.rpc.ManagerVideoListRequest.prototype.setTagid=function(e){return i.Message.setProto3IntField(this,2,e)},proto.rpc.ManagerVideoListRequest.prototype.getName=function(){return i.Message.getFieldWithDefault(this,3,"")},proto.rpc.ManagerVideoListRequest.prototype.setName=function(e){return i.Message.setProto3StringField(this,3,e)},proto.rpc.ManagerVideoListRequest.prototype.getStart=function(){return i.Message.getFieldWithDefault(this,4,0)},proto.rpc.ManagerVideoListRequest.prototype.setStart=function(e){return i.Message.setProto3IntField(this,4,e)},proto.rpc.ManagerVideoListRequest.prototype.getTablemax=function(){return i.Message.getFieldWithDefault(this,5,0)},proto.rpc.ManagerVideoListRequest.prototype.setTablemax=function(e){return i.Message.setProto3IntField(this,5,e)},proto.rpc.ManagerVideoListReply.repeatedFields_=[1],i.Message.GENERATE_TO_OBJECT&&(proto.rpc.ManagerVideoListReply.prototype.toObject=function(e){return proto.rpc.ManagerVideoListReply.toObject(e,this)},proto.rpc.ManagerVideoListReply.toObject=function(e,t){var r={videorsList:i.Message.toObjectList(t.getVideorsList(),proto.rpc.ManagerVideoInfo.toObject,e),pagecount:i.Message.getFieldWithDefault(t,2,0)};return e&&(r.$jspbMessageInstance=t),r}),proto.rpc.ManagerVideoListReply.deserializeBinary=function(e){var t=new i.BinaryReader(e),r=new proto.rpc.ManagerVideoListReply;return proto.rpc.ManagerVideoListReply.deserializeBinaryFromReader(r,t)},proto.rpc.ManagerVideoListReply.deserializeBinaryFromReader=function(e,t){while(t.nextField()){if(t.isEndGroup())break;var r=t.getFieldNumber();switch(r){case 1:var i=new proto.rpc.ManagerVideoInfo;t.readMessage(i,proto.rpc.ManagerVideoInfo.deserializeBinaryFromReader),e.addVideors(i);break;case 2:i=t.readInt64();e.setPagecount(i);break;default:t.skipField();break}}return e},proto.rpc.ManagerVideoListReply.prototype.serializeBinary=function(){var e=new i.BinaryWriter;return proto.rpc.ManagerVideoListReply.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.rpc.ManagerVideoListReply.serializeBinaryToWriter=function(e,t){var r=void 0;r=e.getVideorsList(),r.length>0&&t.writeRepeatedMessage(1,r,proto.rpc.ManagerVideoInfo.serializeBinaryToWriter),r=e.getPagecount(),0!==r&&t.writeInt64(2,r)},proto.rpc.ManagerVideoListReply.prototype.getVideorsList=function(){return i.Message.getRepeatedWrapperField(this,proto.rpc.ManagerVideoInfo,1)},proto.rpc.ManagerVideoListReply.prototype.setVideorsList=function(e){return i.Message.setRepeatedWrapperField(this,1,e)},proto.rpc.ManagerVideoListReply.prototype.addVideors=function(e,t){return i.Message.addToRepeatedWrapperField(this,1,e,proto.rpc.ManagerVideoInfo,t)},proto.rpc.ManagerVideoListReply.prototype.clearVideorsList=function(){return this.setVideorsList([])},proto.rpc.ManagerVideoListReply.prototype.getPagecount=function(){return i.Message.getFieldWithDefault(this,2,0)},proto.rpc.ManagerVideoListReply.prototype.setPagecount=function(e){return i.Message.setProto3IntField(this,2,e)},i.Message.GENERATE_TO_OBJECT&&(proto.rpc.ManagerVideoCategoriesListRequest.prototype.toObject=function(e){return proto.rpc.ManagerVideoCategoriesListRequest.toObject(e,this)},proto.rpc.ManagerVideoCategoriesListRequest.toObject=function(e,t){var r={start:i.Message.getFieldWithDefault(t,1,0),tablemax:i.Message.getFieldWithDefault(t,2,0),name:i.Message.getFieldWithDefault(t,3,"")};return e&&(r.$jspbMessageInstance=t),r}),proto.rpc.ManagerVideoCategoriesListRequest.deserializeBinary=function(e){var t=new i.BinaryReader(e),r=new proto.rpc.ManagerVideoCategoriesListRequest;return proto.rpc.ManagerVideoCategoriesListRequest.deserializeBinaryFromReader(r,t)},proto.rpc.ManagerVideoCategoriesListRequest.deserializeBinaryFromReader=function(e,t){while(t.nextField()){if(t.isEndGroup())break;var r=t.getFieldNumber();switch(r){case 1:var i=t.readInt32();e.setStart(i);break;case 2:i=t.readInt32();e.setTablemax(i);break;case 3:i=t.readString();e.setName(i);break;default:t.skipField();break}}return e},proto.rpc.ManagerVideoCategoriesListRequest.prototype.serializeBinary=function(){var e=new i.BinaryWriter;return proto.rpc.ManagerVideoCategoriesListRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.rpc.ManagerVideoCategoriesListRequest.serializeBinaryToWriter=function(e,t){var r=void 0;r=e.getStart(),0!==r&&t.writeInt32(1,r),r=e.getTablemax(),0!==r&&t.writeInt32(2,r),r=e.getName(),r.length>0&&t.writeString(3,r)},proto.rpc.ManagerVideoCategoriesListRequest.prototype.getStart=function(){return i.Message.getFieldWithDefault(this,1,0)},proto.rpc.ManagerVideoCategoriesListRequest.prototype.setStart=function(e){return i.Message.setProto3IntField(this,1,e)},proto.rpc.ManagerVideoCategoriesListRequest.prototype.getTablemax=function(){return i.Message.getFieldWithDefault(this,2,0)},proto.rpc.ManagerVideoCategoriesListRequest.prototype.setTablemax=function(e){return i.Message.setProto3IntField(this,2,e)},proto.rpc.ManagerVideoCategoriesListRequest.prototype.getName=function(){return i.Message.getFieldWithDefault(this,3,"")},proto.rpc.ManagerVideoCategoriesListRequest.prototype.setName=function(e){return i.Message.setProto3StringField(this,3,e)},i.Message.GENERATE_TO_OBJECT&&(proto.rpc.ManagerVideoTagListRequest.prototype.toObject=function(e){return proto.rpc.ManagerVideoTagListRequest.toObject(e,this)},proto.rpc.ManagerVideoTagListRequest.toObject=function(e,t){var r={start:i.Message.getFieldWithDefault(t,1,0),tablemax:i.Message.getFieldWithDefault(t,2,0),name:i.Message.getFieldWithDefault(t,3,""),tagtype:i.Message.getFieldWithDefault(t,4,0)};return e&&(r.$jspbMessageInstance=t),r}),proto.rpc.ManagerVideoTagListRequest.deserializeBinary=function(e){var t=new i.BinaryReader(e),r=new proto.rpc.ManagerVideoTagListRequest;return proto.rpc.ManagerVideoTagListRequest.deserializeBinaryFromReader(r,t)},proto.rpc.ManagerVideoTagListRequest.deserializeBinaryFromReader=function(e,t){while(t.nextField()){if(t.isEndGroup())break;var r=t.getFieldNumber();switch(r){case 1:var i=t.readInt32();e.setStart(i);break;case 2:i=t.readInt32();e.setTablemax(i);break;case 3:i=t.readString();e.setName(i);break;case 4:i=t.readInt32();e.setTagtype(i);break;default:t.skipField();break}}return e},proto.rpc.ManagerVideoTagListRequest.prototype.serializeBinary=function(){var e=new i.BinaryWriter;return proto.rpc.ManagerVideoTagListRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.rpc.ManagerVideoTagListRequest.serializeBinaryToWriter=function(e,t){var r=void 0;r=e.getStart(),0!==r&&t.writeInt32(1,r),r=e.getTablemax(),0!==r&&t.writeInt32(2,r),r=e.getName(),r.length>0&&t.writeString(3,r),r=e.getTagtype(),0!==r&&t.writeInt32(4,r)},proto.rpc.ManagerVideoTagListRequest.prototype.getStart=function(){return i.Message.getFieldWithDefault(this,1,0)},proto.rpc.ManagerVideoTagListRequest.prototype.setStart=function(e){return i.Message.setProto3IntField(this,1,e)},proto.rpc.ManagerVideoTagListRequest.prototype.getTablemax=function(){return i.Message.getFieldWithDefault(this,2,0)},proto.rpc.ManagerVideoTagListRequest.prototype.setTablemax=function(e){return i.Message.setProto3IntField(this,2,e)},proto.rpc.ManagerVideoTagListRequest.prototype.getName=function(){return i.Message.getFieldWithDefault(this,3,"")},proto.rpc.ManagerVideoTagListRequest.prototype.setName=function(e){return i.Message.setProto3StringField(this,3,e)},proto.rpc.ManagerVideoTagListRequest.prototype.getTagtype=function(){return i.Message.getFieldWithDefault(this,4,0)},proto.rpc.ManagerVideoTagListRequest.prototype.setTagtype=function(e){return i.Message.setProto3IntField(this,4,e)},proto.rpc.ErrorCode={OK:0,TOKENEXPIRE:1e3,USERBAN:1001,VFCODEEXPIRE:1002,SMSSENDFAIL:1003,PHONENOTEXIST:2001,UNKNOWNERR:2002},proto.rpc.UserType={UNDEFINE:0,LOALLOUT:1,LOCAL:2,TV:3},proto.rpc.HrDataSource={UNKNOWN:0,HRSENSOR:1,PREDICT:2},o.object.extend(t,proto.rpc)}});