@ondewo/nlu-client-typescript 6.6.0 → 6.8.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.
@@ -1,6 +1,7 @@
1
1
  import * as jspb from 'google-protobuf'
2
2
 
3
3
  import * as google_protobuf_field_mask_pb from 'google-protobuf/google/protobuf/field_mask_pb'; // proto import: "google/protobuf/field_mask.proto"
4
+ import * as google_protobuf_struct_pb from 'google-protobuf/google/protobuf/struct_pb'; // proto import: "google/protobuf/struct.proto"
4
5
  import * as google_protobuf_timestamp_pb from 'google-protobuf/google/protobuf/timestamp_pb'; // proto import: "google/protobuf/timestamp.proto"
5
6
 
6
7
 
@@ -431,6 +432,68 @@ export namespace KeyValuePair {
431
432
  }
432
433
  }
433
434
 
435
+ export class LogEntry extends jspb.Message {
436
+ getName(): string;
437
+ setName(value: string): LogEntry;
438
+
439
+ getLogEntrySequenceIndex(): number;
440
+ setLogEntrySequenceIndex(value: number): LogEntry;
441
+
442
+ getDisplayName(): string;
443
+ setDisplayName(value: string): LogEntry;
444
+
445
+ getLogEntryTimestamp(): google_protobuf_timestamp_pb.Timestamp | undefined;
446
+ setLogEntryTimestamp(value?: google_protobuf_timestamp_pb.Timestamp): LogEntry;
447
+ hasLogEntryTimestamp(): boolean;
448
+ clearLogEntryTimestamp(): LogEntry;
449
+
450
+ getLogEntryReceiveTimestamp(): google_protobuf_timestamp_pb.Timestamp | undefined;
451
+ setLogEntryReceiveTimestamp(value?: google_protobuf_timestamp_pb.Timestamp): LogEntry;
452
+ hasLogEntryReceiveTimestamp(): boolean;
453
+ clearLogEntryReceiveTimestamp(): LogEntry;
454
+
455
+ getLogEntrySeverity(): LogSeverity;
456
+ setLogEntrySeverity(value: LogSeverity): LogEntry;
457
+
458
+ getLogEntryPhase(): string;
459
+ setLogEntryPhase(value: string): LogEntry;
460
+
461
+ getLogEntryOperationName(): string;
462
+ setLogEntryOperationName(value: string): LogEntry;
463
+
464
+ getLogEntryDetails(): google_protobuf_struct_pb.Struct | undefined;
465
+ setLogEntryDetails(value?: google_protobuf_struct_pb.Struct): LogEntry;
466
+ hasLogEntryDetails(): boolean;
467
+ clearLogEntryDetails(): LogEntry;
468
+
469
+ getLogEntryContext(): google_protobuf_struct_pb.Struct | undefined;
470
+ setLogEntryContext(value?: google_protobuf_struct_pb.Struct): LogEntry;
471
+ hasLogEntryContext(): boolean;
472
+ clearLogEntryContext(): LogEntry;
473
+
474
+ serializeBinary(): Uint8Array;
475
+ toObject(includeInstance?: boolean): LogEntry.AsObject;
476
+ static toObject(includeInstance: boolean, msg: LogEntry): LogEntry.AsObject;
477
+ static serializeBinaryToWriter(message: LogEntry, writer: jspb.BinaryWriter): void;
478
+ static deserializeBinary(bytes: Uint8Array): LogEntry;
479
+ static deserializeBinaryFromReader(message: LogEntry, reader: jspb.BinaryReader): LogEntry;
480
+ }
481
+
482
+ export namespace LogEntry {
483
+ export type AsObject = {
484
+ name: string,
485
+ logEntrySequenceIndex: number,
486
+ displayName: string,
487
+ logEntryTimestamp?: google_protobuf_timestamp_pb.Timestamp.AsObject,
488
+ logEntryReceiveTimestamp?: google_protobuf_timestamp_pb.Timestamp.AsObject,
489
+ logEntrySeverity: LogSeverity,
490
+ logEntryPhase: string,
491
+ logEntryOperationName: string,
492
+ logEntryDetails?: google_protobuf_struct_pb.Struct.AsObject,
493
+ logEntryContext?: google_protobuf_struct_pb.Struct.AsObject,
494
+ }
495
+ }
496
+
434
497
  export enum SortingMode {
435
498
  ASCENDING = 0,
436
499
  DESCENDING = 1,
@@ -480,3 +543,13 @@ export enum NotificationOrigin {
480
543
  NOTIFICATION_ORIGIN_ONDEWO_VTSI = 8,
481
544
  NOTIFICATION_ORIGIN_ONDEWO_VTSI_RABBITMQ = 9,
482
545
  }
546
+ export enum LogSeverity {
547
+ LOG_SEVERITY_UNSPECIFIED = 0,
548
+ LOG_SEVERITY_TRACE = 1,
549
+ LOG_SEVERITY_DEBUG = 2,
550
+ LOG_SEVERITY_INFO = 3,
551
+ LOG_SEVERITY_SUCCESS = 4,
552
+ LOG_SEVERITY_WARNING = 5,
553
+ LOG_SEVERITY_ERROR = 6,
554
+ LOG_SEVERITY_CRITICAL = 7,
555
+ }
@@ -23,6 +23,8 @@ var global =
23
23
 
24
24
  var google_protobuf_field_mask_pb = require('google-protobuf/google/protobuf/field_mask_pb.js');
25
25
  goog.object.extend(proto, google_protobuf_field_mask_pb);
26
+ var google_protobuf_struct_pb = require('google-protobuf/google/protobuf/struct_pb.js');
27
+ goog.object.extend(proto, google_protobuf_struct_pb);
26
28
  var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js');
27
29
  goog.object.extend(proto, google_protobuf_timestamp_pb);
28
30
  goog.exportSymbol('proto.ondewo.nlu.AddNotificationsRequest', null, global);
@@ -32,6 +34,8 @@ goog.exportSymbol('proto.ondewo.nlu.KeyValuePair', null, global);
32
34
  goog.exportSymbol('proto.ondewo.nlu.KeyValuePair.ValueCase', null, global);
33
35
  goog.exportSymbol('proto.ondewo.nlu.ListNotificationsRequest', null, global);
34
36
  goog.exportSymbol('proto.ondewo.nlu.ListNotificationsResponse', null, global);
37
+ goog.exportSymbol('proto.ondewo.nlu.LogEntry', null, global);
38
+ goog.exportSymbol('proto.ondewo.nlu.LogSeverity', null, global);
35
39
  goog.exportSymbol('proto.ondewo.nlu.Notification', null, global);
36
40
  goog.exportSymbol('proto.ondewo.nlu.NotificationFilter', null, global);
37
41
  goog.exportSymbol('proto.ondewo.nlu.NotificationFlaggedStatus', null, global);
@@ -274,6 +278,27 @@ if (goog.DEBUG && !COMPILED) {
274
278
  */
275
279
  proto.ondewo.nlu.KeyValuePair.displayName = 'proto.ondewo.nlu.KeyValuePair';
276
280
  }
281
+ /**
282
+ * Generated by JsPbCodeGenerator.
283
+ * @param {Array=} opt_data Optional initial data array, typically from a
284
+ * server response, or constructed directly in Javascript. The array is used
285
+ * in place and becomes part of the constructed object. It is not cloned.
286
+ * If no data is provided, the constructed object will be empty, but still
287
+ * valid.
288
+ * @extends {jspb.Message}
289
+ * @constructor
290
+ */
291
+ proto.ondewo.nlu.LogEntry = function(opt_data) {
292
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
293
+ };
294
+ goog.inherits(proto.ondewo.nlu.LogEntry, jspb.Message);
295
+ if (goog.DEBUG && !COMPILED) {
296
+ /**
297
+ * @public
298
+ * @override
299
+ */
300
+ proto.ondewo.nlu.LogEntry.displayName = 'proto.ondewo.nlu.LogEntry';
301
+ }
277
302
 
278
303
 
279
304
 
@@ -3628,6 +3653,490 @@ proto.ondewo.nlu.KeyValuePair.prototype.hasCreatedAt = function() {
3628
3653
  };
3629
3654
 
3630
3655
 
3656
+
3657
+
3658
+
3659
+ if (jspb.Message.GENERATE_TO_OBJECT) {
3660
+ /**
3661
+ * Creates an object representation of this proto.
3662
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
3663
+ * Optional fields that are not set will be set to undefined.
3664
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
3665
+ * For the list of reserved names please see:
3666
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
3667
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
3668
+ * JSPB instance for transitional soy proto support:
3669
+ * http://goto/soy-param-migration
3670
+ * @return {!Object}
3671
+ */
3672
+ proto.ondewo.nlu.LogEntry.prototype.toObject = function(opt_includeInstance) {
3673
+ return proto.ondewo.nlu.LogEntry.toObject(opt_includeInstance, this);
3674
+ };
3675
+
3676
+
3677
+ /**
3678
+ * Static version of the {@see toObject} method.
3679
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
3680
+ * the JSPB instance for transitional soy proto support:
3681
+ * http://goto/soy-param-migration
3682
+ * @param {!proto.ondewo.nlu.LogEntry} msg The msg instance to transform.
3683
+ * @return {!Object}
3684
+ * @suppress {unusedLocalVariables} f is only used for nested messages
3685
+ */
3686
+ proto.ondewo.nlu.LogEntry.toObject = function(includeInstance, msg) {
3687
+ var f, obj = {
3688
+ name: jspb.Message.getFieldWithDefault(msg, 1, ""),
3689
+ logEntrySequenceIndex: jspb.Message.getFieldWithDefault(msg, 2, 0),
3690
+ displayName: jspb.Message.getFieldWithDefault(msg, 3, ""),
3691
+ logEntryTimestamp: (f = msg.getLogEntryTimestamp()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
3692
+ logEntryReceiveTimestamp: (f = msg.getLogEntryReceiveTimestamp()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
3693
+ logEntrySeverity: jspb.Message.getFieldWithDefault(msg, 6, 0),
3694
+ logEntryPhase: jspb.Message.getFieldWithDefault(msg, 7, ""),
3695
+ logEntryOperationName: jspb.Message.getFieldWithDefault(msg, 8, ""),
3696
+ logEntryDetails: (f = msg.getLogEntryDetails()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f),
3697
+ logEntryContext: (f = msg.getLogEntryContext()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f)
3698
+ };
3699
+
3700
+ if (includeInstance) {
3701
+ obj.$jspbMessageInstance = msg;
3702
+ }
3703
+ return obj;
3704
+ };
3705
+ }
3706
+
3707
+
3708
+ /**
3709
+ * Deserializes binary data (in protobuf wire format).
3710
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
3711
+ * @return {!proto.ondewo.nlu.LogEntry}
3712
+ */
3713
+ proto.ondewo.nlu.LogEntry.deserializeBinary = function(bytes) {
3714
+ var reader = new jspb.BinaryReader(bytes);
3715
+ var msg = new proto.ondewo.nlu.LogEntry;
3716
+ return proto.ondewo.nlu.LogEntry.deserializeBinaryFromReader(msg, reader);
3717
+ };
3718
+
3719
+
3720
+ /**
3721
+ * Deserializes binary data (in protobuf wire format) from the
3722
+ * given reader into the given message object.
3723
+ * @param {!proto.ondewo.nlu.LogEntry} msg The message object to deserialize into.
3724
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
3725
+ * @return {!proto.ondewo.nlu.LogEntry}
3726
+ */
3727
+ proto.ondewo.nlu.LogEntry.deserializeBinaryFromReader = function(msg, reader) {
3728
+ while (reader.nextField()) {
3729
+ if (reader.isEndGroup()) {
3730
+ break;
3731
+ }
3732
+ var field = reader.getFieldNumber();
3733
+ switch (field) {
3734
+ case 1:
3735
+ var value = /** @type {string} */ (reader.readString());
3736
+ msg.setName(value);
3737
+ break;
3738
+ case 2:
3739
+ var value = /** @type {number} */ (reader.readInt32());
3740
+ msg.setLogEntrySequenceIndex(value);
3741
+ break;
3742
+ case 3:
3743
+ var value = /** @type {string} */ (reader.readString());
3744
+ msg.setDisplayName(value);
3745
+ break;
3746
+ case 4:
3747
+ var value = new google_protobuf_timestamp_pb.Timestamp;
3748
+ reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
3749
+ msg.setLogEntryTimestamp(value);
3750
+ break;
3751
+ case 5:
3752
+ var value = new google_protobuf_timestamp_pb.Timestamp;
3753
+ reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
3754
+ msg.setLogEntryReceiveTimestamp(value);
3755
+ break;
3756
+ case 6:
3757
+ var value = /** @type {!proto.ondewo.nlu.LogSeverity} */ (reader.readEnum());
3758
+ msg.setLogEntrySeverity(value);
3759
+ break;
3760
+ case 7:
3761
+ var value = /** @type {string} */ (reader.readString());
3762
+ msg.setLogEntryPhase(value);
3763
+ break;
3764
+ case 8:
3765
+ var value = /** @type {string} */ (reader.readString());
3766
+ msg.setLogEntryOperationName(value);
3767
+ break;
3768
+ case 9:
3769
+ var value = new google_protobuf_struct_pb.Struct;
3770
+ reader.readMessage(value,google_protobuf_struct_pb.Struct.deserializeBinaryFromReader);
3771
+ msg.setLogEntryDetails(value);
3772
+ break;
3773
+ case 10:
3774
+ var value = new google_protobuf_struct_pb.Struct;
3775
+ reader.readMessage(value,google_protobuf_struct_pb.Struct.deserializeBinaryFromReader);
3776
+ msg.setLogEntryContext(value);
3777
+ break;
3778
+ default:
3779
+ reader.skipField();
3780
+ break;
3781
+ }
3782
+ }
3783
+ return msg;
3784
+ };
3785
+
3786
+
3787
+ /**
3788
+ * Serializes the message to binary data (in protobuf wire format).
3789
+ * @return {!Uint8Array}
3790
+ */
3791
+ proto.ondewo.nlu.LogEntry.prototype.serializeBinary = function() {
3792
+ var writer = new jspb.BinaryWriter();
3793
+ proto.ondewo.nlu.LogEntry.serializeBinaryToWriter(this, writer);
3794
+ return writer.getResultBuffer();
3795
+ };
3796
+
3797
+
3798
+ /**
3799
+ * Serializes the given message to binary data (in protobuf wire
3800
+ * format), writing to the given BinaryWriter.
3801
+ * @param {!proto.ondewo.nlu.LogEntry} message
3802
+ * @param {!jspb.BinaryWriter} writer
3803
+ * @suppress {unusedLocalVariables} f is only used for nested messages
3804
+ */
3805
+ proto.ondewo.nlu.LogEntry.serializeBinaryToWriter = function(message, writer) {
3806
+ var f = undefined;
3807
+ f = message.getName();
3808
+ if (f.length > 0) {
3809
+ writer.writeString(
3810
+ 1,
3811
+ f
3812
+ );
3813
+ }
3814
+ f = message.getLogEntrySequenceIndex();
3815
+ if (f !== 0) {
3816
+ writer.writeInt32(
3817
+ 2,
3818
+ f
3819
+ );
3820
+ }
3821
+ f = message.getDisplayName();
3822
+ if (f.length > 0) {
3823
+ writer.writeString(
3824
+ 3,
3825
+ f
3826
+ );
3827
+ }
3828
+ f = message.getLogEntryTimestamp();
3829
+ if (f != null) {
3830
+ writer.writeMessage(
3831
+ 4,
3832
+ f,
3833
+ google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
3834
+ );
3835
+ }
3836
+ f = message.getLogEntryReceiveTimestamp();
3837
+ if (f != null) {
3838
+ writer.writeMessage(
3839
+ 5,
3840
+ f,
3841
+ google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
3842
+ );
3843
+ }
3844
+ f = message.getLogEntrySeverity();
3845
+ if (f !== 0.0) {
3846
+ writer.writeEnum(
3847
+ 6,
3848
+ f
3849
+ );
3850
+ }
3851
+ f = message.getLogEntryPhase();
3852
+ if (f.length > 0) {
3853
+ writer.writeString(
3854
+ 7,
3855
+ f
3856
+ );
3857
+ }
3858
+ f = message.getLogEntryOperationName();
3859
+ if (f.length > 0) {
3860
+ writer.writeString(
3861
+ 8,
3862
+ f
3863
+ );
3864
+ }
3865
+ f = message.getLogEntryDetails();
3866
+ if (f != null) {
3867
+ writer.writeMessage(
3868
+ 9,
3869
+ f,
3870
+ google_protobuf_struct_pb.Struct.serializeBinaryToWriter
3871
+ );
3872
+ }
3873
+ f = message.getLogEntryContext();
3874
+ if (f != null) {
3875
+ writer.writeMessage(
3876
+ 10,
3877
+ f,
3878
+ google_protobuf_struct_pb.Struct.serializeBinaryToWriter
3879
+ );
3880
+ }
3881
+ };
3882
+
3883
+
3884
+ /**
3885
+ * optional string name = 1;
3886
+ * @return {string}
3887
+ */
3888
+ proto.ondewo.nlu.LogEntry.prototype.getName = function() {
3889
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
3890
+ };
3891
+
3892
+
3893
+ /**
3894
+ * @param {string} value
3895
+ * @return {!proto.ondewo.nlu.LogEntry} returns this
3896
+ */
3897
+ proto.ondewo.nlu.LogEntry.prototype.setName = function(value) {
3898
+ return jspb.Message.setProto3StringField(this, 1, value);
3899
+ };
3900
+
3901
+
3902
+ /**
3903
+ * optional int32 log_entry_sequence_index = 2;
3904
+ * @return {number}
3905
+ */
3906
+ proto.ondewo.nlu.LogEntry.prototype.getLogEntrySequenceIndex = function() {
3907
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
3908
+ };
3909
+
3910
+
3911
+ /**
3912
+ * @param {number} value
3913
+ * @return {!proto.ondewo.nlu.LogEntry} returns this
3914
+ */
3915
+ proto.ondewo.nlu.LogEntry.prototype.setLogEntrySequenceIndex = function(value) {
3916
+ return jspb.Message.setProto3IntField(this, 2, value);
3917
+ };
3918
+
3919
+
3920
+ /**
3921
+ * optional string display_name = 3;
3922
+ * @return {string}
3923
+ */
3924
+ proto.ondewo.nlu.LogEntry.prototype.getDisplayName = function() {
3925
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
3926
+ };
3927
+
3928
+
3929
+ /**
3930
+ * @param {string} value
3931
+ * @return {!proto.ondewo.nlu.LogEntry} returns this
3932
+ */
3933
+ proto.ondewo.nlu.LogEntry.prototype.setDisplayName = function(value) {
3934
+ return jspb.Message.setProto3StringField(this, 3, value);
3935
+ };
3936
+
3937
+
3938
+ /**
3939
+ * optional google.protobuf.Timestamp log_entry_timestamp = 4;
3940
+ * @return {?proto.google.protobuf.Timestamp}
3941
+ */
3942
+ proto.ondewo.nlu.LogEntry.prototype.getLogEntryTimestamp = function() {
3943
+ return /** @type{?proto.google.protobuf.Timestamp} */ (
3944
+ jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 4));
3945
+ };
3946
+
3947
+
3948
+ /**
3949
+ * @param {?proto.google.protobuf.Timestamp|undefined} value
3950
+ * @return {!proto.ondewo.nlu.LogEntry} returns this
3951
+ */
3952
+ proto.ondewo.nlu.LogEntry.prototype.setLogEntryTimestamp = function(value) {
3953
+ return jspb.Message.setWrapperField(this, 4, value);
3954
+ };
3955
+
3956
+
3957
+ /**
3958
+ * Clears the message field making it undefined.
3959
+ * @return {!proto.ondewo.nlu.LogEntry} returns this
3960
+ */
3961
+ proto.ondewo.nlu.LogEntry.prototype.clearLogEntryTimestamp = function() {
3962
+ return this.setLogEntryTimestamp(undefined);
3963
+ };
3964
+
3965
+
3966
+ /**
3967
+ * Returns whether this field is set.
3968
+ * @return {boolean}
3969
+ */
3970
+ proto.ondewo.nlu.LogEntry.prototype.hasLogEntryTimestamp = function() {
3971
+ return jspb.Message.getField(this, 4) != null;
3972
+ };
3973
+
3974
+
3975
+ /**
3976
+ * optional google.protobuf.Timestamp log_entry_receive_timestamp = 5;
3977
+ * @return {?proto.google.protobuf.Timestamp}
3978
+ */
3979
+ proto.ondewo.nlu.LogEntry.prototype.getLogEntryReceiveTimestamp = function() {
3980
+ return /** @type{?proto.google.protobuf.Timestamp} */ (
3981
+ jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 5));
3982
+ };
3983
+
3984
+
3985
+ /**
3986
+ * @param {?proto.google.protobuf.Timestamp|undefined} value
3987
+ * @return {!proto.ondewo.nlu.LogEntry} returns this
3988
+ */
3989
+ proto.ondewo.nlu.LogEntry.prototype.setLogEntryReceiveTimestamp = function(value) {
3990
+ return jspb.Message.setWrapperField(this, 5, value);
3991
+ };
3992
+
3993
+
3994
+ /**
3995
+ * Clears the message field making it undefined.
3996
+ * @return {!proto.ondewo.nlu.LogEntry} returns this
3997
+ */
3998
+ proto.ondewo.nlu.LogEntry.prototype.clearLogEntryReceiveTimestamp = function() {
3999
+ return this.setLogEntryReceiveTimestamp(undefined);
4000
+ };
4001
+
4002
+
4003
+ /**
4004
+ * Returns whether this field is set.
4005
+ * @return {boolean}
4006
+ */
4007
+ proto.ondewo.nlu.LogEntry.prototype.hasLogEntryReceiveTimestamp = function() {
4008
+ return jspb.Message.getField(this, 5) != null;
4009
+ };
4010
+
4011
+
4012
+ /**
4013
+ * optional LogSeverity log_entry_severity = 6;
4014
+ * @return {!proto.ondewo.nlu.LogSeverity}
4015
+ */
4016
+ proto.ondewo.nlu.LogEntry.prototype.getLogEntrySeverity = function() {
4017
+ return /** @type {!proto.ondewo.nlu.LogSeverity} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
4018
+ };
4019
+
4020
+
4021
+ /**
4022
+ * @param {!proto.ondewo.nlu.LogSeverity} value
4023
+ * @return {!proto.ondewo.nlu.LogEntry} returns this
4024
+ */
4025
+ proto.ondewo.nlu.LogEntry.prototype.setLogEntrySeverity = function(value) {
4026
+ return jspb.Message.setProto3EnumField(this, 6, value);
4027
+ };
4028
+
4029
+
4030
+ /**
4031
+ * optional string log_entry_phase = 7;
4032
+ * @return {string}
4033
+ */
4034
+ proto.ondewo.nlu.LogEntry.prototype.getLogEntryPhase = function() {
4035
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
4036
+ };
4037
+
4038
+
4039
+ /**
4040
+ * @param {string} value
4041
+ * @return {!proto.ondewo.nlu.LogEntry} returns this
4042
+ */
4043
+ proto.ondewo.nlu.LogEntry.prototype.setLogEntryPhase = function(value) {
4044
+ return jspb.Message.setProto3StringField(this, 7, value);
4045
+ };
4046
+
4047
+
4048
+ /**
4049
+ * optional string log_entry_operation_name = 8;
4050
+ * @return {string}
4051
+ */
4052
+ proto.ondewo.nlu.LogEntry.prototype.getLogEntryOperationName = function() {
4053
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
4054
+ };
4055
+
4056
+
4057
+ /**
4058
+ * @param {string} value
4059
+ * @return {!proto.ondewo.nlu.LogEntry} returns this
4060
+ */
4061
+ proto.ondewo.nlu.LogEntry.prototype.setLogEntryOperationName = function(value) {
4062
+ return jspb.Message.setProto3StringField(this, 8, value);
4063
+ };
4064
+
4065
+
4066
+ /**
4067
+ * optional google.protobuf.Struct log_entry_details = 9;
4068
+ * @return {?proto.google.protobuf.Struct}
4069
+ */
4070
+ proto.ondewo.nlu.LogEntry.prototype.getLogEntryDetails = function() {
4071
+ return /** @type{?proto.google.protobuf.Struct} */ (
4072
+ jspb.Message.getWrapperField(this, google_protobuf_struct_pb.Struct, 9));
4073
+ };
4074
+
4075
+
4076
+ /**
4077
+ * @param {?proto.google.protobuf.Struct|undefined} value
4078
+ * @return {!proto.ondewo.nlu.LogEntry} returns this
4079
+ */
4080
+ proto.ondewo.nlu.LogEntry.prototype.setLogEntryDetails = function(value) {
4081
+ return jspb.Message.setWrapperField(this, 9, value);
4082
+ };
4083
+
4084
+
4085
+ /**
4086
+ * Clears the message field making it undefined.
4087
+ * @return {!proto.ondewo.nlu.LogEntry} returns this
4088
+ */
4089
+ proto.ondewo.nlu.LogEntry.prototype.clearLogEntryDetails = function() {
4090
+ return this.setLogEntryDetails(undefined);
4091
+ };
4092
+
4093
+
4094
+ /**
4095
+ * Returns whether this field is set.
4096
+ * @return {boolean}
4097
+ */
4098
+ proto.ondewo.nlu.LogEntry.prototype.hasLogEntryDetails = function() {
4099
+ return jspb.Message.getField(this, 9) != null;
4100
+ };
4101
+
4102
+
4103
+ /**
4104
+ * optional google.protobuf.Struct log_entry_context = 10;
4105
+ * @return {?proto.google.protobuf.Struct}
4106
+ */
4107
+ proto.ondewo.nlu.LogEntry.prototype.getLogEntryContext = function() {
4108
+ return /** @type{?proto.google.protobuf.Struct} */ (
4109
+ jspb.Message.getWrapperField(this, google_protobuf_struct_pb.Struct, 10));
4110
+ };
4111
+
4112
+
4113
+ /**
4114
+ * @param {?proto.google.protobuf.Struct|undefined} value
4115
+ * @return {!proto.ondewo.nlu.LogEntry} returns this
4116
+ */
4117
+ proto.ondewo.nlu.LogEntry.prototype.setLogEntryContext = function(value) {
4118
+ return jspb.Message.setWrapperField(this, 10, value);
4119
+ };
4120
+
4121
+
4122
+ /**
4123
+ * Clears the message field making it undefined.
4124
+ * @return {!proto.ondewo.nlu.LogEntry} returns this
4125
+ */
4126
+ proto.ondewo.nlu.LogEntry.prototype.clearLogEntryContext = function() {
4127
+ return this.setLogEntryContext(undefined);
4128
+ };
4129
+
4130
+
4131
+ /**
4132
+ * Returns whether this field is set.
4133
+ * @return {boolean}
4134
+ */
4135
+ proto.ondewo.nlu.LogEntry.prototype.hasLogEntryContext = function() {
4136
+ return jspb.Message.getField(this, 10) != null;
4137
+ };
4138
+
4139
+
3631
4140
  /**
3632
4141
  * @enum {number}
3633
4142
  */
@@ -3701,4 +4210,18 @@ proto.ondewo.nlu.NotificationOrigin = {
3701
4210
  NOTIFICATION_ORIGIN_ONDEWO_VTSI_RABBITMQ: 9
3702
4211
  };
3703
4212
 
4213
+ /**
4214
+ * @enum {number}
4215
+ */
4216
+ proto.ondewo.nlu.LogSeverity = {
4217
+ LOG_SEVERITY_UNSPECIFIED: 0,
4218
+ LOG_SEVERITY_TRACE: 1,
4219
+ LOG_SEVERITY_DEBUG: 2,
4220
+ LOG_SEVERITY_INFO: 3,
4221
+ LOG_SEVERITY_SUCCESS: 4,
4222
+ LOG_SEVERITY_WARNING: 5,
4223
+ LOG_SEVERITY_ERROR: 6,
4224
+ LOG_SEVERITY_CRITICAL: 7
4225
+ };
4226
+
3704
4227
  goog.object.extend(exports, proto.ondewo.nlu);
@@ -196,6 +196,13 @@ export class RagsClient {
196
196
  response: ondewo_nlu_rag_pb.RagDeleteCrawlersResponse) => void
197
197
  ): grpcWeb.ClientReadableStream<ondewo_nlu_rag_pb.RagDeleteCrawlersResponse>;
198
198
 
199
+ ragGetCrawlerRunLogs(
200
+ request: ondewo_nlu_rag_pb.RagGetCrawlerRunLogsRequest,
201
+ metadata: grpcWeb.Metadata | undefined,
202
+ callback: (err: grpcWeb.RpcError,
203
+ response: ondewo_nlu_rag_pb.RagGetCrawlerRunLogsResponse) => void
204
+ ): grpcWeb.ClientReadableStream<ondewo_nlu_rag_pb.RagGetCrawlerRunLogsResponse>;
205
+
199
206
  }
200
207
 
201
208
  export class RagsPromiseClient {
@@ -338,5 +345,10 @@ export class RagsPromiseClient {
338
345
  metadata?: grpcWeb.Metadata
339
346
  ): Promise<ondewo_nlu_rag_pb.RagDeleteCrawlersResponse>;
340
347
 
348
+ ragGetCrawlerRunLogs(
349
+ request: ondewo_nlu_rag_pb.RagGetCrawlerRunLogsRequest,
350
+ metadata?: grpcWeb.Metadata
351
+ ): Promise<ondewo_nlu_rag_pb.RagGetCrawlerRunLogsResponse>;
352
+
341
353
  }
342
354