@lansweeper/data-platform-outbound-grpc 0.1.123 → 0.1.125
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.
- package/CHANGELOG.md +16 -0
- package/gen-proto/image.json +1 -1
- package/gen-proto/outbound_pb.d.ts +109 -204
- package/gen-proto/outbound_pb.js +560 -1300
- package/generated-go/outbound.pb.go +7624 -7809
- package/java.json +1 -1
- package/package.json +2 -2
- package/proto/outbound.proto +52 -55
package/gen-proto/outbound_pb.js
CHANGED
|
@@ -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.
|
|
4157
|
-
jspb.Message.initialize(this, opt_data, 0, -1,
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
7509
|
+
f = message.getComputer();
|
|
7526
7510
|
if (f != null) {
|
|
7527
7511
|
writer.writeMessage(
|
|
7528
|
-
|
|
7512
|
+
75,
|
|
7529
7513
|
f,
|
|
7530
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
7514
|
+
proto.com.lansweeper.dp.outbound.v1.Computer.serializeBinaryToWriter
|
|
7531
7515
|
);
|
|
7532
7516
|
}
|
|
7533
|
-
f = message.
|
|
7517
|
+
f = message.getPrinter();
|
|
7534
7518
|
if (f != null) {
|
|
7535
7519
|
writer.writeMessage(
|
|
7536
|
-
|
|
7520
|
+
84,
|
|
7537
7521
|
f,
|
|
7538
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
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
|
|
8423
|
-
* @return {?proto.com.lansweeper.dp.outbound.v1.
|
|
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.
|
|
8426
|
-
return /** @type{?proto.com.lansweeper.dp.outbound.v1.
|
|
8427
|
-
jspb.Message.getWrapperField(this, proto.com.lansweeper.dp.outbound.v1.
|
|
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.
|
|
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.
|
|
8436
|
-
return jspb.Message.setWrapperField(this,
|
|
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.
|
|
8445
|
-
return this.
|
|
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.
|
|
8454
|
-
return jspb.Message.getField(this,
|
|
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
|
|
8460
|
-
* @return {?proto.com.lansweeper.dp.outbound.v1.
|
|
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.
|
|
8463
|
-
return /** @type{?proto.com.lansweeper.dp.outbound.v1.
|
|
8464
|
-
jspb.Message.getWrapperField(this, proto.com.lansweeper.dp.outbound.v1.
|
|
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.
|
|
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.
|
|
8473
|
-
return jspb.Message.setWrapperField(this,
|
|
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.
|
|
8482
|
-
return this.
|
|
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.
|
|
8491
|
-
return jspb.Message.getField(this,
|
|
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
|
|
|
@@ -32074,13 +32103,14 @@ proto.com.lansweeper.dp.outbound.v1.NetworkInterface.toObject = function(include
|
|
|
32074
32103
|
dnsDomainSuffixSearchOrder: jspb.Message.getFieldWithDefault(msg, 13, ""),
|
|
32075
32104
|
serviceName: jspb.Message.getFieldWithDefault(msg, 14, ""),
|
|
32076
32105
|
databasePath: jspb.Message.getFieldWithDefault(msg, 15, ""),
|
|
32106
|
+
snmpIndex: jspb.Message.getFieldWithDefault(msg, 27, 0),
|
|
32077
32107
|
description: jspb.Message.getFieldWithDefault(msg, 16, ""),
|
|
32078
32108
|
alias: jspb.Message.getFieldWithDefault(msg, 17, ""),
|
|
32079
|
-
mtu: jspb.Message.getFieldWithDefault(msg, 18,
|
|
32080
|
-
speed: jspb.Message.getFieldWithDefault(msg, 19,
|
|
32081
|
-
highSpeed: jspb.Message.getFieldWithDefault(msg, 20,
|
|
32082
|
-
adminStatus:
|
|
32083
|
-
operStatus:
|
|
32109
|
+
mtu: jspb.Message.getFieldWithDefault(msg, 18, 0),
|
|
32110
|
+
speed: jspb.Message.getFieldWithDefault(msg, 19, 0),
|
|
32111
|
+
highSpeed: jspb.Message.getFieldWithDefault(msg, 20, 0),
|
|
32112
|
+
adminStatus: (f = msg.getAdminStatus()) && proto.com.lansweeper.dp.outbound.v1.MappedValue.toObject(includeInstance, f),
|
|
32113
|
+
operStatus: (f = msg.getOperStatus()) && proto.com.lansweeper.dp.outbound.v1.MappedValue.toObject(includeInstance, f),
|
|
32084
32114
|
connectedDevicesList: (f = jspb.Message.getRepeatedField(msg, 23)) == null ? undefined : f,
|
|
32085
32115
|
vlansList: (f = jspb.Message.getRepeatedField(msg, 24)) == null ? undefined : f,
|
|
32086
32116
|
ipv6PrefixLength: jspb.Message.getFieldWithDefault(msg, 25, 0),
|
|
@@ -32182,6 +32212,10 @@ proto.com.lansweeper.dp.outbound.v1.NetworkInterface.deserializeBinaryFromReader
|
|
|
32182
32212
|
var value = /** @type {string} */ (reader.readString());
|
|
32183
32213
|
msg.setDatabasePath(value);
|
|
32184
32214
|
break;
|
|
32215
|
+
case 27:
|
|
32216
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
32217
|
+
msg.setSnmpIndex(value);
|
|
32218
|
+
break;
|
|
32185
32219
|
case 16:
|
|
32186
32220
|
var value = /** @type {string} */ (reader.readString());
|
|
32187
32221
|
msg.setDescription(value);
|
|
@@ -32191,23 +32225,25 @@ proto.com.lansweeper.dp.outbound.v1.NetworkInterface.deserializeBinaryFromReader
|
|
|
32191
32225
|
msg.setAlias(value);
|
|
32192
32226
|
break;
|
|
32193
32227
|
case 18:
|
|
32194
|
-
var value = /** @type {
|
|
32228
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
32195
32229
|
msg.setMtu(value);
|
|
32196
32230
|
break;
|
|
32197
32231
|
case 19:
|
|
32198
|
-
var value = /** @type {
|
|
32232
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
32199
32233
|
msg.setSpeed(value);
|
|
32200
32234
|
break;
|
|
32201
32235
|
case 20:
|
|
32202
|
-
var value = /** @type {
|
|
32236
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
32203
32237
|
msg.setHighSpeed(value);
|
|
32204
32238
|
break;
|
|
32205
32239
|
case 21:
|
|
32206
|
-
var value =
|
|
32240
|
+
var value = new proto.com.lansweeper.dp.outbound.v1.MappedValue;
|
|
32241
|
+
reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.MappedValue.deserializeBinaryFromReader);
|
|
32207
32242
|
msg.setAdminStatus(value);
|
|
32208
32243
|
break;
|
|
32209
32244
|
case 22:
|
|
32210
|
-
var value =
|
|
32245
|
+
var value = new proto.com.lansweeper.dp.outbound.v1.MappedValue;
|
|
32246
|
+
reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.MappedValue.deserializeBinaryFromReader);
|
|
32211
32247
|
msg.setOperStatus(value);
|
|
32212
32248
|
break;
|
|
32213
32249
|
case 23:
|
|
@@ -32361,6 +32397,13 @@ proto.com.lansweeper.dp.outbound.v1.NetworkInterface.serializeBinaryToWriter = f
|
|
|
32361
32397
|
f
|
|
32362
32398
|
);
|
|
32363
32399
|
}
|
|
32400
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 27));
|
|
32401
|
+
if (f != null) {
|
|
32402
|
+
writer.writeInt32(
|
|
32403
|
+
27,
|
|
32404
|
+
f
|
|
32405
|
+
);
|
|
32406
|
+
}
|
|
32364
32407
|
f = /** @type {string} */ (jspb.Message.getField(message, 16));
|
|
32365
32408
|
if (f != null) {
|
|
32366
32409
|
writer.writeString(
|
|
@@ -32375,39 +32418,41 @@ proto.com.lansweeper.dp.outbound.v1.NetworkInterface.serializeBinaryToWriter = f
|
|
|
32375
32418
|
f
|
|
32376
32419
|
);
|
|
32377
32420
|
}
|
|
32378
|
-
f = /** @type {
|
|
32421
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 18));
|
|
32379
32422
|
if (f != null) {
|
|
32380
|
-
writer.
|
|
32423
|
+
writer.writeInt64(
|
|
32381
32424
|
18,
|
|
32382
32425
|
f
|
|
32383
32426
|
);
|
|
32384
32427
|
}
|
|
32385
|
-
f = /** @type {
|
|
32428
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 19));
|
|
32386
32429
|
if (f != null) {
|
|
32387
|
-
writer.
|
|
32430
|
+
writer.writeInt64(
|
|
32388
32431
|
19,
|
|
32389
32432
|
f
|
|
32390
32433
|
);
|
|
32391
32434
|
}
|
|
32392
|
-
f = /** @type {
|
|
32435
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 20));
|
|
32393
32436
|
if (f != null) {
|
|
32394
|
-
writer.
|
|
32437
|
+
writer.writeInt64(
|
|
32395
32438
|
20,
|
|
32396
32439
|
f
|
|
32397
32440
|
);
|
|
32398
32441
|
}
|
|
32399
|
-
f =
|
|
32442
|
+
f = message.getAdminStatus();
|
|
32400
32443
|
if (f != null) {
|
|
32401
|
-
writer.
|
|
32444
|
+
writer.writeMessage(
|
|
32402
32445
|
21,
|
|
32403
|
-
f
|
|
32446
|
+
f,
|
|
32447
|
+
proto.com.lansweeper.dp.outbound.v1.MappedValue.serializeBinaryToWriter
|
|
32404
32448
|
);
|
|
32405
32449
|
}
|
|
32406
|
-
f =
|
|
32450
|
+
f = message.getOperStatus();
|
|
32407
32451
|
if (f != null) {
|
|
32408
|
-
writer.
|
|
32452
|
+
writer.writeMessage(
|
|
32409
32453
|
22,
|
|
32410
|
-
f
|
|
32454
|
+
f,
|
|
32455
|
+
proto.com.lansweeper.dp.outbound.v1.MappedValue.serializeBinaryToWriter
|
|
32411
32456
|
);
|
|
32412
32457
|
}
|
|
32413
32458
|
f = message.getConnectedDevicesList();
|
|
@@ -32930,6 +32975,42 @@ proto.com.lansweeper.dp.outbound.v1.NetworkInterface.prototype.hasDatabasePath =
|
|
|
32930
32975
|
};
|
|
32931
32976
|
|
|
32932
32977
|
|
|
32978
|
+
/**
|
|
32979
|
+
* optional int32 snmp_index = 27;
|
|
32980
|
+
* @return {number}
|
|
32981
|
+
*/
|
|
32982
|
+
proto.com.lansweeper.dp.outbound.v1.NetworkInterface.prototype.getSnmpIndex = function() {
|
|
32983
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 27, 0));
|
|
32984
|
+
};
|
|
32985
|
+
|
|
32986
|
+
|
|
32987
|
+
/**
|
|
32988
|
+
* @param {number} value
|
|
32989
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.NetworkInterface} returns this
|
|
32990
|
+
*/
|
|
32991
|
+
proto.com.lansweeper.dp.outbound.v1.NetworkInterface.prototype.setSnmpIndex = function(value) {
|
|
32992
|
+
return jspb.Message.setField(this, 27, value);
|
|
32993
|
+
};
|
|
32994
|
+
|
|
32995
|
+
|
|
32996
|
+
/**
|
|
32997
|
+
* Clears the field making it undefined.
|
|
32998
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.NetworkInterface} returns this
|
|
32999
|
+
*/
|
|
33000
|
+
proto.com.lansweeper.dp.outbound.v1.NetworkInterface.prototype.clearSnmpIndex = function() {
|
|
33001
|
+
return jspb.Message.setField(this, 27, undefined);
|
|
33002
|
+
};
|
|
33003
|
+
|
|
33004
|
+
|
|
33005
|
+
/**
|
|
33006
|
+
* Returns whether this field is set.
|
|
33007
|
+
* @return {boolean}
|
|
33008
|
+
*/
|
|
33009
|
+
proto.com.lansweeper.dp.outbound.v1.NetworkInterface.prototype.hasSnmpIndex = function() {
|
|
33010
|
+
return jspb.Message.getField(this, 27) != null;
|
|
33011
|
+
};
|
|
33012
|
+
|
|
33013
|
+
|
|
32933
33014
|
/**
|
|
32934
33015
|
* optional string description = 16;
|
|
32935
33016
|
* @return {string}
|
|
@@ -33003,16 +33084,16 @@ proto.com.lansweeper.dp.outbound.v1.NetworkInterface.prototype.hasAlias = functi
|
|
|
33003
33084
|
|
|
33004
33085
|
|
|
33005
33086
|
/**
|
|
33006
|
-
* optional
|
|
33007
|
-
* @return {
|
|
33087
|
+
* optional int64 mtu = 18;
|
|
33088
|
+
* @return {number}
|
|
33008
33089
|
*/
|
|
33009
33090
|
proto.com.lansweeper.dp.outbound.v1.NetworkInterface.prototype.getMtu = function() {
|
|
33010
|
-
return /** @type {
|
|
33091
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 18, 0));
|
|
33011
33092
|
};
|
|
33012
33093
|
|
|
33013
33094
|
|
|
33014
33095
|
/**
|
|
33015
|
-
* @param {
|
|
33096
|
+
* @param {number} value
|
|
33016
33097
|
* @return {!proto.com.lansweeper.dp.outbound.v1.NetworkInterface} returns this
|
|
33017
33098
|
*/
|
|
33018
33099
|
proto.com.lansweeper.dp.outbound.v1.NetworkInterface.prototype.setMtu = function(value) {
|
|
@@ -33039,16 +33120,16 @@ proto.com.lansweeper.dp.outbound.v1.NetworkInterface.prototype.hasMtu = function
|
|
|
33039
33120
|
|
|
33040
33121
|
|
|
33041
33122
|
/**
|
|
33042
|
-
* optional
|
|
33043
|
-
* @return {
|
|
33123
|
+
* optional int64 speed = 19;
|
|
33124
|
+
* @return {number}
|
|
33044
33125
|
*/
|
|
33045
33126
|
proto.com.lansweeper.dp.outbound.v1.NetworkInterface.prototype.getSpeed = function() {
|
|
33046
|
-
return /** @type {
|
|
33127
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 19, 0));
|
|
33047
33128
|
};
|
|
33048
33129
|
|
|
33049
33130
|
|
|
33050
33131
|
/**
|
|
33051
|
-
* @param {
|
|
33132
|
+
* @param {number} value
|
|
33052
33133
|
* @return {!proto.com.lansweeper.dp.outbound.v1.NetworkInterface} returns this
|
|
33053
33134
|
*/
|
|
33054
33135
|
proto.com.lansweeper.dp.outbound.v1.NetworkInterface.prototype.setSpeed = function(value) {
|
|
@@ -33075,16 +33156,16 @@ proto.com.lansweeper.dp.outbound.v1.NetworkInterface.prototype.hasSpeed = functi
|
|
|
33075
33156
|
|
|
33076
33157
|
|
|
33077
33158
|
/**
|
|
33078
|
-
* optional
|
|
33079
|
-
* @return {
|
|
33159
|
+
* optional int64 high_speed = 20;
|
|
33160
|
+
* @return {number}
|
|
33080
33161
|
*/
|
|
33081
33162
|
proto.com.lansweeper.dp.outbound.v1.NetworkInterface.prototype.getHighSpeed = function() {
|
|
33082
|
-
return /** @type {
|
|
33163
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 20, 0));
|
|
33083
33164
|
};
|
|
33084
33165
|
|
|
33085
33166
|
|
|
33086
33167
|
/**
|
|
33087
|
-
* @param {
|
|
33168
|
+
* @param {number} value
|
|
33088
33169
|
* @return {!proto.com.lansweeper.dp.outbound.v1.NetworkInterface} returns this
|
|
33089
33170
|
*/
|
|
33090
33171
|
proto.com.lansweeper.dp.outbound.v1.NetworkInterface.prototype.setHighSpeed = function(value) {
|
|
@@ -33111,29 +33192,30 @@ proto.com.lansweeper.dp.outbound.v1.NetworkInterface.prototype.hasHighSpeed = fu
|
|
|
33111
33192
|
|
|
33112
33193
|
|
|
33113
33194
|
/**
|
|
33114
|
-
* optional
|
|
33115
|
-
* @return {
|
|
33195
|
+
* optional MappedValue admin_status = 21;
|
|
33196
|
+
* @return {?proto.com.lansweeper.dp.outbound.v1.MappedValue}
|
|
33116
33197
|
*/
|
|
33117
33198
|
proto.com.lansweeper.dp.outbound.v1.NetworkInterface.prototype.getAdminStatus = function() {
|
|
33118
|
-
return /** @type
|
|
33199
|
+
return /** @type{?proto.com.lansweeper.dp.outbound.v1.MappedValue} */ (
|
|
33200
|
+
jspb.Message.getWrapperField(this, proto.com.lansweeper.dp.outbound.v1.MappedValue, 21));
|
|
33119
33201
|
};
|
|
33120
33202
|
|
|
33121
33203
|
|
|
33122
33204
|
/**
|
|
33123
|
-
* @param {
|
|
33205
|
+
* @param {?proto.com.lansweeper.dp.outbound.v1.MappedValue|undefined} value
|
|
33124
33206
|
* @return {!proto.com.lansweeper.dp.outbound.v1.NetworkInterface} returns this
|
|
33125
|
-
|
|
33207
|
+
*/
|
|
33126
33208
|
proto.com.lansweeper.dp.outbound.v1.NetworkInterface.prototype.setAdminStatus = function(value) {
|
|
33127
|
-
return jspb.Message.
|
|
33209
|
+
return jspb.Message.setWrapperField(this, 21, value);
|
|
33128
33210
|
};
|
|
33129
33211
|
|
|
33130
33212
|
|
|
33131
33213
|
/**
|
|
33132
|
-
* Clears the field making it undefined.
|
|
33214
|
+
* Clears the message field making it undefined.
|
|
33133
33215
|
* @return {!proto.com.lansweeper.dp.outbound.v1.NetworkInterface} returns this
|
|
33134
33216
|
*/
|
|
33135
33217
|
proto.com.lansweeper.dp.outbound.v1.NetworkInterface.prototype.clearAdminStatus = function() {
|
|
33136
|
-
return
|
|
33218
|
+
return this.setAdminStatus(undefined);
|
|
33137
33219
|
};
|
|
33138
33220
|
|
|
33139
33221
|
|
|
@@ -33147,29 +33229,30 @@ proto.com.lansweeper.dp.outbound.v1.NetworkInterface.prototype.hasAdminStatus =
|
|
|
33147
33229
|
|
|
33148
33230
|
|
|
33149
33231
|
/**
|
|
33150
|
-
* optional
|
|
33151
|
-
* @return {
|
|
33232
|
+
* optional MappedValue oper_status = 22;
|
|
33233
|
+
* @return {?proto.com.lansweeper.dp.outbound.v1.MappedValue}
|
|
33152
33234
|
*/
|
|
33153
33235
|
proto.com.lansweeper.dp.outbound.v1.NetworkInterface.prototype.getOperStatus = function() {
|
|
33154
|
-
return /** @type
|
|
33236
|
+
return /** @type{?proto.com.lansweeper.dp.outbound.v1.MappedValue} */ (
|
|
33237
|
+
jspb.Message.getWrapperField(this, proto.com.lansweeper.dp.outbound.v1.MappedValue, 22));
|
|
33155
33238
|
};
|
|
33156
33239
|
|
|
33157
33240
|
|
|
33158
33241
|
/**
|
|
33159
|
-
* @param {
|
|
33242
|
+
* @param {?proto.com.lansweeper.dp.outbound.v1.MappedValue|undefined} value
|
|
33160
33243
|
* @return {!proto.com.lansweeper.dp.outbound.v1.NetworkInterface} returns this
|
|
33161
|
-
|
|
33244
|
+
*/
|
|
33162
33245
|
proto.com.lansweeper.dp.outbound.v1.NetworkInterface.prototype.setOperStatus = function(value) {
|
|
33163
|
-
return jspb.Message.
|
|
33246
|
+
return jspb.Message.setWrapperField(this, 22, value);
|
|
33164
33247
|
};
|
|
33165
33248
|
|
|
33166
33249
|
|
|
33167
33250
|
/**
|
|
33168
|
-
* Clears the field making it undefined.
|
|
33251
|
+
* Clears the message field making it undefined.
|
|
33169
33252
|
* @return {!proto.com.lansweeper.dp.outbound.v1.NetworkInterface} returns this
|
|
33170
33253
|
*/
|
|
33171
33254
|
proto.com.lansweeper.dp.outbound.v1.NetworkInterface.prototype.clearOperStatus = function() {
|
|
33172
|
-
return
|
|
33255
|
+
return this.setOperStatus(undefined);
|
|
33173
33256
|
};
|
|
33174
33257
|
|
|
33175
33258
|
|
|
@@ -108747,6 +108830,13 @@ proto.com.lansweeper.dp.outbound.v1.CatalogMonitor.prototype.hasMatchScore = fun
|
|
|
108747
108830
|
|
|
108748
108831
|
|
|
108749
108832
|
|
|
108833
|
+
/**
|
|
108834
|
+
* List of repeated fields within this message type.
|
|
108835
|
+
* @private {!Array<number>}
|
|
108836
|
+
* @const
|
|
108837
|
+
*/
|
|
108838
|
+
proto.com.lansweeper.dp.outbound.v1.Printer.repeatedFields_ = [7];
|
|
108839
|
+
|
|
108750
108840
|
|
|
108751
108841
|
|
|
108752
108842
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -108762,8 +108852,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
108762
108852
|
* http://goto/soy-param-migration
|
|
108763
108853
|
* @return {!Object}
|
|
108764
108854
|
*/
|
|
108765
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
108766
|
-
return proto.com.lansweeper.dp.outbound.v1.
|
|
108855
|
+
proto.com.lansweeper.dp.outbound.v1.Printer.prototype.toObject = function(opt_includeInstance) {
|
|
108856
|
+
return proto.com.lansweeper.dp.outbound.v1.Printer.toObject(opt_includeInstance, this);
|
|
108767
108857
|
};
|
|
108768
108858
|
|
|
108769
108859
|
|
|
@@ -108772,27 +108862,20 @@ proto.com.lansweeper.dp.outbound.v1.SNMPInfo.prototype.toObject = function(opt_i
|
|
|
108772
108862
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
108773
108863
|
* the JSPB instance for transitional soy proto support:
|
|
108774
108864
|
* http://goto/soy-param-migration
|
|
108775
|
-
* @param {!proto.com.lansweeper.dp.outbound.v1.
|
|
108865
|
+
* @param {!proto.com.lansweeper.dp.outbound.v1.Printer} msg The msg instance to transform.
|
|
108776
108866
|
* @return {!Object}
|
|
108777
108867
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
108778
108868
|
*/
|
|
108779
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
108869
|
+
proto.com.lansweeper.dp.outbound.v1.Printer.toObject = function(includeInstance, msg) {
|
|
108780
108870
|
var f, obj = {
|
|
108781
|
-
|
|
108782
|
-
|
|
108783
|
-
|
|
108784
|
-
|
|
108785
|
-
|
|
108786
|
-
|
|
108787
|
-
|
|
108788
|
-
|
|
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)
|
|
108871
|
+
printerName: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
108872
|
+
printedPages: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
108873
|
+
printedColorPages: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
108874
|
+
printedMonoPages: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
108875
|
+
printerStatus: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
108876
|
+
serialNumber: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
108877
|
+
tonerList: jspb.Message.toObjectList(msg.getTonerList(),
|
|
108878
|
+
proto.com.lansweeper.dp.outbound.v1.PrinterTonerInfo.toObject, includeInstance)
|
|
108796
108879
|
};
|
|
108797
108880
|
|
|
108798
108881
|
if (includeInstance) {
|
|
@@ -108806,23 +108889,23 @@ proto.com.lansweeper.dp.outbound.v1.SNMPInfo.toObject = function(includeInstance
|
|
|
108806
108889
|
/**
|
|
108807
108890
|
* Deserializes binary data (in protobuf wire format).
|
|
108808
108891
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
108809
|
-
* @return {!proto.com.lansweeper.dp.outbound.v1.
|
|
108892
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.Printer}
|
|
108810
108893
|
*/
|
|
108811
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
108894
|
+
proto.com.lansweeper.dp.outbound.v1.Printer.deserializeBinary = function(bytes) {
|
|
108812
108895
|
var reader = new jspb.BinaryReader(bytes);
|
|
108813
|
-
var msg = new proto.com.lansweeper.dp.outbound.v1.
|
|
108814
|
-
return proto.com.lansweeper.dp.outbound.v1.
|
|
108896
|
+
var msg = new proto.com.lansweeper.dp.outbound.v1.Printer;
|
|
108897
|
+
return proto.com.lansweeper.dp.outbound.v1.Printer.deserializeBinaryFromReader(msg, reader);
|
|
108815
108898
|
};
|
|
108816
108899
|
|
|
108817
108900
|
|
|
108818
108901
|
/**
|
|
108819
108902
|
* Deserializes binary data (in protobuf wire format) from the
|
|
108820
108903
|
* given reader into the given message object.
|
|
108821
|
-
* @param {!proto.com.lansweeper.dp.outbound.v1.
|
|
108904
|
+
* @param {!proto.com.lansweeper.dp.outbound.v1.Printer} msg The message object to deserialize into.
|
|
108822
108905
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
108823
|
-
* @return {!proto.com.lansweeper.dp.outbound.v1.
|
|
108906
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.Printer}
|
|
108824
108907
|
*/
|
|
108825
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
108908
|
+
proto.com.lansweeper.dp.outbound.v1.Printer.deserializeBinaryFromReader = function(msg, reader) {
|
|
108826
108909
|
while (reader.nextField()) {
|
|
108827
108910
|
if (reader.isEndGroup()) {
|
|
108828
108911
|
break;
|
|
@@ -108831,65 +108914,32 @@ proto.com.lansweeper.dp.outbound.v1.SNMPInfo.deserializeBinaryFromReader = funct
|
|
|
108831
108914
|
switch (field) {
|
|
108832
108915
|
case 1:
|
|
108833
108916
|
var value = /** @type {string} */ (reader.readString());
|
|
108834
|
-
msg.
|
|
108917
|
+
msg.setPrinterName(value);
|
|
108835
108918
|
break;
|
|
108836
108919
|
case 2:
|
|
108837
|
-
var value = /** @type {
|
|
108838
|
-
msg.
|
|
108920
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
108921
|
+
msg.setPrintedPages(value);
|
|
108839
108922
|
break;
|
|
108840
108923
|
case 3:
|
|
108841
|
-
var value = /** @type {
|
|
108842
|
-
msg.
|
|
108924
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
108925
|
+
msg.setPrintedColorPages(value);
|
|
108843
108926
|
break;
|
|
108844
108927
|
case 4:
|
|
108845
|
-
var value = /** @type {
|
|
108846
|
-
msg.
|
|
108928
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
108929
|
+
msg.setPrintedMonoPages(value);
|
|
108847
108930
|
break;
|
|
108848
108931
|
case 5:
|
|
108849
108932
|
var value = /** @type {string} */ (reader.readString());
|
|
108850
|
-
msg.
|
|
108933
|
+
msg.setPrinterStatus(value);
|
|
108851
108934
|
break;
|
|
108852
108935
|
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
108936
|
var value = /** @type {string} */ (reader.readString());
|
|
108882
|
-
msg.
|
|
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);
|
|
108937
|
+
msg.setSerialNumber(value);
|
|
108888
108938
|
break;
|
|
108889
|
-
case
|
|
108890
|
-
var value = new proto.com.lansweeper.dp.outbound.v1.
|
|
108891
|
-
reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.
|
|
108892
|
-
msg.
|
|
108939
|
+
case 7:
|
|
108940
|
+
var value = new proto.com.lansweeper.dp.outbound.v1.PrinterTonerInfo;
|
|
108941
|
+
reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.PrinterTonerInfo.deserializeBinaryFromReader);
|
|
108942
|
+
msg.addToner(value);
|
|
108893
108943
|
break;
|
|
108894
108944
|
default:
|
|
108895
108945
|
reader.skipField();
|
|
@@ -108904,9 +108954,9 @@ proto.com.lansweeper.dp.outbound.v1.SNMPInfo.deserializeBinaryFromReader = funct
|
|
|
108904
108954
|
* Serializes the message to binary data (in protobuf wire format).
|
|
108905
108955
|
* @return {!Uint8Array}
|
|
108906
108956
|
*/
|
|
108907
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
108957
|
+
proto.com.lansweeper.dp.outbound.v1.Printer.prototype.serializeBinary = function() {
|
|
108908
108958
|
var writer = new jspb.BinaryWriter();
|
|
108909
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
108959
|
+
proto.com.lansweeper.dp.outbound.v1.Printer.serializeBinaryToWriter(this, writer);
|
|
108910
108960
|
return writer.getResultBuffer();
|
|
108911
108961
|
};
|
|
108912
108962
|
|
|
@@ -108914,11 +108964,11 @@ proto.com.lansweeper.dp.outbound.v1.SNMPInfo.prototype.serializeBinary = functio
|
|
|
108914
108964
|
/**
|
|
108915
108965
|
* Serializes the given message to binary data (in protobuf wire
|
|
108916
108966
|
* format), writing to the given BinaryWriter.
|
|
108917
|
-
* @param {!proto.com.lansweeper.dp.outbound.v1.
|
|
108967
|
+
* @param {!proto.com.lansweeper.dp.outbound.v1.Printer} message
|
|
108918
108968
|
* @param {!jspb.BinaryWriter} writer
|
|
108919
108969
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
108920
108970
|
*/
|
|
108921
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
108971
|
+
proto.com.lansweeper.dp.outbound.v1.Printer.serializeBinaryToWriter = function(message, writer) {
|
|
108922
108972
|
var f = undefined;
|
|
108923
108973
|
f = /** @type {string} */ (jspb.Message.getField(message, 1));
|
|
108924
108974
|
if (f != null) {
|
|
@@ -108927,23 +108977,23 @@ proto.com.lansweeper.dp.outbound.v1.SNMPInfo.serializeBinaryToWriter = function(
|
|
|
108927
108977
|
f
|
|
108928
108978
|
);
|
|
108929
108979
|
}
|
|
108930
|
-
f = /** @type {
|
|
108980
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 2));
|
|
108931
108981
|
if (f != null) {
|
|
108932
|
-
writer.
|
|
108982
|
+
writer.writeInt64(
|
|
108933
108983
|
2,
|
|
108934
108984
|
f
|
|
108935
108985
|
);
|
|
108936
108986
|
}
|
|
108937
|
-
f = /** @type {
|
|
108987
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 3));
|
|
108938
108988
|
if (f != null) {
|
|
108939
|
-
writer.
|
|
108989
|
+
writer.writeInt64(
|
|
108940
108990
|
3,
|
|
108941
108991
|
f
|
|
108942
108992
|
);
|
|
108943
108993
|
}
|
|
108944
|
-
f = /** @type {
|
|
108994
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 4));
|
|
108945
108995
|
if (f != null) {
|
|
108946
|
-
writer.
|
|
108996
|
+
writer.writeInt64(
|
|
108947
108997
|
4,
|
|
108948
108998
|
f
|
|
108949
108999
|
);
|
|
@@ -108955,104 +109005,47 @@ proto.com.lansweeper.dp.outbound.v1.SNMPInfo.serializeBinaryToWriter = function(
|
|
|
108955
109005
|
f
|
|
108956
109006
|
);
|
|
108957
109007
|
}
|
|
108958
|
-
f = /** @type {
|
|
109008
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 6));
|
|
108959
109009
|
if (f != null) {
|
|
108960
|
-
writer.
|
|
109010
|
+
writer.writeString(
|
|
108961
109011
|
6,
|
|
108962
109012
|
f
|
|
108963
109013
|
);
|
|
108964
109014
|
}
|
|
108965
|
-
f =
|
|
108966
|
-
if (f
|
|
108967
|
-
writer.
|
|
109015
|
+
f = message.getTonerList();
|
|
109016
|
+
if (f.length > 0) {
|
|
109017
|
+
writer.writeRepeatedMessage(
|
|
108968
109018
|
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
109019
|
f,
|
|
109027
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
109020
|
+
proto.com.lansweeper.dp.outbound.v1.PrinterTonerInfo.serializeBinaryToWriter
|
|
109028
109021
|
);
|
|
109029
109022
|
}
|
|
109030
109023
|
};
|
|
109031
109024
|
|
|
109032
109025
|
|
|
109033
109026
|
/**
|
|
109034
|
-
* optional string
|
|
109027
|
+
* optional string printer_name = 1;
|
|
109035
109028
|
* @return {string}
|
|
109036
109029
|
*/
|
|
109037
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
109030
|
+
proto.com.lansweeper.dp.outbound.v1.Printer.prototype.getPrinterName = function() {
|
|
109038
109031
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
109039
109032
|
};
|
|
109040
109033
|
|
|
109041
109034
|
|
|
109042
109035
|
/**
|
|
109043
109036
|
* @param {string} value
|
|
109044
|
-
* @return {!proto.com.lansweeper.dp.outbound.v1.
|
|
109037
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.Printer} returns this
|
|
109045
109038
|
*/
|
|
109046
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
109039
|
+
proto.com.lansweeper.dp.outbound.v1.Printer.prototype.setPrinterName = function(value) {
|
|
109047
109040
|
return jspb.Message.setField(this, 1, value);
|
|
109048
109041
|
};
|
|
109049
109042
|
|
|
109050
109043
|
|
|
109051
109044
|
/**
|
|
109052
109045
|
* Clears the field making it undefined.
|
|
109053
|
-
* @return {!proto.com.lansweeper.dp.outbound.v1.
|
|
109046
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.Printer} returns this
|
|
109054
109047
|
*/
|
|
109055
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
109048
|
+
proto.com.lansweeper.dp.outbound.v1.Printer.prototype.clearPrinterName = function() {
|
|
109056
109049
|
return jspb.Message.setField(this, 1, undefined);
|
|
109057
109050
|
};
|
|
109058
109051
|
|
|
@@ -109061,770 +109054,34 @@ proto.com.lansweeper.dp.outbound.v1.SNMPInfo.prototype.clearObjectId = function(
|
|
|
109061
109054
|
* Returns whether this field is set.
|
|
109062
109055
|
* @return {boolean}
|
|
109063
109056
|
*/
|
|
109064
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
109057
|
+
proto.com.lansweeper.dp.outbound.v1.Printer.prototype.hasPrinterName = function() {
|
|
109065
109058
|
return jspb.Message.getField(this, 1) != null;
|
|
109066
109059
|
};
|
|
109067
109060
|
|
|
109068
109061
|
|
|
109069
109062
|
/**
|
|
109070
|
-
* optional
|
|
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;
|
|
109063
|
+
* optional int64 printed_pages = 2;
|
|
109287
109064
|
* @return {number}
|
|
109288
109065
|
*/
|
|
109289
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
109290
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this,
|
|
109066
|
+
proto.com.lansweeper.dp.outbound.v1.Printer.prototype.getPrintedPages = function() {
|
|
109067
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
109291
109068
|
};
|
|
109292
109069
|
|
|
109293
109070
|
|
|
109294
109071
|
/**
|
|
109295
109072
|
* @param {number} value
|
|
109296
|
-
* @return {!proto.com.lansweeper.dp.outbound.v1.
|
|
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
|
-
/**
|
|
109577
|
-
* List of repeated fields within this message type.
|
|
109578
|
-
* @private {!Array<number>}
|
|
109579
|
-
* @const
|
|
109580
|
-
*/
|
|
109581
|
-
proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo.repeatedFields_ = [7];
|
|
109582
|
-
|
|
109583
|
-
|
|
109584
|
-
|
|
109585
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
109586
|
-
/**
|
|
109587
|
-
* Creates an object representation of this proto.
|
|
109588
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
109589
|
-
* Optional fields that are not set will be set to undefined.
|
|
109590
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
109591
|
-
* For the list of reserved names please see:
|
|
109592
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
109593
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
109594
|
-
* JSPB instance for transitional soy proto support:
|
|
109595
|
-
* http://goto/soy-param-migration
|
|
109596
|
-
* @return {!Object}
|
|
109597
|
-
*/
|
|
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);
|
|
109600
|
-
};
|
|
109601
|
-
|
|
109602
|
-
|
|
109603
|
-
/**
|
|
109604
|
-
* Static version of the {@see toObject} method.
|
|
109605
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
109606
|
-
* the JSPB instance for transitional soy proto support:
|
|
109607
|
-
* http://goto/soy-param-migration
|
|
109608
|
-
* @param {!proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo} msg The msg instance to transform.
|
|
109609
|
-
* @return {!Object}
|
|
109610
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
109611
|
-
*/
|
|
109612
|
-
proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo.toObject = function(includeInstance, msg) {
|
|
109613
|
-
var f, obj = {
|
|
109614
|
-
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, ""),
|
|
109618
|
-
printerStatus: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
109619
|
-
serialNumber: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
109620
|
-
tonersList: jspb.Message.toObjectList(msg.getTonersList(),
|
|
109621
|
-
proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo.toObject, includeInstance)
|
|
109622
|
-
};
|
|
109623
|
-
|
|
109624
|
-
if (includeInstance) {
|
|
109625
|
-
obj.$jspbMessageInstance = msg;
|
|
109626
|
-
}
|
|
109627
|
-
return obj;
|
|
109628
|
-
};
|
|
109629
|
-
}
|
|
109630
|
-
|
|
109631
|
-
|
|
109632
|
-
/**
|
|
109633
|
-
* Deserializes binary data (in protobuf wire format).
|
|
109634
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
109635
|
-
* @return {!proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo}
|
|
109636
|
-
*/
|
|
109637
|
-
proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo.deserializeBinary = function(bytes) {
|
|
109638
|
-
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);
|
|
109641
|
-
};
|
|
109642
|
-
|
|
109643
|
-
|
|
109644
|
-
/**
|
|
109645
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
109646
|
-
* given reader into the given message object.
|
|
109647
|
-
* @param {!proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo} msg The message object to deserialize into.
|
|
109648
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
109649
|
-
* @return {!proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo}
|
|
109650
|
-
*/
|
|
109651
|
-
proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo.deserializeBinaryFromReader = function(msg, reader) {
|
|
109652
|
-
while (reader.nextField()) {
|
|
109653
|
-
if (reader.isEndGroup()) {
|
|
109654
|
-
break;
|
|
109655
|
-
}
|
|
109656
|
-
var field = reader.getFieldNumber();
|
|
109657
|
-
switch (field) {
|
|
109658
|
-
case 1:
|
|
109659
|
-
var value = /** @type {string} */ (reader.readString());
|
|
109660
|
-
msg.setPrinterName(value);
|
|
109661
|
-
break;
|
|
109662
|
-
case 2:
|
|
109663
|
-
var value = /** @type {string} */ (reader.readString());
|
|
109664
|
-
msg.setPrintedPages(value);
|
|
109665
|
-
break;
|
|
109666
|
-
case 3:
|
|
109667
|
-
var value = /** @type {string} */ (reader.readString());
|
|
109668
|
-
msg.setPrintedColorPages(value);
|
|
109669
|
-
break;
|
|
109670
|
-
case 4:
|
|
109671
|
-
var value = /** @type {string} */ (reader.readString());
|
|
109672
|
-
msg.setPrintedMonoPages(value);
|
|
109673
|
-
break;
|
|
109674
|
-
case 5:
|
|
109675
|
-
var value = /** @type {string} */ (reader.readString());
|
|
109676
|
-
msg.setPrinterStatus(value);
|
|
109677
|
-
break;
|
|
109678
|
-
case 6:
|
|
109679
|
-
var value = /** @type {string} */ (reader.readString());
|
|
109680
|
-
msg.setSerialNumber(value);
|
|
109681
|
-
break;
|
|
109682
|
-
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);
|
|
109686
|
-
break;
|
|
109687
|
-
default:
|
|
109688
|
-
reader.skipField();
|
|
109689
|
-
break;
|
|
109690
|
-
}
|
|
109691
|
-
}
|
|
109692
|
-
return msg;
|
|
109693
|
-
};
|
|
109694
|
-
|
|
109695
|
-
|
|
109696
|
-
/**
|
|
109697
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
109698
|
-
* @return {!Uint8Array}
|
|
109699
|
-
*/
|
|
109700
|
-
proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo.prototype.serializeBinary = function() {
|
|
109701
|
-
var writer = new jspb.BinaryWriter();
|
|
109702
|
-
proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo.serializeBinaryToWriter(this, writer);
|
|
109703
|
-
return writer.getResultBuffer();
|
|
109704
|
-
};
|
|
109705
|
-
|
|
109706
|
-
|
|
109707
|
-
/**
|
|
109708
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
109709
|
-
* format), writing to the given BinaryWriter.
|
|
109710
|
-
* @param {!proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo} message
|
|
109711
|
-
* @param {!jspb.BinaryWriter} writer
|
|
109712
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
109713
|
-
*/
|
|
109714
|
-
proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo.serializeBinaryToWriter = function(message, writer) {
|
|
109715
|
-
var f = undefined;
|
|
109716
|
-
f = /** @type {string} */ (jspb.Message.getField(message, 1));
|
|
109717
|
-
if (f != null) {
|
|
109718
|
-
writer.writeString(
|
|
109719
|
-
1,
|
|
109720
|
-
f
|
|
109721
|
-
);
|
|
109722
|
-
}
|
|
109723
|
-
f = /** @type {string} */ (jspb.Message.getField(message, 2));
|
|
109724
|
-
if (f != null) {
|
|
109725
|
-
writer.writeString(
|
|
109726
|
-
2,
|
|
109727
|
-
f
|
|
109728
|
-
);
|
|
109729
|
-
}
|
|
109730
|
-
f = /** @type {string} */ (jspb.Message.getField(message, 3));
|
|
109731
|
-
if (f != null) {
|
|
109732
|
-
writer.writeString(
|
|
109733
|
-
3,
|
|
109734
|
-
f
|
|
109735
|
-
);
|
|
109736
|
-
}
|
|
109737
|
-
f = /** @type {string} */ (jspb.Message.getField(message, 4));
|
|
109738
|
-
if (f != null) {
|
|
109739
|
-
writer.writeString(
|
|
109740
|
-
4,
|
|
109741
|
-
f
|
|
109742
|
-
);
|
|
109743
|
-
}
|
|
109744
|
-
f = /** @type {string} */ (jspb.Message.getField(message, 5));
|
|
109745
|
-
if (f != null) {
|
|
109746
|
-
writer.writeString(
|
|
109747
|
-
5,
|
|
109748
|
-
f
|
|
109749
|
-
);
|
|
109750
|
-
}
|
|
109751
|
-
f = /** @type {string} */ (jspb.Message.getField(message, 6));
|
|
109752
|
-
if (f != null) {
|
|
109753
|
-
writer.writeString(
|
|
109754
|
-
6,
|
|
109755
|
-
f
|
|
109756
|
-
);
|
|
109757
|
-
}
|
|
109758
|
-
f = message.getTonersList();
|
|
109759
|
-
if (f.length > 0) {
|
|
109760
|
-
writer.writeRepeatedMessage(
|
|
109761
|
-
7,
|
|
109762
|
-
f,
|
|
109763
|
-
proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo.serializeBinaryToWriter
|
|
109764
|
-
);
|
|
109765
|
-
}
|
|
109766
|
-
};
|
|
109767
|
-
|
|
109768
|
-
|
|
109769
|
-
/**
|
|
109770
|
-
* optional string printer_name = 1;
|
|
109771
|
-
* @return {string}
|
|
109772
|
-
*/
|
|
109773
|
-
proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo.prototype.getPrinterName = function() {
|
|
109774
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
109775
|
-
};
|
|
109776
|
-
|
|
109777
|
-
|
|
109778
|
-
/**
|
|
109779
|
-
* @param {string} value
|
|
109780
|
-
* @return {!proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo} returns this
|
|
109781
|
-
*/
|
|
109782
|
-
proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo.prototype.setPrinterName = function(value) {
|
|
109783
|
-
return jspb.Message.setField(this, 1, value);
|
|
109784
|
-
};
|
|
109785
|
-
|
|
109786
|
-
|
|
109787
|
-
/**
|
|
109788
|
-
* Clears the field making it undefined.
|
|
109789
|
-
* @return {!proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo} returns this
|
|
109073
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.Printer} returns this
|
|
109790
109074
|
*/
|
|
109791
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
109792
|
-
return jspb.Message.setField(this, 1, undefined);
|
|
109793
|
-
};
|
|
109794
|
-
|
|
109795
|
-
|
|
109796
|
-
/**
|
|
109797
|
-
* Returns whether this field is set.
|
|
109798
|
-
* @return {boolean}
|
|
109799
|
-
*/
|
|
109800
|
-
proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo.prototype.hasPrinterName = function() {
|
|
109801
|
-
return jspb.Message.getField(this, 1) != null;
|
|
109802
|
-
};
|
|
109803
|
-
|
|
109804
|
-
|
|
109805
|
-
/**
|
|
109806
|
-
* optional string printed_pages = 2;
|
|
109807
|
-
* @return {string}
|
|
109808
|
-
*/
|
|
109809
|
-
proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo.prototype.getPrintedPages = function() {
|
|
109810
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
109811
|
-
};
|
|
109812
|
-
|
|
109813
|
-
|
|
109814
|
-
/**
|
|
109815
|
-
* @param {string} value
|
|
109816
|
-
* @return {!proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo} returns this
|
|
109817
|
-
*/
|
|
109818
|
-
proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo.prototype.setPrintedPages = function(value) {
|
|
109075
|
+
proto.com.lansweeper.dp.outbound.v1.Printer.prototype.setPrintedPages = function(value) {
|
|
109819
109076
|
return jspb.Message.setField(this, 2, value);
|
|
109820
109077
|
};
|
|
109821
109078
|
|
|
109822
109079
|
|
|
109823
109080
|
/**
|
|
109824
109081
|
* Clears the field making it undefined.
|
|
109825
|
-
* @return {!proto.com.lansweeper.dp.outbound.v1.
|
|
109082
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.Printer} returns this
|
|
109826
109083
|
*/
|
|
109827
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
109084
|
+
proto.com.lansweeper.dp.outbound.v1.Printer.prototype.clearPrintedPages = function() {
|
|
109828
109085
|
return jspb.Message.setField(this, 2, undefined);
|
|
109829
109086
|
};
|
|
109830
109087
|
|
|
@@ -109833,34 +109090,34 @@ proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo.prototype.clearPrintedPages
|
|
|
109833
109090
|
* Returns whether this field is set.
|
|
109834
109091
|
* @return {boolean}
|
|
109835
109092
|
*/
|
|
109836
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
109093
|
+
proto.com.lansweeper.dp.outbound.v1.Printer.prototype.hasPrintedPages = function() {
|
|
109837
109094
|
return jspb.Message.getField(this, 2) != null;
|
|
109838
109095
|
};
|
|
109839
109096
|
|
|
109840
109097
|
|
|
109841
109098
|
/**
|
|
109842
|
-
* optional
|
|
109843
|
-
* @return {
|
|
109099
|
+
* optional int64 printed_color_pages = 3;
|
|
109100
|
+
* @return {number}
|
|
109844
109101
|
*/
|
|
109845
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
109846
|
-
return /** @type {
|
|
109102
|
+
proto.com.lansweeper.dp.outbound.v1.Printer.prototype.getPrintedColorPages = function() {
|
|
109103
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
109847
109104
|
};
|
|
109848
109105
|
|
|
109849
109106
|
|
|
109850
109107
|
/**
|
|
109851
|
-
* @param {
|
|
109852
|
-
* @return {!proto.com.lansweeper.dp.outbound.v1.
|
|
109108
|
+
* @param {number} value
|
|
109109
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.Printer} returns this
|
|
109853
109110
|
*/
|
|
109854
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
109111
|
+
proto.com.lansweeper.dp.outbound.v1.Printer.prototype.setPrintedColorPages = function(value) {
|
|
109855
109112
|
return jspb.Message.setField(this, 3, value);
|
|
109856
109113
|
};
|
|
109857
109114
|
|
|
109858
109115
|
|
|
109859
109116
|
/**
|
|
109860
109117
|
* Clears the field making it undefined.
|
|
109861
|
-
* @return {!proto.com.lansweeper.dp.outbound.v1.
|
|
109118
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.Printer} returns this
|
|
109862
109119
|
*/
|
|
109863
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
109120
|
+
proto.com.lansweeper.dp.outbound.v1.Printer.prototype.clearPrintedColorPages = function() {
|
|
109864
109121
|
return jspb.Message.setField(this, 3, undefined);
|
|
109865
109122
|
};
|
|
109866
109123
|
|
|
@@ -109869,34 +109126,34 @@ proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo.prototype.clearPrintedColorP
|
|
|
109869
109126
|
* Returns whether this field is set.
|
|
109870
109127
|
* @return {boolean}
|
|
109871
109128
|
*/
|
|
109872
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
109129
|
+
proto.com.lansweeper.dp.outbound.v1.Printer.prototype.hasPrintedColorPages = function() {
|
|
109873
109130
|
return jspb.Message.getField(this, 3) != null;
|
|
109874
109131
|
};
|
|
109875
109132
|
|
|
109876
109133
|
|
|
109877
109134
|
/**
|
|
109878
|
-
* optional
|
|
109879
|
-
* @return {
|
|
109135
|
+
* optional int64 printed_mono_pages = 4;
|
|
109136
|
+
* @return {number}
|
|
109880
109137
|
*/
|
|
109881
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
109882
|
-
return /** @type {
|
|
109138
|
+
proto.com.lansweeper.dp.outbound.v1.Printer.prototype.getPrintedMonoPages = function() {
|
|
109139
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
109883
109140
|
};
|
|
109884
109141
|
|
|
109885
109142
|
|
|
109886
109143
|
/**
|
|
109887
|
-
* @param {
|
|
109888
|
-
* @return {!proto.com.lansweeper.dp.outbound.v1.
|
|
109144
|
+
* @param {number} value
|
|
109145
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.Printer} returns this
|
|
109889
109146
|
*/
|
|
109890
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
109147
|
+
proto.com.lansweeper.dp.outbound.v1.Printer.prototype.setPrintedMonoPages = function(value) {
|
|
109891
109148
|
return jspb.Message.setField(this, 4, value);
|
|
109892
109149
|
};
|
|
109893
109150
|
|
|
109894
109151
|
|
|
109895
109152
|
/**
|
|
109896
109153
|
* Clears the field making it undefined.
|
|
109897
|
-
* @return {!proto.com.lansweeper.dp.outbound.v1.
|
|
109154
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.Printer} returns this
|
|
109898
109155
|
*/
|
|
109899
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
109156
|
+
proto.com.lansweeper.dp.outbound.v1.Printer.prototype.clearPrintedMonoPages = function() {
|
|
109900
109157
|
return jspb.Message.setField(this, 4, undefined);
|
|
109901
109158
|
};
|
|
109902
109159
|
|
|
@@ -109905,7 +109162,7 @@ proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo.prototype.clearPrintedMonoPa
|
|
|
109905
109162
|
* Returns whether this field is set.
|
|
109906
109163
|
* @return {boolean}
|
|
109907
109164
|
*/
|
|
109908
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
109165
|
+
proto.com.lansweeper.dp.outbound.v1.Printer.prototype.hasPrintedMonoPages = function() {
|
|
109909
109166
|
return jspb.Message.getField(this, 4) != null;
|
|
109910
109167
|
};
|
|
109911
109168
|
|
|
@@ -109914,25 +109171,25 @@ proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo.prototype.hasPrintedMonoPage
|
|
|
109914
109171
|
* optional string printer_status = 5;
|
|
109915
109172
|
* @return {string}
|
|
109916
109173
|
*/
|
|
109917
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
109174
|
+
proto.com.lansweeper.dp.outbound.v1.Printer.prototype.getPrinterStatus = function() {
|
|
109918
109175
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
109919
109176
|
};
|
|
109920
109177
|
|
|
109921
109178
|
|
|
109922
109179
|
/**
|
|
109923
109180
|
* @param {string} value
|
|
109924
|
-
* @return {!proto.com.lansweeper.dp.outbound.v1.
|
|
109181
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.Printer} returns this
|
|
109925
109182
|
*/
|
|
109926
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
109183
|
+
proto.com.lansweeper.dp.outbound.v1.Printer.prototype.setPrinterStatus = function(value) {
|
|
109927
109184
|
return jspb.Message.setField(this, 5, value);
|
|
109928
109185
|
};
|
|
109929
109186
|
|
|
109930
109187
|
|
|
109931
109188
|
/**
|
|
109932
109189
|
* Clears the field making it undefined.
|
|
109933
|
-
* @return {!proto.com.lansweeper.dp.outbound.v1.
|
|
109190
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.Printer} returns this
|
|
109934
109191
|
*/
|
|
109935
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
109192
|
+
proto.com.lansweeper.dp.outbound.v1.Printer.prototype.clearPrinterStatus = function() {
|
|
109936
109193
|
return jspb.Message.setField(this, 5, undefined);
|
|
109937
109194
|
};
|
|
109938
109195
|
|
|
@@ -109941,7 +109198,7 @@ proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo.prototype.clearPrinterStatus
|
|
|
109941
109198
|
* Returns whether this field is set.
|
|
109942
109199
|
* @return {boolean}
|
|
109943
109200
|
*/
|
|
109944
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
109201
|
+
proto.com.lansweeper.dp.outbound.v1.Printer.prototype.hasPrinterStatus = function() {
|
|
109945
109202
|
return jspb.Message.getField(this, 5) != null;
|
|
109946
109203
|
};
|
|
109947
109204
|
|
|
@@ -109950,25 +109207,25 @@ proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo.prototype.hasPrinterStatus =
|
|
|
109950
109207
|
* optional string serial_number = 6;
|
|
109951
109208
|
* @return {string}
|
|
109952
109209
|
*/
|
|
109953
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
109210
|
+
proto.com.lansweeper.dp.outbound.v1.Printer.prototype.getSerialNumber = function() {
|
|
109954
109211
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
109955
109212
|
};
|
|
109956
109213
|
|
|
109957
109214
|
|
|
109958
109215
|
/**
|
|
109959
109216
|
* @param {string} value
|
|
109960
|
-
* @return {!proto.com.lansweeper.dp.outbound.v1.
|
|
109217
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.Printer} returns this
|
|
109961
109218
|
*/
|
|
109962
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
109219
|
+
proto.com.lansweeper.dp.outbound.v1.Printer.prototype.setSerialNumber = function(value) {
|
|
109963
109220
|
return jspb.Message.setField(this, 6, value);
|
|
109964
109221
|
};
|
|
109965
109222
|
|
|
109966
109223
|
|
|
109967
109224
|
/**
|
|
109968
109225
|
* Clears the field making it undefined.
|
|
109969
|
-
* @return {!proto.com.lansweeper.dp.outbound.v1.
|
|
109226
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.Printer} returns this
|
|
109970
109227
|
*/
|
|
109971
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
109228
|
+
proto.com.lansweeper.dp.outbound.v1.Printer.prototype.clearSerialNumber = function() {
|
|
109972
109229
|
return jspb.Message.setField(this, 6, undefined);
|
|
109973
109230
|
};
|
|
109974
109231
|
|
|
@@ -109977,46 +109234,46 @@ proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo.prototype.clearSerialNumber
|
|
|
109977
109234
|
* Returns whether this field is set.
|
|
109978
109235
|
* @return {boolean}
|
|
109979
109236
|
*/
|
|
109980
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
109237
|
+
proto.com.lansweeper.dp.outbound.v1.Printer.prototype.hasSerialNumber = function() {
|
|
109981
109238
|
return jspb.Message.getField(this, 6) != null;
|
|
109982
109239
|
};
|
|
109983
109240
|
|
|
109984
109241
|
|
|
109985
109242
|
/**
|
|
109986
|
-
* repeated
|
|
109987
|
-
* @return {!Array<!proto.com.lansweeper.dp.outbound.v1.
|
|
109243
|
+
* repeated PrinterTonerInfo toner = 7;
|
|
109244
|
+
* @return {!Array<!proto.com.lansweeper.dp.outbound.v1.PrinterTonerInfo>}
|
|
109988
109245
|
*/
|
|
109989
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
109990
|
-
return /** @type{!Array<!proto.com.lansweeper.dp.outbound.v1.
|
|
109991
|
-
jspb.Message.getRepeatedWrapperField(this, proto.com.lansweeper.dp.outbound.v1.
|
|
109246
|
+
proto.com.lansweeper.dp.outbound.v1.Printer.prototype.getTonerList = function() {
|
|
109247
|
+
return /** @type{!Array<!proto.com.lansweeper.dp.outbound.v1.PrinterTonerInfo>} */ (
|
|
109248
|
+
jspb.Message.getRepeatedWrapperField(this, proto.com.lansweeper.dp.outbound.v1.PrinterTonerInfo, 7));
|
|
109992
109249
|
};
|
|
109993
109250
|
|
|
109994
109251
|
|
|
109995
109252
|
/**
|
|
109996
|
-
* @param {!Array<!proto.com.lansweeper.dp.outbound.v1.
|
|
109997
|
-
* @return {!proto.com.lansweeper.dp.outbound.v1.
|
|
109253
|
+
* @param {!Array<!proto.com.lansweeper.dp.outbound.v1.PrinterTonerInfo>} value
|
|
109254
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.Printer} returns this
|
|
109998
109255
|
*/
|
|
109999
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
109256
|
+
proto.com.lansweeper.dp.outbound.v1.Printer.prototype.setTonerList = function(value) {
|
|
110000
109257
|
return jspb.Message.setRepeatedWrapperField(this, 7, value);
|
|
110001
109258
|
};
|
|
110002
109259
|
|
|
110003
109260
|
|
|
110004
109261
|
/**
|
|
110005
|
-
* @param {!proto.com.lansweeper.dp.outbound.v1.
|
|
109262
|
+
* @param {!proto.com.lansweeper.dp.outbound.v1.PrinterTonerInfo=} opt_value
|
|
110006
109263
|
* @param {number=} opt_index
|
|
110007
|
-
* @return {!proto.com.lansweeper.dp.outbound.v1.
|
|
109264
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.PrinterTonerInfo}
|
|
110008
109265
|
*/
|
|
110009
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
110010
|
-
return jspb.Message.addToRepeatedWrapperField(this, 7, opt_value, proto.com.lansweeper.dp.outbound.v1.
|
|
109266
|
+
proto.com.lansweeper.dp.outbound.v1.Printer.prototype.addToner = function(opt_value, opt_index) {
|
|
109267
|
+
return jspb.Message.addToRepeatedWrapperField(this, 7, opt_value, proto.com.lansweeper.dp.outbound.v1.PrinterTonerInfo, opt_index);
|
|
110011
109268
|
};
|
|
110012
109269
|
|
|
110013
109270
|
|
|
110014
109271
|
/**
|
|
110015
109272
|
* Clears the list making it empty but non-null.
|
|
110016
|
-
* @return {!proto.com.lansweeper.dp.outbound.v1.
|
|
109273
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.Printer} returns this
|
|
110017
109274
|
*/
|
|
110018
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
110019
|
-
return this.
|
|
109275
|
+
proto.com.lansweeper.dp.outbound.v1.Printer.prototype.clearTonerList = function() {
|
|
109276
|
+
return this.setTonerList([]);
|
|
110020
109277
|
};
|
|
110021
109278
|
|
|
110022
109279
|
|
|
@@ -110036,8 +109293,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
110036
109293
|
* http://goto/soy-param-migration
|
|
110037
109294
|
* @return {!Object}
|
|
110038
109295
|
*/
|
|
110039
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
110040
|
-
return proto.com.lansweeper.dp.outbound.v1.
|
|
109296
|
+
proto.com.lansweeper.dp.outbound.v1.PrinterTonerInfo.prototype.toObject = function(opt_includeInstance) {
|
|
109297
|
+
return proto.com.lansweeper.dp.outbound.v1.PrinterTonerInfo.toObject(opt_includeInstance, this);
|
|
110041
109298
|
};
|
|
110042
109299
|
|
|
110043
109300
|
|
|
@@ -110046,15 +109303,15 @@ proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo.prototype.toObject = fu
|
|
|
110046
109303
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
110047
109304
|
* the JSPB instance for transitional soy proto support:
|
|
110048
109305
|
* http://goto/soy-param-migration
|
|
110049
|
-
* @param {!proto.com.lansweeper.dp.outbound.v1.
|
|
109306
|
+
* @param {!proto.com.lansweeper.dp.outbound.v1.PrinterTonerInfo} msg The msg instance to transform.
|
|
110050
109307
|
* @return {!Object}
|
|
110051
109308
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
110052
109309
|
*/
|
|
110053
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
109310
|
+
proto.com.lansweeper.dp.outbound.v1.PrinterTonerInfo.toObject = function(includeInstance, msg) {
|
|
110054
109311
|
var f, obj = {
|
|
110055
109312
|
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
110056
109313
|
color: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
110057
|
-
colorNumber:
|
|
109314
|
+
colorNumber: (f = msg.getColorNumber()) && proto.com.lansweeper.dp.outbound.v1.MappedValue.toObject(includeInstance, f),
|
|
110058
109315
|
maximumTonerLevel: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
110059
109316
|
number: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
110060
109317
|
remainingTonerLevel: jspb.Message.getFieldWithDefault(msg, 6, 0)
|
|
@@ -110071,23 +109328,23 @@ proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo.toObject = function(inc
|
|
|
110071
109328
|
/**
|
|
110072
109329
|
* Deserializes binary data (in protobuf wire format).
|
|
110073
109330
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
110074
|
-
* @return {!proto.com.lansweeper.dp.outbound.v1.
|
|
109331
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.PrinterTonerInfo}
|
|
110075
109332
|
*/
|
|
110076
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
109333
|
+
proto.com.lansweeper.dp.outbound.v1.PrinterTonerInfo.deserializeBinary = function(bytes) {
|
|
110077
109334
|
var reader = new jspb.BinaryReader(bytes);
|
|
110078
|
-
var msg = new proto.com.lansweeper.dp.outbound.v1.
|
|
110079
|
-
return proto.com.lansweeper.dp.outbound.v1.
|
|
109335
|
+
var msg = new proto.com.lansweeper.dp.outbound.v1.PrinterTonerInfo;
|
|
109336
|
+
return proto.com.lansweeper.dp.outbound.v1.PrinterTonerInfo.deserializeBinaryFromReader(msg, reader);
|
|
110080
109337
|
};
|
|
110081
109338
|
|
|
110082
109339
|
|
|
110083
109340
|
/**
|
|
110084
109341
|
* Deserializes binary data (in protobuf wire format) from the
|
|
110085
109342
|
* given reader into the given message object.
|
|
110086
|
-
* @param {!proto.com.lansweeper.dp.outbound.v1.
|
|
109343
|
+
* @param {!proto.com.lansweeper.dp.outbound.v1.PrinterTonerInfo} msg The message object to deserialize into.
|
|
110087
109344
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
110088
|
-
* @return {!proto.com.lansweeper.dp.outbound.v1.
|
|
109345
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.PrinterTonerInfo}
|
|
110089
109346
|
*/
|
|
110090
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
109347
|
+
proto.com.lansweeper.dp.outbound.v1.PrinterTonerInfo.deserializeBinaryFromReader = function(msg, reader) {
|
|
110091
109348
|
while (reader.nextField()) {
|
|
110092
109349
|
if (reader.isEndGroup()) {
|
|
110093
109350
|
break;
|
|
@@ -110103,19 +109360,20 @@ proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo.deserializeBinaryFromRe
|
|
|
110103
109360
|
msg.setColor(value);
|
|
110104
109361
|
break;
|
|
110105
109362
|
case 3:
|
|
110106
|
-
var value =
|
|
109363
|
+
var value = new proto.com.lansweeper.dp.outbound.v1.MappedValue;
|
|
109364
|
+
reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.MappedValue.deserializeBinaryFromReader);
|
|
110107
109365
|
msg.setColorNumber(value);
|
|
110108
109366
|
break;
|
|
110109
109367
|
case 4:
|
|
110110
|
-
var value = /** @type {number} */ (reader.
|
|
109368
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
110111
109369
|
msg.setMaximumTonerLevel(value);
|
|
110112
109370
|
break;
|
|
110113
109371
|
case 5:
|
|
110114
|
-
var value = /** @type {number} */ (reader.
|
|
109372
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
110115
109373
|
msg.setNumber(value);
|
|
110116
109374
|
break;
|
|
110117
109375
|
case 6:
|
|
110118
|
-
var value = /** @type {number} */ (reader.
|
|
109376
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
110119
109377
|
msg.setRemainingTonerLevel(value);
|
|
110120
109378
|
break;
|
|
110121
109379
|
default:
|
|
@@ -110131,9 +109389,9 @@ proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo.deserializeBinaryFromRe
|
|
|
110131
109389
|
* Serializes the message to binary data (in protobuf wire format).
|
|
110132
109390
|
* @return {!Uint8Array}
|
|
110133
109391
|
*/
|
|
110134
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
109392
|
+
proto.com.lansweeper.dp.outbound.v1.PrinterTonerInfo.prototype.serializeBinary = function() {
|
|
110135
109393
|
var writer = new jspb.BinaryWriter();
|
|
110136
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
109394
|
+
proto.com.lansweeper.dp.outbound.v1.PrinterTonerInfo.serializeBinaryToWriter(this, writer);
|
|
110137
109395
|
return writer.getResultBuffer();
|
|
110138
109396
|
};
|
|
110139
109397
|
|
|
@@ -110141,11 +109399,11 @@ proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo.prototype.serializeBina
|
|
|
110141
109399
|
/**
|
|
110142
109400
|
* Serializes the given message to binary data (in protobuf wire
|
|
110143
109401
|
* format), writing to the given BinaryWriter.
|
|
110144
|
-
* @param {!proto.com.lansweeper.dp.outbound.v1.
|
|
109402
|
+
* @param {!proto.com.lansweeper.dp.outbound.v1.PrinterTonerInfo} message
|
|
110145
109403
|
* @param {!jspb.BinaryWriter} writer
|
|
110146
109404
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
110147
109405
|
*/
|
|
110148
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
109406
|
+
proto.com.lansweeper.dp.outbound.v1.PrinterTonerInfo.serializeBinaryToWriter = function(message, writer) {
|
|
110149
109407
|
var f = undefined;
|
|
110150
109408
|
f = /** @type {string} */ (jspb.Message.getField(message, 1));
|
|
110151
109409
|
if (f != null) {
|
|
@@ -110161,30 +109419,31 @@ proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo.serializeBinaryToWriter
|
|
|
110161
109419
|
f
|
|
110162
109420
|
);
|
|
110163
109421
|
}
|
|
110164
|
-
f =
|
|
109422
|
+
f = message.getColorNumber();
|
|
110165
109423
|
if (f != null) {
|
|
110166
|
-
writer.
|
|
109424
|
+
writer.writeMessage(
|
|
110167
109425
|
3,
|
|
110168
|
-
f
|
|
109426
|
+
f,
|
|
109427
|
+
proto.com.lansweeper.dp.outbound.v1.MappedValue.serializeBinaryToWriter
|
|
110169
109428
|
);
|
|
110170
109429
|
}
|
|
110171
109430
|
f = /** @type {number} */ (jspb.Message.getField(message, 4));
|
|
110172
109431
|
if (f != null) {
|
|
110173
|
-
writer.
|
|
109432
|
+
writer.writeInt64(
|
|
110174
109433
|
4,
|
|
110175
109434
|
f
|
|
110176
109435
|
);
|
|
110177
109436
|
}
|
|
110178
109437
|
f = /** @type {number} */ (jspb.Message.getField(message, 5));
|
|
110179
109438
|
if (f != null) {
|
|
110180
|
-
writer.
|
|
109439
|
+
writer.writeInt64(
|
|
110181
109440
|
5,
|
|
110182
109441
|
f
|
|
110183
109442
|
);
|
|
110184
109443
|
}
|
|
110185
109444
|
f = /** @type {number} */ (jspb.Message.getField(message, 6));
|
|
110186
109445
|
if (f != null) {
|
|
110187
|
-
writer.
|
|
109446
|
+
writer.writeInt64(
|
|
110188
109447
|
6,
|
|
110189
109448
|
f
|
|
110190
109449
|
);
|
|
@@ -110196,25 +109455,25 @@ proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo.serializeBinaryToWriter
|
|
|
110196
109455
|
* optional string name = 1;
|
|
110197
109456
|
* @return {string}
|
|
110198
109457
|
*/
|
|
110199
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
109458
|
+
proto.com.lansweeper.dp.outbound.v1.PrinterTonerInfo.prototype.getName = function() {
|
|
110200
109459
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
110201
109460
|
};
|
|
110202
109461
|
|
|
110203
109462
|
|
|
110204
109463
|
/**
|
|
110205
109464
|
* @param {string} value
|
|
110206
|
-
* @return {!proto.com.lansweeper.dp.outbound.v1.
|
|
109465
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.PrinterTonerInfo} returns this
|
|
110207
109466
|
*/
|
|
110208
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
109467
|
+
proto.com.lansweeper.dp.outbound.v1.PrinterTonerInfo.prototype.setName = function(value) {
|
|
110209
109468
|
return jspb.Message.setField(this, 1, value);
|
|
110210
109469
|
};
|
|
110211
109470
|
|
|
110212
109471
|
|
|
110213
109472
|
/**
|
|
110214
109473
|
* Clears the field making it undefined.
|
|
110215
|
-
* @return {!proto.com.lansweeper.dp.outbound.v1.
|
|
109474
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.PrinterTonerInfo} returns this
|
|
110216
109475
|
*/
|
|
110217
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
109476
|
+
proto.com.lansweeper.dp.outbound.v1.PrinterTonerInfo.prototype.clearName = function() {
|
|
110218
109477
|
return jspb.Message.setField(this, 1, undefined);
|
|
110219
109478
|
};
|
|
110220
109479
|
|
|
@@ -110223,7 +109482,7 @@ proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo.prototype.clearName = f
|
|
|
110223
109482
|
* Returns whether this field is set.
|
|
110224
109483
|
* @return {boolean}
|
|
110225
109484
|
*/
|
|
110226
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
109485
|
+
proto.com.lansweeper.dp.outbound.v1.PrinterTonerInfo.prototype.hasName = function() {
|
|
110227
109486
|
return jspb.Message.getField(this, 1) != null;
|
|
110228
109487
|
};
|
|
110229
109488
|
|
|
@@ -110232,25 +109491,25 @@ proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo.prototype.hasName = fun
|
|
|
110232
109491
|
* optional string color = 2;
|
|
110233
109492
|
* @return {string}
|
|
110234
109493
|
*/
|
|
110235
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
109494
|
+
proto.com.lansweeper.dp.outbound.v1.PrinterTonerInfo.prototype.getColor = function() {
|
|
110236
109495
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
110237
109496
|
};
|
|
110238
109497
|
|
|
110239
109498
|
|
|
110240
109499
|
/**
|
|
110241
109500
|
* @param {string} value
|
|
110242
|
-
* @return {!proto.com.lansweeper.dp.outbound.v1.
|
|
109501
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.PrinterTonerInfo} returns this
|
|
110243
109502
|
*/
|
|
110244
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
109503
|
+
proto.com.lansweeper.dp.outbound.v1.PrinterTonerInfo.prototype.setColor = function(value) {
|
|
110245
109504
|
return jspb.Message.setField(this, 2, value);
|
|
110246
109505
|
};
|
|
110247
109506
|
|
|
110248
109507
|
|
|
110249
109508
|
/**
|
|
110250
109509
|
* Clears the field making it undefined.
|
|
110251
|
-
* @return {!proto.com.lansweeper.dp.outbound.v1.
|
|
109510
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.PrinterTonerInfo} returns this
|
|
110252
109511
|
*/
|
|
110253
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
109512
|
+
proto.com.lansweeper.dp.outbound.v1.PrinterTonerInfo.prototype.clearColor = function() {
|
|
110254
109513
|
return jspb.Message.setField(this, 2, undefined);
|
|
110255
109514
|
};
|
|
110256
109515
|
|
|
@@ -110259,35 +109518,36 @@ proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo.prototype.clearColor =
|
|
|
110259
109518
|
* Returns whether this field is set.
|
|
110260
109519
|
* @return {boolean}
|
|
110261
109520
|
*/
|
|
110262
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
109521
|
+
proto.com.lansweeper.dp.outbound.v1.PrinterTonerInfo.prototype.hasColor = function() {
|
|
110263
109522
|
return jspb.Message.getField(this, 2) != null;
|
|
110264
109523
|
};
|
|
110265
109524
|
|
|
110266
109525
|
|
|
110267
109526
|
/**
|
|
110268
|
-
* optional
|
|
110269
|
-
* @return {
|
|
109527
|
+
* optional MappedValue color_number = 3;
|
|
109528
|
+
* @return {?proto.com.lansweeper.dp.outbound.v1.MappedValue}
|
|
110270
109529
|
*/
|
|
110271
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
110272
|
-
return /** @type
|
|
109530
|
+
proto.com.lansweeper.dp.outbound.v1.PrinterTonerInfo.prototype.getColorNumber = function() {
|
|
109531
|
+
return /** @type{?proto.com.lansweeper.dp.outbound.v1.MappedValue} */ (
|
|
109532
|
+
jspb.Message.getWrapperField(this, proto.com.lansweeper.dp.outbound.v1.MappedValue, 3));
|
|
110273
109533
|
};
|
|
110274
109534
|
|
|
110275
109535
|
|
|
110276
109536
|
/**
|
|
110277
|
-
* @param {
|
|
110278
|
-
* @return {!proto.com.lansweeper.dp.outbound.v1.
|
|
110279
|
-
|
|
110280
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
110281
|
-
return jspb.Message.
|
|
109537
|
+
* @param {?proto.com.lansweeper.dp.outbound.v1.MappedValue|undefined} value
|
|
109538
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.PrinterTonerInfo} returns this
|
|
109539
|
+
*/
|
|
109540
|
+
proto.com.lansweeper.dp.outbound.v1.PrinterTonerInfo.prototype.setColorNumber = function(value) {
|
|
109541
|
+
return jspb.Message.setWrapperField(this, 3, value);
|
|
110282
109542
|
};
|
|
110283
109543
|
|
|
110284
109544
|
|
|
110285
109545
|
/**
|
|
110286
|
-
* Clears the field making it undefined.
|
|
110287
|
-
* @return {!proto.com.lansweeper.dp.outbound.v1.
|
|
109546
|
+
* Clears the message field making it undefined.
|
|
109547
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.PrinterTonerInfo} returns this
|
|
110288
109548
|
*/
|
|
110289
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
110290
|
-
return
|
|
109549
|
+
proto.com.lansweeper.dp.outbound.v1.PrinterTonerInfo.prototype.clearColorNumber = function() {
|
|
109550
|
+
return this.setColorNumber(undefined);
|
|
110291
109551
|
};
|
|
110292
109552
|
|
|
110293
109553
|
|
|
@@ -110295,34 +109555,34 @@ proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo.prototype.clearColorNum
|
|
|
110295
109555
|
* Returns whether this field is set.
|
|
110296
109556
|
* @return {boolean}
|
|
110297
109557
|
*/
|
|
110298
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
109558
|
+
proto.com.lansweeper.dp.outbound.v1.PrinterTonerInfo.prototype.hasColorNumber = function() {
|
|
110299
109559
|
return jspb.Message.getField(this, 3) != null;
|
|
110300
109560
|
};
|
|
110301
109561
|
|
|
110302
109562
|
|
|
110303
109563
|
/**
|
|
110304
|
-
* optional
|
|
109564
|
+
* optional int64 maximum_toner_level = 4;
|
|
110305
109565
|
* @return {number}
|
|
110306
109566
|
*/
|
|
110307
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
109567
|
+
proto.com.lansweeper.dp.outbound.v1.PrinterTonerInfo.prototype.getMaximumTonerLevel = function() {
|
|
110308
109568
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
110309
109569
|
};
|
|
110310
109570
|
|
|
110311
109571
|
|
|
110312
109572
|
/**
|
|
110313
109573
|
* @param {number} value
|
|
110314
|
-
* @return {!proto.com.lansweeper.dp.outbound.v1.
|
|
109574
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.PrinterTonerInfo} returns this
|
|
110315
109575
|
*/
|
|
110316
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
109576
|
+
proto.com.lansweeper.dp.outbound.v1.PrinterTonerInfo.prototype.setMaximumTonerLevel = function(value) {
|
|
110317
109577
|
return jspb.Message.setField(this, 4, value);
|
|
110318
109578
|
};
|
|
110319
109579
|
|
|
110320
109580
|
|
|
110321
109581
|
/**
|
|
110322
109582
|
* Clears the field making it undefined.
|
|
110323
|
-
* @return {!proto.com.lansweeper.dp.outbound.v1.
|
|
109583
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.PrinterTonerInfo} returns this
|
|
110324
109584
|
*/
|
|
110325
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
109585
|
+
proto.com.lansweeper.dp.outbound.v1.PrinterTonerInfo.prototype.clearMaximumTonerLevel = function() {
|
|
110326
109586
|
return jspb.Message.setField(this, 4, undefined);
|
|
110327
109587
|
};
|
|
110328
109588
|
|
|
@@ -110331,34 +109591,34 @@ proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo.prototype.clearMaximumT
|
|
|
110331
109591
|
* Returns whether this field is set.
|
|
110332
109592
|
* @return {boolean}
|
|
110333
109593
|
*/
|
|
110334
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
109594
|
+
proto.com.lansweeper.dp.outbound.v1.PrinterTonerInfo.prototype.hasMaximumTonerLevel = function() {
|
|
110335
109595
|
return jspb.Message.getField(this, 4) != null;
|
|
110336
109596
|
};
|
|
110337
109597
|
|
|
110338
109598
|
|
|
110339
109599
|
/**
|
|
110340
|
-
* optional
|
|
109600
|
+
* optional int64 number = 5;
|
|
110341
109601
|
* @return {number}
|
|
110342
109602
|
*/
|
|
110343
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
109603
|
+
proto.com.lansweeper.dp.outbound.v1.PrinterTonerInfo.prototype.getNumber = function() {
|
|
110344
109604
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
|
110345
109605
|
};
|
|
110346
109606
|
|
|
110347
109607
|
|
|
110348
109608
|
/**
|
|
110349
109609
|
* @param {number} value
|
|
110350
|
-
* @return {!proto.com.lansweeper.dp.outbound.v1.
|
|
109610
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.PrinterTonerInfo} returns this
|
|
110351
109611
|
*/
|
|
110352
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
109612
|
+
proto.com.lansweeper.dp.outbound.v1.PrinterTonerInfo.prototype.setNumber = function(value) {
|
|
110353
109613
|
return jspb.Message.setField(this, 5, value);
|
|
110354
109614
|
};
|
|
110355
109615
|
|
|
110356
109616
|
|
|
110357
109617
|
/**
|
|
110358
109618
|
* Clears the field making it undefined.
|
|
110359
|
-
* @return {!proto.com.lansweeper.dp.outbound.v1.
|
|
109619
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.PrinterTonerInfo} returns this
|
|
110360
109620
|
*/
|
|
110361
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
109621
|
+
proto.com.lansweeper.dp.outbound.v1.PrinterTonerInfo.prototype.clearNumber = function() {
|
|
110362
109622
|
return jspb.Message.setField(this, 5, undefined);
|
|
110363
109623
|
};
|
|
110364
109624
|
|
|
@@ -110367,34 +109627,34 @@ proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo.prototype.clearNumber =
|
|
|
110367
109627
|
* Returns whether this field is set.
|
|
110368
109628
|
* @return {boolean}
|
|
110369
109629
|
*/
|
|
110370
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
109630
|
+
proto.com.lansweeper.dp.outbound.v1.PrinterTonerInfo.prototype.hasNumber = function() {
|
|
110371
109631
|
return jspb.Message.getField(this, 5) != null;
|
|
110372
109632
|
};
|
|
110373
109633
|
|
|
110374
109634
|
|
|
110375
109635
|
/**
|
|
110376
|
-
* optional
|
|
109636
|
+
* optional int64 remaining_toner_level = 6;
|
|
110377
109637
|
* @return {number}
|
|
110378
109638
|
*/
|
|
110379
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
109639
|
+
proto.com.lansweeper.dp.outbound.v1.PrinterTonerInfo.prototype.getRemainingTonerLevel = function() {
|
|
110380
109640
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
|
|
110381
109641
|
};
|
|
110382
109642
|
|
|
110383
109643
|
|
|
110384
109644
|
/**
|
|
110385
109645
|
* @param {number} value
|
|
110386
|
-
* @return {!proto.com.lansweeper.dp.outbound.v1.
|
|
109646
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.PrinterTonerInfo} returns this
|
|
110387
109647
|
*/
|
|
110388
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
109648
|
+
proto.com.lansweeper.dp.outbound.v1.PrinterTonerInfo.prototype.setRemainingTonerLevel = function(value) {
|
|
110389
109649
|
return jspb.Message.setField(this, 6, value);
|
|
110390
109650
|
};
|
|
110391
109651
|
|
|
110392
109652
|
|
|
110393
109653
|
/**
|
|
110394
109654
|
* Clears the field making it undefined.
|
|
110395
|
-
* @return {!proto.com.lansweeper.dp.outbound.v1.
|
|
109655
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.PrinterTonerInfo} returns this
|
|
110396
109656
|
*/
|
|
110397
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
109657
|
+
proto.com.lansweeper.dp.outbound.v1.PrinterTonerInfo.prototype.clearRemainingTonerLevel = function() {
|
|
110398
109658
|
return jspb.Message.setField(this, 6, undefined);
|
|
110399
109659
|
};
|
|
110400
109660
|
|
|
@@ -110403,7 +109663,7 @@ proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo.prototype.clearRemainin
|
|
|
110403
109663
|
* Returns whether this field is set.
|
|
110404
109664
|
* @return {boolean}
|
|
110405
109665
|
*/
|
|
110406
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
109666
|
+
proto.com.lansweeper.dp.outbound.v1.PrinterTonerInfo.prototype.hasRemainingTonerLevel = function() {
|
|
110407
109667
|
return jspb.Message.getField(this, 6) != null;
|
|
110408
109668
|
};
|
|
110409
109669
|
|
|
@@ -110424,8 +109684,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
110424
109684
|
* http://goto/soy-param-migration
|
|
110425
109685
|
* @return {!Object}
|
|
110426
109686
|
*/
|
|
110427
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
110428
|
-
return proto.com.lansweeper.dp.outbound.v1.
|
|
109687
|
+
proto.com.lansweeper.dp.outbound.v1.Ups.prototype.toObject = function(opt_includeInstance) {
|
|
109688
|
+
return proto.com.lansweeper.dp.outbound.v1.Ups.toObject(opt_includeInstance, this);
|
|
110429
109689
|
};
|
|
110430
109690
|
|
|
110431
109691
|
|
|
@@ -110434,11 +109694,11 @@ proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.toObject = function(op
|
|
|
110434
109694
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
110435
109695
|
* the JSPB instance for transitional soy proto support:
|
|
110436
109696
|
* http://goto/soy-param-migration
|
|
110437
|
-
* @param {!proto.com.lansweeper.dp.outbound.v1.
|
|
109697
|
+
* @param {!proto.com.lansweeper.dp.outbound.v1.Ups} msg The msg instance to transform.
|
|
110438
109698
|
* @return {!Object}
|
|
110439
109699
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
110440
109700
|
*/
|
|
110441
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
109701
|
+
proto.com.lansweeper.dp.outbound.v1.Ups.toObject = function(includeInstance, msg) {
|
|
110442
109702
|
var f, obj = {
|
|
110443
109703
|
manufacturer: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
110444
109704
|
model: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
@@ -110446,14 +109706,14 @@ proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.toObject = function(includeInsta
|
|
|
110446
109706
|
agentSoftwareVersion: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
110447
109707
|
name: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
110448
109708
|
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,
|
|
109709
|
+
batteryStatus: jspb.Message.getFieldWithDefault(msg, 7, 0),
|
|
109710
|
+
secondsOnBattery: jspb.Message.getFieldWithDefault(msg, 8, 0),
|
|
109711
|
+
estimatedMinutesRemaining: jspb.Message.getFieldWithDefault(msg, 9, 0),
|
|
109712
|
+
estimatedChargeRemaining: jspb.Message.getFieldWithDefault(msg, 10, 0),
|
|
109713
|
+
batteryVoltage: jspb.Message.getFieldWithDefault(msg, 11, 0),
|
|
109714
|
+
batteryCurrent: jspb.Message.getFieldWithDefault(msg, 12, 0),
|
|
109715
|
+
batteryTemperature: jspb.Message.getFieldWithDefault(msg, 13, 0),
|
|
109716
|
+
alarmsPresent: jspb.Message.getFieldWithDefault(msg, 14, 0)
|
|
110457
109717
|
};
|
|
110458
109718
|
|
|
110459
109719
|
if (includeInstance) {
|
|
@@ -110467,23 +109727,23 @@ proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.toObject = function(includeInsta
|
|
|
110467
109727
|
/**
|
|
110468
109728
|
* Deserializes binary data (in protobuf wire format).
|
|
110469
109729
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
110470
|
-
* @return {!proto.com.lansweeper.dp.outbound.v1.
|
|
109730
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.Ups}
|
|
110471
109731
|
*/
|
|
110472
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
109732
|
+
proto.com.lansweeper.dp.outbound.v1.Ups.deserializeBinary = function(bytes) {
|
|
110473
109733
|
var reader = new jspb.BinaryReader(bytes);
|
|
110474
|
-
var msg = new proto.com.lansweeper.dp.outbound.v1.
|
|
110475
|
-
return proto.com.lansweeper.dp.outbound.v1.
|
|
109734
|
+
var msg = new proto.com.lansweeper.dp.outbound.v1.Ups;
|
|
109735
|
+
return proto.com.lansweeper.dp.outbound.v1.Ups.deserializeBinaryFromReader(msg, reader);
|
|
110476
109736
|
};
|
|
110477
109737
|
|
|
110478
109738
|
|
|
110479
109739
|
/**
|
|
110480
109740
|
* Deserializes binary data (in protobuf wire format) from the
|
|
110481
109741
|
* given reader into the given message object.
|
|
110482
|
-
* @param {!proto.com.lansweeper.dp.outbound.v1.
|
|
109742
|
+
* @param {!proto.com.lansweeper.dp.outbound.v1.Ups} msg The message object to deserialize into.
|
|
110483
109743
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
110484
|
-
* @return {!proto.com.lansweeper.dp.outbound.v1.
|
|
109744
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.Ups}
|
|
110485
109745
|
*/
|
|
110486
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
109746
|
+
proto.com.lansweeper.dp.outbound.v1.Ups.deserializeBinaryFromReader = function(msg, reader) {
|
|
110487
109747
|
while (reader.nextField()) {
|
|
110488
109748
|
if (reader.isEndGroup()) {
|
|
110489
109749
|
break;
|
|
@@ -110515,35 +109775,35 @@ proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.deserializeBinaryFromReader = fu
|
|
|
110515
109775
|
msg.setAttachedDevices(value);
|
|
110516
109776
|
break;
|
|
110517
109777
|
case 7:
|
|
110518
|
-
var value = /** @type {
|
|
109778
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
110519
109779
|
msg.setBatteryStatus(value);
|
|
110520
109780
|
break;
|
|
110521
109781
|
case 8:
|
|
110522
|
-
var value = /** @type {
|
|
109782
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
110523
109783
|
msg.setSecondsOnBattery(value);
|
|
110524
109784
|
break;
|
|
110525
109785
|
case 9:
|
|
110526
|
-
var value = /** @type {
|
|
109786
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
110527
109787
|
msg.setEstimatedMinutesRemaining(value);
|
|
110528
109788
|
break;
|
|
110529
109789
|
case 10:
|
|
110530
|
-
var value = /** @type {
|
|
109790
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
110531
109791
|
msg.setEstimatedChargeRemaining(value);
|
|
110532
109792
|
break;
|
|
110533
109793
|
case 11:
|
|
110534
|
-
var value = /** @type {
|
|
109794
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
110535
109795
|
msg.setBatteryVoltage(value);
|
|
110536
109796
|
break;
|
|
110537
109797
|
case 12:
|
|
110538
|
-
var value = /** @type {
|
|
109798
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
110539
109799
|
msg.setBatteryCurrent(value);
|
|
110540
109800
|
break;
|
|
110541
109801
|
case 13:
|
|
110542
|
-
var value = /** @type {
|
|
109802
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
110543
109803
|
msg.setBatteryTemperature(value);
|
|
110544
109804
|
break;
|
|
110545
109805
|
case 14:
|
|
110546
|
-
var value = /** @type {
|
|
109806
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
110547
109807
|
msg.setAlarmsPresent(value);
|
|
110548
109808
|
break;
|
|
110549
109809
|
default:
|
|
@@ -110559,9 +109819,9 @@ proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.deserializeBinaryFromReader = fu
|
|
|
110559
109819
|
* Serializes the message to binary data (in protobuf wire format).
|
|
110560
109820
|
* @return {!Uint8Array}
|
|
110561
109821
|
*/
|
|
110562
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
109822
|
+
proto.com.lansweeper.dp.outbound.v1.Ups.prototype.serializeBinary = function() {
|
|
110563
109823
|
var writer = new jspb.BinaryWriter();
|
|
110564
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
109824
|
+
proto.com.lansweeper.dp.outbound.v1.Ups.serializeBinaryToWriter(this, writer);
|
|
110565
109825
|
return writer.getResultBuffer();
|
|
110566
109826
|
};
|
|
110567
109827
|
|
|
@@ -110569,11 +109829,11 @@ proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.serializeBinary = func
|
|
|
110569
109829
|
/**
|
|
110570
109830
|
* Serializes the given message to binary data (in protobuf wire
|
|
110571
109831
|
* format), writing to the given BinaryWriter.
|
|
110572
|
-
* @param {!proto.com.lansweeper.dp.outbound.v1.
|
|
109832
|
+
* @param {!proto.com.lansweeper.dp.outbound.v1.Ups} message
|
|
110573
109833
|
* @param {!jspb.BinaryWriter} writer
|
|
110574
109834
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
110575
109835
|
*/
|
|
110576
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
109836
|
+
proto.com.lansweeper.dp.outbound.v1.Ups.serializeBinaryToWriter = function(message, writer) {
|
|
110577
109837
|
var f = undefined;
|
|
110578
109838
|
f = /** @type {string} */ (jspb.Message.getField(message, 1));
|
|
110579
109839
|
if (f != null) {
|
|
@@ -110617,58 +109877,58 @@ proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.serializeBinaryToWriter = functi
|
|
|
110617
109877
|
f
|
|
110618
109878
|
);
|
|
110619
109879
|
}
|
|
110620
|
-
f = /** @type {
|
|
109880
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 7));
|
|
110621
109881
|
if (f != null) {
|
|
110622
|
-
writer.
|
|
109882
|
+
writer.writeInt64(
|
|
110623
109883
|
7,
|
|
110624
109884
|
f
|
|
110625
109885
|
);
|
|
110626
109886
|
}
|
|
110627
|
-
f = /** @type {
|
|
109887
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 8));
|
|
110628
109888
|
if (f != null) {
|
|
110629
|
-
writer.
|
|
109889
|
+
writer.writeInt64(
|
|
110630
109890
|
8,
|
|
110631
109891
|
f
|
|
110632
109892
|
);
|
|
110633
109893
|
}
|
|
110634
|
-
f = /** @type {
|
|
109894
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 9));
|
|
110635
109895
|
if (f != null) {
|
|
110636
|
-
writer.
|
|
109896
|
+
writer.writeInt64(
|
|
110637
109897
|
9,
|
|
110638
109898
|
f
|
|
110639
109899
|
);
|
|
110640
109900
|
}
|
|
110641
|
-
f = /** @type {
|
|
109901
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 10));
|
|
110642
109902
|
if (f != null) {
|
|
110643
|
-
writer.
|
|
109903
|
+
writer.writeInt64(
|
|
110644
109904
|
10,
|
|
110645
109905
|
f
|
|
110646
109906
|
);
|
|
110647
109907
|
}
|
|
110648
|
-
f = /** @type {
|
|
109908
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 11));
|
|
110649
109909
|
if (f != null) {
|
|
110650
|
-
writer.
|
|
109910
|
+
writer.writeInt64(
|
|
110651
109911
|
11,
|
|
110652
109912
|
f
|
|
110653
109913
|
);
|
|
110654
109914
|
}
|
|
110655
|
-
f = /** @type {
|
|
109915
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 12));
|
|
110656
109916
|
if (f != null) {
|
|
110657
|
-
writer.
|
|
109917
|
+
writer.writeInt64(
|
|
110658
109918
|
12,
|
|
110659
109919
|
f
|
|
110660
109920
|
);
|
|
110661
109921
|
}
|
|
110662
|
-
f = /** @type {
|
|
109922
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 13));
|
|
110663
109923
|
if (f != null) {
|
|
110664
|
-
writer.
|
|
109924
|
+
writer.writeInt64(
|
|
110665
109925
|
13,
|
|
110666
109926
|
f
|
|
110667
109927
|
);
|
|
110668
109928
|
}
|
|
110669
|
-
f = /** @type {
|
|
109929
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 14));
|
|
110670
109930
|
if (f != null) {
|
|
110671
|
-
writer.
|
|
109931
|
+
writer.writeInt64(
|
|
110672
109932
|
14,
|
|
110673
109933
|
f
|
|
110674
109934
|
);
|
|
@@ -110680,25 +109940,25 @@ proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.serializeBinaryToWriter = functi
|
|
|
110680
109940
|
* optional string manufacturer = 1;
|
|
110681
109941
|
* @return {string}
|
|
110682
109942
|
*/
|
|
110683
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
109943
|
+
proto.com.lansweeper.dp.outbound.v1.Ups.prototype.getManufacturer = function() {
|
|
110684
109944
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
110685
109945
|
};
|
|
110686
109946
|
|
|
110687
109947
|
|
|
110688
109948
|
/**
|
|
110689
109949
|
* @param {string} value
|
|
110690
|
-
* @return {!proto.com.lansweeper.dp.outbound.v1.
|
|
109950
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.Ups} returns this
|
|
110691
109951
|
*/
|
|
110692
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
109952
|
+
proto.com.lansweeper.dp.outbound.v1.Ups.prototype.setManufacturer = function(value) {
|
|
110693
109953
|
return jspb.Message.setField(this, 1, value);
|
|
110694
109954
|
};
|
|
110695
109955
|
|
|
110696
109956
|
|
|
110697
109957
|
/**
|
|
110698
109958
|
* Clears the field making it undefined.
|
|
110699
|
-
* @return {!proto.com.lansweeper.dp.outbound.v1.
|
|
109959
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.Ups} returns this
|
|
110700
109960
|
*/
|
|
110701
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
109961
|
+
proto.com.lansweeper.dp.outbound.v1.Ups.prototype.clearManufacturer = function() {
|
|
110702
109962
|
return jspb.Message.setField(this, 1, undefined);
|
|
110703
109963
|
};
|
|
110704
109964
|
|
|
@@ -110707,7 +109967,7 @@ proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.clearManufacturer = fu
|
|
|
110707
109967
|
* Returns whether this field is set.
|
|
110708
109968
|
* @return {boolean}
|
|
110709
109969
|
*/
|
|
110710
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
109970
|
+
proto.com.lansweeper.dp.outbound.v1.Ups.prototype.hasManufacturer = function() {
|
|
110711
109971
|
return jspb.Message.getField(this, 1) != null;
|
|
110712
109972
|
};
|
|
110713
109973
|
|
|
@@ -110716,25 +109976,25 @@ proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.hasManufacturer = func
|
|
|
110716
109976
|
* optional string model = 2;
|
|
110717
109977
|
* @return {string}
|
|
110718
109978
|
*/
|
|
110719
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
109979
|
+
proto.com.lansweeper.dp.outbound.v1.Ups.prototype.getModel = function() {
|
|
110720
109980
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
110721
109981
|
};
|
|
110722
109982
|
|
|
110723
109983
|
|
|
110724
109984
|
/**
|
|
110725
109985
|
* @param {string} value
|
|
110726
|
-
* @return {!proto.com.lansweeper.dp.outbound.v1.
|
|
109986
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.Ups} returns this
|
|
110727
109987
|
*/
|
|
110728
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
109988
|
+
proto.com.lansweeper.dp.outbound.v1.Ups.prototype.setModel = function(value) {
|
|
110729
109989
|
return jspb.Message.setField(this, 2, value);
|
|
110730
109990
|
};
|
|
110731
109991
|
|
|
110732
109992
|
|
|
110733
109993
|
/**
|
|
110734
109994
|
* Clears the field making it undefined.
|
|
110735
|
-
* @return {!proto.com.lansweeper.dp.outbound.v1.
|
|
109995
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.Ups} returns this
|
|
110736
109996
|
*/
|
|
110737
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
109997
|
+
proto.com.lansweeper.dp.outbound.v1.Ups.prototype.clearModel = function() {
|
|
110738
109998
|
return jspb.Message.setField(this, 2, undefined);
|
|
110739
109999
|
};
|
|
110740
110000
|
|
|
@@ -110743,7 +110003,7 @@ proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.clearModel = function(
|
|
|
110743
110003
|
* Returns whether this field is set.
|
|
110744
110004
|
* @return {boolean}
|
|
110745
110005
|
*/
|
|
110746
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
110006
|
+
proto.com.lansweeper.dp.outbound.v1.Ups.prototype.hasModel = function() {
|
|
110747
110007
|
return jspb.Message.getField(this, 2) != null;
|
|
110748
110008
|
};
|
|
110749
110009
|
|
|
@@ -110752,25 +110012,25 @@ proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.hasModel = function()
|
|
|
110752
110012
|
* optional string ups_software_version = 3;
|
|
110753
110013
|
* @return {string}
|
|
110754
110014
|
*/
|
|
110755
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
110015
|
+
proto.com.lansweeper.dp.outbound.v1.Ups.prototype.getUpsSoftwareVersion = function() {
|
|
110756
110016
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
110757
110017
|
};
|
|
110758
110018
|
|
|
110759
110019
|
|
|
110760
110020
|
/**
|
|
110761
110021
|
* @param {string} value
|
|
110762
|
-
* @return {!proto.com.lansweeper.dp.outbound.v1.
|
|
110022
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.Ups} returns this
|
|
110763
110023
|
*/
|
|
110764
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
110024
|
+
proto.com.lansweeper.dp.outbound.v1.Ups.prototype.setUpsSoftwareVersion = function(value) {
|
|
110765
110025
|
return jspb.Message.setField(this, 3, value);
|
|
110766
110026
|
};
|
|
110767
110027
|
|
|
110768
110028
|
|
|
110769
110029
|
/**
|
|
110770
110030
|
* Clears the field making it undefined.
|
|
110771
|
-
* @return {!proto.com.lansweeper.dp.outbound.v1.
|
|
110031
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.Ups} returns this
|
|
110772
110032
|
*/
|
|
110773
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
110033
|
+
proto.com.lansweeper.dp.outbound.v1.Ups.prototype.clearUpsSoftwareVersion = function() {
|
|
110774
110034
|
return jspb.Message.setField(this, 3, undefined);
|
|
110775
110035
|
};
|
|
110776
110036
|
|
|
@@ -110779,7 +110039,7 @@ proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.clearUpsSoftwareVersio
|
|
|
110779
110039
|
* Returns whether this field is set.
|
|
110780
110040
|
* @return {boolean}
|
|
110781
110041
|
*/
|
|
110782
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
110042
|
+
proto.com.lansweeper.dp.outbound.v1.Ups.prototype.hasUpsSoftwareVersion = function() {
|
|
110783
110043
|
return jspb.Message.getField(this, 3) != null;
|
|
110784
110044
|
};
|
|
110785
110045
|
|
|
@@ -110788,25 +110048,25 @@ proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.hasUpsSoftwareVersion
|
|
|
110788
110048
|
* optional string agent_software_version = 4;
|
|
110789
110049
|
* @return {string}
|
|
110790
110050
|
*/
|
|
110791
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
110051
|
+
proto.com.lansweeper.dp.outbound.v1.Ups.prototype.getAgentSoftwareVersion = function() {
|
|
110792
110052
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
110793
110053
|
};
|
|
110794
110054
|
|
|
110795
110055
|
|
|
110796
110056
|
/**
|
|
110797
110057
|
* @param {string} value
|
|
110798
|
-
* @return {!proto.com.lansweeper.dp.outbound.v1.
|
|
110058
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.Ups} returns this
|
|
110799
110059
|
*/
|
|
110800
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
110060
|
+
proto.com.lansweeper.dp.outbound.v1.Ups.prototype.setAgentSoftwareVersion = function(value) {
|
|
110801
110061
|
return jspb.Message.setField(this, 4, value);
|
|
110802
110062
|
};
|
|
110803
110063
|
|
|
110804
110064
|
|
|
110805
110065
|
/**
|
|
110806
110066
|
* Clears the field making it undefined.
|
|
110807
|
-
* @return {!proto.com.lansweeper.dp.outbound.v1.
|
|
110067
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.Ups} returns this
|
|
110808
110068
|
*/
|
|
110809
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
110069
|
+
proto.com.lansweeper.dp.outbound.v1.Ups.prototype.clearAgentSoftwareVersion = function() {
|
|
110810
110070
|
return jspb.Message.setField(this, 4, undefined);
|
|
110811
110071
|
};
|
|
110812
110072
|
|
|
@@ -110815,7 +110075,7 @@ proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.clearAgentSoftwareVers
|
|
|
110815
110075
|
* Returns whether this field is set.
|
|
110816
110076
|
* @return {boolean}
|
|
110817
110077
|
*/
|
|
110818
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
110078
|
+
proto.com.lansweeper.dp.outbound.v1.Ups.prototype.hasAgentSoftwareVersion = function() {
|
|
110819
110079
|
return jspb.Message.getField(this, 4) != null;
|
|
110820
110080
|
};
|
|
110821
110081
|
|
|
@@ -110824,25 +110084,25 @@ proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.hasAgentSoftwareVersio
|
|
|
110824
110084
|
* optional string name = 5;
|
|
110825
110085
|
* @return {string}
|
|
110826
110086
|
*/
|
|
110827
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
110087
|
+
proto.com.lansweeper.dp.outbound.v1.Ups.prototype.getName = function() {
|
|
110828
110088
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
110829
110089
|
};
|
|
110830
110090
|
|
|
110831
110091
|
|
|
110832
110092
|
/**
|
|
110833
110093
|
* @param {string} value
|
|
110834
|
-
* @return {!proto.com.lansweeper.dp.outbound.v1.
|
|
110094
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.Ups} returns this
|
|
110835
110095
|
*/
|
|
110836
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
110096
|
+
proto.com.lansweeper.dp.outbound.v1.Ups.prototype.setName = function(value) {
|
|
110837
110097
|
return jspb.Message.setField(this, 5, value);
|
|
110838
110098
|
};
|
|
110839
110099
|
|
|
110840
110100
|
|
|
110841
110101
|
/**
|
|
110842
110102
|
* Clears the field making it undefined.
|
|
110843
|
-
* @return {!proto.com.lansweeper.dp.outbound.v1.
|
|
110103
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.Ups} returns this
|
|
110844
110104
|
*/
|
|
110845
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
110105
|
+
proto.com.lansweeper.dp.outbound.v1.Ups.prototype.clearName = function() {
|
|
110846
110106
|
return jspb.Message.setField(this, 5, undefined);
|
|
110847
110107
|
};
|
|
110848
110108
|
|
|
@@ -110851,7 +110111,7 @@ proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.clearName = function()
|
|
|
110851
110111
|
* Returns whether this field is set.
|
|
110852
110112
|
* @return {boolean}
|
|
110853
110113
|
*/
|
|
110854
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
110114
|
+
proto.com.lansweeper.dp.outbound.v1.Ups.prototype.hasName = function() {
|
|
110855
110115
|
return jspb.Message.getField(this, 5) != null;
|
|
110856
110116
|
};
|
|
110857
110117
|
|
|
@@ -110860,25 +110120,25 @@ proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.hasName = function() {
|
|
|
110860
110120
|
* optional string attached_devices = 6;
|
|
110861
110121
|
* @return {string}
|
|
110862
110122
|
*/
|
|
110863
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
110123
|
+
proto.com.lansweeper.dp.outbound.v1.Ups.prototype.getAttachedDevices = function() {
|
|
110864
110124
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
110865
110125
|
};
|
|
110866
110126
|
|
|
110867
110127
|
|
|
110868
110128
|
/**
|
|
110869
110129
|
* @param {string} value
|
|
110870
|
-
* @return {!proto.com.lansweeper.dp.outbound.v1.
|
|
110130
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.Ups} returns this
|
|
110871
110131
|
*/
|
|
110872
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
110132
|
+
proto.com.lansweeper.dp.outbound.v1.Ups.prototype.setAttachedDevices = function(value) {
|
|
110873
110133
|
return jspb.Message.setField(this, 6, value);
|
|
110874
110134
|
};
|
|
110875
110135
|
|
|
110876
110136
|
|
|
110877
110137
|
/**
|
|
110878
110138
|
* Clears the field making it undefined.
|
|
110879
|
-
* @return {!proto.com.lansweeper.dp.outbound.v1.
|
|
110139
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.Ups} returns this
|
|
110880
110140
|
*/
|
|
110881
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
110141
|
+
proto.com.lansweeper.dp.outbound.v1.Ups.prototype.clearAttachedDevices = function() {
|
|
110882
110142
|
return jspb.Message.setField(this, 6, undefined);
|
|
110883
110143
|
};
|
|
110884
110144
|
|
|
@@ -110887,34 +110147,34 @@ proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.clearAttachedDevices =
|
|
|
110887
110147
|
* Returns whether this field is set.
|
|
110888
110148
|
* @return {boolean}
|
|
110889
110149
|
*/
|
|
110890
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
110150
|
+
proto.com.lansweeper.dp.outbound.v1.Ups.prototype.hasAttachedDevices = function() {
|
|
110891
110151
|
return jspb.Message.getField(this, 6) != null;
|
|
110892
110152
|
};
|
|
110893
110153
|
|
|
110894
110154
|
|
|
110895
110155
|
/**
|
|
110896
|
-
* optional
|
|
110897
|
-
* @return {
|
|
110156
|
+
* optional int64 battery_status = 7;
|
|
110157
|
+
* @return {number}
|
|
110898
110158
|
*/
|
|
110899
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
110900
|
-
return /** @type {
|
|
110159
|
+
proto.com.lansweeper.dp.outbound.v1.Ups.prototype.getBatteryStatus = function() {
|
|
110160
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
|
|
110901
110161
|
};
|
|
110902
110162
|
|
|
110903
110163
|
|
|
110904
110164
|
/**
|
|
110905
|
-
* @param {
|
|
110906
|
-
* @return {!proto.com.lansweeper.dp.outbound.v1.
|
|
110165
|
+
* @param {number} value
|
|
110166
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.Ups} returns this
|
|
110907
110167
|
*/
|
|
110908
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
110168
|
+
proto.com.lansweeper.dp.outbound.v1.Ups.prototype.setBatteryStatus = function(value) {
|
|
110909
110169
|
return jspb.Message.setField(this, 7, value);
|
|
110910
110170
|
};
|
|
110911
110171
|
|
|
110912
110172
|
|
|
110913
110173
|
/**
|
|
110914
110174
|
* Clears the field making it undefined.
|
|
110915
|
-
* @return {!proto.com.lansweeper.dp.outbound.v1.
|
|
110175
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.Ups} returns this
|
|
110916
110176
|
*/
|
|
110917
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
110177
|
+
proto.com.lansweeper.dp.outbound.v1.Ups.prototype.clearBatteryStatus = function() {
|
|
110918
110178
|
return jspb.Message.setField(this, 7, undefined);
|
|
110919
110179
|
};
|
|
110920
110180
|
|
|
@@ -110923,34 +110183,34 @@ proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.clearBatteryStatus = f
|
|
|
110923
110183
|
* Returns whether this field is set.
|
|
110924
110184
|
* @return {boolean}
|
|
110925
110185
|
*/
|
|
110926
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
110186
|
+
proto.com.lansweeper.dp.outbound.v1.Ups.prototype.hasBatteryStatus = function() {
|
|
110927
110187
|
return jspb.Message.getField(this, 7) != null;
|
|
110928
110188
|
};
|
|
110929
110189
|
|
|
110930
110190
|
|
|
110931
110191
|
/**
|
|
110932
|
-
* optional
|
|
110933
|
-
* @return {
|
|
110192
|
+
* optional int64 seconds_on_battery = 8;
|
|
110193
|
+
* @return {number}
|
|
110934
110194
|
*/
|
|
110935
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
110936
|
-
return /** @type {
|
|
110195
|
+
proto.com.lansweeper.dp.outbound.v1.Ups.prototype.getSecondsOnBattery = function() {
|
|
110196
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0));
|
|
110937
110197
|
};
|
|
110938
110198
|
|
|
110939
110199
|
|
|
110940
110200
|
/**
|
|
110941
|
-
* @param {
|
|
110942
|
-
* @return {!proto.com.lansweeper.dp.outbound.v1.
|
|
110201
|
+
* @param {number} value
|
|
110202
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.Ups} returns this
|
|
110943
110203
|
*/
|
|
110944
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
110204
|
+
proto.com.lansweeper.dp.outbound.v1.Ups.prototype.setSecondsOnBattery = function(value) {
|
|
110945
110205
|
return jspb.Message.setField(this, 8, value);
|
|
110946
110206
|
};
|
|
110947
110207
|
|
|
110948
110208
|
|
|
110949
110209
|
/**
|
|
110950
110210
|
* Clears the field making it undefined.
|
|
110951
|
-
* @return {!proto.com.lansweeper.dp.outbound.v1.
|
|
110211
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.Ups} returns this
|
|
110952
110212
|
*/
|
|
110953
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
110213
|
+
proto.com.lansweeper.dp.outbound.v1.Ups.prototype.clearSecondsOnBattery = function() {
|
|
110954
110214
|
return jspb.Message.setField(this, 8, undefined);
|
|
110955
110215
|
};
|
|
110956
110216
|
|
|
@@ -110959,34 +110219,34 @@ proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.clearSecondsOnBattery
|
|
|
110959
110219
|
* Returns whether this field is set.
|
|
110960
110220
|
* @return {boolean}
|
|
110961
110221
|
*/
|
|
110962
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
110222
|
+
proto.com.lansweeper.dp.outbound.v1.Ups.prototype.hasSecondsOnBattery = function() {
|
|
110963
110223
|
return jspb.Message.getField(this, 8) != null;
|
|
110964
110224
|
};
|
|
110965
110225
|
|
|
110966
110226
|
|
|
110967
110227
|
/**
|
|
110968
|
-
* optional
|
|
110969
|
-
* @return {
|
|
110228
|
+
* optional int64 estimated_minutes_remaining = 9;
|
|
110229
|
+
* @return {number}
|
|
110970
110230
|
*/
|
|
110971
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
110972
|
-
return /** @type {
|
|
110231
|
+
proto.com.lansweeper.dp.outbound.v1.Ups.prototype.getEstimatedMinutesRemaining = function() {
|
|
110232
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 9, 0));
|
|
110973
110233
|
};
|
|
110974
110234
|
|
|
110975
110235
|
|
|
110976
110236
|
/**
|
|
110977
|
-
* @param {
|
|
110978
|
-
* @return {!proto.com.lansweeper.dp.outbound.v1.
|
|
110237
|
+
* @param {number} value
|
|
110238
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.Ups} returns this
|
|
110979
110239
|
*/
|
|
110980
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
110240
|
+
proto.com.lansweeper.dp.outbound.v1.Ups.prototype.setEstimatedMinutesRemaining = function(value) {
|
|
110981
110241
|
return jspb.Message.setField(this, 9, value);
|
|
110982
110242
|
};
|
|
110983
110243
|
|
|
110984
110244
|
|
|
110985
110245
|
/**
|
|
110986
110246
|
* Clears the field making it undefined.
|
|
110987
|
-
* @return {!proto.com.lansweeper.dp.outbound.v1.
|
|
110247
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.Ups} returns this
|
|
110988
110248
|
*/
|
|
110989
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
110249
|
+
proto.com.lansweeper.dp.outbound.v1.Ups.prototype.clearEstimatedMinutesRemaining = function() {
|
|
110990
110250
|
return jspb.Message.setField(this, 9, undefined);
|
|
110991
110251
|
};
|
|
110992
110252
|
|
|
@@ -110995,34 +110255,34 @@ proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.clearEstimatedMinutesR
|
|
|
110995
110255
|
* Returns whether this field is set.
|
|
110996
110256
|
* @return {boolean}
|
|
110997
110257
|
*/
|
|
110998
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
110258
|
+
proto.com.lansweeper.dp.outbound.v1.Ups.prototype.hasEstimatedMinutesRemaining = function() {
|
|
110999
110259
|
return jspb.Message.getField(this, 9) != null;
|
|
111000
110260
|
};
|
|
111001
110261
|
|
|
111002
110262
|
|
|
111003
110263
|
/**
|
|
111004
|
-
* optional
|
|
111005
|
-
* @return {
|
|
110264
|
+
* optional int64 estimated_charge_remaining = 10;
|
|
110265
|
+
* @return {number}
|
|
111006
110266
|
*/
|
|
111007
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
111008
|
-
return /** @type {
|
|
110267
|
+
proto.com.lansweeper.dp.outbound.v1.Ups.prototype.getEstimatedChargeRemaining = function() {
|
|
110268
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 10, 0));
|
|
111009
110269
|
};
|
|
111010
110270
|
|
|
111011
110271
|
|
|
111012
110272
|
/**
|
|
111013
|
-
* @param {
|
|
111014
|
-
* @return {!proto.com.lansweeper.dp.outbound.v1.
|
|
110273
|
+
* @param {number} value
|
|
110274
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.Ups} returns this
|
|
111015
110275
|
*/
|
|
111016
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
110276
|
+
proto.com.lansweeper.dp.outbound.v1.Ups.prototype.setEstimatedChargeRemaining = function(value) {
|
|
111017
110277
|
return jspb.Message.setField(this, 10, value);
|
|
111018
110278
|
};
|
|
111019
110279
|
|
|
111020
110280
|
|
|
111021
110281
|
/**
|
|
111022
110282
|
* Clears the field making it undefined.
|
|
111023
|
-
* @return {!proto.com.lansweeper.dp.outbound.v1.
|
|
110283
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.Ups} returns this
|
|
111024
110284
|
*/
|
|
111025
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
110285
|
+
proto.com.lansweeper.dp.outbound.v1.Ups.prototype.clearEstimatedChargeRemaining = function() {
|
|
111026
110286
|
return jspb.Message.setField(this, 10, undefined);
|
|
111027
110287
|
};
|
|
111028
110288
|
|
|
@@ -111031,34 +110291,34 @@ proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.clearEstimatedChargeRe
|
|
|
111031
110291
|
* Returns whether this field is set.
|
|
111032
110292
|
* @return {boolean}
|
|
111033
110293
|
*/
|
|
111034
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
110294
|
+
proto.com.lansweeper.dp.outbound.v1.Ups.prototype.hasEstimatedChargeRemaining = function() {
|
|
111035
110295
|
return jspb.Message.getField(this, 10) != null;
|
|
111036
110296
|
};
|
|
111037
110297
|
|
|
111038
110298
|
|
|
111039
110299
|
/**
|
|
111040
|
-
* optional
|
|
111041
|
-
* @return {
|
|
110300
|
+
* optional int64 battery_voltage = 11;
|
|
110301
|
+
* @return {number}
|
|
111042
110302
|
*/
|
|
111043
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
111044
|
-
return /** @type {
|
|
110303
|
+
proto.com.lansweeper.dp.outbound.v1.Ups.prototype.getBatteryVoltage = function() {
|
|
110304
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 11, 0));
|
|
111045
110305
|
};
|
|
111046
110306
|
|
|
111047
110307
|
|
|
111048
110308
|
/**
|
|
111049
|
-
* @param {
|
|
111050
|
-
* @return {!proto.com.lansweeper.dp.outbound.v1.
|
|
110309
|
+
* @param {number} value
|
|
110310
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.Ups} returns this
|
|
111051
110311
|
*/
|
|
111052
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
110312
|
+
proto.com.lansweeper.dp.outbound.v1.Ups.prototype.setBatteryVoltage = function(value) {
|
|
111053
110313
|
return jspb.Message.setField(this, 11, value);
|
|
111054
110314
|
};
|
|
111055
110315
|
|
|
111056
110316
|
|
|
111057
110317
|
/**
|
|
111058
110318
|
* Clears the field making it undefined.
|
|
111059
|
-
* @return {!proto.com.lansweeper.dp.outbound.v1.
|
|
110319
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.Ups} returns this
|
|
111060
110320
|
*/
|
|
111061
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
110321
|
+
proto.com.lansweeper.dp.outbound.v1.Ups.prototype.clearBatteryVoltage = function() {
|
|
111062
110322
|
return jspb.Message.setField(this, 11, undefined);
|
|
111063
110323
|
};
|
|
111064
110324
|
|
|
@@ -111067,34 +110327,34 @@ proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.clearBatteryVoltage =
|
|
|
111067
110327
|
* Returns whether this field is set.
|
|
111068
110328
|
* @return {boolean}
|
|
111069
110329
|
*/
|
|
111070
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
110330
|
+
proto.com.lansweeper.dp.outbound.v1.Ups.prototype.hasBatteryVoltage = function() {
|
|
111071
110331
|
return jspb.Message.getField(this, 11) != null;
|
|
111072
110332
|
};
|
|
111073
110333
|
|
|
111074
110334
|
|
|
111075
110335
|
/**
|
|
111076
|
-
* optional
|
|
111077
|
-
* @return {
|
|
110336
|
+
* optional int64 battery_current = 12;
|
|
110337
|
+
* @return {number}
|
|
111078
110338
|
*/
|
|
111079
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
111080
|
-
return /** @type {
|
|
110339
|
+
proto.com.lansweeper.dp.outbound.v1.Ups.prototype.getBatteryCurrent = function() {
|
|
110340
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 12, 0));
|
|
111081
110341
|
};
|
|
111082
110342
|
|
|
111083
110343
|
|
|
111084
110344
|
/**
|
|
111085
|
-
* @param {
|
|
111086
|
-
* @return {!proto.com.lansweeper.dp.outbound.v1.
|
|
110345
|
+
* @param {number} value
|
|
110346
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.Ups} returns this
|
|
111087
110347
|
*/
|
|
111088
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
110348
|
+
proto.com.lansweeper.dp.outbound.v1.Ups.prototype.setBatteryCurrent = function(value) {
|
|
111089
110349
|
return jspb.Message.setField(this, 12, value);
|
|
111090
110350
|
};
|
|
111091
110351
|
|
|
111092
110352
|
|
|
111093
110353
|
/**
|
|
111094
110354
|
* Clears the field making it undefined.
|
|
111095
|
-
* @return {!proto.com.lansweeper.dp.outbound.v1.
|
|
110355
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.Ups} returns this
|
|
111096
110356
|
*/
|
|
111097
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
110357
|
+
proto.com.lansweeper.dp.outbound.v1.Ups.prototype.clearBatteryCurrent = function() {
|
|
111098
110358
|
return jspb.Message.setField(this, 12, undefined);
|
|
111099
110359
|
};
|
|
111100
110360
|
|
|
@@ -111103,34 +110363,34 @@ proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.clearBatteryCurrent =
|
|
|
111103
110363
|
* Returns whether this field is set.
|
|
111104
110364
|
* @return {boolean}
|
|
111105
110365
|
*/
|
|
111106
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
110366
|
+
proto.com.lansweeper.dp.outbound.v1.Ups.prototype.hasBatteryCurrent = function() {
|
|
111107
110367
|
return jspb.Message.getField(this, 12) != null;
|
|
111108
110368
|
};
|
|
111109
110369
|
|
|
111110
110370
|
|
|
111111
110371
|
/**
|
|
111112
|
-
* optional
|
|
111113
|
-
* @return {
|
|
110372
|
+
* optional int64 battery_temperature = 13;
|
|
110373
|
+
* @return {number}
|
|
111114
110374
|
*/
|
|
111115
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
111116
|
-
return /** @type {
|
|
110375
|
+
proto.com.lansweeper.dp.outbound.v1.Ups.prototype.getBatteryTemperature = function() {
|
|
110376
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 13, 0));
|
|
111117
110377
|
};
|
|
111118
110378
|
|
|
111119
110379
|
|
|
111120
110380
|
/**
|
|
111121
|
-
* @param {
|
|
111122
|
-
* @return {!proto.com.lansweeper.dp.outbound.v1.
|
|
110381
|
+
* @param {number} value
|
|
110382
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.Ups} returns this
|
|
111123
110383
|
*/
|
|
111124
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
110384
|
+
proto.com.lansweeper.dp.outbound.v1.Ups.prototype.setBatteryTemperature = function(value) {
|
|
111125
110385
|
return jspb.Message.setField(this, 13, value);
|
|
111126
110386
|
};
|
|
111127
110387
|
|
|
111128
110388
|
|
|
111129
110389
|
/**
|
|
111130
110390
|
* Clears the field making it undefined.
|
|
111131
|
-
* @return {!proto.com.lansweeper.dp.outbound.v1.
|
|
110391
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.Ups} returns this
|
|
111132
110392
|
*/
|
|
111133
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
110393
|
+
proto.com.lansweeper.dp.outbound.v1.Ups.prototype.clearBatteryTemperature = function() {
|
|
111134
110394
|
return jspb.Message.setField(this, 13, undefined);
|
|
111135
110395
|
};
|
|
111136
110396
|
|
|
@@ -111139,34 +110399,34 @@ proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.clearBatteryTemperatur
|
|
|
111139
110399
|
* Returns whether this field is set.
|
|
111140
110400
|
* @return {boolean}
|
|
111141
110401
|
*/
|
|
111142
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
110402
|
+
proto.com.lansweeper.dp.outbound.v1.Ups.prototype.hasBatteryTemperature = function() {
|
|
111143
110403
|
return jspb.Message.getField(this, 13) != null;
|
|
111144
110404
|
};
|
|
111145
110405
|
|
|
111146
110406
|
|
|
111147
110407
|
/**
|
|
111148
|
-
* optional
|
|
111149
|
-
* @return {
|
|
110408
|
+
* optional int64 alarms_present = 14;
|
|
110409
|
+
* @return {number}
|
|
111150
110410
|
*/
|
|
111151
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
111152
|
-
return /** @type {
|
|
110411
|
+
proto.com.lansweeper.dp.outbound.v1.Ups.prototype.getAlarmsPresent = function() {
|
|
110412
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 14, 0));
|
|
111153
110413
|
};
|
|
111154
110414
|
|
|
111155
110415
|
|
|
111156
110416
|
/**
|
|
111157
|
-
* @param {
|
|
111158
|
-
* @return {!proto.com.lansweeper.dp.outbound.v1.
|
|
110417
|
+
* @param {number} value
|
|
110418
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.Ups} returns this
|
|
111159
110419
|
*/
|
|
111160
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
110420
|
+
proto.com.lansweeper.dp.outbound.v1.Ups.prototype.setAlarmsPresent = function(value) {
|
|
111161
110421
|
return jspb.Message.setField(this, 14, value);
|
|
111162
110422
|
};
|
|
111163
110423
|
|
|
111164
110424
|
|
|
111165
110425
|
/**
|
|
111166
110426
|
* Clears the field making it undefined.
|
|
111167
|
-
* @return {!proto.com.lansweeper.dp.outbound.v1.
|
|
110427
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.Ups} returns this
|
|
111168
110428
|
*/
|
|
111169
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
110429
|
+
proto.com.lansweeper.dp.outbound.v1.Ups.prototype.clearAlarmsPresent = function() {
|
|
111170
110430
|
return jspb.Message.setField(this, 14, undefined);
|
|
111171
110431
|
};
|
|
111172
110432
|
|
|
@@ -111175,7 +110435,7 @@ proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.clearAlarmsPresent = f
|
|
|
111175
110435
|
* Returns whether this field is set.
|
|
111176
110436
|
* @return {boolean}
|
|
111177
110437
|
*/
|
|
111178
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
110438
|
+
proto.com.lansweeper.dp.outbound.v1.Ups.prototype.hasAlarmsPresent = function() {
|
|
111179
110439
|
return jspb.Message.getField(this, 14) != null;
|
|
111180
110440
|
};
|
|
111181
110441
|
|