@lansweeper/data-platform-outbound-grpc 0.1.108 → 0.1.110
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 +386 -9
- package/gen-proto/outbound_pb.js +3033 -26
- package/generated-go/outbound.pb.go +7655 -6823
- package/java.json +1 -1
- package/package.json +2 -2
- package/proto/outbound.proto +75 -3
package/gen-proto/outbound_pb.js
CHANGED
|
@@ -164,6 +164,7 @@ goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.ReconciliationInfo.EntryS
|
|
|
164
164
|
goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.ReconciliationInfo.MasterType', null, global);
|
|
165
165
|
goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.Relation', null, global);
|
|
166
166
|
goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.RunningProcess', null, global);
|
|
167
|
+
goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.SNMPInfo', null, global);
|
|
167
168
|
goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.ScanError', null, global);
|
|
168
169
|
goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.ScannedPort', null, global);
|
|
169
170
|
goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.ScsiController', null, global);
|
|
@@ -172,6 +173,9 @@ goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.SetIpLocationConfigReques
|
|
|
172
173
|
goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.SetIpLocationConfigResponse', null, global);
|
|
173
174
|
goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.SharedPermission', null, global);
|
|
174
175
|
goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.SharedResource', null, global);
|
|
176
|
+
goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo', null, global);
|
|
177
|
+
goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo', null, global);
|
|
178
|
+
goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo', null, global);
|
|
175
179
|
goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.Software', null, global);
|
|
176
180
|
goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.SoftwareChangeEvent', null, global);
|
|
177
181
|
goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.SoftwareChangeEvent.EventType', null, global);
|
|
@@ -3764,6 +3768,90 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
3764
3768
|
*/
|
|
3765
3769
|
proto.com.lansweeper.dp.outbound.v1.CatalogMonitor.displayName = 'proto.com.lansweeper.dp.outbound.v1.CatalogMonitor';
|
|
3766
3770
|
}
|
|
3771
|
+
/**
|
|
3772
|
+
* Generated by JsPbCodeGenerator.
|
|
3773
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
3774
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
3775
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
3776
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
3777
|
+
* valid.
|
|
3778
|
+
* @extends {jspb.Message}
|
|
3779
|
+
* @constructor
|
|
3780
|
+
*/
|
|
3781
|
+
proto.com.lansweeper.dp.outbound.v1.SNMPInfo = function(opt_data) {
|
|
3782
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
3783
|
+
};
|
|
3784
|
+
goog.inherits(proto.com.lansweeper.dp.outbound.v1.SNMPInfo, jspb.Message);
|
|
3785
|
+
if (goog.DEBUG && !COMPILED) {
|
|
3786
|
+
/**
|
|
3787
|
+
* @public
|
|
3788
|
+
* @override
|
|
3789
|
+
*/
|
|
3790
|
+
proto.com.lansweeper.dp.outbound.v1.SNMPInfo.displayName = 'proto.com.lansweeper.dp.outbound.v1.SNMPInfo';
|
|
3791
|
+
}
|
|
3792
|
+
/**
|
|
3793
|
+
* Generated by JsPbCodeGenerator.
|
|
3794
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
3795
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
3796
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
3797
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
3798
|
+
* valid.
|
|
3799
|
+
* @extends {jspb.Message}
|
|
3800
|
+
* @constructor
|
|
3801
|
+
*/
|
|
3802
|
+
proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo = function(opt_data) {
|
|
3803
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo.repeatedFields_, null);
|
|
3804
|
+
};
|
|
3805
|
+
goog.inherits(proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo, jspb.Message);
|
|
3806
|
+
if (goog.DEBUG && !COMPILED) {
|
|
3807
|
+
/**
|
|
3808
|
+
* @public
|
|
3809
|
+
* @override
|
|
3810
|
+
*/
|
|
3811
|
+
proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo.displayName = 'proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo';
|
|
3812
|
+
}
|
|
3813
|
+
/**
|
|
3814
|
+
* Generated by JsPbCodeGenerator.
|
|
3815
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
3816
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
3817
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
3818
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
3819
|
+
* valid.
|
|
3820
|
+
* @extends {jspb.Message}
|
|
3821
|
+
* @constructor
|
|
3822
|
+
*/
|
|
3823
|
+
proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo = function(opt_data) {
|
|
3824
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
3825
|
+
};
|
|
3826
|
+
goog.inherits(proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo, jspb.Message);
|
|
3827
|
+
if (goog.DEBUG && !COMPILED) {
|
|
3828
|
+
/**
|
|
3829
|
+
* @public
|
|
3830
|
+
* @override
|
|
3831
|
+
*/
|
|
3832
|
+
proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo.displayName = 'proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo';
|
|
3833
|
+
}
|
|
3834
|
+
/**
|
|
3835
|
+
* Generated by JsPbCodeGenerator.
|
|
3836
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
3837
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
3838
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
3839
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
3840
|
+
* valid.
|
|
3841
|
+
* @extends {jspb.Message}
|
|
3842
|
+
* @constructor
|
|
3843
|
+
*/
|
|
3844
|
+
proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo = function(opt_data) {
|
|
3845
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
3846
|
+
};
|
|
3847
|
+
goog.inherits(proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo, jspb.Message);
|
|
3848
|
+
if (goog.DEBUG && !COMPILED) {
|
|
3849
|
+
/**
|
|
3850
|
+
* @public
|
|
3851
|
+
* @override
|
|
3852
|
+
*/
|
|
3853
|
+
proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.displayName = 'proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo';
|
|
3854
|
+
}
|
|
3767
3855
|
/**
|
|
3768
3856
|
* Generated by JsPbCodeGenerator.
|
|
3769
3857
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -6670,6 +6758,7 @@ proto.com.lansweeper.dp.outbound.v1.Asset.toObject = function(includeInstance, m
|
|
|
6670
6758
|
portScan: (f = msg.getPortScan()) && proto.com.lansweeper.dp.outbound.v1.PortScan.toObject(includeInstance, f),
|
|
6671
6759
|
warrantyInfoList: jspb.Message.toObjectList(msg.getWarrantyInfoList(),
|
|
6672
6760
|
proto.com.lansweeper.dp.outbound.v1.WarrantyInfo.toObject, includeInstance),
|
|
6761
|
+
snmpInfo: (f = msg.getSnmpInfo()) && proto.com.lansweeper.dp.outbound.v1.SNMPInfo.toObject(includeInstance, f),
|
|
6673
6762
|
computer: (f = msg.getComputer()) && proto.com.lansweeper.dp.outbound.v1.Computer.toObject(includeInstance, f),
|
|
6674
6763
|
otModule: (f = msg.getOtModule()) && proto.com.lansweeper.dp.outbound.v1.OtModule.toObject(includeInstance, f),
|
|
6675
6764
|
cloud: (f = msg.getCloud()) && proto.com.lansweeper.dp.outbound.v1.CloudEntity.toObject(includeInstance, f),
|
|
@@ -6823,6 +6912,11 @@ proto.com.lansweeper.dp.outbound.v1.Asset.deserializeBinaryFromReader = function
|
|
|
6823
6912
|
reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.WarrantyInfo.deserializeBinaryFromReader);
|
|
6824
6913
|
msg.addWarrantyInfo(value);
|
|
6825
6914
|
break;
|
|
6915
|
+
case 82:
|
|
6916
|
+
var value = new proto.com.lansweeper.dp.outbound.v1.SNMPInfo;
|
|
6917
|
+
reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.SNMPInfo.deserializeBinaryFromReader);
|
|
6918
|
+
msg.setSnmpInfo(value);
|
|
6919
|
+
break;
|
|
6826
6920
|
case 75:
|
|
6827
6921
|
var value = new proto.com.lansweeper.dp.outbound.v1.Computer;
|
|
6828
6922
|
reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.Computer.deserializeBinaryFromReader);
|
|
@@ -7053,6 +7147,14 @@ proto.com.lansweeper.dp.outbound.v1.Asset.serializeBinaryToWriter = function(mes
|
|
|
7053
7147
|
proto.com.lansweeper.dp.outbound.v1.WarrantyInfo.serializeBinaryToWriter
|
|
7054
7148
|
);
|
|
7055
7149
|
}
|
|
7150
|
+
f = message.getSnmpInfo();
|
|
7151
|
+
if (f != null) {
|
|
7152
|
+
writer.writeMessage(
|
|
7153
|
+
82,
|
|
7154
|
+
f,
|
|
7155
|
+
proto.com.lansweeper.dp.outbound.v1.SNMPInfo.serializeBinaryToWriter
|
|
7156
|
+
);
|
|
7157
|
+
}
|
|
7056
7158
|
f = message.getComputer();
|
|
7057
7159
|
if (f != null) {
|
|
7058
7160
|
writer.writeMessage(
|
|
@@ -7941,6 +8043,43 @@ proto.com.lansweeper.dp.outbound.v1.Asset.prototype.clearWarrantyInfoList = func
|
|
|
7941
8043
|
};
|
|
7942
8044
|
|
|
7943
8045
|
|
|
8046
|
+
/**
|
|
8047
|
+
* optional SNMPInfo snmp_info = 82;
|
|
8048
|
+
* @return {?proto.com.lansweeper.dp.outbound.v1.SNMPInfo}
|
|
8049
|
+
*/
|
|
8050
|
+
proto.com.lansweeper.dp.outbound.v1.Asset.prototype.getSnmpInfo = function() {
|
|
8051
|
+
return /** @type{?proto.com.lansweeper.dp.outbound.v1.SNMPInfo} */ (
|
|
8052
|
+
jspb.Message.getWrapperField(this, proto.com.lansweeper.dp.outbound.v1.SNMPInfo, 82));
|
|
8053
|
+
};
|
|
8054
|
+
|
|
8055
|
+
|
|
8056
|
+
/**
|
|
8057
|
+
* @param {?proto.com.lansweeper.dp.outbound.v1.SNMPInfo|undefined} value
|
|
8058
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.Asset} returns this
|
|
8059
|
+
*/
|
|
8060
|
+
proto.com.lansweeper.dp.outbound.v1.Asset.prototype.setSnmpInfo = function(value) {
|
|
8061
|
+
return jspb.Message.setWrapperField(this, 82, value);
|
|
8062
|
+
};
|
|
8063
|
+
|
|
8064
|
+
|
|
8065
|
+
/**
|
|
8066
|
+
* Clears the message field making it undefined.
|
|
8067
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.Asset} returns this
|
|
8068
|
+
*/
|
|
8069
|
+
proto.com.lansweeper.dp.outbound.v1.Asset.prototype.clearSnmpInfo = function() {
|
|
8070
|
+
return this.setSnmpInfo(undefined);
|
|
8071
|
+
};
|
|
8072
|
+
|
|
8073
|
+
|
|
8074
|
+
/**
|
|
8075
|
+
* Returns whether this field is set.
|
|
8076
|
+
* @return {boolean}
|
|
8077
|
+
*/
|
|
8078
|
+
proto.com.lansweeper.dp.outbound.v1.Asset.prototype.hasSnmpInfo = function() {
|
|
8079
|
+
return jspb.Message.getField(this, 82) != null;
|
|
8080
|
+
};
|
|
8081
|
+
|
|
8082
|
+
|
|
7944
8083
|
/**
|
|
7945
8084
|
* optional Computer computer = 75;
|
|
7946
8085
|
* @return {?proto.com.lansweeper.dp.outbound.v1.Computer}
|
|
@@ -30313,7 +30452,7 @@ proto.com.lansweeper.dp.outbound.v1.NetworkInterfaces.prototype.clearInterfaceLi
|
|
|
30313
30452
|
* @private {!Array<number>}
|
|
30314
30453
|
* @const
|
|
30315
30454
|
*/
|
|
30316
|
-
proto.com.lansweeper.dp.outbound.v1.NetworkInterface.repeatedFields_ = [8,11];
|
|
30455
|
+
proto.com.lansweeper.dp.outbound.v1.NetworkInterface.repeatedFields_ = [8,11,23,24];
|
|
30317
30456
|
|
|
30318
30457
|
|
|
30319
30458
|
|
|
@@ -30361,7 +30500,16 @@ proto.com.lansweeper.dp.outbound.v1.NetworkInterface.toObject = function(include
|
|
|
30361
30500
|
dnsHostName: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
30362
30501
|
dnsDomainSuffixSearchOrder: jspb.Message.getFieldWithDefault(msg, 13, ""),
|
|
30363
30502
|
serviceName: jspb.Message.getFieldWithDefault(msg, 14, ""),
|
|
30364
|
-
databasePath: jspb.Message.getFieldWithDefault(msg, 15, "")
|
|
30503
|
+
databasePath: jspb.Message.getFieldWithDefault(msg, 15, ""),
|
|
30504
|
+
description: jspb.Message.getFieldWithDefault(msg, 16, ""),
|
|
30505
|
+
alias: jspb.Message.getFieldWithDefault(msg, 17, ""),
|
|
30506
|
+
mtu: jspb.Message.getFieldWithDefault(msg, 18, ""),
|
|
30507
|
+
speed: jspb.Message.getFieldWithDefault(msg, 19, ""),
|
|
30508
|
+
highSpeed: jspb.Message.getFieldWithDefault(msg, 20, ""),
|
|
30509
|
+
adminStatus: jspb.Message.getFieldWithDefault(msg, 21, ""),
|
|
30510
|
+
operStatus: jspb.Message.getFieldWithDefault(msg, 22, ""),
|
|
30511
|
+
connectedDevicesList: (f = jspb.Message.getRepeatedField(msg, 23)) == null ? undefined : f,
|
|
30512
|
+
vlansList: (f = jspb.Message.getRepeatedField(msg, 24)) == null ? undefined : f
|
|
30365
30513
|
};
|
|
30366
30514
|
|
|
30367
30515
|
if (includeInstance) {
|
|
@@ -30459,6 +30607,42 @@ proto.com.lansweeper.dp.outbound.v1.NetworkInterface.deserializeBinaryFromReader
|
|
|
30459
30607
|
var value = /** @type {string} */ (reader.readString());
|
|
30460
30608
|
msg.setDatabasePath(value);
|
|
30461
30609
|
break;
|
|
30610
|
+
case 16:
|
|
30611
|
+
var value = /** @type {string} */ (reader.readString());
|
|
30612
|
+
msg.setDescription(value);
|
|
30613
|
+
break;
|
|
30614
|
+
case 17:
|
|
30615
|
+
var value = /** @type {string} */ (reader.readString());
|
|
30616
|
+
msg.setAlias(value);
|
|
30617
|
+
break;
|
|
30618
|
+
case 18:
|
|
30619
|
+
var value = /** @type {string} */ (reader.readString());
|
|
30620
|
+
msg.setMtu(value);
|
|
30621
|
+
break;
|
|
30622
|
+
case 19:
|
|
30623
|
+
var value = /** @type {string} */ (reader.readString());
|
|
30624
|
+
msg.setSpeed(value);
|
|
30625
|
+
break;
|
|
30626
|
+
case 20:
|
|
30627
|
+
var value = /** @type {string} */ (reader.readString());
|
|
30628
|
+
msg.setHighSpeed(value);
|
|
30629
|
+
break;
|
|
30630
|
+
case 21:
|
|
30631
|
+
var value = /** @type {string} */ (reader.readString());
|
|
30632
|
+
msg.setAdminStatus(value);
|
|
30633
|
+
break;
|
|
30634
|
+
case 22:
|
|
30635
|
+
var value = /** @type {string} */ (reader.readString());
|
|
30636
|
+
msg.setOperStatus(value);
|
|
30637
|
+
break;
|
|
30638
|
+
case 23:
|
|
30639
|
+
var value = /** @type {string} */ (reader.readString());
|
|
30640
|
+
msg.addConnectedDevices(value);
|
|
30641
|
+
break;
|
|
30642
|
+
case 24:
|
|
30643
|
+
var value = /** @type {string} */ (reader.readString());
|
|
30644
|
+
msg.addVlans(value);
|
|
30645
|
+
break;
|
|
30462
30646
|
default:
|
|
30463
30647
|
reader.skipField();
|
|
30464
30648
|
break;
|
|
@@ -30594,6 +30778,69 @@ proto.com.lansweeper.dp.outbound.v1.NetworkInterface.serializeBinaryToWriter = f
|
|
|
30594
30778
|
f
|
|
30595
30779
|
);
|
|
30596
30780
|
}
|
|
30781
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 16));
|
|
30782
|
+
if (f != null) {
|
|
30783
|
+
writer.writeString(
|
|
30784
|
+
16,
|
|
30785
|
+
f
|
|
30786
|
+
);
|
|
30787
|
+
}
|
|
30788
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 17));
|
|
30789
|
+
if (f != null) {
|
|
30790
|
+
writer.writeString(
|
|
30791
|
+
17,
|
|
30792
|
+
f
|
|
30793
|
+
);
|
|
30794
|
+
}
|
|
30795
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 18));
|
|
30796
|
+
if (f != null) {
|
|
30797
|
+
writer.writeString(
|
|
30798
|
+
18,
|
|
30799
|
+
f
|
|
30800
|
+
);
|
|
30801
|
+
}
|
|
30802
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 19));
|
|
30803
|
+
if (f != null) {
|
|
30804
|
+
writer.writeString(
|
|
30805
|
+
19,
|
|
30806
|
+
f
|
|
30807
|
+
);
|
|
30808
|
+
}
|
|
30809
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 20));
|
|
30810
|
+
if (f != null) {
|
|
30811
|
+
writer.writeString(
|
|
30812
|
+
20,
|
|
30813
|
+
f
|
|
30814
|
+
);
|
|
30815
|
+
}
|
|
30816
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 21));
|
|
30817
|
+
if (f != null) {
|
|
30818
|
+
writer.writeString(
|
|
30819
|
+
21,
|
|
30820
|
+
f
|
|
30821
|
+
);
|
|
30822
|
+
}
|
|
30823
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 22));
|
|
30824
|
+
if (f != null) {
|
|
30825
|
+
writer.writeString(
|
|
30826
|
+
22,
|
|
30827
|
+
f
|
|
30828
|
+
);
|
|
30829
|
+
}
|
|
30830
|
+
f = message.getConnectedDevicesList();
|
|
30831
|
+
if (f.length > 0) {
|
|
30832
|
+
writer.writeRepeatedString(
|
|
30833
|
+
23,
|
|
30834
|
+
f
|
|
30835
|
+
);
|
|
30836
|
+
}
|
|
30837
|
+
f = message.getVlansList();
|
|
30838
|
+
if (f.length > 0) {
|
|
30839
|
+
writer.writeRepeatedString(
|
|
30840
|
+
24,
|
|
30841
|
+
f
|
|
30842
|
+
);
|
|
30843
|
+
}
|
|
30597
30844
|
};
|
|
30598
30845
|
|
|
30599
30846
|
|
|
@@ -31086,6 +31333,332 @@ proto.com.lansweeper.dp.outbound.v1.NetworkInterface.prototype.hasDatabasePath =
|
|
|
31086
31333
|
};
|
|
31087
31334
|
|
|
31088
31335
|
|
|
31336
|
+
/**
|
|
31337
|
+
* optional string description = 16;
|
|
31338
|
+
* @return {string}
|
|
31339
|
+
*/
|
|
31340
|
+
proto.com.lansweeper.dp.outbound.v1.NetworkInterface.prototype.getDescription = function() {
|
|
31341
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 16, ""));
|
|
31342
|
+
};
|
|
31343
|
+
|
|
31344
|
+
|
|
31345
|
+
/**
|
|
31346
|
+
* @param {string} value
|
|
31347
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.NetworkInterface} returns this
|
|
31348
|
+
*/
|
|
31349
|
+
proto.com.lansweeper.dp.outbound.v1.NetworkInterface.prototype.setDescription = function(value) {
|
|
31350
|
+
return jspb.Message.setField(this, 16, value);
|
|
31351
|
+
};
|
|
31352
|
+
|
|
31353
|
+
|
|
31354
|
+
/**
|
|
31355
|
+
* Clears the field making it undefined.
|
|
31356
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.NetworkInterface} returns this
|
|
31357
|
+
*/
|
|
31358
|
+
proto.com.lansweeper.dp.outbound.v1.NetworkInterface.prototype.clearDescription = function() {
|
|
31359
|
+
return jspb.Message.setField(this, 16, undefined);
|
|
31360
|
+
};
|
|
31361
|
+
|
|
31362
|
+
|
|
31363
|
+
/**
|
|
31364
|
+
* Returns whether this field is set.
|
|
31365
|
+
* @return {boolean}
|
|
31366
|
+
*/
|
|
31367
|
+
proto.com.lansweeper.dp.outbound.v1.NetworkInterface.prototype.hasDescription = function() {
|
|
31368
|
+
return jspb.Message.getField(this, 16) != null;
|
|
31369
|
+
};
|
|
31370
|
+
|
|
31371
|
+
|
|
31372
|
+
/**
|
|
31373
|
+
* optional string alias = 17;
|
|
31374
|
+
* @return {string}
|
|
31375
|
+
*/
|
|
31376
|
+
proto.com.lansweeper.dp.outbound.v1.NetworkInterface.prototype.getAlias = function() {
|
|
31377
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 17, ""));
|
|
31378
|
+
};
|
|
31379
|
+
|
|
31380
|
+
|
|
31381
|
+
/**
|
|
31382
|
+
* @param {string} value
|
|
31383
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.NetworkInterface} returns this
|
|
31384
|
+
*/
|
|
31385
|
+
proto.com.lansweeper.dp.outbound.v1.NetworkInterface.prototype.setAlias = function(value) {
|
|
31386
|
+
return jspb.Message.setField(this, 17, value);
|
|
31387
|
+
};
|
|
31388
|
+
|
|
31389
|
+
|
|
31390
|
+
/**
|
|
31391
|
+
* Clears the field making it undefined.
|
|
31392
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.NetworkInterface} returns this
|
|
31393
|
+
*/
|
|
31394
|
+
proto.com.lansweeper.dp.outbound.v1.NetworkInterface.prototype.clearAlias = function() {
|
|
31395
|
+
return jspb.Message.setField(this, 17, undefined);
|
|
31396
|
+
};
|
|
31397
|
+
|
|
31398
|
+
|
|
31399
|
+
/**
|
|
31400
|
+
* Returns whether this field is set.
|
|
31401
|
+
* @return {boolean}
|
|
31402
|
+
*/
|
|
31403
|
+
proto.com.lansweeper.dp.outbound.v1.NetworkInterface.prototype.hasAlias = function() {
|
|
31404
|
+
return jspb.Message.getField(this, 17) != null;
|
|
31405
|
+
};
|
|
31406
|
+
|
|
31407
|
+
|
|
31408
|
+
/**
|
|
31409
|
+
* optional string mtu = 18;
|
|
31410
|
+
* @return {string}
|
|
31411
|
+
*/
|
|
31412
|
+
proto.com.lansweeper.dp.outbound.v1.NetworkInterface.prototype.getMtu = function() {
|
|
31413
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 18, ""));
|
|
31414
|
+
};
|
|
31415
|
+
|
|
31416
|
+
|
|
31417
|
+
/**
|
|
31418
|
+
* @param {string} value
|
|
31419
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.NetworkInterface} returns this
|
|
31420
|
+
*/
|
|
31421
|
+
proto.com.lansweeper.dp.outbound.v1.NetworkInterface.prototype.setMtu = function(value) {
|
|
31422
|
+
return jspb.Message.setField(this, 18, value);
|
|
31423
|
+
};
|
|
31424
|
+
|
|
31425
|
+
|
|
31426
|
+
/**
|
|
31427
|
+
* Clears the field making it undefined.
|
|
31428
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.NetworkInterface} returns this
|
|
31429
|
+
*/
|
|
31430
|
+
proto.com.lansweeper.dp.outbound.v1.NetworkInterface.prototype.clearMtu = function() {
|
|
31431
|
+
return jspb.Message.setField(this, 18, undefined);
|
|
31432
|
+
};
|
|
31433
|
+
|
|
31434
|
+
|
|
31435
|
+
/**
|
|
31436
|
+
* Returns whether this field is set.
|
|
31437
|
+
* @return {boolean}
|
|
31438
|
+
*/
|
|
31439
|
+
proto.com.lansweeper.dp.outbound.v1.NetworkInterface.prototype.hasMtu = function() {
|
|
31440
|
+
return jspb.Message.getField(this, 18) != null;
|
|
31441
|
+
};
|
|
31442
|
+
|
|
31443
|
+
|
|
31444
|
+
/**
|
|
31445
|
+
* optional string speed = 19;
|
|
31446
|
+
* @return {string}
|
|
31447
|
+
*/
|
|
31448
|
+
proto.com.lansweeper.dp.outbound.v1.NetworkInterface.prototype.getSpeed = function() {
|
|
31449
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 19, ""));
|
|
31450
|
+
};
|
|
31451
|
+
|
|
31452
|
+
|
|
31453
|
+
/**
|
|
31454
|
+
* @param {string} value
|
|
31455
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.NetworkInterface} returns this
|
|
31456
|
+
*/
|
|
31457
|
+
proto.com.lansweeper.dp.outbound.v1.NetworkInterface.prototype.setSpeed = function(value) {
|
|
31458
|
+
return jspb.Message.setField(this, 19, value);
|
|
31459
|
+
};
|
|
31460
|
+
|
|
31461
|
+
|
|
31462
|
+
/**
|
|
31463
|
+
* Clears the field making it undefined.
|
|
31464
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.NetworkInterface} returns this
|
|
31465
|
+
*/
|
|
31466
|
+
proto.com.lansweeper.dp.outbound.v1.NetworkInterface.prototype.clearSpeed = function() {
|
|
31467
|
+
return jspb.Message.setField(this, 19, undefined);
|
|
31468
|
+
};
|
|
31469
|
+
|
|
31470
|
+
|
|
31471
|
+
/**
|
|
31472
|
+
* Returns whether this field is set.
|
|
31473
|
+
* @return {boolean}
|
|
31474
|
+
*/
|
|
31475
|
+
proto.com.lansweeper.dp.outbound.v1.NetworkInterface.prototype.hasSpeed = function() {
|
|
31476
|
+
return jspb.Message.getField(this, 19) != null;
|
|
31477
|
+
};
|
|
31478
|
+
|
|
31479
|
+
|
|
31480
|
+
/**
|
|
31481
|
+
* optional string high_speed = 20;
|
|
31482
|
+
* @return {string}
|
|
31483
|
+
*/
|
|
31484
|
+
proto.com.lansweeper.dp.outbound.v1.NetworkInterface.prototype.getHighSpeed = function() {
|
|
31485
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 20, ""));
|
|
31486
|
+
};
|
|
31487
|
+
|
|
31488
|
+
|
|
31489
|
+
/**
|
|
31490
|
+
* @param {string} value
|
|
31491
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.NetworkInterface} returns this
|
|
31492
|
+
*/
|
|
31493
|
+
proto.com.lansweeper.dp.outbound.v1.NetworkInterface.prototype.setHighSpeed = function(value) {
|
|
31494
|
+
return jspb.Message.setField(this, 20, value);
|
|
31495
|
+
};
|
|
31496
|
+
|
|
31497
|
+
|
|
31498
|
+
/**
|
|
31499
|
+
* Clears the field making it undefined.
|
|
31500
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.NetworkInterface} returns this
|
|
31501
|
+
*/
|
|
31502
|
+
proto.com.lansweeper.dp.outbound.v1.NetworkInterface.prototype.clearHighSpeed = function() {
|
|
31503
|
+
return jspb.Message.setField(this, 20, undefined);
|
|
31504
|
+
};
|
|
31505
|
+
|
|
31506
|
+
|
|
31507
|
+
/**
|
|
31508
|
+
* Returns whether this field is set.
|
|
31509
|
+
* @return {boolean}
|
|
31510
|
+
*/
|
|
31511
|
+
proto.com.lansweeper.dp.outbound.v1.NetworkInterface.prototype.hasHighSpeed = function() {
|
|
31512
|
+
return jspb.Message.getField(this, 20) != null;
|
|
31513
|
+
};
|
|
31514
|
+
|
|
31515
|
+
|
|
31516
|
+
/**
|
|
31517
|
+
* optional string admin_status = 21;
|
|
31518
|
+
* @return {string}
|
|
31519
|
+
*/
|
|
31520
|
+
proto.com.lansweeper.dp.outbound.v1.NetworkInterface.prototype.getAdminStatus = function() {
|
|
31521
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 21, ""));
|
|
31522
|
+
};
|
|
31523
|
+
|
|
31524
|
+
|
|
31525
|
+
/**
|
|
31526
|
+
* @param {string} value
|
|
31527
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.NetworkInterface} returns this
|
|
31528
|
+
*/
|
|
31529
|
+
proto.com.lansweeper.dp.outbound.v1.NetworkInterface.prototype.setAdminStatus = function(value) {
|
|
31530
|
+
return jspb.Message.setField(this, 21, value);
|
|
31531
|
+
};
|
|
31532
|
+
|
|
31533
|
+
|
|
31534
|
+
/**
|
|
31535
|
+
* Clears the field making it undefined.
|
|
31536
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.NetworkInterface} returns this
|
|
31537
|
+
*/
|
|
31538
|
+
proto.com.lansweeper.dp.outbound.v1.NetworkInterface.prototype.clearAdminStatus = function() {
|
|
31539
|
+
return jspb.Message.setField(this, 21, undefined);
|
|
31540
|
+
};
|
|
31541
|
+
|
|
31542
|
+
|
|
31543
|
+
/**
|
|
31544
|
+
* Returns whether this field is set.
|
|
31545
|
+
* @return {boolean}
|
|
31546
|
+
*/
|
|
31547
|
+
proto.com.lansweeper.dp.outbound.v1.NetworkInterface.prototype.hasAdminStatus = function() {
|
|
31548
|
+
return jspb.Message.getField(this, 21) != null;
|
|
31549
|
+
};
|
|
31550
|
+
|
|
31551
|
+
|
|
31552
|
+
/**
|
|
31553
|
+
* optional string oper_status = 22;
|
|
31554
|
+
* @return {string}
|
|
31555
|
+
*/
|
|
31556
|
+
proto.com.lansweeper.dp.outbound.v1.NetworkInterface.prototype.getOperStatus = function() {
|
|
31557
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 22, ""));
|
|
31558
|
+
};
|
|
31559
|
+
|
|
31560
|
+
|
|
31561
|
+
/**
|
|
31562
|
+
* @param {string} value
|
|
31563
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.NetworkInterface} returns this
|
|
31564
|
+
*/
|
|
31565
|
+
proto.com.lansweeper.dp.outbound.v1.NetworkInterface.prototype.setOperStatus = function(value) {
|
|
31566
|
+
return jspb.Message.setField(this, 22, value);
|
|
31567
|
+
};
|
|
31568
|
+
|
|
31569
|
+
|
|
31570
|
+
/**
|
|
31571
|
+
* Clears the field making it undefined.
|
|
31572
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.NetworkInterface} returns this
|
|
31573
|
+
*/
|
|
31574
|
+
proto.com.lansweeper.dp.outbound.v1.NetworkInterface.prototype.clearOperStatus = function() {
|
|
31575
|
+
return jspb.Message.setField(this, 22, undefined);
|
|
31576
|
+
};
|
|
31577
|
+
|
|
31578
|
+
|
|
31579
|
+
/**
|
|
31580
|
+
* Returns whether this field is set.
|
|
31581
|
+
* @return {boolean}
|
|
31582
|
+
*/
|
|
31583
|
+
proto.com.lansweeper.dp.outbound.v1.NetworkInterface.prototype.hasOperStatus = function() {
|
|
31584
|
+
return jspb.Message.getField(this, 22) != null;
|
|
31585
|
+
};
|
|
31586
|
+
|
|
31587
|
+
|
|
31588
|
+
/**
|
|
31589
|
+
* repeated string connected_devices = 23;
|
|
31590
|
+
* @return {!Array<string>}
|
|
31591
|
+
*/
|
|
31592
|
+
proto.com.lansweeper.dp.outbound.v1.NetworkInterface.prototype.getConnectedDevicesList = function() {
|
|
31593
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 23));
|
|
31594
|
+
};
|
|
31595
|
+
|
|
31596
|
+
|
|
31597
|
+
/**
|
|
31598
|
+
* @param {!Array<string>} value
|
|
31599
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.NetworkInterface} returns this
|
|
31600
|
+
*/
|
|
31601
|
+
proto.com.lansweeper.dp.outbound.v1.NetworkInterface.prototype.setConnectedDevicesList = function(value) {
|
|
31602
|
+
return jspb.Message.setField(this, 23, value || []);
|
|
31603
|
+
};
|
|
31604
|
+
|
|
31605
|
+
|
|
31606
|
+
/**
|
|
31607
|
+
* @param {string} value
|
|
31608
|
+
* @param {number=} opt_index
|
|
31609
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.NetworkInterface} returns this
|
|
31610
|
+
*/
|
|
31611
|
+
proto.com.lansweeper.dp.outbound.v1.NetworkInterface.prototype.addConnectedDevices = function(value, opt_index) {
|
|
31612
|
+
return jspb.Message.addToRepeatedField(this, 23, value, opt_index);
|
|
31613
|
+
};
|
|
31614
|
+
|
|
31615
|
+
|
|
31616
|
+
/**
|
|
31617
|
+
* Clears the list making it empty but non-null.
|
|
31618
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.NetworkInterface} returns this
|
|
31619
|
+
*/
|
|
31620
|
+
proto.com.lansweeper.dp.outbound.v1.NetworkInterface.prototype.clearConnectedDevicesList = function() {
|
|
31621
|
+
return this.setConnectedDevicesList([]);
|
|
31622
|
+
};
|
|
31623
|
+
|
|
31624
|
+
|
|
31625
|
+
/**
|
|
31626
|
+
* repeated string vlans = 24;
|
|
31627
|
+
* @return {!Array<string>}
|
|
31628
|
+
*/
|
|
31629
|
+
proto.com.lansweeper.dp.outbound.v1.NetworkInterface.prototype.getVlansList = function() {
|
|
31630
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 24));
|
|
31631
|
+
};
|
|
31632
|
+
|
|
31633
|
+
|
|
31634
|
+
/**
|
|
31635
|
+
* @param {!Array<string>} value
|
|
31636
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.NetworkInterface} returns this
|
|
31637
|
+
*/
|
|
31638
|
+
proto.com.lansweeper.dp.outbound.v1.NetworkInterface.prototype.setVlansList = function(value) {
|
|
31639
|
+
return jspb.Message.setField(this, 24, value || []);
|
|
31640
|
+
};
|
|
31641
|
+
|
|
31642
|
+
|
|
31643
|
+
/**
|
|
31644
|
+
* @param {string} value
|
|
31645
|
+
* @param {number=} opt_index
|
|
31646
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.NetworkInterface} returns this
|
|
31647
|
+
*/
|
|
31648
|
+
proto.com.lansweeper.dp.outbound.v1.NetworkInterface.prototype.addVlans = function(value, opt_index) {
|
|
31649
|
+
return jspb.Message.addToRepeatedField(this, 24, value, opt_index);
|
|
31650
|
+
};
|
|
31651
|
+
|
|
31652
|
+
|
|
31653
|
+
/**
|
|
31654
|
+
* Clears the list making it empty but non-null.
|
|
31655
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.NetworkInterface} returns this
|
|
31656
|
+
*/
|
|
31657
|
+
proto.com.lansweeper.dp.outbound.v1.NetworkInterface.prototype.clearVlansList = function() {
|
|
31658
|
+
return this.setVlansList([]);
|
|
31659
|
+
};
|
|
31660
|
+
|
|
31661
|
+
|
|
31089
31662
|
|
|
31090
31663
|
|
|
31091
31664
|
|
|
@@ -84467,8 +85040,8 @@ proto.com.lansweeper.dp.outbound.v1.WiFiInterface.toObject = function(includeIns
|
|
|
84467
85040
|
var f, obj = {
|
|
84468
85041
|
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
84469
85042
|
airdropChannel: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
84470
|
-
airdropSupported: jspb.Message.
|
|
84471
|
-
autoUnlockSupported: jspb.Message.
|
|
85043
|
+
airdropSupported: jspb.Message.getBooleanFieldWithDefault(msg, 3, false),
|
|
85044
|
+
autoUnlockSupported: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
|
|
84472
85045
|
cardType: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
84473
85046
|
countryCode: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
84474
85047
|
firmwareVersion: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
@@ -84477,7 +85050,7 @@ proto.com.lansweeper.dp.outbound.v1.WiFiInterface.toObject = function(includeIns
|
|
|
84477
85050
|
statusInformation: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
84478
85051
|
supportedChannelsList: (f = jspb.Message.getRepeatedField(msg, 11)) == null ? undefined : f,
|
|
84479
85052
|
supportedPhyModes: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
84480
|
-
wakeOnWirelessSupported: jspb.Message.
|
|
85053
|
+
wakeOnWirelessSupported: jspb.Message.getBooleanFieldWithDefault(msg, 13, false),
|
|
84481
85054
|
currentNetwork: (f = msg.getCurrentNetwork()) && proto.com.lansweeper.dp.outbound.v1.WiFiNetwork.toObject(includeInstance, f),
|
|
84482
85055
|
otherLocalNetworksList: jspb.Message.toObjectList(msg.getOtherLocalNetworksList(),
|
|
84483
85056
|
proto.com.lansweeper.dp.outbound.v1.WiFiNetwork.toObject, includeInstance)
|
|
@@ -84526,11 +85099,11 @@ proto.com.lansweeper.dp.outbound.v1.WiFiInterface.deserializeBinaryFromReader =
|
|
|
84526
85099
|
msg.setAirdropChannel(value);
|
|
84527
85100
|
break;
|
|
84528
85101
|
case 3:
|
|
84529
|
-
var value = /** @type {
|
|
85102
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
84530
85103
|
msg.setAirdropSupported(value);
|
|
84531
85104
|
break;
|
|
84532
85105
|
case 4:
|
|
84533
|
-
var value = /** @type {
|
|
85106
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
84534
85107
|
msg.setAutoUnlockSupported(value);
|
|
84535
85108
|
break;
|
|
84536
85109
|
case 5:
|
|
@@ -84566,7 +85139,7 @@ proto.com.lansweeper.dp.outbound.v1.WiFiInterface.deserializeBinaryFromReader =
|
|
|
84566
85139
|
msg.setSupportedPhyModes(value);
|
|
84567
85140
|
break;
|
|
84568
85141
|
case 13:
|
|
84569
|
-
var value = /** @type {
|
|
85142
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
84570
85143
|
msg.setWakeOnWirelessSupported(value);
|
|
84571
85144
|
break;
|
|
84572
85145
|
case 14:
|
|
@@ -84622,16 +85195,16 @@ proto.com.lansweeper.dp.outbound.v1.WiFiInterface.serializeBinaryToWriter = func
|
|
|
84622
85195
|
f
|
|
84623
85196
|
);
|
|
84624
85197
|
}
|
|
84625
|
-
f = /** @type {
|
|
85198
|
+
f = /** @type {boolean} */ (jspb.Message.getField(message, 3));
|
|
84626
85199
|
if (f != null) {
|
|
84627
|
-
writer.
|
|
85200
|
+
writer.writeBool(
|
|
84628
85201
|
3,
|
|
84629
85202
|
f
|
|
84630
85203
|
);
|
|
84631
85204
|
}
|
|
84632
|
-
f = /** @type {
|
|
85205
|
+
f = /** @type {boolean} */ (jspb.Message.getField(message, 4));
|
|
84633
85206
|
if (f != null) {
|
|
84634
|
-
writer.
|
|
85207
|
+
writer.writeBool(
|
|
84635
85208
|
4,
|
|
84636
85209
|
f
|
|
84637
85210
|
);
|
|
@@ -84692,9 +85265,9 @@ proto.com.lansweeper.dp.outbound.v1.WiFiInterface.serializeBinaryToWriter = func
|
|
|
84692
85265
|
f
|
|
84693
85266
|
);
|
|
84694
85267
|
}
|
|
84695
|
-
f = /** @type {
|
|
85268
|
+
f = /** @type {boolean} */ (jspb.Message.getField(message, 13));
|
|
84696
85269
|
if (f != null) {
|
|
84697
|
-
writer.
|
|
85270
|
+
writer.writeBool(
|
|
84698
85271
|
13,
|
|
84699
85272
|
f
|
|
84700
85273
|
);
|
|
@@ -84791,16 +85364,16 @@ proto.com.lansweeper.dp.outbound.v1.WiFiInterface.prototype.hasAirdropChannel =
|
|
|
84791
85364
|
|
|
84792
85365
|
|
|
84793
85366
|
/**
|
|
84794
|
-
* optional
|
|
84795
|
-
* @return {
|
|
85367
|
+
* optional bool airdrop_supported = 3;
|
|
85368
|
+
* @return {boolean}
|
|
84796
85369
|
*/
|
|
84797
85370
|
proto.com.lansweeper.dp.outbound.v1.WiFiInterface.prototype.getAirdropSupported = function() {
|
|
84798
|
-
return /** @type {
|
|
85371
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
|
|
84799
85372
|
};
|
|
84800
85373
|
|
|
84801
85374
|
|
|
84802
85375
|
/**
|
|
84803
|
-
* @param {
|
|
85376
|
+
* @param {boolean} value
|
|
84804
85377
|
* @return {!proto.com.lansweeper.dp.outbound.v1.WiFiInterface} returns this
|
|
84805
85378
|
*/
|
|
84806
85379
|
proto.com.lansweeper.dp.outbound.v1.WiFiInterface.prototype.setAirdropSupported = function(value) {
|
|
@@ -84827,16 +85400,16 @@ proto.com.lansweeper.dp.outbound.v1.WiFiInterface.prototype.hasAirdropSupported
|
|
|
84827
85400
|
|
|
84828
85401
|
|
|
84829
85402
|
/**
|
|
84830
|
-
* optional
|
|
84831
|
-
* @return {
|
|
85403
|
+
* optional bool auto_unlock_supported = 4;
|
|
85404
|
+
* @return {boolean}
|
|
84832
85405
|
*/
|
|
84833
85406
|
proto.com.lansweeper.dp.outbound.v1.WiFiInterface.prototype.getAutoUnlockSupported = function() {
|
|
84834
|
-
return /** @type {
|
|
85407
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false));
|
|
84835
85408
|
};
|
|
84836
85409
|
|
|
84837
85410
|
|
|
84838
85411
|
/**
|
|
84839
|
-
* @param {
|
|
85412
|
+
* @param {boolean} value
|
|
84840
85413
|
* @return {!proto.com.lansweeper.dp.outbound.v1.WiFiInterface} returns this
|
|
84841
85414
|
*/
|
|
84842
85415
|
proto.com.lansweeper.dp.outbound.v1.WiFiInterface.prototype.setAutoUnlockSupported = function(value) {
|
|
@@ -85152,16 +85725,16 @@ proto.com.lansweeper.dp.outbound.v1.WiFiInterface.prototype.hasSupportedPhyModes
|
|
|
85152
85725
|
|
|
85153
85726
|
|
|
85154
85727
|
/**
|
|
85155
|
-
* optional
|
|
85156
|
-
* @return {
|
|
85728
|
+
* optional bool wake_on_wireless_supported = 13;
|
|
85729
|
+
* @return {boolean}
|
|
85157
85730
|
*/
|
|
85158
85731
|
proto.com.lansweeper.dp.outbound.v1.WiFiInterface.prototype.getWakeOnWirelessSupported = function() {
|
|
85159
|
-
return /** @type {
|
|
85732
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 13, false));
|
|
85160
85733
|
};
|
|
85161
85734
|
|
|
85162
85735
|
|
|
85163
85736
|
/**
|
|
85164
|
-
* @param {
|
|
85737
|
+
* @param {boolean} value
|
|
85165
85738
|
* @return {!proto.com.lansweeper.dp.outbound.v1.WiFiInterface} returns this
|
|
85166
85739
|
*/
|
|
85167
85740
|
proto.com.lansweeper.dp.outbound.v1.WiFiInterface.prototype.setWakeOnWirelessSupported = function(value) {
|
|
@@ -97328,6 +97901,2440 @@ proto.com.lansweeper.dp.outbound.v1.CatalogMonitor.prototype.hasMatchScore = fun
|
|
|
97328
97901
|
|
|
97329
97902
|
|
|
97330
97903
|
|
|
97904
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
97905
|
+
/**
|
|
97906
|
+
* Creates an object representation of this proto.
|
|
97907
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
97908
|
+
* Optional fields that are not set will be set to undefined.
|
|
97909
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
97910
|
+
* For the list of reserved names please see:
|
|
97911
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
97912
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
97913
|
+
* JSPB instance for transitional soy proto support:
|
|
97914
|
+
* http://goto/soy-param-migration
|
|
97915
|
+
* @return {!Object}
|
|
97916
|
+
*/
|
|
97917
|
+
proto.com.lansweeper.dp.outbound.v1.SNMPInfo.prototype.toObject = function(opt_includeInstance) {
|
|
97918
|
+
return proto.com.lansweeper.dp.outbound.v1.SNMPInfo.toObject(opt_includeInstance, this);
|
|
97919
|
+
};
|
|
97920
|
+
|
|
97921
|
+
|
|
97922
|
+
/**
|
|
97923
|
+
* Static version of the {@see toObject} method.
|
|
97924
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
97925
|
+
* the JSPB instance for transitional soy proto support:
|
|
97926
|
+
* http://goto/soy-param-migration
|
|
97927
|
+
* @param {!proto.com.lansweeper.dp.outbound.v1.SNMPInfo} msg The msg instance to transform.
|
|
97928
|
+
* @return {!Object}
|
|
97929
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
97930
|
+
*/
|
|
97931
|
+
proto.com.lansweeper.dp.outbound.v1.SNMPInfo.toObject = function(includeInstance, msg) {
|
|
97932
|
+
var f, obj = {
|
|
97933
|
+
objectId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
97934
|
+
name: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
97935
|
+
description: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
97936
|
+
contact: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
97937
|
+
location: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
97938
|
+
isWindows: jspb.Message.getBooleanFieldWithDefault(msg, 6, false),
|
|
97939
|
+
domain: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
97940
|
+
vendorCode: jspb.Message.getFieldWithDefault(msg, 8, 0),
|
|
97941
|
+
ipForwarding: jspb.Message.getBooleanFieldWithDefault(msg, 9, false),
|
|
97942
|
+
dnsName: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
97943
|
+
ciscoName: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
97944
|
+
connectedToDrac: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
97945
|
+
macAddress: jspb.Message.getFieldWithDefault(msg, 13, ""),
|
|
97946
|
+
printerInfo: (f = msg.getPrinterInfo()) && proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo.toObject(includeInstance, f),
|
|
97947
|
+
upsInfo: (f = msg.getUpsInfo()) && proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.toObject(includeInstance, f)
|
|
97948
|
+
};
|
|
97949
|
+
|
|
97950
|
+
if (includeInstance) {
|
|
97951
|
+
obj.$jspbMessageInstance = msg;
|
|
97952
|
+
}
|
|
97953
|
+
return obj;
|
|
97954
|
+
};
|
|
97955
|
+
}
|
|
97956
|
+
|
|
97957
|
+
|
|
97958
|
+
/**
|
|
97959
|
+
* Deserializes binary data (in protobuf wire format).
|
|
97960
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
97961
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.SNMPInfo}
|
|
97962
|
+
*/
|
|
97963
|
+
proto.com.lansweeper.dp.outbound.v1.SNMPInfo.deserializeBinary = function(bytes) {
|
|
97964
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
97965
|
+
var msg = new proto.com.lansweeper.dp.outbound.v1.SNMPInfo;
|
|
97966
|
+
return proto.com.lansweeper.dp.outbound.v1.SNMPInfo.deserializeBinaryFromReader(msg, reader);
|
|
97967
|
+
};
|
|
97968
|
+
|
|
97969
|
+
|
|
97970
|
+
/**
|
|
97971
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
97972
|
+
* given reader into the given message object.
|
|
97973
|
+
* @param {!proto.com.lansweeper.dp.outbound.v1.SNMPInfo} msg The message object to deserialize into.
|
|
97974
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
97975
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.SNMPInfo}
|
|
97976
|
+
*/
|
|
97977
|
+
proto.com.lansweeper.dp.outbound.v1.SNMPInfo.deserializeBinaryFromReader = function(msg, reader) {
|
|
97978
|
+
while (reader.nextField()) {
|
|
97979
|
+
if (reader.isEndGroup()) {
|
|
97980
|
+
break;
|
|
97981
|
+
}
|
|
97982
|
+
var field = reader.getFieldNumber();
|
|
97983
|
+
switch (field) {
|
|
97984
|
+
case 1:
|
|
97985
|
+
var value = /** @type {string} */ (reader.readString());
|
|
97986
|
+
msg.setObjectId(value);
|
|
97987
|
+
break;
|
|
97988
|
+
case 2:
|
|
97989
|
+
var value = /** @type {string} */ (reader.readString());
|
|
97990
|
+
msg.setName(value);
|
|
97991
|
+
break;
|
|
97992
|
+
case 3:
|
|
97993
|
+
var value = /** @type {string} */ (reader.readString());
|
|
97994
|
+
msg.setDescription(value);
|
|
97995
|
+
break;
|
|
97996
|
+
case 4:
|
|
97997
|
+
var value = /** @type {string} */ (reader.readString());
|
|
97998
|
+
msg.setContact(value);
|
|
97999
|
+
break;
|
|
98000
|
+
case 5:
|
|
98001
|
+
var value = /** @type {string} */ (reader.readString());
|
|
98002
|
+
msg.setLocation(value);
|
|
98003
|
+
break;
|
|
98004
|
+
case 6:
|
|
98005
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
98006
|
+
msg.setIsWindows(value);
|
|
98007
|
+
break;
|
|
98008
|
+
case 7:
|
|
98009
|
+
var value = /** @type {string} */ (reader.readString());
|
|
98010
|
+
msg.setDomain(value);
|
|
98011
|
+
break;
|
|
98012
|
+
case 8:
|
|
98013
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
98014
|
+
msg.setVendorCode(value);
|
|
98015
|
+
break;
|
|
98016
|
+
case 9:
|
|
98017
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
98018
|
+
msg.setIpForwarding(value);
|
|
98019
|
+
break;
|
|
98020
|
+
case 10:
|
|
98021
|
+
var value = /** @type {string} */ (reader.readString());
|
|
98022
|
+
msg.setDnsName(value);
|
|
98023
|
+
break;
|
|
98024
|
+
case 11:
|
|
98025
|
+
var value = /** @type {string} */ (reader.readString());
|
|
98026
|
+
msg.setCiscoName(value);
|
|
98027
|
+
break;
|
|
98028
|
+
case 12:
|
|
98029
|
+
var value = /** @type {string} */ (reader.readString());
|
|
98030
|
+
msg.setConnectedToDrac(value);
|
|
98031
|
+
break;
|
|
98032
|
+
case 13:
|
|
98033
|
+
var value = /** @type {string} */ (reader.readString());
|
|
98034
|
+
msg.setMacAddress(value);
|
|
98035
|
+
break;
|
|
98036
|
+
case 14:
|
|
98037
|
+
var value = new proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo;
|
|
98038
|
+
reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo.deserializeBinaryFromReader);
|
|
98039
|
+
msg.setPrinterInfo(value);
|
|
98040
|
+
break;
|
|
98041
|
+
case 15:
|
|
98042
|
+
var value = new proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo;
|
|
98043
|
+
reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.deserializeBinaryFromReader);
|
|
98044
|
+
msg.setUpsInfo(value);
|
|
98045
|
+
break;
|
|
98046
|
+
default:
|
|
98047
|
+
reader.skipField();
|
|
98048
|
+
break;
|
|
98049
|
+
}
|
|
98050
|
+
}
|
|
98051
|
+
return msg;
|
|
98052
|
+
};
|
|
98053
|
+
|
|
98054
|
+
|
|
98055
|
+
/**
|
|
98056
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
98057
|
+
* @return {!Uint8Array}
|
|
98058
|
+
*/
|
|
98059
|
+
proto.com.lansweeper.dp.outbound.v1.SNMPInfo.prototype.serializeBinary = function() {
|
|
98060
|
+
var writer = new jspb.BinaryWriter();
|
|
98061
|
+
proto.com.lansweeper.dp.outbound.v1.SNMPInfo.serializeBinaryToWriter(this, writer);
|
|
98062
|
+
return writer.getResultBuffer();
|
|
98063
|
+
};
|
|
98064
|
+
|
|
98065
|
+
|
|
98066
|
+
/**
|
|
98067
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
98068
|
+
* format), writing to the given BinaryWriter.
|
|
98069
|
+
* @param {!proto.com.lansweeper.dp.outbound.v1.SNMPInfo} message
|
|
98070
|
+
* @param {!jspb.BinaryWriter} writer
|
|
98071
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
98072
|
+
*/
|
|
98073
|
+
proto.com.lansweeper.dp.outbound.v1.SNMPInfo.serializeBinaryToWriter = function(message, writer) {
|
|
98074
|
+
var f = undefined;
|
|
98075
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 1));
|
|
98076
|
+
if (f != null) {
|
|
98077
|
+
writer.writeString(
|
|
98078
|
+
1,
|
|
98079
|
+
f
|
|
98080
|
+
);
|
|
98081
|
+
}
|
|
98082
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 2));
|
|
98083
|
+
if (f != null) {
|
|
98084
|
+
writer.writeString(
|
|
98085
|
+
2,
|
|
98086
|
+
f
|
|
98087
|
+
);
|
|
98088
|
+
}
|
|
98089
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 3));
|
|
98090
|
+
if (f != null) {
|
|
98091
|
+
writer.writeString(
|
|
98092
|
+
3,
|
|
98093
|
+
f
|
|
98094
|
+
);
|
|
98095
|
+
}
|
|
98096
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 4));
|
|
98097
|
+
if (f != null) {
|
|
98098
|
+
writer.writeString(
|
|
98099
|
+
4,
|
|
98100
|
+
f
|
|
98101
|
+
);
|
|
98102
|
+
}
|
|
98103
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 5));
|
|
98104
|
+
if (f != null) {
|
|
98105
|
+
writer.writeString(
|
|
98106
|
+
5,
|
|
98107
|
+
f
|
|
98108
|
+
);
|
|
98109
|
+
}
|
|
98110
|
+
f = /** @type {boolean} */ (jspb.Message.getField(message, 6));
|
|
98111
|
+
if (f != null) {
|
|
98112
|
+
writer.writeBool(
|
|
98113
|
+
6,
|
|
98114
|
+
f
|
|
98115
|
+
);
|
|
98116
|
+
}
|
|
98117
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 7));
|
|
98118
|
+
if (f != null) {
|
|
98119
|
+
writer.writeString(
|
|
98120
|
+
7,
|
|
98121
|
+
f
|
|
98122
|
+
);
|
|
98123
|
+
}
|
|
98124
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 8));
|
|
98125
|
+
if (f != null) {
|
|
98126
|
+
writer.writeInt32(
|
|
98127
|
+
8,
|
|
98128
|
+
f
|
|
98129
|
+
);
|
|
98130
|
+
}
|
|
98131
|
+
f = /** @type {boolean} */ (jspb.Message.getField(message, 9));
|
|
98132
|
+
if (f != null) {
|
|
98133
|
+
writer.writeBool(
|
|
98134
|
+
9,
|
|
98135
|
+
f
|
|
98136
|
+
);
|
|
98137
|
+
}
|
|
98138
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 10));
|
|
98139
|
+
if (f != null) {
|
|
98140
|
+
writer.writeString(
|
|
98141
|
+
10,
|
|
98142
|
+
f
|
|
98143
|
+
);
|
|
98144
|
+
}
|
|
98145
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 11));
|
|
98146
|
+
if (f != null) {
|
|
98147
|
+
writer.writeString(
|
|
98148
|
+
11,
|
|
98149
|
+
f
|
|
98150
|
+
);
|
|
98151
|
+
}
|
|
98152
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 12));
|
|
98153
|
+
if (f != null) {
|
|
98154
|
+
writer.writeString(
|
|
98155
|
+
12,
|
|
98156
|
+
f
|
|
98157
|
+
);
|
|
98158
|
+
}
|
|
98159
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 13));
|
|
98160
|
+
if (f != null) {
|
|
98161
|
+
writer.writeString(
|
|
98162
|
+
13,
|
|
98163
|
+
f
|
|
98164
|
+
);
|
|
98165
|
+
}
|
|
98166
|
+
f = message.getPrinterInfo();
|
|
98167
|
+
if (f != null) {
|
|
98168
|
+
writer.writeMessage(
|
|
98169
|
+
14,
|
|
98170
|
+
f,
|
|
98171
|
+
proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo.serializeBinaryToWriter
|
|
98172
|
+
);
|
|
98173
|
+
}
|
|
98174
|
+
f = message.getUpsInfo();
|
|
98175
|
+
if (f != null) {
|
|
98176
|
+
writer.writeMessage(
|
|
98177
|
+
15,
|
|
98178
|
+
f,
|
|
98179
|
+
proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.serializeBinaryToWriter
|
|
98180
|
+
);
|
|
98181
|
+
}
|
|
98182
|
+
};
|
|
98183
|
+
|
|
98184
|
+
|
|
98185
|
+
/**
|
|
98186
|
+
* optional string object_id = 1;
|
|
98187
|
+
* @return {string}
|
|
98188
|
+
*/
|
|
98189
|
+
proto.com.lansweeper.dp.outbound.v1.SNMPInfo.prototype.getObjectId = function() {
|
|
98190
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
98191
|
+
};
|
|
98192
|
+
|
|
98193
|
+
|
|
98194
|
+
/**
|
|
98195
|
+
* @param {string} value
|
|
98196
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.SNMPInfo} returns this
|
|
98197
|
+
*/
|
|
98198
|
+
proto.com.lansweeper.dp.outbound.v1.SNMPInfo.prototype.setObjectId = function(value) {
|
|
98199
|
+
return jspb.Message.setField(this, 1, value);
|
|
98200
|
+
};
|
|
98201
|
+
|
|
98202
|
+
|
|
98203
|
+
/**
|
|
98204
|
+
* Clears the field making it undefined.
|
|
98205
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.SNMPInfo} returns this
|
|
98206
|
+
*/
|
|
98207
|
+
proto.com.lansweeper.dp.outbound.v1.SNMPInfo.prototype.clearObjectId = function() {
|
|
98208
|
+
return jspb.Message.setField(this, 1, undefined);
|
|
98209
|
+
};
|
|
98210
|
+
|
|
98211
|
+
|
|
98212
|
+
/**
|
|
98213
|
+
* Returns whether this field is set.
|
|
98214
|
+
* @return {boolean}
|
|
98215
|
+
*/
|
|
98216
|
+
proto.com.lansweeper.dp.outbound.v1.SNMPInfo.prototype.hasObjectId = function() {
|
|
98217
|
+
return jspb.Message.getField(this, 1) != null;
|
|
98218
|
+
};
|
|
98219
|
+
|
|
98220
|
+
|
|
98221
|
+
/**
|
|
98222
|
+
* optional string name = 2;
|
|
98223
|
+
* @return {string}
|
|
98224
|
+
*/
|
|
98225
|
+
proto.com.lansweeper.dp.outbound.v1.SNMPInfo.prototype.getName = function() {
|
|
98226
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
98227
|
+
};
|
|
98228
|
+
|
|
98229
|
+
|
|
98230
|
+
/**
|
|
98231
|
+
* @param {string} value
|
|
98232
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.SNMPInfo} returns this
|
|
98233
|
+
*/
|
|
98234
|
+
proto.com.lansweeper.dp.outbound.v1.SNMPInfo.prototype.setName = function(value) {
|
|
98235
|
+
return jspb.Message.setField(this, 2, value);
|
|
98236
|
+
};
|
|
98237
|
+
|
|
98238
|
+
|
|
98239
|
+
/**
|
|
98240
|
+
* Clears the field making it undefined.
|
|
98241
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.SNMPInfo} returns this
|
|
98242
|
+
*/
|
|
98243
|
+
proto.com.lansweeper.dp.outbound.v1.SNMPInfo.prototype.clearName = function() {
|
|
98244
|
+
return jspb.Message.setField(this, 2, undefined);
|
|
98245
|
+
};
|
|
98246
|
+
|
|
98247
|
+
|
|
98248
|
+
/**
|
|
98249
|
+
* Returns whether this field is set.
|
|
98250
|
+
* @return {boolean}
|
|
98251
|
+
*/
|
|
98252
|
+
proto.com.lansweeper.dp.outbound.v1.SNMPInfo.prototype.hasName = function() {
|
|
98253
|
+
return jspb.Message.getField(this, 2) != null;
|
|
98254
|
+
};
|
|
98255
|
+
|
|
98256
|
+
|
|
98257
|
+
/**
|
|
98258
|
+
* optional string description = 3;
|
|
98259
|
+
* @return {string}
|
|
98260
|
+
*/
|
|
98261
|
+
proto.com.lansweeper.dp.outbound.v1.SNMPInfo.prototype.getDescription = function() {
|
|
98262
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
98263
|
+
};
|
|
98264
|
+
|
|
98265
|
+
|
|
98266
|
+
/**
|
|
98267
|
+
* @param {string} value
|
|
98268
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.SNMPInfo} returns this
|
|
98269
|
+
*/
|
|
98270
|
+
proto.com.lansweeper.dp.outbound.v1.SNMPInfo.prototype.setDescription = function(value) {
|
|
98271
|
+
return jspb.Message.setField(this, 3, value);
|
|
98272
|
+
};
|
|
98273
|
+
|
|
98274
|
+
|
|
98275
|
+
/**
|
|
98276
|
+
* Clears the field making it undefined.
|
|
98277
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.SNMPInfo} returns this
|
|
98278
|
+
*/
|
|
98279
|
+
proto.com.lansweeper.dp.outbound.v1.SNMPInfo.prototype.clearDescription = function() {
|
|
98280
|
+
return jspb.Message.setField(this, 3, undefined);
|
|
98281
|
+
};
|
|
98282
|
+
|
|
98283
|
+
|
|
98284
|
+
/**
|
|
98285
|
+
* Returns whether this field is set.
|
|
98286
|
+
* @return {boolean}
|
|
98287
|
+
*/
|
|
98288
|
+
proto.com.lansweeper.dp.outbound.v1.SNMPInfo.prototype.hasDescription = function() {
|
|
98289
|
+
return jspb.Message.getField(this, 3) != null;
|
|
98290
|
+
};
|
|
98291
|
+
|
|
98292
|
+
|
|
98293
|
+
/**
|
|
98294
|
+
* optional string contact = 4;
|
|
98295
|
+
* @return {string}
|
|
98296
|
+
*/
|
|
98297
|
+
proto.com.lansweeper.dp.outbound.v1.SNMPInfo.prototype.getContact = function() {
|
|
98298
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
98299
|
+
};
|
|
98300
|
+
|
|
98301
|
+
|
|
98302
|
+
/**
|
|
98303
|
+
* @param {string} value
|
|
98304
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.SNMPInfo} returns this
|
|
98305
|
+
*/
|
|
98306
|
+
proto.com.lansweeper.dp.outbound.v1.SNMPInfo.prototype.setContact = function(value) {
|
|
98307
|
+
return jspb.Message.setField(this, 4, value);
|
|
98308
|
+
};
|
|
98309
|
+
|
|
98310
|
+
|
|
98311
|
+
/**
|
|
98312
|
+
* Clears the field making it undefined.
|
|
98313
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.SNMPInfo} returns this
|
|
98314
|
+
*/
|
|
98315
|
+
proto.com.lansweeper.dp.outbound.v1.SNMPInfo.prototype.clearContact = function() {
|
|
98316
|
+
return jspb.Message.setField(this, 4, undefined);
|
|
98317
|
+
};
|
|
98318
|
+
|
|
98319
|
+
|
|
98320
|
+
/**
|
|
98321
|
+
* Returns whether this field is set.
|
|
98322
|
+
* @return {boolean}
|
|
98323
|
+
*/
|
|
98324
|
+
proto.com.lansweeper.dp.outbound.v1.SNMPInfo.prototype.hasContact = function() {
|
|
98325
|
+
return jspb.Message.getField(this, 4) != null;
|
|
98326
|
+
};
|
|
98327
|
+
|
|
98328
|
+
|
|
98329
|
+
/**
|
|
98330
|
+
* optional string location = 5;
|
|
98331
|
+
* @return {string}
|
|
98332
|
+
*/
|
|
98333
|
+
proto.com.lansweeper.dp.outbound.v1.SNMPInfo.prototype.getLocation = function() {
|
|
98334
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
98335
|
+
};
|
|
98336
|
+
|
|
98337
|
+
|
|
98338
|
+
/**
|
|
98339
|
+
* @param {string} value
|
|
98340
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.SNMPInfo} returns this
|
|
98341
|
+
*/
|
|
98342
|
+
proto.com.lansweeper.dp.outbound.v1.SNMPInfo.prototype.setLocation = function(value) {
|
|
98343
|
+
return jspb.Message.setField(this, 5, value);
|
|
98344
|
+
};
|
|
98345
|
+
|
|
98346
|
+
|
|
98347
|
+
/**
|
|
98348
|
+
* Clears the field making it undefined.
|
|
98349
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.SNMPInfo} returns this
|
|
98350
|
+
*/
|
|
98351
|
+
proto.com.lansweeper.dp.outbound.v1.SNMPInfo.prototype.clearLocation = function() {
|
|
98352
|
+
return jspb.Message.setField(this, 5, undefined);
|
|
98353
|
+
};
|
|
98354
|
+
|
|
98355
|
+
|
|
98356
|
+
/**
|
|
98357
|
+
* Returns whether this field is set.
|
|
98358
|
+
* @return {boolean}
|
|
98359
|
+
*/
|
|
98360
|
+
proto.com.lansweeper.dp.outbound.v1.SNMPInfo.prototype.hasLocation = function() {
|
|
98361
|
+
return jspb.Message.getField(this, 5) != null;
|
|
98362
|
+
};
|
|
98363
|
+
|
|
98364
|
+
|
|
98365
|
+
/**
|
|
98366
|
+
* optional bool is_windows = 6;
|
|
98367
|
+
* @return {boolean}
|
|
98368
|
+
*/
|
|
98369
|
+
proto.com.lansweeper.dp.outbound.v1.SNMPInfo.prototype.getIsWindows = function() {
|
|
98370
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 6, false));
|
|
98371
|
+
};
|
|
98372
|
+
|
|
98373
|
+
|
|
98374
|
+
/**
|
|
98375
|
+
* @param {boolean} value
|
|
98376
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.SNMPInfo} returns this
|
|
98377
|
+
*/
|
|
98378
|
+
proto.com.lansweeper.dp.outbound.v1.SNMPInfo.prototype.setIsWindows = function(value) {
|
|
98379
|
+
return jspb.Message.setField(this, 6, value);
|
|
98380
|
+
};
|
|
98381
|
+
|
|
98382
|
+
|
|
98383
|
+
/**
|
|
98384
|
+
* Clears the field making it undefined.
|
|
98385
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.SNMPInfo} returns this
|
|
98386
|
+
*/
|
|
98387
|
+
proto.com.lansweeper.dp.outbound.v1.SNMPInfo.prototype.clearIsWindows = function() {
|
|
98388
|
+
return jspb.Message.setField(this, 6, undefined);
|
|
98389
|
+
};
|
|
98390
|
+
|
|
98391
|
+
|
|
98392
|
+
/**
|
|
98393
|
+
* Returns whether this field is set.
|
|
98394
|
+
* @return {boolean}
|
|
98395
|
+
*/
|
|
98396
|
+
proto.com.lansweeper.dp.outbound.v1.SNMPInfo.prototype.hasIsWindows = function() {
|
|
98397
|
+
return jspb.Message.getField(this, 6) != null;
|
|
98398
|
+
};
|
|
98399
|
+
|
|
98400
|
+
|
|
98401
|
+
/**
|
|
98402
|
+
* optional string domain = 7;
|
|
98403
|
+
* @return {string}
|
|
98404
|
+
*/
|
|
98405
|
+
proto.com.lansweeper.dp.outbound.v1.SNMPInfo.prototype.getDomain = function() {
|
|
98406
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
98407
|
+
};
|
|
98408
|
+
|
|
98409
|
+
|
|
98410
|
+
/**
|
|
98411
|
+
* @param {string} value
|
|
98412
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.SNMPInfo} returns this
|
|
98413
|
+
*/
|
|
98414
|
+
proto.com.lansweeper.dp.outbound.v1.SNMPInfo.prototype.setDomain = function(value) {
|
|
98415
|
+
return jspb.Message.setField(this, 7, value);
|
|
98416
|
+
};
|
|
98417
|
+
|
|
98418
|
+
|
|
98419
|
+
/**
|
|
98420
|
+
* Clears the field making it undefined.
|
|
98421
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.SNMPInfo} returns this
|
|
98422
|
+
*/
|
|
98423
|
+
proto.com.lansweeper.dp.outbound.v1.SNMPInfo.prototype.clearDomain = function() {
|
|
98424
|
+
return jspb.Message.setField(this, 7, undefined);
|
|
98425
|
+
};
|
|
98426
|
+
|
|
98427
|
+
|
|
98428
|
+
/**
|
|
98429
|
+
* Returns whether this field is set.
|
|
98430
|
+
* @return {boolean}
|
|
98431
|
+
*/
|
|
98432
|
+
proto.com.lansweeper.dp.outbound.v1.SNMPInfo.prototype.hasDomain = function() {
|
|
98433
|
+
return jspb.Message.getField(this, 7) != null;
|
|
98434
|
+
};
|
|
98435
|
+
|
|
98436
|
+
|
|
98437
|
+
/**
|
|
98438
|
+
* optional int32 vendor_code = 8;
|
|
98439
|
+
* @return {number}
|
|
98440
|
+
*/
|
|
98441
|
+
proto.com.lansweeper.dp.outbound.v1.SNMPInfo.prototype.getVendorCode = function() {
|
|
98442
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0));
|
|
98443
|
+
};
|
|
98444
|
+
|
|
98445
|
+
|
|
98446
|
+
/**
|
|
98447
|
+
* @param {number} value
|
|
98448
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.SNMPInfo} returns this
|
|
98449
|
+
*/
|
|
98450
|
+
proto.com.lansweeper.dp.outbound.v1.SNMPInfo.prototype.setVendorCode = function(value) {
|
|
98451
|
+
return jspb.Message.setField(this, 8, value);
|
|
98452
|
+
};
|
|
98453
|
+
|
|
98454
|
+
|
|
98455
|
+
/**
|
|
98456
|
+
* Clears the field making it undefined.
|
|
98457
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.SNMPInfo} returns this
|
|
98458
|
+
*/
|
|
98459
|
+
proto.com.lansweeper.dp.outbound.v1.SNMPInfo.prototype.clearVendorCode = function() {
|
|
98460
|
+
return jspb.Message.setField(this, 8, undefined);
|
|
98461
|
+
};
|
|
98462
|
+
|
|
98463
|
+
|
|
98464
|
+
/**
|
|
98465
|
+
* Returns whether this field is set.
|
|
98466
|
+
* @return {boolean}
|
|
98467
|
+
*/
|
|
98468
|
+
proto.com.lansweeper.dp.outbound.v1.SNMPInfo.prototype.hasVendorCode = function() {
|
|
98469
|
+
return jspb.Message.getField(this, 8) != null;
|
|
98470
|
+
};
|
|
98471
|
+
|
|
98472
|
+
|
|
98473
|
+
/**
|
|
98474
|
+
* optional bool ip_forwarding = 9;
|
|
98475
|
+
* @return {boolean}
|
|
98476
|
+
*/
|
|
98477
|
+
proto.com.lansweeper.dp.outbound.v1.SNMPInfo.prototype.getIpForwarding = function() {
|
|
98478
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 9, false));
|
|
98479
|
+
};
|
|
98480
|
+
|
|
98481
|
+
|
|
98482
|
+
/**
|
|
98483
|
+
* @param {boolean} value
|
|
98484
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.SNMPInfo} returns this
|
|
98485
|
+
*/
|
|
98486
|
+
proto.com.lansweeper.dp.outbound.v1.SNMPInfo.prototype.setIpForwarding = function(value) {
|
|
98487
|
+
return jspb.Message.setField(this, 9, value);
|
|
98488
|
+
};
|
|
98489
|
+
|
|
98490
|
+
|
|
98491
|
+
/**
|
|
98492
|
+
* Clears the field making it undefined.
|
|
98493
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.SNMPInfo} returns this
|
|
98494
|
+
*/
|
|
98495
|
+
proto.com.lansweeper.dp.outbound.v1.SNMPInfo.prototype.clearIpForwarding = function() {
|
|
98496
|
+
return jspb.Message.setField(this, 9, undefined);
|
|
98497
|
+
};
|
|
98498
|
+
|
|
98499
|
+
|
|
98500
|
+
/**
|
|
98501
|
+
* Returns whether this field is set.
|
|
98502
|
+
* @return {boolean}
|
|
98503
|
+
*/
|
|
98504
|
+
proto.com.lansweeper.dp.outbound.v1.SNMPInfo.prototype.hasIpForwarding = function() {
|
|
98505
|
+
return jspb.Message.getField(this, 9) != null;
|
|
98506
|
+
};
|
|
98507
|
+
|
|
98508
|
+
|
|
98509
|
+
/**
|
|
98510
|
+
* optional string dns_name = 10;
|
|
98511
|
+
* @return {string}
|
|
98512
|
+
*/
|
|
98513
|
+
proto.com.lansweeper.dp.outbound.v1.SNMPInfo.prototype.getDnsName = function() {
|
|
98514
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
98515
|
+
};
|
|
98516
|
+
|
|
98517
|
+
|
|
98518
|
+
/**
|
|
98519
|
+
* @param {string} value
|
|
98520
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.SNMPInfo} returns this
|
|
98521
|
+
*/
|
|
98522
|
+
proto.com.lansweeper.dp.outbound.v1.SNMPInfo.prototype.setDnsName = function(value) {
|
|
98523
|
+
return jspb.Message.setField(this, 10, value);
|
|
98524
|
+
};
|
|
98525
|
+
|
|
98526
|
+
|
|
98527
|
+
/**
|
|
98528
|
+
* Clears the field making it undefined.
|
|
98529
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.SNMPInfo} returns this
|
|
98530
|
+
*/
|
|
98531
|
+
proto.com.lansweeper.dp.outbound.v1.SNMPInfo.prototype.clearDnsName = function() {
|
|
98532
|
+
return jspb.Message.setField(this, 10, undefined);
|
|
98533
|
+
};
|
|
98534
|
+
|
|
98535
|
+
|
|
98536
|
+
/**
|
|
98537
|
+
* Returns whether this field is set.
|
|
98538
|
+
* @return {boolean}
|
|
98539
|
+
*/
|
|
98540
|
+
proto.com.lansweeper.dp.outbound.v1.SNMPInfo.prototype.hasDnsName = function() {
|
|
98541
|
+
return jspb.Message.getField(this, 10) != null;
|
|
98542
|
+
};
|
|
98543
|
+
|
|
98544
|
+
|
|
98545
|
+
/**
|
|
98546
|
+
* optional string cisco_name = 11;
|
|
98547
|
+
* @return {string}
|
|
98548
|
+
*/
|
|
98549
|
+
proto.com.lansweeper.dp.outbound.v1.SNMPInfo.prototype.getCiscoName = function() {
|
|
98550
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
|
|
98551
|
+
};
|
|
98552
|
+
|
|
98553
|
+
|
|
98554
|
+
/**
|
|
98555
|
+
* @param {string} value
|
|
98556
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.SNMPInfo} returns this
|
|
98557
|
+
*/
|
|
98558
|
+
proto.com.lansweeper.dp.outbound.v1.SNMPInfo.prototype.setCiscoName = function(value) {
|
|
98559
|
+
return jspb.Message.setField(this, 11, value);
|
|
98560
|
+
};
|
|
98561
|
+
|
|
98562
|
+
|
|
98563
|
+
/**
|
|
98564
|
+
* Clears the field making it undefined.
|
|
98565
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.SNMPInfo} returns this
|
|
98566
|
+
*/
|
|
98567
|
+
proto.com.lansweeper.dp.outbound.v1.SNMPInfo.prototype.clearCiscoName = function() {
|
|
98568
|
+
return jspb.Message.setField(this, 11, undefined);
|
|
98569
|
+
};
|
|
98570
|
+
|
|
98571
|
+
|
|
98572
|
+
/**
|
|
98573
|
+
* Returns whether this field is set.
|
|
98574
|
+
* @return {boolean}
|
|
98575
|
+
*/
|
|
98576
|
+
proto.com.lansweeper.dp.outbound.v1.SNMPInfo.prototype.hasCiscoName = function() {
|
|
98577
|
+
return jspb.Message.getField(this, 11) != null;
|
|
98578
|
+
};
|
|
98579
|
+
|
|
98580
|
+
|
|
98581
|
+
/**
|
|
98582
|
+
* optional string connected_to_drac = 12;
|
|
98583
|
+
* @return {string}
|
|
98584
|
+
*/
|
|
98585
|
+
proto.com.lansweeper.dp.outbound.v1.SNMPInfo.prototype.getConnectedToDrac = function() {
|
|
98586
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
|
|
98587
|
+
};
|
|
98588
|
+
|
|
98589
|
+
|
|
98590
|
+
/**
|
|
98591
|
+
* @param {string} value
|
|
98592
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.SNMPInfo} returns this
|
|
98593
|
+
*/
|
|
98594
|
+
proto.com.lansweeper.dp.outbound.v1.SNMPInfo.prototype.setConnectedToDrac = function(value) {
|
|
98595
|
+
return jspb.Message.setField(this, 12, value);
|
|
98596
|
+
};
|
|
98597
|
+
|
|
98598
|
+
|
|
98599
|
+
/**
|
|
98600
|
+
* Clears the field making it undefined.
|
|
98601
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.SNMPInfo} returns this
|
|
98602
|
+
*/
|
|
98603
|
+
proto.com.lansweeper.dp.outbound.v1.SNMPInfo.prototype.clearConnectedToDrac = function() {
|
|
98604
|
+
return jspb.Message.setField(this, 12, undefined);
|
|
98605
|
+
};
|
|
98606
|
+
|
|
98607
|
+
|
|
98608
|
+
/**
|
|
98609
|
+
* Returns whether this field is set.
|
|
98610
|
+
* @return {boolean}
|
|
98611
|
+
*/
|
|
98612
|
+
proto.com.lansweeper.dp.outbound.v1.SNMPInfo.prototype.hasConnectedToDrac = function() {
|
|
98613
|
+
return jspb.Message.getField(this, 12) != null;
|
|
98614
|
+
};
|
|
98615
|
+
|
|
98616
|
+
|
|
98617
|
+
/**
|
|
98618
|
+
* optional string mac_address = 13;
|
|
98619
|
+
* @return {string}
|
|
98620
|
+
*/
|
|
98621
|
+
proto.com.lansweeper.dp.outbound.v1.SNMPInfo.prototype.getMacAddress = function() {
|
|
98622
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
|
|
98623
|
+
};
|
|
98624
|
+
|
|
98625
|
+
|
|
98626
|
+
/**
|
|
98627
|
+
* @param {string} value
|
|
98628
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.SNMPInfo} returns this
|
|
98629
|
+
*/
|
|
98630
|
+
proto.com.lansweeper.dp.outbound.v1.SNMPInfo.prototype.setMacAddress = function(value) {
|
|
98631
|
+
return jspb.Message.setField(this, 13, value);
|
|
98632
|
+
};
|
|
98633
|
+
|
|
98634
|
+
|
|
98635
|
+
/**
|
|
98636
|
+
* Clears the field making it undefined.
|
|
98637
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.SNMPInfo} returns this
|
|
98638
|
+
*/
|
|
98639
|
+
proto.com.lansweeper.dp.outbound.v1.SNMPInfo.prototype.clearMacAddress = function() {
|
|
98640
|
+
return jspb.Message.setField(this, 13, undefined);
|
|
98641
|
+
};
|
|
98642
|
+
|
|
98643
|
+
|
|
98644
|
+
/**
|
|
98645
|
+
* Returns whether this field is set.
|
|
98646
|
+
* @return {boolean}
|
|
98647
|
+
*/
|
|
98648
|
+
proto.com.lansweeper.dp.outbound.v1.SNMPInfo.prototype.hasMacAddress = function() {
|
|
98649
|
+
return jspb.Message.getField(this, 13) != null;
|
|
98650
|
+
};
|
|
98651
|
+
|
|
98652
|
+
|
|
98653
|
+
/**
|
|
98654
|
+
* optional SnmpPrinterInfo printer_info = 14;
|
|
98655
|
+
* @return {?proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo}
|
|
98656
|
+
*/
|
|
98657
|
+
proto.com.lansweeper.dp.outbound.v1.SNMPInfo.prototype.getPrinterInfo = function() {
|
|
98658
|
+
return /** @type{?proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo} */ (
|
|
98659
|
+
jspb.Message.getWrapperField(this, proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo, 14));
|
|
98660
|
+
};
|
|
98661
|
+
|
|
98662
|
+
|
|
98663
|
+
/**
|
|
98664
|
+
* @param {?proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo|undefined} value
|
|
98665
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.SNMPInfo} returns this
|
|
98666
|
+
*/
|
|
98667
|
+
proto.com.lansweeper.dp.outbound.v1.SNMPInfo.prototype.setPrinterInfo = function(value) {
|
|
98668
|
+
return jspb.Message.setWrapperField(this, 14, value);
|
|
98669
|
+
};
|
|
98670
|
+
|
|
98671
|
+
|
|
98672
|
+
/**
|
|
98673
|
+
* Clears the message field making it undefined.
|
|
98674
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.SNMPInfo} returns this
|
|
98675
|
+
*/
|
|
98676
|
+
proto.com.lansweeper.dp.outbound.v1.SNMPInfo.prototype.clearPrinterInfo = function() {
|
|
98677
|
+
return this.setPrinterInfo(undefined);
|
|
98678
|
+
};
|
|
98679
|
+
|
|
98680
|
+
|
|
98681
|
+
/**
|
|
98682
|
+
* Returns whether this field is set.
|
|
98683
|
+
* @return {boolean}
|
|
98684
|
+
*/
|
|
98685
|
+
proto.com.lansweeper.dp.outbound.v1.SNMPInfo.prototype.hasPrinterInfo = function() {
|
|
98686
|
+
return jspb.Message.getField(this, 14) != null;
|
|
98687
|
+
};
|
|
98688
|
+
|
|
98689
|
+
|
|
98690
|
+
/**
|
|
98691
|
+
* optional SnmpUpsInfo ups_info = 15;
|
|
98692
|
+
* @return {?proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo}
|
|
98693
|
+
*/
|
|
98694
|
+
proto.com.lansweeper.dp.outbound.v1.SNMPInfo.prototype.getUpsInfo = function() {
|
|
98695
|
+
return /** @type{?proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo} */ (
|
|
98696
|
+
jspb.Message.getWrapperField(this, proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo, 15));
|
|
98697
|
+
};
|
|
98698
|
+
|
|
98699
|
+
|
|
98700
|
+
/**
|
|
98701
|
+
* @param {?proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo|undefined} value
|
|
98702
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.SNMPInfo} returns this
|
|
98703
|
+
*/
|
|
98704
|
+
proto.com.lansweeper.dp.outbound.v1.SNMPInfo.prototype.setUpsInfo = function(value) {
|
|
98705
|
+
return jspb.Message.setWrapperField(this, 15, value);
|
|
98706
|
+
};
|
|
98707
|
+
|
|
98708
|
+
|
|
98709
|
+
/**
|
|
98710
|
+
* Clears the message field making it undefined.
|
|
98711
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.SNMPInfo} returns this
|
|
98712
|
+
*/
|
|
98713
|
+
proto.com.lansweeper.dp.outbound.v1.SNMPInfo.prototype.clearUpsInfo = function() {
|
|
98714
|
+
return this.setUpsInfo(undefined);
|
|
98715
|
+
};
|
|
98716
|
+
|
|
98717
|
+
|
|
98718
|
+
/**
|
|
98719
|
+
* Returns whether this field is set.
|
|
98720
|
+
* @return {boolean}
|
|
98721
|
+
*/
|
|
98722
|
+
proto.com.lansweeper.dp.outbound.v1.SNMPInfo.prototype.hasUpsInfo = function() {
|
|
98723
|
+
return jspb.Message.getField(this, 15) != null;
|
|
98724
|
+
};
|
|
98725
|
+
|
|
98726
|
+
|
|
98727
|
+
|
|
98728
|
+
/**
|
|
98729
|
+
* List of repeated fields within this message type.
|
|
98730
|
+
* @private {!Array<number>}
|
|
98731
|
+
* @const
|
|
98732
|
+
*/
|
|
98733
|
+
proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo.repeatedFields_ = [7];
|
|
98734
|
+
|
|
98735
|
+
|
|
98736
|
+
|
|
98737
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
98738
|
+
/**
|
|
98739
|
+
* Creates an object representation of this proto.
|
|
98740
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
98741
|
+
* Optional fields that are not set will be set to undefined.
|
|
98742
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
98743
|
+
* For the list of reserved names please see:
|
|
98744
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
98745
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
98746
|
+
* JSPB instance for transitional soy proto support:
|
|
98747
|
+
* http://goto/soy-param-migration
|
|
98748
|
+
* @return {!Object}
|
|
98749
|
+
*/
|
|
98750
|
+
proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo.prototype.toObject = function(opt_includeInstance) {
|
|
98751
|
+
return proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo.toObject(opt_includeInstance, this);
|
|
98752
|
+
};
|
|
98753
|
+
|
|
98754
|
+
|
|
98755
|
+
/**
|
|
98756
|
+
* Static version of the {@see toObject} method.
|
|
98757
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
98758
|
+
* the JSPB instance for transitional soy proto support:
|
|
98759
|
+
* http://goto/soy-param-migration
|
|
98760
|
+
* @param {!proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo} msg The msg instance to transform.
|
|
98761
|
+
* @return {!Object}
|
|
98762
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
98763
|
+
*/
|
|
98764
|
+
proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo.toObject = function(includeInstance, msg) {
|
|
98765
|
+
var f, obj = {
|
|
98766
|
+
printerName: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
98767
|
+
printedPages: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
98768
|
+
printedColorPages: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
98769
|
+
printedMonoPages: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
98770
|
+
printerStatus: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
98771
|
+
serialNumber: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
98772
|
+
tonersList: jspb.Message.toObjectList(msg.getTonersList(),
|
|
98773
|
+
proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo.toObject, includeInstance)
|
|
98774
|
+
};
|
|
98775
|
+
|
|
98776
|
+
if (includeInstance) {
|
|
98777
|
+
obj.$jspbMessageInstance = msg;
|
|
98778
|
+
}
|
|
98779
|
+
return obj;
|
|
98780
|
+
};
|
|
98781
|
+
}
|
|
98782
|
+
|
|
98783
|
+
|
|
98784
|
+
/**
|
|
98785
|
+
* Deserializes binary data (in protobuf wire format).
|
|
98786
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
98787
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo}
|
|
98788
|
+
*/
|
|
98789
|
+
proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo.deserializeBinary = function(bytes) {
|
|
98790
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
98791
|
+
var msg = new proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo;
|
|
98792
|
+
return proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo.deserializeBinaryFromReader(msg, reader);
|
|
98793
|
+
};
|
|
98794
|
+
|
|
98795
|
+
|
|
98796
|
+
/**
|
|
98797
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
98798
|
+
* given reader into the given message object.
|
|
98799
|
+
* @param {!proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo} msg The message object to deserialize into.
|
|
98800
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
98801
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo}
|
|
98802
|
+
*/
|
|
98803
|
+
proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo.deserializeBinaryFromReader = function(msg, reader) {
|
|
98804
|
+
while (reader.nextField()) {
|
|
98805
|
+
if (reader.isEndGroup()) {
|
|
98806
|
+
break;
|
|
98807
|
+
}
|
|
98808
|
+
var field = reader.getFieldNumber();
|
|
98809
|
+
switch (field) {
|
|
98810
|
+
case 1:
|
|
98811
|
+
var value = /** @type {string} */ (reader.readString());
|
|
98812
|
+
msg.setPrinterName(value);
|
|
98813
|
+
break;
|
|
98814
|
+
case 2:
|
|
98815
|
+
var value = /** @type {string} */ (reader.readString());
|
|
98816
|
+
msg.setPrintedPages(value);
|
|
98817
|
+
break;
|
|
98818
|
+
case 3:
|
|
98819
|
+
var value = /** @type {string} */ (reader.readString());
|
|
98820
|
+
msg.setPrintedColorPages(value);
|
|
98821
|
+
break;
|
|
98822
|
+
case 4:
|
|
98823
|
+
var value = /** @type {string} */ (reader.readString());
|
|
98824
|
+
msg.setPrintedMonoPages(value);
|
|
98825
|
+
break;
|
|
98826
|
+
case 5:
|
|
98827
|
+
var value = /** @type {string} */ (reader.readString());
|
|
98828
|
+
msg.setPrinterStatus(value);
|
|
98829
|
+
break;
|
|
98830
|
+
case 6:
|
|
98831
|
+
var value = /** @type {string} */ (reader.readString());
|
|
98832
|
+
msg.setSerialNumber(value);
|
|
98833
|
+
break;
|
|
98834
|
+
case 7:
|
|
98835
|
+
var value = new proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo;
|
|
98836
|
+
reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo.deserializeBinaryFromReader);
|
|
98837
|
+
msg.addToners(value);
|
|
98838
|
+
break;
|
|
98839
|
+
default:
|
|
98840
|
+
reader.skipField();
|
|
98841
|
+
break;
|
|
98842
|
+
}
|
|
98843
|
+
}
|
|
98844
|
+
return msg;
|
|
98845
|
+
};
|
|
98846
|
+
|
|
98847
|
+
|
|
98848
|
+
/**
|
|
98849
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
98850
|
+
* @return {!Uint8Array}
|
|
98851
|
+
*/
|
|
98852
|
+
proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo.prototype.serializeBinary = function() {
|
|
98853
|
+
var writer = new jspb.BinaryWriter();
|
|
98854
|
+
proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo.serializeBinaryToWriter(this, writer);
|
|
98855
|
+
return writer.getResultBuffer();
|
|
98856
|
+
};
|
|
98857
|
+
|
|
98858
|
+
|
|
98859
|
+
/**
|
|
98860
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
98861
|
+
* format), writing to the given BinaryWriter.
|
|
98862
|
+
* @param {!proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo} message
|
|
98863
|
+
* @param {!jspb.BinaryWriter} writer
|
|
98864
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
98865
|
+
*/
|
|
98866
|
+
proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo.serializeBinaryToWriter = function(message, writer) {
|
|
98867
|
+
var f = undefined;
|
|
98868
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 1));
|
|
98869
|
+
if (f != null) {
|
|
98870
|
+
writer.writeString(
|
|
98871
|
+
1,
|
|
98872
|
+
f
|
|
98873
|
+
);
|
|
98874
|
+
}
|
|
98875
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 2));
|
|
98876
|
+
if (f != null) {
|
|
98877
|
+
writer.writeString(
|
|
98878
|
+
2,
|
|
98879
|
+
f
|
|
98880
|
+
);
|
|
98881
|
+
}
|
|
98882
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 3));
|
|
98883
|
+
if (f != null) {
|
|
98884
|
+
writer.writeString(
|
|
98885
|
+
3,
|
|
98886
|
+
f
|
|
98887
|
+
);
|
|
98888
|
+
}
|
|
98889
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 4));
|
|
98890
|
+
if (f != null) {
|
|
98891
|
+
writer.writeString(
|
|
98892
|
+
4,
|
|
98893
|
+
f
|
|
98894
|
+
);
|
|
98895
|
+
}
|
|
98896
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 5));
|
|
98897
|
+
if (f != null) {
|
|
98898
|
+
writer.writeString(
|
|
98899
|
+
5,
|
|
98900
|
+
f
|
|
98901
|
+
);
|
|
98902
|
+
}
|
|
98903
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 6));
|
|
98904
|
+
if (f != null) {
|
|
98905
|
+
writer.writeString(
|
|
98906
|
+
6,
|
|
98907
|
+
f
|
|
98908
|
+
);
|
|
98909
|
+
}
|
|
98910
|
+
f = message.getTonersList();
|
|
98911
|
+
if (f.length > 0) {
|
|
98912
|
+
writer.writeRepeatedMessage(
|
|
98913
|
+
7,
|
|
98914
|
+
f,
|
|
98915
|
+
proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo.serializeBinaryToWriter
|
|
98916
|
+
);
|
|
98917
|
+
}
|
|
98918
|
+
};
|
|
98919
|
+
|
|
98920
|
+
|
|
98921
|
+
/**
|
|
98922
|
+
* optional string printer_name = 1;
|
|
98923
|
+
* @return {string}
|
|
98924
|
+
*/
|
|
98925
|
+
proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo.prototype.getPrinterName = function() {
|
|
98926
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
98927
|
+
};
|
|
98928
|
+
|
|
98929
|
+
|
|
98930
|
+
/**
|
|
98931
|
+
* @param {string} value
|
|
98932
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo} returns this
|
|
98933
|
+
*/
|
|
98934
|
+
proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo.prototype.setPrinterName = function(value) {
|
|
98935
|
+
return jspb.Message.setField(this, 1, value);
|
|
98936
|
+
};
|
|
98937
|
+
|
|
98938
|
+
|
|
98939
|
+
/**
|
|
98940
|
+
* Clears the field making it undefined.
|
|
98941
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo} returns this
|
|
98942
|
+
*/
|
|
98943
|
+
proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo.prototype.clearPrinterName = function() {
|
|
98944
|
+
return jspb.Message.setField(this, 1, undefined);
|
|
98945
|
+
};
|
|
98946
|
+
|
|
98947
|
+
|
|
98948
|
+
/**
|
|
98949
|
+
* Returns whether this field is set.
|
|
98950
|
+
* @return {boolean}
|
|
98951
|
+
*/
|
|
98952
|
+
proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo.prototype.hasPrinterName = function() {
|
|
98953
|
+
return jspb.Message.getField(this, 1) != null;
|
|
98954
|
+
};
|
|
98955
|
+
|
|
98956
|
+
|
|
98957
|
+
/**
|
|
98958
|
+
* optional string printed_pages = 2;
|
|
98959
|
+
* @return {string}
|
|
98960
|
+
*/
|
|
98961
|
+
proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo.prototype.getPrintedPages = function() {
|
|
98962
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
98963
|
+
};
|
|
98964
|
+
|
|
98965
|
+
|
|
98966
|
+
/**
|
|
98967
|
+
* @param {string} value
|
|
98968
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo} returns this
|
|
98969
|
+
*/
|
|
98970
|
+
proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo.prototype.setPrintedPages = function(value) {
|
|
98971
|
+
return jspb.Message.setField(this, 2, value);
|
|
98972
|
+
};
|
|
98973
|
+
|
|
98974
|
+
|
|
98975
|
+
/**
|
|
98976
|
+
* Clears the field making it undefined.
|
|
98977
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo} returns this
|
|
98978
|
+
*/
|
|
98979
|
+
proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo.prototype.clearPrintedPages = function() {
|
|
98980
|
+
return jspb.Message.setField(this, 2, undefined);
|
|
98981
|
+
};
|
|
98982
|
+
|
|
98983
|
+
|
|
98984
|
+
/**
|
|
98985
|
+
* Returns whether this field is set.
|
|
98986
|
+
* @return {boolean}
|
|
98987
|
+
*/
|
|
98988
|
+
proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo.prototype.hasPrintedPages = function() {
|
|
98989
|
+
return jspb.Message.getField(this, 2) != null;
|
|
98990
|
+
};
|
|
98991
|
+
|
|
98992
|
+
|
|
98993
|
+
/**
|
|
98994
|
+
* optional string printed_color_pages = 3;
|
|
98995
|
+
* @return {string}
|
|
98996
|
+
*/
|
|
98997
|
+
proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo.prototype.getPrintedColorPages = function() {
|
|
98998
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
98999
|
+
};
|
|
99000
|
+
|
|
99001
|
+
|
|
99002
|
+
/**
|
|
99003
|
+
* @param {string} value
|
|
99004
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo} returns this
|
|
99005
|
+
*/
|
|
99006
|
+
proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo.prototype.setPrintedColorPages = function(value) {
|
|
99007
|
+
return jspb.Message.setField(this, 3, value);
|
|
99008
|
+
};
|
|
99009
|
+
|
|
99010
|
+
|
|
99011
|
+
/**
|
|
99012
|
+
* Clears the field making it undefined.
|
|
99013
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo} returns this
|
|
99014
|
+
*/
|
|
99015
|
+
proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo.prototype.clearPrintedColorPages = function() {
|
|
99016
|
+
return jspb.Message.setField(this, 3, undefined);
|
|
99017
|
+
};
|
|
99018
|
+
|
|
99019
|
+
|
|
99020
|
+
/**
|
|
99021
|
+
* Returns whether this field is set.
|
|
99022
|
+
* @return {boolean}
|
|
99023
|
+
*/
|
|
99024
|
+
proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo.prototype.hasPrintedColorPages = function() {
|
|
99025
|
+
return jspb.Message.getField(this, 3) != null;
|
|
99026
|
+
};
|
|
99027
|
+
|
|
99028
|
+
|
|
99029
|
+
/**
|
|
99030
|
+
* optional string printed_mono_pages = 4;
|
|
99031
|
+
* @return {string}
|
|
99032
|
+
*/
|
|
99033
|
+
proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo.prototype.getPrintedMonoPages = function() {
|
|
99034
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
99035
|
+
};
|
|
99036
|
+
|
|
99037
|
+
|
|
99038
|
+
/**
|
|
99039
|
+
* @param {string} value
|
|
99040
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo} returns this
|
|
99041
|
+
*/
|
|
99042
|
+
proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo.prototype.setPrintedMonoPages = function(value) {
|
|
99043
|
+
return jspb.Message.setField(this, 4, value);
|
|
99044
|
+
};
|
|
99045
|
+
|
|
99046
|
+
|
|
99047
|
+
/**
|
|
99048
|
+
* Clears the field making it undefined.
|
|
99049
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo} returns this
|
|
99050
|
+
*/
|
|
99051
|
+
proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo.prototype.clearPrintedMonoPages = function() {
|
|
99052
|
+
return jspb.Message.setField(this, 4, undefined);
|
|
99053
|
+
};
|
|
99054
|
+
|
|
99055
|
+
|
|
99056
|
+
/**
|
|
99057
|
+
* Returns whether this field is set.
|
|
99058
|
+
* @return {boolean}
|
|
99059
|
+
*/
|
|
99060
|
+
proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo.prototype.hasPrintedMonoPages = function() {
|
|
99061
|
+
return jspb.Message.getField(this, 4) != null;
|
|
99062
|
+
};
|
|
99063
|
+
|
|
99064
|
+
|
|
99065
|
+
/**
|
|
99066
|
+
* optional string printer_status = 5;
|
|
99067
|
+
* @return {string}
|
|
99068
|
+
*/
|
|
99069
|
+
proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo.prototype.getPrinterStatus = function() {
|
|
99070
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
99071
|
+
};
|
|
99072
|
+
|
|
99073
|
+
|
|
99074
|
+
/**
|
|
99075
|
+
* @param {string} value
|
|
99076
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo} returns this
|
|
99077
|
+
*/
|
|
99078
|
+
proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo.prototype.setPrinterStatus = function(value) {
|
|
99079
|
+
return jspb.Message.setField(this, 5, value);
|
|
99080
|
+
};
|
|
99081
|
+
|
|
99082
|
+
|
|
99083
|
+
/**
|
|
99084
|
+
* Clears the field making it undefined.
|
|
99085
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo} returns this
|
|
99086
|
+
*/
|
|
99087
|
+
proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo.prototype.clearPrinterStatus = function() {
|
|
99088
|
+
return jspb.Message.setField(this, 5, undefined);
|
|
99089
|
+
};
|
|
99090
|
+
|
|
99091
|
+
|
|
99092
|
+
/**
|
|
99093
|
+
* Returns whether this field is set.
|
|
99094
|
+
* @return {boolean}
|
|
99095
|
+
*/
|
|
99096
|
+
proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo.prototype.hasPrinterStatus = function() {
|
|
99097
|
+
return jspb.Message.getField(this, 5) != null;
|
|
99098
|
+
};
|
|
99099
|
+
|
|
99100
|
+
|
|
99101
|
+
/**
|
|
99102
|
+
* optional string serial_number = 6;
|
|
99103
|
+
* @return {string}
|
|
99104
|
+
*/
|
|
99105
|
+
proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo.prototype.getSerialNumber = function() {
|
|
99106
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
99107
|
+
};
|
|
99108
|
+
|
|
99109
|
+
|
|
99110
|
+
/**
|
|
99111
|
+
* @param {string} value
|
|
99112
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo} returns this
|
|
99113
|
+
*/
|
|
99114
|
+
proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo.prototype.setSerialNumber = function(value) {
|
|
99115
|
+
return jspb.Message.setField(this, 6, value);
|
|
99116
|
+
};
|
|
99117
|
+
|
|
99118
|
+
|
|
99119
|
+
/**
|
|
99120
|
+
* Clears the field making it undefined.
|
|
99121
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo} returns this
|
|
99122
|
+
*/
|
|
99123
|
+
proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo.prototype.clearSerialNumber = function() {
|
|
99124
|
+
return jspb.Message.setField(this, 6, undefined);
|
|
99125
|
+
};
|
|
99126
|
+
|
|
99127
|
+
|
|
99128
|
+
/**
|
|
99129
|
+
* Returns whether this field is set.
|
|
99130
|
+
* @return {boolean}
|
|
99131
|
+
*/
|
|
99132
|
+
proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo.prototype.hasSerialNumber = function() {
|
|
99133
|
+
return jspb.Message.getField(this, 6) != null;
|
|
99134
|
+
};
|
|
99135
|
+
|
|
99136
|
+
|
|
99137
|
+
/**
|
|
99138
|
+
* repeated SnmpPrinterTonerInfo toners = 7;
|
|
99139
|
+
* @return {!Array<!proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo>}
|
|
99140
|
+
*/
|
|
99141
|
+
proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo.prototype.getTonersList = function() {
|
|
99142
|
+
return /** @type{!Array<!proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo>} */ (
|
|
99143
|
+
jspb.Message.getRepeatedWrapperField(this, proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo, 7));
|
|
99144
|
+
};
|
|
99145
|
+
|
|
99146
|
+
|
|
99147
|
+
/**
|
|
99148
|
+
* @param {!Array<!proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo>} value
|
|
99149
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo} returns this
|
|
99150
|
+
*/
|
|
99151
|
+
proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo.prototype.setTonersList = function(value) {
|
|
99152
|
+
return jspb.Message.setRepeatedWrapperField(this, 7, value);
|
|
99153
|
+
};
|
|
99154
|
+
|
|
99155
|
+
|
|
99156
|
+
/**
|
|
99157
|
+
* @param {!proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo=} opt_value
|
|
99158
|
+
* @param {number=} opt_index
|
|
99159
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo}
|
|
99160
|
+
*/
|
|
99161
|
+
proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo.prototype.addToners = function(opt_value, opt_index) {
|
|
99162
|
+
return jspb.Message.addToRepeatedWrapperField(this, 7, opt_value, proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo, opt_index);
|
|
99163
|
+
};
|
|
99164
|
+
|
|
99165
|
+
|
|
99166
|
+
/**
|
|
99167
|
+
* Clears the list making it empty but non-null.
|
|
99168
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo} returns this
|
|
99169
|
+
*/
|
|
99170
|
+
proto.com.lansweeper.dp.outbound.v1.SnmpPrinterInfo.prototype.clearTonersList = function() {
|
|
99171
|
+
return this.setTonersList([]);
|
|
99172
|
+
};
|
|
99173
|
+
|
|
99174
|
+
|
|
99175
|
+
|
|
99176
|
+
|
|
99177
|
+
|
|
99178
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
99179
|
+
/**
|
|
99180
|
+
* Creates an object representation of this proto.
|
|
99181
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
99182
|
+
* Optional fields that are not set will be set to undefined.
|
|
99183
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
99184
|
+
* For the list of reserved names please see:
|
|
99185
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
99186
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
99187
|
+
* JSPB instance for transitional soy proto support:
|
|
99188
|
+
* http://goto/soy-param-migration
|
|
99189
|
+
* @return {!Object}
|
|
99190
|
+
*/
|
|
99191
|
+
proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo.prototype.toObject = function(opt_includeInstance) {
|
|
99192
|
+
return proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo.toObject(opt_includeInstance, this);
|
|
99193
|
+
};
|
|
99194
|
+
|
|
99195
|
+
|
|
99196
|
+
/**
|
|
99197
|
+
* Static version of the {@see toObject} method.
|
|
99198
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
99199
|
+
* the JSPB instance for transitional soy proto support:
|
|
99200
|
+
* http://goto/soy-param-migration
|
|
99201
|
+
* @param {!proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo} msg The msg instance to transform.
|
|
99202
|
+
* @return {!Object}
|
|
99203
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
99204
|
+
*/
|
|
99205
|
+
proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo.toObject = function(includeInstance, msg) {
|
|
99206
|
+
var f, obj = {
|
|
99207
|
+
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
99208
|
+
color: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
99209
|
+
colorNumber: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
99210
|
+
maximumTonerLevel: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
99211
|
+
number: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
99212
|
+
remainingTonerLevel: jspb.Message.getFieldWithDefault(msg, 6, 0)
|
|
99213
|
+
};
|
|
99214
|
+
|
|
99215
|
+
if (includeInstance) {
|
|
99216
|
+
obj.$jspbMessageInstance = msg;
|
|
99217
|
+
}
|
|
99218
|
+
return obj;
|
|
99219
|
+
};
|
|
99220
|
+
}
|
|
99221
|
+
|
|
99222
|
+
|
|
99223
|
+
/**
|
|
99224
|
+
* Deserializes binary data (in protobuf wire format).
|
|
99225
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
99226
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo}
|
|
99227
|
+
*/
|
|
99228
|
+
proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo.deserializeBinary = function(bytes) {
|
|
99229
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
99230
|
+
var msg = new proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo;
|
|
99231
|
+
return proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo.deserializeBinaryFromReader(msg, reader);
|
|
99232
|
+
};
|
|
99233
|
+
|
|
99234
|
+
|
|
99235
|
+
/**
|
|
99236
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
99237
|
+
* given reader into the given message object.
|
|
99238
|
+
* @param {!proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo} msg The message object to deserialize into.
|
|
99239
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
99240
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo}
|
|
99241
|
+
*/
|
|
99242
|
+
proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo.deserializeBinaryFromReader = function(msg, reader) {
|
|
99243
|
+
while (reader.nextField()) {
|
|
99244
|
+
if (reader.isEndGroup()) {
|
|
99245
|
+
break;
|
|
99246
|
+
}
|
|
99247
|
+
var field = reader.getFieldNumber();
|
|
99248
|
+
switch (field) {
|
|
99249
|
+
case 1:
|
|
99250
|
+
var value = /** @type {string} */ (reader.readString());
|
|
99251
|
+
msg.setName(value);
|
|
99252
|
+
break;
|
|
99253
|
+
case 2:
|
|
99254
|
+
var value = /** @type {string} */ (reader.readString());
|
|
99255
|
+
msg.setColor(value);
|
|
99256
|
+
break;
|
|
99257
|
+
case 3:
|
|
99258
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
99259
|
+
msg.setColorNumber(value);
|
|
99260
|
+
break;
|
|
99261
|
+
case 4:
|
|
99262
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
99263
|
+
msg.setMaximumTonerLevel(value);
|
|
99264
|
+
break;
|
|
99265
|
+
case 5:
|
|
99266
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
99267
|
+
msg.setNumber(value);
|
|
99268
|
+
break;
|
|
99269
|
+
case 6:
|
|
99270
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
99271
|
+
msg.setRemainingTonerLevel(value);
|
|
99272
|
+
break;
|
|
99273
|
+
default:
|
|
99274
|
+
reader.skipField();
|
|
99275
|
+
break;
|
|
99276
|
+
}
|
|
99277
|
+
}
|
|
99278
|
+
return msg;
|
|
99279
|
+
};
|
|
99280
|
+
|
|
99281
|
+
|
|
99282
|
+
/**
|
|
99283
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
99284
|
+
* @return {!Uint8Array}
|
|
99285
|
+
*/
|
|
99286
|
+
proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo.prototype.serializeBinary = function() {
|
|
99287
|
+
var writer = new jspb.BinaryWriter();
|
|
99288
|
+
proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo.serializeBinaryToWriter(this, writer);
|
|
99289
|
+
return writer.getResultBuffer();
|
|
99290
|
+
};
|
|
99291
|
+
|
|
99292
|
+
|
|
99293
|
+
/**
|
|
99294
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
99295
|
+
* format), writing to the given BinaryWriter.
|
|
99296
|
+
* @param {!proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo} message
|
|
99297
|
+
* @param {!jspb.BinaryWriter} writer
|
|
99298
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
99299
|
+
*/
|
|
99300
|
+
proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo.serializeBinaryToWriter = function(message, writer) {
|
|
99301
|
+
var f = undefined;
|
|
99302
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 1));
|
|
99303
|
+
if (f != null) {
|
|
99304
|
+
writer.writeString(
|
|
99305
|
+
1,
|
|
99306
|
+
f
|
|
99307
|
+
);
|
|
99308
|
+
}
|
|
99309
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 2));
|
|
99310
|
+
if (f != null) {
|
|
99311
|
+
writer.writeString(
|
|
99312
|
+
2,
|
|
99313
|
+
f
|
|
99314
|
+
);
|
|
99315
|
+
}
|
|
99316
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 3));
|
|
99317
|
+
if (f != null) {
|
|
99318
|
+
writer.writeInt32(
|
|
99319
|
+
3,
|
|
99320
|
+
f
|
|
99321
|
+
);
|
|
99322
|
+
}
|
|
99323
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 4));
|
|
99324
|
+
if (f != null) {
|
|
99325
|
+
writer.writeInt32(
|
|
99326
|
+
4,
|
|
99327
|
+
f
|
|
99328
|
+
);
|
|
99329
|
+
}
|
|
99330
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 5));
|
|
99331
|
+
if (f != null) {
|
|
99332
|
+
writer.writeInt32(
|
|
99333
|
+
5,
|
|
99334
|
+
f
|
|
99335
|
+
);
|
|
99336
|
+
}
|
|
99337
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 6));
|
|
99338
|
+
if (f != null) {
|
|
99339
|
+
writer.writeInt32(
|
|
99340
|
+
6,
|
|
99341
|
+
f
|
|
99342
|
+
);
|
|
99343
|
+
}
|
|
99344
|
+
};
|
|
99345
|
+
|
|
99346
|
+
|
|
99347
|
+
/**
|
|
99348
|
+
* optional string name = 1;
|
|
99349
|
+
* @return {string}
|
|
99350
|
+
*/
|
|
99351
|
+
proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo.prototype.getName = function() {
|
|
99352
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
99353
|
+
};
|
|
99354
|
+
|
|
99355
|
+
|
|
99356
|
+
/**
|
|
99357
|
+
* @param {string} value
|
|
99358
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo} returns this
|
|
99359
|
+
*/
|
|
99360
|
+
proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo.prototype.setName = function(value) {
|
|
99361
|
+
return jspb.Message.setField(this, 1, value);
|
|
99362
|
+
};
|
|
99363
|
+
|
|
99364
|
+
|
|
99365
|
+
/**
|
|
99366
|
+
* Clears the field making it undefined.
|
|
99367
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo} returns this
|
|
99368
|
+
*/
|
|
99369
|
+
proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo.prototype.clearName = function() {
|
|
99370
|
+
return jspb.Message.setField(this, 1, undefined);
|
|
99371
|
+
};
|
|
99372
|
+
|
|
99373
|
+
|
|
99374
|
+
/**
|
|
99375
|
+
* Returns whether this field is set.
|
|
99376
|
+
* @return {boolean}
|
|
99377
|
+
*/
|
|
99378
|
+
proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo.prototype.hasName = function() {
|
|
99379
|
+
return jspb.Message.getField(this, 1) != null;
|
|
99380
|
+
};
|
|
99381
|
+
|
|
99382
|
+
|
|
99383
|
+
/**
|
|
99384
|
+
* optional string color = 2;
|
|
99385
|
+
* @return {string}
|
|
99386
|
+
*/
|
|
99387
|
+
proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo.prototype.getColor = function() {
|
|
99388
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
99389
|
+
};
|
|
99390
|
+
|
|
99391
|
+
|
|
99392
|
+
/**
|
|
99393
|
+
* @param {string} value
|
|
99394
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo} returns this
|
|
99395
|
+
*/
|
|
99396
|
+
proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo.prototype.setColor = function(value) {
|
|
99397
|
+
return jspb.Message.setField(this, 2, value);
|
|
99398
|
+
};
|
|
99399
|
+
|
|
99400
|
+
|
|
99401
|
+
/**
|
|
99402
|
+
* Clears the field making it undefined.
|
|
99403
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo} returns this
|
|
99404
|
+
*/
|
|
99405
|
+
proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo.prototype.clearColor = function() {
|
|
99406
|
+
return jspb.Message.setField(this, 2, undefined);
|
|
99407
|
+
};
|
|
99408
|
+
|
|
99409
|
+
|
|
99410
|
+
/**
|
|
99411
|
+
* Returns whether this field is set.
|
|
99412
|
+
* @return {boolean}
|
|
99413
|
+
*/
|
|
99414
|
+
proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo.prototype.hasColor = function() {
|
|
99415
|
+
return jspb.Message.getField(this, 2) != null;
|
|
99416
|
+
};
|
|
99417
|
+
|
|
99418
|
+
|
|
99419
|
+
/**
|
|
99420
|
+
* optional int32 color_number = 3;
|
|
99421
|
+
* @return {number}
|
|
99422
|
+
*/
|
|
99423
|
+
proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo.prototype.getColorNumber = function() {
|
|
99424
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
99425
|
+
};
|
|
99426
|
+
|
|
99427
|
+
|
|
99428
|
+
/**
|
|
99429
|
+
* @param {number} value
|
|
99430
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo} returns this
|
|
99431
|
+
*/
|
|
99432
|
+
proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo.prototype.setColorNumber = function(value) {
|
|
99433
|
+
return jspb.Message.setField(this, 3, value);
|
|
99434
|
+
};
|
|
99435
|
+
|
|
99436
|
+
|
|
99437
|
+
/**
|
|
99438
|
+
* Clears the field making it undefined.
|
|
99439
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo} returns this
|
|
99440
|
+
*/
|
|
99441
|
+
proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo.prototype.clearColorNumber = function() {
|
|
99442
|
+
return jspb.Message.setField(this, 3, undefined);
|
|
99443
|
+
};
|
|
99444
|
+
|
|
99445
|
+
|
|
99446
|
+
/**
|
|
99447
|
+
* Returns whether this field is set.
|
|
99448
|
+
* @return {boolean}
|
|
99449
|
+
*/
|
|
99450
|
+
proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo.prototype.hasColorNumber = function() {
|
|
99451
|
+
return jspb.Message.getField(this, 3) != null;
|
|
99452
|
+
};
|
|
99453
|
+
|
|
99454
|
+
|
|
99455
|
+
/**
|
|
99456
|
+
* optional int32 maximum_toner_level = 4;
|
|
99457
|
+
* @return {number}
|
|
99458
|
+
*/
|
|
99459
|
+
proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo.prototype.getMaximumTonerLevel = function() {
|
|
99460
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
99461
|
+
};
|
|
99462
|
+
|
|
99463
|
+
|
|
99464
|
+
/**
|
|
99465
|
+
* @param {number} value
|
|
99466
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo} returns this
|
|
99467
|
+
*/
|
|
99468
|
+
proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo.prototype.setMaximumTonerLevel = function(value) {
|
|
99469
|
+
return jspb.Message.setField(this, 4, value);
|
|
99470
|
+
};
|
|
99471
|
+
|
|
99472
|
+
|
|
99473
|
+
/**
|
|
99474
|
+
* Clears the field making it undefined.
|
|
99475
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo} returns this
|
|
99476
|
+
*/
|
|
99477
|
+
proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo.prototype.clearMaximumTonerLevel = function() {
|
|
99478
|
+
return jspb.Message.setField(this, 4, undefined);
|
|
99479
|
+
};
|
|
99480
|
+
|
|
99481
|
+
|
|
99482
|
+
/**
|
|
99483
|
+
* Returns whether this field is set.
|
|
99484
|
+
* @return {boolean}
|
|
99485
|
+
*/
|
|
99486
|
+
proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo.prototype.hasMaximumTonerLevel = function() {
|
|
99487
|
+
return jspb.Message.getField(this, 4) != null;
|
|
99488
|
+
};
|
|
99489
|
+
|
|
99490
|
+
|
|
99491
|
+
/**
|
|
99492
|
+
* optional int32 number = 5;
|
|
99493
|
+
* @return {number}
|
|
99494
|
+
*/
|
|
99495
|
+
proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo.prototype.getNumber = function() {
|
|
99496
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
|
99497
|
+
};
|
|
99498
|
+
|
|
99499
|
+
|
|
99500
|
+
/**
|
|
99501
|
+
* @param {number} value
|
|
99502
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo} returns this
|
|
99503
|
+
*/
|
|
99504
|
+
proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo.prototype.setNumber = function(value) {
|
|
99505
|
+
return jspb.Message.setField(this, 5, value);
|
|
99506
|
+
};
|
|
99507
|
+
|
|
99508
|
+
|
|
99509
|
+
/**
|
|
99510
|
+
* Clears the field making it undefined.
|
|
99511
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo} returns this
|
|
99512
|
+
*/
|
|
99513
|
+
proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo.prototype.clearNumber = function() {
|
|
99514
|
+
return jspb.Message.setField(this, 5, undefined);
|
|
99515
|
+
};
|
|
99516
|
+
|
|
99517
|
+
|
|
99518
|
+
/**
|
|
99519
|
+
* Returns whether this field is set.
|
|
99520
|
+
* @return {boolean}
|
|
99521
|
+
*/
|
|
99522
|
+
proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo.prototype.hasNumber = function() {
|
|
99523
|
+
return jspb.Message.getField(this, 5) != null;
|
|
99524
|
+
};
|
|
99525
|
+
|
|
99526
|
+
|
|
99527
|
+
/**
|
|
99528
|
+
* optional int32 remaining_toner_level = 6;
|
|
99529
|
+
* @return {number}
|
|
99530
|
+
*/
|
|
99531
|
+
proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo.prototype.getRemainingTonerLevel = function() {
|
|
99532
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
|
|
99533
|
+
};
|
|
99534
|
+
|
|
99535
|
+
|
|
99536
|
+
/**
|
|
99537
|
+
* @param {number} value
|
|
99538
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo} returns this
|
|
99539
|
+
*/
|
|
99540
|
+
proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo.prototype.setRemainingTonerLevel = function(value) {
|
|
99541
|
+
return jspb.Message.setField(this, 6, value);
|
|
99542
|
+
};
|
|
99543
|
+
|
|
99544
|
+
|
|
99545
|
+
/**
|
|
99546
|
+
* Clears the field making it undefined.
|
|
99547
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo} returns this
|
|
99548
|
+
*/
|
|
99549
|
+
proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo.prototype.clearRemainingTonerLevel = function() {
|
|
99550
|
+
return jspb.Message.setField(this, 6, undefined);
|
|
99551
|
+
};
|
|
99552
|
+
|
|
99553
|
+
|
|
99554
|
+
/**
|
|
99555
|
+
* Returns whether this field is set.
|
|
99556
|
+
* @return {boolean}
|
|
99557
|
+
*/
|
|
99558
|
+
proto.com.lansweeper.dp.outbound.v1.SnmpPrinterTonerInfo.prototype.hasRemainingTonerLevel = function() {
|
|
99559
|
+
return jspb.Message.getField(this, 6) != null;
|
|
99560
|
+
};
|
|
99561
|
+
|
|
99562
|
+
|
|
99563
|
+
|
|
99564
|
+
|
|
99565
|
+
|
|
99566
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
99567
|
+
/**
|
|
99568
|
+
* Creates an object representation of this proto.
|
|
99569
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
99570
|
+
* Optional fields that are not set will be set to undefined.
|
|
99571
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
99572
|
+
* For the list of reserved names please see:
|
|
99573
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
99574
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
99575
|
+
* JSPB instance for transitional soy proto support:
|
|
99576
|
+
* http://goto/soy-param-migration
|
|
99577
|
+
* @return {!Object}
|
|
99578
|
+
*/
|
|
99579
|
+
proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.toObject = function(opt_includeInstance) {
|
|
99580
|
+
return proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.toObject(opt_includeInstance, this);
|
|
99581
|
+
};
|
|
99582
|
+
|
|
99583
|
+
|
|
99584
|
+
/**
|
|
99585
|
+
* Static version of the {@see toObject} method.
|
|
99586
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
99587
|
+
* the JSPB instance for transitional soy proto support:
|
|
99588
|
+
* http://goto/soy-param-migration
|
|
99589
|
+
* @param {!proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo} msg The msg instance to transform.
|
|
99590
|
+
* @return {!Object}
|
|
99591
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
99592
|
+
*/
|
|
99593
|
+
proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.toObject = function(includeInstance, msg) {
|
|
99594
|
+
var f, obj = {
|
|
99595
|
+
manufacturer: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
99596
|
+
model: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
99597
|
+
upsSoftwareVersion: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
99598
|
+
agentSoftwareVersion: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
99599
|
+
name: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
99600
|
+
attachedDevices: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
99601
|
+
batteryStatus: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
99602
|
+
secondsOnBattery: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
99603
|
+
estimatedMinutesRemaining: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
99604
|
+
estimatedChargeRemaining: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
99605
|
+
batteryVoltage: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
99606
|
+
batteryCurrent: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
99607
|
+
batteryTemperature: jspb.Message.getFieldWithDefault(msg, 13, ""),
|
|
99608
|
+
alarmsPresent: jspb.Message.getFieldWithDefault(msg, 14, "")
|
|
99609
|
+
};
|
|
99610
|
+
|
|
99611
|
+
if (includeInstance) {
|
|
99612
|
+
obj.$jspbMessageInstance = msg;
|
|
99613
|
+
}
|
|
99614
|
+
return obj;
|
|
99615
|
+
};
|
|
99616
|
+
}
|
|
99617
|
+
|
|
99618
|
+
|
|
99619
|
+
/**
|
|
99620
|
+
* Deserializes binary data (in protobuf wire format).
|
|
99621
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
99622
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo}
|
|
99623
|
+
*/
|
|
99624
|
+
proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.deserializeBinary = function(bytes) {
|
|
99625
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
99626
|
+
var msg = new proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo;
|
|
99627
|
+
return proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.deserializeBinaryFromReader(msg, reader);
|
|
99628
|
+
};
|
|
99629
|
+
|
|
99630
|
+
|
|
99631
|
+
/**
|
|
99632
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
99633
|
+
* given reader into the given message object.
|
|
99634
|
+
* @param {!proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo} msg The message object to deserialize into.
|
|
99635
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
99636
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo}
|
|
99637
|
+
*/
|
|
99638
|
+
proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.deserializeBinaryFromReader = function(msg, reader) {
|
|
99639
|
+
while (reader.nextField()) {
|
|
99640
|
+
if (reader.isEndGroup()) {
|
|
99641
|
+
break;
|
|
99642
|
+
}
|
|
99643
|
+
var field = reader.getFieldNumber();
|
|
99644
|
+
switch (field) {
|
|
99645
|
+
case 1:
|
|
99646
|
+
var value = /** @type {string} */ (reader.readString());
|
|
99647
|
+
msg.setManufacturer(value);
|
|
99648
|
+
break;
|
|
99649
|
+
case 2:
|
|
99650
|
+
var value = /** @type {string} */ (reader.readString());
|
|
99651
|
+
msg.setModel(value);
|
|
99652
|
+
break;
|
|
99653
|
+
case 3:
|
|
99654
|
+
var value = /** @type {string} */ (reader.readString());
|
|
99655
|
+
msg.setUpsSoftwareVersion(value);
|
|
99656
|
+
break;
|
|
99657
|
+
case 4:
|
|
99658
|
+
var value = /** @type {string} */ (reader.readString());
|
|
99659
|
+
msg.setAgentSoftwareVersion(value);
|
|
99660
|
+
break;
|
|
99661
|
+
case 5:
|
|
99662
|
+
var value = /** @type {string} */ (reader.readString());
|
|
99663
|
+
msg.setName(value);
|
|
99664
|
+
break;
|
|
99665
|
+
case 6:
|
|
99666
|
+
var value = /** @type {string} */ (reader.readString());
|
|
99667
|
+
msg.setAttachedDevices(value);
|
|
99668
|
+
break;
|
|
99669
|
+
case 7:
|
|
99670
|
+
var value = /** @type {string} */ (reader.readString());
|
|
99671
|
+
msg.setBatteryStatus(value);
|
|
99672
|
+
break;
|
|
99673
|
+
case 8:
|
|
99674
|
+
var value = /** @type {string} */ (reader.readString());
|
|
99675
|
+
msg.setSecondsOnBattery(value);
|
|
99676
|
+
break;
|
|
99677
|
+
case 9:
|
|
99678
|
+
var value = /** @type {string} */ (reader.readString());
|
|
99679
|
+
msg.setEstimatedMinutesRemaining(value);
|
|
99680
|
+
break;
|
|
99681
|
+
case 10:
|
|
99682
|
+
var value = /** @type {string} */ (reader.readString());
|
|
99683
|
+
msg.setEstimatedChargeRemaining(value);
|
|
99684
|
+
break;
|
|
99685
|
+
case 11:
|
|
99686
|
+
var value = /** @type {string} */ (reader.readString());
|
|
99687
|
+
msg.setBatteryVoltage(value);
|
|
99688
|
+
break;
|
|
99689
|
+
case 12:
|
|
99690
|
+
var value = /** @type {string} */ (reader.readString());
|
|
99691
|
+
msg.setBatteryCurrent(value);
|
|
99692
|
+
break;
|
|
99693
|
+
case 13:
|
|
99694
|
+
var value = /** @type {string} */ (reader.readString());
|
|
99695
|
+
msg.setBatteryTemperature(value);
|
|
99696
|
+
break;
|
|
99697
|
+
case 14:
|
|
99698
|
+
var value = /** @type {string} */ (reader.readString());
|
|
99699
|
+
msg.setAlarmsPresent(value);
|
|
99700
|
+
break;
|
|
99701
|
+
default:
|
|
99702
|
+
reader.skipField();
|
|
99703
|
+
break;
|
|
99704
|
+
}
|
|
99705
|
+
}
|
|
99706
|
+
return msg;
|
|
99707
|
+
};
|
|
99708
|
+
|
|
99709
|
+
|
|
99710
|
+
/**
|
|
99711
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
99712
|
+
* @return {!Uint8Array}
|
|
99713
|
+
*/
|
|
99714
|
+
proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.serializeBinary = function() {
|
|
99715
|
+
var writer = new jspb.BinaryWriter();
|
|
99716
|
+
proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.serializeBinaryToWriter(this, writer);
|
|
99717
|
+
return writer.getResultBuffer();
|
|
99718
|
+
};
|
|
99719
|
+
|
|
99720
|
+
|
|
99721
|
+
/**
|
|
99722
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
99723
|
+
* format), writing to the given BinaryWriter.
|
|
99724
|
+
* @param {!proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo} message
|
|
99725
|
+
* @param {!jspb.BinaryWriter} writer
|
|
99726
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
99727
|
+
*/
|
|
99728
|
+
proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.serializeBinaryToWriter = function(message, writer) {
|
|
99729
|
+
var f = undefined;
|
|
99730
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 1));
|
|
99731
|
+
if (f != null) {
|
|
99732
|
+
writer.writeString(
|
|
99733
|
+
1,
|
|
99734
|
+
f
|
|
99735
|
+
);
|
|
99736
|
+
}
|
|
99737
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 2));
|
|
99738
|
+
if (f != null) {
|
|
99739
|
+
writer.writeString(
|
|
99740
|
+
2,
|
|
99741
|
+
f
|
|
99742
|
+
);
|
|
99743
|
+
}
|
|
99744
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 3));
|
|
99745
|
+
if (f != null) {
|
|
99746
|
+
writer.writeString(
|
|
99747
|
+
3,
|
|
99748
|
+
f
|
|
99749
|
+
);
|
|
99750
|
+
}
|
|
99751
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 4));
|
|
99752
|
+
if (f != null) {
|
|
99753
|
+
writer.writeString(
|
|
99754
|
+
4,
|
|
99755
|
+
f
|
|
99756
|
+
);
|
|
99757
|
+
}
|
|
99758
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 5));
|
|
99759
|
+
if (f != null) {
|
|
99760
|
+
writer.writeString(
|
|
99761
|
+
5,
|
|
99762
|
+
f
|
|
99763
|
+
);
|
|
99764
|
+
}
|
|
99765
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 6));
|
|
99766
|
+
if (f != null) {
|
|
99767
|
+
writer.writeString(
|
|
99768
|
+
6,
|
|
99769
|
+
f
|
|
99770
|
+
);
|
|
99771
|
+
}
|
|
99772
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 7));
|
|
99773
|
+
if (f != null) {
|
|
99774
|
+
writer.writeString(
|
|
99775
|
+
7,
|
|
99776
|
+
f
|
|
99777
|
+
);
|
|
99778
|
+
}
|
|
99779
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 8));
|
|
99780
|
+
if (f != null) {
|
|
99781
|
+
writer.writeString(
|
|
99782
|
+
8,
|
|
99783
|
+
f
|
|
99784
|
+
);
|
|
99785
|
+
}
|
|
99786
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 9));
|
|
99787
|
+
if (f != null) {
|
|
99788
|
+
writer.writeString(
|
|
99789
|
+
9,
|
|
99790
|
+
f
|
|
99791
|
+
);
|
|
99792
|
+
}
|
|
99793
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 10));
|
|
99794
|
+
if (f != null) {
|
|
99795
|
+
writer.writeString(
|
|
99796
|
+
10,
|
|
99797
|
+
f
|
|
99798
|
+
);
|
|
99799
|
+
}
|
|
99800
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 11));
|
|
99801
|
+
if (f != null) {
|
|
99802
|
+
writer.writeString(
|
|
99803
|
+
11,
|
|
99804
|
+
f
|
|
99805
|
+
);
|
|
99806
|
+
}
|
|
99807
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 12));
|
|
99808
|
+
if (f != null) {
|
|
99809
|
+
writer.writeString(
|
|
99810
|
+
12,
|
|
99811
|
+
f
|
|
99812
|
+
);
|
|
99813
|
+
}
|
|
99814
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 13));
|
|
99815
|
+
if (f != null) {
|
|
99816
|
+
writer.writeString(
|
|
99817
|
+
13,
|
|
99818
|
+
f
|
|
99819
|
+
);
|
|
99820
|
+
}
|
|
99821
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 14));
|
|
99822
|
+
if (f != null) {
|
|
99823
|
+
writer.writeString(
|
|
99824
|
+
14,
|
|
99825
|
+
f
|
|
99826
|
+
);
|
|
99827
|
+
}
|
|
99828
|
+
};
|
|
99829
|
+
|
|
99830
|
+
|
|
99831
|
+
/**
|
|
99832
|
+
* optional string manufacturer = 1;
|
|
99833
|
+
* @return {string}
|
|
99834
|
+
*/
|
|
99835
|
+
proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.getManufacturer = function() {
|
|
99836
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
99837
|
+
};
|
|
99838
|
+
|
|
99839
|
+
|
|
99840
|
+
/**
|
|
99841
|
+
* @param {string} value
|
|
99842
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo} returns this
|
|
99843
|
+
*/
|
|
99844
|
+
proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.setManufacturer = function(value) {
|
|
99845
|
+
return jspb.Message.setField(this, 1, value);
|
|
99846
|
+
};
|
|
99847
|
+
|
|
99848
|
+
|
|
99849
|
+
/**
|
|
99850
|
+
* Clears the field making it undefined.
|
|
99851
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo} returns this
|
|
99852
|
+
*/
|
|
99853
|
+
proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.clearManufacturer = function() {
|
|
99854
|
+
return jspb.Message.setField(this, 1, undefined);
|
|
99855
|
+
};
|
|
99856
|
+
|
|
99857
|
+
|
|
99858
|
+
/**
|
|
99859
|
+
* Returns whether this field is set.
|
|
99860
|
+
* @return {boolean}
|
|
99861
|
+
*/
|
|
99862
|
+
proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.hasManufacturer = function() {
|
|
99863
|
+
return jspb.Message.getField(this, 1) != null;
|
|
99864
|
+
};
|
|
99865
|
+
|
|
99866
|
+
|
|
99867
|
+
/**
|
|
99868
|
+
* optional string model = 2;
|
|
99869
|
+
* @return {string}
|
|
99870
|
+
*/
|
|
99871
|
+
proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.getModel = function() {
|
|
99872
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
99873
|
+
};
|
|
99874
|
+
|
|
99875
|
+
|
|
99876
|
+
/**
|
|
99877
|
+
* @param {string} value
|
|
99878
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo} returns this
|
|
99879
|
+
*/
|
|
99880
|
+
proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.setModel = function(value) {
|
|
99881
|
+
return jspb.Message.setField(this, 2, value);
|
|
99882
|
+
};
|
|
99883
|
+
|
|
99884
|
+
|
|
99885
|
+
/**
|
|
99886
|
+
* Clears the field making it undefined.
|
|
99887
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo} returns this
|
|
99888
|
+
*/
|
|
99889
|
+
proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.clearModel = function() {
|
|
99890
|
+
return jspb.Message.setField(this, 2, undefined);
|
|
99891
|
+
};
|
|
99892
|
+
|
|
99893
|
+
|
|
99894
|
+
/**
|
|
99895
|
+
* Returns whether this field is set.
|
|
99896
|
+
* @return {boolean}
|
|
99897
|
+
*/
|
|
99898
|
+
proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.hasModel = function() {
|
|
99899
|
+
return jspb.Message.getField(this, 2) != null;
|
|
99900
|
+
};
|
|
99901
|
+
|
|
99902
|
+
|
|
99903
|
+
/**
|
|
99904
|
+
* optional string ups_software_version = 3;
|
|
99905
|
+
* @return {string}
|
|
99906
|
+
*/
|
|
99907
|
+
proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.getUpsSoftwareVersion = function() {
|
|
99908
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
99909
|
+
};
|
|
99910
|
+
|
|
99911
|
+
|
|
99912
|
+
/**
|
|
99913
|
+
* @param {string} value
|
|
99914
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo} returns this
|
|
99915
|
+
*/
|
|
99916
|
+
proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.setUpsSoftwareVersion = function(value) {
|
|
99917
|
+
return jspb.Message.setField(this, 3, value);
|
|
99918
|
+
};
|
|
99919
|
+
|
|
99920
|
+
|
|
99921
|
+
/**
|
|
99922
|
+
* Clears the field making it undefined.
|
|
99923
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo} returns this
|
|
99924
|
+
*/
|
|
99925
|
+
proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.clearUpsSoftwareVersion = function() {
|
|
99926
|
+
return jspb.Message.setField(this, 3, undefined);
|
|
99927
|
+
};
|
|
99928
|
+
|
|
99929
|
+
|
|
99930
|
+
/**
|
|
99931
|
+
* Returns whether this field is set.
|
|
99932
|
+
* @return {boolean}
|
|
99933
|
+
*/
|
|
99934
|
+
proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.hasUpsSoftwareVersion = function() {
|
|
99935
|
+
return jspb.Message.getField(this, 3) != null;
|
|
99936
|
+
};
|
|
99937
|
+
|
|
99938
|
+
|
|
99939
|
+
/**
|
|
99940
|
+
* optional string agent_software_version = 4;
|
|
99941
|
+
* @return {string}
|
|
99942
|
+
*/
|
|
99943
|
+
proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.getAgentSoftwareVersion = function() {
|
|
99944
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
99945
|
+
};
|
|
99946
|
+
|
|
99947
|
+
|
|
99948
|
+
/**
|
|
99949
|
+
* @param {string} value
|
|
99950
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo} returns this
|
|
99951
|
+
*/
|
|
99952
|
+
proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.setAgentSoftwareVersion = function(value) {
|
|
99953
|
+
return jspb.Message.setField(this, 4, value);
|
|
99954
|
+
};
|
|
99955
|
+
|
|
99956
|
+
|
|
99957
|
+
/**
|
|
99958
|
+
* Clears the field making it undefined.
|
|
99959
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo} returns this
|
|
99960
|
+
*/
|
|
99961
|
+
proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.clearAgentSoftwareVersion = function() {
|
|
99962
|
+
return jspb.Message.setField(this, 4, undefined);
|
|
99963
|
+
};
|
|
99964
|
+
|
|
99965
|
+
|
|
99966
|
+
/**
|
|
99967
|
+
* Returns whether this field is set.
|
|
99968
|
+
* @return {boolean}
|
|
99969
|
+
*/
|
|
99970
|
+
proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.hasAgentSoftwareVersion = function() {
|
|
99971
|
+
return jspb.Message.getField(this, 4) != null;
|
|
99972
|
+
};
|
|
99973
|
+
|
|
99974
|
+
|
|
99975
|
+
/**
|
|
99976
|
+
* optional string name = 5;
|
|
99977
|
+
* @return {string}
|
|
99978
|
+
*/
|
|
99979
|
+
proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.getName = function() {
|
|
99980
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
99981
|
+
};
|
|
99982
|
+
|
|
99983
|
+
|
|
99984
|
+
/**
|
|
99985
|
+
* @param {string} value
|
|
99986
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo} returns this
|
|
99987
|
+
*/
|
|
99988
|
+
proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.setName = function(value) {
|
|
99989
|
+
return jspb.Message.setField(this, 5, value);
|
|
99990
|
+
};
|
|
99991
|
+
|
|
99992
|
+
|
|
99993
|
+
/**
|
|
99994
|
+
* Clears the field making it undefined.
|
|
99995
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo} returns this
|
|
99996
|
+
*/
|
|
99997
|
+
proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.clearName = function() {
|
|
99998
|
+
return jspb.Message.setField(this, 5, undefined);
|
|
99999
|
+
};
|
|
100000
|
+
|
|
100001
|
+
|
|
100002
|
+
/**
|
|
100003
|
+
* Returns whether this field is set.
|
|
100004
|
+
* @return {boolean}
|
|
100005
|
+
*/
|
|
100006
|
+
proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.hasName = function() {
|
|
100007
|
+
return jspb.Message.getField(this, 5) != null;
|
|
100008
|
+
};
|
|
100009
|
+
|
|
100010
|
+
|
|
100011
|
+
/**
|
|
100012
|
+
* optional string attached_devices = 6;
|
|
100013
|
+
* @return {string}
|
|
100014
|
+
*/
|
|
100015
|
+
proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.getAttachedDevices = function() {
|
|
100016
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
100017
|
+
};
|
|
100018
|
+
|
|
100019
|
+
|
|
100020
|
+
/**
|
|
100021
|
+
* @param {string} value
|
|
100022
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo} returns this
|
|
100023
|
+
*/
|
|
100024
|
+
proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.setAttachedDevices = function(value) {
|
|
100025
|
+
return jspb.Message.setField(this, 6, value);
|
|
100026
|
+
};
|
|
100027
|
+
|
|
100028
|
+
|
|
100029
|
+
/**
|
|
100030
|
+
* Clears the field making it undefined.
|
|
100031
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo} returns this
|
|
100032
|
+
*/
|
|
100033
|
+
proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.clearAttachedDevices = function() {
|
|
100034
|
+
return jspb.Message.setField(this, 6, undefined);
|
|
100035
|
+
};
|
|
100036
|
+
|
|
100037
|
+
|
|
100038
|
+
/**
|
|
100039
|
+
* Returns whether this field is set.
|
|
100040
|
+
* @return {boolean}
|
|
100041
|
+
*/
|
|
100042
|
+
proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.hasAttachedDevices = function() {
|
|
100043
|
+
return jspb.Message.getField(this, 6) != null;
|
|
100044
|
+
};
|
|
100045
|
+
|
|
100046
|
+
|
|
100047
|
+
/**
|
|
100048
|
+
* optional string battery_status = 7;
|
|
100049
|
+
* @return {string}
|
|
100050
|
+
*/
|
|
100051
|
+
proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.getBatteryStatus = function() {
|
|
100052
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
100053
|
+
};
|
|
100054
|
+
|
|
100055
|
+
|
|
100056
|
+
/**
|
|
100057
|
+
* @param {string} value
|
|
100058
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo} returns this
|
|
100059
|
+
*/
|
|
100060
|
+
proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.setBatteryStatus = function(value) {
|
|
100061
|
+
return jspb.Message.setField(this, 7, value);
|
|
100062
|
+
};
|
|
100063
|
+
|
|
100064
|
+
|
|
100065
|
+
/**
|
|
100066
|
+
* Clears the field making it undefined.
|
|
100067
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo} returns this
|
|
100068
|
+
*/
|
|
100069
|
+
proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.clearBatteryStatus = function() {
|
|
100070
|
+
return jspb.Message.setField(this, 7, undefined);
|
|
100071
|
+
};
|
|
100072
|
+
|
|
100073
|
+
|
|
100074
|
+
/**
|
|
100075
|
+
* Returns whether this field is set.
|
|
100076
|
+
* @return {boolean}
|
|
100077
|
+
*/
|
|
100078
|
+
proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.hasBatteryStatus = function() {
|
|
100079
|
+
return jspb.Message.getField(this, 7) != null;
|
|
100080
|
+
};
|
|
100081
|
+
|
|
100082
|
+
|
|
100083
|
+
/**
|
|
100084
|
+
* optional string seconds_on_battery = 8;
|
|
100085
|
+
* @return {string}
|
|
100086
|
+
*/
|
|
100087
|
+
proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.getSecondsOnBattery = function() {
|
|
100088
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
100089
|
+
};
|
|
100090
|
+
|
|
100091
|
+
|
|
100092
|
+
/**
|
|
100093
|
+
* @param {string} value
|
|
100094
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo} returns this
|
|
100095
|
+
*/
|
|
100096
|
+
proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.setSecondsOnBattery = function(value) {
|
|
100097
|
+
return jspb.Message.setField(this, 8, value);
|
|
100098
|
+
};
|
|
100099
|
+
|
|
100100
|
+
|
|
100101
|
+
/**
|
|
100102
|
+
* Clears the field making it undefined.
|
|
100103
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo} returns this
|
|
100104
|
+
*/
|
|
100105
|
+
proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.clearSecondsOnBattery = function() {
|
|
100106
|
+
return jspb.Message.setField(this, 8, undefined);
|
|
100107
|
+
};
|
|
100108
|
+
|
|
100109
|
+
|
|
100110
|
+
/**
|
|
100111
|
+
* Returns whether this field is set.
|
|
100112
|
+
* @return {boolean}
|
|
100113
|
+
*/
|
|
100114
|
+
proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.hasSecondsOnBattery = function() {
|
|
100115
|
+
return jspb.Message.getField(this, 8) != null;
|
|
100116
|
+
};
|
|
100117
|
+
|
|
100118
|
+
|
|
100119
|
+
/**
|
|
100120
|
+
* optional string estimated_minutes_remaining = 9;
|
|
100121
|
+
* @return {string}
|
|
100122
|
+
*/
|
|
100123
|
+
proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.getEstimatedMinutesRemaining = function() {
|
|
100124
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
100125
|
+
};
|
|
100126
|
+
|
|
100127
|
+
|
|
100128
|
+
/**
|
|
100129
|
+
* @param {string} value
|
|
100130
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo} returns this
|
|
100131
|
+
*/
|
|
100132
|
+
proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.setEstimatedMinutesRemaining = function(value) {
|
|
100133
|
+
return jspb.Message.setField(this, 9, value);
|
|
100134
|
+
};
|
|
100135
|
+
|
|
100136
|
+
|
|
100137
|
+
/**
|
|
100138
|
+
* Clears the field making it undefined.
|
|
100139
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo} returns this
|
|
100140
|
+
*/
|
|
100141
|
+
proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.clearEstimatedMinutesRemaining = function() {
|
|
100142
|
+
return jspb.Message.setField(this, 9, undefined);
|
|
100143
|
+
};
|
|
100144
|
+
|
|
100145
|
+
|
|
100146
|
+
/**
|
|
100147
|
+
* Returns whether this field is set.
|
|
100148
|
+
* @return {boolean}
|
|
100149
|
+
*/
|
|
100150
|
+
proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.hasEstimatedMinutesRemaining = function() {
|
|
100151
|
+
return jspb.Message.getField(this, 9) != null;
|
|
100152
|
+
};
|
|
100153
|
+
|
|
100154
|
+
|
|
100155
|
+
/**
|
|
100156
|
+
* optional string estimated_charge_remaining = 10;
|
|
100157
|
+
* @return {string}
|
|
100158
|
+
*/
|
|
100159
|
+
proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.getEstimatedChargeRemaining = function() {
|
|
100160
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
100161
|
+
};
|
|
100162
|
+
|
|
100163
|
+
|
|
100164
|
+
/**
|
|
100165
|
+
* @param {string} value
|
|
100166
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo} returns this
|
|
100167
|
+
*/
|
|
100168
|
+
proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.setEstimatedChargeRemaining = function(value) {
|
|
100169
|
+
return jspb.Message.setField(this, 10, value);
|
|
100170
|
+
};
|
|
100171
|
+
|
|
100172
|
+
|
|
100173
|
+
/**
|
|
100174
|
+
* Clears the field making it undefined.
|
|
100175
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo} returns this
|
|
100176
|
+
*/
|
|
100177
|
+
proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.clearEstimatedChargeRemaining = function() {
|
|
100178
|
+
return jspb.Message.setField(this, 10, undefined);
|
|
100179
|
+
};
|
|
100180
|
+
|
|
100181
|
+
|
|
100182
|
+
/**
|
|
100183
|
+
* Returns whether this field is set.
|
|
100184
|
+
* @return {boolean}
|
|
100185
|
+
*/
|
|
100186
|
+
proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.hasEstimatedChargeRemaining = function() {
|
|
100187
|
+
return jspb.Message.getField(this, 10) != null;
|
|
100188
|
+
};
|
|
100189
|
+
|
|
100190
|
+
|
|
100191
|
+
/**
|
|
100192
|
+
* optional string battery_voltage = 11;
|
|
100193
|
+
* @return {string}
|
|
100194
|
+
*/
|
|
100195
|
+
proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.getBatteryVoltage = function() {
|
|
100196
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
|
|
100197
|
+
};
|
|
100198
|
+
|
|
100199
|
+
|
|
100200
|
+
/**
|
|
100201
|
+
* @param {string} value
|
|
100202
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo} returns this
|
|
100203
|
+
*/
|
|
100204
|
+
proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.setBatteryVoltage = function(value) {
|
|
100205
|
+
return jspb.Message.setField(this, 11, value);
|
|
100206
|
+
};
|
|
100207
|
+
|
|
100208
|
+
|
|
100209
|
+
/**
|
|
100210
|
+
* Clears the field making it undefined.
|
|
100211
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo} returns this
|
|
100212
|
+
*/
|
|
100213
|
+
proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.clearBatteryVoltage = function() {
|
|
100214
|
+
return jspb.Message.setField(this, 11, undefined);
|
|
100215
|
+
};
|
|
100216
|
+
|
|
100217
|
+
|
|
100218
|
+
/**
|
|
100219
|
+
* Returns whether this field is set.
|
|
100220
|
+
* @return {boolean}
|
|
100221
|
+
*/
|
|
100222
|
+
proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.hasBatteryVoltage = function() {
|
|
100223
|
+
return jspb.Message.getField(this, 11) != null;
|
|
100224
|
+
};
|
|
100225
|
+
|
|
100226
|
+
|
|
100227
|
+
/**
|
|
100228
|
+
* optional string battery_current = 12;
|
|
100229
|
+
* @return {string}
|
|
100230
|
+
*/
|
|
100231
|
+
proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.getBatteryCurrent = function() {
|
|
100232
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
|
|
100233
|
+
};
|
|
100234
|
+
|
|
100235
|
+
|
|
100236
|
+
/**
|
|
100237
|
+
* @param {string} value
|
|
100238
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo} returns this
|
|
100239
|
+
*/
|
|
100240
|
+
proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.setBatteryCurrent = function(value) {
|
|
100241
|
+
return jspb.Message.setField(this, 12, value);
|
|
100242
|
+
};
|
|
100243
|
+
|
|
100244
|
+
|
|
100245
|
+
/**
|
|
100246
|
+
* Clears the field making it undefined.
|
|
100247
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo} returns this
|
|
100248
|
+
*/
|
|
100249
|
+
proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.clearBatteryCurrent = function() {
|
|
100250
|
+
return jspb.Message.setField(this, 12, undefined);
|
|
100251
|
+
};
|
|
100252
|
+
|
|
100253
|
+
|
|
100254
|
+
/**
|
|
100255
|
+
* Returns whether this field is set.
|
|
100256
|
+
* @return {boolean}
|
|
100257
|
+
*/
|
|
100258
|
+
proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.hasBatteryCurrent = function() {
|
|
100259
|
+
return jspb.Message.getField(this, 12) != null;
|
|
100260
|
+
};
|
|
100261
|
+
|
|
100262
|
+
|
|
100263
|
+
/**
|
|
100264
|
+
* optional string battery_temperature = 13;
|
|
100265
|
+
* @return {string}
|
|
100266
|
+
*/
|
|
100267
|
+
proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.getBatteryTemperature = function() {
|
|
100268
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
|
|
100269
|
+
};
|
|
100270
|
+
|
|
100271
|
+
|
|
100272
|
+
/**
|
|
100273
|
+
* @param {string} value
|
|
100274
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo} returns this
|
|
100275
|
+
*/
|
|
100276
|
+
proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.setBatteryTemperature = function(value) {
|
|
100277
|
+
return jspb.Message.setField(this, 13, value);
|
|
100278
|
+
};
|
|
100279
|
+
|
|
100280
|
+
|
|
100281
|
+
/**
|
|
100282
|
+
* Clears the field making it undefined.
|
|
100283
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo} returns this
|
|
100284
|
+
*/
|
|
100285
|
+
proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.clearBatteryTemperature = function() {
|
|
100286
|
+
return jspb.Message.setField(this, 13, undefined);
|
|
100287
|
+
};
|
|
100288
|
+
|
|
100289
|
+
|
|
100290
|
+
/**
|
|
100291
|
+
* Returns whether this field is set.
|
|
100292
|
+
* @return {boolean}
|
|
100293
|
+
*/
|
|
100294
|
+
proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.hasBatteryTemperature = function() {
|
|
100295
|
+
return jspb.Message.getField(this, 13) != null;
|
|
100296
|
+
};
|
|
100297
|
+
|
|
100298
|
+
|
|
100299
|
+
/**
|
|
100300
|
+
* optional string alarms_present = 14;
|
|
100301
|
+
* @return {string}
|
|
100302
|
+
*/
|
|
100303
|
+
proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.getAlarmsPresent = function() {
|
|
100304
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
|
|
100305
|
+
};
|
|
100306
|
+
|
|
100307
|
+
|
|
100308
|
+
/**
|
|
100309
|
+
* @param {string} value
|
|
100310
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo} returns this
|
|
100311
|
+
*/
|
|
100312
|
+
proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.setAlarmsPresent = function(value) {
|
|
100313
|
+
return jspb.Message.setField(this, 14, value);
|
|
100314
|
+
};
|
|
100315
|
+
|
|
100316
|
+
|
|
100317
|
+
/**
|
|
100318
|
+
* Clears the field making it undefined.
|
|
100319
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo} returns this
|
|
100320
|
+
*/
|
|
100321
|
+
proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.clearAlarmsPresent = function() {
|
|
100322
|
+
return jspb.Message.setField(this, 14, undefined);
|
|
100323
|
+
};
|
|
100324
|
+
|
|
100325
|
+
|
|
100326
|
+
/**
|
|
100327
|
+
* Returns whether this field is set.
|
|
100328
|
+
* @return {boolean}
|
|
100329
|
+
*/
|
|
100330
|
+
proto.com.lansweeper.dp.outbound.v1.SnmpUpsInfo.prototype.hasAlarmsPresent = function() {
|
|
100331
|
+
return jspb.Message.getField(this, 14) != null;
|
|
100332
|
+
};
|
|
100333
|
+
|
|
100334
|
+
|
|
100335
|
+
|
|
100336
|
+
|
|
100337
|
+
|
|
97331
100338
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
97332
100339
|
/**
|
|
97333
100340
|
* Creates an object representation of this proto.
|