protobuf-platform 1.2.150 → 1.2.151
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
|
@@ -11104,7 +11104,8 @@ proto.bonus.GetUserBonusRequest.toObject = function(includeInstance, msg) {
|
|
|
11104
11104
|
locale: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
11105
11105
|
userPublicId: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
11106
11106
|
userName: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
11107
|
-
status: jspb.Message.getFieldWithDefault(msg, 10, "")
|
|
11107
|
+
status: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
11108
|
+
isMobile: jspb.Message.getBooleanFieldWithDefault(msg, 11, false)
|
|
11108
11109
|
};
|
|
11109
11110
|
|
|
11110
11111
|
if (includeInstance) {
|
|
@@ -11181,6 +11182,10 @@ proto.bonus.GetUserBonusRequest.deserializeBinaryFromReader = function(msg, read
|
|
|
11181
11182
|
var value = /** @type {string} */ (reader.readString());
|
|
11182
11183
|
msg.setStatus(value);
|
|
11183
11184
|
break;
|
|
11185
|
+
case 11:
|
|
11186
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
11187
|
+
msg.setIsMobile(value);
|
|
11188
|
+
break;
|
|
11184
11189
|
default:
|
|
11185
11190
|
reader.skipField();
|
|
11186
11191
|
break;
|
|
@@ -11280,6 +11285,13 @@ proto.bonus.GetUserBonusRequest.serializeBinaryToWriter = function(message, writ
|
|
|
11280
11285
|
f
|
|
11281
11286
|
);
|
|
11282
11287
|
}
|
|
11288
|
+
f = /** @type {boolean} */ (jspb.Message.getField(message, 11));
|
|
11289
|
+
if (f != null) {
|
|
11290
|
+
writer.writeBool(
|
|
11291
|
+
11,
|
|
11292
|
+
f
|
|
11293
|
+
);
|
|
11294
|
+
}
|
|
11283
11295
|
};
|
|
11284
11296
|
|
|
11285
11297
|
|
|
@@ -11625,6 +11637,42 @@ proto.bonus.GetUserBonusRequest.prototype.hasStatus = function() {
|
|
|
11625
11637
|
};
|
|
11626
11638
|
|
|
11627
11639
|
|
|
11640
|
+
/**
|
|
11641
|
+
* optional bool is_mobile = 11;
|
|
11642
|
+
* @return {boolean}
|
|
11643
|
+
*/
|
|
11644
|
+
proto.bonus.GetUserBonusRequest.prototype.getIsMobile = function() {
|
|
11645
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 11, false));
|
|
11646
|
+
};
|
|
11647
|
+
|
|
11648
|
+
|
|
11649
|
+
/**
|
|
11650
|
+
* @param {boolean} value
|
|
11651
|
+
* @return {!proto.bonus.GetUserBonusRequest} returns this
|
|
11652
|
+
*/
|
|
11653
|
+
proto.bonus.GetUserBonusRequest.prototype.setIsMobile = function(value) {
|
|
11654
|
+
return jspb.Message.setField(this, 11, value);
|
|
11655
|
+
};
|
|
11656
|
+
|
|
11657
|
+
|
|
11658
|
+
/**
|
|
11659
|
+
* Clears the field making it undefined.
|
|
11660
|
+
* @return {!proto.bonus.GetUserBonusRequest} returns this
|
|
11661
|
+
*/
|
|
11662
|
+
proto.bonus.GetUserBonusRequest.prototype.clearIsMobile = function() {
|
|
11663
|
+
return jspb.Message.setField(this, 11, undefined);
|
|
11664
|
+
};
|
|
11665
|
+
|
|
11666
|
+
|
|
11667
|
+
/**
|
|
11668
|
+
* Returns whether this field is set.
|
|
11669
|
+
* @return {boolean}
|
|
11670
|
+
*/
|
|
11671
|
+
proto.bonus.GetUserBonusRequest.prototype.hasIsMobile = function() {
|
|
11672
|
+
return jspb.Message.getField(this, 11) != null;
|
|
11673
|
+
};
|
|
11674
|
+
|
|
11675
|
+
|
|
11628
11676
|
|
|
11629
11677
|
/**
|
|
11630
11678
|
* List of repeated fields within this message type.
|