@ondewo/nlu-client-typescript 5.0.0 → 6.1.0

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.
Files changed (76) hide show
  1. package/api/google/api/annotations_pb.d.ts +2 -2
  2. package/api/google/api/annotations_pb.js +7 -1
  3. package/api/google/protobuf/any_pb.js +9 -3
  4. package/api/google/protobuf/empty_pb.js +7 -1
  5. package/api/google/protobuf/field_mask_pb.js +8 -2
  6. package/api/google/protobuf/struct_pb.js +17 -10
  7. package/api/google/protobuf/timestamp_pb.js +9 -3
  8. package/api/google/rpc/status_pb.d.ts +1 -1
  9. package/api/google/rpc/status_pb.js +10 -4
  10. package/api/google/type/latlng_pb.js +9 -3
  11. package/api/ondewo/nlu/agent_grpc_web_pb.d.ts +15 -64
  12. package/api/ondewo/nlu/agent_grpc_web_pb.js +68 -310
  13. package/api/ondewo/nlu/agent_pb.d.ts +31 -12
  14. package/api/ondewo/nlu/agent_pb.js +507 -326
  15. package/api/ondewo/nlu/aiservices_grpc_web_pb.d.ts +35 -1
  16. package/api/ondewo/nlu/aiservices_grpc_web_pb.js +191 -3
  17. package/api/ondewo/nlu/aiservices_pb.d.ts +190 -3
  18. package/api/ondewo/nlu/aiservices_pb.js +1715 -135
  19. package/api/ondewo/nlu/ccai_project_grpc_web_pb.d.ts +13 -1
  20. package/api/ondewo/nlu/ccai_project_grpc_web_pb.js +68 -3
  21. package/api/ondewo/nlu/ccai_project_pb.d.ts +100 -5
  22. package/api/ondewo/nlu/ccai_project_pb.js +448 -67
  23. package/api/ondewo/nlu/common_pb.d.ts +27 -27
  24. package/api/ondewo/nlu/common_pb.js +100 -94
  25. package/api/ondewo/nlu/context_grpc_web_pb.d.ts +2 -2
  26. package/api/ondewo/nlu/context_grpc_web_pb.js +7 -3
  27. package/api/ondewo/nlu/context_pb.d.ts +4 -4
  28. package/api/ondewo/nlu/context_pb.js +36 -29
  29. package/api/ondewo/nlu/entity_type_grpc_web_pb.d.ts +3 -3
  30. package/api/ondewo/nlu/entity_type_grpc_web_pb.js +7 -3
  31. package/api/ondewo/nlu/entity_type_pb.d.ts +6 -6
  32. package/api/ondewo/nlu/entity_type_pb.js +88 -82
  33. package/api/ondewo/nlu/intent_grpc_web_pb.d.ts +3 -3
  34. package/api/ondewo/nlu/intent_grpc_web_pb.js +7 -3
  35. package/api/ondewo/nlu/intent_pb.d.ts +8 -8
  36. package/api/ondewo/nlu/intent_pb.js +251 -245
  37. package/api/ondewo/nlu/operation_metadata_pb.d.ts +1 -1
  38. package/api/ondewo/nlu/operation_metadata_pb.js +29 -23
  39. package/api/ondewo/nlu/operations_grpc_web_pb.d.ts +2 -2
  40. package/api/ondewo/nlu/operations_grpc_web_pb.js +7 -3
  41. package/api/ondewo/nlu/operations_pb.d.ts +6 -6
  42. package/api/ondewo/nlu/operations_pb.js +28 -22
  43. package/api/ondewo/nlu/project_role_grpc_web_pb.d.ts +2 -2
  44. package/api/ondewo/nlu/project_role_grpc_web_pb.js +7 -3
  45. package/api/ondewo/nlu/project_role_pb.d.ts +4 -4
  46. package/api/ondewo/nlu/project_role_pb.js +32 -26
  47. package/api/ondewo/nlu/project_statistics_grpc_web_pb.d.ts +2 -2
  48. package/api/ondewo/nlu/project_statistics_grpc_web_pb.js +7 -3
  49. package/api/ondewo/nlu/project_statistics_pb.d.ts +4 -4
  50. package/api/ondewo/nlu/project_statistics_pb.js +14 -8
  51. package/api/ondewo/nlu/server_statistics_grpc_web_pb.d.ts +3 -3
  52. package/api/ondewo/nlu/server_statistics_grpc_web_pb.js +7 -3
  53. package/api/ondewo/nlu/server_statistics_pb.d.ts +3 -3
  54. package/api/ondewo/nlu/server_statistics_pb.js +8 -2
  55. package/api/ondewo/nlu/session_grpc_web_pb.d.ts +46 -10
  56. package/api/ondewo/nlu/session_grpc_web_pb.js +209 -22
  57. package/api/ondewo/nlu/session_pb.d.ts +324 -24
  58. package/api/ondewo/nlu/session_pb.js +8251 -5782
  59. package/api/ondewo/nlu/user_grpc_web_pb.d.ts +3 -3
  60. package/api/ondewo/nlu/user_grpc_web_pb.js +7 -3
  61. package/api/ondewo/nlu/user_pb.d.ts +12 -6
  62. package/api/ondewo/nlu/user_pb.js +131 -73
  63. package/api/ondewo/nlu/utility_grpc_web_pb.d.ts +1 -1
  64. package/api/ondewo/nlu/utility_grpc_web_pb.js +7 -3
  65. package/api/ondewo/nlu/utility_pb.d.ts +2 -2
  66. package/api/ondewo/nlu/utility_pb.js +86 -80
  67. package/api/ondewo/nlu/webhook_grpc_web_pb.d.ts +2 -2
  68. package/api/ondewo/nlu/webhook_grpc_web_pb.js +7 -3
  69. package/api/ondewo/nlu/webhook_pb.d.ts +8 -8
  70. package/api/ondewo/nlu/webhook_pb.js +38 -32
  71. package/api/ondewo/qa/qa_grpc_web_pb.d.ts +2 -2
  72. package/api/ondewo/qa/qa_grpc_web_pb.js +7 -3
  73. package/api/ondewo/qa/qa_pb.d.ts +3 -3
  74. package/api/ondewo/qa/qa_pb.js +31 -25
  75. package/package.json +36 -16
  76. package/public-api.js +40 -0
@@ -13,7 +13,13 @@
13
13
 
14
14
  var jspb = require('google-protobuf');
15
15
  var goog = jspb;
16
- var global = (function() { return this || window || global || self || Function('return this')(); }).call(null);
16
+ var global =
17
+ (typeof globalThis !== 'undefined' && globalThis) ||
18
+ (typeof window !== 'undefined' && window) ||
19
+ (typeof global !== 'undefined' && global) ||
20
+ (typeof self !== 'undefined' && self) ||
21
+ (function () { return this; }).call(null) ||
22
+ Function('return this')();
17
23
 
18
24
  var google_api_annotations_pb = require('../../google/api/annotations_pb.js');
19
25
  goog.object.extend(proto, google_api_annotations_pb);
@@ -1801,42 +1807,42 @@ proto.ondewo.nlu.Intent.prototype.toObject = function(opt_includeInstance) {
1801
1807
  */
1802
1808
  proto.ondewo.nlu.Intent.toObject = function(includeInstance, msg) {
1803
1809
  var f, obj = {
1804
- name: jspb.Message.getFieldWithDefault(msg, 1, ""),
1805
- displayName: jspb.Message.getFieldWithDefault(msg, 2, ""),
1806
- webhookState: jspb.Message.getFieldWithDefault(msg, 6, 0),
1807
- priority: jspb.Message.getFieldWithDefault(msg, 3, 0),
1808
- isFallback: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
1809
- mlDisabled: jspb.Message.getBooleanFieldWithDefault(msg, 19, false),
1810
- inputContextNamesList: (f = jspb.Message.getRepeatedField(msg, 7)) == null ? undefined : f,
1811
- eventsList: (f = jspb.Message.getRepeatedField(msg, 8)) == null ? undefined : f,
1812
- trainingPhrasesList: jspb.Message.toObjectList(msg.getTrainingPhrasesList(),
1810
+ name: jspb.Message.getFieldWithDefault(msg, 1, ""),
1811
+ displayName: jspb.Message.getFieldWithDefault(msg, 2, ""),
1812
+ webhookState: jspb.Message.getFieldWithDefault(msg, 6, 0),
1813
+ priority: jspb.Message.getFieldWithDefault(msg, 3, 0),
1814
+ isFallback: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
1815
+ mlDisabled: jspb.Message.getBooleanFieldWithDefault(msg, 19, false),
1816
+ inputContextNamesList: (f = jspb.Message.getRepeatedField(msg, 7)) == null ? undefined : f,
1817
+ eventsList: (f = jspb.Message.getRepeatedField(msg, 8)) == null ? undefined : f,
1818
+ trainingPhrasesList: jspb.Message.toObjectList(msg.getTrainingPhrasesList(),
1813
1819
  proto.ondewo.nlu.Intent.TrainingPhrase.toObject, includeInstance),
1814
- action: jspb.Message.getFieldWithDefault(msg, 10, ""),
1815
- outputContextsList: jspb.Message.toObjectList(msg.getOutputContextsList(),
1820
+ action: jspb.Message.getFieldWithDefault(msg, 10, ""),
1821
+ outputContextsList: jspb.Message.toObjectList(msg.getOutputContextsList(),
1816
1822
  ondewo_nlu_context_pb.Context.toObject, includeInstance),
1817
- resetContexts: jspb.Message.getBooleanFieldWithDefault(msg, 12, false),
1818
- parametersList: jspb.Message.toObjectList(msg.getParametersList(),
1823
+ resetContexts: jspb.Message.getBooleanFieldWithDefault(msg, 12, false),
1824
+ parametersList: jspb.Message.toObjectList(msg.getParametersList(),
1819
1825
  proto.ondewo.nlu.Intent.Parameter.toObject, includeInstance),
1820
- messagesList: jspb.Message.toObjectList(msg.getMessagesList(),
1826
+ messagesList: jspb.Message.toObjectList(msg.getMessagesList(),
1821
1827
  proto.ondewo.nlu.Intent.Message.toObject, includeInstance),
1822
- defaultResponsePlatformsList: (f = jspb.Message.getRepeatedField(msg, 15)) == null ? undefined : f,
1823
- rootFollowupIntentName: jspb.Message.getFieldWithDefault(msg, 16, ""),
1824
- parentFollowupIntentName: jspb.Message.getFieldWithDefault(msg, 17, ""),
1825
- followupIntentInfoList: jspb.Message.toObjectList(msg.getFollowupIntentInfoList(),
1828
+ defaultResponsePlatformsList: (f = jspb.Message.getRepeatedField(msg, 15)) == null ? undefined : f,
1829
+ rootFollowupIntentName: jspb.Message.getFieldWithDefault(msg, 16, ""),
1830
+ parentFollowupIntentName: jspb.Message.getFieldWithDefault(msg, 17, ""),
1831
+ followupIntentInfoList: jspb.Message.toObjectList(msg.getFollowupIntentInfoList(),
1826
1832
  proto.ondewo.nlu.Intent.FollowupIntentInfo.toObject, includeInstance),
1827
- nextPageToken: jspb.Message.getFieldWithDefault(msg, 30, ""),
1828
- domainName: jspb.Message.getFieldWithDefault(msg, 31, ""),
1829
- isStartOfDeviation: jspb.Message.getBooleanFieldWithDefault(msg, 32, false),
1830
- isEndOfDeviation: jspb.Message.getBooleanFieldWithDefault(msg, 33, false),
1831
- trainingPhraseCount: jspb.Message.getFieldWithDefault(msg, 34, 0),
1832
- status: jspb.Message.getFieldWithDefault(msg, 35, 0),
1833
- startDate: (f = msg.getStartDate()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
1834
- endDate: (f = msg.getEndDate()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
1835
- tagsList: (f = jspb.Message.getRepeatedField(msg, 38)) == null ? undefined : f,
1836
- createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
1837
- modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
1838
- createdBy: jspb.Message.getFieldWithDefault(msg, 41, ""),
1839
- modifiedBy: jspb.Message.getFieldWithDefault(msg, 42, "")
1833
+ nextPageToken: jspb.Message.getFieldWithDefault(msg, 30, ""),
1834
+ domainName: jspb.Message.getFieldWithDefault(msg, 31, ""),
1835
+ isStartOfDeviation: jspb.Message.getBooleanFieldWithDefault(msg, 32, false),
1836
+ isEndOfDeviation: jspb.Message.getBooleanFieldWithDefault(msg, 33, false),
1837
+ trainingPhraseCount: jspb.Message.getFieldWithDefault(msg, 34, 0),
1838
+ status: jspb.Message.getFieldWithDefault(msg, 35, 0),
1839
+ startDate: (f = msg.getStartDate()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
1840
+ endDate: (f = msg.getEndDate()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
1841
+ tagsList: (f = jspb.Message.getRepeatedField(msg, 38)) == null ? undefined : f,
1842
+ createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
1843
+ modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
1844
+ createdBy: jspb.Message.getFieldWithDefault(msg, 41, ""),
1845
+ modifiedBy: jspb.Message.getFieldWithDefault(msg, 42, "")
1840
1846
  };
1841
1847
 
1842
1848
  if (includeInstance) {
@@ -2322,17 +2328,17 @@ proto.ondewo.nlu.Intent.TrainingPhrase.prototype.toObject = function(opt_include
2322
2328
  */
2323
2329
  proto.ondewo.nlu.Intent.TrainingPhrase.toObject = function(includeInstance, msg) {
2324
2330
  var f, obj = {
2325
- name: jspb.Message.getFieldWithDefault(msg, 1, ""),
2326
- type: jspb.Message.getFieldWithDefault(msg, 2, 0),
2327
- text: jspb.Message.getFieldWithDefault(msg, 3, ""),
2328
- entitiesList: jspb.Message.toObjectList(msg.getEntitiesList(),
2331
+ name: jspb.Message.getFieldWithDefault(msg, 1, ""),
2332
+ type: jspb.Message.getFieldWithDefault(msg, 2, 0),
2333
+ text: jspb.Message.getFieldWithDefault(msg, 3, ""),
2334
+ entitiesList: jspb.Message.toObjectList(msg.getEntitiesList(),
2329
2335
  proto.ondewo.nlu.Intent.TrainingPhrase.Entity.toObject, includeInstance),
2330
- timesAddedCount: jspb.Message.getFieldWithDefault(msg, 5, 0),
2331
- languageCode: jspb.Message.getFieldWithDefault(msg, 6, ""),
2332
- createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
2333
- modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
2334
- createdBy: jspb.Message.getFieldWithDefault(msg, 9, ""),
2335
- modifiedBy: jspb.Message.getFieldWithDefault(msg, 10, "")
2336
+ timesAddedCount: jspb.Message.getFieldWithDefault(msg, 5, 0),
2337
+ languageCode: jspb.Message.getFieldWithDefault(msg, 6, ""),
2338
+ createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
2339
+ modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
2340
+ createdBy: jspb.Message.getFieldWithDefault(msg, 9, ""),
2341
+ modifiedBy: jspb.Message.getFieldWithDefault(msg, 10, "")
2336
2342
  };
2337
2343
 
2338
2344
  if (includeInstance) {
@@ -2558,18 +2564,18 @@ proto.ondewo.nlu.Intent.TrainingPhrase.Entity.prototype.toObject = function(opt_
2558
2564
  */
2559
2565
  proto.ondewo.nlu.Intent.TrainingPhrase.Entity.toObject = function(includeInstance, msg) {
2560
2566
  var f, obj = {
2561
- entityTypeName: jspb.Message.getFieldWithDefault(msg, 1, ""),
2562
- entityTypeDisplayName: jspb.Message.getFieldWithDefault(msg, 3, ""),
2563
- entityValueName: jspb.Message.getFieldWithDefault(msg, 4, ""),
2564
- entityValueDisplayName: jspb.Message.getFieldWithDefault(msg, 5, ""),
2565
- start: jspb.Message.getFieldWithDefault(msg, 6, 0),
2566
- end: jspb.Message.getFieldWithDefault(msg, 7, 0),
2567
- parameterName: jspb.Message.getFieldWithDefault(msg, 8, ""),
2568
- parameterDisplayName: jspb.Message.getFieldWithDefault(msg, 9, ""),
2569
- createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
2570
- modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
2571
- createdBy: jspb.Message.getFieldWithDefault(msg, 12, ""),
2572
- modifiedBy: jspb.Message.getFieldWithDefault(msg, 13, "")
2567
+ entityTypeName: jspb.Message.getFieldWithDefault(msg, 1, ""),
2568
+ entityTypeDisplayName: jspb.Message.getFieldWithDefault(msg, 3, ""),
2569
+ entityValueName: jspb.Message.getFieldWithDefault(msg, 4, ""),
2570
+ entityValueDisplayName: jspb.Message.getFieldWithDefault(msg, 5, ""),
2571
+ start: jspb.Message.getFieldWithDefault(msg, 6, 0),
2572
+ end: jspb.Message.getFieldWithDefault(msg, 7, 0),
2573
+ parameterName: jspb.Message.getFieldWithDefault(msg, 8, ""),
2574
+ parameterDisplayName: jspb.Message.getFieldWithDefault(msg, 9, ""),
2575
+ createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
2576
+ modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
2577
+ createdBy: jspb.Message.getFieldWithDefault(msg, 12, ""),
2578
+ modifiedBy: jspb.Message.getFieldWithDefault(msg, 13, "")
2573
2579
  };
2574
2580
 
2575
2581
  if (includeInstance) {
@@ -3305,20 +3311,20 @@ proto.ondewo.nlu.Intent.Parameter.prototype.toObject = function(opt_includeInsta
3305
3311
  */
3306
3312
  proto.ondewo.nlu.Intent.Parameter.toObject = function(includeInstance, msg) {
3307
3313
  var f, obj = {
3308
- name: jspb.Message.getFieldWithDefault(msg, 1, ""),
3309
- displayName: jspb.Message.getFieldWithDefault(msg, 2, ""),
3310
- value: jspb.Message.getFieldWithDefault(msg, 3, ""),
3311
- defaultValue: jspb.Message.getFieldWithDefault(msg, 4, ""),
3312
- entityTypeName: jspb.Message.getFieldWithDefault(msg, 5, ""),
3313
- entityTypeDisplayName: jspb.Message.getFieldWithDefault(msg, 6, ""),
3314
- mandatory: jspb.Message.getBooleanFieldWithDefault(msg, 7, false),
3315
- promptsList: jspb.Message.toObjectList(msg.getPromptsList(),
3314
+ name: jspb.Message.getFieldWithDefault(msg, 1, ""),
3315
+ displayName: jspb.Message.getFieldWithDefault(msg, 2, ""),
3316
+ value: jspb.Message.getFieldWithDefault(msg, 3, ""),
3317
+ defaultValue: jspb.Message.getFieldWithDefault(msg, 4, ""),
3318
+ entityTypeName: jspb.Message.getFieldWithDefault(msg, 5, ""),
3319
+ entityTypeDisplayName: jspb.Message.getFieldWithDefault(msg, 6, ""),
3320
+ mandatory: jspb.Message.getBooleanFieldWithDefault(msg, 7, false),
3321
+ promptsList: jspb.Message.toObjectList(msg.getPromptsList(),
3316
3322
  proto.ondewo.nlu.Intent.Parameter.Prompt.toObject, includeInstance),
3317
- isList: jspb.Message.getBooleanFieldWithDefault(msg, 9, false),
3318
- createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
3319
- modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
3320
- createdBy: jspb.Message.getFieldWithDefault(msg, 12, ""),
3321
- modifiedBy: jspb.Message.getFieldWithDefault(msg, 13, "")
3323
+ isList: jspb.Message.getBooleanFieldWithDefault(msg, 9, false),
3324
+ createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
3325
+ modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
3326
+ createdBy: jspb.Message.getFieldWithDefault(msg, 12, ""),
3327
+ modifiedBy: jspb.Message.getFieldWithDefault(msg, 13, "")
3322
3328
  };
3323
3329
 
3324
3330
  if (includeInstance) {
@@ -3568,13 +3574,13 @@ proto.ondewo.nlu.Intent.Parameter.Prompt.prototype.toObject = function(opt_inclu
3568
3574
  */
3569
3575
  proto.ondewo.nlu.Intent.Parameter.Prompt.toObject = function(includeInstance, msg) {
3570
3576
  var f, obj = {
3571
- name: jspb.Message.getFieldWithDefault(msg, 1, ""),
3572
- text: jspb.Message.getFieldWithDefault(msg, 2, ""),
3573
- languageCode: jspb.Message.getFieldWithDefault(msg, 3, ""),
3574
- createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
3575
- modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
3576
- createdBy: jspb.Message.getFieldWithDefault(msg, 6, ""),
3577
- modifiedBy: jspb.Message.getFieldWithDefault(msg, 7, "")
3577
+ name: jspb.Message.getFieldWithDefault(msg, 1, ""),
3578
+ text: jspb.Message.getFieldWithDefault(msg, 2, ""),
3579
+ languageCode: jspb.Message.getFieldWithDefault(msg, 3, ""),
3580
+ createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
3581
+ modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
3582
+ createdBy: jspb.Message.getFieldWithDefault(msg, 6, ""),
3583
+ modifiedBy: jspb.Message.getFieldWithDefault(msg, 7, "")
3578
3584
  };
3579
3585
 
3580
3586
  if (includeInstance) {
@@ -4250,28 +4256,28 @@ proto.ondewo.nlu.Intent.Message.prototype.toObject = function(opt_includeInstanc
4250
4256
  */
4251
4257
  proto.ondewo.nlu.Intent.Message.toObject = function(includeInstance, msg) {
4252
4258
  var f, obj = {
4253
- name: jspb.Message.getFieldWithDefault(msg, 16, ""),
4254
- languageCode: jspb.Message.getFieldWithDefault(msg, 17, ""),
4255
- text: (f = msg.getText()) && proto.ondewo.nlu.Intent.Message.Text.toObject(includeInstance, f),
4256
- image: (f = msg.getImage()) && proto.ondewo.nlu.Intent.Message.Image.toObject(includeInstance, f),
4257
- quickReplies: (f = msg.getQuickReplies()) && proto.ondewo.nlu.Intent.Message.QuickReplies.toObject(includeInstance, f),
4258
- card: (f = msg.getCard()) && proto.ondewo.nlu.Intent.Message.Card.toObject(includeInstance, f),
4259
- payload: (f = msg.getPayload()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f),
4260
- simpleResponses: (f = msg.getSimpleResponses()) && proto.ondewo.nlu.Intent.Message.SimpleResponses.toObject(includeInstance, f),
4261
- basicCard: (f = msg.getBasicCard()) && proto.ondewo.nlu.Intent.Message.BasicCard.toObject(includeInstance, f),
4262
- suggestions: (f = msg.getSuggestions()) && proto.ondewo.nlu.Intent.Message.Suggestions.toObject(includeInstance, f),
4263
- linkOutSuggestion: (f = msg.getLinkOutSuggestion()) && proto.ondewo.nlu.Intent.Message.LinkOutSuggestion.toObject(includeInstance, f),
4264
- listSelect: (f = msg.getListSelect()) && proto.ondewo.nlu.Intent.Message.ListSelect.toObject(includeInstance, f),
4265
- carouselSelect: (f = msg.getCarouselSelect()) && proto.ondewo.nlu.Intent.Message.CarouselSelect.toObject(includeInstance, f),
4266
- htmlText: (f = msg.getHtmlText()) && proto.ondewo.nlu.Intent.Message.HTMLText.toObject(includeInstance, f),
4267
- video: (f = msg.getVideo()) && proto.ondewo.nlu.Intent.Message.Video.toObject(includeInstance, f),
4268
- audio: (f = msg.getAudio()) && proto.ondewo.nlu.Intent.Message.Audio.toObject(includeInstance, f),
4269
- platform: jspb.Message.getFieldWithDefault(msg, 6, 0),
4270
- isPrompt: jspb.Message.getBooleanFieldWithDefault(msg, 18, false),
4271
- createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
4272
- modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
4273
- createdBy: jspb.Message.getFieldWithDefault(msg, 21, ""),
4274
- modifiedBy: jspb.Message.getFieldWithDefault(msg, 22, "")
4259
+ name: jspb.Message.getFieldWithDefault(msg, 16, ""),
4260
+ languageCode: jspb.Message.getFieldWithDefault(msg, 17, ""),
4261
+ text: (f = msg.getText()) && proto.ondewo.nlu.Intent.Message.Text.toObject(includeInstance, f),
4262
+ image: (f = msg.getImage()) && proto.ondewo.nlu.Intent.Message.Image.toObject(includeInstance, f),
4263
+ quickReplies: (f = msg.getQuickReplies()) && proto.ondewo.nlu.Intent.Message.QuickReplies.toObject(includeInstance, f),
4264
+ card: (f = msg.getCard()) && proto.ondewo.nlu.Intent.Message.Card.toObject(includeInstance, f),
4265
+ payload: (f = msg.getPayload()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f),
4266
+ simpleResponses: (f = msg.getSimpleResponses()) && proto.ondewo.nlu.Intent.Message.SimpleResponses.toObject(includeInstance, f),
4267
+ basicCard: (f = msg.getBasicCard()) && proto.ondewo.nlu.Intent.Message.BasicCard.toObject(includeInstance, f),
4268
+ suggestions: (f = msg.getSuggestions()) && proto.ondewo.nlu.Intent.Message.Suggestions.toObject(includeInstance, f),
4269
+ linkOutSuggestion: (f = msg.getLinkOutSuggestion()) && proto.ondewo.nlu.Intent.Message.LinkOutSuggestion.toObject(includeInstance, f),
4270
+ listSelect: (f = msg.getListSelect()) && proto.ondewo.nlu.Intent.Message.ListSelect.toObject(includeInstance, f),
4271
+ carouselSelect: (f = msg.getCarouselSelect()) && proto.ondewo.nlu.Intent.Message.CarouselSelect.toObject(includeInstance, f),
4272
+ htmlText: (f = msg.getHtmlText()) && proto.ondewo.nlu.Intent.Message.HTMLText.toObject(includeInstance, f),
4273
+ video: (f = msg.getVideo()) && proto.ondewo.nlu.Intent.Message.Video.toObject(includeInstance, f),
4274
+ audio: (f = msg.getAudio()) && proto.ondewo.nlu.Intent.Message.Audio.toObject(includeInstance, f),
4275
+ platform: jspb.Message.getFieldWithDefault(msg, 6, 0),
4276
+ isPrompt: jspb.Message.getBooleanFieldWithDefault(msg, 18, false),
4277
+ createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
4278
+ modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
4279
+ createdBy: jspb.Message.getFieldWithDefault(msg, 21, ""),
4280
+ modifiedBy: jspb.Message.getFieldWithDefault(msg, 22, "")
4275
4281
  };
4276
4282
 
4277
4283
  if (includeInstance) {
@@ -4688,7 +4694,7 @@ proto.ondewo.nlu.Intent.Message.Text.prototype.toObject = function(opt_includeIn
4688
4694
  */
4689
4695
  proto.ondewo.nlu.Intent.Message.Text.toObject = function(includeInstance, msg) {
4690
4696
  var f, obj = {
4691
- textList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
4697
+ textList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
4692
4698
  };
4693
4699
 
4694
4700
  if (includeInstance) {
@@ -4837,8 +4843,8 @@ proto.ondewo.nlu.Intent.Message.Image.prototype.toObject = function(opt_includeI
4837
4843
  */
4838
4844
  proto.ondewo.nlu.Intent.Message.Image.toObject = function(includeInstance, msg) {
4839
4845
  var f, obj = {
4840
- imageUri: jspb.Message.getFieldWithDefault(msg, 1, ""),
4841
- accessibilityText: jspb.Message.getFieldWithDefault(msg, 2, "")
4846
+ imageUri: jspb.Message.getFieldWithDefault(msg, 1, ""),
4847
+ accessibilityText: jspb.Message.getFieldWithDefault(msg, 2, "")
4842
4848
  };
4843
4849
 
4844
4850
  if (includeInstance) {
@@ -5004,8 +5010,8 @@ proto.ondewo.nlu.Intent.Message.QuickReplies.prototype.toObject = function(opt_i
5004
5010
  */
5005
5011
  proto.ondewo.nlu.Intent.Message.QuickReplies.toObject = function(includeInstance, msg) {
5006
5012
  var f, obj = {
5007
- title: jspb.Message.getFieldWithDefault(msg, 1, ""),
5008
- quickRepliesList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f
5013
+ title: jspb.Message.getFieldWithDefault(msg, 1, ""),
5014
+ quickRepliesList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f
5009
5015
  };
5010
5016
 
5011
5017
  if (includeInstance) {
@@ -5190,10 +5196,10 @@ proto.ondewo.nlu.Intent.Message.Card.prototype.toObject = function(opt_includeIn
5190
5196
  */
5191
5197
  proto.ondewo.nlu.Intent.Message.Card.toObject = function(includeInstance, msg) {
5192
5198
  var f, obj = {
5193
- title: jspb.Message.getFieldWithDefault(msg, 1, ""),
5194
- subtitle: jspb.Message.getFieldWithDefault(msg, 2, ""),
5195
- imageUri: jspb.Message.getFieldWithDefault(msg, 3, ""),
5196
- buttonsList: jspb.Message.toObjectList(msg.getButtonsList(),
5199
+ title: jspb.Message.getFieldWithDefault(msg, 1, ""),
5200
+ subtitle: jspb.Message.getFieldWithDefault(msg, 2, ""),
5201
+ imageUri: jspb.Message.getFieldWithDefault(msg, 3, ""),
5202
+ buttonsList: jspb.Message.toObjectList(msg.getButtonsList(),
5197
5203
  proto.ondewo.nlu.Intent.Message.Card.Button.toObject, includeInstance)
5198
5204
  };
5199
5205
 
@@ -5341,8 +5347,8 @@ proto.ondewo.nlu.Intent.Message.Card.Button.prototype.toObject = function(opt_in
5341
5347
  */
5342
5348
  proto.ondewo.nlu.Intent.Message.Card.Button.toObject = function(includeInstance, msg) {
5343
5349
  var f, obj = {
5344
- text: jspb.Message.getFieldWithDefault(msg, 1, ""),
5345
- postback: jspb.Message.getFieldWithDefault(msg, 2, "")
5350
+ text: jspb.Message.getFieldWithDefault(msg, 1, ""),
5351
+ postback: jspb.Message.getFieldWithDefault(msg, 2, "")
5346
5352
  };
5347
5353
 
5348
5354
  if (includeInstance) {
@@ -5593,9 +5599,9 @@ proto.ondewo.nlu.Intent.Message.SimpleResponse.prototype.toObject = function(opt
5593
5599
  */
5594
5600
  proto.ondewo.nlu.Intent.Message.SimpleResponse.toObject = function(includeInstance, msg) {
5595
5601
  var f, obj = {
5596
- textToSpeech: jspb.Message.getFieldWithDefault(msg, 1, ""),
5597
- ssml: jspb.Message.getFieldWithDefault(msg, 2, ""),
5598
- displayText: jspb.Message.getFieldWithDefault(msg, 3, "")
5602
+ textToSpeech: jspb.Message.getFieldWithDefault(msg, 1, ""),
5603
+ ssml: jspb.Message.getFieldWithDefault(msg, 2, ""),
5604
+ displayText: jspb.Message.getFieldWithDefault(msg, 3, "")
5599
5605
  };
5600
5606
 
5601
5607
  if (includeInstance) {
@@ -5790,7 +5796,7 @@ proto.ondewo.nlu.Intent.Message.SimpleResponses.prototype.toObject = function(op
5790
5796
  */
5791
5797
  proto.ondewo.nlu.Intent.Message.SimpleResponses.toObject = function(includeInstance, msg) {
5792
5798
  var f, obj = {
5793
- simpleResponsesList: jspb.Message.toObjectList(msg.getSimpleResponsesList(),
5799
+ simpleResponsesList: jspb.Message.toObjectList(msg.getSimpleResponsesList(),
5794
5800
  proto.ondewo.nlu.Intent.Message.SimpleResponse.toObject, includeInstance)
5795
5801
  };
5796
5802
 
@@ -5950,11 +5956,11 @@ proto.ondewo.nlu.Intent.Message.BasicCard.prototype.toObject = function(opt_incl
5950
5956
  */
5951
5957
  proto.ondewo.nlu.Intent.Message.BasicCard.toObject = function(includeInstance, msg) {
5952
5958
  var f, obj = {
5953
- title: jspb.Message.getFieldWithDefault(msg, 1, ""),
5954
- subtitle: jspb.Message.getFieldWithDefault(msg, 2, ""),
5955
- formattedText: jspb.Message.getFieldWithDefault(msg, 3, ""),
5956
- image: (f = msg.getImage()) && proto.ondewo.nlu.Intent.Message.Image.toObject(includeInstance, f),
5957
- buttonsList: jspb.Message.toObjectList(msg.getButtonsList(),
5959
+ title: jspb.Message.getFieldWithDefault(msg, 1, ""),
5960
+ subtitle: jspb.Message.getFieldWithDefault(msg, 2, ""),
5961
+ formattedText: jspb.Message.getFieldWithDefault(msg, 3, ""),
5962
+ image: (f = msg.getImage()) && proto.ondewo.nlu.Intent.Message.Image.toObject(includeInstance, f),
5963
+ buttonsList: jspb.Message.toObjectList(msg.getButtonsList(),
5958
5964
  proto.ondewo.nlu.Intent.Message.BasicCard.Button.toObject, includeInstance)
5959
5965
  };
5960
5966
 
@@ -6115,8 +6121,8 @@ proto.ondewo.nlu.Intent.Message.BasicCard.Button.prototype.toObject = function(o
6115
6121
  */
6116
6122
  proto.ondewo.nlu.Intent.Message.BasicCard.Button.toObject = function(includeInstance, msg) {
6117
6123
  var f, obj = {
6118
- title: jspb.Message.getFieldWithDefault(msg, 1, ""),
6119
- openUriAction: (f = msg.getOpenUriAction()) && proto.ondewo.nlu.Intent.Message.BasicCard.Button.OpenUriAction.toObject(includeInstance, f)
6124
+ title: jspb.Message.getFieldWithDefault(msg, 1, ""),
6125
+ openUriAction: (f = msg.getOpenUriAction()) && proto.ondewo.nlu.Intent.Message.BasicCard.Button.OpenUriAction.toObject(includeInstance, f)
6120
6126
  };
6121
6127
 
6122
6128
  if (includeInstance) {
@@ -6241,7 +6247,7 @@ proto.ondewo.nlu.Intent.Message.BasicCard.Button.OpenUriAction.prototype.toObjec
6241
6247
  */
6242
6248
  proto.ondewo.nlu.Intent.Message.BasicCard.Button.OpenUriAction.toObject = function(includeInstance, msg) {
6243
6249
  var f, obj = {
6244
- uri: jspb.Message.getFieldWithDefault(msg, 1, "")
6250
+ uri: jspb.Message.getFieldWithDefault(msg, 1, "")
6245
6251
  };
6246
6252
 
6247
6253
  if (includeInstance) {
@@ -6555,7 +6561,7 @@ proto.ondewo.nlu.Intent.Message.Suggestion.prototype.toObject = function(opt_inc
6555
6561
  */
6556
6562
  proto.ondewo.nlu.Intent.Message.Suggestion.toObject = function(includeInstance, msg) {
6557
6563
  var f, obj = {
6558
- title: jspb.Message.getFieldWithDefault(msg, 1, "")
6564
+ title: jspb.Message.getFieldWithDefault(msg, 1, "")
6559
6565
  };
6560
6566
 
6561
6567
  if (includeInstance) {
@@ -6692,7 +6698,7 @@ proto.ondewo.nlu.Intent.Message.Suggestions.prototype.toObject = function(opt_in
6692
6698
  */
6693
6699
  proto.ondewo.nlu.Intent.Message.Suggestions.toObject = function(includeInstance, msg) {
6694
6700
  var f, obj = {
6695
- suggestionsList: jspb.Message.toObjectList(msg.getSuggestionsList(),
6701
+ suggestionsList: jspb.Message.toObjectList(msg.getSuggestionsList(),
6696
6702
  proto.ondewo.nlu.Intent.Message.Suggestion.toObject, includeInstance)
6697
6703
  };
6698
6704
 
@@ -6845,8 +6851,8 @@ proto.ondewo.nlu.Intent.Message.LinkOutSuggestion.prototype.toObject = function(
6845
6851
  */
6846
6852
  proto.ondewo.nlu.Intent.Message.LinkOutSuggestion.toObject = function(includeInstance, msg) {
6847
6853
  var f, obj = {
6848
- destinationName: jspb.Message.getFieldWithDefault(msg, 1, ""),
6849
- uri: jspb.Message.getFieldWithDefault(msg, 2, "")
6854
+ destinationName: jspb.Message.getFieldWithDefault(msg, 1, ""),
6855
+ uri: jspb.Message.getFieldWithDefault(msg, 2, "")
6850
6856
  };
6851
6857
 
6852
6858
  if (includeInstance) {
@@ -7012,8 +7018,8 @@ proto.ondewo.nlu.Intent.Message.ListSelect.prototype.toObject = function(opt_inc
7012
7018
  */
7013
7019
  proto.ondewo.nlu.Intent.Message.ListSelect.toObject = function(includeInstance, msg) {
7014
7020
  var f, obj = {
7015
- title: jspb.Message.getFieldWithDefault(msg, 1, ""),
7016
- itemsList: jspb.Message.toObjectList(msg.getItemsList(),
7021
+ title: jspb.Message.getFieldWithDefault(msg, 1, ""),
7022
+ itemsList: jspb.Message.toObjectList(msg.getItemsList(),
7017
7023
  proto.ondewo.nlu.Intent.Message.ListSelect.Item.toObject, includeInstance)
7018
7024
  };
7019
7025
 
@@ -7139,10 +7145,10 @@ proto.ondewo.nlu.Intent.Message.ListSelect.Item.prototype.toObject = function(op
7139
7145
  */
7140
7146
  proto.ondewo.nlu.Intent.Message.ListSelect.Item.toObject = function(includeInstance, msg) {
7141
7147
  var f, obj = {
7142
- info: (f = msg.getInfo()) && proto.ondewo.nlu.Intent.Message.SelectItemInfo.toObject(includeInstance, f),
7143
- title: jspb.Message.getFieldWithDefault(msg, 2, ""),
7144
- description: jspb.Message.getFieldWithDefault(msg, 3, ""),
7145
- image: (f = msg.getImage()) && proto.ondewo.nlu.Intent.Message.Image.toObject(includeInstance, f)
7148
+ info: (f = msg.getInfo()) && proto.ondewo.nlu.Intent.Message.SelectItemInfo.toObject(includeInstance, f),
7149
+ title: jspb.Message.getFieldWithDefault(msg, 2, ""),
7150
+ description: jspb.Message.getFieldWithDefault(msg, 3, ""),
7151
+ image: (f = msg.getImage()) && proto.ondewo.nlu.Intent.Message.Image.toObject(includeInstance, f)
7146
7152
  };
7147
7153
 
7148
7154
  if (includeInstance) {
@@ -7464,7 +7470,7 @@ proto.ondewo.nlu.Intent.Message.CarouselSelect.prototype.toObject = function(opt
7464
7470
  */
7465
7471
  proto.ondewo.nlu.Intent.Message.CarouselSelect.toObject = function(includeInstance, msg) {
7466
7472
  var f, obj = {
7467
- itemsList: jspb.Message.toObjectList(msg.getItemsList(),
7473
+ itemsList: jspb.Message.toObjectList(msg.getItemsList(),
7468
7474
  proto.ondewo.nlu.Intent.Message.CarouselSelect.Item.toObject, includeInstance)
7469
7475
  };
7470
7476
 
@@ -7579,10 +7585,10 @@ proto.ondewo.nlu.Intent.Message.CarouselSelect.Item.prototype.toObject = functio
7579
7585
  */
7580
7586
  proto.ondewo.nlu.Intent.Message.CarouselSelect.Item.toObject = function(includeInstance, msg) {
7581
7587
  var f, obj = {
7582
- info: (f = msg.getInfo()) && proto.ondewo.nlu.Intent.Message.SelectItemInfo.toObject(includeInstance, f),
7583
- title: jspb.Message.getFieldWithDefault(msg, 2, ""),
7584
- description: jspb.Message.getFieldWithDefault(msg, 3, ""),
7585
- image: (f = msg.getImage()) && proto.ondewo.nlu.Intent.Message.Image.toObject(includeInstance, f)
7588
+ info: (f = msg.getInfo()) && proto.ondewo.nlu.Intent.Message.SelectItemInfo.toObject(includeInstance, f),
7589
+ title: jspb.Message.getFieldWithDefault(msg, 2, ""),
7590
+ description: jspb.Message.getFieldWithDefault(msg, 3, ""),
7591
+ image: (f = msg.getImage()) && proto.ondewo.nlu.Intent.Message.Image.toObject(includeInstance, f)
7586
7592
  };
7587
7593
 
7588
7594
  if (includeInstance) {
@@ -7886,7 +7892,7 @@ proto.ondewo.nlu.Intent.Message.HTMLText.prototype.toObject = function(opt_inclu
7886
7892
  */
7887
7893
  proto.ondewo.nlu.Intent.Message.HTMLText.toObject = function(includeInstance, msg) {
7888
7894
  var f, obj = {
7889
- textList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
7895
+ textList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
7890
7896
  };
7891
7897
 
7892
7898
  if (includeInstance) {
@@ -8035,8 +8041,8 @@ proto.ondewo.nlu.Intent.Message.Video.prototype.toObject = function(opt_includeI
8035
8041
  */
8036
8042
  proto.ondewo.nlu.Intent.Message.Video.toObject = function(includeInstance, msg) {
8037
8043
  var f, obj = {
8038
- uri: jspb.Message.getFieldWithDefault(msg, 1, ""),
8039
- accessibilityText: jspb.Message.getFieldWithDefault(msg, 2, "")
8044
+ uri: jspb.Message.getFieldWithDefault(msg, 1, ""),
8045
+ accessibilityText: jspb.Message.getFieldWithDefault(msg, 2, "")
8040
8046
  };
8041
8047
 
8042
8048
  if (includeInstance) {
@@ -8195,8 +8201,8 @@ proto.ondewo.nlu.Intent.Message.Audio.prototype.toObject = function(opt_includeI
8195
8201
  */
8196
8202
  proto.ondewo.nlu.Intent.Message.Audio.toObject = function(includeInstance, msg) {
8197
8203
  var f, obj = {
8198
- uri: jspb.Message.getFieldWithDefault(msg, 1, ""),
8199
- accessibilityText: jspb.Message.getFieldWithDefault(msg, 2, "")
8204
+ uri: jspb.Message.getFieldWithDefault(msg, 1, ""),
8205
+ accessibilityText: jspb.Message.getFieldWithDefault(msg, 2, "")
8200
8206
  };
8201
8207
 
8202
8208
  if (includeInstance) {
@@ -8362,8 +8368,8 @@ proto.ondewo.nlu.Intent.Message.SelectItemInfo.prototype.toObject = function(opt
8362
8368
  */
8363
8369
  proto.ondewo.nlu.Intent.Message.SelectItemInfo.toObject = function(includeInstance, msg) {
8364
8370
  var f, obj = {
8365
- key: jspb.Message.getFieldWithDefault(msg, 1, ""),
8366
- synonymsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f
8371
+ key: jspb.Message.getFieldWithDefault(msg, 1, ""),
8372
+ synonymsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f
8367
8373
  };
8368
8374
 
8369
8375
  if (includeInstance) {
@@ -9241,8 +9247,8 @@ proto.ondewo.nlu.Intent.FollowupIntentInfo.prototype.toObject = function(opt_inc
9241
9247
  */
9242
9248
  proto.ondewo.nlu.Intent.FollowupIntentInfo.toObject = function(includeInstance, msg) {
9243
9249
  var f, obj = {
9244
- followupIntentName: jspb.Message.getFieldWithDefault(msg, 1, ""),
9245
- parentFollowupIntentName: jspb.Message.getFieldWithDefault(msg, 2, "")
9250
+ followupIntentName: jspb.Message.getFieldWithDefault(msg, 1, ""),
9251
+ parentFollowupIntentName: jspb.Message.getFieldWithDefault(msg, 2, "")
9246
9252
  };
9247
9253
 
9248
9254
  if (includeInstance) {
@@ -10218,13 +10224,13 @@ proto.ondewo.nlu.ListIntentsRequest.prototype.toObject = function(opt_includeIns
10218
10224
  */
10219
10225
  proto.ondewo.nlu.ListIntentsRequest.toObject = function(includeInstance, msg) {
10220
10226
  var f, obj = {
10221
- parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
10222
- languageCode: jspb.Message.getFieldWithDefault(msg, 2, ""),
10223
- intentView: jspb.Message.getFieldWithDefault(msg, 3, 0),
10224
- pageToken: jspb.Message.getFieldWithDefault(msg, 5, ""),
10225
- filterByCategory: jspb.Message.getFieldWithDefault(msg, 6, 0),
10226
- sortByField: (f = msg.getSortByField()) && proto.ondewo.nlu.IntentSorting.toObject(includeInstance, f),
10227
- filterByTagsList: (f = jspb.Message.getRepeatedField(msg, 8)) == null ? undefined : f
10227
+ parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
10228
+ languageCode: jspb.Message.getFieldWithDefault(msg, 2, ""),
10229
+ intentView: jspb.Message.getFieldWithDefault(msg, 3, 0),
10230
+ pageToken: jspb.Message.getFieldWithDefault(msg, 5, ""),
10231
+ filterByCategory: jspb.Message.getFieldWithDefault(msg, 6, 0),
10232
+ sortByField: (f = msg.getSortByField()) && proto.ondewo.nlu.IntentSorting.toObject(includeInstance, f),
10233
+ filterByTagsList: (f = jspb.Message.getRepeatedField(msg, 8)) == null ? undefined : f
10228
10234
  };
10229
10235
 
10230
10236
  if (includeInstance) {
@@ -10575,9 +10581,9 @@ proto.ondewo.nlu.ListIntentsResponse.prototype.toObject = function(opt_includeIn
10575
10581
  */
10576
10582
  proto.ondewo.nlu.ListIntentsResponse.toObject = function(includeInstance, msg) {
10577
10583
  var f, obj = {
10578
- intentsList: jspb.Message.toObjectList(msg.getIntentsList(),
10584
+ intentsList: jspb.Message.toObjectList(msg.getIntentsList(),
10579
10585
  proto.ondewo.nlu.Intent.toObject, includeInstance),
10580
- nextPageToken: jspb.Message.getFieldWithDefault(msg, 2, "")
10586
+ nextPageToken: jspb.Message.getFieldWithDefault(msg, 2, "")
10581
10587
  };
10582
10588
 
10583
10589
  if (includeInstance) {
@@ -10758,10 +10764,10 @@ proto.ondewo.nlu.GetIntentRequest.prototype.toObject = function(opt_includeInsta
10758
10764
  */
10759
10765
  proto.ondewo.nlu.GetIntentRequest.toObject = function(includeInstance, msg) {
10760
10766
  var f, obj = {
10761
- name: jspb.Message.getFieldWithDefault(msg, 1, ""),
10762
- languageCode: jspb.Message.getFieldWithDefault(msg, 2, ""),
10763
- intentView: jspb.Message.getFieldWithDefault(msg, 3, 0),
10764
- pageToken: jspb.Message.getFieldWithDefault(msg, 10, "")
10767
+ name: jspb.Message.getFieldWithDefault(msg, 1, ""),
10768
+ languageCode: jspb.Message.getFieldWithDefault(msg, 2, ""),
10769
+ intentView: jspb.Message.getFieldWithDefault(msg, 3, 0),
10770
+ pageToken: jspb.Message.getFieldWithDefault(msg, 10, "")
10765
10771
  };
10766
10772
 
10767
10773
  if (includeInstance) {
@@ -10978,10 +10984,10 @@ proto.ondewo.nlu.CreateIntentRequest.prototype.toObject = function(opt_includeIn
10978
10984
  */
10979
10985
  proto.ondewo.nlu.CreateIntentRequest.toObject = function(includeInstance, msg) {
10980
10986
  var f, obj = {
10981
- parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
10982
- intent: (f = msg.getIntent()) && proto.ondewo.nlu.Intent.toObject(includeInstance, f),
10983
- languageCode: jspb.Message.getFieldWithDefault(msg, 3, ""),
10984
- intentView: jspb.Message.getFieldWithDefault(msg, 4, 0)
10987
+ parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
10988
+ intent: (f = msg.getIntent()) && proto.ondewo.nlu.Intent.toObject(includeInstance, f),
10989
+ languageCode: jspb.Message.getFieldWithDefault(msg, 3, ""),
10990
+ intentView: jspb.Message.getFieldWithDefault(msg, 4, 0)
10985
10991
  };
10986
10992
 
10987
10993
  if (includeInstance) {
@@ -11219,10 +11225,10 @@ proto.ondewo.nlu.UpdateIntentRequest.prototype.toObject = function(opt_includeIn
11219
11225
  */
11220
11226
  proto.ondewo.nlu.UpdateIntentRequest.toObject = function(includeInstance, msg) {
11221
11227
  var f, obj = {
11222
- intent: (f = msg.getIntent()) && proto.ondewo.nlu.Intent.toObject(includeInstance, f),
11223
- languageCode: jspb.Message.getFieldWithDefault(msg, 2, ""),
11224
- updateMask: (f = msg.getUpdateMask()) && google_protobuf_field_mask_pb.FieldMask.toObject(includeInstance, f),
11225
- intentView: jspb.Message.getFieldWithDefault(msg, 4, 0)
11228
+ intent: (f = msg.getIntent()) && proto.ondewo.nlu.Intent.toObject(includeInstance, f),
11229
+ languageCode: jspb.Message.getFieldWithDefault(msg, 2, ""),
11230
+ updateMask: (f = msg.getUpdateMask()) && google_protobuf_field_mask_pb.FieldMask.toObject(includeInstance, f),
11231
+ intentView: jspb.Message.getFieldWithDefault(msg, 4, 0)
11226
11232
  };
11227
11233
 
11228
11234
  if (includeInstance) {
@@ -11481,7 +11487,7 @@ proto.ondewo.nlu.DeleteIntentRequest.prototype.toObject = function(opt_includeIn
11481
11487
  */
11482
11488
  proto.ondewo.nlu.DeleteIntentRequest.toObject = function(includeInstance, msg) {
11483
11489
  var f, obj = {
11484
- name: jspb.Message.getFieldWithDefault(msg, 1, "")
11490
+ name: jspb.Message.getFieldWithDefault(msg, 1, "")
11485
11491
  };
11486
11492
 
11487
11493
  if (includeInstance) {
@@ -11637,12 +11643,12 @@ proto.ondewo.nlu.BatchUpdateIntentsRequest.prototype.toObject = function(opt_inc
11637
11643
  */
11638
11644
  proto.ondewo.nlu.BatchUpdateIntentsRequest.toObject = function(includeInstance, msg) {
11639
11645
  var f, obj = {
11640
- parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
11641
- intentBatchUri: jspb.Message.getFieldWithDefault(msg, 2, ""),
11642
- intentBatchInline: (f = msg.getIntentBatchInline()) && proto.ondewo.nlu.IntentBatch.toObject(includeInstance, f),
11643
- languageCode: jspb.Message.getFieldWithDefault(msg, 4, ""),
11644
- updateMask: (f = msg.getUpdateMask()) && google_protobuf_field_mask_pb.FieldMask.toObject(includeInstance, f),
11645
- intentView: jspb.Message.getFieldWithDefault(msg, 6, 0)
11646
+ parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
11647
+ intentBatchUri: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f,
11648
+ intentBatchInline: (f = msg.getIntentBatchInline()) && proto.ondewo.nlu.IntentBatch.toObject(includeInstance, f),
11649
+ languageCode: jspb.Message.getFieldWithDefault(msg, 4, ""),
11650
+ updateMask: (f = msg.getUpdateMask()) && google_protobuf_field_mask_pb.FieldMask.toObject(includeInstance, f),
11651
+ intentView: jspb.Message.getFieldWithDefault(msg, 6, 0)
11646
11652
  };
11647
11653
 
11648
11654
  if (includeInstance) {
@@ -11984,7 +11990,7 @@ proto.ondewo.nlu.BatchUpdateIntentsResponse.prototype.toObject = function(opt_in
11984
11990
  */
11985
11991
  proto.ondewo.nlu.BatchUpdateIntentsResponse.toObject = function(includeInstance, msg) {
11986
11992
  var f, obj = {
11987
- intentsList: jspb.Message.toObjectList(msg.getIntentsList(),
11993
+ intentsList: jspb.Message.toObjectList(msg.getIntentsList(),
11988
11994
  proto.ondewo.nlu.Intent.toObject, includeInstance)
11989
11995
  };
11990
11996
 
@@ -12144,8 +12150,8 @@ proto.ondewo.nlu.BatchDeleteIntentsRequest.prototype.toObject = function(opt_inc
12144
12150
  */
12145
12151
  proto.ondewo.nlu.BatchDeleteIntentsRequest.toObject = function(includeInstance, msg) {
12146
12152
  var f, obj = {
12147
- parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
12148
- intentsList: jspb.Message.toObjectList(msg.getIntentsList(),
12153
+ parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
12154
+ intentsList: jspb.Message.toObjectList(msg.getIntentsList(),
12149
12155
  proto.ondewo.nlu.Intent.toObject, includeInstance)
12150
12156
  };
12151
12157
 
@@ -12334,7 +12340,7 @@ proto.ondewo.nlu.IntentBatch.prototype.toObject = function(opt_includeInstance)
12334
12340
  */
12335
12341
  proto.ondewo.nlu.IntentBatch.toObject = function(includeInstance, msg) {
12336
12342
  var f, obj = {
12337
- intentsList: jspb.Message.toObjectList(msg.getIntentsList(),
12343
+ intentsList: jspb.Message.toObjectList(msg.getIntentsList(),
12338
12344
  proto.ondewo.nlu.Intent.toObject, includeInstance)
12339
12345
  };
12340
12346
 
@@ -12487,8 +12493,8 @@ proto.ondewo.nlu.IntentSorting.prototype.toObject = function(opt_includeInstance
12487
12493
  */
12488
12494
  proto.ondewo.nlu.IntentSorting.toObject = function(includeInstance, msg) {
12489
12495
  var f, obj = {
12490
- sortingField: jspb.Message.getFieldWithDefault(msg, 1, 0),
12491
- sortingMode: jspb.Message.getFieldWithDefault(msg, 2, 0)
12496
+ sortingField: jspb.Message.getFieldWithDefault(msg, 1, 0),
12497
+ sortingMode: jspb.Message.getFieldWithDefault(msg, 2, 0)
12492
12498
  };
12493
12499
 
12494
12500
  if (includeInstance) {
@@ -12667,8 +12673,8 @@ proto.ondewo.nlu.IntentTagRequest.prototype.toObject = function(opt_includeInsta
12667
12673
  */
12668
12674
  proto.ondewo.nlu.IntentTagRequest.toObject = function(includeInstance, msg) {
12669
12675
  var f, obj = {
12670
- intentName: jspb.Message.getFieldWithDefault(msg, 1, ""),
12671
- tagsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f
12676
+ intentName: jspb.Message.getFieldWithDefault(msg, 1, ""),
12677
+ tagsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f
12672
12678
  };
12673
12679
 
12674
12680
  if (includeInstance) {
@@ -12846,7 +12852,7 @@ proto.ondewo.nlu.GetIntentTagsRequest.prototype.toObject = function(opt_includeI
12846
12852
  */
12847
12853
  proto.ondewo.nlu.GetIntentTagsRequest.toObject = function(includeInstance, msg) {
12848
12854
  var f, obj = {
12849
- intentName: jspb.Message.getFieldWithDefault(msg, 1, "")
12855
+ intentName: jspb.Message.getFieldWithDefault(msg, 1, "")
12850
12856
  };
12851
12857
 
12852
12858
  if (includeInstance) {
@@ -12983,7 +12989,7 @@ proto.ondewo.nlu.GetIntentTagsResponse.prototype.toObject = function(opt_include
12983
12989
  */
12984
12990
  proto.ondewo.nlu.GetIntentTagsResponse.toObject = function(includeInstance, msg) {
12985
12991
  var f, obj = {
12986
- intentTagsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
12992
+ intentTagsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
12987
12993
  };
12988
12994
 
12989
12995
  if (includeInstance) {
@@ -13132,7 +13138,7 @@ proto.ondewo.nlu.GetAllIntentTagsRequest.prototype.toObject = function(opt_inclu
13132
13138
  */
13133
13139
  proto.ondewo.nlu.GetAllIntentTagsRequest.toObject = function(includeInstance, msg) {
13134
13140
  var f, obj = {
13135
- parent: jspb.Message.getFieldWithDefault(msg, 1, "")
13141
+ parent: jspb.Message.getFieldWithDefault(msg, 1, "")
13136
13142
  };
13137
13143
 
13138
13144
  if (includeInstance) {
@@ -13269,7 +13275,7 @@ proto.ondewo.nlu.BatchUpdateTrainingPhrasesRequest.prototype.toObject = function
13269
13275
  */
13270
13276
  proto.ondewo.nlu.BatchUpdateTrainingPhrasesRequest.toObject = function(includeInstance, msg) {
13271
13277
  var f, obj = {
13272
- trainingPhrasesList: jspb.Message.toObjectList(msg.getTrainingPhrasesList(),
13278
+ trainingPhrasesList: jspb.Message.toObjectList(msg.getTrainingPhrasesList(),
13273
13279
  proto.ondewo.nlu.Intent.TrainingPhrase.toObject, includeInstance)
13274
13280
  };
13275
13281
 
@@ -13448,8 +13454,8 @@ proto.ondewo.nlu.TrainingPhraseStatus.prototype.toObject = function(opt_includeI
13448
13454
  */
13449
13455
  proto.ondewo.nlu.TrainingPhraseStatus.toObject = function(includeInstance, msg) {
13450
13456
  var f, obj = {
13451
- trainingPhrase: (f = msg.getTrainingPhrase()) && proto.ondewo.nlu.Intent.TrainingPhrase.toObject(includeInstance, f),
13452
- errorMessage: jspb.Message.getFieldWithDefault(msg, 2, "")
13457
+ trainingPhrase: (f = msg.getTrainingPhrase()) && proto.ondewo.nlu.Intent.TrainingPhrase.toObject(includeInstance, f),
13458
+ errorMessage: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f
13453
13459
  };
13454
13460
 
13455
13461
  if (includeInstance) {
@@ -13654,9 +13660,9 @@ proto.ondewo.nlu.BatchTrainingPhrasesStatusResponse.prototype.toObject = functio
13654
13660
  */
13655
13661
  proto.ondewo.nlu.BatchTrainingPhrasesStatusResponse.toObject = function(includeInstance, msg) {
13656
13662
  var f, obj = {
13657
- trainingPhraseStatusesList: jspb.Message.toObjectList(msg.getTrainingPhraseStatusesList(),
13663
+ trainingPhraseStatusesList: jspb.Message.toObjectList(msg.getTrainingPhraseStatusesList(),
13658
13664
  proto.ondewo.nlu.TrainingPhraseStatus.toObject, includeInstance),
13659
- hasErrors: jspb.Message.getBooleanFieldWithDefault(msg, 2, false)
13665
+ hasErrors: jspb.Message.getBooleanFieldWithDefault(msg, 2, false)
13660
13666
  };
13661
13667
 
13662
13668
  if (includeInstance) {
@@ -13844,7 +13850,7 @@ proto.ondewo.nlu.BatchCreateTrainingPhrasesRequest.prototype.toObject = function
13844
13850
  */
13845
13851
  proto.ondewo.nlu.BatchCreateTrainingPhrasesRequest.toObject = function(includeInstance, msg) {
13846
13852
  var f, obj = {
13847
- trainingPhraseRequestsList: jspb.Message.toObjectList(msg.getTrainingPhraseRequestsList(),
13853
+ trainingPhraseRequestsList: jspb.Message.toObjectList(msg.getTrainingPhraseRequestsList(),
13848
13854
  proto.ondewo.nlu.BatchCreateTrainingPhrasesRequest.CreateTrainingPhraseRequest.toObject, includeInstance)
13849
13855
  };
13850
13856
 
@@ -13959,8 +13965,8 @@ proto.ondewo.nlu.BatchCreateTrainingPhrasesRequest.CreateTrainingPhraseRequest.p
13959
13965
  */
13960
13966
  proto.ondewo.nlu.BatchCreateTrainingPhrasesRequest.CreateTrainingPhraseRequest.toObject = function(includeInstance, msg) {
13961
13967
  var f, obj = {
13962
- intentName: jspb.Message.getFieldWithDefault(msg, 1, ""),
13963
- trainingPhrase: (f = msg.getTrainingPhrase()) && proto.ondewo.nlu.Intent.TrainingPhrase.toObject(includeInstance, f)
13968
+ intentName: jspb.Message.getFieldWithDefault(msg, 1, ""),
13969
+ trainingPhrase: (f = msg.getTrainingPhrase()) && proto.ondewo.nlu.Intent.TrainingPhrase.toObject(includeInstance, f)
13964
13970
  };
13965
13971
 
13966
13972
  if (includeInstance) {
@@ -14185,7 +14191,7 @@ proto.ondewo.nlu.BatchGetTrainingPhrasesRequest.prototype.toObject = function(op
14185
14191
  */
14186
14192
  proto.ondewo.nlu.BatchGetTrainingPhrasesRequest.toObject = function(includeInstance, msg) {
14187
14193
  var f, obj = {
14188
- namesList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
14194
+ namesList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
14189
14195
  };
14190
14196
 
14191
14197
  if (includeInstance) {
@@ -14341,7 +14347,7 @@ proto.ondewo.nlu.BatchDeleteTrainingPhrasesRequest.prototype.toObject = function
14341
14347
  */
14342
14348
  proto.ondewo.nlu.BatchDeleteTrainingPhrasesRequest.toObject = function(includeInstance, msg) {
14343
14349
  var f, obj = {
14344
- namesList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
14350
+ namesList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
14345
14351
  };
14346
14352
 
14347
14353
  if (includeInstance) {
@@ -14497,9 +14503,9 @@ proto.ondewo.nlu.BatchDeleteTrainingPhrasesResponse.prototype.toObject = functio
14497
14503
  */
14498
14504
  proto.ondewo.nlu.BatchDeleteTrainingPhrasesResponse.toObject = function(includeInstance, msg) {
14499
14505
  var f, obj = {
14500
- deleteStatusesList: jspb.Message.toObjectList(msg.getDeleteStatusesList(),
14506
+ deleteStatusesList: jspb.Message.toObjectList(msg.getDeleteStatusesList(),
14501
14507
  proto.ondewo.nlu.BatchDeleteTrainingPhrasesResponse.DeleteTrainingPhraseStatus.toObject, includeInstance),
14502
- hasErrors: jspb.Message.getBooleanFieldWithDefault(msg, 2, false)
14508
+ hasErrors: jspb.Message.getBooleanFieldWithDefault(msg, 2, false)
14503
14509
  };
14504
14510
 
14505
14511
  if (includeInstance) {
@@ -14650,8 +14656,8 @@ proto.ondewo.nlu.BatchDeleteTrainingPhrasesResponse.DeleteTrainingPhraseStatus.p
14650
14656
  */
14651
14657
  proto.ondewo.nlu.BatchDeleteTrainingPhrasesResponse.DeleteTrainingPhraseStatus.toObject = function(includeInstance, msg) {
14652
14658
  var f, obj = {
14653
- successfullyDeleted: (f = msg.getSuccessfullyDeleted()) && google_protobuf_empty_pb.Empty.toObject(includeInstance, f),
14654
- errorMessage: jspb.Message.getFieldWithDefault(msg, 2, "")
14659
+ successfullyDeleted: (f = msg.getSuccessfullyDeleted()) && google_protobuf_empty_pb.Empty.toObject(includeInstance, f),
14660
+ errorMessage: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f
14655
14661
  };
14656
14662
 
14657
14663
  if (includeInstance) {
@@ -14905,9 +14911,9 @@ proto.ondewo.nlu.ListTrainingPhrasesRequest.prototype.toObject = function(opt_in
14905
14911
  */
14906
14912
  proto.ondewo.nlu.ListTrainingPhrasesRequest.toObject = function(includeInstance, msg) {
14907
14913
  var f, obj = {
14908
- intentName: jspb.Message.getFieldWithDefault(msg, 1, ""),
14909
- languageCode: jspb.Message.getFieldWithDefault(msg, 2, ""),
14910
- pageToken: jspb.Message.getFieldWithDefault(msg, 3, "")
14914
+ intentName: jspb.Message.getFieldWithDefault(msg, 1, ""),
14915
+ languageCode: jspb.Message.getFieldWithDefault(msg, 2, ""),
14916
+ pageToken: jspb.Message.getFieldWithDefault(msg, 3, "")
14911
14917
  };
14912
14918
 
14913
14919
  if (includeInstance) {
@@ -15102,9 +15108,9 @@ proto.ondewo.nlu.ListTrainingPhrasesResponse.prototype.toObject = function(opt_i
15102
15108
  */
15103
15109
  proto.ondewo.nlu.ListTrainingPhrasesResponse.toObject = function(includeInstance, msg) {
15104
15110
  var f, obj = {
15105
- trainingPhrasesList: jspb.Message.toObjectList(msg.getTrainingPhrasesList(),
15111
+ trainingPhrasesList: jspb.Message.toObjectList(msg.getTrainingPhrasesList(),
15106
15112
  proto.ondewo.nlu.Intent.TrainingPhrase.toObject, includeInstance),
15107
- nextPageToken: jspb.Message.getFieldWithDefault(msg, 2, "")
15113
+ nextPageToken: jspb.Message.getFieldWithDefault(msg, 2, "")
15108
15114
  };
15109
15115
 
15110
15116
  if (includeInstance) {
@@ -15292,9 +15298,9 @@ proto.ondewo.nlu.BatchResponseMessagesStatusResponse.prototype.toObject = functi
15292
15298
  */
15293
15299
  proto.ondewo.nlu.BatchResponseMessagesStatusResponse.toObject = function(includeInstance, msg) {
15294
15300
  var f, obj = {
15295
- responseMessageStatusesList: jspb.Message.toObjectList(msg.getResponseMessageStatusesList(),
15301
+ responseMessageStatusesList: jspb.Message.toObjectList(msg.getResponseMessageStatusesList(),
15296
15302
  proto.ondewo.nlu.BatchResponseMessagesStatusResponse.ResponseMessageStatus.toObject, includeInstance),
15297
- hasErrors: jspb.Message.getBooleanFieldWithDefault(msg, 2, false)
15303
+ hasErrors: jspb.Message.getBooleanFieldWithDefault(msg, 2, false)
15298
15304
  };
15299
15305
 
15300
15306
  if (includeInstance) {
@@ -15445,8 +15451,8 @@ proto.ondewo.nlu.BatchResponseMessagesStatusResponse.ResponseMessageStatus.proto
15445
15451
  */
15446
15452
  proto.ondewo.nlu.BatchResponseMessagesStatusResponse.ResponseMessageStatus.toObject = function(includeInstance, msg) {
15447
15453
  var f, obj = {
15448
- responseMessage: (f = msg.getResponseMessage()) && proto.ondewo.nlu.Intent.Message.toObject(includeInstance, f),
15449
- errorMessage: jspb.Message.getFieldWithDefault(msg, 2, "")
15454
+ responseMessage: (f = msg.getResponseMessage()) && proto.ondewo.nlu.Intent.Message.toObject(includeInstance, f),
15455
+ errorMessage: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f
15450
15456
  };
15451
15457
 
15452
15458
  if (includeInstance) {
@@ -15707,7 +15713,7 @@ proto.ondewo.nlu.BatchCreateResponseMessagesRequest.prototype.toObject = functio
15707
15713
  */
15708
15714
  proto.ondewo.nlu.BatchCreateResponseMessagesRequest.toObject = function(includeInstance, msg) {
15709
15715
  var f, obj = {
15710
- responseMessageRequestsList: jspb.Message.toObjectList(msg.getResponseMessageRequestsList(),
15716
+ responseMessageRequestsList: jspb.Message.toObjectList(msg.getResponseMessageRequestsList(),
15711
15717
  proto.ondewo.nlu.BatchCreateResponseMessagesRequest.CreateResponseMessageRequest.toObject, includeInstance)
15712
15718
  };
15713
15719
 
@@ -15822,8 +15828,8 @@ proto.ondewo.nlu.BatchCreateResponseMessagesRequest.CreateResponseMessageRequest
15822
15828
  */
15823
15829
  proto.ondewo.nlu.BatchCreateResponseMessagesRequest.CreateResponseMessageRequest.toObject = function(includeInstance, msg) {
15824
15830
  var f, obj = {
15825
- intentName: jspb.Message.getFieldWithDefault(msg, 1, ""),
15826
- responseMessage: (f = msg.getResponseMessage()) && proto.ondewo.nlu.Intent.Message.toObject(includeInstance, f)
15831
+ intentName: jspb.Message.getFieldWithDefault(msg, 1, ""),
15832
+ responseMessage: (f = msg.getResponseMessage()) && proto.ondewo.nlu.Intent.Message.toObject(includeInstance, f)
15827
15833
  };
15828
15834
 
15829
15835
  if (includeInstance) {
@@ -16048,7 +16054,7 @@ proto.ondewo.nlu.BatchUpdateResponseMessagesRequest.prototype.toObject = functio
16048
16054
  */
16049
16055
  proto.ondewo.nlu.BatchUpdateResponseMessagesRequest.toObject = function(includeInstance, msg) {
16050
16056
  var f, obj = {
16051
- responseMessagesList: jspb.Message.toObjectList(msg.getResponseMessagesList(),
16057
+ responseMessagesList: jspb.Message.toObjectList(msg.getResponseMessagesList(),
16052
16058
  proto.ondewo.nlu.Intent.Message.toObject, includeInstance)
16053
16059
  };
16054
16060
 
@@ -16208,7 +16214,7 @@ proto.ondewo.nlu.BatchGetResponseMessagesRequest.prototype.toObject = function(o
16208
16214
  */
16209
16215
  proto.ondewo.nlu.BatchGetResponseMessagesRequest.toObject = function(includeInstance, msg) {
16210
16216
  var f, obj = {
16211
- namesList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
16217
+ namesList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
16212
16218
  };
16213
16219
 
16214
16220
  if (includeInstance) {
@@ -16364,7 +16370,7 @@ proto.ondewo.nlu.BatchDeleteResponseMessagesRequest.prototype.toObject = functio
16364
16370
  */
16365
16371
  proto.ondewo.nlu.BatchDeleteResponseMessagesRequest.toObject = function(includeInstance, msg) {
16366
16372
  var f, obj = {
16367
- namesList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
16373
+ namesList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
16368
16374
  };
16369
16375
 
16370
16376
  if (includeInstance) {
@@ -16520,9 +16526,9 @@ proto.ondewo.nlu.BatchDeleteResponseMessagesResponse.prototype.toObject = functi
16520
16526
  */
16521
16527
  proto.ondewo.nlu.BatchDeleteResponseMessagesResponse.toObject = function(includeInstance, msg) {
16522
16528
  var f, obj = {
16523
- deleteStatusesList: jspb.Message.toObjectList(msg.getDeleteStatusesList(),
16529
+ deleteStatusesList: jspb.Message.toObjectList(msg.getDeleteStatusesList(),
16524
16530
  proto.ondewo.nlu.BatchDeleteResponseMessagesResponse.DeleteResponseMessageStatus.toObject, includeInstance),
16525
- hasErrors: jspb.Message.getBooleanFieldWithDefault(msg, 2, false)
16531
+ hasErrors: jspb.Message.getBooleanFieldWithDefault(msg, 2, false)
16526
16532
  };
16527
16533
 
16528
16534
  if (includeInstance) {
@@ -16673,8 +16679,8 @@ proto.ondewo.nlu.BatchDeleteResponseMessagesResponse.DeleteResponseMessageStatus
16673
16679
  */
16674
16680
  proto.ondewo.nlu.BatchDeleteResponseMessagesResponse.DeleteResponseMessageStatus.toObject = function(includeInstance, msg) {
16675
16681
  var f, obj = {
16676
- successfullyDeleted: (f = msg.getSuccessfullyDeleted()) && google_protobuf_empty_pb.Empty.toObject(includeInstance, f),
16677
- errorMessage: jspb.Message.getFieldWithDefault(msg, 2, "")
16682
+ successfullyDeleted: (f = msg.getSuccessfullyDeleted()) && google_protobuf_empty_pb.Empty.toObject(includeInstance, f),
16683
+ errorMessage: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f
16678
16684
  };
16679
16685
 
16680
16686
  if (includeInstance) {
@@ -16928,9 +16934,9 @@ proto.ondewo.nlu.ListResponseMessagesRequest.prototype.toObject = function(opt_i
16928
16934
  */
16929
16935
  proto.ondewo.nlu.ListResponseMessagesRequest.toObject = function(includeInstance, msg) {
16930
16936
  var f, obj = {
16931
- intentName: jspb.Message.getFieldWithDefault(msg, 1, ""),
16932
- languageCode: jspb.Message.getFieldWithDefault(msg, 2, ""),
16933
- pageToken: jspb.Message.getFieldWithDefault(msg, 3, "")
16937
+ intentName: jspb.Message.getFieldWithDefault(msg, 1, ""),
16938
+ languageCode: jspb.Message.getFieldWithDefault(msg, 2, ""),
16939
+ pageToken: jspb.Message.getFieldWithDefault(msg, 3, "")
16934
16940
  };
16935
16941
 
16936
16942
  if (includeInstance) {
@@ -17125,9 +17131,9 @@ proto.ondewo.nlu.ListResponseMessagesResponse.prototype.toObject = function(opt_
17125
17131
  */
17126
17132
  proto.ondewo.nlu.ListResponseMessagesResponse.toObject = function(includeInstance, msg) {
17127
17133
  var f, obj = {
17128
- responseMessagesList: jspb.Message.toObjectList(msg.getResponseMessagesList(),
17134
+ responseMessagesList: jspb.Message.toObjectList(msg.getResponseMessagesList(),
17129
17135
  proto.ondewo.nlu.Intent.Message.toObject, includeInstance),
17130
- nextPageToken: jspb.Message.getFieldWithDefault(msg, 2, "")
17136
+ nextPageToken: jspb.Message.getFieldWithDefault(msg, 2, "")
17131
17137
  };
17132
17138
 
17133
17139
  if (includeInstance) {
@@ -17315,9 +17321,9 @@ proto.ondewo.nlu.BatchParametersStatusResponse.prototype.toObject = function(opt
17315
17321
  */
17316
17322
  proto.ondewo.nlu.BatchParametersStatusResponse.toObject = function(includeInstance, msg) {
17317
17323
  var f, obj = {
17318
- parameterStatusesList: jspb.Message.toObjectList(msg.getParameterStatusesList(),
17324
+ parameterStatusesList: jspb.Message.toObjectList(msg.getParameterStatusesList(),
17319
17325
  proto.ondewo.nlu.BatchParametersStatusResponse.ParameterStatus.toObject, includeInstance),
17320
- hasErrors: jspb.Message.getBooleanFieldWithDefault(msg, 2, false)
17326
+ hasErrors: jspb.Message.getBooleanFieldWithDefault(msg, 2, false)
17321
17327
  };
17322
17328
 
17323
17329
  if (includeInstance) {
@@ -17468,8 +17474,8 @@ proto.ondewo.nlu.BatchParametersStatusResponse.ParameterStatus.prototype.toObjec
17468
17474
  */
17469
17475
  proto.ondewo.nlu.BatchParametersStatusResponse.ParameterStatus.toObject = function(includeInstance, msg) {
17470
17476
  var f, obj = {
17471
- parameter: (f = msg.getParameter()) && proto.ondewo.nlu.Intent.Parameter.toObject(includeInstance, f),
17472
- errorMessage: jspb.Message.getFieldWithDefault(msg, 2, "")
17477
+ parameter: (f = msg.getParameter()) && proto.ondewo.nlu.Intent.Parameter.toObject(includeInstance, f),
17478
+ errorMessage: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f
17473
17479
  };
17474
17480
 
17475
17481
  if (includeInstance) {
@@ -17730,7 +17736,7 @@ proto.ondewo.nlu.BatchCreateParametersRequest.prototype.toObject = function(opt_
17730
17736
  */
17731
17737
  proto.ondewo.nlu.BatchCreateParametersRequest.toObject = function(includeInstance, msg) {
17732
17738
  var f, obj = {
17733
- parameterRequestsList: jspb.Message.toObjectList(msg.getParameterRequestsList(),
17739
+ parameterRequestsList: jspb.Message.toObjectList(msg.getParameterRequestsList(),
17734
17740
  proto.ondewo.nlu.BatchCreateParametersRequest.CreateParameterRequest.toObject, includeInstance)
17735
17741
  };
17736
17742
 
@@ -17845,8 +17851,8 @@ proto.ondewo.nlu.BatchCreateParametersRequest.CreateParameterRequest.prototype.t
17845
17851
  */
17846
17852
  proto.ondewo.nlu.BatchCreateParametersRequest.CreateParameterRequest.toObject = function(includeInstance, msg) {
17847
17853
  var f, obj = {
17848
- intentName: jspb.Message.getFieldWithDefault(msg, 1, ""),
17849
- parameter: (f = msg.getParameter()) && proto.ondewo.nlu.Intent.Parameter.toObject(includeInstance, f)
17854
+ intentName: jspb.Message.getFieldWithDefault(msg, 1, ""),
17855
+ parameter: (f = msg.getParameter()) && proto.ondewo.nlu.Intent.Parameter.toObject(includeInstance, f)
17850
17856
  };
17851
17857
 
17852
17858
  if (includeInstance) {
@@ -18071,7 +18077,7 @@ proto.ondewo.nlu.BatchUpdateParametersRequest.prototype.toObject = function(opt_
18071
18077
  */
18072
18078
  proto.ondewo.nlu.BatchUpdateParametersRequest.toObject = function(includeInstance, msg) {
18073
18079
  var f, obj = {
18074
- parametersList: jspb.Message.toObjectList(msg.getParametersList(),
18080
+ parametersList: jspb.Message.toObjectList(msg.getParametersList(),
18075
18081
  proto.ondewo.nlu.Intent.Parameter.toObject, includeInstance)
18076
18082
  };
18077
18083
 
@@ -18231,7 +18237,7 @@ proto.ondewo.nlu.BatchGetParametersRequest.prototype.toObject = function(opt_inc
18231
18237
  */
18232
18238
  proto.ondewo.nlu.BatchGetParametersRequest.toObject = function(includeInstance, msg) {
18233
18239
  var f, obj = {
18234
- namesList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
18240
+ namesList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
18235
18241
  };
18236
18242
 
18237
18243
  if (includeInstance) {
@@ -18387,7 +18393,7 @@ proto.ondewo.nlu.BatchDeleteParametersRequest.prototype.toObject = function(opt_
18387
18393
  */
18388
18394
  proto.ondewo.nlu.BatchDeleteParametersRequest.toObject = function(includeInstance, msg) {
18389
18395
  var f, obj = {
18390
- namesList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
18396
+ namesList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
18391
18397
  };
18392
18398
 
18393
18399
  if (includeInstance) {
@@ -18543,9 +18549,9 @@ proto.ondewo.nlu.BatchDeleteParametersResponse.prototype.toObject = function(opt
18543
18549
  */
18544
18550
  proto.ondewo.nlu.BatchDeleteParametersResponse.toObject = function(includeInstance, msg) {
18545
18551
  var f, obj = {
18546
- deleteStatusesList: jspb.Message.toObjectList(msg.getDeleteStatusesList(),
18552
+ deleteStatusesList: jspb.Message.toObjectList(msg.getDeleteStatusesList(),
18547
18553
  proto.ondewo.nlu.BatchDeleteParametersResponse.DeleteParameterStatus.toObject, includeInstance),
18548
- hasErrors: jspb.Message.getBooleanFieldWithDefault(msg, 2, false)
18554
+ hasErrors: jspb.Message.getBooleanFieldWithDefault(msg, 2, false)
18549
18555
  };
18550
18556
 
18551
18557
  if (includeInstance) {
@@ -18696,8 +18702,8 @@ proto.ondewo.nlu.BatchDeleteParametersResponse.DeleteParameterStatus.prototype.t
18696
18702
  */
18697
18703
  proto.ondewo.nlu.BatchDeleteParametersResponse.DeleteParameterStatus.toObject = function(includeInstance, msg) {
18698
18704
  var f, obj = {
18699
- successfullyDeleted: (f = msg.getSuccessfullyDeleted()) && google_protobuf_empty_pb.Empty.toObject(includeInstance, f),
18700
- errorMessage: jspb.Message.getFieldWithDefault(msg, 2, "")
18705
+ successfullyDeleted: (f = msg.getSuccessfullyDeleted()) && google_protobuf_empty_pb.Empty.toObject(includeInstance, f),
18706
+ errorMessage: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f
18701
18707
  };
18702
18708
 
18703
18709
  if (includeInstance) {
@@ -18951,9 +18957,9 @@ proto.ondewo.nlu.ListParametersRequest.prototype.toObject = function(opt_include
18951
18957
  */
18952
18958
  proto.ondewo.nlu.ListParametersRequest.toObject = function(includeInstance, msg) {
18953
18959
  var f, obj = {
18954
- intentName: jspb.Message.getFieldWithDefault(msg, 1, ""),
18955
- languageCode: jspb.Message.getFieldWithDefault(msg, 2, ""),
18956
- pageToken: jspb.Message.getFieldWithDefault(msg, 3, "")
18960
+ intentName: jspb.Message.getFieldWithDefault(msg, 1, ""),
18961
+ languageCode: jspb.Message.getFieldWithDefault(msg, 2, ""),
18962
+ pageToken: jspb.Message.getFieldWithDefault(msg, 3, "")
18957
18963
  };
18958
18964
 
18959
18965
  if (includeInstance) {
@@ -19148,9 +19154,9 @@ proto.ondewo.nlu.ListParametersResponse.prototype.toObject = function(opt_includ
19148
19154
  */
19149
19155
  proto.ondewo.nlu.ListParametersResponse.toObject = function(includeInstance, msg) {
19150
19156
  var f, obj = {
19151
- parametersList: jspb.Message.toObjectList(msg.getParametersList(),
19157
+ parametersList: jspb.Message.toObjectList(msg.getParametersList(),
19152
19158
  proto.ondewo.nlu.Intent.Parameter.toObject, includeInstance),
19153
- nextPageToken: jspb.Message.getFieldWithDefault(msg, 2, "")
19159
+ nextPageToken: jspb.Message.getFieldWithDefault(msg, 2, "")
19154
19160
  };
19155
19161
 
19156
19162
  if (includeInstance) {
@@ -19338,10 +19344,10 @@ proto.ondewo.nlu.ListTrainingPhrasesofIntentsWithEnrichmentRequest.prototype.toO
19338
19344
  */
19339
19345
  proto.ondewo.nlu.ListTrainingPhrasesofIntentsWithEnrichmentRequest.toObject = function(includeInstance, msg) {
19340
19346
  var f, obj = {
19341
- parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
19342
- languageCode: jspb.Message.getFieldWithDefault(msg, 2, ""),
19343
- intentIdsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
19344
- pageToken: jspb.Message.getFieldWithDefault(msg, 4, "")
19347
+ parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
19348
+ languageCode: jspb.Message.getFieldWithDefault(msg, 2, ""),
19349
+ intentIdsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
19350
+ pageToken: jspb.Message.getFieldWithDefault(msg, 4, "")
19345
19351
  };
19346
19352
 
19347
19353
  if (includeInstance) {
@@ -19584,8 +19590,8 @@ proto.ondewo.nlu.ListTrainingPhrasesofIntentsWithEnrichmentResponse.prototype.to
19584
19590
  */
19585
19591
  proto.ondewo.nlu.ListTrainingPhrasesofIntentsWithEnrichmentResponse.toObject = function(includeInstance, msg) {
19586
19592
  var f, obj = {
19587
- trainingPhrasesList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
19588
- nextPageToken: jspb.Message.getFieldWithDefault(msg, 2, "")
19593
+ trainingPhrasesList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
19594
+ nextPageToken: jspb.Message.getFieldWithDefault(msg, 2, "")
19589
19595
  };
19590
19596
 
19591
19597
  if (includeInstance) {