protobuf-platform 1.2.167 → 1.2.169
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
|
@@ -1946,7 +1946,8 @@ proto.bonus.SearchBonusRequest.toObject = function(includeInstance, msg) {
|
|
|
1946
1946
|
title: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
1947
1947
|
typeId: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
1948
1948
|
currenciesList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
|
|
1949
|
-
statusId: jspb.Message.getFieldWithDefault(msg, 4, 0)
|
|
1949
|
+
statusId: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
1950
|
+
locale: jspb.Message.getFieldWithDefault(msg, 5, "")
|
|
1950
1951
|
};
|
|
1951
1952
|
|
|
1952
1953
|
if (includeInstance) {
|
|
@@ -1999,6 +2000,10 @@ proto.bonus.SearchBonusRequest.deserializeBinaryFromReader = function(msg, reade
|
|
|
1999
2000
|
var value = /** @type {number} */ (reader.readInt32());
|
|
2000
2001
|
msg.setStatusId(value);
|
|
2001
2002
|
break;
|
|
2003
|
+
case 5:
|
|
2004
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2005
|
+
msg.setLocale(value);
|
|
2006
|
+
break;
|
|
2002
2007
|
default:
|
|
2003
2008
|
reader.skipField();
|
|
2004
2009
|
break;
|
|
@@ -2056,6 +2061,13 @@ proto.bonus.SearchBonusRequest.serializeBinaryToWriter = function(message, write
|
|
|
2056
2061
|
f
|
|
2057
2062
|
);
|
|
2058
2063
|
}
|
|
2064
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 5));
|
|
2065
|
+
if (f != null) {
|
|
2066
|
+
writer.writeString(
|
|
2067
|
+
5,
|
|
2068
|
+
f
|
|
2069
|
+
);
|
|
2070
|
+
}
|
|
2059
2071
|
};
|
|
2060
2072
|
|
|
2061
2073
|
|
|
@@ -2204,6 +2216,42 @@ proto.bonus.SearchBonusRequest.prototype.hasStatusId = function() {
|
|
|
2204
2216
|
};
|
|
2205
2217
|
|
|
2206
2218
|
|
|
2219
|
+
/**
|
|
2220
|
+
* optional string locale = 5;
|
|
2221
|
+
* @return {string}
|
|
2222
|
+
*/
|
|
2223
|
+
proto.bonus.SearchBonusRequest.prototype.getLocale = function() {
|
|
2224
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
2225
|
+
};
|
|
2226
|
+
|
|
2227
|
+
|
|
2228
|
+
/**
|
|
2229
|
+
* @param {string} value
|
|
2230
|
+
* @return {!proto.bonus.SearchBonusRequest} returns this
|
|
2231
|
+
*/
|
|
2232
|
+
proto.bonus.SearchBonusRequest.prototype.setLocale = function(value) {
|
|
2233
|
+
return jspb.Message.setField(this, 5, value);
|
|
2234
|
+
};
|
|
2235
|
+
|
|
2236
|
+
|
|
2237
|
+
/**
|
|
2238
|
+
* Clears the field making it undefined.
|
|
2239
|
+
* @return {!proto.bonus.SearchBonusRequest} returns this
|
|
2240
|
+
*/
|
|
2241
|
+
proto.bonus.SearchBonusRequest.prototype.clearLocale = function() {
|
|
2242
|
+
return jspb.Message.setField(this, 5, undefined);
|
|
2243
|
+
};
|
|
2244
|
+
|
|
2245
|
+
|
|
2246
|
+
/**
|
|
2247
|
+
* Returns whether this field is set.
|
|
2248
|
+
* @return {boolean}
|
|
2249
|
+
*/
|
|
2250
|
+
proto.bonus.SearchBonusRequest.prototype.hasLocale = function() {
|
|
2251
|
+
return jspb.Message.getField(this, 5) != null;
|
|
2252
|
+
};
|
|
2253
|
+
|
|
2254
|
+
|
|
2207
2255
|
|
|
2208
2256
|
/**
|
|
2209
2257
|
* Oneof group definitions for this message. Each group defines the field
|