protobuf-platform 1.0.195 → 1.0.196
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/cms/cms.proto +2 -1
- package/cms/cms_pb.js +54 -6
- package/package.json +1 -1
package/cms/cms.proto
CHANGED
@@ -86,7 +86,8 @@ message BannerItem {
|
|
86
86
|
optional string image_big = 4;
|
87
87
|
optional string image_small = 5;
|
88
88
|
optional string anchor = 6;
|
89
|
-
|
89
|
+
optional string cta_type = 7;
|
90
|
+
repeated BannerTexts texts = 8;
|
90
91
|
}
|
91
92
|
message BannerTexts {
|
92
93
|
string locale = 1;
|
package/cms/cms_pb.js
CHANGED
@@ -3320,7 +3320,7 @@ proto.cms.BannerItemRequest.prototype.clearTextsList = function() {
|
|
3320
3320
|
* @private {!Array<number>}
|
3321
3321
|
* @const
|
3322
3322
|
*/
|
3323
|
-
proto.cms.BannerItem.repeatedFields_ = [
|
3323
|
+
proto.cms.BannerItem.repeatedFields_ = [8];
|
3324
3324
|
|
3325
3325
|
|
3326
3326
|
|
@@ -3359,6 +3359,7 @@ proto.cms.BannerItem.toObject = function(includeInstance, msg) {
|
|
3359
3359
|
imageBig: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
3360
3360
|
imageSmall: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
3361
3361
|
anchor: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
3362
|
+
ctaType: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
3362
3363
|
textsList: jspb.Message.toObjectList(msg.getTextsList(),
|
3363
3364
|
proto.cms.BannerTexts.toObject, includeInstance)
|
3364
3365
|
};
|
@@ -3422,6 +3423,10 @@ proto.cms.BannerItem.deserializeBinaryFromReader = function(msg, reader) {
|
|
3422
3423
|
msg.setAnchor(value);
|
3423
3424
|
break;
|
3424
3425
|
case 7:
|
3426
|
+
var value = /** @type {string} */ (reader.readString());
|
3427
|
+
msg.setCtaType(value);
|
3428
|
+
break;
|
3429
|
+
case 8:
|
3425
3430
|
var value = new proto.cms.BannerTexts;
|
3426
3431
|
reader.readMessage(value,proto.cms.BannerTexts.deserializeBinaryFromReader);
|
3427
3432
|
msg.addTexts(value);
|
@@ -3497,10 +3502,17 @@ proto.cms.BannerItem.serializeBinaryToWriter = function(message, writer) {
|
|
3497
3502
|
f
|
3498
3503
|
);
|
3499
3504
|
}
|
3505
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 7));
|
3506
|
+
if (f != null) {
|
3507
|
+
writer.writeString(
|
3508
|
+
7,
|
3509
|
+
f
|
3510
|
+
);
|
3511
|
+
}
|
3500
3512
|
f = message.getTextsList();
|
3501
3513
|
if (f.length > 0) {
|
3502
3514
|
writer.writeRepeatedMessage(
|
3503
|
-
|
3515
|
+
8,
|
3504
3516
|
f,
|
3505
3517
|
proto.cms.BannerTexts.serializeBinaryToWriter
|
3506
3518
|
);
|
@@ -3725,12 +3737,48 @@ proto.cms.BannerItem.prototype.hasAnchor = function() {
|
|
3725
3737
|
|
3726
3738
|
|
3727
3739
|
/**
|
3728
|
-
*
|
3740
|
+
* optional string cta_type = 7;
|
3741
|
+
* @return {string}
|
3742
|
+
*/
|
3743
|
+
proto.cms.BannerItem.prototype.getCtaType = function() {
|
3744
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
3745
|
+
};
|
3746
|
+
|
3747
|
+
|
3748
|
+
/**
|
3749
|
+
* @param {string} value
|
3750
|
+
* @return {!proto.cms.BannerItem} returns this
|
3751
|
+
*/
|
3752
|
+
proto.cms.BannerItem.prototype.setCtaType = function(value) {
|
3753
|
+
return jspb.Message.setField(this, 7, value);
|
3754
|
+
};
|
3755
|
+
|
3756
|
+
|
3757
|
+
/**
|
3758
|
+
* Clears the field making it undefined.
|
3759
|
+
* @return {!proto.cms.BannerItem} returns this
|
3760
|
+
*/
|
3761
|
+
proto.cms.BannerItem.prototype.clearCtaType = function() {
|
3762
|
+
return jspb.Message.setField(this, 7, undefined);
|
3763
|
+
};
|
3764
|
+
|
3765
|
+
|
3766
|
+
/**
|
3767
|
+
* Returns whether this field is set.
|
3768
|
+
* @return {boolean}
|
3769
|
+
*/
|
3770
|
+
proto.cms.BannerItem.prototype.hasCtaType = function() {
|
3771
|
+
return jspb.Message.getField(this, 7) != null;
|
3772
|
+
};
|
3773
|
+
|
3774
|
+
|
3775
|
+
/**
|
3776
|
+
* repeated BannerTexts texts = 8;
|
3729
3777
|
* @return {!Array<!proto.cms.BannerTexts>}
|
3730
3778
|
*/
|
3731
3779
|
proto.cms.BannerItem.prototype.getTextsList = function() {
|
3732
3780
|
return /** @type{!Array<!proto.cms.BannerTexts>} */ (
|
3733
|
-
jspb.Message.getRepeatedWrapperField(this, proto.cms.BannerTexts,
|
3781
|
+
jspb.Message.getRepeatedWrapperField(this, proto.cms.BannerTexts, 8));
|
3734
3782
|
};
|
3735
3783
|
|
3736
3784
|
|
@@ -3739,7 +3787,7 @@ proto.cms.BannerItem.prototype.getTextsList = function() {
|
|
3739
3787
|
* @return {!proto.cms.BannerItem} returns this
|
3740
3788
|
*/
|
3741
3789
|
proto.cms.BannerItem.prototype.setTextsList = function(value) {
|
3742
|
-
return jspb.Message.setRepeatedWrapperField(this,
|
3790
|
+
return jspb.Message.setRepeatedWrapperField(this, 8, value);
|
3743
3791
|
};
|
3744
3792
|
|
3745
3793
|
|
@@ -3749,7 +3797,7 @@ proto.cms.BannerItem.prototype.setTextsList = function(value) {
|
|
3749
3797
|
* @return {!proto.cms.BannerTexts}
|
3750
3798
|
*/
|
3751
3799
|
proto.cms.BannerItem.prototype.addTexts = function(opt_value, opt_index) {
|
3752
|
-
return jspb.Message.addToRepeatedWrapperField(this,
|
3800
|
+
return jspb.Message.addToRepeatedWrapperField(this, 8, opt_value, proto.cms.BannerTexts, opt_index);
|
3753
3801
|
};
|
3754
3802
|
|
3755
3803
|
|