protobuf-platform 1.2.393 → 1.2.395
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 +51 -0
- package/game/game_grpc_pb.js +100 -0
- package/game/game_pb.js +2454 -0
- package/notification/notification.proto +26 -0
- package/notification/notification_grpc_pb.js +22 -0
- package/notification/notification_pb.js +1274 -28
- 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,14 @@ 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, ""),
|
|
4506
|
+
targetProviderSlug: jspb.Message.getFieldWithDefault(msg, 18, "")
|
|
4216
4507
|
};
|
|
4217
4508
|
|
|
4218
4509
|
if (includeInstance) {
|
|
@@ -4293,6 +4584,34 @@ proto.notification.UserNotificationItem.deserializeBinaryFromReader = function(m
|
|
|
4293
4584
|
var value = /** @type {string} */ (reader.readString());
|
|
4294
4585
|
msg.setMobileImageCdn(value);
|
|
4295
4586
|
break;
|
|
4587
|
+
case 12:
|
|
4588
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4589
|
+
msg.setContext(value);
|
|
4590
|
+
break;
|
|
4591
|
+
case 13:
|
|
4592
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4593
|
+
msg.setTargetType(value);
|
|
4594
|
+
break;
|
|
4595
|
+
case 14:
|
|
4596
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
4597
|
+
msg.setTargetId(value);
|
|
4598
|
+
break;
|
|
4599
|
+
case 15:
|
|
4600
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4601
|
+
msg.setTargetTitle(value);
|
|
4602
|
+
break;
|
|
4603
|
+
case 16:
|
|
4604
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4605
|
+
msg.setTargetSlug(value);
|
|
4606
|
+
break;
|
|
4607
|
+
case 17:
|
|
4608
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4609
|
+
msg.setButtonText(value);
|
|
4610
|
+
break;
|
|
4611
|
+
case 18:
|
|
4612
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4613
|
+
msg.setTargetProviderSlug(value);
|
|
4614
|
+
break;
|
|
4296
4615
|
default:
|
|
4297
4616
|
reader.skipField();
|
|
4298
4617
|
break;
|
|
@@ -4399,23 +4718,72 @@ proto.notification.UserNotificationItem.serializeBinaryToWriter = function(messa
|
|
|
4399
4718
|
f
|
|
4400
4719
|
);
|
|
4401
4720
|
}
|
|
4402
|
-
};
|
|
4403
|
-
|
|
4404
|
-
|
|
4405
|
-
|
|
4406
|
-
|
|
4407
|
-
|
|
4408
|
-
|
|
4409
|
-
|
|
4410
|
-
|
|
4411
|
-
|
|
4412
|
-
|
|
4413
|
-
|
|
4414
|
-
|
|
4415
|
-
|
|
4416
|
-
|
|
4417
|
-
|
|
4418
|
-
|
|
4721
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 12));
|
|
4722
|
+
if (f != null) {
|
|
4723
|
+
writer.writeString(
|
|
4724
|
+
12,
|
|
4725
|
+
f
|
|
4726
|
+
);
|
|
4727
|
+
}
|
|
4728
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 13));
|
|
4729
|
+
if (f != null) {
|
|
4730
|
+
writer.writeString(
|
|
4731
|
+
13,
|
|
4732
|
+
f
|
|
4733
|
+
);
|
|
4734
|
+
}
|
|
4735
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 14));
|
|
4736
|
+
if (f != null) {
|
|
4737
|
+
writer.writeInt32(
|
|
4738
|
+
14,
|
|
4739
|
+
f
|
|
4740
|
+
);
|
|
4741
|
+
}
|
|
4742
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 15));
|
|
4743
|
+
if (f != null) {
|
|
4744
|
+
writer.writeString(
|
|
4745
|
+
15,
|
|
4746
|
+
f
|
|
4747
|
+
);
|
|
4748
|
+
}
|
|
4749
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 16));
|
|
4750
|
+
if (f != null) {
|
|
4751
|
+
writer.writeString(
|
|
4752
|
+
16,
|
|
4753
|
+
f
|
|
4754
|
+
);
|
|
4755
|
+
}
|
|
4756
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 17));
|
|
4757
|
+
if (f != null) {
|
|
4758
|
+
writer.writeString(
|
|
4759
|
+
17,
|
|
4760
|
+
f
|
|
4761
|
+
);
|
|
4762
|
+
}
|
|
4763
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 18));
|
|
4764
|
+
if (f != null) {
|
|
4765
|
+
writer.writeString(
|
|
4766
|
+
18,
|
|
4767
|
+
f
|
|
4768
|
+
);
|
|
4769
|
+
}
|
|
4770
|
+
};
|
|
4771
|
+
|
|
4772
|
+
|
|
4773
|
+
/**
|
|
4774
|
+
* optional int32 id = 1;
|
|
4775
|
+
* @return {number}
|
|
4776
|
+
*/
|
|
4777
|
+
proto.notification.UserNotificationItem.prototype.getId = function() {
|
|
4778
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
4779
|
+
};
|
|
4780
|
+
|
|
4781
|
+
|
|
4782
|
+
/**
|
|
4783
|
+
* @param {number} value
|
|
4784
|
+
* @return {!proto.notification.UserNotificationItem} returns this
|
|
4785
|
+
*/
|
|
4786
|
+
proto.notification.UserNotificationItem.prototype.setId = function(value) {
|
|
4419
4787
|
return jspb.Message.setProto3IntField(this, 1, value);
|
|
4420
4788
|
};
|
|
4421
4789
|
|
|
@@ -4726,6 +5094,258 @@ proto.notification.UserNotificationItem.prototype.hasMobileImageCdn = function()
|
|
|
4726
5094
|
};
|
|
4727
5095
|
|
|
4728
5096
|
|
|
5097
|
+
/**
|
|
5098
|
+
* optional string context = 12;
|
|
5099
|
+
* @return {string}
|
|
5100
|
+
*/
|
|
5101
|
+
proto.notification.UserNotificationItem.prototype.getContext = function() {
|
|
5102
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
|
|
5103
|
+
};
|
|
5104
|
+
|
|
5105
|
+
|
|
5106
|
+
/**
|
|
5107
|
+
* @param {string} value
|
|
5108
|
+
* @return {!proto.notification.UserNotificationItem} returns this
|
|
5109
|
+
*/
|
|
5110
|
+
proto.notification.UserNotificationItem.prototype.setContext = function(value) {
|
|
5111
|
+
return jspb.Message.setField(this, 12, value);
|
|
5112
|
+
};
|
|
5113
|
+
|
|
5114
|
+
|
|
5115
|
+
/**
|
|
5116
|
+
* Clears the field making it undefined.
|
|
5117
|
+
* @return {!proto.notification.UserNotificationItem} returns this
|
|
5118
|
+
*/
|
|
5119
|
+
proto.notification.UserNotificationItem.prototype.clearContext = function() {
|
|
5120
|
+
return jspb.Message.setField(this, 12, undefined);
|
|
5121
|
+
};
|
|
5122
|
+
|
|
5123
|
+
|
|
5124
|
+
/**
|
|
5125
|
+
* Returns whether this field is set.
|
|
5126
|
+
* @return {boolean}
|
|
5127
|
+
*/
|
|
5128
|
+
proto.notification.UserNotificationItem.prototype.hasContext = function() {
|
|
5129
|
+
return jspb.Message.getField(this, 12) != null;
|
|
5130
|
+
};
|
|
5131
|
+
|
|
5132
|
+
|
|
5133
|
+
/**
|
|
5134
|
+
* optional string target_type = 13;
|
|
5135
|
+
* @return {string}
|
|
5136
|
+
*/
|
|
5137
|
+
proto.notification.UserNotificationItem.prototype.getTargetType = function() {
|
|
5138
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
|
|
5139
|
+
};
|
|
5140
|
+
|
|
5141
|
+
|
|
5142
|
+
/**
|
|
5143
|
+
* @param {string} value
|
|
5144
|
+
* @return {!proto.notification.UserNotificationItem} returns this
|
|
5145
|
+
*/
|
|
5146
|
+
proto.notification.UserNotificationItem.prototype.setTargetType = function(value) {
|
|
5147
|
+
return jspb.Message.setField(this, 13, value);
|
|
5148
|
+
};
|
|
5149
|
+
|
|
5150
|
+
|
|
5151
|
+
/**
|
|
5152
|
+
* Clears the field making it undefined.
|
|
5153
|
+
* @return {!proto.notification.UserNotificationItem} returns this
|
|
5154
|
+
*/
|
|
5155
|
+
proto.notification.UserNotificationItem.prototype.clearTargetType = function() {
|
|
5156
|
+
return jspb.Message.setField(this, 13, undefined);
|
|
5157
|
+
};
|
|
5158
|
+
|
|
5159
|
+
|
|
5160
|
+
/**
|
|
5161
|
+
* Returns whether this field is set.
|
|
5162
|
+
* @return {boolean}
|
|
5163
|
+
*/
|
|
5164
|
+
proto.notification.UserNotificationItem.prototype.hasTargetType = function() {
|
|
5165
|
+
return jspb.Message.getField(this, 13) != null;
|
|
5166
|
+
};
|
|
5167
|
+
|
|
5168
|
+
|
|
5169
|
+
/**
|
|
5170
|
+
* optional int32 target_id = 14;
|
|
5171
|
+
* @return {number}
|
|
5172
|
+
*/
|
|
5173
|
+
proto.notification.UserNotificationItem.prototype.getTargetId = function() {
|
|
5174
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 14, 0));
|
|
5175
|
+
};
|
|
5176
|
+
|
|
5177
|
+
|
|
5178
|
+
/**
|
|
5179
|
+
* @param {number} value
|
|
5180
|
+
* @return {!proto.notification.UserNotificationItem} returns this
|
|
5181
|
+
*/
|
|
5182
|
+
proto.notification.UserNotificationItem.prototype.setTargetId = function(value) {
|
|
5183
|
+
return jspb.Message.setField(this, 14, value);
|
|
5184
|
+
};
|
|
5185
|
+
|
|
5186
|
+
|
|
5187
|
+
/**
|
|
5188
|
+
* Clears the field making it undefined.
|
|
5189
|
+
* @return {!proto.notification.UserNotificationItem} returns this
|
|
5190
|
+
*/
|
|
5191
|
+
proto.notification.UserNotificationItem.prototype.clearTargetId = function() {
|
|
5192
|
+
return jspb.Message.setField(this, 14, undefined);
|
|
5193
|
+
};
|
|
5194
|
+
|
|
5195
|
+
|
|
5196
|
+
/**
|
|
5197
|
+
* Returns whether this field is set.
|
|
5198
|
+
* @return {boolean}
|
|
5199
|
+
*/
|
|
5200
|
+
proto.notification.UserNotificationItem.prototype.hasTargetId = function() {
|
|
5201
|
+
return jspb.Message.getField(this, 14) != null;
|
|
5202
|
+
};
|
|
5203
|
+
|
|
5204
|
+
|
|
5205
|
+
/**
|
|
5206
|
+
* optional string target_title = 15;
|
|
5207
|
+
* @return {string}
|
|
5208
|
+
*/
|
|
5209
|
+
proto.notification.UserNotificationItem.prototype.getTargetTitle = function() {
|
|
5210
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 15, ""));
|
|
5211
|
+
};
|
|
5212
|
+
|
|
5213
|
+
|
|
5214
|
+
/**
|
|
5215
|
+
* @param {string} value
|
|
5216
|
+
* @return {!proto.notification.UserNotificationItem} returns this
|
|
5217
|
+
*/
|
|
5218
|
+
proto.notification.UserNotificationItem.prototype.setTargetTitle = function(value) {
|
|
5219
|
+
return jspb.Message.setField(this, 15, value);
|
|
5220
|
+
};
|
|
5221
|
+
|
|
5222
|
+
|
|
5223
|
+
/**
|
|
5224
|
+
* Clears the field making it undefined.
|
|
5225
|
+
* @return {!proto.notification.UserNotificationItem} returns this
|
|
5226
|
+
*/
|
|
5227
|
+
proto.notification.UserNotificationItem.prototype.clearTargetTitle = function() {
|
|
5228
|
+
return jspb.Message.setField(this, 15, undefined);
|
|
5229
|
+
};
|
|
5230
|
+
|
|
5231
|
+
|
|
5232
|
+
/**
|
|
5233
|
+
* Returns whether this field is set.
|
|
5234
|
+
* @return {boolean}
|
|
5235
|
+
*/
|
|
5236
|
+
proto.notification.UserNotificationItem.prototype.hasTargetTitle = function() {
|
|
5237
|
+
return jspb.Message.getField(this, 15) != null;
|
|
5238
|
+
};
|
|
5239
|
+
|
|
5240
|
+
|
|
5241
|
+
/**
|
|
5242
|
+
* optional string target_slug = 16;
|
|
5243
|
+
* @return {string}
|
|
5244
|
+
*/
|
|
5245
|
+
proto.notification.UserNotificationItem.prototype.getTargetSlug = function() {
|
|
5246
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 16, ""));
|
|
5247
|
+
};
|
|
5248
|
+
|
|
5249
|
+
|
|
5250
|
+
/**
|
|
5251
|
+
* @param {string} value
|
|
5252
|
+
* @return {!proto.notification.UserNotificationItem} returns this
|
|
5253
|
+
*/
|
|
5254
|
+
proto.notification.UserNotificationItem.prototype.setTargetSlug = function(value) {
|
|
5255
|
+
return jspb.Message.setField(this, 16, value);
|
|
5256
|
+
};
|
|
5257
|
+
|
|
5258
|
+
|
|
5259
|
+
/**
|
|
5260
|
+
* Clears the field making it undefined.
|
|
5261
|
+
* @return {!proto.notification.UserNotificationItem} returns this
|
|
5262
|
+
*/
|
|
5263
|
+
proto.notification.UserNotificationItem.prototype.clearTargetSlug = function() {
|
|
5264
|
+
return jspb.Message.setField(this, 16, undefined);
|
|
5265
|
+
};
|
|
5266
|
+
|
|
5267
|
+
|
|
5268
|
+
/**
|
|
5269
|
+
* Returns whether this field is set.
|
|
5270
|
+
* @return {boolean}
|
|
5271
|
+
*/
|
|
5272
|
+
proto.notification.UserNotificationItem.prototype.hasTargetSlug = function() {
|
|
5273
|
+
return jspb.Message.getField(this, 16) != null;
|
|
5274
|
+
};
|
|
5275
|
+
|
|
5276
|
+
|
|
5277
|
+
/**
|
|
5278
|
+
* optional string button_text = 17;
|
|
5279
|
+
* @return {string}
|
|
5280
|
+
*/
|
|
5281
|
+
proto.notification.UserNotificationItem.prototype.getButtonText = function() {
|
|
5282
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 17, ""));
|
|
5283
|
+
};
|
|
5284
|
+
|
|
5285
|
+
|
|
5286
|
+
/**
|
|
5287
|
+
* @param {string} value
|
|
5288
|
+
* @return {!proto.notification.UserNotificationItem} returns this
|
|
5289
|
+
*/
|
|
5290
|
+
proto.notification.UserNotificationItem.prototype.setButtonText = function(value) {
|
|
5291
|
+
return jspb.Message.setField(this, 17, value);
|
|
5292
|
+
};
|
|
5293
|
+
|
|
5294
|
+
|
|
5295
|
+
/**
|
|
5296
|
+
* Clears the field making it undefined.
|
|
5297
|
+
* @return {!proto.notification.UserNotificationItem} returns this
|
|
5298
|
+
*/
|
|
5299
|
+
proto.notification.UserNotificationItem.prototype.clearButtonText = function() {
|
|
5300
|
+
return jspb.Message.setField(this, 17, undefined);
|
|
5301
|
+
};
|
|
5302
|
+
|
|
5303
|
+
|
|
5304
|
+
/**
|
|
5305
|
+
* Returns whether this field is set.
|
|
5306
|
+
* @return {boolean}
|
|
5307
|
+
*/
|
|
5308
|
+
proto.notification.UserNotificationItem.prototype.hasButtonText = function() {
|
|
5309
|
+
return jspb.Message.getField(this, 17) != null;
|
|
5310
|
+
};
|
|
5311
|
+
|
|
5312
|
+
|
|
5313
|
+
/**
|
|
5314
|
+
* optional string target_provider_slug = 18;
|
|
5315
|
+
* @return {string}
|
|
5316
|
+
*/
|
|
5317
|
+
proto.notification.UserNotificationItem.prototype.getTargetProviderSlug = function() {
|
|
5318
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 18, ""));
|
|
5319
|
+
};
|
|
5320
|
+
|
|
5321
|
+
|
|
5322
|
+
/**
|
|
5323
|
+
* @param {string} value
|
|
5324
|
+
* @return {!proto.notification.UserNotificationItem} returns this
|
|
5325
|
+
*/
|
|
5326
|
+
proto.notification.UserNotificationItem.prototype.setTargetProviderSlug = function(value) {
|
|
5327
|
+
return jspb.Message.setField(this, 18, value);
|
|
5328
|
+
};
|
|
5329
|
+
|
|
5330
|
+
|
|
5331
|
+
/**
|
|
5332
|
+
* Clears the field making it undefined.
|
|
5333
|
+
* @return {!proto.notification.UserNotificationItem} returns this
|
|
5334
|
+
*/
|
|
5335
|
+
proto.notification.UserNotificationItem.prototype.clearTargetProviderSlug = function() {
|
|
5336
|
+
return jspb.Message.setField(this, 18, undefined);
|
|
5337
|
+
};
|
|
5338
|
+
|
|
5339
|
+
|
|
5340
|
+
/**
|
|
5341
|
+
* Returns whether this field is set.
|
|
5342
|
+
* @return {boolean}
|
|
5343
|
+
*/
|
|
5344
|
+
proto.notification.UserNotificationItem.prototype.hasTargetProviderSlug = function() {
|
|
5345
|
+
return jspb.Message.getField(this, 18) != null;
|
|
5346
|
+
};
|
|
5347
|
+
|
|
5348
|
+
|
|
4729
5349
|
|
|
4730
5350
|
/**
|
|
4731
5351
|
* List of repeated fields within this message type.
|
|
@@ -5025,7 +5645,13 @@ proto.notification.NotificationItem.toObject = function(includeInstance, msg) {
|
|
|
5025
5645
|
desktopImage: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
5026
5646
|
desktopImageCdn: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
5027
5647
|
mobileImage: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
5028
|
-
mobileImageCdn: jspb.Message.getFieldWithDefault(msg, 12, "")
|
|
5648
|
+
mobileImageCdn: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
5649
|
+
targetType: jspb.Message.getFieldWithDefault(msg, 13, ""),
|
|
5650
|
+
targetId: jspb.Message.getFieldWithDefault(msg, 14, 0),
|
|
5651
|
+
targetTitle: jspb.Message.getFieldWithDefault(msg, 15, ""),
|
|
5652
|
+
targetSlug: jspb.Message.getFieldWithDefault(msg, 16, ""),
|
|
5653
|
+
buttonText: jspb.Message.getFieldWithDefault(msg, 17, ""),
|
|
5654
|
+
targetProviderSlug: jspb.Message.getFieldWithDefault(msg, 18, "")
|
|
5029
5655
|
};
|
|
5030
5656
|
|
|
5031
5657
|
if (includeInstance) {
|
|
@@ -5110,15 +5736,39 @@ proto.notification.NotificationItem.deserializeBinaryFromReader = function(msg,
|
|
|
5110
5736
|
var value = /** @type {string} */ (reader.readString());
|
|
5111
5737
|
msg.setMobileImageCdn(value);
|
|
5112
5738
|
break;
|
|
5113
|
-
|
|
5114
|
-
reader.
|
|
5739
|
+
case 13:
|
|
5740
|
+
var value = /** @type {string} */ (reader.readString());
|
|
5741
|
+
msg.setTargetType(value);
|
|
5115
5742
|
break;
|
|
5116
|
-
|
|
5117
|
-
|
|
5118
|
-
|
|
5119
|
-
|
|
5120
|
-
|
|
5121
|
-
|
|
5743
|
+
case 14:
|
|
5744
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
5745
|
+
msg.setTargetId(value);
|
|
5746
|
+
break;
|
|
5747
|
+
case 15:
|
|
5748
|
+
var value = /** @type {string} */ (reader.readString());
|
|
5749
|
+
msg.setTargetTitle(value);
|
|
5750
|
+
break;
|
|
5751
|
+
case 16:
|
|
5752
|
+
var value = /** @type {string} */ (reader.readString());
|
|
5753
|
+
msg.setTargetSlug(value);
|
|
5754
|
+
break;
|
|
5755
|
+
case 17:
|
|
5756
|
+
var value = /** @type {string} */ (reader.readString());
|
|
5757
|
+
msg.setButtonText(value);
|
|
5758
|
+
break;
|
|
5759
|
+
case 18:
|
|
5760
|
+
var value = /** @type {string} */ (reader.readString());
|
|
5761
|
+
msg.setTargetProviderSlug(value);
|
|
5762
|
+
break;
|
|
5763
|
+
default:
|
|
5764
|
+
reader.skipField();
|
|
5765
|
+
break;
|
|
5766
|
+
}
|
|
5767
|
+
}
|
|
5768
|
+
return msg;
|
|
5769
|
+
};
|
|
5770
|
+
|
|
5771
|
+
|
|
5122
5772
|
/**
|
|
5123
5773
|
* Serializes the message to binary data (in protobuf wire format).
|
|
5124
5774
|
* @return {!Uint8Array}
|
|
@@ -5223,6 +5873,48 @@ proto.notification.NotificationItem.serializeBinaryToWriter = function(message,
|
|
|
5223
5873
|
f
|
|
5224
5874
|
);
|
|
5225
5875
|
}
|
|
5876
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 13));
|
|
5877
|
+
if (f != null) {
|
|
5878
|
+
writer.writeString(
|
|
5879
|
+
13,
|
|
5880
|
+
f
|
|
5881
|
+
);
|
|
5882
|
+
}
|
|
5883
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 14));
|
|
5884
|
+
if (f != null) {
|
|
5885
|
+
writer.writeInt32(
|
|
5886
|
+
14,
|
|
5887
|
+
f
|
|
5888
|
+
);
|
|
5889
|
+
}
|
|
5890
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 15));
|
|
5891
|
+
if (f != null) {
|
|
5892
|
+
writer.writeString(
|
|
5893
|
+
15,
|
|
5894
|
+
f
|
|
5895
|
+
);
|
|
5896
|
+
}
|
|
5897
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 16));
|
|
5898
|
+
if (f != null) {
|
|
5899
|
+
writer.writeString(
|
|
5900
|
+
16,
|
|
5901
|
+
f
|
|
5902
|
+
);
|
|
5903
|
+
}
|
|
5904
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 17));
|
|
5905
|
+
if (f != null) {
|
|
5906
|
+
writer.writeString(
|
|
5907
|
+
17,
|
|
5908
|
+
f
|
|
5909
|
+
);
|
|
5910
|
+
}
|
|
5911
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 18));
|
|
5912
|
+
if (f != null) {
|
|
5913
|
+
writer.writeString(
|
|
5914
|
+
18,
|
|
5915
|
+
f
|
|
5916
|
+
);
|
|
5917
|
+
}
|
|
5226
5918
|
};
|
|
5227
5919
|
|
|
5228
5920
|
|
|
@@ -5550,6 +6242,222 @@ proto.notification.NotificationItem.prototype.hasMobileImageCdn = function() {
|
|
|
5550
6242
|
};
|
|
5551
6243
|
|
|
5552
6244
|
|
|
6245
|
+
/**
|
|
6246
|
+
* optional string target_type = 13;
|
|
6247
|
+
* @return {string}
|
|
6248
|
+
*/
|
|
6249
|
+
proto.notification.NotificationItem.prototype.getTargetType = function() {
|
|
6250
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
|
|
6251
|
+
};
|
|
6252
|
+
|
|
6253
|
+
|
|
6254
|
+
/**
|
|
6255
|
+
* @param {string} value
|
|
6256
|
+
* @return {!proto.notification.NotificationItem} returns this
|
|
6257
|
+
*/
|
|
6258
|
+
proto.notification.NotificationItem.prototype.setTargetType = function(value) {
|
|
6259
|
+
return jspb.Message.setField(this, 13, value);
|
|
6260
|
+
};
|
|
6261
|
+
|
|
6262
|
+
|
|
6263
|
+
/**
|
|
6264
|
+
* Clears the field making it undefined.
|
|
6265
|
+
* @return {!proto.notification.NotificationItem} returns this
|
|
6266
|
+
*/
|
|
6267
|
+
proto.notification.NotificationItem.prototype.clearTargetType = function() {
|
|
6268
|
+
return jspb.Message.setField(this, 13, undefined);
|
|
6269
|
+
};
|
|
6270
|
+
|
|
6271
|
+
|
|
6272
|
+
/**
|
|
6273
|
+
* Returns whether this field is set.
|
|
6274
|
+
* @return {boolean}
|
|
6275
|
+
*/
|
|
6276
|
+
proto.notification.NotificationItem.prototype.hasTargetType = function() {
|
|
6277
|
+
return jspb.Message.getField(this, 13) != null;
|
|
6278
|
+
};
|
|
6279
|
+
|
|
6280
|
+
|
|
6281
|
+
/**
|
|
6282
|
+
* optional int32 target_id = 14;
|
|
6283
|
+
* @return {number}
|
|
6284
|
+
*/
|
|
6285
|
+
proto.notification.NotificationItem.prototype.getTargetId = function() {
|
|
6286
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 14, 0));
|
|
6287
|
+
};
|
|
6288
|
+
|
|
6289
|
+
|
|
6290
|
+
/**
|
|
6291
|
+
* @param {number} value
|
|
6292
|
+
* @return {!proto.notification.NotificationItem} returns this
|
|
6293
|
+
*/
|
|
6294
|
+
proto.notification.NotificationItem.prototype.setTargetId = function(value) {
|
|
6295
|
+
return jspb.Message.setField(this, 14, value);
|
|
6296
|
+
};
|
|
6297
|
+
|
|
6298
|
+
|
|
6299
|
+
/**
|
|
6300
|
+
* Clears the field making it undefined.
|
|
6301
|
+
* @return {!proto.notification.NotificationItem} returns this
|
|
6302
|
+
*/
|
|
6303
|
+
proto.notification.NotificationItem.prototype.clearTargetId = function() {
|
|
6304
|
+
return jspb.Message.setField(this, 14, undefined);
|
|
6305
|
+
};
|
|
6306
|
+
|
|
6307
|
+
|
|
6308
|
+
/**
|
|
6309
|
+
* Returns whether this field is set.
|
|
6310
|
+
* @return {boolean}
|
|
6311
|
+
*/
|
|
6312
|
+
proto.notification.NotificationItem.prototype.hasTargetId = function() {
|
|
6313
|
+
return jspb.Message.getField(this, 14) != null;
|
|
6314
|
+
};
|
|
6315
|
+
|
|
6316
|
+
|
|
6317
|
+
/**
|
|
6318
|
+
* optional string target_title = 15;
|
|
6319
|
+
* @return {string}
|
|
6320
|
+
*/
|
|
6321
|
+
proto.notification.NotificationItem.prototype.getTargetTitle = function() {
|
|
6322
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 15, ""));
|
|
6323
|
+
};
|
|
6324
|
+
|
|
6325
|
+
|
|
6326
|
+
/**
|
|
6327
|
+
* @param {string} value
|
|
6328
|
+
* @return {!proto.notification.NotificationItem} returns this
|
|
6329
|
+
*/
|
|
6330
|
+
proto.notification.NotificationItem.prototype.setTargetTitle = function(value) {
|
|
6331
|
+
return jspb.Message.setField(this, 15, value);
|
|
6332
|
+
};
|
|
6333
|
+
|
|
6334
|
+
|
|
6335
|
+
/**
|
|
6336
|
+
* Clears the field making it undefined.
|
|
6337
|
+
* @return {!proto.notification.NotificationItem} returns this
|
|
6338
|
+
*/
|
|
6339
|
+
proto.notification.NotificationItem.prototype.clearTargetTitle = function() {
|
|
6340
|
+
return jspb.Message.setField(this, 15, undefined);
|
|
6341
|
+
};
|
|
6342
|
+
|
|
6343
|
+
|
|
6344
|
+
/**
|
|
6345
|
+
* Returns whether this field is set.
|
|
6346
|
+
* @return {boolean}
|
|
6347
|
+
*/
|
|
6348
|
+
proto.notification.NotificationItem.prototype.hasTargetTitle = function() {
|
|
6349
|
+
return jspb.Message.getField(this, 15) != null;
|
|
6350
|
+
};
|
|
6351
|
+
|
|
6352
|
+
|
|
6353
|
+
/**
|
|
6354
|
+
* optional string target_slug = 16;
|
|
6355
|
+
* @return {string}
|
|
6356
|
+
*/
|
|
6357
|
+
proto.notification.NotificationItem.prototype.getTargetSlug = function() {
|
|
6358
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 16, ""));
|
|
6359
|
+
};
|
|
6360
|
+
|
|
6361
|
+
|
|
6362
|
+
/**
|
|
6363
|
+
* @param {string} value
|
|
6364
|
+
* @return {!proto.notification.NotificationItem} returns this
|
|
6365
|
+
*/
|
|
6366
|
+
proto.notification.NotificationItem.prototype.setTargetSlug = function(value) {
|
|
6367
|
+
return jspb.Message.setField(this, 16, value);
|
|
6368
|
+
};
|
|
6369
|
+
|
|
6370
|
+
|
|
6371
|
+
/**
|
|
6372
|
+
* Clears the field making it undefined.
|
|
6373
|
+
* @return {!proto.notification.NotificationItem} returns this
|
|
6374
|
+
*/
|
|
6375
|
+
proto.notification.NotificationItem.prototype.clearTargetSlug = function() {
|
|
6376
|
+
return jspb.Message.setField(this, 16, undefined);
|
|
6377
|
+
};
|
|
6378
|
+
|
|
6379
|
+
|
|
6380
|
+
/**
|
|
6381
|
+
* Returns whether this field is set.
|
|
6382
|
+
* @return {boolean}
|
|
6383
|
+
*/
|
|
6384
|
+
proto.notification.NotificationItem.prototype.hasTargetSlug = function() {
|
|
6385
|
+
return jspb.Message.getField(this, 16) != null;
|
|
6386
|
+
};
|
|
6387
|
+
|
|
6388
|
+
|
|
6389
|
+
/**
|
|
6390
|
+
* optional string button_text = 17;
|
|
6391
|
+
* @return {string}
|
|
6392
|
+
*/
|
|
6393
|
+
proto.notification.NotificationItem.prototype.getButtonText = function() {
|
|
6394
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 17, ""));
|
|
6395
|
+
};
|
|
6396
|
+
|
|
6397
|
+
|
|
6398
|
+
/**
|
|
6399
|
+
* @param {string} value
|
|
6400
|
+
* @return {!proto.notification.NotificationItem} returns this
|
|
6401
|
+
*/
|
|
6402
|
+
proto.notification.NotificationItem.prototype.setButtonText = function(value) {
|
|
6403
|
+
return jspb.Message.setField(this, 17, value);
|
|
6404
|
+
};
|
|
6405
|
+
|
|
6406
|
+
|
|
6407
|
+
/**
|
|
6408
|
+
* Clears the field making it undefined.
|
|
6409
|
+
* @return {!proto.notification.NotificationItem} returns this
|
|
6410
|
+
*/
|
|
6411
|
+
proto.notification.NotificationItem.prototype.clearButtonText = function() {
|
|
6412
|
+
return jspb.Message.setField(this, 17, undefined);
|
|
6413
|
+
};
|
|
6414
|
+
|
|
6415
|
+
|
|
6416
|
+
/**
|
|
6417
|
+
* Returns whether this field is set.
|
|
6418
|
+
* @return {boolean}
|
|
6419
|
+
*/
|
|
6420
|
+
proto.notification.NotificationItem.prototype.hasButtonText = function() {
|
|
6421
|
+
return jspb.Message.getField(this, 17) != null;
|
|
6422
|
+
};
|
|
6423
|
+
|
|
6424
|
+
|
|
6425
|
+
/**
|
|
6426
|
+
* optional string target_provider_slug = 18;
|
|
6427
|
+
* @return {string}
|
|
6428
|
+
*/
|
|
6429
|
+
proto.notification.NotificationItem.prototype.getTargetProviderSlug = function() {
|
|
6430
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 18, ""));
|
|
6431
|
+
};
|
|
6432
|
+
|
|
6433
|
+
|
|
6434
|
+
/**
|
|
6435
|
+
* @param {string} value
|
|
6436
|
+
* @return {!proto.notification.NotificationItem} returns this
|
|
6437
|
+
*/
|
|
6438
|
+
proto.notification.NotificationItem.prototype.setTargetProviderSlug = function(value) {
|
|
6439
|
+
return jspb.Message.setField(this, 18, value);
|
|
6440
|
+
};
|
|
6441
|
+
|
|
6442
|
+
|
|
6443
|
+
/**
|
|
6444
|
+
* Clears the field making it undefined.
|
|
6445
|
+
* @return {!proto.notification.NotificationItem} returns this
|
|
6446
|
+
*/
|
|
6447
|
+
proto.notification.NotificationItem.prototype.clearTargetProviderSlug = function() {
|
|
6448
|
+
return jspb.Message.setField(this, 18, undefined);
|
|
6449
|
+
};
|
|
6450
|
+
|
|
6451
|
+
|
|
6452
|
+
/**
|
|
6453
|
+
* Returns whether this field is set.
|
|
6454
|
+
* @return {boolean}
|
|
6455
|
+
*/
|
|
6456
|
+
proto.notification.NotificationItem.prototype.hasTargetProviderSlug = function() {
|
|
6457
|
+
return jspb.Message.getField(this, 18) != null;
|
|
6458
|
+
};
|
|
6459
|
+
|
|
6460
|
+
|
|
5553
6461
|
|
|
5554
6462
|
|
|
5555
6463
|
|
|
@@ -6908,6 +7816,344 @@ proto.notification.NotificationStringListResponse.prototype.clearItemsList = fun
|
|
|
6908
7816
|
|
|
6909
7817
|
|
|
6910
7818
|
|
|
7819
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
7820
|
+
/**
|
|
7821
|
+
* Creates an object representation of this proto.
|
|
7822
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
7823
|
+
* Optional fields that are not set will be set to undefined.
|
|
7824
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
7825
|
+
* For the list of reserved names please see:
|
|
7826
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
7827
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
7828
|
+
* JSPB instance for transitional soy proto support:
|
|
7829
|
+
* http://goto/soy-param-migration
|
|
7830
|
+
* @return {!Object}
|
|
7831
|
+
*/
|
|
7832
|
+
proto.notification.NotificationTargetTypeItem.prototype.toObject = function(opt_includeInstance) {
|
|
7833
|
+
return proto.notification.NotificationTargetTypeItem.toObject(opt_includeInstance, this);
|
|
7834
|
+
};
|
|
7835
|
+
|
|
7836
|
+
|
|
7837
|
+
/**
|
|
7838
|
+
* Static version of the {@see toObject} method.
|
|
7839
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
7840
|
+
* the JSPB instance for transitional soy proto support:
|
|
7841
|
+
* http://goto/soy-param-migration
|
|
7842
|
+
* @param {!proto.notification.NotificationTargetTypeItem} msg The msg instance to transform.
|
|
7843
|
+
* @return {!Object}
|
|
7844
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
7845
|
+
*/
|
|
7846
|
+
proto.notification.NotificationTargetTypeItem.toObject = function(includeInstance, msg) {
|
|
7847
|
+
var f, obj = {
|
|
7848
|
+
value: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
7849
|
+
title: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
7850
|
+
};
|
|
7851
|
+
|
|
7852
|
+
if (includeInstance) {
|
|
7853
|
+
obj.$jspbMessageInstance = msg;
|
|
7854
|
+
}
|
|
7855
|
+
return obj;
|
|
7856
|
+
};
|
|
7857
|
+
}
|
|
7858
|
+
|
|
7859
|
+
|
|
7860
|
+
/**
|
|
7861
|
+
* Deserializes binary data (in protobuf wire format).
|
|
7862
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
7863
|
+
* @return {!proto.notification.NotificationTargetTypeItem}
|
|
7864
|
+
*/
|
|
7865
|
+
proto.notification.NotificationTargetTypeItem.deserializeBinary = function(bytes) {
|
|
7866
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
7867
|
+
var msg = new proto.notification.NotificationTargetTypeItem;
|
|
7868
|
+
return proto.notification.NotificationTargetTypeItem.deserializeBinaryFromReader(msg, reader);
|
|
7869
|
+
};
|
|
7870
|
+
|
|
7871
|
+
|
|
7872
|
+
/**
|
|
7873
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
7874
|
+
* given reader into the given message object.
|
|
7875
|
+
* @param {!proto.notification.NotificationTargetTypeItem} msg The message object to deserialize into.
|
|
7876
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
7877
|
+
* @return {!proto.notification.NotificationTargetTypeItem}
|
|
7878
|
+
*/
|
|
7879
|
+
proto.notification.NotificationTargetTypeItem.deserializeBinaryFromReader = function(msg, reader) {
|
|
7880
|
+
while (reader.nextField()) {
|
|
7881
|
+
if (reader.isEndGroup()) {
|
|
7882
|
+
break;
|
|
7883
|
+
}
|
|
7884
|
+
var field = reader.getFieldNumber();
|
|
7885
|
+
switch (field) {
|
|
7886
|
+
case 1:
|
|
7887
|
+
var value = /** @type {string} */ (reader.readString());
|
|
7888
|
+
msg.setValue(value);
|
|
7889
|
+
break;
|
|
7890
|
+
case 2:
|
|
7891
|
+
var value = /** @type {string} */ (reader.readString());
|
|
7892
|
+
msg.setTitle(value);
|
|
7893
|
+
break;
|
|
7894
|
+
default:
|
|
7895
|
+
reader.skipField();
|
|
7896
|
+
break;
|
|
7897
|
+
}
|
|
7898
|
+
}
|
|
7899
|
+
return msg;
|
|
7900
|
+
};
|
|
7901
|
+
|
|
7902
|
+
|
|
7903
|
+
/**
|
|
7904
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
7905
|
+
* @return {!Uint8Array}
|
|
7906
|
+
*/
|
|
7907
|
+
proto.notification.NotificationTargetTypeItem.prototype.serializeBinary = function() {
|
|
7908
|
+
var writer = new jspb.BinaryWriter();
|
|
7909
|
+
proto.notification.NotificationTargetTypeItem.serializeBinaryToWriter(this, writer);
|
|
7910
|
+
return writer.getResultBuffer();
|
|
7911
|
+
};
|
|
7912
|
+
|
|
7913
|
+
|
|
7914
|
+
/**
|
|
7915
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
7916
|
+
* format), writing to the given BinaryWriter.
|
|
7917
|
+
* @param {!proto.notification.NotificationTargetTypeItem} message
|
|
7918
|
+
* @param {!jspb.BinaryWriter} writer
|
|
7919
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
7920
|
+
*/
|
|
7921
|
+
proto.notification.NotificationTargetTypeItem.serializeBinaryToWriter = function(message, writer) {
|
|
7922
|
+
var f = undefined;
|
|
7923
|
+
f = message.getValue();
|
|
7924
|
+
if (f.length > 0) {
|
|
7925
|
+
writer.writeString(
|
|
7926
|
+
1,
|
|
7927
|
+
f
|
|
7928
|
+
);
|
|
7929
|
+
}
|
|
7930
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 2));
|
|
7931
|
+
if (f != null) {
|
|
7932
|
+
writer.writeString(
|
|
7933
|
+
2,
|
|
7934
|
+
f
|
|
7935
|
+
);
|
|
7936
|
+
}
|
|
7937
|
+
};
|
|
7938
|
+
|
|
7939
|
+
|
|
7940
|
+
/**
|
|
7941
|
+
* optional string value = 1;
|
|
7942
|
+
* @return {string}
|
|
7943
|
+
*/
|
|
7944
|
+
proto.notification.NotificationTargetTypeItem.prototype.getValue = function() {
|
|
7945
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
7946
|
+
};
|
|
7947
|
+
|
|
7948
|
+
|
|
7949
|
+
/**
|
|
7950
|
+
* @param {string} value
|
|
7951
|
+
* @return {!proto.notification.NotificationTargetTypeItem} returns this
|
|
7952
|
+
*/
|
|
7953
|
+
proto.notification.NotificationTargetTypeItem.prototype.setValue = function(value) {
|
|
7954
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
7955
|
+
};
|
|
7956
|
+
|
|
7957
|
+
|
|
7958
|
+
/**
|
|
7959
|
+
* optional string title = 2;
|
|
7960
|
+
* @return {string}
|
|
7961
|
+
*/
|
|
7962
|
+
proto.notification.NotificationTargetTypeItem.prototype.getTitle = function() {
|
|
7963
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
7964
|
+
};
|
|
7965
|
+
|
|
7966
|
+
|
|
7967
|
+
/**
|
|
7968
|
+
* @param {string} value
|
|
7969
|
+
* @return {!proto.notification.NotificationTargetTypeItem} returns this
|
|
7970
|
+
*/
|
|
7971
|
+
proto.notification.NotificationTargetTypeItem.prototype.setTitle = function(value) {
|
|
7972
|
+
return jspb.Message.setField(this, 2, value);
|
|
7973
|
+
};
|
|
7974
|
+
|
|
7975
|
+
|
|
7976
|
+
/**
|
|
7977
|
+
* Clears the field making it undefined.
|
|
7978
|
+
* @return {!proto.notification.NotificationTargetTypeItem} returns this
|
|
7979
|
+
*/
|
|
7980
|
+
proto.notification.NotificationTargetTypeItem.prototype.clearTitle = function() {
|
|
7981
|
+
return jspb.Message.setField(this, 2, undefined);
|
|
7982
|
+
};
|
|
7983
|
+
|
|
7984
|
+
|
|
7985
|
+
/**
|
|
7986
|
+
* Returns whether this field is set.
|
|
7987
|
+
* @return {boolean}
|
|
7988
|
+
*/
|
|
7989
|
+
proto.notification.NotificationTargetTypeItem.prototype.hasTitle = function() {
|
|
7990
|
+
return jspb.Message.getField(this, 2) != null;
|
|
7991
|
+
};
|
|
7992
|
+
|
|
7993
|
+
|
|
7994
|
+
|
|
7995
|
+
/**
|
|
7996
|
+
* List of repeated fields within this message type.
|
|
7997
|
+
* @private {!Array<number>}
|
|
7998
|
+
* @const
|
|
7999
|
+
*/
|
|
8000
|
+
proto.notification.NotificationTargetTypeItemsResponse.repeatedFields_ = [1];
|
|
8001
|
+
|
|
8002
|
+
|
|
8003
|
+
|
|
8004
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
8005
|
+
/**
|
|
8006
|
+
* Creates an object representation of this proto.
|
|
8007
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
8008
|
+
* Optional fields that are not set will be set to undefined.
|
|
8009
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
8010
|
+
* For the list of reserved names please see:
|
|
8011
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
8012
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
8013
|
+
* JSPB instance for transitional soy proto support:
|
|
8014
|
+
* http://goto/soy-param-migration
|
|
8015
|
+
* @return {!Object}
|
|
8016
|
+
*/
|
|
8017
|
+
proto.notification.NotificationTargetTypeItemsResponse.prototype.toObject = function(opt_includeInstance) {
|
|
8018
|
+
return proto.notification.NotificationTargetTypeItemsResponse.toObject(opt_includeInstance, this);
|
|
8019
|
+
};
|
|
8020
|
+
|
|
8021
|
+
|
|
8022
|
+
/**
|
|
8023
|
+
* Static version of the {@see toObject} method.
|
|
8024
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
8025
|
+
* the JSPB instance for transitional soy proto support:
|
|
8026
|
+
* http://goto/soy-param-migration
|
|
8027
|
+
* @param {!proto.notification.NotificationTargetTypeItemsResponse} msg The msg instance to transform.
|
|
8028
|
+
* @return {!Object}
|
|
8029
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
8030
|
+
*/
|
|
8031
|
+
proto.notification.NotificationTargetTypeItemsResponse.toObject = function(includeInstance, msg) {
|
|
8032
|
+
var f, obj = {
|
|
8033
|
+
itemsList: jspb.Message.toObjectList(msg.getItemsList(),
|
|
8034
|
+
proto.notification.NotificationTargetTypeItem.toObject, includeInstance)
|
|
8035
|
+
};
|
|
8036
|
+
|
|
8037
|
+
if (includeInstance) {
|
|
8038
|
+
obj.$jspbMessageInstance = msg;
|
|
8039
|
+
}
|
|
8040
|
+
return obj;
|
|
8041
|
+
};
|
|
8042
|
+
}
|
|
8043
|
+
|
|
8044
|
+
|
|
8045
|
+
/**
|
|
8046
|
+
* Deserializes binary data (in protobuf wire format).
|
|
8047
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
8048
|
+
* @return {!proto.notification.NotificationTargetTypeItemsResponse}
|
|
8049
|
+
*/
|
|
8050
|
+
proto.notification.NotificationTargetTypeItemsResponse.deserializeBinary = function(bytes) {
|
|
8051
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
8052
|
+
var msg = new proto.notification.NotificationTargetTypeItemsResponse;
|
|
8053
|
+
return proto.notification.NotificationTargetTypeItemsResponse.deserializeBinaryFromReader(msg, reader);
|
|
8054
|
+
};
|
|
8055
|
+
|
|
8056
|
+
|
|
8057
|
+
/**
|
|
8058
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
8059
|
+
* given reader into the given message object.
|
|
8060
|
+
* @param {!proto.notification.NotificationTargetTypeItemsResponse} msg The message object to deserialize into.
|
|
8061
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
8062
|
+
* @return {!proto.notification.NotificationTargetTypeItemsResponse}
|
|
8063
|
+
*/
|
|
8064
|
+
proto.notification.NotificationTargetTypeItemsResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
8065
|
+
while (reader.nextField()) {
|
|
8066
|
+
if (reader.isEndGroup()) {
|
|
8067
|
+
break;
|
|
8068
|
+
}
|
|
8069
|
+
var field = reader.getFieldNumber();
|
|
8070
|
+
switch (field) {
|
|
8071
|
+
case 1:
|
|
8072
|
+
var value = new proto.notification.NotificationTargetTypeItem;
|
|
8073
|
+
reader.readMessage(value,proto.notification.NotificationTargetTypeItem.deserializeBinaryFromReader);
|
|
8074
|
+
msg.addItems(value);
|
|
8075
|
+
break;
|
|
8076
|
+
default:
|
|
8077
|
+
reader.skipField();
|
|
8078
|
+
break;
|
|
8079
|
+
}
|
|
8080
|
+
}
|
|
8081
|
+
return msg;
|
|
8082
|
+
};
|
|
8083
|
+
|
|
8084
|
+
|
|
8085
|
+
/**
|
|
8086
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
8087
|
+
* @return {!Uint8Array}
|
|
8088
|
+
*/
|
|
8089
|
+
proto.notification.NotificationTargetTypeItemsResponse.prototype.serializeBinary = function() {
|
|
8090
|
+
var writer = new jspb.BinaryWriter();
|
|
8091
|
+
proto.notification.NotificationTargetTypeItemsResponse.serializeBinaryToWriter(this, writer);
|
|
8092
|
+
return writer.getResultBuffer();
|
|
8093
|
+
};
|
|
8094
|
+
|
|
8095
|
+
|
|
8096
|
+
/**
|
|
8097
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
8098
|
+
* format), writing to the given BinaryWriter.
|
|
8099
|
+
* @param {!proto.notification.NotificationTargetTypeItemsResponse} message
|
|
8100
|
+
* @param {!jspb.BinaryWriter} writer
|
|
8101
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
8102
|
+
*/
|
|
8103
|
+
proto.notification.NotificationTargetTypeItemsResponse.serializeBinaryToWriter = function(message, writer) {
|
|
8104
|
+
var f = undefined;
|
|
8105
|
+
f = message.getItemsList();
|
|
8106
|
+
if (f.length > 0) {
|
|
8107
|
+
writer.writeRepeatedMessage(
|
|
8108
|
+
1,
|
|
8109
|
+
f,
|
|
8110
|
+
proto.notification.NotificationTargetTypeItem.serializeBinaryToWriter
|
|
8111
|
+
);
|
|
8112
|
+
}
|
|
8113
|
+
};
|
|
8114
|
+
|
|
8115
|
+
|
|
8116
|
+
/**
|
|
8117
|
+
* repeated NotificationTargetTypeItem items = 1;
|
|
8118
|
+
* @return {!Array<!proto.notification.NotificationTargetTypeItem>}
|
|
8119
|
+
*/
|
|
8120
|
+
proto.notification.NotificationTargetTypeItemsResponse.prototype.getItemsList = function() {
|
|
8121
|
+
return /** @type{!Array<!proto.notification.NotificationTargetTypeItem>} */ (
|
|
8122
|
+
jspb.Message.getRepeatedWrapperField(this, proto.notification.NotificationTargetTypeItem, 1));
|
|
8123
|
+
};
|
|
8124
|
+
|
|
8125
|
+
|
|
8126
|
+
/**
|
|
8127
|
+
* @param {!Array<!proto.notification.NotificationTargetTypeItem>} value
|
|
8128
|
+
* @return {!proto.notification.NotificationTargetTypeItemsResponse} returns this
|
|
8129
|
+
*/
|
|
8130
|
+
proto.notification.NotificationTargetTypeItemsResponse.prototype.setItemsList = function(value) {
|
|
8131
|
+
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
8132
|
+
};
|
|
8133
|
+
|
|
8134
|
+
|
|
8135
|
+
/**
|
|
8136
|
+
* @param {!proto.notification.NotificationTargetTypeItem=} opt_value
|
|
8137
|
+
* @param {number=} opt_index
|
|
8138
|
+
* @return {!proto.notification.NotificationTargetTypeItem}
|
|
8139
|
+
*/
|
|
8140
|
+
proto.notification.NotificationTargetTypeItemsResponse.prototype.addItems = function(opt_value, opt_index) {
|
|
8141
|
+
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.notification.NotificationTargetTypeItem, opt_index);
|
|
8142
|
+
};
|
|
8143
|
+
|
|
8144
|
+
|
|
8145
|
+
/**
|
|
8146
|
+
* Clears the list making it empty but non-null.
|
|
8147
|
+
* @return {!proto.notification.NotificationTargetTypeItemsResponse} returns this
|
|
8148
|
+
*/
|
|
8149
|
+
proto.notification.NotificationTargetTypeItemsResponse.prototype.clearItemsList = function() {
|
|
8150
|
+
return this.setItemsList([]);
|
|
8151
|
+
};
|
|
8152
|
+
|
|
8153
|
+
|
|
8154
|
+
|
|
8155
|
+
|
|
8156
|
+
|
|
6911
8157
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
6912
8158
|
/**
|
|
6913
8159
|
* Creates an object representation of this proto.
|