@ondewo/nlu-client-typescript 3.4.0 → 4.0.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/README.md +80 -13
- package/api/ondewo/nlu/agent_grpc_web_pb.d.ts +12 -0
- package/api/ondewo/nlu/agent_grpc_web_pb.js +63 -2
- package/api/ondewo/nlu/agent_pb.d.ts +106 -1
- package/api/ondewo/nlu/agent_pb.js +1007 -221
- package/api/ondewo/nlu/aiservices_pb.d.ts +4 -0
- package/api/ondewo/nlu/aiservices_pb.js +47 -17
- package/api/ondewo/nlu/context_pb.d.ts +9 -9
- package/api/ondewo/nlu/context_pb.js +18 -18
- package/api/ondewo/nlu/session_grpc_web_pb.d.ts +16 -4
- package/api/ondewo/nlu/session_grpc_web_pb.js +76 -13
- package/api/ondewo/nlu/session_pb.d.ts +253 -27
- package/api/ondewo/nlu/session_pb.js +2274 -577
- package/package.json +1 -1
- package/public-api.d.ts +29 -29
|
@@ -19,6 +19,8 @@ var google_api_annotations_pb = require('../../google/api/annotations_pb.js');
|
|
|
19
19
|
goog.object.extend(proto, google_api_annotations_pb);
|
|
20
20
|
var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb.js');
|
|
21
21
|
goog.object.extend(proto, google_protobuf_empty_pb);
|
|
22
|
+
var google_protobuf_field_mask_pb = require('google-protobuf/google/protobuf/field_mask_pb.js');
|
|
23
|
+
goog.object.extend(proto, google_protobuf_field_mask_pb);
|
|
22
24
|
var google_protobuf_struct_pb = require('google-protobuf/google/protobuf/struct_pb.js');
|
|
23
25
|
goog.object.extend(proto, google_protobuf_struct_pb);
|
|
24
26
|
var google_rpc_status_pb = require('../../google/rpc/status_pb.js');
|
|
@@ -33,8 +35,11 @@ var ondewo_nlu_entity_type_pb = require('../../ondewo/nlu/entity_type_pb.js');
|
|
|
33
35
|
goog.object.extend(proto, ondewo_nlu_entity_type_pb);
|
|
34
36
|
goog.exportSymbol('proto.ondewo.nlu.AddSessionLabelsRequest', null, global);
|
|
35
37
|
goog.exportSymbol('proto.ondewo.nlu.AudioEncoding', null, global);
|
|
38
|
+
goog.exportSymbol('proto.ondewo.nlu.ComparisonOperator', null, global);
|
|
39
|
+
goog.exportSymbol('proto.ondewo.nlu.ContextFilter', null, global);
|
|
36
40
|
goog.exportSymbol('proto.ondewo.nlu.CreateSessionRequest', null, global);
|
|
37
41
|
goog.exportSymbol('proto.ondewo.nlu.CreateSessionReviewRequest', null, global);
|
|
42
|
+
goog.exportSymbol('proto.ondewo.nlu.DeleteSessionLabelsRequest', null, global);
|
|
38
43
|
goog.exportSymbol('proto.ondewo.nlu.DeleteSessionRequest', null, global);
|
|
39
44
|
goog.exportSymbol('proto.ondewo.nlu.DetectIntentRequest', null, global);
|
|
40
45
|
goog.exportSymbol('proto.ondewo.nlu.DetectIntentResponse', null, global);
|
|
@@ -44,6 +49,7 @@ goog.exportSymbol('proto.ondewo.nlu.GetLatestSessionReviewRequest', null, global
|
|
|
44
49
|
goog.exportSymbol('proto.ondewo.nlu.GetSessionRequest', null, global);
|
|
45
50
|
goog.exportSymbol('proto.ondewo.nlu.GetSessionReviewRequest', null, global);
|
|
46
51
|
goog.exportSymbol('proto.ondewo.nlu.InputAudioConfig', null, global);
|
|
52
|
+
goog.exportSymbol('proto.ondewo.nlu.ListSessionLabelsOfAllSessionsRequest', null, global);
|
|
47
53
|
goog.exportSymbol('proto.ondewo.nlu.ListSessionLabelsRequest', null, global);
|
|
48
54
|
goog.exportSymbol('proto.ondewo.nlu.ListSessionLabelsResponse', null, global);
|
|
49
55
|
goog.exportSymbol('proto.ondewo.nlu.ListSessionReviewsRequest', null, global);
|
|
@@ -54,7 +60,6 @@ goog.exportSymbol('proto.ondewo.nlu.QueryInput', null, global);
|
|
|
54
60
|
goog.exportSymbol('proto.ondewo.nlu.QueryInput.InputCase', null, global);
|
|
55
61
|
goog.exportSymbol('proto.ondewo.nlu.QueryParameters', null, global);
|
|
56
62
|
goog.exportSymbol('proto.ondewo.nlu.QueryResult', null, global);
|
|
57
|
-
goog.exportSymbol('proto.ondewo.nlu.RemoveSessionLabelsRequest', null, global);
|
|
58
63
|
goog.exportSymbol('proto.ondewo.nlu.Session', null, global);
|
|
59
64
|
goog.exportSymbol('proto.ondewo.nlu.Session.View', null, global);
|
|
60
65
|
goog.exportSymbol('proto.ondewo.nlu.SessionFilter', null, global);
|
|
@@ -385,6 +390,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
385
390
|
*/
|
|
386
391
|
proto.ondewo.nlu.ListSessionsRequest.displayName = 'proto.ondewo.nlu.ListSessionsRequest';
|
|
387
392
|
}
|
|
393
|
+
/**
|
|
394
|
+
* Generated by JsPbCodeGenerator.
|
|
395
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
396
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
397
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
398
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
399
|
+
* valid.
|
|
400
|
+
* @extends {jspb.Message}
|
|
401
|
+
* @constructor
|
|
402
|
+
*/
|
|
403
|
+
proto.ondewo.nlu.ContextFilter = function(opt_data) {
|
|
404
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
405
|
+
};
|
|
406
|
+
goog.inherits(proto.ondewo.nlu.ContextFilter, jspb.Message);
|
|
407
|
+
if (goog.DEBUG && !COMPILED) {
|
|
408
|
+
/**
|
|
409
|
+
* @public
|
|
410
|
+
* @override
|
|
411
|
+
*/
|
|
412
|
+
proto.ondewo.nlu.ContextFilter.displayName = 'proto.ondewo.nlu.ContextFilter';
|
|
413
|
+
}
|
|
388
414
|
/**
|
|
389
415
|
* Generated by JsPbCodeGenerator.
|
|
390
416
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -501,7 +527,7 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
501
527
|
* @constructor
|
|
502
528
|
*/
|
|
503
529
|
proto.ondewo.nlu.CreateSessionRequest = function(opt_data) {
|
|
504
|
-
jspb.Message.initialize(this, opt_data, 0, -1,
|
|
530
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.ondewo.nlu.CreateSessionRequest.repeatedFields_, null);
|
|
505
531
|
};
|
|
506
532
|
goog.inherits(proto.ondewo.nlu.CreateSessionRequest, jspb.Message);
|
|
507
533
|
if (goog.DEBUG && !COMPILED) {
|
|
@@ -637,6 +663,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
637
663
|
*/
|
|
638
664
|
proto.ondewo.nlu.ListSessionLabelsRequest.displayName = 'proto.ondewo.nlu.ListSessionLabelsRequest';
|
|
639
665
|
}
|
|
666
|
+
/**
|
|
667
|
+
* Generated by JsPbCodeGenerator.
|
|
668
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
669
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
670
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
671
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
672
|
+
* valid.
|
|
673
|
+
* @extends {jspb.Message}
|
|
674
|
+
* @constructor
|
|
675
|
+
*/
|
|
676
|
+
proto.ondewo.nlu.ListSessionLabelsOfAllSessionsRequest = function(opt_data) {
|
|
677
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
678
|
+
};
|
|
679
|
+
goog.inherits(proto.ondewo.nlu.ListSessionLabelsOfAllSessionsRequest, jspb.Message);
|
|
680
|
+
if (goog.DEBUG && !COMPILED) {
|
|
681
|
+
/**
|
|
682
|
+
* @public
|
|
683
|
+
* @override
|
|
684
|
+
*/
|
|
685
|
+
proto.ondewo.nlu.ListSessionLabelsOfAllSessionsRequest.displayName = 'proto.ondewo.nlu.ListSessionLabelsOfAllSessionsRequest';
|
|
686
|
+
}
|
|
640
687
|
/**
|
|
641
688
|
* Generated by JsPbCodeGenerator.
|
|
642
689
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -689,16 +736,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
689
736
|
* @extends {jspb.Message}
|
|
690
737
|
* @constructor
|
|
691
738
|
*/
|
|
692
|
-
proto.ondewo.nlu.
|
|
693
|
-
jspb.Message.initialize(this, opt_data, 0, -1, proto.ondewo.nlu.
|
|
739
|
+
proto.ondewo.nlu.DeleteSessionLabelsRequest = function(opt_data) {
|
|
740
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.ondewo.nlu.DeleteSessionLabelsRequest.repeatedFields_, null);
|
|
694
741
|
};
|
|
695
|
-
goog.inherits(proto.ondewo.nlu.
|
|
742
|
+
goog.inherits(proto.ondewo.nlu.DeleteSessionLabelsRequest, jspb.Message);
|
|
696
743
|
if (goog.DEBUG && !COMPILED) {
|
|
697
744
|
/**
|
|
698
745
|
* @public
|
|
699
746
|
* @override
|
|
700
747
|
*/
|
|
701
|
-
proto.ondewo.nlu.
|
|
748
|
+
proto.ondewo.nlu.DeleteSessionLabelsRequest.displayName = 'proto.ondewo.nlu.DeleteSessionLabelsRequest';
|
|
702
749
|
}
|
|
703
750
|
/**
|
|
704
751
|
* Generated by JsPbCodeGenerator.
|
|
@@ -1308,7 +1355,7 @@ proto.ondewo.nlu.DetectIntentResponse.prototype.hasWebhookStatus = function() {
|
|
|
1308
1355
|
* @private {!Array<number>}
|
|
1309
1356
|
* @const
|
|
1310
1357
|
*/
|
|
1311
|
-
proto.ondewo.nlu.QueryParameters.repeatedFields_ = [3];
|
|
1358
|
+
proto.ondewo.nlu.QueryParameters.repeatedFields_ = [3,7];
|
|
1312
1359
|
|
|
1313
1360
|
|
|
1314
1361
|
|
|
@@ -1346,7 +1393,8 @@ proto.ondewo.nlu.QueryParameters.toObject = function(includeInstance, msg) {
|
|
|
1346
1393
|
contextsList: jspb.Message.toObjectList(msg.getContextsList(),
|
|
1347
1394
|
ondewo_nlu_context_pb.Context.toObject, includeInstance),
|
|
1348
1395
|
resetContexts: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
|
|
1349
|
-
payload: (f = msg.getPayload()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f)
|
|
1396
|
+
payload: (f = msg.getPayload()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f),
|
|
1397
|
+
labelsList: (f = jspb.Message.getRepeatedField(msg, 7)) == null ? undefined : f
|
|
1350
1398
|
};
|
|
1351
1399
|
|
|
1352
1400
|
if (includeInstance) {
|
|
@@ -1406,6 +1454,10 @@ proto.ondewo.nlu.QueryParameters.deserializeBinaryFromReader = function(msg, rea
|
|
|
1406
1454
|
reader.readMessage(value,google_protobuf_struct_pb.Struct.deserializeBinaryFromReader);
|
|
1407
1455
|
msg.setPayload(value);
|
|
1408
1456
|
break;
|
|
1457
|
+
case 7:
|
|
1458
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1459
|
+
msg.addLabels(value);
|
|
1460
|
+
break;
|
|
1409
1461
|
default:
|
|
1410
1462
|
reader.skipField();
|
|
1411
1463
|
break;
|
|
@@ -1473,6 +1525,13 @@ proto.ondewo.nlu.QueryParameters.serializeBinaryToWriter = function(message, wri
|
|
|
1473
1525
|
google_protobuf_struct_pb.Struct.serializeBinaryToWriter
|
|
1474
1526
|
);
|
|
1475
1527
|
}
|
|
1528
|
+
f = message.getLabelsList();
|
|
1529
|
+
if (f.length > 0) {
|
|
1530
|
+
writer.writeRepeatedString(
|
|
1531
|
+
7,
|
|
1532
|
+
f
|
|
1533
|
+
);
|
|
1534
|
+
}
|
|
1476
1535
|
};
|
|
1477
1536
|
|
|
1478
1537
|
|
|
@@ -1624,6 +1683,43 @@ proto.ondewo.nlu.QueryParameters.prototype.hasPayload = function() {
|
|
|
1624
1683
|
};
|
|
1625
1684
|
|
|
1626
1685
|
|
|
1686
|
+
/**
|
|
1687
|
+
* repeated string labels = 7;
|
|
1688
|
+
* @return {!Array<string>}
|
|
1689
|
+
*/
|
|
1690
|
+
proto.ondewo.nlu.QueryParameters.prototype.getLabelsList = function() {
|
|
1691
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 7));
|
|
1692
|
+
};
|
|
1693
|
+
|
|
1694
|
+
|
|
1695
|
+
/**
|
|
1696
|
+
* @param {!Array<string>} value
|
|
1697
|
+
* @return {!proto.ondewo.nlu.QueryParameters} returns this
|
|
1698
|
+
*/
|
|
1699
|
+
proto.ondewo.nlu.QueryParameters.prototype.setLabelsList = function(value) {
|
|
1700
|
+
return jspb.Message.setField(this, 7, value || []);
|
|
1701
|
+
};
|
|
1702
|
+
|
|
1703
|
+
|
|
1704
|
+
/**
|
|
1705
|
+
* @param {string} value
|
|
1706
|
+
* @param {number=} opt_index
|
|
1707
|
+
* @return {!proto.ondewo.nlu.QueryParameters} returns this
|
|
1708
|
+
*/
|
|
1709
|
+
proto.ondewo.nlu.QueryParameters.prototype.addLabels = function(value, opt_index) {
|
|
1710
|
+
return jspb.Message.addToRepeatedField(this, 7, value, opt_index);
|
|
1711
|
+
};
|
|
1712
|
+
|
|
1713
|
+
|
|
1714
|
+
/**
|
|
1715
|
+
* Clears the list making it empty but non-null.
|
|
1716
|
+
* @return {!proto.ondewo.nlu.QueryParameters} returns this
|
|
1717
|
+
*/
|
|
1718
|
+
proto.ondewo.nlu.QueryParameters.prototype.clearLabelsList = function() {
|
|
1719
|
+
return this.setLabelsList([]);
|
|
1720
|
+
};
|
|
1721
|
+
|
|
1722
|
+
|
|
1627
1723
|
|
|
1628
1724
|
/**
|
|
1629
1725
|
* Oneof group definitions for this message. Each group defines the field
|
|
@@ -4045,7 +4141,7 @@ proto.ondewo.nlu.Session.prototype.toObject = function(opt_includeInstance) {
|
|
|
4045
4141
|
*/
|
|
4046
4142
|
proto.ondewo.nlu.Session.toObject = function(includeInstance, msg) {
|
|
4047
4143
|
var f, obj = {
|
|
4048
|
-
|
|
4144
|
+
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
4049
4145
|
sessionStepsList: jspb.Message.toObjectList(msg.getSessionStepsList(),
|
|
4050
4146
|
proto.ondewo.nlu.SessionStep.toObject, includeInstance),
|
|
4051
4147
|
sessionInfo: (f = msg.getSessionInfo()) && proto.ondewo.nlu.SessionInfo.toObject(includeInstance, f)
|
|
@@ -4087,7 +4183,7 @@ proto.ondewo.nlu.Session.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
4087
4183
|
switch (field) {
|
|
4088
4184
|
case 1:
|
|
4089
4185
|
var value = /** @type {string} */ (reader.readString());
|
|
4090
|
-
msg.
|
|
4186
|
+
msg.setName(value);
|
|
4091
4187
|
break;
|
|
4092
4188
|
case 2:
|
|
4093
4189
|
var value = new proto.ondewo.nlu.SessionStep;
|
|
@@ -4128,7 +4224,7 @@ proto.ondewo.nlu.Session.prototype.serializeBinary = function() {
|
|
|
4128
4224
|
*/
|
|
4129
4225
|
proto.ondewo.nlu.Session.serializeBinaryToWriter = function(message, writer) {
|
|
4130
4226
|
var f = undefined;
|
|
4131
|
-
f = message.
|
|
4227
|
+
f = message.getName();
|
|
4132
4228
|
if (f.length > 0) {
|
|
4133
4229
|
writer.writeString(
|
|
4134
4230
|
1,
|
|
@@ -4164,10 +4260,10 @@ proto.ondewo.nlu.Session.View = {
|
|
|
4164
4260
|
};
|
|
4165
4261
|
|
|
4166
4262
|
/**
|
|
4167
|
-
* optional string
|
|
4263
|
+
* optional string name = 1;
|
|
4168
4264
|
* @return {string}
|
|
4169
4265
|
*/
|
|
4170
|
-
proto.ondewo.nlu.Session.prototype.
|
|
4266
|
+
proto.ondewo.nlu.Session.prototype.getName = function() {
|
|
4171
4267
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
4172
4268
|
};
|
|
4173
4269
|
|
|
@@ -4176,7 +4272,7 @@ proto.ondewo.nlu.Session.prototype.getSessionId = function() {
|
|
|
4176
4272
|
* @param {string} value
|
|
4177
4273
|
* @return {!proto.ondewo.nlu.Session} returns this
|
|
4178
4274
|
*/
|
|
4179
|
-
proto.ondewo.nlu.Session.prototype.
|
|
4275
|
+
proto.ondewo.nlu.Session.prototype.setName = function(value) {
|
|
4180
4276
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
4181
4277
|
};
|
|
4182
4278
|
|
|
@@ -4262,7 +4358,7 @@ proto.ondewo.nlu.Session.prototype.hasSessionInfo = function() {
|
|
|
4262
4358
|
* @private {!Array<number>}
|
|
4263
4359
|
* @const
|
|
4264
4360
|
*/
|
|
4265
|
-
proto.ondewo.nlu.SessionStep.repeatedFields_ = [
|
|
4361
|
+
proto.ondewo.nlu.SessionStep.repeatedFields_ = [4];
|
|
4266
4362
|
|
|
4267
4363
|
|
|
4268
4364
|
|
|
@@ -4295,6 +4391,7 @@ proto.ondewo.nlu.SessionStep.prototype.toObject = function(opt_includeInstance)
|
|
|
4295
4391
|
*/
|
|
4296
4392
|
proto.ondewo.nlu.SessionStep.toObject = function(includeInstance, msg) {
|
|
4297
4393
|
var f, obj = {
|
|
4394
|
+
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
4298
4395
|
detectIntentRequest: (f = msg.getDetectIntentRequest()) && proto.ondewo.nlu.DetectIntentRequest.toObject(includeInstance, f),
|
|
4299
4396
|
detectIntentResponse: (f = msg.getDetectIntentResponse()) && proto.ondewo.nlu.DetectIntentResponse.toObject(includeInstance, f),
|
|
4300
4397
|
contextsList: jspb.Message.toObjectList(msg.getContextsList(),
|
|
@@ -4336,16 +4433,20 @@ proto.ondewo.nlu.SessionStep.deserializeBinaryFromReader = function(msg, reader)
|
|
|
4336
4433
|
var field = reader.getFieldNumber();
|
|
4337
4434
|
switch (field) {
|
|
4338
4435
|
case 1:
|
|
4436
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4437
|
+
msg.setName(value);
|
|
4438
|
+
break;
|
|
4439
|
+
case 2:
|
|
4339
4440
|
var value = new proto.ondewo.nlu.DetectIntentRequest;
|
|
4340
4441
|
reader.readMessage(value,proto.ondewo.nlu.DetectIntentRequest.deserializeBinaryFromReader);
|
|
4341
4442
|
msg.setDetectIntentRequest(value);
|
|
4342
4443
|
break;
|
|
4343
|
-
case
|
|
4444
|
+
case 3:
|
|
4344
4445
|
var value = new proto.ondewo.nlu.DetectIntentResponse;
|
|
4345
4446
|
reader.readMessage(value,proto.ondewo.nlu.DetectIntentResponse.deserializeBinaryFromReader);
|
|
4346
4447
|
msg.setDetectIntentResponse(value);
|
|
4347
4448
|
break;
|
|
4348
|
-
case
|
|
4449
|
+
case 4:
|
|
4349
4450
|
var value = new ondewo_nlu_context_pb.Context;
|
|
4350
4451
|
reader.readMessage(value,ondewo_nlu_context_pb.Context.deserializeBinaryFromReader);
|
|
4351
4452
|
msg.addContexts(value);
|
|
@@ -4379,10 +4480,17 @@ proto.ondewo.nlu.SessionStep.prototype.serializeBinary = function() {
|
|
|
4379
4480
|
*/
|
|
4380
4481
|
proto.ondewo.nlu.SessionStep.serializeBinaryToWriter = function(message, writer) {
|
|
4381
4482
|
var f = undefined;
|
|
4483
|
+
f = message.getName();
|
|
4484
|
+
if (f.length > 0) {
|
|
4485
|
+
writer.writeString(
|
|
4486
|
+
1,
|
|
4487
|
+
f
|
|
4488
|
+
);
|
|
4489
|
+
}
|
|
4382
4490
|
f = message.getDetectIntentRequest();
|
|
4383
4491
|
if (f != null) {
|
|
4384
4492
|
writer.writeMessage(
|
|
4385
|
-
|
|
4493
|
+
2,
|
|
4386
4494
|
f,
|
|
4387
4495
|
proto.ondewo.nlu.DetectIntentRequest.serializeBinaryToWriter
|
|
4388
4496
|
);
|
|
@@ -4390,7 +4498,7 @@ proto.ondewo.nlu.SessionStep.serializeBinaryToWriter = function(message, writer)
|
|
|
4390
4498
|
f = message.getDetectIntentResponse();
|
|
4391
4499
|
if (f != null) {
|
|
4392
4500
|
writer.writeMessage(
|
|
4393
|
-
|
|
4501
|
+
3,
|
|
4394
4502
|
f,
|
|
4395
4503
|
proto.ondewo.nlu.DetectIntentResponse.serializeBinaryToWriter
|
|
4396
4504
|
);
|
|
@@ -4398,7 +4506,7 @@ proto.ondewo.nlu.SessionStep.serializeBinaryToWriter = function(message, writer)
|
|
|
4398
4506
|
f = message.getContextsList();
|
|
4399
4507
|
if (f.length > 0) {
|
|
4400
4508
|
writer.writeRepeatedMessage(
|
|
4401
|
-
|
|
4509
|
+
4,
|
|
4402
4510
|
f,
|
|
4403
4511
|
ondewo_nlu_context_pb.Context.serializeBinaryToWriter
|
|
4404
4512
|
);
|
|
@@ -4407,12 +4515,30 @@ proto.ondewo.nlu.SessionStep.serializeBinaryToWriter = function(message, writer)
|
|
|
4407
4515
|
|
|
4408
4516
|
|
|
4409
4517
|
/**
|
|
4410
|
-
* optional
|
|
4518
|
+
* optional string name = 1;
|
|
4519
|
+
* @return {string}
|
|
4520
|
+
*/
|
|
4521
|
+
proto.ondewo.nlu.SessionStep.prototype.getName = function() {
|
|
4522
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
4523
|
+
};
|
|
4524
|
+
|
|
4525
|
+
|
|
4526
|
+
/**
|
|
4527
|
+
* @param {string} value
|
|
4528
|
+
* @return {!proto.ondewo.nlu.SessionStep} returns this
|
|
4529
|
+
*/
|
|
4530
|
+
proto.ondewo.nlu.SessionStep.prototype.setName = function(value) {
|
|
4531
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
4532
|
+
};
|
|
4533
|
+
|
|
4534
|
+
|
|
4535
|
+
/**
|
|
4536
|
+
* optional DetectIntentRequest detect_intent_request = 2;
|
|
4411
4537
|
* @return {?proto.ondewo.nlu.DetectIntentRequest}
|
|
4412
4538
|
*/
|
|
4413
4539
|
proto.ondewo.nlu.SessionStep.prototype.getDetectIntentRequest = function() {
|
|
4414
4540
|
return /** @type{?proto.ondewo.nlu.DetectIntentRequest} */ (
|
|
4415
|
-
jspb.Message.getWrapperField(this, proto.ondewo.nlu.DetectIntentRequest,
|
|
4541
|
+
jspb.Message.getWrapperField(this, proto.ondewo.nlu.DetectIntentRequest, 2));
|
|
4416
4542
|
};
|
|
4417
4543
|
|
|
4418
4544
|
|
|
@@ -4421,7 +4547,7 @@ proto.ondewo.nlu.SessionStep.prototype.getDetectIntentRequest = function() {
|
|
|
4421
4547
|
* @return {!proto.ondewo.nlu.SessionStep} returns this
|
|
4422
4548
|
*/
|
|
4423
4549
|
proto.ondewo.nlu.SessionStep.prototype.setDetectIntentRequest = function(value) {
|
|
4424
|
-
return jspb.Message.setWrapperField(this,
|
|
4550
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
4425
4551
|
};
|
|
4426
4552
|
|
|
4427
4553
|
|
|
@@ -4439,17 +4565,17 @@ proto.ondewo.nlu.SessionStep.prototype.clearDetectIntentRequest = function() {
|
|
|
4439
4565
|
* @return {boolean}
|
|
4440
4566
|
*/
|
|
4441
4567
|
proto.ondewo.nlu.SessionStep.prototype.hasDetectIntentRequest = function() {
|
|
4442
|
-
return jspb.Message.getField(this,
|
|
4568
|
+
return jspb.Message.getField(this, 2) != null;
|
|
4443
4569
|
};
|
|
4444
4570
|
|
|
4445
4571
|
|
|
4446
4572
|
/**
|
|
4447
|
-
* optional DetectIntentResponse detect_intent_response =
|
|
4573
|
+
* optional DetectIntentResponse detect_intent_response = 3;
|
|
4448
4574
|
* @return {?proto.ondewo.nlu.DetectIntentResponse}
|
|
4449
4575
|
*/
|
|
4450
4576
|
proto.ondewo.nlu.SessionStep.prototype.getDetectIntentResponse = function() {
|
|
4451
4577
|
return /** @type{?proto.ondewo.nlu.DetectIntentResponse} */ (
|
|
4452
|
-
jspb.Message.getWrapperField(this, proto.ondewo.nlu.DetectIntentResponse,
|
|
4578
|
+
jspb.Message.getWrapperField(this, proto.ondewo.nlu.DetectIntentResponse, 3));
|
|
4453
4579
|
};
|
|
4454
4580
|
|
|
4455
4581
|
|
|
@@ -4458,7 +4584,7 @@ proto.ondewo.nlu.SessionStep.prototype.getDetectIntentResponse = function() {
|
|
|
4458
4584
|
* @return {!proto.ondewo.nlu.SessionStep} returns this
|
|
4459
4585
|
*/
|
|
4460
4586
|
proto.ondewo.nlu.SessionStep.prototype.setDetectIntentResponse = function(value) {
|
|
4461
|
-
return jspb.Message.setWrapperField(this,
|
|
4587
|
+
return jspb.Message.setWrapperField(this, 3, value);
|
|
4462
4588
|
};
|
|
4463
4589
|
|
|
4464
4590
|
|
|
@@ -4476,17 +4602,17 @@ proto.ondewo.nlu.SessionStep.prototype.clearDetectIntentResponse = function() {
|
|
|
4476
4602
|
* @return {boolean}
|
|
4477
4603
|
*/
|
|
4478
4604
|
proto.ondewo.nlu.SessionStep.prototype.hasDetectIntentResponse = function() {
|
|
4479
|
-
return jspb.Message.getField(this,
|
|
4605
|
+
return jspb.Message.getField(this, 3) != null;
|
|
4480
4606
|
};
|
|
4481
4607
|
|
|
4482
4608
|
|
|
4483
4609
|
/**
|
|
4484
|
-
* repeated Context contexts =
|
|
4610
|
+
* repeated Context contexts = 4;
|
|
4485
4611
|
* @return {!Array<!proto.ondewo.nlu.Context>}
|
|
4486
4612
|
*/
|
|
4487
4613
|
proto.ondewo.nlu.SessionStep.prototype.getContextsList = function() {
|
|
4488
4614
|
return /** @type{!Array<!proto.ondewo.nlu.Context>} */ (
|
|
4489
|
-
jspb.Message.getRepeatedWrapperField(this, ondewo_nlu_context_pb.Context,
|
|
4615
|
+
jspb.Message.getRepeatedWrapperField(this, ondewo_nlu_context_pb.Context, 4));
|
|
4490
4616
|
};
|
|
4491
4617
|
|
|
4492
4618
|
|
|
@@ -4495,7 +4621,7 @@ proto.ondewo.nlu.SessionStep.prototype.getContextsList = function() {
|
|
|
4495
4621
|
* @return {!proto.ondewo.nlu.SessionStep} returns this
|
|
4496
4622
|
*/
|
|
4497
4623
|
proto.ondewo.nlu.SessionStep.prototype.setContextsList = function(value) {
|
|
4498
|
-
return jspb.Message.setRepeatedWrapperField(this,
|
|
4624
|
+
return jspb.Message.setRepeatedWrapperField(this, 4, value);
|
|
4499
4625
|
};
|
|
4500
4626
|
|
|
4501
4627
|
|
|
@@ -4505,7 +4631,7 @@ proto.ondewo.nlu.SessionStep.prototype.setContextsList = function(value) {
|
|
|
4505
4631
|
* @return {!proto.ondewo.nlu.Context}
|
|
4506
4632
|
*/
|
|
4507
4633
|
proto.ondewo.nlu.SessionStep.prototype.addContexts = function(opt_value, opt_index) {
|
|
4508
|
-
return jspb.Message.addToRepeatedWrapperField(this,
|
|
4634
|
+
return jspb.Message.addToRepeatedWrapperField(this, 4, opt_value, proto.ondewo.nlu.Context, opt_index);
|
|
4509
4635
|
};
|
|
4510
4636
|
|
|
4511
4637
|
|
|
@@ -4764,7 +4890,8 @@ proto.ondewo.nlu.ListSessionsRequest.toObject = function(includeInstance, msg) {
|
|
|
4764
4890
|
parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
4765
4891
|
sessionView: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
4766
4892
|
pageToken: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
4767
|
-
sessionFilter: (f = msg.getSessionFilter()) && proto.ondewo.nlu.SessionFilter.toObject(includeInstance, f)
|
|
4893
|
+
sessionFilter: (f = msg.getSessionFilter()) && proto.ondewo.nlu.SessionFilter.toObject(includeInstance, f),
|
|
4894
|
+
fieldMask: (f = msg.getFieldMask()) && google_protobuf_field_mask_pb.FieldMask.toObject(includeInstance, f)
|
|
4768
4895
|
};
|
|
4769
4896
|
|
|
4770
4897
|
if (includeInstance) {
|
|
@@ -4818,6 +4945,11 @@ proto.ondewo.nlu.ListSessionsRequest.deserializeBinaryFromReader = function(msg,
|
|
|
4818
4945
|
reader.readMessage(value,proto.ondewo.nlu.SessionFilter.deserializeBinaryFromReader);
|
|
4819
4946
|
msg.setSessionFilter(value);
|
|
4820
4947
|
break;
|
|
4948
|
+
case 6:
|
|
4949
|
+
var value = new google_protobuf_field_mask_pb.FieldMask;
|
|
4950
|
+
reader.readMessage(value,google_protobuf_field_mask_pb.FieldMask.deserializeBinaryFromReader);
|
|
4951
|
+
msg.setFieldMask(value);
|
|
4952
|
+
break;
|
|
4821
4953
|
default:
|
|
4822
4954
|
reader.skipField();
|
|
4823
4955
|
break;
|
|
@@ -4876,6 +5008,14 @@ proto.ondewo.nlu.ListSessionsRequest.serializeBinaryToWriter = function(message,
|
|
|
4876
5008
|
proto.ondewo.nlu.SessionFilter.serializeBinaryToWriter
|
|
4877
5009
|
);
|
|
4878
5010
|
}
|
|
5011
|
+
f = message.getFieldMask();
|
|
5012
|
+
if (f != null) {
|
|
5013
|
+
writer.writeMessage(
|
|
5014
|
+
6,
|
|
5015
|
+
f,
|
|
5016
|
+
google_protobuf_field_mask_pb.FieldMask.serializeBinaryToWriter
|
|
5017
|
+
);
|
|
5018
|
+
}
|
|
4879
5019
|
};
|
|
4880
5020
|
|
|
4881
5021
|
|
|
@@ -4970,13 +5110,43 @@ proto.ondewo.nlu.ListSessionsRequest.prototype.hasSessionFilter = function() {
|
|
|
4970
5110
|
};
|
|
4971
5111
|
|
|
4972
5112
|
|
|
5113
|
+
/**
|
|
5114
|
+
* optional google.protobuf.FieldMask field_mask = 6;
|
|
5115
|
+
* @return {?proto.google.protobuf.FieldMask}
|
|
5116
|
+
*/
|
|
5117
|
+
proto.ondewo.nlu.ListSessionsRequest.prototype.getFieldMask = function() {
|
|
5118
|
+
return /** @type{?proto.google.protobuf.FieldMask} */ (
|
|
5119
|
+
jspb.Message.getWrapperField(this, google_protobuf_field_mask_pb.FieldMask, 6));
|
|
5120
|
+
};
|
|
5121
|
+
|
|
4973
5122
|
|
|
4974
5123
|
/**
|
|
4975
|
-
*
|
|
4976
|
-
* @
|
|
4977
|
-
|
|
5124
|
+
* @param {?proto.google.protobuf.FieldMask|undefined} value
|
|
5125
|
+
* @return {!proto.ondewo.nlu.ListSessionsRequest} returns this
|
|
5126
|
+
*/
|
|
5127
|
+
proto.ondewo.nlu.ListSessionsRequest.prototype.setFieldMask = function(value) {
|
|
5128
|
+
return jspb.Message.setWrapperField(this, 6, value);
|
|
5129
|
+
};
|
|
5130
|
+
|
|
5131
|
+
|
|
5132
|
+
/**
|
|
5133
|
+
* Clears the message field making it undefined.
|
|
5134
|
+
* @return {!proto.ondewo.nlu.ListSessionsRequest} returns this
|
|
4978
5135
|
*/
|
|
4979
|
-
proto.ondewo.nlu.
|
|
5136
|
+
proto.ondewo.nlu.ListSessionsRequest.prototype.clearFieldMask = function() {
|
|
5137
|
+
return this.setFieldMask(undefined);
|
|
5138
|
+
};
|
|
5139
|
+
|
|
5140
|
+
|
|
5141
|
+
/**
|
|
5142
|
+
* Returns whether this field is set.
|
|
5143
|
+
* @return {boolean}
|
|
5144
|
+
*/
|
|
5145
|
+
proto.ondewo.nlu.ListSessionsRequest.prototype.hasFieldMask = function() {
|
|
5146
|
+
return jspb.Message.getField(this, 6) != null;
|
|
5147
|
+
};
|
|
5148
|
+
|
|
5149
|
+
|
|
4980
5150
|
|
|
4981
5151
|
|
|
4982
5152
|
|
|
@@ -4993,8 +5163,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
4993
5163
|
* http://goto/soy-param-migration
|
|
4994
5164
|
* @return {!Object}
|
|
4995
5165
|
*/
|
|
4996
|
-
proto.ondewo.nlu.
|
|
4997
|
-
return proto.ondewo.nlu.
|
|
5166
|
+
proto.ondewo.nlu.ContextFilter.prototype.toObject = function(opt_includeInstance) {
|
|
5167
|
+
return proto.ondewo.nlu.ContextFilter.toObject(opt_includeInstance, this);
|
|
4998
5168
|
};
|
|
4999
5169
|
|
|
5000
5170
|
|
|
@@ -5003,33 +5173,16 @@ proto.ondewo.nlu.SessionFilter.prototype.toObject = function(opt_includeInstance
|
|
|
5003
5173
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
5004
5174
|
* the JSPB instance for transitional soy proto support:
|
|
5005
5175
|
* http://goto/soy-param-migration
|
|
5006
|
-
* @param {!proto.ondewo.nlu.
|
|
5176
|
+
* @param {!proto.ondewo.nlu.ContextFilter} msg The msg instance to transform.
|
|
5007
5177
|
* @return {!Object}
|
|
5008
5178
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
5009
5179
|
*/
|
|
5010
|
-
proto.ondewo.nlu.
|
|
5180
|
+
proto.ondewo.nlu.ContextFilter.toObject = function(includeInstance, msg) {
|
|
5011
5181
|
var f, obj = {
|
|
5012
|
-
|
|
5013
|
-
|
|
5014
|
-
|
|
5015
|
-
|
|
5016
|
-
ondewo_nlu_entity_type_pb.EntityType.toObject, includeInstance),
|
|
5017
|
-
minIntentsConfidenceMin: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0),
|
|
5018
|
-
minIntentsConfidenceMax: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0),
|
|
5019
|
-
minEntityTypesConfidenceMin: jspb.Message.getFloatingPointFieldWithDefault(msg, 6, 0.0),
|
|
5020
|
-
minEntityTypesConfidenceMax: jspb.Message.getFloatingPointFieldWithDefault(msg, 7, 0.0),
|
|
5021
|
-
earliest: jspb.Message.getFloatingPointFieldWithDefault(msg, 8, 0.0),
|
|
5022
|
-
latest: jspb.Message.getFloatingPointFieldWithDefault(msg, 9, 0.0),
|
|
5023
|
-
minNumberTurns: jspb.Message.getFieldWithDefault(msg, 10, 0),
|
|
5024
|
-
maxNumberTurns: jspb.Message.getFieldWithDefault(msg, 11, 0),
|
|
5025
|
-
labelsList: (f = jspb.Message.getRepeatedField(msg, 12)) == null ? undefined : f,
|
|
5026
|
-
userIdsList: (f = jspb.Message.getRepeatedField(msg, 13)) == null ? undefined : f,
|
|
5027
|
-
intentTagsList: (f = jspb.Message.getRepeatedField(msg, 14)) == null ? undefined : f,
|
|
5028
|
-
sessionIdsList: (f = jspb.Message.getRepeatedField(msg, 15)) == null ? undefined : f,
|
|
5029
|
-
inputContextsList: jspb.Message.toObjectList(msg.getInputContextsList(),
|
|
5030
|
-
ondewo_nlu_context_pb.Context.toObject, includeInstance),
|
|
5031
|
-
outputContextsList: jspb.Message.toObjectList(msg.getOutputContextsList(),
|
|
5032
|
-
ondewo_nlu_context_pb.Context.toObject, includeInstance)
|
|
5182
|
+
contextName: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
5183
|
+
key: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
5184
|
+
value: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
5185
|
+
operator: jspb.Message.getFieldWithDefault(msg, 4, 0)
|
|
5033
5186
|
};
|
|
5034
5187
|
|
|
5035
5188
|
if (includeInstance) {
|
|
@@ -5043,23 +5196,23 @@ proto.ondewo.nlu.SessionFilter.toObject = function(includeInstance, msg) {
|
|
|
5043
5196
|
/**
|
|
5044
5197
|
* Deserializes binary data (in protobuf wire format).
|
|
5045
5198
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
5046
|
-
* @return {!proto.ondewo.nlu.
|
|
5199
|
+
* @return {!proto.ondewo.nlu.ContextFilter}
|
|
5047
5200
|
*/
|
|
5048
|
-
proto.ondewo.nlu.
|
|
5201
|
+
proto.ondewo.nlu.ContextFilter.deserializeBinary = function(bytes) {
|
|
5049
5202
|
var reader = new jspb.BinaryReader(bytes);
|
|
5050
|
-
var msg = new proto.ondewo.nlu.
|
|
5051
|
-
return proto.ondewo.nlu.
|
|
5203
|
+
var msg = new proto.ondewo.nlu.ContextFilter;
|
|
5204
|
+
return proto.ondewo.nlu.ContextFilter.deserializeBinaryFromReader(msg, reader);
|
|
5052
5205
|
};
|
|
5053
5206
|
|
|
5054
5207
|
|
|
5055
5208
|
/**
|
|
5056
5209
|
* Deserializes binary data (in protobuf wire format) from the
|
|
5057
5210
|
* given reader into the given message object.
|
|
5058
|
-
* @param {!proto.ondewo.nlu.
|
|
5211
|
+
* @param {!proto.ondewo.nlu.ContextFilter} msg The message object to deserialize into.
|
|
5059
5212
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
5060
|
-
* @return {!proto.ondewo.nlu.
|
|
5213
|
+
* @return {!proto.ondewo.nlu.ContextFilter}
|
|
5061
5214
|
*/
|
|
5062
|
-
proto.ondewo.nlu.
|
|
5215
|
+
proto.ondewo.nlu.ContextFilter.deserializeBinaryFromReader = function(msg, reader) {
|
|
5063
5216
|
while (reader.nextField()) {
|
|
5064
5217
|
if (reader.isEndGroup()) {
|
|
5065
5218
|
break;
|
|
@@ -5068,78 +5221,22 @@ proto.ondewo.nlu.SessionFilter.deserializeBinaryFromReader = function(msg, reade
|
|
|
5068
5221
|
switch (field) {
|
|
5069
5222
|
case 1:
|
|
5070
5223
|
var value = /** @type {string} */ (reader.readString());
|
|
5071
|
-
msg.
|
|
5224
|
+
msg.setContextName(value);
|
|
5072
5225
|
break;
|
|
5073
5226
|
case 2:
|
|
5074
|
-
var value =
|
|
5075
|
-
|
|
5076
|
-
msg.addMatchedIntents(value);
|
|
5227
|
+
var value = /** @type {string} */ (reader.readString());
|
|
5228
|
+
msg.setKey(value);
|
|
5077
5229
|
break;
|
|
5078
5230
|
case 3:
|
|
5079
|
-
var value =
|
|
5080
|
-
|
|
5081
|
-
msg.addMatchedEntityTypes(value);
|
|
5231
|
+
var value = /** @type {string} */ (reader.readString());
|
|
5232
|
+
msg.setValue(value);
|
|
5082
5233
|
break;
|
|
5083
5234
|
case 4:
|
|
5084
|
-
var value = /** @type {
|
|
5085
|
-
msg.
|
|
5086
|
-
break;
|
|
5087
|
-
case 5:
|
|
5088
|
-
var value = /** @type {number} */ (reader.readFloat());
|
|
5089
|
-
msg.setMinIntentsConfidenceMax(value);
|
|
5090
|
-
break;
|
|
5091
|
-
case 6:
|
|
5092
|
-
var value = /** @type {number} */ (reader.readFloat());
|
|
5093
|
-
msg.setMinEntityTypesConfidenceMin(value);
|
|
5094
|
-
break;
|
|
5095
|
-
case 7:
|
|
5096
|
-
var value = /** @type {number} */ (reader.readFloat());
|
|
5097
|
-
msg.setMinEntityTypesConfidenceMax(value);
|
|
5098
|
-
break;
|
|
5099
|
-
case 8:
|
|
5100
|
-
var value = /** @type {number} */ (reader.readFloat());
|
|
5101
|
-
msg.setEarliest(value);
|
|
5102
|
-
break;
|
|
5103
|
-
case 9:
|
|
5104
|
-
var value = /** @type {number} */ (reader.readFloat());
|
|
5105
|
-
msg.setLatest(value);
|
|
5106
|
-
break;
|
|
5107
|
-
case 10:
|
|
5108
|
-
var value = /** @type {number} */ (reader.readInt32());
|
|
5109
|
-
msg.setMinNumberTurns(value);
|
|
5110
|
-
break;
|
|
5111
|
-
case 11:
|
|
5112
|
-
var value = /** @type {number} */ (reader.readInt32());
|
|
5113
|
-
msg.setMaxNumberTurns(value);
|
|
5114
|
-
break;
|
|
5115
|
-
case 12:
|
|
5116
|
-
var value = /** @type {string} */ (reader.readString());
|
|
5117
|
-
msg.addLabels(value);
|
|
5235
|
+
var value = /** @type {!proto.ondewo.nlu.ComparisonOperator} */ (reader.readEnum());
|
|
5236
|
+
msg.setOperator(value);
|
|
5118
5237
|
break;
|
|
5119
|
-
|
|
5120
|
-
|
|
5121
|
-
msg.addUserIds(value);
|
|
5122
|
-
break;
|
|
5123
|
-
case 14:
|
|
5124
|
-
var value = /** @type {string} */ (reader.readString());
|
|
5125
|
-
msg.addIntentTags(value);
|
|
5126
|
-
break;
|
|
5127
|
-
case 15:
|
|
5128
|
-
var value = /** @type {string} */ (reader.readString());
|
|
5129
|
-
msg.addSessionIds(value);
|
|
5130
|
-
break;
|
|
5131
|
-
case 16:
|
|
5132
|
-
var value = new ondewo_nlu_context_pb.Context;
|
|
5133
|
-
reader.readMessage(value,ondewo_nlu_context_pb.Context.deserializeBinaryFromReader);
|
|
5134
|
-
msg.addInputContexts(value);
|
|
5135
|
-
break;
|
|
5136
|
-
case 17:
|
|
5137
|
-
var value = new ondewo_nlu_context_pb.Context;
|
|
5138
|
-
reader.readMessage(value,ondewo_nlu_context_pb.Context.deserializeBinaryFromReader);
|
|
5139
|
-
msg.addOutputContexts(value);
|
|
5140
|
-
break;
|
|
5141
|
-
default:
|
|
5142
|
-
reader.skipField();
|
|
5238
|
+
default:
|
|
5239
|
+
reader.skipField();
|
|
5143
5240
|
break;
|
|
5144
5241
|
}
|
|
5145
5242
|
}
|
|
@@ -5151,9 +5248,9 @@ proto.ondewo.nlu.SessionFilter.deserializeBinaryFromReader = function(msg, reade
|
|
|
5151
5248
|
* Serializes the message to binary data (in protobuf wire format).
|
|
5152
5249
|
* @return {!Uint8Array}
|
|
5153
5250
|
*/
|
|
5154
|
-
proto.ondewo.nlu.
|
|
5251
|
+
proto.ondewo.nlu.ContextFilter.prototype.serializeBinary = function() {
|
|
5155
5252
|
var writer = new jspb.BinaryWriter();
|
|
5156
|
-
proto.ondewo.nlu.
|
|
5253
|
+
proto.ondewo.nlu.ContextFilter.serializeBinaryToWriter(this, writer);
|
|
5157
5254
|
return writer.getResultBuffer();
|
|
5158
5255
|
};
|
|
5159
5256
|
|
|
@@ -5161,257 +5258,1285 @@ proto.ondewo.nlu.SessionFilter.prototype.serializeBinary = function() {
|
|
|
5161
5258
|
/**
|
|
5162
5259
|
* Serializes the given message to binary data (in protobuf wire
|
|
5163
5260
|
* format), writing to the given BinaryWriter.
|
|
5164
|
-
* @param {!proto.ondewo.nlu.
|
|
5261
|
+
* @param {!proto.ondewo.nlu.ContextFilter} message
|
|
5165
5262
|
* @param {!jspb.BinaryWriter} writer
|
|
5166
5263
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
5167
5264
|
*/
|
|
5168
|
-
proto.ondewo.nlu.
|
|
5265
|
+
proto.ondewo.nlu.ContextFilter.serializeBinaryToWriter = function(message, writer) {
|
|
5169
5266
|
var f = undefined;
|
|
5170
|
-
f = message.
|
|
5267
|
+
f = message.getContextName();
|
|
5171
5268
|
if (f.length > 0) {
|
|
5172
|
-
writer.
|
|
5269
|
+
writer.writeString(
|
|
5173
5270
|
1,
|
|
5174
5271
|
f
|
|
5175
5272
|
);
|
|
5176
5273
|
}
|
|
5177
|
-
f = message.
|
|
5274
|
+
f = message.getKey();
|
|
5178
5275
|
if (f.length > 0) {
|
|
5179
|
-
writer.
|
|
5276
|
+
writer.writeString(
|
|
5180
5277
|
2,
|
|
5181
|
-
f
|
|
5182
|
-
ondewo_nlu_intent_pb.Intent.serializeBinaryToWriter
|
|
5278
|
+
f
|
|
5183
5279
|
);
|
|
5184
5280
|
}
|
|
5185
|
-
f = message.
|
|
5281
|
+
f = message.getValue();
|
|
5186
5282
|
if (f.length > 0) {
|
|
5187
|
-
writer.
|
|
5283
|
+
writer.writeString(
|
|
5188
5284
|
3,
|
|
5189
|
-
f,
|
|
5190
|
-
ondewo_nlu_entity_type_pb.EntityType.serializeBinaryToWriter
|
|
5191
|
-
);
|
|
5192
|
-
}
|
|
5193
|
-
f = message.getMinIntentsConfidenceMin();
|
|
5194
|
-
if (f !== 0.0) {
|
|
5195
|
-
writer.writeFloat(
|
|
5196
|
-
4,
|
|
5197
|
-
f
|
|
5198
|
-
);
|
|
5199
|
-
}
|
|
5200
|
-
f = message.getMinIntentsConfidenceMax();
|
|
5201
|
-
if (f !== 0.0) {
|
|
5202
|
-
writer.writeFloat(
|
|
5203
|
-
5,
|
|
5204
|
-
f
|
|
5205
|
-
);
|
|
5206
|
-
}
|
|
5207
|
-
f = message.getMinEntityTypesConfidenceMin();
|
|
5208
|
-
if (f !== 0.0) {
|
|
5209
|
-
writer.writeFloat(
|
|
5210
|
-
6,
|
|
5211
|
-
f
|
|
5212
|
-
);
|
|
5213
|
-
}
|
|
5214
|
-
f = message.getMinEntityTypesConfidenceMax();
|
|
5215
|
-
if (f !== 0.0) {
|
|
5216
|
-
writer.writeFloat(
|
|
5217
|
-
7,
|
|
5218
|
-
f
|
|
5219
|
-
);
|
|
5220
|
-
}
|
|
5221
|
-
f = message.getEarliest();
|
|
5222
|
-
if (f !== 0.0) {
|
|
5223
|
-
writer.writeFloat(
|
|
5224
|
-
8,
|
|
5225
5285
|
f
|
|
5226
5286
|
);
|
|
5227
5287
|
}
|
|
5228
|
-
f = message.
|
|
5288
|
+
f = message.getOperator();
|
|
5229
5289
|
if (f !== 0.0) {
|
|
5230
|
-
writer.
|
|
5231
|
-
|
|
5232
|
-
f
|
|
5233
|
-
);
|
|
5234
|
-
}
|
|
5235
|
-
f = message.getMinNumberTurns();
|
|
5236
|
-
if (f !== 0) {
|
|
5237
|
-
writer.writeInt32(
|
|
5238
|
-
10,
|
|
5239
|
-
f
|
|
5240
|
-
);
|
|
5241
|
-
}
|
|
5242
|
-
f = message.getMaxNumberTurns();
|
|
5243
|
-
if (f !== 0) {
|
|
5244
|
-
writer.writeInt32(
|
|
5245
|
-
11,
|
|
5246
|
-
f
|
|
5247
|
-
);
|
|
5248
|
-
}
|
|
5249
|
-
f = message.getLabelsList();
|
|
5250
|
-
if (f.length > 0) {
|
|
5251
|
-
writer.writeRepeatedString(
|
|
5252
|
-
12,
|
|
5253
|
-
f
|
|
5254
|
-
);
|
|
5255
|
-
}
|
|
5256
|
-
f = message.getUserIdsList();
|
|
5257
|
-
if (f.length > 0) {
|
|
5258
|
-
writer.writeRepeatedString(
|
|
5259
|
-
13,
|
|
5260
|
-
f
|
|
5261
|
-
);
|
|
5262
|
-
}
|
|
5263
|
-
f = message.getIntentTagsList();
|
|
5264
|
-
if (f.length > 0) {
|
|
5265
|
-
writer.writeRepeatedString(
|
|
5266
|
-
14,
|
|
5267
|
-
f
|
|
5268
|
-
);
|
|
5269
|
-
}
|
|
5270
|
-
f = message.getSessionIdsList();
|
|
5271
|
-
if (f.length > 0) {
|
|
5272
|
-
writer.writeRepeatedString(
|
|
5273
|
-
15,
|
|
5290
|
+
writer.writeEnum(
|
|
5291
|
+
4,
|
|
5274
5292
|
f
|
|
5275
5293
|
);
|
|
5276
5294
|
}
|
|
5277
|
-
f = message.getInputContextsList();
|
|
5278
|
-
if (f.length > 0) {
|
|
5279
|
-
writer.writeRepeatedMessage(
|
|
5280
|
-
16,
|
|
5281
|
-
f,
|
|
5282
|
-
ondewo_nlu_context_pb.Context.serializeBinaryToWriter
|
|
5283
|
-
);
|
|
5284
|
-
}
|
|
5285
|
-
f = message.getOutputContextsList();
|
|
5286
|
-
if (f.length > 0) {
|
|
5287
|
-
writer.writeRepeatedMessage(
|
|
5288
|
-
17,
|
|
5289
|
-
f,
|
|
5290
|
-
ondewo_nlu_context_pb.Context.serializeBinaryToWriter
|
|
5291
|
-
);
|
|
5292
|
-
}
|
|
5293
5295
|
};
|
|
5294
5296
|
|
|
5295
5297
|
|
|
5296
5298
|
/**
|
|
5297
|
-
*
|
|
5298
|
-
* @return {
|
|
5299
|
+
* optional string context_name = 1;
|
|
5300
|
+
* @return {string}
|
|
5299
5301
|
*/
|
|
5300
|
-
proto.ondewo.nlu.
|
|
5301
|
-
return /** @type {
|
|
5302
|
+
proto.ondewo.nlu.ContextFilter.prototype.getContextName = function() {
|
|
5303
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
5302
5304
|
};
|
|
5303
5305
|
|
|
5304
5306
|
|
|
5305
5307
|
/**
|
|
5306
|
-
* @param {
|
|
5307
|
-
* @return {!proto.ondewo.nlu.
|
|
5308
|
+
* @param {string} value
|
|
5309
|
+
* @return {!proto.ondewo.nlu.ContextFilter} returns this
|
|
5308
5310
|
*/
|
|
5309
|
-
proto.ondewo.nlu.
|
|
5310
|
-
return jspb.Message.
|
|
5311
|
+
proto.ondewo.nlu.ContextFilter.prototype.setContextName = function(value) {
|
|
5312
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
5311
5313
|
};
|
|
5312
5314
|
|
|
5313
5315
|
|
|
5314
5316
|
/**
|
|
5315
|
-
*
|
|
5316
|
-
* @
|
|
5317
|
-
* @return {!proto.ondewo.nlu.SessionFilter} returns this
|
|
5317
|
+
* optional string key = 2;
|
|
5318
|
+
* @return {string}
|
|
5318
5319
|
*/
|
|
5319
|
-
proto.ondewo.nlu.
|
|
5320
|
-
return jspb.Message.
|
|
5320
|
+
proto.ondewo.nlu.ContextFilter.prototype.getKey = function() {
|
|
5321
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
5321
5322
|
};
|
|
5322
5323
|
|
|
5323
5324
|
|
|
5324
5325
|
/**
|
|
5325
|
-
*
|
|
5326
|
-
* @return {!proto.ondewo.nlu.
|
|
5326
|
+
* @param {string} value
|
|
5327
|
+
* @return {!proto.ondewo.nlu.ContextFilter} returns this
|
|
5327
5328
|
*/
|
|
5328
|
-
proto.ondewo.nlu.
|
|
5329
|
-
return
|
|
5329
|
+
proto.ondewo.nlu.ContextFilter.prototype.setKey = function(value) {
|
|
5330
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
5330
5331
|
};
|
|
5331
5332
|
|
|
5332
5333
|
|
|
5333
5334
|
/**
|
|
5334
|
-
*
|
|
5335
|
-
* @return {
|
|
5335
|
+
* optional string value = 3;
|
|
5336
|
+
* @return {string}
|
|
5336
5337
|
*/
|
|
5337
|
-
proto.ondewo.nlu.
|
|
5338
|
-
return /** @type{
|
|
5339
|
-
jspb.Message.getRepeatedWrapperField(this, ondewo_nlu_intent_pb.Intent, 2));
|
|
5338
|
+
proto.ondewo.nlu.ContextFilter.prototype.getValue = function() {
|
|
5339
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
5340
5340
|
};
|
|
5341
5341
|
|
|
5342
5342
|
|
|
5343
5343
|
/**
|
|
5344
|
-
* @param {
|
|
5345
|
-
* @return {!proto.ondewo.nlu.
|
|
5346
|
-
*/
|
|
5347
|
-
proto.ondewo.nlu.
|
|
5348
|
-
return jspb.Message.
|
|
5344
|
+
* @param {string} value
|
|
5345
|
+
* @return {!proto.ondewo.nlu.ContextFilter} returns this
|
|
5346
|
+
*/
|
|
5347
|
+
proto.ondewo.nlu.ContextFilter.prototype.setValue = function(value) {
|
|
5348
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
5349
5349
|
};
|
|
5350
5350
|
|
|
5351
5351
|
|
|
5352
5352
|
/**
|
|
5353
|
-
*
|
|
5354
|
-
* @
|
|
5355
|
-
* @return {!proto.ondewo.nlu.Intent}
|
|
5353
|
+
* optional ComparisonOperator operator = 4;
|
|
5354
|
+
* @return {!proto.ondewo.nlu.ComparisonOperator}
|
|
5356
5355
|
*/
|
|
5357
|
-
proto.ondewo.nlu.
|
|
5358
|
-
return jspb.Message.
|
|
5356
|
+
proto.ondewo.nlu.ContextFilter.prototype.getOperator = function() {
|
|
5357
|
+
return /** @type {!proto.ondewo.nlu.ComparisonOperator} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
5359
5358
|
};
|
|
5360
5359
|
|
|
5361
5360
|
|
|
5362
5361
|
/**
|
|
5363
|
-
*
|
|
5364
|
-
* @return {!proto.ondewo.nlu.
|
|
5362
|
+
* @param {!proto.ondewo.nlu.ComparisonOperator} value
|
|
5363
|
+
* @return {!proto.ondewo.nlu.ContextFilter} returns this
|
|
5365
5364
|
*/
|
|
5366
|
-
proto.ondewo.nlu.
|
|
5367
|
-
return
|
|
5365
|
+
proto.ondewo.nlu.ContextFilter.prototype.setOperator = function(value) {
|
|
5366
|
+
return jspb.Message.setProto3EnumField(this, 4, value);
|
|
5368
5367
|
};
|
|
5369
5368
|
|
|
5370
5369
|
|
|
5370
|
+
|
|
5371
5371
|
/**
|
|
5372
|
-
* repeated
|
|
5373
|
-
* @
|
|
5372
|
+
* List of repeated fields within this message type.
|
|
5373
|
+
* @private {!Array<number>}
|
|
5374
|
+
* @const
|
|
5374
5375
|
*/
|
|
5375
|
-
proto.ondewo.nlu.SessionFilter.
|
|
5376
|
-
return /** @type{!Array<!proto.ondewo.nlu.EntityType>} */ (
|
|
5377
|
-
jspb.Message.getRepeatedWrapperField(this, ondewo_nlu_entity_type_pb.EntityType, 3));
|
|
5378
|
-
};
|
|
5379
|
-
|
|
5376
|
+
proto.ondewo.nlu.SessionFilter.repeatedFields_ = [1,2,3,12,13,14,15,16,17];
|
|
5380
5377
|
|
|
5381
|
-
/**
|
|
5382
|
-
* @param {!Array<!proto.ondewo.nlu.EntityType>} value
|
|
5383
|
-
* @return {!proto.ondewo.nlu.SessionFilter} returns this
|
|
5384
|
-
*/
|
|
5385
|
-
proto.ondewo.nlu.SessionFilter.prototype.setMatchedEntityTypesList = function(value) {
|
|
5386
|
-
return jspb.Message.setRepeatedWrapperField(this, 3, value);
|
|
5387
|
-
};
|
|
5388
5378
|
|
|
5389
5379
|
|
|
5380
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
5390
5381
|
/**
|
|
5391
|
-
*
|
|
5392
|
-
*
|
|
5393
|
-
*
|
|
5382
|
+
* Creates an object representation of this proto.
|
|
5383
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
5384
|
+
* Optional fields that are not set will be set to undefined.
|
|
5385
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
5386
|
+
* For the list of reserved names please see:
|
|
5387
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
5388
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
5389
|
+
* JSPB instance for transitional soy proto support:
|
|
5390
|
+
* http://goto/soy-param-migration
|
|
5391
|
+
* @return {!Object}
|
|
5394
5392
|
*/
|
|
5395
|
-
proto.ondewo.nlu.SessionFilter.prototype.
|
|
5396
|
-
return
|
|
5393
|
+
proto.ondewo.nlu.SessionFilter.prototype.toObject = function(opt_includeInstance) {
|
|
5394
|
+
return proto.ondewo.nlu.SessionFilter.toObject(opt_includeInstance, this);
|
|
5397
5395
|
};
|
|
5398
5396
|
|
|
5399
5397
|
|
|
5400
5398
|
/**
|
|
5401
|
-
*
|
|
5399
|
+
* Static version of the {@see toObject} method.
|
|
5400
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
5401
|
+
* the JSPB instance for transitional soy proto support:
|
|
5402
|
+
* http://goto/soy-param-migration
|
|
5403
|
+
* @param {!proto.ondewo.nlu.SessionFilter} msg The msg instance to transform.
|
|
5404
|
+
* @return {!Object}
|
|
5405
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
5406
|
+
*/
|
|
5407
|
+
proto.ondewo.nlu.SessionFilter.toObject = function(includeInstance, msg) {
|
|
5408
|
+
var f, obj = {
|
|
5409
|
+
languageCodesList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
|
|
5410
|
+
matchedIntentsList: jspb.Message.toObjectList(msg.getMatchedIntentsList(),
|
|
5411
|
+
ondewo_nlu_intent_pb.Intent.toObject, includeInstance),
|
|
5412
|
+
matchedEntityTypesList: jspb.Message.toObjectList(msg.getMatchedEntityTypesList(),
|
|
5413
|
+
ondewo_nlu_entity_type_pb.EntityType.toObject, includeInstance),
|
|
5414
|
+
minIntentsConfidenceMin: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0),
|
|
5415
|
+
minIntentsConfidenceMax: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0),
|
|
5416
|
+
minEntityTypesConfidenceMin: jspb.Message.getFloatingPointFieldWithDefault(msg, 6, 0.0),
|
|
5417
|
+
minEntityTypesConfidenceMax: jspb.Message.getFloatingPointFieldWithDefault(msg, 7, 0.0),
|
|
5418
|
+
earliest: jspb.Message.getFloatingPointFieldWithDefault(msg, 8, 0.0),
|
|
5419
|
+
latest: jspb.Message.getFloatingPointFieldWithDefault(msg, 9, 0.0),
|
|
5420
|
+
minNumberTurns: jspb.Message.getFieldWithDefault(msg, 10, 0),
|
|
5421
|
+
maxNumberTurns: jspb.Message.getFieldWithDefault(msg, 11, 0),
|
|
5422
|
+
labelsList: (f = jspb.Message.getRepeatedField(msg, 12)) == null ? undefined : f,
|
|
5423
|
+
userIdsList: (f = jspb.Message.getRepeatedField(msg, 13)) == null ? undefined : f,
|
|
5424
|
+
intentTagsList: (f = jspb.Message.getRepeatedField(msg, 14)) == null ? undefined : f,
|
|
5425
|
+
sessionIdsList: (f = jspb.Message.getRepeatedField(msg, 15)) == null ? undefined : f,
|
|
5426
|
+
inputContextsList: jspb.Message.toObjectList(msg.getInputContextsList(),
|
|
5427
|
+
ondewo_nlu_context_pb.Context.toObject, includeInstance),
|
|
5428
|
+
outputContextsList: jspb.Message.toObjectList(msg.getOutputContextsList(),
|
|
5429
|
+
ondewo_nlu_context_pb.Context.toObject, includeInstance),
|
|
5430
|
+
durationInSMin: jspb.Message.getFloatingPointFieldWithDefault(msg, 18, 0.0),
|
|
5431
|
+
durationInSMax: jspb.Message.getFloatingPointFieldWithDefault(msg, 19, 0.0),
|
|
5432
|
+
durationInMMin: jspb.Message.getFloatingPointFieldWithDefault(msg, 20, 0.0),
|
|
5433
|
+
durationInMMax: jspb.Message.getFloatingPointFieldWithDefault(msg, 21, 0.0),
|
|
5434
|
+
durationInMRoundedMin: jspb.Message.getFloatingPointFieldWithDefault(msg, 22, 0.0),
|
|
5435
|
+
durationInMRoundedMax: jspb.Message.getFloatingPointFieldWithDefault(msg, 23, 0.0),
|
|
5436
|
+
durationInterval15sRoundedMin: jspb.Message.getFloatingPointFieldWithDefault(msg, 24, 0.0),
|
|
5437
|
+
durationInterval15sRoundedMax: jspb.Message.getFloatingPointFieldWithDefault(msg, 25, 0.0),
|
|
5438
|
+
durationInterval30sRoundedMin: jspb.Message.getFloatingPointFieldWithDefault(msg, 26, 0.0),
|
|
5439
|
+
durationInterval30sRoundedMax: jspb.Message.getFloatingPointFieldWithDefault(msg, 27, 0.0),
|
|
5440
|
+
durationInterval45sRoundedMin: jspb.Message.getFloatingPointFieldWithDefault(msg, 28, 0.0),
|
|
5441
|
+
durationInterval45sRoundedMax: jspb.Message.getFloatingPointFieldWithDefault(msg, 29, 0.0),
|
|
5442
|
+
startedTimeSlotPerHourMin: jspb.Message.getFieldWithDefault(msg, 30, ""),
|
|
5443
|
+
startedTimeSlotPerHourMax: jspb.Message.getFieldWithDefault(msg, 31, ""),
|
|
5444
|
+
startedTimeSlotPerQuarterHourMin: jspb.Message.getFieldWithDefault(msg, 32, ""),
|
|
5445
|
+
startedTimeSlotPerQuarterHourMax: jspb.Message.getFieldWithDefault(msg, 33, ""),
|
|
5446
|
+
startedTimeSlotPerHalfHourMin: jspb.Message.getFieldWithDefault(msg, 34, ""),
|
|
5447
|
+
startedTimeSlotPerHalfHourMax: jspb.Message.getFieldWithDefault(msg, 35, ""),
|
|
5448
|
+
startedTimeSlotPerDayPhaseMin: jspb.Message.getFieldWithDefault(msg, 36, ""),
|
|
5449
|
+
startedTimeSlotPerDayPhaseMax: jspb.Message.getFieldWithDefault(msg, 37, ""),
|
|
5450
|
+
startedTimeSlotPerMinuteMin: jspb.Message.getFieldWithDefault(msg, 38, ""),
|
|
5451
|
+
startedTimeSlotPerMinuteMax: jspb.Message.getFieldWithDefault(msg, 39, ""),
|
|
5452
|
+
durationInSRoundedMin: jspb.Message.getFloatingPointFieldWithDefault(msg, 40, 0.0),
|
|
5453
|
+
durationInSRoundedMax: jspb.Message.getFloatingPointFieldWithDefault(msg, 41, 0.0)
|
|
5454
|
+
};
|
|
5455
|
+
|
|
5456
|
+
if (includeInstance) {
|
|
5457
|
+
obj.$jspbMessageInstance = msg;
|
|
5458
|
+
}
|
|
5459
|
+
return obj;
|
|
5460
|
+
};
|
|
5461
|
+
}
|
|
5462
|
+
|
|
5463
|
+
|
|
5464
|
+
/**
|
|
5465
|
+
* Deserializes binary data (in protobuf wire format).
|
|
5466
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
5467
|
+
* @return {!proto.ondewo.nlu.SessionFilter}
|
|
5468
|
+
*/
|
|
5469
|
+
proto.ondewo.nlu.SessionFilter.deserializeBinary = function(bytes) {
|
|
5470
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
5471
|
+
var msg = new proto.ondewo.nlu.SessionFilter;
|
|
5472
|
+
return proto.ondewo.nlu.SessionFilter.deserializeBinaryFromReader(msg, reader);
|
|
5473
|
+
};
|
|
5474
|
+
|
|
5475
|
+
|
|
5476
|
+
/**
|
|
5477
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
5478
|
+
* given reader into the given message object.
|
|
5479
|
+
* @param {!proto.ondewo.nlu.SessionFilter} msg The message object to deserialize into.
|
|
5480
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
5481
|
+
* @return {!proto.ondewo.nlu.SessionFilter}
|
|
5482
|
+
*/
|
|
5483
|
+
proto.ondewo.nlu.SessionFilter.deserializeBinaryFromReader = function(msg, reader) {
|
|
5484
|
+
while (reader.nextField()) {
|
|
5485
|
+
if (reader.isEndGroup()) {
|
|
5486
|
+
break;
|
|
5487
|
+
}
|
|
5488
|
+
var field = reader.getFieldNumber();
|
|
5489
|
+
switch (field) {
|
|
5490
|
+
case 1:
|
|
5491
|
+
var value = /** @type {string} */ (reader.readString());
|
|
5492
|
+
msg.addLanguageCodes(value);
|
|
5493
|
+
break;
|
|
5494
|
+
case 2:
|
|
5495
|
+
var value = new ondewo_nlu_intent_pb.Intent;
|
|
5496
|
+
reader.readMessage(value,ondewo_nlu_intent_pb.Intent.deserializeBinaryFromReader);
|
|
5497
|
+
msg.addMatchedIntents(value);
|
|
5498
|
+
break;
|
|
5499
|
+
case 3:
|
|
5500
|
+
var value = new ondewo_nlu_entity_type_pb.EntityType;
|
|
5501
|
+
reader.readMessage(value,ondewo_nlu_entity_type_pb.EntityType.deserializeBinaryFromReader);
|
|
5502
|
+
msg.addMatchedEntityTypes(value);
|
|
5503
|
+
break;
|
|
5504
|
+
case 4:
|
|
5505
|
+
var value = /** @type {number} */ (reader.readFloat());
|
|
5506
|
+
msg.setMinIntentsConfidenceMin(value);
|
|
5507
|
+
break;
|
|
5508
|
+
case 5:
|
|
5509
|
+
var value = /** @type {number} */ (reader.readFloat());
|
|
5510
|
+
msg.setMinIntentsConfidenceMax(value);
|
|
5511
|
+
break;
|
|
5512
|
+
case 6:
|
|
5513
|
+
var value = /** @type {number} */ (reader.readFloat());
|
|
5514
|
+
msg.setMinEntityTypesConfidenceMin(value);
|
|
5515
|
+
break;
|
|
5516
|
+
case 7:
|
|
5517
|
+
var value = /** @type {number} */ (reader.readFloat());
|
|
5518
|
+
msg.setMinEntityTypesConfidenceMax(value);
|
|
5519
|
+
break;
|
|
5520
|
+
case 8:
|
|
5521
|
+
var value = /** @type {number} */ (reader.readFloat());
|
|
5522
|
+
msg.setEarliest(value);
|
|
5523
|
+
break;
|
|
5524
|
+
case 9:
|
|
5525
|
+
var value = /** @type {number} */ (reader.readFloat());
|
|
5526
|
+
msg.setLatest(value);
|
|
5527
|
+
break;
|
|
5528
|
+
case 10:
|
|
5529
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
5530
|
+
msg.setMinNumberTurns(value);
|
|
5531
|
+
break;
|
|
5532
|
+
case 11:
|
|
5533
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
5534
|
+
msg.setMaxNumberTurns(value);
|
|
5535
|
+
break;
|
|
5536
|
+
case 12:
|
|
5537
|
+
var value = /** @type {string} */ (reader.readString());
|
|
5538
|
+
msg.addLabels(value);
|
|
5539
|
+
break;
|
|
5540
|
+
case 13:
|
|
5541
|
+
var value = /** @type {string} */ (reader.readString());
|
|
5542
|
+
msg.addUserIds(value);
|
|
5543
|
+
break;
|
|
5544
|
+
case 14:
|
|
5545
|
+
var value = /** @type {string} */ (reader.readString());
|
|
5546
|
+
msg.addIntentTags(value);
|
|
5547
|
+
break;
|
|
5548
|
+
case 15:
|
|
5549
|
+
var value = /** @type {string} */ (reader.readString());
|
|
5550
|
+
msg.addSessionIds(value);
|
|
5551
|
+
break;
|
|
5552
|
+
case 16:
|
|
5553
|
+
var value = new ondewo_nlu_context_pb.Context;
|
|
5554
|
+
reader.readMessage(value,ondewo_nlu_context_pb.Context.deserializeBinaryFromReader);
|
|
5555
|
+
msg.addInputContexts(value);
|
|
5556
|
+
break;
|
|
5557
|
+
case 17:
|
|
5558
|
+
var value = new ondewo_nlu_context_pb.Context;
|
|
5559
|
+
reader.readMessage(value,ondewo_nlu_context_pb.Context.deserializeBinaryFromReader);
|
|
5560
|
+
msg.addOutputContexts(value);
|
|
5561
|
+
break;
|
|
5562
|
+
case 18:
|
|
5563
|
+
var value = /** @type {number} */ (reader.readFloat());
|
|
5564
|
+
msg.setDurationInSMin(value);
|
|
5565
|
+
break;
|
|
5566
|
+
case 19:
|
|
5567
|
+
var value = /** @type {number} */ (reader.readFloat());
|
|
5568
|
+
msg.setDurationInSMax(value);
|
|
5569
|
+
break;
|
|
5570
|
+
case 20:
|
|
5571
|
+
var value = /** @type {number} */ (reader.readFloat());
|
|
5572
|
+
msg.setDurationInMMin(value);
|
|
5573
|
+
break;
|
|
5574
|
+
case 21:
|
|
5575
|
+
var value = /** @type {number} */ (reader.readFloat());
|
|
5576
|
+
msg.setDurationInMMax(value);
|
|
5577
|
+
break;
|
|
5578
|
+
case 22:
|
|
5579
|
+
var value = /** @type {number} */ (reader.readFloat());
|
|
5580
|
+
msg.setDurationInMRoundedMin(value);
|
|
5581
|
+
break;
|
|
5582
|
+
case 23:
|
|
5583
|
+
var value = /** @type {number} */ (reader.readFloat());
|
|
5584
|
+
msg.setDurationInMRoundedMax(value);
|
|
5585
|
+
break;
|
|
5586
|
+
case 24:
|
|
5587
|
+
var value = /** @type {number} */ (reader.readFloat());
|
|
5588
|
+
msg.setDurationInterval15sRoundedMin(value);
|
|
5589
|
+
break;
|
|
5590
|
+
case 25:
|
|
5591
|
+
var value = /** @type {number} */ (reader.readFloat());
|
|
5592
|
+
msg.setDurationInterval15sRoundedMax(value);
|
|
5593
|
+
break;
|
|
5594
|
+
case 26:
|
|
5595
|
+
var value = /** @type {number} */ (reader.readFloat());
|
|
5596
|
+
msg.setDurationInterval30sRoundedMin(value);
|
|
5597
|
+
break;
|
|
5598
|
+
case 27:
|
|
5599
|
+
var value = /** @type {number} */ (reader.readFloat());
|
|
5600
|
+
msg.setDurationInterval30sRoundedMax(value);
|
|
5601
|
+
break;
|
|
5602
|
+
case 28:
|
|
5603
|
+
var value = /** @type {number} */ (reader.readFloat());
|
|
5604
|
+
msg.setDurationInterval45sRoundedMin(value);
|
|
5605
|
+
break;
|
|
5606
|
+
case 29:
|
|
5607
|
+
var value = /** @type {number} */ (reader.readFloat());
|
|
5608
|
+
msg.setDurationInterval45sRoundedMax(value);
|
|
5609
|
+
break;
|
|
5610
|
+
case 30:
|
|
5611
|
+
var value = /** @type {string} */ (reader.readString());
|
|
5612
|
+
msg.setStartedTimeSlotPerHourMin(value);
|
|
5613
|
+
break;
|
|
5614
|
+
case 31:
|
|
5615
|
+
var value = /** @type {string} */ (reader.readString());
|
|
5616
|
+
msg.setStartedTimeSlotPerHourMax(value);
|
|
5617
|
+
break;
|
|
5618
|
+
case 32:
|
|
5619
|
+
var value = /** @type {string} */ (reader.readString());
|
|
5620
|
+
msg.setStartedTimeSlotPerQuarterHourMin(value);
|
|
5621
|
+
break;
|
|
5622
|
+
case 33:
|
|
5623
|
+
var value = /** @type {string} */ (reader.readString());
|
|
5624
|
+
msg.setStartedTimeSlotPerQuarterHourMax(value);
|
|
5625
|
+
break;
|
|
5626
|
+
case 34:
|
|
5627
|
+
var value = /** @type {string} */ (reader.readString());
|
|
5628
|
+
msg.setStartedTimeSlotPerHalfHourMin(value);
|
|
5629
|
+
break;
|
|
5630
|
+
case 35:
|
|
5631
|
+
var value = /** @type {string} */ (reader.readString());
|
|
5632
|
+
msg.setStartedTimeSlotPerHalfHourMax(value);
|
|
5633
|
+
break;
|
|
5634
|
+
case 36:
|
|
5635
|
+
var value = /** @type {string} */ (reader.readString());
|
|
5636
|
+
msg.setStartedTimeSlotPerDayPhaseMin(value);
|
|
5637
|
+
break;
|
|
5638
|
+
case 37:
|
|
5639
|
+
var value = /** @type {string} */ (reader.readString());
|
|
5640
|
+
msg.setStartedTimeSlotPerDayPhaseMax(value);
|
|
5641
|
+
break;
|
|
5642
|
+
case 38:
|
|
5643
|
+
var value = /** @type {string} */ (reader.readString());
|
|
5644
|
+
msg.setStartedTimeSlotPerMinuteMin(value);
|
|
5645
|
+
break;
|
|
5646
|
+
case 39:
|
|
5647
|
+
var value = /** @type {string} */ (reader.readString());
|
|
5648
|
+
msg.setStartedTimeSlotPerMinuteMax(value);
|
|
5649
|
+
break;
|
|
5650
|
+
case 40:
|
|
5651
|
+
var value = /** @type {number} */ (reader.readFloat());
|
|
5652
|
+
msg.setDurationInSRoundedMin(value);
|
|
5653
|
+
break;
|
|
5654
|
+
case 41:
|
|
5655
|
+
var value = /** @type {number} */ (reader.readFloat());
|
|
5656
|
+
msg.setDurationInSRoundedMax(value);
|
|
5657
|
+
break;
|
|
5658
|
+
default:
|
|
5659
|
+
reader.skipField();
|
|
5660
|
+
break;
|
|
5661
|
+
}
|
|
5662
|
+
}
|
|
5663
|
+
return msg;
|
|
5664
|
+
};
|
|
5665
|
+
|
|
5666
|
+
|
|
5667
|
+
/**
|
|
5668
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
5669
|
+
* @return {!Uint8Array}
|
|
5670
|
+
*/
|
|
5671
|
+
proto.ondewo.nlu.SessionFilter.prototype.serializeBinary = function() {
|
|
5672
|
+
var writer = new jspb.BinaryWriter();
|
|
5673
|
+
proto.ondewo.nlu.SessionFilter.serializeBinaryToWriter(this, writer);
|
|
5674
|
+
return writer.getResultBuffer();
|
|
5675
|
+
};
|
|
5676
|
+
|
|
5677
|
+
|
|
5678
|
+
/**
|
|
5679
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
5680
|
+
* format), writing to the given BinaryWriter.
|
|
5681
|
+
* @param {!proto.ondewo.nlu.SessionFilter} message
|
|
5682
|
+
* @param {!jspb.BinaryWriter} writer
|
|
5683
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
5684
|
+
*/
|
|
5685
|
+
proto.ondewo.nlu.SessionFilter.serializeBinaryToWriter = function(message, writer) {
|
|
5686
|
+
var f = undefined;
|
|
5687
|
+
f = message.getLanguageCodesList();
|
|
5688
|
+
if (f.length > 0) {
|
|
5689
|
+
writer.writeRepeatedString(
|
|
5690
|
+
1,
|
|
5691
|
+
f
|
|
5692
|
+
);
|
|
5693
|
+
}
|
|
5694
|
+
f = message.getMatchedIntentsList();
|
|
5695
|
+
if (f.length > 0) {
|
|
5696
|
+
writer.writeRepeatedMessage(
|
|
5697
|
+
2,
|
|
5698
|
+
f,
|
|
5699
|
+
ondewo_nlu_intent_pb.Intent.serializeBinaryToWriter
|
|
5700
|
+
);
|
|
5701
|
+
}
|
|
5702
|
+
f = message.getMatchedEntityTypesList();
|
|
5703
|
+
if (f.length > 0) {
|
|
5704
|
+
writer.writeRepeatedMessage(
|
|
5705
|
+
3,
|
|
5706
|
+
f,
|
|
5707
|
+
ondewo_nlu_entity_type_pb.EntityType.serializeBinaryToWriter
|
|
5708
|
+
);
|
|
5709
|
+
}
|
|
5710
|
+
f = message.getMinIntentsConfidenceMin();
|
|
5711
|
+
if (f !== 0.0) {
|
|
5712
|
+
writer.writeFloat(
|
|
5713
|
+
4,
|
|
5714
|
+
f
|
|
5715
|
+
);
|
|
5716
|
+
}
|
|
5717
|
+
f = message.getMinIntentsConfidenceMax();
|
|
5718
|
+
if (f !== 0.0) {
|
|
5719
|
+
writer.writeFloat(
|
|
5720
|
+
5,
|
|
5721
|
+
f
|
|
5722
|
+
);
|
|
5723
|
+
}
|
|
5724
|
+
f = message.getMinEntityTypesConfidenceMin();
|
|
5725
|
+
if (f !== 0.0) {
|
|
5726
|
+
writer.writeFloat(
|
|
5727
|
+
6,
|
|
5728
|
+
f
|
|
5729
|
+
);
|
|
5730
|
+
}
|
|
5731
|
+
f = message.getMinEntityTypesConfidenceMax();
|
|
5732
|
+
if (f !== 0.0) {
|
|
5733
|
+
writer.writeFloat(
|
|
5734
|
+
7,
|
|
5735
|
+
f
|
|
5736
|
+
);
|
|
5737
|
+
}
|
|
5738
|
+
f = message.getEarliest();
|
|
5739
|
+
if (f !== 0.0) {
|
|
5740
|
+
writer.writeFloat(
|
|
5741
|
+
8,
|
|
5742
|
+
f
|
|
5743
|
+
);
|
|
5744
|
+
}
|
|
5745
|
+
f = message.getLatest();
|
|
5746
|
+
if (f !== 0.0) {
|
|
5747
|
+
writer.writeFloat(
|
|
5748
|
+
9,
|
|
5749
|
+
f
|
|
5750
|
+
);
|
|
5751
|
+
}
|
|
5752
|
+
f = message.getMinNumberTurns();
|
|
5753
|
+
if (f !== 0) {
|
|
5754
|
+
writer.writeInt32(
|
|
5755
|
+
10,
|
|
5756
|
+
f
|
|
5757
|
+
);
|
|
5758
|
+
}
|
|
5759
|
+
f = message.getMaxNumberTurns();
|
|
5760
|
+
if (f !== 0) {
|
|
5761
|
+
writer.writeInt32(
|
|
5762
|
+
11,
|
|
5763
|
+
f
|
|
5764
|
+
);
|
|
5765
|
+
}
|
|
5766
|
+
f = message.getLabelsList();
|
|
5767
|
+
if (f.length > 0) {
|
|
5768
|
+
writer.writeRepeatedString(
|
|
5769
|
+
12,
|
|
5770
|
+
f
|
|
5771
|
+
);
|
|
5772
|
+
}
|
|
5773
|
+
f = message.getUserIdsList();
|
|
5774
|
+
if (f.length > 0) {
|
|
5775
|
+
writer.writeRepeatedString(
|
|
5776
|
+
13,
|
|
5777
|
+
f
|
|
5778
|
+
);
|
|
5779
|
+
}
|
|
5780
|
+
f = message.getIntentTagsList();
|
|
5781
|
+
if (f.length > 0) {
|
|
5782
|
+
writer.writeRepeatedString(
|
|
5783
|
+
14,
|
|
5784
|
+
f
|
|
5785
|
+
);
|
|
5786
|
+
}
|
|
5787
|
+
f = message.getSessionIdsList();
|
|
5788
|
+
if (f.length > 0) {
|
|
5789
|
+
writer.writeRepeatedString(
|
|
5790
|
+
15,
|
|
5791
|
+
f
|
|
5792
|
+
);
|
|
5793
|
+
}
|
|
5794
|
+
f = message.getInputContextsList();
|
|
5795
|
+
if (f.length > 0) {
|
|
5796
|
+
writer.writeRepeatedMessage(
|
|
5797
|
+
16,
|
|
5798
|
+
f,
|
|
5799
|
+
ondewo_nlu_context_pb.Context.serializeBinaryToWriter
|
|
5800
|
+
);
|
|
5801
|
+
}
|
|
5802
|
+
f = message.getOutputContextsList();
|
|
5803
|
+
if (f.length > 0) {
|
|
5804
|
+
writer.writeRepeatedMessage(
|
|
5805
|
+
17,
|
|
5806
|
+
f,
|
|
5807
|
+
ondewo_nlu_context_pb.Context.serializeBinaryToWriter
|
|
5808
|
+
);
|
|
5809
|
+
}
|
|
5810
|
+
f = message.getDurationInSMin();
|
|
5811
|
+
if (f !== 0.0) {
|
|
5812
|
+
writer.writeFloat(
|
|
5813
|
+
18,
|
|
5814
|
+
f
|
|
5815
|
+
);
|
|
5816
|
+
}
|
|
5817
|
+
f = message.getDurationInSMax();
|
|
5818
|
+
if (f !== 0.0) {
|
|
5819
|
+
writer.writeFloat(
|
|
5820
|
+
19,
|
|
5821
|
+
f
|
|
5822
|
+
);
|
|
5823
|
+
}
|
|
5824
|
+
f = message.getDurationInMMin();
|
|
5825
|
+
if (f !== 0.0) {
|
|
5826
|
+
writer.writeFloat(
|
|
5827
|
+
20,
|
|
5828
|
+
f
|
|
5829
|
+
);
|
|
5830
|
+
}
|
|
5831
|
+
f = message.getDurationInMMax();
|
|
5832
|
+
if (f !== 0.0) {
|
|
5833
|
+
writer.writeFloat(
|
|
5834
|
+
21,
|
|
5835
|
+
f
|
|
5836
|
+
);
|
|
5837
|
+
}
|
|
5838
|
+
f = message.getDurationInMRoundedMin();
|
|
5839
|
+
if (f !== 0.0) {
|
|
5840
|
+
writer.writeFloat(
|
|
5841
|
+
22,
|
|
5842
|
+
f
|
|
5843
|
+
);
|
|
5844
|
+
}
|
|
5845
|
+
f = message.getDurationInMRoundedMax();
|
|
5846
|
+
if (f !== 0.0) {
|
|
5847
|
+
writer.writeFloat(
|
|
5848
|
+
23,
|
|
5849
|
+
f
|
|
5850
|
+
);
|
|
5851
|
+
}
|
|
5852
|
+
f = message.getDurationInterval15sRoundedMin();
|
|
5853
|
+
if (f !== 0.0) {
|
|
5854
|
+
writer.writeFloat(
|
|
5855
|
+
24,
|
|
5856
|
+
f
|
|
5857
|
+
);
|
|
5858
|
+
}
|
|
5859
|
+
f = message.getDurationInterval15sRoundedMax();
|
|
5860
|
+
if (f !== 0.0) {
|
|
5861
|
+
writer.writeFloat(
|
|
5862
|
+
25,
|
|
5863
|
+
f
|
|
5864
|
+
);
|
|
5865
|
+
}
|
|
5866
|
+
f = message.getDurationInterval30sRoundedMin();
|
|
5867
|
+
if (f !== 0.0) {
|
|
5868
|
+
writer.writeFloat(
|
|
5869
|
+
26,
|
|
5870
|
+
f
|
|
5871
|
+
);
|
|
5872
|
+
}
|
|
5873
|
+
f = message.getDurationInterval30sRoundedMax();
|
|
5874
|
+
if (f !== 0.0) {
|
|
5875
|
+
writer.writeFloat(
|
|
5876
|
+
27,
|
|
5877
|
+
f
|
|
5878
|
+
);
|
|
5879
|
+
}
|
|
5880
|
+
f = message.getDurationInterval45sRoundedMin();
|
|
5881
|
+
if (f !== 0.0) {
|
|
5882
|
+
writer.writeFloat(
|
|
5883
|
+
28,
|
|
5884
|
+
f
|
|
5885
|
+
);
|
|
5886
|
+
}
|
|
5887
|
+
f = message.getDurationInterval45sRoundedMax();
|
|
5888
|
+
if (f !== 0.0) {
|
|
5889
|
+
writer.writeFloat(
|
|
5890
|
+
29,
|
|
5891
|
+
f
|
|
5892
|
+
);
|
|
5893
|
+
}
|
|
5894
|
+
f = message.getStartedTimeSlotPerHourMin();
|
|
5895
|
+
if (f.length > 0) {
|
|
5896
|
+
writer.writeString(
|
|
5897
|
+
30,
|
|
5898
|
+
f
|
|
5899
|
+
);
|
|
5900
|
+
}
|
|
5901
|
+
f = message.getStartedTimeSlotPerHourMax();
|
|
5902
|
+
if (f.length > 0) {
|
|
5903
|
+
writer.writeString(
|
|
5904
|
+
31,
|
|
5905
|
+
f
|
|
5906
|
+
);
|
|
5907
|
+
}
|
|
5908
|
+
f = message.getStartedTimeSlotPerQuarterHourMin();
|
|
5909
|
+
if (f.length > 0) {
|
|
5910
|
+
writer.writeString(
|
|
5911
|
+
32,
|
|
5912
|
+
f
|
|
5913
|
+
);
|
|
5914
|
+
}
|
|
5915
|
+
f = message.getStartedTimeSlotPerQuarterHourMax();
|
|
5916
|
+
if (f.length > 0) {
|
|
5917
|
+
writer.writeString(
|
|
5918
|
+
33,
|
|
5919
|
+
f
|
|
5920
|
+
);
|
|
5921
|
+
}
|
|
5922
|
+
f = message.getStartedTimeSlotPerHalfHourMin();
|
|
5923
|
+
if (f.length > 0) {
|
|
5924
|
+
writer.writeString(
|
|
5925
|
+
34,
|
|
5926
|
+
f
|
|
5927
|
+
);
|
|
5928
|
+
}
|
|
5929
|
+
f = message.getStartedTimeSlotPerHalfHourMax();
|
|
5930
|
+
if (f.length > 0) {
|
|
5931
|
+
writer.writeString(
|
|
5932
|
+
35,
|
|
5933
|
+
f
|
|
5934
|
+
);
|
|
5935
|
+
}
|
|
5936
|
+
f = message.getStartedTimeSlotPerDayPhaseMin();
|
|
5937
|
+
if (f.length > 0) {
|
|
5938
|
+
writer.writeString(
|
|
5939
|
+
36,
|
|
5940
|
+
f
|
|
5941
|
+
);
|
|
5942
|
+
}
|
|
5943
|
+
f = message.getStartedTimeSlotPerDayPhaseMax();
|
|
5944
|
+
if (f.length > 0) {
|
|
5945
|
+
writer.writeString(
|
|
5946
|
+
37,
|
|
5947
|
+
f
|
|
5948
|
+
);
|
|
5949
|
+
}
|
|
5950
|
+
f = message.getStartedTimeSlotPerMinuteMin();
|
|
5951
|
+
if (f.length > 0) {
|
|
5952
|
+
writer.writeString(
|
|
5953
|
+
38,
|
|
5954
|
+
f
|
|
5955
|
+
);
|
|
5956
|
+
}
|
|
5957
|
+
f = message.getStartedTimeSlotPerMinuteMax();
|
|
5958
|
+
if (f.length > 0) {
|
|
5959
|
+
writer.writeString(
|
|
5960
|
+
39,
|
|
5961
|
+
f
|
|
5962
|
+
);
|
|
5963
|
+
}
|
|
5964
|
+
f = message.getDurationInSRoundedMin();
|
|
5965
|
+
if (f !== 0.0) {
|
|
5966
|
+
writer.writeFloat(
|
|
5967
|
+
40,
|
|
5968
|
+
f
|
|
5969
|
+
);
|
|
5970
|
+
}
|
|
5971
|
+
f = message.getDurationInSRoundedMax();
|
|
5972
|
+
if (f !== 0.0) {
|
|
5973
|
+
writer.writeFloat(
|
|
5974
|
+
41,
|
|
5975
|
+
f
|
|
5976
|
+
);
|
|
5977
|
+
}
|
|
5978
|
+
};
|
|
5979
|
+
|
|
5980
|
+
|
|
5981
|
+
/**
|
|
5982
|
+
* repeated string language_codes = 1;
|
|
5983
|
+
* @return {!Array<string>}
|
|
5984
|
+
*/
|
|
5985
|
+
proto.ondewo.nlu.SessionFilter.prototype.getLanguageCodesList = function() {
|
|
5986
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
|
|
5987
|
+
};
|
|
5988
|
+
|
|
5989
|
+
|
|
5990
|
+
/**
|
|
5991
|
+
* @param {!Array<string>} value
|
|
5992
|
+
* @return {!proto.ondewo.nlu.SessionFilter} returns this
|
|
5993
|
+
*/
|
|
5994
|
+
proto.ondewo.nlu.SessionFilter.prototype.setLanguageCodesList = function(value) {
|
|
5995
|
+
return jspb.Message.setField(this, 1, value || []);
|
|
5996
|
+
};
|
|
5997
|
+
|
|
5998
|
+
|
|
5999
|
+
/**
|
|
6000
|
+
* @param {string} value
|
|
6001
|
+
* @param {number=} opt_index
|
|
6002
|
+
* @return {!proto.ondewo.nlu.SessionFilter} returns this
|
|
6003
|
+
*/
|
|
6004
|
+
proto.ondewo.nlu.SessionFilter.prototype.addLanguageCodes = function(value, opt_index) {
|
|
6005
|
+
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
|
|
6006
|
+
};
|
|
6007
|
+
|
|
6008
|
+
|
|
6009
|
+
/**
|
|
6010
|
+
* Clears the list making it empty but non-null.
|
|
6011
|
+
* @return {!proto.ondewo.nlu.SessionFilter} returns this
|
|
6012
|
+
*/
|
|
6013
|
+
proto.ondewo.nlu.SessionFilter.prototype.clearLanguageCodesList = function() {
|
|
6014
|
+
return this.setLanguageCodesList([]);
|
|
6015
|
+
};
|
|
6016
|
+
|
|
6017
|
+
|
|
6018
|
+
/**
|
|
6019
|
+
* repeated Intent matched_intents = 2;
|
|
6020
|
+
* @return {!Array<!proto.ondewo.nlu.Intent>}
|
|
6021
|
+
*/
|
|
6022
|
+
proto.ondewo.nlu.SessionFilter.prototype.getMatchedIntentsList = function() {
|
|
6023
|
+
return /** @type{!Array<!proto.ondewo.nlu.Intent>} */ (
|
|
6024
|
+
jspb.Message.getRepeatedWrapperField(this, ondewo_nlu_intent_pb.Intent, 2));
|
|
6025
|
+
};
|
|
6026
|
+
|
|
6027
|
+
|
|
6028
|
+
/**
|
|
6029
|
+
* @param {!Array<!proto.ondewo.nlu.Intent>} value
|
|
6030
|
+
* @return {!proto.ondewo.nlu.SessionFilter} returns this
|
|
6031
|
+
*/
|
|
6032
|
+
proto.ondewo.nlu.SessionFilter.prototype.setMatchedIntentsList = function(value) {
|
|
6033
|
+
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
|
6034
|
+
};
|
|
6035
|
+
|
|
6036
|
+
|
|
6037
|
+
/**
|
|
6038
|
+
* @param {!proto.ondewo.nlu.Intent=} opt_value
|
|
6039
|
+
* @param {number=} opt_index
|
|
6040
|
+
* @return {!proto.ondewo.nlu.Intent}
|
|
6041
|
+
*/
|
|
6042
|
+
proto.ondewo.nlu.SessionFilter.prototype.addMatchedIntents = function(opt_value, opt_index) {
|
|
6043
|
+
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.ondewo.nlu.Intent, opt_index);
|
|
6044
|
+
};
|
|
6045
|
+
|
|
6046
|
+
|
|
6047
|
+
/**
|
|
6048
|
+
* Clears the list making it empty but non-null.
|
|
6049
|
+
* @return {!proto.ondewo.nlu.SessionFilter} returns this
|
|
6050
|
+
*/
|
|
6051
|
+
proto.ondewo.nlu.SessionFilter.prototype.clearMatchedIntentsList = function() {
|
|
6052
|
+
return this.setMatchedIntentsList([]);
|
|
6053
|
+
};
|
|
6054
|
+
|
|
6055
|
+
|
|
6056
|
+
/**
|
|
6057
|
+
* repeated EntityType matched_entity_types = 3;
|
|
6058
|
+
* @return {!Array<!proto.ondewo.nlu.EntityType>}
|
|
6059
|
+
*/
|
|
6060
|
+
proto.ondewo.nlu.SessionFilter.prototype.getMatchedEntityTypesList = function() {
|
|
6061
|
+
return /** @type{!Array<!proto.ondewo.nlu.EntityType>} */ (
|
|
6062
|
+
jspb.Message.getRepeatedWrapperField(this, ondewo_nlu_entity_type_pb.EntityType, 3));
|
|
6063
|
+
};
|
|
6064
|
+
|
|
6065
|
+
|
|
6066
|
+
/**
|
|
6067
|
+
* @param {!Array<!proto.ondewo.nlu.EntityType>} value
|
|
6068
|
+
* @return {!proto.ondewo.nlu.SessionFilter} returns this
|
|
6069
|
+
*/
|
|
6070
|
+
proto.ondewo.nlu.SessionFilter.prototype.setMatchedEntityTypesList = function(value) {
|
|
6071
|
+
return jspb.Message.setRepeatedWrapperField(this, 3, value);
|
|
6072
|
+
};
|
|
6073
|
+
|
|
6074
|
+
|
|
6075
|
+
/**
|
|
6076
|
+
* @param {!proto.ondewo.nlu.EntityType=} opt_value
|
|
6077
|
+
* @param {number=} opt_index
|
|
6078
|
+
* @return {!proto.ondewo.nlu.EntityType}
|
|
6079
|
+
*/
|
|
6080
|
+
proto.ondewo.nlu.SessionFilter.prototype.addMatchedEntityTypes = function(opt_value, opt_index) {
|
|
6081
|
+
return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.ondewo.nlu.EntityType, opt_index);
|
|
6082
|
+
};
|
|
6083
|
+
|
|
6084
|
+
|
|
6085
|
+
/**
|
|
6086
|
+
* Clears the list making it empty but non-null.
|
|
6087
|
+
* @return {!proto.ondewo.nlu.SessionFilter} returns this
|
|
6088
|
+
*/
|
|
6089
|
+
proto.ondewo.nlu.SessionFilter.prototype.clearMatchedEntityTypesList = function() {
|
|
6090
|
+
return this.setMatchedEntityTypesList([]);
|
|
6091
|
+
};
|
|
6092
|
+
|
|
6093
|
+
|
|
6094
|
+
/**
|
|
6095
|
+
* optional float min_intents_confidence_min = 4;
|
|
6096
|
+
* @return {number}
|
|
6097
|
+
*/
|
|
6098
|
+
proto.ondewo.nlu.SessionFilter.prototype.getMinIntentsConfidenceMin = function() {
|
|
6099
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 4, 0.0));
|
|
6100
|
+
};
|
|
6101
|
+
|
|
6102
|
+
|
|
6103
|
+
/**
|
|
6104
|
+
* @param {number} value
|
|
6105
|
+
* @return {!proto.ondewo.nlu.SessionFilter} returns this
|
|
6106
|
+
*/
|
|
6107
|
+
proto.ondewo.nlu.SessionFilter.prototype.setMinIntentsConfidenceMin = function(value) {
|
|
6108
|
+
return jspb.Message.setProto3FloatField(this, 4, value);
|
|
6109
|
+
};
|
|
6110
|
+
|
|
6111
|
+
|
|
6112
|
+
/**
|
|
6113
|
+
* optional float min_intents_confidence_max = 5;
|
|
6114
|
+
* @return {number}
|
|
6115
|
+
*/
|
|
6116
|
+
proto.ondewo.nlu.SessionFilter.prototype.getMinIntentsConfidenceMax = function() {
|
|
6117
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 5, 0.0));
|
|
6118
|
+
};
|
|
6119
|
+
|
|
6120
|
+
|
|
6121
|
+
/**
|
|
6122
|
+
* @param {number} value
|
|
6123
|
+
* @return {!proto.ondewo.nlu.SessionFilter} returns this
|
|
6124
|
+
*/
|
|
6125
|
+
proto.ondewo.nlu.SessionFilter.prototype.setMinIntentsConfidenceMax = function(value) {
|
|
6126
|
+
return jspb.Message.setProto3FloatField(this, 5, value);
|
|
6127
|
+
};
|
|
6128
|
+
|
|
6129
|
+
|
|
6130
|
+
/**
|
|
6131
|
+
* optional float min_entity_types_confidence_min = 6;
|
|
6132
|
+
* @return {number}
|
|
6133
|
+
*/
|
|
6134
|
+
proto.ondewo.nlu.SessionFilter.prototype.getMinEntityTypesConfidenceMin = function() {
|
|
6135
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 6, 0.0));
|
|
6136
|
+
};
|
|
6137
|
+
|
|
6138
|
+
|
|
6139
|
+
/**
|
|
6140
|
+
* @param {number} value
|
|
6141
|
+
* @return {!proto.ondewo.nlu.SessionFilter} returns this
|
|
6142
|
+
*/
|
|
6143
|
+
proto.ondewo.nlu.SessionFilter.prototype.setMinEntityTypesConfidenceMin = function(value) {
|
|
6144
|
+
return jspb.Message.setProto3FloatField(this, 6, value);
|
|
6145
|
+
};
|
|
6146
|
+
|
|
6147
|
+
|
|
6148
|
+
/**
|
|
6149
|
+
* optional float min_entity_types_confidence_max = 7;
|
|
6150
|
+
* @return {number}
|
|
6151
|
+
*/
|
|
6152
|
+
proto.ondewo.nlu.SessionFilter.prototype.getMinEntityTypesConfidenceMax = function() {
|
|
6153
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 7, 0.0));
|
|
6154
|
+
};
|
|
6155
|
+
|
|
6156
|
+
|
|
6157
|
+
/**
|
|
6158
|
+
* @param {number} value
|
|
6159
|
+
* @return {!proto.ondewo.nlu.SessionFilter} returns this
|
|
6160
|
+
*/
|
|
6161
|
+
proto.ondewo.nlu.SessionFilter.prototype.setMinEntityTypesConfidenceMax = function(value) {
|
|
6162
|
+
return jspb.Message.setProto3FloatField(this, 7, value);
|
|
6163
|
+
};
|
|
6164
|
+
|
|
6165
|
+
|
|
6166
|
+
/**
|
|
6167
|
+
* optional float earliest = 8;
|
|
6168
|
+
* @return {number}
|
|
6169
|
+
*/
|
|
6170
|
+
proto.ondewo.nlu.SessionFilter.prototype.getEarliest = function() {
|
|
6171
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 8, 0.0));
|
|
6172
|
+
};
|
|
6173
|
+
|
|
6174
|
+
|
|
6175
|
+
/**
|
|
6176
|
+
* @param {number} value
|
|
6177
|
+
* @return {!proto.ondewo.nlu.SessionFilter} returns this
|
|
6178
|
+
*/
|
|
6179
|
+
proto.ondewo.nlu.SessionFilter.prototype.setEarliest = function(value) {
|
|
6180
|
+
return jspb.Message.setProto3FloatField(this, 8, value);
|
|
6181
|
+
};
|
|
6182
|
+
|
|
6183
|
+
|
|
6184
|
+
/**
|
|
6185
|
+
* optional float latest = 9;
|
|
6186
|
+
* @return {number}
|
|
6187
|
+
*/
|
|
6188
|
+
proto.ondewo.nlu.SessionFilter.prototype.getLatest = function() {
|
|
6189
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 9, 0.0));
|
|
6190
|
+
};
|
|
6191
|
+
|
|
6192
|
+
|
|
6193
|
+
/**
|
|
6194
|
+
* @param {number} value
|
|
6195
|
+
* @return {!proto.ondewo.nlu.SessionFilter} returns this
|
|
6196
|
+
*/
|
|
6197
|
+
proto.ondewo.nlu.SessionFilter.prototype.setLatest = function(value) {
|
|
6198
|
+
return jspb.Message.setProto3FloatField(this, 9, value);
|
|
6199
|
+
};
|
|
6200
|
+
|
|
6201
|
+
|
|
6202
|
+
/**
|
|
6203
|
+
* optional int32 min_number_turns = 10;
|
|
6204
|
+
* @return {number}
|
|
6205
|
+
*/
|
|
6206
|
+
proto.ondewo.nlu.SessionFilter.prototype.getMinNumberTurns = function() {
|
|
6207
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 10, 0));
|
|
6208
|
+
};
|
|
6209
|
+
|
|
6210
|
+
|
|
6211
|
+
/**
|
|
6212
|
+
* @param {number} value
|
|
6213
|
+
* @return {!proto.ondewo.nlu.SessionFilter} returns this
|
|
6214
|
+
*/
|
|
6215
|
+
proto.ondewo.nlu.SessionFilter.prototype.setMinNumberTurns = function(value) {
|
|
6216
|
+
return jspb.Message.setProto3IntField(this, 10, value);
|
|
6217
|
+
};
|
|
6218
|
+
|
|
6219
|
+
|
|
6220
|
+
/**
|
|
6221
|
+
* optional int32 max_number_turns = 11;
|
|
6222
|
+
* @return {number}
|
|
6223
|
+
*/
|
|
6224
|
+
proto.ondewo.nlu.SessionFilter.prototype.getMaxNumberTurns = function() {
|
|
6225
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 11, 0));
|
|
6226
|
+
};
|
|
6227
|
+
|
|
6228
|
+
|
|
6229
|
+
/**
|
|
6230
|
+
* @param {number} value
|
|
6231
|
+
* @return {!proto.ondewo.nlu.SessionFilter} returns this
|
|
6232
|
+
*/
|
|
6233
|
+
proto.ondewo.nlu.SessionFilter.prototype.setMaxNumberTurns = function(value) {
|
|
6234
|
+
return jspb.Message.setProto3IntField(this, 11, value);
|
|
6235
|
+
};
|
|
6236
|
+
|
|
6237
|
+
|
|
6238
|
+
/**
|
|
6239
|
+
* repeated string labels = 12;
|
|
6240
|
+
* @return {!Array<string>}
|
|
6241
|
+
*/
|
|
6242
|
+
proto.ondewo.nlu.SessionFilter.prototype.getLabelsList = function() {
|
|
6243
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 12));
|
|
6244
|
+
};
|
|
6245
|
+
|
|
6246
|
+
|
|
6247
|
+
/**
|
|
6248
|
+
* @param {!Array<string>} value
|
|
6249
|
+
* @return {!proto.ondewo.nlu.SessionFilter} returns this
|
|
6250
|
+
*/
|
|
6251
|
+
proto.ondewo.nlu.SessionFilter.prototype.setLabelsList = function(value) {
|
|
6252
|
+
return jspb.Message.setField(this, 12, value || []);
|
|
6253
|
+
};
|
|
6254
|
+
|
|
6255
|
+
|
|
6256
|
+
/**
|
|
6257
|
+
* @param {string} value
|
|
6258
|
+
* @param {number=} opt_index
|
|
6259
|
+
* @return {!proto.ondewo.nlu.SessionFilter} returns this
|
|
6260
|
+
*/
|
|
6261
|
+
proto.ondewo.nlu.SessionFilter.prototype.addLabels = function(value, opt_index) {
|
|
6262
|
+
return jspb.Message.addToRepeatedField(this, 12, value, opt_index);
|
|
6263
|
+
};
|
|
6264
|
+
|
|
6265
|
+
|
|
6266
|
+
/**
|
|
6267
|
+
* Clears the list making it empty but non-null.
|
|
6268
|
+
* @return {!proto.ondewo.nlu.SessionFilter} returns this
|
|
6269
|
+
*/
|
|
6270
|
+
proto.ondewo.nlu.SessionFilter.prototype.clearLabelsList = function() {
|
|
6271
|
+
return this.setLabelsList([]);
|
|
6272
|
+
};
|
|
6273
|
+
|
|
6274
|
+
|
|
6275
|
+
/**
|
|
6276
|
+
* repeated string user_ids = 13;
|
|
6277
|
+
* @return {!Array<string>}
|
|
6278
|
+
*/
|
|
6279
|
+
proto.ondewo.nlu.SessionFilter.prototype.getUserIdsList = function() {
|
|
6280
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 13));
|
|
6281
|
+
};
|
|
6282
|
+
|
|
6283
|
+
|
|
6284
|
+
/**
|
|
6285
|
+
* @param {!Array<string>} value
|
|
6286
|
+
* @return {!proto.ondewo.nlu.SessionFilter} returns this
|
|
6287
|
+
*/
|
|
6288
|
+
proto.ondewo.nlu.SessionFilter.prototype.setUserIdsList = function(value) {
|
|
6289
|
+
return jspb.Message.setField(this, 13, value || []);
|
|
6290
|
+
};
|
|
6291
|
+
|
|
6292
|
+
|
|
6293
|
+
/**
|
|
6294
|
+
* @param {string} value
|
|
6295
|
+
* @param {number=} opt_index
|
|
6296
|
+
* @return {!proto.ondewo.nlu.SessionFilter} returns this
|
|
6297
|
+
*/
|
|
6298
|
+
proto.ondewo.nlu.SessionFilter.prototype.addUserIds = function(value, opt_index) {
|
|
6299
|
+
return jspb.Message.addToRepeatedField(this, 13, value, opt_index);
|
|
6300
|
+
};
|
|
6301
|
+
|
|
6302
|
+
|
|
6303
|
+
/**
|
|
6304
|
+
* Clears the list making it empty but non-null.
|
|
6305
|
+
* @return {!proto.ondewo.nlu.SessionFilter} returns this
|
|
6306
|
+
*/
|
|
6307
|
+
proto.ondewo.nlu.SessionFilter.prototype.clearUserIdsList = function() {
|
|
6308
|
+
return this.setUserIdsList([]);
|
|
6309
|
+
};
|
|
6310
|
+
|
|
6311
|
+
|
|
6312
|
+
/**
|
|
6313
|
+
* repeated string intent_tags = 14;
|
|
6314
|
+
* @return {!Array<string>}
|
|
6315
|
+
*/
|
|
6316
|
+
proto.ondewo.nlu.SessionFilter.prototype.getIntentTagsList = function() {
|
|
6317
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 14));
|
|
6318
|
+
};
|
|
6319
|
+
|
|
6320
|
+
|
|
6321
|
+
/**
|
|
6322
|
+
* @param {!Array<string>} value
|
|
6323
|
+
* @return {!proto.ondewo.nlu.SessionFilter} returns this
|
|
6324
|
+
*/
|
|
6325
|
+
proto.ondewo.nlu.SessionFilter.prototype.setIntentTagsList = function(value) {
|
|
6326
|
+
return jspb.Message.setField(this, 14, value || []);
|
|
6327
|
+
};
|
|
6328
|
+
|
|
6329
|
+
|
|
6330
|
+
/**
|
|
6331
|
+
* @param {string} value
|
|
6332
|
+
* @param {number=} opt_index
|
|
6333
|
+
* @return {!proto.ondewo.nlu.SessionFilter} returns this
|
|
6334
|
+
*/
|
|
6335
|
+
proto.ondewo.nlu.SessionFilter.prototype.addIntentTags = function(value, opt_index) {
|
|
6336
|
+
return jspb.Message.addToRepeatedField(this, 14, value, opt_index);
|
|
6337
|
+
};
|
|
6338
|
+
|
|
6339
|
+
|
|
6340
|
+
/**
|
|
6341
|
+
* Clears the list making it empty but non-null.
|
|
6342
|
+
* @return {!proto.ondewo.nlu.SessionFilter} returns this
|
|
6343
|
+
*/
|
|
6344
|
+
proto.ondewo.nlu.SessionFilter.prototype.clearIntentTagsList = function() {
|
|
6345
|
+
return this.setIntentTagsList([]);
|
|
6346
|
+
};
|
|
6347
|
+
|
|
6348
|
+
|
|
6349
|
+
/**
|
|
6350
|
+
* repeated string session_ids = 15;
|
|
6351
|
+
* @return {!Array<string>}
|
|
6352
|
+
*/
|
|
6353
|
+
proto.ondewo.nlu.SessionFilter.prototype.getSessionIdsList = function() {
|
|
6354
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 15));
|
|
6355
|
+
};
|
|
6356
|
+
|
|
6357
|
+
|
|
6358
|
+
/**
|
|
6359
|
+
* @param {!Array<string>} value
|
|
6360
|
+
* @return {!proto.ondewo.nlu.SessionFilter} returns this
|
|
6361
|
+
*/
|
|
6362
|
+
proto.ondewo.nlu.SessionFilter.prototype.setSessionIdsList = function(value) {
|
|
6363
|
+
return jspb.Message.setField(this, 15, value || []);
|
|
6364
|
+
};
|
|
6365
|
+
|
|
6366
|
+
|
|
6367
|
+
/**
|
|
6368
|
+
* @param {string} value
|
|
6369
|
+
* @param {number=} opt_index
|
|
6370
|
+
* @return {!proto.ondewo.nlu.SessionFilter} returns this
|
|
6371
|
+
*/
|
|
6372
|
+
proto.ondewo.nlu.SessionFilter.prototype.addSessionIds = function(value, opt_index) {
|
|
6373
|
+
return jspb.Message.addToRepeatedField(this, 15, value, opt_index);
|
|
6374
|
+
};
|
|
6375
|
+
|
|
6376
|
+
|
|
6377
|
+
/**
|
|
6378
|
+
* Clears the list making it empty but non-null.
|
|
6379
|
+
* @return {!proto.ondewo.nlu.SessionFilter} returns this
|
|
6380
|
+
*/
|
|
6381
|
+
proto.ondewo.nlu.SessionFilter.prototype.clearSessionIdsList = function() {
|
|
6382
|
+
return this.setSessionIdsList([]);
|
|
6383
|
+
};
|
|
6384
|
+
|
|
6385
|
+
|
|
6386
|
+
/**
|
|
6387
|
+
* repeated Context input_contexts = 16;
|
|
6388
|
+
* @return {!Array<!proto.ondewo.nlu.Context>}
|
|
6389
|
+
*/
|
|
6390
|
+
proto.ondewo.nlu.SessionFilter.prototype.getInputContextsList = function() {
|
|
6391
|
+
return /** @type{!Array<!proto.ondewo.nlu.Context>} */ (
|
|
6392
|
+
jspb.Message.getRepeatedWrapperField(this, ondewo_nlu_context_pb.Context, 16));
|
|
6393
|
+
};
|
|
6394
|
+
|
|
6395
|
+
|
|
6396
|
+
/**
|
|
6397
|
+
* @param {!Array<!proto.ondewo.nlu.Context>} value
|
|
6398
|
+
* @return {!proto.ondewo.nlu.SessionFilter} returns this
|
|
6399
|
+
*/
|
|
6400
|
+
proto.ondewo.nlu.SessionFilter.prototype.setInputContextsList = function(value) {
|
|
6401
|
+
return jspb.Message.setRepeatedWrapperField(this, 16, value);
|
|
6402
|
+
};
|
|
6403
|
+
|
|
6404
|
+
|
|
6405
|
+
/**
|
|
6406
|
+
* @param {!proto.ondewo.nlu.Context=} opt_value
|
|
6407
|
+
* @param {number=} opt_index
|
|
6408
|
+
* @return {!proto.ondewo.nlu.Context}
|
|
6409
|
+
*/
|
|
6410
|
+
proto.ondewo.nlu.SessionFilter.prototype.addInputContexts = function(opt_value, opt_index) {
|
|
6411
|
+
return jspb.Message.addToRepeatedWrapperField(this, 16, opt_value, proto.ondewo.nlu.Context, opt_index);
|
|
6412
|
+
};
|
|
6413
|
+
|
|
6414
|
+
|
|
6415
|
+
/**
|
|
6416
|
+
* Clears the list making it empty but non-null.
|
|
6417
|
+
* @return {!proto.ondewo.nlu.SessionFilter} returns this
|
|
6418
|
+
*/
|
|
6419
|
+
proto.ondewo.nlu.SessionFilter.prototype.clearInputContextsList = function() {
|
|
6420
|
+
return this.setInputContextsList([]);
|
|
6421
|
+
};
|
|
6422
|
+
|
|
6423
|
+
|
|
6424
|
+
/**
|
|
6425
|
+
* repeated Context output_contexts = 17;
|
|
6426
|
+
* @return {!Array<!proto.ondewo.nlu.Context>}
|
|
6427
|
+
*/
|
|
6428
|
+
proto.ondewo.nlu.SessionFilter.prototype.getOutputContextsList = function() {
|
|
6429
|
+
return /** @type{!Array<!proto.ondewo.nlu.Context>} */ (
|
|
6430
|
+
jspb.Message.getRepeatedWrapperField(this, ondewo_nlu_context_pb.Context, 17));
|
|
6431
|
+
};
|
|
6432
|
+
|
|
6433
|
+
|
|
6434
|
+
/**
|
|
6435
|
+
* @param {!Array<!proto.ondewo.nlu.Context>} value
|
|
6436
|
+
* @return {!proto.ondewo.nlu.SessionFilter} returns this
|
|
6437
|
+
*/
|
|
6438
|
+
proto.ondewo.nlu.SessionFilter.prototype.setOutputContextsList = function(value) {
|
|
6439
|
+
return jspb.Message.setRepeatedWrapperField(this, 17, value);
|
|
6440
|
+
};
|
|
6441
|
+
|
|
6442
|
+
|
|
6443
|
+
/**
|
|
6444
|
+
* @param {!proto.ondewo.nlu.Context=} opt_value
|
|
6445
|
+
* @param {number=} opt_index
|
|
6446
|
+
* @return {!proto.ondewo.nlu.Context}
|
|
6447
|
+
*/
|
|
6448
|
+
proto.ondewo.nlu.SessionFilter.prototype.addOutputContexts = function(opt_value, opt_index) {
|
|
6449
|
+
return jspb.Message.addToRepeatedWrapperField(this, 17, opt_value, proto.ondewo.nlu.Context, opt_index);
|
|
6450
|
+
};
|
|
6451
|
+
|
|
6452
|
+
|
|
6453
|
+
/**
|
|
6454
|
+
* Clears the list making it empty but non-null.
|
|
6455
|
+
* @return {!proto.ondewo.nlu.SessionFilter} returns this
|
|
6456
|
+
*/
|
|
6457
|
+
proto.ondewo.nlu.SessionFilter.prototype.clearOutputContextsList = function() {
|
|
6458
|
+
return this.setOutputContextsList([]);
|
|
6459
|
+
};
|
|
6460
|
+
|
|
6461
|
+
|
|
6462
|
+
/**
|
|
6463
|
+
* optional float duration_in_s_min = 18;
|
|
6464
|
+
* @return {number}
|
|
6465
|
+
*/
|
|
6466
|
+
proto.ondewo.nlu.SessionFilter.prototype.getDurationInSMin = function() {
|
|
6467
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 18, 0.0));
|
|
6468
|
+
};
|
|
6469
|
+
|
|
6470
|
+
|
|
6471
|
+
/**
|
|
6472
|
+
* @param {number} value
|
|
6473
|
+
* @return {!proto.ondewo.nlu.SessionFilter} returns this
|
|
6474
|
+
*/
|
|
6475
|
+
proto.ondewo.nlu.SessionFilter.prototype.setDurationInSMin = function(value) {
|
|
6476
|
+
return jspb.Message.setProto3FloatField(this, 18, value);
|
|
6477
|
+
};
|
|
6478
|
+
|
|
6479
|
+
|
|
6480
|
+
/**
|
|
6481
|
+
* optional float duration_in_s_max = 19;
|
|
6482
|
+
* @return {number}
|
|
6483
|
+
*/
|
|
6484
|
+
proto.ondewo.nlu.SessionFilter.prototype.getDurationInSMax = function() {
|
|
6485
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 19, 0.0));
|
|
6486
|
+
};
|
|
6487
|
+
|
|
6488
|
+
|
|
6489
|
+
/**
|
|
6490
|
+
* @param {number} value
|
|
6491
|
+
* @return {!proto.ondewo.nlu.SessionFilter} returns this
|
|
6492
|
+
*/
|
|
6493
|
+
proto.ondewo.nlu.SessionFilter.prototype.setDurationInSMax = function(value) {
|
|
6494
|
+
return jspb.Message.setProto3FloatField(this, 19, value);
|
|
6495
|
+
};
|
|
6496
|
+
|
|
6497
|
+
|
|
6498
|
+
/**
|
|
6499
|
+
* optional float duration_in_m_min = 20;
|
|
6500
|
+
* @return {number}
|
|
6501
|
+
*/
|
|
6502
|
+
proto.ondewo.nlu.SessionFilter.prototype.getDurationInMMin = function() {
|
|
6503
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 20, 0.0));
|
|
6504
|
+
};
|
|
6505
|
+
|
|
6506
|
+
|
|
6507
|
+
/**
|
|
6508
|
+
* @param {number} value
|
|
6509
|
+
* @return {!proto.ondewo.nlu.SessionFilter} returns this
|
|
6510
|
+
*/
|
|
6511
|
+
proto.ondewo.nlu.SessionFilter.prototype.setDurationInMMin = function(value) {
|
|
6512
|
+
return jspb.Message.setProto3FloatField(this, 20, value);
|
|
6513
|
+
};
|
|
6514
|
+
|
|
6515
|
+
|
|
6516
|
+
/**
|
|
6517
|
+
* optional float duration_in_m_max = 21;
|
|
6518
|
+
* @return {number}
|
|
6519
|
+
*/
|
|
6520
|
+
proto.ondewo.nlu.SessionFilter.prototype.getDurationInMMax = function() {
|
|
6521
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 21, 0.0));
|
|
6522
|
+
};
|
|
6523
|
+
|
|
6524
|
+
|
|
6525
|
+
/**
|
|
6526
|
+
* @param {number} value
|
|
5402
6527
|
* @return {!proto.ondewo.nlu.SessionFilter} returns this
|
|
5403
6528
|
*/
|
|
5404
|
-
proto.ondewo.nlu.SessionFilter.prototype.
|
|
5405
|
-
return
|
|
6529
|
+
proto.ondewo.nlu.SessionFilter.prototype.setDurationInMMax = function(value) {
|
|
6530
|
+
return jspb.Message.setProto3FloatField(this, 21, value);
|
|
5406
6531
|
};
|
|
5407
6532
|
|
|
5408
6533
|
|
|
5409
6534
|
/**
|
|
5410
|
-
* optional float
|
|
6535
|
+
* optional float duration_in_m_rounded_min = 22;
|
|
5411
6536
|
* @return {number}
|
|
5412
6537
|
*/
|
|
5413
|
-
proto.ondewo.nlu.SessionFilter.prototype.
|
|
5414
|
-
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this,
|
|
6538
|
+
proto.ondewo.nlu.SessionFilter.prototype.getDurationInMRoundedMin = function() {
|
|
6539
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 22, 0.0));
|
|
5415
6540
|
};
|
|
5416
6541
|
|
|
5417
6542
|
|
|
@@ -5419,17 +6544,17 @@ proto.ondewo.nlu.SessionFilter.prototype.getMinIntentsConfidenceMin = function()
|
|
|
5419
6544
|
* @param {number} value
|
|
5420
6545
|
* @return {!proto.ondewo.nlu.SessionFilter} returns this
|
|
5421
6546
|
*/
|
|
5422
|
-
proto.ondewo.nlu.SessionFilter.prototype.
|
|
5423
|
-
return jspb.Message.setProto3FloatField(this,
|
|
6547
|
+
proto.ondewo.nlu.SessionFilter.prototype.setDurationInMRoundedMin = function(value) {
|
|
6548
|
+
return jspb.Message.setProto3FloatField(this, 22, value);
|
|
5424
6549
|
};
|
|
5425
6550
|
|
|
5426
6551
|
|
|
5427
6552
|
/**
|
|
5428
|
-
* optional float
|
|
6553
|
+
* optional float duration_in_m_rounded_max = 23;
|
|
5429
6554
|
* @return {number}
|
|
5430
6555
|
*/
|
|
5431
|
-
proto.ondewo.nlu.SessionFilter.prototype.
|
|
5432
|
-
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this,
|
|
6556
|
+
proto.ondewo.nlu.SessionFilter.prototype.getDurationInMRoundedMax = function() {
|
|
6557
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 23, 0.0));
|
|
5433
6558
|
};
|
|
5434
6559
|
|
|
5435
6560
|
|
|
@@ -5437,17 +6562,17 @@ proto.ondewo.nlu.SessionFilter.prototype.getMinIntentsConfidenceMax = function()
|
|
|
5437
6562
|
* @param {number} value
|
|
5438
6563
|
* @return {!proto.ondewo.nlu.SessionFilter} returns this
|
|
5439
6564
|
*/
|
|
5440
|
-
proto.ondewo.nlu.SessionFilter.prototype.
|
|
5441
|
-
return jspb.Message.setProto3FloatField(this,
|
|
6565
|
+
proto.ondewo.nlu.SessionFilter.prototype.setDurationInMRoundedMax = function(value) {
|
|
6566
|
+
return jspb.Message.setProto3FloatField(this, 23, value);
|
|
5442
6567
|
};
|
|
5443
6568
|
|
|
5444
6569
|
|
|
5445
6570
|
/**
|
|
5446
|
-
* optional float
|
|
6571
|
+
* optional float duration_interval_15s_rounded_min = 24;
|
|
5447
6572
|
* @return {number}
|
|
5448
6573
|
*/
|
|
5449
|
-
proto.ondewo.nlu.SessionFilter.prototype.
|
|
5450
|
-
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this,
|
|
6574
|
+
proto.ondewo.nlu.SessionFilter.prototype.getDurationInterval15sRoundedMin = function() {
|
|
6575
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 24, 0.0));
|
|
5451
6576
|
};
|
|
5452
6577
|
|
|
5453
6578
|
|
|
@@ -5455,17 +6580,17 @@ proto.ondewo.nlu.SessionFilter.prototype.getMinEntityTypesConfidenceMin = functi
|
|
|
5455
6580
|
* @param {number} value
|
|
5456
6581
|
* @return {!proto.ondewo.nlu.SessionFilter} returns this
|
|
5457
6582
|
*/
|
|
5458
|
-
proto.ondewo.nlu.SessionFilter.prototype.
|
|
5459
|
-
return jspb.Message.setProto3FloatField(this,
|
|
6583
|
+
proto.ondewo.nlu.SessionFilter.prototype.setDurationInterval15sRoundedMin = function(value) {
|
|
6584
|
+
return jspb.Message.setProto3FloatField(this, 24, value);
|
|
5460
6585
|
};
|
|
5461
6586
|
|
|
5462
6587
|
|
|
5463
6588
|
/**
|
|
5464
|
-
* optional float
|
|
6589
|
+
* optional float duration_interval_15s_rounded_max = 25;
|
|
5465
6590
|
* @return {number}
|
|
5466
6591
|
*/
|
|
5467
|
-
proto.ondewo.nlu.SessionFilter.prototype.
|
|
5468
|
-
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this,
|
|
6592
|
+
proto.ondewo.nlu.SessionFilter.prototype.getDurationInterval15sRoundedMax = function() {
|
|
6593
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 25, 0.0));
|
|
5469
6594
|
};
|
|
5470
6595
|
|
|
5471
6596
|
|
|
@@ -5473,17 +6598,17 @@ proto.ondewo.nlu.SessionFilter.prototype.getMinEntityTypesConfidenceMax = functi
|
|
|
5473
6598
|
* @param {number} value
|
|
5474
6599
|
* @return {!proto.ondewo.nlu.SessionFilter} returns this
|
|
5475
6600
|
*/
|
|
5476
|
-
proto.ondewo.nlu.SessionFilter.prototype.
|
|
5477
|
-
return jspb.Message.setProto3FloatField(this,
|
|
6601
|
+
proto.ondewo.nlu.SessionFilter.prototype.setDurationInterval15sRoundedMax = function(value) {
|
|
6602
|
+
return jspb.Message.setProto3FloatField(this, 25, value);
|
|
5478
6603
|
};
|
|
5479
6604
|
|
|
5480
6605
|
|
|
5481
6606
|
/**
|
|
5482
|
-
* optional float
|
|
6607
|
+
* optional float duration_interval_30s_rounded_min = 26;
|
|
5483
6608
|
* @return {number}
|
|
5484
6609
|
*/
|
|
5485
|
-
proto.ondewo.nlu.SessionFilter.prototype.
|
|
5486
|
-
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this,
|
|
6610
|
+
proto.ondewo.nlu.SessionFilter.prototype.getDurationInterval30sRoundedMin = function() {
|
|
6611
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 26, 0.0));
|
|
5487
6612
|
};
|
|
5488
6613
|
|
|
5489
6614
|
|
|
@@ -5491,17 +6616,17 @@ proto.ondewo.nlu.SessionFilter.prototype.getEarliest = function() {
|
|
|
5491
6616
|
* @param {number} value
|
|
5492
6617
|
* @return {!proto.ondewo.nlu.SessionFilter} returns this
|
|
5493
6618
|
*/
|
|
5494
|
-
proto.ondewo.nlu.SessionFilter.prototype.
|
|
5495
|
-
return jspb.Message.setProto3FloatField(this,
|
|
6619
|
+
proto.ondewo.nlu.SessionFilter.prototype.setDurationInterval30sRoundedMin = function(value) {
|
|
6620
|
+
return jspb.Message.setProto3FloatField(this, 26, value);
|
|
5496
6621
|
};
|
|
5497
6622
|
|
|
5498
6623
|
|
|
5499
6624
|
/**
|
|
5500
|
-
* optional float
|
|
6625
|
+
* optional float duration_interval_30s_rounded_max = 27;
|
|
5501
6626
|
* @return {number}
|
|
5502
6627
|
*/
|
|
5503
|
-
proto.ondewo.nlu.SessionFilter.prototype.
|
|
5504
|
-
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this,
|
|
6628
|
+
proto.ondewo.nlu.SessionFilter.prototype.getDurationInterval30sRoundedMax = function() {
|
|
6629
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 27, 0.0));
|
|
5505
6630
|
};
|
|
5506
6631
|
|
|
5507
6632
|
|
|
@@ -5509,17 +6634,17 @@ proto.ondewo.nlu.SessionFilter.prototype.getLatest = function() {
|
|
|
5509
6634
|
* @param {number} value
|
|
5510
6635
|
* @return {!proto.ondewo.nlu.SessionFilter} returns this
|
|
5511
6636
|
*/
|
|
5512
|
-
proto.ondewo.nlu.SessionFilter.prototype.
|
|
5513
|
-
return jspb.Message.setProto3FloatField(this,
|
|
6637
|
+
proto.ondewo.nlu.SessionFilter.prototype.setDurationInterval30sRoundedMax = function(value) {
|
|
6638
|
+
return jspb.Message.setProto3FloatField(this, 27, value);
|
|
5514
6639
|
};
|
|
5515
6640
|
|
|
5516
6641
|
|
|
5517
6642
|
/**
|
|
5518
|
-
* optional
|
|
6643
|
+
* optional float duration_interval_45s_rounded_min = 28;
|
|
5519
6644
|
* @return {number}
|
|
5520
6645
|
*/
|
|
5521
|
-
proto.ondewo.nlu.SessionFilter.prototype.
|
|
5522
|
-
return /** @type {number} */ (jspb.Message.
|
|
6646
|
+
proto.ondewo.nlu.SessionFilter.prototype.getDurationInterval45sRoundedMin = function() {
|
|
6647
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 28, 0.0));
|
|
5523
6648
|
};
|
|
5524
6649
|
|
|
5525
6650
|
|
|
@@ -5527,17 +6652,17 @@ proto.ondewo.nlu.SessionFilter.prototype.getMinNumberTurns = function() {
|
|
|
5527
6652
|
* @param {number} value
|
|
5528
6653
|
* @return {!proto.ondewo.nlu.SessionFilter} returns this
|
|
5529
6654
|
*/
|
|
5530
|
-
proto.ondewo.nlu.SessionFilter.prototype.
|
|
5531
|
-
return jspb.Message.
|
|
6655
|
+
proto.ondewo.nlu.SessionFilter.prototype.setDurationInterval45sRoundedMin = function(value) {
|
|
6656
|
+
return jspb.Message.setProto3FloatField(this, 28, value);
|
|
5532
6657
|
};
|
|
5533
6658
|
|
|
5534
6659
|
|
|
5535
6660
|
/**
|
|
5536
|
-
* optional
|
|
6661
|
+
* optional float duration_interval_45s_rounded_max = 29;
|
|
5537
6662
|
* @return {number}
|
|
5538
6663
|
*/
|
|
5539
|
-
proto.ondewo.nlu.SessionFilter.prototype.
|
|
5540
|
-
return /** @type {number} */ (jspb.Message.
|
|
6664
|
+
proto.ondewo.nlu.SessionFilter.prototype.getDurationInterval45sRoundedMax = function() {
|
|
6665
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 29, 0.0));
|
|
5541
6666
|
};
|
|
5542
6667
|
|
|
5543
6668
|
|
|
@@ -5545,232 +6670,224 @@ proto.ondewo.nlu.SessionFilter.prototype.getMaxNumberTurns = function() {
|
|
|
5545
6670
|
* @param {number} value
|
|
5546
6671
|
* @return {!proto.ondewo.nlu.SessionFilter} returns this
|
|
5547
6672
|
*/
|
|
5548
|
-
proto.ondewo.nlu.SessionFilter.prototype.
|
|
5549
|
-
return jspb.Message.
|
|
6673
|
+
proto.ondewo.nlu.SessionFilter.prototype.setDurationInterval45sRoundedMax = function(value) {
|
|
6674
|
+
return jspb.Message.setProto3FloatField(this, 29, value);
|
|
5550
6675
|
};
|
|
5551
6676
|
|
|
5552
6677
|
|
|
5553
6678
|
/**
|
|
5554
|
-
*
|
|
5555
|
-
* @return {
|
|
6679
|
+
* optional string started_time_slot_per_hour_min = 30;
|
|
6680
|
+
* @return {string}
|
|
5556
6681
|
*/
|
|
5557
|
-
proto.ondewo.nlu.SessionFilter.prototype.
|
|
5558
|
-
return /** @type {
|
|
6682
|
+
proto.ondewo.nlu.SessionFilter.prototype.getStartedTimeSlotPerHourMin = function() {
|
|
6683
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 30, ""));
|
|
5559
6684
|
};
|
|
5560
6685
|
|
|
5561
6686
|
|
|
5562
6687
|
/**
|
|
5563
|
-
* @param {
|
|
6688
|
+
* @param {string} value
|
|
5564
6689
|
* @return {!proto.ondewo.nlu.SessionFilter} returns this
|
|
5565
6690
|
*/
|
|
5566
|
-
proto.ondewo.nlu.SessionFilter.prototype.
|
|
5567
|
-
return jspb.Message.
|
|
6691
|
+
proto.ondewo.nlu.SessionFilter.prototype.setStartedTimeSlotPerHourMin = function(value) {
|
|
6692
|
+
return jspb.Message.setProto3StringField(this, 30, value);
|
|
5568
6693
|
};
|
|
5569
6694
|
|
|
5570
6695
|
|
|
5571
6696
|
/**
|
|
5572
|
-
*
|
|
5573
|
-
* @
|
|
5574
|
-
* @return {!proto.ondewo.nlu.SessionFilter} returns this
|
|
6697
|
+
* optional string started_time_slot_per_hour_max = 31;
|
|
6698
|
+
* @return {string}
|
|
5575
6699
|
*/
|
|
5576
|
-
proto.ondewo.nlu.SessionFilter.prototype.
|
|
5577
|
-
return jspb.Message.
|
|
6700
|
+
proto.ondewo.nlu.SessionFilter.prototype.getStartedTimeSlotPerHourMax = function() {
|
|
6701
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 31, ""));
|
|
5578
6702
|
};
|
|
5579
6703
|
|
|
5580
6704
|
|
|
5581
6705
|
/**
|
|
5582
|
-
*
|
|
6706
|
+
* @param {string} value
|
|
5583
6707
|
* @return {!proto.ondewo.nlu.SessionFilter} returns this
|
|
5584
6708
|
*/
|
|
5585
|
-
proto.ondewo.nlu.SessionFilter.prototype.
|
|
5586
|
-
return
|
|
6709
|
+
proto.ondewo.nlu.SessionFilter.prototype.setStartedTimeSlotPerHourMax = function(value) {
|
|
6710
|
+
return jspb.Message.setProto3StringField(this, 31, value);
|
|
5587
6711
|
};
|
|
5588
6712
|
|
|
5589
6713
|
|
|
5590
6714
|
/**
|
|
5591
|
-
*
|
|
5592
|
-
* @return {
|
|
6715
|
+
* optional string started_time_slot_per_quarter_hour_min = 32;
|
|
6716
|
+
* @return {string}
|
|
5593
6717
|
*/
|
|
5594
|
-
proto.ondewo.nlu.SessionFilter.prototype.
|
|
5595
|
-
return /** @type {
|
|
6718
|
+
proto.ondewo.nlu.SessionFilter.prototype.getStartedTimeSlotPerQuarterHourMin = function() {
|
|
6719
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 32, ""));
|
|
5596
6720
|
};
|
|
5597
6721
|
|
|
5598
6722
|
|
|
5599
6723
|
/**
|
|
5600
|
-
* @param {
|
|
6724
|
+
* @param {string} value
|
|
5601
6725
|
* @return {!proto.ondewo.nlu.SessionFilter} returns this
|
|
5602
6726
|
*/
|
|
5603
|
-
proto.ondewo.nlu.SessionFilter.prototype.
|
|
5604
|
-
return jspb.Message.
|
|
6727
|
+
proto.ondewo.nlu.SessionFilter.prototype.setStartedTimeSlotPerQuarterHourMin = function(value) {
|
|
6728
|
+
return jspb.Message.setProto3StringField(this, 32, value);
|
|
5605
6729
|
};
|
|
5606
6730
|
|
|
5607
6731
|
|
|
5608
6732
|
/**
|
|
5609
|
-
*
|
|
5610
|
-
* @
|
|
5611
|
-
* @return {!proto.ondewo.nlu.SessionFilter} returns this
|
|
6733
|
+
* optional string started_time_slot_per_quarter_hour_max = 33;
|
|
6734
|
+
* @return {string}
|
|
5612
6735
|
*/
|
|
5613
|
-
proto.ondewo.nlu.SessionFilter.prototype.
|
|
5614
|
-
return jspb.Message.
|
|
6736
|
+
proto.ondewo.nlu.SessionFilter.prototype.getStartedTimeSlotPerQuarterHourMax = function() {
|
|
6737
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 33, ""));
|
|
5615
6738
|
};
|
|
5616
6739
|
|
|
5617
6740
|
|
|
5618
6741
|
/**
|
|
5619
|
-
*
|
|
6742
|
+
* @param {string} value
|
|
5620
6743
|
* @return {!proto.ondewo.nlu.SessionFilter} returns this
|
|
5621
6744
|
*/
|
|
5622
|
-
proto.ondewo.nlu.SessionFilter.prototype.
|
|
5623
|
-
return
|
|
6745
|
+
proto.ondewo.nlu.SessionFilter.prototype.setStartedTimeSlotPerQuarterHourMax = function(value) {
|
|
6746
|
+
return jspb.Message.setProto3StringField(this, 33, value);
|
|
5624
6747
|
};
|
|
5625
6748
|
|
|
5626
6749
|
|
|
5627
6750
|
/**
|
|
5628
|
-
*
|
|
5629
|
-
* @return {
|
|
6751
|
+
* optional string started_time_slot_per_half_hour_min = 34;
|
|
6752
|
+
* @return {string}
|
|
5630
6753
|
*/
|
|
5631
|
-
proto.ondewo.nlu.SessionFilter.prototype.
|
|
5632
|
-
return /** @type {
|
|
6754
|
+
proto.ondewo.nlu.SessionFilter.prototype.getStartedTimeSlotPerHalfHourMin = function() {
|
|
6755
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 34, ""));
|
|
5633
6756
|
};
|
|
5634
6757
|
|
|
5635
6758
|
|
|
5636
6759
|
/**
|
|
5637
|
-
* @param {
|
|
6760
|
+
* @param {string} value
|
|
5638
6761
|
* @return {!proto.ondewo.nlu.SessionFilter} returns this
|
|
5639
6762
|
*/
|
|
5640
|
-
proto.ondewo.nlu.SessionFilter.prototype.
|
|
5641
|
-
return jspb.Message.
|
|
6763
|
+
proto.ondewo.nlu.SessionFilter.prototype.setStartedTimeSlotPerHalfHourMin = function(value) {
|
|
6764
|
+
return jspb.Message.setProto3StringField(this, 34, value);
|
|
5642
6765
|
};
|
|
5643
6766
|
|
|
5644
6767
|
|
|
5645
6768
|
/**
|
|
5646
|
-
*
|
|
5647
|
-
* @
|
|
5648
|
-
* @return {!proto.ondewo.nlu.SessionFilter} returns this
|
|
6769
|
+
* optional string started_time_slot_per_half_hour_max = 35;
|
|
6770
|
+
* @return {string}
|
|
5649
6771
|
*/
|
|
5650
|
-
proto.ondewo.nlu.SessionFilter.prototype.
|
|
5651
|
-
return jspb.Message.
|
|
6772
|
+
proto.ondewo.nlu.SessionFilter.prototype.getStartedTimeSlotPerHalfHourMax = function() {
|
|
6773
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 35, ""));
|
|
5652
6774
|
};
|
|
5653
6775
|
|
|
5654
6776
|
|
|
5655
6777
|
/**
|
|
5656
|
-
*
|
|
6778
|
+
* @param {string} value
|
|
5657
6779
|
* @return {!proto.ondewo.nlu.SessionFilter} returns this
|
|
5658
6780
|
*/
|
|
5659
|
-
proto.ondewo.nlu.SessionFilter.prototype.
|
|
5660
|
-
return
|
|
6781
|
+
proto.ondewo.nlu.SessionFilter.prototype.setStartedTimeSlotPerHalfHourMax = function(value) {
|
|
6782
|
+
return jspb.Message.setProto3StringField(this, 35, value);
|
|
5661
6783
|
};
|
|
5662
6784
|
|
|
5663
6785
|
|
|
5664
6786
|
/**
|
|
5665
|
-
*
|
|
5666
|
-
* @return {
|
|
6787
|
+
* optional string started_time_slot_per_day_phase_min = 36;
|
|
6788
|
+
* @return {string}
|
|
5667
6789
|
*/
|
|
5668
|
-
proto.ondewo.nlu.SessionFilter.prototype.
|
|
5669
|
-
return /** @type {
|
|
6790
|
+
proto.ondewo.nlu.SessionFilter.prototype.getStartedTimeSlotPerDayPhaseMin = function() {
|
|
6791
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 36, ""));
|
|
5670
6792
|
};
|
|
5671
6793
|
|
|
5672
6794
|
|
|
5673
6795
|
/**
|
|
5674
|
-
* @param {
|
|
6796
|
+
* @param {string} value
|
|
5675
6797
|
* @return {!proto.ondewo.nlu.SessionFilter} returns this
|
|
5676
6798
|
*/
|
|
5677
|
-
proto.ondewo.nlu.SessionFilter.prototype.
|
|
5678
|
-
return jspb.Message.
|
|
6799
|
+
proto.ondewo.nlu.SessionFilter.prototype.setStartedTimeSlotPerDayPhaseMin = function(value) {
|
|
6800
|
+
return jspb.Message.setProto3StringField(this, 36, value);
|
|
5679
6801
|
};
|
|
5680
6802
|
|
|
5681
6803
|
|
|
5682
6804
|
/**
|
|
5683
|
-
*
|
|
5684
|
-
* @
|
|
5685
|
-
* @return {!proto.ondewo.nlu.SessionFilter} returns this
|
|
6805
|
+
* optional string started_time_slot_per_day_phase_max = 37;
|
|
6806
|
+
* @return {string}
|
|
5686
6807
|
*/
|
|
5687
|
-
proto.ondewo.nlu.SessionFilter.prototype.
|
|
5688
|
-
return jspb.Message.
|
|
6808
|
+
proto.ondewo.nlu.SessionFilter.prototype.getStartedTimeSlotPerDayPhaseMax = function() {
|
|
6809
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 37, ""));
|
|
5689
6810
|
};
|
|
5690
6811
|
|
|
5691
6812
|
|
|
5692
6813
|
/**
|
|
5693
|
-
*
|
|
6814
|
+
* @param {string} value
|
|
5694
6815
|
* @return {!proto.ondewo.nlu.SessionFilter} returns this
|
|
5695
6816
|
*/
|
|
5696
|
-
proto.ondewo.nlu.SessionFilter.prototype.
|
|
5697
|
-
return
|
|
6817
|
+
proto.ondewo.nlu.SessionFilter.prototype.setStartedTimeSlotPerDayPhaseMax = function(value) {
|
|
6818
|
+
return jspb.Message.setProto3StringField(this, 37, value);
|
|
5698
6819
|
};
|
|
5699
6820
|
|
|
5700
6821
|
|
|
5701
6822
|
/**
|
|
5702
|
-
*
|
|
5703
|
-
* @return {
|
|
6823
|
+
* optional string started_time_slot_per_minute_min = 38;
|
|
6824
|
+
* @return {string}
|
|
5704
6825
|
*/
|
|
5705
|
-
proto.ondewo.nlu.SessionFilter.prototype.
|
|
5706
|
-
return /** @type{
|
|
5707
|
-
jspb.Message.getRepeatedWrapperField(this, ondewo_nlu_context_pb.Context, 16));
|
|
6826
|
+
proto.ondewo.nlu.SessionFilter.prototype.getStartedTimeSlotPerMinuteMin = function() {
|
|
6827
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 38, ""));
|
|
5708
6828
|
};
|
|
5709
6829
|
|
|
5710
6830
|
|
|
5711
6831
|
/**
|
|
5712
|
-
* @param {
|
|
6832
|
+
* @param {string} value
|
|
5713
6833
|
* @return {!proto.ondewo.nlu.SessionFilter} returns this
|
|
5714
|
-
*/
|
|
5715
|
-
proto.ondewo.nlu.SessionFilter.prototype.
|
|
5716
|
-
return jspb.Message.
|
|
6834
|
+
*/
|
|
6835
|
+
proto.ondewo.nlu.SessionFilter.prototype.setStartedTimeSlotPerMinuteMin = function(value) {
|
|
6836
|
+
return jspb.Message.setProto3StringField(this, 38, value);
|
|
5717
6837
|
};
|
|
5718
6838
|
|
|
5719
6839
|
|
|
5720
6840
|
/**
|
|
5721
|
-
*
|
|
5722
|
-
* @
|
|
5723
|
-
* @return {!proto.ondewo.nlu.Context}
|
|
6841
|
+
* optional string started_time_slot_per_minute_max = 39;
|
|
6842
|
+
* @return {string}
|
|
5724
6843
|
*/
|
|
5725
|
-
proto.ondewo.nlu.SessionFilter.prototype.
|
|
5726
|
-
return jspb.Message.
|
|
6844
|
+
proto.ondewo.nlu.SessionFilter.prototype.getStartedTimeSlotPerMinuteMax = function() {
|
|
6845
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 39, ""));
|
|
5727
6846
|
};
|
|
5728
6847
|
|
|
5729
6848
|
|
|
5730
6849
|
/**
|
|
5731
|
-
*
|
|
6850
|
+
* @param {string} value
|
|
5732
6851
|
* @return {!proto.ondewo.nlu.SessionFilter} returns this
|
|
5733
6852
|
*/
|
|
5734
|
-
proto.ondewo.nlu.SessionFilter.prototype.
|
|
5735
|
-
return
|
|
6853
|
+
proto.ondewo.nlu.SessionFilter.prototype.setStartedTimeSlotPerMinuteMax = function(value) {
|
|
6854
|
+
return jspb.Message.setProto3StringField(this, 39, value);
|
|
5736
6855
|
};
|
|
5737
6856
|
|
|
5738
6857
|
|
|
5739
6858
|
/**
|
|
5740
|
-
*
|
|
5741
|
-
* @return {
|
|
6859
|
+
* optional float duration_in_s_rounded_min = 40;
|
|
6860
|
+
* @return {number}
|
|
5742
6861
|
*/
|
|
5743
|
-
proto.ondewo.nlu.SessionFilter.prototype.
|
|
5744
|
-
return /** @type{
|
|
5745
|
-
jspb.Message.getRepeatedWrapperField(this, ondewo_nlu_context_pb.Context, 17));
|
|
6862
|
+
proto.ondewo.nlu.SessionFilter.prototype.getDurationInSRoundedMin = function() {
|
|
6863
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 40, 0.0));
|
|
5746
6864
|
};
|
|
5747
6865
|
|
|
5748
6866
|
|
|
5749
6867
|
/**
|
|
5750
|
-
* @param {
|
|
6868
|
+
* @param {number} value
|
|
5751
6869
|
* @return {!proto.ondewo.nlu.SessionFilter} returns this
|
|
5752
|
-
*/
|
|
5753
|
-
proto.ondewo.nlu.SessionFilter.prototype.
|
|
5754
|
-
return jspb.Message.
|
|
6870
|
+
*/
|
|
6871
|
+
proto.ondewo.nlu.SessionFilter.prototype.setDurationInSRoundedMin = function(value) {
|
|
6872
|
+
return jspb.Message.setProto3FloatField(this, 40, value);
|
|
5755
6873
|
};
|
|
5756
6874
|
|
|
5757
6875
|
|
|
5758
6876
|
/**
|
|
5759
|
-
*
|
|
5760
|
-
* @
|
|
5761
|
-
* @return {!proto.ondewo.nlu.Context}
|
|
6877
|
+
* optional float duration_in_s_rounded_max = 41;
|
|
6878
|
+
* @return {number}
|
|
5762
6879
|
*/
|
|
5763
|
-
proto.ondewo.nlu.SessionFilter.prototype.
|
|
5764
|
-
return jspb.Message.
|
|
6880
|
+
proto.ondewo.nlu.SessionFilter.prototype.getDurationInSRoundedMax = function() {
|
|
6881
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 41, 0.0));
|
|
5765
6882
|
};
|
|
5766
6883
|
|
|
5767
6884
|
|
|
5768
6885
|
/**
|
|
5769
|
-
*
|
|
6886
|
+
* @param {number} value
|
|
5770
6887
|
* @return {!proto.ondewo.nlu.SessionFilter} returns this
|
|
5771
6888
|
*/
|
|
5772
|
-
proto.ondewo.nlu.SessionFilter.prototype.
|
|
5773
|
-
return
|
|
6889
|
+
proto.ondewo.nlu.SessionFilter.prototype.setDurationInSRoundedMax = function(value) {
|
|
6890
|
+
return jspb.Message.setProto3FloatField(this, 41, value);
|
|
5774
6891
|
};
|
|
5775
6892
|
|
|
5776
6893
|
|
|
@@ -5829,7 +6946,19 @@ proto.ondewo.nlu.SessionInfo.toObject = function(includeInstance, msg) {
|
|
|
5829
6946
|
inputContextStepsList: jspb.Message.toObjectList(msg.getInputContextStepsList(),
|
|
5830
6947
|
proto.ondewo.nlu.SessionInfo.ContextSteps.toObject, includeInstance),
|
|
5831
6948
|
outputContextStepsList: jspb.Message.toObjectList(msg.getOutputContextStepsList(),
|
|
5832
|
-
proto.ondewo.nlu.SessionInfo.ContextSteps.toObject, includeInstance)
|
|
6949
|
+
proto.ondewo.nlu.SessionInfo.ContextSteps.toObject, includeInstance),
|
|
6950
|
+
durationInS: jspb.Message.getFloatingPointFieldWithDefault(msg, 14, 0.0),
|
|
6951
|
+
durationInM: jspb.Message.getFloatingPointFieldWithDefault(msg, 15, 0.0),
|
|
6952
|
+
durationInMRounded: jspb.Message.getFloatingPointFieldWithDefault(msg, 16, 0.0),
|
|
6953
|
+
durationInterval15sRounded: jspb.Message.getFloatingPointFieldWithDefault(msg, 17, 0.0),
|
|
6954
|
+
durationInterval30sRounded: jspb.Message.getFloatingPointFieldWithDefault(msg, 18, 0.0),
|
|
6955
|
+
durationInterval45sRounded: jspb.Message.getFloatingPointFieldWithDefault(msg, 19, 0.0),
|
|
6956
|
+
startedTimeSlotPerHour: jspb.Message.getFieldWithDefault(msg, 20, ""),
|
|
6957
|
+
startedTimeSlotPerQuarterHour: jspb.Message.getFieldWithDefault(msg, 21, ""),
|
|
6958
|
+
startedTimeSlotPerHalfHour: jspb.Message.getFieldWithDefault(msg, 22, ""),
|
|
6959
|
+
startedTimeSlotPerDayPhase: jspb.Message.getFieldWithDefault(msg, 23, ""),
|
|
6960
|
+
startedTimeSlotPerMinute: jspb.Message.getFieldWithDefault(msg, 24, ""),
|
|
6961
|
+
durationInSRounded: jspb.Message.getFloatingPointFieldWithDefault(msg, 25, 0.0)
|
|
5833
6962
|
};
|
|
5834
6963
|
|
|
5835
6964
|
if (includeInstance) {
|
|
@@ -5922,6 +7051,54 @@ proto.ondewo.nlu.SessionInfo.deserializeBinaryFromReader = function(msg, reader)
|
|
|
5922
7051
|
reader.readMessage(value,proto.ondewo.nlu.SessionInfo.ContextSteps.deserializeBinaryFromReader);
|
|
5923
7052
|
msg.addOutputContextSteps(value);
|
|
5924
7053
|
break;
|
|
7054
|
+
case 14:
|
|
7055
|
+
var value = /** @type {number} */ (reader.readFloat());
|
|
7056
|
+
msg.setDurationInS(value);
|
|
7057
|
+
break;
|
|
7058
|
+
case 15:
|
|
7059
|
+
var value = /** @type {number} */ (reader.readFloat());
|
|
7060
|
+
msg.setDurationInM(value);
|
|
7061
|
+
break;
|
|
7062
|
+
case 16:
|
|
7063
|
+
var value = /** @type {number} */ (reader.readFloat());
|
|
7064
|
+
msg.setDurationInMRounded(value);
|
|
7065
|
+
break;
|
|
7066
|
+
case 17:
|
|
7067
|
+
var value = /** @type {number} */ (reader.readFloat());
|
|
7068
|
+
msg.setDurationInterval15sRounded(value);
|
|
7069
|
+
break;
|
|
7070
|
+
case 18:
|
|
7071
|
+
var value = /** @type {number} */ (reader.readFloat());
|
|
7072
|
+
msg.setDurationInterval30sRounded(value);
|
|
7073
|
+
break;
|
|
7074
|
+
case 19:
|
|
7075
|
+
var value = /** @type {number} */ (reader.readFloat());
|
|
7076
|
+
msg.setDurationInterval45sRounded(value);
|
|
7077
|
+
break;
|
|
7078
|
+
case 20:
|
|
7079
|
+
var value = /** @type {string} */ (reader.readString());
|
|
7080
|
+
msg.setStartedTimeSlotPerHour(value);
|
|
7081
|
+
break;
|
|
7082
|
+
case 21:
|
|
7083
|
+
var value = /** @type {string} */ (reader.readString());
|
|
7084
|
+
msg.setStartedTimeSlotPerQuarterHour(value);
|
|
7085
|
+
break;
|
|
7086
|
+
case 22:
|
|
7087
|
+
var value = /** @type {string} */ (reader.readString());
|
|
7088
|
+
msg.setStartedTimeSlotPerHalfHour(value);
|
|
7089
|
+
break;
|
|
7090
|
+
case 23:
|
|
7091
|
+
var value = /** @type {string} */ (reader.readString());
|
|
7092
|
+
msg.setStartedTimeSlotPerDayPhase(value);
|
|
7093
|
+
break;
|
|
7094
|
+
case 24:
|
|
7095
|
+
var value = /** @type {string} */ (reader.readString());
|
|
7096
|
+
msg.setStartedTimeSlotPerMinute(value);
|
|
7097
|
+
break;
|
|
7098
|
+
case 25:
|
|
7099
|
+
var value = /** @type {number} */ (reader.readFloat());
|
|
7100
|
+
msg.setDurationInSRounded(value);
|
|
7101
|
+
break;
|
|
5925
7102
|
default:
|
|
5926
7103
|
reader.skipField();
|
|
5927
7104
|
break;
|
|
@@ -6030,20 +7207,104 @@ proto.ondewo.nlu.SessionInfo.serializeBinaryToWriter = function(message, writer)
|
|
|
6030
7207
|
f
|
|
6031
7208
|
);
|
|
6032
7209
|
}
|
|
6033
|
-
f = message.getInputContextStepsList();
|
|
7210
|
+
f = message.getInputContextStepsList();
|
|
7211
|
+
if (f.length > 0) {
|
|
7212
|
+
writer.writeRepeatedMessage(
|
|
7213
|
+
12,
|
|
7214
|
+
f,
|
|
7215
|
+
proto.ondewo.nlu.SessionInfo.ContextSteps.serializeBinaryToWriter
|
|
7216
|
+
);
|
|
7217
|
+
}
|
|
7218
|
+
f = message.getOutputContextStepsList();
|
|
7219
|
+
if (f.length > 0) {
|
|
7220
|
+
writer.writeRepeatedMessage(
|
|
7221
|
+
13,
|
|
7222
|
+
f,
|
|
7223
|
+
proto.ondewo.nlu.SessionInfo.ContextSteps.serializeBinaryToWriter
|
|
7224
|
+
);
|
|
7225
|
+
}
|
|
7226
|
+
f = message.getDurationInS();
|
|
7227
|
+
if (f !== 0.0) {
|
|
7228
|
+
writer.writeFloat(
|
|
7229
|
+
14,
|
|
7230
|
+
f
|
|
7231
|
+
);
|
|
7232
|
+
}
|
|
7233
|
+
f = message.getDurationInM();
|
|
7234
|
+
if (f !== 0.0) {
|
|
7235
|
+
writer.writeFloat(
|
|
7236
|
+
15,
|
|
7237
|
+
f
|
|
7238
|
+
);
|
|
7239
|
+
}
|
|
7240
|
+
f = message.getDurationInMRounded();
|
|
7241
|
+
if (f !== 0.0) {
|
|
7242
|
+
writer.writeFloat(
|
|
7243
|
+
16,
|
|
7244
|
+
f
|
|
7245
|
+
);
|
|
7246
|
+
}
|
|
7247
|
+
f = message.getDurationInterval15sRounded();
|
|
7248
|
+
if (f !== 0.0) {
|
|
7249
|
+
writer.writeFloat(
|
|
7250
|
+
17,
|
|
7251
|
+
f
|
|
7252
|
+
);
|
|
7253
|
+
}
|
|
7254
|
+
f = message.getDurationInterval30sRounded();
|
|
7255
|
+
if (f !== 0.0) {
|
|
7256
|
+
writer.writeFloat(
|
|
7257
|
+
18,
|
|
7258
|
+
f
|
|
7259
|
+
);
|
|
7260
|
+
}
|
|
7261
|
+
f = message.getDurationInterval45sRounded();
|
|
7262
|
+
if (f !== 0.0) {
|
|
7263
|
+
writer.writeFloat(
|
|
7264
|
+
19,
|
|
7265
|
+
f
|
|
7266
|
+
);
|
|
7267
|
+
}
|
|
7268
|
+
f = message.getStartedTimeSlotPerHour();
|
|
7269
|
+
if (f.length > 0) {
|
|
7270
|
+
writer.writeString(
|
|
7271
|
+
20,
|
|
7272
|
+
f
|
|
7273
|
+
);
|
|
7274
|
+
}
|
|
7275
|
+
f = message.getStartedTimeSlotPerQuarterHour();
|
|
7276
|
+
if (f.length > 0) {
|
|
7277
|
+
writer.writeString(
|
|
7278
|
+
21,
|
|
7279
|
+
f
|
|
7280
|
+
);
|
|
7281
|
+
}
|
|
7282
|
+
f = message.getStartedTimeSlotPerHalfHour();
|
|
7283
|
+
if (f.length > 0) {
|
|
7284
|
+
writer.writeString(
|
|
7285
|
+
22,
|
|
7286
|
+
f
|
|
7287
|
+
);
|
|
7288
|
+
}
|
|
7289
|
+
f = message.getStartedTimeSlotPerDayPhase();
|
|
6034
7290
|
if (f.length > 0) {
|
|
6035
|
-
writer.
|
|
6036
|
-
|
|
6037
|
-
f
|
|
6038
|
-
proto.ondewo.nlu.SessionInfo.ContextSteps.serializeBinaryToWriter
|
|
7291
|
+
writer.writeString(
|
|
7292
|
+
23,
|
|
7293
|
+
f
|
|
6039
7294
|
);
|
|
6040
7295
|
}
|
|
6041
|
-
f = message.
|
|
7296
|
+
f = message.getStartedTimeSlotPerMinute();
|
|
6042
7297
|
if (f.length > 0) {
|
|
6043
|
-
writer.
|
|
6044
|
-
|
|
6045
|
-
f
|
|
6046
|
-
|
|
7298
|
+
writer.writeString(
|
|
7299
|
+
24,
|
|
7300
|
+
f
|
|
7301
|
+
);
|
|
7302
|
+
}
|
|
7303
|
+
f = message.getDurationInSRounded();
|
|
7304
|
+
if (f !== 0.0) {
|
|
7305
|
+
writer.writeFloat(
|
|
7306
|
+
25,
|
|
7307
|
+
f
|
|
6047
7308
|
);
|
|
6048
7309
|
}
|
|
6049
7310
|
};
|
|
@@ -6599,6 +7860,222 @@ proto.ondewo.nlu.SessionInfo.prototype.clearOutputContextStepsList = function()
|
|
|
6599
7860
|
};
|
|
6600
7861
|
|
|
6601
7862
|
|
|
7863
|
+
/**
|
|
7864
|
+
* optional float duration_in_s = 14;
|
|
7865
|
+
* @return {number}
|
|
7866
|
+
*/
|
|
7867
|
+
proto.ondewo.nlu.SessionInfo.prototype.getDurationInS = function() {
|
|
7868
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 14, 0.0));
|
|
7869
|
+
};
|
|
7870
|
+
|
|
7871
|
+
|
|
7872
|
+
/**
|
|
7873
|
+
* @param {number} value
|
|
7874
|
+
* @return {!proto.ondewo.nlu.SessionInfo} returns this
|
|
7875
|
+
*/
|
|
7876
|
+
proto.ondewo.nlu.SessionInfo.prototype.setDurationInS = function(value) {
|
|
7877
|
+
return jspb.Message.setProto3FloatField(this, 14, value);
|
|
7878
|
+
};
|
|
7879
|
+
|
|
7880
|
+
|
|
7881
|
+
/**
|
|
7882
|
+
* optional float duration_in_m = 15;
|
|
7883
|
+
* @return {number}
|
|
7884
|
+
*/
|
|
7885
|
+
proto.ondewo.nlu.SessionInfo.prototype.getDurationInM = function() {
|
|
7886
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 15, 0.0));
|
|
7887
|
+
};
|
|
7888
|
+
|
|
7889
|
+
|
|
7890
|
+
/**
|
|
7891
|
+
* @param {number} value
|
|
7892
|
+
* @return {!proto.ondewo.nlu.SessionInfo} returns this
|
|
7893
|
+
*/
|
|
7894
|
+
proto.ondewo.nlu.SessionInfo.prototype.setDurationInM = function(value) {
|
|
7895
|
+
return jspb.Message.setProto3FloatField(this, 15, value);
|
|
7896
|
+
};
|
|
7897
|
+
|
|
7898
|
+
|
|
7899
|
+
/**
|
|
7900
|
+
* optional float duration_in_m_rounded = 16;
|
|
7901
|
+
* @return {number}
|
|
7902
|
+
*/
|
|
7903
|
+
proto.ondewo.nlu.SessionInfo.prototype.getDurationInMRounded = function() {
|
|
7904
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 16, 0.0));
|
|
7905
|
+
};
|
|
7906
|
+
|
|
7907
|
+
|
|
7908
|
+
/**
|
|
7909
|
+
* @param {number} value
|
|
7910
|
+
* @return {!proto.ondewo.nlu.SessionInfo} returns this
|
|
7911
|
+
*/
|
|
7912
|
+
proto.ondewo.nlu.SessionInfo.prototype.setDurationInMRounded = function(value) {
|
|
7913
|
+
return jspb.Message.setProto3FloatField(this, 16, value);
|
|
7914
|
+
};
|
|
7915
|
+
|
|
7916
|
+
|
|
7917
|
+
/**
|
|
7918
|
+
* optional float duration_interval_15s_rounded = 17;
|
|
7919
|
+
* @return {number}
|
|
7920
|
+
*/
|
|
7921
|
+
proto.ondewo.nlu.SessionInfo.prototype.getDurationInterval15sRounded = function() {
|
|
7922
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 17, 0.0));
|
|
7923
|
+
};
|
|
7924
|
+
|
|
7925
|
+
|
|
7926
|
+
/**
|
|
7927
|
+
* @param {number} value
|
|
7928
|
+
* @return {!proto.ondewo.nlu.SessionInfo} returns this
|
|
7929
|
+
*/
|
|
7930
|
+
proto.ondewo.nlu.SessionInfo.prototype.setDurationInterval15sRounded = function(value) {
|
|
7931
|
+
return jspb.Message.setProto3FloatField(this, 17, value);
|
|
7932
|
+
};
|
|
7933
|
+
|
|
7934
|
+
|
|
7935
|
+
/**
|
|
7936
|
+
* optional float duration_interval_30s_rounded = 18;
|
|
7937
|
+
* @return {number}
|
|
7938
|
+
*/
|
|
7939
|
+
proto.ondewo.nlu.SessionInfo.prototype.getDurationInterval30sRounded = function() {
|
|
7940
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 18, 0.0));
|
|
7941
|
+
};
|
|
7942
|
+
|
|
7943
|
+
|
|
7944
|
+
/**
|
|
7945
|
+
* @param {number} value
|
|
7946
|
+
* @return {!proto.ondewo.nlu.SessionInfo} returns this
|
|
7947
|
+
*/
|
|
7948
|
+
proto.ondewo.nlu.SessionInfo.prototype.setDurationInterval30sRounded = function(value) {
|
|
7949
|
+
return jspb.Message.setProto3FloatField(this, 18, value);
|
|
7950
|
+
};
|
|
7951
|
+
|
|
7952
|
+
|
|
7953
|
+
/**
|
|
7954
|
+
* optional float duration_interval_45s_rounded = 19;
|
|
7955
|
+
* @return {number}
|
|
7956
|
+
*/
|
|
7957
|
+
proto.ondewo.nlu.SessionInfo.prototype.getDurationInterval45sRounded = function() {
|
|
7958
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 19, 0.0));
|
|
7959
|
+
};
|
|
7960
|
+
|
|
7961
|
+
|
|
7962
|
+
/**
|
|
7963
|
+
* @param {number} value
|
|
7964
|
+
* @return {!proto.ondewo.nlu.SessionInfo} returns this
|
|
7965
|
+
*/
|
|
7966
|
+
proto.ondewo.nlu.SessionInfo.prototype.setDurationInterval45sRounded = function(value) {
|
|
7967
|
+
return jspb.Message.setProto3FloatField(this, 19, value);
|
|
7968
|
+
};
|
|
7969
|
+
|
|
7970
|
+
|
|
7971
|
+
/**
|
|
7972
|
+
* optional string started_time_slot_per_hour = 20;
|
|
7973
|
+
* @return {string}
|
|
7974
|
+
*/
|
|
7975
|
+
proto.ondewo.nlu.SessionInfo.prototype.getStartedTimeSlotPerHour = function() {
|
|
7976
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 20, ""));
|
|
7977
|
+
};
|
|
7978
|
+
|
|
7979
|
+
|
|
7980
|
+
/**
|
|
7981
|
+
* @param {string} value
|
|
7982
|
+
* @return {!proto.ondewo.nlu.SessionInfo} returns this
|
|
7983
|
+
*/
|
|
7984
|
+
proto.ondewo.nlu.SessionInfo.prototype.setStartedTimeSlotPerHour = function(value) {
|
|
7985
|
+
return jspb.Message.setProto3StringField(this, 20, value);
|
|
7986
|
+
};
|
|
7987
|
+
|
|
7988
|
+
|
|
7989
|
+
/**
|
|
7990
|
+
* optional string started_time_slot_per_quarter_hour = 21;
|
|
7991
|
+
* @return {string}
|
|
7992
|
+
*/
|
|
7993
|
+
proto.ondewo.nlu.SessionInfo.prototype.getStartedTimeSlotPerQuarterHour = function() {
|
|
7994
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 21, ""));
|
|
7995
|
+
};
|
|
7996
|
+
|
|
7997
|
+
|
|
7998
|
+
/**
|
|
7999
|
+
* @param {string} value
|
|
8000
|
+
* @return {!proto.ondewo.nlu.SessionInfo} returns this
|
|
8001
|
+
*/
|
|
8002
|
+
proto.ondewo.nlu.SessionInfo.prototype.setStartedTimeSlotPerQuarterHour = function(value) {
|
|
8003
|
+
return jspb.Message.setProto3StringField(this, 21, value);
|
|
8004
|
+
};
|
|
8005
|
+
|
|
8006
|
+
|
|
8007
|
+
/**
|
|
8008
|
+
* optional string started_time_slot_per_half_hour = 22;
|
|
8009
|
+
* @return {string}
|
|
8010
|
+
*/
|
|
8011
|
+
proto.ondewo.nlu.SessionInfo.prototype.getStartedTimeSlotPerHalfHour = function() {
|
|
8012
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 22, ""));
|
|
8013
|
+
};
|
|
8014
|
+
|
|
8015
|
+
|
|
8016
|
+
/**
|
|
8017
|
+
* @param {string} value
|
|
8018
|
+
* @return {!proto.ondewo.nlu.SessionInfo} returns this
|
|
8019
|
+
*/
|
|
8020
|
+
proto.ondewo.nlu.SessionInfo.prototype.setStartedTimeSlotPerHalfHour = function(value) {
|
|
8021
|
+
return jspb.Message.setProto3StringField(this, 22, value);
|
|
8022
|
+
};
|
|
8023
|
+
|
|
8024
|
+
|
|
8025
|
+
/**
|
|
8026
|
+
* optional string started_time_slot_per_day_phase = 23;
|
|
8027
|
+
* @return {string}
|
|
8028
|
+
*/
|
|
8029
|
+
proto.ondewo.nlu.SessionInfo.prototype.getStartedTimeSlotPerDayPhase = function() {
|
|
8030
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 23, ""));
|
|
8031
|
+
};
|
|
8032
|
+
|
|
8033
|
+
|
|
8034
|
+
/**
|
|
8035
|
+
* @param {string} value
|
|
8036
|
+
* @return {!proto.ondewo.nlu.SessionInfo} returns this
|
|
8037
|
+
*/
|
|
8038
|
+
proto.ondewo.nlu.SessionInfo.prototype.setStartedTimeSlotPerDayPhase = function(value) {
|
|
8039
|
+
return jspb.Message.setProto3StringField(this, 23, value);
|
|
8040
|
+
};
|
|
8041
|
+
|
|
8042
|
+
|
|
8043
|
+
/**
|
|
8044
|
+
* optional string started_time_slot_per_minute = 24;
|
|
8045
|
+
* @return {string}
|
|
8046
|
+
*/
|
|
8047
|
+
proto.ondewo.nlu.SessionInfo.prototype.getStartedTimeSlotPerMinute = function() {
|
|
8048
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 24, ""));
|
|
8049
|
+
};
|
|
8050
|
+
|
|
8051
|
+
|
|
8052
|
+
/**
|
|
8053
|
+
* @param {string} value
|
|
8054
|
+
* @return {!proto.ondewo.nlu.SessionInfo} returns this
|
|
8055
|
+
*/
|
|
8056
|
+
proto.ondewo.nlu.SessionInfo.prototype.setStartedTimeSlotPerMinute = function(value) {
|
|
8057
|
+
return jspb.Message.setProto3StringField(this, 24, value);
|
|
8058
|
+
};
|
|
8059
|
+
|
|
8060
|
+
|
|
8061
|
+
/**
|
|
8062
|
+
* optional float duration_in_s_rounded = 25;
|
|
8063
|
+
* @return {number}
|
|
8064
|
+
*/
|
|
8065
|
+
proto.ondewo.nlu.SessionInfo.prototype.getDurationInSRounded = function() {
|
|
8066
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 25, 0.0));
|
|
8067
|
+
};
|
|
8068
|
+
|
|
8069
|
+
|
|
8070
|
+
/**
|
|
8071
|
+
* @param {number} value
|
|
8072
|
+
* @return {!proto.ondewo.nlu.SessionInfo} returns this
|
|
8073
|
+
*/
|
|
8074
|
+
proto.ondewo.nlu.SessionInfo.prototype.setDurationInSRounded = function(value) {
|
|
8075
|
+
return jspb.Message.setProto3FloatField(this, 25, value);
|
|
8076
|
+
};
|
|
8077
|
+
|
|
8078
|
+
|
|
6602
8079
|
|
|
6603
8080
|
/**
|
|
6604
8081
|
* List of repeated fields within this message type.
|
|
@@ -6822,7 +8299,8 @@ proto.ondewo.nlu.GetSessionRequest.prototype.toObject = function(opt_includeInst
|
|
|
6822
8299
|
proto.ondewo.nlu.GetSessionRequest.toObject = function(includeInstance, msg) {
|
|
6823
8300
|
var f, obj = {
|
|
6824
8301
|
sessionId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
6825
|
-
sessionView: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
|
8302
|
+
sessionView: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
8303
|
+
fieldMask: (f = msg.getFieldMask()) && google_protobuf_field_mask_pb.FieldMask.toObject(includeInstance, f)
|
|
6826
8304
|
};
|
|
6827
8305
|
|
|
6828
8306
|
if (includeInstance) {
|
|
@@ -6867,6 +8345,11 @@ proto.ondewo.nlu.GetSessionRequest.deserializeBinaryFromReader = function(msg, r
|
|
|
6867
8345
|
var value = /** @type {!proto.ondewo.nlu.Session.View} */ (reader.readEnum());
|
|
6868
8346
|
msg.setSessionView(value);
|
|
6869
8347
|
break;
|
|
8348
|
+
case 6:
|
|
8349
|
+
var value = new google_protobuf_field_mask_pb.FieldMask;
|
|
8350
|
+
reader.readMessage(value,google_protobuf_field_mask_pb.FieldMask.deserializeBinaryFromReader);
|
|
8351
|
+
msg.setFieldMask(value);
|
|
8352
|
+
break;
|
|
6870
8353
|
default:
|
|
6871
8354
|
reader.skipField();
|
|
6872
8355
|
break;
|
|
@@ -6910,6 +8393,14 @@ proto.ondewo.nlu.GetSessionRequest.serializeBinaryToWriter = function(message, w
|
|
|
6910
8393
|
f
|
|
6911
8394
|
);
|
|
6912
8395
|
}
|
|
8396
|
+
f = message.getFieldMask();
|
|
8397
|
+
if (f != null) {
|
|
8398
|
+
writer.writeMessage(
|
|
8399
|
+
6,
|
|
8400
|
+
f,
|
|
8401
|
+
google_protobuf_field_mask_pb.FieldMask.serializeBinaryToWriter
|
|
8402
|
+
);
|
|
8403
|
+
}
|
|
6913
8404
|
};
|
|
6914
8405
|
|
|
6915
8406
|
|
|
@@ -6949,6 +8440,50 @@ proto.ondewo.nlu.GetSessionRequest.prototype.setSessionView = function(value) {
|
|
|
6949
8440
|
};
|
|
6950
8441
|
|
|
6951
8442
|
|
|
8443
|
+
/**
|
|
8444
|
+
* optional google.protobuf.FieldMask field_mask = 6;
|
|
8445
|
+
* @return {?proto.google.protobuf.FieldMask}
|
|
8446
|
+
*/
|
|
8447
|
+
proto.ondewo.nlu.GetSessionRequest.prototype.getFieldMask = function() {
|
|
8448
|
+
return /** @type{?proto.google.protobuf.FieldMask} */ (
|
|
8449
|
+
jspb.Message.getWrapperField(this, google_protobuf_field_mask_pb.FieldMask, 6));
|
|
8450
|
+
};
|
|
8451
|
+
|
|
8452
|
+
|
|
8453
|
+
/**
|
|
8454
|
+
* @param {?proto.google.protobuf.FieldMask|undefined} value
|
|
8455
|
+
* @return {!proto.ondewo.nlu.GetSessionRequest} returns this
|
|
8456
|
+
*/
|
|
8457
|
+
proto.ondewo.nlu.GetSessionRequest.prototype.setFieldMask = function(value) {
|
|
8458
|
+
return jspb.Message.setWrapperField(this, 6, value);
|
|
8459
|
+
};
|
|
8460
|
+
|
|
8461
|
+
|
|
8462
|
+
/**
|
|
8463
|
+
* Clears the message field making it undefined.
|
|
8464
|
+
* @return {!proto.ondewo.nlu.GetSessionRequest} returns this
|
|
8465
|
+
*/
|
|
8466
|
+
proto.ondewo.nlu.GetSessionRequest.prototype.clearFieldMask = function() {
|
|
8467
|
+
return this.setFieldMask(undefined);
|
|
8468
|
+
};
|
|
8469
|
+
|
|
8470
|
+
|
|
8471
|
+
/**
|
|
8472
|
+
* Returns whether this field is set.
|
|
8473
|
+
* @return {boolean}
|
|
8474
|
+
*/
|
|
8475
|
+
proto.ondewo.nlu.GetSessionRequest.prototype.hasFieldMask = function() {
|
|
8476
|
+
return jspb.Message.getField(this, 6) != null;
|
|
8477
|
+
};
|
|
8478
|
+
|
|
8479
|
+
|
|
8480
|
+
|
|
8481
|
+
/**
|
|
8482
|
+
* List of repeated fields within this message type.
|
|
8483
|
+
* @private {!Array<number>}
|
|
8484
|
+
* @const
|
|
8485
|
+
*/
|
|
8486
|
+
proto.ondewo.nlu.CreateSessionRequest.repeatedFields_ = [3];
|
|
6952
8487
|
|
|
6953
8488
|
|
|
6954
8489
|
|
|
@@ -6982,7 +8517,8 @@ proto.ondewo.nlu.CreateSessionRequest.prototype.toObject = function(opt_includeI
|
|
|
6982
8517
|
proto.ondewo.nlu.CreateSessionRequest.toObject = function(includeInstance, msg) {
|
|
6983
8518
|
var f, obj = {
|
|
6984
8519
|
parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
6985
|
-
sessionUuid: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
8520
|
+
sessionUuid: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
8521
|
+
labelsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f
|
|
6986
8522
|
};
|
|
6987
8523
|
|
|
6988
8524
|
if (includeInstance) {
|
|
@@ -7027,6 +8563,10 @@ proto.ondewo.nlu.CreateSessionRequest.deserializeBinaryFromReader = function(msg
|
|
|
7027
8563
|
var value = /** @type {string} */ (reader.readString());
|
|
7028
8564
|
msg.setSessionUuid(value);
|
|
7029
8565
|
break;
|
|
8566
|
+
case 3:
|
|
8567
|
+
var value = /** @type {string} */ (reader.readString());
|
|
8568
|
+
msg.addLabels(value);
|
|
8569
|
+
break;
|
|
7030
8570
|
default:
|
|
7031
8571
|
reader.skipField();
|
|
7032
8572
|
break;
|
|
@@ -7070,6 +8610,13 @@ proto.ondewo.nlu.CreateSessionRequest.serializeBinaryToWriter = function(message
|
|
|
7070
8610
|
f
|
|
7071
8611
|
);
|
|
7072
8612
|
}
|
|
8613
|
+
f = message.getLabelsList();
|
|
8614
|
+
if (f.length > 0) {
|
|
8615
|
+
writer.writeRepeatedString(
|
|
8616
|
+
3,
|
|
8617
|
+
f
|
|
8618
|
+
);
|
|
8619
|
+
}
|
|
7073
8620
|
};
|
|
7074
8621
|
|
|
7075
8622
|
|
|
@@ -7109,6 +8656,43 @@ proto.ondewo.nlu.CreateSessionRequest.prototype.setSessionUuid = function(value)
|
|
|
7109
8656
|
};
|
|
7110
8657
|
|
|
7111
8658
|
|
|
8659
|
+
/**
|
|
8660
|
+
* repeated string labels = 3;
|
|
8661
|
+
* @return {!Array<string>}
|
|
8662
|
+
*/
|
|
8663
|
+
proto.ondewo.nlu.CreateSessionRequest.prototype.getLabelsList = function() {
|
|
8664
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 3));
|
|
8665
|
+
};
|
|
8666
|
+
|
|
8667
|
+
|
|
8668
|
+
/**
|
|
8669
|
+
* @param {!Array<string>} value
|
|
8670
|
+
* @return {!proto.ondewo.nlu.CreateSessionRequest} returns this
|
|
8671
|
+
*/
|
|
8672
|
+
proto.ondewo.nlu.CreateSessionRequest.prototype.setLabelsList = function(value) {
|
|
8673
|
+
return jspb.Message.setField(this, 3, value || []);
|
|
8674
|
+
};
|
|
8675
|
+
|
|
8676
|
+
|
|
8677
|
+
/**
|
|
8678
|
+
* @param {string} value
|
|
8679
|
+
* @param {number=} opt_index
|
|
8680
|
+
* @return {!proto.ondewo.nlu.CreateSessionRequest} returns this
|
|
8681
|
+
*/
|
|
8682
|
+
proto.ondewo.nlu.CreateSessionRequest.prototype.addLabels = function(value, opt_index) {
|
|
8683
|
+
return jspb.Message.addToRepeatedField(this, 3, value, opt_index);
|
|
8684
|
+
};
|
|
8685
|
+
|
|
8686
|
+
|
|
8687
|
+
/**
|
|
8688
|
+
* Clears the list making it empty but non-null.
|
|
8689
|
+
* @return {!proto.ondewo.nlu.CreateSessionRequest} returns this
|
|
8690
|
+
*/
|
|
8691
|
+
proto.ondewo.nlu.CreateSessionRequest.prototype.clearLabelsList = function() {
|
|
8692
|
+
return this.setLabelsList([]);
|
|
8693
|
+
};
|
|
8694
|
+
|
|
8695
|
+
|
|
7112
8696
|
|
|
7113
8697
|
|
|
7114
8698
|
|
|
@@ -7519,7 +9103,7 @@ proto.ondewo.nlu.SessionReview.prototype.toObject = function(opt_includeInstance
|
|
|
7519
9103
|
*/
|
|
7520
9104
|
proto.ondewo.nlu.SessionReview.toObject = function(includeInstance, msg) {
|
|
7521
9105
|
var f, obj = {
|
|
7522
|
-
|
|
9106
|
+
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
7523
9107
|
sessionReviewStepsList: jspb.Message.toObjectList(msg.getSessionReviewStepsList(),
|
|
7524
9108
|
proto.ondewo.nlu.SessionReviewStep.toObject, includeInstance)
|
|
7525
9109
|
};
|
|
@@ -7560,7 +9144,7 @@ proto.ondewo.nlu.SessionReview.deserializeBinaryFromReader = function(msg, reade
|
|
|
7560
9144
|
switch (field) {
|
|
7561
9145
|
case 1:
|
|
7562
9146
|
var value = /** @type {string} */ (reader.readString());
|
|
7563
|
-
msg.
|
|
9147
|
+
msg.setName(value);
|
|
7564
9148
|
break;
|
|
7565
9149
|
case 2:
|
|
7566
9150
|
var value = new proto.ondewo.nlu.SessionReviewStep;
|
|
@@ -7596,7 +9180,7 @@ proto.ondewo.nlu.SessionReview.prototype.serializeBinary = function() {
|
|
|
7596
9180
|
*/
|
|
7597
9181
|
proto.ondewo.nlu.SessionReview.serializeBinaryToWriter = function(message, writer) {
|
|
7598
9182
|
var f = undefined;
|
|
7599
|
-
f = message.
|
|
9183
|
+
f = message.getName();
|
|
7600
9184
|
if (f.length > 0) {
|
|
7601
9185
|
writer.writeString(
|
|
7602
9186
|
1,
|
|
@@ -7624,10 +9208,10 @@ proto.ondewo.nlu.SessionReview.View = {
|
|
|
7624
9208
|
};
|
|
7625
9209
|
|
|
7626
9210
|
/**
|
|
7627
|
-
* optional string
|
|
9211
|
+
* optional string name = 1;
|
|
7628
9212
|
* @return {string}
|
|
7629
9213
|
*/
|
|
7630
|
-
proto.ondewo.nlu.SessionReview.prototype.
|
|
9214
|
+
proto.ondewo.nlu.SessionReview.prototype.getName = function() {
|
|
7631
9215
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
7632
9216
|
};
|
|
7633
9217
|
|
|
@@ -7636,7 +9220,7 @@ proto.ondewo.nlu.SessionReview.prototype.getSessionReviewId = function() {
|
|
|
7636
9220
|
* @param {string} value
|
|
7637
9221
|
* @return {!proto.ondewo.nlu.SessionReview} returns this
|
|
7638
9222
|
*/
|
|
7639
|
-
proto.ondewo.nlu.SessionReview.prototype.
|
|
9223
|
+
proto.ondewo.nlu.SessionReview.prototype.setName = function(value) {
|
|
7640
9224
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
7641
9225
|
};
|
|
7642
9226
|
|
|
@@ -7685,7 +9269,7 @@ proto.ondewo.nlu.SessionReview.prototype.clearSessionReviewStepsList = function(
|
|
|
7685
9269
|
* @private {!Array<number>}
|
|
7686
9270
|
* @const
|
|
7687
9271
|
*/
|
|
7688
|
-
proto.ondewo.nlu.SessionReviewStep.repeatedFields_ = [
|
|
9272
|
+
proto.ondewo.nlu.SessionReviewStep.repeatedFields_ = [4,5,6];
|
|
7689
9273
|
|
|
7690
9274
|
|
|
7691
9275
|
|
|
@@ -7718,8 +9302,9 @@ proto.ondewo.nlu.SessionReviewStep.prototype.toObject = function(opt_includeInst
|
|
|
7718
9302
|
*/
|
|
7719
9303
|
proto.ondewo.nlu.SessionReviewStep.toObject = function(includeInstance, msg) {
|
|
7720
9304
|
var f, obj = {
|
|
9305
|
+
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
7721
9306
|
annotatedUsersays: (f = msg.getAnnotatedUsersays()) && ondewo_nlu_intent_pb.Intent.TrainingPhrase.toObject(includeInstance, f),
|
|
7722
|
-
languageCode: jspb.Message.getFieldWithDefault(msg,
|
|
9307
|
+
languageCode: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
7723
9308
|
detectedIntentsList: jspb.Message.toObjectList(msg.getDetectedIntentsList(),
|
|
7724
9309
|
proto.ondewo.nlu.DetectedIntent.toObject, includeInstance),
|
|
7725
9310
|
contextsList: jspb.Message.toObjectList(msg.getContextsList(),
|
|
@@ -7763,25 +9348,29 @@ proto.ondewo.nlu.SessionReviewStep.deserializeBinaryFromReader = function(msg, r
|
|
|
7763
9348
|
var field = reader.getFieldNumber();
|
|
7764
9349
|
switch (field) {
|
|
7765
9350
|
case 1:
|
|
9351
|
+
var value = /** @type {string} */ (reader.readString());
|
|
9352
|
+
msg.setName(value);
|
|
9353
|
+
break;
|
|
9354
|
+
case 2:
|
|
7766
9355
|
var value = new ondewo_nlu_intent_pb.Intent.TrainingPhrase;
|
|
7767
9356
|
reader.readMessage(value,ondewo_nlu_intent_pb.Intent.TrainingPhrase.deserializeBinaryFromReader);
|
|
7768
9357
|
msg.setAnnotatedUsersays(value);
|
|
7769
9358
|
break;
|
|
7770
|
-
case
|
|
9359
|
+
case 3:
|
|
7771
9360
|
var value = /** @type {string} */ (reader.readString());
|
|
7772
9361
|
msg.setLanguageCode(value);
|
|
7773
9362
|
break;
|
|
7774
|
-
case
|
|
9363
|
+
case 4:
|
|
7775
9364
|
var value = new proto.ondewo.nlu.DetectedIntent;
|
|
7776
9365
|
reader.readMessage(value,proto.ondewo.nlu.DetectedIntent.deserializeBinaryFromReader);
|
|
7777
9366
|
msg.addDetectedIntents(value);
|
|
7778
9367
|
break;
|
|
7779
|
-
case
|
|
9368
|
+
case 5:
|
|
7780
9369
|
var value = new ondewo_nlu_context_pb.Context;
|
|
7781
9370
|
reader.readMessage(value,ondewo_nlu_context_pb.Context.deserializeBinaryFromReader);
|
|
7782
9371
|
msg.addContexts(value);
|
|
7783
9372
|
break;
|
|
7784
|
-
case
|
|
9373
|
+
case 6:
|
|
7785
9374
|
var value = new ondewo_nlu_context_pb.Context;
|
|
7786
9375
|
reader.readMessage(value,ondewo_nlu_context_pb.Context.deserializeBinaryFromReader);
|
|
7787
9376
|
msg.addContextsOut(value);
|
|
@@ -7815,10 +9404,17 @@ proto.ondewo.nlu.SessionReviewStep.prototype.serializeBinary = function() {
|
|
|
7815
9404
|
*/
|
|
7816
9405
|
proto.ondewo.nlu.SessionReviewStep.serializeBinaryToWriter = function(message, writer) {
|
|
7817
9406
|
var f = undefined;
|
|
9407
|
+
f = message.getName();
|
|
9408
|
+
if (f.length > 0) {
|
|
9409
|
+
writer.writeString(
|
|
9410
|
+
1,
|
|
9411
|
+
f
|
|
9412
|
+
);
|
|
9413
|
+
}
|
|
7818
9414
|
f = message.getAnnotatedUsersays();
|
|
7819
9415
|
if (f != null) {
|
|
7820
9416
|
writer.writeMessage(
|
|
7821
|
-
|
|
9417
|
+
2,
|
|
7822
9418
|
f,
|
|
7823
9419
|
ondewo_nlu_intent_pb.Intent.TrainingPhrase.serializeBinaryToWriter
|
|
7824
9420
|
);
|
|
@@ -7826,14 +9422,14 @@ proto.ondewo.nlu.SessionReviewStep.serializeBinaryToWriter = function(message, w
|
|
|
7826
9422
|
f = message.getLanguageCode();
|
|
7827
9423
|
if (f.length > 0) {
|
|
7828
9424
|
writer.writeString(
|
|
7829
|
-
|
|
9425
|
+
3,
|
|
7830
9426
|
f
|
|
7831
9427
|
);
|
|
7832
9428
|
}
|
|
7833
9429
|
f = message.getDetectedIntentsList();
|
|
7834
9430
|
if (f.length > 0) {
|
|
7835
9431
|
writer.writeRepeatedMessage(
|
|
7836
|
-
|
|
9432
|
+
4,
|
|
7837
9433
|
f,
|
|
7838
9434
|
proto.ondewo.nlu.DetectedIntent.serializeBinaryToWriter
|
|
7839
9435
|
);
|
|
@@ -7841,7 +9437,7 @@ proto.ondewo.nlu.SessionReviewStep.serializeBinaryToWriter = function(message, w
|
|
|
7841
9437
|
f = message.getContextsList();
|
|
7842
9438
|
if (f.length > 0) {
|
|
7843
9439
|
writer.writeRepeatedMessage(
|
|
7844
|
-
|
|
9440
|
+
5,
|
|
7845
9441
|
f,
|
|
7846
9442
|
ondewo_nlu_context_pb.Context.serializeBinaryToWriter
|
|
7847
9443
|
);
|
|
@@ -7849,7 +9445,7 @@ proto.ondewo.nlu.SessionReviewStep.serializeBinaryToWriter = function(message, w
|
|
|
7849
9445
|
f = message.getContextsOutList();
|
|
7850
9446
|
if (f.length > 0) {
|
|
7851
9447
|
writer.writeRepeatedMessage(
|
|
7852
|
-
|
|
9448
|
+
6,
|
|
7853
9449
|
f,
|
|
7854
9450
|
ondewo_nlu_context_pb.Context.serializeBinaryToWriter
|
|
7855
9451
|
);
|
|
@@ -7858,12 +9454,30 @@ proto.ondewo.nlu.SessionReviewStep.serializeBinaryToWriter = function(message, w
|
|
|
7858
9454
|
|
|
7859
9455
|
|
|
7860
9456
|
/**
|
|
7861
|
-
* optional
|
|
9457
|
+
* optional string name = 1;
|
|
9458
|
+
* @return {string}
|
|
9459
|
+
*/
|
|
9460
|
+
proto.ondewo.nlu.SessionReviewStep.prototype.getName = function() {
|
|
9461
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
9462
|
+
};
|
|
9463
|
+
|
|
9464
|
+
|
|
9465
|
+
/**
|
|
9466
|
+
* @param {string} value
|
|
9467
|
+
* @return {!proto.ondewo.nlu.SessionReviewStep} returns this
|
|
9468
|
+
*/
|
|
9469
|
+
proto.ondewo.nlu.SessionReviewStep.prototype.setName = function(value) {
|
|
9470
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
9471
|
+
};
|
|
9472
|
+
|
|
9473
|
+
|
|
9474
|
+
/**
|
|
9475
|
+
* optional Intent.TrainingPhrase annotated_usersays = 2;
|
|
7862
9476
|
* @return {?proto.ondewo.nlu.Intent.TrainingPhrase}
|
|
7863
9477
|
*/
|
|
7864
9478
|
proto.ondewo.nlu.SessionReviewStep.prototype.getAnnotatedUsersays = function() {
|
|
7865
9479
|
return /** @type{?proto.ondewo.nlu.Intent.TrainingPhrase} */ (
|
|
7866
|
-
jspb.Message.getWrapperField(this, ondewo_nlu_intent_pb.Intent.TrainingPhrase,
|
|
9480
|
+
jspb.Message.getWrapperField(this, ondewo_nlu_intent_pb.Intent.TrainingPhrase, 2));
|
|
7867
9481
|
};
|
|
7868
9482
|
|
|
7869
9483
|
|
|
@@ -7872,7 +9486,7 @@ proto.ondewo.nlu.SessionReviewStep.prototype.getAnnotatedUsersays = function() {
|
|
|
7872
9486
|
* @return {!proto.ondewo.nlu.SessionReviewStep} returns this
|
|
7873
9487
|
*/
|
|
7874
9488
|
proto.ondewo.nlu.SessionReviewStep.prototype.setAnnotatedUsersays = function(value) {
|
|
7875
|
-
return jspb.Message.setWrapperField(this,
|
|
9489
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
7876
9490
|
};
|
|
7877
9491
|
|
|
7878
9492
|
|
|
@@ -7890,16 +9504,16 @@ proto.ondewo.nlu.SessionReviewStep.prototype.clearAnnotatedUsersays = function()
|
|
|
7890
9504
|
* @return {boolean}
|
|
7891
9505
|
*/
|
|
7892
9506
|
proto.ondewo.nlu.SessionReviewStep.prototype.hasAnnotatedUsersays = function() {
|
|
7893
|
-
return jspb.Message.getField(this,
|
|
9507
|
+
return jspb.Message.getField(this, 2) != null;
|
|
7894
9508
|
};
|
|
7895
9509
|
|
|
7896
9510
|
|
|
7897
9511
|
/**
|
|
7898
|
-
* optional string language_code =
|
|
9512
|
+
* optional string language_code = 3;
|
|
7899
9513
|
* @return {string}
|
|
7900
9514
|
*/
|
|
7901
9515
|
proto.ondewo.nlu.SessionReviewStep.prototype.getLanguageCode = function() {
|
|
7902
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
9516
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
7903
9517
|
};
|
|
7904
9518
|
|
|
7905
9519
|
|
|
@@ -7908,17 +9522,17 @@ proto.ondewo.nlu.SessionReviewStep.prototype.getLanguageCode = function() {
|
|
|
7908
9522
|
* @return {!proto.ondewo.nlu.SessionReviewStep} returns this
|
|
7909
9523
|
*/
|
|
7910
9524
|
proto.ondewo.nlu.SessionReviewStep.prototype.setLanguageCode = function(value) {
|
|
7911
|
-
return jspb.Message.setProto3StringField(this,
|
|
9525
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
7912
9526
|
};
|
|
7913
9527
|
|
|
7914
9528
|
|
|
7915
9529
|
/**
|
|
7916
|
-
* repeated DetectedIntent detected_intents =
|
|
9530
|
+
* repeated DetectedIntent detected_intents = 4;
|
|
7917
9531
|
* @return {!Array<!proto.ondewo.nlu.DetectedIntent>}
|
|
7918
9532
|
*/
|
|
7919
9533
|
proto.ondewo.nlu.SessionReviewStep.prototype.getDetectedIntentsList = function() {
|
|
7920
9534
|
return /** @type{!Array<!proto.ondewo.nlu.DetectedIntent>} */ (
|
|
7921
|
-
jspb.Message.getRepeatedWrapperField(this, proto.ondewo.nlu.DetectedIntent,
|
|
9535
|
+
jspb.Message.getRepeatedWrapperField(this, proto.ondewo.nlu.DetectedIntent, 4));
|
|
7922
9536
|
};
|
|
7923
9537
|
|
|
7924
9538
|
|
|
@@ -7927,7 +9541,7 @@ proto.ondewo.nlu.SessionReviewStep.prototype.getDetectedIntentsList = function()
|
|
|
7927
9541
|
* @return {!proto.ondewo.nlu.SessionReviewStep} returns this
|
|
7928
9542
|
*/
|
|
7929
9543
|
proto.ondewo.nlu.SessionReviewStep.prototype.setDetectedIntentsList = function(value) {
|
|
7930
|
-
return jspb.Message.setRepeatedWrapperField(this,
|
|
9544
|
+
return jspb.Message.setRepeatedWrapperField(this, 4, value);
|
|
7931
9545
|
};
|
|
7932
9546
|
|
|
7933
9547
|
|
|
@@ -7937,7 +9551,7 @@ proto.ondewo.nlu.SessionReviewStep.prototype.setDetectedIntentsList = function(v
|
|
|
7937
9551
|
* @return {!proto.ondewo.nlu.DetectedIntent}
|
|
7938
9552
|
*/
|
|
7939
9553
|
proto.ondewo.nlu.SessionReviewStep.prototype.addDetectedIntents = function(opt_value, opt_index) {
|
|
7940
|
-
return jspb.Message.addToRepeatedWrapperField(this,
|
|
9554
|
+
return jspb.Message.addToRepeatedWrapperField(this, 4, opt_value, proto.ondewo.nlu.DetectedIntent, opt_index);
|
|
7941
9555
|
};
|
|
7942
9556
|
|
|
7943
9557
|
|
|
@@ -7951,12 +9565,12 @@ proto.ondewo.nlu.SessionReviewStep.prototype.clearDetectedIntentsList = function
|
|
|
7951
9565
|
|
|
7952
9566
|
|
|
7953
9567
|
/**
|
|
7954
|
-
* repeated Context contexts =
|
|
9568
|
+
* repeated Context contexts = 5;
|
|
7955
9569
|
* @return {!Array<!proto.ondewo.nlu.Context>}
|
|
7956
9570
|
*/
|
|
7957
9571
|
proto.ondewo.nlu.SessionReviewStep.prototype.getContextsList = function() {
|
|
7958
9572
|
return /** @type{!Array<!proto.ondewo.nlu.Context>} */ (
|
|
7959
|
-
jspb.Message.getRepeatedWrapperField(this, ondewo_nlu_context_pb.Context,
|
|
9573
|
+
jspb.Message.getRepeatedWrapperField(this, ondewo_nlu_context_pb.Context, 5));
|
|
7960
9574
|
};
|
|
7961
9575
|
|
|
7962
9576
|
|
|
@@ -7965,7 +9579,7 @@ proto.ondewo.nlu.SessionReviewStep.prototype.getContextsList = function() {
|
|
|
7965
9579
|
* @return {!proto.ondewo.nlu.SessionReviewStep} returns this
|
|
7966
9580
|
*/
|
|
7967
9581
|
proto.ondewo.nlu.SessionReviewStep.prototype.setContextsList = function(value) {
|
|
7968
|
-
return jspb.Message.setRepeatedWrapperField(this,
|
|
9582
|
+
return jspb.Message.setRepeatedWrapperField(this, 5, value);
|
|
7969
9583
|
};
|
|
7970
9584
|
|
|
7971
9585
|
|
|
@@ -7975,7 +9589,7 @@ proto.ondewo.nlu.SessionReviewStep.prototype.setContextsList = function(value) {
|
|
|
7975
9589
|
* @return {!proto.ondewo.nlu.Context}
|
|
7976
9590
|
*/
|
|
7977
9591
|
proto.ondewo.nlu.SessionReviewStep.prototype.addContexts = function(opt_value, opt_index) {
|
|
7978
|
-
return jspb.Message.addToRepeatedWrapperField(this,
|
|
9592
|
+
return jspb.Message.addToRepeatedWrapperField(this, 5, opt_value, proto.ondewo.nlu.Context, opt_index);
|
|
7979
9593
|
};
|
|
7980
9594
|
|
|
7981
9595
|
|
|
@@ -7989,12 +9603,12 @@ proto.ondewo.nlu.SessionReviewStep.prototype.clearContextsList = function() {
|
|
|
7989
9603
|
|
|
7990
9604
|
|
|
7991
9605
|
/**
|
|
7992
|
-
* repeated Context contexts_out =
|
|
9606
|
+
* repeated Context contexts_out = 6;
|
|
7993
9607
|
* @return {!Array<!proto.ondewo.nlu.Context>}
|
|
7994
9608
|
*/
|
|
7995
9609
|
proto.ondewo.nlu.SessionReviewStep.prototype.getContextsOutList = function() {
|
|
7996
9610
|
return /** @type{!Array<!proto.ondewo.nlu.Context>} */ (
|
|
7997
|
-
jspb.Message.getRepeatedWrapperField(this, ondewo_nlu_context_pb.Context,
|
|
9611
|
+
jspb.Message.getRepeatedWrapperField(this, ondewo_nlu_context_pb.Context, 6));
|
|
7998
9612
|
};
|
|
7999
9613
|
|
|
8000
9614
|
|
|
@@ -8003,7 +9617,7 @@ proto.ondewo.nlu.SessionReviewStep.prototype.getContextsOutList = function() {
|
|
|
8003
9617
|
* @return {!proto.ondewo.nlu.SessionReviewStep} returns this
|
|
8004
9618
|
*/
|
|
8005
9619
|
proto.ondewo.nlu.SessionReviewStep.prototype.setContextsOutList = function(value) {
|
|
8006
|
-
return jspb.Message.setRepeatedWrapperField(this,
|
|
9620
|
+
return jspb.Message.setRepeatedWrapperField(this, 6, value);
|
|
8007
9621
|
};
|
|
8008
9622
|
|
|
8009
9623
|
|
|
@@ -8013,7 +9627,7 @@ proto.ondewo.nlu.SessionReviewStep.prototype.setContextsOutList = function(value
|
|
|
8013
9627
|
* @return {!proto.ondewo.nlu.Context}
|
|
8014
9628
|
*/
|
|
8015
9629
|
proto.ondewo.nlu.SessionReviewStep.prototype.addContextsOut = function(opt_value, opt_index) {
|
|
8016
|
-
return jspb.Message.addToRepeatedWrapperField(this,
|
|
9630
|
+
return jspb.Message.addToRepeatedWrapperField(this, 6, opt_value, proto.ondewo.nlu.Context, opt_index);
|
|
8017
9631
|
};
|
|
8018
9632
|
|
|
8019
9633
|
|
|
@@ -8359,7 +9973,7 @@ proto.ondewo.nlu.ListSessionLabelsRequest.prototype.toObject = function(opt_incl
|
|
|
8359
9973
|
*/
|
|
8360
9974
|
proto.ondewo.nlu.ListSessionLabelsRequest.toObject = function(includeInstance, msg) {
|
|
8361
9975
|
var f, obj = {
|
|
8362
|
-
|
|
9976
|
+
sessionId: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
8363
9977
|
};
|
|
8364
9978
|
|
|
8365
9979
|
if (includeInstance) {
|
|
@@ -8398,7 +10012,7 @@ proto.ondewo.nlu.ListSessionLabelsRequest.deserializeBinaryFromReader = function
|
|
|
8398
10012
|
switch (field) {
|
|
8399
10013
|
case 1:
|
|
8400
10014
|
var value = /** @type {string} */ (reader.readString());
|
|
8401
|
-
msg.
|
|
10015
|
+
msg.setSessionId(value);
|
|
8402
10016
|
break;
|
|
8403
10017
|
default:
|
|
8404
10018
|
reader.skipField();
|
|
@@ -8428,6 +10042,136 @@ proto.ondewo.nlu.ListSessionLabelsRequest.prototype.serializeBinary = function()
|
|
|
8428
10042
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
8429
10043
|
*/
|
|
8430
10044
|
proto.ondewo.nlu.ListSessionLabelsRequest.serializeBinaryToWriter = function(message, writer) {
|
|
10045
|
+
var f = undefined;
|
|
10046
|
+
f = message.getSessionId();
|
|
10047
|
+
if (f.length > 0) {
|
|
10048
|
+
writer.writeString(
|
|
10049
|
+
1,
|
|
10050
|
+
f
|
|
10051
|
+
);
|
|
10052
|
+
}
|
|
10053
|
+
};
|
|
10054
|
+
|
|
10055
|
+
|
|
10056
|
+
/**
|
|
10057
|
+
* optional string session_id = 1;
|
|
10058
|
+
* @return {string}
|
|
10059
|
+
*/
|
|
10060
|
+
proto.ondewo.nlu.ListSessionLabelsRequest.prototype.getSessionId = function() {
|
|
10061
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
10062
|
+
};
|
|
10063
|
+
|
|
10064
|
+
|
|
10065
|
+
/**
|
|
10066
|
+
* @param {string} value
|
|
10067
|
+
* @return {!proto.ondewo.nlu.ListSessionLabelsRequest} returns this
|
|
10068
|
+
*/
|
|
10069
|
+
proto.ondewo.nlu.ListSessionLabelsRequest.prototype.setSessionId = function(value) {
|
|
10070
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
10071
|
+
};
|
|
10072
|
+
|
|
10073
|
+
|
|
10074
|
+
|
|
10075
|
+
|
|
10076
|
+
|
|
10077
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
10078
|
+
/**
|
|
10079
|
+
* Creates an object representation of this proto.
|
|
10080
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
10081
|
+
* Optional fields that are not set will be set to undefined.
|
|
10082
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
10083
|
+
* For the list of reserved names please see:
|
|
10084
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
10085
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
10086
|
+
* JSPB instance for transitional soy proto support:
|
|
10087
|
+
* http://goto/soy-param-migration
|
|
10088
|
+
* @return {!Object}
|
|
10089
|
+
*/
|
|
10090
|
+
proto.ondewo.nlu.ListSessionLabelsOfAllSessionsRequest.prototype.toObject = function(opt_includeInstance) {
|
|
10091
|
+
return proto.ondewo.nlu.ListSessionLabelsOfAllSessionsRequest.toObject(opt_includeInstance, this);
|
|
10092
|
+
};
|
|
10093
|
+
|
|
10094
|
+
|
|
10095
|
+
/**
|
|
10096
|
+
* Static version of the {@see toObject} method.
|
|
10097
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
10098
|
+
* the JSPB instance for transitional soy proto support:
|
|
10099
|
+
* http://goto/soy-param-migration
|
|
10100
|
+
* @param {!proto.ondewo.nlu.ListSessionLabelsOfAllSessionsRequest} msg The msg instance to transform.
|
|
10101
|
+
* @return {!Object}
|
|
10102
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
10103
|
+
*/
|
|
10104
|
+
proto.ondewo.nlu.ListSessionLabelsOfAllSessionsRequest.toObject = function(includeInstance, msg) {
|
|
10105
|
+
var f, obj = {
|
|
10106
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
10107
|
+
};
|
|
10108
|
+
|
|
10109
|
+
if (includeInstance) {
|
|
10110
|
+
obj.$jspbMessageInstance = msg;
|
|
10111
|
+
}
|
|
10112
|
+
return obj;
|
|
10113
|
+
};
|
|
10114
|
+
}
|
|
10115
|
+
|
|
10116
|
+
|
|
10117
|
+
/**
|
|
10118
|
+
* Deserializes binary data (in protobuf wire format).
|
|
10119
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
10120
|
+
* @return {!proto.ondewo.nlu.ListSessionLabelsOfAllSessionsRequest}
|
|
10121
|
+
*/
|
|
10122
|
+
proto.ondewo.nlu.ListSessionLabelsOfAllSessionsRequest.deserializeBinary = function(bytes) {
|
|
10123
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
10124
|
+
var msg = new proto.ondewo.nlu.ListSessionLabelsOfAllSessionsRequest;
|
|
10125
|
+
return proto.ondewo.nlu.ListSessionLabelsOfAllSessionsRequest.deserializeBinaryFromReader(msg, reader);
|
|
10126
|
+
};
|
|
10127
|
+
|
|
10128
|
+
|
|
10129
|
+
/**
|
|
10130
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
10131
|
+
* given reader into the given message object.
|
|
10132
|
+
* @param {!proto.ondewo.nlu.ListSessionLabelsOfAllSessionsRequest} msg The message object to deserialize into.
|
|
10133
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
10134
|
+
* @return {!proto.ondewo.nlu.ListSessionLabelsOfAllSessionsRequest}
|
|
10135
|
+
*/
|
|
10136
|
+
proto.ondewo.nlu.ListSessionLabelsOfAllSessionsRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
10137
|
+
while (reader.nextField()) {
|
|
10138
|
+
if (reader.isEndGroup()) {
|
|
10139
|
+
break;
|
|
10140
|
+
}
|
|
10141
|
+
var field = reader.getFieldNumber();
|
|
10142
|
+
switch (field) {
|
|
10143
|
+
case 1:
|
|
10144
|
+
var value = /** @type {string} */ (reader.readString());
|
|
10145
|
+
msg.setParent(value);
|
|
10146
|
+
break;
|
|
10147
|
+
default:
|
|
10148
|
+
reader.skipField();
|
|
10149
|
+
break;
|
|
10150
|
+
}
|
|
10151
|
+
}
|
|
10152
|
+
return msg;
|
|
10153
|
+
};
|
|
10154
|
+
|
|
10155
|
+
|
|
10156
|
+
/**
|
|
10157
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
10158
|
+
* @return {!Uint8Array}
|
|
10159
|
+
*/
|
|
10160
|
+
proto.ondewo.nlu.ListSessionLabelsOfAllSessionsRequest.prototype.serializeBinary = function() {
|
|
10161
|
+
var writer = new jspb.BinaryWriter();
|
|
10162
|
+
proto.ondewo.nlu.ListSessionLabelsOfAllSessionsRequest.serializeBinaryToWriter(this, writer);
|
|
10163
|
+
return writer.getResultBuffer();
|
|
10164
|
+
};
|
|
10165
|
+
|
|
10166
|
+
|
|
10167
|
+
/**
|
|
10168
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
10169
|
+
* format), writing to the given BinaryWriter.
|
|
10170
|
+
* @param {!proto.ondewo.nlu.ListSessionLabelsOfAllSessionsRequest} message
|
|
10171
|
+
* @param {!jspb.BinaryWriter} writer
|
|
10172
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
10173
|
+
*/
|
|
10174
|
+
proto.ondewo.nlu.ListSessionLabelsOfAllSessionsRequest.serializeBinaryToWriter = function(message, writer) {
|
|
8431
10175
|
var f = undefined;
|
|
8432
10176
|
f = message.getParent();
|
|
8433
10177
|
if (f.length > 0) {
|
|
@@ -8443,16 +10187,16 @@ proto.ondewo.nlu.ListSessionLabelsRequest.serializeBinaryToWriter = function(mes
|
|
|
8443
10187
|
* optional string parent = 1;
|
|
8444
10188
|
* @return {string}
|
|
8445
10189
|
*/
|
|
8446
|
-
proto.ondewo.nlu.
|
|
10190
|
+
proto.ondewo.nlu.ListSessionLabelsOfAllSessionsRequest.prototype.getParent = function() {
|
|
8447
10191
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
8448
10192
|
};
|
|
8449
10193
|
|
|
8450
10194
|
|
|
8451
10195
|
/**
|
|
8452
10196
|
* @param {string} value
|
|
8453
|
-
* @return {!proto.ondewo.nlu.
|
|
10197
|
+
* @return {!proto.ondewo.nlu.ListSessionLabelsOfAllSessionsRequest} returns this
|
|
8454
10198
|
*/
|
|
8455
|
-
proto.ondewo.nlu.
|
|
10199
|
+
proto.ondewo.nlu.ListSessionLabelsOfAllSessionsRequest.prototype.setParent = function(value) {
|
|
8456
10200
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
8457
10201
|
};
|
|
8458
10202
|
|
|
@@ -8653,8 +10397,7 @@ proto.ondewo.nlu.AddSessionLabelsRequest.prototype.toObject = function(opt_inclu
|
|
|
8653
10397
|
proto.ondewo.nlu.AddSessionLabelsRequest.toObject = function(includeInstance, msg) {
|
|
8654
10398
|
var f, obj = {
|
|
8655
10399
|
sessionId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
8656
|
-
labelsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f
|
|
8657
|
-
sessionView: jspb.Message.getFieldWithDefault(msg, 3, 0)
|
|
10400
|
+
labelsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f
|
|
8658
10401
|
};
|
|
8659
10402
|
|
|
8660
10403
|
if (includeInstance) {
|
|
@@ -8699,10 +10442,6 @@ proto.ondewo.nlu.AddSessionLabelsRequest.deserializeBinaryFromReader = function(
|
|
|
8699
10442
|
var value = /** @type {string} */ (reader.readString());
|
|
8700
10443
|
msg.addLabels(value);
|
|
8701
10444
|
break;
|
|
8702
|
-
case 3:
|
|
8703
|
-
var value = /** @type {!proto.ondewo.nlu.Session.View} */ (reader.readEnum());
|
|
8704
|
-
msg.setSessionView(value);
|
|
8705
|
-
break;
|
|
8706
10445
|
default:
|
|
8707
10446
|
reader.skipField();
|
|
8708
10447
|
break;
|
|
@@ -8746,13 +10485,6 @@ proto.ondewo.nlu.AddSessionLabelsRequest.serializeBinaryToWriter = function(mess
|
|
|
8746
10485
|
f
|
|
8747
10486
|
);
|
|
8748
10487
|
}
|
|
8749
|
-
f = message.getSessionView();
|
|
8750
|
-
if (f !== 0.0) {
|
|
8751
|
-
writer.writeEnum(
|
|
8752
|
-
3,
|
|
8753
|
-
f
|
|
8754
|
-
);
|
|
8755
|
-
}
|
|
8756
10488
|
};
|
|
8757
10489
|
|
|
8758
10490
|
|
|
@@ -8811,31 +10543,13 @@ proto.ondewo.nlu.AddSessionLabelsRequest.prototype.clearLabelsList = function()
|
|
|
8811
10543
|
};
|
|
8812
10544
|
|
|
8813
10545
|
|
|
8814
|
-
/**
|
|
8815
|
-
* optional Session.View session_view = 3;
|
|
8816
|
-
* @return {!proto.ondewo.nlu.Session.View}
|
|
8817
|
-
*/
|
|
8818
|
-
proto.ondewo.nlu.AddSessionLabelsRequest.prototype.getSessionView = function() {
|
|
8819
|
-
return /** @type {!proto.ondewo.nlu.Session.View} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
8820
|
-
};
|
|
8821
|
-
|
|
8822
|
-
|
|
8823
|
-
/**
|
|
8824
|
-
* @param {!proto.ondewo.nlu.Session.View} value
|
|
8825
|
-
* @return {!proto.ondewo.nlu.AddSessionLabelsRequest} returns this
|
|
8826
|
-
*/
|
|
8827
|
-
proto.ondewo.nlu.AddSessionLabelsRequest.prototype.setSessionView = function(value) {
|
|
8828
|
-
return jspb.Message.setProto3EnumField(this, 3, value);
|
|
8829
|
-
};
|
|
8830
|
-
|
|
8831
|
-
|
|
8832
10546
|
|
|
8833
10547
|
/**
|
|
8834
10548
|
* List of repeated fields within this message type.
|
|
8835
10549
|
* @private {!Array<number>}
|
|
8836
10550
|
* @const
|
|
8837
10551
|
*/
|
|
8838
|
-
proto.ondewo.nlu.
|
|
10552
|
+
proto.ondewo.nlu.DeleteSessionLabelsRequest.repeatedFields_ = [2];
|
|
8839
10553
|
|
|
8840
10554
|
|
|
8841
10555
|
|
|
@@ -8852,8 +10566,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
8852
10566
|
* http://goto/soy-param-migration
|
|
8853
10567
|
* @return {!Object}
|
|
8854
10568
|
*/
|
|
8855
|
-
proto.ondewo.nlu.
|
|
8856
|
-
return proto.ondewo.nlu.
|
|
10569
|
+
proto.ondewo.nlu.DeleteSessionLabelsRequest.prototype.toObject = function(opt_includeInstance) {
|
|
10570
|
+
return proto.ondewo.nlu.DeleteSessionLabelsRequest.toObject(opt_includeInstance, this);
|
|
8857
10571
|
};
|
|
8858
10572
|
|
|
8859
10573
|
|
|
@@ -8862,15 +10576,14 @@ proto.ondewo.nlu.RemoveSessionLabelsRequest.prototype.toObject = function(opt_in
|
|
|
8862
10576
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
8863
10577
|
* the JSPB instance for transitional soy proto support:
|
|
8864
10578
|
* http://goto/soy-param-migration
|
|
8865
|
-
* @param {!proto.ondewo.nlu.
|
|
10579
|
+
* @param {!proto.ondewo.nlu.DeleteSessionLabelsRequest} msg The msg instance to transform.
|
|
8866
10580
|
* @return {!Object}
|
|
8867
10581
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
8868
10582
|
*/
|
|
8869
|
-
proto.ondewo.nlu.
|
|
10583
|
+
proto.ondewo.nlu.DeleteSessionLabelsRequest.toObject = function(includeInstance, msg) {
|
|
8870
10584
|
var f, obj = {
|
|
8871
10585
|
sessionId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
8872
|
-
labelsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f
|
|
8873
|
-
sessionView: jspb.Message.getFieldWithDefault(msg, 3, 0)
|
|
10586
|
+
labelsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f
|
|
8874
10587
|
};
|
|
8875
10588
|
|
|
8876
10589
|
if (includeInstance) {
|
|
@@ -8884,23 +10597,23 @@ proto.ondewo.nlu.RemoveSessionLabelsRequest.toObject = function(includeInstance,
|
|
|
8884
10597
|
/**
|
|
8885
10598
|
* Deserializes binary data (in protobuf wire format).
|
|
8886
10599
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
8887
|
-
* @return {!proto.ondewo.nlu.
|
|
10600
|
+
* @return {!proto.ondewo.nlu.DeleteSessionLabelsRequest}
|
|
8888
10601
|
*/
|
|
8889
|
-
proto.ondewo.nlu.
|
|
10602
|
+
proto.ondewo.nlu.DeleteSessionLabelsRequest.deserializeBinary = function(bytes) {
|
|
8890
10603
|
var reader = new jspb.BinaryReader(bytes);
|
|
8891
|
-
var msg = new proto.ondewo.nlu.
|
|
8892
|
-
return proto.ondewo.nlu.
|
|
10604
|
+
var msg = new proto.ondewo.nlu.DeleteSessionLabelsRequest;
|
|
10605
|
+
return proto.ondewo.nlu.DeleteSessionLabelsRequest.deserializeBinaryFromReader(msg, reader);
|
|
8893
10606
|
};
|
|
8894
10607
|
|
|
8895
10608
|
|
|
8896
10609
|
/**
|
|
8897
10610
|
* Deserializes binary data (in protobuf wire format) from the
|
|
8898
10611
|
* given reader into the given message object.
|
|
8899
|
-
* @param {!proto.ondewo.nlu.
|
|
10612
|
+
* @param {!proto.ondewo.nlu.DeleteSessionLabelsRequest} msg The message object to deserialize into.
|
|
8900
10613
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
8901
|
-
* @return {!proto.ondewo.nlu.
|
|
10614
|
+
* @return {!proto.ondewo.nlu.DeleteSessionLabelsRequest}
|
|
8902
10615
|
*/
|
|
8903
|
-
proto.ondewo.nlu.
|
|
10616
|
+
proto.ondewo.nlu.DeleteSessionLabelsRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
8904
10617
|
while (reader.nextField()) {
|
|
8905
10618
|
if (reader.isEndGroup()) {
|
|
8906
10619
|
break;
|
|
@@ -8915,10 +10628,6 @@ proto.ondewo.nlu.RemoveSessionLabelsRequest.deserializeBinaryFromReader = functi
|
|
|
8915
10628
|
var value = /** @type {string} */ (reader.readString());
|
|
8916
10629
|
msg.addLabels(value);
|
|
8917
10630
|
break;
|
|
8918
|
-
case 3:
|
|
8919
|
-
var value = /** @type {!proto.ondewo.nlu.Session.View} */ (reader.readEnum());
|
|
8920
|
-
msg.setSessionView(value);
|
|
8921
|
-
break;
|
|
8922
10631
|
default:
|
|
8923
10632
|
reader.skipField();
|
|
8924
10633
|
break;
|
|
@@ -8932,9 +10641,9 @@ proto.ondewo.nlu.RemoveSessionLabelsRequest.deserializeBinaryFromReader = functi
|
|
|
8932
10641
|
* Serializes the message to binary data (in protobuf wire format).
|
|
8933
10642
|
* @return {!Uint8Array}
|
|
8934
10643
|
*/
|
|
8935
|
-
proto.ondewo.nlu.
|
|
10644
|
+
proto.ondewo.nlu.DeleteSessionLabelsRequest.prototype.serializeBinary = function() {
|
|
8936
10645
|
var writer = new jspb.BinaryWriter();
|
|
8937
|
-
proto.ondewo.nlu.
|
|
10646
|
+
proto.ondewo.nlu.DeleteSessionLabelsRequest.serializeBinaryToWriter(this, writer);
|
|
8938
10647
|
return writer.getResultBuffer();
|
|
8939
10648
|
};
|
|
8940
10649
|
|
|
@@ -8942,11 +10651,11 @@ proto.ondewo.nlu.RemoveSessionLabelsRequest.prototype.serializeBinary = function
|
|
|
8942
10651
|
/**
|
|
8943
10652
|
* Serializes the given message to binary data (in protobuf wire
|
|
8944
10653
|
* format), writing to the given BinaryWriter.
|
|
8945
|
-
* @param {!proto.ondewo.nlu.
|
|
10654
|
+
* @param {!proto.ondewo.nlu.DeleteSessionLabelsRequest} message
|
|
8946
10655
|
* @param {!jspb.BinaryWriter} writer
|
|
8947
10656
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
8948
10657
|
*/
|
|
8949
|
-
proto.ondewo.nlu.
|
|
10658
|
+
proto.ondewo.nlu.DeleteSessionLabelsRequest.serializeBinaryToWriter = function(message, writer) {
|
|
8950
10659
|
var f = undefined;
|
|
8951
10660
|
f = message.getSessionId();
|
|
8952
10661
|
if (f.length > 0) {
|
|
@@ -8962,13 +10671,6 @@ proto.ondewo.nlu.RemoveSessionLabelsRequest.serializeBinaryToWriter = function(m
|
|
|
8962
10671
|
f
|
|
8963
10672
|
);
|
|
8964
10673
|
}
|
|
8965
|
-
f = message.getSessionView();
|
|
8966
|
-
if (f !== 0.0) {
|
|
8967
|
-
writer.writeEnum(
|
|
8968
|
-
3,
|
|
8969
|
-
f
|
|
8970
|
-
);
|
|
8971
|
-
}
|
|
8972
10674
|
};
|
|
8973
10675
|
|
|
8974
10676
|
|
|
@@ -8976,16 +10678,16 @@ proto.ondewo.nlu.RemoveSessionLabelsRequest.serializeBinaryToWriter = function(m
|
|
|
8976
10678
|
* optional string session_id = 1;
|
|
8977
10679
|
* @return {string}
|
|
8978
10680
|
*/
|
|
8979
|
-
proto.ondewo.nlu.
|
|
10681
|
+
proto.ondewo.nlu.DeleteSessionLabelsRequest.prototype.getSessionId = function() {
|
|
8980
10682
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
8981
10683
|
};
|
|
8982
10684
|
|
|
8983
10685
|
|
|
8984
10686
|
/**
|
|
8985
10687
|
* @param {string} value
|
|
8986
|
-
* @return {!proto.ondewo.nlu.
|
|
10688
|
+
* @return {!proto.ondewo.nlu.DeleteSessionLabelsRequest} returns this
|
|
8987
10689
|
*/
|
|
8988
|
-
proto.ondewo.nlu.
|
|
10690
|
+
proto.ondewo.nlu.DeleteSessionLabelsRequest.prototype.setSessionId = function(value) {
|
|
8989
10691
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
8990
10692
|
};
|
|
8991
10693
|
|
|
@@ -8994,16 +10696,16 @@ proto.ondewo.nlu.RemoveSessionLabelsRequest.prototype.setSessionId = function(va
|
|
|
8994
10696
|
* repeated string labels = 2;
|
|
8995
10697
|
* @return {!Array<string>}
|
|
8996
10698
|
*/
|
|
8997
|
-
proto.ondewo.nlu.
|
|
10699
|
+
proto.ondewo.nlu.DeleteSessionLabelsRequest.prototype.getLabelsList = function() {
|
|
8998
10700
|
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 2));
|
|
8999
10701
|
};
|
|
9000
10702
|
|
|
9001
10703
|
|
|
9002
10704
|
/**
|
|
9003
10705
|
* @param {!Array<string>} value
|
|
9004
|
-
* @return {!proto.ondewo.nlu.
|
|
10706
|
+
* @return {!proto.ondewo.nlu.DeleteSessionLabelsRequest} returns this
|
|
9005
10707
|
*/
|
|
9006
|
-
proto.ondewo.nlu.
|
|
10708
|
+
proto.ondewo.nlu.DeleteSessionLabelsRequest.prototype.setLabelsList = function(value) {
|
|
9007
10709
|
return jspb.Message.setField(this, 2, value || []);
|
|
9008
10710
|
};
|
|
9009
10711
|
|
|
@@ -9011,40 +10713,22 @@ proto.ondewo.nlu.RemoveSessionLabelsRequest.prototype.setLabelsList = function(v
|
|
|
9011
10713
|
/**
|
|
9012
10714
|
* @param {string} value
|
|
9013
10715
|
* @param {number=} opt_index
|
|
9014
|
-
* @return {!proto.ondewo.nlu.
|
|
10716
|
+
* @return {!proto.ondewo.nlu.DeleteSessionLabelsRequest} returns this
|
|
9015
10717
|
*/
|
|
9016
|
-
proto.ondewo.nlu.
|
|
10718
|
+
proto.ondewo.nlu.DeleteSessionLabelsRequest.prototype.addLabels = function(value, opt_index) {
|
|
9017
10719
|
return jspb.Message.addToRepeatedField(this, 2, value, opt_index);
|
|
9018
10720
|
};
|
|
9019
10721
|
|
|
9020
10722
|
|
|
9021
10723
|
/**
|
|
9022
10724
|
* Clears the list making it empty but non-null.
|
|
9023
|
-
* @return {!proto.ondewo.nlu.
|
|
10725
|
+
* @return {!proto.ondewo.nlu.DeleteSessionLabelsRequest} returns this
|
|
9024
10726
|
*/
|
|
9025
|
-
proto.ondewo.nlu.
|
|
10727
|
+
proto.ondewo.nlu.DeleteSessionLabelsRequest.prototype.clearLabelsList = function() {
|
|
9026
10728
|
return this.setLabelsList([]);
|
|
9027
10729
|
};
|
|
9028
10730
|
|
|
9029
10731
|
|
|
9030
|
-
/**
|
|
9031
|
-
* optional Session.View session_view = 3;
|
|
9032
|
-
* @return {!proto.ondewo.nlu.Session.View}
|
|
9033
|
-
*/
|
|
9034
|
-
proto.ondewo.nlu.RemoveSessionLabelsRequest.prototype.getSessionView = function() {
|
|
9035
|
-
return /** @type {!proto.ondewo.nlu.Session.View} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
9036
|
-
};
|
|
9037
|
-
|
|
9038
|
-
|
|
9039
|
-
/**
|
|
9040
|
-
* @param {!proto.ondewo.nlu.Session.View} value
|
|
9041
|
-
* @return {!proto.ondewo.nlu.RemoveSessionLabelsRequest} returns this
|
|
9042
|
-
*/
|
|
9043
|
-
proto.ondewo.nlu.RemoveSessionLabelsRequest.prototype.setSessionView = function(value) {
|
|
9044
|
-
return jspb.Message.setProto3EnumField(this, 3, value);
|
|
9045
|
-
};
|
|
9046
|
-
|
|
9047
|
-
|
|
9048
10732
|
|
|
9049
10733
|
|
|
9050
10734
|
|
|
@@ -9759,4 +11443,17 @@ proto.ondewo.nlu.AudioEncoding = {
|
|
|
9759
11443
|
AUDIO_ENCODING_SPEEX_WITH_HEADER_BYTE: 7
|
|
9760
11444
|
};
|
|
9761
11445
|
|
|
11446
|
+
/**
|
|
11447
|
+
* @enum {number}
|
|
11448
|
+
*/
|
|
11449
|
+
proto.ondewo.nlu.ComparisonOperator = {
|
|
11450
|
+
EQUAL: 0,
|
|
11451
|
+
GREATER: 1,
|
|
11452
|
+
GREATER_OR_EQUAL: 2,
|
|
11453
|
+
LESS_OR_EQUAL: 3,
|
|
11454
|
+
CONTAINS: 4,
|
|
11455
|
+
STARTS_WITH: 5,
|
|
11456
|
+
ENDS_WITH: 6
|
|
11457
|
+
};
|
|
11458
|
+
|
|
9762
11459
|
goog.object.extend(exports, proto.ondewo.nlu);
|