@ondewo/nlu-client-typescript 3.5.2 → 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.
@@ -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,6 +35,8 @@ 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);
38
42
  goog.exportSymbol('proto.ondewo.nlu.DeleteSessionLabelsRequest', null, global);
@@ -386,6 +390,27 @@ if (goog.DEBUG && !COMPILED) {
386
390
  */
387
391
  proto.ondewo.nlu.ListSessionsRequest.displayName = 'proto.ondewo.nlu.ListSessionsRequest';
388
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
+ }
389
414
  /**
390
415
  * Generated by JsPbCodeGenerator.
391
416
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -1330,7 +1355,7 @@ proto.ondewo.nlu.DetectIntentResponse.prototype.hasWebhookStatus = function() {
1330
1355
  * @private {!Array<number>}
1331
1356
  * @const
1332
1357
  */
1333
- proto.ondewo.nlu.QueryParameters.repeatedFields_ = [3];
1358
+ proto.ondewo.nlu.QueryParameters.repeatedFields_ = [3,7];
1334
1359
 
1335
1360
 
1336
1361
 
@@ -1368,7 +1393,8 @@ proto.ondewo.nlu.QueryParameters.toObject = function(includeInstance, msg) {
1368
1393
  contextsList: jspb.Message.toObjectList(msg.getContextsList(),
1369
1394
  ondewo_nlu_context_pb.Context.toObject, includeInstance),
1370
1395
  resetContexts: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
1371
- 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
1372
1398
  };
1373
1399
 
1374
1400
  if (includeInstance) {
@@ -1428,6 +1454,10 @@ proto.ondewo.nlu.QueryParameters.deserializeBinaryFromReader = function(msg, rea
1428
1454
  reader.readMessage(value,google_protobuf_struct_pb.Struct.deserializeBinaryFromReader);
1429
1455
  msg.setPayload(value);
1430
1456
  break;
1457
+ case 7:
1458
+ var value = /** @type {string} */ (reader.readString());
1459
+ msg.addLabels(value);
1460
+ break;
1431
1461
  default:
1432
1462
  reader.skipField();
1433
1463
  break;
@@ -1495,6 +1525,13 @@ proto.ondewo.nlu.QueryParameters.serializeBinaryToWriter = function(message, wri
1495
1525
  google_protobuf_struct_pb.Struct.serializeBinaryToWriter
1496
1526
  );
1497
1527
  }
1528
+ f = message.getLabelsList();
1529
+ if (f.length > 0) {
1530
+ writer.writeRepeatedString(
1531
+ 7,
1532
+ f
1533
+ );
1534
+ }
1498
1535
  };
1499
1536
 
1500
1537
 
@@ -1646,6 +1683,43 @@ proto.ondewo.nlu.QueryParameters.prototype.hasPayload = function() {
1646
1683
  };
1647
1684
 
1648
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
+
1649
1723
 
1650
1724
  /**
1651
1725
  * Oneof group definitions for this message. Each group defines the field
@@ -4067,7 +4141,7 @@ proto.ondewo.nlu.Session.prototype.toObject = function(opt_includeInstance) {
4067
4141
  */
4068
4142
  proto.ondewo.nlu.Session.toObject = function(includeInstance, msg) {
4069
4143
  var f, obj = {
4070
- sessionId: jspb.Message.getFieldWithDefault(msg, 1, ""),
4144
+ name: jspb.Message.getFieldWithDefault(msg, 1, ""),
4071
4145
  sessionStepsList: jspb.Message.toObjectList(msg.getSessionStepsList(),
4072
4146
  proto.ondewo.nlu.SessionStep.toObject, includeInstance),
4073
4147
  sessionInfo: (f = msg.getSessionInfo()) && proto.ondewo.nlu.SessionInfo.toObject(includeInstance, f)
@@ -4109,7 +4183,7 @@ proto.ondewo.nlu.Session.deserializeBinaryFromReader = function(msg, reader) {
4109
4183
  switch (field) {
4110
4184
  case 1:
4111
4185
  var value = /** @type {string} */ (reader.readString());
4112
- msg.setSessionId(value);
4186
+ msg.setName(value);
4113
4187
  break;
4114
4188
  case 2:
4115
4189
  var value = new proto.ondewo.nlu.SessionStep;
@@ -4150,7 +4224,7 @@ proto.ondewo.nlu.Session.prototype.serializeBinary = function() {
4150
4224
  */
4151
4225
  proto.ondewo.nlu.Session.serializeBinaryToWriter = function(message, writer) {
4152
4226
  var f = undefined;
4153
- f = message.getSessionId();
4227
+ f = message.getName();
4154
4228
  if (f.length > 0) {
4155
4229
  writer.writeString(
4156
4230
  1,
@@ -4186,10 +4260,10 @@ proto.ondewo.nlu.Session.View = {
4186
4260
  };
4187
4261
 
4188
4262
  /**
4189
- * optional string session_id = 1;
4263
+ * optional string name = 1;
4190
4264
  * @return {string}
4191
4265
  */
4192
- proto.ondewo.nlu.Session.prototype.getSessionId = function() {
4266
+ proto.ondewo.nlu.Session.prototype.getName = function() {
4193
4267
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
4194
4268
  };
4195
4269
 
@@ -4198,7 +4272,7 @@ proto.ondewo.nlu.Session.prototype.getSessionId = function() {
4198
4272
  * @param {string} value
4199
4273
  * @return {!proto.ondewo.nlu.Session} returns this
4200
4274
  */
4201
- proto.ondewo.nlu.Session.prototype.setSessionId = function(value) {
4275
+ proto.ondewo.nlu.Session.prototype.setName = function(value) {
4202
4276
  return jspb.Message.setProto3StringField(this, 1, value);
4203
4277
  };
4204
4278
 
@@ -4284,7 +4358,7 @@ proto.ondewo.nlu.Session.prototype.hasSessionInfo = function() {
4284
4358
  * @private {!Array<number>}
4285
4359
  * @const
4286
4360
  */
4287
- proto.ondewo.nlu.SessionStep.repeatedFields_ = [3];
4361
+ proto.ondewo.nlu.SessionStep.repeatedFields_ = [4];
4288
4362
 
4289
4363
 
4290
4364
 
@@ -4317,6 +4391,7 @@ proto.ondewo.nlu.SessionStep.prototype.toObject = function(opt_includeInstance)
4317
4391
  */
4318
4392
  proto.ondewo.nlu.SessionStep.toObject = function(includeInstance, msg) {
4319
4393
  var f, obj = {
4394
+ name: jspb.Message.getFieldWithDefault(msg, 1, ""),
4320
4395
  detectIntentRequest: (f = msg.getDetectIntentRequest()) && proto.ondewo.nlu.DetectIntentRequest.toObject(includeInstance, f),
4321
4396
  detectIntentResponse: (f = msg.getDetectIntentResponse()) && proto.ondewo.nlu.DetectIntentResponse.toObject(includeInstance, f),
4322
4397
  contextsList: jspb.Message.toObjectList(msg.getContextsList(),
@@ -4358,16 +4433,20 @@ proto.ondewo.nlu.SessionStep.deserializeBinaryFromReader = function(msg, reader)
4358
4433
  var field = reader.getFieldNumber();
4359
4434
  switch (field) {
4360
4435
  case 1:
4436
+ var value = /** @type {string} */ (reader.readString());
4437
+ msg.setName(value);
4438
+ break;
4439
+ case 2:
4361
4440
  var value = new proto.ondewo.nlu.DetectIntentRequest;
4362
4441
  reader.readMessage(value,proto.ondewo.nlu.DetectIntentRequest.deserializeBinaryFromReader);
4363
4442
  msg.setDetectIntentRequest(value);
4364
4443
  break;
4365
- case 2:
4444
+ case 3:
4366
4445
  var value = new proto.ondewo.nlu.DetectIntentResponse;
4367
4446
  reader.readMessage(value,proto.ondewo.nlu.DetectIntentResponse.deserializeBinaryFromReader);
4368
4447
  msg.setDetectIntentResponse(value);
4369
4448
  break;
4370
- case 3:
4449
+ case 4:
4371
4450
  var value = new ondewo_nlu_context_pb.Context;
4372
4451
  reader.readMessage(value,ondewo_nlu_context_pb.Context.deserializeBinaryFromReader);
4373
4452
  msg.addContexts(value);
@@ -4401,10 +4480,17 @@ proto.ondewo.nlu.SessionStep.prototype.serializeBinary = function() {
4401
4480
  */
4402
4481
  proto.ondewo.nlu.SessionStep.serializeBinaryToWriter = function(message, writer) {
4403
4482
  var f = undefined;
4483
+ f = message.getName();
4484
+ if (f.length > 0) {
4485
+ writer.writeString(
4486
+ 1,
4487
+ f
4488
+ );
4489
+ }
4404
4490
  f = message.getDetectIntentRequest();
4405
4491
  if (f != null) {
4406
4492
  writer.writeMessage(
4407
- 1,
4493
+ 2,
4408
4494
  f,
4409
4495
  proto.ondewo.nlu.DetectIntentRequest.serializeBinaryToWriter
4410
4496
  );
@@ -4412,7 +4498,7 @@ proto.ondewo.nlu.SessionStep.serializeBinaryToWriter = function(message, writer)
4412
4498
  f = message.getDetectIntentResponse();
4413
4499
  if (f != null) {
4414
4500
  writer.writeMessage(
4415
- 2,
4501
+ 3,
4416
4502
  f,
4417
4503
  proto.ondewo.nlu.DetectIntentResponse.serializeBinaryToWriter
4418
4504
  );
@@ -4420,7 +4506,7 @@ proto.ondewo.nlu.SessionStep.serializeBinaryToWriter = function(message, writer)
4420
4506
  f = message.getContextsList();
4421
4507
  if (f.length > 0) {
4422
4508
  writer.writeRepeatedMessage(
4423
- 3,
4509
+ 4,
4424
4510
  f,
4425
4511
  ondewo_nlu_context_pb.Context.serializeBinaryToWriter
4426
4512
  );
@@ -4429,12 +4515,30 @@ proto.ondewo.nlu.SessionStep.serializeBinaryToWriter = function(message, writer)
4429
4515
 
4430
4516
 
4431
4517
  /**
4432
- * optional DetectIntentRequest detect_intent_request = 1;
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;
4433
4537
  * @return {?proto.ondewo.nlu.DetectIntentRequest}
4434
4538
  */
4435
4539
  proto.ondewo.nlu.SessionStep.prototype.getDetectIntentRequest = function() {
4436
4540
  return /** @type{?proto.ondewo.nlu.DetectIntentRequest} */ (
4437
- jspb.Message.getWrapperField(this, proto.ondewo.nlu.DetectIntentRequest, 1));
4541
+ jspb.Message.getWrapperField(this, proto.ondewo.nlu.DetectIntentRequest, 2));
4438
4542
  };
4439
4543
 
4440
4544
 
@@ -4443,7 +4547,7 @@ proto.ondewo.nlu.SessionStep.prototype.getDetectIntentRequest = function() {
4443
4547
  * @return {!proto.ondewo.nlu.SessionStep} returns this
4444
4548
  */
4445
4549
  proto.ondewo.nlu.SessionStep.prototype.setDetectIntentRequest = function(value) {
4446
- return jspb.Message.setWrapperField(this, 1, value);
4550
+ return jspb.Message.setWrapperField(this, 2, value);
4447
4551
  };
4448
4552
 
4449
4553
 
@@ -4461,17 +4565,17 @@ proto.ondewo.nlu.SessionStep.prototype.clearDetectIntentRequest = function() {
4461
4565
  * @return {boolean}
4462
4566
  */
4463
4567
  proto.ondewo.nlu.SessionStep.prototype.hasDetectIntentRequest = function() {
4464
- return jspb.Message.getField(this, 1) != null;
4568
+ return jspb.Message.getField(this, 2) != null;
4465
4569
  };
4466
4570
 
4467
4571
 
4468
4572
  /**
4469
- * optional DetectIntentResponse detect_intent_response = 2;
4573
+ * optional DetectIntentResponse detect_intent_response = 3;
4470
4574
  * @return {?proto.ondewo.nlu.DetectIntentResponse}
4471
4575
  */
4472
4576
  proto.ondewo.nlu.SessionStep.prototype.getDetectIntentResponse = function() {
4473
4577
  return /** @type{?proto.ondewo.nlu.DetectIntentResponse} */ (
4474
- jspb.Message.getWrapperField(this, proto.ondewo.nlu.DetectIntentResponse, 2));
4578
+ jspb.Message.getWrapperField(this, proto.ondewo.nlu.DetectIntentResponse, 3));
4475
4579
  };
4476
4580
 
4477
4581
 
@@ -4480,7 +4584,7 @@ proto.ondewo.nlu.SessionStep.prototype.getDetectIntentResponse = function() {
4480
4584
  * @return {!proto.ondewo.nlu.SessionStep} returns this
4481
4585
  */
4482
4586
  proto.ondewo.nlu.SessionStep.prototype.setDetectIntentResponse = function(value) {
4483
- return jspb.Message.setWrapperField(this, 2, value);
4587
+ return jspb.Message.setWrapperField(this, 3, value);
4484
4588
  };
4485
4589
 
4486
4590
 
@@ -4498,17 +4602,17 @@ proto.ondewo.nlu.SessionStep.prototype.clearDetectIntentResponse = function() {
4498
4602
  * @return {boolean}
4499
4603
  */
4500
4604
  proto.ondewo.nlu.SessionStep.prototype.hasDetectIntentResponse = function() {
4501
- return jspb.Message.getField(this, 2) != null;
4605
+ return jspb.Message.getField(this, 3) != null;
4502
4606
  };
4503
4607
 
4504
4608
 
4505
4609
  /**
4506
- * repeated Context contexts = 3;
4610
+ * repeated Context contexts = 4;
4507
4611
  * @return {!Array<!proto.ondewo.nlu.Context>}
4508
4612
  */
4509
4613
  proto.ondewo.nlu.SessionStep.prototype.getContextsList = function() {
4510
4614
  return /** @type{!Array<!proto.ondewo.nlu.Context>} */ (
4511
- jspb.Message.getRepeatedWrapperField(this, ondewo_nlu_context_pb.Context, 3));
4615
+ jspb.Message.getRepeatedWrapperField(this, ondewo_nlu_context_pb.Context, 4));
4512
4616
  };
4513
4617
 
4514
4618
 
@@ -4517,7 +4621,7 @@ proto.ondewo.nlu.SessionStep.prototype.getContextsList = function() {
4517
4621
  * @return {!proto.ondewo.nlu.SessionStep} returns this
4518
4622
  */
4519
4623
  proto.ondewo.nlu.SessionStep.prototype.setContextsList = function(value) {
4520
- return jspb.Message.setRepeatedWrapperField(this, 3, value);
4624
+ return jspb.Message.setRepeatedWrapperField(this, 4, value);
4521
4625
  };
4522
4626
 
4523
4627
 
@@ -4527,7 +4631,7 @@ proto.ondewo.nlu.SessionStep.prototype.setContextsList = function(value) {
4527
4631
  * @return {!proto.ondewo.nlu.Context}
4528
4632
  */
4529
4633
  proto.ondewo.nlu.SessionStep.prototype.addContexts = function(opt_value, opt_index) {
4530
- return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.ondewo.nlu.Context, opt_index);
4634
+ return jspb.Message.addToRepeatedWrapperField(this, 4, opt_value, proto.ondewo.nlu.Context, opt_index);
4531
4635
  };
4532
4636
 
4533
4637
 
@@ -4786,7 +4890,8 @@ proto.ondewo.nlu.ListSessionsRequest.toObject = function(includeInstance, msg) {
4786
4890
  parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
4787
4891
  sessionView: jspb.Message.getFieldWithDefault(msg, 2, 0),
4788
4892
  pageToken: jspb.Message.getFieldWithDefault(msg, 4, ""),
4789
- 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)
4790
4895
  };
4791
4896
 
4792
4897
  if (includeInstance) {
@@ -4840,6 +4945,11 @@ proto.ondewo.nlu.ListSessionsRequest.deserializeBinaryFromReader = function(msg,
4840
4945
  reader.readMessage(value,proto.ondewo.nlu.SessionFilter.deserializeBinaryFromReader);
4841
4946
  msg.setSessionFilter(value);
4842
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;
4843
4953
  default:
4844
4954
  reader.skipField();
4845
4955
  break;
@@ -4898,6 +5008,14 @@ proto.ondewo.nlu.ListSessionsRequest.serializeBinaryToWriter = function(message,
4898
5008
  proto.ondewo.nlu.SessionFilter.serializeBinaryToWriter
4899
5009
  );
4900
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
+ }
4901
5019
  };
4902
5020
 
4903
5021
 
@@ -4992,13 +5110,43 @@ proto.ondewo.nlu.ListSessionsRequest.prototype.hasSessionFilter = function() {
4992
5110
  };
4993
5111
 
4994
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
+
4995
5122
 
4996
5123
  /**
4997
- * List of repeated fields within this message type.
4998
- * @private {!Array<number>}
4999
- * @const
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
5000
5135
  */
5001
- proto.ondewo.nlu.SessionFilter.repeatedFields_ = [1,2,3,12,13,14,15,16,17];
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
+
5002
5150
 
5003
5151
 
5004
5152
 
@@ -5015,8 +5163,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
5015
5163
  * http://goto/soy-param-migration
5016
5164
  * @return {!Object}
5017
5165
  */
5018
- proto.ondewo.nlu.SessionFilter.prototype.toObject = function(opt_includeInstance) {
5019
- return proto.ondewo.nlu.SessionFilter.toObject(opt_includeInstance, this);
5166
+ proto.ondewo.nlu.ContextFilter.prototype.toObject = function(opt_includeInstance) {
5167
+ return proto.ondewo.nlu.ContextFilter.toObject(opt_includeInstance, this);
5020
5168
  };
5021
5169
 
5022
5170
 
@@ -5025,33 +5173,16 @@ proto.ondewo.nlu.SessionFilter.prototype.toObject = function(opt_includeInstance
5025
5173
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
5026
5174
  * the JSPB instance for transitional soy proto support:
5027
5175
  * http://goto/soy-param-migration
5028
- * @param {!proto.ondewo.nlu.SessionFilter} msg The msg instance to transform.
5176
+ * @param {!proto.ondewo.nlu.ContextFilter} msg The msg instance to transform.
5029
5177
  * @return {!Object}
5030
5178
  * @suppress {unusedLocalVariables} f is only used for nested messages
5031
5179
  */
5032
- proto.ondewo.nlu.SessionFilter.toObject = function(includeInstance, msg) {
5180
+ proto.ondewo.nlu.ContextFilter.toObject = function(includeInstance, msg) {
5033
5181
  var f, obj = {
5034
- languageCodesList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
5035
- matchedIntentsList: jspb.Message.toObjectList(msg.getMatchedIntentsList(),
5036
- ondewo_nlu_intent_pb.Intent.toObject, includeInstance),
5037
- matchedEntityTypesList: jspb.Message.toObjectList(msg.getMatchedEntityTypesList(),
5038
- ondewo_nlu_entity_type_pb.EntityType.toObject, includeInstance),
5039
- minIntentsConfidenceMin: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0),
5040
- minIntentsConfidenceMax: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0),
5041
- minEntityTypesConfidenceMin: jspb.Message.getFloatingPointFieldWithDefault(msg, 6, 0.0),
5042
- minEntityTypesConfidenceMax: jspb.Message.getFloatingPointFieldWithDefault(msg, 7, 0.0),
5043
- earliest: jspb.Message.getFloatingPointFieldWithDefault(msg, 8, 0.0),
5044
- latest: jspb.Message.getFloatingPointFieldWithDefault(msg, 9, 0.0),
5045
- minNumberTurns: jspb.Message.getFieldWithDefault(msg, 10, 0),
5046
- maxNumberTurns: jspb.Message.getFieldWithDefault(msg, 11, 0),
5047
- labelsList: (f = jspb.Message.getRepeatedField(msg, 12)) == null ? undefined : f,
5048
- userIdsList: (f = jspb.Message.getRepeatedField(msg, 13)) == null ? undefined : f,
5049
- intentTagsList: (f = jspb.Message.getRepeatedField(msg, 14)) == null ? undefined : f,
5050
- sessionIdsList: (f = jspb.Message.getRepeatedField(msg, 15)) == null ? undefined : f,
5051
- inputContextsList: jspb.Message.toObjectList(msg.getInputContextsList(),
5052
- ondewo_nlu_context_pb.Context.toObject, includeInstance),
5053
- outputContextsList: jspb.Message.toObjectList(msg.getOutputContextsList(),
5054
- 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)
5055
5186
  };
5056
5187
 
5057
5188
  if (includeInstance) {
@@ -5065,23 +5196,23 @@ proto.ondewo.nlu.SessionFilter.toObject = function(includeInstance, msg) {
5065
5196
  /**
5066
5197
  * Deserializes binary data (in protobuf wire format).
5067
5198
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
5068
- * @return {!proto.ondewo.nlu.SessionFilter}
5199
+ * @return {!proto.ondewo.nlu.ContextFilter}
5069
5200
  */
5070
- proto.ondewo.nlu.SessionFilter.deserializeBinary = function(bytes) {
5201
+ proto.ondewo.nlu.ContextFilter.deserializeBinary = function(bytes) {
5071
5202
  var reader = new jspb.BinaryReader(bytes);
5072
- var msg = new proto.ondewo.nlu.SessionFilter;
5073
- return proto.ondewo.nlu.SessionFilter.deserializeBinaryFromReader(msg, reader);
5203
+ var msg = new proto.ondewo.nlu.ContextFilter;
5204
+ return proto.ondewo.nlu.ContextFilter.deserializeBinaryFromReader(msg, reader);
5074
5205
  };
5075
5206
 
5076
5207
 
5077
5208
  /**
5078
5209
  * Deserializes binary data (in protobuf wire format) from the
5079
5210
  * given reader into the given message object.
5080
- * @param {!proto.ondewo.nlu.SessionFilter} msg The message object to deserialize into.
5211
+ * @param {!proto.ondewo.nlu.ContextFilter} msg The message object to deserialize into.
5081
5212
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
5082
- * @return {!proto.ondewo.nlu.SessionFilter}
5213
+ * @return {!proto.ondewo.nlu.ContextFilter}
5083
5214
  */
5084
- proto.ondewo.nlu.SessionFilter.deserializeBinaryFromReader = function(msg, reader) {
5215
+ proto.ondewo.nlu.ContextFilter.deserializeBinaryFromReader = function(msg, reader) {
5085
5216
  while (reader.nextField()) {
5086
5217
  if (reader.isEndGroup()) {
5087
5218
  break;
@@ -5090,75 +5221,19 @@ proto.ondewo.nlu.SessionFilter.deserializeBinaryFromReader = function(msg, reade
5090
5221
  switch (field) {
5091
5222
  case 1:
5092
5223
  var value = /** @type {string} */ (reader.readString());
5093
- msg.addLanguageCodes(value);
5224
+ msg.setContextName(value);
5094
5225
  break;
5095
5226
  case 2:
5096
- var value = new ondewo_nlu_intent_pb.Intent;
5097
- reader.readMessage(value,ondewo_nlu_intent_pb.Intent.deserializeBinaryFromReader);
5098
- msg.addMatchedIntents(value);
5099
- break;
5100
- case 3:
5101
- var value = new ondewo_nlu_entity_type_pb.EntityType;
5102
- reader.readMessage(value,ondewo_nlu_entity_type_pb.EntityType.deserializeBinaryFromReader);
5103
- msg.addMatchedEntityTypes(value);
5104
- break;
5105
- case 4:
5106
- var value = /** @type {number} */ (reader.readFloat());
5107
- msg.setMinIntentsConfidenceMin(value);
5108
- break;
5109
- case 5:
5110
- var value = /** @type {number} */ (reader.readFloat());
5111
- msg.setMinIntentsConfidenceMax(value);
5112
- break;
5113
- case 6:
5114
- var value = /** @type {number} */ (reader.readFloat());
5115
- msg.setMinEntityTypesConfidenceMin(value);
5116
- break;
5117
- case 7:
5118
- var value = /** @type {number} */ (reader.readFloat());
5119
- msg.setMinEntityTypesConfidenceMax(value);
5120
- break;
5121
- case 8:
5122
- var value = /** @type {number} */ (reader.readFloat());
5123
- msg.setEarliest(value);
5124
- break;
5125
- case 9:
5126
- var value = /** @type {number} */ (reader.readFloat());
5127
- msg.setLatest(value);
5128
- break;
5129
- case 10:
5130
- var value = /** @type {number} */ (reader.readInt32());
5131
- msg.setMinNumberTurns(value);
5132
- break;
5133
- case 11:
5134
- var value = /** @type {number} */ (reader.readInt32());
5135
- msg.setMaxNumberTurns(value);
5136
- break;
5137
- case 12:
5138
- var value = /** @type {string} */ (reader.readString());
5139
- msg.addLabels(value);
5140
- break;
5141
- case 13:
5142
- var value = /** @type {string} */ (reader.readString());
5143
- msg.addUserIds(value);
5144
- break;
5145
- case 14:
5146
5227
  var value = /** @type {string} */ (reader.readString());
5147
- msg.addIntentTags(value);
5228
+ msg.setKey(value);
5148
5229
  break;
5149
- case 15:
5230
+ case 3:
5150
5231
  var value = /** @type {string} */ (reader.readString());
5151
- msg.addSessionIds(value);
5152
- break;
5153
- case 16:
5154
- var value = new ondewo_nlu_context_pb.Context;
5155
- reader.readMessage(value,ondewo_nlu_context_pb.Context.deserializeBinaryFromReader);
5156
- msg.addInputContexts(value);
5232
+ msg.setValue(value);
5157
5233
  break;
5158
- case 17:
5159
- var value = new ondewo_nlu_context_pb.Context;
5160
- reader.readMessage(value,ondewo_nlu_context_pb.Context.deserializeBinaryFromReader);
5161
- msg.addOutputContexts(value);
5234
+ case 4:
5235
+ var value = /** @type {!proto.ondewo.nlu.ComparisonOperator} */ (reader.readEnum());
5236
+ msg.setOperator(value);
5162
5237
  break;
5163
5238
  default:
5164
5239
  reader.skipField();
@@ -5173,9 +5248,9 @@ proto.ondewo.nlu.SessionFilter.deserializeBinaryFromReader = function(msg, reade
5173
5248
  * Serializes the message to binary data (in protobuf wire format).
5174
5249
  * @return {!Uint8Array}
5175
5250
  */
5176
- proto.ondewo.nlu.SessionFilter.prototype.serializeBinary = function() {
5251
+ proto.ondewo.nlu.ContextFilter.prototype.serializeBinary = function() {
5177
5252
  var writer = new jspb.BinaryWriter();
5178
- proto.ondewo.nlu.SessionFilter.serializeBinaryToWriter(this, writer);
5253
+ proto.ondewo.nlu.ContextFilter.serializeBinaryToWriter(this, writer);
5179
5254
  return writer.getResultBuffer();
5180
5255
  };
5181
5256
 
@@ -5183,144 +5258,989 @@ proto.ondewo.nlu.SessionFilter.prototype.serializeBinary = function() {
5183
5258
  /**
5184
5259
  * Serializes the given message to binary data (in protobuf wire
5185
5260
  * format), writing to the given BinaryWriter.
5186
- * @param {!proto.ondewo.nlu.SessionFilter} message
5261
+ * @param {!proto.ondewo.nlu.ContextFilter} message
5187
5262
  * @param {!jspb.BinaryWriter} writer
5188
5263
  * @suppress {unusedLocalVariables} f is only used for nested messages
5189
5264
  */
5190
- proto.ondewo.nlu.SessionFilter.serializeBinaryToWriter = function(message, writer) {
5265
+ proto.ondewo.nlu.ContextFilter.serializeBinaryToWriter = function(message, writer) {
5191
5266
  var f = undefined;
5192
- f = message.getLanguageCodesList();
5267
+ f = message.getContextName();
5193
5268
  if (f.length > 0) {
5194
- writer.writeRepeatedString(
5269
+ writer.writeString(
5195
5270
  1,
5196
5271
  f
5197
5272
  );
5198
5273
  }
5199
- f = message.getMatchedIntentsList();
5274
+ f = message.getKey();
5200
5275
  if (f.length > 0) {
5201
- writer.writeRepeatedMessage(
5276
+ writer.writeString(
5202
5277
  2,
5203
- f,
5204
- ondewo_nlu_intent_pb.Intent.serializeBinaryToWriter
5278
+ f
5205
5279
  );
5206
5280
  }
5207
- f = message.getMatchedEntityTypesList();
5281
+ f = message.getValue();
5208
5282
  if (f.length > 0) {
5209
- writer.writeRepeatedMessage(
5283
+ writer.writeString(
5210
5284
  3,
5211
- f,
5212
- ondewo_nlu_entity_type_pb.EntityType.serializeBinaryToWriter
5213
- );
5214
- }
5215
- f = message.getMinIntentsConfidenceMin();
5216
- if (f !== 0.0) {
5217
- writer.writeFloat(
5218
- 4,
5219
- f
5220
- );
5221
- }
5222
- f = message.getMinIntentsConfidenceMax();
5223
- if (f !== 0.0) {
5224
- writer.writeFloat(
5225
- 5,
5226
- f
5227
- );
5228
- }
5229
- f = message.getMinEntityTypesConfidenceMin();
5230
- if (f !== 0.0) {
5231
- writer.writeFloat(
5232
- 6,
5233
- f
5234
- );
5235
- }
5236
- f = message.getMinEntityTypesConfidenceMax();
5237
- if (f !== 0.0) {
5238
- writer.writeFloat(
5239
- 7,
5240
- f
5241
- );
5242
- }
5243
- f = message.getEarliest();
5244
- if (f !== 0.0) {
5245
- writer.writeFloat(
5246
- 8,
5247
5285
  f
5248
5286
  );
5249
5287
  }
5250
- f = message.getLatest();
5288
+ f = message.getOperator();
5251
5289
  if (f !== 0.0) {
5252
- writer.writeFloat(
5253
- 9,
5254
- f
5255
- );
5256
- }
5257
- f = message.getMinNumberTurns();
5258
- if (f !== 0) {
5259
- writer.writeInt32(
5260
- 10,
5261
- f
5262
- );
5263
- }
5264
- f = message.getMaxNumberTurns();
5265
- if (f !== 0) {
5266
- writer.writeInt32(
5267
- 11,
5268
- f
5269
- );
5270
- }
5271
- f = message.getLabelsList();
5272
- if (f.length > 0) {
5273
- writer.writeRepeatedString(
5274
- 12,
5275
- f
5276
- );
5277
- }
5278
- f = message.getUserIdsList();
5279
- if (f.length > 0) {
5280
- writer.writeRepeatedString(
5281
- 13,
5282
- f
5283
- );
5284
- }
5285
- f = message.getIntentTagsList();
5286
- if (f.length > 0) {
5287
- writer.writeRepeatedString(
5288
- 14,
5289
- f
5290
- );
5291
- }
5292
- f = message.getSessionIdsList();
5293
- if (f.length > 0) {
5294
- writer.writeRepeatedString(
5295
- 15,
5290
+ writer.writeEnum(
5291
+ 4,
5296
5292
  f
5297
5293
  );
5298
5294
  }
5299
- f = message.getInputContextsList();
5300
- if (f.length > 0) {
5301
- writer.writeRepeatedMessage(
5302
- 16,
5303
- f,
5304
- ondewo_nlu_context_pb.Context.serializeBinaryToWriter
5305
- );
5306
- }
5307
- f = message.getOutputContextsList();
5308
- if (f.length > 0) {
5309
- writer.writeRepeatedMessage(
5310
- 17,
5311
- f,
5312
- ondewo_nlu_context_pb.Context.serializeBinaryToWriter
5313
- );
5295
+ };
5296
+
5297
+
5298
+ /**
5299
+ * optional string context_name = 1;
5300
+ * @return {string}
5301
+ */
5302
+ proto.ondewo.nlu.ContextFilter.prototype.getContextName = function() {
5303
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
5304
+ };
5305
+
5306
+
5307
+ /**
5308
+ * @param {string} value
5309
+ * @return {!proto.ondewo.nlu.ContextFilter} returns this
5310
+ */
5311
+ proto.ondewo.nlu.ContextFilter.prototype.setContextName = function(value) {
5312
+ return jspb.Message.setProto3StringField(this, 1, value);
5313
+ };
5314
+
5315
+
5316
+ /**
5317
+ * optional string key = 2;
5318
+ * @return {string}
5319
+ */
5320
+ proto.ondewo.nlu.ContextFilter.prototype.getKey = function() {
5321
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
5322
+ };
5323
+
5324
+
5325
+ /**
5326
+ * @param {string} value
5327
+ * @return {!proto.ondewo.nlu.ContextFilter} returns this
5328
+ */
5329
+ proto.ondewo.nlu.ContextFilter.prototype.setKey = function(value) {
5330
+ return jspb.Message.setProto3StringField(this, 2, value);
5331
+ };
5332
+
5333
+
5334
+ /**
5335
+ * optional string value = 3;
5336
+ * @return {string}
5337
+ */
5338
+ proto.ondewo.nlu.ContextFilter.prototype.getValue = function() {
5339
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
5340
+ };
5341
+
5342
+
5343
+ /**
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
+ };
5350
+
5351
+
5352
+ /**
5353
+ * optional ComparisonOperator operator = 4;
5354
+ * @return {!proto.ondewo.nlu.ComparisonOperator}
5355
+ */
5356
+ proto.ondewo.nlu.ContextFilter.prototype.getOperator = function() {
5357
+ return /** @type {!proto.ondewo.nlu.ComparisonOperator} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
5358
+ };
5359
+
5360
+
5361
+ /**
5362
+ * @param {!proto.ondewo.nlu.ComparisonOperator} value
5363
+ * @return {!proto.ondewo.nlu.ContextFilter} returns this
5364
+ */
5365
+ proto.ondewo.nlu.ContextFilter.prototype.setOperator = function(value) {
5366
+ return jspb.Message.setProto3EnumField(this, 4, value);
5367
+ };
5368
+
5369
+
5370
+
5371
+ /**
5372
+ * List of repeated fields within this message type.
5373
+ * @private {!Array<number>}
5374
+ * @const
5375
+ */
5376
+ proto.ondewo.nlu.SessionFilter.repeatedFields_ = [1,2,3,12,13,14,15,16,17];
5377
+
5378
+
5379
+
5380
+ if (jspb.Message.GENERATE_TO_OBJECT) {
5381
+ /**
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}
5392
+ */
5393
+ proto.ondewo.nlu.SessionFilter.prototype.toObject = function(opt_includeInstance) {
5394
+ return proto.ondewo.nlu.SessionFilter.toObject(opt_includeInstance, this);
5395
+ };
5396
+
5397
+
5398
+ /**
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;
5314
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);
5315
6235
  };
5316
6236
 
5317
6237
 
5318
6238
  /**
5319
- * repeated string language_codes = 1;
6239
+ * repeated string labels = 12;
5320
6240
  * @return {!Array<string>}
5321
6241
  */
5322
- proto.ondewo.nlu.SessionFilter.prototype.getLanguageCodesList = function() {
5323
- return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
6242
+ proto.ondewo.nlu.SessionFilter.prototype.getLabelsList = function() {
6243
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 12));
5324
6244
  };
5325
6245
 
5326
6246
 
@@ -5328,8 +6248,8 @@ proto.ondewo.nlu.SessionFilter.prototype.getLanguageCodesList = function() {
5328
6248
  * @param {!Array<string>} value
5329
6249
  * @return {!proto.ondewo.nlu.SessionFilter} returns this
5330
6250
  */
5331
- proto.ondewo.nlu.SessionFilter.prototype.setLanguageCodesList = function(value) {
5332
- return jspb.Message.setField(this, 1, value || []);
6251
+ proto.ondewo.nlu.SessionFilter.prototype.setLabelsList = function(value) {
6252
+ return jspb.Message.setField(this, 12, value || []);
5333
6253
  };
5334
6254
 
5335
6255
 
@@ -5338,8 +6258,8 @@ proto.ondewo.nlu.SessionFilter.prototype.setLanguageCodesList = function(value)
5338
6258
  * @param {number=} opt_index
5339
6259
  * @return {!proto.ondewo.nlu.SessionFilter} returns this
5340
6260
  */
5341
- proto.ondewo.nlu.SessionFilter.prototype.addLanguageCodes = function(value, opt_index) {
5342
- return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
6261
+ proto.ondewo.nlu.SessionFilter.prototype.addLabels = function(value, opt_index) {
6262
+ return jspb.Message.addToRepeatedField(this, 12, value, opt_index);
5343
6263
  };
5344
6264
 
5345
6265
 
@@ -5347,37 +6267,148 @@ proto.ondewo.nlu.SessionFilter.prototype.addLanguageCodes = function(value, opt_
5347
6267
  * Clears the list making it empty but non-null.
5348
6268
  * @return {!proto.ondewo.nlu.SessionFilter} returns this
5349
6269
  */
5350
- proto.ondewo.nlu.SessionFilter.prototype.clearLanguageCodesList = function() {
5351
- return this.setLanguageCodesList([]);
6270
+ proto.ondewo.nlu.SessionFilter.prototype.clearLabelsList = function() {
6271
+ return this.setLabelsList([]);
5352
6272
  };
5353
6273
 
5354
6274
 
5355
6275
  /**
5356
- * repeated Intent matched_intents = 2;
5357
- * @return {!Array<!proto.ondewo.nlu.Intent>}
6276
+ * repeated string user_ids = 13;
6277
+ * @return {!Array<string>}
5358
6278
  */
5359
- proto.ondewo.nlu.SessionFilter.prototype.getMatchedIntentsList = function() {
5360
- return /** @type{!Array<!proto.ondewo.nlu.Intent>} */ (
5361
- jspb.Message.getRepeatedWrapperField(this, ondewo_nlu_intent_pb.Intent, 2));
6279
+ proto.ondewo.nlu.SessionFilter.prototype.getUserIdsList = function() {
6280
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 13));
5362
6281
  };
5363
6282
 
5364
6283
 
5365
6284
  /**
5366
- * @param {!Array<!proto.ondewo.nlu.Intent>} value
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
5367
6398
  * @return {!proto.ondewo.nlu.SessionFilter} returns this
5368
6399
  */
5369
- proto.ondewo.nlu.SessionFilter.prototype.setMatchedIntentsList = function(value) {
5370
- return jspb.Message.setRepeatedWrapperField(this, 2, value);
6400
+ proto.ondewo.nlu.SessionFilter.prototype.setInputContextsList = function(value) {
6401
+ return jspb.Message.setRepeatedWrapperField(this, 16, value);
5371
6402
  };
5372
6403
 
5373
6404
 
5374
6405
  /**
5375
- * @param {!proto.ondewo.nlu.Intent=} opt_value
6406
+ * @param {!proto.ondewo.nlu.Context=} opt_value
5376
6407
  * @param {number=} opt_index
5377
- * @return {!proto.ondewo.nlu.Intent}
6408
+ * @return {!proto.ondewo.nlu.Context}
5378
6409
  */
5379
- proto.ondewo.nlu.SessionFilter.prototype.addMatchedIntents = function(opt_value, opt_index) {
5380
- return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.ondewo.nlu.Intent, opt_index);
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);
5381
6412
  };
5382
6413
 
5383
6414
 
@@ -5385,37 +6416,37 @@ proto.ondewo.nlu.SessionFilter.prototype.addMatchedIntents = function(opt_value,
5385
6416
  * Clears the list making it empty but non-null.
5386
6417
  * @return {!proto.ondewo.nlu.SessionFilter} returns this
5387
6418
  */
5388
- proto.ondewo.nlu.SessionFilter.prototype.clearMatchedIntentsList = function() {
5389
- return this.setMatchedIntentsList([]);
6419
+ proto.ondewo.nlu.SessionFilter.prototype.clearInputContextsList = function() {
6420
+ return this.setInputContextsList([]);
5390
6421
  };
5391
6422
 
5392
6423
 
5393
6424
  /**
5394
- * repeated EntityType matched_entity_types = 3;
5395
- * @return {!Array<!proto.ondewo.nlu.EntityType>}
6425
+ * repeated Context output_contexts = 17;
6426
+ * @return {!Array<!proto.ondewo.nlu.Context>}
5396
6427
  */
5397
- proto.ondewo.nlu.SessionFilter.prototype.getMatchedEntityTypesList = function() {
5398
- return /** @type{!Array<!proto.ondewo.nlu.EntityType>} */ (
5399
- jspb.Message.getRepeatedWrapperField(this, ondewo_nlu_entity_type_pb.EntityType, 3));
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));
5400
6431
  };
5401
6432
 
5402
6433
 
5403
6434
  /**
5404
- * @param {!Array<!proto.ondewo.nlu.EntityType>} value
6435
+ * @param {!Array<!proto.ondewo.nlu.Context>} value
5405
6436
  * @return {!proto.ondewo.nlu.SessionFilter} returns this
5406
6437
  */
5407
- proto.ondewo.nlu.SessionFilter.prototype.setMatchedEntityTypesList = function(value) {
5408
- return jspb.Message.setRepeatedWrapperField(this, 3, value);
6438
+ proto.ondewo.nlu.SessionFilter.prototype.setOutputContextsList = function(value) {
6439
+ return jspb.Message.setRepeatedWrapperField(this, 17, value);
5409
6440
  };
5410
6441
 
5411
6442
 
5412
6443
  /**
5413
- * @param {!proto.ondewo.nlu.EntityType=} opt_value
6444
+ * @param {!proto.ondewo.nlu.Context=} opt_value
5414
6445
  * @param {number=} opt_index
5415
- * @return {!proto.ondewo.nlu.EntityType}
6446
+ * @return {!proto.ondewo.nlu.Context}
5416
6447
  */
5417
- proto.ondewo.nlu.SessionFilter.prototype.addMatchedEntityTypes = function(opt_value, opt_index) {
5418
- return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.ondewo.nlu.EntityType, opt_index);
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);
5419
6450
  };
5420
6451
 
5421
6452
 
@@ -5423,17 +6454,17 @@ proto.ondewo.nlu.SessionFilter.prototype.addMatchedEntityTypes = function(opt_va
5423
6454
  * Clears the list making it empty but non-null.
5424
6455
  * @return {!proto.ondewo.nlu.SessionFilter} returns this
5425
6456
  */
5426
- proto.ondewo.nlu.SessionFilter.prototype.clearMatchedEntityTypesList = function() {
5427
- return this.setMatchedEntityTypesList([]);
6457
+ proto.ondewo.nlu.SessionFilter.prototype.clearOutputContextsList = function() {
6458
+ return this.setOutputContextsList([]);
5428
6459
  };
5429
6460
 
5430
6461
 
5431
6462
  /**
5432
- * optional float min_intents_confidence_min = 4;
6463
+ * optional float duration_in_s_min = 18;
5433
6464
  * @return {number}
5434
6465
  */
5435
- proto.ondewo.nlu.SessionFilter.prototype.getMinIntentsConfidenceMin = function() {
5436
- return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 4, 0.0));
6466
+ proto.ondewo.nlu.SessionFilter.prototype.getDurationInSMin = function() {
6467
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 18, 0.0));
5437
6468
  };
5438
6469
 
5439
6470
 
@@ -5441,17 +6472,17 @@ proto.ondewo.nlu.SessionFilter.prototype.getMinIntentsConfidenceMin = function()
5441
6472
  * @param {number} value
5442
6473
  * @return {!proto.ondewo.nlu.SessionFilter} returns this
5443
6474
  */
5444
- proto.ondewo.nlu.SessionFilter.prototype.setMinIntentsConfidenceMin = function(value) {
5445
- return jspb.Message.setProto3FloatField(this, 4, value);
6475
+ proto.ondewo.nlu.SessionFilter.prototype.setDurationInSMin = function(value) {
6476
+ return jspb.Message.setProto3FloatField(this, 18, value);
5446
6477
  };
5447
6478
 
5448
6479
 
5449
6480
  /**
5450
- * optional float min_intents_confidence_max = 5;
6481
+ * optional float duration_in_s_max = 19;
5451
6482
  * @return {number}
5452
6483
  */
5453
- proto.ondewo.nlu.SessionFilter.prototype.getMinIntentsConfidenceMax = function() {
5454
- return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 5, 0.0));
6484
+ proto.ondewo.nlu.SessionFilter.prototype.getDurationInSMax = function() {
6485
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 19, 0.0));
5455
6486
  };
5456
6487
 
5457
6488
 
@@ -5459,17 +6490,17 @@ proto.ondewo.nlu.SessionFilter.prototype.getMinIntentsConfidenceMax = function()
5459
6490
  * @param {number} value
5460
6491
  * @return {!proto.ondewo.nlu.SessionFilter} returns this
5461
6492
  */
5462
- proto.ondewo.nlu.SessionFilter.prototype.setMinIntentsConfidenceMax = function(value) {
5463
- return jspb.Message.setProto3FloatField(this, 5, value);
6493
+ proto.ondewo.nlu.SessionFilter.prototype.setDurationInSMax = function(value) {
6494
+ return jspb.Message.setProto3FloatField(this, 19, value);
5464
6495
  };
5465
6496
 
5466
6497
 
5467
6498
  /**
5468
- * optional float min_entity_types_confidence_min = 6;
6499
+ * optional float duration_in_m_min = 20;
5469
6500
  * @return {number}
5470
6501
  */
5471
- proto.ondewo.nlu.SessionFilter.prototype.getMinEntityTypesConfidenceMin = function() {
5472
- return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 6, 0.0));
6502
+ proto.ondewo.nlu.SessionFilter.prototype.getDurationInMMin = function() {
6503
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 20, 0.0));
5473
6504
  };
5474
6505
 
5475
6506
 
@@ -5477,17 +6508,89 @@ proto.ondewo.nlu.SessionFilter.prototype.getMinEntityTypesConfidenceMin = functi
5477
6508
  * @param {number} value
5478
6509
  * @return {!proto.ondewo.nlu.SessionFilter} returns this
5479
6510
  */
5480
- proto.ondewo.nlu.SessionFilter.prototype.setMinEntityTypesConfidenceMin = function(value) {
5481
- return jspb.Message.setProto3FloatField(this, 6, value);
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
6527
+ * @return {!proto.ondewo.nlu.SessionFilter} returns this
6528
+ */
6529
+ proto.ondewo.nlu.SessionFilter.prototype.setDurationInMMax = function(value) {
6530
+ return jspb.Message.setProto3FloatField(this, 21, value);
6531
+ };
6532
+
6533
+
6534
+ /**
6535
+ * optional float duration_in_m_rounded_min = 22;
6536
+ * @return {number}
6537
+ */
6538
+ proto.ondewo.nlu.SessionFilter.prototype.getDurationInMRoundedMin = function() {
6539
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 22, 0.0));
6540
+ };
6541
+
6542
+
6543
+ /**
6544
+ * @param {number} value
6545
+ * @return {!proto.ondewo.nlu.SessionFilter} returns this
6546
+ */
6547
+ proto.ondewo.nlu.SessionFilter.prototype.setDurationInMRoundedMin = function(value) {
6548
+ return jspb.Message.setProto3FloatField(this, 22, value);
6549
+ };
6550
+
6551
+
6552
+ /**
6553
+ * optional float duration_in_m_rounded_max = 23;
6554
+ * @return {number}
6555
+ */
6556
+ proto.ondewo.nlu.SessionFilter.prototype.getDurationInMRoundedMax = function() {
6557
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 23, 0.0));
6558
+ };
6559
+
6560
+
6561
+ /**
6562
+ * @param {number} value
6563
+ * @return {!proto.ondewo.nlu.SessionFilter} returns this
6564
+ */
6565
+ proto.ondewo.nlu.SessionFilter.prototype.setDurationInMRoundedMax = function(value) {
6566
+ return jspb.Message.setProto3FloatField(this, 23, value);
6567
+ };
6568
+
6569
+
6570
+ /**
6571
+ * optional float duration_interval_15s_rounded_min = 24;
6572
+ * @return {number}
6573
+ */
6574
+ proto.ondewo.nlu.SessionFilter.prototype.getDurationInterval15sRoundedMin = function() {
6575
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 24, 0.0));
6576
+ };
6577
+
6578
+
6579
+ /**
6580
+ * @param {number} value
6581
+ * @return {!proto.ondewo.nlu.SessionFilter} returns this
6582
+ */
6583
+ proto.ondewo.nlu.SessionFilter.prototype.setDurationInterval15sRoundedMin = function(value) {
6584
+ return jspb.Message.setProto3FloatField(this, 24, value);
5482
6585
  };
5483
6586
 
5484
6587
 
5485
6588
  /**
5486
- * optional float min_entity_types_confidence_max = 7;
6589
+ * optional float duration_interval_15s_rounded_max = 25;
5487
6590
  * @return {number}
5488
6591
  */
5489
- proto.ondewo.nlu.SessionFilter.prototype.getMinEntityTypesConfidenceMax = function() {
5490
- return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 7, 0.0));
6592
+ proto.ondewo.nlu.SessionFilter.prototype.getDurationInterval15sRoundedMax = function() {
6593
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 25, 0.0));
5491
6594
  };
5492
6595
 
5493
6596
 
@@ -5495,17 +6598,17 @@ proto.ondewo.nlu.SessionFilter.prototype.getMinEntityTypesConfidenceMax = functi
5495
6598
  * @param {number} value
5496
6599
  * @return {!proto.ondewo.nlu.SessionFilter} returns this
5497
6600
  */
5498
- proto.ondewo.nlu.SessionFilter.prototype.setMinEntityTypesConfidenceMax = function(value) {
5499
- return jspb.Message.setProto3FloatField(this, 7, value);
6601
+ proto.ondewo.nlu.SessionFilter.prototype.setDurationInterval15sRoundedMax = function(value) {
6602
+ return jspb.Message.setProto3FloatField(this, 25, value);
5500
6603
  };
5501
6604
 
5502
6605
 
5503
6606
  /**
5504
- * optional float earliest = 8;
6607
+ * optional float duration_interval_30s_rounded_min = 26;
5505
6608
  * @return {number}
5506
6609
  */
5507
- proto.ondewo.nlu.SessionFilter.prototype.getEarliest = function() {
5508
- return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 8, 0.0));
6610
+ proto.ondewo.nlu.SessionFilter.prototype.getDurationInterval30sRoundedMin = function() {
6611
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 26, 0.0));
5509
6612
  };
5510
6613
 
5511
6614
 
@@ -5513,17 +6616,17 @@ proto.ondewo.nlu.SessionFilter.prototype.getEarliest = function() {
5513
6616
  * @param {number} value
5514
6617
  * @return {!proto.ondewo.nlu.SessionFilter} returns this
5515
6618
  */
5516
- proto.ondewo.nlu.SessionFilter.prototype.setEarliest = function(value) {
5517
- return jspb.Message.setProto3FloatField(this, 8, value);
6619
+ proto.ondewo.nlu.SessionFilter.prototype.setDurationInterval30sRoundedMin = function(value) {
6620
+ return jspb.Message.setProto3FloatField(this, 26, value);
5518
6621
  };
5519
6622
 
5520
6623
 
5521
6624
  /**
5522
- * optional float latest = 9;
6625
+ * optional float duration_interval_30s_rounded_max = 27;
5523
6626
  * @return {number}
5524
6627
  */
5525
- proto.ondewo.nlu.SessionFilter.prototype.getLatest = function() {
5526
- return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 9, 0.0));
6628
+ proto.ondewo.nlu.SessionFilter.prototype.getDurationInterval30sRoundedMax = function() {
6629
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 27, 0.0));
5527
6630
  };
5528
6631
 
5529
6632
 
@@ -5531,17 +6634,17 @@ proto.ondewo.nlu.SessionFilter.prototype.getLatest = function() {
5531
6634
  * @param {number} value
5532
6635
  * @return {!proto.ondewo.nlu.SessionFilter} returns this
5533
6636
  */
5534
- proto.ondewo.nlu.SessionFilter.prototype.setLatest = function(value) {
5535
- return jspb.Message.setProto3FloatField(this, 9, value);
6637
+ proto.ondewo.nlu.SessionFilter.prototype.setDurationInterval30sRoundedMax = function(value) {
6638
+ return jspb.Message.setProto3FloatField(this, 27, value);
5536
6639
  };
5537
6640
 
5538
6641
 
5539
6642
  /**
5540
- * optional int32 min_number_turns = 10;
6643
+ * optional float duration_interval_45s_rounded_min = 28;
5541
6644
  * @return {number}
5542
6645
  */
5543
- proto.ondewo.nlu.SessionFilter.prototype.getMinNumberTurns = function() {
5544
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 10, 0));
6646
+ proto.ondewo.nlu.SessionFilter.prototype.getDurationInterval45sRoundedMin = function() {
6647
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 28, 0.0));
5545
6648
  };
5546
6649
 
5547
6650
 
@@ -5549,17 +6652,17 @@ proto.ondewo.nlu.SessionFilter.prototype.getMinNumberTurns = function() {
5549
6652
  * @param {number} value
5550
6653
  * @return {!proto.ondewo.nlu.SessionFilter} returns this
5551
6654
  */
5552
- proto.ondewo.nlu.SessionFilter.prototype.setMinNumberTurns = function(value) {
5553
- return jspb.Message.setProto3IntField(this, 10, value);
6655
+ proto.ondewo.nlu.SessionFilter.prototype.setDurationInterval45sRoundedMin = function(value) {
6656
+ return jspb.Message.setProto3FloatField(this, 28, value);
5554
6657
  };
5555
6658
 
5556
6659
 
5557
6660
  /**
5558
- * optional int32 max_number_turns = 11;
6661
+ * optional float duration_interval_45s_rounded_max = 29;
5559
6662
  * @return {number}
5560
6663
  */
5561
- proto.ondewo.nlu.SessionFilter.prototype.getMaxNumberTurns = function() {
5562
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 11, 0));
6664
+ proto.ondewo.nlu.SessionFilter.prototype.getDurationInterval45sRoundedMax = function() {
6665
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 29, 0.0));
5563
6666
  };
5564
6667
 
5565
6668
 
@@ -5567,232 +6670,224 @@ proto.ondewo.nlu.SessionFilter.prototype.getMaxNumberTurns = function() {
5567
6670
  * @param {number} value
5568
6671
  * @return {!proto.ondewo.nlu.SessionFilter} returns this
5569
6672
  */
5570
- proto.ondewo.nlu.SessionFilter.prototype.setMaxNumberTurns = function(value) {
5571
- return jspb.Message.setProto3IntField(this, 11, value);
6673
+ proto.ondewo.nlu.SessionFilter.prototype.setDurationInterval45sRoundedMax = function(value) {
6674
+ return jspb.Message.setProto3FloatField(this, 29, value);
5572
6675
  };
5573
6676
 
5574
6677
 
5575
6678
  /**
5576
- * repeated string labels = 12;
5577
- * @return {!Array<string>}
6679
+ * optional string started_time_slot_per_hour_min = 30;
6680
+ * @return {string}
5578
6681
  */
5579
- proto.ondewo.nlu.SessionFilter.prototype.getLabelsList = function() {
5580
- return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 12));
6682
+ proto.ondewo.nlu.SessionFilter.prototype.getStartedTimeSlotPerHourMin = function() {
6683
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 30, ""));
5581
6684
  };
5582
6685
 
5583
6686
 
5584
6687
  /**
5585
- * @param {!Array<string>} value
6688
+ * @param {string} value
5586
6689
  * @return {!proto.ondewo.nlu.SessionFilter} returns this
5587
6690
  */
5588
- proto.ondewo.nlu.SessionFilter.prototype.setLabelsList = function(value) {
5589
- return jspb.Message.setField(this, 12, value || []);
6691
+ proto.ondewo.nlu.SessionFilter.prototype.setStartedTimeSlotPerHourMin = function(value) {
6692
+ return jspb.Message.setProto3StringField(this, 30, value);
5590
6693
  };
5591
6694
 
5592
6695
 
5593
6696
  /**
5594
- * @param {string} value
5595
- * @param {number=} opt_index
5596
- * @return {!proto.ondewo.nlu.SessionFilter} returns this
6697
+ * optional string started_time_slot_per_hour_max = 31;
6698
+ * @return {string}
5597
6699
  */
5598
- proto.ondewo.nlu.SessionFilter.prototype.addLabels = function(value, opt_index) {
5599
- return jspb.Message.addToRepeatedField(this, 12, value, opt_index);
6700
+ proto.ondewo.nlu.SessionFilter.prototype.getStartedTimeSlotPerHourMax = function() {
6701
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 31, ""));
5600
6702
  };
5601
6703
 
5602
6704
 
5603
6705
  /**
5604
- * Clears the list making it empty but non-null.
6706
+ * @param {string} value
5605
6707
  * @return {!proto.ondewo.nlu.SessionFilter} returns this
5606
6708
  */
5607
- proto.ondewo.nlu.SessionFilter.prototype.clearLabelsList = function() {
5608
- return this.setLabelsList([]);
6709
+ proto.ondewo.nlu.SessionFilter.prototype.setStartedTimeSlotPerHourMax = function(value) {
6710
+ return jspb.Message.setProto3StringField(this, 31, value);
5609
6711
  };
5610
6712
 
5611
6713
 
5612
6714
  /**
5613
- * repeated string user_ids = 13;
5614
- * @return {!Array<string>}
6715
+ * optional string started_time_slot_per_quarter_hour_min = 32;
6716
+ * @return {string}
5615
6717
  */
5616
- proto.ondewo.nlu.SessionFilter.prototype.getUserIdsList = function() {
5617
- return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 13));
6718
+ proto.ondewo.nlu.SessionFilter.prototype.getStartedTimeSlotPerQuarterHourMin = function() {
6719
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 32, ""));
5618
6720
  };
5619
6721
 
5620
6722
 
5621
6723
  /**
5622
- * @param {!Array<string>} value
6724
+ * @param {string} value
5623
6725
  * @return {!proto.ondewo.nlu.SessionFilter} returns this
5624
6726
  */
5625
- proto.ondewo.nlu.SessionFilter.prototype.setUserIdsList = function(value) {
5626
- return jspb.Message.setField(this, 13, value || []);
6727
+ proto.ondewo.nlu.SessionFilter.prototype.setStartedTimeSlotPerQuarterHourMin = function(value) {
6728
+ return jspb.Message.setProto3StringField(this, 32, value);
5627
6729
  };
5628
6730
 
5629
6731
 
5630
6732
  /**
5631
- * @param {string} value
5632
- * @param {number=} opt_index
5633
- * @return {!proto.ondewo.nlu.SessionFilter} returns this
6733
+ * optional string started_time_slot_per_quarter_hour_max = 33;
6734
+ * @return {string}
5634
6735
  */
5635
- proto.ondewo.nlu.SessionFilter.prototype.addUserIds = function(value, opt_index) {
5636
- return jspb.Message.addToRepeatedField(this, 13, value, opt_index);
6736
+ proto.ondewo.nlu.SessionFilter.prototype.getStartedTimeSlotPerQuarterHourMax = function() {
6737
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 33, ""));
5637
6738
  };
5638
6739
 
5639
6740
 
5640
6741
  /**
5641
- * Clears the list making it empty but non-null.
6742
+ * @param {string} value
5642
6743
  * @return {!proto.ondewo.nlu.SessionFilter} returns this
5643
6744
  */
5644
- proto.ondewo.nlu.SessionFilter.prototype.clearUserIdsList = function() {
5645
- return this.setUserIdsList([]);
6745
+ proto.ondewo.nlu.SessionFilter.prototype.setStartedTimeSlotPerQuarterHourMax = function(value) {
6746
+ return jspb.Message.setProto3StringField(this, 33, value);
5646
6747
  };
5647
6748
 
5648
6749
 
5649
6750
  /**
5650
- * repeated string intent_tags = 14;
5651
- * @return {!Array<string>}
6751
+ * optional string started_time_slot_per_half_hour_min = 34;
6752
+ * @return {string}
5652
6753
  */
5653
- proto.ondewo.nlu.SessionFilter.prototype.getIntentTagsList = function() {
5654
- return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 14));
6754
+ proto.ondewo.nlu.SessionFilter.prototype.getStartedTimeSlotPerHalfHourMin = function() {
6755
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 34, ""));
5655
6756
  };
5656
6757
 
5657
6758
 
5658
6759
  /**
5659
- * @param {!Array<string>} value
6760
+ * @param {string} value
5660
6761
  * @return {!proto.ondewo.nlu.SessionFilter} returns this
5661
6762
  */
5662
- proto.ondewo.nlu.SessionFilter.prototype.setIntentTagsList = function(value) {
5663
- return jspb.Message.setField(this, 14, value || []);
6763
+ proto.ondewo.nlu.SessionFilter.prototype.setStartedTimeSlotPerHalfHourMin = function(value) {
6764
+ return jspb.Message.setProto3StringField(this, 34, value);
5664
6765
  };
5665
6766
 
5666
6767
 
5667
6768
  /**
5668
- * @param {string} value
5669
- * @param {number=} opt_index
5670
- * @return {!proto.ondewo.nlu.SessionFilter} returns this
6769
+ * optional string started_time_slot_per_half_hour_max = 35;
6770
+ * @return {string}
5671
6771
  */
5672
- proto.ondewo.nlu.SessionFilter.prototype.addIntentTags = function(value, opt_index) {
5673
- return jspb.Message.addToRepeatedField(this, 14, value, opt_index);
6772
+ proto.ondewo.nlu.SessionFilter.prototype.getStartedTimeSlotPerHalfHourMax = function() {
6773
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 35, ""));
5674
6774
  };
5675
6775
 
5676
6776
 
5677
6777
  /**
5678
- * Clears the list making it empty but non-null.
6778
+ * @param {string} value
5679
6779
  * @return {!proto.ondewo.nlu.SessionFilter} returns this
5680
6780
  */
5681
- proto.ondewo.nlu.SessionFilter.prototype.clearIntentTagsList = function() {
5682
- return this.setIntentTagsList([]);
6781
+ proto.ondewo.nlu.SessionFilter.prototype.setStartedTimeSlotPerHalfHourMax = function(value) {
6782
+ return jspb.Message.setProto3StringField(this, 35, value);
5683
6783
  };
5684
6784
 
5685
6785
 
5686
6786
  /**
5687
- * repeated string session_ids = 15;
5688
- * @return {!Array<string>}
6787
+ * optional string started_time_slot_per_day_phase_min = 36;
6788
+ * @return {string}
5689
6789
  */
5690
- proto.ondewo.nlu.SessionFilter.prototype.getSessionIdsList = function() {
5691
- return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 15));
6790
+ proto.ondewo.nlu.SessionFilter.prototype.getStartedTimeSlotPerDayPhaseMin = function() {
6791
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 36, ""));
5692
6792
  };
5693
6793
 
5694
6794
 
5695
6795
  /**
5696
- * @param {!Array<string>} value
6796
+ * @param {string} value
5697
6797
  * @return {!proto.ondewo.nlu.SessionFilter} returns this
5698
6798
  */
5699
- proto.ondewo.nlu.SessionFilter.prototype.setSessionIdsList = function(value) {
5700
- return jspb.Message.setField(this, 15, value || []);
6799
+ proto.ondewo.nlu.SessionFilter.prototype.setStartedTimeSlotPerDayPhaseMin = function(value) {
6800
+ return jspb.Message.setProto3StringField(this, 36, value);
5701
6801
  };
5702
6802
 
5703
6803
 
5704
6804
  /**
5705
- * @param {string} value
5706
- * @param {number=} opt_index
5707
- * @return {!proto.ondewo.nlu.SessionFilter} returns this
6805
+ * optional string started_time_slot_per_day_phase_max = 37;
6806
+ * @return {string}
5708
6807
  */
5709
- proto.ondewo.nlu.SessionFilter.prototype.addSessionIds = function(value, opt_index) {
5710
- return jspb.Message.addToRepeatedField(this, 15, value, opt_index);
6808
+ proto.ondewo.nlu.SessionFilter.prototype.getStartedTimeSlotPerDayPhaseMax = function() {
6809
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 37, ""));
5711
6810
  };
5712
6811
 
5713
6812
 
5714
6813
  /**
5715
- * Clears the list making it empty but non-null.
6814
+ * @param {string} value
5716
6815
  * @return {!proto.ondewo.nlu.SessionFilter} returns this
5717
6816
  */
5718
- proto.ondewo.nlu.SessionFilter.prototype.clearSessionIdsList = function() {
5719
- return this.setSessionIdsList([]);
6817
+ proto.ondewo.nlu.SessionFilter.prototype.setStartedTimeSlotPerDayPhaseMax = function(value) {
6818
+ return jspb.Message.setProto3StringField(this, 37, value);
5720
6819
  };
5721
6820
 
5722
6821
 
5723
6822
  /**
5724
- * repeated Context input_contexts = 16;
5725
- * @return {!Array<!proto.ondewo.nlu.Context>}
6823
+ * optional string started_time_slot_per_minute_min = 38;
6824
+ * @return {string}
5726
6825
  */
5727
- proto.ondewo.nlu.SessionFilter.prototype.getInputContextsList = function() {
5728
- return /** @type{!Array<!proto.ondewo.nlu.Context>} */ (
5729
- 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, ""));
5730
6828
  };
5731
6829
 
5732
6830
 
5733
6831
  /**
5734
- * @param {!Array<!proto.ondewo.nlu.Context>} value
6832
+ * @param {string} value
5735
6833
  * @return {!proto.ondewo.nlu.SessionFilter} returns this
5736
- */
5737
- proto.ondewo.nlu.SessionFilter.prototype.setInputContextsList = function(value) {
5738
- return jspb.Message.setRepeatedWrapperField(this, 16, value);
6834
+ */
6835
+ proto.ondewo.nlu.SessionFilter.prototype.setStartedTimeSlotPerMinuteMin = function(value) {
6836
+ return jspb.Message.setProto3StringField(this, 38, value);
5739
6837
  };
5740
6838
 
5741
6839
 
5742
6840
  /**
5743
- * @param {!proto.ondewo.nlu.Context=} opt_value
5744
- * @param {number=} opt_index
5745
- * @return {!proto.ondewo.nlu.Context}
6841
+ * optional string started_time_slot_per_minute_max = 39;
6842
+ * @return {string}
5746
6843
  */
5747
- proto.ondewo.nlu.SessionFilter.prototype.addInputContexts = function(opt_value, opt_index) {
5748
- return jspb.Message.addToRepeatedWrapperField(this, 16, opt_value, proto.ondewo.nlu.Context, opt_index);
6844
+ proto.ondewo.nlu.SessionFilter.prototype.getStartedTimeSlotPerMinuteMax = function() {
6845
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 39, ""));
5749
6846
  };
5750
6847
 
5751
6848
 
5752
6849
  /**
5753
- * Clears the list making it empty but non-null.
6850
+ * @param {string} value
5754
6851
  * @return {!proto.ondewo.nlu.SessionFilter} returns this
5755
6852
  */
5756
- proto.ondewo.nlu.SessionFilter.prototype.clearInputContextsList = function() {
5757
- return this.setInputContextsList([]);
6853
+ proto.ondewo.nlu.SessionFilter.prototype.setStartedTimeSlotPerMinuteMax = function(value) {
6854
+ return jspb.Message.setProto3StringField(this, 39, value);
5758
6855
  };
5759
6856
 
5760
6857
 
5761
6858
  /**
5762
- * repeated Context output_contexts = 17;
5763
- * @return {!Array<!proto.ondewo.nlu.Context>}
6859
+ * optional float duration_in_s_rounded_min = 40;
6860
+ * @return {number}
5764
6861
  */
5765
- proto.ondewo.nlu.SessionFilter.prototype.getOutputContextsList = function() {
5766
- return /** @type{!Array<!proto.ondewo.nlu.Context>} */ (
5767
- 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));
5768
6864
  };
5769
6865
 
5770
6866
 
5771
6867
  /**
5772
- * @param {!Array<!proto.ondewo.nlu.Context>} value
6868
+ * @param {number} value
5773
6869
  * @return {!proto.ondewo.nlu.SessionFilter} returns this
5774
- */
5775
- proto.ondewo.nlu.SessionFilter.prototype.setOutputContextsList = function(value) {
5776
- return jspb.Message.setRepeatedWrapperField(this, 17, value);
6870
+ */
6871
+ proto.ondewo.nlu.SessionFilter.prototype.setDurationInSRoundedMin = function(value) {
6872
+ return jspb.Message.setProto3FloatField(this, 40, value);
5777
6873
  };
5778
6874
 
5779
6875
 
5780
6876
  /**
5781
- * @param {!proto.ondewo.nlu.Context=} opt_value
5782
- * @param {number=} opt_index
5783
- * @return {!proto.ondewo.nlu.Context}
6877
+ * optional float duration_in_s_rounded_max = 41;
6878
+ * @return {number}
5784
6879
  */
5785
- proto.ondewo.nlu.SessionFilter.prototype.addOutputContexts = function(opt_value, opt_index) {
5786
- return jspb.Message.addToRepeatedWrapperField(this, 17, opt_value, proto.ondewo.nlu.Context, opt_index);
6880
+ proto.ondewo.nlu.SessionFilter.prototype.getDurationInSRoundedMax = function() {
6881
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 41, 0.0));
5787
6882
  };
5788
6883
 
5789
6884
 
5790
6885
  /**
5791
- * Clears the list making it empty but non-null.
6886
+ * @param {number} value
5792
6887
  * @return {!proto.ondewo.nlu.SessionFilter} returns this
5793
6888
  */
5794
- proto.ondewo.nlu.SessionFilter.prototype.clearOutputContextsList = function() {
5795
- return this.setOutputContextsList([]);
6889
+ proto.ondewo.nlu.SessionFilter.prototype.setDurationInSRoundedMax = function(value) {
6890
+ return jspb.Message.setProto3FloatField(this, 41, value);
5796
6891
  };
5797
6892
 
5798
6893
 
@@ -5851,7 +6946,19 @@ proto.ondewo.nlu.SessionInfo.toObject = function(includeInstance, msg) {
5851
6946
  inputContextStepsList: jspb.Message.toObjectList(msg.getInputContextStepsList(),
5852
6947
  proto.ondewo.nlu.SessionInfo.ContextSteps.toObject, includeInstance),
5853
6948
  outputContextStepsList: jspb.Message.toObjectList(msg.getOutputContextStepsList(),
5854
- 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)
5855
6962
  };
5856
6963
 
5857
6964
  if (includeInstance) {
@@ -5944,6 +7051,54 @@ proto.ondewo.nlu.SessionInfo.deserializeBinaryFromReader = function(msg, reader)
5944
7051
  reader.readMessage(value,proto.ondewo.nlu.SessionInfo.ContextSteps.deserializeBinaryFromReader);
5945
7052
  msg.addOutputContextSteps(value);
5946
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;
5947
7102
  default:
5948
7103
  reader.skipField();
5949
7104
  break;
@@ -6010,62 +7165,146 @@ proto.ondewo.nlu.SessionInfo.serializeBinaryToWriter = function(message, writer)
6010
7165
  f
6011
7166
  );
6012
7167
  }
6013
- f = message.getEarliest();
7168
+ f = message.getEarliest();
7169
+ if (f !== 0.0) {
7170
+ writer.writeFloat(
7171
+ 6,
7172
+ f
7173
+ );
7174
+ }
7175
+ f = message.getLatest();
7176
+ if (f !== 0.0) {
7177
+ writer.writeFloat(
7178
+ 7,
7179
+ f
7180
+ );
7181
+ }
7182
+ f = message.getNumberTurns();
7183
+ if (f !== 0) {
7184
+ writer.writeInt32(
7185
+ 8,
7186
+ f
7187
+ );
7188
+ }
7189
+ f = message.getLabelsList();
7190
+ if (f.length > 0) {
7191
+ writer.writeRepeatedString(
7192
+ 9,
7193
+ f
7194
+ );
7195
+ }
7196
+ f = message.getUserIdsList();
7197
+ if (f.length > 0) {
7198
+ writer.writeRepeatedString(
7199
+ 10,
7200
+ f
7201
+ );
7202
+ }
7203
+ f = message.getIntentTagsList();
7204
+ if (f.length > 0) {
7205
+ writer.writeRepeatedString(
7206
+ 11,
7207
+ f
7208
+ );
7209
+ }
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();
6014
7255
  if (f !== 0.0) {
6015
7256
  writer.writeFloat(
6016
- 6,
7257
+ 18,
6017
7258
  f
6018
7259
  );
6019
7260
  }
6020
- f = message.getLatest();
7261
+ f = message.getDurationInterval45sRounded();
6021
7262
  if (f !== 0.0) {
6022
7263
  writer.writeFloat(
6023
- 7,
7264
+ 19,
6024
7265
  f
6025
7266
  );
6026
7267
  }
6027
- f = message.getNumberTurns();
6028
- if (f !== 0) {
6029
- writer.writeInt32(
6030
- 8,
7268
+ f = message.getStartedTimeSlotPerHour();
7269
+ if (f.length > 0) {
7270
+ writer.writeString(
7271
+ 20,
6031
7272
  f
6032
7273
  );
6033
7274
  }
6034
- f = message.getLabelsList();
7275
+ f = message.getStartedTimeSlotPerQuarterHour();
6035
7276
  if (f.length > 0) {
6036
- writer.writeRepeatedString(
6037
- 9,
7277
+ writer.writeString(
7278
+ 21,
6038
7279
  f
6039
7280
  );
6040
7281
  }
6041
- f = message.getUserIdsList();
7282
+ f = message.getStartedTimeSlotPerHalfHour();
6042
7283
  if (f.length > 0) {
6043
- writer.writeRepeatedString(
6044
- 10,
7284
+ writer.writeString(
7285
+ 22,
6045
7286
  f
6046
7287
  );
6047
7288
  }
6048
- f = message.getIntentTagsList();
7289
+ f = message.getStartedTimeSlotPerDayPhase();
6049
7290
  if (f.length > 0) {
6050
- writer.writeRepeatedString(
6051
- 11,
7291
+ writer.writeString(
7292
+ 23,
6052
7293
  f
6053
7294
  );
6054
7295
  }
6055
- f = message.getInputContextStepsList();
7296
+ f = message.getStartedTimeSlotPerMinute();
6056
7297
  if (f.length > 0) {
6057
- writer.writeRepeatedMessage(
6058
- 12,
6059
- f,
6060
- proto.ondewo.nlu.SessionInfo.ContextSteps.serializeBinaryToWriter
7298
+ writer.writeString(
7299
+ 24,
7300
+ f
6061
7301
  );
6062
7302
  }
6063
- f = message.getOutputContextStepsList();
6064
- if (f.length > 0) {
6065
- writer.writeRepeatedMessage(
6066
- 13,
6067
- f,
6068
- proto.ondewo.nlu.SessionInfo.ContextSteps.serializeBinaryToWriter
7303
+ f = message.getDurationInSRounded();
7304
+ if (f !== 0.0) {
7305
+ writer.writeFloat(
7306
+ 25,
7307
+ f
6069
7308
  );
6070
7309
  }
6071
7310
  };
@@ -6372,38 +7611,261 @@ proto.ondewo.nlu.SessionInfo.prototype.getMinEntityTypesConfidence = function()
6372
7611
 
6373
7612
 
6374
7613
  /**
6375
- * @param {number} value
7614
+ * @param {number} value
7615
+ * @return {!proto.ondewo.nlu.SessionInfo} returns this
7616
+ */
7617
+ proto.ondewo.nlu.SessionInfo.prototype.setMinEntityTypesConfidence = function(value) {
7618
+ return jspb.Message.setProto3FloatField(this, 5, value);
7619
+ };
7620
+
7621
+
7622
+ /**
7623
+ * optional float earliest = 6;
7624
+ * @return {number}
7625
+ */
7626
+ proto.ondewo.nlu.SessionInfo.prototype.getEarliest = function() {
7627
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 6, 0.0));
7628
+ };
7629
+
7630
+
7631
+ /**
7632
+ * @param {number} value
7633
+ * @return {!proto.ondewo.nlu.SessionInfo} returns this
7634
+ */
7635
+ proto.ondewo.nlu.SessionInfo.prototype.setEarliest = function(value) {
7636
+ return jspb.Message.setProto3FloatField(this, 6, value);
7637
+ };
7638
+
7639
+
7640
+ /**
7641
+ * optional float latest = 7;
7642
+ * @return {number}
7643
+ */
7644
+ proto.ondewo.nlu.SessionInfo.prototype.getLatest = function() {
7645
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 7, 0.0));
7646
+ };
7647
+
7648
+
7649
+ /**
7650
+ * @param {number} value
7651
+ * @return {!proto.ondewo.nlu.SessionInfo} returns this
7652
+ */
7653
+ proto.ondewo.nlu.SessionInfo.prototype.setLatest = function(value) {
7654
+ return jspb.Message.setProto3FloatField(this, 7, value);
7655
+ };
7656
+
7657
+
7658
+ /**
7659
+ * optional int32 number_turns = 8;
7660
+ * @return {number}
7661
+ */
7662
+ proto.ondewo.nlu.SessionInfo.prototype.getNumberTurns = function() {
7663
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0));
7664
+ };
7665
+
7666
+
7667
+ /**
7668
+ * @param {number} value
7669
+ * @return {!proto.ondewo.nlu.SessionInfo} returns this
7670
+ */
7671
+ proto.ondewo.nlu.SessionInfo.prototype.setNumberTurns = function(value) {
7672
+ return jspb.Message.setProto3IntField(this, 8, value);
7673
+ };
7674
+
7675
+
7676
+ /**
7677
+ * repeated string labels = 9;
7678
+ * @return {!Array<string>}
7679
+ */
7680
+ proto.ondewo.nlu.SessionInfo.prototype.getLabelsList = function() {
7681
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 9));
7682
+ };
7683
+
7684
+
7685
+ /**
7686
+ * @param {!Array<string>} value
7687
+ * @return {!proto.ondewo.nlu.SessionInfo} returns this
7688
+ */
7689
+ proto.ondewo.nlu.SessionInfo.prototype.setLabelsList = function(value) {
7690
+ return jspb.Message.setField(this, 9, value || []);
7691
+ };
7692
+
7693
+
7694
+ /**
7695
+ * @param {string} value
7696
+ * @param {number=} opt_index
7697
+ * @return {!proto.ondewo.nlu.SessionInfo} returns this
7698
+ */
7699
+ proto.ondewo.nlu.SessionInfo.prototype.addLabels = function(value, opt_index) {
7700
+ return jspb.Message.addToRepeatedField(this, 9, value, opt_index);
7701
+ };
7702
+
7703
+
7704
+ /**
7705
+ * Clears the list making it empty but non-null.
7706
+ * @return {!proto.ondewo.nlu.SessionInfo} returns this
7707
+ */
7708
+ proto.ondewo.nlu.SessionInfo.prototype.clearLabelsList = function() {
7709
+ return this.setLabelsList([]);
7710
+ };
7711
+
7712
+
7713
+ /**
7714
+ * repeated string user_ids = 10;
7715
+ * @return {!Array<string>}
7716
+ */
7717
+ proto.ondewo.nlu.SessionInfo.prototype.getUserIdsList = function() {
7718
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 10));
7719
+ };
7720
+
7721
+
7722
+ /**
7723
+ * @param {!Array<string>} value
7724
+ * @return {!proto.ondewo.nlu.SessionInfo} returns this
7725
+ */
7726
+ proto.ondewo.nlu.SessionInfo.prototype.setUserIdsList = function(value) {
7727
+ return jspb.Message.setField(this, 10, value || []);
7728
+ };
7729
+
7730
+
7731
+ /**
7732
+ * @param {string} value
7733
+ * @param {number=} opt_index
7734
+ * @return {!proto.ondewo.nlu.SessionInfo} returns this
7735
+ */
7736
+ proto.ondewo.nlu.SessionInfo.prototype.addUserIds = function(value, opt_index) {
7737
+ return jspb.Message.addToRepeatedField(this, 10, value, opt_index);
7738
+ };
7739
+
7740
+
7741
+ /**
7742
+ * Clears the list making it empty but non-null.
7743
+ * @return {!proto.ondewo.nlu.SessionInfo} returns this
7744
+ */
7745
+ proto.ondewo.nlu.SessionInfo.prototype.clearUserIdsList = function() {
7746
+ return this.setUserIdsList([]);
7747
+ };
7748
+
7749
+
7750
+ /**
7751
+ * repeated string intent_tags = 11;
7752
+ * @return {!Array<string>}
7753
+ */
7754
+ proto.ondewo.nlu.SessionInfo.prototype.getIntentTagsList = function() {
7755
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 11));
7756
+ };
7757
+
7758
+
7759
+ /**
7760
+ * @param {!Array<string>} value
7761
+ * @return {!proto.ondewo.nlu.SessionInfo} returns this
7762
+ */
7763
+ proto.ondewo.nlu.SessionInfo.prototype.setIntentTagsList = function(value) {
7764
+ return jspb.Message.setField(this, 11, value || []);
7765
+ };
7766
+
7767
+
7768
+ /**
7769
+ * @param {string} value
7770
+ * @param {number=} opt_index
7771
+ * @return {!proto.ondewo.nlu.SessionInfo} returns this
7772
+ */
7773
+ proto.ondewo.nlu.SessionInfo.prototype.addIntentTags = function(value, opt_index) {
7774
+ return jspb.Message.addToRepeatedField(this, 11, value, opt_index);
7775
+ };
7776
+
7777
+
7778
+ /**
7779
+ * Clears the list making it empty but non-null.
7780
+ * @return {!proto.ondewo.nlu.SessionInfo} returns this
7781
+ */
7782
+ proto.ondewo.nlu.SessionInfo.prototype.clearIntentTagsList = function() {
7783
+ return this.setIntentTagsList([]);
7784
+ };
7785
+
7786
+
7787
+ /**
7788
+ * repeated ContextSteps input_context_steps = 12;
7789
+ * @return {!Array<!proto.ondewo.nlu.SessionInfo.ContextSteps>}
7790
+ */
7791
+ proto.ondewo.nlu.SessionInfo.prototype.getInputContextStepsList = function() {
7792
+ return /** @type{!Array<!proto.ondewo.nlu.SessionInfo.ContextSteps>} */ (
7793
+ jspb.Message.getRepeatedWrapperField(this, proto.ondewo.nlu.SessionInfo.ContextSteps, 12));
7794
+ };
7795
+
7796
+
7797
+ /**
7798
+ * @param {!Array<!proto.ondewo.nlu.SessionInfo.ContextSteps>} value
7799
+ * @return {!proto.ondewo.nlu.SessionInfo} returns this
7800
+ */
7801
+ proto.ondewo.nlu.SessionInfo.prototype.setInputContextStepsList = function(value) {
7802
+ return jspb.Message.setRepeatedWrapperField(this, 12, value);
7803
+ };
7804
+
7805
+
7806
+ /**
7807
+ * @param {!proto.ondewo.nlu.SessionInfo.ContextSteps=} opt_value
7808
+ * @param {number=} opt_index
7809
+ * @return {!proto.ondewo.nlu.SessionInfo.ContextSteps}
7810
+ */
7811
+ proto.ondewo.nlu.SessionInfo.prototype.addInputContextSteps = function(opt_value, opt_index) {
7812
+ return jspb.Message.addToRepeatedWrapperField(this, 12, opt_value, proto.ondewo.nlu.SessionInfo.ContextSteps, opt_index);
7813
+ };
7814
+
7815
+
7816
+ /**
7817
+ * Clears the list making it empty but non-null.
7818
+ * @return {!proto.ondewo.nlu.SessionInfo} returns this
7819
+ */
7820
+ proto.ondewo.nlu.SessionInfo.prototype.clearInputContextStepsList = function() {
7821
+ return this.setInputContextStepsList([]);
7822
+ };
7823
+
7824
+
7825
+ /**
7826
+ * repeated ContextSteps output_context_steps = 13;
7827
+ * @return {!Array<!proto.ondewo.nlu.SessionInfo.ContextSteps>}
7828
+ */
7829
+ proto.ondewo.nlu.SessionInfo.prototype.getOutputContextStepsList = function() {
7830
+ return /** @type{!Array<!proto.ondewo.nlu.SessionInfo.ContextSteps>} */ (
7831
+ jspb.Message.getRepeatedWrapperField(this, proto.ondewo.nlu.SessionInfo.ContextSteps, 13));
7832
+ };
7833
+
7834
+
7835
+ /**
7836
+ * @param {!Array<!proto.ondewo.nlu.SessionInfo.ContextSteps>} value
6376
7837
  * @return {!proto.ondewo.nlu.SessionInfo} returns this
6377
- */
6378
- proto.ondewo.nlu.SessionInfo.prototype.setMinEntityTypesConfidence = function(value) {
6379
- return jspb.Message.setProto3FloatField(this, 5, value);
7838
+ */
7839
+ proto.ondewo.nlu.SessionInfo.prototype.setOutputContextStepsList = function(value) {
7840
+ return jspb.Message.setRepeatedWrapperField(this, 13, value);
6380
7841
  };
6381
7842
 
6382
7843
 
6383
7844
  /**
6384
- * optional float earliest = 6;
6385
- * @return {number}
7845
+ * @param {!proto.ondewo.nlu.SessionInfo.ContextSteps=} opt_value
7846
+ * @param {number=} opt_index
7847
+ * @return {!proto.ondewo.nlu.SessionInfo.ContextSteps}
6386
7848
  */
6387
- proto.ondewo.nlu.SessionInfo.prototype.getEarliest = function() {
6388
- return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 6, 0.0));
7849
+ proto.ondewo.nlu.SessionInfo.prototype.addOutputContextSteps = function(opt_value, opt_index) {
7850
+ return jspb.Message.addToRepeatedWrapperField(this, 13, opt_value, proto.ondewo.nlu.SessionInfo.ContextSteps, opt_index);
6389
7851
  };
6390
7852
 
6391
7853
 
6392
7854
  /**
6393
- * @param {number} value
7855
+ * Clears the list making it empty but non-null.
6394
7856
  * @return {!proto.ondewo.nlu.SessionInfo} returns this
6395
7857
  */
6396
- proto.ondewo.nlu.SessionInfo.prototype.setEarliest = function(value) {
6397
- return jspb.Message.setProto3FloatField(this, 6, value);
7858
+ proto.ondewo.nlu.SessionInfo.prototype.clearOutputContextStepsList = function() {
7859
+ return this.setOutputContextStepsList([]);
6398
7860
  };
6399
7861
 
6400
7862
 
6401
7863
  /**
6402
- * optional float latest = 7;
7864
+ * optional float duration_in_s = 14;
6403
7865
  * @return {number}
6404
7866
  */
6405
- proto.ondewo.nlu.SessionInfo.prototype.getLatest = function() {
6406
- return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 7, 0.0));
7867
+ proto.ondewo.nlu.SessionInfo.prototype.getDurationInS = function() {
7868
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 14, 0.0));
6407
7869
  };
6408
7870
 
6409
7871
 
@@ -6411,17 +7873,17 @@ proto.ondewo.nlu.SessionInfo.prototype.getLatest = function() {
6411
7873
  * @param {number} value
6412
7874
  * @return {!proto.ondewo.nlu.SessionInfo} returns this
6413
7875
  */
6414
- proto.ondewo.nlu.SessionInfo.prototype.setLatest = function(value) {
6415
- return jspb.Message.setProto3FloatField(this, 7, value);
7876
+ proto.ondewo.nlu.SessionInfo.prototype.setDurationInS = function(value) {
7877
+ return jspb.Message.setProto3FloatField(this, 14, value);
6416
7878
  };
6417
7879
 
6418
7880
 
6419
7881
  /**
6420
- * optional int32 number_turns = 8;
7882
+ * optional float duration_in_m = 15;
6421
7883
  * @return {number}
6422
7884
  */
6423
- proto.ondewo.nlu.SessionInfo.prototype.getNumberTurns = function() {
6424
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0));
7885
+ proto.ondewo.nlu.SessionInfo.prototype.getDurationInM = function() {
7886
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 15, 0.0));
6425
7887
  };
6426
7888
 
6427
7889
 
@@ -6429,195 +7891,188 @@ proto.ondewo.nlu.SessionInfo.prototype.getNumberTurns = function() {
6429
7891
  * @param {number} value
6430
7892
  * @return {!proto.ondewo.nlu.SessionInfo} returns this
6431
7893
  */
6432
- proto.ondewo.nlu.SessionInfo.prototype.setNumberTurns = function(value) {
6433
- return jspb.Message.setProto3IntField(this, 8, value);
7894
+ proto.ondewo.nlu.SessionInfo.prototype.setDurationInM = function(value) {
7895
+ return jspb.Message.setProto3FloatField(this, 15, value);
6434
7896
  };
6435
7897
 
6436
7898
 
6437
7899
  /**
6438
- * repeated string labels = 9;
6439
- * @return {!Array<string>}
7900
+ * optional float duration_in_m_rounded = 16;
7901
+ * @return {number}
6440
7902
  */
6441
- proto.ondewo.nlu.SessionInfo.prototype.getLabelsList = function() {
6442
- return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 9));
7903
+ proto.ondewo.nlu.SessionInfo.prototype.getDurationInMRounded = function() {
7904
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 16, 0.0));
6443
7905
  };
6444
7906
 
6445
7907
 
6446
7908
  /**
6447
- * @param {!Array<string>} value
7909
+ * @param {number} value
6448
7910
  * @return {!proto.ondewo.nlu.SessionInfo} returns this
6449
7911
  */
6450
- proto.ondewo.nlu.SessionInfo.prototype.setLabelsList = function(value) {
6451
- return jspb.Message.setField(this, 9, value || []);
7912
+ proto.ondewo.nlu.SessionInfo.prototype.setDurationInMRounded = function(value) {
7913
+ return jspb.Message.setProto3FloatField(this, 16, value);
6452
7914
  };
6453
7915
 
6454
7916
 
6455
7917
  /**
6456
- * @param {string} value
6457
- * @param {number=} opt_index
6458
- * @return {!proto.ondewo.nlu.SessionInfo} returns this
7918
+ * optional float duration_interval_15s_rounded = 17;
7919
+ * @return {number}
6459
7920
  */
6460
- proto.ondewo.nlu.SessionInfo.prototype.addLabels = function(value, opt_index) {
6461
- return jspb.Message.addToRepeatedField(this, 9, value, opt_index);
7921
+ proto.ondewo.nlu.SessionInfo.prototype.getDurationInterval15sRounded = function() {
7922
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 17, 0.0));
6462
7923
  };
6463
7924
 
6464
7925
 
6465
7926
  /**
6466
- * Clears the list making it empty but non-null.
7927
+ * @param {number} value
6467
7928
  * @return {!proto.ondewo.nlu.SessionInfo} returns this
6468
7929
  */
6469
- proto.ondewo.nlu.SessionInfo.prototype.clearLabelsList = function() {
6470
- return this.setLabelsList([]);
7930
+ proto.ondewo.nlu.SessionInfo.prototype.setDurationInterval15sRounded = function(value) {
7931
+ return jspb.Message.setProto3FloatField(this, 17, value);
6471
7932
  };
6472
7933
 
6473
7934
 
6474
7935
  /**
6475
- * repeated string user_ids = 10;
6476
- * @return {!Array<string>}
7936
+ * optional float duration_interval_30s_rounded = 18;
7937
+ * @return {number}
6477
7938
  */
6478
- proto.ondewo.nlu.SessionInfo.prototype.getUserIdsList = function() {
6479
- return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 10));
7939
+ proto.ondewo.nlu.SessionInfo.prototype.getDurationInterval30sRounded = function() {
7940
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 18, 0.0));
6480
7941
  };
6481
7942
 
6482
7943
 
6483
7944
  /**
6484
- * @param {!Array<string>} value
7945
+ * @param {number} value
6485
7946
  * @return {!proto.ondewo.nlu.SessionInfo} returns this
6486
7947
  */
6487
- proto.ondewo.nlu.SessionInfo.prototype.setUserIdsList = function(value) {
6488
- return jspb.Message.setField(this, 10, value || []);
7948
+ proto.ondewo.nlu.SessionInfo.prototype.setDurationInterval30sRounded = function(value) {
7949
+ return jspb.Message.setProto3FloatField(this, 18, value);
6489
7950
  };
6490
7951
 
6491
7952
 
6492
7953
  /**
6493
- * @param {string} value
6494
- * @param {number=} opt_index
6495
- * @return {!proto.ondewo.nlu.SessionInfo} returns this
7954
+ * optional float duration_interval_45s_rounded = 19;
7955
+ * @return {number}
6496
7956
  */
6497
- proto.ondewo.nlu.SessionInfo.prototype.addUserIds = function(value, opt_index) {
6498
- return jspb.Message.addToRepeatedField(this, 10, value, opt_index);
7957
+ proto.ondewo.nlu.SessionInfo.prototype.getDurationInterval45sRounded = function() {
7958
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 19, 0.0));
6499
7959
  };
6500
7960
 
6501
7961
 
6502
7962
  /**
6503
- * Clears the list making it empty but non-null.
7963
+ * @param {number} value
6504
7964
  * @return {!proto.ondewo.nlu.SessionInfo} returns this
6505
7965
  */
6506
- proto.ondewo.nlu.SessionInfo.prototype.clearUserIdsList = function() {
6507
- return this.setUserIdsList([]);
7966
+ proto.ondewo.nlu.SessionInfo.prototype.setDurationInterval45sRounded = function(value) {
7967
+ return jspb.Message.setProto3FloatField(this, 19, value);
6508
7968
  };
6509
7969
 
6510
7970
 
6511
7971
  /**
6512
- * repeated string intent_tags = 11;
6513
- * @return {!Array<string>}
7972
+ * optional string started_time_slot_per_hour = 20;
7973
+ * @return {string}
6514
7974
  */
6515
- proto.ondewo.nlu.SessionInfo.prototype.getIntentTagsList = function() {
6516
- return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 11));
7975
+ proto.ondewo.nlu.SessionInfo.prototype.getStartedTimeSlotPerHour = function() {
7976
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 20, ""));
6517
7977
  };
6518
7978
 
6519
7979
 
6520
7980
  /**
6521
- * @param {!Array<string>} value
7981
+ * @param {string} value
6522
7982
  * @return {!proto.ondewo.nlu.SessionInfo} returns this
6523
7983
  */
6524
- proto.ondewo.nlu.SessionInfo.prototype.setIntentTagsList = function(value) {
6525
- return jspb.Message.setField(this, 11, value || []);
7984
+ proto.ondewo.nlu.SessionInfo.prototype.setStartedTimeSlotPerHour = function(value) {
7985
+ return jspb.Message.setProto3StringField(this, 20, value);
6526
7986
  };
6527
7987
 
6528
7988
 
6529
7989
  /**
6530
- * @param {string} value
6531
- * @param {number=} opt_index
6532
- * @return {!proto.ondewo.nlu.SessionInfo} returns this
7990
+ * optional string started_time_slot_per_quarter_hour = 21;
7991
+ * @return {string}
6533
7992
  */
6534
- proto.ondewo.nlu.SessionInfo.prototype.addIntentTags = function(value, opt_index) {
6535
- return jspb.Message.addToRepeatedField(this, 11, value, opt_index);
7993
+ proto.ondewo.nlu.SessionInfo.prototype.getStartedTimeSlotPerQuarterHour = function() {
7994
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 21, ""));
6536
7995
  };
6537
7996
 
6538
7997
 
6539
7998
  /**
6540
- * Clears the list making it empty but non-null.
7999
+ * @param {string} value
6541
8000
  * @return {!proto.ondewo.nlu.SessionInfo} returns this
6542
8001
  */
6543
- proto.ondewo.nlu.SessionInfo.prototype.clearIntentTagsList = function() {
6544
- return this.setIntentTagsList([]);
8002
+ proto.ondewo.nlu.SessionInfo.prototype.setStartedTimeSlotPerQuarterHour = function(value) {
8003
+ return jspb.Message.setProto3StringField(this, 21, value);
6545
8004
  };
6546
8005
 
6547
8006
 
6548
8007
  /**
6549
- * repeated ContextSteps input_context_steps = 12;
6550
- * @return {!Array<!proto.ondewo.nlu.SessionInfo.ContextSteps>}
8008
+ * optional string started_time_slot_per_half_hour = 22;
8009
+ * @return {string}
6551
8010
  */
6552
- proto.ondewo.nlu.SessionInfo.prototype.getInputContextStepsList = function() {
6553
- return /** @type{!Array<!proto.ondewo.nlu.SessionInfo.ContextSteps>} */ (
6554
- jspb.Message.getRepeatedWrapperField(this, proto.ondewo.nlu.SessionInfo.ContextSteps, 12));
8011
+ proto.ondewo.nlu.SessionInfo.prototype.getStartedTimeSlotPerHalfHour = function() {
8012
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 22, ""));
6555
8013
  };
6556
8014
 
6557
8015
 
6558
8016
  /**
6559
- * @param {!Array<!proto.ondewo.nlu.SessionInfo.ContextSteps>} value
8017
+ * @param {string} value
6560
8018
  * @return {!proto.ondewo.nlu.SessionInfo} returns this
6561
- */
6562
- proto.ondewo.nlu.SessionInfo.prototype.setInputContextStepsList = function(value) {
6563
- return jspb.Message.setRepeatedWrapperField(this, 12, value);
8019
+ */
8020
+ proto.ondewo.nlu.SessionInfo.prototype.setStartedTimeSlotPerHalfHour = function(value) {
8021
+ return jspb.Message.setProto3StringField(this, 22, value);
6564
8022
  };
6565
8023
 
6566
8024
 
6567
8025
  /**
6568
- * @param {!proto.ondewo.nlu.SessionInfo.ContextSteps=} opt_value
6569
- * @param {number=} opt_index
6570
- * @return {!proto.ondewo.nlu.SessionInfo.ContextSteps}
8026
+ * optional string started_time_slot_per_day_phase = 23;
8027
+ * @return {string}
6571
8028
  */
6572
- proto.ondewo.nlu.SessionInfo.prototype.addInputContextSteps = function(opt_value, opt_index) {
6573
- return jspb.Message.addToRepeatedWrapperField(this, 12, opt_value, proto.ondewo.nlu.SessionInfo.ContextSteps, opt_index);
8029
+ proto.ondewo.nlu.SessionInfo.prototype.getStartedTimeSlotPerDayPhase = function() {
8030
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 23, ""));
6574
8031
  };
6575
8032
 
6576
8033
 
6577
8034
  /**
6578
- * Clears the list making it empty but non-null.
8035
+ * @param {string} value
6579
8036
  * @return {!proto.ondewo.nlu.SessionInfo} returns this
6580
8037
  */
6581
- proto.ondewo.nlu.SessionInfo.prototype.clearInputContextStepsList = function() {
6582
- return this.setInputContextStepsList([]);
8038
+ proto.ondewo.nlu.SessionInfo.prototype.setStartedTimeSlotPerDayPhase = function(value) {
8039
+ return jspb.Message.setProto3StringField(this, 23, value);
6583
8040
  };
6584
8041
 
6585
8042
 
6586
8043
  /**
6587
- * repeated ContextSteps output_context_steps = 13;
6588
- * @return {!Array<!proto.ondewo.nlu.SessionInfo.ContextSteps>}
8044
+ * optional string started_time_slot_per_minute = 24;
8045
+ * @return {string}
6589
8046
  */
6590
- proto.ondewo.nlu.SessionInfo.prototype.getOutputContextStepsList = function() {
6591
- return /** @type{!Array<!proto.ondewo.nlu.SessionInfo.ContextSteps>} */ (
6592
- jspb.Message.getRepeatedWrapperField(this, proto.ondewo.nlu.SessionInfo.ContextSteps, 13));
8047
+ proto.ondewo.nlu.SessionInfo.prototype.getStartedTimeSlotPerMinute = function() {
8048
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 24, ""));
6593
8049
  };
6594
8050
 
6595
8051
 
6596
8052
  /**
6597
- * @param {!Array<!proto.ondewo.nlu.SessionInfo.ContextSteps>} value
8053
+ * @param {string} value
6598
8054
  * @return {!proto.ondewo.nlu.SessionInfo} returns this
6599
- */
6600
- proto.ondewo.nlu.SessionInfo.prototype.setOutputContextStepsList = function(value) {
6601
- return jspb.Message.setRepeatedWrapperField(this, 13, value);
8055
+ */
8056
+ proto.ondewo.nlu.SessionInfo.prototype.setStartedTimeSlotPerMinute = function(value) {
8057
+ return jspb.Message.setProto3StringField(this, 24, value);
6602
8058
  };
6603
8059
 
6604
8060
 
6605
8061
  /**
6606
- * @param {!proto.ondewo.nlu.SessionInfo.ContextSteps=} opt_value
6607
- * @param {number=} opt_index
6608
- * @return {!proto.ondewo.nlu.SessionInfo.ContextSteps}
8062
+ * optional float duration_in_s_rounded = 25;
8063
+ * @return {number}
6609
8064
  */
6610
- proto.ondewo.nlu.SessionInfo.prototype.addOutputContextSteps = function(opt_value, opt_index) {
6611
- return jspb.Message.addToRepeatedWrapperField(this, 13, opt_value, proto.ondewo.nlu.SessionInfo.ContextSteps, opt_index);
8065
+ proto.ondewo.nlu.SessionInfo.prototype.getDurationInSRounded = function() {
8066
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 25, 0.0));
6612
8067
  };
6613
8068
 
6614
8069
 
6615
8070
  /**
6616
- * Clears the list making it empty but non-null.
8071
+ * @param {number} value
6617
8072
  * @return {!proto.ondewo.nlu.SessionInfo} returns this
6618
8073
  */
6619
- proto.ondewo.nlu.SessionInfo.prototype.clearOutputContextStepsList = function() {
6620
- return this.setOutputContextStepsList([]);
8074
+ proto.ondewo.nlu.SessionInfo.prototype.setDurationInSRounded = function(value) {
8075
+ return jspb.Message.setProto3FloatField(this, 25, value);
6621
8076
  };
6622
8077
 
6623
8078
 
@@ -6844,7 +8299,8 @@ proto.ondewo.nlu.GetSessionRequest.prototype.toObject = function(opt_includeInst
6844
8299
  proto.ondewo.nlu.GetSessionRequest.toObject = function(includeInstance, msg) {
6845
8300
  var f, obj = {
6846
8301
  sessionId: jspb.Message.getFieldWithDefault(msg, 1, ""),
6847
- 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)
6848
8304
  };
6849
8305
 
6850
8306
  if (includeInstance) {
@@ -6889,6 +8345,11 @@ proto.ondewo.nlu.GetSessionRequest.deserializeBinaryFromReader = function(msg, r
6889
8345
  var value = /** @type {!proto.ondewo.nlu.Session.View} */ (reader.readEnum());
6890
8346
  msg.setSessionView(value);
6891
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;
6892
8353
  default:
6893
8354
  reader.skipField();
6894
8355
  break;
@@ -6932,6 +8393,14 @@ proto.ondewo.nlu.GetSessionRequest.serializeBinaryToWriter = function(message, w
6932
8393
  f
6933
8394
  );
6934
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
+ }
6935
8404
  };
6936
8405
 
6937
8406
 
@@ -6971,6 +8440,43 @@ proto.ondewo.nlu.GetSessionRequest.prototype.setSessionView = function(value) {
6971
8440
  };
6972
8441
 
6973
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
+
6974
8480
 
6975
8481
  /**
6976
8482
  * List of repeated fields within this message type.
@@ -7597,7 +9103,7 @@ proto.ondewo.nlu.SessionReview.prototype.toObject = function(opt_includeInstance
7597
9103
  */
7598
9104
  proto.ondewo.nlu.SessionReview.toObject = function(includeInstance, msg) {
7599
9105
  var f, obj = {
7600
- sessionReviewId: jspb.Message.getFieldWithDefault(msg, 1, ""),
9106
+ name: jspb.Message.getFieldWithDefault(msg, 1, ""),
7601
9107
  sessionReviewStepsList: jspb.Message.toObjectList(msg.getSessionReviewStepsList(),
7602
9108
  proto.ondewo.nlu.SessionReviewStep.toObject, includeInstance)
7603
9109
  };
@@ -7638,7 +9144,7 @@ proto.ondewo.nlu.SessionReview.deserializeBinaryFromReader = function(msg, reade
7638
9144
  switch (field) {
7639
9145
  case 1:
7640
9146
  var value = /** @type {string} */ (reader.readString());
7641
- msg.setSessionReviewId(value);
9147
+ msg.setName(value);
7642
9148
  break;
7643
9149
  case 2:
7644
9150
  var value = new proto.ondewo.nlu.SessionReviewStep;
@@ -7674,7 +9180,7 @@ proto.ondewo.nlu.SessionReview.prototype.serializeBinary = function() {
7674
9180
  */
7675
9181
  proto.ondewo.nlu.SessionReview.serializeBinaryToWriter = function(message, writer) {
7676
9182
  var f = undefined;
7677
- f = message.getSessionReviewId();
9183
+ f = message.getName();
7678
9184
  if (f.length > 0) {
7679
9185
  writer.writeString(
7680
9186
  1,
@@ -7702,10 +9208,10 @@ proto.ondewo.nlu.SessionReview.View = {
7702
9208
  };
7703
9209
 
7704
9210
  /**
7705
- * optional string session_review_id = 1;
9211
+ * optional string name = 1;
7706
9212
  * @return {string}
7707
9213
  */
7708
- proto.ondewo.nlu.SessionReview.prototype.getSessionReviewId = function() {
9214
+ proto.ondewo.nlu.SessionReview.prototype.getName = function() {
7709
9215
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
7710
9216
  };
7711
9217
 
@@ -7714,7 +9220,7 @@ proto.ondewo.nlu.SessionReview.prototype.getSessionReviewId = function() {
7714
9220
  * @param {string} value
7715
9221
  * @return {!proto.ondewo.nlu.SessionReview} returns this
7716
9222
  */
7717
- proto.ondewo.nlu.SessionReview.prototype.setSessionReviewId = function(value) {
9223
+ proto.ondewo.nlu.SessionReview.prototype.setName = function(value) {
7718
9224
  return jspb.Message.setProto3StringField(this, 1, value);
7719
9225
  };
7720
9226
 
@@ -7763,7 +9269,7 @@ proto.ondewo.nlu.SessionReview.prototype.clearSessionReviewStepsList = function(
7763
9269
  * @private {!Array<number>}
7764
9270
  * @const
7765
9271
  */
7766
- proto.ondewo.nlu.SessionReviewStep.repeatedFields_ = [3,4,5];
9272
+ proto.ondewo.nlu.SessionReviewStep.repeatedFields_ = [4,5,6];
7767
9273
 
7768
9274
 
7769
9275
 
@@ -7796,8 +9302,9 @@ proto.ondewo.nlu.SessionReviewStep.prototype.toObject = function(opt_includeInst
7796
9302
  */
7797
9303
  proto.ondewo.nlu.SessionReviewStep.toObject = function(includeInstance, msg) {
7798
9304
  var f, obj = {
9305
+ name: jspb.Message.getFieldWithDefault(msg, 1, ""),
7799
9306
  annotatedUsersays: (f = msg.getAnnotatedUsersays()) && ondewo_nlu_intent_pb.Intent.TrainingPhrase.toObject(includeInstance, f),
7800
- languageCode: jspb.Message.getFieldWithDefault(msg, 2, ""),
9307
+ languageCode: jspb.Message.getFieldWithDefault(msg, 3, ""),
7801
9308
  detectedIntentsList: jspb.Message.toObjectList(msg.getDetectedIntentsList(),
7802
9309
  proto.ondewo.nlu.DetectedIntent.toObject, includeInstance),
7803
9310
  contextsList: jspb.Message.toObjectList(msg.getContextsList(),
@@ -7841,25 +9348,29 @@ proto.ondewo.nlu.SessionReviewStep.deserializeBinaryFromReader = function(msg, r
7841
9348
  var field = reader.getFieldNumber();
7842
9349
  switch (field) {
7843
9350
  case 1:
9351
+ var value = /** @type {string} */ (reader.readString());
9352
+ msg.setName(value);
9353
+ break;
9354
+ case 2:
7844
9355
  var value = new ondewo_nlu_intent_pb.Intent.TrainingPhrase;
7845
9356
  reader.readMessage(value,ondewo_nlu_intent_pb.Intent.TrainingPhrase.deserializeBinaryFromReader);
7846
9357
  msg.setAnnotatedUsersays(value);
7847
9358
  break;
7848
- case 2:
9359
+ case 3:
7849
9360
  var value = /** @type {string} */ (reader.readString());
7850
9361
  msg.setLanguageCode(value);
7851
9362
  break;
7852
- case 3:
9363
+ case 4:
7853
9364
  var value = new proto.ondewo.nlu.DetectedIntent;
7854
9365
  reader.readMessage(value,proto.ondewo.nlu.DetectedIntent.deserializeBinaryFromReader);
7855
9366
  msg.addDetectedIntents(value);
7856
9367
  break;
7857
- case 4:
9368
+ case 5:
7858
9369
  var value = new ondewo_nlu_context_pb.Context;
7859
9370
  reader.readMessage(value,ondewo_nlu_context_pb.Context.deserializeBinaryFromReader);
7860
9371
  msg.addContexts(value);
7861
9372
  break;
7862
- case 5:
9373
+ case 6:
7863
9374
  var value = new ondewo_nlu_context_pb.Context;
7864
9375
  reader.readMessage(value,ondewo_nlu_context_pb.Context.deserializeBinaryFromReader);
7865
9376
  msg.addContextsOut(value);
@@ -7893,10 +9404,17 @@ proto.ondewo.nlu.SessionReviewStep.prototype.serializeBinary = function() {
7893
9404
  */
7894
9405
  proto.ondewo.nlu.SessionReviewStep.serializeBinaryToWriter = function(message, writer) {
7895
9406
  var f = undefined;
9407
+ f = message.getName();
9408
+ if (f.length > 0) {
9409
+ writer.writeString(
9410
+ 1,
9411
+ f
9412
+ );
9413
+ }
7896
9414
  f = message.getAnnotatedUsersays();
7897
9415
  if (f != null) {
7898
9416
  writer.writeMessage(
7899
- 1,
9417
+ 2,
7900
9418
  f,
7901
9419
  ondewo_nlu_intent_pb.Intent.TrainingPhrase.serializeBinaryToWriter
7902
9420
  );
@@ -7904,14 +9422,14 @@ proto.ondewo.nlu.SessionReviewStep.serializeBinaryToWriter = function(message, w
7904
9422
  f = message.getLanguageCode();
7905
9423
  if (f.length > 0) {
7906
9424
  writer.writeString(
7907
- 2,
9425
+ 3,
7908
9426
  f
7909
9427
  );
7910
9428
  }
7911
9429
  f = message.getDetectedIntentsList();
7912
9430
  if (f.length > 0) {
7913
9431
  writer.writeRepeatedMessage(
7914
- 3,
9432
+ 4,
7915
9433
  f,
7916
9434
  proto.ondewo.nlu.DetectedIntent.serializeBinaryToWriter
7917
9435
  );
@@ -7919,7 +9437,7 @@ proto.ondewo.nlu.SessionReviewStep.serializeBinaryToWriter = function(message, w
7919
9437
  f = message.getContextsList();
7920
9438
  if (f.length > 0) {
7921
9439
  writer.writeRepeatedMessage(
7922
- 4,
9440
+ 5,
7923
9441
  f,
7924
9442
  ondewo_nlu_context_pb.Context.serializeBinaryToWriter
7925
9443
  );
@@ -7927,7 +9445,7 @@ proto.ondewo.nlu.SessionReviewStep.serializeBinaryToWriter = function(message, w
7927
9445
  f = message.getContextsOutList();
7928
9446
  if (f.length > 0) {
7929
9447
  writer.writeRepeatedMessage(
7930
- 5,
9448
+ 6,
7931
9449
  f,
7932
9450
  ondewo_nlu_context_pb.Context.serializeBinaryToWriter
7933
9451
  );
@@ -7936,12 +9454,30 @@ proto.ondewo.nlu.SessionReviewStep.serializeBinaryToWriter = function(message, w
7936
9454
 
7937
9455
 
7938
9456
  /**
7939
- * optional Intent.TrainingPhrase annotated_usersays = 1;
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;
7940
9476
  * @return {?proto.ondewo.nlu.Intent.TrainingPhrase}
7941
9477
  */
7942
9478
  proto.ondewo.nlu.SessionReviewStep.prototype.getAnnotatedUsersays = function() {
7943
9479
  return /** @type{?proto.ondewo.nlu.Intent.TrainingPhrase} */ (
7944
- jspb.Message.getWrapperField(this, ondewo_nlu_intent_pb.Intent.TrainingPhrase, 1));
9480
+ jspb.Message.getWrapperField(this, ondewo_nlu_intent_pb.Intent.TrainingPhrase, 2));
7945
9481
  };
7946
9482
 
7947
9483
 
@@ -7950,7 +9486,7 @@ proto.ondewo.nlu.SessionReviewStep.prototype.getAnnotatedUsersays = function() {
7950
9486
  * @return {!proto.ondewo.nlu.SessionReviewStep} returns this
7951
9487
  */
7952
9488
  proto.ondewo.nlu.SessionReviewStep.prototype.setAnnotatedUsersays = function(value) {
7953
- return jspb.Message.setWrapperField(this, 1, value);
9489
+ return jspb.Message.setWrapperField(this, 2, value);
7954
9490
  };
7955
9491
 
7956
9492
 
@@ -7968,16 +9504,16 @@ proto.ondewo.nlu.SessionReviewStep.prototype.clearAnnotatedUsersays = function()
7968
9504
  * @return {boolean}
7969
9505
  */
7970
9506
  proto.ondewo.nlu.SessionReviewStep.prototype.hasAnnotatedUsersays = function() {
7971
- return jspb.Message.getField(this, 1) != null;
9507
+ return jspb.Message.getField(this, 2) != null;
7972
9508
  };
7973
9509
 
7974
9510
 
7975
9511
  /**
7976
- * optional string language_code = 2;
9512
+ * optional string language_code = 3;
7977
9513
  * @return {string}
7978
9514
  */
7979
9515
  proto.ondewo.nlu.SessionReviewStep.prototype.getLanguageCode = function() {
7980
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
9516
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
7981
9517
  };
7982
9518
 
7983
9519
 
@@ -7986,17 +9522,17 @@ proto.ondewo.nlu.SessionReviewStep.prototype.getLanguageCode = function() {
7986
9522
  * @return {!proto.ondewo.nlu.SessionReviewStep} returns this
7987
9523
  */
7988
9524
  proto.ondewo.nlu.SessionReviewStep.prototype.setLanguageCode = function(value) {
7989
- return jspb.Message.setProto3StringField(this, 2, value);
9525
+ return jspb.Message.setProto3StringField(this, 3, value);
7990
9526
  };
7991
9527
 
7992
9528
 
7993
9529
  /**
7994
- * repeated DetectedIntent detected_intents = 3;
9530
+ * repeated DetectedIntent detected_intents = 4;
7995
9531
  * @return {!Array<!proto.ondewo.nlu.DetectedIntent>}
7996
9532
  */
7997
9533
  proto.ondewo.nlu.SessionReviewStep.prototype.getDetectedIntentsList = function() {
7998
9534
  return /** @type{!Array<!proto.ondewo.nlu.DetectedIntent>} */ (
7999
- jspb.Message.getRepeatedWrapperField(this, proto.ondewo.nlu.DetectedIntent, 3));
9535
+ jspb.Message.getRepeatedWrapperField(this, proto.ondewo.nlu.DetectedIntent, 4));
8000
9536
  };
8001
9537
 
8002
9538
 
@@ -8005,7 +9541,7 @@ proto.ondewo.nlu.SessionReviewStep.prototype.getDetectedIntentsList = function()
8005
9541
  * @return {!proto.ondewo.nlu.SessionReviewStep} returns this
8006
9542
  */
8007
9543
  proto.ondewo.nlu.SessionReviewStep.prototype.setDetectedIntentsList = function(value) {
8008
- return jspb.Message.setRepeatedWrapperField(this, 3, value);
9544
+ return jspb.Message.setRepeatedWrapperField(this, 4, value);
8009
9545
  };
8010
9546
 
8011
9547
 
@@ -8015,7 +9551,7 @@ proto.ondewo.nlu.SessionReviewStep.prototype.setDetectedIntentsList = function(v
8015
9551
  * @return {!proto.ondewo.nlu.DetectedIntent}
8016
9552
  */
8017
9553
  proto.ondewo.nlu.SessionReviewStep.prototype.addDetectedIntents = function(opt_value, opt_index) {
8018
- return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.ondewo.nlu.DetectedIntent, opt_index);
9554
+ return jspb.Message.addToRepeatedWrapperField(this, 4, opt_value, proto.ondewo.nlu.DetectedIntent, opt_index);
8019
9555
  };
8020
9556
 
8021
9557
 
@@ -8029,12 +9565,12 @@ proto.ondewo.nlu.SessionReviewStep.prototype.clearDetectedIntentsList = function
8029
9565
 
8030
9566
 
8031
9567
  /**
8032
- * repeated Context contexts = 4;
9568
+ * repeated Context contexts = 5;
8033
9569
  * @return {!Array<!proto.ondewo.nlu.Context>}
8034
9570
  */
8035
9571
  proto.ondewo.nlu.SessionReviewStep.prototype.getContextsList = function() {
8036
9572
  return /** @type{!Array<!proto.ondewo.nlu.Context>} */ (
8037
- jspb.Message.getRepeatedWrapperField(this, ondewo_nlu_context_pb.Context, 4));
9573
+ jspb.Message.getRepeatedWrapperField(this, ondewo_nlu_context_pb.Context, 5));
8038
9574
  };
8039
9575
 
8040
9576
 
@@ -8043,7 +9579,7 @@ proto.ondewo.nlu.SessionReviewStep.prototype.getContextsList = function() {
8043
9579
  * @return {!proto.ondewo.nlu.SessionReviewStep} returns this
8044
9580
  */
8045
9581
  proto.ondewo.nlu.SessionReviewStep.prototype.setContextsList = function(value) {
8046
- return jspb.Message.setRepeatedWrapperField(this, 4, value);
9582
+ return jspb.Message.setRepeatedWrapperField(this, 5, value);
8047
9583
  };
8048
9584
 
8049
9585
 
@@ -8053,7 +9589,7 @@ proto.ondewo.nlu.SessionReviewStep.prototype.setContextsList = function(value) {
8053
9589
  * @return {!proto.ondewo.nlu.Context}
8054
9590
  */
8055
9591
  proto.ondewo.nlu.SessionReviewStep.prototype.addContexts = function(opt_value, opt_index) {
8056
- return jspb.Message.addToRepeatedWrapperField(this, 4, opt_value, proto.ondewo.nlu.Context, opt_index);
9592
+ return jspb.Message.addToRepeatedWrapperField(this, 5, opt_value, proto.ondewo.nlu.Context, opt_index);
8057
9593
  };
8058
9594
 
8059
9595
 
@@ -8067,12 +9603,12 @@ proto.ondewo.nlu.SessionReviewStep.prototype.clearContextsList = function() {
8067
9603
 
8068
9604
 
8069
9605
  /**
8070
- * repeated Context contexts_out = 5;
9606
+ * repeated Context contexts_out = 6;
8071
9607
  * @return {!Array<!proto.ondewo.nlu.Context>}
8072
9608
  */
8073
9609
  proto.ondewo.nlu.SessionReviewStep.prototype.getContextsOutList = function() {
8074
9610
  return /** @type{!Array<!proto.ondewo.nlu.Context>} */ (
8075
- jspb.Message.getRepeatedWrapperField(this, ondewo_nlu_context_pb.Context, 5));
9611
+ jspb.Message.getRepeatedWrapperField(this, ondewo_nlu_context_pb.Context, 6));
8076
9612
  };
8077
9613
 
8078
9614
 
@@ -8081,7 +9617,7 @@ proto.ondewo.nlu.SessionReviewStep.prototype.getContextsOutList = function() {
8081
9617
  * @return {!proto.ondewo.nlu.SessionReviewStep} returns this
8082
9618
  */
8083
9619
  proto.ondewo.nlu.SessionReviewStep.prototype.setContextsOutList = function(value) {
8084
- return jspb.Message.setRepeatedWrapperField(this, 5, value);
9620
+ return jspb.Message.setRepeatedWrapperField(this, 6, value);
8085
9621
  };
8086
9622
 
8087
9623
 
@@ -8091,7 +9627,7 @@ proto.ondewo.nlu.SessionReviewStep.prototype.setContextsOutList = function(value
8091
9627
  * @return {!proto.ondewo.nlu.Context}
8092
9628
  */
8093
9629
  proto.ondewo.nlu.SessionReviewStep.prototype.addContextsOut = function(opt_value, opt_index) {
8094
- return jspb.Message.addToRepeatedWrapperField(this, 5, opt_value, proto.ondewo.nlu.Context, opt_index);
9630
+ return jspb.Message.addToRepeatedWrapperField(this, 6, opt_value, proto.ondewo.nlu.Context, opt_index);
8095
9631
  };
8096
9632
 
8097
9633
 
@@ -9907,4 +11443,17 @@ proto.ondewo.nlu.AudioEncoding = {
9907
11443
  AUDIO_ENCODING_SPEEX_WITH_HEADER_BYTE: 7
9908
11444
  };
9909
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
+
9910
11459
  goog.object.extend(exports, proto.ondewo.nlu);