protobuf-platform 1.0.229 → 1.0.230
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
@@ -1377,7 +1377,8 @@ proto.user.SegmentSearchParams.prototype.toObject = function(opt_includeInstance
|
|
1377
1377
|
proto.user.SegmentSearchParams.toObject = function(includeInstance, msg) {
|
1378
1378
|
var f, obj = {
|
1379
1379
|
type: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
1380
|
-
geo: jspb.Message.getFieldWithDefault(msg, 2, "")
|
1380
|
+
geo: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
1381
|
+
segmentId: jspb.Message.getFieldWithDefault(msg, 3, 0)
|
1381
1382
|
};
|
1382
1383
|
|
1383
1384
|
if (includeInstance) {
|
@@ -1422,6 +1423,10 @@ proto.user.SegmentSearchParams.deserializeBinaryFromReader = function(msg, reade
|
|
1422
1423
|
var value = /** @type {string} */ (reader.readString());
|
1423
1424
|
msg.setGeo(value);
|
1424
1425
|
break;
|
1426
|
+
case 3:
|
1427
|
+
var value = /** @type {number} */ (reader.readInt32());
|
1428
|
+
msg.setSegmentId(value);
|
1429
|
+
break;
|
1425
1430
|
default:
|
1426
1431
|
reader.skipField();
|
1427
1432
|
break;
|
@@ -1465,6 +1470,13 @@ proto.user.SegmentSearchParams.serializeBinaryToWriter = function(message, write
|
|
1465
1470
|
f
|
1466
1471
|
);
|
1467
1472
|
}
|
1473
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 3));
|
1474
|
+
if (f != null) {
|
1475
|
+
writer.writeInt32(
|
1476
|
+
3,
|
1477
|
+
f
|
1478
|
+
);
|
1479
|
+
}
|
1468
1480
|
};
|
1469
1481
|
|
1470
1482
|
|
@@ -1540,6 +1552,42 @@ proto.user.SegmentSearchParams.prototype.hasGeo = function() {
|
|
1540
1552
|
};
|
1541
1553
|
|
1542
1554
|
|
1555
|
+
/**
|
1556
|
+
* optional int32 segment_id = 3;
|
1557
|
+
* @return {number}
|
1558
|
+
*/
|
1559
|
+
proto.user.SegmentSearchParams.prototype.getSegmentId = function() {
|
1560
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
1561
|
+
};
|
1562
|
+
|
1563
|
+
|
1564
|
+
/**
|
1565
|
+
* @param {number} value
|
1566
|
+
* @return {!proto.user.SegmentSearchParams} returns this
|
1567
|
+
*/
|
1568
|
+
proto.user.SegmentSearchParams.prototype.setSegmentId = function(value) {
|
1569
|
+
return jspb.Message.setField(this, 3, value);
|
1570
|
+
};
|
1571
|
+
|
1572
|
+
|
1573
|
+
/**
|
1574
|
+
* Clears the field making it undefined.
|
1575
|
+
* @return {!proto.user.SegmentSearchParams} returns this
|
1576
|
+
*/
|
1577
|
+
proto.user.SegmentSearchParams.prototype.clearSegmentId = function() {
|
1578
|
+
return jspb.Message.setField(this, 3, undefined);
|
1579
|
+
};
|
1580
|
+
|
1581
|
+
|
1582
|
+
/**
|
1583
|
+
* Returns whether this field is set.
|
1584
|
+
* @return {boolean}
|
1585
|
+
*/
|
1586
|
+
proto.user.SegmentSearchParams.prototype.hasSegmentId = function() {
|
1587
|
+
return jspb.Message.getField(this, 3) != null;
|
1588
|
+
};
|
1589
|
+
|
1590
|
+
|
1543
1591
|
|
1544
1592
|
|
1545
1593
|
|