protobuf-platform 1.2.147 → 1.2.148
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 +60 -2
package/package.json
CHANGED
package/user/user.proto
CHANGED
package/user/user_pb.js
CHANGED
|
@@ -211,7 +211,7 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
211
211
|
* @constructor
|
|
212
212
|
*/
|
|
213
213
|
proto.user.SegmentSearchParams = function(opt_data) {
|
|
214
|
-
jspb.Message.initialize(this, opt_data, 0, -1,
|
|
214
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.user.SegmentSearchParams.repeatedFields_, null);
|
|
215
215
|
};
|
|
216
216
|
goog.inherits(proto.user.SegmentSearchParams, jspb.Message);
|
|
217
217
|
if (goog.DEBUG && !COMPILED) {
|
|
@@ -3102,6 +3102,13 @@ proto.user.UserSearchParams.prototype.hasRegistrationTo = function() {
|
|
|
3102
3102
|
|
|
3103
3103
|
|
|
3104
3104
|
|
|
3105
|
+
/**
|
|
3106
|
+
* List of repeated fields within this message type.
|
|
3107
|
+
* @private {!Array<number>}
|
|
3108
|
+
* @const
|
|
3109
|
+
*/
|
|
3110
|
+
proto.user.SegmentSearchParams.repeatedFields_ = [7];
|
|
3111
|
+
|
|
3105
3112
|
|
|
3106
3113
|
|
|
3107
3114
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -3138,7 +3145,8 @@ proto.user.SegmentSearchParams.toObject = function(includeInstance, msg) {
|
|
|
3138
3145
|
segmentId: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
3139
3146
|
currency: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
3140
3147
|
isActive: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
3141
|
-
title: jspb.Message.getFieldWithDefault(msg, 6, "")
|
|
3148
|
+
title: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
3149
|
+
segmentIdsList: (f = jspb.Message.getRepeatedField(msg, 7)) == null ? undefined : f
|
|
3142
3150
|
};
|
|
3143
3151
|
|
|
3144
3152
|
if (includeInstance) {
|
|
@@ -3199,6 +3207,12 @@ proto.user.SegmentSearchParams.deserializeBinaryFromReader = function(msg, reade
|
|
|
3199
3207
|
var value = /** @type {string} */ (reader.readString());
|
|
3200
3208
|
msg.setTitle(value);
|
|
3201
3209
|
break;
|
|
3210
|
+
case 7:
|
|
3211
|
+
var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]);
|
|
3212
|
+
for (var i = 0; i < values.length; i++) {
|
|
3213
|
+
msg.addSegmentIds(values[i]);
|
|
3214
|
+
}
|
|
3215
|
+
break;
|
|
3202
3216
|
default:
|
|
3203
3217
|
reader.skipField();
|
|
3204
3218
|
break;
|
|
@@ -3270,6 +3284,13 @@ proto.user.SegmentSearchParams.serializeBinaryToWriter = function(message, write
|
|
|
3270
3284
|
f
|
|
3271
3285
|
);
|
|
3272
3286
|
}
|
|
3287
|
+
f = message.getSegmentIdsList();
|
|
3288
|
+
if (f.length > 0) {
|
|
3289
|
+
writer.writePackedInt32(
|
|
3290
|
+
7,
|
|
3291
|
+
f
|
|
3292
|
+
);
|
|
3293
|
+
}
|
|
3273
3294
|
};
|
|
3274
3295
|
|
|
3275
3296
|
|
|
@@ -3489,6 +3510,43 @@ proto.user.SegmentSearchParams.prototype.hasTitle = function() {
|
|
|
3489
3510
|
};
|
|
3490
3511
|
|
|
3491
3512
|
|
|
3513
|
+
/**
|
|
3514
|
+
* repeated int32 segment_ids = 7;
|
|
3515
|
+
* @return {!Array<number>}
|
|
3516
|
+
*/
|
|
3517
|
+
proto.user.SegmentSearchParams.prototype.getSegmentIdsList = function() {
|
|
3518
|
+
return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 7));
|
|
3519
|
+
};
|
|
3520
|
+
|
|
3521
|
+
|
|
3522
|
+
/**
|
|
3523
|
+
* @param {!Array<number>} value
|
|
3524
|
+
* @return {!proto.user.SegmentSearchParams} returns this
|
|
3525
|
+
*/
|
|
3526
|
+
proto.user.SegmentSearchParams.prototype.setSegmentIdsList = function(value) {
|
|
3527
|
+
return jspb.Message.setField(this, 7, value || []);
|
|
3528
|
+
};
|
|
3529
|
+
|
|
3530
|
+
|
|
3531
|
+
/**
|
|
3532
|
+
* @param {number} value
|
|
3533
|
+
* @param {number=} opt_index
|
|
3534
|
+
* @return {!proto.user.SegmentSearchParams} returns this
|
|
3535
|
+
*/
|
|
3536
|
+
proto.user.SegmentSearchParams.prototype.addSegmentIds = function(value, opt_index) {
|
|
3537
|
+
return jspb.Message.addToRepeatedField(this, 7, value, opt_index);
|
|
3538
|
+
};
|
|
3539
|
+
|
|
3540
|
+
|
|
3541
|
+
/**
|
|
3542
|
+
* Clears the list making it empty but non-null.
|
|
3543
|
+
* @return {!proto.user.SegmentSearchParams} returns this
|
|
3544
|
+
*/
|
|
3545
|
+
proto.user.SegmentSearchParams.prototype.clearSegmentIdsList = function() {
|
|
3546
|
+
return this.setSegmentIdsList([]);
|
|
3547
|
+
};
|
|
3548
|
+
|
|
3549
|
+
|
|
3492
3550
|
|
|
3493
3551
|
|
|
3494
3552
|
|