protobuf-platform 1.0.289 → 1.0.290
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.
@@ -959,7 +959,8 @@ proto.notification.NotificationSearchRequest.toObject = function(includeInstance
|
|
959
959
|
notificationId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
960
960
|
userId: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
961
961
|
notificationTitle: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
962
|
-
notificationIdsList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f
|
962
|
+
notificationIdsList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f,
|
963
|
+
type: jspb.Message.getFieldWithDefault(msg, 5, "")
|
963
964
|
};
|
964
965
|
|
965
966
|
if (includeInstance) {
|
@@ -1014,6 +1015,10 @@ proto.notification.NotificationSearchRequest.deserializeBinaryFromReader = funct
|
|
1014
1015
|
msg.addNotificationIds(values[i]);
|
1015
1016
|
}
|
1016
1017
|
break;
|
1018
|
+
case 5:
|
1019
|
+
var value = /** @type {string} */ (reader.readString());
|
1020
|
+
msg.setType(value);
|
1021
|
+
break;
|
1017
1022
|
default:
|
1018
1023
|
reader.skipField();
|
1019
1024
|
break;
|
@@ -1071,6 +1076,13 @@ proto.notification.NotificationSearchRequest.serializeBinaryToWriter = function(
|
|
1071
1076
|
f
|
1072
1077
|
);
|
1073
1078
|
}
|
1079
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 5));
|
1080
|
+
if (f != null) {
|
1081
|
+
writer.writeString(
|
1082
|
+
5,
|
1083
|
+
f
|
1084
|
+
);
|
1085
|
+
}
|
1074
1086
|
};
|
1075
1087
|
|
1076
1088
|
|
@@ -1219,6 +1231,42 @@ proto.notification.NotificationSearchRequest.prototype.clearNotificationIdsList
|
|
1219
1231
|
};
|
1220
1232
|
|
1221
1233
|
|
1234
|
+
/**
|
1235
|
+
* optional string type = 5;
|
1236
|
+
* @return {string}
|
1237
|
+
*/
|
1238
|
+
proto.notification.NotificationSearchRequest.prototype.getType = function() {
|
1239
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
1240
|
+
};
|
1241
|
+
|
1242
|
+
|
1243
|
+
/**
|
1244
|
+
* @param {string} value
|
1245
|
+
* @return {!proto.notification.NotificationSearchRequest} returns this
|
1246
|
+
*/
|
1247
|
+
proto.notification.NotificationSearchRequest.prototype.setType = function(value) {
|
1248
|
+
return jspb.Message.setField(this, 5, value);
|
1249
|
+
};
|
1250
|
+
|
1251
|
+
|
1252
|
+
/**
|
1253
|
+
* Clears the field making it undefined.
|
1254
|
+
* @return {!proto.notification.NotificationSearchRequest} returns this
|
1255
|
+
*/
|
1256
|
+
proto.notification.NotificationSearchRequest.prototype.clearType = function() {
|
1257
|
+
return jspb.Message.setField(this, 5, undefined);
|
1258
|
+
};
|
1259
|
+
|
1260
|
+
|
1261
|
+
/**
|
1262
|
+
* Returns whether this field is set.
|
1263
|
+
* @return {boolean}
|
1264
|
+
*/
|
1265
|
+
proto.notification.NotificationSearchRequest.prototype.hasType = function() {
|
1266
|
+
return jspb.Message.getField(this, 5) != null;
|
1267
|
+
};
|
1268
|
+
|
1269
|
+
|
1222
1270
|
|
1223
1271
|
|
1224
1272
|
|