UNPKG

jarviscrawlercore

Version:
1,666 lines (1,460 loc) 122 kB
// source: taobao.proto /** * @fileoverview * @enhanceable * @suppress {messageConventions} JS Compiler reports an error if a variable or * field starts with 'MSG_' and isn't a translatable message. * @public */ // GENERATED CODE -- DO NOT EDIT! /* eslint-disable */ // @ts-nocheck var jspb = require('google-protobuf'); var goog = jspb; var global = Function('return this')(); goog.exportSymbol('proto.jarviscrawlercore.ReplyTaobao', null, global); goog.exportSymbol('proto.jarviscrawlercore.ReplyTaobao.ReplyCase', null, global); goog.exportSymbol('proto.jarviscrawlercore.RequestTaobao', null, global); goog.exportSymbol('proto.jarviscrawlercore.TaobaoItem', null, global); goog.exportSymbol('proto.jarviscrawlercore.TaobaoMode', null, global); goog.exportSymbol('proto.jarviscrawlercore.TaobaoProduct', null, global); goog.exportSymbol('proto.jarviscrawlercore.TaobaoProductHistory', null, global); goog.exportSymbol('proto.jarviscrawlercore.TaobaoProperty', null, global); goog.exportSymbol('proto.jarviscrawlercore.TaobaoRelatedItem', null, global); goog.exportSymbol('proto.jarviscrawlercore.TaobaoReviewTag', null, global); goog.exportSymbol('proto.jarviscrawlercore.TaobaoSKUInfo', null, global); goog.exportSymbol('proto.jarviscrawlercore.TaobaoSearchResult', null, global); goog.exportSymbol('proto.jarviscrawlercore.TaobaoShopInfo', null, global); /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.jarviscrawlercore.TaobaoSKUInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.jarviscrawlercore.TaobaoSKUInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.jarviscrawlercore.TaobaoSKUInfo.displayName = 'proto.jarviscrawlercore.TaobaoSKUInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.jarviscrawlercore.TaobaoShopInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.jarviscrawlercore.TaobaoShopInfo.repeatedFields_, null); }; goog.inherits(proto.jarviscrawlercore.TaobaoShopInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.jarviscrawlercore.TaobaoShopInfo.displayName = 'proto.jarviscrawlercore.TaobaoShopInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.jarviscrawlercore.TaobaoProductHistory = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.jarviscrawlercore.TaobaoProductHistory.repeatedFields_, null); }; goog.inherits(proto.jarviscrawlercore.TaobaoProductHistory, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.jarviscrawlercore.TaobaoProductHistory.displayName = 'proto.jarviscrawlercore.TaobaoProductHistory'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.jarviscrawlercore.TaobaoProperty = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.jarviscrawlercore.TaobaoProperty, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.jarviscrawlercore.TaobaoProperty.displayName = 'proto.jarviscrawlercore.TaobaoProperty'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.jarviscrawlercore.TaobaoReviewTag = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.jarviscrawlercore.TaobaoReviewTag, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.jarviscrawlercore.TaobaoReviewTag.displayName = 'proto.jarviscrawlercore.TaobaoReviewTag'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.jarviscrawlercore.TaobaoRelatedItem = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.jarviscrawlercore.TaobaoRelatedItem, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.jarviscrawlercore.TaobaoRelatedItem.displayName = 'proto.jarviscrawlercore.TaobaoRelatedItem'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.jarviscrawlercore.TaobaoProduct = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.jarviscrawlercore.TaobaoProduct.repeatedFields_, null); }; goog.inherits(proto.jarviscrawlercore.TaobaoProduct, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.jarviscrawlercore.TaobaoProduct.displayName = 'proto.jarviscrawlercore.TaobaoProduct'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.jarviscrawlercore.TaobaoItem = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.jarviscrawlercore.TaobaoItem.repeatedFields_, null); }; goog.inherits(proto.jarviscrawlercore.TaobaoItem, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.jarviscrawlercore.TaobaoItem.displayName = 'proto.jarviscrawlercore.TaobaoItem'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.jarviscrawlercore.TaobaoSearchResult = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.jarviscrawlercore.TaobaoSearchResult.repeatedFields_, null); }; goog.inherits(proto.jarviscrawlercore.TaobaoSearchResult, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.jarviscrawlercore.TaobaoSearchResult.displayName = 'proto.jarviscrawlercore.TaobaoSearchResult'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.jarviscrawlercore.RequestTaobao = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.jarviscrawlercore.RequestTaobao, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.jarviscrawlercore.RequestTaobao.displayName = 'proto.jarviscrawlercore.RequestTaobao'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.jarviscrawlercore.ReplyTaobao = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, proto.jarviscrawlercore.ReplyTaobao.oneofGroups_); }; goog.inherits(proto.jarviscrawlercore.ReplyTaobao, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.jarviscrawlercore.ReplyTaobao.displayName = 'proto.jarviscrawlercore.ReplyTaobao'; } if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.jarviscrawlercore.TaobaoSKUInfo.prototype.toObject = function(opt_includeInstance) { return proto.jarviscrawlercore.TaobaoSKUInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.jarviscrawlercore.TaobaoSKUInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.jarviscrawlercore.TaobaoSKUInfo.toObject = function(includeInstance, msg) { var f, obj = { skuid: jspb.Message.getFieldWithDefault(msg, 1, ""), price: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0), title: jspb.Message.getFieldWithDefault(msg, 3, ""), img: jspb.Message.getFieldWithDefault(msg, 4, ""), stock: jspb.Message.getFieldWithDefault(msg, 5, 0), valueid: jspb.Message.getFieldWithDefault(msg, 6, ""), itemid: jspb.Message.getFieldWithDefault(msg, 7, "") }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.jarviscrawlercore.TaobaoSKUInfo} */ proto.jarviscrawlercore.TaobaoSKUInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.jarviscrawlercore.TaobaoSKUInfo; return proto.jarviscrawlercore.TaobaoSKUInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.jarviscrawlercore.TaobaoSKUInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.jarviscrawlercore.TaobaoSKUInfo} */ proto.jarviscrawlercore.TaobaoSKUInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {string} */ (reader.readString()); msg.setSkuid(value); break; case 2: var value = /** @type {number} */ (reader.readFloat()); msg.setPrice(value); break; case 3: var value = /** @type {string} */ (reader.readString()); msg.setTitle(value); break; case 4: var value = /** @type {string} */ (reader.readString()); msg.setImg(value); break; case 5: var value = /** @type {number} */ (reader.readInt32()); msg.setStock(value); break; case 6: var value = /** @type {string} */ (reader.readString()); msg.setValueid(value); break; case 7: var value = /** @type {string} */ (reader.readString()); msg.setItemid(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.jarviscrawlercore.TaobaoSKUInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.jarviscrawlercore.TaobaoSKUInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.jarviscrawlercore.TaobaoSKUInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.jarviscrawlercore.TaobaoSKUInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getSkuid(); if (f.length > 0) { writer.writeString( 1, f ); } f = message.getPrice(); if (f !== 0.0) { writer.writeFloat( 2, f ); } f = message.getTitle(); if (f.length > 0) { writer.writeString( 3, f ); } f = message.getImg(); if (f.length > 0) { writer.writeString( 4, f ); } f = message.getStock(); if (f !== 0) { writer.writeInt32( 5, f ); } f = message.getValueid(); if (f.length > 0) { writer.writeString( 6, f ); } f = message.getItemid(); if (f.length > 0) { writer.writeString( 7, f ); } }; /** * optional string skuid = 1; * @return {string} */ proto.jarviscrawlercore.TaobaoSKUInfo.prototype.getSkuid = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value * @return {!proto.jarviscrawlercore.TaobaoSKUInfo} returns this */ proto.jarviscrawlercore.TaobaoSKUInfo.prototype.setSkuid = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; /** * optional float price = 2; * @return {number} */ proto.jarviscrawlercore.TaobaoSKUInfo.prototype.getPrice = function() { return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 2, 0.0)); }; /** * @param {number} value * @return {!proto.jarviscrawlercore.TaobaoSKUInfo} returns this */ proto.jarviscrawlercore.TaobaoSKUInfo.prototype.setPrice = function(value) { return jspb.Message.setProto3FloatField(this, 2, value); }; /** * optional string title = 3; * @return {string} */ proto.jarviscrawlercore.TaobaoSKUInfo.prototype.getTitle = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); }; /** * @param {string} value * @return {!proto.jarviscrawlercore.TaobaoSKUInfo} returns this */ proto.jarviscrawlercore.TaobaoSKUInfo.prototype.setTitle = function(value) { return jspb.Message.setProto3StringField(this, 3, value); }; /** * optional string img = 4; * @return {string} */ proto.jarviscrawlercore.TaobaoSKUInfo.prototype.getImg = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); }; /** * @param {string} value * @return {!proto.jarviscrawlercore.TaobaoSKUInfo} returns this */ proto.jarviscrawlercore.TaobaoSKUInfo.prototype.setImg = function(value) { return jspb.Message.setProto3StringField(this, 4, value); }; /** * optional int32 stock = 5; * @return {number} */ proto.jarviscrawlercore.TaobaoSKUInfo.prototype.getStock = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0)); }; /** * @param {number} value * @return {!proto.jarviscrawlercore.TaobaoSKUInfo} returns this */ proto.jarviscrawlercore.TaobaoSKUInfo.prototype.setStock = function(value) { return jspb.Message.setProto3IntField(this, 5, value); }; /** * optional string valueid = 6; * @return {string} */ proto.jarviscrawlercore.TaobaoSKUInfo.prototype.getValueid = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, "")); }; /** * @param {string} value * @return {!proto.jarviscrawlercore.TaobaoSKUInfo} returns this */ proto.jarviscrawlercore.TaobaoSKUInfo.prototype.setValueid = function(value) { return jspb.Message.setProto3StringField(this, 6, value); }; /** * optional string itemid = 7; * @return {string} */ proto.jarviscrawlercore.TaobaoSKUInfo.prototype.getItemid = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, "")); }; /** * @param {string} value * @return {!proto.jarviscrawlercore.TaobaoSKUInfo} returns this */ proto.jarviscrawlercore.TaobaoSKUInfo.prototype.setItemid = function(value) { return jspb.Message.setProto3StringField(this, 7, value); }; /** * List of repeated fields within this message type. * @private {!Array<number>} * @const */ proto.jarviscrawlercore.TaobaoShopInfo.repeatedFields_ = [6,7,15]; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.jarviscrawlercore.TaobaoShopInfo.prototype.toObject = function(opt_includeInstance) { return proto.jarviscrawlercore.TaobaoShopInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.jarviscrawlercore.TaobaoShopInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.jarviscrawlercore.TaobaoShopInfo.toObject = function(includeInstance, msg) { var f, obj = { name: jspb.Message.getFieldWithDefault(msg, 1, ""), gold: jspb.Message.getBooleanFieldWithDefault(msg, 2, false), url: jspb.Message.getFieldWithDefault(msg, 3, ""), rank: jspb.Message.getFieldWithDefault(msg, 4, ""), rating: jspb.Message.getFieldWithDefault(msg, 5, 0), ratelevelList: (f = jspb.Message.getRepeatedField(msg, 6)) == null ? undefined : f, ratescoreList: (f = jspb.Message.getRepeatedFloatingPointField(msg, 7)) == null ? undefined : f, shopid: jspb.Message.getFieldWithDefault(msg, 8, ""), userid: jspb.Message.getFieldWithDefault(msg, 9, ""), creditlevel: jspb.Message.getFieldWithDefault(msg, 10, 0), allitemcount: jspb.Message.getFieldWithDefault(msg, 11, 0), newitemcount: jspb.Message.getFieldWithDefault(msg, 12, 0), strfans: jspb.Message.getFieldWithDefault(msg, 13, ""), goodratepercentage: jspb.Message.getFloatingPointFieldWithDefault(msg, 14, 0.0), rateoffsetList: (f = jspb.Message.getRepeatedFloatingPointField(msg, 15)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.jarviscrawlercore.TaobaoShopInfo} */ proto.jarviscrawlercore.TaobaoShopInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.jarviscrawlercore.TaobaoShopInfo; return proto.jarviscrawlercore.TaobaoShopInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.jarviscrawlercore.TaobaoShopInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.jarviscrawlercore.TaobaoShopInfo} */ proto.jarviscrawlercore.TaobaoShopInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {string} */ (reader.readString()); msg.setName(value); break; case 2: var value = /** @type {boolean} */ (reader.readBool()); msg.setGold(value); break; case 3: var value = /** @type {string} */ (reader.readString()); msg.setUrl(value); break; case 4: var value = /** @type {string} */ (reader.readString()); msg.setRank(value); break; case 5: var value = /** @type {number} */ (reader.readInt32()); msg.setRating(value); break; case 6: var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]); for (var i = 0; i < values.length; i++) { msg.addRatelevel(values[i]); } break; case 7: var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedFloat() : [reader.readFloat()]); for (var i = 0; i < values.length; i++) { msg.addRatescore(values[i]); } break; case 8: var value = /** @type {string} */ (reader.readString()); msg.setShopid(value); break; case 9: var value = /** @type {string} */ (reader.readString()); msg.setUserid(value); break; case 10: var value = /** @type {number} */ (reader.readInt32()); msg.setCreditlevel(value); break; case 11: var value = /** @type {number} */ (reader.readInt32()); msg.setAllitemcount(value); break; case 12: var value = /** @type {number} */ (reader.readInt32()); msg.setNewitemcount(value); break; case 13: var value = /** @type {string} */ (reader.readString()); msg.setStrfans(value); break; case 14: var value = /** @type {number} */ (reader.readFloat()); msg.setGoodratepercentage(value); break; case 15: var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedFloat() : [reader.readFloat()]); for (var i = 0; i < values.length; i++) { msg.addRateoffset(values[i]); } break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.jarviscrawlercore.TaobaoShopInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.jarviscrawlercore.TaobaoShopInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.jarviscrawlercore.TaobaoShopInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.jarviscrawlercore.TaobaoShopInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getName(); if (f.length > 0) { writer.writeString( 1, f ); } f = message.getGold(); if (f) { writer.writeBool( 2, f ); } f = message.getUrl(); if (f.length > 0) { writer.writeString( 3, f ); } f = message.getRank(); if (f.length > 0) { writer.writeString( 4, f ); } f = message.getRating(); if (f !== 0) { writer.writeInt32( 5, f ); } f = message.getRatelevelList(); if (f.length > 0) { writer.writePackedInt32( 6, f ); } f = message.getRatescoreList(); if (f.length > 0) { writer.writePackedFloat( 7, f ); } f = message.getShopid(); if (f.length > 0) { writer.writeString( 8, f ); } f = message.getUserid(); if (f.length > 0) { writer.writeString( 9, f ); } f = message.getCreditlevel(); if (f !== 0) { writer.writeInt32( 10, f ); } f = message.getAllitemcount(); if (f !== 0) { writer.writeInt32( 11, f ); } f = message.getNewitemcount(); if (f !== 0) { writer.writeInt32( 12, f ); } f = message.getStrfans(); if (f.length > 0) { writer.writeString( 13, f ); } f = message.getGoodratepercentage(); if (f !== 0.0) { writer.writeFloat( 14, f ); } f = message.getRateoffsetList(); if (f.length > 0) { writer.writePackedFloat( 15, f ); } }; /** * optional string name = 1; * @return {string} */ proto.jarviscrawlercore.TaobaoShopInfo.prototype.getName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value * @return {!proto.jarviscrawlercore.TaobaoShopInfo} returns this */ proto.jarviscrawlercore.TaobaoShopInfo.prototype.setName = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; /** * optional bool gold = 2; * @return {boolean} */ proto.jarviscrawlercore.TaobaoShopInfo.prototype.getGold = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false)); }; /** * @param {boolean} value * @return {!proto.jarviscrawlercore.TaobaoShopInfo} returns this */ proto.jarviscrawlercore.TaobaoShopInfo.prototype.setGold = function(value) { return jspb.Message.setProto3BooleanField(this, 2, value); }; /** * optional string url = 3; * @return {string} */ proto.jarviscrawlercore.TaobaoShopInfo.prototype.getUrl = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); }; /** * @param {string} value * @return {!proto.jarviscrawlercore.TaobaoShopInfo} returns this */ proto.jarviscrawlercore.TaobaoShopInfo.prototype.setUrl = function(value) { return jspb.Message.setProto3StringField(this, 3, value); }; /** * optional string rank = 4; * @return {string} */ proto.jarviscrawlercore.TaobaoShopInfo.prototype.getRank = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); }; /** * @param {string} value * @return {!proto.jarviscrawlercore.TaobaoShopInfo} returns this */ proto.jarviscrawlercore.TaobaoShopInfo.prototype.setRank = function(value) { return jspb.Message.setProto3StringField(this, 4, value); }; /** * optional int32 rating = 5; * @return {number} */ proto.jarviscrawlercore.TaobaoShopInfo.prototype.getRating = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0)); }; /** * @param {number} value * @return {!proto.jarviscrawlercore.TaobaoShopInfo} returns this */ proto.jarviscrawlercore.TaobaoShopInfo.prototype.setRating = function(value) { return jspb.Message.setProto3IntField(this, 5, value); }; /** * repeated int32 rateLevel = 6; * @return {!Array<number>} */ proto.jarviscrawlercore.TaobaoShopInfo.prototype.getRatelevelList = function() { return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 6)); }; /** * @param {!Array<number>} value * @return {!proto.jarviscrawlercore.TaobaoShopInfo} returns this */ proto.jarviscrawlercore.TaobaoShopInfo.prototype.setRatelevelList = function(value) { return jspb.Message.setField(this, 6, value || []); }; /** * @param {number} value * @param {number=} opt_index * @return {!proto.jarviscrawlercore.TaobaoShopInfo} returns this */ proto.jarviscrawlercore.TaobaoShopInfo.prototype.addRatelevel = function(value, opt_index) { return jspb.Message.addToRepeatedField(this, 6, value, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.jarviscrawlercore.TaobaoShopInfo} returns this */ proto.jarviscrawlercore.TaobaoShopInfo.prototype.clearRatelevelList = function() { return this.setRatelevelList([]); }; /** * repeated float rateScore = 7; * @return {!Array<number>} */ proto.jarviscrawlercore.TaobaoShopInfo.prototype.getRatescoreList = function() { return /** @type {!Array<number>} */ (jspb.Message.getRepeatedFloatingPointField(this, 7)); }; /** * @param {!Array<number>} value * @return {!proto.jarviscrawlercore.TaobaoShopInfo} returns this */ proto.jarviscrawlercore.TaobaoShopInfo.prototype.setRatescoreList = function(value) { return jspb.Message.setField(this, 7, value || []); }; /** * @param {number} value * @param {number=} opt_index * @return {!proto.jarviscrawlercore.TaobaoShopInfo} returns this */ proto.jarviscrawlercore.TaobaoShopInfo.prototype.addRatescore = function(value, opt_index) { return jspb.Message.addToRepeatedField(this, 7, value, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.jarviscrawlercore.TaobaoShopInfo} returns this */ proto.jarviscrawlercore.TaobaoShopInfo.prototype.clearRatescoreList = function() { return this.setRatescoreList([]); }; /** * optional string shopid = 8; * @return {string} */ proto.jarviscrawlercore.TaobaoShopInfo.prototype.getShopid = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, "")); }; /** * @param {string} value * @return {!proto.jarviscrawlercore.TaobaoShopInfo} returns this */ proto.jarviscrawlercore.TaobaoShopInfo.prototype.setShopid = function(value) { return jspb.Message.setProto3StringField(this, 8, value); }; /** * optional string userid = 9; * @return {string} */ proto.jarviscrawlercore.TaobaoShopInfo.prototype.getUserid = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, "")); }; /** * @param {string} value * @return {!proto.jarviscrawlercore.TaobaoShopInfo} returns this */ proto.jarviscrawlercore.TaobaoShopInfo.prototype.setUserid = function(value) { return jspb.Message.setProto3StringField(this, 9, value); }; /** * optional int32 creditLevel = 10; * @return {number} */ proto.jarviscrawlercore.TaobaoShopInfo.prototype.getCreditlevel = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 10, 0)); }; /** * @param {number} value * @return {!proto.jarviscrawlercore.TaobaoShopInfo} returns this */ proto.jarviscrawlercore.TaobaoShopInfo.prototype.setCreditlevel = function(value) { return jspb.Message.setProto3IntField(this, 10, value); }; /** * optional int32 allItemCount = 11; * @return {number} */ proto.jarviscrawlercore.TaobaoShopInfo.prototype.getAllitemcount = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 11, 0)); }; /** * @param {number} value * @return {!proto.jarviscrawlercore.TaobaoShopInfo} returns this */ proto.jarviscrawlercore.TaobaoShopInfo.prototype.setAllitemcount = function(value) { return jspb.Message.setProto3IntField(this, 11, value); }; /** * optional int32 newItemCount = 12; * @return {number} */ proto.jarviscrawlercore.TaobaoShopInfo.prototype.getNewitemcount = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 12, 0)); }; /** * @param {number} value * @return {!proto.jarviscrawlercore.TaobaoShopInfo} returns this */ proto.jarviscrawlercore.TaobaoShopInfo.prototype.setNewitemcount = function(value) { return jspb.Message.setProto3IntField(this, 12, value); }; /** * optional string strFans = 13; * @return {string} */ proto.jarviscrawlercore.TaobaoShopInfo.prototype.getStrfans = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, "")); }; /** * @param {string} value * @return {!proto.jarviscrawlercore.TaobaoShopInfo} returns this */ proto.jarviscrawlercore.TaobaoShopInfo.prototype.setStrfans = function(value) { return jspb.Message.setProto3StringField(this, 13, value); }; /** * optional float goodRatePercentage = 14; * @return {number} */ proto.jarviscrawlercore.TaobaoShopInfo.prototype.getGoodratepercentage = function() { return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 14, 0.0)); }; /** * @param {number} value * @return {!proto.jarviscrawlercore.TaobaoShopInfo} returns this */ proto.jarviscrawlercore.TaobaoShopInfo.prototype.setGoodratepercentage = function(value) { return jspb.Message.setProto3FloatField(this, 14, value); }; /** * repeated float rateOffset = 15; * @return {!Array<number>} */ proto.jarviscrawlercore.TaobaoShopInfo.prototype.getRateoffsetList = function() { return /** @type {!Array<number>} */ (jspb.Message.getRepeatedFloatingPointField(this, 15)); }; /** * @param {!Array<number>} value * @return {!proto.jarviscrawlercore.TaobaoShopInfo} returns this */ proto.jarviscrawlercore.TaobaoShopInfo.prototype.setRateoffsetList = function(value) { return jspb.Message.setField(this, 15, value || []); }; /** * @param {number} value * @param {number=} opt_index * @return {!proto.jarviscrawlercore.TaobaoShopInfo} returns this */ proto.jarviscrawlercore.TaobaoShopInfo.prototype.addRateoffset = function(value, opt_index) { return jspb.Message.addToRepeatedField(this, 15, value, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.jarviscrawlercore.TaobaoShopInfo} returns this */ proto.jarviscrawlercore.TaobaoShopInfo.prototype.clearRateoffsetList = function() { return this.setRateoffsetList([]); }; /** * List of repeated fields within this message type. * @private {!Array<number>} * @const */ proto.jarviscrawlercore.TaobaoProductHistory.repeatedFields_ = [1]; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.jarviscrawlercore.TaobaoProductHistory.prototype.toObject = function(opt_includeInstance) { return proto.jarviscrawlercore.TaobaoProductHistory.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.jarviscrawlercore.TaobaoProductHistory} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.jarviscrawlercore.TaobaoProductHistory.toObject = function(includeInstance, msg) { var f, obj = { skusList: jspb.Message.toObjectList(msg.getSkusList(), proto.jarviscrawlercore.TaobaoSKUInfo.toObject, includeInstance), lastupdatedtime: jspb.Message.getFieldWithDefault(msg, 2, 0) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.jarviscrawlercore.TaobaoProductHistory} */ proto.jarviscrawlercore.TaobaoProductHistory.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.jarviscrawlercore.TaobaoProductHistory; return proto.jarviscrawlercore.TaobaoProductHistory.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.jarviscrawlercore.TaobaoProductHistory} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.jarviscrawlercore.TaobaoProductHistory} */ proto.jarviscrawlercore.TaobaoProductHistory.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new proto.jarviscrawlercore.TaobaoSKUInfo; reader.readMessage(value,proto.jarviscrawlercore.TaobaoSKUInfo.deserializeBinaryFromReader); msg.addSkus(value); break; case 2: var value = /** @type {number} */ (reader.readInt64()); msg.setLastupdatedtime(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.jarviscrawlercore.TaobaoProductHistory.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.jarviscrawlercore.TaobaoProductHistory.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.jarviscrawlercore.TaobaoProductHistory} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.jarviscrawlercore.TaobaoProductHistory.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getSkusList(); if (f.length > 0) { writer.writeRepeatedMessage( 1, f, proto.jarviscrawlercore.TaobaoSKUInfo.serializeBinaryToWriter ); } f = message.getLastupdatedtime(); if (f !== 0) { writer.writeInt64( 2, f ); } }; /** * repeated TaobaoSKUInfo skus = 1; * @return {!Array<!proto.jarviscrawlercore.TaobaoSKUInfo>} */ proto.jarviscrawlercore.TaobaoProductHistory.prototype.getSkusList = function() { return /** @type{!Array<!proto.jarviscrawlercore.TaobaoSKUInfo>} */ ( jspb.Message.getRepeatedWrapperField(this, proto.jarviscrawlercore.TaobaoSKUInfo, 1)); }; /** * @param {!Array<!proto.jarviscrawlercore.TaobaoSKUInfo>} value * @return {!proto.jarviscrawlercore.TaobaoProductHistory} returns this */ proto.jarviscrawlercore.TaobaoProductHistory.prototype.setSkusList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 1, value); }; /** * @param {!proto.jarviscrawlercore.TaobaoSKUInfo=} opt_value * @param {number=} opt_index * @return {!proto.jarviscrawlercore.TaobaoSKUInfo} */ proto.jarviscrawlercore.TaobaoProductHistory.prototype.addSkus = function(opt_value, opt_index) { return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.jarviscrawlercore.TaobaoSKUInfo, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.jarviscrawlercore.TaobaoProductHistory} returns this */ proto.jarviscrawlercore.TaobaoProductHistory.prototype.clearSkusList = function() { return this.setSkusList([]); }; /** * optional int64 lastUpdatedTime = 2; * @return {number} */ proto.jarviscrawlercore.TaobaoProductHistory.prototype.getLastupdatedtime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.jarviscrawlercore.TaobaoProductHistory} returns this */ proto.jarviscrawlercore.TaobaoProductHistory.prototype.setLastupdatedtime = function(value) { return jspb.Message.setProto3IntField(this, 2, value); }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.jarviscrawlercore.TaobaoProperty.prototype.toObject = function(opt_includeInstance) { return proto.jarviscrawlercore.TaobaoProperty.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.jarviscrawlercore.TaobaoProperty} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.jarviscrawlercore.TaobaoProperty.toObject = function(includeInstance, msg) { var f, obj = { rootindex: jspb.Message.getFieldWithDefault(msg, 1, 0), rootname: jspb.Message.getFieldWithDefault(msg, 2, ""), key: jspb.Message.getFieldWithDefault(msg, 3, ""), value: jspb.Message.getFieldWithDefault(msg, 4, "") }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.jarviscrawlercore.TaobaoProperty} */ proto.jarviscrawlercore.TaobaoProperty.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.jarviscrawlercore.TaobaoProperty; return proto.jarviscrawlercore.TaobaoProperty.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.jarviscrawlercore.TaobaoProperty} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.jarviscrawlercore.TaobaoProperty} */ proto.jarviscrawlercore.TaobaoProperty.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setRootindex(value); break; case 2: var value = /** @type {string} */ (reader.readString()); msg.setRootname(value); break; case 3: var value = /** @type {string} */ (reader.readString()); msg.setKey(value); break; case 4: var value = /** @type {string} */ (reader.readString()); msg.setValue(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.jarviscrawlercore.TaobaoProperty.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.jarviscrawlercore.TaobaoProperty.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.jarviscrawlercore.TaobaoProperty} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.jarviscrawlercore.TaobaoProperty.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getRootindex(); if (f !== 0) { writer.writeInt32( 1, f ); } f = message.getRootname(); if (f.length > 0) { writer.writeString( 2, f ); } f = message.getKey(); if (f.length > 0) { writer.writeString( 3, f ); } f = message.getValue(); if (f.length > 0) { writer.writeString( 4, f ); } }; /** * optional int32 rootIndex = 1; * @return {number} */ proto.jarviscrawlercore.TaobaoProperty.prototype.getRootindex = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.jarviscrawlercore.TaobaoProperty} returns this */ proto.jarviscrawlercore.TaobaoProperty.prototype.setRootindex = function(value) { return jspb.Message.setProto3IntField(this, 1, value); }; /** * optional string rootName = 2; * @return {string} */ proto.jarviscrawlercore.TaobaoProperty.prototype.getRootname = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value * @return {!proto.jarviscrawlercore.TaobaoProperty} returns this */ proto.jarviscrawlercore.TaobaoProperty.prototype.setRootname = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; /** * optional string key = 3; * @return {string} */ proto.jarviscrawlercore.TaobaoProperty.prototype.getKey = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); }; /** * @param {string} value * @return {!proto.jarviscrawlercore.TaobaoProperty} returns this */ proto.jarviscrawlercore.TaobaoProperty.prototype.setKey = function(value) { return jspb.Message.setProto3StringField(this, 3, value); }; /** * optional string value = 4; * @return {string} */ proto.jarviscrawlercore.TaobaoProperty.prototype.getValue = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); }; /** * @param {string} value * @return {!proto.jarviscrawlercore.TaobaoProperty} returns this */ proto.jarviscrawlercore.TaobaoProperty.prototype.setValue = function(value) { return jspb.Message.setProto3StringField(this, 4, value); }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.jarviscrawlercore.TaobaoReviewTag.prototype.toObject = function(opt_includeInstance) { return proto.jarviscrawlercore.TaobaoReviewTag.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.jarviscrawlercore.TaobaoReviewTag} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.jarviscrawlercore.TaobaoReviewTag.toObject = function(includeInstance, msg) { var f, obj = { tag: jspb.Message.getFieldWithDefault(msg, 1, ""), times: jspb.Message.getFieldWithDefault(msg, 2, 0), type: jspb.Message.getFieldWithDefault(msg, 3, 0) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.jarviscrawlercore.TaobaoReviewTag} */ proto.jarviscrawlercore.TaobaoReviewTag.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.jarviscrawlercore.TaobaoReviewTag; return proto.jarviscrawlercore.TaobaoReviewTag.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.jarviscrawlercore.TaobaoReviewTag} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.jarviscrawlercore.TaobaoReviewTag} */ proto.jarviscrawlercore.TaobaoReviewTag.deserializeBinaryFromReader = function(msg, reader) { while (re