protobuf-platform 1.2.393 → 1.2.394
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/bonus/bonus.proto +20 -0
- package/bonus/bonus_grpc_pb.js +34 -0
- package/bonus/bonus_pb.js +946 -0
- package/game/game.proto +55 -0
- package/game/game_grpc_pb.js +100 -0
- package/game/game_pb.js +2646 -0
- package/notification/notification.proto +24 -0
- package/notification/notification_grpc_pb.js +22 -0
- package/notification/notification_pb.js +1172 -22
- package/package.json +1 -1
|
@@ -50,6 +50,8 @@ goog.exportSymbol('proto.notification.NotificationResponse', null, global);
|
|
|
50
50
|
goog.exportSymbol('proto.notification.NotificationSearchRequest', null, global);
|
|
51
51
|
goog.exportSymbol('proto.notification.NotificationStatusResponse', null, global);
|
|
52
52
|
goog.exportSymbol('proto.notification.NotificationStringListResponse', null, global);
|
|
53
|
+
goog.exportSymbol('proto.notification.NotificationTargetTypeItem', null, global);
|
|
54
|
+
goog.exportSymbol('proto.notification.NotificationTargetTypeItemsResponse', null, global);
|
|
53
55
|
goog.exportSymbol('proto.notification.NotificationTranslationRequest', null, global);
|
|
54
56
|
goog.exportSymbol('proto.notification.NotificationTranslationResponse', null, global);
|
|
55
57
|
goog.exportSymbol('proto.notification.PaginationRequest', null, global);
|
|
@@ -523,6 +525,48 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
523
525
|
*/
|
|
524
526
|
proto.notification.NotificationStringListResponse.displayName = 'proto.notification.NotificationStringListResponse';
|
|
525
527
|
}
|
|
528
|
+
/**
|
|
529
|
+
* Generated by JsPbCodeGenerator.
|
|
530
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
531
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
532
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
533
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
534
|
+
* valid.
|
|
535
|
+
* @extends {jspb.Message}
|
|
536
|
+
* @constructor
|
|
537
|
+
*/
|
|
538
|
+
proto.notification.NotificationTargetTypeItem = function(opt_data) {
|
|
539
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
540
|
+
};
|
|
541
|
+
goog.inherits(proto.notification.NotificationTargetTypeItem, jspb.Message);
|
|
542
|
+
if (goog.DEBUG && !COMPILED) {
|
|
543
|
+
/**
|
|
544
|
+
* @public
|
|
545
|
+
* @override
|
|
546
|
+
*/
|
|
547
|
+
proto.notification.NotificationTargetTypeItem.displayName = 'proto.notification.NotificationTargetTypeItem';
|
|
548
|
+
}
|
|
549
|
+
/**
|
|
550
|
+
* Generated by JsPbCodeGenerator.
|
|
551
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
552
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
553
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
554
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
555
|
+
* valid.
|
|
556
|
+
* @extends {jspb.Message}
|
|
557
|
+
* @constructor
|
|
558
|
+
*/
|
|
559
|
+
proto.notification.NotificationTargetTypeItemsResponse = function(opt_data) {
|
|
560
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.notification.NotificationTargetTypeItemsResponse.repeatedFields_, null);
|
|
561
|
+
};
|
|
562
|
+
goog.inherits(proto.notification.NotificationTargetTypeItemsResponse, jspb.Message);
|
|
563
|
+
if (goog.DEBUG && !COMPILED) {
|
|
564
|
+
/**
|
|
565
|
+
* @public
|
|
566
|
+
* @override
|
|
567
|
+
*/
|
|
568
|
+
proto.notification.NotificationTargetTypeItemsResponse.displayName = 'proto.notification.NotificationTargetTypeItemsResponse';
|
|
569
|
+
}
|
|
526
570
|
/**
|
|
527
571
|
* Generated by JsPbCodeGenerator.
|
|
528
572
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -3002,7 +3046,12 @@ proto.notification.NotificationItemRequest.toObject = function(includeInstance,
|
|
|
3002
3046
|
isActive: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
|
3003
3047
|
category: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
3004
3048
|
desktopImage: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
3005
|
-
mobileImage: jspb.Message.getFieldWithDefault(msg, 9, "")
|
|
3049
|
+
mobileImage: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
3050
|
+
targetType: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
3051
|
+
targetId: jspb.Message.getFieldWithDefault(msg, 11, 0),
|
|
3052
|
+
targetTitle: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
3053
|
+
targetSlug: jspb.Message.getFieldWithDefault(msg, 13, ""),
|
|
3054
|
+
buttonText: jspb.Message.getFieldWithDefault(msg, 14, "")
|
|
3006
3055
|
};
|
|
3007
3056
|
|
|
3008
3057
|
if (includeInstance) {
|
|
@@ -3075,6 +3124,26 @@ proto.notification.NotificationItemRequest.deserializeBinaryFromReader = functio
|
|
|
3075
3124
|
var value = /** @type {string} */ (reader.readString());
|
|
3076
3125
|
msg.setMobileImage(value);
|
|
3077
3126
|
break;
|
|
3127
|
+
case 10:
|
|
3128
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3129
|
+
msg.setTargetType(value);
|
|
3130
|
+
break;
|
|
3131
|
+
case 11:
|
|
3132
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
3133
|
+
msg.setTargetId(value);
|
|
3134
|
+
break;
|
|
3135
|
+
case 12:
|
|
3136
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3137
|
+
msg.setTargetTitle(value);
|
|
3138
|
+
break;
|
|
3139
|
+
case 13:
|
|
3140
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3141
|
+
msg.setTargetSlug(value);
|
|
3142
|
+
break;
|
|
3143
|
+
case 14:
|
|
3144
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3145
|
+
msg.setButtonText(value);
|
|
3146
|
+
break;
|
|
3078
3147
|
default:
|
|
3079
3148
|
reader.skipField();
|
|
3080
3149
|
break;
|
|
@@ -3167,6 +3236,41 @@ proto.notification.NotificationItemRequest.serializeBinaryToWriter = function(me
|
|
|
3167
3236
|
f
|
|
3168
3237
|
);
|
|
3169
3238
|
}
|
|
3239
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 10));
|
|
3240
|
+
if (f != null) {
|
|
3241
|
+
writer.writeString(
|
|
3242
|
+
10,
|
|
3243
|
+
f
|
|
3244
|
+
);
|
|
3245
|
+
}
|
|
3246
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 11));
|
|
3247
|
+
if (f != null) {
|
|
3248
|
+
writer.writeInt32(
|
|
3249
|
+
11,
|
|
3250
|
+
f
|
|
3251
|
+
);
|
|
3252
|
+
}
|
|
3253
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 12));
|
|
3254
|
+
if (f != null) {
|
|
3255
|
+
writer.writeString(
|
|
3256
|
+
12,
|
|
3257
|
+
f
|
|
3258
|
+
);
|
|
3259
|
+
}
|
|
3260
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 13));
|
|
3261
|
+
if (f != null) {
|
|
3262
|
+
writer.writeString(
|
|
3263
|
+
13,
|
|
3264
|
+
f
|
|
3265
|
+
);
|
|
3266
|
+
}
|
|
3267
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 14));
|
|
3268
|
+
if (f != null) {
|
|
3269
|
+
writer.writeString(
|
|
3270
|
+
14,
|
|
3271
|
+
f
|
|
3272
|
+
);
|
|
3273
|
+
}
|
|
3170
3274
|
};
|
|
3171
3275
|
|
|
3172
3276
|
|
|
@@ -3494,6 +3598,186 @@ proto.notification.NotificationItemRequest.prototype.hasMobileImage = function()
|
|
|
3494
3598
|
};
|
|
3495
3599
|
|
|
3496
3600
|
|
|
3601
|
+
/**
|
|
3602
|
+
* optional string target_type = 10;
|
|
3603
|
+
* @return {string}
|
|
3604
|
+
*/
|
|
3605
|
+
proto.notification.NotificationItemRequest.prototype.getTargetType = function() {
|
|
3606
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
3607
|
+
};
|
|
3608
|
+
|
|
3609
|
+
|
|
3610
|
+
/**
|
|
3611
|
+
* @param {string} value
|
|
3612
|
+
* @return {!proto.notification.NotificationItemRequest} returns this
|
|
3613
|
+
*/
|
|
3614
|
+
proto.notification.NotificationItemRequest.prototype.setTargetType = function(value) {
|
|
3615
|
+
return jspb.Message.setField(this, 10, value);
|
|
3616
|
+
};
|
|
3617
|
+
|
|
3618
|
+
|
|
3619
|
+
/**
|
|
3620
|
+
* Clears the field making it undefined.
|
|
3621
|
+
* @return {!proto.notification.NotificationItemRequest} returns this
|
|
3622
|
+
*/
|
|
3623
|
+
proto.notification.NotificationItemRequest.prototype.clearTargetType = function() {
|
|
3624
|
+
return jspb.Message.setField(this, 10, undefined);
|
|
3625
|
+
};
|
|
3626
|
+
|
|
3627
|
+
|
|
3628
|
+
/**
|
|
3629
|
+
* Returns whether this field is set.
|
|
3630
|
+
* @return {boolean}
|
|
3631
|
+
*/
|
|
3632
|
+
proto.notification.NotificationItemRequest.prototype.hasTargetType = function() {
|
|
3633
|
+
return jspb.Message.getField(this, 10) != null;
|
|
3634
|
+
};
|
|
3635
|
+
|
|
3636
|
+
|
|
3637
|
+
/**
|
|
3638
|
+
* optional int32 target_id = 11;
|
|
3639
|
+
* @return {number}
|
|
3640
|
+
*/
|
|
3641
|
+
proto.notification.NotificationItemRequest.prototype.getTargetId = function() {
|
|
3642
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 11, 0));
|
|
3643
|
+
};
|
|
3644
|
+
|
|
3645
|
+
|
|
3646
|
+
/**
|
|
3647
|
+
* @param {number} value
|
|
3648
|
+
* @return {!proto.notification.NotificationItemRequest} returns this
|
|
3649
|
+
*/
|
|
3650
|
+
proto.notification.NotificationItemRequest.prototype.setTargetId = function(value) {
|
|
3651
|
+
return jspb.Message.setField(this, 11, value);
|
|
3652
|
+
};
|
|
3653
|
+
|
|
3654
|
+
|
|
3655
|
+
/**
|
|
3656
|
+
* Clears the field making it undefined.
|
|
3657
|
+
* @return {!proto.notification.NotificationItemRequest} returns this
|
|
3658
|
+
*/
|
|
3659
|
+
proto.notification.NotificationItemRequest.prototype.clearTargetId = function() {
|
|
3660
|
+
return jspb.Message.setField(this, 11, undefined);
|
|
3661
|
+
};
|
|
3662
|
+
|
|
3663
|
+
|
|
3664
|
+
/**
|
|
3665
|
+
* Returns whether this field is set.
|
|
3666
|
+
* @return {boolean}
|
|
3667
|
+
*/
|
|
3668
|
+
proto.notification.NotificationItemRequest.prototype.hasTargetId = function() {
|
|
3669
|
+
return jspb.Message.getField(this, 11) != null;
|
|
3670
|
+
};
|
|
3671
|
+
|
|
3672
|
+
|
|
3673
|
+
/**
|
|
3674
|
+
* optional string target_title = 12;
|
|
3675
|
+
* @return {string}
|
|
3676
|
+
*/
|
|
3677
|
+
proto.notification.NotificationItemRequest.prototype.getTargetTitle = function() {
|
|
3678
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
|
|
3679
|
+
};
|
|
3680
|
+
|
|
3681
|
+
|
|
3682
|
+
/**
|
|
3683
|
+
* @param {string} value
|
|
3684
|
+
* @return {!proto.notification.NotificationItemRequest} returns this
|
|
3685
|
+
*/
|
|
3686
|
+
proto.notification.NotificationItemRequest.prototype.setTargetTitle = function(value) {
|
|
3687
|
+
return jspb.Message.setField(this, 12, value);
|
|
3688
|
+
};
|
|
3689
|
+
|
|
3690
|
+
|
|
3691
|
+
/**
|
|
3692
|
+
* Clears the field making it undefined.
|
|
3693
|
+
* @return {!proto.notification.NotificationItemRequest} returns this
|
|
3694
|
+
*/
|
|
3695
|
+
proto.notification.NotificationItemRequest.prototype.clearTargetTitle = function() {
|
|
3696
|
+
return jspb.Message.setField(this, 12, undefined);
|
|
3697
|
+
};
|
|
3698
|
+
|
|
3699
|
+
|
|
3700
|
+
/**
|
|
3701
|
+
* Returns whether this field is set.
|
|
3702
|
+
* @return {boolean}
|
|
3703
|
+
*/
|
|
3704
|
+
proto.notification.NotificationItemRequest.prototype.hasTargetTitle = function() {
|
|
3705
|
+
return jspb.Message.getField(this, 12) != null;
|
|
3706
|
+
};
|
|
3707
|
+
|
|
3708
|
+
|
|
3709
|
+
/**
|
|
3710
|
+
* optional string target_slug = 13;
|
|
3711
|
+
* @return {string}
|
|
3712
|
+
*/
|
|
3713
|
+
proto.notification.NotificationItemRequest.prototype.getTargetSlug = function() {
|
|
3714
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
|
|
3715
|
+
};
|
|
3716
|
+
|
|
3717
|
+
|
|
3718
|
+
/**
|
|
3719
|
+
* @param {string} value
|
|
3720
|
+
* @return {!proto.notification.NotificationItemRequest} returns this
|
|
3721
|
+
*/
|
|
3722
|
+
proto.notification.NotificationItemRequest.prototype.setTargetSlug = function(value) {
|
|
3723
|
+
return jspb.Message.setField(this, 13, value);
|
|
3724
|
+
};
|
|
3725
|
+
|
|
3726
|
+
|
|
3727
|
+
/**
|
|
3728
|
+
* Clears the field making it undefined.
|
|
3729
|
+
* @return {!proto.notification.NotificationItemRequest} returns this
|
|
3730
|
+
*/
|
|
3731
|
+
proto.notification.NotificationItemRequest.prototype.clearTargetSlug = function() {
|
|
3732
|
+
return jspb.Message.setField(this, 13, undefined);
|
|
3733
|
+
};
|
|
3734
|
+
|
|
3735
|
+
|
|
3736
|
+
/**
|
|
3737
|
+
* Returns whether this field is set.
|
|
3738
|
+
* @return {boolean}
|
|
3739
|
+
*/
|
|
3740
|
+
proto.notification.NotificationItemRequest.prototype.hasTargetSlug = function() {
|
|
3741
|
+
return jspb.Message.getField(this, 13) != null;
|
|
3742
|
+
};
|
|
3743
|
+
|
|
3744
|
+
|
|
3745
|
+
/**
|
|
3746
|
+
* optional string button_text = 14;
|
|
3747
|
+
* @return {string}
|
|
3748
|
+
*/
|
|
3749
|
+
proto.notification.NotificationItemRequest.prototype.getButtonText = function() {
|
|
3750
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
|
|
3751
|
+
};
|
|
3752
|
+
|
|
3753
|
+
|
|
3754
|
+
/**
|
|
3755
|
+
* @param {string} value
|
|
3756
|
+
* @return {!proto.notification.NotificationItemRequest} returns this
|
|
3757
|
+
*/
|
|
3758
|
+
proto.notification.NotificationItemRequest.prototype.setButtonText = function(value) {
|
|
3759
|
+
return jspb.Message.setField(this, 14, value);
|
|
3760
|
+
};
|
|
3761
|
+
|
|
3762
|
+
|
|
3763
|
+
/**
|
|
3764
|
+
* Clears the field making it undefined.
|
|
3765
|
+
* @return {!proto.notification.NotificationItemRequest} returns this
|
|
3766
|
+
*/
|
|
3767
|
+
proto.notification.NotificationItemRequest.prototype.clearButtonText = function() {
|
|
3768
|
+
return jspb.Message.setField(this, 14, undefined);
|
|
3769
|
+
};
|
|
3770
|
+
|
|
3771
|
+
|
|
3772
|
+
/**
|
|
3773
|
+
* Returns whether this field is set.
|
|
3774
|
+
* @return {boolean}
|
|
3775
|
+
*/
|
|
3776
|
+
proto.notification.NotificationItemRequest.prototype.hasButtonText = function() {
|
|
3777
|
+
return jspb.Message.getField(this, 14) != null;
|
|
3778
|
+
};
|
|
3779
|
+
|
|
3780
|
+
|
|
3497
3781
|
|
|
3498
3782
|
/**
|
|
3499
3783
|
* Oneof group definitions for this message. Each group defines the field
|
|
@@ -4212,7 +4496,13 @@ proto.notification.UserNotificationItem.toObject = function(includeInstance, msg
|
|
|
4212
4496
|
desktopImage: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
4213
4497
|
desktopImageCdn: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
4214
4498
|
mobileImage: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
4215
|
-
mobileImageCdn: jspb.Message.getFieldWithDefault(msg, 11, "")
|
|
4499
|
+
mobileImageCdn: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
4500
|
+
context: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
4501
|
+
targetType: jspb.Message.getFieldWithDefault(msg, 13, ""),
|
|
4502
|
+
targetId: jspb.Message.getFieldWithDefault(msg, 14, 0),
|
|
4503
|
+
targetTitle: jspb.Message.getFieldWithDefault(msg, 15, ""),
|
|
4504
|
+
targetSlug: jspb.Message.getFieldWithDefault(msg, 16, ""),
|
|
4505
|
+
buttonText: jspb.Message.getFieldWithDefault(msg, 17, "")
|
|
4216
4506
|
};
|
|
4217
4507
|
|
|
4218
4508
|
if (includeInstance) {
|
|
@@ -4293,6 +4583,30 @@ proto.notification.UserNotificationItem.deserializeBinaryFromReader = function(m
|
|
|
4293
4583
|
var value = /** @type {string} */ (reader.readString());
|
|
4294
4584
|
msg.setMobileImageCdn(value);
|
|
4295
4585
|
break;
|
|
4586
|
+
case 12:
|
|
4587
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4588
|
+
msg.setContext(value);
|
|
4589
|
+
break;
|
|
4590
|
+
case 13:
|
|
4591
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4592
|
+
msg.setTargetType(value);
|
|
4593
|
+
break;
|
|
4594
|
+
case 14:
|
|
4595
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
4596
|
+
msg.setTargetId(value);
|
|
4597
|
+
break;
|
|
4598
|
+
case 15:
|
|
4599
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4600
|
+
msg.setTargetTitle(value);
|
|
4601
|
+
break;
|
|
4602
|
+
case 16:
|
|
4603
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4604
|
+
msg.setTargetSlug(value);
|
|
4605
|
+
break;
|
|
4606
|
+
case 17:
|
|
4607
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4608
|
+
msg.setButtonText(value);
|
|
4609
|
+
break;
|
|
4296
4610
|
default:
|
|
4297
4611
|
reader.skipField();
|
|
4298
4612
|
break;
|
|
@@ -4399,25 +4713,67 @@ proto.notification.UserNotificationItem.serializeBinaryToWriter = function(messa
|
|
|
4399
4713
|
f
|
|
4400
4714
|
);
|
|
4401
4715
|
}
|
|
4402
|
-
};
|
|
4403
|
-
|
|
4404
|
-
|
|
4405
|
-
|
|
4406
|
-
|
|
4407
|
-
|
|
4408
|
-
|
|
4409
|
-
|
|
4410
|
-
|
|
4411
|
-
|
|
4412
|
-
|
|
4413
|
-
|
|
4414
|
-
|
|
4415
|
-
|
|
4416
|
-
|
|
4417
|
-
|
|
4418
|
-
|
|
4419
|
-
|
|
4420
|
-
|
|
4716
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 12));
|
|
4717
|
+
if (f != null) {
|
|
4718
|
+
writer.writeString(
|
|
4719
|
+
12,
|
|
4720
|
+
f
|
|
4721
|
+
);
|
|
4722
|
+
}
|
|
4723
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 13));
|
|
4724
|
+
if (f != null) {
|
|
4725
|
+
writer.writeString(
|
|
4726
|
+
13,
|
|
4727
|
+
f
|
|
4728
|
+
);
|
|
4729
|
+
}
|
|
4730
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 14));
|
|
4731
|
+
if (f != null) {
|
|
4732
|
+
writer.writeInt32(
|
|
4733
|
+
14,
|
|
4734
|
+
f
|
|
4735
|
+
);
|
|
4736
|
+
}
|
|
4737
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 15));
|
|
4738
|
+
if (f != null) {
|
|
4739
|
+
writer.writeString(
|
|
4740
|
+
15,
|
|
4741
|
+
f
|
|
4742
|
+
);
|
|
4743
|
+
}
|
|
4744
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 16));
|
|
4745
|
+
if (f != null) {
|
|
4746
|
+
writer.writeString(
|
|
4747
|
+
16,
|
|
4748
|
+
f
|
|
4749
|
+
);
|
|
4750
|
+
}
|
|
4751
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 17));
|
|
4752
|
+
if (f != null) {
|
|
4753
|
+
writer.writeString(
|
|
4754
|
+
17,
|
|
4755
|
+
f
|
|
4756
|
+
);
|
|
4757
|
+
}
|
|
4758
|
+
};
|
|
4759
|
+
|
|
4760
|
+
|
|
4761
|
+
/**
|
|
4762
|
+
* optional int32 id = 1;
|
|
4763
|
+
* @return {number}
|
|
4764
|
+
*/
|
|
4765
|
+
proto.notification.UserNotificationItem.prototype.getId = function() {
|
|
4766
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
4767
|
+
};
|
|
4768
|
+
|
|
4769
|
+
|
|
4770
|
+
/**
|
|
4771
|
+
* @param {number} value
|
|
4772
|
+
* @return {!proto.notification.UserNotificationItem} returns this
|
|
4773
|
+
*/
|
|
4774
|
+
proto.notification.UserNotificationItem.prototype.setId = function(value) {
|
|
4775
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
4776
|
+
};
|
|
4421
4777
|
|
|
4422
4778
|
|
|
4423
4779
|
/**
|
|
@@ -4726,6 +5082,222 @@ proto.notification.UserNotificationItem.prototype.hasMobileImageCdn = function()
|
|
|
4726
5082
|
};
|
|
4727
5083
|
|
|
4728
5084
|
|
|
5085
|
+
/**
|
|
5086
|
+
* optional string context = 12;
|
|
5087
|
+
* @return {string}
|
|
5088
|
+
*/
|
|
5089
|
+
proto.notification.UserNotificationItem.prototype.getContext = function() {
|
|
5090
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
|
|
5091
|
+
};
|
|
5092
|
+
|
|
5093
|
+
|
|
5094
|
+
/**
|
|
5095
|
+
* @param {string} value
|
|
5096
|
+
* @return {!proto.notification.UserNotificationItem} returns this
|
|
5097
|
+
*/
|
|
5098
|
+
proto.notification.UserNotificationItem.prototype.setContext = function(value) {
|
|
5099
|
+
return jspb.Message.setField(this, 12, value);
|
|
5100
|
+
};
|
|
5101
|
+
|
|
5102
|
+
|
|
5103
|
+
/**
|
|
5104
|
+
* Clears the field making it undefined.
|
|
5105
|
+
* @return {!proto.notification.UserNotificationItem} returns this
|
|
5106
|
+
*/
|
|
5107
|
+
proto.notification.UserNotificationItem.prototype.clearContext = function() {
|
|
5108
|
+
return jspb.Message.setField(this, 12, undefined);
|
|
5109
|
+
};
|
|
5110
|
+
|
|
5111
|
+
|
|
5112
|
+
/**
|
|
5113
|
+
* Returns whether this field is set.
|
|
5114
|
+
* @return {boolean}
|
|
5115
|
+
*/
|
|
5116
|
+
proto.notification.UserNotificationItem.prototype.hasContext = function() {
|
|
5117
|
+
return jspb.Message.getField(this, 12) != null;
|
|
5118
|
+
};
|
|
5119
|
+
|
|
5120
|
+
|
|
5121
|
+
/**
|
|
5122
|
+
* optional string target_type = 13;
|
|
5123
|
+
* @return {string}
|
|
5124
|
+
*/
|
|
5125
|
+
proto.notification.UserNotificationItem.prototype.getTargetType = function() {
|
|
5126
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
|
|
5127
|
+
};
|
|
5128
|
+
|
|
5129
|
+
|
|
5130
|
+
/**
|
|
5131
|
+
* @param {string} value
|
|
5132
|
+
* @return {!proto.notification.UserNotificationItem} returns this
|
|
5133
|
+
*/
|
|
5134
|
+
proto.notification.UserNotificationItem.prototype.setTargetType = function(value) {
|
|
5135
|
+
return jspb.Message.setField(this, 13, value);
|
|
5136
|
+
};
|
|
5137
|
+
|
|
5138
|
+
|
|
5139
|
+
/**
|
|
5140
|
+
* Clears the field making it undefined.
|
|
5141
|
+
* @return {!proto.notification.UserNotificationItem} returns this
|
|
5142
|
+
*/
|
|
5143
|
+
proto.notification.UserNotificationItem.prototype.clearTargetType = function() {
|
|
5144
|
+
return jspb.Message.setField(this, 13, undefined);
|
|
5145
|
+
};
|
|
5146
|
+
|
|
5147
|
+
|
|
5148
|
+
/**
|
|
5149
|
+
* Returns whether this field is set.
|
|
5150
|
+
* @return {boolean}
|
|
5151
|
+
*/
|
|
5152
|
+
proto.notification.UserNotificationItem.prototype.hasTargetType = function() {
|
|
5153
|
+
return jspb.Message.getField(this, 13) != null;
|
|
5154
|
+
};
|
|
5155
|
+
|
|
5156
|
+
|
|
5157
|
+
/**
|
|
5158
|
+
* optional int32 target_id = 14;
|
|
5159
|
+
* @return {number}
|
|
5160
|
+
*/
|
|
5161
|
+
proto.notification.UserNotificationItem.prototype.getTargetId = function() {
|
|
5162
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 14, 0));
|
|
5163
|
+
};
|
|
5164
|
+
|
|
5165
|
+
|
|
5166
|
+
/**
|
|
5167
|
+
* @param {number} value
|
|
5168
|
+
* @return {!proto.notification.UserNotificationItem} returns this
|
|
5169
|
+
*/
|
|
5170
|
+
proto.notification.UserNotificationItem.prototype.setTargetId = function(value) {
|
|
5171
|
+
return jspb.Message.setField(this, 14, value);
|
|
5172
|
+
};
|
|
5173
|
+
|
|
5174
|
+
|
|
5175
|
+
/**
|
|
5176
|
+
* Clears the field making it undefined.
|
|
5177
|
+
* @return {!proto.notification.UserNotificationItem} returns this
|
|
5178
|
+
*/
|
|
5179
|
+
proto.notification.UserNotificationItem.prototype.clearTargetId = function() {
|
|
5180
|
+
return jspb.Message.setField(this, 14, undefined);
|
|
5181
|
+
};
|
|
5182
|
+
|
|
5183
|
+
|
|
5184
|
+
/**
|
|
5185
|
+
* Returns whether this field is set.
|
|
5186
|
+
* @return {boolean}
|
|
5187
|
+
*/
|
|
5188
|
+
proto.notification.UserNotificationItem.prototype.hasTargetId = function() {
|
|
5189
|
+
return jspb.Message.getField(this, 14) != null;
|
|
5190
|
+
};
|
|
5191
|
+
|
|
5192
|
+
|
|
5193
|
+
/**
|
|
5194
|
+
* optional string target_title = 15;
|
|
5195
|
+
* @return {string}
|
|
5196
|
+
*/
|
|
5197
|
+
proto.notification.UserNotificationItem.prototype.getTargetTitle = function() {
|
|
5198
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 15, ""));
|
|
5199
|
+
};
|
|
5200
|
+
|
|
5201
|
+
|
|
5202
|
+
/**
|
|
5203
|
+
* @param {string} value
|
|
5204
|
+
* @return {!proto.notification.UserNotificationItem} returns this
|
|
5205
|
+
*/
|
|
5206
|
+
proto.notification.UserNotificationItem.prototype.setTargetTitle = function(value) {
|
|
5207
|
+
return jspb.Message.setField(this, 15, value);
|
|
5208
|
+
};
|
|
5209
|
+
|
|
5210
|
+
|
|
5211
|
+
/**
|
|
5212
|
+
* Clears the field making it undefined.
|
|
5213
|
+
* @return {!proto.notification.UserNotificationItem} returns this
|
|
5214
|
+
*/
|
|
5215
|
+
proto.notification.UserNotificationItem.prototype.clearTargetTitle = function() {
|
|
5216
|
+
return jspb.Message.setField(this, 15, undefined);
|
|
5217
|
+
};
|
|
5218
|
+
|
|
5219
|
+
|
|
5220
|
+
/**
|
|
5221
|
+
* Returns whether this field is set.
|
|
5222
|
+
* @return {boolean}
|
|
5223
|
+
*/
|
|
5224
|
+
proto.notification.UserNotificationItem.prototype.hasTargetTitle = function() {
|
|
5225
|
+
return jspb.Message.getField(this, 15) != null;
|
|
5226
|
+
};
|
|
5227
|
+
|
|
5228
|
+
|
|
5229
|
+
/**
|
|
5230
|
+
* optional string target_slug = 16;
|
|
5231
|
+
* @return {string}
|
|
5232
|
+
*/
|
|
5233
|
+
proto.notification.UserNotificationItem.prototype.getTargetSlug = function() {
|
|
5234
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 16, ""));
|
|
5235
|
+
};
|
|
5236
|
+
|
|
5237
|
+
|
|
5238
|
+
/**
|
|
5239
|
+
* @param {string} value
|
|
5240
|
+
* @return {!proto.notification.UserNotificationItem} returns this
|
|
5241
|
+
*/
|
|
5242
|
+
proto.notification.UserNotificationItem.prototype.setTargetSlug = function(value) {
|
|
5243
|
+
return jspb.Message.setField(this, 16, value);
|
|
5244
|
+
};
|
|
5245
|
+
|
|
5246
|
+
|
|
5247
|
+
/**
|
|
5248
|
+
* Clears the field making it undefined.
|
|
5249
|
+
* @return {!proto.notification.UserNotificationItem} returns this
|
|
5250
|
+
*/
|
|
5251
|
+
proto.notification.UserNotificationItem.prototype.clearTargetSlug = function() {
|
|
5252
|
+
return jspb.Message.setField(this, 16, undefined);
|
|
5253
|
+
};
|
|
5254
|
+
|
|
5255
|
+
|
|
5256
|
+
/**
|
|
5257
|
+
* Returns whether this field is set.
|
|
5258
|
+
* @return {boolean}
|
|
5259
|
+
*/
|
|
5260
|
+
proto.notification.UserNotificationItem.prototype.hasTargetSlug = function() {
|
|
5261
|
+
return jspb.Message.getField(this, 16) != null;
|
|
5262
|
+
};
|
|
5263
|
+
|
|
5264
|
+
|
|
5265
|
+
/**
|
|
5266
|
+
* optional string button_text = 17;
|
|
5267
|
+
* @return {string}
|
|
5268
|
+
*/
|
|
5269
|
+
proto.notification.UserNotificationItem.prototype.getButtonText = function() {
|
|
5270
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 17, ""));
|
|
5271
|
+
};
|
|
5272
|
+
|
|
5273
|
+
|
|
5274
|
+
/**
|
|
5275
|
+
* @param {string} value
|
|
5276
|
+
* @return {!proto.notification.UserNotificationItem} returns this
|
|
5277
|
+
*/
|
|
5278
|
+
proto.notification.UserNotificationItem.prototype.setButtonText = function(value) {
|
|
5279
|
+
return jspb.Message.setField(this, 17, value);
|
|
5280
|
+
};
|
|
5281
|
+
|
|
5282
|
+
|
|
5283
|
+
/**
|
|
5284
|
+
* Clears the field making it undefined.
|
|
5285
|
+
* @return {!proto.notification.UserNotificationItem} returns this
|
|
5286
|
+
*/
|
|
5287
|
+
proto.notification.UserNotificationItem.prototype.clearButtonText = function() {
|
|
5288
|
+
return jspb.Message.setField(this, 17, undefined);
|
|
5289
|
+
};
|
|
5290
|
+
|
|
5291
|
+
|
|
5292
|
+
/**
|
|
5293
|
+
* Returns whether this field is set.
|
|
5294
|
+
* @return {boolean}
|
|
5295
|
+
*/
|
|
5296
|
+
proto.notification.UserNotificationItem.prototype.hasButtonText = function() {
|
|
5297
|
+
return jspb.Message.getField(this, 17) != null;
|
|
5298
|
+
};
|
|
5299
|
+
|
|
5300
|
+
|
|
4729
5301
|
|
|
4730
5302
|
/**
|
|
4731
5303
|
* List of repeated fields within this message type.
|
|
@@ -5025,7 +5597,12 @@ proto.notification.NotificationItem.toObject = function(includeInstance, msg) {
|
|
|
5025
5597
|
desktopImage: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
5026
5598
|
desktopImageCdn: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
5027
5599
|
mobileImage: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
5028
|
-
mobileImageCdn: jspb.Message.getFieldWithDefault(msg, 12, "")
|
|
5600
|
+
mobileImageCdn: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
5601
|
+
targetType: jspb.Message.getFieldWithDefault(msg, 13, ""),
|
|
5602
|
+
targetId: jspb.Message.getFieldWithDefault(msg, 14, 0),
|
|
5603
|
+
targetTitle: jspb.Message.getFieldWithDefault(msg, 15, ""),
|
|
5604
|
+
targetSlug: jspb.Message.getFieldWithDefault(msg, 16, ""),
|
|
5605
|
+
buttonText: jspb.Message.getFieldWithDefault(msg, 17, "")
|
|
5029
5606
|
};
|
|
5030
5607
|
|
|
5031
5608
|
if (includeInstance) {
|
|
@@ -5110,6 +5687,26 @@ proto.notification.NotificationItem.deserializeBinaryFromReader = function(msg,
|
|
|
5110
5687
|
var value = /** @type {string} */ (reader.readString());
|
|
5111
5688
|
msg.setMobileImageCdn(value);
|
|
5112
5689
|
break;
|
|
5690
|
+
case 13:
|
|
5691
|
+
var value = /** @type {string} */ (reader.readString());
|
|
5692
|
+
msg.setTargetType(value);
|
|
5693
|
+
break;
|
|
5694
|
+
case 14:
|
|
5695
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
5696
|
+
msg.setTargetId(value);
|
|
5697
|
+
break;
|
|
5698
|
+
case 15:
|
|
5699
|
+
var value = /** @type {string} */ (reader.readString());
|
|
5700
|
+
msg.setTargetTitle(value);
|
|
5701
|
+
break;
|
|
5702
|
+
case 16:
|
|
5703
|
+
var value = /** @type {string} */ (reader.readString());
|
|
5704
|
+
msg.setTargetSlug(value);
|
|
5705
|
+
break;
|
|
5706
|
+
case 17:
|
|
5707
|
+
var value = /** @type {string} */ (reader.readString());
|
|
5708
|
+
msg.setButtonText(value);
|
|
5709
|
+
break;
|
|
5113
5710
|
default:
|
|
5114
5711
|
reader.skipField();
|
|
5115
5712
|
break;
|
|
@@ -5223,6 +5820,41 @@ proto.notification.NotificationItem.serializeBinaryToWriter = function(message,
|
|
|
5223
5820
|
f
|
|
5224
5821
|
);
|
|
5225
5822
|
}
|
|
5823
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 13));
|
|
5824
|
+
if (f != null) {
|
|
5825
|
+
writer.writeString(
|
|
5826
|
+
13,
|
|
5827
|
+
f
|
|
5828
|
+
);
|
|
5829
|
+
}
|
|
5830
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 14));
|
|
5831
|
+
if (f != null) {
|
|
5832
|
+
writer.writeInt32(
|
|
5833
|
+
14,
|
|
5834
|
+
f
|
|
5835
|
+
);
|
|
5836
|
+
}
|
|
5837
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 15));
|
|
5838
|
+
if (f != null) {
|
|
5839
|
+
writer.writeString(
|
|
5840
|
+
15,
|
|
5841
|
+
f
|
|
5842
|
+
);
|
|
5843
|
+
}
|
|
5844
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 16));
|
|
5845
|
+
if (f != null) {
|
|
5846
|
+
writer.writeString(
|
|
5847
|
+
16,
|
|
5848
|
+
f
|
|
5849
|
+
);
|
|
5850
|
+
}
|
|
5851
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 17));
|
|
5852
|
+
if (f != null) {
|
|
5853
|
+
writer.writeString(
|
|
5854
|
+
17,
|
|
5855
|
+
f
|
|
5856
|
+
);
|
|
5857
|
+
}
|
|
5226
5858
|
};
|
|
5227
5859
|
|
|
5228
5860
|
|
|
@@ -5550,6 +6182,186 @@ proto.notification.NotificationItem.prototype.hasMobileImageCdn = function() {
|
|
|
5550
6182
|
};
|
|
5551
6183
|
|
|
5552
6184
|
|
|
6185
|
+
/**
|
|
6186
|
+
* optional string target_type = 13;
|
|
6187
|
+
* @return {string}
|
|
6188
|
+
*/
|
|
6189
|
+
proto.notification.NotificationItem.prototype.getTargetType = function() {
|
|
6190
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
|
|
6191
|
+
};
|
|
6192
|
+
|
|
6193
|
+
|
|
6194
|
+
/**
|
|
6195
|
+
* @param {string} value
|
|
6196
|
+
* @return {!proto.notification.NotificationItem} returns this
|
|
6197
|
+
*/
|
|
6198
|
+
proto.notification.NotificationItem.prototype.setTargetType = function(value) {
|
|
6199
|
+
return jspb.Message.setField(this, 13, value);
|
|
6200
|
+
};
|
|
6201
|
+
|
|
6202
|
+
|
|
6203
|
+
/**
|
|
6204
|
+
* Clears the field making it undefined.
|
|
6205
|
+
* @return {!proto.notification.NotificationItem} returns this
|
|
6206
|
+
*/
|
|
6207
|
+
proto.notification.NotificationItem.prototype.clearTargetType = function() {
|
|
6208
|
+
return jspb.Message.setField(this, 13, undefined);
|
|
6209
|
+
};
|
|
6210
|
+
|
|
6211
|
+
|
|
6212
|
+
/**
|
|
6213
|
+
* Returns whether this field is set.
|
|
6214
|
+
* @return {boolean}
|
|
6215
|
+
*/
|
|
6216
|
+
proto.notification.NotificationItem.prototype.hasTargetType = function() {
|
|
6217
|
+
return jspb.Message.getField(this, 13) != null;
|
|
6218
|
+
};
|
|
6219
|
+
|
|
6220
|
+
|
|
6221
|
+
/**
|
|
6222
|
+
* optional int32 target_id = 14;
|
|
6223
|
+
* @return {number}
|
|
6224
|
+
*/
|
|
6225
|
+
proto.notification.NotificationItem.prototype.getTargetId = function() {
|
|
6226
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 14, 0));
|
|
6227
|
+
};
|
|
6228
|
+
|
|
6229
|
+
|
|
6230
|
+
/**
|
|
6231
|
+
* @param {number} value
|
|
6232
|
+
* @return {!proto.notification.NotificationItem} returns this
|
|
6233
|
+
*/
|
|
6234
|
+
proto.notification.NotificationItem.prototype.setTargetId = function(value) {
|
|
6235
|
+
return jspb.Message.setField(this, 14, value);
|
|
6236
|
+
};
|
|
6237
|
+
|
|
6238
|
+
|
|
6239
|
+
/**
|
|
6240
|
+
* Clears the field making it undefined.
|
|
6241
|
+
* @return {!proto.notification.NotificationItem} returns this
|
|
6242
|
+
*/
|
|
6243
|
+
proto.notification.NotificationItem.prototype.clearTargetId = function() {
|
|
6244
|
+
return jspb.Message.setField(this, 14, undefined);
|
|
6245
|
+
};
|
|
6246
|
+
|
|
6247
|
+
|
|
6248
|
+
/**
|
|
6249
|
+
* Returns whether this field is set.
|
|
6250
|
+
* @return {boolean}
|
|
6251
|
+
*/
|
|
6252
|
+
proto.notification.NotificationItem.prototype.hasTargetId = function() {
|
|
6253
|
+
return jspb.Message.getField(this, 14) != null;
|
|
6254
|
+
};
|
|
6255
|
+
|
|
6256
|
+
|
|
6257
|
+
/**
|
|
6258
|
+
* optional string target_title = 15;
|
|
6259
|
+
* @return {string}
|
|
6260
|
+
*/
|
|
6261
|
+
proto.notification.NotificationItem.prototype.getTargetTitle = function() {
|
|
6262
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 15, ""));
|
|
6263
|
+
};
|
|
6264
|
+
|
|
6265
|
+
|
|
6266
|
+
/**
|
|
6267
|
+
* @param {string} value
|
|
6268
|
+
* @return {!proto.notification.NotificationItem} returns this
|
|
6269
|
+
*/
|
|
6270
|
+
proto.notification.NotificationItem.prototype.setTargetTitle = function(value) {
|
|
6271
|
+
return jspb.Message.setField(this, 15, value);
|
|
6272
|
+
};
|
|
6273
|
+
|
|
6274
|
+
|
|
6275
|
+
/**
|
|
6276
|
+
* Clears the field making it undefined.
|
|
6277
|
+
* @return {!proto.notification.NotificationItem} returns this
|
|
6278
|
+
*/
|
|
6279
|
+
proto.notification.NotificationItem.prototype.clearTargetTitle = function() {
|
|
6280
|
+
return jspb.Message.setField(this, 15, undefined);
|
|
6281
|
+
};
|
|
6282
|
+
|
|
6283
|
+
|
|
6284
|
+
/**
|
|
6285
|
+
* Returns whether this field is set.
|
|
6286
|
+
* @return {boolean}
|
|
6287
|
+
*/
|
|
6288
|
+
proto.notification.NotificationItem.prototype.hasTargetTitle = function() {
|
|
6289
|
+
return jspb.Message.getField(this, 15) != null;
|
|
6290
|
+
};
|
|
6291
|
+
|
|
6292
|
+
|
|
6293
|
+
/**
|
|
6294
|
+
* optional string target_slug = 16;
|
|
6295
|
+
* @return {string}
|
|
6296
|
+
*/
|
|
6297
|
+
proto.notification.NotificationItem.prototype.getTargetSlug = function() {
|
|
6298
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 16, ""));
|
|
6299
|
+
};
|
|
6300
|
+
|
|
6301
|
+
|
|
6302
|
+
/**
|
|
6303
|
+
* @param {string} value
|
|
6304
|
+
* @return {!proto.notification.NotificationItem} returns this
|
|
6305
|
+
*/
|
|
6306
|
+
proto.notification.NotificationItem.prototype.setTargetSlug = function(value) {
|
|
6307
|
+
return jspb.Message.setField(this, 16, value);
|
|
6308
|
+
};
|
|
6309
|
+
|
|
6310
|
+
|
|
6311
|
+
/**
|
|
6312
|
+
* Clears the field making it undefined.
|
|
6313
|
+
* @return {!proto.notification.NotificationItem} returns this
|
|
6314
|
+
*/
|
|
6315
|
+
proto.notification.NotificationItem.prototype.clearTargetSlug = function() {
|
|
6316
|
+
return jspb.Message.setField(this, 16, undefined);
|
|
6317
|
+
};
|
|
6318
|
+
|
|
6319
|
+
|
|
6320
|
+
/**
|
|
6321
|
+
* Returns whether this field is set.
|
|
6322
|
+
* @return {boolean}
|
|
6323
|
+
*/
|
|
6324
|
+
proto.notification.NotificationItem.prototype.hasTargetSlug = function() {
|
|
6325
|
+
return jspb.Message.getField(this, 16) != null;
|
|
6326
|
+
};
|
|
6327
|
+
|
|
6328
|
+
|
|
6329
|
+
/**
|
|
6330
|
+
* optional string button_text = 17;
|
|
6331
|
+
* @return {string}
|
|
6332
|
+
*/
|
|
6333
|
+
proto.notification.NotificationItem.prototype.getButtonText = function() {
|
|
6334
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 17, ""));
|
|
6335
|
+
};
|
|
6336
|
+
|
|
6337
|
+
|
|
6338
|
+
/**
|
|
6339
|
+
* @param {string} value
|
|
6340
|
+
* @return {!proto.notification.NotificationItem} returns this
|
|
6341
|
+
*/
|
|
6342
|
+
proto.notification.NotificationItem.prototype.setButtonText = function(value) {
|
|
6343
|
+
return jspb.Message.setField(this, 17, value);
|
|
6344
|
+
};
|
|
6345
|
+
|
|
6346
|
+
|
|
6347
|
+
/**
|
|
6348
|
+
* Clears the field making it undefined.
|
|
6349
|
+
* @return {!proto.notification.NotificationItem} returns this
|
|
6350
|
+
*/
|
|
6351
|
+
proto.notification.NotificationItem.prototype.clearButtonText = function() {
|
|
6352
|
+
return jspb.Message.setField(this, 17, undefined);
|
|
6353
|
+
};
|
|
6354
|
+
|
|
6355
|
+
|
|
6356
|
+
/**
|
|
6357
|
+
* Returns whether this field is set.
|
|
6358
|
+
* @return {boolean}
|
|
6359
|
+
*/
|
|
6360
|
+
proto.notification.NotificationItem.prototype.hasButtonText = function() {
|
|
6361
|
+
return jspb.Message.getField(this, 17) != null;
|
|
6362
|
+
};
|
|
6363
|
+
|
|
6364
|
+
|
|
5553
6365
|
|
|
5554
6366
|
|
|
5555
6367
|
|
|
@@ -6908,6 +7720,344 @@ proto.notification.NotificationStringListResponse.prototype.clearItemsList = fun
|
|
|
6908
7720
|
|
|
6909
7721
|
|
|
6910
7722
|
|
|
7723
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
7724
|
+
/**
|
|
7725
|
+
* Creates an object representation of this proto.
|
|
7726
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
7727
|
+
* Optional fields that are not set will be set to undefined.
|
|
7728
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
7729
|
+
* For the list of reserved names please see:
|
|
7730
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
7731
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
7732
|
+
* JSPB instance for transitional soy proto support:
|
|
7733
|
+
* http://goto/soy-param-migration
|
|
7734
|
+
* @return {!Object}
|
|
7735
|
+
*/
|
|
7736
|
+
proto.notification.NotificationTargetTypeItem.prototype.toObject = function(opt_includeInstance) {
|
|
7737
|
+
return proto.notification.NotificationTargetTypeItem.toObject(opt_includeInstance, this);
|
|
7738
|
+
};
|
|
7739
|
+
|
|
7740
|
+
|
|
7741
|
+
/**
|
|
7742
|
+
* Static version of the {@see toObject} method.
|
|
7743
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
7744
|
+
* the JSPB instance for transitional soy proto support:
|
|
7745
|
+
* http://goto/soy-param-migration
|
|
7746
|
+
* @param {!proto.notification.NotificationTargetTypeItem} msg The msg instance to transform.
|
|
7747
|
+
* @return {!Object}
|
|
7748
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
7749
|
+
*/
|
|
7750
|
+
proto.notification.NotificationTargetTypeItem.toObject = function(includeInstance, msg) {
|
|
7751
|
+
var f, obj = {
|
|
7752
|
+
value: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
7753
|
+
title: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
7754
|
+
};
|
|
7755
|
+
|
|
7756
|
+
if (includeInstance) {
|
|
7757
|
+
obj.$jspbMessageInstance = msg;
|
|
7758
|
+
}
|
|
7759
|
+
return obj;
|
|
7760
|
+
};
|
|
7761
|
+
}
|
|
7762
|
+
|
|
7763
|
+
|
|
7764
|
+
/**
|
|
7765
|
+
* Deserializes binary data (in protobuf wire format).
|
|
7766
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
7767
|
+
* @return {!proto.notification.NotificationTargetTypeItem}
|
|
7768
|
+
*/
|
|
7769
|
+
proto.notification.NotificationTargetTypeItem.deserializeBinary = function(bytes) {
|
|
7770
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
7771
|
+
var msg = new proto.notification.NotificationTargetTypeItem;
|
|
7772
|
+
return proto.notification.NotificationTargetTypeItem.deserializeBinaryFromReader(msg, reader);
|
|
7773
|
+
};
|
|
7774
|
+
|
|
7775
|
+
|
|
7776
|
+
/**
|
|
7777
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
7778
|
+
* given reader into the given message object.
|
|
7779
|
+
* @param {!proto.notification.NotificationTargetTypeItem} msg The message object to deserialize into.
|
|
7780
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
7781
|
+
* @return {!proto.notification.NotificationTargetTypeItem}
|
|
7782
|
+
*/
|
|
7783
|
+
proto.notification.NotificationTargetTypeItem.deserializeBinaryFromReader = function(msg, reader) {
|
|
7784
|
+
while (reader.nextField()) {
|
|
7785
|
+
if (reader.isEndGroup()) {
|
|
7786
|
+
break;
|
|
7787
|
+
}
|
|
7788
|
+
var field = reader.getFieldNumber();
|
|
7789
|
+
switch (field) {
|
|
7790
|
+
case 1:
|
|
7791
|
+
var value = /** @type {string} */ (reader.readString());
|
|
7792
|
+
msg.setValue(value);
|
|
7793
|
+
break;
|
|
7794
|
+
case 2:
|
|
7795
|
+
var value = /** @type {string} */ (reader.readString());
|
|
7796
|
+
msg.setTitle(value);
|
|
7797
|
+
break;
|
|
7798
|
+
default:
|
|
7799
|
+
reader.skipField();
|
|
7800
|
+
break;
|
|
7801
|
+
}
|
|
7802
|
+
}
|
|
7803
|
+
return msg;
|
|
7804
|
+
};
|
|
7805
|
+
|
|
7806
|
+
|
|
7807
|
+
/**
|
|
7808
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
7809
|
+
* @return {!Uint8Array}
|
|
7810
|
+
*/
|
|
7811
|
+
proto.notification.NotificationTargetTypeItem.prototype.serializeBinary = function() {
|
|
7812
|
+
var writer = new jspb.BinaryWriter();
|
|
7813
|
+
proto.notification.NotificationTargetTypeItem.serializeBinaryToWriter(this, writer);
|
|
7814
|
+
return writer.getResultBuffer();
|
|
7815
|
+
};
|
|
7816
|
+
|
|
7817
|
+
|
|
7818
|
+
/**
|
|
7819
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
7820
|
+
* format), writing to the given BinaryWriter.
|
|
7821
|
+
* @param {!proto.notification.NotificationTargetTypeItem} message
|
|
7822
|
+
* @param {!jspb.BinaryWriter} writer
|
|
7823
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
7824
|
+
*/
|
|
7825
|
+
proto.notification.NotificationTargetTypeItem.serializeBinaryToWriter = function(message, writer) {
|
|
7826
|
+
var f = undefined;
|
|
7827
|
+
f = message.getValue();
|
|
7828
|
+
if (f.length > 0) {
|
|
7829
|
+
writer.writeString(
|
|
7830
|
+
1,
|
|
7831
|
+
f
|
|
7832
|
+
);
|
|
7833
|
+
}
|
|
7834
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 2));
|
|
7835
|
+
if (f != null) {
|
|
7836
|
+
writer.writeString(
|
|
7837
|
+
2,
|
|
7838
|
+
f
|
|
7839
|
+
);
|
|
7840
|
+
}
|
|
7841
|
+
};
|
|
7842
|
+
|
|
7843
|
+
|
|
7844
|
+
/**
|
|
7845
|
+
* optional string value = 1;
|
|
7846
|
+
* @return {string}
|
|
7847
|
+
*/
|
|
7848
|
+
proto.notification.NotificationTargetTypeItem.prototype.getValue = function() {
|
|
7849
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
7850
|
+
};
|
|
7851
|
+
|
|
7852
|
+
|
|
7853
|
+
/**
|
|
7854
|
+
* @param {string} value
|
|
7855
|
+
* @return {!proto.notification.NotificationTargetTypeItem} returns this
|
|
7856
|
+
*/
|
|
7857
|
+
proto.notification.NotificationTargetTypeItem.prototype.setValue = function(value) {
|
|
7858
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
7859
|
+
};
|
|
7860
|
+
|
|
7861
|
+
|
|
7862
|
+
/**
|
|
7863
|
+
* optional string title = 2;
|
|
7864
|
+
* @return {string}
|
|
7865
|
+
*/
|
|
7866
|
+
proto.notification.NotificationTargetTypeItem.prototype.getTitle = function() {
|
|
7867
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
7868
|
+
};
|
|
7869
|
+
|
|
7870
|
+
|
|
7871
|
+
/**
|
|
7872
|
+
* @param {string} value
|
|
7873
|
+
* @return {!proto.notification.NotificationTargetTypeItem} returns this
|
|
7874
|
+
*/
|
|
7875
|
+
proto.notification.NotificationTargetTypeItem.prototype.setTitle = function(value) {
|
|
7876
|
+
return jspb.Message.setField(this, 2, value);
|
|
7877
|
+
};
|
|
7878
|
+
|
|
7879
|
+
|
|
7880
|
+
/**
|
|
7881
|
+
* Clears the field making it undefined.
|
|
7882
|
+
* @return {!proto.notification.NotificationTargetTypeItem} returns this
|
|
7883
|
+
*/
|
|
7884
|
+
proto.notification.NotificationTargetTypeItem.prototype.clearTitle = function() {
|
|
7885
|
+
return jspb.Message.setField(this, 2, undefined);
|
|
7886
|
+
};
|
|
7887
|
+
|
|
7888
|
+
|
|
7889
|
+
/**
|
|
7890
|
+
* Returns whether this field is set.
|
|
7891
|
+
* @return {boolean}
|
|
7892
|
+
*/
|
|
7893
|
+
proto.notification.NotificationTargetTypeItem.prototype.hasTitle = function() {
|
|
7894
|
+
return jspb.Message.getField(this, 2) != null;
|
|
7895
|
+
};
|
|
7896
|
+
|
|
7897
|
+
|
|
7898
|
+
|
|
7899
|
+
/**
|
|
7900
|
+
* List of repeated fields within this message type.
|
|
7901
|
+
* @private {!Array<number>}
|
|
7902
|
+
* @const
|
|
7903
|
+
*/
|
|
7904
|
+
proto.notification.NotificationTargetTypeItemsResponse.repeatedFields_ = [1];
|
|
7905
|
+
|
|
7906
|
+
|
|
7907
|
+
|
|
7908
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
7909
|
+
/**
|
|
7910
|
+
* Creates an object representation of this proto.
|
|
7911
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
7912
|
+
* Optional fields that are not set will be set to undefined.
|
|
7913
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
7914
|
+
* For the list of reserved names please see:
|
|
7915
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
7916
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
7917
|
+
* JSPB instance for transitional soy proto support:
|
|
7918
|
+
* http://goto/soy-param-migration
|
|
7919
|
+
* @return {!Object}
|
|
7920
|
+
*/
|
|
7921
|
+
proto.notification.NotificationTargetTypeItemsResponse.prototype.toObject = function(opt_includeInstance) {
|
|
7922
|
+
return proto.notification.NotificationTargetTypeItemsResponse.toObject(opt_includeInstance, this);
|
|
7923
|
+
};
|
|
7924
|
+
|
|
7925
|
+
|
|
7926
|
+
/**
|
|
7927
|
+
* Static version of the {@see toObject} method.
|
|
7928
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
7929
|
+
* the JSPB instance for transitional soy proto support:
|
|
7930
|
+
* http://goto/soy-param-migration
|
|
7931
|
+
* @param {!proto.notification.NotificationTargetTypeItemsResponse} msg The msg instance to transform.
|
|
7932
|
+
* @return {!Object}
|
|
7933
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
7934
|
+
*/
|
|
7935
|
+
proto.notification.NotificationTargetTypeItemsResponse.toObject = function(includeInstance, msg) {
|
|
7936
|
+
var f, obj = {
|
|
7937
|
+
itemsList: jspb.Message.toObjectList(msg.getItemsList(),
|
|
7938
|
+
proto.notification.NotificationTargetTypeItem.toObject, includeInstance)
|
|
7939
|
+
};
|
|
7940
|
+
|
|
7941
|
+
if (includeInstance) {
|
|
7942
|
+
obj.$jspbMessageInstance = msg;
|
|
7943
|
+
}
|
|
7944
|
+
return obj;
|
|
7945
|
+
};
|
|
7946
|
+
}
|
|
7947
|
+
|
|
7948
|
+
|
|
7949
|
+
/**
|
|
7950
|
+
* Deserializes binary data (in protobuf wire format).
|
|
7951
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
7952
|
+
* @return {!proto.notification.NotificationTargetTypeItemsResponse}
|
|
7953
|
+
*/
|
|
7954
|
+
proto.notification.NotificationTargetTypeItemsResponse.deserializeBinary = function(bytes) {
|
|
7955
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
7956
|
+
var msg = new proto.notification.NotificationTargetTypeItemsResponse;
|
|
7957
|
+
return proto.notification.NotificationTargetTypeItemsResponse.deserializeBinaryFromReader(msg, reader);
|
|
7958
|
+
};
|
|
7959
|
+
|
|
7960
|
+
|
|
7961
|
+
/**
|
|
7962
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
7963
|
+
* given reader into the given message object.
|
|
7964
|
+
* @param {!proto.notification.NotificationTargetTypeItemsResponse} msg The message object to deserialize into.
|
|
7965
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
7966
|
+
* @return {!proto.notification.NotificationTargetTypeItemsResponse}
|
|
7967
|
+
*/
|
|
7968
|
+
proto.notification.NotificationTargetTypeItemsResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
7969
|
+
while (reader.nextField()) {
|
|
7970
|
+
if (reader.isEndGroup()) {
|
|
7971
|
+
break;
|
|
7972
|
+
}
|
|
7973
|
+
var field = reader.getFieldNumber();
|
|
7974
|
+
switch (field) {
|
|
7975
|
+
case 1:
|
|
7976
|
+
var value = new proto.notification.NotificationTargetTypeItem;
|
|
7977
|
+
reader.readMessage(value,proto.notification.NotificationTargetTypeItem.deserializeBinaryFromReader);
|
|
7978
|
+
msg.addItems(value);
|
|
7979
|
+
break;
|
|
7980
|
+
default:
|
|
7981
|
+
reader.skipField();
|
|
7982
|
+
break;
|
|
7983
|
+
}
|
|
7984
|
+
}
|
|
7985
|
+
return msg;
|
|
7986
|
+
};
|
|
7987
|
+
|
|
7988
|
+
|
|
7989
|
+
/**
|
|
7990
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
7991
|
+
* @return {!Uint8Array}
|
|
7992
|
+
*/
|
|
7993
|
+
proto.notification.NotificationTargetTypeItemsResponse.prototype.serializeBinary = function() {
|
|
7994
|
+
var writer = new jspb.BinaryWriter();
|
|
7995
|
+
proto.notification.NotificationTargetTypeItemsResponse.serializeBinaryToWriter(this, writer);
|
|
7996
|
+
return writer.getResultBuffer();
|
|
7997
|
+
};
|
|
7998
|
+
|
|
7999
|
+
|
|
8000
|
+
/**
|
|
8001
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
8002
|
+
* format), writing to the given BinaryWriter.
|
|
8003
|
+
* @param {!proto.notification.NotificationTargetTypeItemsResponse} message
|
|
8004
|
+
* @param {!jspb.BinaryWriter} writer
|
|
8005
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
8006
|
+
*/
|
|
8007
|
+
proto.notification.NotificationTargetTypeItemsResponse.serializeBinaryToWriter = function(message, writer) {
|
|
8008
|
+
var f = undefined;
|
|
8009
|
+
f = message.getItemsList();
|
|
8010
|
+
if (f.length > 0) {
|
|
8011
|
+
writer.writeRepeatedMessage(
|
|
8012
|
+
1,
|
|
8013
|
+
f,
|
|
8014
|
+
proto.notification.NotificationTargetTypeItem.serializeBinaryToWriter
|
|
8015
|
+
);
|
|
8016
|
+
}
|
|
8017
|
+
};
|
|
8018
|
+
|
|
8019
|
+
|
|
8020
|
+
/**
|
|
8021
|
+
* repeated NotificationTargetTypeItem items = 1;
|
|
8022
|
+
* @return {!Array<!proto.notification.NotificationTargetTypeItem>}
|
|
8023
|
+
*/
|
|
8024
|
+
proto.notification.NotificationTargetTypeItemsResponse.prototype.getItemsList = function() {
|
|
8025
|
+
return /** @type{!Array<!proto.notification.NotificationTargetTypeItem>} */ (
|
|
8026
|
+
jspb.Message.getRepeatedWrapperField(this, proto.notification.NotificationTargetTypeItem, 1));
|
|
8027
|
+
};
|
|
8028
|
+
|
|
8029
|
+
|
|
8030
|
+
/**
|
|
8031
|
+
* @param {!Array<!proto.notification.NotificationTargetTypeItem>} value
|
|
8032
|
+
* @return {!proto.notification.NotificationTargetTypeItemsResponse} returns this
|
|
8033
|
+
*/
|
|
8034
|
+
proto.notification.NotificationTargetTypeItemsResponse.prototype.setItemsList = function(value) {
|
|
8035
|
+
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
8036
|
+
};
|
|
8037
|
+
|
|
8038
|
+
|
|
8039
|
+
/**
|
|
8040
|
+
* @param {!proto.notification.NotificationTargetTypeItem=} opt_value
|
|
8041
|
+
* @param {number=} opt_index
|
|
8042
|
+
* @return {!proto.notification.NotificationTargetTypeItem}
|
|
8043
|
+
*/
|
|
8044
|
+
proto.notification.NotificationTargetTypeItemsResponse.prototype.addItems = function(opt_value, opt_index) {
|
|
8045
|
+
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.notification.NotificationTargetTypeItem, opt_index);
|
|
8046
|
+
};
|
|
8047
|
+
|
|
8048
|
+
|
|
8049
|
+
/**
|
|
8050
|
+
* Clears the list making it empty but non-null.
|
|
8051
|
+
* @return {!proto.notification.NotificationTargetTypeItemsResponse} returns this
|
|
8052
|
+
*/
|
|
8053
|
+
proto.notification.NotificationTargetTypeItemsResponse.prototype.clearItemsList = function() {
|
|
8054
|
+
return this.setItemsList([]);
|
|
8055
|
+
};
|
|
8056
|
+
|
|
8057
|
+
|
|
8058
|
+
|
|
8059
|
+
|
|
8060
|
+
|
|
6911
8061
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
6912
8062
|
/**
|
|
6913
8063
|
* Creates an object representation of this proto.
|