protobuf-platform 1.0.148 → 1.0.149
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
@@ -6906,7 +6906,8 @@ proto.bonus.GetUserBonusRequest.toObject = function(includeInstance, msg) {
|
|
6906
6906
|
currency: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
6907
6907
|
country: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
6908
6908
|
locale: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
6909
|
-
userPublicId: jspb.Message.getFieldWithDefault(msg, 8, "")
|
6909
|
+
userPublicId: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
6910
|
+
userName: jspb.Message.getFieldWithDefault(msg, 9, "")
|
6910
6911
|
};
|
6911
6912
|
|
6912
6913
|
if (includeInstance) {
|
@@ -6975,6 +6976,10 @@ proto.bonus.GetUserBonusRequest.deserializeBinaryFromReader = function(msg, read
|
|
6975
6976
|
var value = /** @type {string} */ (reader.readString());
|
6976
6977
|
msg.setUserPublicId(value);
|
6977
6978
|
break;
|
6979
|
+
case 9:
|
6980
|
+
var value = /** @type {string} */ (reader.readString());
|
6981
|
+
msg.setUserName(value);
|
6982
|
+
break;
|
6978
6983
|
default:
|
6979
6984
|
reader.skipField();
|
6980
6985
|
break;
|
@@ -7060,6 +7065,13 @@ proto.bonus.GetUserBonusRequest.serializeBinaryToWriter = function(message, writ
|
|
7060
7065
|
f
|
7061
7066
|
);
|
7062
7067
|
}
|
7068
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 9));
|
7069
|
+
if (f != null) {
|
7070
|
+
writer.writeString(
|
7071
|
+
9,
|
7072
|
+
f
|
7073
|
+
);
|
7074
|
+
}
|
7063
7075
|
};
|
7064
7076
|
|
7065
7077
|
|
@@ -7333,6 +7345,42 @@ proto.bonus.GetUserBonusRequest.prototype.hasUserPublicId = function() {
|
|
7333
7345
|
};
|
7334
7346
|
|
7335
7347
|
|
7348
|
+
/**
|
7349
|
+
* optional string user_name = 9;
|
7350
|
+
* @return {string}
|
7351
|
+
*/
|
7352
|
+
proto.bonus.GetUserBonusRequest.prototype.getUserName = function() {
|
7353
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
7354
|
+
};
|
7355
|
+
|
7356
|
+
|
7357
|
+
/**
|
7358
|
+
* @param {string} value
|
7359
|
+
* @return {!proto.bonus.GetUserBonusRequest} returns this
|
7360
|
+
*/
|
7361
|
+
proto.bonus.GetUserBonusRequest.prototype.setUserName = function(value) {
|
7362
|
+
return jspb.Message.setField(this, 9, value);
|
7363
|
+
};
|
7364
|
+
|
7365
|
+
|
7366
|
+
/**
|
7367
|
+
* Clears the field making it undefined.
|
7368
|
+
* @return {!proto.bonus.GetUserBonusRequest} returns this
|
7369
|
+
*/
|
7370
|
+
proto.bonus.GetUserBonusRequest.prototype.clearUserName = function() {
|
7371
|
+
return jspb.Message.setField(this, 9, undefined);
|
7372
|
+
};
|
7373
|
+
|
7374
|
+
|
7375
|
+
/**
|
7376
|
+
* Returns whether this field is set.
|
7377
|
+
* @return {boolean}
|
7378
|
+
*/
|
7379
|
+
proto.bonus.GetUserBonusRequest.prototype.hasUserName = function() {
|
7380
|
+
return jspb.Message.getField(this, 9) != null;
|
7381
|
+
};
|
7382
|
+
|
7383
|
+
|
7336
7384
|
|
7337
7385
|
/**
|
7338
7386
|
* List of repeated fields within this message type.
|