@ondewo/nlu-client-typescript 6.14.0 → 7.0.1
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/README.md +0 -0
- package/api/ondewo/nlu/agent_pb.d.ts +0 -15
- package/api/ondewo/nlu/aiservices_pb.d.ts +0 -50
- package/api/ondewo/nlu/ccai_project_pb.d.ts +6 -93
- package/api/ondewo/nlu/ccai_project_pb.js +24 -132
- package/api/ondewo/nlu/common_pb.d.ts +140 -0
- package/api/ondewo/nlu/common_pb.js +1151 -9
- package/api/ondewo/nlu/context_pb.d.ts +8 -1
- package/api/ondewo/nlu/context_pb.js +22 -4
- package/api/ondewo/nlu/llm_evaluation_pb.d.ts +40 -5
- package/api/ondewo/nlu/llm_evaluation_pb.js +110 -20
- package/api/ondewo/nlu/operations_grpc_web_pb.d.ts +46 -0
- package/api/ondewo/nlu/operations_grpc_web_pb.js +241 -0
- package/api/ondewo/nlu/operations_pb.d.ts +429 -10
- package/api/ondewo/nlu/operations_pb.js +3413 -0
- package/api/ondewo/nlu/project_role_pb.d.ts +0 -10
- package/api/ondewo/nlu/rag_pb.d.ts +191 -520
- package/api/ondewo/nlu/rag_pb.js +1246 -1058
- package/api/ondewo/nlu/session_grpc_web_pb.d.ts +120 -0
- package/api/ondewo/nlu/session_grpc_web_pb.js +610 -0
- package/api/ondewo/nlu/session_pb.d.ts +818 -118
- package/api/ondewo/nlu/session_pb.js +6396 -3
- package/api/ondewo/nlu/user_grpc_web_pb.d.ts +59 -13
- package/api/ondewo/nlu/user_grpc_web_pb.js +300 -61
- package/api/ondewo/nlu/user_pb.d.ts +0 -87
- package/api/ondewo/nlu/user_pb.js +0 -436
- package/auth/offlineTokenProvider.d.ts +26 -6
- package/auth/offlineTokenProvider.js +61 -45
- package/package.json +9 -7
- package/public-api.d.ts +34 -33
- package/public-api.js +31 -30
|
@@ -30,6 +30,8 @@ goog.object.extend(proto, google_protobuf_timestamp_pb);
|
|
|
30
30
|
goog.exportSymbol('proto.ondewo.nlu.AddNotificationsRequest', null, global);
|
|
31
31
|
goog.exportSymbol('proto.ondewo.nlu.AddNotificationsResponse', null, global);
|
|
32
32
|
goog.exportSymbol('proto.ondewo.nlu.Comment', null, global);
|
|
33
|
+
goog.exportSymbol('proto.ondewo.nlu.DeleteNotificationsRequest', null, global);
|
|
34
|
+
goog.exportSymbol('proto.ondewo.nlu.GetNotificationRequest', null, global);
|
|
33
35
|
goog.exportSymbol('proto.ondewo.nlu.KeyValuePair', null, global);
|
|
34
36
|
goog.exportSymbol('proto.ondewo.nlu.KeyValuePair.ValueCase', null, global);
|
|
35
37
|
goog.exportSymbol('proto.ondewo.nlu.ListNotificationsRequest', null, global);
|
|
@@ -47,6 +49,8 @@ goog.exportSymbol('proto.ondewo.nlu.SetNotificationsFlaggedStatusRequest', null,
|
|
|
47
49
|
goog.exportSymbol('proto.ondewo.nlu.SetNotificationsReadStatusRequest', null, global);
|
|
48
50
|
goog.exportSymbol('proto.ondewo.nlu.SortingMode', null, global);
|
|
49
51
|
goog.exportSymbol('proto.ondewo.nlu.StatResponse', null, global);
|
|
52
|
+
goog.exportSymbol('proto.ondewo.nlu.StreamNotificationsRequest', null, global);
|
|
53
|
+
goog.exportSymbol('proto.ondewo.nlu.UpdateNotificationRequest', null, global);
|
|
50
54
|
/**
|
|
51
55
|
* Generated by JsPbCodeGenerator.
|
|
52
56
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -257,6 +261,90 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
257
261
|
*/
|
|
258
262
|
proto.ondewo.nlu.SetNotificationsReadStatusRequest.displayName = 'proto.ondewo.nlu.SetNotificationsReadStatusRequest';
|
|
259
263
|
}
|
|
264
|
+
/**
|
|
265
|
+
* Generated by JsPbCodeGenerator.
|
|
266
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
267
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
268
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
269
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
270
|
+
* valid.
|
|
271
|
+
* @extends {jspb.Message}
|
|
272
|
+
* @constructor
|
|
273
|
+
*/
|
|
274
|
+
proto.ondewo.nlu.GetNotificationRequest = function(opt_data) {
|
|
275
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
276
|
+
};
|
|
277
|
+
goog.inherits(proto.ondewo.nlu.GetNotificationRequest, jspb.Message);
|
|
278
|
+
if (goog.DEBUG && !COMPILED) {
|
|
279
|
+
/**
|
|
280
|
+
* @public
|
|
281
|
+
* @override
|
|
282
|
+
*/
|
|
283
|
+
proto.ondewo.nlu.GetNotificationRequest.displayName = 'proto.ondewo.nlu.GetNotificationRequest';
|
|
284
|
+
}
|
|
285
|
+
/**
|
|
286
|
+
* Generated by JsPbCodeGenerator.
|
|
287
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
288
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
289
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
290
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
291
|
+
* valid.
|
|
292
|
+
* @extends {jspb.Message}
|
|
293
|
+
* @constructor
|
|
294
|
+
*/
|
|
295
|
+
proto.ondewo.nlu.UpdateNotificationRequest = function(opt_data) {
|
|
296
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
297
|
+
};
|
|
298
|
+
goog.inherits(proto.ondewo.nlu.UpdateNotificationRequest, jspb.Message);
|
|
299
|
+
if (goog.DEBUG && !COMPILED) {
|
|
300
|
+
/**
|
|
301
|
+
* @public
|
|
302
|
+
* @override
|
|
303
|
+
*/
|
|
304
|
+
proto.ondewo.nlu.UpdateNotificationRequest.displayName = 'proto.ondewo.nlu.UpdateNotificationRequest';
|
|
305
|
+
}
|
|
306
|
+
/**
|
|
307
|
+
* Generated by JsPbCodeGenerator.
|
|
308
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
309
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
310
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
311
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
312
|
+
* valid.
|
|
313
|
+
* @extends {jspb.Message}
|
|
314
|
+
* @constructor
|
|
315
|
+
*/
|
|
316
|
+
proto.ondewo.nlu.DeleteNotificationsRequest = function(opt_data) {
|
|
317
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.ondewo.nlu.DeleteNotificationsRequest.repeatedFields_, null);
|
|
318
|
+
};
|
|
319
|
+
goog.inherits(proto.ondewo.nlu.DeleteNotificationsRequest, jspb.Message);
|
|
320
|
+
if (goog.DEBUG && !COMPILED) {
|
|
321
|
+
/**
|
|
322
|
+
* @public
|
|
323
|
+
* @override
|
|
324
|
+
*/
|
|
325
|
+
proto.ondewo.nlu.DeleteNotificationsRequest.displayName = 'proto.ondewo.nlu.DeleteNotificationsRequest';
|
|
326
|
+
}
|
|
327
|
+
/**
|
|
328
|
+
* Generated by JsPbCodeGenerator.
|
|
329
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
330
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
331
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
332
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
333
|
+
* valid.
|
|
334
|
+
* @extends {jspb.Message}
|
|
335
|
+
* @constructor
|
|
336
|
+
*/
|
|
337
|
+
proto.ondewo.nlu.StreamNotificationsRequest = function(opt_data) {
|
|
338
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
339
|
+
};
|
|
340
|
+
goog.inherits(proto.ondewo.nlu.StreamNotificationsRequest, jspb.Message);
|
|
341
|
+
if (goog.DEBUG && !COMPILED) {
|
|
342
|
+
/**
|
|
343
|
+
* @public
|
|
344
|
+
* @override
|
|
345
|
+
*/
|
|
346
|
+
proto.ondewo.nlu.StreamNotificationsRequest.displayName = 'proto.ondewo.nlu.StreamNotificationsRequest';
|
|
347
|
+
}
|
|
260
348
|
/**
|
|
261
349
|
* Generated by JsPbCodeGenerator.
|
|
262
350
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -469,7 +557,8 @@ parentCommentName: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
|
469
557
|
createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
470
558
|
modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
471
559
|
createdBy: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
472
|
-
modifiedBy: jspb.Message.getFieldWithDefault(msg, 9, "")
|
|
560
|
+
modifiedBy: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
561
|
+
isResolved: (f = jspb.Message.getBooleanField(msg, 10)) == null ? undefined : f
|
|
473
562
|
};
|
|
474
563
|
|
|
475
564
|
if (includeInstance) {
|
|
@@ -544,6 +633,10 @@ proto.ondewo.nlu.Comment.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
544
633
|
var value = /** @type {string} */ (reader.readString());
|
|
545
634
|
msg.setModifiedBy(value);
|
|
546
635
|
break;
|
|
636
|
+
case 10:
|
|
637
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
638
|
+
msg.setIsResolved(value);
|
|
639
|
+
break;
|
|
547
640
|
default:
|
|
548
641
|
reader.skipField();
|
|
549
642
|
break;
|
|
@@ -638,6 +731,13 @@ proto.ondewo.nlu.Comment.serializeBinaryToWriter = function(message, writer) {
|
|
|
638
731
|
f
|
|
639
732
|
);
|
|
640
733
|
}
|
|
734
|
+
f = /** @type {boolean} */ (jspb.Message.getField(message, 10));
|
|
735
|
+
if (f != null) {
|
|
736
|
+
writer.writeBool(
|
|
737
|
+
10,
|
|
738
|
+
f
|
|
739
|
+
);
|
|
740
|
+
}
|
|
641
741
|
};
|
|
642
742
|
|
|
643
743
|
|
|
@@ -841,6 +941,42 @@ proto.ondewo.nlu.Comment.prototype.setModifiedBy = function(value) {
|
|
|
841
941
|
};
|
|
842
942
|
|
|
843
943
|
|
|
944
|
+
/**
|
|
945
|
+
* optional bool is_resolved = 10;
|
|
946
|
+
* @return {boolean}
|
|
947
|
+
*/
|
|
948
|
+
proto.ondewo.nlu.Comment.prototype.getIsResolved = function() {
|
|
949
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 10, false));
|
|
950
|
+
};
|
|
951
|
+
|
|
952
|
+
|
|
953
|
+
/**
|
|
954
|
+
* @param {boolean} value
|
|
955
|
+
* @return {!proto.ondewo.nlu.Comment} returns this
|
|
956
|
+
*/
|
|
957
|
+
proto.ondewo.nlu.Comment.prototype.setIsResolved = function(value) {
|
|
958
|
+
return jspb.Message.setField(this, 10, value);
|
|
959
|
+
};
|
|
960
|
+
|
|
961
|
+
|
|
962
|
+
/**
|
|
963
|
+
* Clears the field making it undefined.
|
|
964
|
+
* @return {!proto.ondewo.nlu.Comment} returns this
|
|
965
|
+
*/
|
|
966
|
+
proto.ondewo.nlu.Comment.prototype.clearIsResolved = function() {
|
|
967
|
+
return jspb.Message.setField(this, 10, undefined);
|
|
968
|
+
};
|
|
969
|
+
|
|
970
|
+
|
|
971
|
+
/**
|
|
972
|
+
* Returns whether this field is set.
|
|
973
|
+
* @return {boolean}
|
|
974
|
+
*/
|
|
975
|
+
proto.ondewo.nlu.Comment.prototype.hasIsResolved = function() {
|
|
976
|
+
return jspb.Message.getField(this, 10) != null;
|
|
977
|
+
};
|
|
978
|
+
|
|
979
|
+
|
|
844
980
|
|
|
845
981
|
|
|
846
982
|
|
|
@@ -890,7 +1026,8 @@ notificationVisibility: jspb.Message.getFieldWithDefault(msg, 14, 0),
|
|
|
890
1026
|
createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
891
1027
|
modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
892
1028
|
createdBy: jspb.Message.getFieldWithDefault(msg, 17, ""),
|
|
893
|
-
modifiedBy: jspb.Message.getFieldWithDefault(msg, 18, "")
|
|
1029
|
+
modifiedBy: jspb.Message.getFieldWithDefault(msg, 18, ""),
|
|
1030
|
+
link: jspb.Message.getFieldWithDefault(msg, 19, "")
|
|
894
1031
|
};
|
|
895
1032
|
|
|
896
1033
|
if (includeInstance) {
|
|
@@ -1003,6 +1140,10 @@ proto.ondewo.nlu.Notification.deserializeBinaryFromReader = function(msg, reader
|
|
|
1003
1140
|
var value = /** @type {string} */ (reader.readString());
|
|
1004
1141
|
msg.setModifiedBy(value);
|
|
1005
1142
|
break;
|
|
1143
|
+
case 19:
|
|
1144
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1145
|
+
msg.setLink(value);
|
|
1146
|
+
break;
|
|
1006
1147
|
default:
|
|
1007
1148
|
reader.skipField();
|
|
1008
1149
|
break;
|
|
@@ -1162,6 +1303,13 @@ proto.ondewo.nlu.Notification.serializeBinaryToWriter = function(message, writer
|
|
|
1162
1303
|
f
|
|
1163
1304
|
);
|
|
1164
1305
|
}
|
|
1306
|
+
f = message.getLink();
|
|
1307
|
+
if (f.length > 0) {
|
|
1308
|
+
writer.writeString(
|
|
1309
|
+
19,
|
|
1310
|
+
f
|
|
1311
|
+
);
|
|
1312
|
+
}
|
|
1165
1313
|
};
|
|
1166
1314
|
|
|
1167
1315
|
|
|
@@ -1565,6 +1713,24 @@ proto.ondewo.nlu.Notification.prototype.setModifiedBy = function(value) {
|
|
|
1565
1713
|
};
|
|
1566
1714
|
|
|
1567
1715
|
|
|
1716
|
+
/**
|
|
1717
|
+
* optional string link = 19;
|
|
1718
|
+
* @return {string}
|
|
1719
|
+
*/
|
|
1720
|
+
proto.ondewo.nlu.Notification.prototype.getLink = function() {
|
|
1721
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 19, ""));
|
|
1722
|
+
};
|
|
1723
|
+
|
|
1724
|
+
|
|
1725
|
+
/**
|
|
1726
|
+
* @param {string} value
|
|
1727
|
+
* @return {!proto.ondewo.nlu.Notification} returns this
|
|
1728
|
+
*/
|
|
1729
|
+
proto.ondewo.nlu.Notification.prototype.setLink = function(value) {
|
|
1730
|
+
return jspb.Message.setProto3StringField(this, 19, value);
|
|
1731
|
+
};
|
|
1732
|
+
|
|
1733
|
+
|
|
1568
1734
|
|
|
1569
1735
|
/**
|
|
1570
1736
|
* List of repeated fields within this message type.
|
|
@@ -1605,7 +1771,8 @@ proto.ondewo.nlu.AddNotificationsRequest.prototype.toObject = function(opt_inclu
|
|
|
1605
1771
|
proto.ondewo.nlu.AddNotificationsRequest.toObject = function(includeInstance, msg) {
|
|
1606
1772
|
var f, obj = {
|
|
1607
1773
|
notificationsList: jspb.Message.toObjectList(msg.getNotificationsList(),
|
|
1608
|
-
proto.ondewo.nlu.Notification.toObject, includeInstance)
|
|
1774
|
+
proto.ondewo.nlu.Notification.toObject, includeInstance),
|
|
1775
|
+
fieldMask: (f = msg.getFieldMask()) && google_protobuf_field_mask_pb.FieldMask.toObject(includeInstance, f)
|
|
1609
1776
|
};
|
|
1610
1777
|
|
|
1611
1778
|
if (includeInstance) {
|
|
@@ -1647,6 +1814,11 @@ proto.ondewo.nlu.AddNotificationsRequest.deserializeBinaryFromReader = function(
|
|
|
1647
1814
|
reader.readMessage(value,proto.ondewo.nlu.Notification.deserializeBinaryFromReader);
|
|
1648
1815
|
msg.addNotifications(value);
|
|
1649
1816
|
break;
|
|
1817
|
+
case 2:
|
|
1818
|
+
var value = new google_protobuf_field_mask_pb.FieldMask;
|
|
1819
|
+
reader.readMessage(value,google_protobuf_field_mask_pb.FieldMask.deserializeBinaryFromReader);
|
|
1820
|
+
msg.setFieldMask(value);
|
|
1821
|
+
break;
|
|
1650
1822
|
default:
|
|
1651
1823
|
reader.skipField();
|
|
1652
1824
|
break;
|
|
@@ -1684,6 +1856,14 @@ proto.ondewo.nlu.AddNotificationsRequest.serializeBinaryToWriter = function(mess
|
|
|
1684
1856
|
proto.ondewo.nlu.Notification.serializeBinaryToWriter
|
|
1685
1857
|
);
|
|
1686
1858
|
}
|
|
1859
|
+
f = message.getFieldMask();
|
|
1860
|
+
if (f != null) {
|
|
1861
|
+
writer.writeMessage(
|
|
1862
|
+
2,
|
|
1863
|
+
f,
|
|
1864
|
+
google_protobuf_field_mask_pb.FieldMask.serializeBinaryToWriter
|
|
1865
|
+
);
|
|
1866
|
+
}
|
|
1687
1867
|
};
|
|
1688
1868
|
|
|
1689
1869
|
|
|
@@ -1725,6 +1905,43 @@ proto.ondewo.nlu.AddNotificationsRequest.prototype.clearNotificationsList = func
|
|
|
1725
1905
|
};
|
|
1726
1906
|
|
|
1727
1907
|
|
|
1908
|
+
/**
|
|
1909
|
+
* optional google.protobuf.FieldMask field_mask = 2;
|
|
1910
|
+
* @return {?proto.google.protobuf.FieldMask}
|
|
1911
|
+
*/
|
|
1912
|
+
proto.ondewo.nlu.AddNotificationsRequest.prototype.getFieldMask = function() {
|
|
1913
|
+
return /** @type{?proto.google.protobuf.FieldMask} */ (
|
|
1914
|
+
jspb.Message.getWrapperField(this, google_protobuf_field_mask_pb.FieldMask, 2));
|
|
1915
|
+
};
|
|
1916
|
+
|
|
1917
|
+
|
|
1918
|
+
/**
|
|
1919
|
+
* @param {?proto.google.protobuf.FieldMask|undefined} value
|
|
1920
|
+
* @return {!proto.ondewo.nlu.AddNotificationsRequest} returns this
|
|
1921
|
+
*/
|
|
1922
|
+
proto.ondewo.nlu.AddNotificationsRequest.prototype.setFieldMask = function(value) {
|
|
1923
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
1924
|
+
};
|
|
1925
|
+
|
|
1926
|
+
|
|
1927
|
+
/**
|
|
1928
|
+
* Clears the message field making it undefined.
|
|
1929
|
+
* @return {!proto.ondewo.nlu.AddNotificationsRequest} returns this
|
|
1930
|
+
*/
|
|
1931
|
+
proto.ondewo.nlu.AddNotificationsRequest.prototype.clearFieldMask = function() {
|
|
1932
|
+
return this.setFieldMask(undefined);
|
|
1933
|
+
};
|
|
1934
|
+
|
|
1935
|
+
|
|
1936
|
+
/**
|
|
1937
|
+
* Returns whether this field is set.
|
|
1938
|
+
* @return {boolean}
|
|
1939
|
+
*/
|
|
1940
|
+
proto.ondewo.nlu.AddNotificationsRequest.prototype.hasFieldMask = function() {
|
|
1941
|
+
return jspb.Message.getField(this, 2) != null;
|
|
1942
|
+
};
|
|
1943
|
+
|
|
1944
|
+
|
|
1728
1945
|
|
|
1729
1946
|
/**
|
|
1730
1947
|
* List of repeated fields within this message type.
|
|
@@ -1891,7 +2108,7 @@ proto.ondewo.nlu.AddNotificationsResponse.prototype.clearNotificationsList = fun
|
|
|
1891
2108
|
* @private {!Array<number>}
|
|
1892
2109
|
* @const
|
|
1893
2110
|
*/
|
|
1894
|
-
proto.ondewo.nlu.NotificationFilter.repeatedFields_ = [1,2,3,4,5,8,9];
|
|
2111
|
+
proto.ondewo.nlu.NotificationFilter.repeatedFields_ = [1,2,3,4,5,8,9,10];
|
|
1895
2112
|
|
|
1896
2113
|
|
|
1897
2114
|
|
|
@@ -1932,7 +2149,8 @@ notificationReadStatusList: (f = jspb.Message.getRepeatedField(msg, 5)) == null
|
|
|
1932
2149
|
earliest: (f = msg.getEarliest()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
1933
2150
|
latest: (f = msg.getLatest()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
1934
2151
|
userNamesList: (f = jspb.Message.getRepeatedField(msg, 8)) == null ? undefined : f,
|
|
1935
|
-
originNamesList: (f = jspb.Message.getRepeatedField(msg, 9)) == null ? undefined : f
|
|
2152
|
+
originNamesList: (f = jspb.Message.getRepeatedField(msg, 9)) == null ? undefined : f,
|
|
2153
|
+
notificationTypesList: (f = jspb.Message.getRepeatedField(msg, 10)) == null ? undefined : f
|
|
1936
2154
|
};
|
|
1937
2155
|
|
|
1938
2156
|
if (includeInstance) {
|
|
@@ -2015,6 +2233,12 @@ proto.ondewo.nlu.NotificationFilter.deserializeBinaryFromReader = function(msg,
|
|
|
2015
2233
|
var value = /** @type {string} */ (reader.readString());
|
|
2016
2234
|
msg.addOriginNames(value);
|
|
2017
2235
|
break;
|
|
2236
|
+
case 10:
|
|
2237
|
+
var values = /** @type {!Array<!proto.ondewo.nlu.NotificationType>} */ (reader.isDelimited() ? reader.readPackedEnum() : [reader.readEnum()]);
|
|
2238
|
+
for (var i = 0; i < values.length; i++) {
|
|
2239
|
+
msg.addNotificationTypes(values[i]);
|
|
2240
|
+
}
|
|
2241
|
+
break;
|
|
2018
2242
|
default:
|
|
2019
2243
|
reader.skipField();
|
|
2020
2244
|
break;
|
|
@@ -2109,6 +2333,13 @@ proto.ondewo.nlu.NotificationFilter.serializeBinaryToWriter = function(message,
|
|
|
2109
2333
|
f
|
|
2110
2334
|
);
|
|
2111
2335
|
}
|
|
2336
|
+
f = message.getNotificationTypesList();
|
|
2337
|
+
if (f.length > 0) {
|
|
2338
|
+
writer.writePackedEnum(
|
|
2339
|
+
10,
|
|
2340
|
+
f
|
|
2341
|
+
);
|
|
2342
|
+
}
|
|
2112
2343
|
};
|
|
2113
2344
|
|
|
2114
2345
|
|
|
@@ -2445,6 +2676,43 @@ proto.ondewo.nlu.NotificationFilter.prototype.clearOriginNamesList = function()
|
|
|
2445
2676
|
};
|
|
2446
2677
|
|
|
2447
2678
|
|
|
2679
|
+
/**
|
|
2680
|
+
* repeated NotificationType notification_types = 10;
|
|
2681
|
+
* @return {!Array<!proto.ondewo.nlu.NotificationType>}
|
|
2682
|
+
*/
|
|
2683
|
+
proto.ondewo.nlu.NotificationFilter.prototype.getNotificationTypesList = function() {
|
|
2684
|
+
return /** @type {!Array<!proto.ondewo.nlu.NotificationType>} */ (jspb.Message.getRepeatedField(this, 10));
|
|
2685
|
+
};
|
|
2686
|
+
|
|
2687
|
+
|
|
2688
|
+
/**
|
|
2689
|
+
* @param {!Array<!proto.ondewo.nlu.NotificationType>} value
|
|
2690
|
+
* @return {!proto.ondewo.nlu.NotificationFilter} returns this
|
|
2691
|
+
*/
|
|
2692
|
+
proto.ondewo.nlu.NotificationFilter.prototype.setNotificationTypesList = function(value) {
|
|
2693
|
+
return jspb.Message.setField(this, 10, value || []);
|
|
2694
|
+
};
|
|
2695
|
+
|
|
2696
|
+
|
|
2697
|
+
/**
|
|
2698
|
+
* @param {!proto.ondewo.nlu.NotificationType} value
|
|
2699
|
+
* @param {number=} opt_index
|
|
2700
|
+
* @return {!proto.ondewo.nlu.NotificationFilter} returns this
|
|
2701
|
+
*/
|
|
2702
|
+
proto.ondewo.nlu.NotificationFilter.prototype.addNotificationTypes = function(value, opt_index) {
|
|
2703
|
+
return jspb.Message.addToRepeatedField(this, 10, value, opt_index);
|
|
2704
|
+
};
|
|
2705
|
+
|
|
2706
|
+
|
|
2707
|
+
/**
|
|
2708
|
+
* Clears the list making it empty but non-null.
|
|
2709
|
+
* @return {!proto.ondewo.nlu.NotificationFilter} returns this
|
|
2710
|
+
*/
|
|
2711
|
+
proto.ondewo.nlu.NotificationFilter.prototype.clearNotificationTypesList = function() {
|
|
2712
|
+
return this.setNotificationTypesList([]);
|
|
2713
|
+
};
|
|
2714
|
+
|
|
2715
|
+
|
|
2448
2716
|
|
|
2449
2717
|
|
|
2450
2718
|
|
|
@@ -2877,7 +3145,8 @@ proto.ondewo.nlu.SetNotificationsFlaggedStatusRequest.prototype.toObject = funct
|
|
|
2877
3145
|
proto.ondewo.nlu.SetNotificationsFlaggedStatusRequest.toObject = function(includeInstance, msg) {
|
|
2878
3146
|
var f, obj = {
|
|
2879
3147
|
notificationNamesList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
|
|
2880
|
-
flaggedList: (f = jspb.Message.getRepeatedBooleanField(msg, 2)) == null ? undefined : f
|
|
3148
|
+
flaggedList: (f = jspb.Message.getRepeatedBooleanField(msg, 2)) == null ? undefined : f,
|
|
3149
|
+
fieldMask: (f = msg.getFieldMask()) && google_protobuf_field_mask_pb.FieldMask.toObject(includeInstance, f)
|
|
2881
3150
|
};
|
|
2882
3151
|
|
|
2883
3152
|
if (includeInstance) {
|
|
@@ -2924,6 +3193,11 @@ proto.ondewo.nlu.SetNotificationsFlaggedStatusRequest.deserializeBinaryFromReade
|
|
|
2924
3193
|
msg.addFlagged(values[i]);
|
|
2925
3194
|
}
|
|
2926
3195
|
break;
|
|
3196
|
+
case 3:
|
|
3197
|
+
var value = new google_protobuf_field_mask_pb.FieldMask;
|
|
3198
|
+
reader.readMessage(value,google_protobuf_field_mask_pb.FieldMask.deserializeBinaryFromReader);
|
|
3199
|
+
msg.setFieldMask(value);
|
|
3200
|
+
break;
|
|
2927
3201
|
default:
|
|
2928
3202
|
reader.skipField();
|
|
2929
3203
|
break;
|
|
@@ -2967,6 +3241,14 @@ proto.ondewo.nlu.SetNotificationsFlaggedStatusRequest.serializeBinaryToWriter =
|
|
|
2967
3241
|
f
|
|
2968
3242
|
);
|
|
2969
3243
|
}
|
|
3244
|
+
f = message.getFieldMask();
|
|
3245
|
+
if (f != null) {
|
|
3246
|
+
writer.writeMessage(
|
|
3247
|
+
3,
|
|
3248
|
+
f,
|
|
3249
|
+
google_protobuf_field_mask_pb.FieldMask.serializeBinaryToWriter
|
|
3250
|
+
);
|
|
3251
|
+
}
|
|
2970
3252
|
};
|
|
2971
3253
|
|
|
2972
3254
|
|
|
@@ -3044,6 +3326,43 @@ proto.ondewo.nlu.SetNotificationsFlaggedStatusRequest.prototype.clearFlaggedList
|
|
|
3044
3326
|
};
|
|
3045
3327
|
|
|
3046
3328
|
|
|
3329
|
+
/**
|
|
3330
|
+
* optional google.protobuf.FieldMask field_mask = 3;
|
|
3331
|
+
* @return {?proto.google.protobuf.FieldMask}
|
|
3332
|
+
*/
|
|
3333
|
+
proto.ondewo.nlu.SetNotificationsFlaggedStatusRequest.prototype.getFieldMask = function() {
|
|
3334
|
+
return /** @type{?proto.google.protobuf.FieldMask} */ (
|
|
3335
|
+
jspb.Message.getWrapperField(this, google_protobuf_field_mask_pb.FieldMask, 3));
|
|
3336
|
+
};
|
|
3337
|
+
|
|
3338
|
+
|
|
3339
|
+
/**
|
|
3340
|
+
* @param {?proto.google.protobuf.FieldMask|undefined} value
|
|
3341
|
+
* @return {!proto.ondewo.nlu.SetNotificationsFlaggedStatusRequest} returns this
|
|
3342
|
+
*/
|
|
3343
|
+
proto.ondewo.nlu.SetNotificationsFlaggedStatusRequest.prototype.setFieldMask = function(value) {
|
|
3344
|
+
return jspb.Message.setWrapperField(this, 3, value);
|
|
3345
|
+
};
|
|
3346
|
+
|
|
3347
|
+
|
|
3348
|
+
/**
|
|
3349
|
+
* Clears the message field making it undefined.
|
|
3350
|
+
* @return {!proto.ondewo.nlu.SetNotificationsFlaggedStatusRequest} returns this
|
|
3351
|
+
*/
|
|
3352
|
+
proto.ondewo.nlu.SetNotificationsFlaggedStatusRequest.prototype.clearFieldMask = function() {
|
|
3353
|
+
return this.setFieldMask(undefined);
|
|
3354
|
+
};
|
|
3355
|
+
|
|
3356
|
+
|
|
3357
|
+
/**
|
|
3358
|
+
* Returns whether this field is set.
|
|
3359
|
+
* @return {boolean}
|
|
3360
|
+
*/
|
|
3361
|
+
proto.ondewo.nlu.SetNotificationsFlaggedStatusRequest.prototype.hasFieldMask = function() {
|
|
3362
|
+
return jspb.Message.getField(this, 3) != null;
|
|
3363
|
+
};
|
|
3364
|
+
|
|
3365
|
+
|
|
3047
3366
|
|
|
3048
3367
|
/**
|
|
3049
3368
|
* List of repeated fields within this message type.
|
|
@@ -3084,7 +3403,8 @@ proto.ondewo.nlu.SetNotificationsReadStatusRequest.prototype.toObject = function
|
|
|
3084
3403
|
proto.ondewo.nlu.SetNotificationsReadStatusRequest.toObject = function(includeInstance, msg) {
|
|
3085
3404
|
var f, obj = {
|
|
3086
3405
|
notificationNamesList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
|
|
3087
|
-
flaggedList: (f = jspb.Message.getRepeatedBooleanField(msg, 2)) == null ? undefined : f
|
|
3406
|
+
flaggedList: (f = jspb.Message.getRepeatedBooleanField(msg, 2)) == null ? undefined : f,
|
|
3407
|
+
fieldMask: (f = msg.getFieldMask()) && google_protobuf_field_mask_pb.FieldMask.toObject(includeInstance, f)
|
|
3088
3408
|
};
|
|
3089
3409
|
|
|
3090
3410
|
if (includeInstance) {
|
|
@@ -3131,7 +3451,12 @@ proto.ondewo.nlu.SetNotificationsReadStatusRequest.deserializeBinaryFromReader =
|
|
|
3131
3451
|
msg.addFlagged(values[i]);
|
|
3132
3452
|
}
|
|
3133
3453
|
break;
|
|
3134
|
-
|
|
3454
|
+
case 3:
|
|
3455
|
+
var value = new google_protobuf_field_mask_pb.FieldMask;
|
|
3456
|
+
reader.readMessage(value,google_protobuf_field_mask_pb.FieldMask.deserializeBinaryFromReader);
|
|
3457
|
+
msg.setFieldMask(value);
|
|
3458
|
+
break;
|
|
3459
|
+
default:
|
|
3135
3460
|
reader.skipField();
|
|
3136
3461
|
break;
|
|
3137
3462
|
}
|
|
@@ -3174,6 +3499,14 @@ proto.ondewo.nlu.SetNotificationsReadStatusRequest.serializeBinaryToWriter = fun
|
|
|
3174
3499
|
f
|
|
3175
3500
|
);
|
|
3176
3501
|
}
|
|
3502
|
+
f = message.getFieldMask();
|
|
3503
|
+
if (f != null) {
|
|
3504
|
+
writer.writeMessage(
|
|
3505
|
+
3,
|
|
3506
|
+
f,
|
|
3507
|
+
google_protobuf_field_mask_pb.FieldMask.serializeBinaryToWriter
|
|
3508
|
+
);
|
|
3509
|
+
}
|
|
3177
3510
|
};
|
|
3178
3511
|
|
|
3179
3512
|
|
|
@@ -3251,6 +3584,814 @@ proto.ondewo.nlu.SetNotificationsReadStatusRequest.prototype.clearFlaggedList =
|
|
|
3251
3584
|
};
|
|
3252
3585
|
|
|
3253
3586
|
|
|
3587
|
+
/**
|
|
3588
|
+
* optional google.protobuf.FieldMask field_mask = 3;
|
|
3589
|
+
* @return {?proto.google.protobuf.FieldMask}
|
|
3590
|
+
*/
|
|
3591
|
+
proto.ondewo.nlu.SetNotificationsReadStatusRequest.prototype.getFieldMask = function() {
|
|
3592
|
+
return /** @type{?proto.google.protobuf.FieldMask} */ (
|
|
3593
|
+
jspb.Message.getWrapperField(this, google_protobuf_field_mask_pb.FieldMask, 3));
|
|
3594
|
+
};
|
|
3595
|
+
|
|
3596
|
+
|
|
3597
|
+
/**
|
|
3598
|
+
* @param {?proto.google.protobuf.FieldMask|undefined} value
|
|
3599
|
+
* @return {!proto.ondewo.nlu.SetNotificationsReadStatusRequest} returns this
|
|
3600
|
+
*/
|
|
3601
|
+
proto.ondewo.nlu.SetNotificationsReadStatusRequest.prototype.setFieldMask = function(value) {
|
|
3602
|
+
return jspb.Message.setWrapperField(this, 3, value);
|
|
3603
|
+
};
|
|
3604
|
+
|
|
3605
|
+
|
|
3606
|
+
/**
|
|
3607
|
+
* Clears the message field making it undefined.
|
|
3608
|
+
* @return {!proto.ondewo.nlu.SetNotificationsReadStatusRequest} returns this
|
|
3609
|
+
*/
|
|
3610
|
+
proto.ondewo.nlu.SetNotificationsReadStatusRequest.prototype.clearFieldMask = function() {
|
|
3611
|
+
return this.setFieldMask(undefined);
|
|
3612
|
+
};
|
|
3613
|
+
|
|
3614
|
+
|
|
3615
|
+
/**
|
|
3616
|
+
* Returns whether this field is set.
|
|
3617
|
+
* @return {boolean}
|
|
3618
|
+
*/
|
|
3619
|
+
proto.ondewo.nlu.SetNotificationsReadStatusRequest.prototype.hasFieldMask = function() {
|
|
3620
|
+
return jspb.Message.getField(this, 3) != null;
|
|
3621
|
+
};
|
|
3622
|
+
|
|
3623
|
+
|
|
3624
|
+
|
|
3625
|
+
|
|
3626
|
+
|
|
3627
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
3628
|
+
/**
|
|
3629
|
+
* Creates an object representation of this proto.
|
|
3630
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
3631
|
+
* Optional fields that are not set will be set to undefined.
|
|
3632
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
3633
|
+
* For the list of reserved names please see:
|
|
3634
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
3635
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
3636
|
+
* JSPB instance for transitional soy proto support:
|
|
3637
|
+
* http://goto/soy-param-migration
|
|
3638
|
+
* @return {!Object}
|
|
3639
|
+
*/
|
|
3640
|
+
proto.ondewo.nlu.GetNotificationRequest.prototype.toObject = function(opt_includeInstance) {
|
|
3641
|
+
return proto.ondewo.nlu.GetNotificationRequest.toObject(opt_includeInstance, this);
|
|
3642
|
+
};
|
|
3643
|
+
|
|
3644
|
+
|
|
3645
|
+
/**
|
|
3646
|
+
* Static version of the {@see toObject} method.
|
|
3647
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3648
|
+
* the JSPB instance for transitional soy proto support:
|
|
3649
|
+
* http://goto/soy-param-migration
|
|
3650
|
+
* @param {!proto.ondewo.nlu.GetNotificationRequest} msg The msg instance to transform.
|
|
3651
|
+
* @return {!Object}
|
|
3652
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3653
|
+
*/
|
|
3654
|
+
proto.ondewo.nlu.GetNotificationRequest.toObject = function(includeInstance, msg) {
|
|
3655
|
+
var f, obj = {
|
|
3656
|
+
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
3657
|
+
fieldMask: (f = msg.getFieldMask()) && google_protobuf_field_mask_pb.FieldMask.toObject(includeInstance, f)
|
|
3658
|
+
};
|
|
3659
|
+
|
|
3660
|
+
if (includeInstance) {
|
|
3661
|
+
obj.$jspbMessageInstance = msg;
|
|
3662
|
+
}
|
|
3663
|
+
return obj;
|
|
3664
|
+
};
|
|
3665
|
+
}
|
|
3666
|
+
|
|
3667
|
+
|
|
3668
|
+
/**
|
|
3669
|
+
* Deserializes binary data (in protobuf wire format).
|
|
3670
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3671
|
+
* @return {!proto.ondewo.nlu.GetNotificationRequest}
|
|
3672
|
+
*/
|
|
3673
|
+
proto.ondewo.nlu.GetNotificationRequest.deserializeBinary = function(bytes) {
|
|
3674
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
3675
|
+
var msg = new proto.ondewo.nlu.GetNotificationRequest;
|
|
3676
|
+
return proto.ondewo.nlu.GetNotificationRequest.deserializeBinaryFromReader(msg, reader);
|
|
3677
|
+
};
|
|
3678
|
+
|
|
3679
|
+
|
|
3680
|
+
/**
|
|
3681
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
3682
|
+
* given reader into the given message object.
|
|
3683
|
+
* @param {!proto.ondewo.nlu.GetNotificationRequest} msg The message object to deserialize into.
|
|
3684
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3685
|
+
* @return {!proto.ondewo.nlu.GetNotificationRequest}
|
|
3686
|
+
*/
|
|
3687
|
+
proto.ondewo.nlu.GetNotificationRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
3688
|
+
while (reader.nextField()) {
|
|
3689
|
+
if (reader.isEndGroup()) {
|
|
3690
|
+
break;
|
|
3691
|
+
}
|
|
3692
|
+
var field = reader.getFieldNumber();
|
|
3693
|
+
switch (field) {
|
|
3694
|
+
case 1:
|
|
3695
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3696
|
+
msg.setName(value);
|
|
3697
|
+
break;
|
|
3698
|
+
case 2:
|
|
3699
|
+
var value = new google_protobuf_field_mask_pb.FieldMask;
|
|
3700
|
+
reader.readMessage(value,google_protobuf_field_mask_pb.FieldMask.deserializeBinaryFromReader);
|
|
3701
|
+
msg.setFieldMask(value);
|
|
3702
|
+
break;
|
|
3703
|
+
default:
|
|
3704
|
+
reader.skipField();
|
|
3705
|
+
break;
|
|
3706
|
+
}
|
|
3707
|
+
}
|
|
3708
|
+
return msg;
|
|
3709
|
+
};
|
|
3710
|
+
|
|
3711
|
+
|
|
3712
|
+
/**
|
|
3713
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
3714
|
+
* @return {!Uint8Array}
|
|
3715
|
+
*/
|
|
3716
|
+
proto.ondewo.nlu.GetNotificationRequest.prototype.serializeBinary = function() {
|
|
3717
|
+
var writer = new jspb.BinaryWriter();
|
|
3718
|
+
proto.ondewo.nlu.GetNotificationRequest.serializeBinaryToWriter(this, writer);
|
|
3719
|
+
return writer.getResultBuffer();
|
|
3720
|
+
};
|
|
3721
|
+
|
|
3722
|
+
|
|
3723
|
+
/**
|
|
3724
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
3725
|
+
* format), writing to the given BinaryWriter.
|
|
3726
|
+
* @param {!proto.ondewo.nlu.GetNotificationRequest} message
|
|
3727
|
+
* @param {!jspb.BinaryWriter} writer
|
|
3728
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3729
|
+
*/
|
|
3730
|
+
proto.ondewo.nlu.GetNotificationRequest.serializeBinaryToWriter = function(message, writer) {
|
|
3731
|
+
var f = undefined;
|
|
3732
|
+
f = message.getName();
|
|
3733
|
+
if (f.length > 0) {
|
|
3734
|
+
writer.writeString(
|
|
3735
|
+
1,
|
|
3736
|
+
f
|
|
3737
|
+
);
|
|
3738
|
+
}
|
|
3739
|
+
f = message.getFieldMask();
|
|
3740
|
+
if (f != null) {
|
|
3741
|
+
writer.writeMessage(
|
|
3742
|
+
2,
|
|
3743
|
+
f,
|
|
3744
|
+
google_protobuf_field_mask_pb.FieldMask.serializeBinaryToWriter
|
|
3745
|
+
);
|
|
3746
|
+
}
|
|
3747
|
+
};
|
|
3748
|
+
|
|
3749
|
+
|
|
3750
|
+
/**
|
|
3751
|
+
* optional string name = 1;
|
|
3752
|
+
* @return {string}
|
|
3753
|
+
*/
|
|
3754
|
+
proto.ondewo.nlu.GetNotificationRequest.prototype.getName = function() {
|
|
3755
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
3756
|
+
};
|
|
3757
|
+
|
|
3758
|
+
|
|
3759
|
+
/**
|
|
3760
|
+
* @param {string} value
|
|
3761
|
+
* @return {!proto.ondewo.nlu.GetNotificationRequest} returns this
|
|
3762
|
+
*/
|
|
3763
|
+
proto.ondewo.nlu.GetNotificationRequest.prototype.setName = function(value) {
|
|
3764
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
3765
|
+
};
|
|
3766
|
+
|
|
3767
|
+
|
|
3768
|
+
/**
|
|
3769
|
+
* optional google.protobuf.FieldMask field_mask = 2;
|
|
3770
|
+
* @return {?proto.google.protobuf.FieldMask}
|
|
3771
|
+
*/
|
|
3772
|
+
proto.ondewo.nlu.GetNotificationRequest.prototype.getFieldMask = function() {
|
|
3773
|
+
return /** @type{?proto.google.protobuf.FieldMask} */ (
|
|
3774
|
+
jspb.Message.getWrapperField(this, google_protobuf_field_mask_pb.FieldMask, 2));
|
|
3775
|
+
};
|
|
3776
|
+
|
|
3777
|
+
|
|
3778
|
+
/**
|
|
3779
|
+
* @param {?proto.google.protobuf.FieldMask|undefined} value
|
|
3780
|
+
* @return {!proto.ondewo.nlu.GetNotificationRequest} returns this
|
|
3781
|
+
*/
|
|
3782
|
+
proto.ondewo.nlu.GetNotificationRequest.prototype.setFieldMask = function(value) {
|
|
3783
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
3784
|
+
};
|
|
3785
|
+
|
|
3786
|
+
|
|
3787
|
+
/**
|
|
3788
|
+
* Clears the message field making it undefined.
|
|
3789
|
+
* @return {!proto.ondewo.nlu.GetNotificationRequest} returns this
|
|
3790
|
+
*/
|
|
3791
|
+
proto.ondewo.nlu.GetNotificationRequest.prototype.clearFieldMask = function() {
|
|
3792
|
+
return this.setFieldMask(undefined);
|
|
3793
|
+
};
|
|
3794
|
+
|
|
3795
|
+
|
|
3796
|
+
/**
|
|
3797
|
+
* Returns whether this field is set.
|
|
3798
|
+
* @return {boolean}
|
|
3799
|
+
*/
|
|
3800
|
+
proto.ondewo.nlu.GetNotificationRequest.prototype.hasFieldMask = function() {
|
|
3801
|
+
return jspb.Message.getField(this, 2) != null;
|
|
3802
|
+
};
|
|
3803
|
+
|
|
3804
|
+
|
|
3805
|
+
|
|
3806
|
+
|
|
3807
|
+
|
|
3808
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
3809
|
+
/**
|
|
3810
|
+
* Creates an object representation of this proto.
|
|
3811
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
3812
|
+
* Optional fields that are not set will be set to undefined.
|
|
3813
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
3814
|
+
* For the list of reserved names please see:
|
|
3815
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
3816
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
3817
|
+
* JSPB instance for transitional soy proto support:
|
|
3818
|
+
* http://goto/soy-param-migration
|
|
3819
|
+
* @return {!Object}
|
|
3820
|
+
*/
|
|
3821
|
+
proto.ondewo.nlu.UpdateNotificationRequest.prototype.toObject = function(opt_includeInstance) {
|
|
3822
|
+
return proto.ondewo.nlu.UpdateNotificationRequest.toObject(opt_includeInstance, this);
|
|
3823
|
+
};
|
|
3824
|
+
|
|
3825
|
+
|
|
3826
|
+
/**
|
|
3827
|
+
* Static version of the {@see toObject} method.
|
|
3828
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3829
|
+
* the JSPB instance for transitional soy proto support:
|
|
3830
|
+
* http://goto/soy-param-migration
|
|
3831
|
+
* @param {!proto.ondewo.nlu.UpdateNotificationRequest} msg The msg instance to transform.
|
|
3832
|
+
* @return {!Object}
|
|
3833
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3834
|
+
*/
|
|
3835
|
+
proto.ondewo.nlu.UpdateNotificationRequest.toObject = function(includeInstance, msg) {
|
|
3836
|
+
var f, obj = {
|
|
3837
|
+
notification: (f = msg.getNotification()) && proto.ondewo.nlu.Notification.toObject(includeInstance, f),
|
|
3838
|
+
updateMask: (f = msg.getUpdateMask()) && google_protobuf_field_mask_pb.FieldMask.toObject(includeInstance, f),
|
|
3839
|
+
fieldMask: (f = msg.getFieldMask()) && google_protobuf_field_mask_pb.FieldMask.toObject(includeInstance, f)
|
|
3840
|
+
};
|
|
3841
|
+
|
|
3842
|
+
if (includeInstance) {
|
|
3843
|
+
obj.$jspbMessageInstance = msg;
|
|
3844
|
+
}
|
|
3845
|
+
return obj;
|
|
3846
|
+
};
|
|
3847
|
+
}
|
|
3848
|
+
|
|
3849
|
+
|
|
3850
|
+
/**
|
|
3851
|
+
* Deserializes binary data (in protobuf wire format).
|
|
3852
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3853
|
+
* @return {!proto.ondewo.nlu.UpdateNotificationRequest}
|
|
3854
|
+
*/
|
|
3855
|
+
proto.ondewo.nlu.UpdateNotificationRequest.deserializeBinary = function(bytes) {
|
|
3856
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
3857
|
+
var msg = new proto.ondewo.nlu.UpdateNotificationRequest;
|
|
3858
|
+
return proto.ondewo.nlu.UpdateNotificationRequest.deserializeBinaryFromReader(msg, reader);
|
|
3859
|
+
};
|
|
3860
|
+
|
|
3861
|
+
|
|
3862
|
+
/**
|
|
3863
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
3864
|
+
* given reader into the given message object.
|
|
3865
|
+
* @param {!proto.ondewo.nlu.UpdateNotificationRequest} msg The message object to deserialize into.
|
|
3866
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3867
|
+
* @return {!proto.ondewo.nlu.UpdateNotificationRequest}
|
|
3868
|
+
*/
|
|
3869
|
+
proto.ondewo.nlu.UpdateNotificationRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
3870
|
+
while (reader.nextField()) {
|
|
3871
|
+
if (reader.isEndGroup()) {
|
|
3872
|
+
break;
|
|
3873
|
+
}
|
|
3874
|
+
var field = reader.getFieldNumber();
|
|
3875
|
+
switch (field) {
|
|
3876
|
+
case 1:
|
|
3877
|
+
var value = new proto.ondewo.nlu.Notification;
|
|
3878
|
+
reader.readMessage(value,proto.ondewo.nlu.Notification.deserializeBinaryFromReader);
|
|
3879
|
+
msg.setNotification(value);
|
|
3880
|
+
break;
|
|
3881
|
+
case 2:
|
|
3882
|
+
var value = new google_protobuf_field_mask_pb.FieldMask;
|
|
3883
|
+
reader.readMessage(value,google_protobuf_field_mask_pb.FieldMask.deserializeBinaryFromReader);
|
|
3884
|
+
msg.setUpdateMask(value);
|
|
3885
|
+
break;
|
|
3886
|
+
case 3:
|
|
3887
|
+
var value = new google_protobuf_field_mask_pb.FieldMask;
|
|
3888
|
+
reader.readMessage(value,google_protobuf_field_mask_pb.FieldMask.deserializeBinaryFromReader);
|
|
3889
|
+
msg.setFieldMask(value);
|
|
3890
|
+
break;
|
|
3891
|
+
default:
|
|
3892
|
+
reader.skipField();
|
|
3893
|
+
break;
|
|
3894
|
+
}
|
|
3895
|
+
}
|
|
3896
|
+
return msg;
|
|
3897
|
+
};
|
|
3898
|
+
|
|
3899
|
+
|
|
3900
|
+
/**
|
|
3901
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
3902
|
+
* @return {!Uint8Array}
|
|
3903
|
+
*/
|
|
3904
|
+
proto.ondewo.nlu.UpdateNotificationRequest.prototype.serializeBinary = function() {
|
|
3905
|
+
var writer = new jspb.BinaryWriter();
|
|
3906
|
+
proto.ondewo.nlu.UpdateNotificationRequest.serializeBinaryToWriter(this, writer);
|
|
3907
|
+
return writer.getResultBuffer();
|
|
3908
|
+
};
|
|
3909
|
+
|
|
3910
|
+
|
|
3911
|
+
/**
|
|
3912
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
3913
|
+
* format), writing to the given BinaryWriter.
|
|
3914
|
+
* @param {!proto.ondewo.nlu.UpdateNotificationRequest} message
|
|
3915
|
+
* @param {!jspb.BinaryWriter} writer
|
|
3916
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3917
|
+
*/
|
|
3918
|
+
proto.ondewo.nlu.UpdateNotificationRequest.serializeBinaryToWriter = function(message, writer) {
|
|
3919
|
+
var f = undefined;
|
|
3920
|
+
f = message.getNotification();
|
|
3921
|
+
if (f != null) {
|
|
3922
|
+
writer.writeMessage(
|
|
3923
|
+
1,
|
|
3924
|
+
f,
|
|
3925
|
+
proto.ondewo.nlu.Notification.serializeBinaryToWriter
|
|
3926
|
+
);
|
|
3927
|
+
}
|
|
3928
|
+
f = message.getUpdateMask();
|
|
3929
|
+
if (f != null) {
|
|
3930
|
+
writer.writeMessage(
|
|
3931
|
+
2,
|
|
3932
|
+
f,
|
|
3933
|
+
google_protobuf_field_mask_pb.FieldMask.serializeBinaryToWriter
|
|
3934
|
+
);
|
|
3935
|
+
}
|
|
3936
|
+
f = message.getFieldMask();
|
|
3937
|
+
if (f != null) {
|
|
3938
|
+
writer.writeMessage(
|
|
3939
|
+
3,
|
|
3940
|
+
f,
|
|
3941
|
+
google_protobuf_field_mask_pb.FieldMask.serializeBinaryToWriter
|
|
3942
|
+
);
|
|
3943
|
+
}
|
|
3944
|
+
};
|
|
3945
|
+
|
|
3946
|
+
|
|
3947
|
+
/**
|
|
3948
|
+
* optional Notification notification = 1;
|
|
3949
|
+
* @return {?proto.ondewo.nlu.Notification}
|
|
3950
|
+
*/
|
|
3951
|
+
proto.ondewo.nlu.UpdateNotificationRequest.prototype.getNotification = function() {
|
|
3952
|
+
return /** @type{?proto.ondewo.nlu.Notification} */ (
|
|
3953
|
+
jspb.Message.getWrapperField(this, proto.ondewo.nlu.Notification, 1));
|
|
3954
|
+
};
|
|
3955
|
+
|
|
3956
|
+
|
|
3957
|
+
/**
|
|
3958
|
+
* @param {?proto.ondewo.nlu.Notification|undefined} value
|
|
3959
|
+
* @return {!proto.ondewo.nlu.UpdateNotificationRequest} returns this
|
|
3960
|
+
*/
|
|
3961
|
+
proto.ondewo.nlu.UpdateNotificationRequest.prototype.setNotification = function(value) {
|
|
3962
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
3963
|
+
};
|
|
3964
|
+
|
|
3965
|
+
|
|
3966
|
+
/**
|
|
3967
|
+
* Clears the message field making it undefined.
|
|
3968
|
+
* @return {!proto.ondewo.nlu.UpdateNotificationRequest} returns this
|
|
3969
|
+
*/
|
|
3970
|
+
proto.ondewo.nlu.UpdateNotificationRequest.prototype.clearNotification = function() {
|
|
3971
|
+
return this.setNotification(undefined);
|
|
3972
|
+
};
|
|
3973
|
+
|
|
3974
|
+
|
|
3975
|
+
/**
|
|
3976
|
+
* Returns whether this field is set.
|
|
3977
|
+
* @return {boolean}
|
|
3978
|
+
*/
|
|
3979
|
+
proto.ondewo.nlu.UpdateNotificationRequest.prototype.hasNotification = function() {
|
|
3980
|
+
return jspb.Message.getField(this, 1) != null;
|
|
3981
|
+
};
|
|
3982
|
+
|
|
3983
|
+
|
|
3984
|
+
/**
|
|
3985
|
+
* optional google.protobuf.FieldMask update_mask = 2;
|
|
3986
|
+
* @return {?proto.google.protobuf.FieldMask}
|
|
3987
|
+
*/
|
|
3988
|
+
proto.ondewo.nlu.UpdateNotificationRequest.prototype.getUpdateMask = function() {
|
|
3989
|
+
return /** @type{?proto.google.protobuf.FieldMask} */ (
|
|
3990
|
+
jspb.Message.getWrapperField(this, google_protobuf_field_mask_pb.FieldMask, 2));
|
|
3991
|
+
};
|
|
3992
|
+
|
|
3993
|
+
|
|
3994
|
+
/**
|
|
3995
|
+
* @param {?proto.google.protobuf.FieldMask|undefined} value
|
|
3996
|
+
* @return {!proto.ondewo.nlu.UpdateNotificationRequest} returns this
|
|
3997
|
+
*/
|
|
3998
|
+
proto.ondewo.nlu.UpdateNotificationRequest.prototype.setUpdateMask = function(value) {
|
|
3999
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
4000
|
+
};
|
|
4001
|
+
|
|
4002
|
+
|
|
4003
|
+
/**
|
|
4004
|
+
* Clears the message field making it undefined.
|
|
4005
|
+
* @return {!proto.ondewo.nlu.UpdateNotificationRequest} returns this
|
|
4006
|
+
*/
|
|
4007
|
+
proto.ondewo.nlu.UpdateNotificationRequest.prototype.clearUpdateMask = function() {
|
|
4008
|
+
return this.setUpdateMask(undefined);
|
|
4009
|
+
};
|
|
4010
|
+
|
|
4011
|
+
|
|
4012
|
+
/**
|
|
4013
|
+
* Returns whether this field is set.
|
|
4014
|
+
* @return {boolean}
|
|
4015
|
+
*/
|
|
4016
|
+
proto.ondewo.nlu.UpdateNotificationRequest.prototype.hasUpdateMask = function() {
|
|
4017
|
+
return jspb.Message.getField(this, 2) != null;
|
|
4018
|
+
};
|
|
4019
|
+
|
|
4020
|
+
|
|
4021
|
+
/**
|
|
4022
|
+
* optional google.protobuf.FieldMask field_mask = 3;
|
|
4023
|
+
* @return {?proto.google.protobuf.FieldMask}
|
|
4024
|
+
*/
|
|
4025
|
+
proto.ondewo.nlu.UpdateNotificationRequest.prototype.getFieldMask = function() {
|
|
4026
|
+
return /** @type{?proto.google.protobuf.FieldMask} */ (
|
|
4027
|
+
jspb.Message.getWrapperField(this, google_protobuf_field_mask_pb.FieldMask, 3));
|
|
4028
|
+
};
|
|
4029
|
+
|
|
4030
|
+
|
|
4031
|
+
/**
|
|
4032
|
+
* @param {?proto.google.protobuf.FieldMask|undefined} value
|
|
4033
|
+
* @return {!proto.ondewo.nlu.UpdateNotificationRequest} returns this
|
|
4034
|
+
*/
|
|
4035
|
+
proto.ondewo.nlu.UpdateNotificationRequest.prototype.setFieldMask = function(value) {
|
|
4036
|
+
return jspb.Message.setWrapperField(this, 3, value);
|
|
4037
|
+
};
|
|
4038
|
+
|
|
4039
|
+
|
|
4040
|
+
/**
|
|
4041
|
+
* Clears the message field making it undefined.
|
|
4042
|
+
* @return {!proto.ondewo.nlu.UpdateNotificationRequest} returns this
|
|
4043
|
+
*/
|
|
4044
|
+
proto.ondewo.nlu.UpdateNotificationRequest.prototype.clearFieldMask = function() {
|
|
4045
|
+
return this.setFieldMask(undefined);
|
|
4046
|
+
};
|
|
4047
|
+
|
|
4048
|
+
|
|
4049
|
+
/**
|
|
4050
|
+
* Returns whether this field is set.
|
|
4051
|
+
* @return {boolean}
|
|
4052
|
+
*/
|
|
4053
|
+
proto.ondewo.nlu.UpdateNotificationRequest.prototype.hasFieldMask = function() {
|
|
4054
|
+
return jspb.Message.getField(this, 3) != null;
|
|
4055
|
+
};
|
|
4056
|
+
|
|
4057
|
+
|
|
4058
|
+
|
|
4059
|
+
/**
|
|
4060
|
+
* List of repeated fields within this message type.
|
|
4061
|
+
* @private {!Array<number>}
|
|
4062
|
+
* @const
|
|
4063
|
+
*/
|
|
4064
|
+
proto.ondewo.nlu.DeleteNotificationsRequest.repeatedFields_ = [1];
|
|
4065
|
+
|
|
4066
|
+
|
|
4067
|
+
|
|
4068
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
4069
|
+
/**
|
|
4070
|
+
* Creates an object representation of this proto.
|
|
4071
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
4072
|
+
* Optional fields that are not set will be set to undefined.
|
|
4073
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
4074
|
+
* For the list of reserved names please see:
|
|
4075
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
4076
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
4077
|
+
* JSPB instance for transitional soy proto support:
|
|
4078
|
+
* http://goto/soy-param-migration
|
|
4079
|
+
* @return {!Object}
|
|
4080
|
+
*/
|
|
4081
|
+
proto.ondewo.nlu.DeleteNotificationsRequest.prototype.toObject = function(opt_includeInstance) {
|
|
4082
|
+
return proto.ondewo.nlu.DeleteNotificationsRequest.toObject(opt_includeInstance, this);
|
|
4083
|
+
};
|
|
4084
|
+
|
|
4085
|
+
|
|
4086
|
+
/**
|
|
4087
|
+
* Static version of the {@see toObject} method.
|
|
4088
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
4089
|
+
* the JSPB instance for transitional soy proto support:
|
|
4090
|
+
* http://goto/soy-param-migration
|
|
4091
|
+
* @param {!proto.ondewo.nlu.DeleteNotificationsRequest} msg The msg instance to transform.
|
|
4092
|
+
* @return {!Object}
|
|
4093
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4094
|
+
*/
|
|
4095
|
+
proto.ondewo.nlu.DeleteNotificationsRequest.toObject = function(includeInstance, msg) {
|
|
4096
|
+
var f, obj = {
|
|
4097
|
+
notificationNamesList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
|
|
4098
|
+
};
|
|
4099
|
+
|
|
4100
|
+
if (includeInstance) {
|
|
4101
|
+
obj.$jspbMessageInstance = msg;
|
|
4102
|
+
}
|
|
4103
|
+
return obj;
|
|
4104
|
+
};
|
|
4105
|
+
}
|
|
4106
|
+
|
|
4107
|
+
|
|
4108
|
+
/**
|
|
4109
|
+
* Deserializes binary data (in protobuf wire format).
|
|
4110
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
4111
|
+
* @return {!proto.ondewo.nlu.DeleteNotificationsRequest}
|
|
4112
|
+
*/
|
|
4113
|
+
proto.ondewo.nlu.DeleteNotificationsRequest.deserializeBinary = function(bytes) {
|
|
4114
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
4115
|
+
var msg = new proto.ondewo.nlu.DeleteNotificationsRequest;
|
|
4116
|
+
return proto.ondewo.nlu.DeleteNotificationsRequest.deserializeBinaryFromReader(msg, reader);
|
|
4117
|
+
};
|
|
4118
|
+
|
|
4119
|
+
|
|
4120
|
+
/**
|
|
4121
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
4122
|
+
* given reader into the given message object.
|
|
4123
|
+
* @param {!proto.ondewo.nlu.DeleteNotificationsRequest} msg The message object to deserialize into.
|
|
4124
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
4125
|
+
* @return {!proto.ondewo.nlu.DeleteNotificationsRequest}
|
|
4126
|
+
*/
|
|
4127
|
+
proto.ondewo.nlu.DeleteNotificationsRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
4128
|
+
while (reader.nextField()) {
|
|
4129
|
+
if (reader.isEndGroup()) {
|
|
4130
|
+
break;
|
|
4131
|
+
}
|
|
4132
|
+
var field = reader.getFieldNumber();
|
|
4133
|
+
switch (field) {
|
|
4134
|
+
case 1:
|
|
4135
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4136
|
+
msg.addNotificationNames(value);
|
|
4137
|
+
break;
|
|
4138
|
+
default:
|
|
4139
|
+
reader.skipField();
|
|
4140
|
+
break;
|
|
4141
|
+
}
|
|
4142
|
+
}
|
|
4143
|
+
return msg;
|
|
4144
|
+
};
|
|
4145
|
+
|
|
4146
|
+
|
|
4147
|
+
/**
|
|
4148
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
4149
|
+
* @return {!Uint8Array}
|
|
4150
|
+
*/
|
|
4151
|
+
proto.ondewo.nlu.DeleteNotificationsRequest.prototype.serializeBinary = function() {
|
|
4152
|
+
var writer = new jspb.BinaryWriter();
|
|
4153
|
+
proto.ondewo.nlu.DeleteNotificationsRequest.serializeBinaryToWriter(this, writer);
|
|
4154
|
+
return writer.getResultBuffer();
|
|
4155
|
+
};
|
|
4156
|
+
|
|
4157
|
+
|
|
4158
|
+
/**
|
|
4159
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
4160
|
+
* format), writing to the given BinaryWriter.
|
|
4161
|
+
* @param {!proto.ondewo.nlu.DeleteNotificationsRequest} message
|
|
4162
|
+
* @param {!jspb.BinaryWriter} writer
|
|
4163
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4164
|
+
*/
|
|
4165
|
+
proto.ondewo.nlu.DeleteNotificationsRequest.serializeBinaryToWriter = function(message, writer) {
|
|
4166
|
+
var f = undefined;
|
|
4167
|
+
f = message.getNotificationNamesList();
|
|
4168
|
+
if (f.length > 0) {
|
|
4169
|
+
writer.writeRepeatedString(
|
|
4170
|
+
1,
|
|
4171
|
+
f
|
|
4172
|
+
);
|
|
4173
|
+
}
|
|
4174
|
+
};
|
|
4175
|
+
|
|
4176
|
+
|
|
4177
|
+
/**
|
|
4178
|
+
* repeated string notification_names = 1;
|
|
4179
|
+
* @return {!Array<string>}
|
|
4180
|
+
*/
|
|
4181
|
+
proto.ondewo.nlu.DeleteNotificationsRequest.prototype.getNotificationNamesList = function() {
|
|
4182
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
|
|
4183
|
+
};
|
|
4184
|
+
|
|
4185
|
+
|
|
4186
|
+
/**
|
|
4187
|
+
* @param {!Array<string>} value
|
|
4188
|
+
* @return {!proto.ondewo.nlu.DeleteNotificationsRequest} returns this
|
|
4189
|
+
*/
|
|
4190
|
+
proto.ondewo.nlu.DeleteNotificationsRequest.prototype.setNotificationNamesList = function(value) {
|
|
4191
|
+
return jspb.Message.setField(this, 1, value || []);
|
|
4192
|
+
};
|
|
4193
|
+
|
|
4194
|
+
|
|
4195
|
+
/**
|
|
4196
|
+
* @param {string} value
|
|
4197
|
+
* @param {number=} opt_index
|
|
4198
|
+
* @return {!proto.ondewo.nlu.DeleteNotificationsRequest} returns this
|
|
4199
|
+
*/
|
|
4200
|
+
proto.ondewo.nlu.DeleteNotificationsRequest.prototype.addNotificationNames = function(value, opt_index) {
|
|
4201
|
+
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
|
|
4202
|
+
};
|
|
4203
|
+
|
|
4204
|
+
|
|
4205
|
+
/**
|
|
4206
|
+
* Clears the list making it empty but non-null.
|
|
4207
|
+
* @return {!proto.ondewo.nlu.DeleteNotificationsRequest} returns this
|
|
4208
|
+
*/
|
|
4209
|
+
proto.ondewo.nlu.DeleteNotificationsRequest.prototype.clearNotificationNamesList = function() {
|
|
4210
|
+
return this.setNotificationNamesList([]);
|
|
4211
|
+
};
|
|
4212
|
+
|
|
4213
|
+
|
|
4214
|
+
|
|
4215
|
+
|
|
4216
|
+
|
|
4217
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
4218
|
+
/**
|
|
4219
|
+
* Creates an object representation of this proto.
|
|
4220
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
4221
|
+
* Optional fields that are not set will be set to undefined.
|
|
4222
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
4223
|
+
* For the list of reserved names please see:
|
|
4224
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
4225
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
4226
|
+
* JSPB instance for transitional soy proto support:
|
|
4227
|
+
* http://goto/soy-param-migration
|
|
4228
|
+
* @return {!Object}
|
|
4229
|
+
*/
|
|
4230
|
+
proto.ondewo.nlu.StreamNotificationsRequest.prototype.toObject = function(opt_includeInstance) {
|
|
4231
|
+
return proto.ondewo.nlu.StreamNotificationsRequest.toObject(opt_includeInstance, this);
|
|
4232
|
+
};
|
|
4233
|
+
|
|
4234
|
+
|
|
4235
|
+
/**
|
|
4236
|
+
* Static version of the {@see toObject} method.
|
|
4237
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
4238
|
+
* the JSPB instance for transitional soy proto support:
|
|
4239
|
+
* http://goto/soy-param-migration
|
|
4240
|
+
* @param {!proto.ondewo.nlu.StreamNotificationsRequest} msg The msg instance to transform.
|
|
4241
|
+
* @return {!Object}
|
|
4242
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4243
|
+
*/
|
|
4244
|
+
proto.ondewo.nlu.StreamNotificationsRequest.toObject = function(includeInstance, msg) {
|
|
4245
|
+
var f, obj = {
|
|
4246
|
+
notificationFilter: (f = msg.getNotificationFilter()) && proto.ondewo.nlu.NotificationFilter.toObject(includeInstance, f),
|
|
4247
|
+
includeExisting: jspb.Message.getBooleanFieldWithDefault(msg, 2, false)
|
|
4248
|
+
};
|
|
4249
|
+
|
|
4250
|
+
if (includeInstance) {
|
|
4251
|
+
obj.$jspbMessageInstance = msg;
|
|
4252
|
+
}
|
|
4253
|
+
return obj;
|
|
4254
|
+
};
|
|
4255
|
+
}
|
|
4256
|
+
|
|
4257
|
+
|
|
4258
|
+
/**
|
|
4259
|
+
* Deserializes binary data (in protobuf wire format).
|
|
4260
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
4261
|
+
* @return {!proto.ondewo.nlu.StreamNotificationsRequest}
|
|
4262
|
+
*/
|
|
4263
|
+
proto.ondewo.nlu.StreamNotificationsRequest.deserializeBinary = function(bytes) {
|
|
4264
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
4265
|
+
var msg = new proto.ondewo.nlu.StreamNotificationsRequest;
|
|
4266
|
+
return proto.ondewo.nlu.StreamNotificationsRequest.deserializeBinaryFromReader(msg, reader);
|
|
4267
|
+
};
|
|
4268
|
+
|
|
4269
|
+
|
|
4270
|
+
/**
|
|
4271
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
4272
|
+
* given reader into the given message object.
|
|
4273
|
+
* @param {!proto.ondewo.nlu.StreamNotificationsRequest} msg The message object to deserialize into.
|
|
4274
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
4275
|
+
* @return {!proto.ondewo.nlu.StreamNotificationsRequest}
|
|
4276
|
+
*/
|
|
4277
|
+
proto.ondewo.nlu.StreamNotificationsRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
4278
|
+
while (reader.nextField()) {
|
|
4279
|
+
if (reader.isEndGroup()) {
|
|
4280
|
+
break;
|
|
4281
|
+
}
|
|
4282
|
+
var field = reader.getFieldNumber();
|
|
4283
|
+
switch (field) {
|
|
4284
|
+
case 1:
|
|
4285
|
+
var value = new proto.ondewo.nlu.NotificationFilter;
|
|
4286
|
+
reader.readMessage(value,proto.ondewo.nlu.NotificationFilter.deserializeBinaryFromReader);
|
|
4287
|
+
msg.setNotificationFilter(value);
|
|
4288
|
+
break;
|
|
4289
|
+
case 2:
|
|
4290
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
4291
|
+
msg.setIncludeExisting(value);
|
|
4292
|
+
break;
|
|
4293
|
+
default:
|
|
4294
|
+
reader.skipField();
|
|
4295
|
+
break;
|
|
4296
|
+
}
|
|
4297
|
+
}
|
|
4298
|
+
return msg;
|
|
4299
|
+
};
|
|
4300
|
+
|
|
4301
|
+
|
|
4302
|
+
/**
|
|
4303
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
4304
|
+
* @return {!Uint8Array}
|
|
4305
|
+
*/
|
|
4306
|
+
proto.ondewo.nlu.StreamNotificationsRequest.prototype.serializeBinary = function() {
|
|
4307
|
+
var writer = new jspb.BinaryWriter();
|
|
4308
|
+
proto.ondewo.nlu.StreamNotificationsRequest.serializeBinaryToWriter(this, writer);
|
|
4309
|
+
return writer.getResultBuffer();
|
|
4310
|
+
};
|
|
4311
|
+
|
|
4312
|
+
|
|
4313
|
+
/**
|
|
4314
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
4315
|
+
* format), writing to the given BinaryWriter.
|
|
4316
|
+
* @param {!proto.ondewo.nlu.StreamNotificationsRequest} message
|
|
4317
|
+
* @param {!jspb.BinaryWriter} writer
|
|
4318
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4319
|
+
*/
|
|
4320
|
+
proto.ondewo.nlu.StreamNotificationsRequest.serializeBinaryToWriter = function(message, writer) {
|
|
4321
|
+
var f = undefined;
|
|
4322
|
+
f = message.getNotificationFilter();
|
|
4323
|
+
if (f != null) {
|
|
4324
|
+
writer.writeMessage(
|
|
4325
|
+
1,
|
|
4326
|
+
f,
|
|
4327
|
+
proto.ondewo.nlu.NotificationFilter.serializeBinaryToWriter
|
|
4328
|
+
);
|
|
4329
|
+
}
|
|
4330
|
+
f = message.getIncludeExisting();
|
|
4331
|
+
if (f) {
|
|
4332
|
+
writer.writeBool(
|
|
4333
|
+
2,
|
|
4334
|
+
f
|
|
4335
|
+
);
|
|
4336
|
+
}
|
|
4337
|
+
};
|
|
4338
|
+
|
|
4339
|
+
|
|
4340
|
+
/**
|
|
4341
|
+
* optional NotificationFilter notification_filter = 1;
|
|
4342
|
+
* @return {?proto.ondewo.nlu.NotificationFilter}
|
|
4343
|
+
*/
|
|
4344
|
+
proto.ondewo.nlu.StreamNotificationsRequest.prototype.getNotificationFilter = function() {
|
|
4345
|
+
return /** @type{?proto.ondewo.nlu.NotificationFilter} */ (
|
|
4346
|
+
jspb.Message.getWrapperField(this, proto.ondewo.nlu.NotificationFilter, 1));
|
|
4347
|
+
};
|
|
4348
|
+
|
|
4349
|
+
|
|
4350
|
+
/**
|
|
4351
|
+
* @param {?proto.ondewo.nlu.NotificationFilter|undefined} value
|
|
4352
|
+
* @return {!proto.ondewo.nlu.StreamNotificationsRequest} returns this
|
|
4353
|
+
*/
|
|
4354
|
+
proto.ondewo.nlu.StreamNotificationsRequest.prototype.setNotificationFilter = function(value) {
|
|
4355
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
4356
|
+
};
|
|
4357
|
+
|
|
4358
|
+
|
|
4359
|
+
/**
|
|
4360
|
+
* Clears the message field making it undefined.
|
|
4361
|
+
* @return {!proto.ondewo.nlu.StreamNotificationsRequest} returns this
|
|
4362
|
+
*/
|
|
4363
|
+
proto.ondewo.nlu.StreamNotificationsRequest.prototype.clearNotificationFilter = function() {
|
|
4364
|
+
return this.setNotificationFilter(undefined);
|
|
4365
|
+
};
|
|
4366
|
+
|
|
4367
|
+
|
|
4368
|
+
/**
|
|
4369
|
+
* Returns whether this field is set.
|
|
4370
|
+
* @return {boolean}
|
|
4371
|
+
*/
|
|
4372
|
+
proto.ondewo.nlu.StreamNotificationsRequest.prototype.hasNotificationFilter = function() {
|
|
4373
|
+
return jspb.Message.getField(this, 1) != null;
|
|
4374
|
+
};
|
|
4375
|
+
|
|
4376
|
+
|
|
4377
|
+
/**
|
|
4378
|
+
* optional bool include_existing = 2;
|
|
4379
|
+
* @return {boolean}
|
|
4380
|
+
*/
|
|
4381
|
+
proto.ondewo.nlu.StreamNotificationsRequest.prototype.getIncludeExisting = function() {
|
|
4382
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false));
|
|
4383
|
+
};
|
|
4384
|
+
|
|
4385
|
+
|
|
4386
|
+
/**
|
|
4387
|
+
* @param {boolean} value
|
|
4388
|
+
* @return {!proto.ondewo.nlu.StreamNotificationsRequest} returns this
|
|
4389
|
+
*/
|
|
4390
|
+
proto.ondewo.nlu.StreamNotificationsRequest.prototype.setIncludeExisting = function(value) {
|
|
4391
|
+
return jspb.Message.setProto3BooleanField(this, 2, value);
|
|
4392
|
+
};
|
|
4393
|
+
|
|
4394
|
+
|
|
3254
4395
|
|
|
3255
4396
|
/**
|
|
3256
4397
|
* Oneof group definitions for this message. Each group defines the field
|
|
@@ -4207,7 +5348,8 @@ proto.ondewo.nlu.NotificationOrigin = {
|
|
|
4207
5348
|
NOTIFICATION_ORIGIN_ONDEWO_SIP: 6,
|
|
4208
5349
|
NOTIFICATION_ORIGIN_ONDEWO_T2S: 7,
|
|
4209
5350
|
NOTIFICATION_ORIGIN_ONDEWO_VTSI: 8,
|
|
4210
|
-
NOTIFICATION_ORIGIN_ONDEWO_VTSI_RABBITMQ: 9
|
|
5351
|
+
NOTIFICATION_ORIGIN_ONDEWO_VTSI_RABBITMQ: 9,
|
|
5352
|
+
NOTIFICATION_ORIGIN_ONDEWO_SURVEY: 10
|
|
4211
5353
|
};
|
|
4212
5354
|
|
|
4213
5355
|
/**
|