echofi-client
Version:
A comprehensive TypeScript/JavaScript client library for EchoFi services with automatic gRPC-Web code generation, unified service access, and real-time WebSocket communication.
1,606 lines (1,388 loc) • 49 kB
JavaScript
// source: stats/service.proto
/**
* @fileoverview
* @enhanceable
* @suppress {missingRequire} reports error on implicit type usages.
* @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() {
if (this) { return this; }
if (typeof window !== 'undefined') { return window; }
if (typeof global !== 'undefined') { return global; }
if (typeof self !== 'undefined') { return self; }
return Function('return this')();
}.call(null));
var stats_user_statistics_pb = require('../stats/user_statistics_pb.js');
goog.object.extend(proto, stats_user_statistics_pb);
var stats_point_boost_pb = require('../stats/point_boost_pb.js');
goog.object.extend(proto, stats_point_boost_pb);
goog.exportSymbol('proto.stats.GetPointBoostRequest', null, global);
goog.exportSymbol('proto.stats.GetPointBoostResponse', null, global);
goog.exportSymbol('proto.stats.GetUserStatisticsRequest', null, global);
goog.exportSymbol('proto.stats.GetUserStatisticsResponse', null, global);
goog.exportSymbol('proto.stats.ListPointBoostsRequest', null, global);
goog.exportSymbol('proto.stats.ListPointBoostsResponse', null, global);
goog.exportSymbol('proto.stats.ListUserStatisticsRequest', null, global);
goog.exportSymbol('proto.stats.ListUserStatisticsResponse', 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.stats.GetUserStatisticsRequest = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.stats.GetUserStatisticsRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.stats.GetUserStatisticsRequest.displayName = 'proto.stats.GetUserStatisticsRequest';
}
/**
* 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.stats.GetUserStatisticsResponse = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.stats.GetUserStatisticsResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.stats.GetUserStatisticsResponse.displayName = 'proto.stats.GetUserStatisticsResponse';
}
/**
* 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.stats.ListUserStatisticsRequest = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.stats.ListUserStatisticsRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.stats.ListUserStatisticsRequest.displayName = 'proto.stats.ListUserStatisticsRequest';
}
/**
* 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.stats.ListUserStatisticsResponse = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.stats.ListUserStatisticsResponse.repeatedFields_, null);
};
goog.inherits(proto.stats.ListUserStatisticsResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.stats.ListUserStatisticsResponse.displayName = 'proto.stats.ListUserStatisticsResponse';
}
/**
* 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.stats.GetPointBoostRequest = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.stats.GetPointBoostRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.stats.GetPointBoostRequest.displayName = 'proto.stats.GetPointBoostRequest';
}
/**
* 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.stats.GetPointBoostResponse = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.stats.GetPointBoostResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.stats.GetPointBoostResponse.displayName = 'proto.stats.GetPointBoostResponse';
}
/**
* 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.stats.ListPointBoostsRequest = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.stats.ListPointBoostsRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.stats.ListPointBoostsRequest.displayName = 'proto.stats.ListPointBoostsRequest';
}
/**
* 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.stats.ListPointBoostsResponse = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.stats.ListPointBoostsResponse.repeatedFields_, null);
};
goog.inherits(proto.stats.ListPointBoostsResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.stats.ListPointBoostsResponse.displayName = 'proto.stats.ListPointBoostsResponse';
}
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.stats.GetUserStatisticsRequest.prototype.toObject = function(opt_includeInstance) {
return proto.stats.GetUserStatisticsRequest.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.stats.GetUserStatisticsRequest} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.stats.GetUserStatisticsRequest.toObject = function(includeInstance, msg) {
var f, obj = {
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.stats.GetUserStatisticsRequest}
*/
proto.stats.GetUserStatisticsRequest.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.stats.GetUserStatisticsRequest;
return proto.stats.GetUserStatisticsRequest.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.stats.GetUserStatisticsRequest} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.stats.GetUserStatisticsRequest}
*/
proto.stats.GetUserStatisticsRequest.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.stats.GetUserStatisticsRequest.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.stats.GetUserStatisticsRequest.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.stats.GetUserStatisticsRequest} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.stats.GetUserStatisticsRequest.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
};
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.stats.GetUserStatisticsResponse.prototype.toObject = function(opt_includeInstance) {
return proto.stats.GetUserStatisticsResponse.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.stats.GetUserStatisticsResponse} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.stats.GetUserStatisticsResponse.toObject = function(includeInstance, msg) {
var f, obj = {
statistics: (f = msg.getStatistics()) && stats_user_statistics_pb.UserStatistics.toObject(includeInstance, f)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.stats.GetUserStatisticsResponse}
*/
proto.stats.GetUserStatisticsResponse.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.stats.GetUserStatisticsResponse;
return proto.stats.GetUserStatisticsResponse.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.stats.GetUserStatisticsResponse} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.stats.GetUserStatisticsResponse}
*/
proto.stats.GetUserStatisticsResponse.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = new stats_user_statistics_pb.UserStatistics;
reader.readMessage(value,stats_user_statistics_pb.UserStatistics.deserializeBinaryFromReader);
msg.setStatistics(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.stats.GetUserStatisticsResponse.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.stats.GetUserStatisticsResponse.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.stats.GetUserStatisticsResponse} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.stats.GetUserStatisticsResponse.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getStatistics();
if (f != null) {
writer.writeMessage(
1,
f,
stats_user_statistics_pb.UserStatistics.serializeBinaryToWriter
);
}
};
/**
* optional UserStatistics statistics = 1;
* @return {?proto.stats.UserStatistics}
*/
proto.stats.GetUserStatisticsResponse.prototype.getStatistics = function() {
return /** @type{?proto.stats.UserStatistics} */ (
jspb.Message.getWrapperField(this, stats_user_statistics_pb.UserStatistics, 1));
};
/**
* @param {?proto.stats.UserStatistics|undefined} value
* @return {!proto.stats.GetUserStatisticsResponse} returns this
*/
proto.stats.GetUserStatisticsResponse.prototype.setStatistics = function(value) {
return jspb.Message.setWrapperField(this, 1, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.stats.GetUserStatisticsResponse} returns this
*/
proto.stats.GetUserStatisticsResponse.prototype.clearStatistics = function() {
return this.setStatistics(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.stats.GetUserStatisticsResponse.prototype.hasStatistics = function() {
return jspb.Message.getField(this, 1) != null;
};
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.stats.ListUserStatisticsRequest.prototype.toObject = function(opt_includeInstance) {
return proto.stats.ListUserStatisticsRequest.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.stats.ListUserStatisticsRequest} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.stats.ListUserStatisticsRequest.toObject = function(includeInstance, msg) {
var f, obj = {
offset: jspb.Message.getFieldWithDefault(msg, 1, 0),
limit: 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.stats.ListUserStatisticsRequest}
*/
proto.stats.ListUserStatisticsRequest.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.stats.ListUserStatisticsRequest;
return proto.stats.ListUserStatisticsRequest.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.stats.ListUserStatisticsRequest} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.stats.ListUserStatisticsRequest}
*/
proto.stats.ListUserStatisticsRequest.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = /** @type {number} */ (reader.readInt32());
msg.setOffset(value);
break;
case 2:
var value = /** @type {number} */ (reader.readInt32());
msg.setLimit(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.stats.ListUserStatisticsRequest.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.stats.ListUserStatisticsRequest.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.stats.ListUserStatisticsRequest} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.stats.ListUserStatisticsRequest.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getOffset();
if (f !== 0) {
writer.writeInt32(
1,
f
);
}
f = message.getLimit();
if (f !== 0) {
writer.writeInt32(
2,
f
);
}
};
/**
* optional int32 offset = 1;
* @return {number}
*/
proto.stats.ListUserStatisticsRequest.prototype.getOffset = function() {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
};
/**
* @param {number} value
* @return {!proto.stats.ListUserStatisticsRequest} returns this
*/
proto.stats.ListUserStatisticsRequest.prototype.setOffset = function(value) {
return jspb.Message.setProto3IntField(this, 1, value);
};
/**
* optional int32 limit = 2;
* @return {number}
*/
proto.stats.ListUserStatisticsRequest.prototype.getLimit = function() {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
};
/**
* @param {number} value
* @return {!proto.stats.ListUserStatisticsRequest} returns this
*/
proto.stats.ListUserStatisticsRequest.prototype.setLimit = function(value) {
return jspb.Message.setProto3IntField(this, 2, value);
};
/**
* List of repeated fields within this message type.
* @private {!Array<number>}
* @const
*/
proto.stats.ListUserStatisticsResponse.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.stats.ListUserStatisticsResponse.prototype.toObject = function(opt_includeInstance) {
return proto.stats.ListUserStatisticsResponse.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.stats.ListUserStatisticsResponse} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.stats.ListUserStatisticsResponse.toObject = function(includeInstance, msg) {
var f, obj = {
statisticsList: jspb.Message.toObjectList(msg.getStatisticsList(),
stats_user_statistics_pb.UserStatistics.toObject, includeInstance),
total: jspb.Message.getFieldWithDefault(msg, 2, 0),
offset: jspb.Message.getFieldWithDefault(msg, 3, 0),
limit: jspb.Message.getFieldWithDefault(msg, 4, 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.stats.ListUserStatisticsResponse}
*/
proto.stats.ListUserStatisticsResponse.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.stats.ListUserStatisticsResponse;
return proto.stats.ListUserStatisticsResponse.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.stats.ListUserStatisticsResponse} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.stats.ListUserStatisticsResponse}
*/
proto.stats.ListUserStatisticsResponse.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = new stats_user_statistics_pb.UserStatistics;
reader.readMessage(value,stats_user_statistics_pb.UserStatistics.deserializeBinaryFromReader);
msg.addStatistics(value);
break;
case 2:
var value = /** @type {number} */ (reader.readInt64());
msg.setTotal(value);
break;
case 3:
var value = /** @type {number} */ (reader.readInt32());
msg.setOffset(value);
break;
case 4:
var value = /** @type {number} */ (reader.readInt32());
msg.setLimit(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.stats.ListUserStatisticsResponse.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.stats.ListUserStatisticsResponse.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.stats.ListUserStatisticsResponse} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.stats.ListUserStatisticsResponse.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getStatisticsList();
if (f.length > 0) {
writer.writeRepeatedMessage(
1,
f,
stats_user_statistics_pb.UserStatistics.serializeBinaryToWriter
);
}
f = message.getTotal();
if (f !== 0) {
writer.writeInt64(
2,
f
);
}
f = message.getOffset();
if (f !== 0) {
writer.writeInt32(
3,
f
);
}
f = message.getLimit();
if (f !== 0) {
writer.writeInt32(
4,
f
);
}
};
/**
* repeated UserStatistics statistics = 1;
* @return {!Array<!proto.stats.UserStatistics>}
*/
proto.stats.ListUserStatisticsResponse.prototype.getStatisticsList = function() {
return /** @type{!Array<!proto.stats.UserStatistics>} */ (
jspb.Message.getRepeatedWrapperField(this, stats_user_statistics_pb.UserStatistics, 1));
};
/**
* @param {!Array<!proto.stats.UserStatistics>} value
* @return {!proto.stats.ListUserStatisticsResponse} returns this
*/
proto.stats.ListUserStatisticsResponse.prototype.setStatisticsList = function(value) {
return jspb.Message.setRepeatedWrapperField(this, 1, value);
};
/**
* @param {!proto.stats.UserStatistics=} opt_value
* @param {number=} opt_index
* @return {!proto.stats.UserStatistics}
*/
proto.stats.ListUserStatisticsResponse.prototype.addStatistics = function(opt_value, opt_index) {
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.stats.UserStatistics, opt_index);
};
/**
* Clears the list making it empty but non-null.
* @return {!proto.stats.ListUserStatisticsResponse} returns this
*/
proto.stats.ListUserStatisticsResponse.prototype.clearStatisticsList = function() {
return this.setStatisticsList([]);
};
/**
* optional int64 total = 2;
* @return {number}
*/
proto.stats.ListUserStatisticsResponse.prototype.getTotal = function() {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
};
/**
* @param {number} value
* @return {!proto.stats.ListUserStatisticsResponse} returns this
*/
proto.stats.ListUserStatisticsResponse.prototype.setTotal = function(value) {
return jspb.Message.setProto3IntField(this, 2, value);
};
/**
* optional int32 offset = 3;
* @return {number}
*/
proto.stats.ListUserStatisticsResponse.prototype.getOffset = function() {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
};
/**
* @param {number} value
* @return {!proto.stats.ListUserStatisticsResponse} returns this
*/
proto.stats.ListUserStatisticsResponse.prototype.setOffset = function(value) {
return jspb.Message.setProto3IntField(this, 3, value);
};
/**
* optional int32 limit = 4;
* @return {number}
*/
proto.stats.ListUserStatisticsResponse.prototype.getLimit = function() {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
};
/**
* @param {number} value
* @return {!proto.stats.ListUserStatisticsResponse} returns this
*/
proto.stats.ListUserStatisticsResponse.prototype.setLimit = function(value) {
return jspb.Message.setProto3IntField(this, 4, value);
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.stats.GetPointBoostRequest.prototype.toObject = function(opt_includeInstance) {
return proto.stats.GetPointBoostRequest.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.stats.GetPointBoostRequest} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.stats.GetPointBoostRequest.toObject = function(includeInstance, msg) {
var f, obj = {
boostId: jspb.Message.getFieldWithDefault(msg, 1, 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.stats.GetPointBoostRequest}
*/
proto.stats.GetPointBoostRequest.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.stats.GetPointBoostRequest;
return proto.stats.GetPointBoostRequest.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.stats.GetPointBoostRequest} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.stats.GetPointBoostRequest}
*/
proto.stats.GetPointBoostRequest.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = /** @type {number} */ (reader.readInt32());
msg.setBoostId(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.stats.GetPointBoostRequest.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.stats.GetPointBoostRequest.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.stats.GetPointBoostRequest} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.stats.GetPointBoostRequest.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getBoostId();
if (f !== 0) {
writer.writeInt32(
1,
f
);
}
};
/**
* optional int32 boost_id = 1;
* @return {number}
*/
proto.stats.GetPointBoostRequest.prototype.getBoostId = function() {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
};
/**
* @param {number} value
* @return {!proto.stats.GetPointBoostRequest} returns this
*/
proto.stats.GetPointBoostRequest.prototype.setBoostId = function(value) {
return jspb.Message.setProto3IntField(this, 1, 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.stats.GetPointBoostResponse.prototype.toObject = function(opt_includeInstance) {
return proto.stats.GetPointBoostResponse.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.stats.GetPointBoostResponse} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.stats.GetPointBoostResponse.toObject = function(includeInstance, msg) {
var f, obj = {
boost: (f = msg.getBoost()) && stats_point_boost_pb.PointBoost.toObject(includeInstance, f)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.stats.GetPointBoostResponse}
*/
proto.stats.GetPointBoostResponse.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.stats.GetPointBoostResponse;
return proto.stats.GetPointBoostResponse.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.stats.GetPointBoostResponse} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.stats.GetPointBoostResponse}
*/
proto.stats.GetPointBoostResponse.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = new stats_point_boost_pb.PointBoost;
reader.readMessage(value,stats_point_boost_pb.PointBoost.deserializeBinaryFromReader);
msg.setBoost(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.stats.GetPointBoostResponse.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.stats.GetPointBoostResponse.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.stats.GetPointBoostResponse} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.stats.GetPointBoostResponse.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getBoost();
if (f != null) {
writer.writeMessage(
1,
f,
stats_point_boost_pb.PointBoost.serializeBinaryToWriter
);
}
};
/**
* optional PointBoost boost = 1;
* @return {?proto.stats.PointBoost}
*/
proto.stats.GetPointBoostResponse.prototype.getBoost = function() {
return /** @type{?proto.stats.PointBoost} */ (
jspb.Message.getWrapperField(this, stats_point_boost_pb.PointBoost, 1));
};
/**
* @param {?proto.stats.PointBoost|undefined} value
* @return {!proto.stats.GetPointBoostResponse} returns this
*/
proto.stats.GetPointBoostResponse.prototype.setBoost = function(value) {
return jspb.Message.setWrapperField(this, 1, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.stats.GetPointBoostResponse} returns this
*/
proto.stats.GetPointBoostResponse.prototype.clearBoost = function() {
return this.setBoost(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.stats.GetPointBoostResponse.prototype.hasBoost = function() {
return jspb.Message.getField(this, 1) != null;
};
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.stats.ListPointBoostsRequest.prototype.toObject = function(opt_includeInstance) {
return proto.stats.ListPointBoostsRequest.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.stats.ListPointBoostsRequest} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.stats.ListPointBoostsRequest.toObject = function(includeInstance, msg) {
var f, obj = {
offset: jspb.Message.getFieldWithDefault(msg, 1, 0),
limit: jspb.Message.getFieldWithDefault(msg, 2, 0),
isActive: jspb.Message.getBooleanFieldWithDefault(msg, 3, false)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.stats.ListPointBoostsRequest}
*/
proto.stats.ListPointBoostsRequest.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.stats.ListPointBoostsRequest;
return proto.stats.ListPointBoostsRequest.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.stats.ListPointBoostsRequest} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.stats.ListPointBoostsRequest}
*/
proto.stats.ListPointBoostsRequest.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = /** @type {number} */ (reader.readInt32());
msg.setOffset(value);
break;
case 2:
var value = /** @type {number} */ (reader.readInt32());
msg.setLimit(value);
break;
case 3:
var value = /** @type {boolean} */ (reader.readBool());
msg.setIsActive(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.stats.ListPointBoostsRequest.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.stats.ListPointBoostsRequest.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.stats.ListPointBoostsRequest} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.stats.ListPointBoostsRequest.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getOffset();
if (f !== 0) {
writer.writeInt32(
1,
f
);
}
f = message.getLimit();
if (f !== 0) {
writer.writeInt32(
2,
f
);
}
f = /** @type {boolean} */ (jspb.Message.getField(message, 3));
if (f != null) {
writer.writeBool(
3,
f
);
}
};
/**
* optional int32 offset = 1;
* @return {number}
*/
proto.stats.ListPointBoostsRequest.prototype.getOffset = function() {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
};
/**
* @param {number} value
* @return {!proto.stats.ListPointBoostsRequest} returns this
*/
proto.stats.ListPointBoostsRequest.prototype.setOffset = function(value) {
return jspb.Message.setProto3IntField(this, 1, value);
};
/**
* optional int32 limit = 2;
* @return {number}
*/
proto.stats.ListPointBoostsRequest.prototype.getLimit = function() {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
};
/**
* @param {number} value
* @return {!proto.stats.ListPointBoostsRequest} returns this
*/
proto.stats.ListPointBoostsRequest.prototype.setLimit = function(value) {
return jspb.Message.setProto3IntField(this, 2, value);
};
/**
* optional bool is_active = 3;
* @return {boolean}
*/
proto.stats.ListPointBoostsRequest.prototype.getIsActive = function() {
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
};
/**
* @param {boolean} value
* @return {!proto.stats.ListPointBoostsRequest} returns this
*/
proto.stats.ListPointBoostsRequest.prototype.setIsActive = function(value) {
return jspb.Message.setField(this, 3, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.stats.ListPointBoostsRequest} returns this
*/
proto.stats.ListPointBoostsRequest.prototype.clearIsActive = function() {
return jspb.Message.setField(this, 3, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.stats.ListPointBoostsRequest.prototype.hasIsActive = function() {
return jspb.Message.getField(this, 3) != null;
};
/**
* List of repeated fields within this message type.
* @private {!Array<number>}
* @const
*/
proto.stats.ListPointBoostsResponse.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.stats.ListPointBoostsResponse.prototype.toObject = function(opt_includeInstance) {
return proto.stats.ListPointBoostsResponse.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.stats.ListPointBoostsResponse} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.stats.ListPointBoostsResponse.toObject = function(includeInstance, msg) {
var f, obj = {
boostsList: jspb.Message.toObjectList(msg.getBoostsList(),
stats_point_boost_pb.PointBoost.toObject, includeInstance),
total: jspb.Message.getFieldWithDefault(msg, 2, 0),
offset: jspb.Message.getFieldWithDefault(msg, 3, 0),
limit: jspb.Message.getFieldWithDefault(msg, 4, 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.stats.ListPointBoostsResponse}
*/
proto.stats.ListPointBoostsResponse.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.stats.ListPointBoostsResponse;
return proto.stats.ListPointBoostsResponse.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.stats.ListPointBoostsResponse} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.stats.ListPointBoostsResponse}
*/
proto.stats.ListPointBoostsResponse.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = new stats_point_boost_pb.PointBoost;
reader.readMessage(value,stats_point_boost_pb.PointBoost.deserializeBinaryFromReader);
msg.addBoosts(value);
break;
case 2:
var value = /** @type {number} */ (reader.readInt64());
msg.setTotal(value);
break;
case 3:
var value = /** @type {number} */ (reader.readInt32());
msg.setOffset(value);
break;
case 4:
var value = /** @type {number} */ (reader.readInt32());
msg.setLimit(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.stats.ListPointBoostsResponse.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.stats.ListPointBoostsResponse.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.stats.ListPointBoostsResponse} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.stats.ListPointBoostsResponse.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getBoostsList();
if (f.length > 0) {
writer.writeRepeatedMessage(
1,
f,
stats_point_boost_pb.PointBoost.serializeBinaryToWriter
);
}
f = message.getTotal();
if (f !== 0) {
writer.writeInt64(
2,
f
);
}
f = message.getOffset();
if (f !== 0) {
writer.writeInt32(
3,
f
);
}
f = message.getLimit();
if (f !== 0) {
writer.writeInt32(
4,
f
);
}
};
/**
* repeated PointBoost boosts = 1;
* @return {!Array<!proto.stats.PointBoost>}
*/
proto.stats.ListPointBoostsResponse.prototype.getBoostsList = function() {
return /** @type{!Array<!proto.stats.PointBoost>} */ (
jspb.Message.getRepeatedWrapperField(this, stats_point_boost_pb.PointBoost, 1));
};
/**
* @param {!Array<!proto.stats.PointBoost>} value
* @return {!proto.stats.ListPointBoostsResponse} returns this
*/
proto.stats.ListPointBoostsResponse.prototype.setBoostsList = function(value) {
return jspb.Message.setRepeatedWrapperField(this, 1, value);
};
/**
* @param {!proto.stats.PointBoost=} opt_value
* @param {number=} opt_index
* @return {!proto.stats.PointBoost}
*/
proto.stats.ListPointBoostsResponse.prototype.addBoosts = function(opt_value, opt_index) {
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.stats.PointBoost, opt_index);
};
/**
* Clears the list making it empty but non-null.
* @return {!proto.stats.ListPointBoostsResponse} returns this
*/
proto.stats.ListPointBoostsResponse.prototype.clearBoostsList = function() {
return this.setBoostsList([]);
};
/**
* optional int64 total = 2;
* @return {number}
*/
proto.stats.ListPointBoostsResponse.prototype.getTotal = function() {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
};
/**
* @param {number} value
* @return {!proto.stats.ListPointBoostsResponse} returns this
*/
proto.stats.ListPointBoostsResponse.prototype.setTotal = function(value) {
return jspb.Message.setProto3IntField(this, 2, value);
};
/**
* optional int32 offset = 3;
* @return {number}
*/
proto.stats.ListPointBoostsResponse.prototype.getOffset = function() {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
};
/**
* @param {number} value
* @return {!proto.stats.ListPointBoostsResponse} returns this
*/
proto.stats.ListPointBoostsResponse.prototype.setOffset = function(value) {
return jspb.Message.setProto3IntField(this, 3, value);
};
/**
* optional int32 limit = 4;
* @return {number}
*/
proto.stats.ListPointBoostsResponse.prototype.getLimit = function() {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
};
/**
* @param {number} value
* @return {!proto.stats.ListPointBoostsResponse} returns this
*/
proto.stats.ListPointBoostsResponse.prototype.setLimit = function(value) {
return jspb.Message.setProto3IntField(this, 4, value);
};
goog.object.extend(exports, proto.stats);