protobuf-platform 1.2.169 → 1.2.170
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 +1 -0
- package/bonus/bonus_pb.js +49 -1
- package/package.json +1 -1
package/bonus/bonus.proto
CHANGED
package/bonus/bonus_pb.js
CHANGED
|
@@ -5566,7 +5566,8 @@ proto.bonus.GetBonusBySlugRequest.prototype.toObject = function(opt_includeInsta
|
|
|
5566
5566
|
*/
|
|
5567
5567
|
proto.bonus.GetBonusBySlugRequest.toObject = function(includeInstance, msg) {
|
|
5568
5568
|
var f, obj = {
|
|
5569
|
-
slug: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
5569
|
+
slug: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
5570
|
+
locale: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
5570
5571
|
};
|
|
5571
5572
|
|
|
5572
5573
|
if (includeInstance) {
|
|
@@ -5607,6 +5608,10 @@ proto.bonus.GetBonusBySlugRequest.deserializeBinaryFromReader = function(msg, re
|
|
|
5607
5608
|
var value = /** @type {string} */ (reader.readString());
|
|
5608
5609
|
msg.setSlug(value);
|
|
5609
5610
|
break;
|
|
5611
|
+
case 2:
|
|
5612
|
+
var value = /** @type {string} */ (reader.readString());
|
|
5613
|
+
msg.setLocale(value);
|
|
5614
|
+
break;
|
|
5610
5615
|
default:
|
|
5611
5616
|
reader.skipField();
|
|
5612
5617
|
break;
|
|
@@ -5643,6 +5648,13 @@ proto.bonus.GetBonusBySlugRequest.serializeBinaryToWriter = function(message, wr
|
|
|
5643
5648
|
f
|
|
5644
5649
|
);
|
|
5645
5650
|
}
|
|
5651
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 2));
|
|
5652
|
+
if (f != null) {
|
|
5653
|
+
writer.writeString(
|
|
5654
|
+
2,
|
|
5655
|
+
f
|
|
5656
|
+
);
|
|
5657
|
+
}
|
|
5646
5658
|
};
|
|
5647
5659
|
|
|
5648
5660
|
|
|
@@ -5664,6 +5676,42 @@ proto.bonus.GetBonusBySlugRequest.prototype.setSlug = function(value) {
|
|
|
5664
5676
|
};
|
|
5665
5677
|
|
|
5666
5678
|
|
|
5679
|
+
/**
|
|
5680
|
+
* optional string locale = 2;
|
|
5681
|
+
* @return {string}
|
|
5682
|
+
*/
|
|
5683
|
+
proto.bonus.GetBonusBySlugRequest.prototype.getLocale = function() {
|
|
5684
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
5685
|
+
};
|
|
5686
|
+
|
|
5687
|
+
|
|
5688
|
+
/**
|
|
5689
|
+
* @param {string} value
|
|
5690
|
+
* @return {!proto.bonus.GetBonusBySlugRequest} returns this
|
|
5691
|
+
*/
|
|
5692
|
+
proto.bonus.GetBonusBySlugRequest.prototype.setLocale = function(value) {
|
|
5693
|
+
return jspb.Message.setField(this, 2, value);
|
|
5694
|
+
};
|
|
5695
|
+
|
|
5696
|
+
|
|
5697
|
+
/**
|
|
5698
|
+
* Clears the field making it undefined.
|
|
5699
|
+
* @return {!proto.bonus.GetBonusBySlugRequest} returns this
|
|
5700
|
+
*/
|
|
5701
|
+
proto.bonus.GetBonusBySlugRequest.prototype.clearLocale = function() {
|
|
5702
|
+
return jspb.Message.setField(this, 2, undefined);
|
|
5703
|
+
};
|
|
5704
|
+
|
|
5705
|
+
|
|
5706
|
+
/**
|
|
5707
|
+
* Returns whether this field is set.
|
|
5708
|
+
* @return {boolean}
|
|
5709
|
+
*/
|
|
5710
|
+
proto.bonus.GetBonusBySlugRequest.prototype.hasLocale = function() {
|
|
5711
|
+
return jspb.Message.getField(this, 2) != null;
|
|
5712
|
+
};
|
|
5713
|
+
|
|
5714
|
+
|
|
5667
5715
|
|
|
5668
5716
|
|
|
5669
5717
|
|