protobuf-platform 1.1.62 → 1.1.63
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.
@@ -960,7 +960,8 @@ proto.notification.NotificationSearchRequest.toObject = function(includeInstance
|
|
960
960
|
userId: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
961
961
|
notificationTitle: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
962
962
|
notificationIdsList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f,
|
963
|
-
type: jspb.Message.getFieldWithDefault(msg, 5, "")
|
963
|
+
type: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
964
|
+
isActive: jspb.Message.getFieldWithDefault(msg, 6, 0)
|
964
965
|
};
|
965
966
|
|
966
967
|
if (includeInstance) {
|
@@ -1019,6 +1020,10 @@ proto.notification.NotificationSearchRequest.deserializeBinaryFromReader = funct
|
|
1019
1020
|
var value = /** @type {string} */ (reader.readString());
|
1020
1021
|
msg.setType(value);
|
1021
1022
|
break;
|
1023
|
+
case 6:
|
1024
|
+
var value = /** @type {number} */ (reader.readInt32());
|
1025
|
+
msg.setIsActive(value);
|
1026
|
+
break;
|
1022
1027
|
default:
|
1023
1028
|
reader.skipField();
|
1024
1029
|
break;
|
@@ -1083,6 +1088,13 @@ proto.notification.NotificationSearchRequest.serializeBinaryToWriter = function(
|
|
1083
1088
|
f
|
1084
1089
|
);
|
1085
1090
|
}
|
1091
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 6));
|
1092
|
+
if (f != null) {
|
1093
|
+
writer.writeInt32(
|
1094
|
+
6,
|
1095
|
+
f
|
1096
|
+
);
|
1097
|
+
}
|
1086
1098
|
};
|
1087
1099
|
|
1088
1100
|
|
@@ -1267,6 +1279,42 @@ proto.notification.NotificationSearchRequest.prototype.hasType = function() {
|
|
1267
1279
|
};
|
1268
1280
|
|
1269
1281
|
|
1282
|
+
/**
|
1283
|
+
* optional int32 is_active = 6;
|
1284
|
+
* @return {number}
|
1285
|
+
*/
|
1286
|
+
proto.notification.NotificationSearchRequest.prototype.getIsActive = function() {
|
1287
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
|
1288
|
+
};
|
1289
|
+
|
1290
|
+
|
1291
|
+
/**
|
1292
|
+
* @param {number} value
|
1293
|
+
* @return {!proto.notification.NotificationSearchRequest} returns this
|
1294
|
+
*/
|
1295
|
+
proto.notification.NotificationSearchRequest.prototype.setIsActive = function(value) {
|
1296
|
+
return jspb.Message.setField(this, 6, value);
|
1297
|
+
};
|
1298
|
+
|
1299
|
+
|
1300
|
+
/**
|
1301
|
+
* Clears the field making it undefined.
|
1302
|
+
* @return {!proto.notification.NotificationSearchRequest} returns this
|
1303
|
+
*/
|
1304
|
+
proto.notification.NotificationSearchRequest.prototype.clearIsActive = function() {
|
1305
|
+
return jspb.Message.setField(this, 6, undefined);
|
1306
|
+
};
|
1307
|
+
|
1308
|
+
|
1309
|
+
/**
|
1310
|
+
* Returns whether this field is set.
|
1311
|
+
* @return {boolean}
|
1312
|
+
*/
|
1313
|
+
proto.notification.NotificationSearchRequest.prototype.hasIsActive = function() {
|
1314
|
+
return jspb.Message.getField(this, 6) != null;
|
1315
|
+
};
|
1316
|
+
|
1317
|
+
|
1270
1318
|
|
1271
1319
|
|
1272
1320
|
|