@ondewo/nlu-client-typescript 6.0.0 → 6.2.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 (35) hide show
  1. package/api/google/protobuf/any_pb.js +2 -2
  2. package/api/google/protobuf/field_mask_pb.js +1 -1
  3. package/api/google/protobuf/struct_pb.js +8 -8
  4. package/api/google/protobuf/timestamp_pb.js +2 -2
  5. package/api/google/rpc/status_pb.js +3 -3
  6. package/api/google/type/latlng_pb.js +2 -2
  7. package/api/ondewo/nlu/agent_grpc_web_pb.d.ts +12 -0
  8. package/api/ondewo/nlu/agent_grpc_web_pb.js +61 -0
  9. package/api/ondewo/nlu/agent_pb.d.ts +59 -0
  10. package/api/ondewo/nlu/agent_pb.js +702 -322
  11. package/api/ondewo/nlu/aiservices_grpc_web_pb.js +2 -0
  12. package/api/ondewo/nlu/aiservices_pb.d.ts +111 -0
  13. package/api/ondewo/nlu/aiservices_pb.js +637 -125
  14. package/api/ondewo/nlu/ccai_project_pb.d.ts +56 -0
  15. package/api/ondewo/nlu/ccai_project_pb.js +292 -71
  16. package/api/ondewo/nlu/common_pb.js +53 -53
  17. package/api/ondewo/nlu/context_pb.js +27 -27
  18. package/api/ondewo/nlu/entity_type_pb.js +81 -81
  19. package/api/ondewo/nlu/intent_pb.js +244 -244
  20. package/api/ondewo/nlu/operation_metadata_pb.js +22 -22
  21. package/api/ondewo/nlu/operations_grpc_web_pb.js +2 -0
  22. package/api/ondewo/nlu/operations_pb.d.ts +23 -0
  23. package/api/ondewo/nlu/operations_pb.js +125 -21
  24. package/api/ondewo/nlu/project_role_pb.d.ts +22 -0
  25. package/api/ondewo/nlu/project_role_pb.js +127 -25
  26. package/api/ondewo/nlu/project_statistics_pb.js +7 -7
  27. package/api/ondewo/nlu/server_statistics_pb.js +1 -1
  28. package/api/ondewo/nlu/session_pb.d.ts +198 -0
  29. package/api/ondewo/nlu/session_pb.js +1312 -394
  30. package/api/ondewo/nlu/user_pb.d.ts +83 -0
  31. package/api/ondewo/nlu/user_pb.js +479 -71
  32. package/api/ondewo/nlu/utility_pb.js +79 -79
  33. package/api/ondewo/nlu/webhook_pb.js +31 -31
  34. package/api/ondewo/qa/qa_pb.js +24 -24
  35. package/package.json +3 -3
@@ -1807,42 +1807,42 @@ proto.ondewo.nlu.Intent.prototype.toObject = function(opt_includeInstance) {
1807
1807
  */
1808
1808
  proto.ondewo.nlu.Intent.toObject = function(includeInstance, msg) {
1809
1809
  var f, obj = {
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(),
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(),
1819
1819
  proto.ondewo.nlu.Intent.TrainingPhrase.toObject, includeInstance),
1820
- action: jspb.Message.getFieldWithDefault(msg, 10, ""),
1821
- outputContextsList: jspb.Message.toObjectList(msg.getOutputContextsList(),
1820
+ action: jspb.Message.getFieldWithDefault(msg, 10, ""),
1821
+ outputContextsList: jspb.Message.toObjectList(msg.getOutputContextsList(),
1822
1822
  ondewo_nlu_context_pb.Context.toObject, includeInstance),
1823
- resetContexts: jspb.Message.getBooleanFieldWithDefault(msg, 12, false),
1824
- parametersList: jspb.Message.toObjectList(msg.getParametersList(),
1823
+ resetContexts: jspb.Message.getBooleanFieldWithDefault(msg, 12, false),
1824
+ parametersList: jspb.Message.toObjectList(msg.getParametersList(),
1825
1825
  proto.ondewo.nlu.Intent.Parameter.toObject, includeInstance),
1826
- messagesList: jspb.Message.toObjectList(msg.getMessagesList(),
1826
+ messagesList: jspb.Message.toObjectList(msg.getMessagesList(),
1827
1827
  proto.ondewo.nlu.Intent.Message.toObject, includeInstance),
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(),
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(),
1832
1832
  proto.ondewo.nlu.Intent.FollowupIntentInfo.toObject, includeInstance),
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, "")
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, "")
1846
1846
  };
1847
1847
 
1848
1848
  if (includeInstance) {
@@ -2328,17 +2328,17 @@ proto.ondewo.nlu.Intent.TrainingPhrase.prototype.toObject = function(opt_include
2328
2328
  */
2329
2329
  proto.ondewo.nlu.Intent.TrainingPhrase.toObject = function(includeInstance, msg) {
2330
2330
  var f, obj = {
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(),
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(),
2335
2335
  proto.ondewo.nlu.Intent.TrainingPhrase.Entity.toObject, includeInstance),
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
+ 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, "")
2342
2342
  };
2343
2343
 
2344
2344
  if (includeInstance) {
@@ -2564,18 +2564,18 @@ proto.ondewo.nlu.Intent.TrainingPhrase.Entity.prototype.toObject = function(opt_
2564
2564
  */
2565
2565
  proto.ondewo.nlu.Intent.TrainingPhrase.Entity.toObject = function(includeInstance, msg) {
2566
2566
  var f, obj = {
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, "")
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, "")
2579
2579
  };
2580
2580
 
2581
2581
  if (includeInstance) {
@@ -3311,20 +3311,20 @@ proto.ondewo.nlu.Intent.Parameter.prototype.toObject = function(opt_includeInsta
3311
3311
  */
3312
3312
  proto.ondewo.nlu.Intent.Parameter.toObject = function(includeInstance, msg) {
3313
3313
  var f, obj = {
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(),
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(),
3322
3322
  proto.ondewo.nlu.Intent.Parameter.Prompt.toObject, includeInstance),
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, "")
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, "")
3328
3328
  };
3329
3329
 
3330
3330
  if (includeInstance) {
@@ -3574,13 +3574,13 @@ proto.ondewo.nlu.Intent.Parameter.Prompt.prototype.toObject = function(opt_inclu
3574
3574
  */
3575
3575
  proto.ondewo.nlu.Intent.Parameter.Prompt.toObject = function(includeInstance, msg) {
3576
3576
  var f, obj = {
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, "")
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, "")
3584
3584
  };
3585
3585
 
3586
3586
  if (includeInstance) {
@@ -4256,28 +4256,28 @@ proto.ondewo.nlu.Intent.Message.prototype.toObject = function(opt_includeInstanc
4256
4256
  */
4257
4257
  proto.ondewo.nlu.Intent.Message.toObject = function(includeInstance, msg) {
4258
4258
  var f, obj = {
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, "")
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, "")
4281
4281
  };
4282
4282
 
4283
4283
  if (includeInstance) {
@@ -4694,7 +4694,7 @@ proto.ondewo.nlu.Intent.Message.Text.prototype.toObject = function(opt_includeIn
4694
4694
  */
4695
4695
  proto.ondewo.nlu.Intent.Message.Text.toObject = function(includeInstance, msg) {
4696
4696
  var f, obj = {
4697
- textList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
4697
+ textList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
4698
4698
  };
4699
4699
 
4700
4700
  if (includeInstance) {
@@ -4843,8 +4843,8 @@ proto.ondewo.nlu.Intent.Message.Image.prototype.toObject = function(opt_includeI
4843
4843
  */
4844
4844
  proto.ondewo.nlu.Intent.Message.Image.toObject = function(includeInstance, msg) {
4845
4845
  var f, obj = {
4846
- imageUri: jspb.Message.getFieldWithDefault(msg, 1, ""),
4847
- accessibilityText: jspb.Message.getFieldWithDefault(msg, 2, "")
4846
+ imageUri: jspb.Message.getFieldWithDefault(msg, 1, ""),
4847
+ accessibilityText: jspb.Message.getFieldWithDefault(msg, 2, "")
4848
4848
  };
4849
4849
 
4850
4850
  if (includeInstance) {
@@ -5010,8 +5010,8 @@ proto.ondewo.nlu.Intent.Message.QuickReplies.prototype.toObject = function(opt_i
5010
5010
  */
5011
5011
  proto.ondewo.nlu.Intent.Message.QuickReplies.toObject = function(includeInstance, msg) {
5012
5012
  var f, obj = {
5013
- title: jspb.Message.getFieldWithDefault(msg, 1, ""),
5014
- 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
5015
5015
  };
5016
5016
 
5017
5017
  if (includeInstance) {
@@ -5196,10 +5196,10 @@ proto.ondewo.nlu.Intent.Message.Card.prototype.toObject = function(opt_includeIn
5196
5196
  */
5197
5197
  proto.ondewo.nlu.Intent.Message.Card.toObject = function(includeInstance, msg) {
5198
5198
  var f, obj = {
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(),
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(),
5203
5203
  proto.ondewo.nlu.Intent.Message.Card.Button.toObject, includeInstance)
5204
5204
  };
5205
5205
 
@@ -5347,8 +5347,8 @@ proto.ondewo.nlu.Intent.Message.Card.Button.prototype.toObject = function(opt_in
5347
5347
  */
5348
5348
  proto.ondewo.nlu.Intent.Message.Card.Button.toObject = function(includeInstance, msg) {
5349
5349
  var f, obj = {
5350
- text: jspb.Message.getFieldWithDefault(msg, 1, ""),
5351
- postback: jspb.Message.getFieldWithDefault(msg, 2, "")
5350
+ text: jspb.Message.getFieldWithDefault(msg, 1, ""),
5351
+ postback: jspb.Message.getFieldWithDefault(msg, 2, "")
5352
5352
  };
5353
5353
 
5354
5354
  if (includeInstance) {
@@ -5599,9 +5599,9 @@ proto.ondewo.nlu.Intent.Message.SimpleResponse.prototype.toObject = function(opt
5599
5599
  */
5600
5600
  proto.ondewo.nlu.Intent.Message.SimpleResponse.toObject = function(includeInstance, msg) {
5601
5601
  var f, obj = {
5602
- textToSpeech: jspb.Message.getFieldWithDefault(msg, 1, ""),
5603
- ssml: jspb.Message.getFieldWithDefault(msg, 2, ""),
5604
- 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, "")
5605
5605
  };
5606
5606
 
5607
5607
  if (includeInstance) {
@@ -5796,7 +5796,7 @@ proto.ondewo.nlu.Intent.Message.SimpleResponses.prototype.toObject = function(op
5796
5796
  */
5797
5797
  proto.ondewo.nlu.Intent.Message.SimpleResponses.toObject = function(includeInstance, msg) {
5798
5798
  var f, obj = {
5799
- simpleResponsesList: jspb.Message.toObjectList(msg.getSimpleResponsesList(),
5799
+ simpleResponsesList: jspb.Message.toObjectList(msg.getSimpleResponsesList(),
5800
5800
  proto.ondewo.nlu.Intent.Message.SimpleResponse.toObject, includeInstance)
5801
5801
  };
5802
5802
 
@@ -5956,11 +5956,11 @@ proto.ondewo.nlu.Intent.Message.BasicCard.prototype.toObject = function(opt_incl
5956
5956
  */
5957
5957
  proto.ondewo.nlu.Intent.Message.BasicCard.toObject = function(includeInstance, msg) {
5958
5958
  var f, obj = {
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(),
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(),
5964
5964
  proto.ondewo.nlu.Intent.Message.BasicCard.Button.toObject, includeInstance)
5965
5965
  };
5966
5966
 
@@ -6121,8 +6121,8 @@ proto.ondewo.nlu.Intent.Message.BasicCard.Button.prototype.toObject = function(o
6121
6121
  */
6122
6122
  proto.ondewo.nlu.Intent.Message.BasicCard.Button.toObject = function(includeInstance, msg) {
6123
6123
  var f, obj = {
6124
- title: jspb.Message.getFieldWithDefault(msg, 1, ""),
6125
- 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)
6126
6126
  };
6127
6127
 
6128
6128
  if (includeInstance) {
@@ -6247,7 +6247,7 @@ proto.ondewo.nlu.Intent.Message.BasicCard.Button.OpenUriAction.prototype.toObjec
6247
6247
  */
6248
6248
  proto.ondewo.nlu.Intent.Message.BasicCard.Button.OpenUriAction.toObject = function(includeInstance, msg) {
6249
6249
  var f, obj = {
6250
- uri: jspb.Message.getFieldWithDefault(msg, 1, "")
6250
+ uri: jspb.Message.getFieldWithDefault(msg, 1, "")
6251
6251
  };
6252
6252
 
6253
6253
  if (includeInstance) {
@@ -6561,7 +6561,7 @@ proto.ondewo.nlu.Intent.Message.Suggestion.prototype.toObject = function(opt_inc
6561
6561
  */
6562
6562
  proto.ondewo.nlu.Intent.Message.Suggestion.toObject = function(includeInstance, msg) {
6563
6563
  var f, obj = {
6564
- title: jspb.Message.getFieldWithDefault(msg, 1, "")
6564
+ title: jspb.Message.getFieldWithDefault(msg, 1, "")
6565
6565
  };
6566
6566
 
6567
6567
  if (includeInstance) {
@@ -6698,7 +6698,7 @@ proto.ondewo.nlu.Intent.Message.Suggestions.prototype.toObject = function(opt_in
6698
6698
  */
6699
6699
  proto.ondewo.nlu.Intent.Message.Suggestions.toObject = function(includeInstance, msg) {
6700
6700
  var f, obj = {
6701
- suggestionsList: jspb.Message.toObjectList(msg.getSuggestionsList(),
6701
+ suggestionsList: jspb.Message.toObjectList(msg.getSuggestionsList(),
6702
6702
  proto.ondewo.nlu.Intent.Message.Suggestion.toObject, includeInstance)
6703
6703
  };
6704
6704
 
@@ -6851,8 +6851,8 @@ proto.ondewo.nlu.Intent.Message.LinkOutSuggestion.prototype.toObject = function(
6851
6851
  */
6852
6852
  proto.ondewo.nlu.Intent.Message.LinkOutSuggestion.toObject = function(includeInstance, msg) {
6853
6853
  var f, obj = {
6854
- destinationName: jspb.Message.getFieldWithDefault(msg, 1, ""),
6855
- uri: jspb.Message.getFieldWithDefault(msg, 2, "")
6854
+ destinationName: jspb.Message.getFieldWithDefault(msg, 1, ""),
6855
+ uri: jspb.Message.getFieldWithDefault(msg, 2, "")
6856
6856
  };
6857
6857
 
6858
6858
  if (includeInstance) {
@@ -7018,8 +7018,8 @@ proto.ondewo.nlu.Intent.Message.ListSelect.prototype.toObject = function(opt_inc
7018
7018
  */
7019
7019
  proto.ondewo.nlu.Intent.Message.ListSelect.toObject = function(includeInstance, msg) {
7020
7020
  var f, obj = {
7021
- title: jspb.Message.getFieldWithDefault(msg, 1, ""),
7022
- itemsList: jspb.Message.toObjectList(msg.getItemsList(),
7021
+ title: jspb.Message.getFieldWithDefault(msg, 1, ""),
7022
+ itemsList: jspb.Message.toObjectList(msg.getItemsList(),
7023
7023
  proto.ondewo.nlu.Intent.Message.ListSelect.Item.toObject, includeInstance)
7024
7024
  };
7025
7025
 
@@ -7145,10 +7145,10 @@ proto.ondewo.nlu.Intent.Message.ListSelect.Item.prototype.toObject = function(op
7145
7145
  */
7146
7146
  proto.ondewo.nlu.Intent.Message.ListSelect.Item.toObject = function(includeInstance, msg) {
7147
7147
  var f, obj = {
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)
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)
7152
7152
  };
7153
7153
 
7154
7154
  if (includeInstance) {
@@ -7470,7 +7470,7 @@ proto.ondewo.nlu.Intent.Message.CarouselSelect.prototype.toObject = function(opt
7470
7470
  */
7471
7471
  proto.ondewo.nlu.Intent.Message.CarouselSelect.toObject = function(includeInstance, msg) {
7472
7472
  var f, obj = {
7473
- itemsList: jspb.Message.toObjectList(msg.getItemsList(),
7473
+ itemsList: jspb.Message.toObjectList(msg.getItemsList(),
7474
7474
  proto.ondewo.nlu.Intent.Message.CarouselSelect.Item.toObject, includeInstance)
7475
7475
  };
7476
7476
 
@@ -7585,10 +7585,10 @@ proto.ondewo.nlu.Intent.Message.CarouselSelect.Item.prototype.toObject = functio
7585
7585
  */
7586
7586
  proto.ondewo.nlu.Intent.Message.CarouselSelect.Item.toObject = function(includeInstance, msg) {
7587
7587
  var f, obj = {
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)
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)
7592
7592
  };
7593
7593
 
7594
7594
  if (includeInstance) {
@@ -7892,7 +7892,7 @@ proto.ondewo.nlu.Intent.Message.HTMLText.prototype.toObject = function(opt_inclu
7892
7892
  */
7893
7893
  proto.ondewo.nlu.Intent.Message.HTMLText.toObject = function(includeInstance, msg) {
7894
7894
  var f, obj = {
7895
- textList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
7895
+ textList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
7896
7896
  };
7897
7897
 
7898
7898
  if (includeInstance) {
@@ -8041,8 +8041,8 @@ proto.ondewo.nlu.Intent.Message.Video.prototype.toObject = function(opt_includeI
8041
8041
  */
8042
8042
  proto.ondewo.nlu.Intent.Message.Video.toObject = function(includeInstance, msg) {
8043
8043
  var f, obj = {
8044
- uri: jspb.Message.getFieldWithDefault(msg, 1, ""),
8045
- accessibilityText: jspb.Message.getFieldWithDefault(msg, 2, "")
8044
+ uri: jspb.Message.getFieldWithDefault(msg, 1, ""),
8045
+ accessibilityText: jspb.Message.getFieldWithDefault(msg, 2, "")
8046
8046
  };
8047
8047
 
8048
8048
  if (includeInstance) {
@@ -8201,8 +8201,8 @@ proto.ondewo.nlu.Intent.Message.Audio.prototype.toObject = function(opt_includeI
8201
8201
  */
8202
8202
  proto.ondewo.nlu.Intent.Message.Audio.toObject = function(includeInstance, msg) {
8203
8203
  var f, obj = {
8204
- uri: jspb.Message.getFieldWithDefault(msg, 1, ""),
8205
- accessibilityText: jspb.Message.getFieldWithDefault(msg, 2, "")
8204
+ uri: jspb.Message.getFieldWithDefault(msg, 1, ""),
8205
+ accessibilityText: jspb.Message.getFieldWithDefault(msg, 2, "")
8206
8206
  };
8207
8207
 
8208
8208
  if (includeInstance) {
@@ -8368,8 +8368,8 @@ proto.ondewo.nlu.Intent.Message.SelectItemInfo.prototype.toObject = function(opt
8368
8368
  */
8369
8369
  proto.ondewo.nlu.Intent.Message.SelectItemInfo.toObject = function(includeInstance, msg) {
8370
8370
  var f, obj = {
8371
- key: jspb.Message.getFieldWithDefault(msg, 1, ""),
8372
- 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
8373
8373
  };
8374
8374
 
8375
8375
  if (includeInstance) {
@@ -9247,8 +9247,8 @@ proto.ondewo.nlu.Intent.FollowupIntentInfo.prototype.toObject = function(opt_inc
9247
9247
  */
9248
9248
  proto.ondewo.nlu.Intent.FollowupIntentInfo.toObject = function(includeInstance, msg) {
9249
9249
  var f, obj = {
9250
- followupIntentName: jspb.Message.getFieldWithDefault(msg, 1, ""),
9251
- parentFollowupIntentName: jspb.Message.getFieldWithDefault(msg, 2, "")
9250
+ followupIntentName: jspb.Message.getFieldWithDefault(msg, 1, ""),
9251
+ parentFollowupIntentName: jspb.Message.getFieldWithDefault(msg, 2, "")
9252
9252
  };
9253
9253
 
9254
9254
  if (includeInstance) {
@@ -10224,13 +10224,13 @@ proto.ondewo.nlu.ListIntentsRequest.prototype.toObject = function(opt_includeIns
10224
10224
  */
10225
10225
  proto.ondewo.nlu.ListIntentsRequest.toObject = function(includeInstance, msg) {
10226
10226
  var f, obj = {
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
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
10234
10234
  };
10235
10235
 
10236
10236
  if (includeInstance) {
@@ -10581,9 +10581,9 @@ proto.ondewo.nlu.ListIntentsResponse.prototype.toObject = function(opt_includeIn
10581
10581
  */
10582
10582
  proto.ondewo.nlu.ListIntentsResponse.toObject = function(includeInstance, msg) {
10583
10583
  var f, obj = {
10584
- intentsList: jspb.Message.toObjectList(msg.getIntentsList(),
10584
+ intentsList: jspb.Message.toObjectList(msg.getIntentsList(),
10585
10585
  proto.ondewo.nlu.Intent.toObject, includeInstance),
10586
- nextPageToken: jspb.Message.getFieldWithDefault(msg, 2, "")
10586
+ nextPageToken: jspb.Message.getFieldWithDefault(msg, 2, "")
10587
10587
  };
10588
10588
 
10589
10589
  if (includeInstance) {
@@ -10764,10 +10764,10 @@ proto.ondewo.nlu.GetIntentRequest.prototype.toObject = function(opt_includeInsta
10764
10764
  */
10765
10765
  proto.ondewo.nlu.GetIntentRequest.toObject = function(includeInstance, msg) {
10766
10766
  var f, obj = {
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, "")
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, "")
10771
10771
  };
10772
10772
 
10773
10773
  if (includeInstance) {
@@ -10984,10 +10984,10 @@ proto.ondewo.nlu.CreateIntentRequest.prototype.toObject = function(opt_includeIn
10984
10984
  */
10985
10985
  proto.ondewo.nlu.CreateIntentRequest.toObject = function(includeInstance, msg) {
10986
10986
  var f, obj = {
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)
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)
10991
10991
  };
10992
10992
 
10993
10993
  if (includeInstance) {
@@ -11225,10 +11225,10 @@ proto.ondewo.nlu.UpdateIntentRequest.prototype.toObject = function(opt_includeIn
11225
11225
  */
11226
11226
  proto.ondewo.nlu.UpdateIntentRequest.toObject = function(includeInstance, msg) {
11227
11227
  var f, obj = {
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)
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)
11232
11232
  };
11233
11233
 
11234
11234
  if (includeInstance) {
@@ -11487,7 +11487,7 @@ proto.ondewo.nlu.DeleteIntentRequest.prototype.toObject = function(opt_includeIn
11487
11487
  */
11488
11488
  proto.ondewo.nlu.DeleteIntentRequest.toObject = function(includeInstance, msg) {
11489
11489
  var f, obj = {
11490
- name: jspb.Message.getFieldWithDefault(msg, 1, "")
11490
+ name: jspb.Message.getFieldWithDefault(msg, 1, "")
11491
11491
  };
11492
11492
 
11493
11493
  if (includeInstance) {
@@ -11643,12 +11643,12 @@ proto.ondewo.nlu.BatchUpdateIntentsRequest.prototype.toObject = function(opt_inc
11643
11643
  */
11644
11644
  proto.ondewo.nlu.BatchUpdateIntentsRequest.toObject = function(includeInstance, msg) {
11645
11645
  var f, obj = {
11646
- parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
11647
- intentBatchUri: jspb.Message.getFieldWithDefault(msg, 2, ""),
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
+ 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)
11652
11652
  };
11653
11653
 
11654
11654
  if (includeInstance) {
@@ -11990,7 +11990,7 @@ proto.ondewo.nlu.BatchUpdateIntentsResponse.prototype.toObject = function(opt_in
11990
11990
  */
11991
11991
  proto.ondewo.nlu.BatchUpdateIntentsResponse.toObject = function(includeInstance, msg) {
11992
11992
  var f, obj = {
11993
- intentsList: jspb.Message.toObjectList(msg.getIntentsList(),
11993
+ intentsList: jspb.Message.toObjectList(msg.getIntentsList(),
11994
11994
  proto.ondewo.nlu.Intent.toObject, includeInstance)
11995
11995
  };
11996
11996
 
@@ -12150,8 +12150,8 @@ proto.ondewo.nlu.BatchDeleteIntentsRequest.prototype.toObject = function(opt_inc
12150
12150
  */
12151
12151
  proto.ondewo.nlu.BatchDeleteIntentsRequest.toObject = function(includeInstance, msg) {
12152
12152
  var f, obj = {
12153
- parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
12154
- intentsList: jspb.Message.toObjectList(msg.getIntentsList(),
12153
+ parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
12154
+ intentsList: jspb.Message.toObjectList(msg.getIntentsList(),
12155
12155
  proto.ondewo.nlu.Intent.toObject, includeInstance)
12156
12156
  };
12157
12157
 
@@ -12340,7 +12340,7 @@ proto.ondewo.nlu.IntentBatch.prototype.toObject = function(opt_includeInstance)
12340
12340
  */
12341
12341
  proto.ondewo.nlu.IntentBatch.toObject = function(includeInstance, msg) {
12342
12342
  var f, obj = {
12343
- intentsList: jspb.Message.toObjectList(msg.getIntentsList(),
12343
+ intentsList: jspb.Message.toObjectList(msg.getIntentsList(),
12344
12344
  proto.ondewo.nlu.Intent.toObject, includeInstance)
12345
12345
  };
12346
12346
 
@@ -12493,8 +12493,8 @@ proto.ondewo.nlu.IntentSorting.prototype.toObject = function(opt_includeInstance
12493
12493
  */
12494
12494
  proto.ondewo.nlu.IntentSorting.toObject = function(includeInstance, msg) {
12495
12495
  var f, obj = {
12496
- sortingField: jspb.Message.getFieldWithDefault(msg, 1, 0),
12497
- sortingMode: jspb.Message.getFieldWithDefault(msg, 2, 0)
12496
+ sortingField: jspb.Message.getFieldWithDefault(msg, 1, 0),
12497
+ sortingMode: jspb.Message.getFieldWithDefault(msg, 2, 0)
12498
12498
  };
12499
12499
 
12500
12500
  if (includeInstance) {
@@ -12673,8 +12673,8 @@ proto.ondewo.nlu.IntentTagRequest.prototype.toObject = function(opt_includeInsta
12673
12673
  */
12674
12674
  proto.ondewo.nlu.IntentTagRequest.toObject = function(includeInstance, msg) {
12675
12675
  var f, obj = {
12676
- intentName: jspb.Message.getFieldWithDefault(msg, 1, ""),
12677
- 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
12678
12678
  };
12679
12679
 
12680
12680
  if (includeInstance) {
@@ -12852,7 +12852,7 @@ proto.ondewo.nlu.GetIntentTagsRequest.prototype.toObject = function(opt_includeI
12852
12852
  */
12853
12853
  proto.ondewo.nlu.GetIntentTagsRequest.toObject = function(includeInstance, msg) {
12854
12854
  var f, obj = {
12855
- intentName: jspb.Message.getFieldWithDefault(msg, 1, "")
12855
+ intentName: jspb.Message.getFieldWithDefault(msg, 1, "")
12856
12856
  };
12857
12857
 
12858
12858
  if (includeInstance) {
@@ -12989,7 +12989,7 @@ proto.ondewo.nlu.GetIntentTagsResponse.prototype.toObject = function(opt_include
12989
12989
  */
12990
12990
  proto.ondewo.nlu.GetIntentTagsResponse.toObject = function(includeInstance, msg) {
12991
12991
  var f, obj = {
12992
- intentTagsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
12992
+ intentTagsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
12993
12993
  };
12994
12994
 
12995
12995
  if (includeInstance) {
@@ -13138,7 +13138,7 @@ proto.ondewo.nlu.GetAllIntentTagsRequest.prototype.toObject = function(opt_inclu
13138
13138
  */
13139
13139
  proto.ondewo.nlu.GetAllIntentTagsRequest.toObject = function(includeInstance, msg) {
13140
13140
  var f, obj = {
13141
- parent: jspb.Message.getFieldWithDefault(msg, 1, "")
13141
+ parent: jspb.Message.getFieldWithDefault(msg, 1, "")
13142
13142
  };
13143
13143
 
13144
13144
  if (includeInstance) {
@@ -13275,7 +13275,7 @@ proto.ondewo.nlu.BatchUpdateTrainingPhrasesRequest.prototype.toObject = function
13275
13275
  */
13276
13276
  proto.ondewo.nlu.BatchUpdateTrainingPhrasesRequest.toObject = function(includeInstance, msg) {
13277
13277
  var f, obj = {
13278
- trainingPhrasesList: jspb.Message.toObjectList(msg.getTrainingPhrasesList(),
13278
+ trainingPhrasesList: jspb.Message.toObjectList(msg.getTrainingPhrasesList(),
13279
13279
  proto.ondewo.nlu.Intent.TrainingPhrase.toObject, includeInstance)
13280
13280
  };
13281
13281
 
@@ -13454,8 +13454,8 @@ proto.ondewo.nlu.TrainingPhraseStatus.prototype.toObject = function(opt_includeI
13454
13454
  */
13455
13455
  proto.ondewo.nlu.TrainingPhraseStatus.toObject = function(includeInstance, msg) {
13456
13456
  var f, obj = {
13457
- trainingPhrase: (f = msg.getTrainingPhrase()) && proto.ondewo.nlu.Intent.TrainingPhrase.toObject(includeInstance, f),
13458
- 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
13459
13459
  };
13460
13460
 
13461
13461
  if (includeInstance) {
@@ -13660,9 +13660,9 @@ proto.ondewo.nlu.BatchTrainingPhrasesStatusResponse.prototype.toObject = functio
13660
13660
  */
13661
13661
  proto.ondewo.nlu.BatchTrainingPhrasesStatusResponse.toObject = function(includeInstance, msg) {
13662
13662
  var f, obj = {
13663
- trainingPhraseStatusesList: jspb.Message.toObjectList(msg.getTrainingPhraseStatusesList(),
13663
+ trainingPhraseStatusesList: jspb.Message.toObjectList(msg.getTrainingPhraseStatusesList(),
13664
13664
  proto.ondewo.nlu.TrainingPhraseStatus.toObject, includeInstance),
13665
- hasErrors: jspb.Message.getBooleanFieldWithDefault(msg, 2, false)
13665
+ hasErrors: jspb.Message.getBooleanFieldWithDefault(msg, 2, false)
13666
13666
  };
13667
13667
 
13668
13668
  if (includeInstance) {
@@ -13850,7 +13850,7 @@ proto.ondewo.nlu.BatchCreateTrainingPhrasesRequest.prototype.toObject = function
13850
13850
  */
13851
13851
  proto.ondewo.nlu.BatchCreateTrainingPhrasesRequest.toObject = function(includeInstance, msg) {
13852
13852
  var f, obj = {
13853
- trainingPhraseRequestsList: jspb.Message.toObjectList(msg.getTrainingPhraseRequestsList(),
13853
+ trainingPhraseRequestsList: jspb.Message.toObjectList(msg.getTrainingPhraseRequestsList(),
13854
13854
  proto.ondewo.nlu.BatchCreateTrainingPhrasesRequest.CreateTrainingPhraseRequest.toObject, includeInstance)
13855
13855
  };
13856
13856
 
@@ -13965,8 +13965,8 @@ proto.ondewo.nlu.BatchCreateTrainingPhrasesRequest.CreateTrainingPhraseRequest.p
13965
13965
  */
13966
13966
  proto.ondewo.nlu.BatchCreateTrainingPhrasesRequest.CreateTrainingPhraseRequest.toObject = function(includeInstance, msg) {
13967
13967
  var f, obj = {
13968
- intentName: jspb.Message.getFieldWithDefault(msg, 1, ""),
13969
- 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)
13970
13970
  };
13971
13971
 
13972
13972
  if (includeInstance) {
@@ -14191,7 +14191,7 @@ proto.ondewo.nlu.BatchGetTrainingPhrasesRequest.prototype.toObject = function(op
14191
14191
  */
14192
14192
  proto.ondewo.nlu.BatchGetTrainingPhrasesRequest.toObject = function(includeInstance, msg) {
14193
14193
  var f, obj = {
14194
- namesList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
14194
+ namesList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
14195
14195
  };
14196
14196
 
14197
14197
  if (includeInstance) {
@@ -14347,7 +14347,7 @@ proto.ondewo.nlu.BatchDeleteTrainingPhrasesRequest.prototype.toObject = function
14347
14347
  */
14348
14348
  proto.ondewo.nlu.BatchDeleteTrainingPhrasesRequest.toObject = function(includeInstance, msg) {
14349
14349
  var f, obj = {
14350
- namesList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
14350
+ namesList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
14351
14351
  };
14352
14352
 
14353
14353
  if (includeInstance) {
@@ -14503,9 +14503,9 @@ proto.ondewo.nlu.BatchDeleteTrainingPhrasesResponse.prototype.toObject = functio
14503
14503
  */
14504
14504
  proto.ondewo.nlu.BatchDeleteTrainingPhrasesResponse.toObject = function(includeInstance, msg) {
14505
14505
  var f, obj = {
14506
- deleteStatusesList: jspb.Message.toObjectList(msg.getDeleteStatusesList(),
14506
+ deleteStatusesList: jspb.Message.toObjectList(msg.getDeleteStatusesList(),
14507
14507
  proto.ondewo.nlu.BatchDeleteTrainingPhrasesResponse.DeleteTrainingPhraseStatus.toObject, includeInstance),
14508
- hasErrors: jspb.Message.getBooleanFieldWithDefault(msg, 2, false)
14508
+ hasErrors: jspb.Message.getBooleanFieldWithDefault(msg, 2, false)
14509
14509
  };
14510
14510
 
14511
14511
  if (includeInstance) {
@@ -14656,8 +14656,8 @@ proto.ondewo.nlu.BatchDeleteTrainingPhrasesResponse.DeleteTrainingPhraseStatus.p
14656
14656
  */
14657
14657
  proto.ondewo.nlu.BatchDeleteTrainingPhrasesResponse.DeleteTrainingPhraseStatus.toObject = function(includeInstance, msg) {
14658
14658
  var f, obj = {
14659
- successfullyDeleted: (f = msg.getSuccessfullyDeleted()) && google_protobuf_empty_pb.Empty.toObject(includeInstance, f),
14660
- 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
14661
14661
  };
14662
14662
 
14663
14663
  if (includeInstance) {
@@ -14911,9 +14911,9 @@ proto.ondewo.nlu.ListTrainingPhrasesRequest.prototype.toObject = function(opt_in
14911
14911
  */
14912
14912
  proto.ondewo.nlu.ListTrainingPhrasesRequest.toObject = function(includeInstance, msg) {
14913
14913
  var f, obj = {
14914
- intentName: jspb.Message.getFieldWithDefault(msg, 1, ""),
14915
- languageCode: jspb.Message.getFieldWithDefault(msg, 2, ""),
14916
- 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, "")
14917
14917
  };
14918
14918
 
14919
14919
  if (includeInstance) {
@@ -15108,9 +15108,9 @@ proto.ondewo.nlu.ListTrainingPhrasesResponse.prototype.toObject = function(opt_i
15108
15108
  */
15109
15109
  proto.ondewo.nlu.ListTrainingPhrasesResponse.toObject = function(includeInstance, msg) {
15110
15110
  var f, obj = {
15111
- trainingPhrasesList: jspb.Message.toObjectList(msg.getTrainingPhrasesList(),
15111
+ trainingPhrasesList: jspb.Message.toObjectList(msg.getTrainingPhrasesList(),
15112
15112
  proto.ondewo.nlu.Intent.TrainingPhrase.toObject, includeInstance),
15113
- nextPageToken: jspb.Message.getFieldWithDefault(msg, 2, "")
15113
+ nextPageToken: jspb.Message.getFieldWithDefault(msg, 2, "")
15114
15114
  };
15115
15115
 
15116
15116
  if (includeInstance) {
@@ -15298,9 +15298,9 @@ proto.ondewo.nlu.BatchResponseMessagesStatusResponse.prototype.toObject = functi
15298
15298
  */
15299
15299
  proto.ondewo.nlu.BatchResponseMessagesStatusResponse.toObject = function(includeInstance, msg) {
15300
15300
  var f, obj = {
15301
- responseMessageStatusesList: jspb.Message.toObjectList(msg.getResponseMessageStatusesList(),
15301
+ responseMessageStatusesList: jspb.Message.toObjectList(msg.getResponseMessageStatusesList(),
15302
15302
  proto.ondewo.nlu.BatchResponseMessagesStatusResponse.ResponseMessageStatus.toObject, includeInstance),
15303
- hasErrors: jspb.Message.getBooleanFieldWithDefault(msg, 2, false)
15303
+ hasErrors: jspb.Message.getBooleanFieldWithDefault(msg, 2, false)
15304
15304
  };
15305
15305
 
15306
15306
  if (includeInstance) {
@@ -15451,8 +15451,8 @@ proto.ondewo.nlu.BatchResponseMessagesStatusResponse.ResponseMessageStatus.proto
15451
15451
  */
15452
15452
  proto.ondewo.nlu.BatchResponseMessagesStatusResponse.ResponseMessageStatus.toObject = function(includeInstance, msg) {
15453
15453
  var f, obj = {
15454
- responseMessage: (f = msg.getResponseMessage()) && proto.ondewo.nlu.Intent.Message.toObject(includeInstance, f),
15455
- 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
15456
15456
  };
15457
15457
 
15458
15458
  if (includeInstance) {
@@ -15713,7 +15713,7 @@ proto.ondewo.nlu.BatchCreateResponseMessagesRequest.prototype.toObject = functio
15713
15713
  */
15714
15714
  proto.ondewo.nlu.BatchCreateResponseMessagesRequest.toObject = function(includeInstance, msg) {
15715
15715
  var f, obj = {
15716
- responseMessageRequestsList: jspb.Message.toObjectList(msg.getResponseMessageRequestsList(),
15716
+ responseMessageRequestsList: jspb.Message.toObjectList(msg.getResponseMessageRequestsList(),
15717
15717
  proto.ondewo.nlu.BatchCreateResponseMessagesRequest.CreateResponseMessageRequest.toObject, includeInstance)
15718
15718
  };
15719
15719
 
@@ -15828,8 +15828,8 @@ proto.ondewo.nlu.BatchCreateResponseMessagesRequest.CreateResponseMessageRequest
15828
15828
  */
15829
15829
  proto.ondewo.nlu.BatchCreateResponseMessagesRequest.CreateResponseMessageRequest.toObject = function(includeInstance, msg) {
15830
15830
  var f, obj = {
15831
- intentName: jspb.Message.getFieldWithDefault(msg, 1, ""),
15832
- 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)
15833
15833
  };
15834
15834
 
15835
15835
  if (includeInstance) {
@@ -16054,7 +16054,7 @@ proto.ondewo.nlu.BatchUpdateResponseMessagesRequest.prototype.toObject = functio
16054
16054
  */
16055
16055
  proto.ondewo.nlu.BatchUpdateResponseMessagesRequest.toObject = function(includeInstance, msg) {
16056
16056
  var f, obj = {
16057
- responseMessagesList: jspb.Message.toObjectList(msg.getResponseMessagesList(),
16057
+ responseMessagesList: jspb.Message.toObjectList(msg.getResponseMessagesList(),
16058
16058
  proto.ondewo.nlu.Intent.Message.toObject, includeInstance)
16059
16059
  };
16060
16060
 
@@ -16214,7 +16214,7 @@ proto.ondewo.nlu.BatchGetResponseMessagesRequest.prototype.toObject = function(o
16214
16214
  */
16215
16215
  proto.ondewo.nlu.BatchGetResponseMessagesRequest.toObject = function(includeInstance, msg) {
16216
16216
  var f, obj = {
16217
- namesList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
16217
+ namesList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
16218
16218
  };
16219
16219
 
16220
16220
  if (includeInstance) {
@@ -16370,7 +16370,7 @@ proto.ondewo.nlu.BatchDeleteResponseMessagesRequest.prototype.toObject = functio
16370
16370
  */
16371
16371
  proto.ondewo.nlu.BatchDeleteResponseMessagesRequest.toObject = function(includeInstance, msg) {
16372
16372
  var f, obj = {
16373
- namesList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
16373
+ namesList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
16374
16374
  };
16375
16375
 
16376
16376
  if (includeInstance) {
@@ -16526,9 +16526,9 @@ proto.ondewo.nlu.BatchDeleteResponseMessagesResponse.prototype.toObject = functi
16526
16526
  */
16527
16527
  proto.ondewo.nlu.BatchDeleteResponseMessagesResponse.toObject = function(includeInstance, msg) {
16528
16528
  var f, obj = {
16529
- deleteStatusesList: jspb.Message.toObjectList(msg.getDeleteStatusesList(),
16529
+ deleteStatusesList: jspb.Message.toObjectList(msg.getDeleteStatusesList(),
16530
16530
  proto.ondewo.nlu.BatchDeleteResponseMessagesResponse.DeleteResponseMessageStatus.toObject, includeInstance),
16531
- hasErrors: jspb.Message.getBooleanFieldWithDefault(msg, 2, false)
16531
+ hasErrors: jspb.Message.getBooleanFieldWithDefault(msg, 2, false)
16532
16532
  };
16533
16533
 
16534
16534
  if (includeInstance) {
@@ -16679,8 +16679,8 @@ proto.ondewo.nlu.BatchDeleteResponseMessagesResponse.DeleteResponseMessageStatus
16679
16679
  */
16680
16680
  proto.ondewo.nlu.BatchDeleteResponseMessagesResponse.DeleteResponseMessageStatus.toObject = function(includeInstance, msg) {
16681
16681
  var f, obj = {
16682
- successfullyDeleted: (f = msg.getSuccessfullyDeleted()) && google_protobuf_empty_pb.Empty.toObject(includeInstance, f),
16683
- 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
16684
16684
  };
16685
16685
 
16686
16686
  if (includeInstance) {
@@ -16934,9 +16934,9 @@ proto.ondewo.nlu.ListResponseMessagesRequest.prototype.toObject = function(opt_i
16934
16934
  */
16935
16935
  proto.ondewo.nlu.ListResponseMessagesRequest.toObject = function(includeInstance, msg) {
16936
16936
  var f, obj = {
16937
- intentName: jspb.Message.getFieldWithDefault(msg, 1, ""),
16938
- languageCode: jspb.Message.getFieldWithDefault(msg, 2, ""),
16939
- 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, "")
16940
16940
  };
16941
16941
 
16942
16942
  if (includeInstance) {
@@ -17131,9 +17131,9 @@ proto.ondewo.nlu.ListResponseMessagesResponse.prototype.toObject = function(opt_
17131
17131
  */
17132
17132
  proto.ondewo.nlu.ListResponseMessagesResponse.toObject = function(includeInstance, msg) {
17133
17133
  var f, obj = {
17134
- responseMessagesList: jspb.Message.toObjectList(msg.getResponseMessagesList(),
17134
+ responseMessagesList: jspb.Message.toObjectList(msg.getResponseMessagesList(),
17135
17135
  proto.ondewo.nlu.Intent.Message.toObject, includeInstance),
17136
- nextPageToken: jspb.Message.getFieldWithDefault(msg, 2, "")
17136
+ nextPageToken: jspb.Message.getFieldWithDefault(msg, 2, "")
17137
17137
  };
17138
17138
 
17139
17139
  if (includeInstance) {
@@ -17321,9 +17321,9 @@ proto.ondewo.nlu.BatchParametersStatusResponse.prototype.toObject = function(opt
17321
17321
  */
17322
17322
  proto.ondewo.nlu.BatchParametersStatusResponse.toObject = function(includeInstance, msg) {
17323
17323
  var f, obj = {
17324
- parameterStatusesList: jspb.Message.toObjectList(msg.getParameterStatusesList(),
17324
+ parameterStatusesList: jspb.Message.toObjectList(msg.getParameterStatusesList(),
17325
17325
  proto.ondewo.nlu.BatchParametersStatusResponse.ParameterStatus.toObject, includeInstance),
17326
- hasErrors: jspb.Message.getBooleanFieldWithDefault(msg, 2, false)
17326
+ hasErrors: jspb.Message.getBooleanFieldWithDefault(msg, 2, false)
17327
17327
  };
17328
17328
 
17329
17329
  if (includeInstance) {
@@ -17474,8 +17474,8 @@ proto.ondewo.nlu.BatchParametersStatusResponse.ParameterStatus.prototype.toObjec
17474
17474
  */
17475
17475
  proto.ondewo.nlu.BatchParametersStatusResponse.ParameterStatus.toObject = function(includeInstance, msg) {
17476
17476
  var f, obj = {
17477
- parameter: (f = msg.getParameter()) && proto.ondewo.nlu.Intent.Parameter.toObject(includeInstance, f),
17478
- 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
17479
17479
  };
17480
17480
 
17481
17481
  if (includeInstance) {
@@ -17736,7 +17736,7 @@ proto.ondewo.nlu.BatchCreateParametersRequest.prototype.toObject = function(opt_
17736
17736
  */
17737
17737
  proto.ondewo.nlu.BatchCreateParametersRequest.toObject = function(includeInstance, msg) {
17738
17738
  var f, obj = {
17739
- parameterRequestsList: jspb.Message.toObjectList(msg.getParameterRequestsList(),
17739
+ parameterRequestsList: jspb.Message.toObjectList(msg.getParameterRequestsList(),
17740
17740
  proto.ondewo.nlu.BatchCreateParametersRequest.CreateParameterRequest.toObject, includeInstance)
17741
17741
  };
17742
17742
 
@@ -17851,8 +17851,8 @@ proto.ondewo.nlu.BatchCreateParametersRequest.CreateParameterRequest.prototype.t
17851
17851
  */
17852
17852
  proto.ondewo.nlu.BatchCreateParametersRequest.CreateParameterRequest.toObject = function(includeInstance, msg) {
17853
17853
  var f, obj = {
17854
- intentName: jspb.Message.getFieldWithDefault(msg, 1, ""),
17855
- 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)
17856
17856
  };
17857
17857
 
17858
17858
  if (includeInstance) {
@@ -18077,7 +18077,7 @@ proto.ondewo.nlu.BatchUpdateParametersRequest.prototype.toObject = function(opt_
18077
18077
  */
18078
18078
  proto.ondewo.nlu.BatchUpdateParametersRequest.toObject = function(includeInstance, msg) {
18079
18079
  var f, obj = {
18080
- parametersList: jspb.Message.toObjectList(msg.getParametersList(),
18080
+ parametersList: jspb.Message.toObjectList(msg.getParametersList(),
18081
18081
  proto.ondewo.nlu.Intent.Parameter.toObject, includeInstance)
18082
18082
  };
18083
18083
 
@@ -18237,7 +18237,7 @@ proto.ondewo.nlu.BatchGetParametersRequest.prototype.toObject = function(opt_inc
18237
18237
  */
18238
18238
  proto.ondewo.nlu.BatchGetParametersRequest.toObject = function(includeInstance, msg) {
18239
18239
  var f, obj = {
18240
- namesList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
18240
+ namesList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
18241
18241
  };
18242
18242
 
18243
18243
  if (includeInstance) {
@@ -18393,7 +18393,7 @@ proto.ondewo.nlu.BatchDeleteParametersRequest.prototype.toObject = function(opt_
18393
18393
  */
18394
18394
  proto.ondewo.nlu.BatchDeleteParametersRequest.toObject = function(includeInstance, msg) {
18395
18395
  var f, obj = {
18396
- namesList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
18396
+ namesList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
18397
18397
  };
18398
18398
 
18399
18399
  if (includeInstance) {
@@ -18549,9 +18549,9 @@ proto.ondewo.nlu.BatchDeleteParametersResponse.prototype.toObject = function(opt
18549
18549
  */
18550
18550
  proto.ondewo.nlu.BatchDeleteParametersResponse.toObject = function(includeInstance, msg) {
18551
18551
  var f, obj = {
18552
- deleteStatusesList: jspb.Message.toObjectList(msg.getDeleteStatusesList(),
18552
+ deleteStatusesList: jspb.Message.toObjectList(msg.getDeleteStatusesList(),
18553
18553
  proto.ondewo.nlu.BatchDeleteParametersResponse.DeleteParameterStatus.toObject, includeInstance),
18554
- hasErrors: jspb.Message.getBooleanFieldWithDefault(msg, 2, false)
18554
+ hasErrors: jspb.Message.getBooleanFieldWithDefault(msg, 2, false)
18555
18555
  };
18556
18556
 
18557
18557
  if (includeInstance) {
@@ -18702,8 +18702,8 @@ proto.ondewo.nlu.BatchDeleteParametersResponse.DeleteParameterStatus.prototype.t
18702
18702
  */
18703
18703
  proto.ondewo.nlu.BatchDeleteParametersResponse.DeleteParameterStatus.toObject = function(includeInstance, msg) {
18704
18704
  var f, obj = {
18705
- successfullyDeleted: (f = msg.getSuccessfullyDeleted()) && google_protobuf_empty_pb.Empty.toObject(includeInstance, f),
18706
- 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
18707
18707
  };
18708
18708
 
18709
18709
  if (includeInstance) {
@@ -18957,9 +18957,9 @@ proto.ondewo.nlu.ListParametersRequest.prototype.toObject = function(opt_include
18957
18957
  */
18958
18958
  proto.ondewo.nlu.ListParametersRequest.toObject = function(includeInstance, msg) {
18959
18959
  var f, obj = {
18960
- intentName: jspb.Message.getFieldWithDefault(msg, 1, ""),
18961
- languageCode: jspb.Message.getFieldWithDefault(msg, 2, ""),
18962
- 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, "")
18963
18963
  };
18964
18964
 
18965
18965
  if (includeInstance) {
@@ -19154,9 +19154,9 @@ proto.ondewo.nlu.ListParametersResponse.prototype.toObject = function(opt_includ
19154
19154
  */
19155
19155
  proto.ondewo.nlu.ListParametersResponse.toObject = function(includeInstance, msg) {
19156
19156
  var f, obj = {
19157
- parametersList: jspb.Message.toObjectList(msg.getParametersList(),
19157
+ parametersList: jspb.Message.toObjectList(msg.getParametersList(),
19158
19158
  proto.ondewo.nlu.Intent.Parameter.toObject, includeInstance),
19159
- nextPageToken: jspb.Message.getFieldWithDefault(msg, 2, "")
19159
+ nextPageToken: jspb.Message.getFieldWithDefault(msg, 2, "")
19160
19160
  };
19161
19161
 
19162
19162
  if (includeInstance) {
@@ -19344,10 +19344,10 @@ proto.ondewo.nlu.ListTrainingPhrasesofIntentsWithEnrichmentRequest.prototype.toO
19344
19344
  */
19345
19345
  proto.ondewo.nlu.ListTrainingPhrasesofIntentsWithEnrichmentRequest.toObject = function(includeInstance, msg) {
19346
19346
  var f, obj = {
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, "")
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, "")
19351
19351
  };
19352
19352
 
19353
19353
  if (includeInstance) {
@@ -19590,8 +19590,8 @@ proto.ondewo.nlu.ListTrainingPhrasesofIntentsWithEnrichmentResponse.prototype.to
19590
19590
  */
19591
19591
  proto.ondewo.nlu.ListTrainingPhrasesofIntentsWithEnrichmentResponse.toObject = function(includeInstance, msg) {
19592
19592
  var f, obj = {
19593
- trainingPhrasesList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
19594
- nextPageToken: jspb.Message.getFieldWithDefault(msg, 2, "")
19593
+ trainingPhrasesList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
19594
+ nextPageToken: jspb.Message.getFieldWithDefault(msg, 2, "")
19595
19595
  };
19596
19596
 
19597
19597
  if (includeInstance) {