@lansweeper/data-platform-outbound-grpc 0.1.123 → 0.1.124

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.
@@ -174,6 +174,8 @@ goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.PointingDevice', null, gl
174
174
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.PortConnector', null, global);
175
175
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.PortScan', null, global);
176
176
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.PortableBattery', null, global);
177
+ goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.Printer', null, global);
178
+ goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.PrinterTonerInfo', null, global);
177
179
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.Processor', null, global);
178
180
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.RawSoftware', null, global);
179
181
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.ReconciliationInfo', null, global);
@@ -181,7 +183,6 @@ goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.ReconciliationInfo.EntryS
181
183
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.ReconciliationInfo.MasterType', null, global);
182
184
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.Relation', null, global);
183
185
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.RunningProcess', null, global);
184
- goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.SNMPInfo', null, global);
185
186
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.ScanError', null, global);
186
187
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.ScannedPort', null, global);
187
188
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.ScsiController', null, global);
@@ -190,9 +191,6 @@ goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.SetIpLocationConfigReques
190
191
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.SetIpLocationConfigResponse', null, global);
191
192
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.SharedPermission', null, global);
192
193
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.SharedResource', null, global);
193
- goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo', null, global);
194
- goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo', null, global);
195
- goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo', null, global);
196
194
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.Software', null, global);
197
195
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.SoftwareChangeEvent', null, global);
198
196
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.SoftwareChangeEvent.EventType', null, global);
@@ -209,6 +207,7 @@ goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.SqlServerService.ServiceS
209
207
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.Tag', null, global);
210
208
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.ThunderboltPort', null, global);
211
209
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.TrustedPlatformModule', null, global);
210
+ goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.Ups', null, global);
212
211
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.UserAccount', null, global);
213
212
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.UserGroup', null, global);
214
213
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.UserInGroup', null, global);
@@ -4153,16 +4152,16 @@ if (goog.DEBUG && !COMPILED) {
4153
4152
  * @extends {jspb.Message}
4154
4153
  * @constructor
4155
4154
  */
4156
- proto.com.lansweeper.dp.outbound.v1.SNMPInfo = function(opt_data) {
4157
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
4155
+ proto.com.lansweeper.dp.outbound.v1.Printer = function(opt_data) {
4156
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.com.lansweeper.dp.outbound.v1.Printer.repeatedFields_, null);
4158
4157
  };
4159
- goog.inherits(proto.com.lansweeper.dp.outbound.v1.SNMPInfo, jspb.Message);
4158
+ goog.inherits(proto.com.lansweeper.dp.outbound.v1.Printer, jspb.Message);
4160
4159
  if (goog.DEBUG && !COMPILED) {
4161
4160
  /**
4162
4161
  * @public
4163
4162
  * @override
4164
4163
  */
4165
- proto.com.lansweeper.dp.outbound.v1.SNMPInfo.displayName = 'proto.com.lansweeper.dp.outbound.v1.SNMPInfo';
4164
+ proto.com.lansweeper.dp.outbound.v1.Printer.displayName = 'proto.com.lansweeper.dp.outbound.v1.Printer';
4166
4165
  }
4167
4166
  /**
4168
4167
  * Generated by JsPbCodeGenerator.
@@ -4174,37 +4173,16 @@ if (goog.DEBUG && !COMPILED) {
4174
4173
  * @extends {jspb.Message}
4175
4174
  * @constructor
4176
4175
  */
4177
- proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo = function(opt_data) {
4178
- jspb.Message.initialize(this, opt_data, 0, -1, proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo.repeatedFields_, null);
4179
- };
4180
- goog.inherits(proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo, jspb.Message);
4181
- if (goog.DEBUG && !COMPILED) {
4182
- /**
4183
- * @public
4184
- * @override
4185
- */
4186
- proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo.displayName = 'proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo';
4187
- }
4188
- /**
4189
- * Generated by JsPbCodeGenerator.
4190
- * @param {Array=} opt_data Optional initial data array, typically from a
4191
- * server response, or constructed directly in Javascript. The array is used
4192
- * in place and becomes part of the constructed object. It is not cloned.
4193
- * If no data is provided, the constructed object will be empty, but still
4194
- * valid.
4195
- * @extends {jspb.Message}
4196
- * @constructor
4197
- */
4198
- proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo = function(opt_data) {
4176
+ proto.com.lansweeper.dp.outbound.v1.PrinterTonerInfo = function(opt_data) {
4199
4177
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
4200
4178
  };
4201
- goog.inherits(proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo, jspb.Message);
4179
+ goog.inherits(proto.com.lansweeper.dp.outbound.v1.PrinterTonerInfo, jspb.Message);
4202
4180
  if (goog.DEBUG && !COMPILED) {
4203
4181
  /**
4204
4182
  * @public
4205
4183
  * @override
4206
4184
  */
4207
- proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo.displayName = 'proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo';
4185
+ proto.com.lansweeper.dp.outbound.v1.PrinterTonerInfo.displayName = 'proto.com.lansweeper.dp.outbound.v1.PrinterTonerInfo';
4208
4186
  }
4209
4187
  /**
4210
4188
  * Generated by JsPbCodeGenerator.
@@ -4216,16 +4194,16 @@ if (goog.DEBUG && !COMPILED) {
4216
4194
  * @extends {jspb.Message}
4217
4195
  * @constructor
4218
4196
  */
4219
- proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo = function(opt_data) {
4197
+ proto.com.lansweeper.dp.outbound.v1.Ups = function(opt_data) {
4220
4198
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
4221
4199
  };
4222
- goog.inherits(proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo, jspb.Message);
4200
+ goog.inherits(proto.com.lansweeper.dp.outbound.v1.Ups, jspb.Message);
4223
4201
  if (goog.DEBUG && !COMPILED) {
4224
4202
  /**
4225
4203
  * @public
4226
4204
  * @override
4227
4205
  */
4228
- proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.displayName = 'proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo';
4206
+ proto.com.lansweeper.dp.outbound.v1.Ups.displayName = 'proto.com.lansweeper.dp.outbound.v1.Ups';
4229
4207
  }
4230
4208
  /**
4231
4209
  * Generated by JsPbCodeGenerator.
@@ -7133,8 +7111,9 @@ proto.com.lansweeper.dp.outbound.v1.Asset.toObject = function(includeInstance, m
7133
7111
  portScan: (f = msg.getPortScan()) && proto.com.lansweeper.dp.outbound.v1.PortScan.toObject(includeInstance, f),
7134
7112
  warrantyInfoList: jspb.Message.toObjectList(msg.getWarrantyInfoList(),
7135
7113
  proto.com.lansweeper.dp.outbound.v1.WarrantyInfo.toObject, includeInstance),
7136
- snmpInfo: (f = msg.getSnmpInfo()) && proto.com.lansweeper.dp.outbound.v1.SNMPInfo.toObject(includeInstance, f),
7137
7114
  computer: (f = msg.getComputer()) && proto.com.lansweeper.dp.outbound.v1.Computer.toObject(includeInstance, f),
7115
+ printer: (f = msg.getPrinter()) && proto.com.lansweeper.dp.outbound.v1.Printer.toObject(includeInstance, f),
7116
+ ups: (f = msg.getUps()) && proto.com.lansweeper.dp.outbound.v1.Ups.toObject(includeInstance, f),
7138
7117
  otModule: (f = msg.getOtModule()) && proto.com.lansweeper.dp.outbound.v1.OtModule.toObject(includeInstance, f),
7139
7118
  cloud: (f = msg.getCloud()) && proto.com.lansweeper.dp.outbound.v1.CloudEntity.toObject(includeInstance, f),
7140
7119
  changeLogList: jspb.Message.toObjectList(msg.getChangeLogList(),
@@ -7287,16 +7266,21 @@ proto.com.lansweeper.dp.outbound.v1.Asset.deserializeBinaryFromReader = function
7287
7266
  reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.WarrantyInfo.deserializeBinaryFromReader);
7288
7267
  msg.addWarrantyInfo(value);
7289
7268
  break;
7290
- case 82:
7291
- var value = new proto.com.lansweeper.dp.outbound.v1.SNMPInfo;
7292
- reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.SNMPInfo.deserializeBinaryFromReader);
7293
- msg.setSnmpInfo(value);
7294
- break;
7295
7269
  case 75:
7296
7270
  var value = new proto.com.lansweeper.dp.outbound.v1.Computer;
7297
7271
  reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.Computer.deserializeBinaryFromReader);
7298
7272
  msg.setComputer(value);
7299
7273
  break;
7274
+ case 84:
7275
+ var value = new proto.com.lansweeper.dp.outbound.v1.Printer;
7276
+ reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.Printer.deserializeBinaryFromReader);
7277
+ msg.setPrinter(value);
7278
+ break;
7279
+ case 85:
7280
+ var value = new proto.com.lansweeper.dp.outbound.v1.Ups;
7281
+ reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.Ups.deserializeBinaryFromReader);
7282
+ msg.setUps(value);
7283
+ break;
7300
7284
  case 16:
7301
7285
  var value = new proto.com.lansweeper.dp.outbound.v1.OtModule;
7302
7286
  reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.OtModule.deserializeBinaryFromReader);
@@ -7522,20 +7506,28 @@ proto.com.lansweeper.dp.outbound.v1.Asset.serializeBinaryToWriter = function(mes
7522
7506
  proto.com.lansweeper.dp.outbound.v1.WarrantyInfo.serializeBinaryToWriter
7523
7507
  );
7524
7508
  }
7525
- f = message.getSnmpInfo();
7509
+ f = message.getComputer();
7526
7510
  if (f != null) {
7527
7511
  writer.writeMessage(
7528
- 82,
7512
+ 75,
7529
7513
  f,
7530
- proto.com.lansweeper.dp.outbound.v1.SNMPInfo.serializeBinaryToWriter
7514
+ proto.com.lansweeper.dp.outbound.v1.Computer.serializeBinaryToWriter
7531
7515
  );
7532
7516
  }
7533
- f = message.getComputer();
7517
+ f = message.getPrinter();
7534
7518
  if (f != null) {
7535
7519
  writer.writeMessage(
7536
- 75,
7520
+ 84,
7537
7521
  f,
7538
- proto.com.lansweeper.dp.outbound.v1.Computer.serializeBinaryToWriter
7522
+ proto.com.lansweeper.dp.outbound.v1.Printer.serializeBinaryToWriter
7523
+ );
7524
+ }
7525
+ f = message.getUps();
7526
+ if (f != null) {
7527
+ writer.writeMessage(
7528
+ 85,
7529
+ f,
7530
+ proto.com.lansweeper.dp.outbound.v1.Ups.serializeBinaryToWriter
7539
7531
  );
7540
7532
  }
7541
7533
  f = message.getOtModule();
@@ -8419,21 +8411,21 @@ proto.com.lansweeper.dp.outbound.v1.Asset.prototype.clearWarrantyInfoList = func
8419
8411
 
8420
8412
 
8421
8413
  /**
8422
- * optional SNMPInfo snmp_info = 82;
8423
- * @return {?proto.com.lansweeper.dp.outbound.v1.SNMPInfo}
8414
+ * optional Computer computer = 75;
8415
+ * @return {?proto.com.lansweeper.dp.outbound.v1.Computer}
8424
8416
  */
8425
- proto.com.lansweeper.dp.outbound.v1.Asset.prototype.getSnmpInfo = function() {
8426
- return /** @type{?proto.com.lansweeper.dp.outbound.v1.SNMPInfo} */ (
8427
- jspb.Message.getWrapperField(this, proto.com.lansweeper.dp.outbound.v1.SNMPInfo, 82));
8417
+ proto.com.lansweeper.dp.outbound.v1.Asset.prototype.getComputer = function() {
8418
+ return /** @type{?proto.com.lansweeper.dp.outbound.v1.Computer} */ (
8419
+ jspb.Message.getWrapperField(this, proto.com.lansweeper.dp.outbound.v1.Computer, 75));
8428
8420
  };
8429
8421
 
8430
8422
 
8431
8423
  /**
8432
- * @param {?proto.com.lansweeper.dp.outbound.v1.SNMPInfo|undefined} value
8424
+ * @param {?proto.com.lansweeper.dp.outbound.v1.Computer|undefined} value
8433
8425
  * @return {!proto.com.lansweeper.dp.outbound.v1.Asset} returns this
8434
8426
  */
8435
- proto.com.lansweeper.dp.outbound.v1.Asset.prototype.setSnmpInfo = function(value) {
8436
- return jspb.Message.setWrapperField(this, 82, value);
8427
+ proto.com.lansweeper.dp.outbound.v1.Asset.prototype.setComputer = function(value) {
8428
+ return jspb.Message.setWrapperField(this, 75, value);
8437
8429
  };
8438
8430
 
8439
8431
 
@@ -8441,8 +8433,8 @@ proto.com.lansweeper.dp.outbound.v1.Asset.prototype.setSnmpInfo = function(value
8441
8433
  * Clears the message field making it undefined.
8442
8434
  * @return {!proto.com.lansweeper.dp.outbound.v1.Asset} returns this
8443
8435
  */
8444
- proto.com.lansweeper.dp.outbound.v1.Asset.prototype.clearSnmpInfo = function() {
8445
- return this.setSnmpInfo(undefined);
8436
+ proto.com.lansweeper.dp.outbound.v1.Asset.prototype.clearComputer = function() {
8437
+ return this.setComputer(undefined);
8446
8438
  };
8447
8439
 
8448
8440
 
@@ -8450,27 +8442,27 @@ proto.com.lansweeper.dp.outbound.v1.Asset.prototype.clearSnmpInfo = function() {
8450
8442
  * Returns whether this field is set.
8451
8443
  * @return {boolean}
8452
8444
  */
8453
- proto.com.lansweeper.dp.outbound.v1.Asset.prototype.hasSnmpInfo = function() {
8454
- return jspb.Message.getField(this, 82) != null;
8445
+ proto.com.lansweeper.dp.outbound.v1.Asset.prototype.hasComputer = function() {
8446
+ return jspb.Message.getField(this, 75) != null;
8455
8447
  };
8456
8448
 
8457
8449
 
8458
8450
  /**
8459
- * optional Computer computer = 75;
8460
- * @return {?proto.com.lansweeper.dp.outbound.v1.Computer}
8451
+ * optional Printer printer = 84;
8452
+ * @return {?proto.com.lansweeper.dp.outbound.v1.Printer}
8461
8453
  */
8462
- proto.com.lansweeper.dp.outbound.v1.Asset.prototype.getComputer = function() {
8463
- return /** @type{?proto.com.lansweeper.dp.outbound.v1.Computer} */ (
8464
- jspb.Message.getWrapperField(this, proto.com.lansweeper.dp.outbound.v1.Computer, 75));
8454
+ proto.com.lansweeper.dp.outbound.v1.Asset.prototype.getPrinter = function() {
8455
+ return /** @type{?proto.com.lansweeper.dp.outbound.v1.Printer} */ (
8456
+ jspb.Message.getWrapperField(this, proto.com.lansweeper.dp.outbound.v1.Printer, 84));
8465
8457
  };
8466
8458
 
8467
8459
 
8468
8460
  /**
8469
- * @param {?proto.com.lansweeper.dp.outbound.v1.Computer|undefined} value
8461
+ * @param {?proto.com.lansweeper.dp.outbound.v1.Printer|undefined} value
8470
8462
  * @return {!proto.com.lansweeper.dp.outbound.v1.Asset} returns this
8471
8463
  */
8472
- proto.com.lansweeper.dp.outbound.v1.Asset.prototype.setComputer = function(value) {
8473
- return jspb.Message.setWrapperField(this, 75, value);
8464
+ proto.com.lansweeper.dp.outbound.v1.Asset.prototype.setPrinter = function(value) {
8465
+ return jspb.Message.setWrapperField(this, 84, value);
8474
8466
  };
8475
8467
 
8476
8468
 
@@ -8478,8 +8470,8 @@ proto.com.lansweeper.dp.outbound.v1.Asset.prototype.setComputer = function(value
8478
8470
  * Clears the message field making it undefined.
8479
8471
  * @return {!proto.com.lansweeper.dp.outbound.v1.Asset} returns this
8480
8472
  */
8481
- proto.com.lansweeper.dp.outbound.v1.Asset.prototype.clearComputer = function() {
8482
- return this.setComputer(undefined);
8473
+ proto.com.lansweeper.dp.outbound.v1.Asset.prototype.clearPrinter = function() {
8474
+ return this.setPrinter(undefined);
8483
8475
  };
8484
8476
 
8485
8477
 
@@ -8487,8 +8479,45 @@ proto.com.lansweeper.dp.outbound.v1.Asset.prototype.clearComputer = function() {
8487
8479
  * Returns whether this field is set.
8488
8480
  * @return {boolean}
8489
8481
  */
8490
- proto.com.lansweeper.dp.outbound.v1.Asset.prototype.hasComputer = function() {
8491
- return jspb.Message.getField(this, 75) != null;
8482
+ proto.com.lansweeper.dp.outbound.v1.Asset.prototype.hasPrinter = function() {
8483
+ return jspb.Message.getField(this, 84) != null;
8484
+ };
8485
+
8486
+
8487
+ /**
8488
+ * optional Ups ups = 85;
8489
+ * @return {?proto.com.lansweeper.dp.outbound.v1.Ups}
8490
+ */
8491
+ proto.com.lansweeper.dp.outbound.v1.Asset.prototype.getUps = function() {
8492
+ return /** @type{?proto.com.lansweeper.dp.outbound.v1.Ups} */ (
8493
+ jspb.Message.getWrapperField(this, proto.com.lansweeper.dp.outbound.v1.Ups, 85));
8494
+ };
8495
+
8496
+
8497
+ /**
8498
+ * @param {?proto.com.lansweeper.dp.outbound.v1.Ups|undefined} value
8499
+ * @return {!proto.com.lansweeper.dp.outbound.v1.Asset} returns this
8500
+ */
8501
+ proto.com.lansweeper.dp.outbound.v1.Asset.prototype.setUps = function(value) {
8502
+ return jspb.Message.setWrapperField(this, 85, value);
8503
+ };
8504
+
8505
+
8506
+ /**
8507
+ * Clears the message field making it undefined.
8508
+ * @return {!proto.com.lansweeper.dp.outbound.v1.Asset} returns this
8509
+ */
8510
+ proto.com.lansweeper.dp.outbound.v1.Asset.prototype.clearUps = function() {
8511
+ return this.setUps(undefined);
8512
+ };
8513
+
8514
+
8515
+ /**
8516
+ * Returns whether this field is set.
8517
+ * @return {boolean}
8518
+ */
8519
+ proto.com.lansweeper.dp.outbound.v1.Asset.prototype.hasUps = function() {
8520
+ return jspb.Message.getField(this, 85) != null;
8492
8521
  };
8493
8522
 
8494
8523
 
@@ -108747,838 +108776,12 @@ proto.com.lansweeper.dp.outbound.v1.CatalogMonitor.prototype.hasMatchScore = fun
108747
108776
 
108748
108777
 
108749
108778
 
108750
-
108751
-
108752
- if (jspb.Message.GENERATE_TO_OBJECT) {
108753
- /**
108754
- * Creates an object representation of this proto.
108755
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
108756
- * Optional fields that are not set will be set to undefined.
108757
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
108758
- * For the list of reserved names please see:
108759
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
108760
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
108761
- * JSPB instance for transitional soy proto support:
108762
- * http://goto/soy-param-migration
108763
- * @return {!Object}
108764
- */
108765
- proto.com.lansweeper.dp.outbound.v1.SNMPInfo.prototype.toObject = function(opt_includeInstance) {
108766
- return proto.com.lansweeper.dp.outbound.v1.SNMPInfo.toObject(opt_includeInstance, this);
108767
- };
108768
-
108769
-
108770
- /**
108771
- * Static version of the {@see toObject} method.
108772
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
108773
- * the JSPB instance for transitional soy proto support:
108774
- * http://goto/soy-param-migration
108775
- * @param {!proto.com.lansweeper.dp.outbound.v1.SNMPInfo} msg The msg instance to transform.
108776
- * @return {!Object}
108777
- * @suppress {unusedLocalVariables} f is only used for nested messages
108778
- */
108779
- proto.com.lansweeper.dp.outbound.v1.SNMPInfo.toObject = function(includeInstance, msg) {
108780
- var f, obj = {
108781
- objectId: jspb.Message.getFieldWithDefault(msg, 1, ""),
108782
- name: jspb.Message.getFieldWithDefault(msg, 2, ""),
108783
- description: jspb.Message.getFieldWithDefault(msg, 3, ""),
108784
- contact: jspb.Message.getFieldWithDefault(msg, 4, ""),
108785
- location: jspb.Message.getFieldWithDefault(msg, 5, ""),
108786
- isWindows: jspb.Message.getBooleanFieldWithDefault(msg, 6, false),
108787
- domain: jspb.Message.getFieldWithDefault(msg, 7, ""),
108788
- vendorCode: jspb.Message.getFieldWithDefault(msg, 8, 0),
108789
- ipForwarding: jspb.Message.getBooleanFieldWithDefault(msg, 9, false),
108790
- dnsName: jspb.Message.getFieldWithDefault(msg, 10, ""),
108791
- ciscoName: jspb.Message.getFieldWithDefault(msg, 11, ""),
108792
- connectedToDrac: jspb.Message.getFieldWithDefault(msg, 12, ""),
108793
- macAddress: jspb.Message.getFieldWithDefault(msg, 13, ""),
108794
- printerInfo: (f = msg.getPrinterInfo()) && proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo.toObject(includeInstance, f),
108795
- upsInfo: (f = msg.getUpsInfo()) && proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.toObject(includeInstance, f)
108796
- };
108797
-
108798
- if (includeInstance) {
108799
- obj.$jspbMessageInstance = msg;
108800
- }
108801
- return obj;
108802
- };
108803
- }
108804
-
108805
-
108806
- /**
108807
- * Deserializes binary data (in protobuf wire format).
108808
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
108809
- * @return {!proto.com.lansweeper.dp.outbound.v1.SNMPInfo}
108810
- */
108811
- proto.com.lansweeper.dp.outbound.v1.SNMPInfo.deserializeBinary = function(bytes) {
108812
- var reader = new jspb.BinaryReader(bytes);
108813
- var msg = new proto.com.lansweeper.dp.outbound.v1.SNMPInfo;
108814
- return proto.com.lansweeper.dp.outbound.v1.SNMPInfo.deserializeBinaryFromReader(msg, reader);
108815
- };
108816
-
108817
-
108818
- /**
108819
- * Deserializes binary data (in protobuf wire format) from the
108820
- * given reader into the given message object.
108821
- * @param {!proto.com.lansweeper.dp.outbound.v1.SNMPInfo} msg The message object to deserialize into.
108822
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
108823
- * @return {!proto.com.lansweeper.dp.outbound.v1.SNMPInfo}
108824
- */
108825
- proto.com.lansweeper.dp.outbound.v1.SNMPInfo.deserializeBinaryFromReader = function(msg, reader) {
108826
- while (reader.nextField()) {
108827
- if (reader.isEndGroup()) {
108828
- break;
108829
- }
108830
- var field = reader.getFieldNumber();
108831
- switch (field) {
108832
- case 1:
108833
- var value = /** @type {string} */ (reader.readString());
108834
- msg.setObjectId(value);
108835
- break;
108836
- case 2:
108837
- var value = /** @type {string} */ (reader.readString());
108838
- msg.setName(value);
108839
- break;
108840
- case 3:
108841
- var value = /** @type {string} */ (reader.readString());
108842
- msg.setDescription(value);
108843
- break;
108844
- case 4:
108845
- var value = /** @type {string} */ (reader.readString());
108846
- msg.setContact(value);
108847
- break;
108848
- case 5:
108849
- var value = /** @type {string} */ (reader.readString());
108850
- msg.setLocation(value);
108851
- break;
108852
- case 6:
108853
- var value = /** @type {boolean} */ (reader.readBool());
108854
- msg.setIsWindows(value);
108855
- break;
108856
- case 7:
108857
- var value = /** @type {string} */ (reader.readString());
108858
- msg.setDomain(value);
108859
- break;
108860
- case 8:
108861
- var value = /** @type {number} */ (reader.readInt32());
108862
- msg.setVendorCode(value);
108863
- break;
108864
- case 9:
108865
- var value = /** @type {boolean} */ (reader.readBool());
108866
- msg.setIpForwarding(value);
108867
- break;
108868
- case 10:
108869
- var value = /** @type {string} */ (reader.readString());
108870
- msg.setDnsName(value);
108871
- break;
108872
- case 11:
108873
- var value = /** @type {string} */ (reader.readString());
108874
- msg.setCiscoName(value);
108875
- break;
108876
- case 12:
108877
- var value = /** @type {string} */ (reader.readString());
108878
- msg.setConnectedToDrac(value);
108879
- break;
108880
- case 13:
108881
- var value = /** @type {string} */ (reader.readString());
108882
- msg.setMacAddress(value);
108883
- break;
108884
- case 14:
108885
- var value = new proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo;
108886
- reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo.deserializeBinaryFromReader);
108887
- msg.setPrinterInfo(value);
108888
- break;
108889
- case 15:
108890
- var value = new proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo;
108891
- reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.deserializeBinaryFromReader);
108892
- msg.setUpsInfo(value);
108893
- break;
108894
- default:
108895
- reader.skipField();
108896
- break;
108897
- }
108898
- }
108899
- return msg;
108900
- };
108901
-
108902
-
108903
- /**
108904
- * Serializes the message to binary data (in protobuf wire format).
108905
- * @return {!Uint8Array}
108906
- */
108907
- proto.com.lansweeper.dp.outbound.v1.SNMPInfo.prototype.serializeBinary = function() {
108908
- var writer = new jspb.BinaryWriter();
108909
- proto.com.lansweeper.dp.outbound.v1.SNMPInfo.serializeBinaryToWriter(this, writer);
108910
- return writer.getResultBuffer();
108911
- };
108912
-
108913
-
108914
- /**
108915
- * Serializes the given message to binary data (in protobuf wire
108916
- * format), writing to the given BinaryWriter.
108917
- * @param {!proto.com.lansweeper.dp.outbound.v1.SNMPInfo} message
108918
- * @param {!jspb.BinaryWriter} writer
108919
- * @suppress {unusedLocalVariables} f is only used for nested messages
108920
- */
108921
- proto.com.lansweeper.dp.outbound.v1.SNMPInfo.serializeBinaryToWriter = function(message, writer) {
108922
- var f = undefined;
108923
- f = /** @type {string} */ (jspb.Message.getField(message, 1));
108924
- if (f != null) {
108925
- writer.writeString(
108926
- 1,
108927
- f
108928
- );
108929
- }
108930
- f = /** @type {string} */ (jspb.Message.getField(message, 2));
108931
- if (f != null) {
108932
- writer.writeString(
108933
- 2,
108934
- f
108935
- );
108936
- }
108937
- f = /** @type {string} */ (jspb.Message.getField(message, 3));
108938
- if (f != null) {
108939
- writer.writeString(
108940
- 3,
108941
- f
108942
- );
108943
- }
108944
- f = /** @type {string} */ (jspb.Message.getField(message, 4));
108945
- if (f != null) {
108946
- writer.writeString(
108947
- 4,
108948
- f
108949
- );
108950
- }
108951
- f = /** @type {string} */ (jspb.Message.getField(message, 5));
108952
- if (f != null) {
108953
- writer.writeString(
108954
- 5,
108955
- f
108956
- );
108957
- }
108958
- f = /** @type {boolean} */ (jspb.Message.getField(message, 6));
108959
- if (f != null) {
108960
- writer.writeBool(
108961
- 6,
108962
- f
108963
- );
108964
- }
108965
- f = /** @type {string} */ (jspb.Message.getField(message, 7));
108966
- if (f != null) {
108967
- writer.writeString(
108968
- 7,
108969
- f
108970
- );
108971
- }
108972
- f = /** @type {number} */ (jspb.Message.getField(message, 8));
108973
- if (f != null) {
108974
- writer.writeInt32(
108975
- 8,
108976
- f
108977
- );
108978
- }
108979
- f = /** @type {boolean} */ (jspb.Message.getField(message, 9));
108980
- if (f != null) {
108981
- writer.writeBool(
108982
- 9,
108983
- f
108984
- );
108985
- }
108986
- f = /** @type {string} */ (jspb.Message.getField(message, 10));
108987
- if (f != null) {
108988
- writer.writeString(
108989
- 10,
108990
- f
108991
- );
108992
- }
108993
- f = /** @type {string} */ (jspb.Message.getField(message, 11));
108994
- if (f != null) {
108995
- writer.writeString(
108996
- 11,
108997
- f
108998
- );
108999
- }
109000
- f = /** @type {string} */ (jspb.Message.getField(message, 12));
109001
- if (f != null) {
109002
- writer.writeString(
109003
- 12,
109004
- f
109005
- );
109006
- }
109007
- f = /** @type {string} */ (jspb.Message.getField(message, 13));
109008
- if (f != null) {
109009
- writer.writeString(
109010
- 13,
109011
- f
109012
- );
109013
- }
109014
- f = message.getPrinterInfo();
109015
- if (f != null) {
109016
- writer.writeMessage(
109017
- 14,
109018
- f,
109019
- proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo.serializeBinaryToWriter
109020
- );
109021
- }
109022
- f = message.getUpsInfo();
109023
- if (f != null) {
109024
- writer.writeMessage(
109025
- 15,
109026
- f,
109027
- proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.serializeBinaryToWriter
109028
- );
109029
- }
109030
- };
109031
-
109032
-
109033
- /**
109034
- * optional string object_id = 1;
109035
- * @return {string}
109036
- */
109037
- proto.com.lansweeper.dp.outbound.v1.SNMPInfo.prototype.getObjectId = function() {
109038
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
109039
- };
109040
-
109041
-
109042
- /**
109043
- * @param {string} value
109044
- * @return {!proto.com.lansweeper.dp.outbound.v1.SNMPInfo} returns this
109045
- */
109046
- proto.com.lansweeper.dp.outbound.v1.SNMPInfo.prototype.setObjectId = function(value) {
109047
- return jspb.Message.setField(this, 1, value);
109048
- };
109049
-
109050
-
109051
- /**
109052
- * Clears the field making it undefined.
109053
- * @return {!proto.com.lansweeper.dp.outbound.v1.SNMPInfo} returns this
109054
- */
109055
- proto.com.lansweeper.dp.outbound.v1.SNMPInfo.prototype.clearObjectId = function() {
109056
- return jspb.Message.setField(this, 1, undefined);
109057
- };
109058
-
109059
-
109060
- /**
109061
- * Returns whether this field is set.
109062
- * @return {boolean}
109063
- */
109064
- proto.com.lansweeper.dp.outbound.v1.SNMPInfo.prototype.hasObjectId = function() {
109065
- return jspb.Message.getField(this, 1) != null;
109066
- };
109067
-
109068
-
109069
- /**
109070
- * optional string name = 2;
109071
- * @return {string}
109072
- */
109073
- proto.com.lansweeper.dp.outbound.v1.SNMPInfo.prototype.getName = function() {
109074
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
109075
- };
109076
-
109077
-
109078
- /**
109079
- * @param {string} value
109080
- * @return {!proto.com.lansweeper.dp.outbound.v1.SNMPInfo} returns this
109081
- */
109082
- proto.com.lansweeper.dp.outbound.v1.SNMPInfo.prototype.setName = function(value) {
109083
- return jspb.Message.setField(this, 2, value);
109084
- };
109085
-
109086
-
109087
- /**
109088
- * Clears the field making it undefined.
109089
- * @return {!proto.com.lansweeper.dp.outbound.v1.SNMPInfo} returns this
109090
- */
109091
- proto.com.lansweeper.dp.outbound.v1.SNMPInfo.prototype.clearName = function() {
109092
- return jspb.Message.setField(this, 2, undefined);
109093
- };
109094
-
109095
-
109096
- /**
109097
- * Returns whether this field is set.
109098
- * @return {boolean}
109099
- */
109100
- proto.com.lansweeper.dp.outbound.v1.SNMPInfo.prototype.hasName = function() {
109101
- return jspb.Message.getField(this, 2) != null;
109102
- };
109103
-
109104
-
109105
- /**
109106
- * optional string description = 3;
109107
- * @return {string}
109108
- */
109109
- proto.com.lansweeper.dp.outbound.v1.SNMPInfo.prototype.getDescription = function() {
109110
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
109111
- };
109112
-
109113
-
109114
- /**
109115
- * @param {string} value
109116
- * @return {!proto.com.lansweeper.dp.outbound.v1.SNMPInfo} returns this
109117
- */
109118
- proto.com.lansweeper.dp.outbound.v1.SNMPInfo.prototype.setDescription = function(value) {
109119
- return jspb.Message.setField(this, 3, value);
109120
- };
109121
-
109122
-
109123
- /**
109124
- * Clears the field making it undefined.
109125
- * @return {!proto.com.lansweeper.dp.outbound.v1.SNMPInfo} returns this
109126
- */
109127
- proto.com.lansweeper.dp.outbound.v1.SNMPInfo.prototype.clearDescription = function() {
109128
- return jspb.Message.setField(this, 3, undefined);
109129
- };
109130
-
109131
-
109132
- /**
109133
- * Returns whether this field is set.
109134
- * @return {boolean}
109135
- */
109136
- proto.com.lansweeper.dp.outbound.v1.SNMPInfo.prototype.hasDescription = function() {
109137
- return jspb.Message.getField(this, 3) != null;
109138
- };
109139
-
109140
-
109141
- /**
109142
- * optional string contact = 4;
109143
- * @return {string}
109144
- */
109145
- proto.com.lansweeper.dp.outbound.v1.SNMPInfo.prototype.getContact = function() {
109146
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
109147
- };
109148
-
109149
-
109150
- /**
109151
- * @param {string} value
109152
- * @return {!proto.com.lansweeper.dp.outbound.v1.SNMPInfo} returns this
109153
- */
109154
- proto.com.lansweeper.dp.outbound.v1.SNMPInfo.prototype.setContact = function(value) {
109155
- return jspb.Message.setField(this, 4, value);
109156
- };
109157
-
109158
-
109159
- /**
109160
- * Clears the field making it undefined.
109161
- * @return {!proto.com.lansweeper.dp.outbound.v1.SNMPInfo} returns this
109162
- */
109163
- proto.com.lansweeper.dp.outbound.v1.SNMPInfo.prototype.clearContact = function() {
109164
- return jspb.Message.setField(this, 4, undefined);
109165
- };
109166
-
109167
-
109168
- /**
109169
- * Returns whether this field is set.
109170
- * @return {boolean}
109171
- */
109172
- proto.com.lansweeper.dp.outbound.v1.SNMPInfo.prototype.hasContact = function() {
109173
- return jspb.Message.getField(this, 4) != null;
109174
- };
109175
-
109176
-
109177
- /**
109178
- * optional string location = 5;
109179
- * @return {string}
109180
- */
109181
- proto.com.lansweeper.dp.outbound.v1.SNMPInfo.prototype.getLocation = function() {
109182
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
109183
- };
109184
-
109185
-
109186
- /**
109187
- * @param {string} value
109188
- * @return {!proto.com.lansweeper.dp.outbound.v1.SNMPInfo} returns this
109189
- */
109190
- proto.com.lansweeper.dp.outbound.v1.SNMPInfo.prototype.setLocation = function(value) {
109191
- return jspb.Message.setField(this, 5, value);
109192
- };
109193
-
109194
-
109195
- /**
109196
- * Clears the field making it undefined.
109197
- * @return {!proto.com.lansweeper.dp.outbound.v1.SNMPInfo} returns this
109198
- */
109199
- proto.com.lansweeper.dp.outbound.v1.SNMPInfo.prototype.clearLocation = function() {
109200
- return jspb.Message.setField(this, 5, undefined);
109201
- };
109202
-
109203
-
109204
- /**
109205
- * Returns whether this field is set.
109206
- * @return {boolean}
109207
- */
109208
- proto.com.lansweeper.dp.outbound.v1.SNMPInfo.prototype.hasLocation = function() {
109209
- return jspb.Message.getField(this, 5) != null;
109210
- };
109211
-
109212
-
109213
- /**
109214
- * optional bool is_windows = 6;
109215
- * @return {boolean}
109216
- */
109217
- proto.com.lansweeper.dp.outbound.v1.SNMPInfo.prototype.getIsWindows = function() {
109218
- return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 6, false));
109219
- };
109220
-
109221
-
109222
- /**
109223
- * @param {boolean} value
109224
- * @return {!proto.com.lansweeper.dp.outbound.v1.SNMPInfo} returns this
109225
- */
109226
- proto.com.lansweeper.dp.outbound.v1.SNMPInfo.prototype.setIsWindows = function(value) {
109227
- return jspb.Message.setField(this, 6, value);
109228
- };
109229
-
109230
-
109231
- /**
109232
- * Clears the field making it undefined.
109233
- * @return {!proto.com.lansweeper.dp.outbound.v1.SNMPInfo} returns this
109234
- */
109235
- proto.com.lansweeper.dp.outbound.v1.SNMPInfo.prototype.clearIsWindows = function() {
109236
- return jspb.Message.setField(this, 6, undefined);
109237
- };
109238
-
109239
-
109240
- /**
109241
- * Returns whether this field is set.
109242
- * @return {boolean}
109243
- */
109244
- proto.com.lansweeper.dp.outbound.v1.SNMPInfo.prototype.hasIsWindows = function() {
109245
- return jspb.Message.getField(this, 6) != null;
109246
- };
109247
-
109248
-
109249
- /**
109250
- * optional string domain = 7;
109251
- * @return {string}
109252
- */
109253
- proto.com.lansweeper.dp.outbound.v1.SNMPInfo.prototype.getDomain = function() {
109254
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
109255
- };
109256
-
109257
-
109258
- /**
109259
- * @param {string} value
109260
- * @return {!proto.com.lansweeper.dp.outbound.v1.SNMPInfo} returns this
109261
- */
109262
- proto.com.lansweeper.dp.outbound.v1.SNMPInfo.prototype.setDomain = function(value) {
109263
- return jspb.Message.setField(this, 7, value);
109264
- };
109265
-
109266
-
109267
- /**
109268
- * Clears the field making it undefined.
109269
- * @return {!proto.com.lansweeper.dp.outbound.v1.SNMPInfo} returns this
109270
- */
109271
- proto.com.lansweeper.dp.outbound.v1.SNMPInfo.prototype.clearDomain = function() {
109272
- return jspb.Message.setField(this, 7, undefined);
109273
- };
109274
-
109275
-
109276
- /**
109277
- * Returns whether this field is set.
109278
- * @return {boolean}
109279
- */
109280
- proto.com.lansweeper.dp.outbound.v1.SNMPInfo.prototype.hasDomain = function() {
109281
- return jspb.Message.getField(this, 7) != null;
109282
- };
109283
-
109284
-
109285
- /**
109286
- * optional int32 vendor_code = 8;
109287
- * @return {number}
109288
- */
109289
- proto.com.lansweeper.dp.outbound.v1.SNMPInfo.prototype.getVendorCode = function() {
109290
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0));
109291
- };
109292
-
109293
-
109294
- /**
109295
- * @param {number} value
109296
- * @return {!proto.com.lansweeper.dp.outbound.v1.SNMPInfo} returns this
109297
- */
109298
- proto.com.lansweeper.dp.outbound.v1.SNMPInfo.prototype.setVendorCode = function(value) {
109299
- return jspb.Message.setField(this, 8, value);
109300
- };
109301
-
109302
-
109303
- /**
109304
- * Clears the field making it undefined.
109305
- * @return {!proto.com.lansweeper.dp.outbound.v1.SNMPInfo} returns this
109306
- */
109307
- proto.com.lansweeper.dp.outbound.v1.SNMPInfo.prototype.clearVendorCode = function() {
109308
- return jspb.Message.setField(this, 8, undefined);
109309
- };
109310
-
109311
-
109312
- /**
109313
- * Returns whether this field is set.
109314
- * @return {boolean}
109315
- */
109316
- proto.com.lansweeper.dp.outbound.v1.SNMPInfo.prototype.hasVendorCode = function() {
109317
- return jspb.Message.getField(this, 8) != null;
109318
- };
109319
-
109320
-
109321
- /**
109322
- * optional bool ip_forwarding = 9;
109323
- * @return {boolean}
109324
- */
109325
- proto.com.lansweeper.dp.outbound.v1.SNMPInfo.prototype.getIpForwarding = function() {
109326
- return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 9, false));
109327
- };
109328
-
109329
-
109330
- /**
109331
- * @param {boolean} value
109332
- * @return {!proto.com.lansweeper.dp.outbound.v1.SNMPInfo} returns this
109333
- */
109334
- proto.com.lansweeper.dp.outbound.v1.SNMPInfo.prototype.setIpForwarding = function(value) {
109335
- return jspb.Message.setField(this, 9, value);
109336
- };
109337
-
109338
-
109339
- /**
109340
- * Clears the field making it undefined.
109341
- * @return {!proto.com.lansweeper.dp.outbound.v1.SNMPInfo} returns this
109342
- */
109343
- proto.com.lansweeper.dp.outbound.v1.SNMPInfo.prototype.clearIpForwarding = function() {
109344
- return jspb.Message.setField(this, 9, undefined);
109345
- };
109346
-
109347
-
109348
- /**
109349
- * Returns whether this field is set.
109350
- * @return {boolean}
109351
- */
109352
- proto.com.lansweeper.dp.outbound.v1.SNMPInfo.prototype.hasIpForwarding = function() {
109353
- return jspb.Message.getField(this, 9) != null;
109354
- };
109355
-
109356
-
109357
- /**
109358
- * optional string dns_name = 10;
109359
- * @return {string}
109360
- */
109361
- proto.com.lansweeper.dp.outbound.v1.SNMPInfo.prototype.getDnsName = function() {
109362
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
109363
- };
109364
-
109365
-
109366
- /**
109367
- * @param {string} value
109368
- * @return {!proto.com.lansweeper.dp.outbound.v1.SNMPInfo} returns this
109369
- */
109370
- proto.com.lansweeper.dp.outbound.v1.SNMPInfo.prototype.setDnsName = function(value) {
109371
- return jspb.Message.setField(this, 10, value);
109372
- };
109373
-
109374
-
109375
- /**
109376
- * Clears the field making it undefined.
109377
- * @return {!proto.com.lansweeper.dp.outbound.v1.SNMPInfo} returns this
109378
- */
109379
- proto.com.lansweeper.dp.outbound.v1.SNMPInfo.prototype.clearDnsName = function() {
109380
- return jspb.Message.setField(this, 10, undefined);
109381
- };
109382
-
109383
-
109384
- /**
109385
- * Returns whether this field is set.
109386
- * @return {boolean}
109387
- */
109388
- proto.com.lansweeper.dp.outbound.v1.SNMPInfo.prototype.hasDnsName = function() {
109389
- return jspb.Message.getField(this, 10) != null;
109390
- };
109391
-
109392
-
109393
- /**
109394
- * optional string cisco_name = 11;
109395
- * @return {string}
109396
- */
109397
- proto.com.lansweeper.dp.outbound.v1.SNMPInfo.prototype.getCiscoName = function() {
109398
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
109399
- };
109400
-
109401
-
109402
- /**
109403
- * @param {string} value
109404
- * @return {!proto.com.lansweeper.dp.outbound.v1.SNMPInfo} returns this
109405
- */
109406
- proto.com.lansweeper.dp.outbound.v1.SNMPInfo.prototype.setCiscoName = function(value) {
109407
- return jspb.Message.setField(this, 11, value);
109408
- };
109409
-
109410
-
109411
- /**
109412
- * Clears the field making it undefined.
109413
- * @return {!proto.com.lansweeper.dp.outbound.v1.SNMPInfo} returns this
109414
- */
109415
- proto.com.lansweeper.dp.outbound.v1.SNMPInfo.prototype.clearCiscoName = function() {
109416
- return jspb.Message.setField(this, 11, undefined);
109417
- };
109418
-
109419
-
109420
- /**
109421
- * Returns whether this field is set.
109422
- * @return {boolean}
109423
- */
109424
- proto.com.lansweeper.dp.outbound.v1.SNMPInfo.prototype.hasCiscoName = function() {
109425
- return jspb.Message.getField(this, 11) != null;
109426
- };
109427
-
109428
-
109429
- /**
109430
- * optional string connected_to_drac = 12;
109431
- * @return {string}
109432
- */
109433
- proto.com.lansweeper.dp.outbound.v1.SNMPInfo.prototype.getConnectedToDrac = function() {
109434
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
109435
- };
109436
-
109437
-
109438
- /**
109439
- * @param {string} value
109440
- * @return {!proto.com.lansweeper.dp.outbound.v1.SNMPInfo} returns this
109441
- */
109442
- proto.com.lansweeper.dp.outbound.v1.SNMPInfo.prototype.setConnectedToDrac = function(value) {
109443
- return jspb.Message.setField(this, 12, value);
109444
- };
109445
-
109446
-
109447
- /**
109448
- * Clears the field making it undefined.
109449
- * @return {!proto.com.lansweeper.dp.outbound.v1.SNMPInfo} returns this
109450
- */
109451
- proto.com.lansweeper.dp.outbound.v1.SNMPInfo.prototype.clearConnectedToDrac = function() {
109452
- return jspb.Message.setField(this, 12, undefined);
109453
- };
109454
-
109455
-
109456
- /**
109457
- * Returns whether this field is set.
109458
- * @return {boolean}
109459
- */
109460
- proto.com.lansweeper.dp.outbound.v1.SNMPInfo.prototype.hasConnectedToDrac = function() {
109461
- return jspb.Message.getField(this, 12) != null;
109462
- };
109463
-
109464
-
109465
- /**
109466
- * optional string mac_address = 13;
109467
- * @return {string}
109468
- */
109469
- proto.com.lansweeper.dp.outbound.v1.SNMPInfo.prototype.getMacAddress = function() {
109470
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
109471
- };
109472
-
109473
-
109474
- /**
109475
- * @param {string} value
109476
- * @return {!proto.com.lansweeper.dp.outbound.v1.SNMPInfo} returns this
109477
- */
109478
- proto.com.lansweeper.dp.outbound.v1.SNMPInfo.prototype.setMacAddress = function(value) {
109479
- return jspb.Message.setField(this, 13, value);
109480
- };
109481
-
109482
-
109483
- /**
109484
- * Clears the field making it undefined.
109485
- * @return {!proto.com.lansweeper.dp.outbound.v1.SNMPInfo} returns this
109486
- */
109487
- proto.com.lansweeper.dp.outbound.v1.SNMPInfo.prototype.clearMacAddress = function() {
109488
- return jspb.Message.setField(this, 13, undefined);
109489
- };
109490
-
109491
-
109492
- /**
109493
- * Returns whether this field is set.
109494
- * @return {boolean}
109495
- */
109496
- proto.com.lansweeper.dp.outbound.v1.SNMPInfo.prototype.hasMacAddress = function() {
109497
- return jspb.Message.getField(this, 13) != null;
109498
- };
109499
-
109500
-
109501
- /**
109502
- * optional SnmpPrinterInfo printer_info = 14;
109503
- * @return {?proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo}
109504
- */
109505
- proto.com.lansweeper.dp.outbound.v1.SNMPInfo.prototype.getPrinterInfo = function() {
109506
- return /** @type{?proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo} */ (
109507
- jspb.Message.getWrapperField(this, proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo, 14));
109508
- };
109509
-
109510
-
109511
- /**
109512
- * @param {?proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo|undefined} value
109513
- * @return {!proto.com.lansweeper.dp.outbound.v1.SNMPInfo} returns this
109514
- */
109515
- proto.com.lansweeper.dp.outbound.v1.SNMPInfo.prototype.setPrinterInfo = function(value) {
109516
- return jspb.Message.setWrapperField(this, 14, value);
109517
- };
109518
-
109519
-
109520
- /**
109521
- * Clears the message field making it undefined.
109522
- * @return {!proto.com.lansweeper.dp.outbound.v1.SNMPInfo} returns this
109523
- */
109524
- proto.com.lansweeper.dp.outbound.v1.SNMPInfo.prototype.clearPrinterInfo = function() {
109525
- return this.setPrinterInfo(undefined);
109526
- };
109527
-
109528
-
109529
- /**
109530
- * Returns whether this field is set.
109531
- * @return {boolean}
109532
- */
109533
- proto.com.lansweeper.dp.outbound.v1.SNMPInfo.prototype.hasPrinterInfo = function() {
109534
- return jspb.Message.getField(this, 14) != null;
109535
- };
109536
-
109537
-
109538
- /**
109539
- * optional SnmpUpsInfo ups_info = 15;
109540
- * @return {?proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo}
109541
- */
109542
- proto.com.lansweeper.dp.outbound.v1.SNMPInfo.prototype.getUpsInfo = function() {
109543
- return /** @type{?proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo} */ (
109544
- jspb.Message.getWrapperField(this, proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo, 15));
109545
- };
109546
-
109547
-
109548
- /**
109549
- * @param {?proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo|undefined} value
109550
- * @return {!proto.com.lansweeper.dp.outbound.v1.SNMPInfo} returns this
109551
- */
109552
- proto.com.lansweeper.dp.outbound.v1.SNMPInfo.prototype.setUpsInfo = function(value) {
109553
- return jspb.Message.setWrapperField(this, 15, value);
109554
- };
109555
-
109556
-
109557
- /**
109558
- * Clears the message field making it undefined.
109559
- * @return {!proto.com.lansweeper.dp.outbound.v1.SNMPInfo} returns this
109560
- */
109561
- proto.com.lansweeper.dp.outbound.v1.SNMPInfo.prototype.clearUpsInfo = function() {
109562
- return this.setUpsInfo(undefined);
109563
- };
109564
-
109565
-
109566
- /**
109567
- * Returns whether this field is set.
109568
- * @return {boolean}
109569
- */
109570
- proto.com.lansweeper.dp.outbound.v1.SNMPInfo.prototype.hasUpsInfo = function() {
109571
- return jspb.Message.getField(this, 15) != null;
109572
- };
109573
-
109574
-
109575
-
109576
108779
  /**
109577
108780
  * List of repeated fields within this message type.
109578
108781
  * @private {!Array<number>}
109579
108782
  * @const
109580
108783
  */
109581
- proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo.repeatedFields_ = [7];
108784
+ proto.com.lansweeper.dp.outbound.v1.Printer.repeatedFields_ = [7];
109582
108785
 
109583
108786
 
109584
108787
 
@@ -109595,8 +108798,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
109595
108798
  * http://goto/soy-param-migration
109596
108799
  * @return {!Object}
109597
108800
  */
109598
- proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo.prototype.toObject = function(opt_includeInstance) {
109599
- return proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo.toObject(opt_includeInstance, this);
108801
+ proto.com.lansweeper.dp.outbound.v1.Printer.prototype.toObject = function(opt_includeInstance) {
108802
+ return proto.com.lansweeper.dp.outbound.v1.Printer.toObject(opt_includeInstance, this);
109600
108803
  };
109601
108804
 
109602
108805
 
@@ -109605,20 +108808,20 @@ proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo.prototype.toObject = functio
109605
108808
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
109606
108809
  * the JSPB instance for transitional soy proto support:
109607
108810
  * http://goto/soy-param-migration
109608
- * @param {!proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo} msg The msg instance to transform.
108811
+ * @param {!proto.com.lansweeper.dp.outbound.v1.Printer} msg The msg instance to transform.
109609
108812
  * @return {!Object}
109610
108813
  * @suppress {unusedLocalVariables} f is only used for nested messages
109611
108814
  */
109612
- proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo.toObject = function(includeInstance, msg) {
108815
+ proto.com.lansweeper.dp.outbound.v1.Printer.toObject = function(includeInstance, msg) {
109613
108816
  var f, obj = {
109614
108817
  printerName: jspb.Message.getFieldWithDefault(msg, 1, ""),
109615
- printedPages: jspb.Message.getFieldWithDefault(msg, 2, ""),
109616
- printedColorPages: jspb.Message.getFieldWithDefault(msg, 3, ""),
109617
- printedMonoPages: jspb.Message.getFieldWithDefault(msg, 4, ""),
108818
+ printedPages: jspb.Message.getFieldWithDefault(msg, 2, 0),
108819
+ printedColorPages: jspb.Message.getFieldWithDefault(msg, 3, 0),
108820
+ printedMonoPages: jspb.Message.getFieldWithDefault(msg, 4, 0),
109618
108821
  printerStatus: jspb.Message.getFieldWithDefault(msg, 5, ""),
109619
108822
  serialNumber: jspb.Message.getFieldWithDefault(msg, 6, ""),
109620
- tonersList: jspb.Message.toObjectList(msg.getTonersList(),
109621
- proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo.toObject, includeInstance)
108823
+ tonerList: jspb.Message.toObjectList(msg.getTonerList(),
108824
+ proto.com.lansweeper.dp.outbound.v1.PrinterTonerInfo.toObject, includeInstance)
109622
108825
  };
109623
108826
 
109624
108827
  if (includeInstance) {
@@ -109632,23 +108835,23 @@ proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo.toObject = function(includeI
109632
108835
  /**
109633
108836
  * Deserializes binary data (in protobuf wire format).
109634
108837
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
109635
- * @return {!proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo}
108838
+ * @return {!proto.com.lansweeper.dp.outbound.v1.Printer}
109636
108839
  */
109637
- proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo.deserializeBinary = function(bytes) {
108840
+ proto.com.lansweeper.dp.outbound.v1.Printer.deserializeBinary = function(bytes) {
109638
108841
  var reader = new jspb.BinaryReader(bytes);
109639
- var msg = new proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo;
109640
- return proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo.deserializeBinaryFromReader(msg, reader);
108842
+ var msg = new proto.com.lansweeper.dp.outbound.v1.Printer;
108843
+ return proto.com.lansweeper.dp.outbound.v1.Printer.deserializeBinaryFromReader(msg, reader);
109641
108844
  };
109642
108845
 
109643
108846
 
109644
108847
  /**
109645
108848
  * Deserializes binary data (in protobuf wire format) from the
109646
108849
  * given reader into the given message object.
109647
- * @param {!proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo} msg The message object to deserialize into.
108850
+ * @param {!proto.com.lansweeper.dp.outbound.v1.Printer} msg The message object to deserialize into.
109648
108851
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
109649
- * @return {!proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo}
108852
+ * @return {!proto.com.lansweeper.dp.outbound.v1.Printer}
109650
108853
  */
109651
- proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo.deserializeBinaryFromReader = function(msg, reader) {
108854
+ proto.com.lansweeper.dp.outbound.v1.Printer.deserializeBinaryFromReader = function(msg, reader) {
109652
108855
  while (reader.nextField()) {
109653
108856
  if (reader.isEndGroup()) {
109654
108857
  break;
@@ -109660,15 +108863,15 @@ proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo.deserializeBinaryFromReader
109660
108863
  msg.setPrinterName(value);
109661
108864
  break;
109662
108865
  case 2:
109663
- var value = /** @type {string} */ (reader.readString());
108866
+ var value = /** @type {number} */ (reader.readInt64());
109664
108867
  msg.setPrintedPages(value);
109665
108868
  break;
109666
108869
  case 3:
109667
- var value = /** @type {string} */ (reader.readString());
108870
+ var value = /** @type {number} */ (reader.readInt64());
109668
108871
  msg.setPrintedColorPages(value);
109669
108872
  break;
109670
108873
  case 4:
109671
- var value = /** @type {string} */ (reader.readString());
108874
+ var value = /** @type {number} */ (reader.readInt64());
109672
108875
  msg.setPrintedMonoPages(value);
109673
108876
  break;
109674
108877
  case 5:
@@ -109680,9 +108883,9 @@ proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo.deserializeBinaryFromReader
109680
108883
  msg.setSerialNumber(value);
109681
108884
  break;
109682
108885
  case 7:
109683
- var value = new proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo;
109684
- reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo.deserializeBinaryFromReader);
109685
- msg.addToners(value);
108886
+ var value = new proto.com.lansweeper.dp.outbound.v1.PrinterTonerInfo;
108887
+ reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.PrinterTonerInfo.deserializeBinaryFromReader);
108888
+ msg.addToner(value);
109686
108889
  break;
109687
108890
  default:
109688
108891
  reader.skipField();
@@ -109697,9 +108900,9 @@ proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo.deserializeBinaryFromReader
109697
108900
  * Serializes the message to binary data (in protobuf wire format).
109698
108901
  * @return {!Uint8Array}
109699
108902
  */
109700
- proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo.prototype.serializeBinary = function() {
108903
+ proto.com.lansweeper.dp.outbound.v1.Printer.prototype.serializeBinary = function() {
109701
108904
  var writer = new jspb.BinaryWriter();
109702
- proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo.serializeBinaryToWriter(this, writer);
108905
+ proto.com.lansweeper.dp.outbound.v1.Printer.serializeBinaryToWriter(this, writer);
109703
108906
  return writer.getResultBuffer();
109704
108907
  };
109705
108908
 
@@ -109707,11 +108910,11 @@ proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo.prototype.serializeBinary =
109707
108910
  /**
109708
108911
  * Serializes the given message to binary data (in protobuf wire
109709
108912
  * format), writing to the given BinaryWriter.
109710
- * @param {!proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo} message
108913
+ * @param {!proto.com.lansweeper.dp.outbound.v1.Printer} message
109711
108914
  * @param {!jspb.BinaryWriter} writer
109712
108915
  * @suppress {unusedLocalVariables} f is only used for nested messages
109713
108916
  */
109714
- proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo.serializeBinaryToWriter = function(message, writer) {
108917
+ proto.com.lansweeper.dp.outbound.v1.Printer.serializeBinaryToWriter = function(message, writer) {
109715
108918
  var f = undefined;
109716
108919
  f = /** @type {string} */ (jspb.Message.getField(message, 1));
109717
108920
  if (f != null) {
@@ -109720,23 +108923,23 @@ proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo.serializeBinaryToWriter = fu
109720
108923
  f
109721
108924
  );
109722
108925
  }
109723
- f = /** @type {string} */ (jspb.Message.getField(message, 2));
108926
+ f = /** @type {number} */ (jspb.Message.getField(message, 2));
109724
108927
  if (f != null) {
109725
- writer.writeString(
108928
+ writer.writeInt64(
109726
108929
  2,
109727
108930
  f
109728
108931
  );
109729
108932
  }
109730
- f = /** @type {string} */ (jspb.Message.getField(message, 3));
108933
+ f = /** @type {number} */ (jspb.Message.getField(message, 3));
109731
108934
  if (f != null) {
109732
- writer.writeString(
108935
+ writer.writeInt64(
109733
108936
  3,
109734
108937
  f
109735
108938
  );
109736
108939
  }
109737
- f = /** @type {string} */ (jspb.Message.getField(message, 4));
108940
+ f = /** @type {number} */ (jspb.Message.getField(message, 4));
109738
108941
  if (f != null) {
109739
- writer.writeString(
108942
+ writer.writeInt64(
109740
108943
  4,
109741
108944
  f
109742
108945
  );
@@ -109755,12 +108958,12 @@ proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo.serializeBinaryToWriter = fu
109755
108958
  f
109756
108959
  );
109757
108960
  }
109758
- f = message.getTonersList();
108961
+ f = message.getTonerList();
109759
108962
  if (f.length > 0) {
109760
108963
  writer.writeRepeatedMessage(
109761
108964
  7,
109762
108965
  f,
109763
- proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo.serializeBinaryToWriter
108966
+ proto.com.lansweeper.dp.outbound.v1.PrinterTonerInfo.serializeBinaryToWriter
109764
108967
  );
109765
108968
  }
109766
108969
  };
@@ -109770,25 +108973,25 @@ proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo.serializeBinaryToWriter = fu
109770
108973
  * optional string printer_name = 1;
109771
108974
  * @return {string}
109772
108975
  */
109773
- proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo.prototype.getPrinterName = function() {
108976
+ proto.com.lansweeper.dp.outbound.v1.Printer.prototype.getPrinterName = function() {
109774
108977
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
109775
108978
  };
109776
108979
 
109777
108980
 
109778
108981
  /**
109779
108982
  * @param {string} value
109780
- * @return {!proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo} returns this
108983
+ * @return {!proto.com.lansweeper.dp.outbound.v1.Printer} returns this
109781
108984
  */
109782
- proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo.prototype.setPrinterName = function(value) {
108985
+ proto.com.lansweeper.dp.outbound.v1.Printer.prototype.setPrinterName = function(value) {
109783
108986
  return jspb.Message.setField(this, 1, value);
109784
108987
  };
109785
108988
 
109786
108989
 
109787
108990
  /**
109788
108991
  * Clears the field making it undefined.
109789
- * @return {!proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo} returns this
108992
+ * @return {!proto.com.lansweeper.dp.outbound.v1.Printer} returns this
109790
108993
  */
109791
- proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo.prototype.clearPrinterName = function() {
108994
+ proto.com.lansweeper.dp.outbound.v1.Printer.prototype.clearPrinterName = function() {
109792
108995
  return jspb.Message.setField(this, 1, undefined);
109793
108996
  };
109794
108997
 
@@ -109797,34 +109000,34 @@ proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo.prototype.clearPrinterName =
109797
109000
  * Returns whether this field is set.
109798
109001
  * @return {boolean}
109799
109002
  */
109800
- proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo.prototype.hasPrinterName = function() {
109003
+ proto.com.lansweeper.dp.outbound.v1.Printer.prototype.hasPrinterName = function() {
109801
109004
  return jspb.Message.getField(this, 1) != null;
109802
109005
  };
109803
109006
 
109804
109007
 
109805
109008
  /**
109806
- * optional string printed_pages = 2;
109807
- * @return {string}
109009
+ * optional int64 printed_pages = 2;
109010
+ * @return {number}
109808
109011
  */
109809
- proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo.prototype.getPrintedPages = function() {
109810
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
109012
+ proto.com.lansweeper.dp.outbound.v1.Printer.prototype.getPrintedPages = function() {
109013
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
109811
109014
  };
109812
109015
 
109813
109016
 
109814
109017
  /**
109815
- * @param {string} value
109816
- * @return {!proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo} returns this
109018
+ * @param {number} value
109019
+ * @return {!proto.com.lansweeper.dp.outbound.v1.Printer} returns this
109817
109020
  */
109818
- proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo.prototype.setPrintedPages = function(value) {
109021
+ proto.com.lansweeper.dp.outbound.v1.Printer.prototype.setPrintedPages = function(value) {
109819
109022
  return jspb.Message.setField(this, 2, value);
109820
109023
  };
109821
109024
 
109822
109025
 
109823
109026
  /**
109824
109027
  * Clears the field making it undefined.
109825
- * @return {!proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo} returns this
109028
+ * @return {!proto.com.lansweeper.dp.outbound.v1.Printer} returns this
109826
109029
  */
109827
- proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo.prototype.clearPrintedPages = function() {
109030
+ proto.com.lansweeper.dp.outbound.v1.Printer.prototype.clearPrintedPages = function() {
109828
109031
  return jspb.Message.setField(this, 2, undefined);
109829
109032
  };
109830
109033
 
@@ -109833,34 +109036,34 @@ proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo.prototype.clearPrintedPages
109833
109036
  * Returns whether this field is set.
109834
109037
  * @return {boolean}
109835
109038
  */
109836
- proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo.prototype.hasPrintedPages = function() {
109039
+ proto.com.lansweeper.dp.outbound.v1.Printer.prototype.hasPrintedPages = function() {
109837
109040
  return jspb.Message.getField(this, 2) != null;
109838
109041
  };
109839
109042
 
109840
109043
 
109841
109044
  /**
109842
- * optional string printed_color_pages = 3;
109843
- * @return {string}
109045
+ * optional int64 printed_color_pages = 3;
109046
+ * @return {number}
109844
109047
  */
109845
- proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo.prototype.getPrintedColorPages = function() {
109846
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
109048
+ proto.com.lansweeper.dp.outbound.v1.Printer.prototype.getPrintedColorPages = function() {
109049
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
109847
109050
  };
109848
109051
 
109849
109052
 
109850
109053
  /**
109851
- * @param {string} value
109852
- * @return {!proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo} returns this
109054
+ * @param {number} value
109055
+ * @return {!proto.com.lansweeper.dp.outbound.v1.Printer} returns this
109853
109056
  */
109854
- proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo.prototype.setPrintedColorPages = function(value) {
109057
+ proto.com.lansweeper.dp.outbound.v1.Printer.prototype.setPrintedColorPages = function(value) {
109855
109058
  return jspb.Message.setField(this, 3, value);
109856
109059
  };
109857
109060
 
109858
109061
 
109859
109062
  /**
109860
109063
  * Clears the field making it undefined.
109861
- * @return {!proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo} returns this
109064
+ * @return {!proto.com.lansweeper.dp.outbound.v1.Printer} returns this
109862
109065
  */
109863
- proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo.prototype.clearPrintedColorPages = function() {
109066
+ proto.com.lansweeper.dp.outbound.v1.Printer.prototype.clearPrintedColorPages = function() {
109864
109067
  return jspb.Message.setField(this, 3, undefined);
109865
109068
  };
109866
109069
 
@@ -109869,34 +109072,34 @@ proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo.prototype.clearPrintedColorP
109869
109072
  * Returns whether this field is set.
109870
109073
  * @return {boolean}
109871
109074
  */
109872
- proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo.prototype.hasPrintedColorPages = function() {
109075
+ proto.com.lansweeper.dp.outbound.v1.Printer.prototype.hasPrintedColorPages = function() {
109873
109076
  return jspb.Message.getField(this, 3) != null;
109874
109077
  };
109875
109078
 
109876
109079
 
109877
109080
  /**
109878
- * optional string printed_mono_pages = 4;
109879
- * @return {string}
109081
+ * optional int64 printed_mono_pages = 4;
109082
+ * @return {number}
109880
109083
  */
109881
- proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo.prototype.getPrintedMonoPages = function() {
109882
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
109084
+ proto.com.lansweeper.dp.outbound.v1.Printer.prototype.getPrintedMonoPages = function() {
109085
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
109883
109086
  };
109884
109087
 
109885
109088
 
109886
109089
  /**
109887
- * @param {string} value
109888
- * @return {!proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo} returns this
109090
+ * @param {number} value
109091
+ * @return {!proto.com.lansweeper.dp.outbound.v1.Printer} returns this
109889
109092
  */
109890
- proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo.prototype.setPrintedMonoPages = function(value) {
109093
+ proto.com.lansweeper.dp.outbound.v1.Printer.prototype.setPrintedMonoPages = function(value) {
109891
109094
  return jspb.Message.setField(this, 4, value);
109892
109095
  };
109893
109096
 
109894
109097
 
109895
109098
  /**
109896
109099
  * Clears the field making it undefined.
109897
- * @return {!proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo} returns this
109100
+ * @return {!proto.com.lansweeper.dp.outbound.v1.Printer} returns this
109898
109101
  */
109899
- proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo.prototype.clearPrintedMonoPages = function() {
109102
+ proto.com.lansweeper.dp.outbound.v1.Printer.prototype.clearPrintedMonoPages = function() {
109900
109103
  return jspb.Message.setField(this, 4, undefined);
109901
109104
  };
109902
109105
 
@@ -109905,7 +109108,7 @@ proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo.prototype.clearPrintedMonoPa
109905
109108
  * Returns whether this field is set.
109906
109109
  * @return {boolean}
109907
109110
  */
109908
- proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo.prototype.hasPrintedMonoPages = function() {
109111
+ proto.com.lansweeper.dp.outbound.v1.Printer.prototype.hasPrintedMonoPages = function() {
109909
109112
  return jspb.Message.getField(this, 4) != null;
109910
109113
  };
109911
109114
 
@@ -109914,25 +109117,25 @@ proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo.prototype.hasPrintedMonoPage
109914
109117
  * optional string printer_status = 5;
109915
109118
  * @return {string}
109916
109119
  */
109917
- proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo.prototype.getPrinterStatus = function() {
109120
+ proto.com.lansweeper.dp.outbound.v1.Printer.prototype.getPrinterStatus = function() {
109918
109121
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
109919
109122
  };
109920
109123
 
109921
109124
 
109922
109125
  /**
109923
109126
  * @param {string} value
109924
- * @return {!proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo} returns this
109127
+ * @return {!proto.com.lansweeper.dp.outbound.v1.Printer} returns this
109925
109128
  */
109926
- proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo.prototype.setPrinterStatus = function(value) {
109129
+ proto.com.lansweeper.dp.outbound.v1.Printer.prototype.setPrinterStatus = function(value) {
109927
109130
  return jspb.Message.setField(this, 5, value);
109928
109131
  };
109929
109132
 
109930
109133
 
109931
109134
  /**
109932
109135
  * Clears the field making it undefined.
109933
- * @return {!proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo} returns this
109136
+ * @return {!proto.com.lansweeper.dp.outbound.v1.Printer} returns this
109934
109137
  */
109935
- proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo.prototype.clearPrinterStatus = function() {
109138
+ proto.com.lansweeper.dp.outbound.v1.Printer.prototype.clearPrinterStatus = function() {
109936
109139
  return jspb.Message.setField(this, 5, undefined);
109937
109140
  };
109938
109141
 
@@ -109941,7 +109144,7 @@ proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo.prototype.clearPrinterStatus
109941
109144
  * Returns whether this field is set.
109942
109145
  * @return {boolean}
109943
109146
  */
109944
- proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo.prototype.hasPrinterStatus = function() {
109147
+ proto.com.lansweeper.dp.outbound.v1.Printer.prototype.hasPrinterStatus = function() {
109945
109148
  return jspb.Message.getField(this, 5) != null;
109946
109149
  };
109947
109150
 
@@ -109950,25 +109153,25 @@ proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo.prototype.hasPrinterStatus =
109950
109153
  * optional string serial_number = 6;
109951
109154
  * @return {string}
109952
109155
  */
109953
- proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo.prototype.getSerialNumber = function() {
109156
+ proto.com.lansweeper.dp.outbound.v1.Printer.prototype.getSerialNumber = function() {
109954
109157
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
109955
109158
  };
109956
109159
 
109957
109160
 
109958
109161
  /**
109959
109162
  * @param {string} value
109960
- * @return {!proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo} returns this
109163
+ * @return {!proto.com.lansweeper.dp.outbound.v1.Printer} returns this
109961
109164
  */
109962
- proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo.prototype.setSerialNumber = function(value) {
109165
+ proto.com.lansweeper.dp.outbound.v1.Printer.prototype.setSerialNumber = function(value) {
109963
109166
  return jspb.Message.setField(this, 6, value);
109964
109167
  };
109965
109168
 
109966
109169
 
109967
109170
  /**
109968
109171
  * Clears the field making it undefined.
109969
- * @return {!proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo} returns this
109172
+ * @return {!proto.com.lansweeper.dp.outbound.v1.Printer} returns this
109970
109173
  */
109971
- proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo.prototype.clearSerialNumber = function() {
109174
+ proto.com.lansweeper.dp.outbound.v1.Printer.prototype.clearSerialNumber = function() {
109972
109175
  return jspb.Message.setField(this, 6, undefined);
109973
109176
  };
109974
109177
 
@@ -109977,46 +109180,46 @@ proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo.prototype.clearSerialNumber
109977
109180
  * Returns whether this field is set.
109978
109181
  * @return {boolean}
109979
109182
  */
109980
- proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo.prototype.hasSerialNumber = function() {
109183
+ proto.com.lansweeper.dp.outbound.v1.Printer.prototype.hasSerialNumber = function() {
109981
109184
  return jspb.Message.getField(this, 6) != null;
109982
109185
  };
109983
109186
 
109984
109187
 
109985
109188
  /**
109986
- * repeated SnmpPrinterTonerInfo toners = 7;
109987
- * @return {!Array<!proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo>}
109189
+ * repeated PrinterTonerInfo toner = 7;
109190
+ * @return {!Array<!proto.com.lansweeper.dp.outbound.v1.PrinterTonerInfo>}
109988
109191
  */
109989
- proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo.prototype.getTonersList = function() {
109990
- return /** @type{!Array<!proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo>} */ (
109991
- jspb.Message.getRepeatedWrapperField(this, proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo, 7));
109192
+ proto.com.lansweeper.dp.outbound.v1.Printer.prototype.getTonerList = function() {
109193
+ return /** @type{!Array<!proto.com.lansweeper.dp.outbound.v1.PrinterTonerInfo>} */ (
109194
+ jspb.Message.getRepeatedWrapperField(this, proto.com.lansweeper.dp.outbound.v1.PrinterTonerInfo, 7));
109992
109195
  };
109993
109196
 
109994
109197
 
109995
109198
  /**
109996
- * @param {!Array<!proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo>} value
109997
- * @return {!proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo} returns this
109199
+ * @param {!Array<!proto.com.lansweeper.dp.outbound.v1.PrinterTonerInfo>} value
109200
+ * @return {!proto.com.lansweeper.dp.outbound.v1.Printer} returns this
109998
109201
  */
109999
- proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo.prototype.setTonersList = function(value) {
109202
+ proto.com.lansweeper.dp.outbound.v1.Printer.prototype.setTonerList = function(value) {
110000
109203
  return jspb.Message.setRepeatedWrapperField(this, 7, value);
110001
109204
  };
110002
109205
 
110003
109206
 
110004
109207
  /**
110005
- * @param {!proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo=} opt_value
109208
+ * @param {!proto.com.lansweeper.dp.outbound.v1.PrinterTonerInfo=} opt_value
110006
109209
  * @param {number=} opt_index
110007
- * @return {!proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo}
109210
+ * @return {!proto.com.lansweeper.dp.outbound.v1.PrinterTonerInfo}
110008
109211
  */
110009
- proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo.prototype.addToners = function(opt_value, opt_index) {
110010
- return jspb.Message.addToRepeatedWrapperField(this, 7, opt_value, proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo, opt_index);
109212
+ proto.com.lansweeper.dp.outbound.v1.Printer.prototype.addToner = function(opt_value, opt_index) {
109213
+ return jspb.Message.addToRepeatedWrapperField(this, 7, opt_value, proto.com.lansweeper.dp.outbound.v1.PrinterTonerInfo, opt_index);
110011
109214
  };
110012
109215
 
110013
109216
 
110014
109217
  /**
110015
109218
  * Clears the list making it empty but non-null.
110016
- * @return {!proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo} returns this
109219
+ * @return {!proto.com.lansweeper.dp.outbound.v1.Printer} returns this
110017
109220
  */
110018
- proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo.prototype.clearTonersList = function() {
110019
- return this.setTonersList([]);
109221
+ proto.com.lansweeper.dp.outbound.v1.Printer.prototype.clearTonerList = function() {
109222
+ return this.setTonerList([]);
110020
109223
  };
110021
109224
 
110022
109225
 
@@ -110036,8 +109239,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
110036
109239
  * http://goto/soy-param-migration
110037
109240
  * @return {!Object}
110038
109241
  */
110039
- proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo.prototype.toObject = function(opt_includeInstance) {
110040
- return proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo.toObject(opt_includeInstance, this);
109242
+ proto.com.lansweeper.dp.outbound.v1.PrinterTonerInfo.prototype.toObject = function(opt_includeInstance) {
109243
+ return proto.com.lansweeper.dp.outbound.v1.PrinterTonerInfo.toObject(opt_includeInstance, this);
110041
109244
  };
110042
109245
 
110043
109246
 
@@ -110046,15 +109249,15 @@ proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo.prototype.toObject = fu
110046
109249
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
110047
109250
  * the JSPB instance for transitional soy proto support:
110048
109251
  * http://goto/soy-param-migration
110049
- * @param {!proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo} msg The msg instance to transform.
109252
+ * @param {!proto.com.lansweeper.dp.outbound.v1.PrinterTonerInfo} msg The msg instance to transform.
110050
109253
  * @return {!Object}
110051
109254
  * @suppress {unusedLocalVariables} f is only used for nested messages
110052
109255
  */
110053
- proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo.toObject = function(includeInstance, msg) {
109256
+ proto.com.lansweeper.dp.outbound.v1.PrinterTonerInfo.toObject = function(includeInstance, msg) {
110054
109257
  var f, obj = {
110055
109258
  name: jspb.Message.getFieldWithDefault(msg, 1, ""),
110056
109259
  color: jspb.Message.getFieldWithDefault(msg, 2, ""),
110057
- colorNumber: jspb.Message.getFieldWithDefault(msg, 3, 0),
109260
+ colorNumber: (f = msg.getColorNumber()) && proto.com.lansweeper.dp.outbound.v1.MappedValue.toObject(includeInstance, f),
110058
109261
  maximumTonerLevel: jspb.Message.getFieldWithDefault(msg, 4, 0),
110059
109262
  number: jspb.Message.getFieldWithDefault(msg, 5, 0),
110060
109263
  remainingTonerLevel: jspb.Message.getFieldWithDefault(msg, 6, 0)
@@ -110071,23 +109274,23 @@ proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo.toObject = function(inc
110071
109274
  /**
110072
109275
  * Deserializes binary data (in protobuf wire format).
110073
109276
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
110074
- * @return {!proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo}
109277
+ * @return {!proto.com.lansweeper.dp.outbound.v1.PrinterTonerInfo}
110075
109278
  */
110076
- proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo.deserializeBinary = function(bytes) {
109279
+ proto.com.lansweeper.dp.outbound.v1.PrinterTonerInfo.deserializeBinary = function(bytes) {
110077
109280
  var reader = new jspb.BinaryReader(bytes);
110078
- var msg = new proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo;
110079
- return proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo.deserializeBinaryFromReader(msg, reader);
109281
+ var msg = new proto.com.lansweeper.dp.outbound.v1.PrinterTonerInfo;
109282
+ return proto.com.lansweeper.dp.outbound.v1.PrinterTonerInfo.deserializeBinaryFromReader(msg, reader);
110080
109283
  };
110081
109284
 
110082
109285
 
110083
109286
  /**
110084
109287
  * Deserializes binary data (in protobuf wire format) from the
110085
109288
  * given reader into the given message object.
110086
- * @param {!proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo} msg The message object to deserialize into.
109289
+ * @param {!proto.com.lansweeper.dp.outbound.v1.PrinterTonerInfo} msg The message object to deserialize into.
110087
109290
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
110088
- * @return {!proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo}
109291
+ * @return {!proto.com.lansweeper.dp.outbound.v1.PrinterTonerInfo}
110089
109292
  */
110090
- proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo.deserializeBinaryFromReader = function(msg, reader) {
109293
+ proto.com.lansweeper.dp.outbound.v1.PrinterTonerInfo.deserializeBinaryFromReader = function(msg, reader) {
110091
109294
  while (reader.nextField()) {
110092
109295
  if (reader.isEndGroup()) {
110093
109296
  break;
@@ -110103,19 +109306,20 @@ proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo.deserializeBinaryFromRe
110103
109306
  msg.setColor(value);
110104
109307
  break;
110105
109308
  case 3:
110106
- var value = /** @type {number} */ (reader.readInt32());
109309
+ var value = new proto.com.lansweeper.dp.outbound.v1.MappedValue;
109310
+ reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.MappedValue.deserializeBinaryFromReader);
110107
109311
  msg.setColorNumber(value);
110108
109312
  break;
110109
109313
  case 4:
110110
- var value = /** @type {number} */ (reader.readInt32());
109314
+ var value = /** @type {number} */ (reader.readInt64());
110111
109315
  msg.setMaximumTonerLevel(value);
110112
109316
  break;
110113
109317
  case 5:
110114
- var value = /** @type {number} */ (reader.readInt32());
109318
+ var value = /** @type {number} */ (reader.readInt64());
110115
109319
  msg.setNumber(value);
110116
109320
  break;
110117
109321
  case 6:
110118
- var value = /** @type {number} */ (reader.readInt32());
109322
+ var value = /** @type {number} */ (reader.readInt64());
110119
109323
  msg.setRemainingTonerLevel(value);
110120
109324
  break;
110121
109325
  default:
@@ -110131,9 +109335,9 @@ proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo.deserializeBinaryFromRe
110131
109335
  * Serializes the message to binary data (in protobuf wire format).
110132
109336
  * @return {!Uint8Array}
110133
109337
  */
110134
- proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo.prototype.serializeBinary = function() {
109338
+ proto.com.lansweeper.dp.outbound.v1.PrinterTonerInfo.prototype.serializeBinary = function() {
110135
109339
  var writer = new jspb.BinaryWriter();
110136
- proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo.serializeBinaryToWriter(this, writer);
109340
+ proto.com.lansweeper.dp.outbound.v1.PrinterTonerInfo.serializeBinaryToWriter(this, writer);
110137
109341
  return writer.getResultBuffer();
110138
109342
  };
110139
109343
 
@@ -110141,11 +109345,11 @@ proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo.prototype.serializeBina
110141
109345
  /**
110142
109346
  * Serializes the given message to binary data (in protobuf wire
110143
109347
  * format), writing to the given BinaryWriter.
110144
- * @param {!proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo} message
109348
+ * @param {!proto.com.lansweeper.dp.outbound.v1.PrinterTonerInfo} message
110145
109349
  * @param {!jspb.BinaryWriter} writer
110146
109350
  * @suppress {unusedLocalVariables} f is only used for nested messages
110147
109351
  */
110148
- proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo.serializeBinaryToWriter = function(message, writer) {
109352
+ proto.com.lansweeper.dp.outbound.v1.PrinterTonerInfo.serializeBinaryToWriter = function(message, writer) {
110149
109353
  var f = undefined;
110150
109354
  f = /** @type {string} */ (jspb.Message.getField(message, 1));
110151
109355
  if (f != null) {
@@ -110161,30 +109365,31 @@ proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo.serializeBinaryToWriter
110161
109365
  f
110162
109366
  );
110163
109367
  }
110164
- f = /** @type {number} */ (jspb.Message.getField(message, 3));
109368
+ f = message.getColorNumber();
110165
109369
  if (f != null) {
110166
- writer.writeInt32(
109370
+ writer.writeMessage(
110167
109371
  3,
110168
- f
109372
+ f,
109373
+ proto.com.lansweeper.dp.outbound.v1.MappedValue.serializeBinaryToWriter
110169
109374
  );
110170
109375
  }
110171
109376
  f = /** @type {number} */ (jspb.Message.getField(message, 4));
110172
109377
  if (f != null) {
110173
- writer.writeInt32(
109378
+ writer.writeInt64(
110174
109379
  4,
110175
109380
  f
110176
109381
  );
110177
109382
  }
110178
109383
  f = /** @type {number} */ (jspb.Message.getField(message, 5));
110179
109384
  if (f != null) {
110180
- writer.writeInt32(
109385
+ writer.writeInt64(
110181
109386
  5,
110182
109387
  f
110183
109388
  );
110184
109389
  }
110185
109390
  f = /** @type {number} */ (jspb.Message.getField(message, 6));
110186
109391
  if (f != null) {
110187
- writer.writeInt32(
109392
+ writer.writeInt64(
110188
109393
  6,
110189
109394
  f
110190
109395
  );
@@ -110196,25 +109401,25 @@ proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo.serializeBinaryToWriter
110196
109401
  * optional string name = 1;
110197
109402
  * @return {string}
110198
109403
  */
110199
- proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo.prototype.getName = function() {
109404
+ proto.com.lansweeper.dp.outbound.v1.PrinterTonerInfo.prototype.getName = function() {
110200
109405
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
110201
109406
  };
110202
109407
 
110203
109408
 
110204
109409
  /**
110205
109410
  * @param {string} value
110206
- * @return {!proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo} returns this
109411
+ * @return {!proto.com.lansweeper.dp.outbound.v1.PrinterTonerInfo} returns this
110207
109412
  */
110208
- proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo.prototype.setName = function(value) {
109413
+ proto.com.lansweeper.dp.outbound.v1.PrinterTonerInfo.prototype.setName = function(value) {
110209
109414
  return jspb.Message.setField(this, 1, value);
110210
109415
  };
110211
109416
 
110212
109417
 
110213
109418
  /**
110214
109419
  * Clears the field making it undefined.
110215
- * @return {!proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo} returns this
109420
+ * @return {!proto.com.lansweeper.dp.outbound.v1.PrinterTonerInfo} returns this
110216
109421
  */
110217
- proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo.prototype.clearName = function() {
109422
+ proto.com.lansweeper.dp.outbound.v1.PrinterTonerInfo.prototype.clearName = function() {
110218
109423
  return jspb.Message.setField(this, 1, undefined);
110219
109424
  };
110220
109425
 
@@ -110223,7 +109428,7 @@ proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo.prototype.clearName = f
110223
109428
  * Returns whether this field is set.
110224
109429
  * @return {boolean}
110225
109430
  */
110226
- proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo.prototype.hasName = function() {
109431
+ proto.com.lansweeper.dp.outbound.v1.PrinterTonerInfo.prototype.hasName = function() {
110227
109432
  return jspb.Message.getField(this, 1) != null;
110228
109433
  };
110229
109434
 
@@ -110232,25 +109437,25 @@ proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo.prototype.hasName = fun
110232
109437
  * optional string color = 2;
110233
109438
  * @return {string}
110234
109439
  */
110235
- proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo.prototype.getColor = function() {
109440
+ proto.com.lansweeper.dp.outbound.v1.PrinterTonerInfo.prototype.getColor = function() {
110236
109441
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
110237
109442
  };
110238
109443
 
110239
109444
 
110240
109445
  /**
110241
109446
  * @param {string} value
110242
- * @return {!proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo} returns this
109447
+ * @return {!proto.com.lansweeper.dp.outbound.v1.PrinterTonerInfo} returns this
110243
109448
  */
110244
- proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo.prototype.setColor = function(value) {
109449
+ proto.com.lansweeper.dp.outbound.v1.PrinterTonerInfo.prototype.setColor = function(value) {
110245
109450
  return jspb.Message.setField(this, 2, value);
110246
109451
  };
110247
109452
 
110248
109453
 
110249
109454
  /**
110250
109455
  * Clears the field making it undefined.
110251
- * @return {!proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo} returns this
109456
+ * @return {!proto.com.lansweeper.dp.outbound.v1.PrinterTonerInfo} returns this
110252
109457
  */
110253
- proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo.prototype.clearColor = function() {
109458
+ proto.com.lansweeper.dp.outbound.v1.PrinterTonerInfo.prototype.clearColor = function() {
110254
109459
  return jspb.Message.setField(this, 2, undefined);
110255
109460
  };
110256
109461
 
@@ -110259,35 +109464,36 @@ proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo.prototype.clearColor =
110259
109464
  * Returns whether this field is set.
110260
109465
  * @return {boolean}
110261
109466
  */
110262
- proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo.prototype.hasColor = function() {
109467
+ proto.com.lansweeper.dp.outbound.v1.PrinterTonerInfo.prototype.hasColor = function() {
110263
109468
  return jspb.Message.getField(this, 2) != null;
110264
109469
  };
110265
109470
 
110266
109471
 
110267
109472
  /**
110268
- * optional int32 color_number = 3;
110269
- * @return {number}
109473
+ * optional MappedValue color_number = 3;
109474
+ * @return {?proto.com.lansweeper.dp.outbound.v1.MappedValue}
110270
109475
  */
110271
- proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo.prototype.getColorNumber = function() {
110272
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
109476
+ proto.com.lansweeper.dp.outbound.v1.PrinterTonerInfo.prototype.getColorNumber = function() {
109477
+ return /** @type{?proto.com.lansweeper.dp.outbound.v1.MappedValue} */ (
109478
+ jspb.Message.getWrapperField(this, proto.com.lansweeper.dp.outbound.v1.MappedValue, 3));
110273
109479
  };
110274
109480
 
110275
109481
 
110276
109482
  /**
110277
- * @param {number} value
110278
- * @return {!proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo} returns this
110279
- */
110280
- proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo.prototype.setColorNumber = function(value) {
110281
- return jspb.Message.setField(this, 3, value);
109483
+ * @param {?proto.com.lansweeper.dp.outbound.v1.MappedValue|undefined} value
109484
+ * @return {!proto.com.lansweeper.dp.outbound.v1.PrinterTonerInfo} returns this
109485
+ */
109486
+ proto.com.lansweeper.dp.outbound.v1.PrinterTonerInfo.prototype.setColorNumber = function(value) {
109487
+ return jspb.Message.setWrapperField(this, 3, value);
110282
109488
  };
110283
109489
 
110284
109490
 
110285
109491
  /**
110286
- * Clears the field making it undefined.
110287
- * @return {!proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo} returns this
109492
+ * Clears the message field making it undefined.
109493
+ * @return {!proto.com.lansweeper.dp.outbound.v1.PrinterTonerInfo} returns this
110288
109494
  */
110289
- proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo.prototype.clearColorNumber = function() {
110290
- return jspb.Message.setField(this, 3, undefined);
109495
+ proto.com.lansweeper.dp.outbound.v1.PrinterTonerInfo.prototype.clearColorNumber = function() {
109496
+ return this.setColorNumber(undefined);
110291
109497
  };
110292
109498
 
110293
109499
 
@@ -110295,34 +109501,34 @@ proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo.prototype.clearColorNum
110295
109501
  * Returns whether this field is set.
110296
109502
  * @return {boolean}
110297
109503
  */
110298
- proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo.prototype.hasColorNumber = function() {
109504
+ proto.com.lansweeper.dp.outbound.v1.PrinterTonerInfo.prototype.hasColorNumber = function() {
110299
109505
  return jspb.Message.getField(this, 3) != null;
110300
109506
  };
110301
109507
 
110302
109508
 
110303
109509
  /**
110304
- * optional int32 maximum_toner_level = 4;
109510
+ * optional int64 maximum_toner_level = 4;
110305
109511
  * @return {number}
110306
109512
  */
110307
- proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo.prototype.getMaximumTonerLevel = function() {
109513
+ proto.com.lansweeper.dp.outbound.v1.PrinterTonerInfo.prototype.getMaximumTonerLevel = function() {
110308
109514
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
110309
109515
  };
110310
109516
 
110311
109517
 
110312
109518
  /**
110313
109519
  * @param {number} value
110314
- * @return {!proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo} returns this
109520
+ * @return {!proto.com.lansweeper.dp.outbound.v1.PrinterTonerInfo} returns this
110315
109521
  */
110316
- proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo.prototype.setMaximumTonerLevel = function(value) {
109522
+ proto.com.lansweeper.dp.outbound.v1.PrinterTonerInfo.prototype.setMaximumTonerLevel = function(value) {
110317
109523
  return jspb.Message.setField(this, 4, value);
110318
109524
  };
110319
109525
 
110320
109526
 
110321
109527
  /**
110322
109528
  * Clears the field making it undefined.
110323
- * @return {!proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo} returns this
109529
+ * @return {!proto.com.lansweeper.dp.outbound.v1.PrinterTonerInfo} returns this
110324
109530
  */
110325
- proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo.prototype.clearMaximumTonerLevel = function() {
109531
+ proto.com.lansweeper.dp.outbound.v1.PrinterTonerInfo.prototype.clearMaximumTonerLevel = function() {
110326
109532
  return jspb.Message.setField(this, 4, undefined);
110327
109533
  };
110328
109534
 
@@ -110331,34 +109537,34 @@ proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo.prototype.clearMaximumT
110331
109537
  * Returns whether this field is set.
110332
109538
  * @return {boolean}
110333
109539
  */
110334
- proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo.prototype.hasMaximumTonerLevel = function() {
109540
+ proto.com.lansweeper.dp.outbound.v1.PrinterTonerInfo.prototype.hasMaximumTonerLevel = function() {
110335
109541
  return jspb.Message.getField(this, 4) != null;
110336
109542
  };
110337
109543
 
110338
109544
 
110339
109545
  /**
110340
- * optional int32 number = 5;
109546
+ * optional int64 number = 5;
110341
109547
  * @return {number}
110342
109548
  */
110343
- proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo.prototype.getNumber = function() {
109549
+ proto.com.lansweeper.dp.outbound.v1.PrinterTonerInfo.prototype.getNumber = function() {
110344
109550
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
110345
109551
  };
110346
109552
 
110347
109553
 
110348
109554
  /**
110349
109555
  * @param {number} value
110350
- * @return {!proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo} returns this
109556
+ * @return {!proto.com.lansweeper.dp.outbound.v1.PrinterTonerInfo} returns this
110351
109557
  */
110352
- proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo.prototype.setNumber = function(value) {
109558
+ proto.com.lansweeper.dp.outbound.v1.PrinterTonerInfo.prototype.setNumber = function(value) {
110353
109559
  return jspb.Message.setField(this, 5, value);
110354
109560
  };
110355
109561
 
110356
109562
 
110357
109563
  /**
110358
109564
  * Clears the field making it undefined.
110359
- * @return {!proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo} returns this
109565
+ * @return {!proto.com.lansweeper.dp.outbound.v1.PrinterTonerInfo} returns this
110360
109566
  */
110361
- proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo.prototype.clearNumber = function() {
109567
+ proto.com.lansweeper.dp.outbound.v1.PrinterTonerInfo.prototype.clearNumber = function() {
110362
109568
  return jspb.Message.setField(this, 5, undefined);
110363
109569
  };
110364
109570
 
@@ -110367,34 +109573,34 @@ proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo.prototype.clearNumber =
110367
109573
  * Returns whether this field is set.
110368
109574
  * @return {boolean}
110369
109575
  */
110370
- proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo.prototype.hasNumber = function() {
109576
+ proto.com.lansweeper.dp.outbound.v1.PrinterTonerInfo.prototype.hasNumber = function() {
110371
109577
  return jspb.Message.getField(this, 5) != null;
110372
109578
  };
110373
109579
 
110374
109580
 
110375
109581
  /**
110376
- * optional int32 remaining_toner_level = 6;
109582
+ * optional int64 remaining_toner_level = 6;
110377
109583
  * @return {number}
110378
109584
  */
110379
- proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo.prototype.getRemainingTonerLevel = function() {
109585
+ proto.com.lansweeper.dp.outbound.v1.PrinterTonerInfo.prototype.getRemainingTonerLevel = function() {
110380
109586
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
110381
109587
  };
110382
109588
 
110383
109589
 
110384
109590
  /**
110385
109591
  * @param {number} value
110386
- * @return {!proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo} returns this
109592
+ * @return {!proto.com.lansweeper.dp.outbound.v1.PrinterTonerInfo} returns this
110387
109593
  */
110388
- proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo.prototype.setRemainingTonerLevel = function(value) {
109594
+ proto.com.lansweeper.dp.outbound.v1.PrinterTonerInfo.prototype.setRemainingTonerLevel = function(value) {
110389
109595
  return jspb.Message.setField(this, 6, value);
110390
109596
  };
110391
109597
 
110392
109598
 
110393
109599
  /**
110394
109600
  * Clears the field making it undefined.
110395
- * @return {!proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo} returns this
109601
+ * @return {!proto.com.lansweeper.dp.outbound.v1.PrinterTonerInfo} returns this
110396
109602
  */
110397
- proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo.prototype.clearRemainingTonerLevel = function() {
109603
+ proto.com.lansweeper.dp.outbound.v1.PrinterTonerInfo.prototype.clearRemainingTonerLevel = function() {
110398
109604
  return jspb.Message.setField(this, 6, undefined);
110399
109605
  };
110400
109606
 
@@ -110403,7 +109609,7 @@ proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo.prototype.clearRemainin
110403
109609
  * Returns whether this field is set.
110404
109610
  * @return {boolean}
110405
109611
  */
110406
- proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo.prototype.hasRemainingTonerLevel = function() {
109612
+ proto.com.lansweeper.dp.outbound.v1.PrinterTonerInfo.prototype.hasRemainingTonerLevel = function() {
110407
109613
  return jspb.Message.getField(this, 6) != null;
110408
109614
  };
110409
109615
 
@@ -110424,8 +109630,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
110424
109630
  * http://goto/soy-param-migration
110425
109631
  * @return {!Object}
110426
109632
  */
110427
- proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.toObject = function(opt_includeInstance) {
110428
- return proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.toObject(opt_includeInstance, this);
109633
+ proto.com.lansweeper.dp.outbound.v1.Ups.prototype.toObject = function(opt_includeInstance) {
109634
+ return proto.com.lansweeper.dp.outbound.v1.Ups.toObject(opt_includeInstance, this);
110429
109635
  };
110430
109636
 
110431
109637
 
@@ -110434,11 +109640,11 @@ proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.toObject = function(op
110434
109640
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
110435
109641
  * the JSPB instance for transitional soy proto support:
110436
109642
  * http://goto/soy-param-migration
110437
- * @param {!proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo} msg The msg instance to transform.
109643
+ * @param {!proto.com.lansweeper.dp.outbound.v1.Ups} msg The msg instance to transform.
110438
109644
  * @return {!Object}
110439
109645
  * @suppress {unusedLocalVariables} f is only used for nested messages
110440
109646
  */
110441
- proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.toObject = function(includeInstance, msg) {
109647
+ proto.com.lansweeper.dp.outbound.v1.Ups.toObject = function(includeInstance, msg) {
110442
109648
  var f, obj = {
110443
109649
  manufacturer: jspb.Message.getFieldWithDefault(msg, 1, ""),
110444
109650
  model: jspb.Message.getFieldWithDefault(msg, 2, ""),
@@ -110446,14 +109652,14 @@ proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.toObject = function(includeInsta
110446
109652
  agentSoftwareVersion: jspb.Message.getFieldWithDefault(msg, 4, ""),
110447
109653
  name: jspb.Message.getFieldWithDefault(msg, 5, ""),
110448
109654
  attachedDevices: jspb.Message.getFieldWithDefault(msg, 6, ""),
110449
- batteryStatus: jspb.Message.getFieldWithDefault(msg, 7, ""),
110450
- secondsOnBattery: jspb.Message.getFieldWithDefault(msg, 8, ""),
110451
- estimatedMinutesRemaining: jspb.Message.getFieldWithDefault(msg, 9, ""),
110452
- estimatedChargeRemaining: jspb.Message.getFieldWithDefault(msg, 10, ""),
110453
- batteryVoltage: jspb.Message.getFieldWithDefault(msg, 11, ""),
110454
- batteryCurrent: jspb.Message.getFieldWithDefault(msg, 12, ""),
110455
- batteryTemperature: jspb.Message.getFieldWithDefault(msg, 13, ""),
110456
- alarmsPresent: jspb.Message.getFieldWithDefault(msg, 14, "")
109655
+ batteryStatus: jspb.Message.getFieldWithDefault(msg, 7, 0),
109656
+ secondsOnBattery: jspb.Message.getFieldWithDefault(msg, 8, 0),
109657
+ estimatedMinutesRemaining: jspb.Message.getFieldWithDefault(msg, 9, 0),
109658
+ estimatedChargeRemaining: jspb.Message.getFieldWithDefault(msg, 10, 0),
109659
+ batteryVoltage: jspb.Message.getFieldWithDefault(msg, 11, 0),
109660
+ batteryCurrent: jspb.Message.getFieldWithDefault(msg, 12, 0),
109661
+ batteryTemperature: jspb.Message.getFieldWithDefault(msg, 13, 0),
109662
+ alarmsPresent: jspb.Message.getFieldWithDefault(msg, 14, 0)
110457
109663
  };
110458
109664
 
110459
109665
  if (includeInstance) {
@@ -110467,23 +109673,23 @@ proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.toObject = function(includeInsta
110467
109673
  /**
110468
109674
  * Deserializes binary data (in protobuf wire format).
110469
109675
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
110470
- * @return {!proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo}
109676
+ * @return {!proto.com.lansweeper.dp.outbound.v1.Ups}
110471
109677
  */
110472
- proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.deserializeBinary = function(bytes) {
109678
+ proto.com.lansweeper.dp.outbound.v1.Ups.deserializeBinary = function(bytes) {
110473
109679
  var reader = new jspb.BinaryReader(bytes);
110474
- var msg = new proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo;
110475
- return proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.deserializeBinaryFromReader(msg, reader);
109680
+ var msg = new proto.com.lansweeper.dp.outbound.v1.Ups;
109681
+ return proto.com.lansweeper.dp.outbound.v1.Ups.deserializeBinaryFromReader(msg, reader);
110476
109682
  };
110477
109683
 
110478
109684
 
110479
109685
  /**
110480
109686
  * Deserializes binary data (in protobuf wire format) from the
110481
109687
  * given reader into the given message object.
110482
- * @param {!proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo} msg The message object to deserialize into.
109688
+ * @param {!proto.com.lansweeper.dp.outbound.v1.Ups} msg The message object to deserialize into.
110483
109689
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
110484
- * @return {!proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo}
109690
+ * @return {!proto.com.lansweeper.dp.outbound.v1.Ups}
110485
109691
  */
110486
- proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.deserializeBinaryFromReader = function(msg, reader) {
109692
+ proto.com.lansweeper.dp.outbound.v1.Ups.deserializeBinaryFromReader = function(msg, reader) {
110487
109693
  while (reader.nextField()) {
110488
109694
  if (reader.isEndGroup()) {
110489
109695
  break;
@@ -110515,35 +109721,35 @@ proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.deserializeBinaryFromReader = fu
110515
109721
  msg.setAttachedDevices(value);
110516
109722
  break;
110517
109723
  case 7:
110518
- var value = /** @type {string} */ (reader.readString());
109724
+ var value = /** @type {number} */ (reader.readInt64());
110519
109725
  msg.setBatteryStatus(value);
110520
109726
  break;
110521
109727
  case 8:
110522
- var value = /** @type {string} */ (reader.readString());
109728
+ var value = /** @type {number} */ (reader.readInt64());
110523
109729
  msg.setSecondsOnBattery(value);
110524
109730
  break;
110525
109731
  case 9:
110526
- var value = /** @type {string} */ (reader.readString());
109732
+ var value = /** @type {number} */ (reader.readInt64());
110527
109733
  msg.setEstimatedMinutesRemaining(value);
110528
109734
  break;
110529
109735
  case 10:
110530
- var value = /** @type {string} */ (reader.readString());
109736
+ var value = /** @type {number} */ (reader.readInt64());
110531
109737
  msg.setEstimatedChargeRemaining(value);
110532
109738
  break;
110533
109739
  case 11:
110534
- var value = /** @type {string} */ (reader.readString());
109740
+ var value = /** @type {number} */ (reader.readInt64());
110535
109741
  msg.setBatteryVoltage(value);
110536
109742
  break;
110537
109743
  case 12:
110538
- var value = /** @type {string} */ (reader.readString());
109744
+ var value = /** @type {number} */ (reader.readInt64());
110539
109745
  msg.setBatteryCurrent(value);
110540
109746
  break;
110541
109747
  case 13:
110542
- var value = /** @type {string} */ (reader.readString());
109748
+ var value = /** @type {number} */ (reader.readInt64());
110543
109749
  msg.setBatteryTemperature(value);
110544
109750
  break;
110545
109751
  case 14:
110546
- var value = /** @type {string} */ (reader.readString());
109752
+ var value = /** @type {number} */ (reader.readInt64());
110547
109753
  msg.setAlarmsPresent(value);
110548
109754
  break;
110549
109755
  default:
@@ -110559,9 +109765,9 @@ proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.deserializeBinaryFromReader = fu
110559
109765
  * Serializes the message to binary data (in protobuf wire format).
110560
109766
  * @return {!Uint8Array}
110561
109767
  */
110562
- proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.serializeBinary = function() {
109768
+ proto.com.lansweeper.dp.outbound.v1.Ups.prototype.serializeBinary = function() {
110563
109769
  var writer = new jspb.BinaryWriter();
110564
- proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.serializeBinaryToWriter(this, writer);
109770
+ proto.com.lansweeper.dp.outbound.v1.Ups.serializeBinaryToWriter(this, writer);
110565
109771
  return writer.getResultBuffer();
110566
109772
  };
110567
109773
 
@@ -110569,11 +109775,11 @@ proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.serializeBinary = func
110569
109775
  /**
110570
109776
  * Serializes the given message to binary data (in protobuf wire
110571
109777
  * format), writing to the given BinaryWriter.
110572
- * @param {!proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo} message
109778
+ * @param {!proto.com.lansweeper.dp.outbound.v1.Ups} message
110573
109779
  * @param {!jspb.BinaryWriter} writer
110574
109780
  * @suppress {unusedLocalVariables} f is only used for nested messages
110575
109781
  */
110576
- proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.serializeBinaryToWriter = function(message, writer) {
109782
+ proto.com.lansweeper.dp.outbound.v1.Ups.serializeBinaryToWriter = function(message, writer) {
110577
109783
  var f = undefined;
110578
109784
  f = /** @type {string} */ (jspb.Message.getField(message, 1));
110579
109785
  if (f != null) {
@@ -110617,58 +109823,58 @@ proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.serializeBinaryToWriter = functi
110617
109823
  f
110618
109824
  );
110619
109825
  }
110620
- f = /** @type {string} */ (jspb.Message.getField(message, 7));
109826
+ f = /** @type {number} */ (jspb.Message.getField(message, 7));
110621
109827
  if (f != null) {
110622
- writer.writeString(
109828
+ writer.writeInt64(
110623
109829
  7,
110624
109830
  f
110625
109831
  );
110626
109832
  }
110627
- f = /** @type {string} */ (jspb.Message.getField(message, 8));
109833
+ f = /** @type {number} */ (jspb.Message.getField(message, 8));
110628
109834
  if (f != null) {
110629
- writer.writeString(
109835
+ writer.writeInt64(
110630
109836
  8,
110631
109837
  f
110632
109838
  );
110633
109839
  }
110634
- f = /** @type {string} */ (jspb.Message.getField(message, 9));
109840
+ f = /** @type {number} */ (jspb.Message.getField(message, 9));
110635
109841
  if (f != null) {
110636
- writer.writeString(
109842
+ writer.writeInt64(
110637
109843
  9,
110638
109844
  f
110639
109845
  );
110640
109846
  }
110641
- f = /** @type {string} */ (jspb.Message.getField(message, 10));
109847
+ f = /** @type {number} */ (jspb.Message.getField(message, 10));
110642
109848
  if (f != null) {
110643
- writer.writeString(
109849
+ writer.writeInt64(
110644
109850
  10,
110645
109851
  f
110646
109852
  );
110647
109853
  }
110648
- f = /** @type {string} */ (jspb.Message.getField(message, 11));
109854
+ f = /** @type {number} */ (jspb.Message.getField(message, 11));
110649
109855
  if (f != null) {
110650
- writer.writeString(
109856
+ writer.writeInt64(
110651
109857
  11,
110652
109858
  f
110653
109859
  );
110654
109860
  }
110655
- f = /** @type {string} */ (jspb.Message.getField(message, 12));
109861
+ f = /** @type {number} */ (jspb.Message.getField(message, 12));
110656
109862
  if (f != null) {
110657
- writer.writeString(
109863
+ writer.writeInt64(
110658
109864
  12,
110659
109865
  f
110660
109866
  );
110661
109867
  }
110662
- f = /** @type {string} */ (jspb.Message.getField(message, 13));
109868
+ f = /** @type {number} */ (jspb.Message.getField(message, 13));
110663
109869
  if (f != null) {
110664
- writer.writeString(
109870
+ writer.writeInt64(
110665
109871
  13,
110666
109872
  f
110667
109873
  );
110668
109874
  }
110669
- f = /** @type {string} */ (jspb.Message.getField(message, 14));
109875
+ f = /** @type {number} */ (jspb.Message.getField(message, 14));
110670
109876
  if (f != null) {
110671
- writer.writeString(
109877
+ writer.writeInt64(
110672
109878
  14,
110673
109879
  f
110674
109880
  );
@@ -110680,25 +109886,25 @@ proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.serializeBinaryToWriter = functi
110680
109886
  * optional string manufacturer = 1;
110681
109887
  * @return {string}
110682
109888
  */
110683
- proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.getManufacturer = function() {
109889
+ proto.com.lansweeper.dp.outbound.v1.Ups.prototype.getManufacturer = function() {
110684
109890
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
110685
109891
  };
110686
109892
 
110687
109893
 
110688
109894
  /**
110689
109895
  * @param {string} value
110690
- * @return {!proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo} returns this
109896
+ * @return {!proto.com.lansweeper.dp.outbound.v1.Ups} returns this
110691
109897
  */
110692
- proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.setManufacturer = function(value) {
109898
+ proto.com.lansweeper.dp.outbound.v1.Ups.prototype.setManufacturer = function(value) {
110693
109899
  return jspb.Message.setField(this, 1, value);
110694
109900
  };
110695
109901
 
110696
109902
 
110697
109903
  /**
110698
109904
  * Clears the field making it undefined.
110699
- * @return {!proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo} returns this
109905
+ * @return {!proto.com.lansweeper.dp.outbound.v1.Ups} returns this
110700
109906
  */
110701
- proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.clearManufacturer = function() {
109907
+ proto.com.lansweeper.dp.outbound.v1.Ups.prototype.clearManufacturer = function() {
110702
109908
  return jspb.Message.setField(this, 1, undefined);
110703
109909
  };
110704
109910
 
@@ -110707,7 +109913,7 @@ proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.clearManufacturer = fu
110707
109913
  * Returns whether this field is set.
110708
109914
  * @return {boolean}
110709
109915
  */
110710
- proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.hasManufacturer = function() {
109916
+ proto.com.lansweeper.dp.outbound.v1.Ups.prototype.hasManufacturer = function() {
110711
109917
  return jspb.Message.getField(this, 1) != null;
110712
109918
  };
110713
109919
 
@@ -110716,25 +109922,25 @@ proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.hasManufacturer = func
110716
109922
  * optional string model = 2;
110717
109923
  * @return {string}
110718
109924
  */
110719
- proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.getModel = function() {
109925
+ proto.com.lansweeper.dp.outbound.v1.Ups.prototype.getModel = function() {
110720
109926
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
110721
109927
  };
110722
109928
 
110723
109929
 
110724
109930
  /**
110725
109931
  * @param {string} value
110726
- * @return {!proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo} returns this
109932
+ * @return {!proto.com.lansweeper.dp.outbound.v1.Ups} returns this
110727
109933
  */
110728
- proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.setModel = function(value) {
109934
+ proto.com.lansweeper.dp.outbound.v1.Ups.prototype.setModel = function(value) {
110729
109935
  return jspb.Message.setField(this, 2, value);
110730
109936
  };
110731
109937
 
110732
109938
 
110733
109939
  /**
110734
109940
  * Clears the field making it undefined.
110735
- * @return {!proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo} returns this
109941
+ * @return {!proto.com.lansweeper.dp.outbound.v1.Ups} returns this
110736
109942
  */
110737
- proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.clearModel = function() {
109943
+ proto.com.lansweeper.dp.outbound.v1.Ups.prototype.clearModel = function() {
110738
109944
  return jspb.Message.setField(this, 2, undefined);
110739
109945
  };
110740
109946
 
@@ -110743,7 +109949,7 @@ proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.clearModel = function(
110743
109949
  * Returns whether this field is set.
110744
109950
  * @return {boolean}
110745
109951
  */
110746
- proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.hasModel = function() {
109952
+ proto.com.lansweeper.dp.outbound.v1.Ups.prototype.hasModel = function() {
110747
109953
  return jspb.Message.getField(this, 2) != null;
110748
109954
  };
110749
109955
 
@@ -110752,25 +109958,25 @@ proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.hasModel = function()
110752
109958
  * optional string ups_software_version = 3;
110753
109959
  * @return {string}
110754
109960
  */
110755
- proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.getUpsSoftwareVersion = function() {
109961
+ proto.com.lansweeper.dp.outbound.v1.Ups.prototype.getUpsSoftwareVersion = function() {
110756
109962
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
110757
109963
  };
110758
109964
 
110759
109965
 
110760
109966
  /**
110761
109967
  * @param {string} value
110762
- * @return {!proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo} returns this
109968
+ * @return {!proto.com.lansweeper.dp.outbound.v1.Ups} returns this
110763
109969
  */
110764
- proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.setUpsSoftwareVersion = function(value) {
109970
+ proto.com.lansweeper.dp.outbound.v1.Ups.prototype.setUpsSoftwareVersion = function(value) {
110765
109971
  return jspb.Message.setField(this, 3, value);
110766
109972
  };
110767
109973
 
110768
109974
 
110769
109975
  /**
110770
109976
  * Clears the field making it undefined.
110771
- * @return {!proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo} returns this
109977
+ * @return {!proto.com.lansweeper.dp.outbound.v1.Ups} returns this
110772
109978
  */
110773
- proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.clearUpsSoftwareVersion = function() {
109979
+ proto.com.lansweeper.dp.outbound.v1.Ups.prototype.clearUpsSoftwareVersion = function() {
110774
109980
  return jspb.Message.setField(this, 3, undefined);
110775
109981
  };
110776
109982
 
@@ -110779,7 +109985,7 @@ proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.clearUpsSoftwareVersio
110779
109985
  * Returns whether this field is set.
110780
109986
  * @return {boolean}
110781
109987
  */
110782
- proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.hasUpsSoftwareVersion = function() {
109988
+ proto.com.lansweeper.dp.outbound.v1.Ups.prototype.hasUpsSoftwareVersion = function() {
110783
109989
  return jspb.Message.getField(this, 3) != null;
110784
109990
  };
110785
109991
 
@@ -110788,25 +109994,25 @@ proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.hasUpsSoftwareVersion
110788
109994
  * optional string agent_software_version = 4;
110789
109995
  * @return {string}
110790
109996
  */
110791
- proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.getAgentSoftwareVersion = function() {
109997
+ proto.com.lansweeper.dp.outbound.v1.Ups.prototype.getAgentSoftwareVersion = function() {
110792
109998
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
110793
109999
  };
110794
110000
 
110795
110001
 
110796
110002
  /**
110797
110003
  * @param {string} value
110798
- * @return {!proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo} returns this
110004
+ * @return {!proto.com.lansweeper.dp.outbound.v1.Ups} returns this
110799
110005
  */
110800
- proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.setAgentSoftwareVersion = function(value) {
110006
+ proto.com.lansweeper.dp.outbound.v1.Ups.prototype.setAgentSoftwareVersion = function(value) {
110801
110007
  return jspb.Message.setField(this, 4, value);
110802
110008
  };
110803
110009
 
110804
110010
 
110805
110011
  /**
110806
110012
  * Clears the field making it undefined.
110807
- * @return {!proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo} returns this
110013
+ * @return {!proto.com.lansweeper.dp.outbound.v1.Ups} returns this
110808
110014
  */
110809
- proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.clearAgentSoftwareVersion = function() {
110015
+ proto.com.lansweeper.dp.outbound.v1.Ups.prototype.clearAgentSoftwareVersion = function() {
110810
110016
  return jspb.Message.setField(this, 4, undefined);
110811
110017
  };
110812
110018
 
@@ -110815,7 +110021,7 @@ proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.clearAgentSoftwareVers
110815
110021
  * Returns whether this field is set.
110816
110022
  * @return {boolean}
110817
110023
  */
110818
- proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.hasAgentSoftwareVersion = function() {
110024
+ proto.com.lansweeper.dp.outbound.v1.Ups.prototype.hasAgentSoftwareVersion = function() {
110819
110025
  return jspb.Message.getField(this, 4) != null;
110820
110026
  };
110821
110027
 
@@ -110824,25 +110030,25 @@ proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.hasAgentSoftwareVersio
110824
110030
  * optional string name = 5;
110825
110031
  * @return {string}
110826
110032
  */
110827
- proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.getName = function() {
110033
+ proto.com.lansweeper.dp.outbound.v1.Ups.prototype.getName = function() {
110828
110034
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
110829
110035
  };
110830
110036
 
110831
110037
 
110832
110038
  /**
110833
110039
  * @param {string} value
110834
- * @return {!proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo} returns this
110040
+ * @return {!proto.com.lansweeper.dp.outbound.v1.Ups} returns this
110835
110041
  */
110836
- proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.setName = function(value) {
110042
+ proto.com.lansweeper.dp.outbound.v1.Ups.prototype.setName = function(value) {
110837
110043
  return jspb.Message.setField(this, 5, value);
110838
110044
  };
110839
110045
 
110840
110046
 
110841
110047
  /**
110842
110048
  * Clears the field making it undefined.
110843
- * @return {!proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo} returns this
110049
+ * @return {!proto.com.lansweeper.dp.outbound.v1.Ups} returns this
110844
110050
  */
110845
- proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.clearName = function() {
110051
+ proto.com.lansweeper.dp.outbound.v1.Ups.prototype.clearName = function() {
110846
110052
  return jspb.Message.setField(this, 5, undefined);
110847
110053
  };
110848
110054
 
@@ -110851,7 +110057,7 @@ proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.clearName = function()
110851
110057
  * Returns whether this field is set.
110852
110058
  * @return {boolean}
110853
110059
  */
110854
- proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.hasName = function() {
110060
+ proto.com.lansweeper.dp.outbound.v1.Ups.prototype.hasName = function() {
110855
110061
  return jspb.Message.getField(this, 5) != null;
110856
110062
  };
110857
110063
 
@@ -110860,25 +110066,25 @@ proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.hasName = function() {
110860
110066
  * optional string attached_devices = 6;
110861
110067
  * @return {string}
110862
110068
  */
110863
- proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.getAttachedDevices = function() {
110069
+ proto.com.lansweeper.dp.outbound.v1.Ups.prototype.getAttachedDevices = function() {
110864
110070
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
110865
110071
  };
110866
110072
 
110867
110073
 
110868
110074
  /**
110869
110075
  * @param {string} value
110870
- * @return {!proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo} returns this
110076
+ * @return {!proto.com.lansweeper.dp.outbound.v1.Ups} returns this
110871
110077
  */
110872
- proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.setAttachedDevices = function(value) {
110078
+ proto.com.lansweeper.dp.outbound.v1.Ups.prototype.setAttachedDevices = function(value) {
110873
110079
  return jspb.Message.setField(this, 6, value);
110874
110080
  };
110875
110081
 
110876
110082
 
110877
110083
  /**
110878
110084
  * Clears the field making it undefined.
110879
- * @return {!proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo} returns this
110085
+ * @return {!proto.com.lansweeper.dp.outbound.v1.Ups} returns this
110880
110086
  */
110881
- proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.clearAttachedDevices = function() {
110087
+ proto.com.lansweeper.dp.outbound.v1.Ups.prototype.clearAttachedDevices = function() {
110882
110088
  return jspb.Message.setField(this, 6, undefined);
110883
110089
  };
110884
110090
 
@@ -110887,34 +110093,34 @@ proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.clearAttachedDevices =
110887
110093
  * Returns whether this field is set.
110888
110094
  * @return {boolean}
110889
110095
  */
110890
- proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.hasAttachedDevices = function() {
110096
+ proto.com.lansweeper.dp.outbound.v1.Ups.prototype.hasAttachedDevices = function() {
110891
110097
  return jspb.Message.getField(this, 6) != null;
110892
110098
  };
110893
110099
 
110894
110100
 
110895
110101
  /**
110896
- * optional string battery_status = 7;
110897
- * @return {string}
110102
+ * optional int64 battery_status = 7;
110103
+ * @return {number}
110898
110104
  */
110899
- proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.getBatteryStatus = function() {
110900
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
110105
+ proto.com.lansweeper.dp.outbound.v1.Ups.prototype.getBatteryStatus = function() {
110106
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
110901
110107
  };
110902
110108
 
110903
110109
 
110904
110110
  /**
110905
- * @param {string} value
110906
- * @return {!proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo} returns this
110111
+ * @param {number} value
110112
+ * @return {!proto.com.lansweeper.dp.outbound.v1.Ups} returns this
110907
110113
  */
110908
- proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.setBatteryStatus = function(value) {
110114
+ proto.com.lansweeper.dp.outbound.v1.Ups.prototype.setBatteryStatus = function(value) {
110909
110115
  return jspb.Message.setField(this, 7, value);
110910
110116
  };
110911
110117
 
110912
110118
 
110913
110119
  /**
110914
110120
  * Clears the field making it undefined.
110915
- * @return {!proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo} returns this
110121
+ * @return {!proto.com.lansweeper.dp.outbound.v1.Ups} returns this
110916
110122
  */
110917
- proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.clearBatteryStatus = function() {
110123
+ proto.com.lansweeper.dp.outbound.v1.Ups.prototype.clearBatteryStatus = function() {
110918
110124
  return jspb.Message.setField(this, 7, undefined);
110919
110125
  };
110920
110126
 
@@ -110923,34 +110129,34 @@ proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.clearBatteryStatus = f
110923
110129
  * Returns whether this field is set.
110924
110130
  * @return {boolean}
110925
110131
  */
110926
- proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.hasBatteryStatus = function() {
110132
+ proto.com.lansweeper.dp.outbound.v1.Ups.prototype.hasBatteryStatus = function() {
110927
110133
  return jspb.Message.getField(this, 7) != null;
110928
110134
  };
110929
110135
 
110930
110136
 
110931
110137
  /**
110932
- * optional string seconds_on_battery = 8;
110933
- * @return {string}
110138
+ * optional int64 seconds_on_battery = 8;
110139
+ * @return {number}
110934
110140
  */
110935
- proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.getSecondsOnBattery = function() {
110936
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
110141
+ proto.com.lansweeper.dp.outbound.v1.Ups.prototype.getSecondsOnBattery = function() {
110142
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0));
110937
110143
  };
110938
110144
 
110939
110145
 
110940
110146
  /**
110941
- * @param {string} value
110942
- * @return {!proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo} returns this
110147
+ * @param {number} value
110148
+ * @return {!proto.com.lansweeper.dp.outbound.v1.Ups} returns this
110943
110149
  */
110944
- proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.setSecondsOnBattery = function(value) {
110150
+ proto.com.lansweeper.dp.outbound.v1.Ups.prototype.setSecondsOnBattery = function(value) {
110945
110151
  return jspb.Message.setField(this, 8, value);
110946
110152
  };
110947
110153
 
110948
110154
 
110949
110155
  /**
110950
110156
  * Clears the field making it undefined.
110951
- * @return {!proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo} returns this
110157
+ * @return {!proto.com.lansweeper.dp.outbound.v1.Ups} returns this
110952
110158
  */
110953
- proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.clearSecondsOnBattery = function() {
110159
+ proto.com.lansweeper.dp.outbound.v1.Ups.prototype.clearSecondsOnBattery = function() {
110954
110160
  return jspb.Message.setField(this, 8, undefined);
110955
110161
  };
110956
110162
 
@@ -110959,34 +110165,34 @@ proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.clearSecondsOnBattery
110959
110165
  * Returns whether this field is set.
110960
110166
  * @return {boolean}
110961
110167
  */
110962
- proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.hasSecondsOnBattery = function() {
110168
+ proto.com.lansweeper.dp.outbound.v1.Ups.prototype.hasSecondsOnBattery = function() {
110963
110169
  return jspb.Message.getField(this, 8) != null;
110964
110170
  };
110965
110171
 
110966
110172
 
110967
110173
  /**
110968
- * optional string estimated_minutes_remaining = 9;
110969
- * @return {string}
110174
+ * optional int64 estimated_minutes_remaining = 9;
110175
+ * @return {number}
110970
110176
  */
110971
- proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.getEstimatedMinutesRemaining = function() {
110972
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
110177
+ proto.com.lansweeper.dp.outbound.v1.Ups.prototype.getEstimatedMinutesRemaining = function() {
110178
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 9, 0));
110973
110179
  };
110974
110180
 
110975
110181
 
110976
110182
  /**
110977
- * @param {string} value
110978
- * @return {!proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo} returns this
110183
+ * @param {number} value
110184
+ * @return {!proto.com.lansweeper.dp.outbound.v1.Ups} returns this
110979
110185
  */
110980
- proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.setEstimatedMinutesRemaining = function(value) {
110186
+ proto.com.lansweeper.dp.outbound.v1.Ups.prototype.setEstimatedMinutesRemaining = function(value) {
110981
110187
  return jspb.Message.setField(this, 9, value);
110982
110188
  };
110983
110189
 
110984
110190
 
110985
110191
  /**
110986
110192
  * Clears the field making it undefined.
110987
- * @return {!proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo} returns this
110193
+ * @return {!proto.com.lansweeper.dp.outbound.v1.Ups} returns this
110988
110194
  */
110989
- proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.clearEstimatedMinutesRemaining = function() {
110195
+ proto.com.lansweeper.dp.outbound.v1.Ups.prototype.clearEstimatedMinutesRemaining = function() {
110990
110196
  return jspb.Message.setField(this, 9, undefined);
110991
110197
  };
110992
110198
 
@@ -110995,34 +110201,34 @@ proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.clearEstimatedMinutesR
110995
110201
  * Returns whether this field is set.
110996
110202
  * @return {boolean}
110997
110203
  */
110998
- proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.hasEstimatedMinutesRemaining = function() {
110204
+ proto.com.lansweeper.dp.outbound.v1.Ups.prototype.hasEstimatedMinutesRemaining = function() {
110999
110205
  return jspb.Message.getField(this, 9) != null;
111000
110206
  };
111001
110207
 
111002
110208
 
111003
110209
  /**
111004
- * optional string estimated_charge_remaining = 10;
111005
- * @return {string}
110210
+ * optional int64 estimated_charge_remaining = 10;
110211
+ * @return {number}
111006
110212
  */
111007
- proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.getEstimatedChargeRemaining = function() {
111008
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
110213
+ proto.com.lansweeper.dp.outbound.v1.Ups.prototype.getEstimatedChargeRemaining = function() {
110214
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 10, 0));
111009
110215
  };
111010
110216
 
111011
110217
 
111012
110218
  /**
111013
- * @param {string} value
111014
- * @return {!proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo} returns this
110219
+ * @param {number} value
110220
+ * @return {!proto.com.lansweeper.dp.outbound.v1.Ups} returns this
111015
110221
  */
111016
- proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.setEstimatedChargeRemaining = function(value) {
110222
+ proto.com.lansweeper.dp.outbound.v1.Ups.prototype.setEstimatedChargeRemaining = function(value) {
111017
110223
  return jspb.Message.setField(this, 10, value);
111018
110224
  };
111019
110225
 
111020
110226
 
111021
110227
  /**
111022
110228
  * Clears the field making it undefined.
111023
- * @return {!proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo} returns this
110229
+ * @return {!proto.com.lansweeper.dp.outbound.v1.Ups} returns this
111024
110230
  */
111025
- proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.clearEstimatedChargeRemaining = function() {
110231
+ proto.com.lansweeper.dp.outbound.v1.Ups.prototype.clearEstimatedChargeRemaining = function() {
111026
110232
  return jspb.Message.setField(this, 10, undefined);
111027
110233
  };
111028
110234
 
@@ -111031,34 +110237,34 @@ proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.clearEstimatedChargeRe
111031
110237
  * Returns whether this field is set.
111032
110238
  * @return {boolean}
111033
110239
  */
111034
- proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.hasEstimatedChargeRemaining = function() {
110240
+ proto.com.lansweeper.dp.outbound.v1.Ups.prototype.hasEstimatedChargeRemaining = function() {
111035
110241
  return jspb.Message.getField(this, 10) != null;
111036
110242
  };
111037
110243
 
111038
110244
 
111039
110245
  /**
111040
- * optional string battery_voltage = 11;
111041
- * @return {string}
110246
+ * optional int64 battery_voltage = 11;
110247
+ * @return {number}
111042
110248
  */
111043
- proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.getBatteryVoltage = function() {
111044
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
110249
+ proto.com.lansweeper.dp.outbound.v1.Ups.prototype.getBatteryVoltage = function() {
110250
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 11, 0));
111045
110251
  };
111046
110252
 
111047
110253
 
111048
110254
  /**
111049
- * @param {string} value
111050
- * @return {!proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo} returns this
110255
+ * @param {number} value
110256
+ * @return {!proto.com.lansweeper.dp.outbound.v1.Ups} returns this
111051
110257
  */
111052
- proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.setBatteryVoltage = function(value) {
110258
+ proto.com.lansweeper.dp.outbound.v1.Ups.prototype.setBatteryVoltage = function(value) {
111053
110259
  return jspb.Message.setField(this, 11, value);
111054
110260
  };
111055
110261
 
111056
110262
 
111057
110263
  /**
111058
110264
  * Clears the field making it undefined.
111059
- * @return {!proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo} returns this
110265
+ * @return {!proto.com.lansweeper.dp.outbound.v1.Ups} returns this
111060
110266
  */
111061
- proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.clearBatteryVoltage = function() {
110267
+ proto.com.lansweeper.dp.outbound.v1.Ups.prototype.clearBatteryVoltage = function() {
111062
110268
  return jspb.Message.setField(this, 11, undefined);
111063
110269
  };
111064
110270
 
@@ -111067,34 +110273,34 @@ proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.clearBatteryVoltage =
111067
110273
  * Returns whether this field is set.
111068
110274
  * @return {boolean}
111069
110275
  */
111070
- proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.hasBatteryVoltage = function() {
110276
+ proto.com.lansweeper.dp.outbound.v1.Ups.prototype.hasBatteryVoltage = function() {
111071
110277
  return jspb.Message.getField(this, 11) != null;
111072
110278
  };
111073
110279
 
111074
110280
 
111075
110281
  /**
111076
- * optional string battery_current = 12;
111077
- * @return {string}
110282
+ * optional int64 battery_current = 12;
110283
+ * @return {number}
111078
110284
  */
111079
- proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.getBatteryCurrent = function() {
111080
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
110285
+ proto.com.lansweeper.dp.outbound.v1.Ups.prototype.getBatteryCurrent = function() {
110286
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 12, 0));
111081
110287
  };
111082
110288
 
111083
110289
 
111084
110290
  /**
111085
- * @param {string} value
111086
- * @return {!proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo} returns this
110291
+ * @param {number} value
110292
+ * @return {!proto.com.lansweeper.dp.outbound.v1.Ups} returns this
111087
110293
  */
111088
- proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.setBatteryCurrent = function(value) {
110294
+ proto.com.lansweeper.dp.outbound.v1.Ups.prototype.setBatteryCurrent = function(value) {
111089
110295
  return jspb.Message.setField(this, 12, value);
111090
110296
  };
111091
110297
 
111092
110298
 
111093
110299
  /**
111094
110300
  * Clears the field making it undefined.
111095
- * @return {!proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo} returns this
110301
+ * @return {!proto.com.lansweeper.dp.outbound.v1.Ups} returns this
111096
110302
  */
111097
- proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.clearBatteryCurrent = function() {
110303
+ proto.com.lansweeper.dp.outbound.v1.Ups.prototype.clearBatteryCurrent = function() {
111098
110304
  return jspb.Message.setField(this, 12, undefined);
111099
110305
  };
111100
110306
 
@@ -111103,34 +110309,34 @@ proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.clearBatteryCurrent =
111103
110309
  * Returns whether this field is set.
111104
110310
  * @return {boolean}
111105
110311
  */
111106
- proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.hasBatteryCurrent = function() {
110312
+ proto.com.lansweeper.dp.outbound.v1.Ups.prototype.hasBatteryCurrent = function() {
111107
110313
  return jspb.Message.getField(this, 12) != null;
111108
110314
  };
111109
110315
 
111110
110316
 
111111
110317
  /**
111112
- * optional string battery_temperature = 13;
111113
- * @return {string}
110318
+ * optional int64 battery_temperature = 13;
110319
+ * @return {number}
111114
110320
  */
111115
- proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.getBatteryTemperature = function() {
111116
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
110321
+ proto.com.lansweeper.dp.outbound.v1.Ups.prototype.getBatteryTemperature = function() {
110322
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 13, 0));
111117
110323
  };
111118
110324
 
111119
110325
 
111120
110326
  /**
111121
- * @param {string} value
111122
- * @return {!proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo} returns this
110327
+ * @param {number} value
110328
+ * @return {!proto.com.lansweeper.dp.outbound.v1.Ups} returns this
111123
110329
  */
111124
- proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.setBatteryTemperature = function(value) {
110330
+ proto.com.lansweeper.dp.outbound.v1.Ups.prototype.setBatteryTemperature = function(value) {
111125
110331
  return jspb.Message.setField(this, 13, value);
111126
110332
  };
111127
110333
 
111128
110334
 
111129
110335
  /**
111130
110336
  * Clears the field making it undefined.
111131
- * @return {!proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo} returns this
110337
+ * @return {!proto.com.lansweeper.dp.outbound.v1.Ups} returns this
111132
110338
  */
111133
- proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.clearBatteryTemperature = function() {
110339
+ proto.com.lansweeper.dp.outbound.v1.Ups.prototype.clearBatteryTemperature = function() {
111134
110340
  return jspb.Message.setField(this, 13, undefined);
111135
110341
  };
111136
110342
 
@@ -111139,34 +110345,34 @@ proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.clearBatteryTemperatur
111139
110345
  * Returns whether this field is set.
111140
110346
  * @return {boolean}
111141
110347
  */
111142
- proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.hasBatteryTemperature = function() {
110348
+ proto.com.lansweeper.dp.outbound.v1.Ups.prototype.hasBatteryTemperature = function() {
111143
110349
  return jspb.Message.getField(this, 13) != null;
111144
110350
  };
111145
110351
 
111146
110352
 
111147
110353
  /**
111148
- * optional string alarms_present = 14;
111149
- * @return {string}
110354
+ * optional int64 alarms_present = 14;
110355
+ * @return {number}
111150
110356
  */
111151
- proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.getAlarmsPresent = function() {
111152
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
110357
+ proto.com.lansweeper.dp.outbound.v1.Ups.prototype.getAlarmsPresent = function() {
110358
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 14, 0));
111153
110359
  };
111154
110360
 
111155
110361
 
111156
110362
  /**
111157
- * @param {string} value
111158
- * @return {!proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo} returns this
110363
+ * @param {number} value
110364
+ * @return {!proto.com.lansweeper.dp.outbound.v1.Ups} returns this
111159
110365
  */
111160
- proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.setAlarmsPresent = function(value) {
110366
+ proto.com.lansweeper.dp.outbound.v1.Ups.prototype.setAlarmsPresent = function(value) {
111161
110367
  return jspb.Message.setField(this, 14, value);
111162
110368
  };
111163
110369
 
111164
110370
 
111165
110371
  /**
111166
110372
  * Clears the field making it undefined.
111167
- * @return {!proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo} returns this
110373
+ * @return {!proto.com.lansweeper.dp.outbound.v1.Ups} returns this
111168
110374
  */
111169
- proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.clearAlarmsPresent = function() {
110375
+ proto.com.lansweeper.dp.outbound.v1.Ups.prototype.clearAlarmsPresent = function() {
111170
110376
  return jspb.Message.setField(this, 14, undefined);
111171
110377
  };
111172
110378
 
@@ -111175,7 +110381,7 @@ proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.clearAlarmsPresent = f
111175
110381
  * Returns whether this field is set.
111176
110382
  * @return {boolean}
111177
110383
  */
111178
- proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.hasAlarmsPresent = function() {
110384
+ proto.com.lansweeper.dp.outbound.v1.Ups.prototype.hasAlarmsPresent = function() {
111179
110385
  return jspb.Message.getField(this, 14) != null;
111180
110386
  };
111181
110387