@ondewo/nlu-client-typescript 3.4.0 → 4.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -23,8 +23,6 @@ var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb
23
23
  goog.object.extend(proto, google_protobuf_empty_pb);
24
24
  var google_protobuf_struct_pb = require('google-protobuf/google/protobuf/struct_pb.js');
25
25
  goog.object.extend(proto, google_protobuf_struct_pb);
26
- var google_protobuf_any_pb = require('google-protobuf/google/protobuf/any_pb.js');
27
- goog.object.extend(proto, google_protobuf_any_pb);
28
26
  var ondewo_nlu_common_pb = require('../../ondewo/nlu/common_pb.js');
29
27
  goog.object.extend(proto, ondewo_nlu_common_pb);
30
28
  var ondewo_nlu_intent_pb = require('../../ondewo/nlu/intent_pb.js');
@@ -35,6 +33,8 @@ var ondewo_nlu_project_role_pb = require('../../ondewo/nlu/project_role_pb.js');
35
33
  goog.object.extend(proto, ondewo_nlu_project_role_pb);
36
34
  var ondewo_nlu_operations_pb = require('../../ondewo/nlu/operations_pb.js');
37
35
  goog.object.extend(proto, ondewo_nlu_operations_pb);
36
+ var ondewo_nlu_session_pb = require('../../ondewo/nlu/session_pb.js');
37
+ goog.object.extend(proto, ondewo_nlu_session_pb);
38
38
  var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js');
39
39
  goog.object.extend(proto, google_protobuf_timestamp_pb);
40
40
  goog.exportSymbol('proto.ondewo.nlu.AddUserToProjectRequest', null, global);
@@ -86,6 +86,8 @@ goog.exportSymbol('proto.ondewo.nlu.GetModelStatusesRequest', null, global);
86
86
  goog.exportSymbol('proto.ondewo.nlu.GetModelStatusesResponse', null, global);
87
87
  goog.exportSymbol('proto.ondewo.nlu.GetPlatformInfoResponse', null, global);
88
88
  goog.exportSymbol('proto.ondewo.nlu.GetPlatformMappingRequest', null, global);
89
+ goog.exportSymbol('proto.ondewo.nlu.GetSessionsStatisticsRequest', null, global);
90
+ goog.exportSymbol('proto.ondewo.nlu.GetSessionsStatisticsResponse', null, global);
89
91
  goog.exportSymbol('proto.ondewo.nlu.ImportAgentRequest', null, global);
90
92
  goog.exportSymbol('proto.ondewo.nlu.ImportAgentRequest.AgentCase', null, global);
91
93
  goog.exportSymbol('proto.ondewo.nlu.InitiationProtocol', null, global);
@@ -108,6 +110,7 @@ goog.exportSymbol('proto.ondewo.nlu.ReportFormat', null, global);
108
110
  goog.exportSymbol('proto.ondewo.nlu.ReportType', null, global);
109
111
  goog.exportSymbol('proto.ondewo.nlu.RestoreAgentRequest', null, global);
110
112
  goog.exportSymbol('proto.ondewo.nlu.RestoreAgentRequest.AgentCase', null, global);
113
+ goog.exportSymbol('proto.ondewo.nlu.SessionsReportType', null, global);
111
114
  goog.exportSymbol('proto.ondewo.nlu.SetAgentStatusRequest', null, global);
112
115
  goog.exportSymbol('proto.ondewo.nlu.SetResourcesRequest', null, global);
113
116
  goog.exportSymbol('proto.ondewo.nlu.TrainAgentRequest', null, global);
@@ -596,6 +599,48 @@ if (goog.DEBUG && !COMPILED) {
596
599
  */
597
600
  proto.ondewo.nlu.GetAgentStatisticsResponse.displayName = 'proto.ondewo.nlu.GetAgentStatisticsResponse';
598
601
  }
602
+ /**
603
+ * Generated by JsPbCodeGenerator.
604
+ * @param {Array=} opt_data Optional initial data array, typically from a
605
+ * server response, or constructed directly in Javascript. The array is used
606
+ * in place and becomes part of the constructed object. It is not cloned.
607
+ * If no data is provided, the constructed object will be empty, but still
608
+ * valid.
609
+ * @extends {jspb.Message}
610
+ * @constructor
611
+ */
612
+ proto.ondewo.nlu.GetSessionsStatisticsRequest = function(opt_data) {
613
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.ondewo.nlu.GetSessionsStatisticsRequest.repeatedFields_, null);
614
+ };
615
+ goog.inherits(proto.ondewo.nlu.GetSessionsStatisticsRequest, jspb.Message);
616
+ if (goog.DEBUG && !COMPILED) {
617
+ /**
618
+ * @public
619
+ * @override
620
+ */
621
+ proto.ondewo.nlu.GetSessionsStatisticsRequest.displayName = 'proto.ondewo.nlu.GetSessionsStatisticsRequest';
622
+ }
623
+ /**
624
+ * Generated by JsPbCodeGenerator.
625
+ * @param {Array=} opt_data Optional initial data array, typically from a
626
+ * server response, or constructed directly in Javascript. The array is used
627
+ * in place and becomes part of the constructed object. It is not cloned.
628
+ * If no data is provided, the constructed object will be empty, but still
629
+ * valid.
630
+ * @extends {jspb.Message}
631
+ * @constructor
632
+ */
633
+ proto.ondewo.nlu.GetSessionsStatisticsResponse = function(opt_data) {
634
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
635
+ };
636
+ goog.inherits(proto.ondewo.nlu.GetSessionsStatisticsResponse, jspb.Message);
637
+ if (goog.DEBUG && !COMPILED) {
638
+ /**
639
+ * @public
640
+ * @override
641
+ */
642
+ proto.ondewo.nlu.GetSessionsStatisticsResponse.displayName = 'proto.ondewo.nlu.GetSessionsStatisticsResponse';
643
+ }
599
644
  /**
600
645
  * Generated by JsPbCodeGenerator.
601
646
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -6033,11 +6078,830 @@ proto.ondewo.nlu.RestoreAgentRequest.prototype.setAgentUri = function(value) {
6033
6078
 
6034
6079
 
6035
6080
  /**
6036
- * Clears the field making it undefined.
6037
- * @return {!proto.ondewo.nlu.RestoreAgentRequest} returns this
6081
+ * Clears the field making it undefined.
6082
+ * @return {!proto.ondewo.nlu.RestoreAgentRequest} returns this
6083
+ */
6084
+ proto.ondewo.nlu.RestoreAgentRequest.prototype.clearAgentUri = function() {
6085
+ return jspb.Message.setOneofField(this, 2, proto.ondewo.nlu.RestoreAgentRequest.oneofGroups_[0], undefined);
6086
+ };
6087
+
6088
+
6089
+ /**
6090
+ * Returns whether this field is set.
6091
+ * @return {boolean}
6092
+ */
6093
+ proto.ondewo.nlu.RestoreAgentRequest.prototype.hasAgentUri = function() {
6094
+ return jspb.Message.getField(this, 2) != null;
6095
+ };
6096
+
6097
+
6098
+ /**
6099
+ * optional bytes agent_content = 3;
6100
+ * @return {!(string|Uint8Array)}
6101
+ */
6102
+ proto.ondewo.nlu.RestoreAgentRequest.prototype.getAgentContent = function() {
6103
+ return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
6104
+ };
6105
+
6106
+
6107
+ /**
6108
+ * optional bytes agent_content = 3;
6109
+ * This is a type-conversion wrapper around `getAgentContent()`
6110
+ * @return {string}
6111
+ */
6112
+ proto.ondewo.nlu.RestoreAgentRequest.prototype.getAgentContent_asB64 = function() {
6113
+ return /** @type {string} */ (jspb.Message.bytesAsB64(
6114
+ this.getAgentContent()));
6115
+ };
6116
+
6117
+
6118
+ /**
6119
+ * optional bytes agent_content = 3;
6120
+ * Note that Uint8Array is not supported on all browsers.
6121
+ * @see http://caniuse.com/Uint8Array
6122
+ * This is a type-conversion wrapper around `getAgentContent()`
6123
+ * @return {!Uint8Array}
6124
+ */
6125
+ proto.ondewo.nlu.RestoreAgentRequest.prototype.getAgentContent_asU8 = function() {
6126
+ return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
6127
+ this.getAgentContent()));
6128
+ };
6129
+
6130
+
6131
+ /**
6132
+ * @param {!(string|Uint8Array)} value
6133
+ * @return {!proto.ondewo.nlu.RestoreAgentRequest} returns this
6134
+ */
6135
+ proto.ondewo.nlu.RestoreAgentRequest.prototype.setAgentContent = function(value) {
6136
+ return jspb.Message.setOneofField(this, 3, proto.ondewo.nlu.RestoreAgentRequest.oneofGroups_[0], value);
6137
+ };
6138
+
6139
+
6140
+ /**
6141
+ * Clears the field making it undefined.
6142
+ * @return {!proto.ondewo.nlu.RestoreAgentRequest} returns this
6143
+ */
6144
+ proto.ondewo.nlu.RestoreAgentRequest.prototype.clearAgentContent = function() {
6145
+ return jspb.Message.setOneofField(this, 3, proto.ondewo.nlu.RestoreAgentRequest.oneofGroups_[0], undefined);
6146
+ };
6147
+
6148
+
6149
+ /**
6150
+ * Returns whether this field is set.
6151
+ * @return {boolean}
6152
+ */
6153
+ proto.ondewo.nlu.RestoreAgentRequest.prototype.hasAgentContent = function() {
6154
+ return jspb.Message.getField(this, 3) != null;
6155
+ };
6156
+
6157
+
6158
+
6159
+
6160
+
6161
+ if (jspb.Message.GENERATE_TO_OBJECT) {
6162
+ /**
6163
+ * Creates an object representation of this proto.
6164
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
6165
+ * Optional fields that are not set will be set to undefined.
6166
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
6167
+ * For the list of reserved names please see:
6168
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
6169
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
6170
+ * JSPB instance for transitional soy proto support:
6171
+ * http://goto/soy-param-migration
6172
+ * @return {!Object}
6173
+ */
6174
+ proto.ondewo.nlu.GetAgentStatisticsRequest.prototype.toObject = function(opt_includeInstance) {
6175
+ return proto.ondewo.nlu.GetAgentStatisticsRequest.toObject(opt_includeInstance, this);
6176
+ };
6177
+
6178
+
6179
+ /**
6180
+ * Static version of the {@see toObject} method.
6181
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
6182
+ * the JSPB instance for transitional soy proto support:
6183
+ * http://goto/soy-param-migration
6184
+ * @param {!proto.ondewo.nlu.GetAgentStatisticsRequest} msg The msg instance to transform.
6185
+ * @return {!Object}
6186
+ * @suppress {unusedLocalVariables} f is only used for nested messages
6187
+ */
6188
+ proto.ondewo.nlu.GetAgentStatisticsRequest.toObject = function(includeInstance, msg) {
6189
+ var f, obj = {
6190
+ parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
6191
+ format: jspb.Message.getFieldWithDefault(msg, 2, 0),
6192
+ languageCode: jspb.Message.getFieldWithDefault(msg, 3, ""),
6193
+ type: jspb.Message.getFieldWithDefault(msg, 4, 0)
6194
+ };
6195
+
6196
+ if (includeInstance) {
6197
+ obj.$jspbMessageInstance = msg;
6198
+ }
6199
+ return obj;
6200
+ };
6201
+ }
6202
+
6203
+
6204
+ /**
6205
+ * Deserializes binary data (in protobuf wire format).
6206
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
6207
+ * @return {!proto.ondewo.nlu.GetAgentStatisticsRequest}
6208
+ */
6209
+ proto.ondewo.nlu.GetAgentStatisticsRequest.deserializeBinary = function(bytes) {
6210
+ var reader = new jspb.BinaryReader(bytes);
6211
+ var msg = new proto.ondewo.nlu.GetAgentStatisticsRequest;
6212
+ return proto.ondewo.nlu.GetAgentStatisticsRequest.deserializeBinaryFromReader(msg, reader);
6213
+ };
6214
+
6215
+
6216
+ /**
6217
+ * Deserializes binary data (in protobuf wire format) from the
6218
+ * given reader into the given message object.
6219
+ * @param {!proto.ondewo.nlu.GetAgentStatisticsRequest} msg The message object to deserialize into.
6220
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
6221
+ * @return {!proto.ondewo.nlu.GetAgentStatisticsRequest}
6222
+ */
6223
+ proto.ondewo.nlu.GetAgentStatisticsRequest.deserializeBinaryFromReader = function(msg, reader) {
6224
+ while (reader.nextField()) {
6225
+ if (reader.isEndGroup()) {
6226
+ break;
6227
+ }
6228
+ var field = reader.getFieldNumber();
6229
+ switch (field) {
6230
+ case 1:
6231
+ var value = /** @type {string} */ (reader.readString());
6232
+ msg.setParent(value);
6233
+ break;
6234
+ case 2:
6235
+ var value = /** @type {!proto.ondewo.nlu.ReportFormat} */ (reader.readEnum());
6236
+ msg.setFormat(value);
6237
+ break;
6238
+ case 3:
6239
+ var value = /** @type {string} */ (reader.readString());
6240
+ msg.setLanguageCode(value);
6241
+ break;
6242
+ case 4:
6243
+ var value = /** @type {!proto.ondewo.nlu.ReportType} */ (reader.readEnum());
6244
+ msg.setType(value);
6245
+ break;
6246
+ default:
6247
+ reader.skipField();
6248
+ break;
6249
+ }
6250
+ }
6251
+ return msg;
6252
+ };
6253
+
6254
+
6255
+ /**
6256
+ * Serializes the message to binary data (in protobuf wire format).
6257
+ * @return {!Uint8Array}
6258
+ */
6259
+ proto.ondewo.nlu.GetAgentStatisticsRequest.prototype.serializeBinary = function() {
6260
+ var writer = new jspb.BinaryWriter();
6261
+ proto.ondewo.nlu.GetAgentStatisticsRequest.serializeBinaryToWriter(this, writer);
6262
+ return writer.getResultBuffer();
6263
+ };
6264
+
6265
+
6266
+ /**
6267
+ * Serializes the given message to binary data (in protobuf wire
6268
+ * format), writing to the given BinaryWriter.
6269
+ * @param {!proto.ondewo.nlu.GetAgentStatisticsRequest} message
6270
+ * @param {!jspb.BinaryWriter} writer
6271
+ * @suppress {unusedLocalVariables} f is only used for nested messages
6272
+ */
6273
+ proto.ondewo.nlu.GetAgentStatisticsRequest.serializeBinaryToWriter = function(message, writer) {
6274
+ var f = undefined;
6275
+ f = message.getParent();
6276
+ if (f.length > 0) {
6277
+ writer.writeString(
6278
+ 1,
6279
+ f
6280
+ );
6281
+ }
6282
+ f = message.getFormat();
6283
+ if (f !== 0.0) {
6284
+ writer.writeEnum(
6285
+ 2,
6286
+ f
6287
+ );
6288
+ }
6289
+ f = message.getLanguageCode();
6290
+ if (f.length > 0) {
6291
+ writer.writeString(
6292
+ 3,
6293
+ f
6294
+ );
6295
+ }
6296
+ f = message.getType();
6297
+ if (f !== 0.0) {
6298
+ writer.writeEnum(
6299
+ 4,
6300
+ f
6301
+ );
6302
+ }
6303
+ };
6304
+
6305
+
6306
+ /**
6307
+ * optional string parent = 1;
6308
+ * @return {string}
6309
+ */
6310
+ proto.ondewo.nlu.GetAgentStatisticsRequest.prototype.getParent = function() {
6311
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
6312
+ };
6313
+
6314
+
6315
+ /**
6316
+ * @param {string} value
6317
+ * @return {!proto.ondewo.nlu.GetAgentStatisticsRequest} returns this
6318
+ */
6319
+ proto.ondewo.nlu.GetAgentStatisticsRequest.prototype.setParent = function(value) {
6320
+ return jspb.Message.setProto3StringField(this, 1, value);
6321
+ };
6322
+
6323
+
6324
+ /**
6325
+ * optional ReportFormat format = 2;
6326
+ * @return {!proto.ondewo.nlu.ReportFormat}
6327
+ */
6328
+ proto.ondewo.nlu.GetAgentStatisticsRequest.prototype.getFormat = function() {
6329
+ return /** @type {!proto.ondewo.nlu.ReportFormat} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
6330
+ };
6331
+
6332
+
6333
+ /**
6334
+ * @param {!proto.ondewo.nlu.ReportFormat} value
6335
+ * @return {!proto.ondewo.nlu.GetAgentStatisticsRequest} returns this
6336
+ */
6337
+ proto.ondewo.nlu.GetAgentStatisticsRequest.prototype.setFormat = function(value) {
6338
+ return jspb.Message.setProto3EnumField(this, 2, value);
6339
+ };
6340
+
6341
+
6342
+ /**
6343
+ * optional string language_code = 3;
6344
+ * @return {string}
6345
+ */
6346
+ proto.ondewo.nlu.GetAgentStatisticsRequest.prototype.getLanguageCode = function() {
6347
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
6348
+ };
6349
+
6350
+
6351
+ /**
6352
+ * @param {string} value
6353
+ * @return {!proto.ondewo.nlu.GetAgentStatisticsRequest} returns this
6354
+ */
6355
+ proto.ondewo.nlu.GetAgentStatisticsRequest.prototype.setLanguageCode = function(value) {
6356
+ return jspb.Message.setProto3StringField(this, 3, value);
6357
+ };
6358
+
6359
+
6360
+ /**
6361
+ * optional ReportType type = 4;
6362
+ * @return {!proto.ondewo.nlu.ReportType}
6363
+ */
6364
+ proto.ondewo.nlu.GetAgentStatisticsRequest.prototype.getType = function() {
6365
+ return /** @type {!proto.ondewo.nlu.ReportType} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
6366
+ };
6367
+
6368
+
6369
+ /**
6370
+ * @param {!proto.ondewo.nlu.ReportType} value
6371
+ * @return {!proto.ondewo.nlu.GetAgentStatisticsRequest} returns this
6372
+ */
6373
+ proto.ondewo.nlu.GetAgentStatisticsRequest.prototype.setType = function(value) {
6374
+ return jspb.Message.setProto3EnumField(this, 4, value);
6375
+ };
6376
+
6377
+
6378
+
6379
+
6380
+
6381
+ if (jspb.Message.GENERATE_TO_OBJECT) {
6382
+ /**
6383
+ * Creates an object representation of this proto.
6384
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
6385
+ * Optional fields that are not set will be set to undefined.
6386
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
6387
+ * For the list of reserved names please see:
6388
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
6389
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
6390
+ * JSPB instance for transitional soy proto support:
6391
+ * http://goto/soy-param-migration
6392
+ * @return {!Object}
6393
+ */
6394
+ proto.ondewo.nlu.GetAgentStatisticsResponse.prototype.toObject = function(opt_includeInstance) {
6395
+ return proto.ondewo.nlu.GetAgentStatisticsResponse.toObject(opt_includeInstance, this);
6396
+ };
6397
+
6398
+
6399
+ /**
6400
+ * Static version of the {@see toObject} method.
6401
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
6402
+ * the JSPB instance for transitional soy proto support:
6403
+ * http://goto/soy-param-migration
6404
+ * @param {!proto.ondewo.nlu.GetAgentStatisticsResponse} msg The msg instance to transform.
6405
+ * @return {!Object}
6406
+ * @suppress {unusedLocalVariables} f is only used for nested messages
6407
+ */
6408
+ proto.ondewo.nlu.GetAgentStatisticsResponse.toObject = function(includeInstance, msg) {
6409
+ var f, obj = {
6410
+ reports: msg.getReports_asB64(),
6411
+ format: jspb.Message.getFieldWithDefault(msg, 2, 0),
6412
+ type: jspb.Message.getFieldWithDefault(msg, 3, 0)
6413
+ };
6414
+
6415
+ if (includeInstance) {
6416
+ obj.$jspbMessageInstance = msg;
6417
+ }
6418
+ return obj;
6419
+ };
6420
+ }
6421
+
6422
+
6423
+ /**
6424
+ * Deserializes binary data (in protobuf wire format).
6425
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
6426
+ * @return {!proto.ondewo.nlu.GetAgentStatisticsResponse}
6427
+ */
6428
+ proto.ondewo.nlu.GetAgentStatisticsResponse.deserializeBinary = function(bytes) {
6429
+ var reader = new jspb.BinaryReader(bytes);
6430
+ var msg = new proto.ondewo.nlu.GetAgentStatisticsResponse;
6431
+ return proto.ondewo.nlu.GetAgentStatisticsResponse.deserializeBinaryFromReader(msg, reader);
6432
+ };
6433
+
6434
+
6435
+ /**
6436
+ * Deserializes binary data (in protobuf wire format) from the
6437
+ * given reader into the given message object.
6438
+ * @param {!proto.ondewo.nlu.GetAgentStatisticsResponse} msg The message object to deserialize into.
6439
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
6440
+ * @return {!proto.ondewo.nlu.GetAgentStatisticsResponse}
6441
+ */
6442
+ proto.ondewo.nlu.GetAgentStatisticsResponse.deserializeBinaryFromReader = function(msg, reader) {
6443
+ while (reader.nextField()) {
6444
+ if (reader.isEndGroup()) {
6445
+ break;
6446
+ }
6447
+ var field = reader.getFieldNumber();
6448
+ switch (field) {
6449
+ case 1:
6450
+ var value = /** @type {!Uint8Array} */ (reader.readBytes());
6451
+ msg.setReports(value);
6452
+ break;
6453
+ case 2:
6454
+ var value = /** @type {!proto.ondewo.nlu.ReportFormat} */ (reader.readEnum());
6455
+ msg.setFormat(value);
6456
+ break;
6457
+ case 3:
6458
+ var value = /** @type {!proto.ondewo.nlu.ReportType} */ (reader.readEnum());
6459
+ msg.setType(value);
6460
+ break;
6461
+ default:
6462
+ reader.skipField();
6463
+ break;
6464
+ }
6465
+ }
6466
+ return msg;
6467
+ };
6468
+
6469
+
6470
+ /**
6471
+ * Serializes the message to binary data (in protobuf wire format).
6472
+ * @return {!Uint8Array}
6473
+ */
6474
+ proto.ondewo.nlu.GetAgentStatisticsResponse.prototype.serializeBinary = function() {
6475
+ var writer = new jspb.BinaryWriter();
6476
+ proto.ondewo.nlu.GetAgentStatisticsResponse.serializeBinaryToWriter(this, writer);
6477
+ return writer.getResultBuffer();
6478
+ };
6479
+
6480
+
6481
+ /**
6482
+ * Serializes the given message to binary data (in protobuf wire
6483
+ * format), writing to the given BinaryWriter.
6484
+ * @param {!proto.ondewo.nlu.GetAgentStatisticsResponse} message
6485
+ * @param {!jspb.BinaryWriter} writer
6486
+ * @suppress {unusedLocalVariables} f is only used for nested messages
6487
+ */
6488
+ proto.ondewo.nlu.GetAgentStatisticsResponse.serializeBinaryToWriter = function(message, writer) {
6489
+ var f = undefined;
6490
+ f = message.getReports_asU8();
6491
+ if (f.length > 0) {
6492
+ writer.writeBytes(
6493
+ 1,
6494
+ f
6495
+ );
6496
+ }
6497
+ f = message.getFormat();
6498
+ if (f !== 0.0) {
6499
+ writer.writeEnum(
6500
+ 2,
6501
+ f
6502
+ );
6503
+ }
6504
+ f = message.getType();
6505
+ if (f !== 0.0) {
6506
+ writer.writeEnum(
6507
+ 3,
6508
+ f
6509
+ );
6510
+ }
6511
+ };
6512
+
6513
+
6514
+ /**
6515
+ * optional bytes reports = 1;
6516
+ * @return {!(string|Uint8Array)}
6517
+ */
6518
+ proto.ondewo.nlu.GetAgentStatisticsResponse.prototype.getReports = function() {
6519
+ return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
6520
+ };
6521
+
6522
+
6523
+ /**
6524
+ * optional bytes reports = 1;
6525
+ * This is a type-conversion wrapper around `getReports()`
6526
+ * @return {string}
6527
+ */
6528
+ proto.ondewo.nlu.GetAgentStatisticsResponse.prototype.getReports_asB64 = function() {
6529
+ return /** @type {string} */ (jspb.Message.bytesAsB64(
6530
+ this.getReports()));
6531
+ };
6532
+
6533
+
6534
+ /**
6535
+ * optional bytes reports = 1;
6536
+ * Note that Uint8Array is not supported on all browsers.
6537
+ * @see http://caniuse.com/Uint8Array
6538
+ * This is a type-conversion wrapper around `getReports()`
6539
+ * @return {!Uint8Array}
6540
+ */
6541
+ proto.ondewo.nlu.GetAgentStatisticsResponse.prototype.getReports_asU8 = function() {
6542
+ return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
6543
+ this.getReports()));
6544
+ };
6545
+
6546
+
6547
+ /**
6548
+ * @param {!(string|Uint8Array)} value
6549
+ * @return {!proto.ondewo.nlu.GetAgentStatisticsResponse} returns this
6550
+ */
6551
+ proto.ondewo.nlu.GetAgentStatisticsResponse.prototype.setReports = function(value) {
6552
+ return jspb.Message.setProto3BytesField(this, 1, value);
6553
+ };
6554
+
6555
+
6556
+ /**
6557
+ * optional ReportFormat format = 2;
6558
+ * @return {!proto.ondewo.nlu.ReportFormat}
6559
+ */
6560
+ proto.ondewo.nlu.GetAgentStatisticsResponse.prototype.getFormat = function() {
6561
+ return /** @type {!proto.ondewo.nlu.ReportFormat} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
6562
+ };
6563
+
6564
+
6565
+ /**
6566
+ * @param {!proto.ondewo.nlu.ReportFormat} value
6567
+ * @return {!proto.ondewo.nlu.GetAgentStatisticsResponse} returns this
6568
+ */
6569
+ proto.ondewo.nlu.GetAgentStatisticsResponse.prototype.setFormat = function(value) {
6570
+ return jspb.Message.setProto3EnumField(this, 2, value);
6571
+ };
6572
+
6573
+
6574
+ /**
6575
+ * optional ReportType type = 3;
6576
+ * @return {!proto.ondewo.nlu.ReportType}
6577
+ */
6578
+ proto.ondewo.nlu.GetAgentStatisticsResponse.prototype.getType = function() {
6579
+ return /** @type {!proto.ondewo.nlu.ReportType} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
6580
+ };
6581
+
6582
+
6583
+ /**
6584
+ * @param {!proto.ondewo.nlu.ReportType} value
6585
+ * @return {!proto.ondewo.nlu.GetAgentStatisticsResponse} returns this
6586
+ */
6587
+ proto.ondewo.nlu.GetAgentStatisticsResponse.prototype.setType = function(value) {
6588
+ return jspb.Message.setProto3EnumField(this, 3, value);
6589
+ };
6590
+
6591
+
6592
+
6593
+ /**
6594
+ * List of repeated fields within this message type.
6595
+ * @private {!Array<number>}
6596
+ * @const
6597
+ */
6598
+ proto.ondewo.nlu.GetSessionsStatisticsRequest.repeatedFields_ = [5,7,8];
6599
+
6600
+
6601
+
6602
+ if (jspb.Message.GENERATE_TO_OBJECT) {
6603
+ /**
6604
+ * Creates an object representation of this proto.
6605
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
6606
+ * Optional fields that are not set will be set to undefined.
6607
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
6608
+ * For the list of reserved names please see:
6609
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
6610
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
6611
+ * JSPB instance for transitional soy proto support:
6612
+ * http://goto/soy-param-migration
6613
+ * @return {!Object}
6614
+ */
6615
+ proto.ondewo.nlu.GetSessionsStatisticsRequest.prototype.toObject = function(opt_includeInstance) {
6616
+ return proto.ondewo.nlu.GetSessionsStatisticsRequest.toObject(opt_includeInstance, this);
6617
+ };
6618
+
6619
+
6620
+ /**
6621
+ * Static version of the {@see toObject} method.
6622
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
6623
+ * the JSPB instance for transitional soy proto support:
6624
+ * http://goto/soy-param-migration
6625
+ * @param {!proto.ondewo.nlu.GetSessionsStatisticsRequest} msg The msg instance to transform.
6626
+ * @return {!Object}
6627
+ * @suppress {unusedLocalVariables} f is only used for nested messages
6628
+ */
6629
+ proto.ondewo.nlu.GetSessionsStatisticsRequest.toObject = function(includeInstance, msg) {
6630
+ var f, obj = {
6631
+ parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
6632
+ format: jspb.Message.getFieldWithDefault(msg, 2, 0),
6633
+ type: jspb.Message.getFieldWithDefault(msg, 3, 0),
6634
+ sessionFilter: (f = msg.getSessionFilter()) && ondewo_nlu_session_pb.SessionFilter.toObject(includeInstance, f),
6635
+ contextFiltersList: jspb.Message.toObjectList(msg.getContextFiltersList(),
6636
+ ondewo_nlu_session_pb.ContextFilter.toObject, includeInstance),
6637
+ limit: jspb.Message.getFieldWithDefault(msg, 6, 0),
6638
+ groupBysList: (f = jspb.Message.getRepeatedField(msg, 7)) == null ? undefined : f,
6639
+ orderBysList: (f = jspb.Message.getRepeatedField(msg, 8)) == null ? undefined : f,
6640
+ fieldMask: (f = msg.getFieldMask()) && google_protobuf_field_mask_pb.FieldMask.toObject(includeInstance, f),
6641
+ sqlQuery: jspb.Message.getFieldWithDefault(msg, 10, "")
6642
+ };
6643
+
6644
+ if (includeInstance) {
6645
+ obj.$jspbMessageInstance = msg;
6646
+ }
6647
+ return obj;
6648
+ };
6649
+ }
6650
+
6651
+
6652
+ /**
6653
+ * Deserializes binary data (in protobuf wire format).
6654
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
6655
+ * @return {!proto.ondewo.nlu.GetSessionsStatisticsRequest}
6656
+ */
6657
+ proto.ondewo.nlu.GetSessionsStatisticsRequest.deserializeBinary = function(bytes) {
6658
+ var reader = new jspb.BinaryReader(bytes);
6659
+ var msg = new proto.ondewo.nlu.GetSessionsStatisticsRequest;
6660
+ return proto.ondewo.nlu.GetSessionsStatisticsRequest.deserializeBinaryFromReader(msg, reader);
6661
+ };
6662
+
6663
+
6664
+ /**
6665
+ * Deserializes binary data (in protobuf wire format) from the
6666
+ * given reader into the given message object.
6667
+ * @param {!proto.ondewo.nlu.GetSessionsStatisticsRequest} msg The message object to deserialize into.
6668
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
6669
+ * @return {!proto.ondewo.nlu.GetSessionsStatisticsRequest}
6670
+ */
6671
+ proto.ondewo.nlu.GetSessionsStatisticsRequest.deserializeBinaryFromReader = function(msg, reader) {
6672
+ while (reader.nextField()) {
6673
+ if (reader.isEndGroup()) {
6674
+ break;
6675
+ }
6676
+ var field = reader.getFieldNumber();
6677
+ switch (field) {
6678
+ case 1:
6679
+ var value = /** @type {string} */ (reader.readString());
6680
+ msg.setParent(value);
6681
+ break;
6682
+ case 2:
6683
+ var value = /** @type {!proto.ondewo.nlu.ReportFormat} */ (reader.readEnum());
6684
+ msg.setFormat(value);
6685
+ break;
6686
+ case 3:
6687
+ var value = /** @type {!proto.ondewo.nlu.SessionsReportType} */ (reader.readEnum());
6688
+ msg.setType(value);
6689
+ break;
6690
+ case 4:
6691
+ var value = new ondewo_nlu_session_pb.SessionFilter;
6692
+ reader.readMessage(value,ondewo_nlu_session_pb.SessionFilter.deserializeBinaryFromReader);
6693
+ msg.setSessionFilter(value);
6694
+ break;
6695
+ case 5:
6696
+ var value = new ondewo_nlu_session_pb.ContextFilter;
6697
+ reader.readMessage(value,ondewo_nlu_session_pb.ContextFilter.deserializeBinaryFromReader);
6698
+ msg.addContextFilters(value);
6699
+ break;
6700
+ case 6:
6701
+ var value = /** @type {number} */ (reader.readInt32());
6702
+ msg.setLimit(value);
6703
+ break;
6704
+ case 7:
6705
+ var value = /** @type {string} */ (reader.readString());
6706
+ msg.addGroupBys(value);
6707
+ break;
6708
+ case 8:
6709
+ var value = /** @type {string} */ (reader.readString());
6710
+ msg.addOrderBys(value);
6711
+ break;
6712
+ case 9:
6713
+ var value = new google_protobuf_field_mask_pb.FieldMask;
6714
+ reader.readMessage(value,google_protobuf_field_mask_pb.FieldMask.deserializeBinaryFromReader);
6715
+ msg.setFieldMask(value);
6716
+ break;
6717
+ case 10:
6718
+ var value = /** @type {string} */ (reader.readString());
6719
+ msg.setSqlQuery(value);
6720
+ break;
6721
+ default:
6722
+ reader.skipField();
6723
+ break;
6724
+ }
6725
+ }
6726
+ return msg;
6727
+ };
6728
+
6729
+
6730
+ /**
6731
+ * Serializes the message to binary data (in protobuf wire format).
6732
+ * @return {!Uint8Array}
6733
+ */
6734
+ proto.ondewo.nlu.GetSessionsStatisticsRequest.prototype.serializeBinary = function() {
6735
+ var writer = new jspb.BinaryWriter();
6736
+ proto.ondewo.nlu.GetSessionsStatisticsRequest.serializeBinaryToWriter(this, writer);
6737
+ return writer.getResultBuffer();
6738
+ };
6739
+
6740
+
6741
+ /**
6742
+ * Serializes the given message to binary data (in protobuf wire
6743
+ * format), writing to the given BinaryWriter.
6744
+ * @param {!proto.ondewo.nlu.GetSessionsStatisticsRequest} message
6745
+ * @param {!jspb.BinaryWriter} writer
6746
+ * @suppress {unusedLocalVariables} f is only used for nested messages
6747
+ */
6748
+ proto.ondewo.nlu.GetSessionsStatisticsRequest.serializeBinaryToWriter = function(message, writer) {
6749
+ var f = undefined;
6750
+ f = message.getParent();
6751
+ if (f.length > 0) {
6752
+ writer.writeString(
6753
+ 1,
6754
+ f
6755
+ );
6756
+ }
6757
+ f = message.getFormat();
6758
+ if (f !== 0.0) {
6759
+ writer.writeEnum(
6760
+ 2,
6761
+ f
6762
+ );
6763
+ }
6764
+ f = message.getType();
6765
+ if (f !== 0.0) {
6766
+ writer.writeEnum(
6767
+ 3,
6768
+ f
6769
+ );
6770
+ }
6771
+ f = message.getSessionFilter();
6772
+ if (f != null) {
6773
+ writer.writeMessage(
6774
+ 4,
6775
+ f,
6776
+ ondewo_nlu_session_pb.SessionFilter.serializeBinaryToWriter
6777
+ );
6778
+ }
6779
+ f = message.getContextFiltersList();
6780
+ if (f.length > 0) {
6781
+ writer.writeRepeatedMessage(
6782
+ 5,
6783
+ f,
6784
+ ondewo_nlu_session_pb.ContextFilter.serializeBinaryToWriter
6785
+ );
6786
+ }
6787
+ f = message.getLimit();
6788
+ if (f !== 0) {
6789
+ writer.writeInt32(
6790
+ 6,
6791
+ f
6792
+ );
6793
+ }
6794
+ f = message.getGroupBysList();
6795
+ if (f.length > 0) {
6796
+ writer.writeRepeatedString(
6797
+ 7,
6798
+ f
6799
+ );
6800
+ }
6801
+ f = message.getOrderBysList();
6802
+ if (f.length > 0) {
6803
+ writer.writeRepeatedString(
6804
+ 8,
6805
+ f
6806
+ );
6807
+ }
6808
+ f = message.getFieldMask();
6809
+ if (f != null) {
6810
+ writer.writeMessage(
6811
+ 9,
6812
+ f,
6813
+ google_protobuf_field_mask_pb.FieldMask.serializeBinaryToWriter
6814
+ );
6815
+ }
6816
+ f = message.getSqlQuery();
6817
+ if (f.length > 0) {
6818
+ writer.writeString(
6819
+ 10,
6820
+ f
6821
+ );
6822
+ }
6823
+ };
6824
+
6825
+
6826
+ /**
6827
+ * optional string parent = 1;
6828
+ * @return {string}
6829
+ */
6830
+ proto.ondewo.nlu.GetSessionsStatisticsRequest.prototype.getParent = function() {
6831
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
6832
+ };
6833
+
6834
+
6835
+ /**
6836
+ * @param {string} value
6837
+ * @return {!proto.ondewo.nlu.GetSessionsStatisticsRequest} returns this
6838
+ */
6839
+ proto.ondewo.nlu.GetSessionsStatisticsRequest.prototype.setParent = function(value) {
6840
+ return jspb.Message.setProto3StringField(this, 1, value);
6841
+ };
6842
+
6843
+
6844
+ /**
6845
+ * optional ReportFormat format = 2;
6846
+ * @return {!proto.ondewo.nlu.ReportFormat}
6847
+ */
6848
+ proto.ondewo.nlu.GetSessionsStatisticsRequest.prototype.getFormat = function() {
6849
+ return /** @type {!proto.ondewo.nlu.ReportFormat} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
6850
+ };
6851
+
6852
+
6853
+ /**
6854
+ * @param {!proto.ondewo.nlu.ReportFormat} value
6855
+ * @return {!proto.ondewo.nlu.GetSessionsStatisticsRequest} returns this
6856
+ */
6857
+ proto.ondewo.nlu.GetSessionsStatisticsRequest.prototype.setFormat = function(value) {
6858
+ return jspb.Message.setProto3EnumField(this, 2, value);
6859
+ };
6860
+
6861
+
6862
+ /**
6863
+ * optional SessionsReportType type = 3;
6864
+ * @return {!proto.ondewo.nlu.SessionsReportType}
6865
+ */
6866
+ proto.ondewo.nlu.GetSessionsStatisticsRequest.prototype.getType = function() {
6867
+ return /** @type {!proto.ondewo.nlu.SessionsReportType} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
6868
+ };
6869
+
6870
+
6871
+ /**
6872
+ * @param {!proto.ondewo.nlu.SessionsReportType} value
6873
+ * @return {!proto.ondewo.nlu.GetSessionsStatisticsRequest} returns this
6874
+ */
6875
+ proto.ondewo.nlu.GetSessionsStatisticsRequest.prototype.setType = function(value) {
6876
+ return jspb.Message.setProto3EnumField(this, 3, value);
6877
+ };
6878
+
6879
+
6880
+ /**
6881
+ * optional SessionFilter session_filter = 4;
6882
+ * @return {?proto.ondewo.nlu.SessionFilter}
6883
+ */
6884
+ proto.ondewo.nlu.GetSessionsStatisticsRequest.prototype.getSessionFilter = function() {
6885
+ return /** @type{?proto.ondewo.nlu.SessionFilter} */ (
6886
+ jspb.Message.getWrapperField(this, ondewo_nlu_session_pb.SessionFilter, 4));
6887
+ };
6888
+
6889
+
6890
+ /**
6891
+ * @param {?proto.ondewo.nlu.SessionFilter|undefined} value
6892
+ * @return {!proto.ondewo.nlu.GetSessionsStatisticsRequest} returns this
6893
+ */
6894
+ proto.ondewo.nlu.GetSessionsStatisticsRequest.prototype.setSessionFilter = function(value) {
6895
+ return jspb.Message.setWrapperField(this, 4, value);
6896
+ };
6897
+
6898
+
6899
+ /**
6900
+ * Clears the message field making it undefined.
6901
+ * @return {!proto.ondewo.nlu.GetSessionsStatisticsRequest} returns this
6038
6902
  */
6039
- proto.ondewo.nlu.RestoreAgentRequest.prototype.clearAgentUri = function() {
6040
- return jspb.Message.setOneofField(this, 2, proto.ondewo.nlu.RestoreAgentRequest.oneofGroups_[0], undefined);
6903
+ proto.ondewo.nlu.GetSessionsStatisticsRequest.prototype.clearSessionFilter = function() {
6904
+ return this.setSessionFilter(undefined);
6041
6905
  };
6042
6906
 
6043
6907
 
@@ -6045,288 +6909,193 @@ proto.ondewo.nlu.RestoreAgentRequest.prototype.clearAgentUri = function() {
6045
6909
  * Returns whether this field is set.
6046
6910
  * @return {boolean}
6047
6911
  */
6048
- proto.ondewo.nlu.RestoreAgentRequest.prototype.hasAgentUri = function() {
6049
- return jspb.Message.getField(this, 2) != null;
6912
+ proto.ondewo.nlu.GetSessionsStatisticsRequest.prototype.hasSessionFilter = function() {
6913
+ return jspb.Message.getField(this, 4) != null;
6050
6914
  };
6051
6915
 
6052
6916
 
6053
6917
  /**
6054
- * optional bytes agent_content = 3;
6055
- * @return {!(string|Uint8Array)}
6918
+ * repeated ContextFilter context_filters = 5;
6919
+ * @return {!Array<!proto.ondewo.nlu.ContextFilter>}
6056
6920
  */
6057
- proto.ondewo.nlu.RestoreAgentRequest.prototype.getAgentContent = function() {
6058
- return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
6921
+ proto.ondewo.nlu.GetSessionsStatisticsRequest.prototype.getContextFiltersList = function() {
6922
+ return /** @type{!Array<!proto.ondewo.nlu.ContextFilter>} */ (
6923
+ jspb.Message.getRepeatedWrapperField(this, ondewo_nlu_session_pb.ContextFilter, 5));
6059
6924
  };
6060
6925
 
6061
6926
 
6062
6927
  /**
6063
- * optional bytes agent_content = 3;
6064
- * This is a type-conversion wrapper around `getAgentContent()`
6065
- * @return {string}
6066
- */
6067
- proto.ondewo.nlu.RestoreAgentRequest.prototype.getAgentContent_asB64 = function() {
6068
- return /** @type {string} */ (jspb.Message.bytesAsB64(
6069
- this.getAgentContent()));
6928
+ * @param {!Array<!proto.ondewo.nlu.ContextFilter>} value
6929
+ * @return {!proto.ondewo.nlu.GetSessionsStatisticsRequest} returns this
6930
+ */
6931
+ proto.ondewo.nlu.GetSessionsStatisticsRequest.prototype.setContextFiltersList = function(value) {
6932
+ return jspb.Message.setRepeatedWrapperField(this, 5, value);
6070
6933
  };
6071
6934
 
6072
6935
 
6073
6936
  /**
6074
- * optional bytes agent_content = 3;
6075
- * Note that Uint8Array is not supported on all browsers.
6076
- * @see http://caniuse.com/Uint8Array
6077
- * This is a type-conversion wrapper around `getAgentContent()`
6078
- * @return {!Uint8Array}
6937
+ * @param {!proto.ondewo.nlu.ContextFilter=} opt_value
6938
+ * @param {number=} opt_index
6939
+ * @return {!proto.ondewo.nlu.ContextFilter}
6079
6940
  */
6080
- proto.ondewo.nlu.RestoreAgentRequest.prototype.getAgentContent_asU8 = function() {
6081
- return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
6082
- this.getAgentContent()));
6941
+ proto.ondewo.nlu.GetSessionsStatisticsRequest.prototype.addContextFilters = function(opt_value, opt_index) {
6942
+ return jspb.Message.addToRepeatedWrapperField(this, 5, opt_value, proto.ondewo.nlu.ContextFilter, opt_index);
6083
6943
  };
6084
6944
 
6085
6945
 
6086
6946
  /**
6087
- * @param {!(string|Uint8Array)} value
6088
- * @return {!proto.ondewo.nlu.RestoreAgentRequest} returns this
6947
+ * Clears the list making it empty but non-null.
6948
+ * @return {!proto.ondewo.nlu.GetSessionsStatisticsRequest} returns this
6089
6949
  */
6090
- proto.ondewo.nlu.RestoreAgentRequest.prototype.setAgentContent = function(value) {
6091
- return jspb.Message.setOneofField(this, 3, proto.ondewo.nlu.RestoreAgentRequest.oneofGroups_[0], value);
6950
+ proto.ondewo.nlu.GetSessionsStatisticsRequest.prototype.clearContextFiltersList = function() {
6951
+ return this.setContextFiltersList([]);
6092
6952
  };
6093
6953
 
6094
6954
 
6095
6955
  /**
6096
- * Clears the field making it undefined.
6097
- * @return {!proto.ondewo.nlu.RestoreAgentRequest} returns this
6956
+ * optional int32 limit = 6;
6957
+ * @return {number}
6098
6958
  */
6099
- proto.ondewo.nlu.RestoreAgentRequest.prototype.clearAgentContent = function() {
6100
- return jspb.Message.setOneofField(this, 3, proto.ondewo.nlu.RestoreAgentRequest.oneofGroups_[0], undefined);
6959
+ proto.ondewo.nlu.GetSessionsStatisticsRequest.prototype.getLimit = function() {
6960
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
6101
6961
  };
6102
6962
 
6103
6963
 
6104
6964
  /**
6105
- * Returns whether this field is set.
6106
- * @return {boolean}
6965
+ * @param {number} value
6966
+ * @return {!proto.ondewo.nlu.GetSessionsStatisticsRequest} returns this
6107
6967
  */
6108
- proto.ondewo.nlu.RestoreAgentRequest.prototype.hasAgentContent = function() {
6109
- return jspb.Message.getField(this, 3) != null;
6968
+ proto.ondewo.nlu.GetSessionsStatisticsRequest.prototype.setLimit = function(value) {
6969
+ return jspb.Message.setProto3IntField(this, 6, value);
6110
6970
  };
6111
6971
 
6112
6972
 
6113
-
6114
-
6115
-
6116
- if (jspb.Message.GENERATE_TO_OBJECT) {
6117
6973
  /**
6118
- * Creates an object representation of this proto.
6119
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
6120
- * Optional fields that are not set will be set to undefined.
6121
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
6122
- * For the list of reserved names please see:
6123
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
6124
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
6125
- * JSPB instance for transitional soy proto support:
6126
- * http://goto/soy-param-migration
6127
- * @return {!Object}
6974
+ * repeated string group_bys = 7;
6975
+ * @return {!Array<string>}
6128
6976
  */
6129
- proto.ondewo.nlu.GetAgentStatisticsRequest.prototype.toObject = function(opt_includeInstance) {
6130
- return proto.ondewo.nlu.GetAgentStatisticsRequest.toObject(opt_includeInstance, this);
6977
+ proto.ondewo.nlu.GetSessionsStatisticsRequest.prototype.getGroupBysList = function() {
6978
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 7));
6131
6979
  };
6132
6980
 
6133
6981
 
6134
6982
  /**
6135
- * Static version of the {@see toObject} method.
6136
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
6137
- * the JSPB instance for transitional soy proto support:
6138
- * http://goto/soy-param-migration
6139
- * @param {!proto.ondewo.nlu.GetAgentStatisticsRequest} msg The msg instance to transform.
6140
- * @return {!Object}
6141
- * @suppress {unusedLocalVariables} f is only used for nested messages
6983
+ * @param {!Array<string>} value
6984
+ * @return {!proto.ondewo.nlu.GetSessionsStatisticsRequest} returns this
6142
6985
  */
6143
- proto.ondewo.nlu.GetAgentStatisticsRequest.toObject = function(includeInstance, msg) {
6144
- var f, obj = {
6145
- parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
6146
- format: jspb.Message.getFieldWithDefault(msg, 2, 0),
6147
- languageCode: jspb.Message.getFieldWithDefault(msg, 3, ""),
6148
- type: jspb.Message.getFieldWithDefault(msg, 4, 0)
6149
- };
6150
-
6151
- if (includeInstance) {
6152
- obj.$jspbMessageInstance = msg;
6153
- }
6154
- return obj;
6986
+ proto.ondewo.nlu.GetSessionsStatisticsRequest.prototype.setGroupBysList = function(value) {
6987
+ return jspb.Message.setField(this, 7, value || []);
6155
6988
  };
6156
- }
6157
6989
 
6158
6990
 
6159
6991
  /**
6160
- * Deserializes binary data (in protobuf wire format).
6161
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
6162
- * @return {!proto.ondewo.nlu.GetAgentStatisticsRequest}
6992
+ * @param {string} value
6993
+ * @param {number=} opt_index
6994
+ * @return {!proto.ondewo.nlu.GetSessionsStatisticsRequest} returns this
6163
6995
  */
6164
- proto.ondewo.nlu.GetAgentStatisticsRequest.deserializeBinary = function(bytes) {
6165
- var reader = new jspb.BinaryReader(bytes);
6166
- var msg = new proto.ondewo.nlu.GetAgentStatisticsRequest;
6167
- return proto.ondewo.nlu.GetAgentStatisticsRequest.deserializeBinaryFromReader(msg, reader);
6996
+ proto.ondewo.nlu.GetSessionsStatisticsRequest.prototype.addGroupBys = function(value, opt_index) {
6997
+ return jspb.Message.addToRepeatedField(this, 7, value, opt_index);
6168
6998
  };
6169
6999
 
6170
7000
 
6171
7001
  /**
6172
- * Deserializes binary data (in protobuf wire format) from the
6173
- * given reader into the given message object.
6174
- * @param {!proto.ondewo.nlu.GetAgentStatisticsRequest} msg The message object to deserialize into.
6175
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
6176
- * @return {!proto.ondewo.nlu.GetAgentStatisticsRequest}
7002
+ * Clears the list making it empty but non-null.
7003
+ * @return {!proto.ondewo.nlu.GetSessionsStatisticsRequest} returns this
6177
7004
  */
6178
- proto.ondewo.nlu.GetAgentStatisticsRequest.deserializeBinaryFromReader = function(msg, reader) {
6179
- while (reader.nextField()) {
6180
- if (reader.isEndGroup()) {
6181
- break;
6182
- }
6183
- var field = reader.getFieldNumber();
6184
- switch (field) {
6185
- case 1:
6186
- var value = /** @type {string} */ (reader.readString());
6187
- msg.setParent(value);
6188
- break;
6189
- case 2:
6190
- var value = /** @type {!proto.ondewo.nlu.ReportFormat} */ (reader.readEnum());
6191
- msg.setFormat(value);
6192
- break;
6193
- case 3:
6194
- var value = /** @type {string} */ (reader.readString());
6195
- msg.setLanguageCode(value);
6196
- break;
6197
- case 4:
6198
- var value = /** @type {!proto.ondewo.nlu.ReportType} */ (reader.readEnum());
6199
- msg.setType(value);
6200
- break;
6201
- default:
6202
- reader.skipField();
6203
- break;
6204
- }
6205
- }
6206
- return msg;
7005
+ proto.ondewo.nlu.GetSessionsStatisticsRequest.prototype.clearGroupBysList = function() {
7006
+ return this.setGroupBysList([]);
6207
7007
  };
6208
7008
 
6209
7009
 
6210
7010
  /**
6211
- * Serializes the message to binary data (in protobuf wire format).
6212
- * @return {!Uint8Array}
7011
+ * repeated string order_bys = 8;
7012
+ * @return {!Array<string>}
6213
7013
  */
6214
- proto.ondewo.nlu.GetAgentStatisticsRequest.prototype.serializeBinary = function() {
6215
- var writer = new jspb.BinaryWriter();
6216
- proto.ondewo.nlu.GetAgentStatisticsRequest.serializeBinaryToWriter(this, writer);
6217
- return writer.getResultBuffer();
7014
+ proto.ondewo.nlu.GetSessionsStatisticsRequest.prototype.getOrderBysList = function() {
7015
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 8));
6218
7016
  };
6219
7017
 
6220
7018
 
6221
7019
  /**
6222
- * Serializes the given message to binary data (in protobuf wire
6223
- * format), writing to the given BinaryWriter.
6224
- * @param {!proto.ondewo.nlu.GetAgentStatisticsRequest} message
6225
- * @param {!jspb.BinaryWriter} writer
6226
- * @suppress {unusedLocalVariables} f is only used for nested messages
7020
+ * @param {!Array<string>} value
7021
+ * @return {!proto.ondewo.nlu.GetSessionsStatisticsRequest} returns this
6227
7022
  */
6228
- proto.ondewo.nlu.GetAgentStatisticsRequest.serializeBinaryToWriter = function(message, writer) {
6229
- var f = undefined;
6230
- f = message.getParent();
6231
- if (f.length > 0) {
6232
- writer.writeString(
6233
- 1,
6234
- f
6235
- );
6236
- }
6237
- f = message.getFormat();
6238
- if (f !== 0.0) {
6239
- writer.writeEnum(
6240
- 2,
6241
- f
6242
- );
6243
- }
6244
- f = message.getLanguageCode();
6245
- if (f.length > 0) {
6246
- writer.writeString(
6247
- 3,
6248
- f
6249
- );
6250
- }
6251
- f = message.getType();
6252
- if (f !== 0.0) {
6253
- writer.writeEnum(
6254
- 4,
6255
- f
6256
- );
6257
- }
7023
+ proto.ondewo.nlu.GetSessionsStatisticsRequest.prototype.setOrderBysList = function(value) {
7024
+ return jspb.Message.setField(this, 8, value || []);
6258
7025
  };
6259
7026
 
6260
7027
 
6261
7028
  /**
6262
- * optional string parent = 1;
6263
- * @return {string}
7029
+ * @param {string} value
7030
+ * @param {number=} opt_index
7031
+ * @return {!proto.ondewo.nlu.GetSessionsStatisticsRequest} returns this
6264
7032
  */
6265
- proto.ondewo.nlu.GetAgentStatisticsRequest.prototype.getParent = function() {
6266
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
7033
+ proto.ondewo.nlu.GetSessionsStatisticsRequest.prototype.addOrderBys = function(value, opt_index) {
7034
+ return jspb.Message.addToRepeatedField(this, 8, value, opt_index);
6267
7035
  };
6268
7036
 
6269
7037
 
6270
7038
  /**
6271
- * @param {string} value
6272
- * @return {!proto.ondewo.nlu.GetAgentStatisticsRequest} returns this
7039
+ * Clears the list making it empty but non-null.
7040
+ * @return {!proto.ondewo.nlu.GetSessionsStatisticsRequest} returns this
6273
7041
  */
6274
- proto.ondewo.nlu.GetAgentStatisticsRequest.prototype.setParent = function(value) {
6275
- return jspb.Message.setProto3StringField(this, 1, value);
7042
+ proto.ondewo.nlu.GetSessionsStatisticsRequest.prototype.clearOrderBysList = function() {
7043
+ return this.setOrderBysList([]);
6276
7044
  };
6277
7045
 
6278
7046
 
6279
7047
  /**
6280
- * optional ReportFormat format = 2;
6281
- * @return {!proto.ondewo.nlu.ReportFormat}
7048
+ * optional google.protobuf.FieldMask field_mask = 9;
7049
+ * @return {?proto.google.protobuf.FieldMask}
6282
7050
  */
6283
- proto.ondewo.nlu.GetAgentStatisticsRequest.prototype.getFormat = function() {
6284
- return /** @type {!proto.ondewo.nlu.ReportFormat} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
7051
+ proto.ondewo.nlu.GetSessionsStatisticsRequest.prototype.getFieldMask = function() {
7052
+ return /** @type{?proto.google.protobuf.FieldMask} */ (
7053
+ jspb.Message.getWrapperField(this, google_protobuf_field_mask_pb.FieldMask, 9));
6285
7054
  };
6286
7055
 
6287
7056
 
6288
7057
  /**
6289
- * @param {!proto.ondewo.nlu.ReportFormat} value
6290
- * @return {!proto.ondewo.nlu.GetAgentStatisticsRequest} returns this
6291
- */
6292
- proto.ondewo.nlu.GetAgentStatisticsRequest.prototype.setFormat = function(value) {
6293
- return jspb.Message.setProto3EnumField(this, 2, value);
7058
+ * @param {?proto.google.protobuf.FieldMask|undefined} value
7059
+ * @return {!proto.ondewo.nlu.GetSessionsStatisticsRequest} returns this
7060
+ */
7061
+ proto.ondewo.nlu.GetSessionsStatisticsRequest.prototype.setFieldMask = function(value) {
7062
+ return jspb.Message.setWrapperField(this, 9, value);
6294
7063
  };
6295
7064
 
6296
7065
 
6297
7066
  /**
6298
- * optional string language_code = 3;
6299
- * @return {string}
7067
+ * Clears the message field making it undefined.
7068
+ * @return {!proto.ondewo.nlu.GetSessionsStatisticsRequest} returns this
6300
7069
  */
6301
- proto.ondewo.nlu.GetAgentStatisticsRequest.prototype.getLanguageCode = function() {
6302
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
7070
+ proto.ondewo.nlu.GetSessionsStatisticsRequest.prototype.clearFieldMask = function() {
7071
+ return this.setFieldMask(undefined);
6303
7072
  };
6304
7073
 
6305
7074
 
6306
7075
  /**
6307
- * @param {string} value
6308
- * @return {!proto.ondewo.nlu.GetAgentStatisticsRequest} returns this
7076
+ * Returns whether this field is set.
7077
+ * @return {boolean}
6309
7078
  */
6310
- proto.ondewo.nlu.GetAgentStatisticsRequest.prototype.setLanguageCode = function(value) {
6311
- return jspb.Message.setProto3StringField(this, 3, value);
7079
+ proto.ondewo.nlu.GetSessionsStatisticsRequest.prototype.hasFieldMask = function() {
7080
+ return jspb.Message.getField(this, 9) != null;
6312
7081
  };
6313
7082
 
6314
7083
 
6315
7084
  /**
6316
- * optional ReportType type = 4;
6317
- * @return {!proto.ondewo.nlu.ReportType}
7085
+ * optional string sql_query = 10;
7086
+ * @return {string}
6318
7087
  */
6319
- proto.ondewo.nlu.GetAgentStatisticsRequest.prototype.getType = function() {
6320
- return /** @type {!proto.ondewo.nlu.ReportType} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
7088
+ proto.ondewo.nlu.GetSessionsStatisticsRequest.prototype.getSqlQuery = function() {
7089
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
6321
7090
  };
6322
7091
 
6323
7092
 
6324
7093
  /**
6325
- * @param {!proto.ondewo.nlu.ReportType} value
6326
- * @return {!proto.ondewo.nlu.GetAgentStatisticsRequest} returns this
7094
+ * @param {string} value
7095
+ * @return {!proto.ondewo.nlu.GetSessionsStatisticsRequest} returns this
6327
7096
  */
6328
- proto.ondewo.nlu.GetAgentStatisticsRequest.prototype.setType = function(value) {
6329
- return jspb.Message.setProto3EnumField(this, 4, value);
7097
+ proto.ondewo.nlu.GetSessionsStatisticsRequest.prototype.setSqlQuery = function(value) {
7098
+ return jspb.Message.setProto3StringField(this, 10, value);
6330
7099
  };
6331
7100
 
6332
7101
 
@@ -6346,8 +7115,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
6346
7115
  * http://goto/soy-param-migration
6347
7116
  * @return {!Object}
6348
7117
  */
6349
- proto.ondewo.nlu.GetAgentStatisticsResponse.prototype.toObject = function(opt_includeInstance) {
6350
- return proto.ondewo.nlu.GetAgentStatisticsResponse.toObject(opt_includeInstance, this);
7118
+ proto.ondewo.nlu.GetSessionsStatisticsResponse.prototype.toObject = function(opt_includeInstance) {
7119
+ return proto.ondewo.nlu.GetSessionsStatisticsResponse.toObject(opt_includeInstance, this);
6351
7120
  };
6352
7121
 
6353
7122
 
@@ -6356,11 +7125,11 @@ proto.ondewo.nlu.GetAgentStatisticsResponse.prototype.toObject = function(opt_in
6356
7125
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
6357
7126
  * the JSPB instance for transitional soy proto support:
6358
7127
  * http://goto/soy-param-migration
6359
- * @param {!proto.ondewo.nlu.GetAgentStatisticsResponse} msg The msg instance to transform.
7128
+ * @param {!proto.ondewo.nlu.GetSessionsStatisticsResponse} msg The msg instance to transform.
6360
7129
  * @return {!Object}
6361
7130
  * @suppress {unusedLocalVariables} f is only used for nested messages
6362
7131
  */
6363
- proto.ondewo.nlu.GetAgentStatisticsResponse.toObject = function(includeInstance, msg) {
7132
+ proto.ondewo.nlu.GetSessionsStatisticsResponse.toObject = function(includeInstance, msg) {
6364
7133
  var f, obj = {
6365
7134
  reports: msg.getReports_asB64(),
6366
7135
  format: jspb.Message.getFieldWithDefault(msg, 2, 0),
@@ -6378,23 +7147,23 @@ proto.ondewo.nlu.GetAgentStatisticsResponse.toObject = function(includeInstance,
6378
7147
  /**
6379
7148
  * Deserializes binary data (in protobuf wire format).
6380
7149
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
6381
- * @return {!proto.ondewo.nlu.GetAgentStatisticsResponse}
7150
+ * @return {!proto.ondewo.nlu.GetSessionsStatisticsResponse}
6382
7151
  */
6383
- proto.ondewo.nlu.GetAgentStatisticsResponse.deserializeBinary = function(bytes) {
7152
+ proto.ondewo.nlu.GetSessionsStatisticsResponse.deserializeBinary = function(bytes) {
6384
7153
  var reader = new jspb.BinaryReader(bytes);
6385
- var msg = new proto.ondewo.nlu.GetAgentStatisticsResponse;
6386
- return proto.ondewo.nlu.GetAgentStatisticsResponse.deserializeBinaryFromReader(msg, reader);
7154
+ var msg = new proto.ondewo.nlu.GetSessionsStatisticsResponse;
7155
+ return proto.ondewo.nlu.GetSessionsStatisticsResponse.deserializeBinaryFromReader(msg, reader);
6387
7156
  };
6388
7157
 
6389
7158
 
6390
7159
  /**
6391
7160
  * Deserializes binary data (in protobuf wire format) from the
6392
7161
  * given reader into the given message object.
6393
- * @param {!proto.ondewo.nlu.GetAgentStatisticsResponse} msg The message object to deserialize into.
7162
+ * @param {!proto.ondewo.nlu.GetSessionsStatisticsResponse} msg The message object to deserialize into.
6394
7163
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
6395
- * @return {!proto.ondewo.nlu.GetAgentStatisticsResponse}
7164
+ * @return {!proto.ondewo.nlu.GetSessionsStatisticsResponse}
6396
7165
  */
6397
- proto.ondewo.nlu.GetAgentStatisticsResponse.deserializeBinaryFromReader = function(msg, reader) {
7166
+ proto.ondewo.nlu.GetSessionsStatisticsResponse.deserializeBinaryFromReader = function(msg, reader) {
6398
7167
  while (reader.nextField()) {
6399
7168
  if (reader.isEndGroup()) {
6400
7169
  break;
@@ -6410,7 +7179,7 @@ proto.ondewo.nlu.GetAgentStatisticsResponse.deserializeBinaryFromReader = functi
6410
7179
  msg.setFormat(value);
6411
7180
  break;
6412
7181
  case 3:
6413
- var value = /** @type {!proto.ondewo.nlu.ReportType} */ (reader.readEnum());
7182
+ var value = /** @type {!proto.ondewo.nlu.SessionsReportType} */ (reader.readEnum());
6414
7183
  msg.setType(value);
6415
7184
  break;
6416
7185
  default:
@@ -6426,9 +7195,9 @@ proto.ondewo.nlu.GetAgentStatisticsResponse.deserializeBinaryFromReader = functi
6426
7195
  * Serializes the message to binary data (in protobuf wire format).
6427
7196
  * @return {!Uint8Array}
6428
7197
  */
6429
- proto.ondewo.nlu.GetAgentStatisticsResponse.prototype.serializeBinary = function() {
7198
+ proto.ondewo.nlu.GetSessionsStatisticsResponse.prototype.serializeBinary = function() {
6430
7199
  var writer = new jspb.BinaryWriter();
6431
- proto.ondewo.nlu.GetAgentStatisticsResponse.serializeBinaryToWriter(this, writer);
7200
+ proto.ondewo.nlu.GetSessionsStatisticsResponse.serializeBinaryToWriter(this, writer);
6432
7201
  return writer.getResultBuffer();
6433
7202
  };
6434
7203
 
@@ -6436,11 +7205,11 @@ proto.ondewo.nlu.GetAgentStatisticsResponse.prototype.serializeBinary = function
6436
7205
  /**
6437
7206
  * Serializes the given message to binary data (in protobuf wire
6438
7207
  * format), writing to the given BinaryWriter.
6439
- * @param {!proto.ondewo.nlu.GetAgentStatisticsResponse} message
7208
+ * @param {!proto.ondewo.nlu.GetSessionsStatisticsResponse} message
6440
7209
  * @param {!jspb.BinaryWriter} writer
6441
7210
  * @suppress {unusedLocalVariables} f is only used for nested messages
6442
7211
  */
6443
- proto.ondewo.nlu.GetAgentStatisticsResponse.serializeBinaryToWriter = function(message, writer) {
7212
+ proto.ondewo.nlu.GetSessionsStatisticsResponse.serializeBinaryToWriter = function(message, writer) {
6444
7213
  var f = undefined;
6445
7214
  f = message.getReports_asU8();
6446
7215
  if (f.length > 0) {
@@ -6470,7 +7239,7 @@ proto.ondewo.nlu.GetAgentStatisticsResponse.serializeBinaryToWriter = function(m
6470
7239
  * optional bytes reports = 1;
6471
7240
  * @return {!(string|Uint8Array)}
6472
7241
  */
6473
- proto.ondewo.nlu.GetAgentStatisticsResponse.prototype.getReports = function() {
7242
+ proto.ondewo.nlu.GetSessionsStatisticsResponse.prototype.getReports = function() {
6474
7243
  return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
6475
7244
  };
6476
7245
 
@@ -6480,7 +7249,7 @@ proto.ondewo.nlu.GetAgentStatisticsResponse.prototype.getReports = function() {
6480
7249
  * This is a type-conversion wrapper around `getReports()`
6481
7250
  * @return {string}
6482
7251
  */
6483
- proto.ondewo.nlu.GetAgentStatisticsResponse.prototype.getReports_asB64 = function() {
7252
+ proto.ondewo.nlu.GetSessionsStatisticsResponse.prototype.getReports_asB64 = function() {
6484
7253
  return /** @type {string} */ (jspb.Message.bytesAsB64(
6485
7254
  this.getReports()));
6486
7255
  };
@@ -6493,7 +7262,7 @@ proto.ondewo.nlu.GetAgentStatisticsResponse.prototype.getReports_asB64 = functio
6493
7262
  * This is a type-conversion wrapper around `getReports()`
6494
7263
  * @return {!Uint8Array}
6495
7264
  */
6496
- proto.ondewo.nlu.GetAgentStatisticsResponse.prototype.getReports_asU8 = function() {
7265
+ proto.ondewo.nlu.GetSessionsStatisticsResponse.prototype.getReports_asU8 = function() {
6497
7266
  return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
6498
7267
  this.getReports()));
6499
7268
  };
@@ -6501,9 +7270,9 @@ proto.ondewo.nlu.GetAgentStatisticsResponse.prototype.getReports_asU8 = function
6501
7270
 
6502
7271
  /**
6503
7272
  * @param {!(string|Uint8Array)} value
6504
- * @return {!proto.ondewo.nlu.GetAgentStatisticsResponse} returns this
7273
+ * @return {!proto.ondewo.nlu.GetSessionsStatisticsResponse} returns this
6505
7274
  */
6506
- proto.ondewo.nlu.GetAgentStatisticsResponse.prototype.setReports = function(value) {
7275
+ proto.ondewo.nlu.GetSessionsStatisticsResponse.prototype.setReports = function(value) {
6507
7276
  return jspb.Message.setProto3BytesField(this, 1, value);
6508
7277
  };
6509
7278
 
@@ -6512,34 +7281,34 @@ proto.ondewo.nlu.GetAgentStatisticsResponse.prototype.setReports = function(valu
6512
7281
  * optional ReportFormat format = 2;
6513
7282
  * @return {!proto.ondewo.nlu.ReportFormat}
6514
7283
  */
6515
- proto.ondewo.nlu.GetAgentStatisticsResponse.prototype.getFormat = function() {
7284
+ proto.ondewo.nlu.GetSessionsStatisticsResponse.prototype.getFormat = function() {
6516
7285
  return /** @type {!proto.ondewo.nlu.ReportFormat} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
6517
7286
  };
6518
7287
 
6519
7288
 
6520
7289
  /**
6521
7290
  * @param {!proto.ondewo.nlu.ReportFormat} value
6522
- * @return {!proto.ondewo.nlu.GetAgentStatisticsResponse} returns this
7291
+ * @return {!proto.ondewo.nlu.GetSessionsStatisticsResponse} returns this
6523
7292
  */
6524
- proto.ondewo.nlu.GetAgentStatisticsResponse.prototype.setFormat = function(value) {
7293
+ proto.ondewo.nlu.GetSessionsStatisticsResponse.prototype.setFormat = function(value) {
6525
7294
  return jspb.Message.setProto3EnumField(this, 2, value);
6526
7295
  };
6527
7296
 
6528
7297
 
6529
7298
  /**
6530
- * optional ReportType type = 3;
6531
- * @return {!proto.ondewo.nlu.ReportType}
7299
+ * optional SessionsReportType type = 3;
7300
+ * @return {!proto.ondewo.nlu.SessionsReportType}
6532
7301
  */
6533
- proto.ondewo.nlu.GetAgentStatisticsResponse.prototype.getType = function() {
6534
- return /** @type {!proto.ondewo.nlu.ReportType} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
7302
+ proto.ondewo.nlu.GetSessionsStatisticsResponse.prototype.getType = function() {
7303
+ return /** @type {!proto.ondewo.nlu.SessionsReportType} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
6535
7304
  };
6536
7305
 
6537
7306
 
6538
7307
  /**
6539
- * @param {!proto.ondewo.nlu.ReportType} value
6540
- * @return {!proto.ondewo.nlu.GetAgentStatisticsResponse} returns this
7308
+ * @param {!proto.ondewo.nlu.SessionsReportType} value
7309
+ * @return {!proto.ondewo.nlu.GetSessionsStatisticsResponse} returns this
6541
7310
  */
6542
- proto.ondewo.nlu.GetAgentStatisticsResponse.prototype.setType = function(value) {
7311
+ proto.ondewo.nlu.GetSessionsStatisticsResponse.prototype.setType = function(value) {
6543
7312
  return jspb.Message.setProto3EnumField(this, 3, value);
6544
7313
  };
6545
7314
 
@@ -17291,6 +18060,23 @@ proto.ondewo.nlu.ReportType = {
17291
18060
  INTENT_GENERAL: 4
17292
18061
  };
17293
18062
 
18063
+ /**
18064
+ * @enum {number}
18065
+ */
18066
+ proto.ondewo.nlu.SessionsReportType = {
18067
+ SESSIONS: 0,
18068
+ SESSION_STEPS: 1,
18069
+ SESSION_TOP_X_INTENTS: 2,
18070
+ SESSION_TOP_X_ENTITY_TYPES: 3,
18071
+ SESSION_TOP_X_ENTITY_VALUES: 4,
18072
+ SESSION_TOP_X_USERS: 5,
18073
+ SESSION_TOP_X_LABELS: 6,
18074
+ SESSION_TOP_X_TAGS: 7,
18075
+ SESSION_TOP_X_PHONE_NUMBERS: 8,
18076
+ SESSION_HUMAN_HANDOVERS: 9,
18077
+ SESSION_SQL_QUERY: 10
18078
+ };
18079
+
17294
18080
  /**
17295
18081
  * @enum {number}
17296
18082
  */