protobuf-platform 1.0.175 → 1.0.177
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/loyalty/loyalty.proto +27 -8
- package/loyalty/loyalty_pb.js +1017 -189
- package/package.json +1 -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
|
@@ -314,6 +317,69 @@ if (goog.DEBUG && !COMPILED) {
|
|
314
317
|
*/
|
315
318
|
proto.loyalty.LevelStatusResponse.displayName = 'proto.loyalty.LevelStatusResponse';
|
316
319
|
}
|
320
|
+
/**
|
321
|
+
* Generated by JsPbCodeGenerator.
|
322
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
323
|
+
* server response, or constructed directly in Javascript. The array is used
|
324
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
325
|
+
* If no data is provided, the constructed object will be empty, but still
|
326
|
+
* valid.
|
327
|
+
* @extends {jspb.Message}
|
328
|
+
* @constructor
|
329
|
+
*/
|
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) {
|
373
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
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
|
+
}
|
317
383
|
/**
|
318
384
|
* Generated by JsPbCodeGenerator.
|
319
385
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
@@ -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
|
-
var value = /** @type {string} */ (reader.readString());
|
3366
|
-
msg.setTitle(value);
|
3367
|
-
break;
|
3368
|
-
case 3:
|
3369
3424
|
var value = /** @type {string} */ (reader.readString());
|
3370
|
-
msg.
|
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,119 +3475,797 @@ 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
|
|
3513
|
+
|
3514
|
+
|
3515
|
+
|
3516
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
3483
3517
|
/**
|
3484
|
-
*
|
3485
|
-
*
|
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}
|
3486
3528
|
*/
|
3487
|
-
proto.loyalty.
|
3488
|
-
return
|
3529
|
+
proto.loyalty.DepositPoint.prototype.toObject = function(opt_includeInstance) {
|
3530
|
+
return proto.loyalty.DepositPoint.toObject(opt_includeInstance, this);
|
3489
3531
|
};
|
3490
3532
|
|
3491
3533
|
|
3492
3534
|
/**
|
3493
|
-
* @
|
3494
|
-
* @
|
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
|
3495
3542
|
*/
|
3496
|
-
proto.loyalty.
|
3497
|
-
|
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;
|
3498
3556
|
};
|
3557
|
+
}
|
3499
3558
|
|
3500
3559
|
|
3501
3560
|
/**
|
3502
|
-
*
|
3503
|
-
* @
|
3561
|
+
* Deserializes binary data (in protobuf wire format).
|
3562
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
3563
|
+
* @return {!proto.loyalty.DepositPoint}
|
3504
3564
|
*/
|
3505
|
-
proto.loyalty.
|
3506
|
-
|
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);
|
3507
3569
|
};
|
3508
3570
|
|
3509
3571
|
|
3510
3572
|
/**
|
3511
|
-
*
|
3512
|
-
*
|
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}
|
3513
3578
|
*/
|
3514
|
-
proto.loyalty.
|
3515
|
-
|
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;
|
3516
3612
|
};
|
3517
3613
|
|
3518
3614
|
|
3519
3615
|
/**
|
3520
|
-
*
|
3521
|
-
* @return {
|
3616
|
+
* Serializes the message to binary data (in protobuf wire format).
|
3617
|
+
* @return {!Uint8Array}
|
3522
3618
|
*/
|
3523
|
-
proto.loyalty.
|
3524
|
-
|
3619
|
+
proto.loyalty.DepositPoint.prototype.serializeBinary = function() {
|
3620
|
+
var writer = new jspb.BinaryWriter();
|
3621
|
+
proto.loyalty.DepositPoint.serializeBinaryToWriter(this, writer);
|
3622
|
+
return writer.getResultBuffer();
|
3525
3623
|
};
|
3526
3624
|
|
3527
3625
|
|
3528
3626
|
/**
|
3529
|
-
*
|
3530
|
-
*
|
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
|
3531
3632
|
*/
|
3532
|
-
proto.loyalty.
|
3533
|
-
|
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
|
+
}
|
3534
3670
|
};
|
3535
3671
|
|
3536
3672
|
|
3537
3673
|
/**
|
3538
|
-
*
|
3539
|
-
* @return {
|
3674
|
+
* optional string currency = 1;
|
3675
|
+
* @return {string}
|
3540
3676
|
*/
|
3541
|
-
proto.loyalty.
|
3542
|
-
return jspb.Message.
|
3677
|
+
proto.loyalty.DepositPoint.prototype.getCurrency = function() {
|
3678
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
3543
3679
|
};
|
3544
3680
|
|
3545
3681
|
|
3546
3682
|
/**
|
3547
|
-
*
|
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);
|
4085
|
+
};
|
4086
|
+
|
4087
|
+
|
4088
|
+
/**
|
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
|
+
|
4100
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
4101
|
+
/**
|
4102
|
+
* Creates an object representation of this proto.
|
4103
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
4104
|
+
* Optional fields that are not set will be set to undefined.
|
4105
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
4106
|
+
* For the list of reserved names please see:
|
4107
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
4108
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
4109
|
+
* JSPB instance for transitional soy proto support:
|
4110
|
+
* http://goto/soy-param-migration
|
4111
|
+
* @return {!Object}
|
4112
|
+
*/
|
4113
|
+
proto.loyalty.PointItem.prototype.toObject = function(opt_includeInstance) {
|
4114
|
+
return proto.loyalty.PointItem.toObject(opt_includeInstance, this);
|
4115
|
+
};
|
4116
|
+
|
4117
|
+
|
4118
|
+
/**
|
4119
|
+
* Static version of the {@see toObject} method.
|
4120
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
4121
|
+
* the JSPB instance for transitional soy proto support:
|
4122
|
+
* http://goto/soy-param-migration
|
4123
|
+
* @param {!proto.loyalty.PointItem} msg The msg instance to transform.
|
4124
|
+
* @return {!Object}
|
4125
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
4126
|
+
*/
|
4127
|
+
proto.loyalty.PointItem.toObject = function(includeInstance, msg) {
|
4128
|
+
var f, obj = {
|
4129
|
+
id: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
4130
|
+
type: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
4131
|
+
signUpPoint: (f = msg.getSignUpPoint()) && proto.loyalty.SignUpPoint.toObject(includeInstance, f),
|
4132
|
+
depositPoint: (f = msg.getDepositPoint()) && proto.loyalty.DepositPoint.toObject(includeInstance, f),
|
4133
|
+
betPoint: (f = msg.getBetPoint()) && proto.loyalty.BetPoint.toObject(includeInstance, f)
|
4134
|
+
};
|
4135
|
+
|
4136
|
+
if (includeInstance) {
|
4137
|
+
obj.$jspbMessageInstance = msg;
|
4138
|
+
}
|
4139
|
+
return obj;
|
4140
|
+
};
|
4141
|
+
}
|
4142
|
+
|
4143
|
+
|
4144
|
+
/**
|
4145
|
+
* Deserializes binary data (in protobuf wire format).
|
4146
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
4147
|
+
* @return {!proto.loyalty.PointItem}
|
4148
|
+
*/
|
4149
|
+
proto.loyalty.PointItem.deserializeBinary = function(bytes) {
|
4150
|
+
var reader = new jspb.BinaryReader(bytes);
|
4151
|
+
var msg = new proto.loyalty.PointItem;
|
4152
|
+
return proto.loyalty.PointItem.deserializeBinaryFromReader(msg, reader);
|
4153
|
+
};
|
4154
|
+
|
4155
|
+
|
4156
|
+
/**
|
4157
|
+
* Deserializes binary data (in protobuf wire format) from the
|
4158
|
+
* given reader into the given message object.
|
4159
|
+
* @param {!proto.loyalty.PointItem} msg The message object to deserialize into.
|
4160
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
4161
|
+
* @return {!proto.loyalty.PointItem}
|
4162
|
+
*/
|
4163
|
+
proto.loyalty.PointItem.deserializeBinaryFromReader = function(msg, reader) {
|
4164
|
+
while (reader.nextField()) {
|
4165
|
+
if (reader.isEndGroup()) {
|
4166
|
+
break;
|
4167
|
+
}
|
4168
|
+
var field = reader.getFieldNumber();
|
4169
|
+
switch (field) {
|
4170
|
+
case 1:
|
4171
|
+
var value = /** @type {number} */ (reader.readInt32());
|
4172
|
+
msg.setId(value);
|
4173
|
+
break;
|
4174
|
+
case 2:
|
4175
|
+
var value = /** @type {string} */ (reader.readString());
|
4176
|
+
msg.setType(value);
|
4177
|
+
break;
|
4178
|
+
case 3:
|
4179
|
+
var value = new proto.loyalty.SignUpPoint;
|
4180
|
+
reader.readMessage(value,proto.loyalty.SignUpPoint.deserializeBinaryFromReader);
|
4181
|
+
msg.setSignUpPoint(value);
|
4182
|
+
break;
|
4183
|
+
case 4:
|
4184
|
+
var value = new proto.loyalty.DepositPoint;
|
4185
|
+
reader.readMessage(value,proto.loyalty.DepositPoint.deserializeBinaryFromReader);
|
4186
|
+
msg.setDepositPoint(value);
|
4187
|
+
break;
|
4188
|
+
case 5:
|
4189
|
+
var value = new proto.loyalty.BetPoint;
|
4190
|
+
reader.readMessage(value,proto.loyalty.BetPoint.deserializeBinaryFromReader);
|
4191
|
+
msg.setBetPoint(value);
|
4192
|
+
break;
|
4193
|
+
default:
|
4194
|
+
reader.skipField();
|
4195
|
+
break;
|
4196
|
+
}
|
4197
|
+
}
|
4198
|
+
return msg;
|
4199
|
+
};
|
4200
|
+
|
4201
|
+
|
4202
|
+
/**
|
4203
|
+
* Serializes the message to binary data (in protobuf wire format).
|
4204
|
+
* @return {!Uint8Array}
|
4205
|
+
*/
|
4206
|
+
proto.loyalty.PointItem.prototype.serializeBinary = function() {
|
4207
|
+
var writer = new jspb.BinaryWriter();
|
4208
|
+
proto.loyalty.PointItem.serializeBinaryToWriter(this, writer);
|
4209
|
+
return writer.getResultBuffer();
|
3552
4210
|
};
|
3553
4211
|
|
3554
4212
|
|
3555
4213
|
/**
|
3556
|
-
*
|
4214
|
+
* Serializes the given message to binary data (in protobuf wire
|
4215
|
+
* format), writing to the given BinaryWriter.
|
4216
|
+
* @param {!proto.loyalty.PointItem} message
|
4217
|
+
* @param {!jspb.BinaryWriter} writer
|
4218
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
4219
|
+
*/
|
4220
|
+
proto.loyalty.PointItem.serializeBinaryToWriter = function(message, writer) {
|
4221
|
+
var f = undefined;
|
4222
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 1));
|
4223
|
+
if (f != null) {
|
4224
|
+
writer.writeInt32(
|
4225
|
+
1,
|
4226
|
+
f
|
4227
|
+
);
|
4228
|
+
}
|
4229
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 2));
|
4230
|
+
if (f != null) {
|
4231
|
+
writer.writeString(
|
4232
|
+
2,
|
4233
|
+
f
|
4234
|
+
);
|
4235
|
+
}
|
4236
|
+
f = message.getSignUpPoint();
|
4237
|
+
if (f != null) {
|
4238
|
+
writer.writeMessage(
|
4239
|
+
3,
|
4240
|
+
f,
|
4241
|
+
proto.loyalty.SignUpPoint.serializeBinaryToWriter
|
4242
|
+
);
|
4243
|
+
}
|
4244
|
+
f = message.getDepositPoint();
|
4245
|
+
if (f != null) {
|
4246
|
+
writer.writeMessage(
|
4247
|
+
4,
|
4248
|
+
f,
|
4249
|
+
proto.loyalty.DepositPoint.serializeBinaryToWriter
|
4250
|
+
);
|
4251
|
+
}
|
4252
|
+
f = message.getBetPoint();
|
4253
|
+
if (f != null) {
|
4254
|
+
writer.writeMessage(
|
4255
|
+
5,
|
4256
|
+
f,
|
4257
|
+
proto.loyalty.BetPoint.serializeBinaryToWriter
|
4258
|
+
);
|
4259
|
+
}
|
4260
|
+
};
|
4261
|
+
|
4262
|
+
|
4263
|
+
/**
|
4264
|
+
* optional int32 id = 1;
|
3557
4265
|
* @return {number}
|
3558
4266
|
*/
|
3559
|
-
proto.loyalty.PointItem.prototype.
|
3560
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this,
|
4267
|
+
proto.loyalty.PointItem.prototype.getId = function() {
|
4268
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
3561
4269
|
};
|
3562
4270
|
|
3563
4271
|
|
@@ -3565,8 +4273,8 @@ proto.loyalty.PointItem.prototype.getIsActive = function() {
|
|
3565
4273
|
* @param {number} value
|
3566
4274
|
* @return {!proto.loyalty.PointItem} returns this
|
3567
4275
|
*/
|
3568
|
-
proto.loyalty.PointItem.prototype.
|
3569
|
-
return jspb.Message.setField(this,
|
4276
|
+
proto.loyalty.PointItem.prototype.setId = function(value) {
|
4277
|
+
return jspb.Message.setField(this, 1, value);
|
3570
4278
|
};
|
3571
4279
|
|
3572
4280
|
|
@@ -3574,8 +4282,8 @@ proto.loyalty.PointItem.prototype.setIsActive = function(value) {
|
|
3574
4282
|
* Clears the field making it undefined.
|
3575
4283
|
* @return {!proto.loyalty.PointItem} returns this
|
3576
4284
|
*/
|
3577
|
-
proto.loyalty.PointItem.prototype.
|
3578
|
-
return jspb.Message.setField(this,
|
4285
|
+
proto.loyalty.PointItem.prototype.clearId = function() {
|
4286
|
+
return jspb.Message.setField(this, 1, undefined);
|
3579
4287
|
};
|
3580
4288
|
|
3581
4289
|
|
@@ -3583,26 +4291,26 @@ proto.loyalty.PointItem.prototype.clearIsActive = function() {
|
|
3583
4291
|
* Returns whether this field is set.
|
3584
4292
|
* @return {boolean}
|
3585
4293
|
*/
|
3586
|
-
proto.loyalty.PointItem.prototype.
|
3587
|
-
return jspb.Message.getField(this,
|
4294
|
+
proto.loyalty.PointItem.prototype.hasId = function() {
|
4295
|
+
return jspb.Message.getField(this, 1) != null;
|
3588
4296
|
};
|
3589
4297
|
|
3590
4298
|
|
3591
4299
|
/**
|
3592
|
-
* optional
|
3593
|
-
* @return {
|
4300
|
+
* optional string type = 2;
|
4301
|
+
* @return {string}
|
3594
4302
|
*/
|
3595
|
-
proto.loyalty.PointItem.prototype.
|
3596
|
-
return /** @type {
|
4303
|
+
proto.loyalty.PointItem.prototype.getType = function() {
|
4304
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
3597
4305
|
};
|
3598
4306
|
|
3599
4307
|
|
3600
4308
|
/**
|
3601
|
-
* @param {
|
4309
|
+
* @param {string} value
|
3602
4310
|
* @return {!proto.loyalty.PointItem} returns this
|
3603
4311
|
*/
|
3604
|
-
proto.loyalty.PointItem.prototype.
|
3605
|
-
return jspb.Message.setField(this,
|
4312
|
+
proto.loyalty.PointItem.prototype.setType = function(value) {
|
4313
|
+
return jspb.Message.setField(this, 2, value);
|
3606
4314
|
};
|
3607
4315
|
|
3608
4316
|
|
@@ -3610,8 +4318,119 @@ proto.loyalty.PointItem.prototype.setRewardAmount = function(value) {
|
|
3610
4318
|
* Clears the field making it undefined.
|
3611
4319
|
* @return {!proto.loyalty.PointItem} returns this
|
3612
4320
|
*/
|
3613
|
-
proto.loyalty.PointItem.prototype.
|
3614
|
-
return jspb.Message.setField(this,
|
4321
|
+
proto.loyalty.PointItem.prototype.clearType = function() {
|
4322
|
+
return jspb.Message.setField(this, 2, undefined);
|
4323
|
+
};
|
4324
|
+
|
4325
|
+
|
4326
|
+
/**
|
4327
|
+
* Returns whether this field is set.
|
4328
|
+
* @return {boolean}
|
4329
|
+
*/
|
4330
|
+
proto.loyalty.PointItem.prototype.hasType = function() {
|
4331
|
+
return jspb.Message.getField(this, 2) != null;
|
4332
|
+
};
|
4333
|
+
|
4334
|
+
|
4335
|
+
/**
|
4336
|
+
* optional SignUpPoint sign_up_point = 3;
|
4337
|
+
* @return {?proto.loyalty.SignUpPoint}
|
4338
|
+
*/
|
4339
|
+
proto.loyalty.PointItem.prototype.getSignUpPoint = function() {
|
4340
|
+
return /** @type{?proto.loyalty.SignUpPoint} */ (
|
4341
|
+
jspb.Message.getWrapperField(this, proto.loyalty.SignUpPoint, 3));
|
4342
|
+
};
|
4343
|
+
|
4344
|
+
|
4345
|
+
/**
|
4346
|
+
* @param {?proto.loyalty.SignUpPoint|undefined} value
|
4347
|
+
* @return {!proto.loyalty.PointItem} returns this
|
4348
|
+
*/
|
4349
|
+
proto.loyalty.PointItem.prototype.setSignUpPoint = function(value) {
|
4350
|
+
return jspb.Message.setWrapperField(this, 3, value);
|
4351
|
+
};
|
4352
|
+
|
4353
|
+
|
4354
|
+
/**
|
4355
|
+
* Clears the message field making it undefined.
|
4356
|
+
* @return {!proto.loyalty.PointItem} returns this
|
4357
|
+
*/
|
4358
|
+
proto.loyalty.PointItem.prototype.clearSignUpPoint = function() {
|
4359
|
+
return this.setSignUpPoint(undefined);
|
4360
|
+
};
|
4361
|
+
|
4362
|
+
|
4363
|
+
/**
|
4364
|
+
* Returns whether this field is set.
|
4365
|
+
* @return {boolean}
|
4366
|
+
*/
|
4367
|
+
proto.loyalty.PointItem.prototype.hasSignUpPoint = function() {
|
4368
|
+
return jspb.Message.getField(this, 3) != null;
|
4369
|
+
};
|
4370
|
+
|
4371
|
+
|
4372
|
+
/**
|
4373
|
+
* optional DepositPoint deposit_point = 4;
|
4374
|
+
* @return {?proto.loyalty.DepositPoint}
|
4375
|
+
*/
|
4376
|
+
proto.loyalty.PointItem.prototype.getDepositPoint = function() {
|
4377
|
+
return /** @type{?proto.loyalty.DepositPoint} */ (
|
4378
|
+
jspb.Message.getWrapperField(this, proto.loyalty.DepositPoint, 4));
|
4379
|
+
};
|
4380
|
+
|
4381
|
+
|
4382
|
+
/**
|
4383
|
+
* @param {?proto.loyalty.DepositPoint|undefined} value
|
4384
|
+
* @return {!proto.loyalty.PointItem} returns this
|
4385
|
+
*/
|
4386
|
+
proto.loyalty.PointItem.prototype.setDepositPoint = function(value) {
|
4387
|
+
return jspb.Message.setWrapperField(this, 4, value);
|
4388
|
+
};
|
4389
|
+
|
4390
|
+
|
4391
|
+
/**
|
4392
|
+
* Clears the message field making it undefined.
|
4393
|
+
* @return {!proto.loyalty.PointItem} returns this
|
4394
|
+
*/
|
4395
|
+
proto.loyalty.PointItem.prototype.clearDepositPoint = function() {
|
4396
|
+
return this.setDepositPoint(undefined);
|
4397
|
+
};
|
4398
|
+
|
4399
|
+
|
4400
|
+
/**
|
4401
|
+
* Returns whether this field is set.
|
4402
|
+
* @return {boolean}
|
4403
|
+
*/
|
4404
|
+
proto.loyalty.PointItem.prototype.hasDepositPoint = function() {
|
4405
|
+
return jspb.Message.getField(this, 4) != null;
|
4406
|
+
};
|
4407
|
+
|
4408
|
+
|
4409
|
+
/**
|
4410
|
+
* optional BetPoint bet_point = 5;
|
4411
|
+
* @return {?proto.loyalty.BetPoint}
|
4412
|
+
*/
|
4413
|
+
proto.loyalty.PointItem.prototype.getBetPoint = function() {
|
4414
|
+
return /** @type{?proto.loyalty.BetPoint} */ (
|
4415
|
+
jspb.Message.getWrapperField(this, proto.loyalty.BetPoint, 5));
|
4416
|
+
};
|
4417
|
+
|
4418
|
+
|
4419
|
+
/**
|
4420
|
+
* @param {?proto.loyalty.BetPoint|undefined} value
|
4421
|
+
* @return {!proto.loyalty.PointItem} returns this
|
4422
|
+
*/
|
4423
|
+
proto.loyalty.PointItem.prototype.setBetPoint = function(value) {
|
4424
|
+
return jspb.Message.setWrapperField(this, 5, value);
|
4425
|
+
};
|
4426
|
+
|
4427
|
+
|
4428
|
+
/**
|
4429
|
+
* Clears the message field making it undefined.
|
4430
|
+
* @return {!proto.loyalty.PointItem} returns this
|
4431
|
+
*/
|
4432
|
+
proto.loyalty.PointItem.prototype.clearBetPoint = function() {
|
4433
|
+
return this.setBetPoint(undefined);
|
3615
4434
|
};
|
3616
4435
|
|
3617
4436
|
|
@@ -3619,7 +4438,7 @@ proto.loyalty.PointItem.prototype.clearRewardAmount = function() {
|
|
3619
4438
|
* Returns whether this field is set.
|
3620
4439
|
* @return {boolean}
|
3621
4440
|
*/
|
3622
|
-
proto.loyalty.PointItem.prototype.
|
4441
|
+
proto.loyalty.PointItem.prototype.hasBetPoint = function() {
|
3623
4442
|
return jspb.Message.getField(this, 5) != null;
|
3624
4443
|
};
|
3625
4444
|
|
@@ -3657,10 +4476,10 @@ proto.loyalty.PointRequest.prototype.toObject = function(opt_includeInstance) {
|
|
3657
4476
|
proto.loyalty.PointRequest.toObject = function(includeInstance, msg) {
|
3658
4477
|
var f, obj = {
|
3659
4478
|
id: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
3660
|
-
|
3661
|
-
|
3662
|
-
|
3663
|
-
|
4479
|
+
type: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
4480
|
+
signUpPoint: (f = msg.getSignUpPoint()) && proto.loyalty.SignUpPoint.toObject(includeInstance, f),
|
4481
|
+
depositPoint: (f = msg.getDepositPoint()) && proto.loyalty.DepositPoint.toObject(includeInstance, f),
|
4482
|
+
betPoint: (f = msg.getBetPoint()) && proto.loyalty.BetPoint.toObject(includeInstance, f)
|
3664
4483
|
};
|
3665
4484
|
|
3666
4485
|
if (includeInstance) {
|
@@ -3703,19 +4522,22 @@ proto.loyalty.PointRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
3703
4522
|
break;
|
3704
4523
|
case 2:
|
3705
4524
|
var value = /** @type {string} */ (reader.readString());
|
3706
|
-
msg.
|
4525
|
+
msg.setType(value);
|
3707
4526
|
break;
|
3708
4527
|
case 3:
|
3709
|
-
var value =
|
3710
|
-
|
4528
|
+
var value = new proto.loyalty.SignUpPoint;
|
4529
|
+
reader.readMessage(value,proto.loyalty.SignUpPoint.deserializeBinaryFromReader);
|
4530
|
+
msg.setSignUpPoint(value);
|
3711
4531
|
break;
|
3712
4532
|
case 4:
|
3713
|
-
var value =
|
3714
|
-
|
4533
|
+
var value = new proto.loyalty.DepositPoint;
|
4534
|
+
reader.readMessage(value,proto.loyalty.DepositPoint.deserializeBinaryFromReader);
|
4535
|
+
msg.setDepositPoint(value);
|
3715
4536
|
break;
|
3716
4537
|
case 5:
|
3717
|
-
var value =
|
3718
|
-
|
4538
|
+
var value = new proto.loyalty.BetPoint;
|
4539
|
+
reader.readMessage(value,proto.loyalty.BetPoint.deserializeBinaryFromReader);
|
4540
|
+
msg.setBetPoint(value);
|
3719
4541
|
break;
|
3720
4542
|
default:
|
3721
4543
|
reader.skipField();
|
@@ -3760,25 +4582,28 @@ proto.loyalty.PointRequest.serializeBinaryToWriter = function(message, writer) {
|
|
3760
4582
|
f
|
3761
4583
|
);
|
3762
4584
|
}
|
3763
|
-
f =
|
4585
|
+
f = message.getSignUpPoint();
|
3764
4586
|
if (f != null) {
|
3765
|
-
writer.
|
4587
|
+
writer.writeMessage(
|
3766
4588
|
3,
|
3767
|
-
f
|
4589
|
+
f,
|
4590
|
+
proto.loyalty.SignUpPoint.serializeBinaryToWriter
|
3768
4591
|
);
|
3769
4592
|
}
|
3770
|
-
f =
|
4593
|
+
f = message.getDepositPoint();
|
3771
4594
|
if (f != null) {
|
3772
|
-
writer.
|
4595
|
+
writer.writeMessage(
|
3773
4596
|
4,
|
3774
|
-
f
|
4597
|
+
f,
|
4598
|
+
proto.loyalty.DepositPoint.serializeBinaryToWriter
|
3775
4599
|
);
|
3776
4600
|
}
|
3777
|
-
f =
|
4601
|
+
f = message.getBetPoint();
|
3778
4602
|
if (f != null) {
|
3779
|
-
writer.
|
4603
|
+
writer.writeMessage(
|
3780
4604
|
5,
|
3781
|
-
f
|
4605
|
+
f,
|
4606
|
+
proto.loyalty.BetPoint.serializeBinaryToWriter
|
3782
4607
|
);
|
3783
4608
|
}
|
3784
4609
|
};
|
@@ -3821,10 +4646,10 @@ proto.loyalty.PointRequest.prototype.hasId = function() {
|
|
3821
4646
|
|
3822
4647
|
|
3823
4648
|
/**
|
3824
|
-
* optional string
|
4649
|
+
* optional string type = 2;
|
3825
4650
|
* @return {string}
|
3826
4651
|
*/
|
3827
|
-
proto.loyalty.PointRequest.prototype.
|
4652
|
+
proto.loyalty.PointRequest.prototype.getType = function() {
|
3828
4653
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
3829
4654
|
};
|
3830
4655
|
|
@@ -3833,7 +4658,7 @@ proto.loyalty.PointRequest.prototype.getTitle = function() {
|
|
3833
4658
|
* @param {string} value
|
3834
4659
|
* @return {!proto.loyalty.PointRequest} returns this
|
3835
4660
|
*/
|
3836
|
-
proto.loyalty.PointRequest.prototype.
|
4661
|
+
proto.loyalty.PointRequest.prototype.setType = function(value) {
|
3837
4662
|
return jspb.Message.setField(this, 2, value);
|
3838
4663
|
};
|
3839
4664
|
|
@@ -3842,7 +4667,7 @@ proto.loyalty.PointRequest.prototype.setTitle = function(value) {
|
|
3842
4667
|
* Clears the field making it undefined.
|
3843
4668
|
* @return {!proto.loyalty.PointRequest} returns this
|
3844
4669
|
*/
|
3845
|
-
proto.loyalty.PointRequest.prototype.
|
4670
|
+
proto.loyalty.PointRequest.prototype.clearType = function() {
|
3846
4671
|
return jspb.Message.setField(this, 2, undefined);
|
3847
4672
|
};
|
3848
4673
|
|
@@ -3851,35 +4676,36 @@ proto.loyalty.PointRequest.prototype.clearTitle = function() {
|
|
3851
4676
|
* Returns whether this field is set.
|
3852
4677
|
* @return {boolean}
|
3853
4678
|
*/
|
3854
|
-
proto.loyalty.PointRequest.prototype.
|
4679
|
+
proto.loyalty.PointRequest.prototype.hasType = function() {
|
3855
4680
|
return jspb.Message.getField(this, 2) != null;
|
3856
4681
|
};
|
3857
4682
|
|
3858
4683
|
|
3859
4684
|
/**
|
3860
|
-
* optional
|
3861
|
-
* @return {
|
4685
|
+
* optional SignUpPoint sign_up_point = 3;
|
4686
|
+
* @return {?proto.loyalty.SignUpPoint}
|
3862
4687
|
*/
|
3863
|
-
proto.loyalty.PointRequest.prototype.
|
3864
|
-
return /** @type
|
4688
|
+
proto.loyalty.PointRequest.prototype.getSignUpPoint = function() {
|
4689
|
+
return /** @type{?proto.loyalty.SignUpPoint} */ (
|
4690
|
+
jspb.Message.getWrapperField(this, proto.loyalty.SignUpPoint, 3));
|
3865
4691
|
};
|
3866
4692
|
|
3867
4693
|
|
3868
4694
|
/**
|
3869
|
-
* @param {
|
4695
|
+
* @param {?proto.loyalty.SignUpPoint|undefined} value
|
3870
4696
|
* @return {!proto.loyalty.PointRequest} returns this
|
3871
|
-
|
3872
|
-
proto.loyalty.PointRequest.prototype.
|
3873
|
-
return jspb.Message.
|
4697
|
+
*/
|
4698
|
+
proto.loyalty.PointRequest.prototype.setSignUpPoint = function(value) {
|
4699
|
+
return jspb.Message.setWrapperField(this, 3, value);
|
3874
4700
|
};
|
3875
4701
|
|
3876
4702
|
|
3877
4703
|
/**
|
3878
|
-
* Clears the field making it undefined.
|
4704
|
+
* Clears the message field making it undefined.
|
3879
4705
|
* @return {!proto.loyalty.PointRequest} returns this
|
3880
4706
|
*/
|
3881
|
-
proto.loyalty.PointRequest.prototype.
|
3882
|
-
return
|
4707
|
+
proto.loyalty.PointRequest.prototype.clearSignUpPoint = function() {
|
4708
|
+
return this.setSignUpPoint(undefined);
|
3883
4709
|
};
|
3884
4710
|
|
3885
4711
|
|
@@ -3887,35 +4713,36 @@ proto.loyalty.PointRequest.prototype.clearDescription = function() {
|
|
3887
4713
|
* Returns whether this field is set.
|
3888
4714
|
* @return {boolean}
|
3889
4715
|
*/
|
3890
|
-
proto.loyalty.PointRequest.prototype.
|
4716
|
+
proto.loyalty.PointRequest.prototype.hasSignUpPoint = function() {
|
3891
4717
|
return jspb.Message.getField(this, 3) != null;
|
3892
4718
|
};
|
3893
4719
|
|
3894
4720
|
|
3895
4721
|
/**
|
3896
|
-
* optional
|
3897
|
-
* @return {
|
4722
|
+
* optional DepositPoint deposit_point = 4;
|
4723
|
+
* @return {?proto.loyalty.DepositPoint}
|
3898
4724
|
*/
|
3899
|
-
proto.loyalty.PointRequest.prototype.
|
3900
|
-
return /** @type
|
4725
|
+
proto.loyalty.PointRequest.prototype.getDepositPoint = function() {
|
4726
|
+
return /** @type{?proto.loyalty.DepositPoint} */ (
|
4727
|
+
jspb.Message.getWrapperField(this, proto.loyalty.DepositPoint, 4));
|
3901
4728
|
};
|
3902
4729
|
|
3903
4730
|
|
3904
4731
|
/**
|
3905
|
-
* @param {
|
4732
|
+
* @param {?proto.loyalty.DepositPoint|undefined} value
|
3906
4733
|
* @return {!proto.loyalty.PointRequest} returns this
|
3907
|
-
|
3908
|
-
proto.loyalty.PointRequest.prototype.
|
3909
|
-
return jspb.Message.
|
4734
|
+
*/
|
4735
|
+
proto.loyalty.PointRequest.prototype.setDepositPoint = function(value) {
|
4736
|
+
return jspb.Message.setWrapperField(this, 4, value);
|
3910
4737
|
};
|
3911
4738
|
|
3912
4739
|
|
3913
4740
|
/**
|
3914
|
-
* Clears the field making it undefined.
|
4741
|
+
* Clears the message field making it undefined.
|
3915
4742
|
* @return {!proto.loyalty.PointRequest} returns this
|
3916
4743
|
*/
|
3917
|
-
proto.loyalty.PointRequest.prototype.
|
3918
|
-
return
|
4744
|
+
proto.loyalty.PointRequest.prototype.clearDepositPoint = function() {
|
4745
|
+
return this.setDepositPoint(undefined);
|
3919
4746
|
};
|
3920
4747
|
|
3921
4748
|
|
@@ -3923,35 +4750,36 @@ proto.loyalty.PointRequest.prototype.clearIsActive = function() {
|
|
3923
4750
|
* Returns whether this field is set.
|
3924
4751
|
* @return {boolean}
|
3925
4752
|
*/
|
3926
|
-
proto.loyalty.PointRequest.prototype.
|
4753
|
+
proto.loyalty.PointRequest.prototype.hasDepositPoint = function() {
|
3927
4754
|
return jspb.Message.getField(this, 4) != null;
|
3928
4755
|
};
|
3929
4756
|
|
3930
4757
|
|
3931
4758
|
/**
|
3932
|
-
* optional
|
3933
|
-
* @return {
|
4759
|
+
* optional BetPoint bet_point = 5;
|
4760
|
+
* @return {?proto.loyalty.BetPoint}
|
3934
4761
|
*/
|
3935
|
-
proto.loyalty.PointRequest.prototype.
|
3936
|
-
return /** @type
|
4762
|
+
proto.loyalty.PointRequest.prototype.getBetPoint = function() {
|
4763
|
+
return /** @type{?proto.loyalty.BetPoint} */ (
|
4764
|
+
jspb.Message.getWrapperField(this, proto.loyalty.BetPoint, 5));
|
3937
4765
|
};
|
3938
4766
|
|
3939
4767
|
|
3940
4768
|
/**
|
3941
|
-
* @param {
|
4769
|
+
* @param {?proto.loyalty.BetPoint|undefined} value
|
3942
4770
|
* @return {!proto.loyalty.PointRequest} returns this
|
3943
|
-
|
3944
|
-
proto.loyalty.PointRequest.prototype.
|
3945
|
-
return jspb.Message.
|
4771
|
+
*/
|
4772
|
+
proto.loyalty.PointRequest.prototype.setBetPoint = function(value) {
|
4773
|
+
return jspb.Message.setWrapperField(this, 5, value);
|
3946
4774
|
};
|
3947
4775
|
|
3948
4776
|
|
3949
4777
|
/**
|
3950
|
-
* Clears the field making it undefined.
|
4778
|
+
* Clears the message field making it undefined.
|
3951
4779
|
* @return {!proto.loyalty.PointRequest} returns this
|
3952
4780
|
*/
|
3953
|
-
proto.loyalty.PointRequest.prototype.
|
3954
|
-
return
|
4781
|
+
proto.loyalty.PointRequest.prototype.clearBetPoint = function() {
|
4782
|
+
return this.setBetPoint(undefined);
|
3955
4783
|
};
|
3956
4784
|
|
3957
4785
|
|
@@ -3959,7 +4787,7 @@ proto.loyalty.PointRequest.prototype.clearRewardAmount = function() {
|
|
3959
4787
|
* Returns whether this field is set.
|
3960
4788
|
* @return {boolean}
|
3961
4789
|
*/
|
3962
|
-
proto.loyalty.PointRequest.prototype.
|
4790
|
+
proto.loyalty.PointRequest.prototype.hasBetPoint = function() {
|
3963
4791
|
return jspb.Message.getField(this, 5) != null;
|
3964
4792
|
};
|
3965
4793
|
|