protobuf-platform 1.2.10 → 1.2.11
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
@@ -3048,7 +3048,8 @@ proto.user.SegmentSearchParams.toObject = function(includeInstance, msg) {
|
|
3048
3048
|
type: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
3049
3049
|
geo: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
3050
3050
|
segmentId: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
3051
|
-
currency: jspb.Message.getFieldWithDefault(msg, 4, "")
|
3051
|
+
currency: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
3052
|
+
isActive: jspb.Message.getFieldWithDefault(msg, 5, 0)
|
3052
3053
|
};
|
3053
3054
|
|
3054
3055
|
if (includeInstance) {
|
@@ -3101,6 +3102,10 @@ proto.user.SegmentSearchParams.deserializeBinaryFromReader = function(msg, reade
|
|
3101
3102
|
var value = /** @type {string} */ (reader.readString());
|
3102
3103
|
msg.setCurrency(value);
|
3103
3104
|
break;
|
3105
|
+
case 5:
|
3106
|
+
var value = /** @type {number} */ (reader.readInt32());
|
3107
|
+
msg.setIsActive(value);
|
3108
|
+
break;
|
3104
3109
|
default:
|
3105
3110
|
reader.skipField();
|
3106
3111
|
break;
|
@@ -3158,6 +3163,13 @@ proto.user.SegmentSearchParams.serializeBinaryToWriter = function(message, write
|
|
3158
3163
|
f
|
3159
3164
|
);
|
3160
3165
|
}
|
3166
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 5));
|
3167
|
+
if (f != null) {
|
3168
|
+
writer.writeInt32(
|
3169
|
+
5,
|
3170
|
+
f
|
3171
|
+
);
|
3172
|
+
}
|
3161
3173
|
};
|
3162
3174
|
|
3163
3175
|
|
@@ -3305,6 +3317,42 @@ proto.user.SegmentSearchParams.prototype.hasCurrency = function() {
|
|
3305
3317
|
};
|
3306
3318
|
|
3307
3319
|
|
3320
|
+
/**
|
3321
|
+
* optional int32 is_active = 5;
|
3322
|
+
* @return {number}
|
3323
|
+
*/
|
3324
|
+
proto.user.SegmentSearchParams.prototype.getIsActive = function() {
|
3325
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
3326
|
+
};
|
3327
|
+
|
3328
|
+
|
3329
|
+
/**
|
3330
|
+
* @param {number} value
|
3331
|
+
* @return {!proto.user.SegmentSearchParams} returns this
|
3332
|
+
*/
|
3333
|
+
proto.user.SegmentSearchParams.prototype.setIsActive = function(value) {
|
3334
|
+
return jspb.Message.setField(this, 5, value);
|
3335
|
+
};
|
3336
|
+
|
3337
|
+
|
3338
|
+
/**
|
3339
|
+
* Clears the field making it undefined.
|
3340
|
+
* @return {!proto.user.SegmentSearchParams} returns this
|
3341
|
+
*/
|
3342
|
+
proto.user.SegmentSearchParams.prototype.clearIsActive = function() {
|
3343
|
+
return jspb.Message.setField(this, 5, undefined);
|
3344
|
+
};
|
3345
|
+
|
3346
|
+
|
3347
|
+
/**
|
3348
|
+
* Returns whether this field is set.
|
3349
|
+
* @return {boolean}
|
3350
|
+
*/
|
3351
|
+
proto.user.SegmentSearchParams.prototype.hasIsActive = function() {
|
3352
|
+
return jspb.Message.getField(this, 5) != null;
|
3353
|
+
};
|
3354
|
+
|
3355
|
+
|
3308
3356
|
|
3309
3357
|
|
3310
3358
|
|