protobuf-platform 1.2.3 → 1.2.4
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 +1 -1
- package/cms/cms_pb.js +10 -10
- package/package.json +1 -1
package/cms/cms.proto
CHANGED
package/cms/cms_pb.js
CHANGED
@@ -9123,7 +9123,7 @@ proto.cms.PromoRequest.oneofGroups_ = [[1,2,3]];
|
|
9123
9123
|
*/
|
9124
9124
|
proto.cms.PromoRequest.RequestCase = {
|
9125
9125
|
REQUEST_NOT_SET: 0,
|
9126
|
-
|
9126
|
+
PROMO_DATA: 1,
|
9127
9127
|
IMAGE_BIG: 2,
|
9128
9128
|
IMAGE_SMALL: 3
|
9129
9129
|
};
|
@@ -9166,7 +9166,7 @@ proto.cms.PromoRequest.prototype.toObject = function(opt_includeInstance) {
|
|
9166
9166
|
*/
|
9167
9167
|
proto.cms.PromoRequest.toObject = function(includeInstance, msg) {
|
9168
9168
|
var f, obj = {
|
9169
|
-
|
9169
|
+
promoData: (f = msg.getPromoData()) && proto.cms.PromoItemRequest.toObject(includeInstance, f),
|
9170
9170
|
imageBig: (f = msg.getImageBig()) && proto.cms.File.toObject(includeInstance, f),
|
9171
9171
|
imageSmall: (f = msg.getImageSmall()) && proto.cms.File.toObject(includeInstance, f)
|
9172
9172
|
};
|
@@ -9208,7 +9208,7 @@ proto.cms.PromoRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
9208
9208
|
case 1:
|
9209
9209
|
var value = new proto.cms.PromoItemRequest;
|
9210
9210
|
reader.readMessage(value,proto.cms.PromoItemRequest.deserializeBinaryFromReader);
|
9211
|
-
msg.
|
9211
|
+
msg.setPromoData(value);
|
9212
9212
|
break;
|
9213
9213
|
case 2:
|
9214
9214
|
var value = new proto.cms.File;
|
@@ -9249,7 +9249,7 @@ proto.cms.PromoRequest.prototype.serializeBinary = function() {
|
|
9249
9249
|
*/
|
9250
9250
|
proto.cms.PromoRequest.serializeBinaryToWriter = function(message, writer) {
|
9251
9251
|
var f = undefined;
|
9252
|
-
f = message.
|
9252
|
+
f = message.getPromoData();
|
9253
9253
|
if (f != null) {
|
9254
9254
|
writer.writeMessage(
|
9255
9255
|
1,
|
@@ -9277,10 +9277,10 @@ proto.cms.PromoRequest.serializeBinaryToWriter = function(message, writer) {
|
|
9277
9277
|
|
9278
9278
|
|
9279
9279
|
/**
|
9280
|
-
* optional PromoItemRequest
|
9280
|
+
* optional PromoItemRequest promo_data = 1;
|
9281
9281
|
* @return {?proto.cms.PromoItemRequest}
|
9282
9282
|
*/
|
9283
|
-
proto.cms.PromoRequest.prototype.
|
9283
|
+
proto.cms.PromoRequest.prototype.getPromoData = function() {
|
9284
9284
|
return /** @type{?proto.cms.PromoItemRequest} */ (
|
9285
9285
|
jspb.Message.getWrapperField(this, proto.cms.PromoItemRequest, 1));
|
9286
9286
|
};
|
@@ -9290,7 +9290,7 @@ proto.cms.PromoRequest.prototype.getBannerData = function() {
|
|
9290
9290
|
* @param {?proto.cms.PromoItemRequest|undefined} value
|
9291
9291
|
* @return {!proto.cms.PromoRequest} returns this
|
9292
9292
|
*/
|
9293
|
-
proto.cms.PromoRequest.prototype.
|
9293
|
+
proto.cms.PromoRequest.prototype.setPromoData = function(value) {
|
9294
9294
|
return jspb.Message.setOneofWrapperField(this, 1, proto.cms.PromoRequest.oneofGroups_[0], value);
|
9295
9295
|
};
|
9296
9296
|
|
@@ -9299,8 +9299,8 @@ proto.cms.PromoRequest.prototype.setBannerData = function(value) {
|
|
9299
9299
|
* Clears the message field making it undefined.
|
9300
9300
|
* @return {!proto.cms.PromoRequest} returns this
|
9301
9301
|
*/
|
9302
|
-
proto.cms.PromoRequest.prototype.
|
9303
|
-
return this.
|
9302
|
+
proto.cms.PromoRequest.prototype.clearPromoData = function() {
|
9303
|
+
return this.setPromoData(undefined);
|
9304
9304
|
};
|
9305
9305
|
|
9306
9306
|
|
@@ -9308,7 +9308,7 @@ proto.cms.PromoRequest.prototype.clearBannerData = function() {
|
|
9308
9308
|
* Returns whether this field is set.
|
9309
9309
|
* @return {boolean}
|
9310
9310
|
*/
|
9311
|
-
proto.cms.PromoRequest.prototype.
|
9311
|
+
proto.cms.PromoRequest.prototype.hasPromoData = function() {
|
9312
9312
|
return jspb.Message.getField(this, 1) != null;
|
9313
9313
|
};
|
9314
9314
|
|