@ondewo/nlu-client-typescript 6.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.
- package/api/google/protobuf/any_pb.js +2 -2
- package/api/google/protobuf/field_mask_pb.js +1 -1
- package/api/google/protobuf/struct_pb.js +8 -8
- package/api/google/protobuf/timestamp_pb.js +2 -2
- package/api/google/rpc/status_pb.js +3 -3
- package/api/google/type/latlng_pb.js +2 -2
- package/api/ondewo/nlu/agent_grpc_web_pb.d.ts +12 -0
- package/api/ondewo/nlu/agent_grpc_web_pb.js +61 -0
- package/api/ondewo/nlu/agent_pb.d.ts +20 -0
- package/api/ondewo/nlu/agent_pb.js +498 -322
- package/api/ondewo/nlu/aiservices_pb.js +124 -124
- package/api/ondewo/nlu/ccai_project_pb.d.ts +11 -0
- package/api/ondewo/nlu/ccai_project_pb.js +81 -70
- package/api/ondewo/nlu/common_pb.js +53 -53
- package/api/ondewo/nlu/context_pb.js +27 -27
- package/api/ondewo/nlu/entity_type_pb.js +81 -81
- package/api/ondewo/nlu/intent_pb.js +244 -244
- package/api/ondewo/nlu/operation_metadata_pb.js +22 -22
- package/api/ondewo/nlu/operations_pb.js +21 -21
- package/api/ondewo/nlu/project_role_pb.js +25 -25
- package/api/ondewo/nlu/project_statistics_pb.js +7 -7
- package/api/ondewo/nlu/server_statistics_pb.js +1 -1
- package/api/ondewo/nlu/session_pb.js +366 -366
- package/api/ondewo/nlu/user_pb.d.ts +6 -0
- package/api/ondewo/nlu/user_pb.js +122 -71
- package/api/ondewo/nlu/utility_pb.js +79 -79
- package/api/ondewo/nlu/webhook_pb.js +31 -31
- package/api/ondewo/qa/qa_pb.js +24 -24
- package/package.json +1 -1
|
@@ -104,6 +104,7 @@ goog.exportSymbol('proto.ondewo.nlu.ListProjectPermissionsRequest', null, global
|
|
|
104
104
|
goog.exportSymbol('proto.ondewo.nlu.ListProjectPermissionsResponse', null, global);
|
|
105
105
|
goog.exportSymbol('proto.ondewo.nlu.ListUsersInProjectRequest', null, global);
|
|
106
106
|
goog.exportSymbol('proto.ondewo.nlu.ListUsersInProjectResponse', null, global);
|
|
107
|
+
goog.exportSymbol('proto.ondewo.nlu.MigrateAgentRequest', null, global);
|
|
107
108
|
goog.exportSymbol('proto.ondewo.nlu.ModelStatus', null, global);
|
|
108
109
|
goog.exportSymbol('proto.ondewo.nlu.ModelStatus.StatusName', null, global);
|
|
109
110
|
goog.exportSymbol('proto.ondewo.nlu.OptimizeRankingMatchRequest', null, global);
|
|
@@ -563,6 +564,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
563
564
|
*/
|
|
564
565
|
proto.ondewo.nlu.RestoreAgentRequest.displayName = 'proto.ondewo.nlu.RestoreAgentRequest';
|
|
565
566
|
}
|
|
567
|
+
/**
|
|
568
|
+
* Generated by JsPbCodeGenerator.
|
|
569
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
570
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
571
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
572
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
573
|
+
* valid.
|
|
574
|
+
* @extends {jspb.Message}
|
|
575
|
+
* @constructor
|
|
576
|
+
*/
|
|
577
|
+
proto.ondewo.nlu.MigrateAgentRequest = function(opt_data) {
|
|
578
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
579
|
+
};
|
|
580
|
+
goog.inherits(proto.ondewo.nlu.MigrateAgentRequest, jspb.Message);
|
|
581
|
+
if (goog.DEBUG && !COMPILED) {
|
|
582
|
+
/**
|
|
583
|
+
* @public
|
|
584
|
+
* @override
|
|
585
|
+
*/
|
|
586
|
+
proto.ondewo.nlu.MigrateAgentRequest.displayName = 'proto.ondewo.nlu.MigrateAgentRequest';
|
|
587
|
+
}
|
|
566
588
|
/**
|
|
567
589
|
* Generated by JsPbCodeGenerator.
|
|
568
590
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -1568,20 +1590,20 @@ proto.ondewo.nlu.Agent.prototype.toObject = function(opt_includeInstance) {
|
|
|
1568
1590
|
*/
|
|
1569
1591
|
proto.ondewo.nlu.Agent.toObject = function(includeInstance, msg) {
|
|
1570
1592
|
var f, obj = {
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1593
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
1594
|
+
displayName: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
1595
|
+
defaultLanguageCode: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
1596
|
+
supportedLanguageCodesList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f,
|
|
1597
|
+
timeZone: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
1598
|
+
nluPlatform: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
1599
|
+
configs: (f = msg.getConfigs()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f),
|
|
1600
|
+
ownerId: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
1601
|
+
status: jspb.Message.getFieldWithDefault(msg, 9, 0),
|
|
1602
|
+
description: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
1603
|
+
createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
1604
|
+
modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
1605
|
+
createdBy: jspb.Message.getFieldWithDefault(msg, 13, ""),
|
|
1606
|
+
modifiedBy: jspb.Message.getFieldWithDefault(msg, 14, "")
|
|
1585
1607
|
};
|
|
1586
1608
|
|
|
1587
1609
|
if (includeInstance) {
|
|
@@ -2170,8 +2192,8 @@ proto.ondewo.nlu.AgentWithOwner.prototype.toObject = function(opt_includeInstanc
|
|
|
2170
2192
|
*/
|
|
2171
2193
|
proto.ondewo.nlu.AgentWithOwner.toObject = function(includeInstance, msg) {
|
|
2172
2194
|
var f, obj = {
|
|
2173
|
-
|
|
2174
|
-
|
|
2195
|
+
agent: (f = msg.getAgent()) && proto.ondewo.nlu.Agent.toObject(includeInstance, f),
|
|
2196
|
+
owner: (f = msg.getOwner()) && ondewo_nlu_user_pb.User.toObject(includeInstance, f)
|
|
2175
2197
|
};
|
|
2176
2198
|
|
|
2177
2199
|
if (includeInstance) {
|
|
@@ -2372,8 +2394,8 @@ proto.ondewo.nlu.AgentOfUserWithOwner.prototype.toObject = function(opt_includeI
|
|
|
2372
2394
|
*/
|
|
2373
2395
|
proto.ondewo.nlu.AgentOfUserWithOwner.toObject = function(includeInstance, msg) {
|
|
2374
2396
|
var f, obj = {
|
|
2375
|
-
|
|
2376
|
-
|
|
2397
|
+
agentWithOwner: (f = msg.getAgentWithOwner()) && proto.ondewo.nlu.AgentWithOwner.toObject(includeInstance, f),
|
|
2398
|
+
projectRole: (f = msg.getProjectRole()) && ondewo_nlu_project_role_pb.ProjectRole.toObject(includeInstance, f)
|
|
2377
2399
|
};
|
|
2378
2400
|
|
|
2379
2401
|
if (includeInstance) {
|
|
@@ -2574,8 +2596,8 @@ proto.ondewo.nlu.CreateAgentRequest.prototype.toObject = function(opt_includeIns
|
|
|
2574
2596
|
*/
|
|
2575
2597
|
proto.ondewo.nlu.CreateAgentRequest.toObject = function(includeInstance, msg) {
|
|
2576
2598
|
var f, obj = {
|
|
2577
|
-
|
|
2578
|
-
|
|
2599
|
+
agent: (f = msg.getAgent()) && proto.ondewo.nlu.Agent.toObject(includeInstance, f),
|
|
2600
|
+
agentView: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
|
2579
2601
|
};
|
|
2580
2602
|
|
|
2581
2603
|
if (includeInstance) {
|
|
@@ -2755,9 +2777,9 @@ proto.ondewo.nlu.UpdateAgentRequest.prototype.toObject = function(opt_includeIns
|
|
|
2755
2777
|
*/
|
|
2756
2778
|
proto.ondewo.nlu.UpdateAgentRequest.toObject = function(includeInstance, msg) {
|
|
2757
2779
|
var f, obj = {
|
|
2758
|
-
|
|
2759
|
-
|
|
2760
|
-
|
|
2780
|
+
agent: (f = msg.getAgent()) && proto.ondewo.nlu.Agent.toObject(includeInstance, f),
|
|
2781
|
+
agentView: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
2782
|
+
updateMask: (f = msg.getUpdateMask()) && google_protobuf_field_mask_pb.FieldMask.toObject(includeInstance, f)
|
|
2761
2783
|
};
|
|
2762
2784
|
|
|
2763
2785
|
if (includeInstance) {
|
|
@@ -2987,7 +3009,7 @@ proto.ondewo.nlu.DeleteAgentRequest.prototype.toObject = function(opt_includeIns
|
|
|
2987
3009
|
*/
|
|
2988
3010
|
proto.ondewo.nlu.DeleteAgentRequest.toObject = function(includeInstance, msg) {
|
|
2989
3011
|
var f, obj = {
|
|
2990
|
-
|
|
3012
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
2991
3013
|
};
|
|
2992
3014
|
|
|
2993
3015
|
if (includeInstance) {
|
|
@@ -3117,8 +3139,8 @@ proto.ondewo.nlu.GetAgentRequest.prototype.toObject = function(opt_includeInstan
|
|
|
3117
3139
|
*/
|
|
3118
3140
|
proto.ondewo.nlu.GetAgentRequest.toObject = function(includeInstance, msg) {
|
|
3119
3141
|
var f, obj = {
|
|
3120
|
-
|
|
3121
|
-
|
|
3142
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
3143
|
+
agentView: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
|
3122
3144
|
};
|
|
3123
3145
|
|
|
3124
3146
|
if (includeInstance) {
|
|
@@ -3277,9 +3299,9 @@ proto.ondewo.nlu.ListAgentsRequest.prototype.toObject = function(opt_includeInst
|
|
|
3277
3299
|
*/
|
|
3278
3300
|
proto.ondewo.nlu.ListAgentsRequest.toObject = function(includeInstance, msg) {
|
|
3279
3301
|
var f, obj = {
|
|
3280
|
-
|
|
3281
|
-
|
|
3282
|
-
|
|
3302
|
+
agentView: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
3303
|
+
pageToken: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
3304
|
+
sortByField: (f = msg.getSortByField()) && proto.ondewo.nlu.AgentSorting.toObject(includeInstance, f)
|
|
3283
3305
|
};
|
|
3284
3306
|
|
|
3285
3307
|
if (includeInstance) {
|
|
@@ -3495,9 +3517,9 @@ proto.ondewo.nlu.ListAgentsResponse.prototype.toObject = function(opt_includeIns
|
|
|
3495
3517
|
*/
|
|
3496
3518
|
proto.ondewo.nlu.ListAgentsResponse.toObject = function(includeInstance, msg) {
|
|
3497
3519
|
var f, obj = {
|
|
3498
|
-
|
|
3520
|
+
agentsWithOwnersList: jspb.Message.toObjectList(msg.getAgentsWithOwnersList(),
|
|
3499
3521
|
proto.ondewo.nlu.AgentWithOwner.toObject, includeInstance),
|
|
3500
|
-
|
|
3522
|
+
nextPageToken: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
3501
3523
|
};
|
|
3502
3524
|
|
|
3503
3525
|
if (includeInstance) {
|
|
@@ -3685,9 +3707,9 @@ proto.ondewo.nlu.ListAgentsOfUserResponse.prototype.toObject = function(opt_incl
|
|
|
3685
3707
|
*/
|
|
3686
3708
|
proto.ondewo.nlu.ListAgentsOfUserResponse.toObject = function(includeInstance, msg) {
|
|
3687
3709
|
var f, obj = {
|
|
3688
|
-
|
|
3710
|
+
agentsOfUserWithOwnersList: jspb.Message.toObjectList(msg.getAgentsOfUserWithOwnersList(),
|
|
3689
3711
|
proto.ondewo.nlu.AgentOfUserWithOwner.toObject, includeInstance),
|
|
3690
|
-
|
|
3712
|
+
nextPageToken: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
3691
3713
|
};
|
|
3692
3714
|
|
|
3693
3715
|
if (includeInstance) {
|
|
@@ -3868,9 +3890,9 @@ proto.ondewo.nlu.TrainAgentRequest.prototype.toObject = function(opt_includeInst
|
|
|
3868
3890
|
*/
|
|
3869
3891
|
proto.ondewo.nlu.TrainAgentRequest.toObject = function(includeInstance, msg) {
|
|
3870
3892
|
var f, obj = {
|
|
3871
|
-
|
|
3872
|
-
|
|
3873
|
-
|
|
3893
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
3894
|
+
branch: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
3895
|
+
initiationProtocol: jspb.Message.getFieldWithDefault(msg, 3, 0)
|
|
3874
3896
|
};
|
|
3875
3897
|
|
|
3876
3898
|
if (includeInstance) {
|
|
@@ -4058,8 +4080,8 @@ proto.ondewo.nlu.BuildCacheRequest.prototype.toObject = function(opt_includeInst
|
|
|
4058
4080
|
*/
|
|
4059
4081
|
proto.ondewo.nlu.BuildCacheRequest.toObject = function(includeInstance, msg) {
|
|
4060
4082
|
var f, obj = {
|
|
4061
|
-
|
|
4062
|
-
|
|
4083
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
4084
|
+
branch: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
4063
4085
|
};
|
|
4064
4086
|
|
|
4065
4087
|
if (includeInstance) {
|
|
@@ -4218,9 +4240,9 @@ proto.ondewo.nlu.ExportAgentRequest.prototype.toObject = function(opt_includeIns
|
|
|
4218
4240
|
*/
|
|
4219
4241
|
proto.ondewo.nlu.ExportAgentRequest.toObject = function(includeInstance, msg) {
|
|
4220
4242
|
var f, obj = {
|
|
4221
|
-
|
|
4222
|
-
|
|
4223
|
-
|
|
4243
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
4244
|
+
agentUri: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
4245
|
+
compressionLevel: jspb.Message.getFieldWithDefault(msg, 3, 0)
|
|
4224
4246
|
};
|
|
4225
4247
|
|
|
4226
4248
|
if (includeInstance) {
|
|
@@ -4434,8 +4456,8 @@ proto.ondewo.nlu.ExportAgentResponse.prototype.toObject = function(opt_includeIn
|
|
|
4434
4456
|
*/
|
|
4435
4457
|
proto.ondewo.nlu.ExportAgentResponse.toObject = function(includeInstance, msg) {
|
|
4436
4458
|
var f, obj = {
|
|
4437
|
-
|
|
4438
|
-
|
|
4459
|
+
agentUri: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f,
|
|
4460
|
+
agentContent: msg.getAgentContent_asB64()
|
|
4439
4461
|
};
|
|
4440
4462
|
|
|
4441
4463
|
if (includeInstance) {
|
|
@@ -4654,11 +4676,11 @@ proto.ondewo.nlu.ExportBenchmarkAgentRequest.prototype.toObject = function(opt_i
|
|
|
4654
4676
|
*/
|
|
4655
4677
|
proto.ondewo.nlu.ExportBenchmarkAgentRequest.toObject = function(includeInstance, msg) {
|
|
4656
4678
|
var f, obj = {
|
|
4657
|
-
|
|
4658
|
-
|
|
4659
|
-
|
|
4660
|
-
|
|
4661
|
-
|
|
4679
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
4680
|
+
compressionLevel: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
4681
|
+
testSize: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0),
|
|
4682
|
+
trainSize: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0),
|
|
4683
|
+
randomState: jspb.Message.getFieldWithDefault(msg, 5, 0)
|
|
4662
4684
|
};
|
|
4663
4685
|
|
|
4664
4686
|
if (includeInstance) {
|
|
@@ -4904,8 +4926,8 @@ proto.ondewo.nlu.ExportBenchmarkAgentResponse.prototype.toObject = function(opt_
|
|
|
4904
4926
|
*/
|
|
4905
4927
|
proto.ondewo.nlu.ExportBenchmarkAgentResponse.toObject = function(includeInstance, msg) {
|
|
4906
4928
|
var f, obj = {
|
|
4907
|
-
|
|
4908
|
-
|
|
4929
|
+
agentContent: msg.getAgentContent_asB64(),
|
|
4930
|
+
trainingPhrasesMap: (f = msg.getTrainingPhrasesMap()) ? f.toObject(includeInstance, proto.ondewo.nlu.ListTrainingPhrasesResponse.toObject) : []
|
|
4909
4931
|
};
|
|
4910
4932
|
|
|
4911
4933
|
if (includeInstance) {
|
|
@@ -5099,11 +5121,11 @@ proto.ondewo.nlu.OptimizeRankingMatchRequest.prototype.toObject = function(opt_i
|
|
|
5099
5121
|
*/
|
|
5100
5122
|
proto.ondewo.nlu.OptimizeRankingMatchRequest.toObject = function(includeInstance, msg) {
|
|
5101
5123
|
var f, obj = {
|
|
5102
|
-
|
|
5103
|
-
|
|
5104
|
-
|
|
5124
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
5125
|
+
languageCodesList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f,
|
|
5126
|
+
optimizationConfigsList: jspb.Message.toObjectList(msg.getOptimizationConfigsList(),
|
|
5105
5127
|
proto.ondewo.nlu.RankingMatchOptimizationConfig.toObject, includeInstance),
|
|
5106
|
-
|
|
5128
|
+
inPlace: jspb.Message.getBooleanFieldWithDefault(msg, 4, false)
|
|
5107
5129
|
};
|
|
5108
5130
|
|
|
5109
5131
|
if (includeInstance) {
|
|
@@ -5361,10 +5383,10 @@ proto.ondewo.nlu.RankingMatchOptimizationConfig.prototype.toObject = function(op
|
|
|
5361
5383
|
*/
|
|
5362
5384
|
proto.ondewo.nlu.RankingMatchOptimizationConfig.toObject = function(includeInstance, msg) {
|
|
5363
5385
|
var f, obj = {
|
|
5364
|
-
|
|
5365
|
-
|
|
5366
|
-
|
|
5367
|
-
|
|
5386
|
+
languageCode: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
5387
|
+
nSplits: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
5388
|
+
randomSeed: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
5389
|
+
initialThresholds: (f = msg.getInitialThresholds()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f)
|
|
5368
5390
|
};
|
|
5369
5391
|
|
|
5370
5392
|
if (includeInstance) {
|
|
@@ -5602,8 +5624,8 @@ proto.ondewo.nlu.OptimizeRankingMatchResponse.prototype.toObject = function(opt_
|
|
|
5602
5624
|
*/
|
|
5603
5625
|
proto.ondewo.nlu.OptimizeRankingMatchResponse.toObject = function(includeInstance, msg) {
|
|
5604
5626
|
var f, obj = {
|
|
5605
|
-
|
|
5606
|
-
|
|
5627
|
+
optimizationInfo: (f = msg.getOptimizationInfo()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f),
|
|
5628
|
+
optimizedOndewoConfig: (f = msg.getOptimizedOndewoConfig()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f)
|
|
5607
5629
|
};
|
|
5608
5630
|
|
|
5609
5631
|
if (includeInstance) {
|
|
@@ -5830,9 +5852,9 @@ proto.ondewo.nlu.ImportAgentRequest.prototype.toObject = function(opt_includeIns
|
|
|
5830
5852
|
*/
|
|
5831
5853
|
proto.ondewo.nlu.ImportAgentRequest.toObject = function(includeInstance, msg) {
|
|
5832
5854
|
var f, obj = {
|
|
5833
|
-
|
|
5834
|
-
|
|
5835
|
-
|
|
5855
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
5856
|
+
agentUri: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f,
|
|
5857
|
+
agentContent: msg.getAgentContent_asB64()
|
|
5836
5858
|
};
|
|
5837
5859
|
|
|
5838
5860
|
if (includeInstance) {
|
|
@@ -6106,9 +6128,9 @@ proto.ondewo.nlu.RestoreAgentRequest.prototype.toObject = function(opt_includeIn
|
|
|
6106
6128
|
*/
|
|
6107
6129
|
proto.ondewo.nlu.RestoreAgentRequest.toObject = function(includeInstance, msg) {
|
|
6108
6130
|
var f, obj = {
|
|
6109
|
-
|
|
6110
|
-
|
|
6111
|
-
|
|
6131
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
6132
|
+
agentUri: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f,
|
|
6133
|
+
agentContent: msg.getAgentContent_asB64()
|
|
6112
6134
|
};
|
|
6113
6135
|
|
|
6114
6136
|
if (includeInstance) {
|
|
@@ -6327,6 +6349,160 @@ proto.ondewo.nlu.RestoreAgentRequest.prototype.hasAgentContent = function() {
|
|
|
6327
6349
|
|
|
6328
6350
|
|
|
6329
6351
|
|
|
6352
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
6353
|
+
/**
|
|
6354
|
+
* Creates an object representation of this proto.
|
|
6355
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
6356
|
+
* Optional fields that are not set will be set to undefined.
|
|
6357
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
6358
|
+
* For the list of reserved names please see:
|
|
6359
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
6360
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
6361
|
+
* JSPB instance for transitional soy proto support:
|
|
6362
|
+
* http://goto/soy-param-migration
|
|
6363
|
+
* @return {!Object}
|
|
6364
|
+
*/
|
|
6365
|
+
proto.ondewo.nlu.MigrateAgentRequest.prototype.toObject = function(opt_includeInstance) {
|
|
6366
|
+
return proto.ondewo.nlu.MigrateAgentRequest.toObject(opt_includeInstance, this);
|
|
6367
|
+
};
|
|
6368
|
+
|
|
6369
|
+
|
|
6370
|
+
/**
|
|
6371
|
+
* Static version of the {@see toObject} method.
|
|
6372
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
6373
|
+
* the JSPB instance for transitional soy proto support:
|
|
6374
|
+
* http://goto/soy-param-migration
|
|
6375
|
+
* @param {!proto.ondewo.nlu.MigrateAgentRequest} msg The msg instance to transform.
|
|
6376
|
+
* @return {!Object}
|
|
6377
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
6378
|
+
*/
|
|
6379
|
+
proto.ondewo.nlu.MigrateAgentRequest.toObject = function(includeInstance, msg) {
|
|
6380
|
+
var f, obj = {
|
|
6381
|
+
agentContent: msg.getAgentContent_asB64()
|
|
6382
|
+
};
|
|
6383
|
+
|
|
6384
|
+
if (includeInstance) {
|
|
6385
|
+
obj.$jspbMessageInstance = msg;
|
|
6386
|
+
}
|
|
6387
|
+
return obj;
|
|
6388
|
+
};
|
|
6389
|
+
}
|
|
6390
|
+
|
|
6391
|
+
|
|
6392
|
+
/**
|
|
6393
|
+
* Deserializes binary data (in protobuf wire format).
|
|
6394
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
6395
|
+
* @return {!proto.ondewo.nlu.MigrateAgentRequest}
|
|
6396
|
+
*/
|
|
6397
|
+
proto.ondewo.nlu.MigrateAgentRequest.deserializeBinary = function(bytes) {
|
|
6398
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
6399
|
+
var msg = new proto.ondewo.nlu.MigrateAgentRequest;
|
|
6400
|
+
return proto.ondewo.nlu.MigrateAgentRequest.deserializeBinaryFromReader(msg, reader);
|
|
6401
|
+
};
|
|
6402
|
+
|
|
6403
|
+
|
|
6404
|
+
/**
|
|
6405
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
6406
|
+
* given reader into the given message object.
|
|
6407
|
+
* @param {!proto.ondewo.nlu.MigrateAgentRequest} msg The message object to deserialize into.
|
|
6408
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
6409
|
+
* @return {!proto.ondewo.nlu.MigrateAgentRequest}
|
|
6410
|
+
*/
|
|
6411
|
+
proto.ondewo.nlu.MigrateAgentRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
6412
|
+
while (reader.nextField()) {
|
|
6413
|
+
if (reader.isEndGroup()) {
|
|
6414
|
+
break;
|
|
6415
|
+
}
|
|
6416
|
+
var field = reader.getFieldNumber();
|
|
6417
|
+
switch (field) {
|
|
6418
|
+
case 1:
|
|
6419
|
+
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
6420
|
+
msg.setAgentContent(value);
|
|
6421
|
+
break;
|
|
6422
|
+
default:
|
|
6423
|
+
reader.skipField();
|
|
6424
|
+
break;
|
|
6425
|
+
}
|
|
6426
|
+
}
|
|
6427
|
+
return msg;
|
|
6428
|
+
};
|
|
6429
|
+
|
|
6430
|
+
|
|
6431
|
+
/**
|
|
6432
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
6433
|
+
* @return {!Uint8Array}
|
|
6434
|
+
*/
|
|
6435
|
+
proto.ondewo.nlu.MigrateAgentRequest.prototype.serializeBinary = function() {
|
|
6436
|
+
var writer = new jspb.BinaryWriter();
|
|
6437
|
+
proto.ondewo.nlu.MigrateAgentRequest.serializeBinaryToWriter(this, writer);
|
|
6438
|
+
return writer.getResultBuffer();
|
|
6439
|
+
};
|
|
6440
|
+
|
|
6441
|
+
|
|
6442
|
+
/**
|
|
6443
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
6444
|
+
* format), writing to the given BinaryWriter.
|
|
6445
|
+
* @param {!proto.ondewo.nlu.MigrateAgentRequest} message
|
|
6446
|
+
* @param {!jspb.BinaryWriter} writer
|
|
6447
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
6448
|
+
*/
|
|
6449
|
+
proto.ondewo.nlu.MigrateAgentRequest.serializeBinaryToWriter = function(message, writer) {
|
|
6450
|
+
var f = undefined;
|
|
6451
|
+
f = message.getAgentContent_asU8();
|
|
6452
|
+
if (f.length > 0) {
|
|
6453
|
+
writer.writeBytes(
|
|
6454
|
+
1,
|
|
6455
|
+
f
|
|
6456
|
+
);
|
|
6457
|
+
}
|
|
6458
|
+
};
|
|
6459
|
+
|
|
6460
|
+
|
|
6461
|
+
/**
|
|
6462
|
+
* optional bytes agent_content = 1;
|
|
6463
|
+
* @return {!(string|Uint8Array)}
|
|
6464
|
+
*/
|
|
6465
|
+
proto.ondewo.nlu.MigrateAgentRequest.prototype.getAgentContent = function() {
|
|
6466
|
+
return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
6467
|
+
};
|
|
6468
|
+
|
|
6469
|
+
|
|
6470
|
+
/**
|
|
6471
|
+
* optional bytes agent_content = 1;
|
|
6472
|
+
* This is a type-conversion wrapper around `getAgentContent()`
|
|
6473
|
+
* @return {string}
|
|
6474
|
+
*/
|
|
6475
|
+
proto.ondewo.nlu.MigrateAgentRequest.prototype.getAgentContent_asB64 = function() {
|
|
6476
|
+
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
6477
|
+
this.getAgentContent()));
|
|
6478
|
+
};
|
|
6479
|
+
|
|
6480
|
+
|
|
6481
|
+
/**
|
|
6482
|
+
* optional bytes agent_content = 1;
|
|
6483
|
+
* Note that Uint8Array is not supported on all browsers.
|
|
6484
|
+
* @see http://caniuse.com/Uint8Array
|
|
6485
|
+
* This is a type-conversion wrapper around `getAgentContent()`
|
|
6486
|
+
* @return {!Uint8Array}
|
|
6487
|
+
*/
|
|
6488
|
+
proto.ondewo.nlu.MigrateAgentRequest.prototype.getAgentContent_asU8 = function() {
|
|
6489
|
+
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
6490
|
+
this.getAgentContent()));
|
|
6491
|
+
};
|
|
6492
|
+
|
|
6493
|
+
|
|
6494
|
+
/**
|
|
6495
|
+
* @param {!(string|Uint8Array)} value
|
|
6496
|
+
* @return {!proto.ondewo.nlu.MigrateAgentRequest} returns this
|
|
6497
|
+
*/
|
|
6498
|
+
proto.ondewo.nlu.MigrateAgentRequest.prototype.setAgentContent = function(value) {
|
|
6499
|
+
return jspb.Message.setProto3BytesField(this, 1, value);
|
|
6500
|
+
};
|
|
6501
|
+
|
|
6502
|
+
|
|
6503
|
+
|
|
6504
|
+
|
|
6505
|
+
|
|
6330
6506
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
6331
6507
|
/**
|
|
6332
6508
|
* Creates an object representation of this proto.
|
|
@@ -6356,10 +6532,10 @@ proto.ondewo.nlu.GetAgentStatisticsRequest.prototype.toObject = function(opt_inc
|
|
|
6356
6532
|
*/
|
|
6357
6533
|
proto.ondewo.nlu.GetAgentStatisticsRequest.toObject = function(includeInstance, msg) {
|
|
6358
6534
|
var f, obj = {
|
|
6359
|
-
|
|
6360
|
-
|
|
6361
|
-
|
|
6362
|
-
|
|
6535
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
6536
|
+
format: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
6537
|
+
languageCode: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
6538
|
+
type: jspb.Message.getFieldWithDefault(msg, 4, 0)
|
|
6363
6539
|
};
|
|
6364
6540
|
|
|
6365
6541
|
if (includeInstance) {
|
|
@@ -6576,9 +6752,9 @@ proto.ondewo.nlu.GetAgentStatisticsResponse.prototype.toObject = function(opt_in
|
|
|
6576
6752
|
*/
|
|
6577
6753
|
proto.ondewo.nlu.GetAgentStatisticsResponse.toObject = function(includeInstance, msg) {
|
|
6578
6754
|
var f, obj = {
|
|
6579
|
-
|
|
6580
|
-
|
|
6581
|
-
|
|
6755
|
+
reports: msg.getReports_asB64(),
|
|
6756
|
+
format: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
6757
|
+
type: jspb.Message.getFieldWithDefault(msg, 3, 0)
|
|
6582
6758
|
};
|
|
6583
6759
|
|
|
6584
6760
|
if (includeInstance) {
|
|
@@ -6797,17 +6973,17 @@ proto.ondewo.nlu.GetSessionsStatisticsRequest.prototype.toObject = function(opt_
|
|
|
6797
6973
|
*/
|
|
6798
6974
|
proto.ondewo.nlu.GetSessionsStatisticsRequest.toObject = function(includeInstance, msg) {
|
|
6799
6975
|
var f, obj = {
|
|
6800
|
-
|
|
6801
|
-
|
|
6802
|
-
|
|
6803
|
-
|
|
6804
|
-
|
|
6976
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
6977
|
+
format: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
6978
|
+
type: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
6979
|
+
sessionFilter: (f = msg.getSessionFilter()) && ondewo_nlu_session_pb.SessionFilter.toObject(includeInstance, f),
|
|
6980
|
+
contextFiltersList: jspb.Message.toObjectList(msg.getContextFiltersList(),
|
|
6805
6981
|
ondewo_nlu_session_pb.ContextFilter.toObject, includeInstance),
|
|
6806
|
-
|
|
6807
|
-
|
|
6808
|
-
|
|
6809
|
-
|
|
6810
|
-
|
|
6982
|
+
limit: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
|
6983
|
+
groupBysList: (f = jspb.Message.getRepeatedField(msg, 7)) == null ? undefined : f,
|
|
6984
|
+
orderBysList: (f = jspb.Message.getRepeatedField(msg, 8)) == null ? undefined : f,
|
|
6985
|
+
fieldMask: (f = msg.getFieldMask()) && google_protobuf_field_mask_pb.FieldMask.toObject(includeInstance, f),
|
|
6986
|
+
sqlQuery: jspb.Message.getFieldWithDefault(msg, 10, "")
|
|
6811
6987
|
};
|
|
6812
6988
|
|
|
6813
6989
|
if (includeInstance) {
|
|
@@ -7300,9 +7476,9 @@ proto.ondewo.nlu.GetSessionsStatisticsResponse.prototype.toObject = function(opt
|
|
|
7300
7476
|
*/
|
|
7301
7477
|
proto.ondewo.nlu.GetSessionsStatisticsResponse.toObject = function(includeInstance, msg) {
|
|
7302
7478
|
var f, obj = {
|
|
7303
|
-
|
|
7304
|
-
|
|
7305
|
-
|
|
7479
|
+
reports: msg.getReports_asB64(),
|
|
7480
|
+
format: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
7481
|
+
type: jspb.Message.getFieldWithDefault(msg, 3, 0)
|
|
7306
7482
|
};
|
|
7307
7483
|
|
|
7308
7484
|
if (includeInstance) {
|
|
@@ -7514,9 +7690,9 @@ proto.ondewo.nlu.AddUserToProjectRequest.prototype.toObject = function(opt_inclu
|
|
|
7514
7690
|
*/
|
|
7515
7691
|
proto.ondewo.nlu.AddUserToProjectRequest.toObject = function(includeInstance, msg) {
|
|
7516
7692
|
var f, obj = {
|
|
7517
|
-
|
|
7518
|
-
|
|
7519
|
-
|
|
7693
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
7694
|
+
userId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
7695
|
+
projectRoleId: jspb.Message.getFieldWithDefault(msg, 4, 0)
|
|
7520
7696
|
};
|
|
7521
7697
|
|
|
7522
7698
|
if (includeInstance) {
|
|
@@ -7704,8 +7880,8 @@ proto.ondewo.nlu.RemoveUserFromProjectRequest.prototype.toObject = function(opt_
|
|
|
7704
7880
|
*/
|
|
7705
7881
|
proto.ondewo.nlu.RemoveUserFromProjectRequest.toObject = function(includeInstance, msg) {
|
|
7706
7882
|
var f, obj = {
|
|
7707
|
-
|
|
7708
|
-
|
|
7883
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
7884
|
+
userId: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
7709
7885
|
};
|
|
7710
7886
|
|
|
7711
7887
|
if (includeInstance) {
|
|
@@ -7864,8 +8040,8 @@ proto.ondewo.nlu.ListUsersInProjectRequest.prototype.toObject = function(opt_inc
|
|
|
7864
8040
|
*/
|
|
7865
8041
|
proto.ondewo.nlu.ListUsersInProjectRequest.toObject = function(includeInstance, msg) {
|
|
7866
8042
|
var f, obj = {
|
|
7867
|
-
|
|
7868
|
-
|
|
8043
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
8044
|
+
pageToken: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
7869
8045
|
};
|
|
7870
8046
|
|
|
7871
8047
|
if (includeInstance) {
|
|
@@ -8024,9 +8200,9 @@ proto.ondewo.nlu.UserInProject.prototype.toObject = function(opt_includeInstance
|
|
|
8024
8200
|
*/
|
|
8025
8201
|
proto.ondewo.nlu.UserInProject.toObject = function(includeInstance, msg) {
|
|
8026
8202
|
var f, obj = {
|
|
8027
|
-
|
|
8028
|
-
|
|
8029
|
-
|
|
8203
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
8204
|
+
user: (f = msg.getUser()) && ondewo_nlu_user_pb.User.toObject(includeInstance, f),
|
|
8205
|
+
roleId: jspb.Message.getFieldWithDefault(msg, 3, 0)
|
|
8030
8206
|
};
|
|
8031
8207
|
|
|
8032
8208
|
if (includeInstance) {
|
|
@@ -8242,9 +8418,9 @@ proto.ondewo.nlu.ListUsersInProjectResponse.prototype.toObject = function(opt_in
|
|
|
8242
8418
|
*/
|
|
8243
8419
|
proto.ondewo.nlu.ListUsersInProjectResponse.toObject = function(includeInstance, msg) {
|
|
8244
8420
|
var f, obj = {
|
|
8245
|
-
|
|
8421
|
+
usersList: jspb.Message.toObjectList(msg.getUsersList(),
|
|
8246
8422
|
proto.ondewo.nlu.UserInProject.toObject, includeInstance),
|
|
8247
|
-
|
|
8423
|
+
nextPageToken: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
8248
8424
|
};
|
|
8249
8425
|
|
|
8250
8426
|
if (includeInstance) {
|
|
@@ -8425,8 +8601,8 @@ proto.ondewo.nlu.GetPlatformInfoResponse.prototype.toObject = function(opt_inclu
|
|
|
8425
8601
|
*/
|
|
8426
8602
|
proto.ondewo.nlu.GetPlatformInfoResponse.toObject = function(includeInstance, msg) {
|
|
8427
8603
|
var f, obj = {
|
|
8428
|
-
|
|
8429
|
-
|
|
8604
|
+
version: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
8605
|
+
commitHash: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
8430
8606
|
};
|
|
8431
8607
|
|
|
8432
8608
|
if (includeInstance) {
|
|
@@ -8585,7 +8761,7 @@ proto.ondewo.nlu.ListProjectPermissionsRequest.prototype.toObject = function(opt
|
|
|
8585
8761
|
*/
|
|
8586
8762
|
proto.ondewo.nlu.ListProjectPermissionsRequest.toObject = function(includeInstance, msg) {
|
|
8587
8763
|
var f, obj = {
|
|
8588
|
-
|
|
8764
|
+
pageToken: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
8589
8765
|
};
|
|
8590
8766
|
|
|
8591
8767
|
if (includeInstance) {
|
|
@@ -8722,8 +8898,8 @@ proto.ondewo.nlu.ListProjectPermissionsResponse.prototype.toObject = function(op
|
|
|
8722
8898
|
*/
|
|
8723
8899
|
proto.ondewo.nlu.ListProjectPermissionsResponse.toObject = function(includeInstance, msg) {
|
|
8724
8900
|
var f, obj = {
|
|
8725
|
-
|
|
8726
|
-
|
|
8901
|
+
permissionsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
|
|
8902
|
+
nextPageToken: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
8727
8903
|
};
|
|
8728
8904
|
|
|
8729
8905
|
if (includeInstance) {
|
|
@@ -8901,9 +9077,9 @@ proto.ondewo.nlu.SetAgentStatusRequest.prototype.toObject = function(opt_include
|
|
|
8901
9077
|
*/
|
|
8902
9078
|
proto.ondewo.nlu.SetAgentStatusRequest.toObject = function(includeInstance, msg) {
|
|
8903
9079
|
var f, obj = {
|
|
8904
|
-
|
|
8905
|
-
|
|
8906
|
-
|
|
9080
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
9081
|
+
status: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
9082
|
+
agentView: jspb.Message.getFieldWithDefault(msg, 3, 0)
|
|
8907
9083
|
};
|
|
8908
9084
|
|
|
8909
9085
|
if (includeInstance) {
|
|
@@ -9091,8 +9267,8 @@ proto.ondewo.nlu.AgentSorting.prototype.toObject = function(opt_includeInstance)
|
|
|
9091
9267
|
*/
|
|
9092
9268
|
proto.ondewo.nlu.AgentSorting.toObject = function(includeInstance, msg) {
|
|
9093
9269
|
var f, obj = {
|
|
9094
|
-
|
|
9095
|
-
|
|
9270
|
+
sortingField: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
9271
|
+
sortingMode: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
|
9096
9272
|
};
|
|
9097
9273
|
|
|
9098
9274
|
if (includeInstance) {
|
|
@@ -9262,11 +9438,11 @@ proto.ondewo.nlu.SetResourcesRequest.prototype.toObject = function(opt_includeIn
|
|
|
9262
9438
|
*/
|
|
9263
9439
|
proto.ondewo.nlu.SetResourcesRequest.toObject = function(includeInstance, msg) {
|
|
9264
9440
|
var f, obj = {
|
|
9265
|
-
|
|
9266
|
-
|
|
9267
|
-
|
|
9268
|
-
|
|
9269
|
-
|
|
9441
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
9442
|
+
name: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
9443
|
+
type: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
9444
|
+
resourceFile: msg.getResourceFile_asB64(),
|
|
9445
|
+
languageCode: jspb.Message.getFieldWithDefault(msg, 5, "")
|
|
9270
9446
|
};
|
|
9271
9447
|
|
|
9272
9448
|
if (includeInstance) {
|
|
@@ -9536,10 +9712,10 @@ proto.ondewo.nlu.DeleteResourcesRequest.prototype.toObject = function(opt_includ
|
|
|
9536
9712
|
*/
|
|
9537
9713
|
proto.ondewo.nlu.DeleteResourcesRequest.toObject = function(includeInstance, msg) {
|
|
9538
9714
|
var f, obj = {
|
|
9539
|
-
|
|
9540
|
-
|
|
9541
|
-
|
|
9542
|
-
|
|
9715
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
9716
|
+
name: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
9717
|
+
type: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
9718
|
+
languageCode: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
9543
9719
|
};
|
|
9544
9720
|
|
|
9545
9721
|
if (includeInstance) {
|
|
@@ -9756,10 +9932,10 @@ proto.ondewo.nlu.ExportResourcesRequest.prototype.toObject = function(opt_includ
|
|
|
9756
9932
|
*/
|
|
9757
9933
|
proto.ondewo.nlu.ExportResourcesRequest.toObject = function(includeInstance, msg) {
|
|
9758
9934
|
var f, obj = {
|
|
9759
|
-
|
|
9760
|
-
|
|
9761
|
-
|
|
9762
|
-
|
|
9935
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
9936
|
+
name: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
9937
|
+
type: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
9938
|
+
languageCode: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
9763
9939
|
};
|
|
9764
9940
|
|
|
9765
9941
|
if (includeInstance) {
|
|
@@ -9976,11 +10152,11 @@ proto.ondewo.nlu.ExportResourcesResponse.prototype.toObject = function(opt_inclu
|
|
|
9976
10152
|
*/
|
|
9977
10153
|
proto.ondewo.nlu.ExportResourcesResponse.toObject = function(includeInstance, msg) {
|
|
9978
10154
|
var f, obj = {
|
|
9979
|
-
|
|
9980
|
-
|
|
9981
|
-
|
|
9982
|
-
|
|
9983
|
-
|
|
10155
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
10156
|
+
name: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
10157
|
+
type: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
10158
|
+
languageCode: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
10159
|
+
resourceFile: msg.getResourceFile_asB64()
|
|
9984
10160
|
};
|
|
9985
10161
|
|
|
9986
10162
|
if (includeInstance) {
|
|
@@ -10250,10 +10426,10 @@ proto.ondewo.nlu.GetModelStatusesRequest.prototype.toObject = function(opt_inclu
|
|
|
10250
10426
|
*/
|
|
10251
10427
|
proto.ondewo.nlu.GetModelStatusesRequest.toObject = function(includeInstance, msg) {
|
|
10252
10428
|
var f, obj = {
|
|
10253
|
-
|
|
10254
|
-
|
|
10255
|
-
|
|
10256
|
-
|
|
10429
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
10430
|
+
cacheVersion: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
10431
|
+
languageCode: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
10432
|
+
modelName: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
10257
10433
|
};
|
|
10258
10434
|
|
|
10259
10435
|
if (includeInstance) {
|
|
@@ -10470,12 +10646,12 @@ proto.ondewo.nlu.ModelStatus.prototype.toObject = function(opt_includeInstance)
|
|
|
10470
10646
|
*/
|
|
10471
10647
|
proto.ondewo.nlu.ModelStatus.toObject = function(includeInstance, msg) {
|
|
10472
10648
|
var f, obj = {
|
|
10473
|
-
|
|
10474
|
-
|
|
10475
|
-
|
|
10476
|
-
|
|
10477
|
-
|
|
10478
|
-
|
|
10649
|
+
cacheVersion: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
10650
|
+
languageCode: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
10651
|
+
modelName: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
10652
|
+
statusSetTime: (f = msg.getStatusSetTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
10653
|
+
config: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
10654
|
+
status: jspb.Message.getFieldWithDefault(msg, 6, 0)
|
|
10479
10655
|
};
|
|
10480
10656
|
|
|
10481
10657
|
if (includeInstance) {
|
|
@@ -10791,7 +10967,7 @@ proto.ondewo.nlu.GetModelStatusesResponse.prototype.toObject = function(opt_incl
|
|
|
10791
10967
|
*/
|
|
10792
10968
|
proto.ondewo.nlu.GetModelStatusesResponse.toObject = function(includeInstance, msg) {
|
|
10793
10969
|
var f, obj = {
|
|
10794
|
-
|
|
10970
|
+
modelStatusesList: jspb.Message.toObjectList(msg.getModelStatusesList(),
|
|
10795
10971
|
proto.ondewo.nlu.ModelStatus.toObject, includeInstance)
|
|
10796
10972
|
};
|
|
10797
10973
|
|
|
@@ -10944,13 +11120,13 @@ proto.ondewo.nlu.CustomPlatformInfo.prototype.toObject = function(opt_includeIns
|
|
|
10944
11120
|
*/
|
|
10945
11121
|
proto.ondewo.nlu.CustomPlatformInfo.toObject = function(includeInstance, msg) {
|
|
10946
11122
|
var f, obj = {
|
|
10947
|
-
|
|
10948
|
-
|
|
10949
|
-
|
|
10950
|
-
|
|
10951
|
-
|
|
10952
|
-
|
|
10953
|
-
|
|
11123
|
+
platform: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
11124
|
+
displayName: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
11125
|
+
position: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
11126
|
+
createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
11127
|
+
modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
11128
|
+
createdBy: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
11129
|
+
modifiedBy: jspb.Message.getFieldWithDefault(msg, 7, "")
|
|
10954
11130
|
};
|
|
10955
11131
|
|
|
10956
11132
|
if (includeInstance) {
|
|
@@ -11296,7 +11472,7 @@ proto.ondewo.nlu.GetPlatformMappingRequest.prototype.toObject = function(opt_inc
|
|
|
11296
11472
|
*/
|
|
11297
11473
|
proto.ondewo.nlu.GetPlatformMappingRequest.toObject = function(includeInstance, msg) {
|
|
11298
11474
|
var f, obj = {
|
|
11299
|
-
|
|
11475
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
11300
11476
|
};
|
|
11301
11477
|
|
|
11302
11478
|
if (includeInstance) {
|
|
@@ -11433,8 +11609,8 @@ proto.ondewo.nlu.PlatformMapping.prototype.toObject = function(opt_includeInstan
|
|
|
11433
11609
|
*/
|
|
11434
11610
|
proto.ondewo.nlu.PlatformMapping.toObject = function(includeInstance, msg) {
|
|
11435
11611
|
var f, obj = {
|
|
11436
|
-
|
|
11437
|
-
|
|
11612
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
11613
|
+
platformInfoList: jspb.Message.toObjectList(msg.getPlatformInfoList(),
|
|
11438
11614
|
proto.ondewo.nlu.CustomPlatformInfo.toObject, includeInstance)
|
|
11439
11615
|
};
|
|
11440
11616
|
|
|
@@ -11616,10 +11792,10 @@ proto.ondewo.nlu.FullTextSearchRequest.prototype.toObject = function(opt_include
|
|
|
11616
11792
|
*/
|
|
11617
11793
|
proto.ondewo.nlu.FullTextSearchRequest.toObject = function(includeInstance, msg) {
|
|
11618
11794
|
var f, obj = {
|
|
11619
|
-
|
|
11620
|
-
|
|
11621
|
-
|
|
11622
|
-
|
|
11795
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
11796
|
+
languageCode: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
11797
|
+
term: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
11798
|
+
pageToken: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
11623
11799
|
};
|
|
11624
11800
|
|
|
11625
11801
|
if (includeInstance) {
|
|
@@ -11860,14 +12036,14 @@ proto.ondewo.nlu.FullTextSearchResponseEntityType.prototype.toObject = function(
|
|
|
11860
12036
|
*/
|
|
11861
12037
|
proto.ondewo.nlu.FullTextSearchResponseEntityType.toObject = function(includeInstance, msg) {
|
|
11862
12038
|
var f, obj = {
|
|
11863
|
-
|
|
11864
|
-
|
|
11865
|
-
|
|
12039
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
12040
|
+
languageCode: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
12041
|
+
entityTypeResultsList: jspb.Message.toObjectList(msg.getEntityTypeResultsList(),
|
|
11866
12042
|
proto.ondewo.nlu.FullTextSearchResponseEntityType.EntityTypeSearchResult.toObject, includeInstance),
|
|
11867
|
-
|
|
11868
|
-
|
|
11869
|
-
|
|
11870
|
-
|
|
12043
|
+
term: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
12044
|
+
elasticQuery: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
12045
|
+
time: jspb.Message.getFloatingPointFieldWithDefault(msg, 6, 0.0),
|
|
12046
|
+
nextPageToken: jspb.Message.getFieldWithDefault(msg, 7, "")
|
|
11871
12047
|
};
|
|
11872
12048
|
|
|
11873
12049
|
if (includeInstance) {
|
|
@@ -12047,13 +12223,13 @@ proto.ondewo.nlu.FullTextSearchResponseEntityType.EntityTypeSearchResult.prototy
|
|
|
12047
12223
|
*/
|
|
12048
12224
|
proto.ondewo.nlu.FullTextSearchResponseEntityType.EntityTypeSearchResult.toObject = function(includeInstance, msg) {
|
|
12049
12225
|
var f, obj = {
|
|
12050
|
-
|
|
12051
|
-
|
|
12052
|
-
|
|
12053
|
-
|
|
12054
|
-
|
|
12055
|
-
|
|
12056
|
-
|
|
12226
|
+
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
12227
|
+
displayName: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
12228
|
+
language: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
12229
|
+
createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
12230
|
+
modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
12231
|
+
createdBy: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
12232
|
+
modifiedBy: jspb.Message.getFieldWithDefault(msg, 7, "")
|
|
12057
12233
|
};
|
|
12058
12234
|
|
|
12059
12235
|
if (includeInstance) {
|
|
@@ -12552,14 +12728,14 @@ proto.ondewo.nlu.FullTextSearchResponseEntity.prototype.toObject = function(opt_
|
|
|
12552
12728
|
*/
|
|
12553
12729
|
proto.ondewo.nlu.FullTextSearchResponseEntity.toObject = function(includeInstance, msg) {
|
|
12554
12730
|
var f, obj = {
|
|
12555
|
-
|
|
12556
|
-
|
|
12557
|
-
|
|
12731
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
12732
|
+
languageCode: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
12733
|
+
entityResultsList: jspb.Message.toObjectList(msg.getEntityResultsList(),
|
|
12558
12734
|
proto.ondewo.nlu.FullTextSearchResponseEntity.EntitySearchResult.toObject, includeInstance),
|
|
12559
|
-
|
|
12560
|
-
|
|
12561
|
-
|
|
12562
|
-
|
|
12735
|
+
term: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
12736
|
+
elasticQuery: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
12737
|
+
time: jspb.Message.getFloatingPointFieldWithDefault(msg, 6, 0.0),
|
|
12738
|
+
nextPageToken: jspb.Message.getFieldWithDefault(msg, 7, "")
|
|
12563
12739
|
};
|
|
12564
12740
|
|
|
12565
12741
|
if (includeInstance) {
|
|
@@ -12739,15 +12915,15 @@ proto.ondewo.nlu.FullTextSearchResponseEntity.EntitySearchResult.prototype.toObj
|
|
|
12739
12915
|
*/
|
|
12740
12916
|
proto.ondewo.nlu.FullTextSearchResponseEntity.EntitySearchResult.toObject = function(includeInstance, msg) {
|
|
12741
12917
|
var f, obj = {
|
|
12742
|
-
|
|
12743
|
-
|
|
12744
|
-
|
|
12745
|
-
|
|
12746
|
-
|
|
12747
|
-
|
|
12748
|
-
|
|
12749
|
-
|
|
12750
|
-
|
|
12918
|
+
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
12919
|
+
displayName: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
12920
|
+
entityTypeName: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
12921
|
+
entityTypeDisplayName: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
12922
|
+
language: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
12923
|
+
createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
12924
|
+
modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
12925
|
+
createdBy: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
12926
|
+
modifiedBy: jspb.Message.getFieldWithDefault(msg, 9, "")
|
|
12751
12927
|
};
|
|
12752
12928
|
|
|
12753
12929
|
if (includeInstance) {
|
|
@@ -13304,14 +13480,14 @@ proto.ondewo.nlu.FullTextSearchResponseEntitySynonym.prototype.toObject = functi
|
|
|
13304
13480
|
*/
|
|
13305
13481
|
proto.ondewo.nlu.FullTextSearchResponseEntitySynonym.toObject = function(includeInstance, msg) {
|
|
13306
13482
|
var f, obj = {
|
|
13307
|
-
|
|
13308
|
-
|
|
13309
|
-
|
|
13483
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
13484
|
+
languageCode: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
13485
|
+
entitySynonymResultsList: jspb.Message.toObjectList(msg.getEntitySynonymResultsList(),
|
|
13310
13486
|
proto.ondewo.nlu.FullTextSearchResponseEntitySynonym.EntitySynonymSearchResult.toObject, includeInstance),
|
|
13311
|
-
|
|
13312
|
-
|
|
13313
|
-
|
|
13314
|
-
|
|
13487
|
+
term: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
13488
|
+
elasticQuery: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
13489
|
+
time: jspb.Message.getFloatingPointFieldWithDefault(msg, 6, 0.0),
|
|
13490
|
+
nextPageToken: jspb.Message.getFieldWithDefault(msg, 7, "")
|
|
13315
13491
|
};
|
|
13316
13492
|
|
|
13317
13493
|
if (includeInstance) {
|
|
@@ -13491,17 +13667,17 @@ proto.ondewo.nlu.FullTextSearchResponseEntitySynonym.EntitySynonymSearchResult.p
|
|
|
13491
13667
|
*/
|
|
13492
13668
|
proto.ondewo.nlu.FullTextSearchResponseEntitySynonym.EntitySynonymSearchResult.toObject = function(includeInstance, msg) {
|
|
13493
13669
|
var f, obj = {
|
|
13494
|
-
|
|
13495
|
-
|
|
13496
|
-
|
|
13497
|
-
|
|
13498
|
-
|
|
13499
|
-
|
|
13500
|
-
|
|
13501
|
-
|
|
13502
|
-
|
|
13503
|
-
|
|
13504
|
-
|
|
13670
|
+
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
13671
|
+
displayName: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
13672
|
+
entityTypeName: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
13673
|
+
entityTypeDisplayName: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
13674
|
+
entityName: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
13675
|
+
entityDisplayName: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
13676
|
+
language: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
13677
|
+
createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
13678
|
+
modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
13679
|
+
createdBy: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
13680
|
+
modifiedBy: jspb.Message.getFieldWithDefault(msg, 11, "")
|
|
13505
13681
|
};
|
|
13506
13682
|
|
|
13507
13683
|
if (includeInstance) {
|
|
@@ -14116,14 +14292,14 @@ proto.ondewo.nlu.FullTextSearchResponseIntent.prototype.toObject = function(opt_
|
|
|
14116
14292
|
*/
|
|
14117
14293
|
proto.ondewo.nlu.FullTextSearchResponseIntent.toObject = function(includeInstance, msg) {
|
|
14118
14294
|
var f, obj = {
|
|
14119
|
-
|
|
14120
|
-
|
|
14121
|
-
|
|
14295
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
14296
|
+
languageCode: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
14297
|
+
intentResultsList: jspb.Message.toObjectList(msg.getIntentResultsList(),
|
|
14122
14298
|
proto.ondewo.nlu.FullTextSearchResponseIntent.IntentSearchResult.toObject, includeInstance),
|
|
14123
|
-
|
|
14124
|
-
|
|
14125
|
-
|
|
14126
|
-
|
|
14299
|
+
term: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
14300
|
+
elasticQuery: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
14301
|
+
time: jspb.Message.getFloatingPointFieldWithDefault(msg, 6, 0.0),
|
|
14302
|
+
nextPageToken: jspb.Message.getFieldWithDefault(msg, 7, "")
|
|
14127
14303
|
};
|
|
14128
14304
|
|
|
14129
14305
|
if (includeInstance) {
|
|
@@ -14310,15 +14486,15 @@ proto.ondewo.nlu.FullTextSearchResponseIntent.IntentSearchResult.prototype.toObj
|
|
|
14310
14486
|
*/
|
|
14311
14487
|
proto.ondewo.nlu.FullTextSearchResponseIntent.IntentSearchResult.toObject = function(includeInstance, msg) {
|
|
14312
14488
|
var f, obj = {
|
|
14313
|
-
|
|
14314
|
-
|
|
14315
|
-
|
|
14316
|
-
|
|
14317
|
-
|
|
14318
|
-
|
|
14319
|
-
|
|
14320
|
-
|
|
14321
|
-
|
|
14489
|
+
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
14490
|
+
displayName: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
14491
|
+
domainName: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
14492
|
+
tagsList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f,
|
|
14493
|
+
language: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
14494
|
+
createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
14495
|
+
modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
14496
|
+
createdBy: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
14497
|
+
modifiedBy: jspb.Message.getFieldWithDefault(msg, 9, "")
|
|
14322
14498
|
};
|
|
14323
14499
|
|
|
14324
14500
|
if (includeInstance) {
|
|
@@ -14894,14 +15070,14 @@ proto.ondewo.nlu.FullTextSearchResponseIntentContextIn.prototype.toObject = func
|
|
|
14894
15070
|
*/
|
|
14895
15071
|
proto.ondewo.nlu.FullTextSearchResponseIntentContextIn.toObject = function(includeInstance, msg) {
|
|
14896
15072
|
var f, obj = {
|
|
14897
|
-
|
|
14898
|
-
|
|
14899
|
-
|
|
15073
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
15074
|
+
languageCode: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
15075
|
+
intentContextInResultsList: jspb.Message.toObjectList(msg.getIntentContextInResultsList(),
|
|
14900
15076
|
proto.ondewo.nlu.FullTextSearchResponseIntentContextIn.IntentContextInSearchResult.toObject, includeInstance),
|
|
14901
|
-
|
|
14902
|
-
|
|
14903
|
-
|
|
14904
|
-
|
|
15077
|
+
term: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
15078
|
+
elasticQuery: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
15079
|
+
time: jspb.Message.getFloatingPointFieldWithDefault(msg, 6, 0.0),
|
|
15080
|
+
nextPageToken: jspb.Message.getFieldWithDefault(msg, 7, "")
|
|
14905
15081
|
};
|
|
14906
15082
|
|
|
14907
15083
|
if (includeInstance) {
|
|
@@ -15088,15 +15264,15 @@ proto.ondewo.nlu.FullTextSearchResponseIntentContextIn.IntentContextInSearchResu
|
|
|
15088
15264
|
*/
|
|
15089
15265
|
proto.ondewo.nlu.FullTextSearchResponseIntentContextIn.IntentContextInSearchResult.toObject = function(includeInstance, msg) {
|
|
15090
15266
|
var f, obj = {
|
|
15091
|
-
|
|
15092
|
-
|
|
15093
|
-
|
|
15094
|
-
|
|
15095
|
-
|
|
15096
|
-
|
|
15097
|
-
|
|
15098
|
-
|
|
15099
|
-
|
|
15267
|
+
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
15268
|
+
intentName: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
15269
|
+
intentDisplayName: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
15270
|
+
tagsList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f,
|
|
15271
|
+
language: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
15272
|
+
createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
15273
|
+
modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
15274
|
+
createdBy: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
15275
|
+
modifiedBy: jspb.Message.getFieldWithDefault(msg, 9, "")
|
|
15100
15276
|
};
|
|
15101
15277
|
|
|
15102
15278
|
if (includeInstance) {
|
|
@@ -15672,14 +15848,14 @@ proto.ondewo.nlu.FullTextSearchResponseIntentContextOut.prototype.toObject = fun
|
|
|
15672
15848
|
*/
|
|
15673
15849
|
proto.ondewo.nlu.FullTextSearchResponseIntentContextOut.toObject = function(includeInstance, msg) {
|
|
15674
15850
|
var f, obj = {
|
|
15675
|
-
|
|
15676
|
-
|
|
15677
|
-
|
|
15851
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
15852
|
+
languageCode: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
15853
|
+
intentContextOutResultsList: jspb.Message.toObjectList(msg.getIntentContextOutResultsList(),
|
|
15678
15854
|
proto.ondewo.nlu.FullTextSearchResponseIntentContextOut.IntentContextOutSearchResult.toObject, includeInstance),
|
|
15679
|
-
|
|
15680
|
-
|
|
15681
|
-
|
|
15682
|
-
|
|
15855
|
+
term: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
15856
|
+
elasticQuery: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
15857
|
+
time: jspb.Message.getFloatingPointFieldWithDefault(msg, 6, 0.0),
|
|
15858
|
+
nextPageToken: jspb.Message.getFieldWithDefault(msg, 7, "")
|
|
15683
15859
|
};
|
|
15684
15860
|
|
|
15685
15861
|
if (includeInstance) {
|
|
@@ -15866,15 +16042,15 @@ proto.ondewo.nlu.FullTextSearchResponseIntentContextOut.IntentContextOutSearchRe
|
|
|
15866
16042
|
*/
|
|
15867
16043
|
proto.ondewo.nlu.FullTextSearchResponseIntentContextOut.IntentContextOutSearchResult.toObject = function(includeInstance, msg) {
|
|
15868
16044
|
var f, obj = {
|
|
15869
|
-
|
|
15870
|
-
|
|
15871
|
-
|
|
15872
|
-
|
|
15873
|
-
|
|
15874
|
-
|
|
15875
|
-
|
|
15876
|
-
|
|
15877
|
-
|
|
16045
|
+
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
16046
|
+
intentName: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
16047
|
+
intentDisplayName: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
16048
|
+
tagsList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f,
|
|
16049
|
+
language: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
16050
|
+
createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
16051
|
+
modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
16052
|
+
createdBy: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
16053
|
+
modifiedBy: jspb.Message.getFieldWithDefault(msg, 9, "")
|
|
15878
16054
|
};
|
|
15879
16055
|
|
|
15880
16056
|
if (includeInstance) {
|
|
@@ -16450,14 +16626,14 @@ proto.ondewo.nlu.FullTextSearchResponseIntentUsersays.prototype.toObject = funct
|
|
|
16450
16626
|
*/
|
|
16451
16627
|
proto.ondewo.nlu.FullTextSearchResponseIntentUsersays.toObject = function(includeInstance, msg) {
|
|
16452
16628
|
var f, obj = {
|
|
16453
|
-
|
|
16454
|
-
|
|
16455
|
-
|
|
16629
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
16630
|
+
languageCode: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
16631
|
+
intentUsersaysResultsList: jspb.Message.toObjectList(msg.getIntentUsersaysResultsList(),
|
|
16456
16632
|
proto.ondewo.nlu.FullTextSearchResponseIntentUsersays.IntentUsersaysSearchResult.toObject, includeInstance),
|
|
16457
|
-
|
|
16458
|
-
|
|
16459
|
-
|
|
16460
|
-
|
|
16633
|
+
term: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
16634
|
+
elasticQuery: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
16635
|
+
time: jspb.Message.getFloatingPointFieldWithDefault(msg, 6, 0.0),
|
|
16636
|
+
nextPageToken: jspb.Message.getFieldWithDefault(msg, 7, "")
|
|
16461
16637
|
};
|
|
16462
16638
|
|
|
16463
16639
|
if (includeInstance) {
|
|
@@ -16644,19 +16820,19 @@ proto.ondewo.nlu.FullTextSearchResponseIntentUsersays.IntentUsersaysSearchResult
|
|
|
16644
16820
|
*/
|
|
16645
16821
|
proto.ondewo.nlu.FullTextSearchResponseIntentUsersays.IntentUsersaysSearchResult.toObject = function(includeInstance, msg) {
|
|
16646
16822
|
var f, obj = {
|
|
16647
|
-
|
|
16648
|
-
|
|
16649
|
-
|
|
16650
|
-
|
|
16651
|
-
|
|
16652
|
-
|
|
16653
|
-
|
|
16654
|
-
|
|
16655
|
-
|
|
16656
|
-
|
|
16657
|
-
|
|
16658
|
-
|
|
16659
|
-
|
|
16823
|
+
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
16824
|
+
text: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
16825
|
+
textAsEntityTypes: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
16826
|
+
textAsEntityValues: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
16827
|
+
type: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
16828
|
+
intentName: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
16829
|
+
intentDisplayName: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
16830
|
+
tagsList: (f = jspb.Message.getRepeatedField(msg, 8)) == null ? undefined : f,
|
|
16831
|
+
language: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
16832
|
+
createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
16833
|
+
modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
16834
|
+
createdBy: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
16835
|
+
modifiedBy: jspb.Message.getFieldWithDefault(msg, 13, "")
|
|
16660
16836
|
};
|
|
16661
16837
|
|
|
16662
16838
|
if (includeInstance) {
|
|
@@ -17348,14 +17524,14 @@ proto.ondewo.nlu.FullTextSearchResponseIntentTags.prototype.toObject = function(
|
|
|
17348
17524
|
*/
|
|
17349
17525
|
proto.ondewo.nlu.FullTextSearchResponseIntentTags.toObject = function(includeInstance, msg) {
|
|
17350
17526
|
var f, obj = {
|
|
17351
|
-
|
|
17352
|
-
|
|
17353
|
-
|
|
17527
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
17528
|
+
languageCode: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
17529
|
+
intentTagsResultsList: jspb.Message.toObjectList(msg.getIntentTagsResultsList(),
|
|
17354
17530
|
proto.ondewo.nlu.FullTextSearchResponseIntentTags.IntentTagsSearchResult.toObject, includeInstance),
|
|
17355
|
-
|
|
17356
|
-
|
|
17357
|
-
|
|
17358
|
-
|
|
17531
|
+
term: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
17532
|
+
elasticQuery: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
17533
|
+
time: jspb.Message.getFloatingPointFieldWithDefault(msg, 6, 0.0),
|
|
17534
|
+
nextPageToken: jspb.Message.getFieldWithDefault(msg, 7, "")
|
|
17359
17535
|
};
|
|
17360
17536
|
|
|
17361
17537
|
if (includeInstance) {
|
|
@@ -17542,16 +17718,16 @@ proto.ondewo.nlu.FullTextSearchResponseIntentTags.IntentTagsSearchResult.prototy
|
|
|
17542
17718
|
*/
|
|
17543
17719
|
proto.ondewo.nlu.FullTextSearchResponseIntentTags.IntentTagsSearchResult.toObject = function(includeInstance, msg) {
|
|
17544
17720
|
var f, obj = {
|
|
17545
|
-
|
|
17546
|
-
|
|
17547
|
-
|
|
17548
|
-
|
|
17549
|
-
|
|
17550
|
-
|
|
17551
|
-
|
|
17552
|
-
|
|
17553
|
-
|
|
17554
|
-
|
|
17721
|
+
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
17722
|
+
text: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
17723
|
+
intentName: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
17724
|
+
intentDisplayName: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
17725
|
+
tagsList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f,
|
|
17726
|
+
language: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
17727
|
+
createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
17728
|
+
modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
17729
|
+
createdBy: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
17730
|
+
modifiedBy: jspb.Message.getFieldWithDefault(msg, 10, "")
|
|
17555
17731
|
};
|
|
17556
17732
|
|
|
17557
17733
|
if (includeInstance) {
|
|
@@ -18156,14 +18332,14 @@ proto.ondewo.nlu.FullTextSearchResponseIntentResponse.prototype.toObject = funct
|
|
|
18156
18332
|
*/
|
|
18157
18333
|
proto.ondewo.nlu.FullTextSearchResponseIntentResponse.toObject = function(includeInstance, msg) {
|
|
18158
18334
|
var f, obj = {
|
|
18159
|
-
|
|
18160
|
-
|
|
18161
|
-
|
|
18335
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
18336
|
+
languageCode: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
18337
|
+
intentResponseResultsList: jspb.Message.toObjectList(msg.getIntentResponseResultsList(),
|
|
18162
18338
|
proto.ondewo.nlu.FullTextSearchResponseIntentResponse.IntentResponseSearchResult.toObject, includeInstance),
|
|
18163
|
-
|
|
18164
|
-
|
|
18165
|
-
|
|
18166
|
-
|
|
18339
|
+
term: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
18340
|
+
elasticQuery: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
18341
|
+
time: jspb.Message.getFloatingPointFieldWithDefault(msg, 6, 0.0),
|
|
18342
|
+
nextPageToken: jspb.Message.getFieldWithDefault(msg, 7, "")
|
|
18167
18343
|
};
|
|
18168
18344
|
|
|
18169
18345
|
if (includeInstance) {
|
|
@@ -18350,17 +18526,17 @@ proto.ondewo.nlu.FullTextSearchResponseIntentResponse.IntentResponseSearchResult
|
|
|
18350
18526
|
*/
|
|
18351
18527
|
proto.ondewo.nlu.FullTextSearchResponseIntentResponse.IntentResponseSearchResult.toObject = function(includeInstance, msg) {
|
|
18352
18528
|
var f, obj = {
|
|
18353
|
-
|
|
18354
|
-
|
|
18355
|
-
|
|
18356
|
-
|
|
18357
|
-
|
|
18358
|
-
|
|
18359
|
-
|
|
18360
|
-
|
|
18361
|
-
|
|
18362
|
-
|
|
18363
|
-
|
|
18529
|
+
text: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
18530
|
+
platform: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
18531
|
+
responseType: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
18532
|
+
intentName: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
18533
|
+
intentDisplayName: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
18534
|
+
tagsList: (f = jspb.Message.getRepeatedField(msg, 6)) == null ? undefined : f,
|
|
18535
|
+
language: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
18536
|
+
createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
18537
|
+
modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
18538
|
+
createdBy: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
18539
|
+
modifiedBy: jspb.Message.getFieldWithDefault(msg, 11, "")
|
|
18364
18540
|
};
|
|
18365
18541
|
|
|
18366
18542
|
if (includeInstance) {
|
|
@@ -18994,14 +19170,14 @@ proto.ondewo.nlu.FullTextSearchResponseIntentParameters.prototype.toObject = fun
|
|
|
18994
19170
|
*/
|
|
18995
19171
|
proto.ondewo.nlu.FullTextSearchResponseIntentParameters.toObject = function(includeInstance, msg) {
|
|
18996
19172
|
var f, obj = {
|
|
18997
|
-
|
|
18998
|
-
|
|
18999
|
-
|
|
19173
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
19174
|
+
languageCode: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
19175
|
+
intentParametersResultsList: jspb.Message.toObjectList(msg.getIntentParametersResultsList(),
|
|
19000
19176
|
proto.ondewo.nlu.FullTextSearchResponseIntentParameters.IntentParametersSearchResult.toObject, includeInstance),
|
|
19001
|
-
|
|
19002
|
-
|
|
19003
|
-
|
|
19004
|
-
|
|
19177
|
+
term: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
19178
|
+
elasticQuery: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
19179
|
+
time: jspb.Message.getFloatingPointFieldWithDefault(msg, 6, 0.0),
|
|
19180
|
+
nextPageToken: jspb.Message.getFieldWithDefault(msg, 7, "")
|
|
19005
19181
|
};
|
|
19006
19182
|
|
|
19007
19183
|
if (includeInstance) {
|
|
@@ -19188,16 +19364,16 @@ proto.ondewo.nlu.FullTextSearchResponseIntentParameters.IntentParametersSearchRe
|
|
|
19188
19364
|
*/
|
|
19189
19365
|
proto.ondewo.nlu.FullTextSearchResponseIntentParameters.IntentParametersSearchResult.toObject = function(includeInstance, msg) {
|
|
19190
19366
|
var f, obj = {
|
|
19191
|
-
|
|
19192
|
-
|
|
19193
|
-
|
|
19194
|
-
|
|
19195
|
-
|
|
19196
|
-
|
|
19197
|
-
|
|
19198
|
-
|
|
19199
|
-
|
|
19200
|
-
|
|
19367
|
+
parameterName: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
19368
|
+
parameterDisplayName: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
19369
|
+
intentName: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
19370
|
+
intentDisplayName: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
19371
|
+
tagsList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f,
|
|
19372
|
+
language: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
19373
|
+
createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
19374
|
+
modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
19375
|
+
createdBy: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
19376
|
+
modifiedBy: jspb.Message.getFieldWithDefault(msg, 10, "")
|
|
19201
19377
|
};
|
|
19202
19378
|
|
|
19203
19379
|
if (includeInstance) {
|
|
@@ -19802,9 +19978,9 @@ proto.ondewo.nlu.ReindexAgentRequest.prototype.toObject = function(opt_includeIn
|
|
|
19802
19978
|
*/
|
|
19803
19979
|
proto.ondewo.nlu.ReindexAgentRequest.toObject = function(includeInstance, msg) {
|
|
19804
19980
|
var f, obj = {
|
|
19805
|
-
|
|
19806
|
-
|
|
19807
|
-
|
|
19981
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
19982
|
+
branchName: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
19983
|
+
indexTypesList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f
|
|
19808
19984
|
};
|
|
19809
19985
|
|
|
19810
19986
|
if (includeInstance) {
|