@lansweeper/data-platform-outbound-grpc 0.1.88 → 0.1.90

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.
@@ -66,6 +66,7 @@ goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.ComputerWindowsIdeControl
66
66
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.ComputerWindowsNetworkClient', null, global);
67
67
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.ComputerWindowsPageFile', null, global);
68
68
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.ComputerWindowsPageFile.PageFileCase', null, global);
69
+ goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.ComputerWindowsSat', null, global);
69
70
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.ComputerWindowsSerial', null, global);
70
71
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.CoreFields', null, global);
71
72
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.CorrField', null, global);
@@ -149,6 +150,8 @@ goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.SetIpLocationConfigRespon
149
150
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.SharedPermission', null, global);
150
151
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.SharedResource', null, global);
151
152
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.Software', null, global);
153
+ goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.SoftwareChangeEvent', null, global);
154
+ goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.SoftwareChangeEvent.EventType', null, global);
152
155
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.SoftwareInventory', null, global);
153
156
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.SoundCard', null, global);
154
157
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.SourceInfo', null, global);
@@ -2513,6 +2516,27 @@ if (goog.DEBUG && !COMPILED) {
2513
2516
  */
2514
2517
  proto.com.lansweeper.dp.outbound.v1.ComputerWindowsCodec.displayName = 'proto.com.lansweeper.dp.outbound.v1.ComputerWindowsCodec';
2515
2518
  }
2519
+ /**
2520
+ * Generated by JsPbCodeGenerator.
2521
+ * @param {Array=} opt_data Optional initial data array, typically from a
2522
+ * server response, or constructed directly in Javascript. The array is used
2523
+ * in place and becomes part of the constructed object. It is not cloned.
2524
+ * If no data is provided, the constructed object will be empty, but still
2525
+ * valid.
2526
+ * @extends {jspb.Message}
2527
+ * @constructor
2528
+ */
2529
+ proto.com.lansweeper.dp.outbound.v1.ComputerWindowsSat = function(opt_data) {
2530
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
2531
+ };
2532
+ goog.inherits(proto.com.lansweeper.dp.outbound.v1.ComputerWindowsSat, jspb.Message);
2533
+ if (goog.DEBUG && !COMPILED) {
2534
+ /**
2535
+ * @public
2536
+ * @override
2537
+ */
2538
+ proto.com.lansweeper.dp.outbound.v1.ComputerWindowsSat.displayName = 'proto.com.lansweeper.dp.outbound.v1.ComputerWindowsSat';
2539
+ }
2516
2540
  /**
2517
2541
  * Generated by JsPbCodeGenerator.
2518
2542
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -3059,6 +3083,27 @@ if (goog.DEBUG && !COMPILED) {
3059
3083
  */
3060
3084
  proto.com.lansweeper.dp.outbound.v1.RawSoftware.displayName = 'proto.com.lansweeper.dp.outbound.v1.RawSoftware';
3061
3085
  }
3086
+ /**
3087
+ * Generated by JsPbCodeGenerator.
3088
+ * @param {Array=} opt_data Optional initial data array, typically from a
3089
+ * server response, or constructed directly in Javascript. The array is used
3090
+ * in place and becomes part of the constructed object. It is not cloned.
3091
+ * If no data is provided, the constructed object will be empty, but still
3092
+ * valid.
3093
+ * @extends {jspb.Message}
3094
+ * @constructor
3095
+ */
3096
+ proto.com.lansweeper.dp.outbound.v1.SoftwareChangeEvent = function(opt_data) {
3097
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
3098
+ };
3099
+ goog.inherits(proto.com.lansweeper.dp.outbound.v1.SoftwareChangeEvent, jspb.Message);
3100
+ if (goog.DEBUG && !COMPILED) {
3101
+ /**
3102
+ * @public
3103
+ * @override
3104
+ */
3105
+ proto.com.lansweeper.dp.outbound.v1.SoftwareChangeEvent.displayName = 'proto.com.lansweeper.dp.outbound.v1.SoftwareChangeEvent';
3106
+ }
3062
3107
  /**
3063
3108
  * Generated by JsPbCodeGenerator.
3064
3109
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -7339,7 +7384,7 @@ proto.com.lansweeper.dp.outbound.v1.Asset.prototype.hasCloud = function() {
7339
7384
  * @private {!Array<number>}
7340
7385
  * @const
7341
7386
  */
7342
- proto.com.lansweeper.dp.outbound.v1.Computer.repeatedFields_ = [3,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,33,27,32,28,29,30,31,102,103,105,107,202,203,205,206,207,210,211,212,213,214,215,216,217,302,303,304];
7387
+ proto.com.lansweeper.dp.outbound.v1.Computer.repeatedFields_ = [3,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,33,27,32,28,29,30,31,102,103,105,107,202,203,205,206,207,210,211,212,213,214,215,216,217,218,302,303,304];
7343
7388
 
7344
7389
 
7345
7390
 
@@ -7476,6 +7521,8 @@ proto.com.lansweeper.dp.outbound.v1.Computer.toObject = function(includeInstance
7476
7521
  proto.com.lansweeper.dp.outbound.v1.ComputerWindowsCodec.toObject, includeInstance),
7477
7522
  windowsCodecsComponentList: jspb.Message.toObjectList(msg.getWindowsCodecsComponentList(),
7478
7523
  proto.com.lansweeper.dp.outbound.v1.ComputerWindowsCodec.toObject, includeInstance),
7524
+ windowsSatList: jspb.Message.toObjectList(msg.getWindowsSatList(),
7525
+ proto.com.lansweeper.dp.outbound.v1.ComputerWindowsSat.toObject, includeInstance),
7479
7526
  lastUser: (f = msg.getLastUser()) && proto.com.lansweeper.dp.outbound.v1.LastUser.toObject(includeInstance, f),
7480
7527
  userList: jspb.Message.toObjectList(msg.getUserList(),
7481
7528
  proto.com.lansweeper.dp.outbound.v1.UserAccount.toObject, includeInstance),
@@ -7804,6 +7851,11 @@ proto.com.lansweeper.dp.outbound.v1.Computer.deserializeBinaryFromReader = funct
7804
7851
  reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.ComputerWindowsCodec.deserializeBinaryFromReader);
7805
7852
  msg.addWindowsCodecsComponent(value);
7806
7853
  break;
7854
+ case 218:
7855
+ var value = new proto.com.lansweeper.dp.outbound.v1.ComputerWindowsSat;
7856
+ reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.ComputerWindowsSat.deserializeBinaryFromReader);
7857
+ msg.addWindowsSat(value);
7858
+ break;
7807
7859
  case 301:
7808
7860
  var value = new proto.com.lansweeper.dp.outbound.v1.LastUser;
7809
7861
  reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.LastUser.deserializeBinaryFromReader);
@@ -8309,6 +8361,14 @@ proto.com.lansweeper.dp.outbound.v1.Computer.serializeBinaryToWriter = function(
8309
8361
  proto.com.lansweeper.dp.outbound.v1.ComputerWindowsCodec.serializeBinaryToWriter
8310
8362
  );
8311
8363
  }
8364
+ f = message.getWindowsSatList();
8365
+ if (f.length > 0) {
8366
+ writer.writeRepeatedMessage(
8367
+ 218,
8368
+ f,
8369
+ proto.com.lansweeper.dp.outbound.v1.ComputerWindowsSat.serializeBinaryToWriter
8370
+ );
8371
+ }
8312
8372
  f = message.getLastUser();
8313
8373
  if (f != null) {
8314
8374
  writer.writeMessage(
@@ -10500,6 +10560,44 @@ proto.com.lansweeper.dp.outbound.v1.Computer.prototype.clearWindowsCodecsCompone
10500
10560
  };
10501
10561
 
10502
10562
 
10563
+ /**
10564
+ * repeated ComputerWindowsSat windows_sat = 218;
10565
+ * @return {!Array<!proto.com.lansweeper.dp.outbound.v1.ComputerWindowsSat>}
10566
+ */
10567
+ proto.com.lansweeper.dp.outbound.v1.Computer.prototype.getWindowsSatList = function() {
10568
+ return /** @type{!Array<!proto.com.lansweeper.dp.outbound.v1.ComputerWindowsSat>} */ (
10569
+ jspb.Message.getRepeatedWrapperField(this, proto.com.lansweeper.dp.outbound.v1.ComputerWindowsSat, 218));
10570
+ };
10571
+
10572
+
10573
+ /**
10574
+ * @param {!Array<!proto.com.lansweeper.dp.outbound.v1.ComputerWindowsSat>} value
10575
+ * @return {!proto.com.lansweeper.dp.outbound.v1.Computer} returns this
10576
+ */
10577
+ proto.com.lansweeper.dp.outbound.v1.Computer.prototype.setWindowsSatList = function(value) {
10578
+ return jspb.Message.setRepeatedWrapperField(this, 218, value);
10579
+ };
10580
+
10581
+
10582
+ /**
10583
+ * @param {!proto.com.lansweeper.dp.outbound.v1.ComputerWindowsSat=} opt_value
10584
+ * @param {number=} opt_index
10585
+ * @return {!proto.com.lansweeper.dp.outbound.v1.ComputerWindowsSat}
10586
+ */
10587
+ proto.com.lansweeper.dp.outbound.v1.Computer.prototype.addWindowsSat = function(opt_value, opt_index) {
10588
+ return jspb.Message.addToRepeatedWrapperField(this, 218, opt_value, proto.com.lansweeper.dp.outbound.v1.ComputerWindowsSat, opt_index);
10589
+ };
10590
+
10591
+
10592
+ /**
10593
+ * Clears the list making it empty but non-null.
10594
+ * @return {!proto.com.lansweeper.dp.outbound.v1.Computer} returns this
10595
+ */
10596
+ proto.com.lansweeper.dp.outbound.v1.Computer.prototype.clearWindowsSatList = function() {
10597
+ return this.setWindowsSatList([]);
10598
+ };
10599
+
10600
+
10503
10601
  /**
10504
10602
  * optional LastUser last_user = 301;
10505
10603
  * @return {?proto.com.lansweeper.dp.outbound.v1.LastUser}
@@ -11894,7 +11992,7 @@ proto.com.lansweeper.dp.outbound.v1.CloudEntity.prototype.setCategory = function
11894
11992
  * @private {!Array<number>}
11895
11993
  * @const
11896
11994
  */
11897
- proto.com.lansweeper.dp.outbound.v1.OtModule.repeatedFields_ = [5,10];
11995
+ proto.com.lansweeper.dp.outbound.v1.OtModule.repeatedFields_ = [2,5,10];
11898
11996
 
11899
11997
 
11900
11998
 
@@ -11928,7 +12026,8 @@ proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.toObject = function(opt_i
11928
12026
  proto.com.lansweeper.dp.outbound.v1.OtModule.toObject = function(includeInstance, msg) {
11929
12027
  var f, obj = {
11930
12028
  componentType: jspb.Message.getFieldWithDefault(msg, 1, ""),
11931
- busConfig: (f = msg.getBusConfig()) && proto.com.lansweeper.dp.outbound.v1.OtBusConfig.toObject(includeInstance, f),
12029
+ busConfigList: jspb.Message.toObjectList(msg.getBusConfigList(),
12030
+ proto.com.lansweeper.dp.outbound.v1.OtBusConfig.toObject, includeInstance),
11932
12031
  isMainModule: jspb.Message.getBooleanFieldWithDefault(msg, 3, false),
11933
12032
  partNumber: jspb.Message.getFieldWithDefault(msg, 4, ""),
11934
12033
  extInfoList: jspb.Message.toObjectList(msg.getExtInfoList(),
@@ -11982,7 +12081,7 @@ proto.com.lansweeper.dp.outbound.v1.OtModule.deserializeBinaryFromReader = funct
11982
12081
  case 2:
11983
12082
  var value = new proto.com.lansweeper.dp.outbound.v1.OtBusConfig;
11984
12083
  reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.OtBusConfig.deserializeBinaryFromReader);
11985
- msg.setBusConfig(value);
12084
+ msg.addBusConfig(value);
11986
12085
  break;
11987
12086
  case 3:
11988
12087
  var value = /** @type {boolean} */ (reader.readBool());
@@ -12055,9 +12154,9 @@ proto.com.lansweeper.dp.outbound.v1.OtModule.serializeBinaryToWriter = function(
12055
12154
  f
12056
12155
  );
12057
12156
  }
12058
- f = message.getBusConfig();
12059
- if (f != null) {
12060
- writer.writeMessage(
12157
+ f = message.getBusConfigList();
12158
+ if (f.length > 0) {
12159
+ writer.writeRepeatedMessage(
12061
12160
  2,
12062
12161
  f,
12063
12162
  proto.com.lansweeper.dp.outbound.v1.OtBusConfig.serializeBinaryToWriter
@@ -12162,39 +12261,40 @@ proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.hasComponentType = functi
12162
12261
 
12163
12262
 
12164
12263
  /**
12165
- * optional OtBusConfig bus_config = 2;
12166
- * @return {?proto.com.lansweeper.dp.outbound.v1.OtBusConfig}
12264
+ * repeated OtBusConfig bus_config = 2;
12265
+ * @return {!Array<!proto.com.lansweeper.dp.outbound.v1.OtBusConfig>}
12167
12266
  */
12168
- proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.getBusConfig = function() {
12169
- return /** @type{?proto.com.lansweeper.dp.outbound.v1.OtBusConfig} */ (
12170
- jspb.Message.getWrapperField(this, proto.com.lansweeper.dp.outbound.v1.OtBusConfig, 2));
12267
+ proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.getBusConfigList = function() {
12268
+ return /** @type{!Array<!proto.com.lansweeper.dp.outbound.v1.OtBusConfig>} */ (
12269
+ jspb.Message.getRepeatedWrapperField(this, proto.com.lansweeper.dp.outbound.v1.OtBusConfig, 2));
12171
12270
  };
12172
12271
 
12173
12272
 
12174
12273
  /**
12175
- * @param {?proto.com.lansweeper.dp.outbound.v1.OtBusConfig|undefined} value
12274
+ * @param {!Array<!proto.com.lansweeper.dp.outbound.v1.OtBusConfig>} value
12176
12275
  * @return {!proto.com.lansweeper.dp.outbound.v1.OtModule} returns this
12177
12276
  */
12178
- proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.setBusConfig = function(value) {
12179
- return jspb.Message.setWrapperField(this, 2, value);
12277
+ proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.setBusConfigList = function(value) {
12278
+ return jspb.Message.setRepeatedWrapperField(this, 2, value);
12180
12279
  };
12181
12280
 
12182
12281
 
12183
12282
  /**
12184
- * Clears the message field making it undefined.
12185
- * @return {!proto.com.lansweeper.dp.outbound.v1.OtModule} returns this
12283
+ * @param {!proto.com.lansweeper.dp.outbound.v1.OtBusConfig=} opt_value
12284
+ * @param {number=} opt_index
12285
+ * @return {!proto.com.lansweeper.dp.outbound.v1.OtBusConfig}
12186
12286
  */
12187
- proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.clearBusConfig = function() {
12188
- return this.setBusConfig(undefined);
12287
+ proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.addBusConfig = function(opt_value, opt_index) {
12288
+ return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.com.lansweeper.dp.outbound.v1.OtBusConfig, opt_index);
12189
12289
  };
12190
12290
 
12191
12291
 
12192
12292
  /**
12193
- * Returns whether this field is set.
12194
- * @return {boolean}
12293
+ * Clears the list making it empty but non-null.
12294
+ * @return {!proto.com.lansweeper.dp.outbound.v1.OtModule} returns this
12195
12295
  */
12196
- proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.hasBusConfig = function() {
12197
- return jspb.Message.getField(this, 2) != null;
12296
+ proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.clearBusConfigList = function() {
12297
+ return this.setBusConfigList([]);
12198
12298
  };
12199
12299
 
12200
12300
 
@@ -12493,7 +12593,8 @@ proto.com.lansweeper.dp.outbound.v1.OtBusConfig.toObject = function(includeInsta
12493
12593
  size: jspb.Message.getFieldWithDefault(msg, 4, 0),
12494
12594
  startIndex: jspb.Message.getFieldWithDefault(msg, 7, 0),
12495
12595
  position: jspb.Message.getFieldWithDefault(msg, 5, 0),
12496
- width: jspb.Message.getFieldWithDefault(msg, 6, 0)
12596
+ width: jspb.Message.getFieldWithDefault(msg, 6, 0),
12597
+ isMainModule: jspb.Message.getBooleanFieldWithDefault(msg, 8, false)
12497
12598
  };
12498
12599
 
12499
12600
  if (includeInstance) {
@@ -12558,6 +12659,10 @@ proto.com.lansweeper.dp.outbound.v1.OtBusConfig.deserializeBinaryFromReader = fu
12558
12659
  var value = /** @type {number} */ (reader.readInt32());
12559
12660
  msg.setWidth(value);
12560
12661
  break;
12662
+ case 8:
12663
+ var value = /** @type {boolean} */ (reader.readBool());
12664
+ msg.setIsMainModule(value);
12665
+ break;
12561
12666
  default:
12562
12667
  reader.skipField();
12563
12668
  break;
@@ -12636,6 +12741,13 @@ proto.com.lansweeper.dp.outbound.v1.OtBusConfig.serializeBinaryToWriter = functi
12636
12741
  f
12637
12742
  );
12638
12743
  }
12744
+ f = /** @type {boolean} */ (jspb.Message.getField(message, 8));
12745
+ if (f != null) {
12746
+ writer.writeBool(
12747
+ 8,
12748
+ f
12749
+ );
12750
+ }
12639
12751
  };
12640
12752
 
12641
12753
 
@@ -12837,6 +12949,42 @@ proto.com.lansweeper.dp.outbound.v1.OtBusConfig.prototype.hasWidth = function()
12837
12949
  };
12838
12950
 
12839
12951
 
12952
+ /**
12953
+ * optional bool is_main_module = 8;
12954
+ * @return {boolean}
12955
+ */
12956
+ proto.com.lansweeper.dp.outbound.v1.OtBusConfig.prototype.getIsMainModule = function() {
12957
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 8, false));
12958
+ };
12959
+
12960
+
12961
+ /**
12962
+ * @param {boolean} value
12963
+ * @return {!proto.com.lansweeper.dp.outbound.v1.OtBusConfig} returns this
12964
+ */
12965
+ proto.com.lansweeper.dp.outbound.v1.OtBusConfig.prototype.setIsMainModule = function(value) {
12966
+ return jspb.Message.setField(this, 8, value);
12967
+ };
12968
+
12969
+
12970
+ /**
12971
+ * Clears the field making it undefined.
12972
+ * @return {!proto.com.lansweeper.dp.outbound.v1.OtBusConfig} returns this
12973
+ */
12974
+ proto.com.lansweeper.dp.outbound.v1.OtBusConfig.prototype.clearIsMainModule = function() {
12975
+ return jspb.Message.setField(this, 8, undefined);
12976
+ };
12977
+
12978
+
12979
+ /**
12980
+ * Returns whether this field is set.
12981
+ * @return {boolean}
12982
+ */
12983
+ proto.com.lansweeper.dp.outbound.v1.OtBusConfig.prototype.hasIsMainModule = function() {
12984
+ return jspb.Message.getField(this, 8) != null;
12985
+ };
12986
+
12987
+
12840
12988
 
12841
12989
 
12842
12990
 
@@ -60478,6 +60626,490 @@ proto.com.lansweeper.dp.outbound.v1.ComputerWindowsCodec.prototype.hasCaption =
60478
60626
 
60479
60627
 
60480
60628
 
60629
+
60630
+
60631
+ if (jspb.Message.GENERATE_TO_OBJECT) {
60632
+ /**
60633
+ * Creates an object representation of this proto.
60634
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
60635
+ * Optional fields that are not set will be set to undefined.
60636
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
60637
+ * For the list of reserved names please see:
60638
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
60639
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
60640
+ * JSPB instance for transitional soy proto support:
60641
+ * http://goto/soy-param-migration
60642
+ * @return {!Object}
60643
+ */
60644
+ proto.com.lansweeper.dp.outbound.v1.ComputerWindowsSat.prototype.toObject = function(opt_includeInstance) {
60645
+ return proto.com.lansweeper.dp.outbound.v1.ComputerWindowsSat.toObject(opt_includeInstance, this);
60646
+ };
60647
+
60648
+
60649
+ /**
60650
+ * Static version of the {@see toObject} method.
60651
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
60652
+ * the JSPB instance for transitional soy proto support:
60653
+ * http://goto/soy-param-migration
60654
+ * @param {!proto.com.lansweeper.dp.outbound.v1.ComputerWindowsSat} msg The msg instance to transform.
60655
+ * @return {!Object}
60656
+ * @suppress {unusedLocalVariables} f is only used for nested messages
60657
+ */
60658
+ proto.com.lansweeper.dp.outbound.v1.ComputerWindowsSat.toObject = function(includeInstance, msg) {
60659
+ var f, obj = {
60660
+ timeTaken: jspb.Message.getFieldWithDefault(msg, 1, ""),
60661
+ winSprLevel: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0),
60662
+ winSatAssessmentState: jspb.Message.getFieldWithDefault(msg, 3, 0),
60663
+ memoryScore: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0),
60664
+ cpuScore: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0),
60665
+ diskScore: jspb.Message.getFloatingPointFieldWithDefault(msg, 6, 0.0),
60666
+ d3dScore: jspb.Message.getFloatingPointFieldWithDefault(msg, 7, 0.0),
60667
+ graphicsScore: jspb.Message.getFloatingPointFieldWithDefault(msg, 8, 0.0)
60668
+ };
60669
+
60670
+ if (includeInstance) {
60671
+ obj.$jspbMessageInstance = msg;
60672
+ }
60673
+ return obj;
60674
+ };
60675
+ }
60676
+
60677
+
60678
+ /**
60679
+ * Deserializes binary data (in protobuf wire format).
60680
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
60681
+ * @return {!proto.com.lansweeper.dp.outbound.v1.ComputerWindowsSat}
60682
+ */
60683
+ proto.com.lansweeper.dp.outbound.v1.ComputerWindowsSat.deserializeBinary = function(bytes) {
60684
+ var reader = new jspb.BinaryReader(bytes);
60685
+ var msg = new proto.com.lansweeper.dp.outbound.v1.ComputerWindowsSat;
60686
+ return proto.com.lansweeper.dp.outbound.v1.ComputerWindowsSat.deserializeBinaryFromReader(msg, reader);
60687
+ };
60688
+
60689
+
60690
+ /**
60691
+ * Deserializes binary data (in protobuf wire format) from the
60692
+ * given reader into the given message object.
60693
+ * @param {!proto.com.lansweeper.dp.outbound.v1.ComputerWindowsSat} msg The message object to deserialize into.
60694
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
60695
+ * @return {!proto.com.lansweeper.dp.outbound.v1.ComputerWindowsSat}
60696
+ */
60697
+ proto.com.lansweeper.dp.outbound.v1.ComputerWindowsSat.deserializeBinaryFromReader = function(msg, reader) {
60698
+ while (reader.nextField()) {
60699
+ if (reader.isEndGroup()) {
60700
+ break;
60701
+ }
60702
+ var field = reader.getFieldNumber();
60703
+ switch (field) {
60704
+ case 1:
60705
+ var value = /** @type {string} */ (reader.readString());
60706
+ msg.setTimeTaken(value);
60707
+ break;
60708
+ case 2:
60709
+ var value = /** @type {number} */ (reader.readDouble());
60710
+ msg.setWinSprLevel(value);
60711
+ break;
60712
+ case 3:
60713
+ var value = /** @type {number} */ (reader.readUint32());
60714
+ msg.setWinSatAssessmentState(value);
60715
+ break;
60716
+ case 4:
60717
+ var value = /** @type {number} */ (reader.readDouble());
60718
+ msg.setMemoryScore(value);
60719
+ break;
60720
+ case 5:
60721
+ var value = /** @type {number} */ (reader.readDouble());
60722
+ msg.setCpuScore(value);
60723
+ break;
60724
+ case 6:
60725
+ var value = /** @type {number} */ (reader.readDouble());
60726
+ msg.setDiskScore(value);
60727
+ break;
60728
+ case 7:
60729
+ var value = /** @type {number} */ (reader.readDouble());
60730
+ msg.setD3dScore(value);
60731
+ break;
60732
+ case 8:
60733
+ var value = /** @type {number} */ (reader.readDouble());
60734
+ msg.setGraphicsScore(value);
60735
+ break;
60736
+ default:
60737
+ reader.skipField();
60738
+ break;
60739
+ }
60740
+ }
60741
+ return msg;
60742
+ };
60743
+
60744
+
60745
+ /**
60746
+ * Serializes the message to binary data (in protobuf wire format).
60747
+ * @return {!Uint8Array}
60748
+ */
60749
+ proto.com.lansweeper.dp.outbound.v1.ComputerWindowsSat.prototype.serializeBinary = function() {
60750
+ var writer = new jspb.BinaryWriter();
60751
+ proto.com.lansweeper.dp.outbound.v1.ComputerWindowsSat.serializeBinaryToWriter(this, writer);
60752
+ return writer.getResultBuffer();
60753
+ };
60754
+
60755
+
60756
+ /**
60757
+ * Serializes the given message to binary data (in protobuf wire
60758
+ * format), writing to the given BinaryWriter.
60759
+ * @param {!proto.com.lansweeper.dp.outbound.v1.ComputerWindowsSat} message
60760
+ * @param {!jspb.BinaryWriter} writer
60761
+ * @suppress {unusedLocalVariables} f is only used for nested messages
60762
+ */
60763
+ proto.com.lansweeper.dp.outbound.v1.ComputerWindowsSat.serializeBinaryToWriter = function(message, writer) {
60764
+ var f = undefined;
60765
+ f = /** @type {string} */ (jspb.Message.getField(message, 1));
60766
+ if (f != null) {
60767
+ writer.writeString(
60768
+ 1,
60769
+ f
60770
+ );
60771
+ }
60772
+ f = /** @type {number} */ (jspb.Message.getField(message, 2));
60773
+ if (f != null) {
60774
+ writer.writeDouble(
60775
+ 2,
60776
+ f
60777
+ );
60778
+ }
60779
+ f = /** @type {number} */ (jspb.Message.getField(message, 3));
60780
+ if (f != null) {
60781
+ writer.writeUint32(
60782
+ 3,
60783
+ f
60784
+ );
60785
+ }
60786
+ f = /** @type {number} */ (jspb.Message.getField(message, 4));
60787
+ if (f != null) {
60788
+ writer.writeDouble(
60789
+ 4,
60790
+ f
60791
+ );
60792
+ }
60793
+ f = /** @type {number} */ (jspb.Message.getField(message, 5));
60794
+ if (f != null) {
60795
+ writer.writeDouble(
60796
+ 5,
60797
+ f
60798
+ );
60799
+ }
60800
+ f = /** @type {number} */ (jspb.Message.getField(message, 6));
60801
+ if (f != null) {
60802
+ writer.writeDouble(
60803
+ 6,
60804
+ f
60805
+ );
60806
+ }
60807
+ f = /** @type {number} */ (jspb.Message.getField(message, 7));
60808
+ if (f != null) {
60809
+ writer.writeDouble(
60810
+ 7,
60811
+ f
60812
+ );
60813
+ }
60814
+ f = /** @type {number} */ (jspb.Message.getField(message, 8));
60815
+ if (f != null) {
60816
+ writer.writeDouble(
60817
+ 8,
60818
+ f
60819
+ );
60820
+ }
60821
+ };
60822
+
60823
+
60824
+ /**
60825
+ * optional string time_taken = 1;
60826
+ * @return {string}
60827
+ */
60828
+ proto.com.lansweeper.dp.outbound.v1.ComputerWindowsSat.prototype.getTimeTaken = function() {
60829
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
60830
+ };
60831
+
60832
+
60833
+ /**
60834
+ * @param {string} value
60835
+ * @return {!proto.com.lansweeper.dp.outbound.v1.ComputerWindowsSat} returns this
60836
+ */
60837
+ proto.com.lansweeper.dp.outbound.v1.ComputerWindowsSat.prototype.setTimeTaken = function(value) {
60838
+ return jspb.Message.setField(this, 1, value);
60839
+ };
60840
+
60841
+
60842
+ /**
60843
+ * Clears the field making it undefined.
60844
+ * @return {!proto.com.lansweeper.dp.outbound.v1.ComputerWindowsSat} returns this
60845
+ */
60846
+ proto.com.lansweeper.dp.outbound.v1.ComputerWindowsSat.prototype.clearTimeTaken = function() {
60847
+ return jspb.Message.setField(this, 1, undefined);
60848
+ };
60849
+
60850
+
60851
+ /**
60852
+ * Returns whether this field is set.
60853
+ * @return {boolean}
60854
+ */
60855
+ proto.com.lansweeper.dp.outbound.v1.ComputerWindowsSat.prototype.hasTimeTaken = function() {
60856
+ return jspb.Message.getField(this, 1) != null;
60857
+ };
60858
+
60859
+
60860
+ /**
60861
+ * optional double win_spr_level = 2;
60862
+ * @return {number}
60863
+ */
60864
+ proto.com.lansweeper.dp.outbound.v1.ComputerWindowsSat.prototype.getWinSprLevel = function() {
60865
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 2, 0.0));
60866
+ };
60867
+
60868
+
60869
+ /**
60870
+ * @param {number} value
60871
+ * @return {!proto.com.lansweeper.dp.outbound.v1.ComputerWindowsSat} returns this
60872
+ */
60873
+ proto.com.lansweeper.dp.outbound.v1.ComputerWindowsSat.prototype.setWinSprLevel = function(value) {
60874
+ return jspb.Message.setField(this, 2, value);
60875
+ };
60876
+
60877
+
60878
+ /**
60879
+ * Clears the field making it undefined.
60880
+ * @return {!proto.com.lansweeper.dp.outbound.v1.ComputerWindowsSat} returns this
60881
+ */
60882
+ proto.com.lansweeper.dp.outbound.v1.ComputerWindowsSat.prototype.clearWinSprLevel = function() {
60883
+ return jspb.Message.setField(this, 2, undefined);
60884
+ };
60885
+
60886
+
60887
+ /**
60888
+ * Returns whether this field is set.
60889
+ * @return {boolean}
60890
+ */
60891
+ proto.com.lansweeper.dp.outbound.v1.ComputerWindowsSat.prototype.hasWinSprLevel = function() {
60892
+ return jspb.Message.getField(this, 2) != null;
60893
+ };
60894
+
60895
+
60896
+ /**
60897
+ * optional uint32 win_sat_assessment_state = 3;
60898
+ * @return {number}
60899
+ */
60900
+ proto.com.lansweeper.dp.outbound.v1.ComputerWindowsSat.prototype.getWinSatAssessmentState = function() {
60901
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
60902
+ };
60903
+
60904
+
60905
+ /**
60906
+ * @param {number} value
60907
+ * @return {!proto.com.lansweeper.dp.outbound.v1.ComputerWindowsSat} returns this
60908
+ */
60909
+ proto.com.lansweeper.dp.outbound.v1.ComputerWindowsSat.prototype.setWinSatAssessmentState = function(value) {
60910
+ return jspb.Message.setField(this, 3, value);
60911
+ };
60912
+
60913
+
60914
+ /**
60915
+ * Clears the field making it undefined.
60916
+ * @return {!proto.com.lansweeper.dp.outbound.v1.ComputerWindowsSat} returns this
60917
+ */
60918
+ proto.com.lansweeper.dp.outbound.v1.ComputerWindowsSat.prototype.clearWinSatAssessmentState = function() {
60919
+ return jspb.Message.setField(this, 3, undefined);
60920
+ };
60921
+
60922
+
60923
+ /**
60924
+ * Returns whether this field is set.
60925
+ * @return {boolean}
60926
+ */
60927
+ proto.com.lansweeper.dp.outbound.v1.ComputerWindowsSat.prototype.hasWinSatAssessmentState = function() {
60928
+ return jspb.Message.getField(this, 3) != null;
60929
+ };
60930
+
60931
+
60932
+ /**
60933
+ * optional double memory_score = 4;
60934
+ * @return {number}
60935
+ */
60936
+ proto.com.lansweeper.dp.outbound.v1.ComputerWindowsSat.prototype.getMemoryScore = function() {
60937
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 4, 0.0));
60938
+ };
60939
+
60940
+
60941
+ /**
60942
+ * @param {number} value
60943
+ * @return {!proto.com.lansweeper.dp.outbound.v1.ComputerWindowsSat} returns this
60944
+ */
60945
+ proto.com.lansweeper.dp.outbound.v1.ComputerWindowsSat.prototype.setMemoryScore = function(value) {
60946
+ return jspb.Message.setField(this, 4, value);
60947
+ };
60948
+
60949
+
60950
+ /**
60951
+ * Clears the field making it undefined.
60952
+ * @return {!proto.com.lansweeper.dp.outbound.v1.ComputerWindowsSat} returns this
60953
+ */
60954
+ proto.com.lansweeper.dp.outbound.v1.ComputerWindowsSat.prototype.clearMemoryScore = function() {
60955
+ return jspb.Message.setField(this, 4, undefined);
60956
+ };
60957
+
60958
+
60959
+ /**
60960
+ * Returns whether this field is set.
60961
+ * @return {boolean}
60962
+ */
60963
+ proto.com.lansweeper.dp.outbound.v1.ComputerWindowsSat.prototype.hasMemoryScore = function() {
60964
+ return jspb.Message.getField(this, 4) != null;
60965
+ };
60966
+
60967
+
60968
+ /**
60969
+ * optional double cpu_score = 5;
60970
+ * @return {number}
60971
+ */
60972
+ proto.com.lansweeper.dp.outbound.v1.ComputerWindowsSat.prototype.getCpuScore = function() {
60973
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 5, 0.0));
60974
+ };
60975
+
60976
+
60977
+ /**
60978
+ * @param {number} value
60979
+ * @return {!proto.com.lansweeper.dp.outbound.v1.ComputerWindowsSat} returns this
60980
+ */
60981
+ proto.com.lansweeper.dp.outbound.v1.ComputerWindowsSat.prototype.setCpuScore = function(value) {
60982
+ return jspb.Message.setField(this, 5, value);
60983
+ };
60984
+
60985
+
60986
+ /**
60987
+ * Clears the field making it undefined.
60988
+ * @return {!proto.com.lansweeper.dp.outbound.v1.ComputerWindowsSat} returns this
60989
+ */
60990
+ proto.com.lansweeper.dp.outbound.v1.ComputerWindowsSat.prototype.clearCpuScore = function() {
60991
+ return jspb.Message.setField(this, 5, undefined);
60992
+ };
60993
+
60994
+
60995
+ /**
60996
+ * Returns whether this field is set.
60997
+ * @return {boolean}
60998
+ */
60999
+ proto.com.lansweeper.dp.outbound.v1.ComputerWindowsSat.prototype.hasCpuScore = function() {
61000
+ return jspb.Message.getField(this, 5) != null;
61001
+ };
61002
+
61003
+
61004
+ /**
61005
+ * optional double disk_score = 6;
61006
+ * @return {number}
61007
+ */
61008
+ proto.com.lansweeper.dp.outbound.v1.ComputerWindowsSat.prototype.getDiskScore = function() {
61009
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 6, 0.0));
61010
+ };
61011
+
61012
+
61013
+ /**
61014
+ * @param {number} value
61015
+ * @return {!proto.com.lansweeper.dp.outbound.v1.ComputerWindowsSat} returns this
61016
+ */
61017
+ proto.com.lansweeper.dp.outbound.v1.ComputerWindowsSat.prototype.setDiskScore = function(value) {
61018
+ return jspb.Message.setField(this, 6, value);
61019
+ };
61020
+
61021
+
61022
+ /**
61023
+ * Clears the field making it undefined.
61024
+ * @return {!proto.com.lansweeper.dp.outbound.v1.ComputerWindowsSat} returns this
61025
+ */
61026
+ proto.com.lansweeper.dp.outbound.v1.ComputerWindowsSat.prototype.clearDiskScore = function() {
61027
+ return jspb.Message.setField(this, 6, undefined);
61028
+ };
61029
+
61030
+
61031
+ /**
61032
+ * Returns whether this field is set.
61033
+ * @return {boolean}
61034
+ */
61035
+ proto.com.lansweeper.dp.outbound.v1.ComputerWindowsSat.prototype.hasDiskScore = function() {
61036
+ return jspb.Message.getField(this, 6) != null;
61037
+ };
61038
+
61039
+
61040
+ /**
61041
+ * optional double d3d_score = 7;
61042
+ * @return {number}
61043
+ */
61044
+ proto.com.lansweeper.dp.outbound.v1.ComputerWindowsSat.prototype.getD3dScore = function() {
61045
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 7, 0.0));
61046
+ };
61047
+
61048
+
61049
+ /**
61050
+ * @param {number} value
61051
+ * @return {!proto.com.lansweeper.dp.outbound.v1.ComputerWindowsSat} returns this
61052
+ */
61053
+ proto.com.lansweeper.dp.outbound.v1.ComputerWindowsSat.prototype.setD3dScore = function(value) {
61054
+ return jspb.Message.setField(this, 7, value);
61055
+ };
61056
+
61057
+
61058
+ /**
61059
+ * Clears the field making it undefined.
61060
+ * @return {!proto.com.lansweeper.dp.outbound.v1.ComputerWindowsSat} returns this
61061
+ */
61062
+ proto.com.lansweeper.dp.outbound.v1.ComputerWindowsSat.prototype.clearD3dScore = function() {
61063
+ return jspb.Message.setField(this, 7, undefined);
61064
+ };
61065
+
61066
+
61067
+ /**
61068
+ * Returns whether this field is set.
61069
+ * @return {boolean}
61070
+ */
61071
+ proto.com.lansweeper.dp.outbound.v1.ComputerWindowsSat.prototype.hasD3dScore = function() {
61072
+ return jspb.Message.getField(this, 7) != null;
61073
+ };
61074
+
61075
+
61076
+ /**
61077
+ * optional double graphics_score = 8;
61078
+ * @return {number}
61079
+ */
61080
+ proto.com.lansweeper.dp.outbound.v1.ComputerWindowsSat.prototype.getGraphicsScore = function() {
61081
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 8, 0.0));
61082
+ };
61083
+
61084
+
61085
+ /**
61086
+ * @param {number} value
61087
+ * @return {!proto.com.lansweeper.dp.outbound.v1.ComputerWindowsSat} returns this
61088
+ */
61089
+ proto.com.lansweeper.dp.outbound.v1.ComputerWindowsSat.prototype.setGraphicsScore = function(value) {
61090
+ return jspb.Message.setField(this, 8, value);
61091
+ };
61092
+
61093
+
61094
+ /**
61095
+ * Clears the field making it undefined.
61096
+ * @return {!proto.com.lansweeper.dp.outbound.v1.ComputerWindowsSat} returns this
61097
+ */
61098
+ proto.com.lansweeper.dp.outbound.v1.ComputerWindowsSat.prototype.clearGraphicsScore = function() {
61099
+ return jspb.Message.setField(this, 8, undefined);
61100
+ };
61101
+
61102
+
61103
+ /**
61104
+ * Returns whether this field is set.
61105
+ * @return {boolean}
61106
+ */
61107
+ proto.com.lansweeper.dp.outbound.v1.ComputerWindowsSat.prototype.hasGraphicsScore = function() {
61108
+ return jspb.Message.getField(this, 8) != null;
61109
+ };
61110
+
61111
+
61112
+
60481
61113
  /**
60482
61114
  * List of repeated fields within this message type.
60483
61115
  * @private {!Array<number>}
@@ -71619,7 +72251,7 @@ proto.com.lansweeper.dp.outbound.v1.IpInfo.prototype.hasOrganization = function(
71619
72251
  * @private {!Array<number>}
71620
72252
  * @const
71621
72253
  */
71622
- proto.com.lansweeper.dp.outbound.v1.SoftwareInventory.repeatedFields_ = [2];
72254
+ proto.com.lansweeper.dp.outbound.v1.SoftwareInventory.repeatedFields_ = [2,3];
71623
72255
 
71624
72256
 
71625
72257
 
@@ -71654,7 +72286,9 @@ proto.com.lansweeper.dp.outbound.v1.SoftwareInventory.toObject = function(includ
71654
72286
  var f, obj = {
71655
72287
  timestamp: (f = msg.getTimestamp()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
71656
72288
  softwareList: jspb.Message.toObjectList(msg.getSoftwareList(),
71657
- proto.com.lansweeper.dp.outbound.v1.Software.toObject, includeInstance)
72289
+ proto.com.lansweeper.dp.outbound.v1.Software.toObject, includeInstance),
72290
+ eventLogList: jspb.Message.toObjectList(msg.getEventLogList(),
72291
+ proto.com.lansweeper.dp.outbound.v1.SoftwareChangeEvent.toObject, includeInstance)
71658
72292
  };
71659
72293
 
71660
72294
  if (includeInstance) {
@@ -71701,6 +72335,11 @@ proto.com.lansweeper.dp.outbound.v1.SoftwareInventory.deserializeBinaryFromReade
71701
72335
  reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.Software.deserializeBinaryFromReader);
71702
72336
  msg.addSoftware(value);
71703
72337
  break;
72338
+ case 3:
72339
+ var value = new proto.com.lansweeper.dp.outbound.v1.SoftwareChangeEvent;
72340
+ reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.SoftwareChangeEvent.deserializeBinaryFromReader);
72341
+ msg.addEventLog(value);
72342
+ break;
71704
72343
  default:
71705
72344
  reader.skipField();
71706
72345
  break;
@@ -71746,6 +72385,14 @@ proto.com.lansweeper.dp.outbound.v1.SoftwareInventory.serializeBinaryToWriter =
71746
72385
  proto.com.lansweeper.dp.outbound.v1.Software.serializeBinaryToWriter
71747
72386
  );
71748
72387
  }
72388
+ f = message.getEventLogList();
72389
+ if (f.length > 0) {
72390
+ writer.writeRepeatedMessage(
72391
+ 3,
72392
+ f,
72393
+ proto.com.lansweeper.dp.outbound.v1.SoftwareChangeEvent.serializeBinaryToWriter
72394
+ );
72395
+ }
71749
72396
  };
71750
72397
 
71751
72398
 
@@ -71824,6 +72471,44 @@ proto.com.lansweeper.dp.outbound.v1.SoftwareInventory.prototype.clearSoftwareLis
71824
72471
  };
71825
72472
 
71826
72473
 
72474
+ /**
72475
+ * repeated SoftwareChangeEvent event_log = 3;
72476
+ * @return {!Array<!proto.com.lansweeper.dp.outbound.v1.SoftwareChangeEvent>}
72477
+ */
72478
+ proto.com.lansweeper.dp.outbound.v1.SoftwareInventory.prototype.getEventLogList = function() {
72479
+ return /** @type{!Array<!proto.com.lansweeper.dp.outbound.v1.SoftwareChangeEvent>} */ (
72480
+ jspb.Message.getRepeatedWrapperField(this, proto.com.lansweeper.dp.outbound.v1.SoftwareChangeEvent, 3));
72481
+ };
72482
+
72483
+
72484
+ /**
72485
+ * @param {!Array<!proto.com.lansweeper.dp.outbound.v1.SoftwareChangeEvent>} value
72486
+ * @return {!proto.com.lansweeper.dp.outbound.v1.SoftwareInventory} returns this
72487
+ */
72488
+ proto.com.lansweeper.dp.outbound.v1.SoftwareInventory.prototype.setEventLogList = function(value) {
72489
+ return jspb.Message.setRepeatedWrapperField(this, 3, value);
72490
+ };
72491
+
72492
+
72493
+ /**
72494
+ * @param {!proto.com.lansweeper.dp.outbound.v1.SoftwareChangeEvent=} opt_value
72495
+ * @param {number=} opt_index
72496
+ * @return {!proto.com.lansweeper.dp.outbound.v1.SoftwareChangeEvent}
72497
+ */
72498
+ proto.com.lansweeper.dp.outbound.v1.SoftwareInventory.prototype.addEventLog = function(opt_value, opt_index) {
72499
+ return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.com.lansweeper.dp.outbound.v1.SoftwareChangeEvent, opt_index);
72500
+ };
72501
+
72502
+
72503
+ /**
72504
+ * Clears the list making it empty but non-null.
72505
+ * @return {!proto.com.lansweeper.dp.outbound.v1.SoftwareInventory} returns this
72506
+ */
72507
+ proto.com.lansweeper.dp.outbound.v1.SoftwareInventory.prototype.clearEventLogList = function() {
72508
+ return this.setEventLogList([]);
72509
+ };
72510
+
72511
+
71827
72512
 
71828
72513
 
71829
72514
 
@@ -73608,6 +74293,349 @@ proto.com.lansweeper.dp.outbound.v1.RawSoftware.prototype.hasIsCurrentUser = fun
73608
74293
 
73609
74294
 
73610
74295
 
74296
+ if (jspb.Message.GENERATE_TO_OBJECT) {
74297
+ /**
74298
+ * Creates an object representation of this proto.
74299
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
74300
+ * Optional fields that are not set will be set to undefined.
74301
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
74302
+ * For the list of reserved names please see:
74303
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
74304
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
74305
+ * JSPB instance for transitional soy proto support:
74306
+ * http://goto/soy-param-migration
74307
+ * @return {!Object}
74308
+ */
74309
+ proto.com.lansweeper.dp.outbound.v1.SoftwareChangeEvent.prototype.toObject = function(opt_includeInstance) {
74310
+ return proto.com.lansweeper.dp.outbound.v1.SoftwareChangeEvent.toObject(opt_includeInstance, this);
74311
+ };
74312
+
74313
+
74314
+ /**
74315
+ * Static version of the {@see toObject} method.
74316
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
74317
+ * the JSPB instance for transitional soy proto support:
74318
+ * http://goto/soy-param-migration
74319
+ * @param {!proto.com.lansweeper.dp.outbound.v1.SoftwareChangeEvent} msg The msg instance to transform.
74320
+ * @return {!Object}
74321
+ * @suppress {unusedLocalVariables} f is only used for nested messages
74322
+ */
74323
+ proto.com.lansweeper.dp.outbound.v1.SoftwareChangeEvent.toObject = function(includeInstance, msg) {
74324
+ var f, obj = {
74325
+ eventType: jspb.Message.getFieldWithDefault(msg, 1, 0),
74326
+ start: (f = msg.getStart()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
74327
+ end: (f = msg.getEnd()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
74328
+ software: (f = msg.getSoftware()) && proto.com.lansweeper.dp.outbound.v1.Software.toObject(includeInstance, f),
74329
+ prevSoftware: (f = msg.getPrevSoftware()) && proto.com.lansweeper.dp.outbound.v1.Software.toObject(includeInstance, f)
74330
+ };
74331
+
74332
+ if (includeInstance) {
74333
+ obj.$jspbMessageInstance = msg;
74334
+ }
74335
+ return obj;
74336
+ };
74337
+ }
74338
+
74339
+
74340
+ /**
74341
+ * Deserializes binary data (in protobuf wire format).
74342
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
74343
+ * @return {!proto.com.lansweeper.dp.outbound.v1.SoftwareChangeEvent}
74344
+ */
74345
+ proto.com.lansweeper.dp.outbound.v1.SoftwareChangeEvent.deserializeBinary = function(bytes) {
74346
+ var reader = new jspb.BinaryReader(bytes);
74347
+ var msg = new proto.com.lansweeper.dp.outbound.v1.SoftwareChangeEvent;
74348
+ return proto.com.lansweeper.dp.outbound.v1.SoftwareChangeEvent.deserializeBinaryFromReader(msg, reader);
74349
+ };
74350
+
74351
+
74352
+ /**
74353
+ * Deserializes binary data (in protobuf wire format) from the
74354
+ * given reader into the given message object.
74355
+ * @param {!proto.com.lansweeper.dp.outbound.v1.SoftwareChangeEvent} msg The message object to deserialize into.
74356
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
74357
+ * @return {!proto.com.lansweeper.dp.outbound.v1.SoftwareChangeEvent}
74358
+ */
74359
+ proto.com.lansweeper.dp.outbound.v1.SoftwareChangeEvent.deserializeBinaryFromReader = function(msg, reader) {
74360
+ while (reader.nextField()) {
74361
+ if (reader.isEndGroup()) {
74362
+ break;
74363
+ }
74364
+ var field = reader.getFieldNumber();
74365
+ switch (field) {
74366
+ case 1:
74367
+ var value = /** @type {!proto.com.lansweeper.dp.outbound.v1.SoftwareChangeEvent.EventType} */ (reader.readEnum());
74368
+ msg.setEventType(value);
74369
+ break;
74370
+ case 2:
74371
+ var value = new google_protobuf_timestamp_pb.Timestamp;
74372
+ reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
74373
+ msg.setStart(value);
74374
+ break;
74375
+ case 3:
74376
+ var value = new google_protobuf_timestamp_pb.Timestamp;
74377
+ reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
74378
+ msg.setEnd(value);
74379
+ break;
74380
+ case 4:
74381
+ var value = new proto.com.lansweeper.dp.outbound.v1.Software;
74382
+ reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.Software.deserializeBinaryFromReader);
74383
+ msg.setSoftware(value);
74384
+ break;
74385
+ case 5:
74386
+ var value = new proto.com.lansweeper.dp.outbound.v1.Software;
74387
+ reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.Software.deserializeBinaryFromReader);
74388
+ msg.setPrevSoftware(value);
74389
+ break;
74390
+ default:
74391
+ reader.skipField();
74392
+ break;
74393
+ }
74394
+ }
74395
+ return msg;
74396
+ };
74397
+
74398
+
74399
+ /**
74400
+ * Serializes the message to binary data (in protobuf wire format).
74401
+ * @return {!Uint8Array}
74402
+ */
74403
+ proto.com.lansweeper.dp.outbound.v1.SoftwareChangeEvent.prototype.serializeBinary = function() {
74404
+ var writer = new jspb.BinaryWriter();
74405
+ proto.com.lansweeper.dp.outbound.v1.SoftwareChangeEvent.serializeBinaryToWriter(this, writer);
74406
+ return writer.getResultBuffer();
74407
+ };
74408
+
74409
+
74410
+ /**
74411
+ * Serializes the given message to binary data (in protobuf wire
74412
+ * format), writing to the given BinaryWriter.
74413
+ * @param {!proto.com.lansweeper.dp.outbound.v1.SoftwareChangeEvent} message
74414
+ * @param {!jspb.BinaryWriter} writer
74415
+ * @suppress {unusedLocalVariables} f is only used for nested messages
74416
+ */
74417
+ proto.com.lansweeper.dp.outbound.v1.SoftwareChangeEvent.serializeBinaryToWriter = function(message, writer) {
74418
+ var f = undefined;
74419
+ f = message.getEventType();
74420
+ if (f !== 0.0) {
74421
+ writer.writeEnum(
74422
+ 1,
74423
+ f
74424
+ );
74425
+ }
74426
+ f = message.getStart();
74427
+ if (f != null) {
74428
+ writer.writeMessage(
74429
+ 2,
74430
+ f,
74431
+ google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
74432
+ );
74433
+ }
74434
+ f = message.getEnd();
74435
+ if (f != null) {
74436
+ writer.writeMessage(
74437
+ 3,
74438
+ f,
74439
+ google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
74440
+ );
74441
+ }
74442
+ f = message.getSoftware();
74443
+ if (f != null) {
74444
+ writer.writeMessage(
74445
+ 4,
74446
+ f,
74447
+ proto.com.lansweeper.dp.outbound.v1.Software.serializeBinaryToWriter
74448
+ );
74449
+ }
74450
+ f = message.getPrevSoftware();
74451
+ if (f != null) {
74452
+ writer.writeMessage(
74453
+ 5,
74454
+ f,
74455
+ proto.com.lansweeper.dp.outbound.v1.Software.serializeBinaryToWriter
74456
+ );
74457
+ }
74458
+ };
74459
+
74460
+
74461
+ /**
74462
+ * @enum {number}
74463
+ */
74464
+ proto.com.lansweeper.dp.outbound.v1.SoftwareChangeEvent.EventType = {
74465
+ INSTALL: 0,
74466
+ UNINSTALL: 1,
74467
+ UPDATE: 2
74468
+ };
74469
+
74470
+ /**
74471
+ * optional EventType event_type = 1;
74472
+ * @return {!proto.com.lansweeper.dp.outbound.v1.SoftwareChangeEvent.EventType}
74473
+ */
74474
+ proto.com.lansweeper.dp.outbound.v1.SoftwareChangeEvent.prototype.getEventType = function() {
74475
+ return /** @type {!proto.com.lansweeper.dp.outbound.v1.SoftwareChangeEvent.EventType} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
74476
+ };
74477
+
74478
+
74479
+ /**
74480
+ * @param {!proto.com.lansweeper.dp.outbound.v1.SoftwareChangeEvent.EventType} value
74481
+ * @return {!proto.com.lansweeper.dp.outbound.v1.SoftwareChangeEvent} returns this
74482
+ */
74483
+ proto.com.lansweeper.dp.outbound.v1.SoftwareChangeEvent.prototype.setEventType = function(value) {
74484
+ return jspb.Message.setProto3EnumField(this, 1, value);
74485
+ };
74486
+
74487
+
74488
+ /**
74489
+ * optional google.protobuf.Timestamp start = 2;
74490
+ * @return {?proto.google.protobuf.Timestamp}
74491
+ */
74492
+ proto.com.lansweeper.dp.outbound.v1.SoftwareChangeEvent.prototype.getStart = function() {
74493
+ return /** @type{?proto.google.protobuf.Timestamp} */ (
74494
+ jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 2));
74495
+ };
74496
+
74497
+
74498
+ /**
74499
+ * @param {?proto.google.protobuf.Timestamp|undefined} value
74500
+ * @return {!proto.com.lansweeper.dp.outbound.v1.SoftwareChangeEvent} returns this
74501
+ */
74502
+ proto.com.lansweeper.dp.outbound.v1.SoftwareChangeEvent.prototype.setStart = function(value) {
74503
+ return jspb.Message.setWrapperField(this, 2, value);
74504
+ };
74505
+
74506
+
74507
+ /**
74508
+ * Clears the message field making it undefined.
74509
+ * @return {!proto.com.lansweeper.dp.outbound.v1.SoftwareChangeEvent} returns this
74510
+ */
74511
+ proto.com.lansweeper.dp.outbound.v1.SoftwareChangeEvent.prototype.clearStart = function() {
74512
+ return this.setStart(undefined);
74513
+ };
74514
+
74515
+
74516
+ /**
74517
+ * Returns whether this field is set.
74518
+ * @return {boolean}
74519
+ */
74520
+ proto.com.lansweeper.dp.outbound.v1.SoftwareChangeEvent.prototype.hasStart = function() {
74521
+ return jspb.Message.getField(this, 2) != null;
74522
+ };
74523
+
74524
+
74525
+ /**
74526
+ * optional google.protobuf.Timestamp end = 3;
74527
+ * @return {?proto.google.protobuf.Timestamp}
74528
+ */
74529
+ proto.com.lansweeper.dp.outbound.v1.SoftwareChangeEvent.prototype.getEnd = function() {
74530
+ return /** @type{?proto.google.protobuf.Timestamp} */ (
74531
+ jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 3));
74532
+ };
74533
+
74534
+
74535
+ /**
74536
+ * @param {?proto.google.protobuf.Timestamp|undefined} value
74537
+ * @return {!proto.com.lansweeper.dp.outbound.v1.SoftwareChangeEvent} returns this
74538
+ */
74539
+ proto.com.lansweeper.dp.outbound.v1.SoftwareChangeEvent.prototype.setEnd = function(value) {
74540
+ return jspb.Message.setWrapperField(this, 3, value);
74541
+ };
74542
+
74543
+
74544
+ /**
74545
+ * Clears the message field making it undefined.
74546
+ * @return {!proto.com.lansweeper.dp.outbound.v1.SoftwareChangeEvent} returns this
74547
+ */
74548
+ proto.com.lansweeper.dp.outbound.v1.SoftwareChangeEvent.prototype.clearEnd = function() {
74549
+ return this.setEnd(undefined);
74550
+ };
74551
+
74552
+
74553
+ /**
74554
+ * Returns whether this field is set.
74555
+ * @return {boolean}
74556
+ */
74557
+ proto.com.lansweeper.dp.outbound.v1.SoftwareChangeEvent.prototype.hasEnd = function() {
74558
+ return jspb.Message.getField(this, 3) != null;
74559
+ };
74560
+
74561
+
74562
+ /**
74563
+ * optional Software software = 4;
74564
+ * @return {?proto.com.lansweeper.dp.outbound.v1.Software}
74565
+ */
74566
+ proto.com.lansweeper.dp.outbound.v1.SoftwareChangeEvent.prototype.getSoftware = function() {
74567
+ return /** @type{?proto.com.lansweeper.dp.outbound.v1.Software} */ (
74568
+ jspb.Message.getWrapperField(this, proto.com.lansweeper.dp.outbound.v1.Software, 4));
74569
+ };
74570
+
74571
+
74572
+ /**
74573
+ * @param {?proto.com.lansweeper.dp.outbound.v1.Software|undefined} value
74574
+ * @return {!proto.com.lansweeper.dp.outbound.v1.SoftwareChangeEvent} returns this
74575
+ */
74576
+ proto.com.lansweeper.dp.outbound.v1.SoftwareChangeEvent.prototype.setSoftware = function(value) {
74577
+ return jspb.Message.setWrapperField(this, 4, value);
74578
+ };
74579
+
74580
+
74581
+ /**
74582
+ * Clears the message field making it undefined.
74583
+ * @return {!proto.com.lansweeper.dp.outbound.v1.SoftwareChangeEvent} returns this
74584
+ */
74585
+ proto.com.lansweeper.dp.outbound.v1.SoftwareChangeEvent.prototype.clearSoftware = function() {
74586
+ return this.setSoftware(undefined);
74587
+ };
74588
+
74589
+
74590
+ /**
74591
+ * Returns whether this field is set.
74592
+ * @return {boolean}
74593
+ */
74594
+ proto.com.lansweeper.dp.outbound.v1.SoftwareChangeEvent.prototype.hasSoftware = function() {
74595
+ return jspb.Message.getField(this, 4) != null;
74596
+ };
74597
+
74598
+
74599
+ /**
74600
+ * optional Software prev_software = 5;
74601
+ * @return {?proto.com.lansweeper.dp.outbound.v1.Software}
74602
+ */
74603
+ proto.com.lansweeper.dp.outbound.v1.SoftwareChangeEvent.prototype.getPrevSoftware = function() {
74604
+ return /** @type{?proto.com.lansweeper.dp.outbound.v1.Software} */ (
74605
+ jspb.Message.getWrapperField(this, proto.com.lansweeper.dp.outbound.v1.Software, 5));
74606
+ };
74607
+
74608
+
74609
+ /**
74610
+ * @param {?proto.com.lansweeper.dp.outbound.v1.Software|undefined} value
74611
+ * @return {!proto.com.lansweeper.dp.outbound.v1.SoftwareChangeEvent} returns this
74612
+ */
74613
+ proto.com.lansweeper.dp.outbound.v1.SoftwareChangeEvent.prototype.setPrevSoftware = function(value) {
74614
+ return jspb.Message.setWrapperField(this, 5, value);
74615
+ };
74616
+
74617
+
74618
+ /**
74619
+ * Clears the message field making it undefined.
74620
+ * @return {!proto.com.lansweeper.dp.outbound.v1.SoftwareChangeEvent} returns this
74621
+ */
74622
+ proto.com.lansweeper.dp.outbound.v1.SoftwareChangeEvent.prototype.clearPrevSoftware = function() {
74623
+ return this.setPrevSoftware(undefined);
74624
+ };
74625
+
74626
+
74627
+ /**
74628
+ * Returns whether this field is set.
74629
+ * @return {boolean}
74630
+ */
74631
+ proto.com.lansweeper.dp.outbound.v1.SoftwareChangeEvent.prototype.hasPrevSoftware = function() {
74632
+ return jspb.Message.getField(this, 5) != null;
74633
+ };
74634
+
74635
+
74636
+
74637
+
74638
+
73611
74639
  if (jspb.Message.GENERATE_TO_OBJECT) {
73612
74640
  /**
73613
74641
  * Creates an object representation of this proto.