@lansweeper/discovery-sensor-proto 2.80.0 → 2.81.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -131,6 +131,16 @@ export class Snmp extends jspb.Message {
|
|
|
131
131
|
setCustomOidsList(value: Array<SnmpCustomOid>): Snmp;
|
|
132
132
|
addCustomOids(value?: SnmpCustomOid, index?: number): SnmpCustomOid;
|
|
133
133
|
|
|
134
|
+
hasTotalMemory(): boolean;
|
|
135
|
+
clearTotalMemory(): void;
|
|
136
|
+
getTotalMemory(): google_protobuf_wrappers_pb.Int32Value | undefined;
|
|
137
|
+
setTotalMemory(value?: google_protobuf_wrappers_pb.Int32Value): Snmp;
|
|
138
|
+
|
|
139
|
+
hasProcessorArchitecture(): boolean;
|
|
140
|
+
clearProcessorArchitecture(): void;
|
|
141
|
+
getProcessorArchitecture(): google_protobuf_wrappers_pb.StringValue | undefined;
|
|
142
|
+
setProcessorArchitecture(value?: google_protobuf_wrappers_pb.StringValue): Snmp;
|
|
143
|
+
|
|
134
144
|
serializeBinary(): Uint8Array;
|
|
135
145
|
toObject(includeInstance?: boolean): Snmp.AsObject;
|
|
136
146
|
static toObject(includeInstance: boolean, msg: Snmp): Snmp.AsObject;
|
|
@@ -168,6 +178,8 @@ export namespace Snmp {
|
|
|
168
178
|
interfaceInfosList: Array<SnmpInterfaceInfo.AsObject>,
|
|
169
179
|
arpTableList: Array<SnmpArpEntry.AsObject>,
|
|
170
180
|
customOidsList: Array<SnmpCustomOid.AsObject>,
|
|
181
|
+
totalMemory?: google_protobuf_wrappers_pb.Int32Value.AsObject,
|
|
182
|
+
processorArchitecture?: google_protobuf_wrappers_pb.StringValue.AsObject,
|
|
171
183
|
}
|
|
172
184
|
}
|
|
173
185
|
|
|
@@ -289,7 +289,9 @@ proto.com.lansweeper.discovery.sensor.other.v1.Snmp.toObject = function(includeI
|
|
|
289
289
|
arpTableList: jspb.Message.toObjectList(msg.getArpTableList(),
|
|
290
290
|
proto.com.lansweeper.discovery.sensor.other.v1.SnmpArpEntry.toObject, includeInstance),
|
|
291
291
|
customOidsList: jspb.Message.toObjectList(msg.getCustomOidsList(),
|
|
292
|
-
proto.com.lansweeper.discovery.sensor.other.v1.SnmpCustomOid.toObject, includeInstance)
|
|
292
|
+
proto.com.lansweeper.discovery.sensor.other.v1.SnmpCustomOid.toObject, includeInstance),
|
|
293
|
+
totalMemory: (f = msg.getTotalMemory()) && google_protobuf_wrappers_pb.Int32Value.toObject(includeInstance, f),
|
|
294
|
+
processorArchitecture: (f = msg.getProcessorArchitecture()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f)
|
|
293
295
|
};
|
|
294
296
|
|
|
295
297
|
if (includeInstance) {
|
|
@@ -450,6 +452,16 @@ proto.com.lansweeper.discovery.sensor.other.v1.Snmp.deserializeBinaryFromReader
|
|
|
450
452
|
reader.readMessage(value,proto.com.lansweeper.discovery.sensor.other.v1.SnmpCustomOid.deserializeBinaryFromReader);
|
|
451
453
|
msg.addCustomOids(value);
|
|
452
454
|
break;
|
|
455
|
+
case 26:
|
|
456
|
+
var value = new google_protobuf_wrappers_pb.Int32Value;
|
|
457
|
+
reader.readMessage(value,google_protobuf_wrappers_pb.Int32Value.deserializeBinaryFromReader);
|
|
458
|
+
msg.setTotalMemory(value);
|
|
459
|
+
break;
|
|
460
|
+
case 27:
|
|
461
|
+
var value = new google_protobuf_wrappers_pb.StringValue;
|
|
462
|
+
reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
|
|
463
|
+
msg.setProcessorArchitecture(value);
|
|
464
|
+
break;
|
|
453
465
|
default:
|
|
454
466
|
reader.skipField();
|
|
455
467
|
break;
|
|
@@ -678,6 +690,22 @@ proto.com.lansweeper.discovery.sensor.other.v1.Snmp.serializeBinaryToWriter = fu
|
|
|
678
690
|
proto.com.lansweeper.discovery.sensor.other.v1.SnmpCustomOid.serializeBinaryToWriter
|
|
679
691
|
);
|
|
680
692
|
}
|
|
693
|
+
f = message.getTotalMemory();
|
|
694
|
+
if (f != null) {
|
|
695
|
+
writer.writeMessage(
|
|
696
|
+
26,
|
|
697
|
+
f,
|
|
698
|
+
google_protobuf_wrappers_pb.Int32Value.serializeBinaryToWriter
|
|
699
|
+
);
|
|
700
|
+
}
|
|
701
|
+
f = message.getProcessorArchitecture();
|
|
702
|
+
if (f != null) {
|
|
703
|
+
writer.writeMessage(
|
|
704
|
+
27,
|
|
705
|
+
f,
|
|
706
|
+
google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
|
|
707
|
+
);
|
|
708
|
+
}
|
|
681
709
|
};
|
|
682
710
|
|
|
683
711
|
|
|
@@ -1609,6 +1637,80 @@ proto.com.lansweeper.discovery.sensor.other.v1.Snmp.prototype.clearCustomOidsLis
|
|
|
1609
1637
|
};
|
|
1610
1638
|
|
|
1611
1639
|
|
|
1640
|
+
/**
|
|
1641
|
+
* optional google.protobuf.Int32Value total_memory = 26;
|
|
1642
|
+
* @return {?proto.google.protobuf.Int32Value}
|
|
1643
|
+
*/
|
|
1644
|
+
proto.com.lansweeper.discovery.sensor.other.v1.Snmp.prototype.getTotalMemory = function() {
|
|
1645
|
+
return /** @type{?proto.google.protobuf.Int32Value} */ (
|
|
1646
|
+
jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.Int32Value, 26));
|
|
1647
|
+
};
|
|
1648
|
+
|
|
1649
|
+
|
|
1650
|
+
/**
|
|
1651
|
+
* @param {?proto.google.protobuf.Int32Value|undefined} value
|
|
1652
|
+
* @return {!proto.com.lansweeper.discovery.sensor.other.v1.Snmp} returns this
|
|
1653
|
+
*/
|
|
1654
|
+
proto.com.lansweeper.discovery.sensor.other.v1.Snmp.prototype.setTotalMemory = function(value) {
|
|
1655
|
+
return jspb.Message.setWrapperField(this, 26, value);
|
|
1656
|
+
};
|
|
1657
|
+
|
|
1658
|
+
|
|
1659
|
+
/**
|
|
1660
|
+
* Clears the message field making it undefined.
|
|
1661
|
+
* @return {!proto.com.lansweeper.discovery.sensor.other.v1.Snmp} returns this
|
|
1662
|
+
*/
|
|
1663
|
+
proto.com.lansweeper.discovery.sensor.other.v1.Snmp.prototype.clearTotalMemory = function() {
|
|
1664
|
+
return this.setTotalMemory(undefined);
|
|
1665
|
+
};
|
|
1666
|
+
|
|
1667
|
+
|
|
1668
|
+
/**
|
|
1669
|
+
* Returns whether this field is set.
|
|
1670
|
+
* @return {boolean}
|
|
1671
|
+
*/
|
|
1672
|
+
proto.com.lansweeper.discovery.sensor.other.v1.Snmp.prototype.hasTotalMemory = function() {
|
|
1673
|
+
return jspb.Message.getField(this, 26) != null;
|
|
1674
|
+
};
|
|
1675
|
+
|
|
1676
|
+
|
|
1677
|
+
/**
|
|
1678
|
+
* optional google.protobuf.StringValue processor_architecture = 27;
|
|
1679
|
+
* @return {?proto.google.protobuf.StringValue}
|
|
1680
|
+
*/
|
|
1681
|
+
proto.com.lansweeper.discovery.sensor.other.v1.Snmp.prototype.getProcessorArchitecture = function() {
|
|
1682
|
+
return /** @type{?proto.google.protobuf.StringValue} */ (
|
|
1683
|
+
jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 27));
|
|
1684
|
+
};
|
|
1685
|
+
|
|
1686
|
+
|
|
1687
|
+
/**
|
|
1688
|
+
* @param {?proto.google.protobuf.StringValue|undefined} value
|
|
1689
|
+
* @return {!proto.com.lansweeper.discovery.sensor.other.v1.Snmp} returns this
|
|
1690
|
+
*/
|
|
1691
|
+
proto.com.lansweeper.discovery.sensor.other.v1.Snmp.prototype.setProcessorArchitecture = function(value) {
|
|
1692
|
+
return jspb.Message.setWrapperField(this, 27, value);
|
|
1693
|
+
};
|
|
1694
|
+
|
|
1695
|
+
|
|
1696
|
+
/**
|
|
1697
|
+
* Clears the message field making it undefined.
|
|
1698
|
+
* @return {!proto.com.lansweeper.discovery.sensor.other.v1.Snmp} returns this
|
|
1699
|
+
*/
|
|
1700
|
+
proto.com.lansweeper.discovery.sensor.other.v1.Snmp.prototype.clearProcessorArchitecture = function() {
|
|
1701
|
+
return this.setProcessorArchitecture(undefined);
|
|
1702
|
+
};
|
|
1703
|
+
|
|
1704
|
+
|
|
1705
|
+
/**
|
|
1706
|
+
* Returns whether this field is set.
|
|
1707
|
+
* @return {boolean}
|
|
1708
|
+
*/
|
|
1709
|
+
proto.com.lansweeper.discovery.sensor.other.v1.Snmp.prototype.hasProcessorArchitecture = function() {
|
|
1710
|
+
return jspb.Message.getField(this, 27) != null;
|
|
1711
|
+
};
|
|
1712
|
+
|
|
1713
|
+
|
|
1612
1714
|
|
|
1613
1715
|
|
|
1614
1716
|
|