protobuf-platform 1.0.174 → 1.0.176
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/index.js +6 -0
- package/loyalty/loyalty.proto +27 -8
- package/loyalty/loyalty_pb.js +1063 -209
- package/notification/notification.proto +26 -0
- package/notification/notification_grpc_pb.js +83 -0
- package/notification/notification_pb.js +1185 -0
- package/package.json +1 -1
- package/update_protobuf.sh +2 -1
package/loyalty/loyalty_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.loyalty.BetPoint', null, global);
|
25
|
+
goog.exportSymbol('proto.loyalty.DepositPoint', null, global);
|
24
26
|
goog.exportSymbol('proto.loyalty.File', null, global);
|
25
27
|
goog.exportSymbol('proto.loyalty.GetFileRequest', null, global);
|
26
28
|
goog.exportSymbol('proto.loyalty.GetLevelRequest', null, global);
|
@@ -41,6 +43,7 @@ goog.exportSymbol('proto.loyalty.PointRequest', null, global);
|
|
41
43
|
goog.exportSymbol('proto.loyalty.PointResponse', null, global);
|
42
44
|
goog.exportSymbol('proto.loyalty.PointStatusResponse', null, global);
|
43
45
|
goog.exportSymbol('proto.loyalty.PongResponse', null, global);
|
46
|
+
goog.exportSymbol('proto.loyalty.SignUpPoint', null, global);
|
44
47
|
/**
|
45
48
|
* Generated by JsPbCodeGenerator.
|
46
49
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
@@ -324,9 +327,72 @@ if (goog.DEBUG && !COMPILED) {
|
|
324
327
|
* @extends {jspb.Message}
|
325
328
|
* @constructor
|
326
329
|
*/
|
327
|
-
proto.loyalty.
|
330
|
+
proto.loyalty.SignUpPoint = function(opt_data) {
|
331
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
332
|
+
};
|
333
|
+
goog.inherits(proto.loyalty.SignUpPoint, jspb.Message);
|
334
|
+
if (goog.DEBUG && !COMPILED) {
|
335
|
+
/**
|
336
|
+
* @public
|
337
|
+
* @override
|
338
|
+
*/
|
339
|
+
proto.loyalty.SignUpPoint.displayName = 'proto.loyalty.SignUpPoint';
|
340
|
+
}
|
341
|
+
/**
|
342
|
+
* Generated by JsPbCodeGenerator.
|
343
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
344
|
+
* server response, or constructed directly in Javascript. The array is used
|
345
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
346
|
+
* If no data is provided, the constructed object will be empty, but still
|
347
|
+
* valid.
|
348
|
+
* @extends {jspb.Message}
|
349
|
+
* @constructor
|
350
|
+
*/
|
351
|
+
proto.loyalty.DepositPoint = function(opt_data) {
|
352
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
353
|
+
};
|
354
|
+
goog.inherits(proto.loyalty.DepositPoint, jspb.Message);
|
355
|
+
if (goog.DEBUG && !COMPILED) {
|
356
|
+
/**
|
357
|
+
* @public
|
358
|
+
* @override
|
359
|
+
*/
|
360
|
+
proto.loyalty.DepositPoint.displayName = 'proto.loyalty.DepositPoint';
|
361
|
+
}
|
362
|
+
/**
|
363
|
+
* Generated by JsPbCodeGenerator.
|
364
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
365
|
+
* server response, or constructed directly in Javascript. The array is used
|
366
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
367
|
+
* If no data is provided, the constructed object will be empty, but still
|
368
|
+
* valid.
|
369
|
+
* @extends {jspb.Message}
|
370
|
+
* @constructor
|
371
|
+
*/
|
372
|
+
proto.loyalty.BetPoint = function(opt_data) {
|
328
373
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
329
374
|
};
|
375
|
+
goog.inherits(proto.loyalty.BetPoint, jspb.Message);
|
376
|
+
if (goog.DEBUG && !COMPILED) {
|
377
|
+
/**
|
378
|
+
* @public
|
379
|
+
* @override
|
380
|
+
*/
|
381
|
+
proto.loyalty.BetPoint.displayName = 'proto.loyalty.BetPoint';
|
382
|
+
}
|
383
|
+
/**
|
384
|
+
* Generated by JsPbCodeGenerator.
|
385
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
386
|
+
* server response, or constructed directly in Javascript. The array is used
|
387
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
388
|
+
* If no data is provided, the constructed object will be empty, but still
|
389
|
+
* valid.
|
390
|
+
* @extends {jspb.Message}
|
391
|
+
* @constructor
|
392
|
+
*/
|
393
|
+
proto.loyalty.PointItem = function(opt_data) {
|
394
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.loyalty.PointItem.repeatedFields_, null);
|
395
|
+
};
|
330
396
|
goog.inherits(proto.loyalty.PointItem, jspb.Message);
|
331
397
|
if (goog.DEBUG && !COMPILED) {
|
332
398
|
/**
|
@@ -346,7 +412,7 @@ if (goog.DEBUG && !COMPILED) {
|
|
346
412
|
* @constructor
|
347
413
|
*/
|
348
414
|
proto.loyalty.PointRequest = function(opt_data) {
|
349
|
-
jspb.Message.initialize(this, opt_data, 0, -1,
|
415
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.loyalty.PointRequest.repeatedFields_, null);
|
350
416
|
};
|
351
417
|
goog.inherits(proto.loyalty.PointRequest, jspb.Message);
|
352
418
|
if (goog.DEBUG && !COMPILED) {
|
@@ -3300,8 +3366,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
3300
3366
|
* http://goto/soy-param-migration
|
3301
3367
|
* @return {!Object}
|
3302
3368
|
*/
|
3303
|
-
proto.loyalty.
|
3304
|
-
return proto.loyalty.
|
3369
|
+
proto.loyalty.SignUpPoint.prototype.toObject = function(opt_includeInstance) {
|
3370
|
+
return proto.loyalty.SignUpPoint.toObject(opt_includeInstance, this);
|
3305
3371
|
};
|
3306
3372
|
|
3307
3373
|
|
@@ -3310,17 +3376,14 @@ proto.loyalty.PointItem.prototype.toObject = function(opt_includeInstance) {
|
|
3310
3376
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
3311
3377
|
* the JSPB instance for transitional soy proto support:
|
3312
3378
|
* http://goto/soy-param-migration
|
3313
|
-
* @param {!proto.loyalty.
|
3379
|
+
* @param {!proto.loyalty.SignUpPoint} msg The msg instance to transform.
|
3314
3380
|
* @return {!Object}
|
3315
3381
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
3316
3382
|
*/
|
3317
|
-
proto.loyalty.
|
3383
|
+
proto.loyalty.SignUpPoint.toObject = function(includeInstance, msg) {
|
3318
3384
|
var f, obj = {
|
3319
|
-
|
3320
|
-
|
3321
|
-
description: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
3322
|
-
isActive: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
3323
|
-
rewardAmount: jspb.Message.getFieldWithDefault(msg, 5, 0)
|
3385
|
+
country: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
3386
|
+
points: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
3324
3387
|
};
|
3325
3388
|
|
3326
3389
|
if (includeInstance) {
|
@@ -3334,23 +3397,23 @@ proto.loyalty.PointItem.toObject = function(includeInstance, msg) {
|
|
3334
3397
|
/**
|
3335
3398
|
* Deserializes binary data (in protobuf wire format).
|
3336
3399
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
3337
|
-
* @return {!proto.loyalty.
|
3400
|
+
* @return {!proto.loyalty.SignUpPoint}
|
3338
3401
|
*/
|
3339
|
-
proto.loyalty.
|
3402
|
+
proto.loyalty.SignUpPoint.deserializeBinary = function(bytes) {
|
3340
3403
|
var reader = new jspb.BinaryReader(bytes);
|
3341
|
-
var msg = new proto.loyalty.
|
3342
|
-
return proto.loyalty.
|
3404
|
+
var msg = new proto.loyalty.SignUpPoint;
|
3405
|
+
return proto.loyalty.SignUpPoint.deserializeBinaryFromReader(msg, reader);
|
3343
3406
|
};
|
3344
3407
|
|
3345
3408
|
|
3346
3409
|
/**
|
3347
3410
|
* Deserializes binary data (in protobuf wire format) from the
|
3348
3411
|
* given reader into the given message object.
|
3349
|
-
* @param {!proto.loyalty.
|
3412
|
+
* @param {!proto.loyalty.SignUpPoint} msg The message object to deserialize into.
|
3350
3413
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
3351
|
-
* @return {!proto.loyalty.
|
3414
|
+
* @return {!proto.loyalty.SignUpPoint}
|
3352
3415
|
*/
|
3353
|
-
proto.loyalty.
|
3416
|
+
proto.loyalty.SignUpPoint.deserializeBinaryFromReader = function(msg, reader) {
|
3354
3417
|
while (reader.nextField()) {
|
3355
3418
|
if (reader.isEndGroup()) {
|
3356
3419
|
break;
|
@@ -3358,24 +3421,12 @@ proto.loyalty.PointItem.deserializeBinaryFromReader = function(msg, reader) {
|
|
3358
3421
|
var field = reader.getFieldNumber();
|
3359
3422
|
switch (field) {
|
3360
3423
|
case 1:
|
3361
|
-
var value = /** @type {number} */ (reader.readInt32());
|
3362
|
-
msg.setId(value);
|
3363
|
-
break;
|
3364
|
-
case 2:
|
3365
3424
|
var value = /** @type {string} */ (reader.readString());
|
3366
|
-
msg.
|
3367
|
-
break;
|
3368
|
-
case 3:
|
3369
|
-
var value = /** @type {string} */ (reader.readString());
|
3370
|
-
msg.setDescription(value);
|
3371
|
-
break;
|
3372
|
-
case 4:
|
3373
|
-
var value = /** @type {number} */ (reader.readInt32());
|
3374
|
-
msg.setIsActive(value);
|
3425
|
+
msg.setCountry(value);
|
3375
3426
|
break;
|
3376
|
-
case
|
3427
|
+
case 2:
|
3377
3428
|
var value = /** @type {number} */ (reader.readInt32());
|
3378
|
-
msg.
|
3429
|
+
msg.setPoints(value);
|
3379
3430
|
break;
|
3380
3431
|
default:
|
3381
3432
|
reader.skipField();
|
@@ -3390,9 +3441,9 @@ proto.loyalty.PointItem.deserializeBinaryFromReader = function(msg, reader) {
|
|
3390
3441
|
* Serializes the message to binary data (in protobuf wire format).
|
3391
3442
|
* @return {!Uint8Array}
|
3392
3443
|
*/
|
3393
|
-
proto.loyalty.
|
3444
|
+
proto.loyalty.SignUpPoint.prototype.serializeBinary = function() {
|
3394
3445
|
var writer = new jspb.BinaryWriter();
|
3395
|
-
proto.loyalty.
|
3446
|
+
proto.loyalty.SignUpPoint.serializeBinaryToWriter(this, writer);
|
3396
3447
|
return writer.getResultBuffer();
|
3397
3448
|
};
|
3398
3449
|
|
@@ -3400,44 +3451,23 @@ proto.loyalty.PointItem.prototype.serializeBinary = function() {
|
|
3400
3451
|
/**
|
3401
3452
|
* Serializes the given message to binary data (in protobuf wire
|
3402
3453
|
* format), writing to the given BinaryWriter.
|
3403
|
-
* @param {!proto.loyalty.
|
3454
|
+
* @param {!proto.loyalty.SignUpPoint} message
|
3404
3455
|
* @param {!jspb.BinaryWriter} writer
|
3405
3456
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
3406
3457
|
*/
|
3407
|
-
proto.loyalty.
|
3458
|
+
proto.loyalty.SignUpPoint.serializeBinaryToWriter = function(message, writer) {
|
3408
3459
|
var f = undefined;
|
3409
|
-
f =
|
3410
|
-
if (f
|
3411
|
-
writer.writeInt32(
|
3412
|
-
1,
|
3413
|
-
f
|
3414
|
-
);
|
3415
|
-
}
|
3416
|
-
f = /** @type {string} */ (jspb.Message.getField(message, 2));
|
3417
|
-
if (f != null) {
|
3418
|
-
writer.writeString(
|
3419
|
-
2,
|
3420
|
-
f
|
3421
|
-
);
|
3422
|
-
}
|
3423
|
-
f = /** @type {string} */ (jspb.Message.getField(message, 3));
|
3424
|
-
if (f != null) {
|
3460
|
+
f = message.getCountry();
|
3461
|
+
if (f.length > 0) {
|
3425
3462
|
writer.writeString(
|
3426
|
-
|
3427
|
-
f
|
3428
|
-
);
|
3429
|
-
}
|
3430
|
-
f = /** @type {number} */ (jspb.Message.getField(message, 4));
|
3431
|
-
if (f != null) {
|
3432
|
-
writer.writeInt32(
|
3433
|
-
4,
|
3463
|
+
1,
|
3434
3464
|
f
|
3435
3465
|
);
|
3436
3466
|
}
|
3437
|
-
f =
|
3438
|
-
if (f
|
3467
|
+
f = message.getPoints();
|
3468
|
+
if (f !== 0) {
|
3439
3469
|
writer.writeInt32(
|
3440
|
-
|
3470
|
+
2,
|
3441
3471
|
f
|
3442
3472
|
);
|
3443
3473
|
}
|
@@ -3445,101 +3475,613 @@ proto.loyalty.PointItem.serializeBinaryToWriter = function(message, writer) {
|
|
3445
3475
|
|
3446
3476
|
|
3447
3477
|
/**
|
3448
|
-
* optional
|
3449
|
-
* @return {
|
3478
|
+
* optional string country = 1;
|
3479
|
+
* @return {string}
|
3450
3480
|
*/
|
3451
|
-
proto.loyalty.
|
3452
|
-
return /** @type {
|
3481
|
+
proto.loyalty.SignUpPoint.prototype.getCountry = function() {
|
3482
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
3453
3483
|
};
|
3454
3484
|
|
3455
3485
|
|
3456
3486
|
/**
|
3457
|
-
* @param {
|
3458
|
-
* @return {!proto.loyalty.
|
3487
|
+
* @param {string} value
|
3488
|
+
* @return {!proto.loyalty.SignUpPoint} returns this
|
3459
3489
|
*/
|
3460
|
-
proto.loyalty.
|
3461
|
-
return jspb.Message.
|
3490
|
+
proto.loyalty.SignUpPoint.prototype.setCountry = function(value) {
|
3491
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
3462
3492
|
};
|
3463
3493
|
|
3464
3494
|
|
3465
3495
|
/**
|
3466
|
-
*
|
3467
|
-
* @return {
|
3496
|
+
* optional int32 points = 2;
|
3497
|
+
* @return {number}
|
3468
3498
|
*/
|
3469
|
-
proto.loyalty.
|
3470
|
-
return jspb.Message.
|
3499
|
+
proto.loyalty.SignUpPoint.prototype.getPoints = function() {
|
3500
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
3471
3501
|
};
|
3472
3502
|
|
3473
3503
|
|
3474
3504
|
/**
|
3475
|
-
*
|
3476
|
-
* @return {
|
3505
|
+
* @param {number} value
|
3506
|
+
* @return {!proto.loyalty.SignUpPoint} returns this
|
3477
3507
|
*/
|
3478
|
-
proto.loyalty.
|
3479
|
-
return jspb.Message.
|
3508
|
+
proto.loyalty.SignUpPoint.prototype.setPoints = function(value) {
|
3509
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
3480
3510
|
};
|
3481
3511
|
|
3482
3512
|
|
3483
|
-
/**
|
3484
|
-
* optional string title = 2;
|
3485
|
-
* @return {string}
|
3486
|
-
*/
|
3487
|
-
proto.loyalty.PointItem.prototype.getTitle = function() {
|
3488
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
3489
|
-
};
|
3490
3513
|
|
3491
3514
|
|
3515
|
+
|
3516
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
3492
3517
|
/**
|
3493
|
-
*
|
3494
|
-
*
|
3518
|
+
* Creates an object representation of this proto.
|
3519
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
3520
|
+
* Optional fields that are not set will be set to undefined.
|
3521
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
3522
|
+
* For the list of reserved names please see:
|
3523
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
3524
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
3525
|
+
* JSPB instance for transitional soy proto support:
|
3526
|
+
* http://goto/soy-param-migration
|
3527
|
+
* @return {!Object}
|
3495
3528
|
*/
|
3496
|
-
proto.loyalty.
|
3497
|
-
return
|
3529
|
+
proto.loyalty.DepositPoint.prototype.toObject = function(opt_includeInstance) {
|
3530
|
+
return proto.loyalty.DepositPoint.toObject(opt_includeInstance, this);
|
3498
3531
|
};
|
3499
3532
|
|
3500
3533
|
|
3501
3534
|
/**
|
3502
|
-
*
|
3503
|
-
* @
|
3535
|
+
* Static version of the {@see toObject} method.
|
3536
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
3537
|
+
* the JSPB instance for transitional soy proto support:
|
3538
|
+
* http://goto/soy-param-migration
|
3539
|
+
* @param {!proto.loyalty.DepositPoint} msg The msg instance to transform.
|
3540
|
+
* @return {!Object}
|
3541
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
3504
3542
|
*/
|
3505
|
-
proto.loyalty.
|
3506
|
-
|
3543
|
+
proto.loyalty.DepositPoint.toObject = function(includeInstance, msg) {
|
3544
|
+
var f, obj = {
|
3545
|
+
currency: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
3546
|
+
points: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
3547
|
+
min: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0),
|
3548
|
+
max: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0),
|
3549
|
+
numberOfDeposit: jspb.Message.getFieldWithDefault(msg, 5, 0)
|
3550
|
+
};
|
3551
|
+
|
3552
|
+
if (includeInstance) {
|
3553
|
+
obj.$jspbMessageInstance = msg;
|
3554
|
+
}
|
3555
|
+
return obj;
|
3507
3556
|
};
|
3557
|
+
}
|
3508
3558
|
|
3509
3559
|
|
3510
3560
|
/**
|
3511
|
-
*
|
3512
|
-
* @
|
3561
|
+
* Deserializes binary data (in protobuf wire format).
|
3562
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
3563
|
+
* @return {!proto.loyalty.DepositPoint}
|
3513
3564
|
*/
|
3514
|
-
proto.loyalty.
|
3515
|
-
|
3565
|
+
proto.loyalty.DepositPoint.deserializeBinary = function(bytes) {
|
3566
|
+
var reader = new jspb.BinaryReader(bytes);
|
3567
|
+
var msg = new proto.loyalty.DepositPoint;
|
3568
|
+
return proto.loyalty.DepositPoint.deserializeBinaryFromReader(msg, reader);
|
3516
3569
|
};
|
3517
3570
|
|
3518
3571
|
|
3519
3572
|
/**
|
3520
|
-
*
|
3521
|
-
*
|
3573
|
+
* Deserializes binary data (in protobuf wire format) from the
|
3574
|
+
* given reader into the given message object.
|
3575
|
+
* @param {!proto.loyalty.DepositPoint} msg The message object to deserialize into.
|
3576
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
3577
|
+
* @return {!proto.loyalty.DepositPoint}
|
3522
3578
|
*/
|
3523
|
-
proto.loyalty.
|
3524
|
-
|
3579
|
+
proto.loyalty.DepositPoint.deserializeBinaryFromReader = function(msg, reader) {
|
3580
|
+
while (reader.nextField()) {
|
3581
|
+
if (reader.isEndGroup()) {
|
3582
|
+
break;
|
3583
|
+
}
|
3584
|
+
var field = reader.getFieldNumber();
|
3585
|
+
switch (field) {
|
3586
|
+
case 1:
|
3587
|
+
var value = /** @type {string} */ (reader.readString());
|
3588
|
+
msg.setCurrency(value);
|
3589
|
+
break;
|
3590
|
+
case 2:
|
3591
|
+
var value = /** @type {number} */ (reader.readInt32());
|
3592
|
+
msg.setPoints(value);
|
3593
|
+
break;
|
3594
|
+
case 3:
|
3595
|
+
var value = /** @type {number} */ (reader.readFloat());
|
3596
|
+
msg.setMin(value);
|
3597
|
+
break;
|
3598
|
+
case 4:
|
3599
|
+
var value = /** @type {number} */ (reader.readFloat());
|
3600
|
+
msg.setMax(value);
|
3601
|
+
break;
|
3602
|
+
case 5:
|
3603
|
+
var value = /** @type {number} */ (reader.readInt32());
|
3604
|
+
msg.setNumberOfDeposit(value);
|
3605
|
+
break;
|
3606
|
+
default:
|
3607
|
+
reader.skipField();
|
3608
|
+
break;
|
3609
|
+
}
|
3610
|
+
}
|
3611
|
+
return msg;
|
3525
3612
|
};
|
3526
3613
|
|
3527
3614
|
|
3528
3615
|
/**
|
3529
|
-
*
|
3530
|
-
* @return {!
|
3616
|
+
* Serializes the message to binary data (in protobuf wire format).
|
3617
|
+
* @return {!Uint8Array}
|
3531
3618
|
*/
|
3532
|
-
proto.loyalty.
|
3533
|
-
|
3619
|
+
proto.loyalty.DepositPoint.prototype.serializeBinary = function() {
|
3620
|
+
var writer = new jspb.BinaryWriter();
|
3621
|
+
proto.loyalty.DepositPoint.serializeBinaryToWriter(this, writer);
|
3622
|
+
return writer.getResultBuffer();
|
3534
3623
|
};
|
3535
3624
|
|
3536
3625
|
|
3537
3626
|
/**
|
3538
|
-
*
|
3539
|
-
*
|
3627
|
+
* Serializes the given message to binary data (in protobuf wire
|
3628
|
+
* format), writing to the given BinaryWriter.
|
3629
|
+
* @param {!proto.loyalty.DepositPoint} message
|
3630
|
+
* @param {!jspb.BinaryWriter} writer
|
3631
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
3540
3632
|
*/
|
3541
|
-
proto.loyalty.
|
3542
|
-
|
3633
|
+
proto.loyalty.DepositPoint.serializeBinaryToWriter = function(message, writer) {
|
3634
|
+
var f = undefined;
|
3635
|
+
f = message.getCurrency();
|
3636
|
+
if (f.length > 0) {
|
3637
|
+
writer.writeString(
|
3638
|
+
1,
|
3639
|
+
f
|
3640
|
+
);
|
3641
|
+
}
|
3642
|
+
f = message.getPoints();
|
3643
|
+
if (f !== 0) {
|
3644
|
+
writer.writeInt32(
|
3645
|
+
2,
|
3646
|
+
f
|
3647
|
+
);
|
3648
|
+
}
|
3649
|
+
f = message.getMin();
|
3650
|
+
if (f !== 0.0) {
|
3651
|
+
writer.writeFloat(
|
3652
|
+
3,
|
3653
|
+
f
|
3654
|
+
);
|
3655
|
+
}
|
3656
|
+
f = message.getMax();
|
3657
|
+
if (f !== 0.0) {
|
3658
|
+
writer.writeFloat(
|
3659
|
+
4,
|
3660
|
+
f
|
3661
|
+
);
|
3662
|
+
}
|
3663
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 5));
|
3664
|
+
if (f != null) {
|
3665
|
+
writer.writeInt32(
|
3666
|
+
5,
|
3667
|
+
f
|
3668
|
+
);
|
3669
|
+
}
|
3670
|
+
};
|
3671
|
+
|
3672
|
+
|
3673
|
+
/**
|
3674
|
+
* optional string currency = 1;
|
3675
|
+
* @return {string}
|
3676
|
+
*/
|
3677
|
+
proto.loyalty.DepositPoint.prototype.getCurrency = function() {
|
3678
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
3679
|
+
};
|
3680
|
+
|
3681
|
+
|
3682
|
+
/**
|
3683
|
+
* @param {string} value
|
3684
|
+
* @return {!proto.loyalty.DepositPoint} returns this
|
3685
|
+
*/
|
3686
|
+
proto.loyalty.DepositPoint.prototype.setCurrency = function(value) {
|
3687
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
3688
|
+
};
|
3689
|
+
|
3690
|
+
|
3691
|
+
/**
|
3692
|
+
* optional int32 points = 2;
|
3693
|
+
* @return {number}
|
3694
|
+
*/
|
3695
|
+
proto.loyalty.DepositPoint.prototype.getPoints = function() {
|
3696
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
3697
|
+
};
|
3698
|
+
|
3699
|
+
|
3700
|
+
/**
|
3701
|
+
* @param {number} value
|
3702
|
+
* @return {!proto.loyalty.DepositPoint} returns this
|
3703
|
+
*/
|
3704
|
+
proto.loyalty.DepositPoint.prototype.setPoints = function(value) {
|
3705
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
3706
|
+
};
|
3707
|
+
|
3708
|
+
|
3709
|
+
/**
|
3710
|
+
* optional float min = 3;
|
3711
|
+
* @return {number}
|
3712
|
+
*/
|
3713
|
+
proto.loyalty.DepositPoint.prototype.getMin = function() {
|
3714
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 3, 0.0));
|
3715
|
+
};
|
3716
|
+
|
3717
|
+
|
3718
|
+
/**
|
3719
|
+
* @param {number} value
|
3720
|
+
* @return {!proto.loyalty.DepositPoint} returns this
|
3721
|
+
*/
|
3722
|
+
proto.loyalty.DepositPoint.prototype.setMin = function(value) {
|
3723
|
+
return jspb.Message.setProto3FloatField(this, 3, value);
|
3724
|
+
};
|
3725
|
+
|
3726
|
+
|
3727
|
+
/**
|
3728
|
+
* optional float max = 4;
|
3729
|
+
* @return {number}
|
3730
|
+
*/
|
3731
|
+
proto.loyalty.DepositPoint.prototype.getMax = function() {
|
3732
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 4, 0.0));
|
3733
|
+
};
|
3734
|
+
|
3735
|
+
|
3736
|
+
/**
|
3737
|
+
* @param {number} value
|
3738
|
+
* @return {!proto.loyalty.DepositPoint} returns this
|
3739
|
+
*/
|
3740
|
+
proto.loyalty.DepositPoint.prototype.setMax = function(value) {
|
3741
|
+
return jspb.Message.setProto3FloatField(this, 4, value);
|
3742
|
+
};
|
3743
|
+
|
3744
|
+
|
3745
|
+
/**
|
3746
|
+
* optional int32 number_of_deposit = 5;
|
3747
|
+
* @return {number}
|
3748
|
+
*/
|
3749
|
+
proto.loyalty.DepositPoint.prototype.getNumberOfDeposit = function() {
|
3750
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
3751
|
+
};
|
3752
|
+
|
3753
|
+
|
3754
|
+
/**
|
3755
|
+
* @param {number} value
|
3756
|
+
* @return {!proto.loyalty.DepositPoint} returns this
|
3757
|
+
*/
|
3758
|
+
proto.loyalty.DepositPoint.prototype.setNumberOfDeposit = function(value) {
|
3759
|
+
return jspb.Message.setField(this, 5, value);
|
3760
|
+
};
|
3761
|
+
|
3762
|
+
|
3763
|
+
/**
|
3764
|
+
* Clears the field making it undefined.
|
3765
|
+
* @return {!proto.loyalty.DepositPoint} returns this
|
3766
|
+
*/
|
3767
|
+
proto.loyalty.DepositPoint.prototype.clearNumberOfDeposit = function() {
|
3768
|
+
return jspb.Message.setField(this, 5, undefined);
|
3769
|
+
};
|
3770
|
+
|
3771
|
+
|
3772
|
+
/**
|
3773
|
+
* Returns whether this field is set.
|
3774
|
+
* @return {boolean}
|
3775
|
+
*/
|
3776
|
+
proto.loyalty.DepositPoint.prototype.hasNumberOfDeposit = function() {
|
3777
|
+
return jspb.Message.getField(this, 5) != null;
|
3778
|
+
};
|
3779
|
+
|
3780
|
+
|
3781
|
+
|
3782
|
+
|
3783
|
+
|
3784
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
3785
|
+
/**
|
3786
|
+
* Creates an object representation of this proto.
|
3787
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
3788
|
+
* Optional fields that are not set will be set to undefined.
|
3789
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
3790
|
+
* For the list of reserved names please see:
|
3791
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
3792
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
3793
|
+
* JSPB instance for transitional soy proto support:
|
3794
|
+
* http://goto/soy-param-migration
|
3795
|
+
* @return {!Object}
|
3796
|
+
*/
|
3797
|
+
proto.loyalty.BetPoint.prototype.toObject = function(opt_includeInstance) {
|
3798
|
+
return proto.loyalty.BetPoint.toObject(opt_includeInstance, this);
|
3799
|
+
};
|
3800
|
+
|
3801
|
+
|
3802
|
+
/**
|
3803
|
+
* Static version of the {@see toObject} method.
|
3804
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
3805
|
+
* the JSPB instance for transitional soy proto support:
|
3806
|
+
* http://goto/soy-param-migration
|
3807
|
+
* @param {!proto.loyalty.BetPoint} msg The msg instance to transform.
|
3808
|
+
* @return {!Object}
|
3809
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
3810
|
+
*/
|
3811
|
+
proto.loyalty.BetPoint.toObject = function(includeInstance, msg) {
|
3812
|
+
var f, obj = {
|
3813
|
+
currency: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
3814
|
+
points: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
3815
|
+
min: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0),
|
3816
|
+
max: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0),
|
3817
|
+
numberOfStep: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
3818
|
+
wagerGameListId: jspb.Message.getFieldWithDefault(msg, 6, 0)
|
3819
|
+
};
|
3820
|
+
|
3821
|
+
if (includeInstance) {
|
3822
|
+
obj.$jspbMessageInstance = msg;
|
3823
|
+
}
|
3824
|
+
return obj;
|
3825
|
+
};
|
3826
|
+
}
|
3827
|
+
|
3828
|
+
|
3829
|
+
/**
|
3830
|
+
* Deserializes binary data (in protobuf wire format).
|
3831
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
3832
|
+
* @return {!proto.loyalty.BetPoint}
|
3833
|
+
*/
|
3834
|
+
proto.loyalty.BetPoint.deserializeBinary = function(bytes) {
|
3835
|
+
var reader = new jspb.BinaryReader(bytes);
|
3836
|
+
var msg = new proto.loyalty.BetPoint;
|
3837
|
+
return proto.loyalty.BetPoint.deserializeBinaryFromReader(msg, reader);
|
3838
|
+
};
|
3839
|
+
|
3840
|
+
|
3841
|
+
/**
|
3842
|
+
* Deserializes binary data (in protobuf wire format) from the
|
3843
|
+
* given reader into the given message object.
|
3844
|
+
* @param {!proto.loyalty.BetPoint} msg The message object to deserialize into.
|
3845
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
3846
|
+
* @return {!proto.loyalty.BetPoint}
|
3847
|
+
*/
|
3848
|
+
proto.loyalty.BetPoint.deserializeBinaryFromReader = function(msg, reader) {
|
3849
|
+
while (reader.nextField()) {
|
3850
|
+
if (reader.isEndGroup()) {
|
3851
|
+
break;
|
3852
|
+
}
|
3853
|
+
var field = reader.getFieldNumber();
|
3854
|
+
switch (field) {
|
3855
|
+
case 1:
|
3856
|
+
var value = /** @type {string} */ (reader.readString());
|
3857
|
+
msg.setCurrency(value);
|
3858
|
+
break;
|
3859
|
+
case 2:
|
3860
|
+
var value = /** @type {number} */ (reader.readInt32());
|
3861
|
+
msg.setPoints(value);
|
3862
|
+
break;
|
3863
|
+
case 3:
|
3864
|
+
var value = /** @type {number} */ (reader.readFloat());
|
3865
|
+
msg.setMin(value);
|
3866
|
+
break;
|
3867
|
+
case 4:
|
3868
|
+
var value = /** @type {number} */ (reader.readFloat());
|
3869
|
+
msg.setMax(value);
|
3870
|
+
break;
|
3871
|
+
case 5:
|
3872
|
+
var value = /** @type {number} */ (reader.readInt32());
|
3873
|
+
msg.setNumberOfStep(value);
|
3874
|
+
break;
|
3875
|
+
case 6:
|
3876
|
+
var value = /** @type {number} */ (reader.readInt32());
|
3877
|
+
msg.setWagerGameListId(value);
|
3878
|
+
break;
|
3879
|
+
default:
|
3880
|
+
reader.skipField();
|
3881
|
+
break;
|
3882
|
+
}
|
3883
|
+
}
|
3884
|
+
return msg;
|
3885
|
+
};
|
3886
|
+
|
3887
|
+
|
3888
|
+
/**
|
3889
|
+
* Serializes the message to binary data (in protobuf wire format).
|
3890
|
+
* @return {!Uint8Array}
|
3891
|
+
*/
|
3892
|
+
proto.loyalty.BetPoint.prototype.serializeBinary = function() {
|
3893
|
+
var writer = new jspb.BinaryWriter();
|
3894
|
+
proto.loyalty.BetPoint.serializeBinaryToWriter(this, writer);
|
3895
|
+
return writer.getResultBuffer();
|
3896
|
+
};
|
3897
|
+
|
3898
|
+
|
3899
|
+
/**
|
3900
|
+
* Serializes the given message to binary data (in protobuf wire
|
3901
|
+
* format), writing to the given BinaryWriter.
|
3902
|
+
* @param {!proto.loyalty.BetPoint} message
|
3903
|
+
* @param {!jspb.BinaryWriter} writer
|
3904
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
3905
|
+
*/
|
3906
|
+
proto.loyalty.BetPoint.serializeBinaryToWriter = function(message, writer) {
|
3907
|
+
var f = undefined;
|
3908
|
+
f = message.getCurrency();
|
3909
|
+
if (f.length > 0) {
|
3910
|
+
writer.writeString(
|
3911
|
+
1,
|
3912
|
+
f
|
3913
|
+
);
|
3914
|
+
}
|
3915
|
+
f = message.getPoints();
|
3916
|
+
if (f !== 0) {
|
3917
|
+
writer.writeInt32(
|
3918
|
+
2,
|
3919
|
+
f
|
3920
|
+
);
|
3921
|
+
}
|
3922
|
+
f = message.getMin();
|
3923
|
+
if (f !== 0.0) {
|
3924
|
+
writer.writeFloat(
|
3925
|
+
3,
|
3926
|
+
f
|
3927
|
+
);
|
3928
|
+
}
|
3929
|
+
f = message.getMax();
|
3930
|
+
if (f !== 0.0) {
|
3931
|
+
writer.writeFloat(
|
3932
|
+
4,
|
3933
|
+
f
|
3934
|
+
);
|
3935
|
+
}
|
3936
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 5));
|
3937
|
+
if (f != null) {
|
3938
|
+
writer.writeInt32(
|
3939
|
+
5,
|
3940
|
+
f
|
3941
|
+
);
|
3942
|
+
}
|
3943
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 6));
|
3944
|
+
if (f != null) {
|
3945
|
+
writer.writeInt32(
|
3946
|
+
6,
|
3947
|
+
f
|
3948
|
+
);
|
3949
|
+
}
|
3950
|
+
};
|
3951
|
+
|
3952
|
+
|
3953
|
+
/**
|
3954
|
+
* optional string currency = 1;
|
3955
|
+
* @return {string}
|
3956
|
+
*/
|
3957
|
+
proto.loyalty.BetPoint.prototype.getCurrency = function() {
|
3958
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
3959
|
+
};
|
3960
|
+
|
3961
|
+
|
3962
|
+
/**
|
3963
|
+
* @param {string} value
|
3964
|
+
* @return {!proto.loyalty.BetPoint} returns this
|
3965
|
+
*/
|
3966
|
+
proto.loyalty.BetPoint.prototype.setCurrency = function(value) {
|
3967
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
3968
|
+
};
|
3969
|
+
|
3970
|
+
|
3971
|
+
/**
|
3972
|
+
* optional int32 points = 2;
|
3973
|
+
* @return {number}
|
3974
|
+
*/
|
3975
|
+
proto.loyalty.BetPoint.prototype.getPoints = function() {
|
3976
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
3977
|
+
};
|
3978
|
+
|
3979
|
+
|
3980
|
+
/**
|
3981
|
+
* @param {number} value
|
3982
|
+
* @return {!proto.loyalty.BetPoint} returns this
|
3983
|
+
*/
|
3984
|
+
proto.loyalty.BetPoint.prototype.setPoints = function(value) {
|
3985
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
3986
|
+
};
|
3987
|
+
|
3988
|
+
|
3989
|
+
/**
|
3990
|
+
* optional float min = 3;
|
3991
|
+
* @return {number}
|
3992
|
+
*/
|
3993
|
+
proto.loyalty.BetPoint.prototype.getMin = function() {
|
3994
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 3, 0.0));
|
3995
|
+
};
|
3996
|
+
|
3997
|
+
|
3998
|
+
/**
|
3999
|
+
* @param {number} value
|
4000
|
+
* @return {!proto.loyalty.BetPoint} returns this
|
4001
|
+
*/
|
4002
|
+
proto.loyalty.BetPoint.prototype.setMin = function(value) {
|
4003
|
+
return jspb.Message.setProto3FloatField(this, 3, value);
|
4004
|
+
};
|
4005
|
+
|
4006
|
+
|
4007
|
+
/**
|
4008
|
+
* optional float max = 4;
|
4009
|
+
* @return {number}
|
4010
|
+
*/
|
4011
|
+
proto.loyalty.BetPoint.prototype.getMax = function() {
|
4012
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 4, 0.0));
|
4013
|
+
};
|
4014
|
+
|
4015
|
+
|
4016
|
+
/**
|
4017
|
+
* @param {number} value
|
4018
|
+
* @return {!proto.loyalty.BetPoint} returns this
|
4019
|
+
*/
|
4020
|
+
proto.loyalty.BetPoint.prototype.setMax = function(value) {
|
4021
|
+
return jspb.Message.setProto3FloatField(this, 4, value);
|
4022
|
+
};
|
4023
|
+
|
4024
|
+
|
4025
|
+
/**
|
4026
|
+
* optional int32 number_of_step = 5;
|
4027
|
+
* @return {number}
|
4028
|
+
*/
|
4029
|
+
proto.loyalty.BetPoint.prototype.getNumberOfStep = function() {
|
4030
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
4031
|
+
};
|
4032
|
+
|
4033
|
+
|
4034
|
+
/**
|
4035
|
+
* @param {number} value
|
4036
|
+
* @return {!proto.loyalty.BetPoint} returns this
|
4037
|
+
*/
|
4038
|
+
proto.loyalty.BetPoint.prototype.setNumberOfStep = function(value) {
|
4039
|
+
return jspb.Message.setField(this, 5, value);
|
4040
|
+
};
|
4041
|
+
|
4042
|
+
|
4043
|
+
/**
|
4044
|
+
* Clears the field making it undefined.
|
4045
|
+
* @return {!proto.loyalty.BetPoint} returns this
|
4046
|
+
*/
|
4047
|
+
proto.loyalty.BetPoint.prototype.clearNumberOfStep = function() {
|
4048
|
+
return jspb.Message.setField(this, 5, undefined);
|
4049
|
+
};
|
4050
|
+
|
4051
|
+
|
4052
|
+
/**
|
4053
|
+
* Returns whether this field is set.
|
4054
|
+
* @return {boolean}
|
4055
|
+
*/
|
4056
|
+
proto.loyalty.BetPoint.prototype.hasNumberOfStep = function() {
|
4057
|
+
return jspb.Message.getField(this, 5) != null;
|
4058
|
+
};
|
4059
|
+
|
4060
|
+
|
4061
|
+
/**
|
4062
|
+
* optional int32 wager_game_list_id = 6;
|
4063
|
+
* @return {number}
|
4064
|
+
*/
|
4065
|
+
proto.loyalty.BetPoint.prototype.getWagerGameListId = function() {
|
4066
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
|
4067
|
+
};
|
4068
|
+
|
4069
|
+
|
4070
|
+
/**
|
4071
|
+
* @param {number} value
|
4072
|
+
* @return {!proto.loyalty.BetPoint} returns this
|
4073
|
+
*/
|
4074
|
+
proto.loyalty.BetPoint.prototype.setWagerGameListId = function(value) {
|
4075
|
+
return jspb.Message.setField(this, 6, value);
|
4076
|
+
};
|
4077
|
+
|
4078
|
+
|
4079
|
+
/**
|
4080
|
+
* Clears the field making it undefined.
|
4081
|
+
* @return {!proto.loyalty.BetPoint} returns this
|
4082
|
+
*/
|
4083
|
+
proto.loyalty.BetPoint.prototype.clearWagerGameListId = function() {
|
4084
|
+
return jspb.Message.setField(this, 6, undefined);
|
3543
4085
|
};
|
3544
4086
|
|
3545
4087
|
|
@@ -3547,17 +4089,193 @@ proto.loyalty.PointItem.prototype.clearDescription = function() {
|
|
3547
4089
|
* Returns whether this field is set.
|
3548
4090
|
* @return {boolean}
|
3549
4091
|
*/
|
3550
|
-
proto.loyalty.
|
3551
|
-
return jspb.Message.getField(this,
|
4092
|
+
proto.loyalty.BetPoint.prototype.hasWagerGameListId = function() {
|
4093
|
+
return jspb.Message.getField(this, 6) != null;
|
4094
|
+
};
|
4095
|
+
|
4096
|
+
|
4097
|
+
|
4098
|
+
/**
|
4099
|
+
* List of repeated fields within this message type.
|
4100
|
+
* @private {!Array<number>}
|
4101
|
+
* @const
|
4102
|
+
*/
|
4103
|
+
proto.loyalty.PointItem.repeatedFields_ = [3,4,5];
|
4104
|
+
|
4105
|
+
|
4106
|
+
|
4107
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
4108
|
+
/**
|
4109
|
+
* Creates an object representation of this proto.
|
4110
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
4111
|
+
* Optional fields that are not set will be set to undefined.
|
4112
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
4113
|
+
* For the list of reserved names please see:
|
4114
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
4115
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
4116
|
+
* JSPB instance for transitional soy proto support:
|
4117
|
+
* http://goto/soy-param-migration
|
4118
|
+
* @return {!Object}
|
4119
|
+
*/
|
4120
|
+
proto.loyalty.PointItem.prototype.toObject = function(opt_includeInstance) {
|
4121
|
+
return proto.loyalty.PointItem.toObject(opt_includeInstance, this);
|
4122
|
+
};
|
4123
|
+
|
4124
|
+
|
4125
|
+
/**
|
4126
|
+
* Static version of the {@see toObject} method.
|
4127
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
4128
|
+
* the JSPB instance for transitional soy proto support:
|
4129
|
+
* http://goto/soy-param-migration
|
4130
|
+
* @param {!proto.loyalty.PointItem} msg The msg instance to transform.
|
4131
|
+
* @return {!Object}
|
4132
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
4133
|
+
*/
|
4134
|
+
proto.loyalty.PointItem.toObject = function(includeInstance, msg) {
|
4135
|
+
var f, obj = {
|
4136
|
+
id: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
4137
|
+
type: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
4138
|
+
signUpPointsList: jspb.Message.toObjectList(msg.getSignUpPointsList(),
|
4139
|
+
proto.loyalty.SignUpPoint.toObject, includeInstance),
|
4140
|
+
depositPointsList: jspb.Message.toObjectList(msg.getDepositPointsList(),
|
4141
|
+
proto.loyalty.DepositPoint.toObject, includeInstance),
|
4142
|
+
betPointsList: jspb.Message.toObjectList(msg.getBetPointsList(),
|
4143
|
+
proto.loyalty.BetPoint.toObject, includeInstance)
|
4144
|
+
};
|
4145
|
+
|
4146
|
+
if (includeInstance) {
|
4147
|
+
obj.$jspbMessageInstance = msg;
|
4148
|
+
}
|
4149
|
+
return obj;
|
4150
|
+
};
|
4151
|
+
}
|
4152
|
+
|
4153
|
+
|
4154
|
+
/**
|
4155
|
+
* Deserializes binary data (in protobuf wire format).
|
4156
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
4157
|
+
* @return {!proto.loyalty.PointItem}
|
4158
|
+
*/
|
4159
|
+
proto.loyalty.PointItem.deserializeBinary = function(bytes) {
|
4160
|
+
var reader = new jspb.BinaryReader(bytes);
|
4161
|
+
var msg = new proto.loyalty.PointItem;
|
4162
|
+
return proto.loyalty.PointItem.deserializeBinaryFromReader(msg, reader);
|
4163
|
+
};
|
4164
|
+
|
4165
|
+
|
4166
|
+
/**
|
4167
|
+
* Deserializes binary data (in protobuf wire format) from the
|
4168
|
+
* given reader into the given message object.
|
4169
|
+
* @param {!proto.loyalty.PointItem} msg The message object to deserialize into.
|
4170
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
4171
|
+
* @return {!proto.loyalty.PointItem}
|
4172
|
+
*/
|
4173
|
+
proto.loyalty.PointItem.deserializeBinaryFromReader = function(msg, reader) {
|
4174
|
+
while (reader.nextField()) {
|
4175
|
+
if (reader.isEndGroup()) {
|
4176
|
+
break;
|
4177
|
+
}
|
4178
|
+
var field = reader.getFieldNumber();
|
4179
|
+
switch (field) {
|
4180
|
+
case 1:
|
4181
|
+
var value = /** @type {number} */ (reader.readInt32());
|
4182
|
+
msg.setId(value);
|
4183
|
+
break;
|
4184
|
+
case 2:
|
4185
|
+
var value = /** @type {string} */ (reader.readString());
|
4186
|
+
msg.setType(value);
|
4187
|
+
break;
|
4188
|
+
case 3:
|
4189
|
+
var value = new proto.loyalty.SignUpPoint;
|
4190
|
+
reader.readMessage(value,proto.loyalty.SignUpPoint.deserializeBinaryFromReader);
|
4191
|
+
msg.addSignUpPoints(value);
|
4192
|
+
break;
|
4193
|
+
case 4:
|
4194
|
+
var value = new proto.loyalty.DepositPoint;
|
4195
|
+
reader.readMessage(value,proto.loyalty.DepositPoint.deserializeBinaryFromReader);
|
4196
|
+
msg.addDepositPoints(value);
|
4197
|
+
break;
|
4198
|
+
case 5:
|
4199
|
+
var value = new proto.loyalty.BetPoint;
|
4200
|
+
reader.readMessage(value,proto.loyalty.BetPoint.deserializeBinaryFromReader);
|
4201
|
+
msg.addBetPoints(value);
|
4202
|
+
break;
|
4203
|
+
default:
|
4204
|
+
reader.skipField();
|
4205
|
+
break;
|
4206
|
+
}
|
4207
|
+
}
|
4208
|
+
return msg;
|
4209
|
+
};
|
4210
|
+
|
4211
|
+
|
4212
|
+
/**
|
4213
|
+
* Serializes the message to binary data (in protobuf wire format).
|
4214
|
+
* @return {!Uint8Array}
|
4215
|
+
*/
|
4216
|
+
proto.loyalty.PointItem.prototype.serializeBinary = function() {
|
4217
|
+
var writer = new jspb.BinaryWriter();
|
4218
|
+
proto.loyalty.PointItem.serializeBinaryToWriter(this, writer);
|
4219
|
+
return writer.getResultBuffer();
|
4220
|
+
};
|
4221
|
+
|
4222
|
+
|
4223
|
+
/**
|
4224
|
+
* Serializes the given message to binary data (in protobuf wire
|
4225
|
+
* format), writing to the given BinaryWriter.
|
4226
|
+
* @param {!proto.loyalty.PointItem} message
|
4227
|
+
* @param {!jspb.BinaryWriter} writer
|
4228
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
4229
|
+
*/
|
4230
|
+
proto.loyalty.PointItem.serializeBinaryToWriter = function(message, writer) {
|
4231
|
+
var f = undefined;
|
4232
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 1));
|
4233
|
+
if (f != null) {
|
4234
|
+
writer.writeInt32(
|
4235
|
+
1,
|
4236
|
+
f
|
4237
|
+
);
|
4238
|
+
}
|
4239
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 2));
|
4240
|
+
if (f != null) {
|
4241
|
+
writer.writeString(
|
4242
|
+
2,
|
4243
|
+
f
|
4244
|
+
);
|
4245
|
+
}
|
4246
|
+
f = message.getSignUpPointsList();
|
4247
|
+
if (f.length > 0) {
|
4248
|
+
writer.writeRepeatedMessage(
|
4249
|
+
3,
|
4250
|
+
f,
|
4251
|
+
proto.loyalty.SignUpPoint.serializeBinaryToWriter
|
4252
|
+
);
|
4253
|
+
}
|
4254
|
+
f = message.getDepositPointsList();
|
4255
|
+
if (f.length > 0) {
|
4256
|
+
writer.writeRepeatedMessage(
|
4257
|
+
4,
|
4258
|
+
f,
|
4259
|
+
proto.loyalty.DepositPoint.serializeBinaryToWriter
|
4260
|
+
);
|
4261
|
+
}
|
4262
|
+
f = message.getBetPointsList();
|
4263
|
+
if (f.length > 0) {
|
4264
|
+
writer.writeRepeatedMessage(
|
4265
|
+
5,
|
4266
|
+
f,
|
4267
|
+
proto.loyalty.BetPoint.serializeBinaryToWriter
|
4268
|
+
);
|
4269
|
+
}
|
3552
4270
|
};
|
3553
4271
|
|
3554
4272
|
|
3555
4273
|
/**
|
3556
|
-
* optional int32
|
4274
|
+
* optional int32 id = 1;
|
3557
4275
|
* @return {number}
|
3558
4276
|
*/
|
3559
|
-
proto.loyalty.PointItem.prototype.
|
3560
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this,
|
4277
|
+
proto.loyalty.PointItem.prototype.getId = function() {
|
4278
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
3561
4279
|
};
|
3562
4280
|
|
3563
4281
|
|
@@ -3565,8 +4283,8 @@ proto.loyalty.PointItem.prototype.getIsActive = function() {
|
|
3565
4283
|
* @param {number} value
|
3566
4284
|
* @return {!proto.loyalty.PointItem} returns this
|
3567
4285
|
*/
|
3568
|
-
proto.loyalty.PointItem.prototype.
|
3569
|
-
return jspb.Message.setField(this,
|
4286
|
+
proto.loyalty.PointItem.prototype.setId = function(value) {
|
4287
|
+
return jspb.Message.setField(this, 1, value);
|
3570
4288
|
};
|
3571
4289
|
|
3572
4290
|
|
@@ -3574,8 +4292,8 @@ proto.loyalty.PointItem.prototype.setIsActive = function(value) {
|
|
3574
4292
|
* Clears the field making it undefined.
|
3575
4293
|
* @return {!proto.loyalty.PointItem} returns this
|
3576
4294
|
*/
|
3577
|
-
proto.loyalty.PointItem.prototype.
|
3578
|
-
return jspb.Message.setField(this,
|
4295
|
+
proto.loyalty.PointItem.prototype.clearId = function() {
|
4296
|
+
return jspb.Message.setField(this, 1, undefined);
|
3579
4297
|
};
|
3580
4298
|
|
3581
4299
|
|
@@ -3583,26 +4301,26 @@ proto.loyalty.PointItem.prototype.clearIsActive = function() {
|
|
3583
4301
|
* Returns whether this field is set.
|
3584
4302
|
* @return {boolean}
|
3585
4303
|
*/
|
3586
|
-
proto.loyalty.PointItem.prototype.
|
3587
|
-
return jspb.Message.getField(this,
|
4304
|
+
proto.loyalty.PointItem.prototype.hasId = function() {
|
4305
|
+
return jspb.Message.getField(this, 1) != null;
|
3588
4306
|
};
|
3589
4307
|
|
3590
4308
|
|
3591
4309
|
/**
|
3592
|
-
* optional
|
3593
|
-
* @return {
|
4310
|
+
* optional string type = 2;
|
4311
|
+
* @return {string}
|
3594
4312
|
*/
|
3595
|
-
proto.loyalty.PointItem.prototype.
|
3596
|
-
return /** @type {
|
4313
|
+
proto.loyalty.PointItem.prototype.getType = function() {
|
4314
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
3597
4315
|
};
|
3598
4316
|
|
3599
4317
|
|
3600
4318
|
/**
|
3601
|
-
* @param {
|
4319
|
+
* @param {string} value
|
3602
4320
|
* @return {!proto.loyalty.PointItem} returns this
|
3603
4321
|
*/
|
3604
|
-
proto.loyalty.PointItem.prototype.
|
3605
|
-
return jspb.Message.setField(this,
|
4322
|
+
proto.loyalty.PointItem.prototype.setType = function(value) {
|
4323
|
+
return jspb.Message.setField(this, 2, value);
|
3606
4324
|
};
|
3607
4325
|
|
3608
4326
|
|
@@ -3610,8 +4328,8 @@ proto.loyalty.PointItem.prototype.setRewardAmount = function(value) {
|
|
3610
4328
|
* Clears the field making it undefined.
|
3611
4329
|
* @return {!proto.loyalty.PointItem} returns this
|
3612
4330
|
*/
|
3613
|
-
proto.loyalty.PointItem.prototype.
|
3614
|
-
return jspb.Message.setField(this,
|
4331
|
+
proto.loyalty.PointItem.prototype.clearType = function() {
|
4332
|
+
return jspb.Message.setField(this, 2, undefined);
|
3615
4333
|
};
|
3616
4334
|
|
3617
4335
|
|
@@ -3619,12 +4337,133 @@ proto.loyalty.PointItem.prototype.clearRewardAmount = function() {
|
|
3619
4337
|
* Returns whether this field is set.
|
3620
4338
|
* @return {boolean}
|
3621
4339
|
*/
|
3622
|
-
proto.loyalty.PointItem.prototype.
|
3623
|
-
return jspb.Message.getField(this,
|
4340
|
+
proto.loyalty.PointItem.prototype.hasType = function() {
|
4341
|
+
return jspb.Message.getField(this, 2) != null;
|
4342
|
+
};
|
4343
|
+
|
4344
|
+
|
4345
|
+
/**
|
4346
|
+
* repeated SignUpPoint sign_up_points = 3;
|
4347
|
+
* @return {!Array<!proto.loyalty.SignUpPoint>}
|
4348
|
+
*/
|
4349
|
+
proto.loyalty.PointItem.prototype.getSignUpPointsList = function() {
|
4350
|
+
return /** @type{!Array<!proto.loyalty.SignUpPoint>} */ (
|
4351
|
+
jspb.Message.getRepeatedWrapperField(this, proto.loyalty.SignUpPoint, 3));
|
4352
|
+
};
|
4353
|
+
|
4354
|
+
|
4355
|
+
/**
|
4356
|
+
* @param {!Array<!proto.loyalty.SignUpPoint>} value
|
4357
|
+
* @return {!proto.loyalty.PointItem} returns this
|
4358
|
+
*/
|
4359
|
+
proto.loyalty.PointItem.prototype.setSignUpPointsList = function(value) {
|
4360
|
+
return jspb.Message.setRepeatedWrapperField(this, 3, value);
|
4361
|
+
};
|
4362
|
+
|
4363
|
+
|
4364
|
+
/**
|
4365
|
+
* @param {!proto.loyalty.SignUpPoint=} opt_value
|
4366
|
+
* @param {number=} opt_index
|
4367
|
+
* @return {!proto.loyalty.SignUpPoint}
|
4368
|
+
*/
|
4369
|
+
proto.loyalty.PointItem.prototype.addSignUpPoints = function(opt_value, opt_index) {
|
4370
|
+
return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.loyalty.SignUpPoint, opt_index);
|
4371
|
+
};
|
4372
|
+
|
4373
|
+
|
4374
|
+
/**
|
4375
|
+
* Clears the list making it empty but non-null.
|
4376
|
+
* @return {!proto.loyalty.PointItem} returns this
|
4377
|
+
*/
|
4378
|
+
proto.loyalty.PointItem.prototype.clearSignUpPointsList = function() {
|
4379
|
+
return this.setSignUpPointsList([]);
|
4380
|
+
};
|
4381
|
+
|
4382
|
+
|
4383
|
+
/**
|
4384
|
+
* repeated DepositPoint deposit_points = 4;
|
4385
|
+
* @return {!Array<!proto.loyalty.DepositPoint>}
|
4386
|
+
*/
|
4387
|
+
proto.loyalty.PointItem.prototype.getDepositPointsList = function() {
|
4388
|
+
return /** @type{!Array<!proto.loyalty.DepositPoint>} */ (
|
4389
|
+
jspb.Message.getRepeatedWrapperField(this, proto.loyalty.DepositPoint, 4));
|
4390
|
+
};
|
4391
|
+
|
4392
|
+
|
4393
|
+
/**
|
4394
|
+
* @param {!Array<!proto.loyalty.DepositPoint>} value
|
4395
|
+
* @return {!proto.loyalty.PointItem} returns this
|
4396
|
+
*/
|
4397
|
+
proto.loyalty.PointItem.prototype.setDepositPointsList = function(value) {
|
4398
|
+
return jspb.Message.setRepeatedWrapperField(this, 4, value);
|
4399
|
+
};
|
4400
|
+
|
4401
|
+
|
4402
|
+
/**
|
4403
|
+
* @param {!proto.loyalty.DepositPoint=} opt_value
|
4404
|
+
* @param {number=} opt_index
|
4405
|
+
* @return {!proto.loyalty.DepositPoint}
|
4406
|
+
*/
|
4407
|
+
proto.loyalty.PointItem.prototype.addDepositPoints = function(opt_value, opt_index) {
|
4408
|
+
return jspb.Message.addToRepeatedWrapperField(this, 4, opt_value, proto.loyalty.DepositPoint, opt_index);
|
4409
|
+
};
|
4410
|
+
|
4411
|
+
|
4412
|
+
/**
|
4413
|
+
* Clears the list making it empty but non-null.
|
4414
|
+
* @return {!proto.loyalty.PointItem} returns this
|
4415
|
+
*/
|
4416
|
+
proto.loyalty.PointItem.prototype.clearDepositPointsList = function() {
|
4417
|
+
return this.setDepositPointsList([]);
|
4418
|
+
};
|
4419
|
+
|
4420
|
+
|
4421
|
+
/**
|
4422
|
+
* repeated BetPoint bet_points = 5;
|
4423
|
+
* @return {!Array<!proto.loyalty.BetPoint>}
|
4424
|
+
*/
|
4425
|
+
proto.loyalty.PointItem.prototype.getBetPointsList = function() {
|
4426
|
+
return /** @type{!Array<!proto.loyalty.BetPoint>} */ (
|
4427
|
+
jspb.Message.getRepeatedWrapperField(this, proto.loyalty.BetPoint, 5));
|
4428
|
+
};
|
4429
|
+
|
4430
|
+
|
4431
|
+
/**
|
4432
|
+
* @param {!Array<!proto.loyalty.BetPoint>} value
|
4433
|
+
* @return {!proto.loyalty.PointItem} returns this
|
4434
|
+
*/
|
4435
|
+
proto.loyalty.PointItem.prototype.setBetPointsList = function(value) {
|
4436
|
+
return jspb.Message.setRepeatedWrapperField(this, 5, value);
|
4437
|
+
};
|
4438
|
+
|
4439
|
+
|
4440
|
+
/**
|
4441
|
+
* @param {!proto.loyalty.BetPoint=} opt_value
|
4442
|
+
* @param {number=} opt_index
|
4443
|
+
* @return {!proto.loyalty.BetPoint}
|
4444
|
+
*/
|
4445
|
+
proto.loyalty.PointItem.prototype.addBetPoints = function(opt_value, opt_index) {
|
4446
|
+
return jspb.Message.addToRepeatedWrapperField(this, 5, opt_value, proto.loyalty.BetPoint, opt_index);
|
4447
|
+
};
|
4448
|
+
|
4449
|
+
|
4450
|
+
/**
|
4451
|
+
* Clears the list making it empty but non-null.
|
4452
|
+
* @return {!proto.loyalty.PointItem} returns this
|
4453
|
+
*/
|
4454
|
+
proto.loyalty.PointItem.prototype.clearBetPointsList = function() {
|
4455
|
+
return this.setBetPointsList([]);
|
3624
4456
|
};
|
3625
4457
|
|
3626
4458
|
|
3627
4459
|
|
4460
|
+
/**
|
4461
|
+
* List of repeated fields within this message type.
|
4462
|
+
* @private {!Array<number>}
|
4463
|
+
* @const
|
4464
|
+
*/
|
4465
|
+
proto.loyalty.PointRequest.repeatedFields_ = [3,4,5];
|
4466
|
+
|
3628
4467
|
|
3629
4468
|
|
3630
4469
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
@@ -3657,10 +4496,13 @@ proto.loyalty.PointRequest.prototype.toObject = function(opt_includeInstance) {
|
|
3657
4496
|
proto.loyalty.PointRequest.toObject = function(includeInstance, msg) {
|
3658
4497
|
var f, obj = {
|
3659
4498
|
id: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
3660
|
-
|
3661
|
-
|
3662
|
-
|
3663
|
-
|
4499
|
+
type: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
4500
|
+
signUpPointsList: jspb.Message.toObjectList(msg.getSignUpPointsList(),
|
4501
|
+
proto.loyalty.SignUpPoint.toObject, includeInstance),
|
4502
|
+
depositPointsList: jspb.Message.toObjectList(msg.getDepositPointsList(),
|
4503
|
+
proto.loyalty.DepositPoint.toObject, includeInstance),
|
4504
|
+
betPointsList: jspb.Message.toObjectList(msg.getBetPointsList(),
|
4505
|
+
proto.loyalty.BetPoint.toObject, includeInstance)
|
3664
4506
|
};
|
3665
4507
|
|
3666
4508
|
if (includeInstance) {
|
@@ -3703,19 +4545,22 @@ proto.loyalty.PointRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
3703
4545
|
break;
|
3704
4546
|
case 2:
|
3705
4547
|
var value = /** @type {string} */ (reader.readString());
|
3706
|
-
msg.
|
4548
|
+
msg.setType(value);
|
3707
4549
|
break;
|
3708
4550
|
case 3:
|
3709
|
-
var value =
|
3710
|
-
|
4551
|
+
var value = new proto.loyalty.SignUpPoint;
|
4552
|
+
reader.readMessage(value,proto.loyalty.SignUpPoint.deserializeBinaryFromReader);
|
4553
|
+
msg.addSignUpPoints(value);
|
3711
4554
|
break;
|
3712
4555
|
case 4:
|
3713
|
-
var value =
|
3714
|
-
|
4556
|
+
var value = new proto.loyalty.DepositPoint;
|
4557
|
+
reader.readMessage(value,proto.loyalty.DepositPoint.deserializeBinaryFromReader);
|
4558
|
+
msg.addDepositPoints(value);
|
3715
4559
|
break;
|
3716
4560
|
case 5:
|
3717
|
-
var value =
|
3718
|
-
|
4561
|
+
var value = new proto.loyalty.BetPoint;
|
4562
|
+
reader.readMessage(value,proto.loyalty.BetPoint.deserializeBinaryFromReader);
|
4563
|
+
msg.addBetPoints(value);
|
3719
4564
|
break;
|
3720
4565
|
default:
|
3721
4566
|
reader.skipField();
|
@@ -3760,25 +4605,28 @@ proto.loyalty.PointRequest.serializeBinaryToWriter = function(message, writer) {
|
|
3760
4605
|
f
|
3761
4606
|
);
|
3762
4607
|
}
|
3763
|
-
f =
|
3764
|
-
if (f
|
3765
|
-
writer.
|
4608
|
+
f = message.getSignUpPointsList();
|
4609
|
+
if (f.length > 0) {
|
4610
|
+
writer.writeRepeatedMessage(
|
3766
4611
|
3,
|
3767
|
-
f
|
4612
|
+
f,
|
4613
|
+
proto.loyalty.SignUpPoint.serializeBinaryToWriter
|
3768
4614
|
);
|
3769
4615
|
}
|
3770
|
-
f =
|
3771
|
-
if (f
|
3772
|
-
writer.
|
4616
|
+
f = message.getDepositPointsList();
|
4617
|
+
if (f.length > 0) {
|
4618
|
+
writer.writeRepeatedMessage(
|
3773
4619
|
4,
|
3774
|
-
f
|
4620
|
+
f,
|
4621
|
+
proto.loyalty.DepositPoint.serializeBinaryToWriter
|
3775
4622
|
);
|
3776
4623
|
}
|
3777
|
-
f =
|
3778
|
-
if (f
|
3779
|
-
writer.
|
4624
|
+
f = message.getBetPointsList();
|
4625
|
+
if (f.length > 0) {
|
4626
|
+
writer.writeRepeatedMessage(
|
3780
4627
|
5,
|
3781
|
-
f
|
4628
|
+
f,
|
4629
|
+
proto.loyalty.BetPoint.serializeBinaryToWriter
|
3782
4630
|
);
|
3783
4631
|
}
|
3784
4632
|
};
|
@@ -3821,10 +4669,10 @@ proto.loyalty.PointRequest.prototype.hasId = function() {
|
|
3821
4669
|
|
3822
4670
|
|
3823
4671
|
/**
|
3824
|
-
* optional string
|
4672
|
+
* optional string type = 2;
|
3825
4673
|
* @return {string}
|
3826
4674
|
*/
|
3827
|
-
proto.loyalty.PointRequest.prototype.
|
4675
|
+
proto.loyalty.PointRequest.prototype.getType = function() {
|
3828
4676
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
3829
4677
|
};
|
3830
4678
|
|
@@ -3833,7 +4681,7 @@ proto.loyalty.PointRequest.prototype.getTitle = function() {
|
|
3833
4681
|
* @param {string} value
|
3834
4682
|
* @return {!proto.loyalty.PointRequest} returns this
|
3835
4683
|
*/
|
3836
|
-
proto.loyalty.PointRequest.prototype.
|
4684
|
+
proto.loyalty.PointRequest.prototype.setType = function(value) {
|
3837
4685
|
return jspb.Message.setField(this, 2, value);
|
3838
4686
|
};
|
3839
4687
|
|
@@ -3842,7 +4690,7 @@ proto.loyalty.PointRequest.prototype.setTitle = function(value) {
|
|
3842
4690
|
* Clears the field making it undefined.
|
3843
4691
|
* @return {!proto.loyalty.PointRequest} returns this
|
3844
4692
|
*/
|
3845
|
-
proto.loyalty.PointRequest.prototype.
|
4693
|
+
proto.loyalty.PointRequest.prototype.clearType = function() {
|
3846
4694
|
return jspb.Message.setField(this, 2, undefined);
|
3847
4695
|
};
|
3848
4696
|
|
@@ -3851,116 +4699,122 @@ proto.loyalty.PointRequest.prototype.clearTitle = function() {
|
|
3851
4699
|
* Returns whether this field is set.
|
3852
4700
|
* @return {boolean}
|
3853
4701
|
*/
|
3854
|
-
proto.loyalty.PointRequest.prototype.
|
4702
|
+
proto.loyalty.PointRequest.prototype.hasType = function() {
|
3855
4703
|
return jspb.Message.getField(this, 2) != null;
|
3856
4704
|
};
|
3857
4705
|
|
3858
4706
|
|
3859
4707
|
/**
|
3860
|
-
*
|
3861
|
-
* @return {
|
4708
|
+
* repeated SignUpPoint sign_up_points = 3;
|
4709
|
+
* @return {!Array<!proto.loyalty.SignUpPoint>}
|
3862
4710
|
*/
|
3863
|
-
proto.loyalty.PointRequest.prototype.
|
3864
|
-
return /** @type
|
4711
|
+
proto.loyalty.PointRequest.prototype.getSignUpPointsList = function() {
|
4712
|
+
return /** @type{!Array<!proto.loyalty.SignUpPoint>} */ (
|
4713
|
+
jspb.Message.getRepeatedWrapperField(this, proto.loyalty.SignUpPoint, 3));
|
3865
4714
|
};
|
3866
4715
|
|
3867
4716
|
|
3868
4717
|
/**
|
3869
|
-
* @param {
|
4718
|
+
* @param {!Array<!proto.loyalty.SignUpPoint>} value
|
3870
4719
|
* @return {!proto.loyalty.PointRequest} returns this
|
3871
|
-
|
3872
|
-
proto.loyalty.PointRequest.prototype.
|
3873
|
-
return jspb.Message.
|
4720
|
+
*/
|
4721
|
+
proto.loyalty.PointRequest.prototype.setSignUpPointsList = function(value) {
|
4722
|
+
return jspb.Message.setRepeatedWrapperField(this, 3, value);
|
3874
4723
|
};
|
3875
4724
|
|
3876
4725
|
|
3877
4726
|
/**
|
3878
|
-
*
|
3879
|
-
* @
|
4727
|
+
* @param {!proto.loyalty.SignUpPoint=} opt_value
|
4728
|
+
* @param {number=} opt_index
|
4729
|
+
* @return {!proto.loyalty.SignUpPoint}
|
3880
4730
|
*/
|
3881
|
-
proto.loyalty.PointRequest.prototype.
|
3882
|
-
return jspb.Message.
|
4731
|
+
proto.loyalty.PointRequest.prototype.addSignUpPoints = function(opt_value, opt_index) {
|
4732
|
+
return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.loyalty.SignUpPoint, opt_index);
|
3883
4733
|
};
|
3884
4734
|
|
3885
4735
|
|
3886
4736
|
/**
|
3887
|
-
*
|
3888
|
-
* @return {
|
4737
|
+
* Clears the list making it empty but non-null.
|
4738
|
+
* @return {!proto.loyalty.PointRequest} returns this
|
3889
4739
|
*/
|
3890
|
-
proto.loyalty.PointRequest.prototype.
|
3891
|
-
return
|
4740
|
+
proto.loyalty.PointRequest.prototype.clearSignUpPointsList = function() {
|
4741
|
+
return this.setSignUpPointsList([]);
|
3892
4742
|
};
|
3893
4743
|
|
3894
4744
|
|
3895
4745
|
/**
|
3896
|
-
*
|
3897
|
-
* @return {
|
4746
|
+
* repeated DepositPoint deposit_points = 4;
|
4747
|
+
* @return {!Array<!proto.loyalty.DepositPoint>}
|
3898
4748
|
*/
|
3899
|
-
proto.loyalty.PointRequest.prototype.
|
3900
|
-
return /** @type
|
4749
|
+
proto.loyalty.PointRequest.prototype.getDepositPointsList = function() {
|
4750
|
+
return /** @type{!Array<!proto.loyalty.DepositPoint>} */ (
|
4751
|
+
jspb.Message.getRepeatedWrapperField(this, proto.loyalty.DepositPoint, 4));
|
3901
4752
|
};
|
3902
4753
|
|
3903
4754
|
|
3904
4755
|
/**
|
3905
|
-
* @param {
|
4756
|
+
* @param {!Array<!proto.loyalty.DepositPoint>} value
|
3906
4757
|
* @return {!proto.loyalty.PointRequest} returns this
|
3907
|
-
|
3908
|
-
proto.loyalty.PointRequest.prototype.
|
3909
|
-
return jspb.Message.
|
4758
|
+
*/
|
4759
|
+
proto.loyalty.PointRequest.prototype.setDepositPointsList = function(value) {
|
4760
|
+
return jspb.Message.setRepeatedWrapperField(this, 4, value);
|
3910
4761
|
};
|
3911
4762
|
|
3912
4763
|
|
3913
4764
|
/**
|
3914
|
-
*
|
3915
|
-
* @
|
4765
|
+
* @param {!proto.loyalty.DepositPoint=} opt_value
|
4766
|
+
* @param {number=} opt_index
|
4767
|
+
* @return {!proto.loyalty.DepositPoint}
|
3916
4768
|
*/
|
3917
|
-
proto.loyalty.PointRequest.prototype.
|
3918
|
-
return jspb.Message.
|
4769
|
+
proto.loyalty.PointRequest.prototype.addDepositPoints = function(opt_value, opt_index) {
|
4770
|
+
return jspb.Message.addToRepeatedWrapperField(this, 4, opt_value, proto.loyalty.DepositPoint, opt_index);
|
3919
4771
|
};
|
3920
4772
|
|
3921
4773
|
|
3922
4774
|
/**
|
3923
|
-
*
|
3924
|
-
* @return {
|
4775
|
+
* Clears the list making it empty but non-null.
|
4776
|
+
* @return {!proto.loyalty.PointRequest} returns this
|
3925
4777
|
*/
|
3926
|
-
proto.loyalty.PointRequest.prototype.
|
3927
|
-
return
|
4778
|
+
proto.loyalty.PointRequest.prototype.clearDepositPointsList = function() {
|
4779
|
+
return this.setDepositPointsList([]);
|
3928
4780
|
};
|
3929
4781
|
|
3930
4782
|
|
3931
4783
|
/**
|
3932
|
-
*
|
3933
|
-
* @return {
|
4784
|
+
* repeated BetPoint bet_points = 5;
|
4785
|
+
* @return {!Array<!proto.loyalty.BetPoint>}
|
3934
4786
|
*/
|
3935
|
-
proto.loyalty.PointRequest.prototype.
|
3936
|
-
return /** @type
|
4787
|
+
proto.loyalty.PointRequest.prototype.getBetPointsList = function() {
|
4788
|
+
return /** @type{!Array<!proto.loyalty.BetPoint>} */ (
|
4789
|
+
jspb.Message.getRepeatedWrapperField(this, proto.loyalty.BetPoint, 5));
|
3937
4790
|
};
|
3938
4791
|
|
3939
4792
|
|
3940
4793
|
/**
|
3941
|
-
* @param {
|
4794
|
+
* @param {!Array<!proto.loyalty.BetPoint>} value
|
3942
4795
|
* @return {!proto.loyalty.PointRequest} returns this
|
3943
|
-
|
3944
|
-
proto.loyalty.PointRequest.prototype.
|
3945
|
-
return jspb.Message.
|
4796
|
+
*/
|
4797
|
+
proto.loyalty.PointRequest.prototype.setBetPointsList = function(value) {
|
4798
|
+
return jspb.Message.setRepeatedWrapperField(this, 5, value);
|
3946
4799
|
};
|
3947
4800
|
|
3948
4801
|
|
3949
4802
|
/**
|
3950
|
-
*
|
3951
|
-
* @
|
4803
|
+
* @param {!proto.loyalty.BetPoint=} opt_value
|
4804
|
+
* @param {number=} opt_index
|
4805
|
+
* @return {!proto.loyalty.BetPoint}
|
3952
4806
|
*/
|
3953
|
-
proto.loyalty.PointRequest.prototype.
|
3954
|
-
return jspb.Message.
|
4807
|
+
proto.loyalty.PointRequest.prototype.addBetPoints = function(opt_value, opt_index) {
|
4808
|
+
return jspb.Message.addToRepeatedWrapperField(this, 5, opt_value, proto.loyalty.BetPoint, opt_index);
|
3955
4809
|
};
|
3956
4810
|
|
3957
4811
|
|
3958
4812
|
/**
|
3959
|
-
*
|
3960
|
-
* @return {
|
4813
|
+
* Clears the list making it empty but non-null.
|
4814
|
+
* @return {!proto.loyalty.PointRequest} returns this
|
3961
4815
|
*/
|
3962
|
-
proto.loyalty.PointRequest.prototype.
|
3963
|
-
return
|
4816
|
+
proto.loyalty.PointRequest.prototype.clearBetPointsList = function() {
|
4817
|
+
return this.setBetPointsList([]);
|
3964
4818
|
};
|
3965
4819
|
|
3966
4820
|
|