protobuf-platform 1.0.259 → 1.0.261
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 +24 -0
- package/analytic/analytic_grpc_pb.js +22 -0
- package/analytic/analytic_pb.js +1102 -0
- package/package.json +1 -1
package/analytic/analytic.proto
CHANGED
@@ -8,6 +8,7 @@ service Analytic {
|
|
8
8
|
rpc getGlobalCasinoStats(PaginationRequest) returns (GlobalCasinoResponse);
|
9
9
|
//Payment
|
10
10
|
rpc getPaymentProvidersStats(PaginationRequest) returns (PaymentProvidersResponse);
|
11
|
+
rpc getDepositsStats(PaginationRequest) returns (DepositsResponse);
|
11
12
|
}
|
12
13
|
//Technical
|
13
14
|
message PingRequest { string ping = 1; }
|
@@ -66,4 +67,27 @@ message PaymentProvidersResponse {
|
|
66
67
|
repeated PaymentItem items = 1;
|
67
68
|
optional int32 total_pages = 2;
|
68
69
|
optional int32 total_items = 3;
|
70
|
+
}
|
71
|
+
//Deposits
|
72
|
+
message DepositItem {
|
73
|
+
string date = 1;
|
74
|
+
optional int32 total_ftd_count = 2;
|
75
|
+
optional float total_ftd_sum = 3;
|
76
|
+
optional float total_ftd_avg = 4;
|
77
|
+
optional int32 total_redep_count = 5;
|
78
|
+
optional float total_redep_sum = 6;
|
79
|
+
optional float total_redep_avg = 7;
|
80
|
+
optional int32 total_dep_count = 8;
|
81
|
+
optional float total_dep_sum = 9;
|
82
|
+
optional float total_dep_avg = 10;
|
83
|
+
optional int32 total_pending_count = 11;
|
84
|
+
optional int32 total_failed_count = 12;
|
85
|
+
optional int32 total_succeed_count = 13;
|
86
|
+
optional float conversion_rate = 14;
|
87
|
+
optional float finish_rate = 15;
|
88
|
+
}
|
89
|
+
message DepositsResponse {
|
90
|
+
repeated DepositItem items = 1;
|
91
|
+
optional int32 total_pages = 2;
|
92
|
+
optional int32 total_items = 3;
|
69
93
|
}
|
@@ -4,6 +4,17 @@
|
|
4
4
|
var grpc = require('@grpc/grpc-js');
|
5
5
|
var analytic_pb = require('./analytic_pb.js');
|
6
6
|
|
7
|
+
function serialize_analytic_DepositsResponse(arg) {
|
8
|
+
if (!(arg instanceof analytic_pb.DepositsResponse)) {
|
9
|
+
throw new Error('Expected argument of type analytic.DepositsResponse');
|
10
|
+
}
|
11
|
+
return Buffer.from(arg.serializeBinary());
|
12
|
+
}
|
13
|
+
|
14
|
+
function deserialize_analytic_DepositsResponse(buffer_arg) {
|
15
|
+
return analytic_pb.DepositsResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
16
|
+
}
|
17
|
+
|
7
18
|
function serialize_analytic_GlobalCasinoResponse(arg) {
|
8
19
|
if (!(arg instanceof analytic_pb.GlobalCasinoResponse)) {
|
9
20
|
throw new Error('Expected argument of type analytic.GlobalCasinoResponse');
|
@@ -96,6 +107,17 @@ getPaymentProvidersStats: {
|
|
96
107
|
responseSerialize: serialize_analytic_PaymentProvidersResponse,
|
97
108
|
responseDeserialize: deserialize_analytic_PaymentProvidersResponse,
|
98
109
|
},
|
110
|
+
getDepositsStats: {
|
111
|
+
path: '/analytic.Analytic/getDepositsStats',
|
112
|
+
requestStream: false,
|
113
|
+
responseStream: false,
|
114
|
+
requestType: analytic_pb.PaginationRequest,
|
115
|
+
responseType: analytic_pb.DepositsResponse,
|
116
|
+
requestSerialize: serialize_analytic_PaginationRequest,
|
117
|
+
requestDeserialize: deserialize_analytic_PaginationRequest,
|
118
|
+
responseSerialize: serialize_analytic_DepositsResponse,
|
119
|
+
responseDeserialize: deserialize_analytic_DepositsResponse,
|
120
|
+
},
|
99
121
|
};
|
100
122
|
|
101
123
|
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.DepositItem', null, global);
|
25
|
+
goog.exportSymbol('proto.analytic.DepositsResponse', null, global);
|
24
26
|
goog.exportSymbol('proto.analytic.GlobalCasinoItem', null, global);
|
25
27
|
goog.exportSymbol('proto.analytic.GlobalCasinoResponse', null, global);
|
26
28
|
goog.exportSymbol('proto.analytic.GlobalSearchRequest', null, global);
|
@@ -197,6 +199,48 @@ if (goog.DEBUG && !COMPILED) {
|
|
197
199
|
*/
|
198
200
|
proto.analytic.PaymentProvidersResponse.displayName = 'proto.analytic.PaymentProvidersResponse';
|
199
201
|
}
|
202
|
+
/**
|
203
|
+
* Generated by JsPbCodeGenerator.
|
204
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
205
|
+
* server response, or constructed directly in Javascript. The array is used
|
206
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
207
|
+
* If no data is provided, the constructed object will be empty, but still
|
208
|
+
* valid.
|
209
|
+
* @extends {jspb.Message}
|
210
|
+
* @constructor
|
211
|
+
*/
|
212
|
+
proto.analytic.DepositItem = function(opt_data) {
|
213
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
214
|
+
};
|
215
|
+
goog.inherits(proto.analytic.DepositItem, jspb.Message);
|
216
|
+
if (goog.DEBUG && !COMPILED) {
|
217
|
+
/**
|
218
|
+
* @public
|
219
|
+
* @override
|
220
|
+
*/
|
221
|
+
proto.analytic.DepositItem.displayName = 'proto.analytic.DepositItem';
|
222
|
+
}
|
223
|
+
/**
|
224
|
+
* Generated by JsPbCodeGenerator.
|
225
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
226
|
+
* server response, or constructed directly in Javascript. The array is used
|
227
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
228
|
+
* If no data is provided, the constructed object will be empty, but still
|
229
|
+
* valid.
|
230
|
+
* @extends {jspb.Message}
|
231
|
+
* @constructor
|
232
|
+
*/
|
233
|
+
proto.analytic.DepositsResponse = function(opt_data) {
|
234
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.analytic.DepositsResponse.repeatedFields_, null);
|
235
|
+
};
|
236
|
+
goog.inherits(proto.analytic.DepositsResponse, jspb.Message);
|
237
|
+
if (goog.DEBUG && !COMPILED) {
|
238
|
+
/**
|
239
|
+
* @public
|
240
|
+
* @override
|
241
|
+
*/
|
242
|
+
proto.analytic.DepositsResponse.displayName = 'proto.analytic.DepositsResponse';
|
243
|
+
}
|
200
244
|
|
201
245
|
|
202
246
|
|
@@ -3124,4 +3168,1062 @@ proto.analytic.PaymentProvidersResponse.prototype.hasTotalItems = function() {
|
|
3124
3168
|
};
|
3125
3169
|
|
3126
3170
|
|
3171
|
+
|
3172
|
+
|
3173
|
+
|
3174
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
3175
|
+
/**
|
3176
|
+
* Creates an object representation of this proto.
|
3177
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
3178
|
+
* Optional fields that are not set will be set to undefined.
|
3179
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
3180
|
+
* For the list of reserved names please see:
|
3181
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
3182
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
3183
|
+
* JSPB instance for transitional soy proto support:
|
3184
|
+
* http://goto/soy-param-migration
|
3185
|
+
* @return {!Object}
|
3186
|
+
*/
|
3187
|
+
proto.analytic.DepositItem.prototype.toObject = function(opt_includeInstance) {
|
3188
|
+
return proto.analytic.DepositItem.toObject(opt_includeInstance, this);
|
3189
|
+
};
|
3190
|
+
|
3191
|
+
|
3192
|
+
/**
|
3193
|
+
* Static version of the {@see toObject} method.
|
3194
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
3195
|
+
* the JSPB instance for transitional soy proto support:
|
3196
|
+
* http://goto/soy-param-migration
|
3197
|
+
* @param {!proto.analytic.DepositItem} msg The msg instance to transform.
|
3198
|
+
* @return {!Object}
|
3199
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
3200
|
+
*/
|
3201
|
+
proto.analytic.DepositItem.toObject = function(includeInstance, msg) {
|
3202
|
+
var f, obj = {
|
3203
|
+
date: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
3204
|
+
totalFtdCount: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
3205
|
+
totalFtdSum: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0),
|
3206
|
+
totalFtdAvg: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0),
|
3207
|
+
totalRedepCount: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
3208
|
+
totalRedepSum: jspb.Message.getFloatingPointFieldWithDefault(msg, 6, 0.0),
|
3209
|
+
totalRedepAvg: jspb.Message.getFloatingPointFieldWithDefault(msg, 7, 0.0),
|
3210
|
+
totalDepCount: jspb.Message.getFieldWithDefault(msg, 8, 0),
|
3211
|
+
totalDepSum: jspb.Message.getFloatingPointFieldWithDefault(msg, 9, 0.0),
|
3212
|
+
totalDepAvg: jspb.Message.getFloatingPointFieldWithDefault(msg, 10, 0.0),
|
3213
|
+
totalPendingCount: jspb.Message.getFieldWithDefault(msg, 11, 0),
|
3214
|
+
totalFailedCount: jspb.Message.getFieldWithDefault(msg, 12, 0),
|
3215
|
+
totalSucceedCount: jspb.Message.getFieldWithDefault(msg, 13, 0),
|
3216
|
+
conversionRate: jspb.Message.getFloatingPointFieldWithDefault(msg, 14, 0.0),
|
3217
|
+
finishRate: jspb.Message.getFloatingPointFieldWithDefault(msg, 15, 0.0)
|
3218
|
+
};
|
3219
|
+
|
3220
|
+
if (includeInstance) {
|
3221
|
+
obj.$jspbMessageInstance = msg;
|
3222
|
+
}
|
3223
|
+
return obj;
|
3224
|
+
};
|
3225
|
+
}
|
3226
|
+
|
3227
|
+
|
3228
|
+
/**
|
3229
|
+
* Deserializes binary data (in protobuf wire format).
|
3230
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
3231
|
+
* @return {!proto.analytic.DepositItem}
|
3232
|
+
*/
|
3233
|
+
proto.analytic.DepositItem.deserializeBinary = function(bytes) {
|
3234
|
+
var reader = new jspb.BinaryReader(bytes);
|
3235
|
+
var msg = new proto.analytic.DepositItem;
|
3236
|
+
return proto.analytic.DepositItem.deserializeBinaryFromReader(msg, reader);
|
3237
|
+
};
|
3238
|
+
|
3239
|
+
|
3240
|
+
/**
|
3241
|
+
* Deserializes binary data (in protobuf wire format) from the
|
3242
|
+
* given reader into the given message object.
|
3243
|
+
* @param {!proto.analytic.DepositItem} msg The message object to deserialize into.
|
3244
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
3245
|
+
* @return {!proto.analytic.DepositItem}
|
3246
|
+
*/
|
3247
|
+
proto.analytic.DepositItem.deserializeBinaryFromReader = function(msg, reader) {
|
3248
|
+
while (reader.nextField()) {
|
3249
|
+
if (reader.isEndGroup()) {
|
3250
|
+
break;
|
3251
|
+
}
|
3252
|
+
var field = reader.getFieldNumber();
|
3253
|
+
switch (field) {
|
3254
|
+
case 1:
|
3255
|
+
var value = /** @type {string} */ (reader.readString());
|
3256
|
+
msg.setDate(value);
|
3257
|
+
break;
|
3258
|
+
case 2:
|
3259
|
+
var value = /** @type {number} */ (reader.readInt32());
|
3260
|
+
msg.setTotalFtdCount(value);
|
3261
|
+
break;
|
3262
|
+
case 3:
|
3263
|
+
var value = /** @type {number} */ (reader.readFloat());
|
3264
|
+
msg.setTotalFtdSum(value);
|
3265
|
+
break;
|
3266
|
+
case 4:
|
3267
|
+
var value = /** @type {number} */ (reader.readFloat());
|
3268
|
+
msg.setTotalFtdAvg(value);
|
3269
|
+
break;
|
3270
|
+
case 5:
|
3271
|
+
var value = /** @type {number} */ (reader.readInt32());
|
3272
|
+
msg.setTotalRedepCount(value);
|
3273
|
+
break;
|
3274
|
+
case 6:
|
3275
|
+
var value = /** @type {number} */ (reader.readFloat());
|
3276
|
+
msg.setTotalRedepSum(value);
|
3277
|
+
break;
|
3278
|
+
case 7:
|
3279
|
+
var value = /** @type {number} */ (reader.readFloat());
|
3280
|
+
msg.setTotalRedepAvg(value);
|
3281
|
+
break;
|
3282
|
+
case 8:
|
3283
|
+
var value = /** @type {number} */ (reader.readInt32());
|
3284
|
+
msg.setTotalDepCount(value);
|
3285
|
+
break;
|
3286
|
+
case 9:
|
3287
|
+
var value = /** @type {number} */ (reader.readFloat());
|
3288
|
+
msg.setTotalDepSum(value);
|
3289
|
+
break;
|
3290
|
+
case 10:
|
3291
|
+
var value = /** @type {number} */ (reader.readFloat());
|
3292
|
+
msg.setTotalDepAvg(value);
|
3293
|
+
break;
|
3294
|
+
case 11:
|
3295
|
+
var value = /** @type {number} */ (reader.readInt32());
|
3296
|
+
msg.setTotalPendingCount(value);
|
3297
|
+
break;
|
3298
|
+
case 12:
|
3299
|
+
var value = /** @type {number} */ (reader.readInt32());
|
3300
|
+
msg.setTotalFailedCount(value);
|
3301
|
+
break;
|
3302
|
+
case 13:
|
3303
|
+
var value = /** @type {number} */ (reader.readInt32());
|
3304
|
+
msg.setTotalSucceedCount(value);
|
3305
|
+
break;
|
3306
|
+
case 14:
|
3307
|
+
var value = /** @type {number} */ (reader.readFloat());
|
3308
|
+
msg.setConversionRate(value);
|
3309
|
+
break;
|
3310
|
+
case 15:
|
3311
|
+
var value = /** @type {number} */ (reader.readFloat());
|
3312
|
+
msg.setFinishRate(value);
|
3313
|
+
break;
|
3314
|
+
default:
|
3315
|
+
reader.skipField();
|
3316
|
+
break;
|
3317
|
+
}
|
3318
|
+
}
|
3319
|
+
return msg;
|
3320
|
+
};
|
3321
|
+
|
3322
|
+
|
3323
|
+
/**
|
3324
|
+
* Serializes the message to binary data (in protobuf wire format).
|
3325
|
+
* @return {!Uint8Array}
|
3326
|
+
*/
|
3327
|
+
proto.analytic.DepositItem.prototype.serializeBinary = function() {
|
3328
|
+
var writer = new jspb.BinaryWriter();
|
3329
|
+
proto.analytic.DepositItem.serializeBinaryToWriter(this, writer);
|
3330
|
+
return writer.getResultBuffer();
|
3331
|
+
};
|
3332
|
+
|
3333
|
+
|
3334
|
+
/**
|
3335
|
+
* Serializes the given message to binary data (in protobuf wire
|
3336
|
+
* format), writing to the given BinaryWriter.
|
3337
|
+
* @param {!proto.analytic.DepositItem} message
|
3338
|
+
* @param {!jspb.BinaryWriter} writer
|
3339
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
3340
|
+
*/
|
3341
|
+
proto.analytic.DepositItem.serializeBinaryToWriter = function(message, writer) {
|
3342
|
+
var f = undefined;
|
3343
|
+
f = message.getDate();
|
3344
|
+
if (f.length > 0) {
|
3345
|
+
writer.writeString(
|
3346
|
+
1,
|
3347
|
+
f
|
3348
|
+
);
|
3349
|
+
}
|
3350
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 2));
|
3351
|
+
if (f != null) {
|
3352
|
+
writer.writeInt32(
|
3353
|
+
2,
|
3354
|
+
f
|
3355
|
+
);
|
3356
|
+
}
|
3357
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 3));
|
3358
|
+
if (f != null) {
|
3359
|
+
writer.writeFloat(
|
3360
|
+
3,
|
3361
|
+
f
|
3362
|
+
);
|
3363
|
+
}
|
3364
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 4));
|
3365
|
+
if (f != null) {
|
3366
|
+
writer.writeFloat(
|
3367
|
+
4,
|
3368
|
+
f
|
3369
|
+
);
|
3370
|
+
}
|
3371
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 5));
|
3372
|
+
if (f != null) {
|
3373
|
+
writer.writeInt32(
|
3374
|
+
5,
|
3375
|
+
f
|
3376
|
+
);
|
3377
|
+
}
|
3378
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 6));
|
3379
|
+
if (f != null) {
|
3380
|
+
writer.writeFloat(
|
3381
|
+
6,
|
3382
|
+
f
|
3383
|
+
);
|
3384
|
+
}
|
3385
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 7));
|
3386
|
+
if (f != null) {
|
3387
|
+
writer.writeFloat(
|
3388
|
+
7,
|
3389
|
+
f
|
3390
|
+
);
|
3391
|
+
}
|
3392
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 8));
|
3393
|
+
if (f != null) {
|
3394
|
+
writer.writeInt32(
|
3395
|
+
8,
|
3396
|
+
f
|
3397
|
+
);
|
3398
|
+
}
|
3399
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 9));
|
3400
|
+
if (f != null) {
|
3401
|
+
writer.writeFloat(
|
3402
|
+
9,
|
3403
|
+
f
|
3404
|
+
);
|
3405
|
+
}
|
3406
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 10));
|
3407
|
+
if (f != null) {
|
3408
|
+
writer.writeFloat(
|
3409
|
+
10,
|
3410
|
+
f
|
3411
|
+
);
|
3412
|
+
}
|
3413
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 11));
|
3414
|
+
if (f != null) {
|
3415
|
+
writer.writeInt32(
|
3416
|
+
11,
|
3417
|
+
f
|
3418
|
+
);
|
3419
|
+
}
|
3420
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 12));
|
3421
|
+
if (f != null) {
|
3422
|
+
writer.writeInt32(
|
3423
|
+
12,
|
3424
|
+
f
|
3425
|
+
);
|
3426
|
+
}
|
3427
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 13));
|
3428
|
+
if (f != null) {
|
3429
|
+
writer.writeInt32(
|
3430
|
+
13,
|
3431
|
+
f
|
3432
|
+
);
|
3433
|
+
}
|
3434
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 14));
|
3435
|
+
if (f != null) {
|
3436
|
+
writer.writeFloat(
|
3437
|
+
14,
|
3438
|
+
f
|
3439
|
+
);
|
3440
|
+
}
|
3441
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 15));
|
3442
|
+
if (f != null) {
|
3443
|
+
writer.writeFloat(
|
3444
|
+
15,
|
3445
|
+
f
|
3446
|
+
);
|
3447
|
+
}
|
3448
|
+
};
|
3449
|
+
|
3450
|
+
|
3451
|
+
/**
|
3452
|
+
* optional string date = 1;
|
3453
|
+
* @return {string}
|
3454
|
+
*/
|
3455
|
+
proto.analytic.DepositItem.prototype.getDate = function() {
|
3456
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
3457
|
+
};
|
3458
|
+
|
3459
|
+
|
3460
|
+
/**
|
3461
|
+
* @param {string} value
|
3462
|
+
* @return {!proto.analytic.DepositItem} returns this
|
3463
|
+
*/
|
3464
|
+
proto.analytic.DepositItem.prototype.setDate = function(value) {
|
3465
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
3466
|
+
};
|
3467
|
+
|
3468
|
+
|
3469
|
+
/**
|
3470
|
+
* optional int32 total_ftd_count = 2;
|
3471
|
+
* @return {number}
|
3472
|
+
*/
|
3473
|
+
proto.analytic.DepositItem.prototype.getTotalFtdCount = function() {
|
3474
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
3475
|
+
};
|
3476
|
+
|
3477
|
+
|
3478
|
+
/**
|
3479
|
+
* @param {number} value
|
3480
|
+
* @return {!proto.analytic.DepositItem} returns this
|
3481
|
+
*/
|
3482
|
+
proto.analytic.DepositItem.prototype.setTotalFtdCount = function(value) {
|
3483
|
+
return jspb.Message.setField(this, 2, value);
|
3484
|
+
};
|
3485
|
+
|
3486
|
+
|
3487
|
+
/**
|
3488
|
+
* Clears the field making it undefined.
|
3489
|
+
* @return {!proto.analytic.DepositItem} returns this
|
3490
|
+
*/
|
3491
|
+
proto.analytic.DepositItem.prototype.clearTotalFtdCount = function() {
|
3492
|
+
return jspb.Message.setField(this, 2, undefined);
|
3493
|
+
};
|
3494
|
+
|
3495
|
+
|
3496
|
+
/**
|
3497
|
+
* Returns whether this field is set.
|
3498
|
+
* @return {boolean}
|
3499
|
+
*/
|
3500
|
+
proto.analytic.DepositItem.prototype.hasTotalFtdCount = function() {
|
3501
|
+
return jspb.Message.getField(this, 2) != null;
|
3502
|
+
};
|
3503
|
+
|
3504
|
+
|
3505
|
+
/**
|
3506
|
+
* optional float total_ftd_sum = 3;
|
3507
|
+
* @return {number}
|
3508
|
+
*/
|
3509
|
+
proto.analytic.DepositItem.prototype.getTotalFtdSum = function() {
|
3510
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 3, 0.0));
|
3511
|
+
};
|
3512
|
+
|
3513
|
+
|
3514
|
+
/**
|
3515
|
+
* @param {number} value
|
3516
|
+
* @return {!proto.analytic.DepositItem} returns this
|
3517
|
+
*/
|
3518
|
+
proto.analytic.DepositItem.prototype.setTotalFtdSum = function(value) {
|
3519
|
+
return jspb.Message.setField(this, 3, value);
|
3520
|
+
};
|
3521
|
+
|
3522
|
+
|
3523
|
+
/**
|
3524
|
+
* Clears the field making it undefined.
|
3525
|
+
* @return {!proto.analytic.DepositItem} returns this
|
3526
|
+
*/
|
3527
|
+
proto.analytic.DepositItem.prototype.clearTotalFtdSum = function() {
|
3528
|
+
return jspb.Message.setField(this, 3, undefined);
|
3529
|
+
};
|
3530
|
+
|
3531
|
+
|
3532
|
+
/**
|
3533
|
+
* Returns whether this field is set.
|
3534
|
+
* @return {boolean}
|
3535
|
+
*/
|
3536
|
+
proto.analytic.DepositItem.prototype.hasTotalFtdSum = function() {
|
3537
|
+
return jspb.Message.getField(this, 3) != null;
|
3538
|
+
};
|
3539
|
+
|
3540
|
+
|
3541
|
+
/**
|
3542
|
+
* optional float total_ftd_avg = 4;
|
3543
|
+
* @return {number}
|
3544
|
+
*/
|
3545
|
+
proto.analytic.DepositItem.prototype.getTotalFtdAvg = function() {
|
3546
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 4, 0.0));
|
3547
|
+
};
|
3548
|
+
|
3549
|
+
|
3550
|
+
/**
|
3551
|
+
* @param {number} value
|
3552
|
+
* @return {!proto.analytic.DepositItem} returns this
|
3553
|
+
*/
|
3554
|
+
proto.analytic.DepositItem.prototype.setTotalFtdAvg = function(value) {
|
3555
|
+
return jspb.Message.setField(this, 4, value);
|
3556
|
+
};
|
3557
|
+
|
3558
|
+
|
3559
|
+
/**
|
3560
|
+
* Clears the field making it undefined.
|
3561
|
+
* @return {!proto.analytic.DepositItem} returns this
|
3562
|
+
*/
|
3563
|
+
proto.analytic.DepositItem.prototype.clearTotalFtdAvg = function() {
|
3564
|
+
return jspb.Message.setField(this, 4, undefined);
|
3565
|
+
};
|
3566
|
+
|
3567
|
+
|
3568
|
+
/**
|
3569
|
+
* Returns whether this field is set.
|
3570
|
+
* @return {boolean}
|
3571
|
+
*/
|
3572
|
+
proto.analytic.DepositItem.prototype.hasTotalFtdAvg = function() {
|
3573
|
+
return jspb.Message.getField(this, 4) != null;
|
3574
|
+
};
|
3575
|
+
|
3576
|
+
|
3577
|
+
/**
|
3578
|
+
* optional int32 total_redep_count = 5;
|
3579
|
+
* @return {number}
|
3580
|
+
*/
|
3581
|
+
proto.analytic.DepositItem.prototype.getTotalRedepCount = function() {
|
3582
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
3583
|
+
};
|
3584
|
+
|
3585
|
+
|
3586
|
+
/**
|
3587
|
+
* @param {number} value
|
3588
|
+
* @return {!proto.analytic.DepositItem} returns this
|
3589
|
+
*/
|
3590
|
+
proto.analytic.DepositItem.prototype.setTotalRedepCount = function(value) {
|
3591
|
+
return jspb.Message.setField(this, 5, value);
|
3592
|
+
};
|
3593
|
+
|
3594
|
+
|
3595
|
+
/**
|
3596
|
+
* Clears the field making it undefined.
|
3597
|
+
* @return {!proto.analytic.DepositItem} returns this
|
3598
|
+
*/
|
3599
|
+
proto.analytic.DepositItem.prototype.clearTotalRedepCount = function() {
|
3600
|
+
return jspb.Message.setField(this, 5, undefined);
|
3601
|
+
};
|
3602
|
+
|
3603
|
+
|
3604
|
+
/**
|
3605
|
+
* Returns whether this field is set.
|
3606
|
+
* @return {boolean}
|
3607
|
+
*/
|
3608
|
+
proto.analytic.DepositItem.prototype.hasTotalRedepCount = function() {
|
3609
|
+
return jspb.Message.getField(this, 5) != null;
|
3610
|
+
};
|
3611
|
+
|
3612
|
+
|
3613
|
+
/**
|
3614
|
+
* optional float total_redep_sum = 6;
|
3615
|
+
* @return {number}
|
3616
|
+
*/
|
3617
|
+
proto.analytic.DepositItem.prototype.getTotalRedepSum = function() {
|
3618
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 6, 0.0));
|
3619
|
+
};
|
3620
|
+
|
3621
|
+
|
3622
|
+
/**
|
3623
|
+
* @param {number} value
|
3624
|
+
* @return {!proto.analytic.DepositItem} returns this
|
3625
|
+
*/
|
3626
|
+
proto.analytic.DepositItem.prototype.setTotalRedepSum = function(value) {
|
3627
|
+
return jspb.Message.setField(this, 6, value);
|
3628
|
+
};
|
3629
|
+
|
3630
|
+
|
3631
|
+
/**
|
3632
|
+
* Clears the field making it undefined.
|
3633
|
+
* @return {!proto.analytic.DepositItem} returns this
|
3634
|
+
*/
|
3635
|
+
proto.analytic.DepositItem.prototype.clearTotalRedepSum = function() {
|
3636
|
+
return jspb.Message.setField(this, 6, undefined);
|
3637
|
+
};
|
3638
|
+
|
3639
|
+
|
3640
|
+
/**
|
3641
|
+
* Returns whether this field is set.
|
3642
|
+
* @return {boolean}
|
3643
|
+
*/
|
3644
|
+
proto.analytic.DepositItem.prototype.hasTotalRedepSum = function() {
|
3645
|
+
return jspb.Message.getField(this, 6) != null;
|
3646
|
+
};
|
3647
|
+
|
3648
|
+
|
3649
|
+
/**
|
3650
|
+
* optional float total_redep_avg = 7;
|
3651
|
+
* @return {number}
|
3652
|
+
*/
|
3653
|
+
proto.analytic.DepositItem.prototype.getTotalRedepAvg = function() {
|
3654
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 7, 0.0));
|
3655
|
+
};
|
3656
|
+
|
3657
|
+
|
3658
|
+
/**
|
3659
|
+
* @param {number} value
|
3660
|
+
* @return {!proto.analytic.DepositItem} returns this
|
3661
|
+
*/
|
3662
|
+
proto.analytic.DepositItem.prototype.setTotalRedepAvg = function(value) {
|
3663
|
+
return jspb.Message.setField(this, 7, value);
|
3664
|
+
};
|
3665
|
+
|
3666
|
+
|
3667
|
+
/**
|
3668
|
+
* Clears the field making it undefined.
|
3669
|
+
* @return {!proto.analytic.DepositItem} returns this
|
3670
|
+
*/
|
3671
|
+
proto.analytic.DepositItem.prototype.clearTotalRedepAvg = function() {
|
3672
|
+
return jspb.Message.setField(this, 7, undefined);
|
3673
|
+
};
|
3674
|
+
|
3675
|
+
|
3676
|
+
/**
|
3677
|
+
* Returns whether this field is set.
|
3678
|
+
* @return {boolean}
|
3679
|
+
*/
|
3680
|
+
proto.analytic.DepositItem.prototype.hasTotalRedepAvg = function() {
|
3681
|
+
return jspb.Message.getField(this, 7) != null;
|
3682
|
+
};
|
3683
|
+
|
3684
|
+
|
3685
|
+
/**
|
3686
|
+
* optional int32 total_dep_count = 8;
|
3687
|
+
* @return {number}
|
3688
|
+
*/
|
3689
|
+
proto.analytic.DepositItem.prototype.getTotalDepCount = function() {
|
3690
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0));
|
3691
|
+
};
|
3692
|
+
|
3693
|
+
|
3694
|
+
/**
|
3695
|
+
* @param {number} value
|
3696
|
+
* @return {!proto.analytic.DepositItem} returns this
|
3697
|
+
*/
|
3698
|
+
proto.analytic.DepositItem.prototype.setTotalDepCount = function(value) {
|
3699
|
+
return jspb.Message.setField(this, 8, value);
|
3700
|
+
};
|
3701
|
+
|
3702
|
+
|
3703
|
+
/**
|
3704
|
+
* Clears the field making it undefined.
|
3705
|
+
* @return {!proto.analytic.DepositItem} returns this
|
3706
|
+
*/
|
3707
|
+
proto.analytic.DepositItem.prototype.clearTotalDepCount = function() {
|
3708
|
+
return jspb.Message.setField(this, 8, undefined);
|
3709
|
+
};
|
3710
|
+
|
3711
|
+
|
3712
|
+
/**
|
3713
|
+
* Returns whether this field is set.
|
3714
|
+
* @return {boolean}
|
3715
|
+
*/
|
3716
|
+
proto.analytic.DepositItem.prototype.hasTotalDepCount = function() {
|
3717
|
+
return jspb.Message.getField(this, 8) != null;
|
3718
|
+
};
|
3719
|
+
|
3720
|
+
|
3721
|
+
/**
|
3722
|
+
* optional float total_dep_sum = 9;
|
3723
|
+
* @return {number}
|
3724
|
+
*/
|
3725
|
+
proto.analytic.DepositItem.prototype.getTotalDepSum = function() {
|
3726
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 9, 0.0));
|
3727
|
+
};
|
3728
|
+
|
3729
|
+
|
3730
|
+
/**
|
3731
|
+
* @param {number} value
|
3732
|
+
* @return {!proto.analytic.DepositItem} returns this
|
3733
|
+
*/
|
3734
|
+
proto.analytic.DepositItem.prototype.setTotalDepSum = function(value) {
|
3735
|
+
return jspb.Message.setField(this, 9, value);
|
3736
|
+
};
|
3737
|
+
|
3738
|
+
|
3739
|
+
/**
|
3740
|
+
* Clears the field making it undefined.
|
3741
|
+
* @return {!proto.analytic.DepositItem} returns this
|
3742
|
+
*/
|
3743
|
+
proto.analytic.DepositItem.prototype.clearTotalDepSum = function() {
|
3744
|
+
return jspb.Message.setField(this, 9, undefined);
|
3745
|
+
};
|
3746
|
+
|
3747
|
+
|
3748
|
+
/**
|
3749
|
+
* Returns whether this field is set.
|
3750
|
+
* @return {boolean}
|
3751
|
+
*/
|
3752
|
+
proto.analytic.DepositItem.prototype.hasTotalDepSum = function() {
|
3753
|
+
return jspb.Message.getField(this, 9) != null;
|
3754
|
+
};
|
3755
|
+
|
3756
|
+
|
3757
|
+
/**
|
3758
|
+
* optional float total_dep_avg = 10;
|
3759
|
+
* @return {number}
|
3760
|
+
*/
|
3761
|
+
proto.analytic.DepositItem.prototype.getTotalDepAvg = function() {
|
3762
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 10, 0.0));
|
3763
|
+
};
|
3764
|
+
|
3765
|
+
|
3766
|
+
/**
|
3767
|
+
* @param {number} value
|
3768
|
+
* @return {!proto.analytic.DepositItem} returns this
|
3769
|
+
*/
|
3770
|
+
proto.analytic.DepositItem.prototype.setTotalDepAvg = function(value) {
|
3771
|
+
return jspb.Message.setField(this, 10, value);
|
3772
|
+
};
|
3773
|
+
|
3774
|
+
|
3775
|
+
/**
|
3776
|
+
* Clears the field making it undefined.
|
3777
|
+
* @return {!proto.analytic.DepositItem} returns this
|
3778
|
+
*/
|
3779
|
+
proto.analytic.DepositItem.prototype.clearTotalDepAvg = function() {
|
3780
|
+
return jspb.Message.setField(this, 10, undefined);
|
3781
|
+
};
|
3782
|
+
|
3783
|
+
|
3784
|
+
/**
|
3785
|
+
* Returns whether this field is set.
|
3786
|
+
* @return {boolean}
|
3787
|
+
*/
|
3788
|
+
proto.analytic.DepositItem.prototype.hasTotalDepAvg = function() {
|
3789
|
+
return jspb.Message.getField(this, 10) != null;
|
3790
|
+
};
|
3791
|
+
|
3792
|
+
|
3793
|
+
/**
|
3794
|
+
* optional int32 total_pending_count = 11;
|
3795
|
+
* @return {number}
|
3796
|
+
*/
|
3797
|
+
proto.analytic.DepositItem.prototype.getTotalPendingCount = function() {
|
3798
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 11, 0));
|
3799
|
+
};
|
3800
|
+
|
3801
|
+
|
3802
|
+
/**
|
3803
|
+
* @param {number} value
|
3804
|
+
* @return {!proto.analytic.DepositItem} returns this
|
3805
|
+
*/
|
3806
|
+
proto.analytic.DepositItem.prototype.setTotalPendingCount = function(value) {
|
3807
|
+
return jspb.Message.setField(this, 11, value);
|
3808
|
+
};
|
3809
|
+
|
3810
|
+
|
3811
|
+
/**
|
3812
|
+
* Clears the field making it undefined.
|
3813
|
+
* @return {!proto.analytic.DepositItem} returns this
|
3814
|
+
*/
|
3815
|
+
proto.analytic.DepositItem.prototype.clearTotalPendingCount = function() {
|
3816
|
+
return jspb.Message.setField(this, 11, undefined);
|
3817
|
+
};
|
3818
|
+
|
3819
|
+
|
3820
|
+
/**
|
3821
|
+
* Returns whether this field is set.
|
3822
|
+
* @return {boolean}
|
3823
|
+
*/
|
3824
|
+
proto.analytic.DepositItem.prototype.hasTotalPendingCount = function() {
|
3825
|
+
return jspb.Message.getField(this, 11) != null;
|
3826
|
+
};
|
3827
|
+
|
3828
|
+
|
3829
|
+
/**
|
3830
|
+
* optional int32 total_failed_count = 12;
|
3831
|
+
* @return {number}
|
3832
|
+
*/
|
3833
|
+
proto.analytic.DepositItem.prototype.getTotalFailedCount = function() {
|
3834
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 12, 0));
|
3835
|
+
};
|
3836
|
+
|
3837
|
+
|
3838
|
+
/**
|
3839
|
+
* @param {number} value
|
3840
|
+
* @return {!proto.analytic.DepositItem} returns this
|
3841
|
+
*/
|
3842
|
+
proto.analytic.DepositItem.prototype.setTotalFailedCount = function(value) {
|
3843
|
+
return jspb.Message.setField(this, 12, value);
|
3844
|
+
};
|
3845
|
+
|
3846
|
+
|
3847
|
+
/**
|
3848
|
+
* Clears the field making it undefined.
|
3849
|
+
* @return {!proto.analytic.DepositItem} returns this
|
3850
|
+
*/
|
3851
|
+
proto.analytic.DepositItem.prototype.clearTotalFailedCount = function() {
|
3852
|
+
return jspb.Message.setField(this, 12, undefined);
|
3853
|
+
};
|
3854
|
+
|
3855
|
+
|
3856
|
+
/**
|
3857
|
+
* Returns whether this field is set.
|
3858
|
+
* @return {boolean}
|
3859
|
+
*/
|
3860
|
+
proto.analytic.DepositItem.prototype.hasTotalFailedCount = function() {
|
3861
|
+
return jspb.Message.getField(this, 12) != null;
|
3862
|
+
};
|
3863
|
+
|
3864
|
+
|
3865
|
+
/**
|
3866
|
+
* optional int32 total_succeed_count = 13;
|
3867
|
+
* @return {number}
|
3868
|
+
*/
|
3869
|
+
proto.analytic.DepositItem.prototype.getTotalSucceedCount = function() {
|
3870
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 13, 0));
|
3871
|
+
};
|
3872
|
+
|
3873
|
+
|
3874
|
+
/**
|
3875
|
+
* @param {number} value
|
3876
|
+
* @return {!proto.analytic.DepositItem} returns this
|
3877
|
+
*/
|
3878
|
+
proto.analytic.DepositItem.prototype.setTotalSucceedCount = function(value) {
|
3879
|
+
return jspb.Message.setField(this, 13, value);
|
3880
|
+
};
|
3881
|
+
|
3882
|
+
|
3883
|
+
/**
|
3884
|
+
* Clears the field making it undefined.
|
3885
|
+
* @return {!proto.analytic.DepositItem} returns this
|
3886
|
+
*/
|
3887
|
+
proto.analytic.DepositItem.prototype.clearTotalSucceedCount = function() {
|
3888
|
+
return jspb.Message.setField(this, 13, undefined);
|
3889
|
+
};
|
3890
|
+
|
3891
|
+
|
3892
|
+
/**
|
3893
|
+
* Returns whether this field is set.
|
3894
|
+
* @return {boolean}
|
3895
|
+
*/
|
3896
|
+
proto.analytic.DepositItem.prototype.hasTotalSucceedCount = function() {
|
3897
|
+
return jspb.Message.getField(this, 13) != null;
|
3898
|
+
};
|
3899
|
+
|
3900
|
+
|
3901
|
+
/**
|
3902
|
+
* optional float conversion_rate = 14;
|
3903
|
+
* @return {number}
|
3904
|
+
*/
|
3905
|
+
proto.analytic.DepositItem.prototype.getConversionRate = function() {
|
3906
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 14, 0.0));
|
3907
|
+
};
|
3908
|
+
|
3909
|
+
|
3910
|
+
/**
|
3911
|
+
* @param {number} value
|
3912
|
+
* @return {!proto.analytic.DepositItem} returns this
|
3913
|
+
*/
|
3914
|
+
proto.analytic.DepositItem.prototype.setConversionRate = function(value) {
|
3915
|
+
return jspb.Message.setField(this, 14, value);
|
3916
|
+
};
|
3917
|
+
|
3918
|
+
|
3919
|
+
/**
|
3920
|
+
* Clears the field making it undefined.
|
3921
|
+
* @return {!proto.analytic.DepositItem} returns this
|
3922
|
+
*/
|
3923
|
+
proto.analytic.DepositItem.prototype.clearConversionRate = function() {
|
3924
|
+
return jspb.Message.setField(this, 14, undefined);
|
3925
|
+
};
|
3926
|
+
|
3927
|
+
|
3928
|
+
/**
|
3929
|
+
* Returns whether this field is set.
|
3930
|
+
* @return {boolean}
|
3931
|
+
*/
|
3932
|
+
proto.analytic.DepositItem.prototype.hasConversionRate = function() {
|
3933
|
+
return jspb.Message.getField(this, 14) != null;
|
3934
|
+
};
|
3935
|
+
|
3936
|
+
|
3937
|
+
/**
|
3938
|
+
* optional float finish_rate = 15;
|
3939
|
+
* @return {number}
|
3940
|
+
*/
|
3941
|
+
proto.analytic.DepositItem.prototype.getFinishRate = function() {
|
3942
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 15, 0.0));
|
3943
|
+
};
|
3944
|
+
|
3945
|
+
|
3946
|
+
/**
|
3947
|
+
* @param {number} value
|
3948
|
+
* @return {!proto.analytic.DepositItem} returns this
|
3949
|
+
*/
|
3950
|
+
proto.analytic.DepositItem.prototype.setFinishRate = function(value) {
|
3951
|
+
return jspb.Message.setField(this, 15, value);
|
3952
|
+
};
|
3953
|
+
|
3954
|
+
|
3955
|
+
/**
|
3956
|
+
* Clears the field making it undefined.
|
3957
|
+
* @return {!proto.analytic.DepositItem} returns this
|
3958
|
+
*/
|
3959
|
+
proto.analytic.DepositItem.prototype.clearFinishRate = function() {
|
3960
|
+
return jspb.Message.setField(this, 15, undefined);
|
3961
|
+
};
|
3962
|
+
|
3963
|
+
|
3964
|
+
/**
|
3965
|
+
* Returns whether this field is set.
|
3966
|
+
* @return {boolean}
|
3967
|
+
*/
|
3968
|
+
proto.analytic.DepositItem.prototype.hasFinishRate = function() {
|
3969
|
+
return jspb.Message.getField(this, 15) != null;
|
3970
|
+
};
|
3971
|
+
|
3972
|
+
|
3973
|
+
|
3974
|
+
/**
|
3975
|
+
* List of repeated fields within this message type.
|
3976
|
+
* @private {!Array<number>}
|
3977
|
+
* @const
|
3978
|
+
*/
|
3979
|
+
proto.analytic.DepositsResponse.repeatedFields_ = [1];
|
3980
|
+
|
3981
|
+
|
3982
|
+
|
3983
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
3984
|
+
/**
|
3985
|
+
* Creates an object representation of this proto.
|
3986
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
3987
|
+
* Optional fields that are not set will be set to undefined.
|
3988
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
3989
|
+
* For the list of reserved names please see:
|
3990
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
3991
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
3992
|
+
* JSPB instance for transitional soy proto support:
|
3993
|
+
* http://goto/soy-param-migration
|
3994
|
+
* @return {!Object}
|
3995
|
+
*/
|
3996
|
+
proto.analytic.DepositsResponse.prototype.toObject = function(opt_includeInstance) {
|
3997
|
+
return proto.analytic.DepositsResponse.toObject(opt_includeInstance, this);
|
3998
|
+
};
|
3999
|
+
|
4000
|
+
|
4001
|
+
/**
|
4002
|
+
* Static version of the {@see toObject} method.
|
4003
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
4004
|
+
* the JSPB instance for transitional soy proto support:
|
4005
|
+
* http://goto/soy-param-migration
|
4006
|
+
* @param {!proto.analytic.DepositsResponse} msg The msg instance to transform.
|
4007
|
+
* @return {!Object}
|
4008
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
4009
|
+
*/
|
4010
|
+
proto.analytic.DepositsResponse.toObject = function(includeInstance, msg) {
|
4011
|
+
var f, obj = {
|
4012
|
+
itemsList: jspb.Message.toObjectList(msg.getItemsList(),
|
4013
|
+
proto.analytic.DepositItem.toObject, includeInstance),
|
4014
|
+
totalPages: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
4015
|
+
totalItems: jspb.Message.getFieldWithDefault(msg, 3, 0)
|
4016
|
+
};
|
4017
|
+
|
4018
|
+
if (includeInstance) {
|
4019
|
+
obj.$jspbMessageInstance = msg;
|
4020
|
+
}
|
4021
|
+
return obj;
|
4022
|
+
};
|
4023
|
+
}
|
4024
|
+
|
4025
|
+
|
4026
|
+
/**
|
4027
|
+
* Deserializes binary data (in protobuf wire format).
|
4028
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
4029
|
+
* @return {!proto.analytic.DepositsResponse}
|
4030
|
+
*/
|
4031
|
+
proto.analytic.DepositsResponse.deserializeBinary = function(bytes) {
|
4032
|
+
var reader = new jspb.BinaryReader(bytes);
|
4033
|
+
var msg = new proto.analytic.DepositsResponse;
|
4034
|
+
return proto.analytic.DepositsResponse.deserializeBinaryFromReader(msg, reader);
|
4035
|
+
};
|
4036
|
+
|
4037
|
+
|
4038
|
+
/**
|
4039
|
+
* Deserializes binary data (in protobuf wire format) from the
|
4040
|
+
* given reader into the given message object.
|
4041
|
+
* @param {!proto.analytic.DepositsResponse} msg The message object to deserialize into.
|
4042
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
4043
|
+
* @return {!proto.analytic.DepositsResponse}
|
4044
|
+
*/
|
4045
|
+
proto.analytic.DepositsResponse.deserializeBinaryFromReader = function(msg, reader) {
|
4046
|
+
while (reader.nextField()) {
|
4047
|
+
if (reader.isEndGroup()) {
|
4048
|
+
break;
|
4049
|
+
}
|
4050
|
+
var field = reader.getFieldNumber();
|
4051
|
+
switch (field) {
|
4052
|
+
case 1:
|
4053
|
+
var value = new proto.analytic.DepositItem;
|
4054
|
+
reader.readMessage(value,proto.analytic.DepositItem.deserializeBinaryFromReader);
|
4055
|
+
msg.addItems(value);
|
4056
|
+
break;
|
4057
|
+
case 2:
|
4058
|
+
var value = /** @type {number} */ (reader.readInt32());
|
4059
|
+
msg.setTotalPages(value);
|
4060
|
+
break;
|
4061
|
+
case 3:
|
4062
|
+
var value = /** @type {number} */ (reader.readInt32());
|
4063
|
+
msg.setTotalItems(value);
|
4064
|
+
break;
|
4065
|
+
default:
|
4066
|
+
reader.skipField();
|
4067
|
+
break;
|
4068
|
+
}
|
4069
|
+
}
|
4070
|
+
return msg;
|
4071
|
+
};
|
4072
|
+
|
4073
|
+
|
4074
|
+
/**
|
4075
|
+
* Serializes the message to binary data (in protobuf wire format).
|
4076
|
+
* @return {!Uint8Array}
|
4077
|
+
*/
|
4078
|
+
proto.analytic.DepositsResponse.prototype.serializeBinary = function() {
|
4079
|
+
var writer = new jspb.BinaryWriter();
|
4080
|
+
proto.analytic.DepositsResponse.serializeBinaryToWriter(this, writer);
|
4081
|
+
return writer.getResultBuffer();
|
4082
|
+
};
|
4083
|
+
|
4084
|
+
|
4085
|
+
/**
|
4086
|
+
* Serializes the given message to binary data (in protobuf wire
|
4087
|
+
* format), writing to the given BinaryWriter.
|
4088
|
+
* @param {!proto.analytic.DepositsResponse} message
|
4089
|
+
* @param {!jspb.BinaryWriter} writer
|
4090
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
4091
|
+
*/
|
4092
|
+
proto.analytic.DepositsResponse.serializeBinaryToWriter = function(message, writer) {
|
4093
|
+
var f = undefined;
|
4094
|
+
f = message.getItemsList();
|
4095
|
+
if (f.length > 0) {
|
4096
|
+
writer.writeRepeatedMessage(
|
4097
|
+
1,
|
4098
|
+
f,
|
4099
|
+
proto.analytic.DepositItem.serializeBinaryToWriter
|
4100
|
+
);
|
4101
|
+
}
|
4102
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 2));
|
4103
|
+
if (f != null) {
|
4104
|
+
writer.writeInt32(
|
4105
|
+
2,
|
4106
|
+
f
|
4107
|
+
);
|
4108
|
+
}
|
4109
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 3));
|
4110
|
+
if (f != null) {
|
4111
|
+
writer.writeInt32(
|
4112
|
+
3,
|
4113
|
+
f
|
4114
|
+
);
|
4115
|
+
}
|
4116
|
+
};
|
4117
|
+
|
4118
|
+
|
4119
|
+
/**
|
4120
|
+
* repeated DepositItem items = 1;
|
4121
|
+
* @return {!Array<!proto.analytic.DepositItem>}
|
4122
|
+
*/
|
4123
|
+
proto.analytic.DepositsResponse.prototype.getItemsList = function() {
|
4124
|
+
return /** @type{!Array<!proto.analytic.DepositItem>} */ (
|
4125
|
+
jspb.Message.getRepeatedWrapperField(this, proto.analytic.DepositItem, 1));
|
4126
|
+
};
|
4127
|
+
|
4128
|
+
|
4129
|
+
/**
|
4130
|
+
* @param {!Array<!proto.analytic.DepositItem>} value
|
4131
|
+
* @return {!proto.analytic.DepositsResponse} returns this
|
4132
|
+
*/
|
4133
|
+
proto.analytic.DepositsResponse.prototype.setItemsList = function(value) {
|
4134
|
+
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
4135
|
+
};
|
4136
|
+
|
4137
|
+
|
4138
|
+
/**
|
4139
|
+
* @param {!proto.analytic.DepositItem=} opt_value
|
4140
|
+
* @param {number=} opt_index
|
4141
|
+
* @return {!proto.analytic.DepositItem}
|
4142
|
+
*/
|
4143
|
+
proto.analytic.DepositsResponse.prototype.addItems = function(opt_value, opt_index) {
|
4144
|
+
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.analytic.DepositItem, opt_index);
|
4145
|
+
};
|
4146
|
+
|
4147
|
+
|
4148
|
+
/**
|
4149
|
+
* Clears the list making it empty but non-null.
|
4150
|
+
* @return {!proto.analytic.DepositsResponse} returns this
|
4151
|
+
*/
|
4152
|
+
proto.analytic.DepositsResponse.prototype.clearItemsList = function() {
|
4153
|
+
return this.setItemsList([]);
|
4154
|
+
};
|
4155
|
+
|
4156
|
+
|
4157
|
+
/**
|
4158
|
+
* optional int32 total_pages = 2;
|
4159
|
+
* @return {number}
|
4160
|
+
*/
|
4161
|
+
proto.analytic.DepositsResponse.prototype.getTotalPages = function() {
|
4162
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
4163
|
+
};
|
4164
|
+
|
4165
|
+
|
4166
|
+
/**
|
4167
|
+
* @param {number} value
|
4168
|
+
* @return {!proto.analytic.DepositsResponse} returns this
|
4169
|
+
*/
|
4170
|
+
proto.analytic.DepositsResponse.prototype.setTotalPages = function(value) {
|
4171
|
+
return jspb.Message.setField(this, 2, value);
|
4172
|
+
};
|
4173
|
+
|
4174
|
+
|
4175
|
+
/**
|
4176
|
+
* Clears the field making it undefined.
|
4177
|
+
* @return {!proto.analytic.DepositsResponse} returns this
|
4178
|
+
*/
|
4179
|
+
proto.analytic.DepositsResponse.prototype.clearTotalPages = function() {
|
4180
|
+
return jspb.Message.setField(this, 2, undefined);
|
4181
|
+
};
|
4182
|
+
|
4183
|
+
|
4184
|
+
/**
|
4185
|
+
* Returns whether this field is set.
|
4186
|
+
* @return {boolean}
|
4187
|
+
*/
|
4188
|
+
proto.analytic.DepositsResponse.prototype.hasTotalPages = function() {
|
4189
|
+
return jspb.Message.getField(this, 2) != null;
|
4190
|
+
};
|
4191
|
+
|
4192
|
+
|
4193
|
+
/**
|
4194
|
+
* optional int32 total_items = 3;
|
4195
|
+
* @return {number}
|
4196
|
+
*/
|
4197
|
+
proto.analytic.DepositsResponse.prototype.getTotalItems = function() {
|
4198
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
4199
|
+
};
|
4200
|
+
|
4201
|
+
|
4202
|
+
/**
|
4203
|
+
* @param {number} value
|
4204
|
+
* @return {!proto.analytic.DepositsResponse} returns this
|
4205
|
+
*/
|
4206
|
+
proto.analytic.DepositsResponse.prototype.setTotalItems = function(value) {
|
4207
|
+
return jspb.Message.setField(this, 3, value);
|
4208
|
+
};
|
4209
|
+
|
4210
|
+
|
4211
|
+
/**
|
4212
|
+
* Clears the field making it undefined.
|
4213
|
+
* @return {!proto.analytic.DepositsResponse} returns this
|
4214
|
+
*/
|
4215
|
+
proto.analytic.DepositsResponse.prototype.clearTotalItems = function() {
|
4216
|
+
return jspb.Message.setField(this, 3, undefined);
|
4217
|
+
};
|
4218
|
+
|
4219
|
+
|
4220
|
+
/**
|
4221
|
+
* Returns whether this field is set.
|
4222
|
+
* @return {boolean}
|
4223
|
+
*/
|
4224
|
+
proto.analytic.DepositsResponse.prototype.hasTotalItems = function() {
|
4225
|
+
return jspb.Message.getField(this, 3) != null;
|
4226
|
+
};
|
4227
|
+
|
4228
|
+
|
3127
4229
|
goog.object.extend(exports, proto.analytic);
|