@lansweeper/discovery-sensor-proto 2.31.2 → 2.32.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.
@@ -880,10 +880,10 @@ export class MacOsInfo extends jspb.Message {
880
880
  getComputerName(): google_protobuf_wrappers_pb.StringValue | undefined;
881
881
  setComputerName(value?: google_protobuf_wrappers_pb.StringValue): MacOsInfo;
882
882
 
883
- hasUserName(): boolean;
884
- clearUserName(): void;
885
- getUserName(): google_protobuf_wrappers_pb.StringValue | undefined;
886
- setUserName(value?: google_protobuf_wrappers_pb.StringValue): MacOsInfo;
883
+ hasLastLoggedOnUser(): boolean;
884
+ clearLastLoggedOnUser(): void;
885
+ getLastLoggedOnUser(): google_protobuf_wrappers_pb.StringValue | undefined;
886
+ setLastLoggedOnUser(value?: google_protobuf_wrappers_pb.StringValue): MacOsInfo;
887
887
 
888
888
  hasUpTime(): boolean;
889
889
  clearUpTime(): void;
@@ -922,7 +922,7 @@ export namespace MacOsInfo {
922
922
  bootVolume?: google_protobuf_wrappers_pb.StringValue.AsObject,
923
923
  bootMode?: google_protobuf_wrappers_pb.StringValue.AsObject,
924
924
  computerName?: google_protobuf_wrappers_pb.StringValue.AsObject,
925
- userName?: google_protobuf_wrappers_pb.StringValue.AsObject,
925
+ lastLoggedOnUser?: google_protobuf_wrappers_pb.StringValue.AsObject,
926
926
  upTime?: google_protobuf_wrappers_pb.StringValue.AsObject,
927
927
  secureVirtualMemory?: google_protobuf_wrappers_pb.StringValue.AsObject,
928
928
  sixtyFourBitKernelAndExts?: google_protobuf_wrappers_pb.StringValue.AsObject,
@@ -7489,7 +7489,7 @@ proto.com.lansweeper.discovery.sensor.mac.v1.MacOsInfo.toObject = function(inclu
7489
7489
  bootVolume: (f = msg.getBootVolume()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
7490
7490
  bootMode: (f = msg.getBootMode()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
7491
7491
  computerName: (f = msg.getComputerName()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
7492
- userName: (f = msg.getUserName()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
7492
+ lastLoggedOnUser: (f = msg.getLastLoggedOnUser()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
7493
7493
  upTime: (f = msg.getUpTime()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
7494
7494
  secureVirtualMemory: (f = msg.getSecureVirtualMemory()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
7495
7495
  sixtyFourBitKernelAndExts: (f = msg.getSixtyFourBitKernelAndExts()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
@@ -7558,7 +7558,7 @@ proto.com.lansweeper.discovery.sensor.mac.v1.MacOsInfo.deserializeBinaryFromRead
7558
7558
  case 6:
7559
7559
  var value = new google_protobuf_wrappers_pb.StringValue;
7560
7560
  reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
7561
- msg.setUserName(value);
7561
+ msg.setLastLoggedOnUser(value);
7562
7562
  break;
7563
7563
  case 7:
7564
7564
  var value = new google_protobuf_wrappers_pb.StringValue;
@@ -7649,7 +7649,7 @@ proto.com.lansweeper.discovery.sensor.mac.v1.MacOsInfo.serializeBinaryToWriter =
7649
7649
  google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
7650
7650
  );
7651
7651
  }
7652
- f = message.getUserName();
7652
+ f = message.getLastLoggedOnUser();
7653
7653
  if (f != null) {
7654
7654
  writer.writeMessage(
7655
7655
  6,
@@ -7878,10 +7878,10 @@ proto.com.lansweeper.discovery.sensor.mac.v1.MacOsInfo.prototype.hasComputerName
7878
7878
 
7879
7879
 
7880
7880
  /**
7881
- * optional google.protobuf.StringValue user_name = 6;
7881
+ * optional google.protobuf.StringValue last_logged_on_user = 6;
7882
7882
  * @return {?proto.google.protobuf.StringValue}
7883
7883
  */
7884
- proto.com.lansweeper.discovery.sensor.mac.v1.MacOsInfo.prototype.getUserName = function() {
7884
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacOsInfo.prototype.getLastLoggedOnUser = function() {
7885
7885
  return /** @type{?proto.google.protobuf.StringValue} */ (
7886
7886
  jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 6));
7887
7887
  };
@@ -7891,7 +7891,7 @@ proto.com.lansweeper.discovery.sensor.mac.v1.MacOsInfo.prototype.getUserName = f
7891
7891
  * @param {?proto.google.protobuf.StringValue|undefined} value
7892
7892
  * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacOsInfo} returns this
7893
7893
  */
7894
- proto.com.lansweeper.discovery.sensor.mac.v1.MacOsInfo.prototype.setUserName = function(value) {
7894
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacOsInfo.prototype.setLastLoggedOnUser = function(value) {
7895
7895
  return jspb.Message.setWrapperField(this, 6, value);
7896
7896
  };
7897
7897
 
@@ -7900,8 +7900,8 @@ proto.com.lansweeper.discovery.sensor.mac.v1.MacOsInfo.prototype.setUserName = f
7900
7900
  * Clears the message field making it undefined.
7901
7901
  * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacOsInfo} returns this
7902
7902
  */
7903
- proto.com.lansweeper.discovery.sensor.mac.v1.MacOsInfo.prototype.clearUserName = function() {
7904
- return this.setUserName(undefined);
7903
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacOsInfo.prototype.clearLastLoggedOnUser = function() {
7904
+ return this.setLastLoggedOnUser(undefined);
7905
7905
  };
7906
7906
 
7907
7907
 
@@ -7909,7 +7909,7 @@ proto.com.lansweeper.discovery.sensor.mac.v1.MacOsInfo.prototype.clearUserName =
7909
7909
  * Returns whether this field is set.
7910
7910
  * @return {boolean}
7911
7911
  */
7912
- proto.com.lansweeper.discovery.sensor.mac.v1.MacOsInfo.prototype.hasUserName = function() {
7912
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacOsInfo.prototype.hasLastLoggedOnUser = function() {
7913
7913
  return jspb.Message.getField(this, 6) != null;
7914
7914
  };
7915
7915