protobuf-platform 1.1.81 → 1.1.82
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/package.json +1 -1
- package/user/user.proto +1 -0
- package/user/user_pb.js +49 -1
package/package.json
CHANGED
package/user/user.proto
CHANGED
package/user/user_pb.js
CHANGED
@@ -2783,7 +2783,8 @@ proto.user.SegmentSearchParams.toObject = function(includeInstance, msg) {
|
|
2783
2783
|
var f, obj = {
|
2784
2784
|
type: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
2785
2785
|
geo: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
2786
|
-
segmentId: jspb.Message.getFieldWithDefault(msg, 3, 0)
|
2786
|
+
segmentId: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
2787
|
+
currency: jspb.Message.getFieldWithDefault(msg, 4, "")
|
2787
2788
|
};
|
2788
2789
|
|
2789
2790
|
if (includeInstance) {
|
@@ -2832,6 +2833,10 @@ proto.user.SegmentSearchParams.deserializeBinaryFromReader = function(msg, reade
|
|
2832
2833
|
var value = /** @type {number} */ (reader.readInt32());
|
2833
2834
|
msg.setSegmentId(value);
|
2834
2835
|
break;
|
2836
|
+
case 4:
|
2837
|
+
var value = /** @type {string} */ (reader.readString());
|
2838
|
+
msg.setCurrency(value);
|
2839
|
+
break;
|
2835
2840
|
default:
|
2836
2841
|
reader.skipField();
|
2837
2842
|
break;
|
@@ -2882,6 +2887,13 @@ proto.user.SegmentSearchParams.serializeBinaryToWriter = function(message, write
|
|
2882
2887
|
f
|
2883
2888
|
);
|
2884
2889
|
}
|
2890
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 4));
|
2891
|
+
if (f != null) {
|
2892
|
+
writer.writeString(
|
2893
|
+
4,
|
2894
|
+
f
|
2895
|
+
);
|
2896
|
+
}
|
2885
2897
|
};
|
2886
2898
|
|
2887
2899
|
|
@@ -2993,6 +3005,42 @@ proto.user.SegmentSearchParams.prototype.hasSegmentId = function() {
|
|
2993
3005
|
};
|
2994
3006
|
|
2995
3007
|
|
3008
|
+
/**
|
3009
|
+
* optional string currency = 4;
|
3010
|
+
* @return {string}
|
3011
|
+
*/
|
3012
|
+
proto.user.SegmentSearchParams.prototype.getCurrency = function() {
|
3013
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
3014
|
+
};
|
3015
|
+
|
3016
|
+
|
3017
|
+
/**
|
3018
|
+
* @param {string} value
|
3019
|
+
* @return {!proto.user.SegmentSearchParams} returns this
|
3020
|
+
*/
|
3021
|
+
proto.user.SegmentSearchParams.prototype.setCurrency = function(value) {
|
3022
|
+
return jspb.Message.setField(this, 4, value);
|
3023
|
+
};
|
3024
|
+
|
3025
|
+
|
3026
|
+
/**
|
3027
|
+
* Clears the field making it undefined.
|
3028
|
+
* @return {!proto.user.SegmentSearchParams} returns this
|
3029
|
+
*/
|
3030
|
+
proto.user.SegmentSearchParams.prototype.clearCurrency = function() {
|
3031
|
+
return jspb.Message.setField(this, 4, undefined);
|
3032
|
+
};
|
3033
|
+
|
3034
|
+
|
3035
|
+
/**
|
3036
|
+
* Returns whether this field is set.
|
3037
|
+
* @return {boolean}
|
3038
|
+
*/
|
3039
|
+
proto.user.SegmentSearchParams.prototype.hasCurrency = function() {
|
3040
|
+
return jspb.Message.getField(this, 4) != null;
|
3041
|
+
};
|
3042
|
+
|
3043
|
+
|
2996
3044
|
|
2997
3045
|
|
2998
3046
|
|