@ondewo/nlu-client-typescript 5.0.0 → 6.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api/google/api/annotations_pb.d.ts +2 -2
- package/api/google/api/annotations_pb.js +7 -1
- package/api/google/protobuf/any_pb.js +9 -3
- package/api/google/protobuf/empty_pb.js +7 -1
- package/api/google/protobuf/field_mask_pb.js +8 -2
- package/api/google/protobuf/struct_pb.js +17 -10
- package/api/google/protobuf/timestamp_pb.js +9 -3
- package/api/google/rpc/status_pb.d.ts +1 -1
- package/api/google/rpc/status_pb.js +10 -4
- package/api/google/type/latlng_pb.js +9 -3
- package/api/ondewo/nlu/agent_grpc_web_pb.d.ts +15 -64
- package/api/ondewo/nlu/agent_grpc_web_pb.js +68 -310
- package/api/ondewo/nlu/agent_pb.d.ts +31 -12
- package/api/ondewo/nlu/agent_pb.js +507 -326
- package/api/ondewo/nlu/aiservices_grpc_web_pb.d.ts +35 -1
- package/api/ondewo/nlu/aiservices_grpc_web_pb.js +191 -3
- package/api/ondewo/nlu/aiservices_pb.d.ts +190 -3
- package/api/ondewo/nlu/aiservices_pb.js +1715 -135
- package/api/ondewo/nlu/ccai_project_grpc_web_pb.d.ts +13 -1
- package/api/ondewo/nlu/ccai_project_grpc_web_pb.js +68 -3
- package/api/ondewo/nlu/ccai_project_pb.d.ts +100 -5
- package/api/ondewo/nlu/ccai_project_pb.js +448 -67
- package/api/ondewo/nlu/common_pb.d.ts +27 -27
- package/api/ondewo/nlu/common_pb.js +100 -94
- package/api/ondewo/nlu/context_grpc_web_pb.d.ts +2 -2
- package/api/ondewo/nlu/context_grpc_web_pb.js +7 -3
- package/api/ondewo/nlu/context_pb.d.ts +4 -4
- package/api/ondewo/nlu/context_pb.js +36 -29
- package/api/ondewo/nlu/entity_type_grpc_web_pb.d.ts +3 -3
- package/api/ondewo/nlu/entity_type_grpc_web_pb.js +7 -3
- package/api/ondewo/nlu/entity_type_pb.d.ts +6 -6
- package/api/ondewo/nlu/entity_type_pb.js +88 -82
- package/api/ondewo/nlu/intent_grpc_web_pb.d.ts +3 -3
- package/api/ondewo/nlu/intent_grpc_web_pb.js +7 -3
- package/api/ondewo/nlu/intent_pb.d.ts +8 -8
- package/api/ondewo/nlu/intent_pb.js +251 -245
- package/api/ondewo/nlu/operation_metadata_pb.d.ts +1 -1
- package/api/ondewo/nlu/operation_metadata_pb.js +29 -23
- package/api/ondewo/nlu/operations_grpc_web_pb.d.ts +2 -2
- package/api/ondewo/nlu/operations_grpc_web_pb.js +7 -3
- package/api/ondewo/nlu/operations_pb.d.ts +6 -6
- package/api/ondewo/nlu/operations_pb.js +28 -22
- package/api/ondewo/nlu/project_role_grpc_web_pb.d.ts +2 -2
- package/api/ondewo/nlu/project_role_grpc_web_pb.js +7 -3
- package/api/ondewo/nlu/project_role_pb.d.ts +4 -4
- package/api/ondewo/nlu/project_role_pb.js +32 -26
- package/api/ondewo/nlu/project_statistics_grpc_web_pb.d.ts +2 -2
- package/api/ondewo/nlu/project_statistics_grpc_web_pb.js +7 -3
- package/api/ondewo/nlu/project_statistics_pb.d.ts +4 -4
- package/api/ondewo/nlu/project_statistics_pb.js +14 -8
- package/api/ondewo/nlu/server_statistics_grpc_web_pb.d.ts +3 -3
- package/api/ondewo/nlu/server_statistics_grpc_web_pb.js +7 -3
- package/api/ondewo/nlu/server_statistics_pb.d.ts +3 -3
- package/api/ondewo/nlu/server_statistics_pb.js +8 -2
- package/api/ondewo/nlu/session_grpc_web_pb.d.ts +46 -10
- package/api/ondewo/nlu/session_grpc_web_pb.js +209 -22
- package/api/ondewo/nlu/session_pb.d.ts +324 -24
- package/api/ondewo/nlu/session_pb.js +8251 -5782
- package/api/ondewo/nlu/user_grpc_web_pb.d.ts +3 -3
- package/api/ondewo/nlu/user_grpc_web_pb.js +7 -3
- package/api/ondewo/nlu/user_pb.d.ts +12 -6
- package/api/ondewo/nlu/user_pb.js +131 -73
- package/api/ondewo/nlu/utility_grpc_web_pb.d.ts +1 -1
- package/api/ondewo/nlu/utility_grpc_web_pb.js +7 -3
- package/api/ondewo/nlu/utility_pb.d.ts +2 -2
- package/api/ondewo/nlu/utility_pb.js +86 -80
- package/api/ondewo/nlu/webhook_grpc_web_pb.d.ts +2 -2
- package/api/ondewo/nlu/webhook_grpc_web_pb.js +7 -3
- package/api/ondewo/nlu/webhook_pb.d.ts +8 -8
- package/api/ondewo/nlu/webhook_pb.js +38 -32
- package/api/ondewo/qa/qa_grpc_web_pb.d.ts +2 -2
- package/api/ondewo/qa/qa_grpc_web_pb.js +7 -3
- package/api/ondewo/qa/qa_pb.d.ts +3 -3
- package/api/ondewo/qa/qa_pb.js +31 -25
- package/package.json +36 -16
- package/public-api.js +40 -0
|
@@ -13,7 +13,13 @@
|
|
|
13
13
|
|
|
14
14
|
var jspb = require('google-protobuf');
|
|
15
15
|
var goog = jspb;
|
|
16
|
-
var global =
|
|
16
|
+
var global =
|
|
17
|
+
(typeof globalThis !== 'undefined' && globalThis) ||
|
|
18
|
+
(typeof window !== 'undefined' && window) ||
|
|
19
|
+
(typeof global !== 'undefined' && global) ||
|
|
20
|
+
(typeof self !== 'undefined' && self) ||
|
|
21
|
+
(function () { return this; }).call(null) ||
|
|
22
|
+
Function('return this')();
|
|
17
23
|
|
|
18
24
|
var google_api_annotations_pb = require('../../google/api/annotations_pb.js');
|
|
19
25
|
goog.object.extend(proto, google_api_annotations_pb);
|
|
@@ -37,8 +43,6 @@ var ondewo_nlu_operations_pb = require('../../ondewo/nlu/operations_pb.js');
|
|
|
37
43
|
goog.object.extend(proto, ondewo_nlu_operations_pb);
|
|
38
44
|
var ondewo_nlu_session_pb = require('../../ondewo/nlu/session_pb.js');
|
|
39
45
|
goog.object.extend(proto, ondewo_nlu_session_pb);
|
|
40
|
-
var ondewo_nlu_ccai_project_pb = require('../../ondewo/nlu/ccai_project_pb.js');
|
|
41
|
-
goog.object.extend(proto, ondewo_nlu_ccai_project_pb);
|
|
42
46
|
goog.exportSymbol('proto.ondewo.nlu.AddUserToProjectRequest', null, global);
|
|
43
47
|
goog.exportSymbol('proto.ondewo.nlu.Agent', null, global);
|
|
44
48
|
goog.exportSymbol('proto.ondewo.nlu.AgentOfUserWithOwner', null, global);
|
|
@@ -100,6 +104,7 @@ goog.exportSymbol('proto.ondewo.nlu.ListProjectPermissionsRequest', null, global
|
|
|
100
104
|
goog.exportSymbol('proto.ondewo.nlu.ListProjectPermissionsResponse', null, global);
|
|
101
105
|
goog.exportSymbol('proto.ondewo.nlu.ListUsersInProjectRequest', null, global);
|
|
102
106
|
goog.exportSymbol('proto.ondewo.nlu.ListUsersInProjectResponse', null, global);
|
|
107
|
+
goog.exportSymbol('proto.ondewo.nlu.MigrateAgentRequest', null, global);
|
|
103
108
|
goog.exportSymbol('proto.ondewo.nlu.ModelStatus', null, global);
|
|
104
109
|
goog.exportSymbol('proto.ondewo.nlu.ModelStatus.StatusName', null, global);
|
|
105
110
|
goog.exportSymbol('proto.ondewo.nlu.OptimizeRankingMatchRequest', null, global);
|
|
@@ -559,6 +564,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
559
564
|
*/
|
|
560
565
|
proto.ondewo.nlu.RestoreAgentRequest.displayName = 'proto.ondewo.nlu.RestoreAgentRequest';
|
|
561
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
|
+
}
|
|
562
588
|
/**
|
|
563
589
|
* Generated by JsPbCodeGenerator.
|
|
564
590
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -1564,20 +1590,20 @@ proto.ondewo.nlu.Agent.prototype.toObject = function(opt_includeInstance) {
|
|
|
1564
1590
|
*/
|
|
1565
1591
|
proto.ondewo.nlu.Agent.toObject = function(includeInstance, msg) {
|
|
1566
1592
|
var f, obj = {
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
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, "")
|
|
1581
1607
|
};
|
|
1582
1608
|
|
|
1583
1609
|
if (includeInstance) {
|
|
@@ -2166,8 +2192,8 @@ proto.ondewo.nlu.AgentWithOwner.prototype.toObject = function(opt_includeInstanc
|
|
|
2166
2192
|
*/
|
|
2167
2193
|
proto.ondewo.nlu.AgentWithOwner.toObject = function(includeInstance, msg) {
|
|
2168
2194
|
var f, obj = {
|
|
2169
|
-
|
|
2170
|
-
|
|
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)
|
|
2171
2197
|
};
|
|
2172
2198
|
|
|
2173
2199
|
if (includeInstance) {
|
|
@@ -2368,8 +2394,8 @@ proto.ondewo.nlu.AgentOfUserWithOwner.prototype.toObject = function(opt_includeI
|
|
|
2368
2394
|
*/
|
|
2369
2395
|
proto.ondewo.nlu.AgentOfUserWithOwner.toObject = function(includeInstance, msg) {
|
|
2370
2396
|
var f, obj = {
|
|
2371
|
-
|
|
2372
|
-
|
|
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)
|
|
2373
2399
|
};
|
|
2374
2400
|
|
|
2375
2401
|
if (includeInstance) {
|
|
@@ -2570,8 +2596,8 @@ proto.ondewo.nlu.CreateAgentRequest.prototype.toObject = function(opt_includeIns
|
|
|
2570
2596
|
*/
|
|
2571
2597
|
proto.ondewo.nlu.CreateAgentRequest.toObject = function(includeInstance, msg) {
|
|
2572
2598
|
var f, obj = {
|
|
2573
|
-
|
|
2574
|
-
|
|
2599
|
+
agent: (f = msg.getAgent()) && proto.ondewo.nlu.Agent.toObject(includeInstance, f),
|
|
2600
|
+
agentView: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
|
2575
2601
|
};
|
|
2576
2602
|
|
|
2577
2603
|
if (includeInstance) {
|
|
@@ -2751,9 +2777,9 @@ proto.ondewo.nlu.UpdateAgentRequest.prototype.toObject = function(opt_includeIns
|
|
|
2751
2777
|
*/
|
|
2752
2778
|
proto.ondewo.nlu.UpdateAgentRequest.toObject = function(includeInstance, msg) {
|
|
2753
2779
|
var f, obj = {
|
|
2754
|
-
|
|
2755
|
-
|
|
2756
|
-
|
|
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)
|
|
2757
2783
|
};
|
|
2758
2784
|
|
|
2759
2785
|
if (includeInstance) {
|
|
@@ -2983,7 +3009,7 @@ proto.ondewo.nlu.DeleteAgentRequest.prototype.toObject = function(opt_includeIns
|
|
|
2983
3009
|
*/
|
|
2984
3010
|
proto.ondewo.nlu.DeleteAgentRequest.toObject = function(includeInstance, msg) {
|
|
2985
3011
|
var f, obj = {
|
|
2986
|
-
|
|
3012
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
2987
3013
|
};
|
|
2988
3014
|
|
|
2989
3015
|
if (includeInstance) {
|
|
@@ -3113,8 +3139,8 @@ proto.ondewo.nlu.GetAgentRequest.prototype.toObject = function(opt_includeInstan
|
|
|
3113
3139
|
*/
|
|
3114
3140
|
proto.ondewo.nlu.GetAgentRequest.toObject = function(includeInstance, msg) {
|
|
3115
3141
|
var f, obj = {
|
|
3116
|
-
|
|
3117
|
-
|
|
3142
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
3143
|
+
agentView: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
|
3118
3144
|
};
|
|
3119
3145
|
|
|
3120
3146
|
if (includeInstance) {
|
|
@@ -3273,9 +3299,9 @@ proto.ondewo.nlu.ListAgentsRequest.prototype.toObject = function(opt_includeInst
|
|
|
3273
3299
|
*/
|
|
3274
3300
|
proto.ondewo.nlu.ListAgentsRequest.toObject = function(includeInstance, msg) {
|
|
3275
3301
|
var f, obj = {
|
|
3276
|
-
|
|
3277
|
-
|
|
3278
|
-
|
|
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)
|
|
3279
3305
|
};
|
|
3280
3306
|
|
|
3281
3307
|
if (includeInstance) {
|
|
@@ -3491,9 +3517,9 @@ proto.ondewo.nlu.ListAgentsResponse.prototype.toObject = function(opt_includeIns
|
|
|
3491
3517
|
*/
|
|
3492
3518
|
proto.ondewo.nlu.ListAgentsResponse.toObject = function(includeInstance, msg) {
|
|
3493
3519
|
var f, obj = {
|
|
3494
|
-
|
|
3520
|
+
agentsWithOwnersList: jspb.Message.toObjectList(msg.getAgentsWithOwnersList(),
|
|
3495
3521
|
proto.ondewo.nlu.AgentWithOwner.toObject, includeInstance),
|
|
3496
|
-
|
|
3522
|
+
nextPageToken: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
3497
3523
|
};
|
|
3498
3524
|
|
|
3499
3525
|
if (includeInstance) {
|
|
@@ -3681,9 +3707,9 @@ proto.ondewo.nlu.ListAgentsOfUserResponse.prototype.toObject = function(opt_incl
|
|
|
3681
3707
|
*/
|
|
3682
3708
|
proto.ondewo.nlu.ListAgentsOfUserResponse.toObject = function(includeInstance, msg) {
|
|
3683
3709
|
var f, obj = {
|
|
3684
|
-
|
|
3710
|
+
agentsOfUserWithOwnersList: jspb.Message.toObjectList(msg.getAgentsOfUserWithOwnersList(),
|
|
3685
3711
|
proto.ondewo.nlu.AgentOfUserWithOwner.toObject, includeInstance),
|
|
3686
|
-
|
|
3712
|
+
nextPageToken: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
3687
3713
|
};
|
|
3688
3714
|
|
|
3689
3715
|
if (includeInstance) {
|
|
@@ -3864,9 +3890,9 @@ proto.ondewo.nlu.TrainAgentRequest.prototype.toObject = function(opt_includeInst
|
|
|
3864
3890
|
*/
|
|
3865
3891
|
proto.ondewo.nlu.TrainAgentRequest.toObject = function(includeInstance, msg) {
|
|
3866
3892
|
var f, obj = {
|
|
3867
|
-
|
|
3868
|
-
|
|
3869
|
-
|
|
3893
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
3894
|
+
branch: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
3895
|
+
initiationProtocol: jspb.Message.getFieldWithDefault(msg, 3, 0)
|
|
3870
3896
|
};
|
|
3871
3897
|
|
|
3872
3898
|
if (includeInstance) {
|
|
@@ -4054,8 +4080,8 @@ proto.ondewo.nlu.BuildCacheRequest.prototype.toObject = function(opt_includeInst
|
|
|
4054
4080
|
*/
|
|
4055
4081
|
proto.ondewo.nlu.BuildCacheRequest.toObject = function(includeInstance, msg) {
|
|
4056
4082
|
var f, obj = {
|
|
4057
|
-
|
|
4058
|
-
|
|
4083
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
4084
|
+
branch: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
4059
4085
|
};
|
|
4060
4086
|
|
|
4061
4087
|
if (includeInstance) {
|
|
@@ -4214,9 +4240,9 @@ proto.ondewo.nlu.ExportAgentRequest.prototype.toObject = function(opt_includeIns
|
|
|
4214
4240
|
*/
|
|
4215
4241
|
proto.ondewo.nlu.ExportAgentRequest.toObject = function(includeInstance, msg) {
|
|
4216
4242
|
var f, obj = {
|
|
4217
|
-
|
|
4218
|
-
|
|
4219
|
-
|
|
4243
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
4244
|
+
agentUri: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
4245
|
+
compressionLevel: jspb.Message.getFieldWithDefault(msg, 3, 0)
|
|
4220
4246
|
};
|
|
4221
4247
|
|
|
4222
4248
|
if (includeInstance) {
|
|
@@ -4430,8 +4456,8 @@ proto.ondewo.nlu.ExportAgentResponse.prototype.toObject = function(opt_includeIn
|
|
|
4430
4456
|
*/
|
|
4431
4457
|
proto.ondewo.nlu.ExportAgentResponse.toObject = function(includeInstance, msg) {
|
|
4432
4458
|
var f, obj = {
|
|
4433
|
-
|
|
4434
|
-
|
|
4459
|
+
agentUri: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f,
|
|
4460
|
+
agentContent: msg.getAgentContent_asB64()
|
|
4435
4461
|
};
|
|
4436
4462
|
|
|
4437
4463
|
if (includeInstance) {
|
|
@@ -4650,11 +4676,11 @@ proto.ondewo.nlu.ExportBenchmarkAgentRequest.prototype.toObject = function(opt_i
|
|
|
4650
4676
|
*/
|
|
4651
4677
|
proto.ondewo.nlu.ExportBenchmarkAgentRequest.toObject = function(includeInstance, msg) {
|
|
4652
4678
|
var f, obj = {
|
|
4653
|
-
|
|
4654
|
-
|
|
4655
|
-
|
|
4656
|
-
|
|
4657
|
-
|
|
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)
|
|
4658
4684
|
};
|
|
4659
4685
|
|
|
4660
4686
|
if (includeInstance) {
|
|
@@ -4900,8 +4926,8 @@ proto.ondewo.nlu.ExportBenchmarkAgentResponse.prototype.toObject = function(opt_
|
|
|
4900
4926
|
*/
|
|
4901
4927
|
proto.ondewo.nlu.ExportBenchmarkAgentResponse.toObject = function(includeInstance, msg) {
|
|
4902
4928
|
var f, obj = {
|
|
4903
|
-
|
|
4904
|
-
|
|
4929
|
+
agentContent: msg.getAgentContent_asB64(),
|
|
4930
|
+
trainingPhrasesMap: (f = msg.getTrainingPhrasesMap()) ? f.toObject(includeInstance, proto.ondewo.nlu.ListTrainingPhrasesResponse.toObject) : []
|
|
4905
4931
|
};
|
|
4906
4932
|
|
|
4907
4933
|
if (includeInstance) {
|
|
@@ -5052,7 +5078,8 @@ proto.ondewo.nlu.ExportBenchmarkAgentResponse.prototype.getTrainingPhrasesMap =
|
|
|
5052
5078
|
*/
|
|
5053
5079
|
proto.ondewo.nlu.ExportBenchmarkAgentResponse.prototype.clearTrainingPhrasesMap = function() {
|
|
5054
5080
|
this.getTrainingPhrasesMap().clear();
|
|
5055
|
-
return this;
|
|
5081
|
+
return this;
|
|
5082
|
+
};
|
|
5056
5083
|
|
|
5057
5084
|
|
|
5058
5085
|
|
|
@@ -5094,11 +5121,11 @@ proto.ondewo.nlu.OptimizeRankingMatchRequest.prototype.toObject = function(opt_i
|
|
|
5094
5121
|
*/
|
|
5095
5122
|
proto.ondewo.nlu.OptimizeRankingMatchRequest.toObject = function(includeInstance, msg) {
|
|
5096
5123
|
var f, obj = {
|
|
5097
|
-
|
|
5098
|
-
|
|
5099
|
-
|
|
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(),
|
|
5100
5127
|
proto.ondewo.nlu.RankingMatchOptimizationConfig.toObject, includeInstance),
|
|
5101
|
-
|
|
5128
|
+
inPlace: jspb.Message.getBooleanFieldWithDefault(msg, 4, false)
|
|
5102
5129
|
};
|
|
5103
5130
|
|
|
5104
5131
|
if (includeInstance) {
|
|
@@ -5356,10 +5383,10 @@ proto.ondewo.nlu.RankingMatchOptimizationConfig.prototype.toObject = function(op
|
|
|
5356
5383
|
*/
|
|
5357
5384
|
proto.ondewo.nlu.RankingMatchOptimizationConfig.toObject = function(includeInstance, msg) {
|
|
5358
5385
|
var f, obj = {
|
|
5359
|
-
|
|
5360
|
-
|
|
5361
|
-
|
|
5362
|
-
|
|
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)
|
|
5363
5390
|
};
|
|
5364
5391
|
|
|
5365
5392
|
if (includeInstance) {
|
|
@@ -5597,8 +5624,8 @@ proto.ondewo.nlu.OptimizeRankingMatchResponse.prototype.toObject = function(opt_
|
|
|
5597
5624
|
*/
|
|
5598
5625
|
proto.ondewo.nlu.OptimizeRankingMatchResponse.toObject = function(includeInstance, msg) {
|
|
5599
5626
|
var f, obj = {
|
|
5600
|
-
|
|
5601
|
-
|
|
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)
|
|
5602
5629
|
};
|
|
5603
5630
|
|
|
5604
5631
|
if (includeInstance) {
|
|
@@ -5825,9 +5852,9 @@ proto.ondewo.nlu.ImportAgentRequest.prototype.toObject = function(opt_includeIns
|
|
|
5825
5852
|
*/
|
|
5826
5853
|
proto.ondewo.nlu.ImportAgentRequest.toObject = function(includeInstance, msg) {
|
|
5827
5854
|
var f, obj = {
|
|
5828
|
-
|
|
5829
|
-
|
|
5830
|
-
|
|
5855
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
5856
|
+
agentUri: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f,
|
|
5857
|
+
agentContent: msg.getAgentContent_asB64()
|
|
5831
5858
|
};
|
|
5832
5859
|
|
|
5833
5860
|
if (includeInstance) {
|
|
@@ -6101,9 +6128,9 @@ proto.ondewo.nlu.RestoreAgentRequest.prototype.toObject = function(opt_includeIn
|
|
|
6101
6128
|
*/
|
|
6102
6129
|
proto.ondewo.nlu.RestoreAgentRequest.toObject = function(includeInstance, msg) {
|
|
6103
6130
|
var f, obj = {
|
|
6104
|
-
|
|
6105
|
-
|
|
6106
|
-
|
|
6131
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
6132
|
+
agentUri: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f,
|
|
6133
|
+
agentContent: msg.getAgentContent_asB64()
|
|
6107
6134
|
};
|
|
6108
6135
|
|
|
6109
6136
|
if (includeInstance) {
|
|
@@ -6322,6 +6349,160 @@ proto.ondewo.nlu.RestoreAgentRequest.prototype.hasAgentContent = function() {
|
|
|
6322
6349
|
|
|
6323
6350
|
|
|
6324
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
|
+
|
|
6325
6506
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
6326
6507
|
/**
|
|
6327
6508
|
* Creates an object representation of this proto.
|
|
@@ -6351,10 +6532,10 @@ proto.ondewo.nlu.GetAgentStatisticsRequest.prototype.toObject = function(opt_inc
|
|
|
6351
6532
|
*/
|
|
6352
6533
|
proto.ondewo.nlu.GetAgentStatisticsRequest.toObject = function(includeInstance, msg) {
|
|
6353
6534
|
var f, obj = {
|
|
6354
|
-
|
|
6355
|
-
|
|
6356
|
-
|
|
6357
|
-
|
|
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)
|
|
6358
6539
|
};
|
|
6359
6540
|
|
|
6360
6541
|
if (includeInstance) {
|
|
@@ -6571,9 +6752,9 @@ proto.ondewo.nlu.GetAgentStatisticsResponse.prototype.toObject = function(opt_in
|
|
|
6571
6752
|
*/
|
|
6572
6753
|
proto.ondewo.nlu.GetAgentStatisticsResponse.toObject = function(includeInstance, msg) {
|
|
6573
6754
|
var f, obj = {
|
|
6574
|
-
|
|
6575
|
-
|
|
6576
|
-
|
|
6755
|
+
reports: msg.getReports_asB64(),
|
|
6756
|
+
format: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
6757
|
+
type: jspb.Message.getFieldWithDefault(msg, 3, 0)
|
|
6577
6758
|
};
|
|
6578
6759
|
|
|
6579
6760
|
if (includeInstance) {
|
|
@@ -6792,17 +6973,17 @@ proto.ondewo.nlu.GetSessionsStatisticsRequest.prototype.toObject = function(opt_
|
|
|
6792
6973
|
*/
|
|
6793
6974
|
proto.ondewo.nlu.GetSessionsStatisticsRequest.toObject = function(includeInstance, msg) {
|
|
6794
6975
|
var f, obj = {
|
|
6795
|
-
|
|
6796
|
-
|
|
6797
|
-
|
|
6798
|
-
|
|
6799
|
-
|
|
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(),
|
|
6800
6981
|
ondewo_nlu_session_pb.ContextFilter.toObject, includeInstance),
|
|
6801
|
-
|
|
6802
|
-
|
|
6803
|
-
|
|
6804
|
-
|
|
6805
|
-
|
|
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, "")
|
|
6806
6987
|
};
|
|
6807
6988
|
|
|
6808
6989
|
if (includeInstance) {
|
|
@@ -7295,9 +7476,9 @@ proto.ondewo.nlu.GetSessionsStatisticsResponse.prototype.toObject = function(opt
|
|
|
7295
7476
|
*/
|
|
7296
7477
|
proto.ondewo.nlu.GetSessionsStatisticsResponse.toObject = function(includeInstance, msg) {
|
|
7297
7478
|
var f, obj = {
|
|
7298
|
-
|
|
7299
|
-
|
|
7300
|
-
|
|
7479
|
+
reports: msg.getReports_asB64(),
|
|
7480
|
+
format: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
7481
|
+
type: jspb.Message.getFieldWithDefault(msg, 3, 0)
|
|
7301
7482
|
};
|
|
7302
7483
|
|
|
7303
7484
|
if (includeInstance) {
|
|
@@ -7509,9 +7690,9 @@ proto.ondewo.nlu.AddUserToProjectRequest.prototype.toObject = function(opt_inclu
|
|
|
7509
7690
|
*/
|
|
7510
7691
|
proto.ondewo.nlu.AddUserToProjectRequest.toObject = function(includeInstance, msg) {
|
|
7511
7692
|
var f, obj = {
|
|
7512
|
-
|
|
7513
|
-
|
|
7514
|
-
|
|
7693
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
7694
|
+
userId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
7695
|
+
projectRoleId: jspb.Message.getFieldWithDefault(msg, 4, 0)
|
|
7515
7696
|
};
|
|
7516
7697
|
|
|
7517
7698
|
if (includeInstance) {
|
|
@@ -7699,8 +7880,8 @@ proto.ondewo.nlu.RemoveUserFromProjectRequest.prototype.toObject = function(opt_
|
|
|
7699
7880
|
*/
|
|
7700
7881
|
proto.ondewo.nlu.RemoveUserFromProjectRequest.toObject = function(includeInstance, msg) {
|
|
7701
7882
|
var f, obj = {
|
|
7702
|
-
|
|
7703
|
-
|
|
7883
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
7884
|
+
userId: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
7704
7885
|
};
|
|
7705
7886
|
|
|
7706
7887
|
if (includeInstance) {
|
|
@@ -7859,8 +8040,8 @@ proto.ondewo.nlu.ListUsersInProjectRequest.prototype.toObject = function(opt_inc
|
|
|
7859
8040
|
*/
|
|
7860
8041
|
proto.ondewo.nlu.ListUsersInProjectRequest.toObject = function(includeInstance, msg) {
|
|
7861
8042
|
var f, obj = {
|
|
7862
|
-
|
|
7863
|
-
|
|
8043
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
8044
|
+
pageToken: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
7864
8045
|
};
|
|
7865
8046
|
|
|
7866
8047
|
if (includeInstance) {
|
|
@@ -8019,9 +8200,9 @@ proto.ondewo.nlu.UserInProject.prototype.toObject = function(opt_includeInstance
|
|
|
8019
8200
|
*/
|
|
8020
8201
|
proto.ondewo.nlu.UserInProject.toObject = function(includeInstance, msg) {
|
|
8021
8202
|
var f, obj = {
|
|
8022
|
-
|
|
8023
|
-
|
|
8024
|
-
|
|
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)
|
|
8025
8206
|
};
|
|
8026
8207
|
|
|
8027
8208
|
if (includeInstance) {
|
|
@@ -8237,9 +8418,9 @@ proto.ondewo.nlu.ListUsersInProjectResponse.prototype.toObject = function(opt_in
|
|
|
8237
8418
|
*/
|
|
8238
8419
|
proto.ondewo.nlu.ListUsersInProjectResponse.toObject = function(includeInstance, msg) {
|
|
8239
8420
|
var f, obj = {
|
|
8240
|
-
|
|
8421
|
+
usersList: jspb.Message.toObjectList(msg.getUsersList(),
|
|
8241
8422
|
proto.ondewo.nlu.UserInProject.toObject, includeInstance),
|
|
8242
|
-
|
|
8423
|
+
nextPageToken: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
8243
8424
|
};
|
|
8244
8425
|
|
|
8245
8426
|
if (includeInstance) {
|
|
@@ -8420,8 +8601,8 @@ proto.ondewo.nlu.GetPlatformInfoResponse.prototype.toObject = function(opt_inclu
|
|
|
8420
8601
|
*/
|
|
8421
8602
|
proto.ondewo.nlu.GetPlatformInfoResponse.toObject = function(includeInstance, msg) {
|
|
8422
8603
|
var f, obj = {
|
|
8423
|
-
|
|
8424
|
-
|
|
8604
|
+
version: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
8605
|
+
commitHash: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
8425
8606
|
};
|
|
8426
8607
|
|
|
8427
8608
|
if (includeInstance) {
|
|
@@ -8580,7 +8761,7 @@ proto.ondewo.nlu.ListProjectPermissionsRequest.prototype.toObject = function(opt
|
|
|
8580
8761
|
*/
|
|
8581
8762
|
proto.ondewo.nlu.ListProjectPermissionsRequest.toObject = function(includeInstance, msg) {
|
|
8582
8763
|
var f, obj = {
|
|
8583
|
-
|
|
8764
|
+
pageToken: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
8584
8765
|
};
|
|
8585
8766
|
|
|
8586
8767
|
if (includeInstance) {
|
|
@@ -8717,8 +8898,8 @@ proto.ondewo.nlu.ListProjectPermissionsResponse.prototype.toObject = function(op
|
|
|
8717
8898
|
*/
|
|
8718
8899
|
proto.ondewo.nlu.ListProjectPermissionsResponse.toObject = function(includeInstance, msg) {
|
|
8719
8900
|
var f, obj = {
|
|
8720
|
-
|
|
8721
|
-
|
|
8901
|
+
permissionsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
|
|
8902
|
+
nextPageToken: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
8722
8903
|
};
|
|
8723
8904
|
|
|
8724
8905
|
if (includeInstance) {
|
|
@@ -8896,9 +9077,9 @@ proto.ondewo.nlu.SetAgentStatusRequest.prototype.toObject = function(opt_include
|
|
|
8896
9077
|
*/
|
|
8897
9078
|
proto.ondewo.nlu.SetAgentStatusRequest.toObject = function(includeInstance, msg) {
|
|
8898
9079
|
var f, obj = {
|
|
8899
|
-
|
|
8900
|
-
|
|
8901
|
-
|
|
9080
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
9081
|
+
status: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
9082
|
+
agentView: jspb.Message.getFieldWithDefault(msg, 3, 0)
|
|
8902
9083
|
};
|
|
8903
9084
|
|
|
8904
9085
|
if (includeInstance) {
|
|
@@ -9086,8 +9267,8 @@ proto.ondewo.nlu.AgentSorting.prototype.toObject = function(opt_includeInstance)
|
|
|
9086
9267
|
*/
|
|
9087
9268
|
proto.ondewo.nlu.AgentSorting.toObject = function(includeInstance, msg) {
|
|
9088
9269
|
var f, obj = {
|
|
9089
|
-
|
|
9090
|
-
|
|
9270
|
+
sortingField: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
9271
|
+
sortingMode: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
|
9091
9272
|
};
|
|
9092
9273
|
|
|
9093
9274
|
if (includeInstance) {
|
|
@@ -9257,11 +9438,11 @@ proto.ondewo.nlu.SetResourcesRequest.prototype.toObject = function(opt_includeIn
|
|
|
9257
9438
|
*/
|
|
9258
9439
|
proto.ondewo.nlu.SetResourcesRequest.toObject = function(includeInstance, msg) {
|
|
9259
9440
|
var f, obj = {
|
|
9260
|
-
|
|
9261
|
-
|
|
9262
|
-
|
|
9263
|
-
|
|
9264
|
-
|
|
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, "")
|
|
9265
9446
|
};
|
|
9266
9447
|
|
|
9267
9448
|
if (includeInstance) {
|
|
@@ -9531,10 +9712,10 @@ proto.ondewo.nlu.DeleteResourcesRequest.prototype.toObject = function(opt_includ
|
|
|
9531
9712
|
*/
|
|
9532
9713
|
proto.ondewo.nlu.DeleteResourcesRequest.toObject = function(includeInstance, msg) {
|
|
9533
9714
|
var f, obj = {
|
|
9534
|
-
|
|
9535
|
-
|
|
9536
|
-
|
|
9537
|
-
|
|
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, "")
|
|
9538
9719
|
};
|
|
9539
9720
|
|
|
9540
9721
|
if (includeInstance) {
|
|
@@ -9751,10 +9932,10 @@ proto.ondewo.nlu.ExportResourcesRequest.prototype.toObject = function(opt_includ
|
|
|
9751
9932
|
*/
|
|
9752
9933
|
proto.ondewo.nlu.ExportResourcesRequest.toObject = function(includeInstance, msg) {
|
|
9753
9934
|
var f, obj = {
|
|
9754
|
-
|
|
9755
|
-
|
|
9756
|
-
|
|
9757
|
-
|
|
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, "")
|
|
9758
9939
|
};
|
|
9759
9940
|
|
|
9760
9941
|
if (includeInstance) {
|
|
@@ -9971,11 +10152,11 @@ proto.ondewo.nlu.ExportResourcesResponse.prototype.toObject = function(opt_inclu
|
|
|
9971
10152
|
*/
|
|
9972
10153
|
proto.ondewo.nlu.ExportResourcesResponse.toObject = function(includeInstance, msg) {
|
|
9973
10154
|
var f, obj = {
|
|
9974
|
-
|
|
9975
|
-
|
|
9976
|
-
|
|
9977
|
-
|
|
9978
|
-
|
|
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()
|
|
9979
10160
|
};
|
|
9980
10161
|
|
|
9981
10162
|
if (includeInstance) {
|
|
@@ -10245,10 +10426,10 @@ proto.ondewo.nlu.GetModelStatusesRequest.prototype.toObject = function(opt_inclu
|
|
|
10245
10426
|
*/
|
|
10246
10427
|
proto.ondewo.nlu.GetModelStatusesRequest.toObject = function(includeInstance, msg) {
|
|
10247
10428
|
var f, obj = {
|
|
10248
|
-
|
|
10249
|
-
|
|
10250
|
-
|
|
10251
|
-
|
|
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, "")
|
|
10252
10433
|
};
|
|
10253
10434
|
|
|
10254
10435
|
if (includeInstance) {
|
|
@@ -10465,12 +10646,12 @@ proto.ondewo.nlu.ModelStatus.prototype.toObject = function(opt_includeInstance)
|
|
|
10465
10646
|
*/
|
|
10466
10647
|
proto.ondewo.nlu.ModelStatus.toObject = function(includeInstance, msg) {
|
|
10467
10648
|
var f, obj = {
|
|
10468
|
-
|
|
10469
|
-
|
|
10470
|
-
|
|
10471
|
-
|
|
10472
|
-
|
|
10473
|
-
|
|
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)
|
|
10474
10655
|
};
|
|
10475
10656
|
|
|
10476
10657
|
if (includeInstance) {
|
|
@@ -10786,7 +10967,7 @@ proto.ondewo.nlu.GetModelStatusesResponse.prototype.toObject = function(opt_incl
|
|
|
10786
10967
|
*/
|
|
10787
10968
|
proto.ondewo.nlu.GetModelStatusesResponse.toObject = function(includeInstance, msg) {
|
|
10788
10969
|
var f, obj = {
|
|
10789
|
-
|
|
10970
|
+
modelStatusesList: jspb.Message.toObjectList(msg.getModelStatusesList(),
|
|
10790
10971
|
proto.ondewo.nlu.ModelStatus.toObject, includeInstance)
|
|
10791
10972
|
};
|
|
10792
10973
|
|
|
@@ -10939,13 +11120,13 @@ proto.ondewo.nlu.CustomPlatformInfo.prototype.toObject = function(opt_includeIns
|
|
|
10939
11120
|
*/
|
|
10940
11121
|
proto.ondewo.nlu.CustomPlatformInfo.toObject = function(includeInstance, msg) {
|
|
10941
11122
|
var f, obj = {
|
|
10942
|
-
|
|
10943
|
-
|
|
10944
|
-
|
|
10945
|
-
|
|
10946
|
-
|
|
10947
|
-
|
|
10948
|
-
|
|
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, "")
|
|
10949
11130
|
};
|
|
10950
11131
|
|
|
10951
11132
|
if (includeInstance) {
|
|
@@ -11291,7 +11472,7 @@ proto.ondewo.nlu.GetPlatformMappingRequest.prototype.toObject = function(opt_inc
|
|
|
11291
11472
|
*/
|
|
11292
11473
|
proto.ondewo.nlu.GetPlatformMappingRequest.toObject = function(includeInstance, msg) {
|
|
11293
11474
|
var f, obj = {
|
|
11294
|
-
|
|
11475
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
11295
11476
|
};
|
|
11296
11477
|
|
|
11297
11478
|
if (includeInstance) {
|
|
@@ -11428,8 +11609,8 @@ proto.ondewo.nlu.PlatformMapping.prototype.toObject = function(opt_includeInstan
|
|
|
11428
11609
|
*/
|
|
11429
11610
|
proto.ondewo.nlu.PlatformMapping.toObject = function(includeInstance, msg) {
|
|
11430
11611
|
var f, obj = {
|
|
11431
|
-
|
|
11432
|
-
|
|
11612
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
11613
|
+
platformInfoList: jspb.Message.toObjectList(msg.getPlatformInfoList(),
|
|
11433
11614
|
proto.ondewo.nlu.CustomPlatformInfo.toObject, includeInstance)
|
|
11434
11615
|
};
|
|
11435
11616
|
|
|
@@ -11611,10 +11792,10 @@ proto.ondewo.nlu.FullTextSearchRequest.prototype.toObject = function(opt_include
|
|
|
11611
11792
|
*/
|
|
11612
11793
|
proto.ondewo.nlu.FullTextSearchRequest.toObject = function(includeInstance, msg) {
|
|
11613
11794
|
var f, obj = {
|
|
11614
|
-
|
|
11615
|
-
|
|
11616
|
-
|
|
11617
|
-
|
|
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, "")
|
|
11618
11799
|
};
|
|
11619
11800
|
|
|
11620
11801
|
if (includeInstance) {
|
|
@@ -11855,14 +12036,14 @@ proto.ondewo.nlu.FullTextSearchResponseEntityType.prototype.toObject = function(
|
|
|
11855
12036
|
*/
|
|
11856
12037
|
proto.ondewo.nlu.FullTextSearchResponseEntityType.toObject = function(includeInstance, msg) {
|
|
11857
12038
|
var f, obj = {
|
|
11858
|
-
|
|
11859
|
-
|
|
11860
|
-
|
|
12039
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
12040
|
+
languageCode: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
12041
|
+
entityTypeResultsList: jspb.Message.toObjectList(msg.getEntityTypeResultsList(),
|
|
11861
12042
|
proto.ondewo.nlu.FullTextSearchResponseEntityType.EntityTypeSearchResult.toObject, includeInstance),
|
|
11862
|
-
|
|
11863
|
-
|
|
11864
|
-
|
|
11865
|
-
|
|
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, "")
|
|
11866
12047
|
};
|
|
11867
12048
|
|
|
11868
12049
|
if (includeInstance) {
|
|
@@ -12042,13 +12223,13 @@ proto.ondewo.nlu.FullTextSearchResponseEntityType.EntityTypeSearchResult.prototy
|
|
|
12042
12223
|
*/
|
|
12043
12224
|
proto.ondewo.nlu.FullTextSearchResponseEntityType.EntityTypeSearchResult.toObject = function(includeInstance, msg) {
|
|
12044
12225
|
var f, obj = {
|
|
12045
|
-
|
|
12046
|
-
|
|
12047
|
-
|
|
12048
|
-
|
|
12049
|
-
|
|
12050
|
-
|
|
12051
|
-
|
|
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, "")
|
|
12052
12233
|
};
|
|
12053
12234
|
|
|
12054
12235
|
if (includeInstance) {
|
|
@@ -12547,14 +12728,14 @@ proto.ondewo.nlu.FullTextSearchResponseEntity.prototype.toObject = function(opt_
|
|
|
12547
12728
|
*/
|
|
12548
12729
|
proto.ondewo.nlu.FullTextSearchResponseEntity.toObject = function(includeInstance, msg) {
|
|
12549
12730
|
var f, obj = {
|
|
12550
|
-
|
|
12551
|
-
|
|
12552
|
-
|
|
12731
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
12732
|
+
languageCode: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
12733
|
+
entityResultsList: jspb.Message.toObjectList(msg.getEntityResultsList(),
|
|
12553
12734
|
proto.ondewo.nlu.FullTextSearchResponseEntity.EntitySearchResult.toObject, includeInstance),
|
|
12554
|
-
|
|
12555
|
-
|
|
12556
|
-
|
|
12557
|
-
|
|
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, "")
|
|
12558
12739
|
};
|
|
12559
12740
|
|
|
12560
12741
|
if (includeInstance) {
|
|
@@ -12734,15 +12915,15 @@ proto.ondewo.nlu.FullTextSearchResponseEntity.EntitySearchResult.prototype.toObj
|
|
|
12734
12915
|
*/
|
|
12735
12916
|
proto.ondewo.nlu.FullTextSearchResponseEntity.EntitySearchResult.toObject = function(includeInstance, msg) {
|
|
12736
12917
|
var f, obj = {
|
|
12737
|
-
|
|
12738
|
-
|
|
12739
|
-
|
|
12740
|
-
|
|
12741
|
-
|
|
12742
|
-
|
|
12743
|
-
|
|
12744
|
-
|
|
12745
|
-
|
|
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, "")
|
|
12746
12927
|
};
|
|
12747
12928
|
|
|
12748
12929
|
if (includeInstance) {
|
|
@@ -13299,14 +13480,14 @@ proto.ondewo.nlu.FullTextSearchResponseEntitySynonym.prototype.toObject = functi
|
|
|
13299
13480
|
*/
|
|
13300
13481
|
proto.ondewo.nlu.FullTextSearchResponseEntitySynonym.toObject = function(includeInstance, msg) {
|
|
13301
13482
|
var f, obj = {
|
|
13302
|
-
|
|
13303
|
-
|
|
13304
|
-
|
|
13483
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
13484
|
+
languageCode: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
13485
|
+
entitySynonymResultsList: jspb.Message.toObjectList(msg.getEntitySynonymResultsList(),
|
|
13305
13486
|
proto.ondewo.nlu.FullTextSearchResponseEntitySynonym.EntitySynonymSearchResult.toObject, includeInstance),
|
|
13306
|
-
|
|
13307
|
-
|
|
13308
|
-
|
|
13309
|
-
|
|
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, "")
|
|
13310
13491
|
};
|
|
13311
13492
|
|
|
13312
13493
|
if (includeInstance) {
|
|
@@ -13486,17 +13667,17 @@ proto.ondewo.nlu.FullTextSearchResponseEntitySynonym.EntitySynonymSearchResult.p
|
|
|
13486
13667
|
*/
|
|
13487
13668
|
proto.ondewo.nlu.FullTextSearchResponseEntitySynonym.EntitySynonymSearchResult.toObject = function(includeInstance, msg) {
|
|
13488
13669
|
var f, obj = {
|
|
13489
|
-
|
|
13490
|
-
|
|
13491
|
-
|
|
13492
|
-
|
|
13493
|
-
|
|
13494
|
-
|
|
13495
|
-
|
|
13496
|
-
|
|
13497
|
-
|
|
13498
|
-
|
|
13499
|
-
|
|
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, "")
|
|
13500
13681
|
};
|
|
13501
13682
|
|
|
13502
13683
|
if (includeInstance) {
|
|
@@ -14111,14 +14292,14 @@ proto.ondewo.nlu.FullTextSearchResponseIntent.prototype.toObject = function(opt_
|
|
|
14111
14292
|
*/
|
|
14112
14293
|
proto.ondewo.nlu.FullTextSearchResponseIntent.toObject = function(includeInstance, msg) {
|
|
14113
14294
|
var f, obj = {
|
|
14114
|
-
|
|
14115
|
-
|
|
14116
|
-
|
|
14295
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
14296
|
+
languageCode: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
14297
|
+
intentResultsList: jspb.Message.toObjectList(msg.getIntentResultsList(),
|
|
14117
14298
|
proto.ondewo.nlu.FullTextSearchResponseIntent.IntentSearchResult.toObject, includeInstance),
|
|
14118
|
-
|
|
14119
|
-
|
|
14120
|
-
|
|
14121
|
-
|
|
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, "")
|
|
14122
14303
|
};
|
|
14123
14304
|
|
|
14124
14305
|
if (includeInstance) {
|
|
@@ -14305,15 +14486,15 @@ proto.ondewo.nlu.FullTextSearchResponseIntent.IntentSearchResult.prototype.toObj
|
|
|
14305
14486
|
*/
|
|
14306
14487
|
proto.ondewo.nlu.FullTextSearchResponseIntent.IntentSearchResult.toObject = function(includeInstance, msg) {
|
|
14307
14488
|
var f, obj = {
|
|
14308
|
-
|
|
14309
|
-
|
|
14310
|
-
|
|
14311
|
-
|
|
14312
|
-
|
|
14313
|
-
|
|
14314
|
-
|
|
14315
|
-
|
|
14316
|
-
|
|
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, "")
|
|
14317
14498
|
};
|
|
14318
14499
|
|
|
14319
14500
|
if (includeInstance) {
|
|
@@ -14889,14 +15070,14 @@ proto.ondewo.nlu.FullTextSearchResponseIntentContextIn.prototype.toObject = func
|
|
|
14889
15070
|
*/
|
|
14890
15071
|
proto.ondewo.nlu.FullTextSearchResponseIntentContextIn.toObject = function(includeInstance, msg) {
|
|
14891
15072
|
var f, obj = {
|
|
14892
|
-
|
|
14893
|
-
|
|
14894
|
-
|
|
15073
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
15074
|
+
languageCode: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
15075
|
+
intentContextInResultsList: jspb.Message.toObjectList(msg.getIntentContextInResultsList(),
|
|
14895
15076
|
proto.ondewo.nlu.FullTextSearchResponseIntentContextIn.IntentContextInSearchResult.toObject, includeInstance),
|
|
14896
|
-
|
|
14897
|
-
|
|
14898
|
-
|
|
14899
|
-
|
|
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, "")
|
|
14900
15081
|
};
|
|
14901
15082
|
|
|
14902
15083
|
if (includeInstance) {
|
|
@@ -15083,15 +15264,15 @@ proto.ondewo.nlu.FullTextSearchResponseIntentContextIn.IntentContextInSearchResu
|
|
|
15083
15264
|
*/
|
|
15084
15265
|
proto.ondewo.nlu.FullTextSearchResponseIntentContextIn.IntentContextInSearchResult.toObject = function(includeInstance, msg) {
|
|
15085
15266
|
var f, obj = {
|
|
15086
|
-
|
|
15087
|
-
|
|
15088
|
-
|
|
15089
|
-
|
|
15090
|
-
|
|
15091
|
-
|
|
15092
|
-
|
|
15093
|
-
|
|
15094
|
-
|
|
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, "")
|
|
15095
15276
|
};
|
|
15096
15277
|
|
|
15097
15278
|
if (includeInstance) {
|
|
@@ -15667,14 +15848,14 @@ proto.ondewo.nlu.FullTextSearchResponseIntentContextOut.prototype.toObject = fun
|
|
|
15667
15848
|
*/
|
|
15668
15849
|
proto.ondewo.nlu.FullTextSearchResponseIntentContextOut.toObject = function(includeInstance, msg) {
|
|
15669
15850
|
var f, obj = {
|
|
15670
|
-
|
|
15671
|
-
|
|
15672
|
-
|
|
15851
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
15852
|
+
languageCode: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
15853
|
+
intentContextOutResultsList: jspb.Message.toObjectList(msg.getIntentContextOutResultsList(),
|
|
15673
15854
|
proto.ondewo.nlu.FullTextSearchResponseIntentContextOut.IntentContextOutSearchResult.toObject, includeInstance),
|
|
15674
|
-
|
|
15675
|
-
|
|
15676
|
-
|
|
15677
|
-
|
|
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, "")
|
|
15678
15859
|
};
|
|
15679
15860
|
|
|
15680
15861
|
if (includeInstance) {
|
|
@@ -15861,15 +16042,15 @@ proto.ondewo.nlu.FullTextSearchResponseIntentContextOut.IntentContextOutSearchRe
|
|
|
15861
16042
|
*/
|
|
15862
16043
|
proto.ondewo.nlu.FullTextSearchResponseIntentContextOut.IntentContextOutSearchResult.toObject = function(includeInstance, msg) {
|
|
15863
16044
|
var f, obj = {
|
|
15864
|
-
|
|
15865
|
-
|
|
15866
|
-
|
|
15867
|
-
|
|
15868
|
-
|
|
15869
|
-
|
|
15870
|
-
|
|
15871
|
-
|
|
15872
|
-
|
|
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, "")
|
|
15873
16054
|
};
|
|
15874
16055
|
|
|
15875
16056
|
if (includeInstance) {
|
|
@@ -16445,14 +16626,14 @@ proto.ondewo.nlu.FullTextSearchResponseIntentUsersays.prototype.toObject = funct
|
|
|
16445
16626
|
*/
|
|
16446
16627
|
proto.ondewo.nlu.FullTextSearchResponseIntentUsersays.toObject = function(includeInstance, msg) {
|
|
16447
16628
|
var f, obj = {
|
|
16448
|
-
|
|
16449
|
-
|
|
16450
|
-
|
|
16629
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
16630
|
+
languageCode: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
16631
|
+
intentUsersaysResultsList: jspb.Message.toObjectList(msg.getIntentUsersaysResultsList(),
|
|
16451
16632
|
proto.ondewo.nlu.FullTextSearchResponseIntentUsersays.IntentUsersaysSearchResult.toObject, includeInstance),
|
|
16452
|
-
|
|
16453
|
-
|
|
16454
|
-
|
|
16455
|
-
|
|
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, "")
|
|
16456
16637
|
};
|
|
16457
16638
|
|
|
16458
16639
|
if (includeInstance) {
|
|
@@ -16639,19 +16820,19 @@ proto.ondewo.nlu.FullTextSearchResponseIntentUsersays.IntentUsersaysSearchResult
|
|
|
16639
16820
|
*/
|
|
16640
16821
|
proto.ondewo.nlu.FullTextSearchResponseIntentUsersays.IntentUsersaysSearchResult.toObject = function(includeInstance, msg) {
|
|
16641
16822
|
var f, obj = {
|
|
16642
|
-
|
|
16643
|
-
|
|
16644
|
-
|
|
16645
|
-
|
|
16646
|
-
|
|
16647
|
-
|
|
16648
|
-
|
|
16649
|
-
|
|
16650
|
-
|
|
16651
|
-
|
|
16652
|
-
|
|
16653
|
-
|
|
16654
|
-
|
|
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, "")
|
|
16655
16836
|
};
|
|
16656
16837
|
|
|
16657
16838
|
if (includeInstance) {
|
|
@@ -17343,14 +17524,14 @@ proto.ondewo.nlu.FullTextSearchResponseIntentTags.prototype.toObject = function(
|
|
|
17343
17524
|
*/
|
|
17344
17525
|
proto.ondewo.nlu.FullTextSearchResponseIntentTags.toObject = function(includeInstance, msg) {
|
|
17345
17526
|
var f, obj = {
|
|
17346
|
-
|
|
17347
|
-
|
|
17348
|
-
|
|
17527
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
17528
|
+
languageCode: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
17529
|
+
intentTagsResultsList: jspb.Message.toObjectList(msg.getIntentTagsResultsList(),
|
|
17349
17530
|
proto.ondewo.nlu.FullTextSearchResponseIntentTags.IntentTagsSearchResult.toObject, includeInstance),
|
|
17350
|
-
|
|
17351
|
-
|
|
17352
|
-
|
|
17353
|
-
|
|
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, "")
|
|
17354
17535
|
};
|
|
17355
17536
|
|
|
17356
17537
|
if (includeInstance) {
|
|
@@ -17537,16 +17718,16 @@ proto.ondewo.nlu.FullTextSearchResponseIntentTags.IntentTagsSearchResult.prototy
|
|
|
17537
17718
|
*/
|
|
17538
17719
|
proto.ondewo.nlu.FullTextSearchResponseIntentTags.IntentTagsSearchResult.toObject = function(includeInstance, msg) {
|
|
17539
17720
|
var f, obj = {
|
|
17540
|
-
|
|
17541
|
-
|
|
17542
|
-
|
|
17543
|
-
|
|
17544
|
-
|
|
17545
|
-
|
|
17546
|
-
|
|
17547
|
-
|
|
17548
|
-
|
|
17549
|
-
|
|
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, "")
|
|
17550
17731
|
};
|
|
17551
17732
|
|
|
17552
17733
|
if (includeInstance) {
|
|
@@ -18151,14 +18332,14 @@ proto.ondewo.nlu.FullTextSearchResponseIntentResponse.prototype.toObject = funct
|
|
|
18151
18332
|
*/
|
|
18152
18333
|
proto.ondewo.nlu.FullTextSearchResponseIntentResponse.toObject = function(includeInstance, msg) {
|
|
18153
18334
|
var f, obj = {
|
|
18154
|
-
|
|
18155
|
-
|
|
18156
|
-
|
|
18335
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
18336
|
+
languageCode: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
18337
|
+
intentResponseResultsList: jspb.Message.toObjectList(msg.getIntentResponseResultsList(),
|
|
18157
18338
|
proto.ondewo.nlu.FullTextSearchResponseIntentResponse.IntentResponseSearchResult.toObject, includeInstance),
|
|
18158
|
-
|
|
18159
|
-
|
|
18160
|
-
|
|
18161
|
-
|
|
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, "")
|
|
18162
18343
|
};
|
|
18163
18344
|
|
|
18164
18345
|
if (includeInstance) {
|
|
@@ -18345,17 +18526,17 @@ proto.ondewo.nlu.FullTextSearchResponseIntentResponse.IntentResponseSearchResult
|
|
|
18345
18526
|
*/
|
|
18346
18527
|
proto.ondewo.nlu.FullTextSearchResponseIntentResponse.IntentResponseSearchResult.toObject = function(includeInstance, msg) {
|
|
18347
18528
|
var f, obj = {
|
|
18348
|
-
|
|
18349
|
-
|
|
18350
|
-
|
|
18351
|
-
|
|
18352
|
-
|
|
18353
|
-
|
|
18354
|
-
|
|
18355
|
-
|
|
18356
|
-
|
|
18357
|
-
|
|
18358
|
-
|
|
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, "")
|
|
18359
18540
|
};
|
|
18360
18541
|
|
|
18361
18542
|
if (includeInstance) {
|
|
@@ -18989,14 +19170,14 @@ proto.ondewo.nlu.FullTextSearchResponseIntentParameters.prototype.toObject = fun
|
|
|
18989
19170
|
*/
|
|
18990
19171
|
proto.ondewo.nlu.FullTextSearchResponseIntentParameters.toObject = function(includeInstance, msg) {
|
|
18991
19172
|
var f, obj = {
|
|
18992
|
-
|
|
18993
|
-
|
|
18994
|
-
|
|
19173
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
19174
|
+
languageCode: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
19175
|
+
intentParametersResultsList: jspb.Message.toObjectList(msg.getIntentParametersResultsList(),
|
|
18995
19176
|
proto.ondewo.nlu.FullTextSearchResponseIntentParameters.IntentParametersSearchResult.toObject, includeInstance),
|
|
18996
|
-
|
|
18997
|
-
|
|
18998
|
-
|
|
18999
|
-
|
|
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, "")
|
|
19000
19181
|
};
|
|
19001
19182
|
|
|
19002
19183
|
if (includeInstance) {
|
|
@@ -19183,16 +19364,16 @@ proto.ondewo.nlu.FullTextSearchResponseIntentParameters.IntentParametersSearchRe
|
|
|
19183
19364
|
*/
|
|
19184
19365
|
proto.ondewo.nlu.FullTextSearchResponseIntentParameters.IntentParametersSearchResult.toObject = function(includeInstance, msg) {
|
|
19185
19366
|
var f, obj = {
|
|
19186
|
-
|
|
19187
|
-
|
|
19188
|
-
|
|
19189
|
-
|
|
19190
|
-
|
|
19191
|
-
|
|
19192
|
-
|
|
19193
|
-
|
|
19194
|
-
|
|
19195
|
-
|
|
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, "")
|
|
19196
19377
|
};
|
|
19197
19378
|
|
|
19198
19379
|
if (includeInstance) {
|
|
@@ -19797,9 +19978,9 @@ proto.ondewo.nlu.ReindexAgentRequest.prototype.toObject = function(opt_includeIn
|
|
|
19797
19978
|
*/
|
|
19798
19979
|
proto.ondewo.nlu.ReindexAgentRequest.toObject = function(includeInstance, msg) {
|
|
19799
19980
|
var f, obj = {
|
|
19800
|
-
|
|
19801
|
-
|
|
19802
|
-
|
|
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
|
|
19803
19984
|
};
|
|
19804
19985
|
|
|
19805
19986
|
if (includeInstance) {
|