@lansweeper/discovery-sensor-proto 2.65.0 → 2.66.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.
@@ -1031,6 +1031,57 @@ export namespace User {
1031
1031
  }
1032
1032
  }
1033
1033
 
1034
+ export class WindowsUserLogons extends jspb.Message {
1035
+ clearEntriesList(): void;
1036
+ getEntriesList(): Array<UserLogonEntry>;
1037
+ setEntriesList(value: Array<UserLogonEntry>): WindowsUserLogons;
1038
+ addEntries(value?: UserLogonEntry, index?: number): UserLogonEntry;
1039
+
1040
+ serializeBinary(): Uint8Array;
1041
+ toObject(includeInstance?: boolean): WindowsUserLogons.AsObject;
1042
+ static toObject(includeInstance: boolean, msg: WindowsUserLogons): WindowsUserLogons.AsObject;
1043
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
1044
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
1045
+ static serializeBinaryToWriter(message: WindowsUserLogons, writer: jspb.BinaryWriter): void;
1046
+ static deserializeBinary(bytes: Uint8Array): WindowsUserLogons;
1047
+ static deserializeBinaryFromReader(message: WindowsUserLogons, reader: jspb.BinaryReader): WindowsUserLogons;
1048
+ }
1049
+
1050
+ export namespace WindowsUserLogons {
1051
+ export type AsObject = {
1052
+ entriesList: Array<UserLogonEntry.AsObject>,
1053
+ }
1054
+ }
1055
+
1056
+ export class UserLogonEntry extends jspb.Message {
1057
+
1058
+ hasUserName(): boolean;
1059
+ clearUserName(): void;
1060
+ getUserName(): google_protobuf_wrappers_pb.StringValue | undefined;
1061
+ setUserName(value?: google_protobuf_wrappers_pb.StringValue): UserLogonEntry;
1062
+
1063
+ hasLogonTime(): boolean;
1064
+ clearLogonTime(): void;
1065
+ getLogonTime(): google_protobuf_timestamp_pb.Timestamp | undefined;
1066
+ setLogonTime(value?: google_protobuf_timestamp_pb.Timestamp): UserLogonEntry;
1067
+
1068
+ serializeBinary(): Uint8Array;
1069
+ toObject(includeInstance?: boolean): UserLogonEntry.AsObject;
1070
+ static toObject(includeInstance: boolean, msg: UserLogonEntry): UserLogonEntry.AsObject;
1071
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
1072
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
1073
+ static serializeBinaryToWriter(message: UserLogonEntry, writer: jspb.BinaryWriter): void;
1074
+ static deserializeBinary(bytes: Uint8Array): UserLogonEntry;
1075
+ static deserializeBinaryFromReader(message: UserLogonEntry, reader: jspb.BinaryReader): UserLogonEntry;
1076
+ }
1077
+
1078
+ export namespace UserLogonEntry {
1079
+ export type AsObject = {
1080
+ userName?: google_protobuf_wrappers_pb.StringValue.AsObject,
1081
+ logonTime?: google_protobuf_timestamp_pb.Timestamp.AsObject,
1082
+ }
1083
+ }
1084
+
1034
1085
  export class WindowsUsbController extends jspb.Message {
1035
1086
  clearEntriesList(): void;
1036
1087
  getEntriesList(): Array<UsbController>;
@@ -133,6 +133,7 @@ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.UsbControlle
133
133
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.UsbDeviceInfo', null, global);
134
134
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.User', null, global);
135
135
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.UserInGroupInfo', null, global);
136
+ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.UserLogonEntry', null, global);
136
137
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.VideoController', null, global);
137
138
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.Volume', null, global);
138
139
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.WinSat', null, global);
@@ -226,6 +227,7 @@ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.WindowsUsbCo
226
227
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.WindowsUsbDeviceInfo', null, global);
227
228
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.WindowsUser', null, global);
228
229
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.WindowsUserInGroupInfo', null, global);
230
+ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.WindowsUserLogons', null, global);
229
231
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.WindowsVersion', null, global);
230
232
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.WindowsVideoController', null, global);
231
233
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.WindowsVolume', null, global);
@@ -630,6 +632,48 @@ if (goog.DEBUG && !COMPILED) {
630
632
  */
631
633
  proto.com.lansweeper.discovery.sensor.windows.v1.User.displayName = 'proto.com.lansweeper.discovery.sensor.windows.v1.User';
632
634
  }
635
+ /**
636
+ * Generated by JsPbCodeGenerator.
637
+ * @param {Array=} opt_data Optional initial data array, typically from a
638
+ * server response, or constructed directly in Javascript. The array is used
639
+ * in place and becomes part of the constructed object. It is not cloned.
640
+ * If no data is provided, the constructed object will be empty, but still
641
+ * valid.
642
+ * @extends {jspb.Message}
643
+ * @constructor
644
+ */
645
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsUserLogons = function(opt_data) {
646
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.com.lansweeper.discovery.sensor.windows.v1.WindowsUserLogons.repeatedFields_, null);
647
+ };
648
+ goog.inherits(proto.com.lansweeper.discovery.sensor.windows.v1.WindowsUserLogons, jspb.Message);
649
+ if (goog.DEBUG && !COMPILED) {
650
+ /**
651
+ * @public
652
+ * @override
653
+ */
654
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsUserLogons.displayName = 'proto.com.lansweeper.discovery.sensor.windows.v1.WindowsUserLogons';
655
+ }
656
+ /**
657
+ * Generated by JsPbCodeGenerator.
658
+ * @param {Array=} opt_data Optional initial data array, typically from a
659
+ * server response, or constructed directly in Javascript. The array is used
660
+ * in place and becomes part of the constructed object. It is not cloned.
661
+ * If no data is provided, the constructed object will be empty, but still
662
+ * valid.
663
+ * @extends {jspb.Message}
664
+ * @constructor
665
+ */
666
+ proto.com.lansweeper.discovery.sensor.windows.v1.UserLogonEntry = function(opt_data) {
667
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
668
+ };
669
+ goog.inherits(proto.com.lansweeper.discovery.sensor.windows.v1.UserLogonEntry, jspb.Message);
670
+ if (goog.DEBUG && !COMPILED) {
671
+ /**
672
+ * @public
673
+ * @override
674
+ */
675
+ proto.com.lansweeper.discovery.sensor.windows.v1.UserLogonEntry.displayName = 'proto.com.lansweeper.discovery.sensor.windows.v1.UserLogonEntry';
676
+ }
633
677
  /**
634
678
  * Generated by JsPbCodeGenerator.
635
679
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -12413,6 +12457,368 @@ proto.com.lansweeper.discovery.sensor.windows.v1.User.prototype.hasLocalAccount
12413
12457
 
12414
12458
 
12415
12459
 
12460
+ /**
12461
+ * List of repeated fields within this message type.
12462
+ * @private {!Array<number>}
12463
+ * @const
12464
+ */
12465
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsUserLogons.repeatedFields_ = [1];
12466
+
12467
+
12468
+
12469
+ if (jspb.Message.GENERATE_TO_OBJECT) {
12470
+ /**
12471
+ * Creates an object representation of this proto.
12472
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
12473
+ * Optional fields that are not set will be set to undefined.
12474
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
12475
+ * For the list of reserved names please see:
12476
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
12477
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
12478
+ * JSPB instance for transitional soy proto support:
12479
+ * http://goto/soy-param-migration
12480
+ * @return {!Object}
12481
+ */
12482
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsUserLogons.prototype.toObject = function(opt_includeInstance) {
12483
+ return proto.com.lansweeper.discovery.sensor.windows.v1.WindowsUserLogons.toObject(opt_includeInstance, this);
12484
+ };
12485
+
12486
+
12487
+ /**
12488
+ * Static version of the {@see toObject} method.
12489
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
12490
+ * the JSPB instance for transitional soy proto support:
12491
+ * http://goto/soy-param-migration
12492
+ * @param {!proto.com.lansweeper.discovery.sensor.windows.v1.WindowsUserLogons} msg The msg instance to transform.
12493
+ * @return {!Object}
12494
+ * @suppress {unusedLocalVariables} f is only used for nested messages
12495
+ */
12496
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsUserLogons.toObject = function(includeInstance, msg) {
12497
+ var f, obj = {
12498
+ entriesList: jspb.Message.toObjectList(msg.getEntriesList(),
12499
+ proto.com.lansweeper.discovery.sensor.windows.v1.UserLogonEntry.toObject, includeInstance)
12500
+ };
12501
+
12502
+ if (includeInstance) {
12503
+ obj.$jspbMessageInstance = msg;
12504
+ }
12505
+ return obj;
12506
+ };
12507
+ }
12508
+
12509
+
12510
+ /**
12511
+ * Deserializes binary data (in protobuf wire format).
12512
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
12513
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.WindowsUserLogons}
12514
+ */
12515
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsUserLogons.deserializeBinary = function(bytes) {
12516
+ var reader = new jspb.BinaryReader(bytes);
12517
+ var msg = new proto.com.lansweeper.discovery.sensor.windows.v1.WindowsUserLogons;
12518
+ return proto.com.lansweeper.discovery.sensor.windows.v1.WindowsUserLogons.deserializeBinaryFromReader(msg, reader);
12519
+ };
12520
+
12521
+
12522
+ /**
12523
+ * Deserializes binary data (in protobuf wire format) from the
12524
+ * given reader into the given message object.
12525
+ * @param {!proto.com.lansweeper.discovery.sensor.windows.v1.WindowsUserLogons} msg The message object to deserialize into.
12526
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
12527
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.WindowsUserLogons}
12528
+ */
12529
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsUserLogons.deserializeBinaryFromReader = function(msg, reader) {
12530
+ while (reader.nextField()) {
12531
+ if (reader.isEndGroup()) {
12532
+ break;
12533
+ }
12534
+ var field = reader.getFieldNumber();
12535
+ switch (field) {
12536
+ case 1:
12537
+ var value = new proto.com.lansweeper.discovery.sensor.windows.v1.UserLogonEntry;
12538
+ reader.readMessage(value,proto.com.lansweeper.discovery.sensor.windows.v1.UserLogonEntry.deserializeBinaryFromReader);
12539
+ msg.addEntries(value);
12540
+ break;
12541
+ default:
12542
+ reader.skipField();
12543
+ break;
12544
+ }
12545
+ }
12546
+ return msg;
12547
+ };
12548
+
12549
+
12550
+ /**
12551
+ * Serializes the message to binary data (in protobuf wire format).
12552
+ * @return {!Uint8Array}
12553
+ */
12554
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsUserLogons.prototype.serializeBinary = function() {
12555
+ var writer = new jspb.BinaryWriter();
12556
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsUserLogons.serializeBinaryToWriter(this, writer);
12557
+ return writer.getResultBuffer();
12558
+ };
12559
+
12560
+
12561
+ /**
12562
+ * Serializes the given message to binary data (in protobuf wire
12563
+ * format), writing to the given BinaryWriter.
12564
+ * @param {!proto.com.lansweeper.discovery.sensor.windows.v1.WindowsUserLogons} message
12565
+ * @param {!jspb.BinaryWriter} writer
12566
+ * @suppress {unusedLocalVariables} f is only used for nested messages
12567
+ */
12568
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsUserLogons.serializeBinaryToWriter = function(message, writer) {
12569
+ var f = undefined;
12570
+ f = message.getEntriesList();
12571
+ if (f.length > 0) {
12572
+ writer.writeRepeatedMessage(
12573
+ 1,
12574
+ f,
12575
+ proto.com.lansweeper.discovery.sensor.windows.v1.UserLogonEntry.serializeBinaryToWriter
12576
+ );
12577
+ }
12578
+ };
12579
+
12580
+
12581
+ /**
12582
+ * repeated UserLogonEntry entries = 1;
12583
+ * @return {!Array<!proto.com.lansweeper.discovery.sensor.windows.v1.UserLogonEntry>}
12584
+ */
12585
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsUserLogons.prototype.getEntriesList = function() {
12586
+ return /** @type{!Array<!proto.com.lansweeper.discovery.sensor.windows.v1.UserLogonEntry>} */ (
12587
+ jspb.Message.getRepeatedWrapperField(this, proto.com.lansweeper.discovery.sensor.windows.v1.UserLogonEntry, 1));
12588
+ };
12589
+
12590
+
12591
+ /**
12592
+ * @param {!Array<!proto.com.lansweeper.discovery.sensor.windows.v1.UserLogonEntry>} value
12593
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.WindowsUserLogons} returns this
12594
+ */
12595
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsUserLogons.prototype.setEntriesList = function(value) {
12596
+ return jspb.Message.setRepeatedWrapperField(this, 1, value);
12597
+ };
12598
+
12599
+
12600
+ /**
12601
+ * @param {!proto.com.lansweeper.discovery.sensor.windows.v1.UserLogonEntry=} opt_value
12602
+ * @param {number=} opt_index
12603
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.UserLogonEntry}
12604
+ */
12605
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsUserLogons.prototype.addEntries = function(opt_value, opt_index) {
12606
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.com.lansweeper.discovery.sensor.windows.v1.UserLogonEntry, opt_index);
12607
+ };
12608
+
12609
+
12610
+ /**
12611
+ * Clears the list making it empty but non-null.
12612
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.WindowsUserLogons} returns this
12613
+ */
12614
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsUserLogons.prototype.clearEntriesList = function() {
12615
+ return this.setEntriesList([]);
12616
+ };
12617
+
12618
+
12619
+
12620
+
12621
+
12622
+ if (jspb.Message.GENERATE_TO_OBJECT) {
12623
+ /**
12624
+ * Creates an object representation of this proto.
12625
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
12626
+ * Optional fields that are not set will be set to undefined.
12627
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
12628
+ * For the list of reserved names please see:
12629
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
12630
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
12631
+ * JSPB instance for transitional soy proto support:
12632
+ * http://goto/soy-param-migration
12633
+ * @return {!Object}
12634
+ */
12635
+ proto.com.lansweeper.discovery.sensor.windows.v1.UserLogonEntry.prototype.toObject = function(opt_includeInstance) {
12636
+ return proto.com.lansweeper.discovery.sensor.windows.v1.UserLogonEntry.toObject(opt_includeInstance, this);
12637
+ };
12638
+
12639
+
12640
+ /**
12641
+ * Static version of the {@see toObject} method.
12642
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
12643
+ * the JSPB instance for transitional soy proto support:
12644
+ * http://goto/soy-param-migration
12645
+ * @param {!proto.com.lansweeper.discovery.sensor.windows.v1.UserLogonEntry} msg The msg instance to transform.
12646
+ * @return {!Object}
12647
+ * @suppress {unusedLocalVariables} f is only used for nested messages
12648
+ */
12649
+ proto.com.lansweeper.discovery.sensor.windows.v1.UserLogonEntry.toObject = function(includeInstance, msg) {
12650
+ var f, obj = {
12651
+ userName: (f = msg.getUserName()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
12652
+ logonTime: (f = msg.getLogonTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
12653
+ };
12654
+
12655
+ if (includeInstance) {
12656
+ obj.$jspbMessageInstance = msg;
12657
+ }
12658
+ return obj;
12659
+ };
12660
+ }
12661
+
12662
+
12663
+ /**
12664
+ * Deserializes binary data (in protobuf wire format).
12665
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
12666
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.UserLogonEntry}
12667
+ */
12668
+ proto.com.lansweeper.discovery.sensor.windows.v1.UserLogonEntry.deserializeBinary = function(bytes) {
12669
+ var reader = new jspb.BinaryReader(bytes);
12670
+ var msg = new proto.com.lansweeper.discovery.sensor.windows.v1.UserLogonEntry;
12671
+ return proto.com.lansweeper.discovery.sensor.windows.v1.UserLogonEntry.deserializeBinaryFromReader(msg, reader);
12672
+ };
12673
+
12674
+
12675
+ /**
12676
+ * Deserializes binary data (in protobuf wire format) from the
12677
+ * given reader into the given message object.
12678
+ * @param {!proto.com.lansweeper.discovery.sensor.windows.v1.UserLogonEntry} msg The message object to deserialize into.
12679
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
12680
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.UserLogonEntry}
12681
+ */
12682
+ proto.com.lansweeper.discovery.sensor.windows.v1.UserLogonEntry.deserializeBinaryFromReader = function(msg, reader) {
12683
+ while (reader.nextField()) {
12684
+ if (reader.isEndGroup()) {
12685
+ break;
12686
+ }
12687
+ var field = reader.getFieldNumber();
12688
+ switch (field) {
12689
+ case 1:
12690
+ var value = new google_protobuf_wrappers_pb.StringValue;
12691
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
12692
+ msg.setUserName(value);
12693
+ break;
12694
+ case 2:
12695
+ var value = new google_protobuf_timestamp_pb.Timestamp;
12696
+ reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
12697
+ msg.setLogonTime(value);
12698
+ break;
12699
+ default:
12700
+ reader.skipField();
12701
+ break;
12702
+ }
12703
+ }
12704
+ return msg;
12705
+ };
12706
+
12707
+
12708
+ /**
12709
+ * Serializes the message to binary data (in protobuf wire format).
12710
+ * @return {!Uint8Array}
12711
+ */
12712
+ proto.com.lansweeper.discovery.sensor.windows.v1.UserLogonEntry.prototype.serializeBinary = function() {
12713
+ var writer = new jspb.BinaryWriter();
12714
+ proto.com.lansweeper.discovery.sensor.windows.v1.UserLogonEntry.serializeBinaryToWriter(this, writer);
12715
+ return writer.getResultBuffer();
12716
+ };
12717
+
12718
+
12719
+ /**
12720
+ * Serializes the given message to binary data (in protobuf wire
12721
+ * format), writing to the given BinaryWriter.
12722
+ * @param {!proto.com.lansweeper.discovery.sensor.windows.v1.UserLogonEntry} message
12723
+ * @param {!jspb.BinaryWriter} writer
12724
+ * @suppress {unusedLocalVariables} f is only used for nested messages
12725
+ */
12726
+ proto.com.lansweeper.discovery.sensor.windows.v1.UserLogonEntry.serializeBinaryToWriter = function(message, writer) {
12727
+ var f = undefined;
12728
+ f = message.getUserName();
12729
+ if (f != null) {
12730
+ writer.writeMessage(
12731
+ 1,
12732
+ f,
12733
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
12734
+ );
12735
+ }
12736
+ f = message.getLogonTime();
12737
+ if (f != null) {
12738
+ writer.writeMessage(
12739
+ 2,
12740
+ f,
12741
+ google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
12742
+ );
12743
+ }
12744
+ };
12745
+
12746
+
12747
+ /**
12748
+ * optional google.protobuf.StringValue user_name = 1;
12749
+ * @return {?proto.google.protobuf.StringValue}
12750
+ */
12751
+ proto.com.lansweeper.discovery.sensor.windows.v1.UserLogonEntry.prototype.getUserName = function() {
12752
+ return /** @type{?proto.google.protobuf.StringValue} */ (
12753
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 1));
12754
+ };
12755
+
12756
+
12757
+ /**
12758
+ * @param {?proto.google.protobuf.StringValue|undefined} value
12759
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.UserLogonEntry} returns this
12760
+ */
12761
+ proto.com.lansweeper.discovery.sensor.windows.v1.UserLogonEntry.prototype.setUserName = function(value) {
12762
+ return jspb.Message.setWrapperField(this, 1, value);
12763
+ };
12764
+
12765
+
12766
+ /**
12767
+ * Clears the message field making it undefined.
12768
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.UserLogonEntry} returns this
12769
+ */
12770
+ proto.com.lansweeper.discovery.sensor.windows.v1.UserLogonEntry.prototype.clearUserName = function() {
12771
+ return this.setUserName(undefined);
12772
+ };
12773
+
12774
+
12775
+ /**
12776
+ * Returns whether this field is set.
12777
+ * @return {boolean}
12778
+ */
12779
+ proto.com.lansweeper.discovery.sensor.windows.v1.UserLogonEntry.prototype.hasUserName = function() {
12780
+ return jspb.Message.getField(this, 1) != null;
12781
+ };
12782
+
12783
+
12784
+ /**
12785
+ * optional google.protobuf.Timestamp logon_time = 2;
12786
+ * @return {?proto.google.protobuf.Timestamp}
12787
+ */
12788
+ proto.com.lansweeper.discovery.sensor.windows.v1.UserLogonEntry.prototype.getLogonTime = function() {
12789
+ return /** @type{?proto.google.protobuf.Timestamp} */ (
12790
+ jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 2));
12791
+ };
12792
+
12793
+
12794
+ /**
12795
+ * @param {?proto.google.protobuf.Timestamp|undefined} value
12796
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.UserLogonEntry} returns this
12797
+ */
12798
+ proto.com.lansweeper.discovery.sensor.windows.v1.UserLogonEntry.prototype.setLogonTime = function(value) {
12799
+ return jspb.Message.setWrapperField(this, 2, value);
12800
+ };
12801
+
12802
+
12803
+ /**
12804
+ * Clears the message field making it undefined.
12805
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.UserLogonEntry} returns this
12806
+ */
12807
+ proto.com.lansweeper.discovery.sensor.windows.v1.UserLogonEntry.prototype.clearLogonTime = function() {
12808
+ return this.setLogonTime(undefined);
12809
+ };
12810
+
12811
+
12812
+ /**
12813
+ * Returns whether this field is set.
12814
+ * @return {boolean}
12815
+ */
12816
+ proto.com.lansweeper.discovery.sensor.windows.v1.UserLogonEntry.prototype.hasLogonTime = function() {
12817
+ return jspb.Message.getField(this, 2) != null;
12818
+ };
12819
+
12820
+
12821
+
12416
12822
  /**
12417
12823
  * List of repeated fields within this message type.
12418
12824
  * @private {!Array<number>}