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,335 lines (1,279 loc) • 280 kB
JavaScript
// source: activity/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 activity_listening_history_pb = require('../activity/listening_history_pb.js');
goog.object.extend(proto, activity_listening_history_pb);
var activity_user_favorite_pb = require('../activity/user_favorite_pb.js');
goog.object.extend(proto, activity_user_favorite_pb);
var activity_referral_pb = require('../activity/referral_pb.js');
goog.object.extend(proto, activity_referral_pb);
var activity_rate_param_pb = require('../activity/rate_param_pb.js');
goog.object.extend(proto, activity_rate_param_pb);
var activity_listening_session_pb = require('../activity/listening_session_pb.js');
goog.object.extend(proto, activity_listening_session_pb);
var activity_user_points_pb = require('../activity/user_points_pb.js');
goog.object.extend(proto, activity_user_points_pb);
var activity_rewards_pb = require('../activity/rewards_pb.js');
goog.object.extend(proto, activity_rewards_pb);
var activity_user_rewards_pb = require('../activity/user_rewards_pb.js');
goog.object.extend(proto, activity_user_rewards_pb);
var activity_user_referral_rewards_pb = require('../activity/user_referral_rewards_pb.js');
goog.object.extend(proto, activity_user_referral_rewards_pb);
var activity_processing_cycles_pb = require('../activity/processing_cycles_pb.js');
goog.object.extend(proto, activity_processing_cycles_pb);
var music_track_pb = require('../music/track_pb.js');
goog.object.extend(proto, music_track_pb);
goog.exportSymbol('proto.activity.AddUserFavoriteRequest', null, global);
goog.exportSymbol('proto.activity.AddUserFavoriteResponse', null, global);
goog.exportSymbol('proto.activity.GetListeningHistoryRequest', null, global);
goog.exportSymbol('proto.activity.GetListeningHistoryResponse', null, global);
goog.exportSymbol('proto.activity.GetListeningSessionRequest', null, global);
goog.exportSymbol('proto.activity.GetListeningSessionResponse', null, global);
goog.exportSymbol('proto.activity.GetRateParamRequest', null, global);
goog.exportSymbol('proto.activity.GetRateParamResponse', null, global);
goog.exportSymbol('proto.activity.GetUnprocessedListeningDurationRequest', null, global);
goog.exportSymbol('proto.activity.GetUnprocessedListeningDurationResponse', null, global);
goog.exportSymbol('proto.activity.GetUnprocessedListeningRecordsRequest', null, global);
goog.exportSymbol('proto.activity.GetUnprocessedListeningRecordsResponse', null, global);
goog.exportSymbol('proto.activity.GetUserFavoriteRequest', null, global);
goog.exportSymbol('proto.activity.GetUserFavoriteResponse', null, global);
goog.exportSymbol('proto.activity.GetUserPointsRequest', null, global);
goog.exportSymbol('proto.activity.GetUserPointsResponse', null, global);
goog.exportSymbol('proto.activity.GetUserReferralRewardsRequest', null, global);
goog.exportSymbol('proto.activity.GetUserReferralRewardsResponse', null, global);
goog.exportSymbol('proto.activity.GetUserRewardsRequest', null, global);
goog.exportSymbol('proto.activity.GetUserRewardsResponse', null, global);
goog.exportSymbol('proto.activity.ListListeningHistoryRequest', null, global);
goog.exportSymbol('proto.activity.ListListeningHistoryResponse', null, global);
goog.exportSymbol('proto.activity.ListListeningSessionsRequest', null, global);
goog.exportSymbol('proto.activity.ListListeningSessionsResponse', null, global);
goog.exportSymbol('proto.activity.ListRateParamsRequest', null, global);
goog.exportSymbol('proto.activity.ListRateParamsResponse', null, global);
goog.exportSymbol('proto.activity.ListRewardsRequest', null, global);
goog.exportSymbol('proto.activity.ListRewardsResponse', null, global);
goog.exportSymbol('proto.activity.ListUserFavoritesRequest', null, global);
goog.exportSymbol('proto.activity.ListUserFavoritesResponse', null, global);
goog.exportSymbol('proto.activity.ListUserPointsRequest', null, global);
goog.exportSymbol('proto.activity.ListUserPointsResponse', null, global);
goog.exportSymbol('proto.activity.ListUserRefereesRequest', null, global);
goog.exportSymbol('proto.activity.ListUserRefereesResponse', null, global);
goog.exportSymbol('proto.activity.ListeningHistoryWithTrack', null, global);
goog.exportSymbol('proto.activity.ListeningHistoryWithTrack.TrackMetadata', null, global);
goog.exportSymbol('proto.activity.ListeningSessionWithTrack', null, global);
goog.exportSymbol('proto.activity.ListeningSessionWithTrack.TrackMetadata', null, global);
goog.exportSymbol('proto.activity.RemoveUserFavoriteRequest', null, global);
goog.exportSymbol('proto.activity.RemoveUserFavoriteResponse', null, global);
goog.exportSymbol('proto.activity.SetReferrerRequest', null, global);
goog.exportSymbol('proto.activity.SetReferrerResponse', 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.activity.GetUserFavoriteRequest = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.activity.GetUserFavoriteRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.activity.GetUserFavoriteRequest.displayName = 'proto.activity.GetUserFavoriteRequest';
}
/**
* 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.activity.GetUserFavoriteResponse = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.activity.GetUserFavoriteResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.activity.GetUserFavoriteResponse.displayName = 'proto.activity.GetUserFavoriteResponse';
}
/**
* 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.activity.ListUserFavoritesRequest = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.activity.ListUserFavoritesRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.activity.ListUserFavoritesRequest.displayName = 'proto.activity.ListUserFavoritesRequest';
}
/**
* 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.activity.ListUserFavoritesResponse = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.activity.ListUserFavoritesResponse.repeatedFields_, null);
};
goog.inherits(proto.activity.ListUserFavoritesResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.activity.ListUserFavoritesResponse.displayName = 'proto.activity.ListUserFavoritesResponse';
}
/**
* 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.activity.AddUserFavoriteRequest = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.activity.AddUserFavoriteRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.activity.AddUserFavoriteRequest.displayName = 'proto.activity.AddUserFavoriteRequest';
}
/**
* 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.activity.AddUserFavoriteResponse = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.activity.AddUserFavoriteResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.activity.AddUserFavoriteResponse.displayName = 'proto.activity.AddUserFavoriteResponse';
}
/**
* 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.activity.RemoveUserFavoriteRequest = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.activity.RemoveUserFavoriteRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.activity.RemoveUserFavoriteRequest.displayName = 'proto.activity.RemoveUserFavoriteRequest';
}
/**
* 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.activity.RemoveUserFavoriteResponse = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.activity.RemoveUserFavoriteResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.activity.RemoveUserFavoriteResponse.displayName = 'proto.activity.RemoveUserFavoriteResponse';
}
/**
* 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.activity.GetRateParamRequest = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.activity.GetRateParamRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.activity.GetRateParamRequest.displayName = 'proto.activity.GetRateParamRequest';
}
/**
* 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.activity.GetRateParamResponse = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.activity.GetRateParamResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.activity.GetRateParamResponse.displayName = 'proto.activity.GetRateParamResponse';
}
/**
* 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.activity.ListRateParamsRequest = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.activity.ListRateParamsRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.activity.ListRateParamsRequest.displayName = 'proto.activity.ListRateParamsRequest';
}
/**
* 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.activity.ListRateParamsResponse = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.activity.ListRateParamsResponse.repeatedFields_, null);
};
goog.inherits(proto.activity.ListRateParamsResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.activity.ListRateParamsResponse.displayName = 'proto.activity.ListRateParamsResponse';
}
/**
* 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.activity.GetListeningSessionRequest = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.activity.GetListeningSessionRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.activity.GetListeningSessionRequest.displayName = 'proto.activity.GetListeningSessionRequest';
}
/**
* 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.activity.GetListeningSessionResponse = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.activity.GetListeningSessionResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.activity.GetListeningSessionResponse.displayName = 'proto.activity.GetListeningSessionResponse';
}
/**
* 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.activity.ListListeningSessionsRequest = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.activity.ListListeningSessionsRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.activity.ListListeningSessionsRequest.displayName = 'proto.activity.ListListeningSessionsRequest';
}
/**
* 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.activity.ListeningSessionWithTrack = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.activity.ListeningSessionWithTrack, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.activity.ListeningSessionWithTrack.displayName = 'proto.activity.ListeningSessionWithTrack';
}
/**
* 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.activity.ListeningSessionWithTrack.TrackMetadata = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.activity.ListeningSessionWithTrack.TrackMetadata, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.activity.ListeningSessionWithTrack.TrackMetadata.displayName = 'proto.activity.ListeningSessionWithTrack.TrackMetadata';
}
/**
* 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.activity.ListListeningSessionsResponse = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.activity.ListListeningSessionsResponse.repeatedFields_, null);
};
goog.inherits(proto.activity.ListListeningSessionsResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.activity.ListListeningSessionsResponse.displayName = 'proto.activity.ListListeningSessionsResponse';
}
/**
* 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.activity.GetListeningHistoryRequest = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.activity.GetListeningHistoryRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.activity.GetListeningHistoryRequest.displayName = 'proto.activity.GetListeningHistoryRequest';
}
/**
* 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.activity.GetListeningHistoryResponse = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.activity.GetListeningHistoryResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.activity.GetListeningHistoryResponse.displayName = 'proto.activity.GetListeningHistoryResponse';
}
/**
* 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.activity.ListListeningHistoryRequest = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.activity.ListListeningHistoryRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.activity.ListListeningHistoryRequest.displayName = 'proto.activity.ListListeningHistoryRequest';
}
/**
* 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.activity.ListeningHistoryWithTrack = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.activity.ListeningHistoryWithTrack, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.activity.ListeningHistoryWithTrack.displayName = 'proto.activity.ListeningHistoryWithTrack';
}
/**
* 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.activity.ListeningHistoryWithTrack.TrackMetadata = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.activity.ListeningHistoryWithTrack.TrackMetadata, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.activity.ListeningHistoryWithTrack.TrackMetadata.displayName = 'proto.activity.ListeningHistoryWithTrack.TrackMetadata';
}
/**
* 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.activity.ListListeningHistoryResponse = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.activity.ListListeningHistoryResponse.repeatedFields_, null);
};
goog.inherits(proto.activity.ListListeningHistoryResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.activity.ListListeningHistoryResponse.displayName = 'proto.activity.ListListeningHistoryResponse';
}
/**
* 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.activity.GetUserPointsRequest = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.activity.GetUserPointsRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.activity.GetUserPointsRequest.displayName = 'proto.activity.GetUserPointsRequest';
}
/**
* 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.activity.GetUserPointsResponse = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.activity.GetUserPointsResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.activity.GetUserPointsResponse.displayName = 'proto.activity.GetUserPointsResponse';
}
/**
* 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.activity.ListUserPointsRequest = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.activity.ListUserPointsRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.activity.ListUserPointsRequest.displayName = 'proto.activity.ListUserPointsRequest';
}
/**
* 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.activity.ListUserPointsResponse = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.activity.ListUserPointsResponse.repeatedFields_, null);
};
goog.inherits(proto.activity.ListUserPointsResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.activity.ListUserPointsResponse.displayName = 'proto.activity.ListUserPointsResponse';
}
/**
* 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.activity.GetUnprocessedListeningRecordsRequest = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.activity.GetUnprocessedListeningRecordsRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.activity.GetUnprocessedListeningRecordsRequest.displayName = 'proto.activity.GetUnprocessedListeningRecordsRequest';
}
/**
* 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.activity.GetUnprocessedListeningRecordsResponse = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.activity.GetUnprocessedListeningRecordsResponse.repeatedFields_, null);
};
goog.inherits(proto.activity.GetUnprocessedListeningRecordsResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.activity.GetUnprocessedListeningRecordsResponse.displayName = 'proto.activity.GetUnprocessedListeningRecordsResponse';
}
/**
* 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.activity.GetUnprocessedListeningDurationRequest = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.activity.GetUnprocessedListeningDurationRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.activity.GetUnprocessedListeningDurationRequest.displayName = 'proto.activity.GetUnprocessedListeningDurationRequest';
}
/**
* 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.activity.GetUnprocessedListeningDurationResponse = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.activity.GetUnprocessedListeningDurationResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.activity.GetUnprocessedListeningDurationResponse.displayName = 'proto.activity.GetUnprocessedListeningDurationResponse';
}
/**
* 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.activity.SetReferrerRequest = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.activity.SetReferrerRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.activity.SetReferrerRequest.displayName = 'proto.activity.SetReferrerRequest';
}
/**
* 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.activity.SetReferrerResponse = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.activity.SetReferrerResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.activity.SetReferrerResponse.displayName = 'proto.activity.SetReferrerResponse';
}
/**
* 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.activity.GetUserReferralRewardsRequest = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.activity.GetUserReferralRewardsRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.activity.GetUserReferralRewardsRequest.displayName = 'proto.activity.GetUserReferralRewardsRequest';
}
/**
* 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.activity.GetUserReferralRewardsResponse = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.activity.GetUserReferralRewardsResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.activity.GetUserReferralRewardsResponse.displayName = 'proto.activity.GetUserReferralRewardsResponse';
}
/**
* 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.activity.ListUserRefereesRequest = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.activity.ListUserRefereesRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.activity.ListUserRefereesRequest.displayName = 'proto.activity.ListUserRefereesRequest';
}
/**
* 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.activity.ListUserRefereesResponse = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.activity.ListUserRefereesResponse.repeatedFields_, null);
};
goog.inherits(proto.activity.ListUserRefereesResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.activity.ListUserRefereesResponse.displayName = 'proto.activity.ListUserRefereesResponse';
}
/**
* 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.activity.GetUserRewardsRequest = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.activity.GetUserRewardsRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.activity.GetUserRewardsRequest.displayName = 'proto.activity.GetUserRewardsRequest';
}
/**
* 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.activity.GetUserRewardsResponse = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.activity.GetUserRewardsResponse.repeatedFields_, null);
};
goog.inherits(proto.activity.GetUserRewardsResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.activity.GetUserRewardsResponse.displayName = 'proto.activity.GetUserRewardsResponse';
}
/**
* 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.activity.ListRewardsRequest = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.activity.ListRewardsRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.activity.ListRewardsRequest.displayName = 'proto.activity.ListRewardsRequest';
}
/**
* 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.activity.ListRewardsResponse = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.activity.ListRewardsResponse.repeatedFields_, null);
};
goog.inherits(proto.activity.ListRewardsResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.activity.ListRewardsResponse.displayName = 'proto.activity.ListRewardsResponse';
}
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.activity.GetUserFavoriteRequest.prototype.toObject = function(opt_includeInstance) {
return proto.activity.GetUserFavoriteRequest.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.activity.GetUserFavoriteRequest} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.activity.GetUserFavoriteRequest.toObject = function(includeInstance, msg) {
var f, obj = {
favoriteId: 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.activity.GetUserFavoriteRequest}
*/
proto.activity.GetUserFavoriteRequest.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.activity.GetUserFavoriteRequest;
return proto.activity.GetUserFavoriteRequest.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.activity.GetUserFavoriteRequest} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.activity.GetUserFavoriteRequest}
*/
proto.activity.GetUserFavoriteRequest.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.setFavoriteId(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.activity.GetUserFavoriteRequest.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.activity.GetUserFavoriteRequest.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.activity.GetUserFavoriteRequest} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.activity.GetUserFavoriteRequest.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getFavoriteId();
if (f !== 0) {
writer.writeInt32(
1,
f
);
}
};
/**
* optional int32 favorite_id = 1;
* @return {number}
*/
proto.activity.GetUserFavoriteRequest.prototype.getFavoriteId = function() {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
};
/**
* @param {number} value
* @return {!proto.activity.GetUserFavoriteRequest} returns this
*/
proto.activity.GetUserFavoriteRequest.prototype.setFavoriteId = 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.activity.GetUserFavoriteResponse.prototype.toObject = function(opt_includeInstance) {
return proto.activity.GetUserFavoriteResponse.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.activity.GetUserFavoriteResponse} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.activity.GetUserFavoriteResponse.toObject = function(includeInstance, msg) {
var f, obj = {
favorite: (f = msg.getFavorite()) && activity_user_favorite_pb.UserFavorite.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.activity.GetUserFavoriteResponse}
*/
proto.activity.GetUserFavoriteResponse.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.activity.GetUserFavoriteResponse;
return proto.activity.GetUserFavoriteResponse.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.activity.GetUserFavoriteResponse} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.activity.GetUserFavoriteResponse}
*/
proto.activity.GetUserFavoriteResponse.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = new activity_user_favorite_pb.UserFavorite;
reader.readMessage(value,activity_user_favorite_pb.UserFavorite.deserializeBinaryFromReader);
msg.setFavorite(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.activity.GetUserFavoriteResponse.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.activity.GetUserFavoriteResponse.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.activity.GetUserFavoriteResponse} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.activity.GetUserFavoriteResponse.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getFavorite();
if (f != null) {
writer.writeMessage(
1,
f,
activity_user_favorite_pb.UserFavorite.serializeBinaryToWriter
);
}
};
/**
* optional UserFavorite favorite = 1;
* @return {?proto.activity.UserFavorite}
*/
proto.activity.GetUserFavoriteResponse.prototype.getFavorite = function() {
return /** @type{?proto.activity.UserFavorite} */ (
jspb.Message.getWrapperField(this, activity_user_favorite_pb.UserFavorite, 1));
};
/**
* @param {?proto.activity.UserFavorite|undefined} value
* @return {!proto.activity.GetUserFavoriteResponse} returns this
*/
proto.activity.GetUserFavoriteResponse.prototype.setFavorite = function(value) {
return jspb.Message.setWrapperField(this, 1, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.activity.GetUserFavoriteResponse} returns this
*/
proto.activity.GetUserFavoriteResponse.prototype.clearFavorite = function() {
return this.setFavorite(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.activity.GetUserFavoriteResponse.prototype.hasFavorite = 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.activity.ListUserFavoritesRequest.prototype.toObject = function(opt_includeInstance) {
return proto.activity.ListUserFavoritesRequest.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.activity.ListUserFavoritesRequest} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.activity.ListUserFavoritesRequest.toObject = function(includeInstance, msg) {
var f, obj = {
offset: jspb.Message.getFieldWithDefault(msg, 1, 0),
limit: jspb.Message.getFieldWithDefault(msg, 2, 0),
itemType: jspb.Message.getFieldWithDefault(msg, 3, "")
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.activity.ListUserFavoritesRequest}
*/
proto.activity.ListUserFavoritesRequest.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.activity.ListUserFavoritesRequest;
return proto.activity.ListUserFavoritesRequest.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.activity.ListUserFavoritesRequest} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.activity.ListUserFavoritesRequest}
*/
proto.activity.ListUserFavoritesRequest.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 {string} */ (reader.readString());
msg.setItemType(value);
break;
default:
reader.skipFi