@ondewo/nlu-client-typescript 6.0.0 → 6.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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 +59 -0
- package/api/ondewo/nlu/agent_pb.js +702 -322
- package/api/ondewo/nlu/aiservices_grpc_web_pb.js +2 -0
- package/api/ondewo/nlu/aiservices_pb.d.ts +111 -0
- package/api/ondewo/nlu/aiservices_pb.js +637 -125
- package/api/ondewo/nlu/ccai_project_pb.d.ts +56 -0
- package/api/ondewo/nlu/ccai_project_pb.js +292 -71
- 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_grpc_web_pb.js +2 -0
- package/api/ondewo/nlu/operations_pb.d.ts +23 -0
- package/api/ondewo/nlu/operations_pb.js +125 -21
- package/api/ondewo/nlu/project_role_pb.d.ts +22 -0
- package/api/ondewo/nlu/project_role_pb.js +127 -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.d.ts +198 -0
- package/api/ondewo/nlu/session_pb.js +1312 -394
- package/api/ondewo/nlu/user_pb.d.ts +83 -0
- package/api/ondewo/nlu/user_pb.js +479 -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 +3 -3
|
@@ -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,9 @@ 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),
|
|
3144
|
+
fieldMask: (f = msg.getFieldMask()) && google_protobuf_field_mask_pb.FieldMask.toObject(includeInstance, f)
|
|
3122
3145
|
};
|
|
3123
3146
|
|
|
3124
3147
|
if (includeInstance) {
|
|
@@ -3163,6 +3186,11 @@ proto.ondewo.nlu.GetAgentRequest.deserializeBinaryFromReader = function(msg, rea
|
|
|
3163
3186
|
var value = /** @type {!proto.ondewo.nlu.AgentView} */ (reader.readEnum());
|
|
3164
3187
|
msg.setAgentView(value);
|
|
3165
3188
|
break;
|
|
3189
|
+
case 3:
|
|
3190
|
+
var value = new google_protobuf_field_mask_pb.FieldMask;
|
|
3191
|
+
reader.readMessage(value,google_protobuf_field_mask_pb.FieldMask.deserializeBinaryFromReader);
|
|
3192
|
+
msg.setFieldMask(value);
|
|
3193
|
+
break;
|
|
3166
3194
|
default:
|
|
3167
3195
|
reader.skipField();
|
|
3168
3196
|
break;
|
|
@@ -3206,6 +3234,14 @@ proto.ondewo.nlu.GetAgentRequest.serializeBinaryToWriter = function(message, wri
|
|
|
3206
3234
|
f
|
|
3207
3235
|
);
|
|
3208
3236
|
}
|
|
3237
|
+
f = message.getFieldMask();
|
|
3238
|
+
if (f != null) {
|
|
3239
|
+
writer.writeMessage(
|
|
3240
|
+
3,
|
|
3241
|
+
f,
|
|
3242
|
+
google_protobuf_field_mask_pb.FieldMask.serializeBinaryToWriter
|
|
3243
|
+
);
|
|
3244
|
+
}
|
|
3209
3245
|
};
|
|
3210
3246
|
|
|
3211
3247
|
|
|
@@ -3245,6 +3281,43 @@ proto.ondewo.nlu.GetAgentRequest.prototype.setAgentView = function(value) {
|
|
|
3245
3281
|
};
|
|
3246
3282
|
|
|
3247
3283
|
|
|
3284
|
+
/**
|
|
3285
|
+
* optional google.protobuf.FieldMask field_mask = 3;
|
|
3286
|
+
* @return {?proto.google.protobuf.FieldMask}
|
|
3287
|
+
*/
|
|
3288
|
+
proto.ondewo.nlu.GetAgentRequest.prototype.getFieldMask = function() {
|
|
3289
|
+
return /** @type{?proto.google.protobuf.FieldMask} */ (
|
|
3290
|
+
jspb.Message.getWrapperField(this, google_protobuf_field_mask_pb.FieldMask, 3));
|
|
3291
|
+
};
|
|
3292
|
+
|
|
3293
|
+
|
|
3294
|
+
/**
|
|
3295
|
+
* @param {?proto.google.protobuf.FieldMask|undefined} value
|
|
3296
|
+
* @return {!proto.ondewo.nlu.GetAgentRequest} returns this
|
|
3297
|
+
*/
|
|
3298
|
+
proto.ondewo.nlu.GetAgentRequest.prototype.setFieldMask = function(value) {
|
|
3299
|
+
return jspb.Message.setWrapperField(this, 3, value);
|
|
3300
|
+
};
|
|
3301
|
+
|
|
3302
|
+
|
|
3303
|
+
/**
|
|
3304
|
+
* Clears the message field making it undefined.
|
|
3305
|
+
* @return {!proto.ondewo.nlu.GetAgentRequest} returns this
|
|
3306
|
+
*/
|
|
3307
|
+
proto.ondewo.nlu.GetAgentRequest.prototype.clearFieldMask = function() {
|
|
3308
|
+
return this.setFieldMask(undefined);
|
|
3309
|
+
};
|
|
3310
|
+
|
|
3311
|
+
|
|
3312
|
+
/**
|
|
3313
|
+
* Returns whether this field is set.
|
|
3314
|
+
* @return {boolean}
|
|
3315
|
+
*/
|
|
3316
|
+
proto.ondewo.nlu.GetAgentRequest.prototype.hasFieldMask = function() {
|
|
3317
|
+
return jspb.Message.getField(this, 3) != null;
|
|
3318
|
+
};
|
|
3319
|
+
|
|
3320
|
+
|
|
3248
3321
|
|
|
3249
3322
|
|
|
3250
3323
|
|
|
@@ -3277,9 +3350,10 @@ proto.ondewo.nlu.ListAgentsRequest.prototype.toObject = function(opt_includeInst
|
|
|
3277
3350
|
*/
|
|
3278
3351
|
proto.ondewo.nlu.ListAgentsRequest.toObject = function(includeInstance, msg) {
|
|
3279
3352
|
var f, obj = {
|
|
3280
|
-
|
|
3281
|
-
|
|
3282
|
-
|
|
3353
|
+
agentView: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
3354
|
+
pageToken: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
3355
|
+
sortByField: (f = msg.getSortByField()) && proto.ondewo.nlu.AgentSorting.toObject(includeInstance, f),
|
|
3356
|
+
fieldMask: (f = msg.getFieldMask()) && google_protobuf_field_mask_pb.FieldMask.toObject(includeInstance, f)
|
|
3283
3357
|
};
|
|
3284
3358
|
|
|
3285
3359
|
if (includeInstance) {
|
|
@@ -3329,6 +3403,11 @@ proto.ondewo.nlu.ListAgentsRequest.deserializeBinaryFromReader = function(msg, r
|
|
|
3329
3403
|
reader.readMessage(value,proto.ondewo.nlu.AgentSorting.deserializeBinaryFromReader);
|
|
3330
3404
|
msg.setSortByField(value);
|
|
3331
3405
|
break;
|
|
3406
|
+
case 4:
|
|
3407
|
+
var value = new google_protobuf_field_mask_pb.FieldMask;
|
|
3408
|
+
reader.readMessage(value,google_protobuf_field_mask_pb.FieldMask.deserializeBinaryFromReader);
|
|
3409
|
+
msg.setFieldMask(value);
|
|
3410
|
+
break;
|
|
3332
3411
|
default:
|
|
3333
3412
|
reader.skipField();
|
|
3334
3413
|
break;
|
|
@@ -3380,6 +3459,14 @@ proto.ondewo.nlu.ListAgentsRequest.serializeBinaryToWriter = function(message, w
|
|
|
3380
3459
|
proto.ondewo.nlu.AgentSorting.serializeBinaryToWriter
|
|
3381
3460
|
);
|
|
3382
3461
|
}
|
|
3462
|
+
f = message.getFieldMask();
|
|
3463
|
+
if (f != null) {
|
|
3464
|
+
writer.writeMessage(
|
|
3465
|
+
4,
|
|
3466
|
+
f,
|
|
3467
|
+
google_protobuf_field_mask_pb.FieldMask.serializeBinaryToWriter
|
|
3468
|
+
);
|
|
3469
|
+
}
|
|
3383
3470
|
};
|
|
3384
3471
|
|
|
3385
3472
|
|
|
@@ -3456,6 +3543,43 @@ proto.ondewo.nlu.ListAgentsRequest.prototype.hasSortByField = function() {
|
|
|
3456
3543
|
};
|
|
3457
3544
|
|
|
3458
3545
|
|
|
3546
|
+
/**
|
|
3547
|
+
* optional google.protobuf.FieldMask field_mask = 4;
|
|
3548
|
+
* @return {?proto.google.protobuf.FieldMask}
|
|
3549
|
+
*/
|
|
3550
|
+
proto.ondewo.nlu.ListAgentsRequest.prototype.getFieldMask = function() {
|
|
3551
|
+
return /** @type{?proto.google.protobuf.FieldMask} */ (
|
|
3552
|
+
jspb.Message.getWrapperField(this, google_protobuf_field_mask_pb.FieldMask, 4));
|
|
3553
|
+
};
|
|
3554
|
+
|
|
3555
|
+
|
|
3556
|
+
/**
|
|
3557
|
+
* @param {?proto.google.protobuf.FieldMask|undefined} value
|
|
3558
|
+
* @return {!proto.ondewo.nlu.ListAgentsRequest} returns this
|
|
3559
|
+
*/
|
|
3560
|
+
proto.ondewo.nlu.ListAgentsRequest.prototype.setFieldMask = function(value) {
|
|
3561
|
+
return jspb.Message.setWrapperField(this, 4, value);
|
|
3562
|
+
};
|
|
3563
|
+
|
|
3564
|
+
|
|
3565
|
+
/**
|
|
3566
|
+
* Clears the message field making it undefined.
|
|
3567
|
+
* @return {!proto.ondewo.nlu.ListAgentsRequest} returns this
|
|
3568
|
+
*/
|
|
3569
|
+
proto.ondewo.nlu.ListAgentsRequest.prototype.clearFieldMask = function() {
|
|
3570
|
+
return this.setFieldMask(undefined);
|
|
3571
|
+
};
|
|
3572
|
+
|
|
3573
|
+
|
|
3574
|
+
/**
|
|
3575
|
+
* Returns whether this field is set.
|
|
3576
|
+
* @return {boolean}
|
|
3577
|
+
*/
|
|
3578
|
+
proto.ondewo.nlu.ListAgentsRequest.prototype.hasFieldMask = function() {
|
|
3579
|
+
return jspb.Message.getField(this, 4) != null;
|
|
3580
|
+
};
|
|
3581
|
+
|
|
3582
|
+
|
|
3459
3583
|
|
|
3460
3584
|
/**
|
|
3461
3585
|
* List of repeated fields within this message type.
|
|
@@ -3495,9 +3619,9 @@ proto.ondewo.nlu.ListAgentsResponse.prototype.toObject = function(opt_includeIns
|
|
|
3495
3619
|
*/
|
|
3496
3620
|
proto.ondewo.nlu.ListAgentsResponse.toObject = function(includeInstance, msg) {
|
|
3497
3621
|
var f, obj = {
|
|
3498
|
-
|
|
3622
|
+
agentsWithOwnersList: jspb.Message.toObjectList(msg.getAgentsWithOwnersList(),
|
|
3499
3623
|
proto.ondewo.nlu.AgentWithOwner.toObject, includeInstance),
|
|
3500
|
-
|
|
3624
|
+
nextPageToken: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
3501
3625
|
};
|
|
3502
3626
|
|
|
3503
3627
|
if (includeInstance) {
|
|
@@ -3685,9 +3809,9 @@ proto.ondewo.nlu.ListAgentsOfUserResponse.prototype.toObject = function(opt_incl
|
|
|
3685
3809
|
*/
|
|
3686
3810
|
proto.ondewo.nlu.ListAgentsOfUserResponse.toObject = function(includeInstance, msg) {
|
|
3687
3811
|
var f, obj = {
|
|
3688
|
-
|
|
3812
|
+
agentsOfUserWithOwnersList: jspb.Message.toObjectList(msg.getAgentsOfUserWithOwnersList(),
|
|
3689
3813
|
proto.ondewo.nlu.AgentOfUserWithOwner.toObject, includeInstance),
|
|
3690
|
-
|
|
3814
|
+
nextPageToken: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
3691
3815
|
};
|
|
3692
3816
|
|
|
3693
3817
|
if (includeInstance) {
|
|
@@ -3868,9 +3992,9 @@ proto.ondewo.nlu.TrainAgentRequest.prototype.toObject = function(opt_includeInst
|
|
|
3868
3992
|
*/
|
|
3869
3993
|
proto.ondewo.nlu.TrainAgentRequest.toObject = function(includeInstance, msg) {
|
|
3870
3994
|
var f, obj = {
|
|
3871
|
-
|
|
3872
|
-
|
|
3873
|
-
|
|
3995
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
3996
|
+
branch: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
3997
|
+
initiationProtocol: jspb.Message.getFieldWithDefault(msg, 3, 0)
|
|
3874
3998
|
};
|
|
3875
3999
|
|
|
3876
4000
|
if (includeInstance) {
|
|
@@ -4058,8 +4182,8 @@ proto.ondewo.nlu.BuildCacheRequest.prototype.toObject = function(opt_includeInst
|
|
|
4058
4182
|
*/
|
|
4059
4183
|
proto.ondewo.nlu.BuildCacheRequest.toObject = function(includeInstance, msg) {
|
|
4060
4184
|
var f, obj = {
|
|
4061
|
-
|
|
4062
|
-
|
|
4185
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
4186
|
+
branch: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
4063
4187
|
};
|
|
4064
4188
|
|
|
4065
4189
|
if (includeInstance) {
|
|
@@ -4218,9 +4342,9 @@ proto.ondewo.nlu.ExportAgentRequest.prototype.toObject = function(opt_includeIns
|
|
|
4218
4342
|
*/
|
|
4219
4343
|
proto.ondewo.nlu.ExportAgentRequest.toObject = function(includeInstance, msg) {
|
|
4220
4344
|
var f, obj = {
|
|
4221
|
-
|
|
4222
|
-
|
|
4223
|
-
|
|
4345
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
4346
|
+
agentUri: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
4347
|
+
compressionLevel: jspb.Message.getFieldWithDefault(msg, 3, 0)
|
|
4224
4348
|
};
|
|
4225
4349
|
|
|
4226
4350
|
if (includeInstance) {
|
|
@@ -4434,8 +4558,8 @@ proto.ondewo.nlu.ExportAgentResponse.prototype.toObject = function(opt_includeIn
|
|
|
4434
4558
|
*/
|
|
4435
4559
|
proto.ondewo.nlu.ExportAgentResponse.toObject = function(includeInstance, msg) {
|
|
4436
4560
|
var f, obj = {
|
|
4437
|
-
|
|
4438
|
-
|
|
4561
|
+
agentUri: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f,
|
|
4562
|
+
agentContent: msg.getAgentContent_asB64()
|
|
4439
4563
|
};
|
|
4440
4564
|
|
|
4441
4565
|
if (includeInstance) {
|
|
@@ -4654,11 +4778,11 @@ proto.ondewo.nlu.ExportBenchmarkAgentRequest.prototype.toObject = function(opt_i
|
|
|
4654
4778
|
*/
|
|
4655
4779
|
proto.ondewo.nlu.ExportBenchmarkAgentRequest.toObject = function(includeInstance, msg) {
|
|
4656
4780
|
var f, obj = {
|
|
4657
|
-
|
|
4658
|
-
|
|
4659
|
-
|
|
4660
|
-
|
|
4661
|
-
|
|
4781
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
4782
|
+
compressionLevel: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
4783
|
+
testSize: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0),
|
|
4784
|
+
trainSize: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0),
|
|
4785
|
+
randomState: jspb.Message.getFieldWithDefault(msg, 5, 0)
|
|
4662
4786
|
};
|
|
4663
4787
|
|
|
4664
4788
|
if (includeInstance) {
|
|
@@ -4904,8 +5028,8 @@ proto.ondewo.nlu.ExportBenchmarkAgentResponse.prototype.toObject = function(opt_
|
|
|
4904
5028
|
*/
|
|
4905
5029
|
proto.ondewo.nlu.ExportBenchmarkAgentResponse.toObject = function(includeInstance, msg) {
|
|
4906
5030
|
var f, obj = {
|
|
4907
|
-
|
|
4908
|
-
|
|
5031
|
+
agentContent: msg.getAgentContent_asB64(),
|
|
5032
|
+
trainingPhrasesMap: (f = msg.getTrainingPhrasesMap()) ? f.toObject(includeInstance, proto.ondewo.nlu.ListTrainingPhrasesResponse.toObject) : []
|
|
4909
5033
|
};
|
|
4910
5034
|
|
|
4911
5035
|
if (includeInstance) {
|
|
@@ -5099,11 +5223,11 @@ proto.ondewo.nlu.OptimizeRankingMatchRequest.prototype.toObject = function(opt_i
|
|
|
5099
5223
|
*/
|
|
5100
5224
|
proto.ondewo.nlu.OptimizeRankingMatchRequest.toObject = function(includeInstance, msg) {
|
|
5101
5225
|
var f, obj = {
|
|
5102
|
-
|
|
5103
|
-
|
|
5104
|
-
|
|
5226
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
5227
|
+
languageCodesList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f,
|
|
5228
|
+
optimizationConfigsList: jspb.Message.toObjectList(msg.getOptimizationConfigsList(),
|
|
5105
5229
|
proto.ondewo.nlu.RankingMatchOptimizationConfig.toObject, includeInstance),
|
|
5106
|
-
|
|
5230
|
+
inPlace: jspb.Message.getBooleanFieldWithDefault(msg, 4, false)
|
|
5107
5231
|
};
|
|
5108
5232
|
|
|
5109
5233
|
if (includeInstance) {
|
|
@@ -5361,10 +5485,10 @@ proto.ondewo.nlu.RankingMatchOptimizationConfig.prototype.toObject = function(op
|
|
|
5361
5485
|
*/
|
|
5362
5486
|
proto.ondewo.nlu.RankingMatchOptimizationConfig.toObject = function(includeInstance, msg) {
|
|
5363
5487
|
var f, obj = {
|
|
5364
|
-
|
|
5365
|
-
|
|
5366
|
-
|
|
5367
|
-
|
|
5488
|
+
languageCode: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
5489
|
+
nSplits: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
5490
|
+
randomSeed: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
5491
|
+
initialThresholds: (f = msg.getInitialThresholds()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f)
|
|
5368
5492
|
};
|
|
5369
5493
|
|
|
5370
5494
|
if (includeInstance) {
|
|
@@ -5602,8 +5726,8 @@ proto.ondewo.nlu.OptimizeRankingMatchResponse.prototype.toObject = function(opt_
|
|
|
5602
5726
|
*/
|
|
5603
5727
|
proto.ondewo.nlu.OptimizeRankingMatchResponse.toObject = function(includeInstance, msg) {
|
|
5604
5728
|
var f, obj = {
|
|
5605
|
-
|
|
5606
|
-
|
|
5729
|
+
optimizationInfo: (f = msg.getOptimizationInfo()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f),
|
|
5730
|
+
optimizedOndewoConfig: (f = msg.getOptimizedOndewoConfig()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f)
|
|
5607
5731
|
};
|
|
5608
5732
|
|
|
5609
5733
|
if (includeInstance) {
|
|
@@ -5830,9 +5954,9 @@ proto.ondewo.nlu.ImportAgentRequest.prototype.toObject = function(opt_includeIns
|
|
|
5830
5954
|
*/
|
|
5831
5955
|
proto.ondewo.nlu.ImportAgentRequest.toObject = function(includeInstance, msg) {
|
|
5832
5956
|
var f, obj = {
|
|
5833
|
-
|
|
5834
|
-
|
|
5835
|
-
|
|
5957
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
5958
|
+
agentUri: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f,
|
|
5959
|
+
agentContent: msg.getAgentContent_asB64()
|
|
5836
5960
|
};
|
|
5837
5961
|
|
|
5838
5962
|
if (includeInstance) {
|
|
@@ -6106,9 +6230,9 @@ proto.ondewo.nlu.RestoreAgentRequest.prototype.toObject = function(opt_includeIn
|
|
|
6106
6230
|
*/
|
|
6107
6231
|
proto.ondewo.nlu.RestoreAgentRequest.toObject = function(includeInstance, msg) {
|
|
6108
6232
|
var f, obj = {
|
|
6109
|
-
|
|
6110
|
-
|
|
6111
|
-
|
|
6233
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
6234
|
+
agentUri: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f,
|
|
6235
|
+
agentContent: msg.getAgentContent_asB64()
|
|
6112
6236
|
};
|
|
6113
6237
|
|
|
6114
6238
|
if (includeInstance) {
|
|
@@ -6327,6 +6451,160 @@ proto.ondewo.nlu.RestoreAgentRequest.prototype.hasAgentContent = function() {
|
|
|
6327
6451
|
|
|
6328
6452
|
|
|
6329
6453
|
|
|
6454
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
6455
|
+
/**
|
|
6456
|
+
* Creates an object representation of this proto.
|
|
6457
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
6458
|
+
* Optional fields that are not set will be set to undefined.
|
|
6459
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
6460
|
+
* For the list of reserved names please see:
|
|
6461
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
6462
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
6463
|
+
* JSPB instance for transitional soy proto support:
|
|
6464
|
+
* http://goto/soy-param-migration
|
|
6465
|
+
* @return {!Object}
|
|
6466
|
+
*/
|
|
6467
|
+
proto.ondewo.nlu.MigrateAgentRequest.prototype.toObject = function(opt_includeInstance) {
|
|
6468
|
+
return proto.ondewo.nlu.MigrateAgentRequest.toObject(opt_includeInstance, this);
|
|
6469
|
+
};
|
|
6470
|
+
|
|
6471
|
+
|
|
6472
|
+
/**
|
|
6473
|
+
* Static version of the {@see toObject} method.
|
|
6474
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
6475
|
+
* the JSPB instance for transitional soy proto support:
|
|
6476
|
+
* http://goto/soy-param-migration
|
|
6477
|
+
* @param {!proto.ondewo.nlu.MigrateAgentRequest} msg The msg instance to transform.
|
|
6478
|
+
* @return {!Object}
|
|
6479
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
6480
|
+
*/
|
|
6481
|
+
proto.ondewo.nlu.MigrateAgentRequest.toObject = function(includeInstance, msg) {
|
|
6482
|
+
var f, obj = {
|
|
6483
|
+
agentContent: msg.getAgentContent_asB64()
|
|
6484
|
+
};
|
|
6485
|
+
|
|
6486
|
+
if (includeInstance) {
|
|
6487
|
+
obj.$jspbMessageInstance = msg;
|
|
6488
|
+
}
|
|
6489
|
+
return obj;
|
|
6490
|
+
};
|
|
6491
|
+
}
|
|
6492
|
+
|
|
6493
|
+
|
|
6494
|
+
/**
|
|
6495
|
+
* Deserializes binary data (in protobuf wire format).
|
|
6496
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
6497
|
+
* @return {!proto.ondewo.nlu.MigrateAgentRequest}
|
|
6498
|
+
*/
|
|
6499
|
+
proto.ondewo.nlu.MigrateAgentRequest.deserializeBinary = function(bytes) {
|
|
6500
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
6501
|
+
var msg = new proto.ondewo.nlu.MigrateAgentRequest;
|
|
6502
|
+
return proto.ondewo.nlu.MigrateAgentRequest.deserializeBinaryFromReader(msg, reader);
|
|
6503
|
+
};
|
|
6504
|
+
|
|
6505
|
+
|
|
6506
|
+
/**
|
|
6507
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
6508
|
+
* given reader into the given message object.
|
|
6509
|
+
* @param {!proto.ondewo.nlu.MigrateAgentRequest} msg The message object to deserialize into.
|
|
6510
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
6511
|
+
* @return {!proto.ondewo.nlu.MigrateAgentRequest}
|
|
6512
|
+
*/
|
|
6513
|
+
proto.ondewo.nlu.MigrateAgentRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
6514
|
+
while (reader.nextField()) {
|
|
6515
|
+
if (reader.isEndGroup()) {
|
|
6516
|
+
break;
|
|
6517
|
+
}
|
|
6518
|
+
var field = reader.getFieldNumber();
|
|
6519
|
+
switch (field) {
|
|
6520
|
+
case 1:
|
|
6521
|
+
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
6522
|
+
msg.setAgentContent(value);
|
|
6523
|
+
break;
|
|
6524
|
+
default:
|
|
6525
|
+
reader.skipField();
|
|
6526
|
+
break;
|
|
6527
|
+
}
|
|
6528
|
+
}
|
|
6529
|
+
return msg;
|
|
6530
|
+
};
|
|
6531
|
+
|
|
6532
|
+
|
|
6533
|
+
/**
|
|
6534
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
6535
|
+
* @return {!Uint8Array}
|
|
6536
|
+
*/
|
|
6537
|
+
proto.ondewo.nlu.MigrateAgentRequest.prototype.serializeBinary = function() {
|
|
6538
|
+
var writer = new jspb.BinaryWriter();
|
|
6539
|
+
proto.ondewo.nlu.MigrateAgentRequest.serializeBinaryToWriter(this, writer);
|
|
6540
|
+
return writer.getResultBuffer();
|
|
6541
|
+
};
|
|
6542
|
+
|
|
6543
|
+
|
|
6544
|
+
/**
|
|
6545
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
6546
|
+
* format), writing to the given BinaryWriter.
|
|
6547
|
+
* @param {!proto.ondewo.nlu.MigrateAgentRequest} message
|
|
6548
|
+
* @param {!jspb.BinaryWriter} writer
|
|
6549
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
6550
|
+
*/
|
|
6551
|
+
proto.ondewo.nlu.MigrateAgentRequest.serializeBinaryToWriter = function(message, writer) {
|
|
6552
|
+
var f = undefined;
|
|
6553
|
+
f = message.getAgentContent_asU8();
|
|
6554
|
+
if (f.length > 0) {
|
|
6555
|
+
writer.writeBytes(
|
|
6556
|
+
1,
|
|
6557
|
+
f
|
|
6558
|
+
);
|
|
6559
|
+
}
|
|
6560
|
+
};
|
|
6561
|
+
|
|
6562
|
+
|
|
6563
|
+
/**
|
|
6564
|
+
* optional bytes agent_content = 1;
|
|
6565
|
+
* @return {!(string|Uint8Array)}
|
|
6566
|
+
*/
|
|
6567
|
+
proto.ondewo.nlu.MigrateAgentRequest.prototype.getAgentContent = function() {
|
|
6568
|
+
return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
6569
|
+
};
|
|
6570
|
+
|
|
6571
|
+
|
|
6572
|
+
/**
|
|
6573
|
+
* optional bytes agent_content = 1;
|
|
6574
|
+
* This is a type-conversion wrapper around `getAgentContent()`
|
|
6575
|
+
* @return {string}
|
|
6576
|
+
*/
|
|
6577
|
+
proto.ondewo.nlu.MigrateAgentRequest.prototype.getAgentContent_asB64 = function() {
|
|
6578
|
+
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
6579
|
+
this.getAgentContent()));
|
|
6580
|
+
};
|
|
6581
|
+
|
|
6582
|
+
|
|
6583
|
+
/**
|
|
6584
|
+
* optional bytes agent_content = 1;
|
|
6585
|
+
* Note that Uint8Array is not supported on all browsers.
|
|
6586
|
+
* @see http://caniuse.com/Uint8Array
|
|
6587
|
+
* This is a type-conversion wrapper around `getAgentContent()`
|
|
6588
|
+
* @return {!Uint8Array}
|
|
6589
|
+
*/
|
|
6590
|
+
proto.ondewo.nlu.MigrateAgentRequest.prototype.getAgentContent_asU8 = function() {
|
|
6591
|
+
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
6592
|
+
this.getAgentContent()));
|
|
6593
|
+
};
|
|
6594
|
+
|
|
6595
|
+
|
|
6596
|
+
/**
|
|
6597
|
+
* @param {!(string|Uint8Array)} value
|
|
6598
|
+
* @return {!proto.ondewo.nlu.MigrateAgentRequest} returns this
|
|
6599
|
+
*/
|
|
6600
|
+
proto.ondewo.nlu.MigrateAgentRequest.prototype.setAgentContent = function(value) {
|
|
6601
|
+
return jspb.Message.setProto3BytesField(this, 1, value);
|
|
6602
|
+
};
|
|
6603
|
+
|
|
6604
|
+
|
|
6605
|
+
|
|
6606
|
+
|
|
6607
|
+
|
|
6330
6608
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
6331
6609
|
/**
|
|
6332
6610
|
* Creates an object representation of this proto.
|
|
@@ -6356,10 +6634,10 @@ proto.ondewo.nlu.GetAgentStatisticsRequest.prototype.toObject = function(opt_inc
|
|
|
6356
6634
|
*/
|
|
6357
6635
|
proto.ondewo.nlu.GetAgentStatisticsRequest.toObject = function(includeInstance, msg) {
|
|
6358
6636
|
var f, obj = {
|
|
6359
|
-
|
|
6360
|
-
|
|
6361
|
-
|
|
6362
|
-
|
|
6637
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
6638
|
+
format: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
6639
|
+
languageCode: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
6640
|
+
type: jspb.Message.getFieldWithDefault(msg, 4, 0)
|
|
6363
6641
|
};
|
|
6364
6642
|
|
|
6365
6643
|
if (includeInstance) {
|
|
@@ -6576,9 +6854,9 @@ proto.ondewo.nlu.GetAgentStatisticsResponse.prototype.toObject = function(opt_in
|
|
|
6576
6854
|
*/
|
|
6577
6855
|
proto.ondewo.nlu.GetAgentStatisticsResponse.toObject = function(includeInstance, msg) {
|
|
6578
6856
|
var f, obj = {
|
|
6579
|
-
|
|
6580
|
-
|
|
6581
|
-
|
|
6857
|
+
reports: msg.getReports_asB64(),
|
|
6858
|
+
format: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
6859
|
+
type: jspb.Message.getFieldWithDefault(msg, 3, 0)
|
|
6582
6860
|
};
|
|
6583
6861
|
|
|
6584
6862
|
if (includeInstance) {
|
|
@@ -6797,17 +7075,17 @@ proto.ondewo.nlu.GetSessionsStatisticsRequest.prototype.toObject = function(opt_
|
|
|
6797
7075
|
*/
|
|
6798
7076
|
proto.ondewo.nlu.GetSessionsStatisticsRequest.toObject = function(includeInstance, msg) {
|
|
6799
7077
|
var f, obj = {
|
|
6800
|
-
|
|
6801
|
-
|
|
6802
|
-
|
|
6803
|
-
|
|
6804
|
-
|
|
7078
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
7079
|
+
format: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
7080
|
+
type: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
7081
|
+
sessionFilter: (f = msg.getSessionFilter()) && ondewo_nlu_session_pb.SessionFilter.toObject(includeInstance, f),
|
|
7082
|
+
contextFiltersList: jspb.Message.toObjectList(msg.getContextFiltersList(),
|
|
6805
7083
|
ondewo_nlu_session_pb.ContextFilter.toObject, includeInstance),
|
|
6806
|
-
|
|
6807
|
-
|
|
6808
|
-
|
|
6809
|
-
|
|
6810
|
-
|
|
7084
|
+
limit: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
|
7085
|
+
groupBysList: (f = jspb.Message.getRepeatedField(msg, 7)) == null ? undefined : f,
|
|
7086
|
+
orderBysList: (f = jspb.Message.getRepeatedField(msg, 8)) == null ? undefined : f,
|
|
7087
|
+
fieldMask: (f = msg.getFieldMask()) && google_protobuf_field_mask_pb.FieldMask.toObject(includeInstance, f),
|
|
7088
|
+
sqlQuery: jspb.Message.getFieldWithDefault(msg, 10, "")
|
|
6811
7089
|
};
|
|
6812
7090
|
|
|
6813
7091
|
if (includeInstance) {
|
|
@@ -7300,9 +7578,9 @@ proto.ondewo.nlu.GetSessionsStatisticsResponse.prototype.toObject = function(opt
|
|
|
7300
7578
|
*/
|
|
7301
7579
|
proto.ondewo.nlu.GetSessionsStatisticsResponse.toObject = function(includeInstance, msg) {
|
|
7302
7580
|
var f, obj = {
|
|
7303
|
-
|
|
7304
|
-
|
|
7305
|
-
|
|
7581
|
+
reports: msg.getReports_asB64(),
|
|
7582
|
+
format: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
7583
|
+
type: jspb.Message.getFieldWithDefault(msg, 3, 0)
|
|
7306
7584
|
};
|
|
7307
7585
|
|
|
7308
7586
|
if (includeInstance) {
|
|
@@ -7514,9 +7792,9 @@ proto.ondewo.nlu.AddUserToProjectRequest.prototype.toObject = function(opt_inclu
|
|
|
7514
7792
|
*/
|
|
7515
7793
|
proto.ondewo.nlu.AddUserToProjectRequest.toObject = function(includeInstance, msg) {
|
|
7516
7794
|
var f, obj = {
|
|
7517
|
-
|
|
7518
|
-
|
|
7519
|
-
|
|
7795
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
7796
|
+
userId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
7797
|
+
projectRoleId: jspb.Message.getFieldWithDefault(msg, 4, 0)
|
|
7520
7798
|
};
|
|
7521
7799
|
|
|
7522
7800
|
if (includeInstance) {
|
|
@@ -7704,8 +7982,8 @@ proto.ondewo.nlu.RemoveUserFromProjectRequest.prototype.toObject = function(opt_
|
|
|
7704
7982
|
*/
|
|
7705
7983
|
proto.ondewo.nlu.RemoveUserFromProjectRequest.toObject = function(includeInstance, msg) {
|
|
7706
7984
|
var f, obj = {
|
|
7707
|
-
|
|
7708
|
-
|
|
7985
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
7986
|
+
userId: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
7709
7987
|
};
|
|
7710
7988
|
|
|
7711
7989
|
if (includeInstance) {
|
|
@@ -7864,8 +8142,9 @@ proto.ondewo.nlu.ListUsersInProjectRequest.prototype.toObject = function(opt_inc
|
|
|
7864
8142
|
*/
|
|
7865
8143
|
proto.ondewo.nlu.ListUsersInProjectRequest.toObject = function(includeInstance, msg) {
|
|
7866
8144
|
var f, obj = {
|
|
7867
|
-
|
|
7868
|
-
|
|
8145
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
8146
|
+
pageToken: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
8147
|
+
fieldMask: (f = msg.getFieldMask()) && google_protobuf_field_mask_pb.FieldMask.toObject(includeInstance, f)
|
|
7869
8148
|
};
|
|
7870
8149
|
|
|
7871
8150
|
if (includeInstance) {
|
|
@@ -7910,6 +8189,11 @@ proto.ondewo.nlu.ListUsersInProjectRequest.deserializeBinaryFromReader = functio
|
|
|
7910
8189
|
var value = /** @type {string} */ (reader.readString());
|
|
7911
8190
|
msg.setPageToken(value);
|
|
7912
8191
|
break;
|
|
8192
|
+
case 3:
|
|
8193
|
+
var value = new google_protobuf_field_mask_pb.FieldMask;
|
|
8194
|
+
reader.readMessage(value,google_protobuf_field_mask_pb.FieldMask.deserializeBinaryFromReader);
|
|
8195
|
+
msg.setFieldMask(value);
|
|
8196
|
+
break;
|
|
7913
8197
|
default:
|
|
7914
8198
|
reader.skipField();
|
|
7915
8199
|
break;
|
|
@@ -7953,6 +8237,14 @@ proto.ondewo.nlu.ListUsersInProjectRequest.serializeBinaryToWriter = function(me
|
|
|
7953
8237
|
f
|
|
7954
8238
|
);
|
|
7955
8239
|
}
|
|
8240
|
+
f = message.getFieldMask();
|
|
8241
|
+
if (f != null) {
|
|
8242
|
+
writer.writeMessage(
|
|
8243
|
+
3,
|
|
8244
|
+
f,
|
|
8245
|
+
google_protobuf_field_mask_pb.FieldMask.serializeBinaryToWriter
|
|
8246
|
+
);
|
|
8247
|
+
}
|
|
7956
8248
|
};
|
|
7957
8249
|
|
|
7958
8250
|
|
|
@@ -7992,6 +8284,43 @@ proto.ondewo.nlu.ListUsersInProjectRequest.prototype.setPageToken = function(val
|
|
|
7992
8284
|
};
|
|
7993
8285
|
|
|
7994
8286
|
|
|
8287
|
+
/**
|
|
8288
|
+
* optional google.protobuf.FieldMask field_mask = 3;
|
|
8289
|
+
* @return {?proto.google.protobuf.FieldMask}
|
|
8290
|
+
*/
|
|
8291
|
+
proto.ondewo.nlu.ListUsersInProjectRequest.prototype.getFieldMask = function() {
|
|
8292
|
+
return /** @type{?proto.google.protobuf.FieldMask} */ (
|
|
8293
|
+
jspb.Message.getWrapperField(this, google_protobuf_field_mask_pb.FieldMask, 3));
|
|
8294
|
+
};
|
|
8295
|
+
|
|
8296
|
+
|
|
8297
|
+
/**
|
|
8298
|
+
* @param {?proto.google.protobuf.FieldMask|undefined} value
|
|
8299
|
+
* @return {!proto.ondewo.nlu.ListUsersInProjectRequest} returns this
|
|
8300
|
+
*/
|
|
8301
|
+
proto.ondewo.nlu.ListUsersInProjectRequest.prototype.setFieldMask = function(value) {
|
|
8302
|
+
return jspb.Message.setWrapperField(this, 3, value);
|
|
8303
|
+
};
|
|
8304
|
+
|
|
8305
|
+
|
|
8306
|
+
/**
|
|
8307
|
+
* Clears the message field making it undefined.
|
|
8308
|
+
* @return {!proto.ondewo.nlu.ListUsersInProjectRequest} returns this
|
|
8309
|
+
*/
|
|
8310
|
+
proto.ondewo.nlu.ListUsersInProjectRequest.prototype.clearFieldMask = function() {
|
|
8311
|
+
return this.setFieldMask(undefined);
|
|
8312
|
+
};
|
|
8313
|
+
|
|
8314
|
+
|
|
8315
|
+
/**
|
|
8316
|
+
* Returns whether this field is set.
|
|
8317
|
+
* @return {boolean}
|
|
8318
|
+
*/
|
|
8319
|
+
proto.ondewo.nlu.ListUsersInProjectRequest.prototype.hasFieldMask = function() {
|
|
8320
|
+
return jspb.Message.getField(this, 3) != null;
|
|
8321
|
+
};
|
|
8322
|
+
|
|
8323
|
+
|
|
7995
8324
|
|
|
7996
8325
|
|
|
7997
8326
|
|
|
@@ -8024,9 +8353,9 @@ proto.ondewo.nlu.UserInProject.prototype.toObject = function(opt_includeInstance
|
|
|
8024
8353
|
*/
|
|
8025
8354
|
proto.ondewo.nlu.UserInProject.toObject = function(includeInstance, msg) {
|
|
8026
8355
|
var f, obj = {
|
|
8027
|
-
|
|
8028
|
-
|
|
8029
|
-
|
|
8356
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
8357
|
+
user: (f = msg.getUser()) && ondewo_nlu_user_pb.User.toObject(includeInstance, f),
|
|
8358
|
+
roleId: jspb.Message.getFieldWithDefault(msg, 3, 0)
|
|
8030
8359
|
};
|
|
8031
8360
|
|
|
8032
8361
|
if (includeInstance) {
|
|
@@ -8242,9 +8571,9 @@ proto.ondewo.nlu.ListUsersInProjectResponse.prototype.toObject = function(opt_in
|
|
|
8242
8571
|
*/
|
|
8243
8572
|
proto.ondewo.nlu.ListUsersInProjectResponse.toObject = function(includeInstance, msg) {
|
|
8244
8573
|
var f, obj = {
|
|
8245
|
-
|
|
8574
|
+
usersList: jspb.Message.toObjectList(msg.getUsersList(),
|
|
8246
8575
|
proto.ondewo.nlu.UserInProject.toObject, includeInstance),
|
|
8247
|
-
|
|
8576
|
+
nextPageToken: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
8248
8577
|
};
|
|
8249
8578
|
|
|
8250
8579
|
if (includeInstance) {
|
|
@@ -8425,8 +8754,8 @@ proto.ondewo.nlu.GetPlatformInfoResponse.prototype.toObject = function(opt_inclu
|
|
|
8425
8754
|
*/
|
|
8426
8755
|
proto.ondewo.nlu.GetPlatformInfoResponse.toObject = function(includeInstance, msg) {
|
|
8427
8756
|
var f, obj = {
|
|
8428
|
-
|
|
8429
|
-
|
|
8757
|
+
version: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
8758
|
+
commitHash: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
8430
8759
|
};
|
|
8431
8760
|
|
|
8432
8761
|
if (includeInstance) {
|
|
@@ -8585,7 +8914,8 @@ proto.ondewo.nlu.ListProjectPermissionsRequest.prototype.toObject = function(opt
|
|
|
8585
8914
|
*/
|
|
8586
8915
|
proto.ondewo.nlu.ListProjectPermissionsRequest.toObject = function(includeInstance, msg) {
|
|
8587
8916
|
var f, obj = {
|
|
8588
|
-
|
|
8917
|
+
pageToken: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
8918
|
+
fieldMask: (f = msg.getFieldMask()) && google_protobuf_field_mask_pb.FieldMask.toObject(includeInstance, f)
|
|
8589
8919
|
};
|
|
8590
8920
|
|
|
8591
8921
|
if (includeInstance) {
|
|
@@ -8626,6 +8956,11 @@ proto.ondewo.nlu.ListProjectPermissionsRequest.deserializeBinaryFromReader = fun
|
|
|
8626
8956
|
var value = /** @type {string} */ (reader.readString());
|
|
8627
8957
|
msg.setPageToken(value);
|
|
8628
8958
|
break;
|
|
8959
|
+
case 2:
|
|
8960
|
+
var value = new google_protobuf_field_mask_pb.FieldMask;
|
|
8961
|
+
reader.readMessage(value,google_protobuf_field_mask_pb.FieldMask.deserializeBinaryFromReader);
|
|
8962
|
+
msg.setFieldMask(value);
|
|
8963
|
+
break;
|
|
8629
8964
|
default:
|
|
8630
8965
|
reader.skipField();
|
|
8631
8966
|
break;
|
|
@@ -8662,6 +8997,14 @@ proto.ondewo.nlu.ListProjectPermissionsRequest.serializeBinaryToWriter = functio
|
|
|
8662
8997
|
f
|
|
8663
8998
|
);
|
|
8664
8999
|
}
|
|
9000
|
+
f = message.getFieldMask();
|
|
9001
|
+
if (f != null) {
|
|
9002
|
+
writer.writeMessage(
|
|
9003
|
+
2,
|
|
9004
|
+
f,
|
|
9005
|
+
google_protobuf_field_mask_pb.FieldMask.serializeBinaryToWriter
|
|
9006
|
+
);
|
|
9007
|
+
}
|
|
8665
9008
|
};
|
|
8666
9009
|
|
|
8667
9010
|
|
|
@@ -8683,6 +9026,43 @@ proto.ondewo.nlu.ListProjectPermissionsRequest.prototype.setPageToken = function
|
|
|
8683
9026
|
};
|
|
8684
9027
|
|
|
8685
9028
|
|
|
9029
|
+
/**
|
|
9030
|
+
* optional google.protobuf.FieldMask field_mask = 2;
|
|
9031
|
+
* @return {?proto.google.protobuf.FieldMask}
|
|
9032
|
+
*/
|
|
9033
|
+
proto.ondewo.nlu.ListProjectPermissionsRequest.prototype.getFieldMask = function() {
|
|
9034
|
+
return /** @type{?proto.google.protobuf.FieldMask} */ (
|
|
9035
|
+
jspb.Message.getWrapperField(this, google_protobuf_field_mask_pb.FieldMask, 2));
|
|
9036
|
+
};
|
|
9037
|
+
|
|
9038
|
+
|
|
9039
|
+
/**
|
|
9040
|
+
* @param {?proto.google.protobuf.FieldMask|undefined} value
|
|
9041
|
+
* @return {!proto.ondewo.nlu.ListProjectPermissionsRequest} returns this
|
|
9042
|
+
*/
|
|
9043
|
+
proto.ondewo.nlu.ListProjectPermissionsRequest.prototype.setFieldMask = function(value) {
|
|
9044
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
9045
|
+
};
|
|
9046
|
+
|
|
9047
|
+
|
|
9048
|
+
/**
|
|
9049
|
+
* Clears the message field making it undefined.
|
|
9050
|
+
* @return {!proto.ondewo.nlu.ListProjectPermissionsRequest} returns this
|
|
9051
|
+
*/
|
|
9052
|
+
proto.ondewo.nlu.ListProjectPermissionsRequest.prototype.clearFieldMask = function() {
|
|
9053
|
+
return this.setFieldMask(undefined);
|
|
9054
|
+
};
|
|
9055
|
+
|
|
9056
|
+
|
|
9057
|
+
/**
|
|
9058
|
+
* Returns whether this field is set.
|
|
9059
|
+
* @return {boolean}
|
|
9060
|
+
*/
|
|
9061
|
+
proto.ondewo.nlu.ListProjectPermissionsRequest.prototype.hasFieldMask = function() {
|
|
9062
|
+
return jspb.Message.getField(this, 2) != null;
|
|
9063
|
+
};
|
|
9064
|
+
|
|
9065
|
+
|
|
8686
9066
|
|
|
8687
9067
|
/**
|
|
8688
9068
|
* List of repeated fields within this message type.
|
|
@@ -8722,8 +9102,8 @@ proto.ondewo.nlu.ListProjectPermissionsResponse.prototype.toObject = function(op
|
|
|
8722
9102
|
*/
|
|
8723
9103
|
proto.ondewo.nlu.ListProjectPermissionsResponse.toObject = function(includeInstance, msg) {
|
|
8724
9104
|
var f, obj = {
|
|
8725
|
-
|
|
8726
|
-
|
|
9105
|
+
permissionsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
|
|
9106
|
+
nextPageToken: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
8727
9107
|
};
|
|
8728
9108
|
|
|
8729
9109
|
if (includeInstance) {
|
|
@@ -8901,9 +9281,9 @@ proto.ondewo.nlu.SetAgentStatusRequest.prototype.toObject = function(opt_include
|
|
|
8901
9281
|
*/
|
|
8902
9282
|
proto.ondewo.nlu.SetAgentStatusRequest.toObject = function(includeInstance, msg) {
|
|
8903
9283
|
var f, obj = {
|
|
8904
|
-
|
|
8905
|
-
|
|
8906
|
-
|
|
9284
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
9285
|
+
status: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
9286
|
+
agentView: jspb.Message.getFieldWithDefault(msg, 3, 0)
|
|
8907
9287
|
};
|
|
8908
9288
|
|
|
8909
9289
|
if (includeInstance) {
|
|
@@ -9091,8 +9471,8 @@ proto.ondewo.nlu.AgentSorting.prototype.toObject = function(opt_includeInstance)
|
|
|
9091
9471
|
*/
|
|
9092
9472
|
proto.ondewo.nlu.AgentSorting.toObject = function(includeInstance, msg) {
|
|
9093
9473
|
var f, obj = {
|
|
9094
|
-
|
|
9095
|
-
|
|
9474
|
+
sortingField: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
9475
|
+
sortingMode: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
|
9096
9476
|
};
|
|
9097
9477
|
|
|
9098
9478
|
if (includeInstance) {
|
|
@@ -9262,11 +9642,11 @@ proto.ondewo.nlu.SetResourcesRequest.prototype.toObject = function(opt_includeIn
|
|
|
9262
9642
|
*/
|
|
9263
9643
|
proto.ondewo.nlu.SetResourcesRequest.toObject = function(includeInstance, msg) {
|
|
9264
9644
|
var f, obj = {
|
|
9265
|
-
|
|
9266
|
-
|
|
9267
|
-
|
|
9268
|
-
|
|
9269
|
-
|
|
9645
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
9646
|
+
name: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
9647
|
+
type: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
9648
|
+
resourceFile: msg.getResourceFile_asB64(),
|
|
9649
|
+
languageCode: jspb.Message.getFieldWithDefault(msg, 5, "")
|
|
9270
9650
|
};
|
|
9271
9651
|
|
|
9272
9652
|
if (includeInstance) {
|
|
@@ -9536,10 +9916,10 @@ proto.ondewo.nlu.DeleteResourcesRequest.prototype.toObject = function(opt_includ
|
|
|
9536
9916
|
*/
|
|
9537
9917
|
proto.ondewo.nlu.DeleteResourcesRequest.toObject = function(includeInstance, msg) {
|
|
9538
9918
|
var f, obj = {
|
|
9539
|
-
|
|
9540
|
-
|
|
9541
|
-
|
|
9542
|
-
|
|
9919
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
9920
|
+
name: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
9921
|
+
type: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
9922
|
+
languageCode: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
9543
9923
|
};
|
|
9544
9924
|
|
|
9545
9925
|
if (includeInstance) {
|
|
@@ -9756,10 +10136,10 @@ proto.ondewo.nlu.ExportResourcesRequest.prototype.toObject = function(opt_includ
|
|
|
9756
10136
|
*/
|
|
9757
10137
|
proto.ondewo.nlu.ExportResourcesRequest.toObject = function(includeInstance, msg) {
|
|
9758
10138
|
var f, obj = {
|
|
9759
|
-
|
|
9760
|
-
|
|
9761
|
-
|
|
9762
|
-
|
|
10139
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
10140
|
+
name: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
10141
|
+
type: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
10142
|
+
languageCode: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
9763
10143
|
};
|
|
9764
10144
|
|
|
9765
10145
|
if (includeInstance) {
|
|
@@ -9976,11 +10356,11 @@ proto.ondewo.nlu.ExportResourcesResponse.prototype.toObject = function(opt_inclu
|
|
|
9976
10356
|
*/
|
|
9977
10357
|
proto.ondewo.nlu.ExportResourcesResponse.toObject = function(includeInstance, msg) {
|
|
9978
10358
|
var f, obj = {
|
|
9979
|
-
|
|
9980
|
-
|
|
9981
|
-
|
|
9982
|
-
|
|
9983
|
-
|
|
10359
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
10360
|
+
name: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
10361
|
+
type: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
10362
|
+
languageCode: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
10363
|
+
resourceFile: msg.getResourceFile_asB64()
|
|
9984
10364
|
};
|
|
9985
10365
|
|
|
9986
10366
|
if (includeInstance) {
|
|
@@ -10250,10 +10630,10 @@ proto.ondewo.nlu.GetModelStatusesRequest.prototype.toObject = function(opt_inclu
|
|
|
10250
10630
|
*/
|
|
10251
10631
|
proto.ondewo.nlu.GetModelStatusesRequest.toObject = function(includeInstance, msg) {
|
|
10252
10632
|
var f, obj = {
|
|
10253
|
-
|
|
10254
|
-
|
|
10255
|
-
|
|
10256
|
-
|
|
10633
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
10634
|
+
cacheVersion: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
10635
|
+
languageCode: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
10636
|
+
modelName: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
10257
10637
|
};
|
|
10258
10638
|
|
|
10259
10639
|
if (includeInstance) {
|
|
@@ -10470,12 +10850,12 @@ proto.ondewo.nlu.ModelStatus.prototype.toObject = function(opt_includeInstance)
|
|
|
10470
10850
|
*/
|
|
10471
10851
|
proto.ondewo.nlu.ModelStatus.toObject = function(includeInstance, msg) {
|
|
10472
10852
|
var f, obj = {
|
|
10473
|
-
|
|
10474
|
-
|
|
10475
|
-
|
|
10476
|
-
|
|
10477
|
-
|
|
10478
|
-
|
|
10853
|
+
cacheVersion: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
10854
|
+
languageCode: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
10855
|
+
modelName: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
10856
|
+
statusSetTime: (f = msg.getStatusSetTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
10857
|
+
config: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
10858
|
+
status: jspb.Message.getFieldWithDefault(msg, 6, 0)
|
|
10479
10859
|
};
|
|
10480
10860
|
|
|
10481
10861
|
if (includeInstance) {
|
|
@@ -10791,7 +11171,7 @@ proto.ondewo.nlu.GetModelStatusesResponse.prototype.toObject = function(opt_incl
|
|
|
10791
11171
|
*/
|
|
10792
11172
|
proto.ondewo.nlu.GetModelStatusesResponse.toObject = function(includeInstance, msg) {
|
|
10793
11173
|
var f, obj = {
|
|
10794
|
-
|
|
11174
|
+
modelStatusesList: jspb.Message.toObjectList(msg.getModelStatusesList(),
|
|
10795
11175
|
proto.ondewo.nlu.ModelStatus.toObject, includeInstance)
|
|
10796
11176
|
};
|
|
10797
11177
|
|
|
@@ -10944,13 +11324,13 @@ proto.ondewo.nlu.CustomPlatformInfo.prototype.toObject = function(opt_includeIns
|
|
|
10944
11324
|
*/
|
|
10945
11325
|
proto.ondewo.nlu.CustomPlatformInfo.toObject = function(includeInstance, msg) {
|
|
10946
11326
|
var f, obj = {
|
|
10947
|
-
|
|
10948
|
-
|
|
10949
|
-
|
|
10950
|
-
|
|
10951
|
-
|
|
10952
|
-
|
|
10953
|
-
|
|
11327
|
+
platform: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
11328
|
+
displayName: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
11329
|
+
position: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
11330
|
+
createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
11331
|
+
modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
11332
|
+
createdBy: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
11333
|
+
modifiedBy: jspb.Message.getFieldWithDefault(msg, 7, "")
|
|
10954
11334
|
};
|
|
10955
11335
|
|
|
10956
11336
|
if (includeInstance) {
|
|
@@ -11296,7 +11676,7 @@ proto.ondewo.nlu.GetPlatformMappingRequest.prototype.toObject = function(opt_inc
|
|
|
11296
11676
|
*/
|
|
11297
11677
|
proto.ondewo.nlu.GetPlatformMappingRequest.toObject = function(includeInstance, msg) {
|
|
11298
11678
|
var f, obj = {
|
|
11299
|
-
|
|
11679
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
11300
11680
|
};
|
|
11301
11681
|
|
|
11302
11682
|
if (includeInstance) {
|
|
@@ -11433,8 +11813,8 @@ proto.ondewo.nlu.PlatformMapping.prototype.toObject = function(opt_includeInstan
|
|
|
11433
11813
|
*/
|
|
11434
11814
|
proto.ondewo.nlu.PlatformMapping.toObject = function(includeInstance, msg) {
|
|
11435
11815
|
var f, obj = {
|
|
11436
|
-
|
|
11437
|
-
|
|
11816
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
11817
|
+
platformInfoList: jspb.Message.toObjectList(msg.getPlatformInfoList(),
|
|
11438
11818
|
proto.ondewo.nlu.CustomPlatformInfo.toObject, includeInstance)
|
|
11439
11819
|
};
|
|
11440
11820
|
|
|
@@ -11616,10 +11996,10 @@ proto.ondewo.nlu.FullTextSearchRequest.prototype.toObject = function(opt_include
|
|
|
11616
11996
|
*/
|
|
11617
11997
|
proto.ondewo.nlu.FullTextSearchRequest.toObject = function(includeInstance, msg) {
|
|
11618
11998
|
var f, obj = {
|
|
11619
|
-
|
|
11620
|
-
|
|
11621
|
-
|
|
11622
|
-
|
|
11999
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
12000
|
+
languageCode: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
12001
|
+
term: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
12002
|
+
pageToken: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
11623
12003
|
};
|
|
11624
12004
|
|
|
11625
12005
|
if (includeInstance) {
|
|
@@ -11860,14 +12240,14 @@ proto.ondewo.nlu.FullTextSearchResponseEntityType.prototype.toObject = function(
|
|
|
11860
12240
|
*/
|
|
11861
12241
|
proto.ondewo.nlu.FullTextSearchResponseEntityType.toObject = function(includeInstance, msg) {
|
|
11862
12242
|
var f, obj = {
|
|
11863
|
-
|
|
11864
|
-
|
|
11865
|
-
|
|
12243
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
12244
|
+
languageCode: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
12245
|
+
entityTypeResultsList: jspb.Message.toObjectList(msg.getEntityTypeResultsList(),
|
|
11866
12246
|
proto.ondewo.nlu.FullTextSearchResponseEntityType.EntityTypeSearchResult.toObject, includeInstance),
|
|
11867
|
-
|
|
11868
|
-
|
|
11869
|
-
|
|
11870
|
-
|
|
12247
|
+
term: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
12248
|
+
elasticQuery: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
12249
|
+
time: jspb.Message.getFloatingPointFieldWithDefault(msg, 6, 0.0),
|
|
12250
|
+
nextPageToken: jspb.Message.getFieldWithDefault(msg, 7, "")
|
|
11871
12251
|
};
|
|
11872
12252
|
|
|
11873
12253
|
if (includeInstance) {
|
|
@@ -12047,13 +12427,13 @@ proto.ondewo.nlu.FullTextSearchResponseEntityType.EntityTypeSearchResult.prototy
|
|
|
12047
12427
|
*/
|
|
12048
12428
|
proto.ondewo.nlu.FullTextSearchResponseEntityType.EntityTypeSearchResult.toObject = function(includeInstance, msg) {
|
|
12049
12429
|
var f, obj = {
|
|
12050
|
-
|
|
12051
|
-
|
|
12052
|
-
|
|
12053
|
-
|
|
12054
|
-
|
|
12055
|
-
|
|
12056
|
-
|
|
12430
|
+
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
12431
|
+
displayName: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
12432
|
+
language: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
12433
|
+
createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
12434
|
+
modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
12435
|
+
createdBy: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
12436
|
+
modifiedBy: jspb.Message.getFieldWithDefault(msg, 7, "")
|
|
12057
12437
|
};
|
|
12058
12438
|
|
|
12059
12439
|
if (includeInstance) {
|
|
@@ -12552,14 +12932,14 @@ proto.ondewo.nlu.FullTextSearchResponseEntity.prototype.toObject = function(opt_
|
|
|
12552
12932
|
*/
|
|
12553
12933
|
proto.ondewo.nlu.FullTextSearchResponseEntity.toObject = function(includeInstance, msg) {
|
|
12554
12934
|
var f, obj = {
|
|
12555
|
-
|
|
12556
|
-
|
|
12557
|
-
|
|
12935
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
12936
|
+
languageCode: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
12937
|
+
entityResultsList: jspb.Message.toObjectList(msg.getEntityResultsList(),
|
|
12558
12938
|
proto.ondewo.nlu.FullTextSearchResponseEntity.EntitySearchResult.toObject, includeInstance),
|
|
12559
|
-
|
|
12560
|
-
|
|
12561
|
-
|
|
12562
|
-
|
|
12939
|
+
term: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
12940
|
+
elasticQuery: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
12941
|
+
time: jspb.Message.getFloatingPointFieldWithDefault(msg, 6, 0.0),
|
|
12942
|
+
nextPageToken: jspb.Message.getFieldWithDefault(msg, 7, "")
|
|
12563
12943
|
};
|
|
12564
12944
|
|
|
12565
12945
|
if (includeInstance) {
|
|
@@ -12739,15 +13119,15 @@ proto.ondewo.nlu.FullTextSearchResponseEntity.EntitySearchResult.prototype.toObj
|
|
|
12739
13119
|
*/
|
|
12740
13120
|
proto.ondewo.nlu.FullTextSearchResponseEntity.EntitySearchResult.toObject = function(includeInstance, msg) {
|
|
12741
13121
|
var f, obj = {
|
|
12742
|
-
|
|
12743
|
-
|
|
12744
|
-
|
|
12745
|
-
|
|
12746
|
-
|
|
12747
|
-
|
|
12748
|
-
|
|
12749
|
-
|
|
12750
|
-
|
|
13122
|
+
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
13123
|
+
displayName: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
13124
|
+
entityTypeName: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
13125
|
+
entityTypeDisplayName: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
13126
|
+
language: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
13127
|
+
createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
13128
|
+
modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
13129
|
+
createdBy: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
13130
|
+
modifiedBy: jspb.Message.getFieldWithDefault(msg, 9, "")
|
|
12751
13131
|
};
|
|
12752
13132
|
|
|
12753
13133
|
if (includeInstance) {
|
|
@@ -13304,14 +13684,14 @@ proto.ondewo.nlu.FullTextSearchResponseEntitySynonym.prototype.toObject = functi
|
|
|
13304
13684
|
*/
|
|
13305
13685
|
proto.ondewo.nlu.FullTextSearchResponseEntitySynonym.toObject = function(includeInstance, msg) {
|
|
13306
13686
|
var f, obj = {
|
|
13307
|
-
|
|
13308
|
-
|
|
13309
|
-
|
|
13687
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
13688
|
+
languageCode: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
13689
|
+
entitySynonymResultsList: jspb.Message.toObjectList(msg.getEntitySynonymResultsList(),
|
|
13310
13690
|
proto.ondewo.nlu.FullTextSearchResponseEntitySynonym.EntitySynonymSearchResult.toObject, includeInstance),
|
|
13311
|
-
|
|
13312
|
-
|
|
13313
|
-
|
|
13314
|
-
|
|
13691
|
+
term: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
13692
|
+
elasticQuery: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
13693
|
+
time: jspb.Message.getFloatingPointFieldWithDefault(msg, 6, 0.0),
|
|
13694
|
+
nextPageToken: jspb.Message.getFieldWithDefault(msg, 7, "")
|
|
13315
13695
|
};
|
|
13316
13696
|
|
|
13317
13697
|
if (includeInstance) {
|
|
@@ -13491,17 +13871,17 @@ proto.ondewo.nlu.FullTextSearchResponseEntitySynonym.EntitySynonymSearchResult.p
|
|
|
13491
13871
|
*/
|
|
13492
13872
|
proto.ondewo.nlu.FullTextSearchResponseEntitySynonym.EntitySynonymSearchResult.toObject = function(includeInstance, msg) {
|
|
13493
13873
|
var f, obj = {
|
|
13494
|
-
|
|
13495
|
-
|
|
13496
|
-
|
|
13497
|
-
|
|
13498
|
-
|
|
13499
|
-
|
|
13500
|
-
|
|
13501
|
-
|
|
13502
|
-
|
|
13503
|
-
|
|
13504
|
-
|
|
13874
|
+
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
13875
|
+
displayName: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
13876
|
+
entityTypeName: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
13877
|
+
entityTypeDisplayName: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
13878
|
+
entityName: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
13879
|
+
entityDisplayName: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
13880
|
+
language: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
13881
|
+
createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
13882
|
+
modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
13883
|
+
createdBy: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
13884
|
+
modifiedBy: jspb.Message.getFieldWithDefault(msg, 11, "")
|
|
13505
13885
|
};
|
|
13506
13886
|
|
|
13507
13887
|
if (includeInstance) {
|
|
@@ -14116,14 +14496,14 @@ proto.ondewo.nlu.FullTextSearchResponseIntent.prototype.toObject = function(opt_
|
|
|
14116
14496
|
*/
|
|
14117
14497
|
proto.ondewo.nlu.FullTextSearchResponseIntent.toObject = function(includeInstance, msg) {
|
|
14118
14498
|
var f, obj = {
|
|
14119
|
-
|
|
14120
|
-
|
|
14121
|
-
|
|
14499
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
14500
|
+
languageCode: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
14501
|
+
intentResultsList: jspb.Message.toObjectList(msg.getIntentResultsList(),
|
|
14122
14502
|
proto.ondewo.nlu.FullTextSearchResponseIntent.IntentSearchResult.toObject, includeInstance),
|
|
14123
|
-
|
|
14124
|
-
|
|
14125
|
-
|
|
14126
|
-
|
|
14503
|
+
term: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
14504
|
+
elasticQuery: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
14505
|
+
time: jspb.Message.getFloatingPointFieldWithDefault(msg, 6, 0.0),
|
|
14506
|
+
nextPageToken: jspb.Message.getFieldWithDefault(msg, 7, "")
|
|
14127
14507
|
};
|
|
14128
14508
|
|
|
14129
14509
|
if (includeInstance) {
|
|
@@ -14310,15 +14690,15 @@ proto.ondewo.nlu.FullTextSearchResponseIntent.IntentSearchResult.prototype.toObj
|
|
|
14310
14690
|
*/
|
|
14311
14691
|
proto.ondewo.nlu.FullTextSearchResponseIntent.IntentSearchResult.toObject = function(includeInstance, msg) {
|
|
14312
14692
|
var f, obj = {
|
|
14313
|
-
|
|
14314
|
-
|
|
14315
|
-
|
|
14316
|
-
|
|
14317
|
-
|
|
14318
|
-
|
|
14319
|
-
|
|
14320
|
-
|
|
14321
|
-
|
|
14693
|
+
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
14694
|
+
displayName: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
14695
|
+
domainName: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
14696
|
+
tagsList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f,
|
|
14697
|
+
language: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
14698
|
+
createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
14699
|
+
modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
14700
|
+
createdBy: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
14701
|
+
modifiedBy: jspb.Message.getFieldWithDefault(msg, 9, "")
|
|
14322
14702
|
};
|
|
14323
14703
|
|
|
14324
14704
|
if (includeInstance) {
|
|
@@ -14894,14 +15274,14 @@ proto.ondewo.nlu.FullTextSearchResponseIntentContextIn.prototype.toObject = func
|
|
|
14894
15274
|
*/
|
|
14895
15275
|
proto.ondewo.nlu.FullTextSearchResponseIntentContextIn.toObject = function(includeInstance, msg) {
|
|
14896
15276
|
var f, obj = {
|
|
14897
|
-
|
|
14898
|
-
|
|
14899
|
-
|
|
15277
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
15278
|
+
languageCode: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
15279
|
+
intentContextInResultsList: jspb.Message.toObjectList(msg.getIntentContextInResultsList(),
|
|
14900
15280
|
proto.ondewo.nlu.FullTextSearchResponseIntentContextIn.IntentContextInSearchResult.toObject, includeInstance),
|
|
14901
|
-
|
|
14902
|
-
|
|
14903
|
-
|
|
14904
|
-
|
|
15281
|
+
term: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
15282
|
+
elasticQuery: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
15283
|
+
time: jspb.Message.getFloatingPointFieldWithDefault(msg, 6, 0.0),
|
|
15284
|
+
nextPageToken: jspb.Message.getFieldWithDefault(msg, 7, "")
|
|
14905
15285
|
};
|
|
14906
15286
|
|
|
14907
15287
|
if (includeInstance) {
|
|
@@ -15088,15 +15468,15 @@ proto.ondewo.nlu.FullTextSearchResponseIntentContextIn.IntentContextInSearchResu
|
|
|
15088
15468
|
*/
|
|
15089
15469
|
proto.ondewo.nlu.FullTextSearchResponseIntentContextIn.IntentContextInSearchResult.toObject = function(includeInstance, msg) {
|
|
15090
15470
|
var f, obj = {
|
|
15091
|
-
|
|
15092
|
-
|
|
15093
|
-
|
|
15094
|
-
|
|
15095
|
-
|
|
15096
|
-
|
|
15097
|
-
|
|
15098
|
-
|
|
15099
|
-
|
|
15471
|
+
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
15472
|
+
intentName: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
15473
|
+
intentDisplayName: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
15474
|
+
tagsList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f,
|
|
15475
|
+
language: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
15476
|
+
createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
15477
|
+
modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
15478
|
+
createdBy: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
15479
|
+
modifiedBy: jspb.Message.getFieldWithDefault(msg, 9, "")
|
|
15100
15480
|
};
|
|
15101
15481
|
|
|
15102
15482
|
if (includeInstance) {
|
|
@@ -15672,14 +16052,14 @@ proto.ondewo.nlu.FullTextSearchResponseIntentContextOut.prototype.toObject = fun
|
|
|
15672
16052
|
*/
|
|
15673
16053
|
proto.ondewo.nlu.FullTextSearchResponseIntentContextOut.toObject = function(includeInstance, msg) {
|
|
15674
16054
|
var f, obj = {
|
|
15675
|
-
|
|
15676
|
-
|
|
15677
|
-
|
|
16055
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
16056
|
+
languageCode: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
16057
|
+
intentContextOutResultsList: jspb.Message.toObjectList(msg.getIntentContextOutResultsList(),
|
|
15678
16058
|
proto.ondewo.nlu.FullTextSearchResponseIntentContextOut.IntentContextOutSearchResult.toObject, includeInstance),
|
|
15679
|
-
|
|
15680
|
-
|
|
15681
|
-
|
|
15682
|
-
|
|
16059
|
+
term: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
16060
|
+
elasticQuery: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
16061
|
+
time: jspb.Message.getFloatingPointFieldWithDefault(msg, 6, 0.0),
|
|
16062
|
+
nextPageToken: jspb.Message.getFieldWithDefault(msg, 7, "")
|
|
15683
16063
|
};
|
|
15684
16064
|
|
|
15685
16065
|
if (includeInstance) {
|
|
@@ -15866,15 +16246,15 @@ proto.ondewo.nlu.FullTextSearchResponseIntentContextOut.IntentContextOutSearchRe
|
|
|
15866
16246
|
*/
|
|
15867
16247
|
proto.ondewo.nlu.FullTextSearchResponseIntentContextOut.IntentContextOutSearchResult.toObject = function(includeInstance, msg) {
|
|
15868
16248
|
var f, obj = {
|
|
15869
|
-
|
|
15870
|
-
|
|
15871
|
-
|
|
15872
|
-
|
|
15873
|
-
|
|
15874
|
-
|
|
15875
|
-
|
|
15876
|
-
|
|
15877
|
-
|
|
16249
|
+
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
16250
|
+
intentName: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
16251
|
+
intentDisplayName: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
16252
|
+
tagsList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f,
|
|
16253
|
+
language: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
16254
|
+
createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
16255
|
+
modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
16256
|
+
createdBy: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
16257
|
+
modifiedBy: jspb.Message.getFieldWithDefault(msg, 9, "")
|
|
15878
16258
|
};
|
|
15879
16259
|
|
|
15880
16260
|
if (includeInstance) {
|
|
@@ -16450,14 +16830,14 @@ proto.ondewo.nlu.FullTextSearchResponseIntentUsersays.prototype.toObject = funct
|
|
|
16450
16830
|
*/
|
|
16451
16831
|
proto.ondewo.nlu.FullTextSearchResponseIntentUsersays.toObject = function(includeInstance, msg) {
|
|
16452
16832
|
var f, obj = {
|
|
16453
|
-
|
|
16454
|
-
|
|
16455
|
-
|
|
16833
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
16834
|
+
languageCode: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
16835
|
+
intentUsersaysResultsList: jspb.Message.toObjectList(msg.getIntentUsersaysResultsList(),
|
|
16456
16836
|
proto.ondewo.nlu.FullTextSearchResponseIntentUsersays.IntentUsersaysSearchResult.toObject, includeInstance),
|
|
16457
|
-
|
|
16458
|
-
|
|
16459
|
-
|
|
16460
|
-
|
|
16837
|
+
term: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
16838
|
+
elasticQuery: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
16839
|
+
time: jspb.Message.getFloatingPointFieldWithDefault(msg, 6, 0.0),
|
|
16840
|
+
nextPageToken: jspb.Message.getFieldWithDefault(msg, 7, "")
|
|
16461
16841
|
};
|
|
16462
16842
|
|
|
16463
16843
|
if (includeInstance) {
|
|
@@ -16644,19 +17024,19 @@ proto.ondewo.nlu.FullTextSearchResponseIntentUsersays.IntentUsersaysSearchResult
|
|
|
16644
17024
|
*/
|
|
16645
17025
|
proto.ondewo.nlu.FullTextSearchResponseIntentUsersays.IntentUsersaysSearchResult.toObject = function(includeInstance, msg) {
|
|
16646
17026
|
var f, obj = {
|
|
16647
|
-
|
|
16648
|
-
|
|
16649
|
-
|
|
16650
|
-
|
|
16651
|
-
|
|
16652
|
-
|
|
16653
|
-
|
|
16654
|
-
|
|
16655
|
-
|
|
16656
|
-
|
|
16657
|
-
|
|
16658
|
-
|
|
16659
|
-
|
|
17027
|
+
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
17028
|
+
text: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
17029
|
+
textAsEntityTypes: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
17030
|
+
textAsEntityValues: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
17031
|
+
type: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
17032
|
+
intentName: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
17033
|
+
intentDisplayName: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
17034
|
+
tagsList: (f = jspb.Message.getRepeatedField(msg, 8)) == null ? undefined : f,
|
|
17035
|
+
language: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
17036
|
+
createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
17037
|
+
modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
17038
|
+
createdBy: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
17039
|
+
modifiedBy: jspb.Message.getFieldWithDefault(msg, 13, "")
|
|
16660
17040
|
};
|
|
16661
17041
|
|
|
16662
17042
|
if (includeInstance) {
|
|
@@ -17348,14 +17728,14 @@ proto.ondewo.nlu.FullTextSearchResponseIntentTags.prototype.toObject = function(
|
|
|
17348
17728
|
*/
|
|
17349
17729
|
proto.ondewo.nlu.FullTextSearchResponseIntentTags.toObject = function(includeInstance, msg) {
|
|
17350
17730
|
var f, obj = {
|
|
17351
|
-
|
|
17352
|
-
|
|
17353
|
-
|
|
17731
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
17732
|
+
languageCode: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
17733
|
+
intentTagsResultsList: jspb.Message.toObjectList(msg.getIntentTagsResultsList(),
|
|
17354
17734
|
proto.ondewo.nlu.FullTextSearchResponseIntentTags.IntentTagsSearchResult.toObject, includeInstance),
|
|
17355
|
-
|
|
17356
|
-
|
|
17357
|
-
|
|
17358
|
-
|
|
17735
|
+
term: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
17736
|
+
elasticQuery: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
17737
|
+
time: jspb.Message.getFloatingPointFieldWithDefault(msg, 6, 0.0),
|
|
17738
|
+
nextPageToken: jspb.Message.getFieldWithDefault(msg, 7, "")
|
|
17359
17739
|
};
|
|
17360
17740
|
|
|
17361
17741
|
if (includeInstance) {
|
|
@@ -17542,16 +17922,16 @@ proto.ondewo.nlu.FullTextSearchResponseIntentTags.IntentTagsSearchResult.prototy
|
|
|
17542
17922
|
*/
|
|
17543
17923
|
proto.ondewo.nlu.FullTextSearchResponseIntentTags.IntentTagsSearchResult.toObject = function(includeInstance, msg) {
|
|
17544
17924
|
var f, obj = {
|
|
17545
|
-
|
|
17546
|
-
|
|
17547
|
-
|
|
17548
|
-
|
|
17549
|
-
|
|
17550
|
-
|
|
17551
|
-
|
|
17552
|
-
|
|
17553
|
-
|
|
17554
|
-
|
|
17925
|
+
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
17926
|
+
text: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
17927
|
+
intentName: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
17928
|
+
intentDisplayName: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
17929
|
+
tagsList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f,
|
|
17930
|
+
language: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
17931
|
+
createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
17932
|
+
modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
17933
|
+
createdBy: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
17934
|
+
modifiedBy: jspb.Message.getFieldWithDefault(msg, 10, "")
|
|
17555
17935
|
};
|
|
17556
17936
|
|
|
17557
17937
|
if (includeInstance) {
|
|
@@ -18156,14 +18536,14 @@ proto.ondewo.nlu.FullTextSearchResponseIntentResponse.prototype.toObject = funct
|
|
|
18156
18536
|
*/
|
|
18157
18537
|
proto.ondewo.nlu.FullTextSearchResponseIntentResponse.toObject = function(includeInstance, msg) {
|
|
18158
18538
|
var f, obj = {
|
|
18159
|
-
|
|
18160
|
-
|
|
18161
|
-
|
|
18539
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
18540
|
+
languageCode: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
18541
|
+
intentResponseResultsList: jspb.Message.toObjectList(msg.getIntentResponseResultsList(),
|
|
18162
18542
|
proto.ondewo.nlu.FullTextSearchResponseIntentResponse.IntentResponseSearchResult.toObject, includeInstance),
|
|
18163
|
-
|
|
18164
|
-
|
|
18165
|
-
|
|
18166
|
-
|
|
18543
|
+
term: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
18544
|
+
elasticQuery: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
18545
|
+
time: jspb.Message.getFloatingPointFieldWithDefault(msg, 6, 0.0),
|
|
18546
|
+
nextPageToken: jspb.Message.getFieldWithDefault(msg, 7, "")
|
|
18167
18547
|
};
|
|
18168
18548
|
|
|
18169
18549
|
if (includeInstance) {
|
|
@@ -18350,17 +18730,17 @@ proto.ondewo.nlu.FullTextSearchResponseIntentResponse.IntentResponseSearchResult
|
|
|
18350
18730
|
*/
|
|
18351
18731
|
proto.ondewo.nlu.FullTextSearchResponseIntentResponse.IntentResponseSearchResult.toObject = function(includeInstance, msg) {
|
|
18352
18732
|
var f, obj = {
|
|
18353
|
-
|
|
18354
|
-
|
|
18355
|
-
|
|
18356
|
-
|
|
18357
|
-
|
|
18358
|
-
|
|
18359
|
-
|
|
18360
|
-
|
|
18361
|
-
|
|
18362
|
-
|
|
18363
|
-
|
|
18733
|
+
text: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
18734
|
+
platform: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
18735
|
+
responseType: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
18736
|
+
intentName: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
18737
|
+
intentDisplayName: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
18738
|
+
tagsList: (f = jspb.Message.getRepeatedField(msg, 6)) == null ? undefined : f,
|
|
18739
|
+
language: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
18740
|
+
createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
18741
|
+
modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
18742
|
+
createdBy: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
18743
|
+
modifiedBy: jspb.Message.getFieldWithDefault(msg, 11, "")
|
|
18364
18744
|
};
|
|
18365
18745
|
|
|
18366
18746
|
if (includeInstance) {
|
|
@@ -18994,14 +19374,14 @@ proto.ondewo.nlu.FullTextSearchResponseIntentParameters.prototype.toObject = fun
|
|
|
18994
19374
|
*/
|
|
18995
19375
|
proto.ondewo.nlu.FullTextSearchResponseIntentParameters.toObject = function(includeInstance, msg) {
|
|
18996
19376
|
var f, obj = {
|
|
18997
|
-
|
|
18998
|
-
|
|
18999
|
-
|
|
19377
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
19378
|
+
languageCode: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
19379
|
+
intentParametersResultsList: jspb.Message.toObjectList(msg.getIntentParametersResultsList(),
|
|
19000
19380
|
proto.ondewo.nlu.FullTextSearchResponseIntentParameters.IntentParametersSearchResult.toObject, includeInstance),
|
|
19001
|
-
|
|
19002
|
-
|
|
19003
|
-
|
|
19004
|
-
|
|
19381
|
+
term: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
19382
|
+
elasticQuery: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
19383
|
+
time: jspb.Message.getFloatingPointFieldWithDefault(msg, 6, 0.0),
|
|
19384
|
+
nextPageToken: jspb.Message.getFieldWithDefault(msg, 7, "")
|
|
19005
19385
|
};
|
|
19006
19386
|
|
|
19007
19387
|
if (includeInstance) {
|
|
@@ -19188,16 +19568,16 @@ proto.ondewo.nlu.FullTextSearchResponseIntentParameters.IntentParametersSearchRe
|
|
|
19188
19568
|
*/
|
|
19189
19569
|
proto.ondewo.nlu.FullTextSearchResponseIntentParameters.IntentParametersSearchResult.toObject = function(includeInstance, msg) {
|
|
19190
19570
|
var f, obj = {
|
|
19191
|
-
|
|
19192
|
-
|
|
19193
|
-
|
|
19194
|
-
|
|
19195
|
-
|
|
19196
|
-
|
|
19197
|
-
|
|
19198
|
-
|
|
19199
|
-
|
|
19200
|
-
|
|
19571
|
+
parameterName: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
19572
|
+
parameterDisplayName: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
19573
|
+
intentName: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
19574
|
+
intentDisplayName: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
19575
|
+
tagsList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f,
|
|
19576
|
+
language: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
19577
|
+
createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
19578
|
+
modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
19579
|
+
createdBy: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
19580
|
+
modifiedBy: jspb.Message.getFieldWithDefault(msg, 10, "")
|
|
19201
19581
|
};
|
|
19202
19582
|
|
|
19203
19583
|
if (includeInstance) {
|
|
@@ -19802,9 +20182,9 @@ proto.ondewo.nlu.ReindexAgentRequest.prototype.toObject = function(opt_includeIn
|
|
|
19802
20182
|
*/
|
|
19803
20183
|
proto.ondewo.nlu.ReindexAgentRequest.toObject = function(includeInstance, msg) {
|
|
19804
20184
|
var f, obj = {
|
|
19805
|
-
|
|
19806
|
-
|
|
19807
|
-
|
|
20185
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
20186
|
+
branchName: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
20187
|
+
indexTypesList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f
|
|
19808
20188
|
};
|
|
19809
20189
|
|
|
19810
20190
|
if (includeInstance) {
|