protobuf-platform 1.1.51 → 1.1.52
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/analytic/analytic.proto +11 -0
- package/analytic/analytic_grpc_pb.js +34 -0
- package/analytic/analytic_pb.js +400 -0
- package/package.json +1 -1
package/analytic/analytic.proto
CHANGED
@@ -11,6 +11,8 @@ service Analytic {
|
|
11
11
|
rpc getDepositsStats(PaginationRequest) returns (DepositsResponse);
|
12
12
|
//Games
|
13
13
|
rpc getGamesStats(PaginationRequest) returns (GamesResponse);
|
14
|
+
//Dashboard
|
15
|
+
rpc getDashboardInfo(DashboardRequest) returns (DashboardResponse);
|
14
16
|
}
|
15
17
|
//Technical
|
16
18
|
message PingRequest { string ping = 1; }
|
@@ -23,6 +25,15 @@ message GlobalSearchRequest {
|
|
23
25
|
optional string period = 3;
|
24
26
|
optional string type = 4;
|
25
27
|
}
|
28
|
+
message DashboardRequest {
|
29
|
+
string start_date = 1;
|
30
|
+
string end_date = 2;
|
31
|
+
}
|
32
|
+
//Dashboard
|
33
|
+
message DashboardResponse {
|
34
|
+
optional int32 active_users_count = 1;
|
35
|
+
optional int32 registrations_count = 2;
|
36
|
+
}
|
26
37
|
//Global
|
27
38
|
message GlobalCasinoItem {
|
28
39
|
string date = 1;
|
@@ -4,6 +4,28 @@
|
|
4
4
|
var grpc = require('@grpc/grpc-js');
|
5
5
|
var analytic_pb = require('./analytic_pb.js');
|
6
6
|
|
7
|
+
function serialize_analytic_DashboardRequest(arg) {
|
8
|
+
if (!(arg instanceof analytic_pb.DashboardRequest)) {
|
9
|
+
throw new Error('Expected argument of type analytic.DashboardRequest');
|
10
|
+
}
|
11
|
+
return Buffer.from(arg.serializeBinary());
|
12
|
+
}
|
13
|
+
|
14
|
+
function deserialize_analytic_DashboardRequest(buffer_arg) {
|
15
|
+
return analytic_pb.DashboardRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
16
|
+
}
|
17
|
+
|
18
|
+
function serialize_analytic_DashboardResponse(arg) {
|
19
|
+
if (!(arg instanceof analytic_pb.DashboardResponse)) {
|
20
|
+
throw new Error('Expected argument of type analytic.DashboardResponse');
|
21
|
+
}
|
22
|
+
return Buffer.from(arg.serializeBinary());
|
23
|
+
}
|
24
|
+
|
25
|
+
function deserialize_analytic_DashboardResponse(buffer_arg) {
|
26
|
+
return analytic_pb.DashboardResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
27
|
+
}
|
28
|
+
|
7
29
|
function serialize_analytic_DepositsResponse(arg) {
|
8
30
|
if (!(arg instanceof analytic_pb.DepositsResponse)) {
|
9
31
|
throw new Error('Expected argument of type analytic.DepositsResponse');
|
@@ -141,6 +163,18 @@ getGamesStats: {
|
|
141
163
|
responseSerialize: serialize_analytic_GamesResponse,
|
142
164
|
responseDeserialize: deserialize_analytic_GamesResponse,
|
143
165
|
},
|
166
|
+
// Dashboard
|
167
|
+
getDashboardInfo: {
|
168
|
+
path: '/analytic.Analytic/getDashboardInfo',
|
169
|
+
requestStream: false,
|
170
|
+
responseStream: false,
|
171
|
+
requestType: analytic_pb.DashboardRequest,
|
172
|
+
responseType: analytic_pb.DashboardResponse,
|
173
|
+
requestSerialize: serialize_analytic_DashboardRequest,
|
174
|
+
requestDeserialize: deserialize_analytic_DashboardRequest,
|
175
|
+
responseSerialize: serialize_analytic_DashboardResponse,
|
176
|
+
responseDeserialize: deserialize_analytic_DashboardResponse,
|
177
|
+
},
|
144
178
|
};
|
145
179
|
|
146
180
|
exports.AnalyticClient = grpc.makeGenericClientConstructor(AnalyticService);
|
package/analytic/analytic_pb.js
CHANGED
@@ -21,6 +21,8 @@ var global = (function() {
|
|
21
21
|
return Function('return this')();
|
22
22
|
}.call(null));
|
23
23
|
|
24
|
+
goog.exportSymbol('proto.analytic.DashboardRequest', null, global);
|
25
|
+
goog.exportSymbol('proto.analytic.DashboardResponse', null, global);
|
24
26
|
goog.exportSymbol('proto.analytic.DepositItem', null, global);
|
25
27
|
goog.exportSymbol('proto.analytic.DepositsResponse', null, global);
|
26
28
|
goog.exportSymbol('proto.analytic.GameItem', null, global);
|
@@ -118,6 +120,48 @@ if (goog.DEBUG && !COMPILED) {
|
|
118
120
|
*/
|
119
121
|
proto.analytic.GlobalSearchRequest.displayName = 'proto.analytic.GlobalSearchRequest';
|
120
122
|
}
|
123
|
+
/**
|
124
|
+
* Generated by JsPbCodeGenerator.
|
125
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
126
|
+
* server response, or constructed directly in Javascript. The array is used
|
127
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
128
|
+
* If no data is provided, the constructed object will be empty, but still
|
129
|
+
* valid.
|
130
|
+
* @extends {jspb.Message}
|
131
|
+
* @constructor
|
132
|
+
*/
|
133
|
+
proto.analytic.DashboardRequest = function(opt_data) {
|
134
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
135
|
+
};
|
136
|
+
goog.inherits(proto.analytic.DashboardRequest, jspb.Message);
|
137
|
+
if (goog.DEBUG && !COMPILED) {
|
138
|
+
/**
|
139
|
+
* @public
|
140
|
+
* @override
|
141
|
+
*/
|
142
|
+
proto.analytic.DashboardRequest.displayName = 'proto.analytic.DashboardRequest';
|
143
|
+
}
|
144
|
+
/**
|
145
|
+
* Generated by JsPbCodeGenerator.
|
146
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
147
|
+
* server response, or constructed directly in Javascript. The array is used
|
148
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
149
|
+
* If no data is provided, the constructed object will be empty, but still
|
150
|
+
* valid.
|
151
|
+
* @extends {jspb.Message}
|
152
|
+
* @constructor
|
153
|
+
*/
|
154
|
+
proto.analytic.DashboardResponse = function(opt_data) {
|
155
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
156
|
+
};
|
157
|
+
goog.inherits(proto.analytic.DashboardResponse, jspb.Message);
|
158
|
+
if (goog.DEBUG && !COMPILED) {
|
159
|
+
/**
|
160
|
+
* @public
|
161
|
+
* @override
|
162
|
+
*/
|
163
|
+
proto.analytic.DashboardResponse.displayName = 'proto.analytic.DashboardResponse';
|
164
|
+
}
|
121
165
|
/**
|
122
166
|
* Generated by JsPbCodeGenerator.
|
123
167
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
@@ -1073,6 +1117,362 @@ proto.analytic.GlobalSearchRequest.prototype.hasType = function() {
|
|
1073
1117
|
|
1074
1118
|
|
1075
1119
|
|
1120
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
1121
|
+
/**
|
1122
|
+
* Creates an object representation of this proto.
|
1123
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
1124
|
+
* Optional fields that are not set will be set to undefined.
|
1125
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
1126
|
+
* For the list of reserved names please see:
|
1127
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
1128
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
1129
|
+
* JSPB instance for transitional soy proto support:
|
1130
|
+
* http://goto/soy-param-migration
|
1131
|
+
* @return {!Object}
|
1132
|
+
*/
|
1133
|
+
proto.analytic.DashboardRequest.prototype.toObject = function(opt_includeInstance) {
|
1134
|
+
return proto.analytic.DashboardRequest.toObject(opt_includeInstance, this);
|
1135
|
+
};
|
1136
|
+
|
1137
|
+
|
1138
|
+
/**
|
1139
|
+
* Static version of the {@see toObject} method.
|
1140
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
1141
|
+
* the JSPB instance for transitional soy proto support:
|
1142
|
+
* http://goto/soy-param-migration
|
1143
|
+
* @param {!proto.analytic.DashboardRequest} msg The msg instance to transform.
|
1144
|
+
* @return {!Object}
|
1145
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
1146
|
+
*/
|
1147
|
+
proto.analytic.DashboardRequest.toObject = function(includeInstance, msg) {
|
1148
|
+
var f, obj = {
|
1149
|
+
startDate: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
1150
|
+
endDate: jspb.Message.getFieldWithDefault(msg, 2, "")
|
1151
|
+
};
|
1152
|
+
|
1153
|
+
if (includeInstance) {
|
1154
|
+
obj.$jspbMessageInstance = msg;
|
1155
|
+
}
|
1156
|
+
return obj;
|
1157
|
+
};
|
1158
|
+
}
|
1159
|
+
|
1160
|
+
|
1161
|
+
/**
|
1162
|
+
* Deserializes binary data (in protobuf wire format).
|
1163
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
1164
|
+
* @return {!proto.analytic.DashboardRequest}
|
1165
|
+
*/
|
1166
|
+
proto.analytic.DashboardRequest.deserializeBinary = function(bytes) {
|
1167
|
+
var reader = new jspb.BinaryReader(bytes);
|
1168
|
+
var msg = new proto.analytic.DashboardRequest;
|
1169
|
+
return proto.analytic.DashboardRequest.deserializeBinaryFromReader(msg, reader);
|
1170
|
+
};
|
1171
|
+
|
1172
|
+
|
1173
|
+
/**
|
1174
|
+
* Deserializes binary data (in protobuf wire format) from the
|
1175
|
+
* given reader into the given message object.
|
1176
|
+
* @param {!proto.analytic.DashboardRequest} msg The message object to deserialize into.
|
1177
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
1178
|
+
* @return {!proto.analytic.DashboardRequest}
|
1179
|
+
*/
|
1180
|
+
proto.analytic.DashboardRequest.deserializeBinaryFromReader = function(msg, reader) {
|
1181
|
+
while (reader.nextField()) {
|
1182
|
+
if (reader.isEndGroup()) {
|
1183
|
+
break;
|
1184
|
+
}
|
1185
|
+
var field = reader.getFieldNumber();
|
1186
|
+
switch (field) {
|
1187
|
+
case 1:
|
1188
|
+
var value = /** @type {string} */ (reader.readString());
|
1189
|
+
msg.setStartDate(value);
|
1190
|
+
break;
|
1191
|
+
case 2:
|
1192
|
+
var value = /** @type {string} */ (reader.readString());
|
1193
|
+
msg.setEndDate(value);
|
1194
|
+
break;
|
1195
|
+
default:
|
1196
|
+
reader.skipField();
|
1197
|
+
break;
|
1198
|
+
}
|
1199
|
+
}
|
1200
|
+
return msg;
|
1201
|
+
};
|
1202
|
+
|
1203
|
+
|
1204
|
+
/**
|
1205
|
+
* Serializes the message to binary data (in protobuf wire format).
|
1206
|
+
* @return {!Uint8Array}
|
1207
|
+
*/
|
1208
|
+
proto.analytic.DashboardRequest.prototype.serializeBinary = function() {
|
1209
|
+
var writer = new jspb.BinaryWriter();
|
1210
|
+
proto.analytic.DashboardRequest.serializeBinaryToWriter(this, writer);
|
1211
|
+
return writer.getResultBuffer();
|
1212
|
+
};
|
1213
|
+
|
1214
|
+
|
1215
|
+
/**
|
1216
|
+
* Serializes the given message to binary data (in protobuf wire
|
1217
|
+
* format), writing to the given BinaryWriter.
|
1218
|
+
* @param {!proto.analytic.DashboardRequest} message
|
1219
|
+
* @param {!jspb.BinaryWriter} writer
|
1220
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
1221
|
+
*/
|
1222
|
+
proto.analytic.DashboardRequest.serializeBinaryToWriter = function(message, writer) {
|
1223
|
+
var f = undefined;
|
1224
|
+
f = message.getStartDate();
|
1225
|
+
if (f.length > 0) {
|
1226
|
+
writer.writeString(
|
1227
|
+
1,
|
1228
|
+
f
|
1229
|
+
);
|
1230
|
+
}
|
1231
|
+
f = message.getEndDate();
|
1232
|
+
if (f.length > 0) {
|
1233
|
+
writer.writeString(
|
1234
|
+
2,
|
1235
|
+
f
|
1236
|
+
);
|
1237
|
+
}
|
1238
|
+
};
|
1239
|
+
|
1240
|
+
|
1241
|
+
/**
|
1242
|
+
* optional string start_date = 1;
|
1243
|
+
* @return {string}
|
1244
|
+
*/
|
1245
|
+
proto.analytic.DashboardRequest.prototype.getStartDate = function() {
|
1246
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
1247
|
+
};
|
1248
|
+
|
1249
|
+
|
1250
|
+
/**
|
1251
|
+
* @param {string} value
|
1252
|
+
* @return {!proto.analytic.DashboardRequest} returns this
|
1253
|
+
*/
|
1254
|
+
proto.analytic.DashboardRequest.prototype.setStartDate = function(value) {
|
1255
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
1256
|
+
};
|
1257
|
+
|
1258
|
+
|
1259
|
+
/**
|
1260
|
+
* optional string end_date = 2;
|
1261
|
+
* @return {string}
|
1262
|
+
*/
|
1263
|
+
proto.analytic.DashboardRequest.prototype.getEndDate = function() {
|
1264
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
1265
|
+
};
|
1266
|
+
|
1267
|
+
|
1268
|
+
/**
|
1269
|
+
* @param {string} value
|
1270
|
+
* @return {!proto.analytic.DashboardRequest} returns this
|
1271
|
+
*/
|
1272
|
+
proto.analytic.DashboardRequest.prototype.setEndDate = function(value) {
|
1273
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
1274
|
+
};
|
1275
|
+
|
1276
|
+
|
1277
|
+
|
1278
|
+
|
1279
|
+
|
1280
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
1281
|
+
/**
|
1282
|
+
* Creates an object representation of this proto.
|
1283
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
1284
|
+
* Optional fields that are not set will be set to undefined.
|
1285
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
1286
|
+
* For the list of reserved names please see:
|
1287
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
1288
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
1289
|
+
* JSPB instance for transitional soy proto support:
|
1290
|
+
* http://goto/soy-param-migration
|
1291
|
+
* @return {!Object}
|
1292
|
+
*/
|
1293
|
+
proto.analytic.DashboardResponse.prototype.toObject = function(opt_includeInstance) {
|
1294
|
+
return proto.analytic.DashboardResponse.toObject(opt_includeInstance, this);
|
1295
|
+
};
|
1296
|
+
|
1297
|
+
|
1298
|
+
/**
|
1299
|
+
* Static version of the {@see toObject} method.
|
1300
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
1301
|
+
* the JSPB instance for transitional soy proto support:
|
1302
|
+
* http://goto/soy-param-migration
|
1303
|
+
* @param {!proto.analytic.DashboardResponse} msg The msg instance to transform.
|
1304
|
+
* @return {!Object}
|
1305
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
1306
|
+
*/
|
1307
|
+
proto.analytic.DashboardResponse.toObject = function(includeInstance, msg) {
|
1308
|
+
var f, obj = {
|
1309
|
+
activeUsersCount: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
1310
|
+
registrationsCount: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
1311
|
+
};
|
1312
|
+
|
1313
|
+
if (includeInstance) {
|
1314
|
+
obj.$jspbMessageInstance = msg;
|
1315
|
+
}
|
1316
|
+
return obj;
|
1317
|
+
};
|
1318
|
+
}
|
1319
|
+
|
1320
|
+
|
1321
|
+
/**
|
1322
|
+
* Deserializes binary data (in protobuf wire format).
|
1323
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
1324
|
+
* @return {!proto.analytic.DashboardResponse}
|
1325
|
+
*/
|
1326
|
+
proto.analytic.DashboardResponse.deserializeBinary = function(bytes) {
|
1327
|
+
var reader = new jspb.BinaryReader(bytes);
|
1328
|
+
var msg = new proto.analytic.DashboardResponse;
|
1329
|
+
return proto.analytic.DashboardResponse.deserializeBinaryFromReader(msg, reader);
|
1330
|
+
};
|
1331
|
+
|
1332
|
+
|
1333
|
+
/**
|
1334
|
+
* Deserializes binary data (in protobuf wire format) from the
|
1335
|
+
* given reader into the given message object.
|
1336
|
+
* @param {!proto.analytic.DashboardResponse} msg The message object to deserialize into.
|
1337
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
1338
|
+
* @return {!proto.analytic.DashboardResponse}
|
1339
|
+
*/
|
1340
|
+
proto.analytic.DashboardResponse.deserializeBinaryFromReader = function(msg, reader) {
|
1341
|
+
while (reader.nextField()) {
|
1342
|
+
if (reader.isEndGroup()) {
|
1343
|
+
break;
|
1344
|
+
}
|
1345
|
+
var field = reader.getFieldNumber();
|
1346
|
+
switch (field) {
|
1347
|
+
case 1:
|
1348
|
+
var value = /** @type {number} */ (reader.readInt32());
|
1349
|
+
msg.setActiveUsersCount(value);
|
1350
|
+
break;
|
1351
|
+
case 2:
|
1352
|
+
var value = /** @type {number} */ (reader.readInt32());
|
1353
|
+
msg.setRegistrationsCount(value);
|
1354
|
+
break;
|
1355
|
+
default:
|
1356
|
+
reader.skipField();
|
1357
|
+
break;
|
1358
|
+
}
|
1359
|
+
}
|
1360
|
+
return msg;
|
1361
|
+
};
|
1362
|
+
|
1363
|
+
|
1364
|
+
/**
|
1365
|
+
* Serializes the message to binary data (in protobuf wire format).
|
1366
|
+
* @return {!Uint8Array}
|
1367
|
+
*/
|
1368
|
+
proto.analytic.DashboardResponse.prototype.serializeBinary = function() {
|
1369
|
+
var writer = new jspb.BinaryWriter();
|
1370
|
+
proto.analytic.DashboardResponse.serializeBinaryToWriter(this, writer);
|
1371
|
+
return writer.getResultBuffer();
|
1372
|
+
};
|
1373
|
+
|
1374
|
+
|
1375
|
+
/**
|
1376
|
+
* Serializes the given message to binary data (in protobuf wire
|
1377
|
+
* format), writing to the given BinaryWriter.
|
1378
|
+
* @param {!proto.analytic.DashboardResponse} message
|
1379
|
+
* @param {!jspb.BinaryWriter} writer
|
1380
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
1381
|
+
*/
|
1382
|
+
proto.analytic.DashboardResponse.serializeBinaryToWriter = function(message, writer) {
|
1383
|
+
var f = undefined;
|
1384
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 1));
|
1385
|
+
if (f != null) {
|
1386
|
+
writer.writeInt32(
|
1387
|
+
1,
|
1388
|
+
f
|
1389
|
+
);
|
1390
|
+
}
|
1391
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 2));
|
1392
|
+
if (f != null) {
|
1393
|
+
writer.writeInt32(
|
1394
|
+
2,
|
1395
|
+
f
|
1396
|
+
);
|
1397
|
+
}
|
1398
|
+
};
|
1399
|
+
|
1400
|
+
|
1401
|
+
/**
|
1402
|
+
* optional int32 active_users_count = 1;
|
1403
|
+
* @return {number}
|
1404
|
+
*/
|
1405
|
+
proto.analytic.DashboardResponse.prototype.getActiveUsersCount = function() {
|
1406
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
1407
|
+
};
|
1408
|
+
|
1409
|
+
|
1410
|
+
/**
|
1411
|
+
* @param {number} value
|
1412
|
+
* @return {!proto.analytic.DashboardResponse} returns this
|
1413
|
+
*/
|
1414
|
+
proto.analytic.DashboardResponse.prototype.setActiveUsersCount = function(value) {
|
1415
|
+
return jspb.Message.setField(this, 1, value);
|
1416
|
+
};
|
1417
|
+
|
1418
|
+
|
1419
|
+
/**
|
1420
|
+
* Clears the field making it undefined.
|
1421
|
+
* @return {!proto.analytic.DashboardResponse} returns this
|
1422
|
+
*/
|
1423
|
+
proto.analytic.DashboardResponse.prototype.clearActiveUsersCount = function() {
|
1424
|
+
return jspb.Message.setField(this, 1, undefined);
|
1425
|
+
};
|
1426
|
+
|
1427
|
+
|
1428
|
+
/**
|
1429
|
+
* Returns whether this field is set.
|
1430
|
+
* @return {boolean}
|
1431
|
+
*/
|
1432
|
+
proto.analytic.DashboardResponse.prototype.hasActiveUsersCount = function() {
|
1433
|
+
return jspb.Message.getField(this, 1) != null;
|
1434
|
+
};
|
1435
|
+
|
1436
|
+
|
1437
|
+
/**
|
1438
|
+
* optional int32 registrations_count = 2;
|
1439
|
+
* @return {number}
|
1440
|
+
*/
|
1441
|
+
proto.analytic.DashboardResponse.prototype.getRegistrationsCount = function() {
|
1442
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
1443
|
+
};
|
1444
|
+
|
1445
|
+
|
1446
|
+
/**
|
1447
|
+
* @param {number} value
|
1448
|
+
* @return {!proto.analytic.DashboardResponse} returns this
|
1449
|
+
*/
|
1450
|
+
proto.analytic.DashboardResponse.prototype.setRegistrationsCount = function(value) {
|
1451
|
+
return jspb.Message.setField(this, 2, value);
|
1452
|
+
};
|
1453
|
+
|
1454
|
+
|
1455
|
+
/**
|
1456
|
+
* Clears the field making it undefined.
|
1457
|
+
* @return {!proto.analytic.DashboardResponse} returns this
|
1458
|
+
*/
|
1459
|
+
proto.analytic.DashboardResponse.prototype.clearRegistrationsCount = function() {
|
1460
|
+
return jspb.Message.setField(this, 2, undefined);
|
1461
|
+
};
|
1462
|
+
|
1463
|
+
|
1464
|
+
/**
|
1465
|
+
* Returns whether this field is set.
|
1466
|
+
* @return {boolean}
|
1467
|
+
*/
|
1468
|
+
proto.analytic.DashboardResponse.prototype.hasRegistrationsCount = function() {
|
1469
|
+
return jspb.Message.getField(this, 2) != null;
|
1470
|
+
};
|
1471
|
+
|
1472
|
+
|
1473
|
+
|
1474
|
+
|
1475
|
+
|
1076
1476
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
1077
1477
|
/**
|
1078
1478
|
* Creates an object representation of this proto.
|