jarviscrawlercore
Version:
jarvis crawler core
1,696 lines (1,472 loc) • 70 kB
JavaScript
// source: jrj.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.JRJFund', null, global);
goog.exportSymbol('proto.jarviscrawlercore.JRJFundDayValue', null, global);
goog.exportSymbol('proto.jarviscrawlercore.JRJFundManager', null, global);
goog.exportSymbol('proto.jarviscrawlercore.JRJFundSize', null, global);
goog.exportSymbol('proto.jarviscrawlercore.JRJFundValue', null, global);
goog.exportSymbol('proto.jarviscrawlercore.JRJFunds', null, global);
goog.exportSymbol('proto.jarviscrawlercore.JRJMode', null, global);
goog.exportSymbol('proto.jarviscrawlercore.ReplyJRJ', null, global);
goog.exportSymbol('proto.jarviscrawlercore.ReplyJRJ.ReplyCase', null, global);
goog.exportSymbol('proto.jarviscrawlercore.RequestJRJ', 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.JRJFundSize = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.jarviscrawlercore.JRJFundSize, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.jarviscrawlercore.JRJFundSize.displayName = 'proto.jarviscrawlercore.JRJFundSize';
}
/**
* 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.JRJFundManager = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.jarviscrawlercore.JRJFundManager, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.jarviscrawlercore.JRJFundManager.displayName = 'proto.jarviscrawlercore.JRJFundManager';
}
/**
* 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.JRJFundDayValue = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.jarviscrawlercore.JRJFundDayValue, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.jarviscrawlercore.JRJFundDayValue.displayName = 'proto.jarviscrawlercore.JRJFundDayValue';
}
/**
* 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.JRJFundValue = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.jarviscrawlercore.JRJFundValue.repeatedFields_, null);
};
goog.inherits(proto.jarviscrawlercore.JRJFundValue, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.jarviscrawlercore.JRJFundValue.displayName = 'proto.jarviscrawlercore.JRJFundValue';
}
/**
* 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.JRJFund = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.jarviscrawlercore.JRJFund.repeatedFields_, null);
};
goog.inherits(proto.jarviscrawlercore.JRJFund, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.jarviscrawlercore.JRJFund.displayName = 'proto.jarviscrawlercore.JRJFund';
}
/**
* 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.JRJFunds = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.jarviscrawlercore.JRJFunds.repeatedFields_, null);
};
goog.inherits(proto.jarviscrawlercore.JRJFunds, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.jarviscrawlercore.JRJFunds.displayName = 'proto.jarviscrawlercore.JRJFunds';
}
/**
* 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.RequestJRJ = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.jarviscrawlercore.RequestJRJ, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.jarviscrawlercore.RequestJRJ.displayName = 'proto.jarviscrawlercore.RequestJRJ';
}
/**
* 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.ReplyJRJ = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.jarviscrawlercore.ReplyJRJ.oneofGroups_);
};
goog.inherits(proto.jarviscrawlercore.ReplyJRJ, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.jarviscrawlercore.ReplyJRJ.displayName = 'proto.jarviscrawlercore.ReplyJRJ';
}
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.JRJFundSize.prototype.toObject = function(opt_includeInstance) {
return proto.jarviscrawlercore.JRJFundSize.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.JRJFundSize} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.jarviscrawlercore.JRJFundSize.toObject = function(includeInstance, msg) {
var f, obj = {
size: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0),
time: jspb.Message.getFieldWithDefault(msg, 2, 0)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.jarviscrawlercore.JRJFundSize}
*/
proto.jarviscrawlercore.JRJFundSize.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.jarviscrawlercore.JRJFundSize;
return proto.jarviscrawlercore.JRJFundSize.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.jarviscrawlercore.JRJFundSize} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.jarviscrawlercore.JRJFundSize}
*/
proto.jarviscrawlercore.JRJFundSize.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = /** @type {number} */ (reader.readFloat());
msg.setSize(value);
break;
case 2:
var value = /** @type {number} */ (reader.readInt64());
msg.setTime(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.jarviscrawlercore.JRJFundSize.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.jarviscrawlercore.JRJFundSize.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.JRJFundSize} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.jarviscrawlercore.JRJFundSize.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getSize();
if (f !== 0.0) {
writer.writeFloat(
1,
f
);
}
f = message.getTime();
if (f !== 0) {
writer.writeInt64(
2,
f
);
}
};
/**
* optional float size = 1;
* @return {number}
*/
proto.jarviscrawlercore.JRJFundSize.prototype.getSize = function() {
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 1, 0.0));
};
/**
* @param {number} value
* @return {!proto.jarviscrawlercore.JRJFundSize} returns this
*/
proto.jarviscrawlercore.JRJFundSize.prototype.setSize = function(value) {
return jspb.Message.setProto3FloatField(this, 1, value);
};
/**
* optional int64 time = 2;
* @return {number}
*/
proto.jarviscrawlercore.JRJFundSize.prototype.getTime = function() {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
};
/**
* @param {number} value
* @return {!proto.jarviscrawlercore.JRJFundSize} returns this
*/
proto.jarviscrawlercore.JRJFundSize.prototype.setTime = function(value) {
return jspb.Message.setProto3IntField(this, 2, value);
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.jarviscrawlercore.JRJFundManager.prototype.toObject = function(opt_includeInstance) {
return proto.jarviscrawlercore.JRJFundManager.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.JRJFundManager} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.jarviscrawlercore.JRJFundManager.toObject = function(includeInstance, msg) {
var f, obj = {
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
starttime: jspb.Message.getFieldWithDefault(msg, 2, 0),
endtime: jspb.Message.getFieldWithDefault(msg, 3, 0),
birthyear: jspb.Message.getFieldWithDefault(msg, 4, 0),
sex: jspb.Message.getBooleanFieldWithDefault(msg, 5, false),
education: jspb.Message.getFieldWithDefault(msg, 6, ""),
country: jspb.Message.getFieldWithDefault(msg, 7, ""),
resume: jspb.Message.getFieldWithDefault(msg, 8, "")
};
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.JRJFundManager}
*/
proto.jarviscrawlercore.JRJFundManager.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.jarviscrawlercore.JRJFundManager;
return proto.jarviscrawlercore.JRJFundManager.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.jarviscrawlercore.JRJFundManager} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.jarviscrawlercore.JRJFundManager}
*/
proto.jarviscrawlercore.JRJFundManager.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 {number} */ (reader.readInt64());
msg.setStarttime(value);
break;
case 3:
var value = /** @type {number} */ (reader.readInt64());
msg.setEndtime(value);
break;
case 4:
var value = /** @type {number} */ (reader.readInt64());
msg.setBirthyear(value);
break;
case 5:
var value = /** @type {boolean} */ (reader.readBool());
msg.setSex(value);
break;
case 6:
var value = /** @type {string} */ (reader.readString());
msg.setEducation(value);
break;
case 7:
var value = /** @type {string} */ (reader.readString());
msg.setCountry(value);
break;
case 8:
var value = /** @type {string} */ (reader.readString());
msg.setResume(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.jarviscrawlercore.JRJFundManager.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.jarviscrawlercore.JRJFundManager.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.JRJFundManager} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.jarviscrawlercore.JRJFundManager.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getName();
if (f.length > 0) {
writer.writeString(
1,
f
);
}
f = message.getStarttime();
if (f !== 0) {
writer.writeInt64(
2,
f
);
}
f = message.getEndtime();
if (f !== 0) {
writer.writeInt64(
3,
f
);
}
f = message.getBirthyear();
if (f !== 0) {
writer.writeInt64(
4,
f
);
}
f = message.getSex();
if (f) {
writer.writeBool(
5,
f
);
}
f = message.getEducation();
if (f.length > 0) {
writer.writeString(
6,
f
);
}
f = message.getCountry();
if (f.length > 0) {
writer.writeString(
7,
f
);
}
f = message.getResume();
if (f.length > 0) {
writer.writeString(
8,
f
);
}
};
/**
* optional string name = 1;
* @return {string}
*/
proto.jarviscrawlercore.JRJFundManager.prototype.getName = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};
/**
* @param {string} value
* @return {!proto.jarviscrawlercore.JRJFundManager} returns this
*/
proto.jarviscrawlercore.JRJFundManager.prototype.setName = function(value) {
return jspb.Message.setProto3StringField(this, 1, value);
};
/**
* optional int64 startTime = 2;
* @return {number}
*/
proto.jarviscrawlercore.JRJFundManager.prototype.getStarttime = function() {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
};
/**
* @param {number} value
* @return {!proto.jarviscrawlercore.JRJFundManager} returns this
*/
proto.jarviscrawlercore.JRJFundManager.prototype.setStarttime = function(value) {
return jspb.Message.setProto3IntField(this, 2, value);
};
/**
* optional int64 endTime = 3;
* @return {number}
*/
proto.jarviscrawlercore.JRJFundManager.prototype.getEndtime = function() {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
};
/**
* @param {number} value
* @return {!proto.jarviscrawlercore.JRJFundManager} returns this
*/
proto.jarviscrawlercore.JRJFundManager.prototype.setEndtime = function(value) {
return jspb.Message.setProto3IntField(this, 3, value);
};
/**
* optional int64 birthYear = 4;
* @return {number}
*/
proto.jarviscrawlercore.JRJFundManager.prototype.getBirthyear = function() {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
};
/**
* @param {number} value
* @return {!proto.jarviscrawlercore.JRJFundManager} returns this
*/
proto.jarviscrawlercore.JRJFundManager.prototype.setBirthyear = function(value) {
return jspb.Message.setProto3IntField(this, 4, value);
};
/**
* optional bool sex = 5;
* @return {boolean}
*/
proto.jarviscrawlercore.JRJFundManager.prototype.getSex = function() {
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false));
};
/**
* @param {boolean} value
* @return {!proto.jarviscrawlercore.JRJFundManager} returns this
*/
proto.jarviscrawlercore.JRJFundManager.prototype.setSex = function(value) {
return jspb.Message.setProto3BooleanField(this, 5, value);
};
/**
* optional string education = 6;
* @return {string}
*/
proto.jarviscrawlercore.JRJFundManager.prototype.getEducation = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
};
/**
* @param {string} value
* @return {!proto.jarviscrawlercore.JRJFundManager} returns this
*/
proto.jarviscrawlercore.JRJFundManager.prototype.setEducation = function(value) {
return jspb.Message.setProto3StringField(this, 6, value);
};
/**
* optional string country = 7;
* @return {string}
*/
proto.jarviscrawlercore.JRJFundManager.prototype.getCountry = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
};
/**
* @param {string} value
* @return {!proto.jarviscrawlercore.JRJFundManager} returns this
*/
proto.jarviscrawlercore.JRJFundManager.prototype.setCountry = function(value) {
return jspb.Message.setProto3StringField(this, 7, value);
};
/**
* optional string resume = 8;
* @return {string}
*/
proto.jarviscrawlercore.JRJFundManager.prototype.getResume = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
};
/**
* @param {string} value
* @return {!proto.jarviscrawlercore.JRJFundManager} returns this
*/
proto.jarviscrawlercore.JRJFundManager.prototype.setResume = function(value) {
return jspb.Message.setProto3StringField(this, 8, 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.JRJFundDayValue.prototype.toObject = function(opt_includeInstance) {
return proto.jarviscrawlercore.JRJFundDayValue.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.JRJFundDayValue} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.jarviscrawlercore.JRJFundDayValue.toObject = function(includeInstance, msg) {
var f, obj = {
date: jspb.Message.getFieldWithDefault(msg, 1, ""),
value: jspb.Message.getFieldWithDefault(msg, 2, 0),
totalvalue: 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.JRJFundDayValue}
*/
proto.jarviscrawlercore.JRJFundDayValue.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.jarviscrawlercore.JRJFundDayValue;
return proto.jarviscrawlercore.JRJFundDayValue.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.jarviscrawlercore.JRJFundDayValue} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.jarviscrawlercore.JRJFundDayValue}
*/
proto.jarviscrawlercore.JRJFundDayValue.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.setDate(value);
break;
case 2:
var value = /** @type {number} */ (reader.readInt32());
msg.setValue(value);
break;
case 3:
var value = /** @type {number} */ (reader.readInt32());
msg.setTotalvalue(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.jarviscrawlercore.JRJFundDayValue.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.jarviscrawlercore.JRJFundDayValue.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.JRJFundDayValue} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.jarviscrawlercore.JRJFundDayValue.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getDate();
if (f.length > 0) {
writer.writeString(
1,
f
);
}
f = message.getValue();
if (f !== 0) {
writer.writeInt32(
2,
f
);
}
f = message.getTotalvalue();
if (f !== 0) {
writer.writeInt32(
3,
f
);
}
};
/**
* optional string date = 1;
* @return {string}
*/
proto.jarviscrawlercore.JRJFundDayValue.prototype.getDate = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};
/**
* @param {string} value
* @return {!proto.jarviscrawlercore.JRJFundDayValue} returns this
*/
proto.jarviscrawlercore.JRJFundDayValue.prototype.setDate = function(value) {
return jspb.Message.setProto3StringField(this, 1, value);
};
/**
* optional int32 value = 2;
* @return {number}
*/
proto.jarviscrawlercore.JRJFundDayValue.prototype.getValue = function() {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
};
/**
* @param {number} value
* @return {!proto.jarviscrawlercore.JRJFundDayValue} returns this
*/
proto.jarviscrawlercore.JRJFundDayValue.prototype.setValue = function(value) {
return jspb.Message.setProto3IntField(this, 2, value);
};
/**
* optional int32 totalValue = 3;
* @return {number}
*/
proto.jarviscrawlercore.JRJFundDayValue.prototype.getTotalvalue = function() {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
};
/**
* @param {number} value
* @return {!proto.jarviscrawlercore.JRJFundDayValue} returns this
*/
proto.jarviscrawlercore.JRJFundDayValue.prototype.setTotalvalue = function(value) {
return jspb.Message.setProto3IntField(this, 3, value);
};
/**
* List of repeated fields within this message type.
* @private {!Array<number>}
* @const
*/
proto.jarviscrawlercore.JRJFundValue.repeatedFields_ = [2,3,4,5,6,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.JRJFundValue.prototype.toObject = function(opt_includeInstance) {
return proto.jarviscrawlercore.JRJFundValue.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.JRJFundValue} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.jarviscrawlercore.JRJFundValue.toObject = function(includeInstance, msg) {
var f, obj = {
code: jspb.Message.getFieldWithDefault(msg, 1, ""),
valueList: (f = jspb.Message.getRepeatedFloatingPointField(msg, 2)) == null ? undefined : f,
totalvalueList: (f = jspb.Message.getRepeatedFloatingPointField(msg, 3)) == null ? undefined : f,
ivalueList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f,
itotalvalueList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f,
dateList: (f = jspb.Message.getRepeatedField(msg, 6)) == null ? undefined : f,
valuesList: jspb.Message.toObjectList(msg.getValuesList(),
proto.jarviscrawlercore.JRJFundDayValue.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.JRJFundValue}
*/
proto.jarviscrawlercore.JRJFundValue.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.jarviscrawlercore.JRJFundValue;
return proto.jarviscrawlercore.JRJFundValue.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.jarviscrawlercore.JRJFundValue} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.jarviscrawlercore.JRJFundValue}
*/
proto.jarviscrawlercore.JRJFundValue.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.setCode(value);
break;
case 2:
var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedFloat() : [reader.readFloat()]);
for (var i = 0; i < values.length; i++) {
msg.addValue(values[i]);
}
break;
case 3:
var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedFloat() : [reader.readFloat()]);
for (var i = 0; i < values.length; i++) {
msg.addTotalvalue(values[i]);
}
break;
case 4:
var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]);
for (var i = 0; i < values.length; i++) {
msg.addIvalue(values[i]);
}
break;
case 5:
var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]);
for (var i = 0; i < values.length; i++) {
msg.addItotalvalue(values[i]);
}
break;
case 6:
var value = /** @type {string} */ (reader.readString());
msg.addDate(value);
break;
case 7:
var value = new proto.jarviscrawlercore.JRJFundDayValue;
reader.readMessage(value,proto.jarviscrawlercore.JRJFundDayValue.deserializeBinaryFromReader);
msg.addValues(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.jarviscrawlercore.JRJFundValue.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.jarviscrawlercore.JRJFundValue.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.JRJFundValue} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.jarviscrawlercore.JRJFundValue.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getCode();
if (f.length > 0) {
writer.writeString(
1,
f
);
}
f = message.getValueList();
if (f.length > 0) {
writer.writePackedFloat(
2,
f
);
}
f = message.getTotalvalueList();
if (f.length > 0) {
writer.writePackedFloat(
3,
f
);
}
f = message.getIvalueList();
if (f.length > 0) {
writer.writePackedInt32(
4,
f
);
}
f = message.getItotalvalueList();
if (f.length > 0) {
writer.writePackedInt32(
5,
f
);
}
f = message.getDateList();
if (f.length > 0) {
writer.writeRepeatedString(
6,
f
);
}
f = message.getValuesList();
if (f.length > 0) {
writer.writeRepeatedMessage(
7,
f,
proto.jarviscrawlercore.JRJFundDayValue.serializeBinaryToWriter
);
}
};
/**
* optional string code = 1;
* @return {string}
*/
proto.jarviscrawlercore.JRJFundValue.prototype.getCode = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};
/**
* @param {string} value
* @return {!proto.jarviscrawlercore.JRJFundValue} returns this
*/
proto.jarviscrawlercore.JRJFundValue.prototype.setCode = function(value) {
return jspb.Message.setProto3StringField(this, 1, value);
};
/**
* repeated float value = 2;
* @return {!Array<number>}
*/
proto.jarviscrawlercore.JRJFundValue.prototype.getValueList = function() {
return /** @type {!Array<number>} */ (jspb.Message.getRepeatedFloatingPointField(this, 2));
};
/**
* @param {!Array<number>} value
* @return {!proto.jarviscrawlercore.JRJFundValue} returns this
*/
proto.jarviscrawlercore.JRJFundValue.prototype.setValueList = function(value) {
return jspb.Message.setField(this, 2, value || []);
};
/**
* @param {number} value
* @param {number=} opt_index
* @return {!proto.jarviscrawlercore.JRJFundValue} returns this
*/
proto.jarviscrawlercore.JRJFundValue.prototype.addValue = 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.JRJFundValue} returns this
*/
proto.jarviscrawlercore.JRJFundValue.prototype.clearValueList = function() {
return this.setValueList([]);
};
/**
* repeated float totalValue = 3;
* @return {!Array<number>}
*/
proto.jarviscrawlercore.JRJFundValue.prototype.getTotalvalueList = function() {
return /** @type {!Array<number>} */ (jspb.Message.getRepeatedFloatingPointField(this, 3));
};
/**
* @param {!Array<number>} value
* @return {!proto.jarviscrawlercore.JRJFundValue} returns this
*/
proto.jarviscrawlercore.JRJFundValue.prototype.setTotalvalueList = function(value) {
return jspb.Message.setField(this, 3, value || []);
};
/**
* @param {number} value
* @param {number=} opt_index
* @return {!proto.jarviscrawlercore.JRJFundValue} returns this
*/
proto.jarviscrawlercore.JRJFundValue.prototype.addTotalvalue = 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.JRJFundValue} returns this
*/
proto.jarviscrawlercore.JRJFundValue.prototype.clearTotalvalueList = function() {
return this.setTotalvalueList([]);
};
/**
* repeated int32 iValue = 4;
* @return {!Array<number>}
*/
proto.jarviscrawlercore.JRJFundValue.prototype.getIvalueList = function() {
return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 4));
};
/**
* @param {!Array<number>} value
* @return {!proto.jarviscrawlercore.JRJFundValue} returns this
*/
proto.jarviscrawlercore.JRJFundValue.prototype.setIvalueList = function(value) {
return jspb.Message.setField(this, 4, value || []);
};
/**
* @param {number} value
* @param {number=} opt_index
* @return {!proto.jarviscrawlercore.JRJFundValue} returns this
*/
proto.jarviscrawlercore.JRJFundValue.prototype.addIvalue = 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.JRJFundValue} returns this
*/
proto.jarviscrawlercore.JRJFundValue.prototype.clearIvalueList = function() {
return this.setIvalueList([]);
};
/**
* repeated int32 iTotalValue = 5;
* @return {!Array<number>}
*/
proto.jarviscrawlercore.JRJFundValue.prototype.getItotalvalueList = function() {
return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 5));
};
/**
* @param {!Array<number>} value
* @return {!proto.jarviscrawlercore.JRJFundValue} returns this
*/
proto.jarviscrawlercore.JRJFundValue.prototype.setItotalvalueList = function(value) {
return jspb.Message.setField(this, 5, value || []);
};
/**
* @param {number} value
* @param {number=} opt_index
* @return {!proto.jarviscrawlercore.JRJFundValue} returns this
*/
proto.jarviscrawlercore.JRJFundValue.prototype.addItotalvalue = function(value, opt_index) {
return jspb.Message.addToRepeatedField(this, 5, value, opt_index);
};
/**
* Clears the list making it empty but non-null.
* @return {!proto.jarviscrawlercore.JRJFundValue} returns this
*/
proto.jarviscrawlercore.JRJFundValue.prototype.clearItotalvalueList = function() {
return this.setItotalvalueList([]);
};
/**
* repeated string date = 6;
* @return {!Array<string>}
*/
proto.jarviscrawlercore.JRJFundValue.prototype.getDateList = function() {
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 6));
};
/**
* @param {!Array<string>} value
* @return {!proto.jarviscrawlercore.JRJFundValue} returns this
*/
proto.jarviscrawlercore.JRJFundValue.prototype.setDateList = function(value) {
return jspb.Message.setField(this, 6, value || []);
};
/**
* @param {string} value
* @param {number=} opt_index
* @return {!proto.jarviscrawlercore.JRJFundValue} returns this
*/
proto.jarviscrawlercore.JRJFundValue.prototype.addDate = function(value, opt_index) {
return jspb.Message.addToRepeatedField(this, 6, value, opt_index);
};
/**
* Clears the list making it empty but non-null.
* @return {!proto.jarviscrawlercore.JRJFundValue} returns this
*/
proto.jarviscrawlercore.JRJFundValue.prototype.clearDateList = function() {
return this.setDateList([]);
};
/**
* repeated JRJFundDayValue values = 7;
* @return {!Array<!proto.jarviscrawlercore.JRJFundDayValue>}
*/
proto.jarviscrawlercore.JRJFundValue.prototype.getValuesList = function() {
return /** @type{!Array<!proto.jarviscrawlercore.JRJFundDayValue>} */ (
jspb.Message.getRepeatedWrapperField(this, proto.jarviscrawlercore.JRJFundDayValue, 7));
};
/**
* @param {!Array<!proto.jarviscrawlercore.JRJFundDayValue>} value
* @return {!proto.jarviscrawlercore.JRJFundValue} returns this
*/
proto.jarviscrawlercore.JRJFundValue.prototype.setValuesList = function(value) {
return jspb.Message.setRepeatedWrapperField(this, 7, value);
};
/**
* @param {!proto.jarviscrawlercore.JRJFundDayValue=} opt_value
* @param {number=} opt_index
* @return {!proto.jarviscrawlercore.JRJFundDayValue}
*/
proto.jarviscrawlercore.JRJFundValue.prototype.addValues = function(opt_value, opt_index) {
return jspb.Message.addToRepeatedWrapperField(this, 7, opt_value, proto.jarviscrawlercore.JRJFundDayValue, opt_index);
};
/**
* Clears the list making it empty but non-null.
* @return {!proto.jarviscrawlercore.JRJFundValue} returns this
*/
proto.jarviscrawlercore.JRJFundValue.prototype.clearValuesList = function() {
return this.setValuesList([]);
};
/**
* List of repeated fields within this message type.
* @private {!Array<number>}
* @const
*/
proto.jarviscrawlercore.JRJFund.repeatedFields_ = [3,5,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.JRJFund.prototype.toObject = function(opt_includeInstance) {
return proto.jarviscrawlercore.JRJFund.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.JRJFund} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.jarviscrawlercore.JRJFund.toObject = function(includeInstance, msg) {
var f, obj = {
code: jspb.Message.getFieldWithDefault(msg, 1, ""),
name: jspb.Message.getFieldWithDefault(msg, 2, ""),
tagsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
createtime: jspb.Message.getFieldWithDefault(msg, 4, 0),
sizeList: jspb.Message.toObjectList(msg.getSizeList(),
proto.jarviscrawlercore.JRJFundSize.toObject, includeInstance),
company: jspb.Message.getFieldWithDefault(msg, 6, ""),
managersList: jspb.Message.toObjectList(msg.getManagersList(),
proto.jarviscrawlercore.JRJFundManager.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.JRJFund}
*/
proto.jarviscrawlercore.JRJFund.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.jarviscrawlercore.JRJFund;
return proto.jarviscrawlercore.JRJFund.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.jarviscrawlercore.JRJFund} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.jarviscrawlercore.JRJFund}
*/
proto.jarviscrawlercore.JRJFund.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.setCode(value);
break;
case 2:
var value = /** @type {string} */ (reader.readString());
msg.setName(value);
break;
case 3:
var value = /** @type {string} */ (reader.readString());
msg.addTags(value);
break;
case 4:
var value = /** @type {number} */ (reader.readInt64());
msg.setCreatetime(value);
break;
case 5:
var value = new proto.jarviscrawlercore.JRJFundSize;
reader.readMessage(value,proto.jarviscrawlercore.JRJFundSize.deserializeBinaryFromReader);
msg.addSize(value);
break;
case 6:
var value = /** @type {string} */ (reader.readString());
msg.setCompany(value);
break;
case 7:
var value = new proto.jarviscrawlercore.JRJFundManager;
reader.readMessage(value,proto.jarviscrawlercore.JRJFundManager.deserializeBinaryFromReader);
msg.addManagers(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.jarviscrawlercore.JRJFund.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.jarviscrawlercore.JRJFund.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.JRJFund} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.jarviscrawlercore.JRJFund.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getCode();
if (f.length > 0) {
writer.writeString(
1,
f
);
}
f = message.getName();
if (f.length > 0) {
writer.writeString(
2,
f
);
}
f = message.getTagsList();
if (f.length > 0) {
writer.writeRepeatedString(
3,
f
);
}
f = message.getCreatetime();
if (f !== 0) {
writer.writeInt64(
4,
f
);
}
f = message.getSizeList();
if (f.length > 0) {
writer.writeRepeatedMessage(
5,
f,
proto.jarviscrawlercore.JRJFundSize.serializeBinaryToWriter
);
}
f = message.getCompany();
if (f.length > 0) {
writer.writeString(
6,
f
);
}
f = message.getManagersList();
if (f.length > 0) {
writer.writeRepeatedMessage(
7,
f,
proto.jarviscrawlercore.JRJFundManager.serializeBinaryToWriter
);
}
};
/**
* optional string code = 1;
* @return {string}
*/
proto.jarviscrawlercore.JRJFund.prototype.getCode = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};
/**
* @param {string} value
* @return {!proto.jarviscrawlercore.JRJFund} returns this
*/
proto.jarviscrawlercore.JRJFund.prototype.setCode = function(value) {
return jspb.Message.setProto3StringField(this, 1, value);
};
/**
* optional string name = 2;
* @return {string}
*/
proto.jarviscrawlercore.JRJFund.prototype.getName = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};
/**
* @param {string} value
* @return {!proto.jarviscrawlercore.JRJFund} returns this
*/
proto.jarviscrawlercore.JRJFund.prototype.setName = function(value) {
return jspb.Message.setProto3StringField(this, 2, value);
};
/**
* repeated string tags = 3;
* @return {!Array<string>}
*/
proto.jarviscrawlercore.JRJFund.prototype.getTagsList = function() {
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 3));
};
/**
* @param {!Array<string>} value
* @return {!proto.jarviscrawlercore.JRJFund} returns this
*/
proto.jarviscrawlercore.JRJFund.prototype.setTagsList = function(value) {
return jspb.Message.setField(this, 3, value || []);
};
/**
* @param {string} value
* @param {number=} opt_index
* @return {!proto.jarviscrawlercore.JRJFund} returns this
*/
proto.jarviscrawlercore.JRJFund.prototype.addTags = 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.JRJFund} returns this
*/
proto.jarviscrawlercore.JRJFund.prototype.clearTagsList = function() {
return this.setTagsList([]);
};
/**
* optional int64 createTime = 4;
* @return {number}
*/
proto.jarviscrawlercore.JRJFund.prototype.getCreatetime = function() {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
};
/**
* @param {number} value
* @return {!proto.jarviscrawlercore.JRJFund} returns this
*/
proto.jarviscrawlercore.JRJFund.prototype.setCreatetime = function(value) {
return jspb.Message.setProto3IntField(this, 4, value);
};
/**
* repeated JRJFundSize size = 5;
* @return {!Array<!proto.jarviscrawlercore.JRJFundSize>}
*/
proto.jarviscrawlercore.JRJFund.prototype.getSizeList = function() {
return /** @type{!Array<!proto.jarviscrawlercore.JRJFundSize>} */ (
jspb.Message.getRepeatedWrapperField(this, proto.jarviscrawlercore.JRJFundSize, 5));
};
/**
* @param {!Array<!proto.jarviscrawlercore.JRJFundSize>} value
* @return {!proto.jarviscrawlercore.JRJFund} returns this
*/
proto.jarviscrawlercore.JRJFund.prototype.setSizeList = function(value) {
return jspb.Message.setRepeatedWrapperField(this, 5, value);
};
/**
* @param {!proto.jarviscrawlercore.JRJFundSize=} opt_value
* @param {number=} opt_index
* @return {!proto.jarviscrawlercore.JRJFundSize}
*/
proto.jarviscrawlercore.JRJFund.prototype.addSize = function(opt_value, opt_index) {
return jspb.Message.addToRepeatedWrapperField(this, 5, opt_value, proto.jarviscrawlercore.JRJFundSize, opt_index);
};
/**
* Clears the list making it empty but non-null.
* @return {!proto.jarviscrawlercore.JRJFund} returns this
*/
proto.jarviscrawlercore.JRJFund.prototype.clearSizeList = function() {
return this.setSizeList([]);
};
/**
* optional string company = 6;
* @return {string}
*/
proto.jarviscrawlercore.JRJFund.prototype.getCompany = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
};
/**
* @param {string} value
* @return {!proto.jarviscrawlercore.JRJFund} returns this
*/
proto.jarviscrawlercore.JRJFund.prototype.setCompany = function(value) {
return jspb.Message.setProto3StringField(this, 6, value);
};
/**
* repeated JRJFundManager managers = 7;
* @return {!Array<!proto.jarviscrawlercore.JRJFundManager>}
*/
proto.jarviscrawlercore.JRJFund.prototype.getManagersList = function() {
return /** @type{!Array<!proto.jarviscrawlercore.JRJFundManager>} */ (
jspb.Message.getRepeatedWrapperField(this, proto.jarviscrawlercore.JRJFundManager, 7));
};
/**
* @param {!Array<!proto.jarviscrawlercore.JRJFundManager>} value
* @return {!proto.jarviscrawlercore.JRJFund} returns this
*/
proto.jarviscrawlercore.JRJFund.prototype.setManagersList = function(value) {
return jspb.Message.setRepeatedWrapperField(this, 7, value);
};
/**
* @param {!proto.jarviscrawlercore.JRJFundManager=} opt_value
* @param {number=} opt_index
* @return {!proto.jarviscrawlercore.JRJFundManager}
*/
proto.jarviscrawlerco