(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)};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;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)},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)},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)},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,"")};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;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)},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)},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,"")};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;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)},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)},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,"")};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;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)},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)},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,2,0),iscomplete:i.Message.getFieldWithDefault(t,3,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 2:i=t.readEnum();e.setUsertype(i);break;case 3: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(2,r),r=e.getIscomplete(),0!==r&&t.writeInt32(3,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,2,0)},proto.rpc.SignInReply.prototype.setUsertype=function(e){return i.Message.setProto3EnumField(this,2,e)},proto.rpc.SignInReply.prototype.getIscomplete=function(){return i.Message.getFieldWithDefault(this,3,0)},proto.rpc.SignInReply.prototype.setIscomplete=function(e){return i.Message.setProto3IntField(this,3,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,"")};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;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)},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)},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)};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;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)},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)},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)};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;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)},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)},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)};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;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)},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)},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,"")};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;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)},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)};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.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)};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;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)},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)},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)};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;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)},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.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.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.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,""),ei:i.Message.getFloatingPointFieldWithDefault(t,12,0),status:i.Message.getFieldWithDefault(t,13,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.readFloat();e.setEi(i);break;case 13: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.getEi(),0!==r&&t.writeFloat(12,r),r=e.getStatus(),0!==r&&t.writeInt32(13,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.getEi=function(){return i.Message.getFloatingPointFieldWithDefault(this,12,0)},proto.rpc.ManagerVideoInfo.prototype.setEi=function(e){return i.Message.setProto3FloatField(this,12,e)},proto.rpc.ManagerVideoInfo.prototype.getStatus=function(){return i.Message.getFieldWithDefault(this,13,0)},proto.rpc.ManagerVideoInfo.prototype.setStatus=function(e){return i.Message.setProto3IntField(this,13,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,"")};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;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)},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)},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)};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;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)},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)},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.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)};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;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)},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)},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)};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;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)},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)},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)};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;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)},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)},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)};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;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)},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)},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)};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;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)},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)},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)};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;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)},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.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)}});