UNPKG

jarviscrawlercore

Version:
1,583 lines (1,395 loc) 129 kB
// source: steepandcheap.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.ReplySteepAndCheap', null, global); goog.exportSymbol('proto.jarviscrawlercore.ReplySteepAndCheap.ReplyCase', null, global); goog.exportSymbol('proto.jarviscrawlercore.RequestSteepAndCheap', null, global); goog.exportSymbol('proto.jarviscrawlercore.SteepAndCheapColorSize', null, global); goog.exportSymbol('proto.jarviscrawlercore.SteepAndCheapColorSize2', null, global); goog.exportSymbol('proto.jarviscrawlercore.SteepAndCheapColorSizeData', null, global); goog.exportSymbol('proto.jarviscrawlercore.SteepAndCheapHistory', null, global); goog.exportSymbol('proto.jarviscrawlercore.SteepAndCheapMode', null, global); goog.exportSymbol('proto.jarviscrawlercore.SteepAndCheapProduct', null, global); goog.exportSymbol('proto.jarviscrawlercore.SteepAndCheapProducts', null, global); goog.exportSymbol('proto.jarviscrawlercore.SteepAndCheapReview', null, global); goog.exportSymbol('proto.jarviscrawlercore.SteepAndCheapSaleProductInfo', null, global); goog.exportSymbol('proto.jarviscrawlercore.SteepAndCheapUser', 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.SteepAndCheapSaleProductInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.jarviscrawlercore.SteepAndCheapSaleProductInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.jarviscrawlercore.SteepAndCheapSaleProductInfo.displayName = 'proto.jarviscrawlercore.SteepAndCheapSaleProductInfo'; } /** * 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.SteepAndCheapColorSizeData = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.jarviscrawlercore.SteepAndCheapColorSizeData, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.jarviscrawlercore.SteepAndCheapColorSizeData.displayName = 'proto.jarviscrawlercore.SteepAndCheapColorSizeData'; } /** * 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.SteepAndCheapColorSize = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.jarviscrawlercore.SteepAndCheapColorSize.repeatedFields_, null); }; goog.inherits(proto.jarviscrawlercore.SteepAndCheapColorSize, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.jarviscrawlercore.SteepAndCheapColorSize.displayName = 'proto.jarviscrawlercore.SteepAndCheapColorSize'; } /** * 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.SteepAndCheapColorSize2 = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.jarviscrawlercore.SteepAndCheapColorSize2, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.jarviscrawlercore.SteepAndCheapColorSize2.displayName = 'proto.jarviscrawlercore.SteepAndCheapColorSize2'; } /** * 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.SteepAndCheapUser = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.jarviscrawlercore.SteepAndCheapUser, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.jarviscrawlercore.SteepAndCheapUser.displayName = 'proto.jarviscrawlercore.SteepAndCheapUser'; } /** * 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.SteepAndCheapReview = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.jarviscrawlercore.SteepAndCheapReview.repeatedFields_, null); }; goog.inherits(proto.jarviscrawlercore.SteepAndCheapReview, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.jarviscrawlercore.SteepAndCheapReview.displayName = 'proto.jarviscrawlercore.SteepAndCheapReview'; } /** * 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.SteepAndCheapHistory = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.jarviscrawlercore.SteepAndCheapHistory.repeatedFields_, null); }; goog.inherits(proto.jarviscrawlercore.SteepAndCheapHistory, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.jarviscrawlercore.SteepAndCheapHistory.displayName = 'proto.jarviscrawlercore.SteepAndCheapHistory'; } /** * 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.SteepAndCheapProduct = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.jarviscrawlercore.SteepAndCheapProduct.repeatedFields_, null); }; goog.inherits(proto.jarviscrawlercore.SteepAndCheapProduct, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.jarviscrawlercore.SteepAndCheapProduct.displayName = 'proto.jarviscrawlercore.SteepAndCheapProduct'; } /** * 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.SteepAndCheapProducts = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.jarviscrawlercore.SteepAndCheapProducts.repeatedFields_, null); }; goog.inherits(proto.jarviscrawlercore.SteepAndCheapProducts, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.jarviscrawlercore.SteepAndCheapProducts.displayName = 'proto.jarviscrawlercore.SteepAndCheapProducts'; } /** * 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.RequestSteepAndCheap = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.jarviscrawlercore.RequestSteepAndCheap, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.jarviscrawlercore.RequestSteepAndCheap.displayName = 'proto.jarviscrawlercore.RequestSteepAndCheap'; } /** * 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.ReplySteepAndCheap = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, proto.jarviscrawlercore.ReplySteepAndCheap.oneofGroups_); }; goog.inherits(proto.jarviscrawlercore.ReplySteepAndCheap, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.jarviscrawlercore.ReplySteepAndCheap.displayName = 'proto.jarviscrawlercore.ReplySteepAndCheap'; } 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.SteepAndCheapSaleProductInfo.prototype.toObject = function(opt_includeInstance) { return proto.jarviscrawlercore.SteepAndCheapSaleProductInfo.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.SteepAndCheapSaleProductInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.jarviscrawlercore.SteepAndCheapSaleProductInfo.toObject = function(includeInstance, msg) { var f, obj = { salecode: jspb.Message.getFieldWithDefault(msg, 1, ""), rank: jspb.Message.getFieldWithDefault(msg, 2, 0), score: 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.SteepAndCheapSaleProductInfo} */ proto.jarviscrawlercore.SteepAndCheapSaleProductInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.jarviscrawlercore.SteepAndCheapSaleProductInfo; return proto.jarviscrawlercore.SteepAndCheapSaleProductInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.jarviscrawlercore.SteepAndCheapSaleProductInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.jarviscrawlercore.SteepAndCheapSaleProductInfo} */ proto.jarviscrawlercore.SteepAndCheapSaleProductInfo.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.setSalecode(value); break; case 2: var value = /** @type {number} */ (reader.readInt32()); msg.setRank(value); break; case 3: var value = /** @type {number} */ (reader.readInt32()); msg.setScore(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.jarviscrawlercore.SteepAndCheapSaleProductInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.jarviscrawlercore.SteepAndCheapSaleProductInfo.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.SteepAndCheapSaleProductInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.jarviscrawlercore.SteepAndCheapSaleProductInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getSalecode(); if (f.length > 0) { writer.writeString( 1, f ); } f = message.getRank(); if (f !== 0) { writer.writeInt32( 2, f ); } f = message.getScore(); if (f !== 0) { writer.writeInt32( 3, f ); } }; /** * optional string saleCode = 1; * @return {string} */ proto.jarviscrawlercore.SteepAndCheapSaleProductInfo.prototype.getSalecode = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value * @return {!proto.jarviscrawlercore.SteepAndCheapSaleProductInfo} returns this */ proto.jarviscrawlercore.SteepAndCheapSaleProductInfo.prototype.setSalecode = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; /** * optional int32 rank = 2; * @return {number} */ proto.jarviscrawlercore.SteepAndCheapSaleProductInfo.prototype.getRank = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.jarviscrawlercore.SteepAndCheapSaleProductInfo} returns this */ proto.jarviscrawlercore.SteepAndCheapSaleProductInfo.prototype.setRank = function(value) { return jspb.Message.setProto3IntField(this, 2, value); }; /** * optional int32 score = 3; * @return {number} */ proto.jarviscrawlercore.SteepAndCheapSaleProductInfo.prototype.getScore = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value * @return {!proto.jarviscrawlercore.SteepAndCheapSaleProductInfo} returns this */ proto.jarviscrawlercore.SteepAndCheapSaleProductInfo.prototype.setScore = function(value) { return jspb.Message.setProto3IntField(this, 3, 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.SteepAndCheapColorSizeData.prototype.toObject = function(opt_includeInstance) { return proto.jarviscrawlercore.SteepAndCheapColorSizeData.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.SteepAndCheapColorSizeData} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.jarviscrawlercore.SteepAndCheapColorSizeData.toObject = function(includeInstance, msg) { var f, obj = { size: jspb.Message.getFieldWithDefault(msg, 1, ""), sizevalid: jspb.Message.getBooleanFieldWithDefault(msg, 2, false) }; 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.SteepAndCheapColorSizeData} */ proto.jarviscrawlercore.SteepAndCheapColorSizeData.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.jarviscrawlercore.SteepAndCheapColorSizeData; return proto.jarviscrawlercore.SteepAndCheapColorSizeData.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.jarviscrawlercore.SteepAndCheapColorSizeData} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.jarviscrawlercore.SteepAndCheapColorSizeData} */ proto.jarviscrawlercore.SteepAndCheapColorSizeData.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.setSize(value); break; case 2: var value = /** @type {boolean} */ (reader.readBool()); msg.setSizevalid(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.jarviscrawlercore.SteepAndCheapColorSizeData.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.jarviscrawlercore.SteepAndCheapColorSizeData.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.SteepAndCheapColorSizeData} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.jarviscrawlercore.SteepAndCheapColorSizeData.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getSize(); if (f.length > 0) { writer.writeString( 1, f ); } f = message.getSizevalid(); if (f) { writer.writeBool( 2, f ); } }; /** * optional string size = 1; * @return {string} */ proto.jarviscrawlercore.SteepAndCheapColorSizeData.prototype.getSize = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value * @return {!proto.jarviscrawlercore.SteepAndCheapColorSizeData} returns this */ proto.jarviscrawlercore.SteepAndCheapColorSizeData.prototype.setSize = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; /** * optional bool sizeValid = 2; * @return {boolean} */ proto.jarviscrawlercore.SteepAndCheapColorSizeData.prototype.getSizevalid = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false)); }; /** * @param {boolean} value * @return {!proto.jarviscrawlercore.SteepAndCheapColorSizeData} returns this */ proto.jarviscrawlercore.SteepAndCheapColorSizeData.prototype.setSizevalid = function(value) { return jspb.Message.setProto3BooleanField(this, 2, value); }; /** * List of repeated fields within this message type. * @private {!Array<number>} * @const */ proto.jarviscrawlercore.SteepAndCheapColorSize.repeatedFields_ = [2,3,4]; 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.SteepAndCheapColorSize.prototype.toObject = function(opt_includeInstance) { return proto.jarviscrawlercore.SteepAndCheapColorSize.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.SteepAndCheapColorSize} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.jarviscrawlercore.SteepAndCheapColorSize.toObject = function(includeInstance, msg) { var f, obj = { color: jspb.Message.getFieldWithDefault(msg, 1, ""), sizeList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f, sizevalidList: (f = jspb.Message.getRepeatedBooleanField(msg, 3)) == null ? undefined : f, dataList: jspb.Message.toObjectList(msg.getDataList(), proto.jarviscrawlercore.SteepAndCheapColorSizeData.toObject, includeInstance) }; 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.SteepAndCheapColorSize} */ proto.jarviscrawlercore.SteepAndCheapColorSize.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.jarviscrawlercore.SteepAndCheapColorSize; return proto.jarviscrawlercore.SteepAndCheapColorSize.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.jarviscrawlercore.SteepAndCheapColorSize} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.jarviscrawlercore.SteepAndCheapColorSize} */ proto.jarviscrawlercore.SteepAndCheapColorSize.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.setColor(value); break; case 2: var value = /** @type {string} */ (reader.readString()); msg.addSize(value); break; case 3: var values = /** @type {!Array<boolean>} */ (reader.isDelimited() ? reader.readPackedBool() : [reader.readBool()]); for (var i = 0; i < values.length; i++) { msg.addSizevalid(values[i]); } break; case 4: var value = new proto.jarviscrawlercore.SteepAndCheapColorSizeData; reader.readMessage(value,proto.jarviscrawlercore.SteepAndCheapColorSizeData.deserializeBinaryFromReader); msg.addData(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.jarviscrawlercore.SteepAndCheapColorSize.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.jarviscrawlercore.SteepAndCheapColorSize.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.SteepAndCheapColorSize} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.jarviscrawlercore.SteepAndCheapColorSize.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getColor(); if (f.length > 0) { writer.writeString( 1, f ); } f = message.getSizeList(); if (f.length > 0) { writer.writeRepeatedString( 2, f ); } f = message.getSizevalidList(); if (f.length > 0) { writer.writePackedBool( 3, f ); } f = message.getDataList(); if (f.length > 0) { writer.writeRepeatedMessage( 4, f, proto.jarviscrawlercore.SteepAndCheapColorSizeData.serializeBinaryToWriter ); } }; /** * optional string color = 1; * @return {string} */ proto.jarviscrawlercore.SteepAndCheapColorSize.prototype.getColor = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value * @return {!proto.jarviscrawlercore.SteepAndCheapColorSize} returns this */ proto.jarviscrawlercore.SteepAndCheapColorSize.prototype.setColor = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; /** * repeated string size = 2; * @return {!Array<string>} */ proto.jarviscrawlercore.SteepAndCheapColorSize.prototype.getSizeList = function() { return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 2)); }; /** * @param {!Array<string>} value * @return {!proto.jarviscrawlercore.SteepAndCheapColorSize} returns this */ proto.jarviscrawlercore.SteepAndCheapColorSize.prototype.setSizeList = function(value) { return jspb.Message.setField(this, 2, value || []); }; /** * @param {string} value * @param {number=} opt_index * @return {!proto.jarviscrawlercore.SteepAndCheapColorSize} returns this */ proto.jarviscrawlercore.SteepAndCheapColorSize.prototype.addSize = function(value, opt_index) { return jspb.Message.addToRepeatedField(this, 2, value, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.jarviscrawlercore.SteepAndCheapColorSize} returns this */ proto.jarviscrawlercore.SteepAndCheapColorSize.prototype.clearSizeList = function() { return this.setSizeList([]); }; /** * repeated bool sizeValid = 3; * @return {!Array<boolean>} */ proto.jarviscrawlercore.SteepAndCheapColorSize.prototype.getSizevalidList = function() { return /** @type {!Array<boolean>} */ (jspb.Message.getRepeatedBooleanField(this, 3)); }; /** * @param {!Array<boolean>} value * @return {!proto.jarviscrawlercore.SteepAndCheapColorSize} returns this */ proto.jarviscrawlercore.SteepAndCheapColorSize.prototype.setSizevalidList = function(value) { return jspb.Message.setField(this, 3, value || []); }; /** * @param {boolean} value * @param {number=} opt_index * @return {!proto.jarviscrawlercore.SteepAndCheapColorSize} returns this */ proto.jarviscrawlercore.SteepAndCheapColorSize.prototype.addSizevalid = function(value, opt_index) { return jspb.Message.addToRepeatedField(this, 3, value, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.jarviscrawlercore.SteepAndCheapColorSize} returns this */ proto.jarviscrawlercore.SteepAndCheapColorSize.prototype.clearSizevalidList = function() { return this.setSizevalidList([]); }; /** * repeated SteepAndCheapColorSizeData data = 4; * @return {!Array<!proto.jarviscrawlercore.SteepAndCheapColorSizeData>} */ proto.jarviscrawlercore.SteepAndCheapColorSize.prototype.getDataList = function() { return /** @type{!Array<!proto.jarviscrawlercore.SteepAndCheapColorSizeData>} */ ( jspb.Message.getRepeatedWrapperField(this, proto.jarviscrawlercore.SteepAndCheapColorSizeData, 4)); }; /** * @param {!Array<!proto.jarviscrawlercore.SteepAndCheapColorSizeData>} value * @return {!proto.jarviscrawlercore.SteepAndCheapColorSize} returns this */ proto.jarviscrawlercore.SteepAndCheapColorSize.prototype.setDataList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 4, value); }; /** * @param {!proto.jarviscrawlercore.SteepAndCheapColorSizeData=} opt_value * @param {number=} opt_index * @return {!proto.jarviscrawlercore.SteepAndCheapColorSizeData} */ proto.jarviscrawlercore.SteepAndCheapColorSize.prototype.addData = function(opt_value, opt_index) { return jspb.Message.addToRepeatedWrapperField(this, 4, opt_value, proto.jarviscrawlercore.SteepAndCheapColorSizeData, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.jarviscrawlercore.SteepAndCheapColorSize} returns this */ proto.jarviscrawlercore.SteepAndCheapColorSize.prototype.clearDataList = function() { return this.setDataList([]); }; 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.SteepAndCheapColorSize2.prototype.toObject = function(opt_includeInstance) { return proto.jarviscrawlercore.SteepAndCheapColorSize2.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.SteepAndCheapColorSize2} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.jarviscrawlercore.SteepAndCheapColorSize2.toObject = function(includeInstance, msg) { var f, obj = { color: jspb.Message.getFieldWithDefault(msg, 1, ""), size: jspb.Message.getFieldWithDefault(msg, 2, ""), price: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.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.SteepAndCheapColorSize2} */ proto.jarviscrawlercore.SteepAndCheapColorSize2.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.jarviscrawlercore.SteepAndCheapColorSize2; return proto.jarviscrawlercore.SteepAndCheapColorSize2.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.jarviscrawlercore.SteepAndCheapColorSize2} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.jarviscrawlercore.SteepAndCheapColorSize2} */ proto.jarviscrawlercore.SteepAndCheapColorSize2.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.setColor(value); break; case 2: var value = /** @type {string} */ (reader.readString()); msg.setSize(value); break; case 3: var value = /** @type {number} */ (reader.readFloat()); msg.setPrice(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.jarviscrawlercore.SteepAndCheapColorSize2.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.jarviscrawlercore.SteepAndCheapColorSize2.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.SteepAndCheapColorSize2} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.jarviscrawlercore.SteepAndCheapColorSize2.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getColor(); if (f.length > 0) { writer.writeString( 1, f ); } f = message.getSize(); if (f.length > 0) { writer.writeString( 2, f ); } f = message.getPrice(); if (f !== 0.0) { writer.writeFloat( 3, f ); } }; /** * optional string color = 1; * @return {string} */ proto.jarviscrawlercore.SteepAndCheapColorSize2.prototype.getColor = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value * @return {!proto.jarviscrawlercore.SteepAndCheapColorSize2} returns this */ proto.jarviscrawlercore.SteepAndCheapColorSize2.prototype.setColor = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; /** * optional string size = 2; * @return {string} */ proto.jarviscrawlercore.SteepAndCheapColorSize2.prototype.getSize = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value * @return {!proto.jarviscrawlercore.SteepAndCheapColorSize2} returns this */ proto.jarviscrawlercore.SteepAndCheapColorSize2.prototype.setSize = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; /** * optional float price = 3; * @return {number} */ proto.jarviscrawlercore.SteepAndCheapColorSize2.prototype.getPrice = function() { return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 3, 0.0)); }; /** * @param {number} value * @return {!proto.jarviscrawlercore.SteepAndCheapColorSize2} returns this */ proto.jarviscrawlercore.SteepAndCheapColorSize2.prototype.setPrice = function(value) { return jspb.Message.setProto3FloatField(this, 3, 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.SteepAndCheapUser.prototype.toObject = function(opt_includeInstance) { return proto.jarviscrawlercore.SteepAndCheapUser.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.SteepAndCheapUser} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.jarviscrawlercore.SteepAndCheapUser.toObject = function(includeInstance, msg) { var f, obj = { name: jspb.Message.getFieldWithDefault(msg, 1, ""), photo: jspb.Message.getFieldWithDefault(msg, 2, ""), height: jspb.Message.getFieldWithDefault(msg, 3, ""), weight: 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.SteepAndCheapUser} */ proto.jarviscrawlercore.SteepAndCheapUser.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.jarviscrawlercore.SteepAndCheapUser; return proto.jarviscrawlercore.SteepAndCheapUser.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.jarviscrawlercore.SteepAndCheapUser} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.jarviscrawlercore.SteepAndCheapUser} */ proto.jarviscrawlercore.SteepAndCheapUser.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 {string} */ (reader.readString()); msg.setPhoto(value); break; case 3: var value = /** @type {string} */ (reader.readString()); msg.setHeight(value); break; case 4: var value = /** @type {string} */ (reader.readString()); msg.setWeight(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.jarviscrawlercore.SteepAndCheapUser.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.jarviscrawlercore.SteepAndCheapUser.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.SteepAndCheapUser} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.jarviscrawlercore.SteepAndCheapUser.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getName(); if (f.length > 0) { writer.writeString( 1, f ); } f = message.getPhoto(); if (f.length > 0) { writer.writeString( 2, f ); } f = message.getHeight(); if (f.length > 0) { writer.writeString( 3, f ); } f = message.getWeight(); if (f.length > 0) { writer.writeString( 4, f ); } }; /** * optional string name = 1; * @return {string} */ proto.jarviscrawlercore.SteepAndCheapUser.prototype.getName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value * @return {!proto.jarviscrawlercore.SteepAndCheapUser} returns this */ proto.jarviscrawlercore.SteepAndCheapUser.prototype.setName = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; /** * optional string photo = 2; * @return {string} */ proto.jarviscrawlercore.SteepAndCheapUser.prototype.getPhoto = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value * @return {!proto.jarviscrawlercore.SteepAndCheapUser} returns this */ proto.jarviscrawlercore.SteepAndCheapUser.prototype.setPhoto = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; /** * optional string height = 3; * @return {string} */ proto.jarviscrawlercore.SteepAndCheapUser.prototype.getHeight = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); }; /** * @param {string} value * @return {!proto.jarviscrawlercore.SteepAndCheapUser} returns this */ proto.jarviscrawlercore.SteepAndCheapUser.prototype.setHeight = function(value) { return jspb.Message.setProto3StringField(this, 3, value); }; /** * optional string weight = 4; * @return {string} */ proto.jarviscrawlercore.SteepAndCheapUser.prototype.getWeight = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); }; /** * @param {string} value * @return {!proto.jarviscrawlercore.SteepAndCheapUser} returns this */ proto.jarviscrawlercore.SteepAndCheapUser.prototype.setWeight = function(value) { return jspb.Message.setProto3StringField(this, 4, value); }; /** * List of repeated fields within this message type. * @private {!Array<number>} * @const */ proto.jarviscrawlercore.SteepAndCheapReview.repeatedFields_ = [7]; 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.SteepAndCheapReview.prototype.toObject = function(opt_includeInstance) { return proto.jarviscrawlercore.SteepAndCheapReview.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.SteepAndCheapReview} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.jarviscrawlercore.SteepAndCheapReview.toObject = function(includeInstance, msg) { var f, obj = { title: jspb.Message.getFieldWithDefault(msg, 1, ""), createtime: jspb.Message.getFieldWithDefault(msg, 2, 0), rating: jspb.Message.getFieldWithDefault(msg, 3, 0), familiarity: jspb.Message.getFieldWithDefault(msg, 4, ""), fit: jspb.Message.getFieldWithDefault(msg, 5, ""), sizebought: jspb.Message.getFieldWithDefault(msg, 6, ""), imgsList: (f = jspb.Message.getRepeatedField(msg, 7)) == null ? undefined : f, description: jspb.Message.getFieldWithDefault(msg, 8, ""), user: (f = msg.getUser()) && proto.jarviscrawlercore.SteepAndCheapUser.toObject(includeInstance, 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.SteepAndCheapReview} */ proto.jarviscrawlercore.SteepAndCheapReview.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.jarviscrawlercore.SteepAndCheapReview; return proto.jarviscrawlercore.SteepAndCheapReview.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.jarviscrawlercore.SteepAndCheapReview} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.jarviscrawlercore.SteepAndCheapReview} */ proto.jarviscrawlercore.SteepAndCheapReview.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.setTitle(value); break; case 2: var value = /** @type {number} */ (reader.readInt64()); msg.setCreatetime(value); break; case 3: var value = /** @type {number} */ (reader.readInt32()); msg.setRating(value); break; case 4: var value = /** @type {string} */ (reader.readString()); msg.setFamiliarity(value); break; case 5: var value = /** @type {string} */ (reader.readString()); msg.setFit(value); break; case 6: var value = /** @type {string} */ (reader.readString()); msg.setSizebought(value); break; case 7: var value = /** @type {string} */ (reader.readString()); msg.addImgs(value); break; case 8: var value = /** @type {string} */ (reader.readString()); msg.setDescription(value); break; case 9: var value = new proto.jarviscrawlercore.SteepAndCheapUser; reader.readMessage(value,proto.jarviscrawlercore.SteepAndCheapUser.deserializeBinaryFromReader); msg.setUser(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.jarviscrawlercore.SteepAndCheapReview.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.jarviscrawlercore.SteepAndCheapReview.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.SteepAndCheapReview} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.jarviscrawlercore.SteepAndCheapReview.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getTitle(); if (f.length > 0) { writer.writeString( 1, f ); } f = message.getCreatetime(); if (f !== 0) { writer.writeInt64( 2, f ); } f = message.getRating(); if (f !== 0) { writer.writeInt32( 3, f ); } f = message.getFamiliarity(); if (f.length > 0) { writer.writeString( 4, f ); } f = message.getFit(); if (f.length > 0) { writer.writeString( 5, f ); } f = message.getSizebought(); if (f.length > 0) { writer.writeString( 6, f ); } f = message.getImgsList(); if (f.length > 0) { writer.writeRepeatedString( 7, f ); } f = message.getDescription(); if (f.length > 0) { writer.writeString( 8, f ); } f = message.getUser(); if (f != null) { writer.writeMessage( 9, f, proto.jarviscrawlercore.SteepAndCheapUser.serializeBinaryToWriter ); } }; /** * optional string title = 1; * @return {string} */ proto.jarviscrawlercore.SteepAndCheapReview.prototype.getTitle = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value * @return {!proto.jarviscrawlercore.SteepAndCheapReview} returns this */ proto.jarviscrawlercore.SteepAndCheapReview.prototype.setTitle = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; /** * optional int64 createTime = 2; * @return {number} */ proto.jarviscrawlercore.SteepAndCheapReview.prototype.getCreatetime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.jarviscrawlercore.SteepAndCheapReview} returns this */ proto.jarviscrawlercore.SteepAndCheapReview.prototype.setCreatetime = function(value) { return jspb.Message.setProto3IntField(this, 2, value); }; /** * optional int32 rating = 3; * @return {number} */ proto.jarviscrawlercore.SteepAndCheapReview.prototype.getRating = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value * @return {!proto.jarviscrawlercore.SteepAndCheapReview} returns this */ proto.jarviscrawlercore.SteepAndCheapReview.prototype.setRating = function(value) { return jspb.Message.setProto3IntField(this, 3, value); }; /** *