UNPKG

jarviscrawlercore

Version:
1,723 lines (1,495 loc) 77.5 kB
// source: techinasia.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.ReplyTechInAsia', null, global); goog.exportSymbol('proto.jarviscrawlercore.ReplyTechInAsia.ReplyCase', null, global); goog.exportSymbol('proto.jarviscrawlercore.RequestTechInAsia', null, global); goog.exportSymbol('proto.jarviscrawlercore.TechInAsiaCompany', null, global); goog.exportSymbol('proto.jarviscrawlercore.TechInAsiaJob', null, global); goog.exportSymbol('proto.jarviscrawlercore.TechInAsiaJobList', null, global); goog.exportSymbol('proto.jarviscrawlercore.TechInAsiaJobTag', null, global); goog.exportSymbol('proto.jarviscrawlercore.TechInAsiaJobTagList', null, global); goog.exportSymbol('proto.jarviscrawlercore.TechInAsiaMode', 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.TechInAsiaCompany = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.jarviscrawlercore.TechInAsiaCompany.repeatedFields_, null); }; goog.inherits(proto.jarviscrawlercore.TechInAsiaCompany, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.jarviscrawlercore.TechInAsiaCompany.displayName = 'proto.jarviscrawlercore.TechInAsiaCompany'; } /** * 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.TechInAsiaJob = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.jarviscrawlercore.TechInAsiaJob.repeatedFields_, null); }; goog.inherits(proto.jarviscrawlercore.TechInAsiaJob, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.jarviscrawlercore.TechInAsiaJob.displayName = 'proto.jarviscrawlercore.TechInAsiaJob'; } /** * 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.TechInAsiaJobTag = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.jarviscrawlercore.TechInAsiaJobTag.repeatedFields_, null); }; goog.inherits(proto.jarviscrawlercore.TechInAsiaJobTag, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.jarviscrawlercore.TechInAsiaJobTag.displayName = 'proto.jarviscrawlercore.TechInAsiaJobTag'; } /** * 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.TechInAsiaJobTagList = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.jarviscrawlercore.TechInAsiaJobTagList.repeatedFields_, null); }; goog.inherits(proto.jarviscrawlercore.TechInAsiaJobTagList, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.jarviscrawlercore.TechInAsiaJobTagList.displayName = 'proto.jarviscrawlercore.TechInAsiaJobTagList'; } /** * 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.TechInAsiaJobList = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.jarviscrawlercore.TechInAsiaJobList.repeatedFields_, null); }; goog.inherits(proto.jarviscrawlercore.TechInAsiaJobList, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.jarviscrawlercore.TechInAsiaJobList.displayName = 'proto.jarviscrawlercore.TechInAsiaJobList'; } /** * 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.RequestTechInAsia = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.jarviscrawlercore.RequestTechInAsia, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.jarviscrawlercore.RequestTechInAsia.displayName = 'proto.jarviscrawlercore.RequestTechInAsia'; } /** * 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.ReplyTechInAsia = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, proto.jarviscrawlercore.ReplyTechInAsia.oneofGroups_); }; goog.inherits(proto.jarviscrawlercore.ReplyTechInAsia, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.jarviscrawlercore.ReplyTechInAsia.displayName = 'proto.jarviscrawlercore.ReplyTechInAsia'; } /** * List of repeated fields within this message type. * @private {!Array<number>} * @const */ proto.jarviscrawlercore.TechInAsiaCompany.repeatedFields_ = [3,4,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.TechInAsiaCompany.prototype.toObject = function(opt_includeInstance) { return proto.jarviscrawlercore.TechInAsiaCompany.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.TechInAsiaCompany} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.jarviscrawlercore.TechInAsiaCompany.toObject = function(includeInstance, msg) { var f, obj = { name: jspb.Message.getFieldWithDefault(msg, 1, ""), avatar: jspb.Message.getFieldWithDefault(msg, 2, ""), locationList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f, categoriesList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f, employees: jspb.Message.getFieldWithDefault(msg, 5, 0), introduction: jspb.Message.getFieldWithDefault(msg, 6, ""), linksList: (f = jspb.Message.getRepeatedField(msg, 7)) == null ? undefined : f, companycode: jspb.Message.getFieldWithDefault(msg, 8, ""), lastupdatedtime: jspb.Message.getFieldWithDefault(msg, 9, 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.TechInAsiaCompany} */ proto.jarviscrawlercore.TechInAsiaCompany.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.jarviscrawlercore.TechInAsiaCompany; return proto.jarviscrawlercore.TechInAsiaCompany.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.jarviscrawlercore.TechInAsiaCompany} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.jarviscrawlercore.TechInAsiaCompany} */ proto.jarviscrawlercore.TechInAsiaCompany.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.setAvatar(value); break; case 3: var value = /** @type {string} */ (reader.readString()); msg.addLocation(value); break; case 4: var value = /** @type {string} */ (reader.readString()); msg.addCategories(value); break; case 5: var value = /** @type {number} */ (reader.readInt32()); msg.setEmployees(value); break; case 6: var value = /** @type {string} */ (reader.readString()); msg.setIntroduction(value); break; case 7: var value = /** @type {string} */ (reader.readString()); msg.addLinks(value); break; case 8: var value = /** @type {string} */ (reader.readString()); msg.setCompanycode(value); break; case 9: 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.TechInAsiaCompany.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.jarviscrawlercore.TechInAsiaCompany.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.TechInAsiaCompany} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.jarviscrawlercore.TechInAsiaCompany.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getName(); if (f.length > 0) { writer.writeString( 1, f ); } f = message.getAvatar(); if (f.length > 0) { writer.writeString( 2, f ); } f = message.getLocationList(); if (f.length > 0) { writer.writeRepeatedString( 3, f ); } f = message.getCategoriesList(); if (f.length > 0) { writer.writeRepeatedString( 4, f ); } f = message.getEmployees(); if (f !== 0) { writer.writeInt32( 5, f ); } f = message.getIntroduction(); if (f.length > 0) { writer.writeString( 6, f ); } f = message.getLinksList(); if (f.length > 0) { writer.writeRepeatedString( 7, f ); } f = message.getCompanycode(); if (f.length > 0) { writer.writeString( 8, f ); } f = message.getLastupdatedtime(); if (f !== 0) { writer.writeInt64( 9, f ); } }; /** * optional string name = 1; * @return {string} */ proto.jarviscrawlercore.TechInAsiaCompany.prototype.getName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value * @return {!proto.jarviscrawlercore.TechInAsiaCompany} returns this */ proto.jarviscrawlercore.TechInAsiaCompany.prototype.setName = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; /** * optional string avatar = 2; * @return {string} */ proto.jarviscrawlercore.TechInAsiaCompany.prototype.getAvatar = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value * @return {!proto.jarviscrawlercore.TechInAsiaCompany} returns this */ proto.jarviscrawlercore.TechInAsiaCompany.prototype.setAvatar = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; /** * repeated string location = 3; * @return {!Array<string>} */ proto.jarviscrawlercore.TechInAsiaCompany.prototype.getLocationList = function() { return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 3)); }; /** * @param {!Array<string>} value * @return {!proto.jarviscrawlercore.TechInAsiaCompany} returns this */ proto.jarviscrawlercore.TechInAsiaCompany.prototype.setLocationList = function(value) { return jspb.Message.setField(this, 3, value || []); }; /** * @param {string} value * @param {number=} opt_index * @return {!proto.jarviscrawlercore.TechInAsiaCompany} returns this */ proto.jarviscrawlercore.TechInAsiaCompany.prototype.addLocation = 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.TechInAsiaCompany} returns this */ proto.jarviscrawlercore.TechInAsiaCompany.prototype.clearLocationList = function() { return this.setLocationList([]); }; /** * repeated string categories = 4; * @return {!Array<string>} */ proto.jarviscrawlercore.TechInAsiaCompany.prototype.getCategoriesList = function() { return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 4)); }; /** * @param {!Array<string>} value * @return {!proto.jarviscrawlercore.TechInAsiaCompany} returns this */ proto.jarviscrawlercore.TechInAsiaCompany.prototype.setCategoriesList = function(value) { return jspb.Message.setField(this, 4, value || []); }; /** * @param {string} value * @param {number=} opt_index * @return {!proto.jarviscrawlercore.TechInAsiaCompany} returns this */ proto.jarviscrawlercore.TechInAsiaCompany.prototype.addCategories = function(value, opt_index) { return jspb.Message.addToRepeatedField(this, 4, value, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.jarviscrawlercore.TechInAsiaCompany} returns this */ proto.jarviscrawlercore.TechInAsiaCompany.prototype.clearCategoriesList = function() { return this.setCategoriesList([]); }; /** * optional int32 employees = 5; * @return {number} */ proto.jarviscrawlercore.TechInAsiaCompany.prototype.getEmployees = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0)); }; /** * @param {number} value * @return {!proto.jarviscrawlercore.TechInAsiaCompany} returns this */ proto.jarviscrawlercore.TechInAsiaCompany.prototype.setEmployees = function(value) { return jspb.Message.setProto3IntField(this, 5, value); }; /** * optional string introduction = 6; * @return {string} */ proto.jarviscrawlercore.TechInAsiaCompany.prototype.getIntroduction = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, "")); }; /** * @param {string} value * @return {!proto.jarviscrawlercore.TechInAsiaCompany} returns this */ proto.jarviscrawlercore.TechInAsiaCompany.prototype.setIntroduction = function(value) { return jspb.Message.setProto3StringField(this, 6, value); }; /** * repeated string links = 7; * @return {!Array<string>} */ proto.jarviscrawlercore.TechInAsiaCompany.prototype.getLinksList = function() { return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 7)); }; /** * @param {!Array<string>} value * @return {!proto.jarviscrawlercore.TechInAsiaCompany} returns this */ proto.jarviscrawlercore.TechInAsiaCompany.prototype.setLinksList = function(value) { return jspb.Message.setField(this, 7, value || []); }; /** * @param {string} value * @param {number=} opt_index * @return {!proto.jarviscrawlercore.TechInAsiaCompany} returns this */ proto.jarviscrawlercore.TechInAsiaCompany.prototype.addLinks = 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.TechInAsiaCompany} returns this */ proto.jarviscrawlercore.TechInAsiaCompany.prototype.clearLinksList = function() { return this.setLinksList([]); }; /** * optional string companyCode = 8; * @return {string} */ proto.jarviscrawlercore.TechInAsiaCompany.prototype.getCompanycode = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, "")); }; /** * @param {string} value * @return {!proto.jarviscrawlercore.TechInAsiaCompany} returns this */ proto.jarviscrawlercore.TechInAsiaCompany.prototype.setCompanycode = function(value) { return jspb.Message.setProto3StringField(this, 8, value); }; /** * optional int64 lastUpdatedTime = 9; * @return {number} */ proto.jarviscrawlercore.TechInAsiaCompany.prototype.getLastupdatedtime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 9, 0)); }; /** * @param {number} value * @return {!proto.jarviscrawlercore.TechInAsiaCompany} returns this */ proto.jarviscrawlercore.TechInAsiaCompany.prototype.setLastupdatedtime = function(value) { return jspb.Message.setProto3IntField(this, 9, value); }; /** * List of repeated fields within this message type. * @private {!Array<number>} * @const */ proto.jarviscrawlercore.TechInAsiaJob.repeatedFields_ = [3,14,18,20]; 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.TechInAsiaJob.prototype.toObject = function(opt_includeInstance) { return proto.jarviscrawlercore.TechInAsiaJob.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.TechInAsiaJob} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.jarviscrawlercore.TechInAsiaJob.toObject = function(includeInstance, msg) { var f, obj = { companyname: jspb.Message.getFieldWithDefault(msg, 1, ""), title: jspb.Message.getFieldWithDefault(msg, 2, ""), locationList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f, minsalary: jspb.Message.getFieldWithDefault(msg, 4, 0), maxsalary: jspb.Message.getFieldWithDefault(msg, 5, 0), currency: jspb.Message.getFieldWithDefault(msg, 6, ""), createtime: jspb.Message.getFieldWithDefault(msg, 7, 0), updatetime: jspb.Message.getFieldWithDefault(msg, 8, 0), jobfunction: jspb.Message.getFieldWithDefault(msg, 9, ""), jobtype: jspb.Message.getFieldWithDefault(msg, 10, ""), experience: jspb.Message.getFieldWithDefault(msg, 11, ""), vacancies: jspb.Message.getFieldWithDefault(msg, 12, 0), description: jspb.Message.getFieldWithDefault(msg, 13, ""), requiredskillsList: (f = jspb.Message.getRepeatedField(msg, 14)) == null ? undefined : f, culture: jspb.Message.getFieldWithDefault(msg, 15, ""), companycode: jspb.Message.getFieldWithDefault(msg, 16, ""), jobcode: jspb.Message.getFieldWithDefault(msg, 17, ""), subtypeList: (f = jspb.Message.getRepeatedField(msg, 18)) == null ? undefined : f, lastupdatedtime: jspb.Message.getFieldWithDefault(msg, 19, 0), tagsList: (f = jspb.Message.getRepeatedField(msg, 20)) == null ? undefined : f, err: jspb.Message.getFieldWithDefault(msg, 21, "") }; 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.TechInAsiaJob} */ proto.jarviscrawlercore.TechInAsiaJob.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.jarviscrawlercore.TechInAsiaJob; return proto.jarviscrawlercore.TechInAsiaJob.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.jarviscrawlercore.TechInAsiaJob} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.jarviscrawlercore.TechInAsiaJob} */ proto.jarviscrawlercore.TechInAsiaJob.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.setCompanyname(value); break; case 2: var value = /** @type {string} */ (reader.readString()); msg.setTitle(value); break; case 3: var value = /** @type {string} */ (reader.readString()); msg.addLocation(value); break; case 4: var value = /** @type {number} */ (reader.readInt32()); msg.setMinsalary(value); break; case 5: var value = /** @type {number} */ (reader.readInt32()); msg.setMaxsalary(value); break; case 6: var value = /** @type {string} */ (reader.readString()); msg.setCurrency(value); break; case 7: var value = /** @type {number} */ (reader.readInt64()); msg.setCreatetime(value); break; case 8: var value = /** @type {number} */ (reader.readInt64()); msg.setUpdatetime(value); break; case 9: var value = /** @type {string} */ (reader.readString()); msg.setJobfunction(value); break; case 10: var value = /** @type {string} */ (reader.readString()); msg.setJobtype(value); break; case 11: var value = /** @type {string} */ (reader.readString()); msg.setExperience(value); break; case 12: var value = /** @type {number} */ (reader.readInt32()); msg.setVacancies(value); break; case 13: var value = /** @type {string} */ (reader.readString()); msg.setDescription(value); break; case 14: var value = /** @type {string} */ (reader.readString()); msg.addRequiredskills(value); break; case 15: var value = /** @type {string} */ (reader.readString()); msg.setCulture(value); break; case 16: var value = /** @type {string} */ (reader.readString()); msg.setCompanycode(value); break; case 17: var value = /** @type {string} */ (reader.readString()); msg.setJobcode(value); break; case 18: var value = /** @type {string} */ (reader.readString()); msg.addSubtype(value); break; case 19: var value = /** @type {number} */ (reader.readInt64()); msg.setLastupdatedtime(value); break; case 20: var value = /** @type {string} */ (reader.readString()); msg.addTags(value); break; case 21: var value = /** @type {string} */ (reader.readString()); msg.setErr(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.jarviscrawlercore.TechInAsiaJob.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.jarviscrawlercore.TechInAsiaJob.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.TechInAsiaJob} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.jarviscrawlercore.TechInAsiaJob.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getCompanyname(); if (f.length > 0) { writer.writeString( 1, f ); } f = message.getTitle(); if (f.length > 0) { writer.writeString( 2, f ); } f = message.getLocationList(); if (f.length > 0) { writer.writeRepeatedString( 3, f ); } f = message.getMinsalary(); if (f !== 0) { writer.writeInt32( 4, f ); } f = message.getMaxsalary(); if (f !== 0) { writer.writeInt32( 5, f ); } f = message.getCurrency(); if (f.length > 0) { writer.writeString( 6, f ); } f = message.getCreatetime(); if (f !== 0) { writer.writeInt64( 7, f ); } f = message.getUpdatetime(); if (f !== 0) { writer.writeInt64( 8, f ); } f = message.getJobfunction(); if (f.length > 0) { writer.writeString( 9, f ); } f = message.getJobtype(); if (f.length > 0) { writer.writeString( 10, f ); } f = message.getExperience(); if (f.length > 0) { writer.writeString( 11, f ); } f = message.getVacancies(); if (f !== 0) { writer.writeInt32( 12, f ); } f = message.getDescription(); if (f.length > 0) { writer.writeString( 13, f ); } f = message.getRequiredskillsList(); if (f.length > 0) { writer.writeRepeatedString( 14, f ); } f = message.getCulture(); if (f.length > 0) { writer.writeString( 15, f ); } f = message.getCompanycode(); if (f.length > 0) { writer.writeString( 16, f ); } f = message.getJobcode(); if (f.length > 0) { writer.writeString( 17, f ); } f = message.getSubtypeList(); if (f.length > 0) { writer.writeRepeatedString( 18, f ); } f = message.getLastupdatedtime(); if (f !== 0) { writer.writeInt64( 19, f ); } f = message.getTagsList(); if (f.length > 0) { writer.writeRepeatedString( 20, f ); } f = message.getErr(); if (f.length > 0) { writer.writeString( 21, f ); } }; /** * optional string companyName = 1; * @return {string} */ proto.jarviscrawlercore.TechInAsiaJob.prototype.getCompanyname = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value * @return {!proto.jarviscrawlercore.TechInAsiaJob} returns this */ proto.jarviscrawlercore.TechInAsiaJob.prototype.setCompanyname = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; /** * optional string title = 2; * @return {string} */ proto.jarviscrawlercore.TechInAsiaJob.prototype.getTitle = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value * @return {!proto.jarviscrawlercore.TechInAsiaJob} returns this */ proto.jarviscrawlercore.TechInAsiaJob.prototype.setTitle = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; /** * repeated string location = 3; * @return {!Array<string>} */ proto.jarviscrawlercore.TechInAsiaJob.prototype.getLocationList = function() { return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 3)); }; /** * @param {!Array<string>} value * @return {!proto.jarviscrawlercore.TechInAsiaJob} returns this */ proto.jarviscrawlercore.TechInAsiaJob.prototype.setLocationList = function(value) { return jspb.Message.setField(this, 3, value || []); }; /** * @param {string} value * @param {number=} opt_index * @return {!proto.jarviscrawlercore.TechInAsiaJob} returns this */ proto.jarviscrawlercore.TechInAsiaJob.prototype.addLocation = 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.TechInAsiaJob} returns this */ proto.jarviscrawlercore.TechInAsiaJob.prototype.clearLocationList = function() { return this.setLocationList([]); }; /** * optional int32 minSalary = 4; * @return {number} */ proto.jarviscrawlercore.TechInAsiaJob.prototype.getMinsalary = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); }; /** * @param {number} value * @return {!proto.jarviscrawlercore.TechInAsiaJob} returns this */ proto.jarviscrawlercore.TechInAsiaJob.prototype.setMinsalary = function(value) { return jspb.Message.setProto3IntField(this, 4, value); }; /** * optional int32 maxSalary = 5; * @return {number} */ proto.jarviscrawlercore.TechInAsiaJob.prototype.getMaxsalary = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0)); }; /** * @param {number} value * @return {!proto.jarviscrawlercore.TechInAsiaJob} returns this */ proto.jarviscrawlercore.TechInAsiaJob.prototype.setMaxsalary = function(value) { return jspb.Message.setProto3IntField(this, 5, value); }; /** * optional string currency = 6; * @return {string} */ proto.jarviscrawlercore.TechInAsiaJob.prototype.getCurrency = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, "")); }; /** * @param {string} value * @return {!proto.jarviscrawlercore.TechInAsiaJob} returns this */ proto.jarviscrawlercore.TechInAsiaJob.prototype.setCurrency = function(value) { return jspb.Message.setProto3StringField(this, 6, value); }; /** * optional int64 createTime = 7; * @return {number} */ proto.jarviscrawlercore.TechInAsiaJob.prototype.getCreatetime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0)); }; /** * @param {number} value * @return {!proto.jarviscrawlercore.TechInAsiaJob} returns this */ proto.jarviscrawlercore.TechInAsiaJob.prototype.setCreatetime = function(value) { return jspb.Message.setProto3IntField(this, 7, value); }; /** * optional int64 updateTime = 8; * @return {number} */ proto.jarviscrawlercore.TechInAsiaJob.prototype.getUpdatetime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0)); }; /** * @param {number} value * @return {!proto.jarviscrawlercore.TechInAsiaJob} returns this */ proto.jarviscrawlercore.TechInAsiaJob.prototype.setUpdatetime = function(value) { return jspb.Message.setProto3IntField(this, 8, value); }; /** * optional string jobFunction = 9; * @return {string} */ proto.jarviscrawlercore.TechInAsiaJob.prototype.getJobfunction = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, "")); }; /** * @param {string} value * @return {!proto.jarviscrawlercore.TechInAsiaJob} returns this */ proto.jarviscrawlercore.TechInAsiaJob.prototype.setJobfunction = function(value) { return jspb.Message.setProto3StringField(this, 9, value); }; /** * optional string jobType = 10; * @return {string} */ proto.jarviscrawlercore.TechInAsiaJob.prototype.getJobtype = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, "")); }; /** * @param {string} value * @return {!proto.jarviscrawlercore.TechInAsiaJob} returns this */ proto.jarviscrawlercore.TechInAsiaJob.prototype.setJobtype = function(value) { return jspb.Message.setProto3StringField(this, 10, value); }; /** * optional string experience = 11; * @return {string} */ proto.jarviscrawlercore.TechInAsiaJob.prototype.getExperience = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, "")); }; /** * @param {string} value * @return {!proto.jarviscrawlercore.TechInAsiaJob} returns this */ proto.jarviscrawlercore.TechInAsiaJob.prototype.setExperience = function(value) { return jspb.Message.setProto3StringField(this, 11, value); }; /** * optional int32 vacancies = 12; * @return {number} */ proto.jarviscrawlercore.TechInAsiaJob.prototype.getVacancies = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 12, 0)); }; /** * @param {number} value * @return {!proto.jarviscrawlercore.TechInAsiaJob} returns this */ proto.jarviscrawlercore.TechInAsiaJob.prototype.setVacancies = function(value) { return jspb.Message.setProto3IntField(this, 12, value); }; /** * optional string description = 13; * @return {string} */ proto.jarviscrawlercore.TechInAsiaJob.prototype.getDescription = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, "")); }; /** * @param {string} value * @return {!proto.jarviscrawlercore.TechInAsiaJob} returns this */ proto.jarviscrawlercore.TechInAsiaJob.prototype.setDescription = function(value) { return jspb.Message.setProto3StringField(this, 13, value); }; /** * repeated string requiredSkills = 14; * @return {!Array<string>} */ proto.jarviscrawlercore.TechInAsiaJob.prototype.getRequiredskillsList = function() { return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 14)); }; /** * @param {!Array<string>} value * @return {!proto.jarviscrawlercore.TechInAsiaJob} returns this */ proto.jarviscrawlercore.TechInAsiaJob.prototype.setRequiredskillsList = function(value) { return jspb.Message.setField(this, 14, value || []); }; /** * @param {string} value * @param {number=} opt_index * @return {!proto.jarviscrawlercore.TechInAsiaJob} returns this */ proto.jarviscrawlercore.TechInAsiaJob.prototype.addRequiredskills = function(value, opt_index) { return jspb.Message.addToRepeatedField(this, 14, value, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.jarviscrawlercore.TechInAsiaJob} returns this */ proto.jarviscrawlercore.TechInAsiaJob.prototype.clearRequiredskillsList = function() { return this.setRequiredskillsList([]); }; /** * optional string culture = 15; * @return {string} */ proto.jarviscrawlercore.TechInAsiaJob.prototype.getCulture = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 15, "")); }; /** * @param {string} value * @return {!proto.jarviscrawlercore.TechInAsiaJob} returns this */ proto.jarviscrawlercore.TechInAsiaJob.prototype.setCulture = function(value) { return jspb.Message.setProto3StringField(this, 15, value); }; /** * optional string companyCode = 16; * @return {string} */ proto.jarviscrawlercore.TechInAsiaJob.prototype.getCompanycode = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 16, "")); }; /** * @param {string} value * @return {!proto.jarviscrawlercore.TechInAsiaJob} returns this */ proto.jarviscrawlercore.TechInAsiaJob.prototype.setCompanycode = function(value) { return jspb.Message.setProto3StringField(this, 16, value); }; /** * optional string jobCode = 17; * @return {string} */ proto.jarviscrawlercore.TechInAsiaJob.prototype.getJobcode = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 17, "")); }; /** * @param {string} value * @return {!proto.jarviscrawlercore.TechInAsiaJob} returns this */ proto.jarviscrawlercore.TechInAsiaJob.prototype.setJobcode = function(value) { return jspb.Message.setProto3StringField(this, 17, value); }; /** * repeated string subType = 18; * @return {!Array<string>} */ proto.jarviscrawlercore.TechInAsiaJob.prototype.getSubtypeList = function() { return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 18)); }; /** * @param {!Array<string>} value * @return {!proto.jarviscrawlercore.TechInAsiaJob} returns this */ proto.jarviscrawlercore.TechInAsiaJob.prototype.setSubtypeList = function(value) { return jspb.Message.setField(this, 18, value || []); }; /** * @param {string} value * @param {number=} opt_index * @return {!proto.jarviscrawlercore.TechInAsiaJob} returns this */ proto.jarviscrawlercore.TechInAsiaJob.prototype.addSubtype = function(value, opt_index) { return jspb.Message.addToRepeatedField(this, 18, value, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.jarviscrawlercore.TechInAsiaJob} returns this */ proto.jarviscrawlercore.TechInAsiaJob.prototype.clearSubtypeList = function() { return this.setSubtypeList([]); }; /** * optional int64 lastUpdatedTime = 19; * @return {number} */ proto.jarviscrawlercore.TechInAsiaJob.prototype.getLastupdatedtime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 19, 0)); }; /** * @param {number} value * @return {!proto.jarviscrawlercore.TechInAsiaJob} returns this */ proto.jarviscrawlercore.TechInAsiaJob.prototype.setLastupdatedtime = function(value) { return jspb.Message.setProto3IntField(this, 19, value); }; /** * repeated string tags = 20; * @return {!Array<string>} */ proto.jarviscrawlercore.TechInAsiaJob.prototype.getTagsList = function() { return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 20)); }; /** * @param {!Array<string>} value * @return {!proto.jarviscrawlercore.TechInAsiaJob} returns this */ proto.jarviscrawlercore.TechInAsiaJob.prototype.setTagsList = function(value) { return jspb.Message.setField(this, 20, value || []); }; /** * @param {string} value * @param {number=} opt_index * @return {!proto.jarviscrawlercore.TechInAsiaJob} returns this */ proto.jarviscrawlercore.TechInAsiaJob.prototype.addTags = function(value, opt_index) { return jspb.Message.addToRepeatedField(this, 20, value, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.jarviscrawlercore.TechInAsiaJob} returns this */ proto.jarviscrawlercore.TechInAsiaJob.prototype.clearTagsList = function() { return this.setTagsList([]); }; /** * optional string err = 21; * @return {string} */ proto.jarviscrawlercore.TechInAsiaJob.prototype.getErr = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 21, "")); }; /** * @param {string} value * @return {!proto.jarviscrawlercore.TechInAsiaJob} returns this */ proto.jarviscrawlercore.TechInAsiaJob.prototype.setErr = function(value) { return jspb.Message.setProto3StringField(this, 21, value); }; /** * List of repeated fields within this message type. * @private {!Array<number>} * @const */ proto.jarviscrawlercore.TechInAsiaJobTag.repeatedFields_ = [2]; 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.TechInAsiaJobTag.prototype.toObject = function(opt_includeInstance) { return proto.jarviscrawlercore.TechInAsiaJobTag.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.TechInAsiaJobTag} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.jarviscrawlercore.TechInAsiaJobTag.toObject = function(includeInstance, msg) { var f, obj = { tag: jspb.Message.getFieldWithDefault(msg, 1, ""), subtagsList: (f = jspb.Message.getRepeatedField(msg, 2)) == 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.TechInAsiaJobTag} */ proto.jarviscrawlercore.TechInAsiaJobTag.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.jarviscrawlercore.TechInAsiaJobTag; return proto.jarviscrawlercore.TechInAsiaJobTag.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.jarviscrawlercore.TechInAsiaJobTag} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.jarviscrawlercore.TechInAsiaJobTag} */ proto.jarviscrawlercore.TechInAsiaJobTag.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.setTag(value); break; case 2: var value = /** @type {string} */ (reader.readString()); msg.addSubtags(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.jarviscrawlercore.TechInAsiaJobTag.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.jarviscrawlercore.TechInAsiaJobTag.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.TechInAsiaJobTag} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.jarviscrawlercore.TechInAsiaJobTag.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getTag(); if (f.length > 0) { writer.writeString( 1, f ); } f = message.getSubtagsList(); if (f.length > 0) { writer.writeRepeatedString( 2, f ); } }; /** * optional string tag = 1; * @return {string} */ proto.jarviscrawlercore.TechInAsiaJobTag.prototype.getTag = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value * @return {!proto.jarviscrawlercore.TechInAsiaJobTag} returns this */ proto.jarviscrawlercore.TechInAsiaJobTag.prototype.setTag = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; /** * repeated string subTags = 2; * @return {!Array<string>} */ proto.jarviscrawlercore.TechInAsiaJobTag.prototype.getSubtagsList = function() { return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 2)); }; /** * @param {!Array<string>} value * @return {!proto.jarviscrawlercore.TechInAsiaJobTag} returns this */ proto.jarviscrawlercore.TechInAsiaJobTag.prototype.setSubtagsList = function(value) { return jspb.Message.setField(this, 2, value || []); }; /** * @param {string} value * @param {number=} opt_index * @return {!proto.jarviscrawlercore.TechInAsiaJobTag} returns this */ proto.jarviscrawlercore.TechInAsiaJobTag.prototype.addSubtags = 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.TechInAsiaJobTag} returns this */ proto.jarviscrawlercore.TechInAsiaJobTag.prototype.clearSubtagsList = function() { return this.setSubtagsList([]); }; /** * List of repeated fields within this message type. * @private {!Array<number>} * @const */ proto.jarviscrawlercore.TechInAsiaJobTagList.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.TechInAsiaJobTagList.prototype.toObject = function(opt_includeInstance) { return proto.jarviscrawlercore.TechInAsiaJobTagList.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.TechInAsiaJobTagList} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.jarviscrawlercore.TechInAsiaJobTagList.toObject = function(includeInstance, msg) { var f, obj = { tagsList: jspb.Message.toObjectList(msg.getTagsList(), proto.jarviscrawlercore.TechInAsiaJobTag.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.TechInAsiaJobTagList} */ proto.jarviscrawlercore.TechInAsiaJobTagList.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.jarviscrawlercore.TechInAsiaJobTagList; return proto.jarviscrawlercore.TechInAsiaJobTagList.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.jarviscrawlercore.TechInAsiaJobTagList} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.jarviscrawlercore.TechInAsiaJobTagList} */ proto.jarviscrawlercore.TechInAsiaJobTagList.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new proto.jarviscrawlercore.TechInAsiaJobTag; reader.readMessage(value,proto.jarviscrawlercore.TechInAsiaJobTag.deserializeBinaryFromReader); msg.addTags(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.jarviscrawlercore.TechInAsiaJobTagList.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.jarviscrawlercore.TechInAsiaJobTagList.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.TechInAsiaJobTagList} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.jarviscrawlercore.TechInAsiaJobTagList.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getTagsList(); if (f.length > 0) { writer.writeRepeatedMessage( 1, f, proto.jarviscrawlercore.TechInAsiaJobTag.serializeBinaryToWriter );