protobuf-platform 1.2.46 → 1.2.47

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.2.46",
3
+ "version": "1.2.47",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/user/user.proto CHANGED
@@ -94,6 +94,7 @@ message SegmentSearchParams {
94
94
  optional int32 segment_id = 3;
95
95
  optional string currency = 4;
96
96
  optional int32 is_active = 5;
97
+ optional string title = 6;
97
98
  }
98
99
  message NoteSearchParams {
99
100
  optional int32 user_id = 2;
package/user/user_pb.js CHANGED
@@ -3093,7 +3093,8 @@ proto.user.SegmentSearchParams.toObject = function(includeInstance, msg) {
3093
3093
  geo: jspb.Message.getFieldWithDefault(msg, 2, ""),
3094
3094
  segmentId: jspb.Message.getFieldWithDefault(msg, 3, 0),
3095
3095
  currency: jspb.Message.getFieldWithDefault(msg, 4, ""),
3096
- isActive: jspb.Message.getFieldWithDefault(msg, 5, 0)
3096
+ isActive: jspb.Message.getFieldWithDefault(msg, 5, 0),
3097
+ title: jspb.Message.getFieldWithDefault(msg, 6, "")
3097
3098
  };
3098
3099
 
3099
3100
  if (includeInstance) {
@@ -3150,6 +3151,10 @@ proto.user.SegmentSearchParams.deserializeBinaryFromReader = function(msg, reade
3150
3151
  var value = /** @type {number} */ (reader.readInt32());
3151
3152
  msg.setIsActive(value);
3152
3153
  break;
3154
+ case 6:
3155
+ var value = /** @type {string} */ (reader.readString());
3156
+ msg.setTitle(value);
3157
+ break;
3153
3158
  default:
3154
3159
  reader.skipField();
3155
3160
  break;
@@ -3214,6 +3219,13 @@ proto.user.SegmentSearchParams.serializeBinaryToWriter = function(message, write
3214
3219
  f
3215
3220
  );
3216
3221
  }
3222
+ f = /** @type {string} */ (jspb.Message.getField(message, 6));
3223
+ if (f != null) {
3224
+ writer.writeString(
3225
+ 6,
3226
+ f
3227
+ );
3228
+ }
3217
3229
  };
3218
3230
 
3219
3231
 
@@ -3397,6 +3409,42 @@ proto.user.SegmentSearchParams.prototype.hasIsActive = function() {
3397
3409
  };
3398
3410
 
3399
3411
 
3412
+ /**
3413
+ * optional string title = 6;
3414
+ * @return {string}
3415
+ */
3416
+ proto.user.SegmentSearchParams.prototype.getTitle = function() {
3417
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
3418
+ };
3419
+
3420
+
3421
+ /**
3422
+ * @param {string} value
3423
+ * @return {!proto.user.SegmentSearchParams} returns this
3424
+ */
3425
+ proto.user.SegmentSearchParams.prototype.setTitle = function(value) {
3426
+ return jspb.Message.setField(this, 6, value);
3427
+ };
3428
+
3429
+
3430
+ /**
3431
+ * Clears the field making it undefined.
3432
+ * @return {!proto.user.SegmentSearchParams} returns this
3433
+ */
3434
+ proto.user.SegmentSearchParams.prototype.clearTitle = function() {
3435
+ return jspb.Message.setField(this, 6, undefined);
3436
+ };
3437
+
3438
+
3439
+ /**
3440
+ * Returns whether this field is set.
3441
+ * @return {boolean}
3442
+ */
3443
+ proto.user.SegmentSearchParams.prototype.hasTitle = function() {
3444
+ return jspb.Message.getField(this, 6) != null;
3445
+ };
3446
+
3447
+
3400
3448
 
3401
3449
 
3402
3450