@lansweeper/discovery-sensor-proto 2.81.1 → 2.81.2

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,16 +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.UInt64Value | undefined;
137
- setTotalMemory(value?: google_protobuf_wrappers_pb.UInt64Value): Snmp;
138
-
139
134
  hasProcessorArchitecture(): boolean;
140
135
  clearProcessorArchitecture(): void;
141
136
  getProcessorArchitecture(): google_protobuf_wrappers_pb.StringValue | undefined;
142
137
  setProcessorArchitecture(value?: google_protobuf_wrappers_pb.StringValue): Snmp;
143
138
 
139
+ hasTotalMemory(): boolean;
140
+ clearTotalMemory(): void;
141
+ getTotalMemory(): google_protobuf_wrappers_pb.UInt64Value | undefined;
142
+ setTotalMemory(value?: google_protobuf_wrappers_pb.UInt64Value): Snmp;
143
+
144
144
  serializeBinary(): Uint8Array;
145
145
  toObject(includeInstance?: boolean): Snmp.AsObject;
146
146
  static toObject(includeInstance: boolean, msg: Snmp): Snmp.AsObject;
@@ -178,8 +178,8 @@ export namespace Snmp {
178
178
  interfaceInfosList: Array<SnmpInterfaceInfo.AsObject>,
179
179
  arpTableList: Array<SnmpArpEntry.AsObject>,
180
180
  customOidsList: Array<SnmpCustomOid.AsObject>,
181
- totalMemory?: google_protobuf_wrappers_pb.UInt64Value.AsObject,
182
181
  processorArchitecture?: google_protobuf_wrappers_pb.StringValue.AsObject,
182
+ totalMemory?: google_protobuf_wrappers_pb.UInt64Value.AsObject,
183
183
  }
184
184
  }
185
185
 
@@ -290,8 +290,8 @@ proto.com.lansweeper.discovery.sensor.other.v1.Snmp.toObject = function(includeI
290
290
  proto.com.lansweeper.discovery.sensor.other.v1.SnmpArpEntry.toObject, includeInstance),
291
291
  customOidsList: jspb.Message.toObjectList(msg.getCustomOidsList(),
292
292
  proto.com.lansweeper.discovery.sensor.other.v1.SnmpCustomOid.toObject, includeInstance),
293
- totalMemory: (f = msg.getTotalMemory()) && google_protobuf_wrappers_pb.UInt64Value.toObject(includeInstance, f),
294
- processorArchitecture: (f = msg.getProcessorArchitecture()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f)
293
+ processorArchitecture: (f = msg.getProcessorArchitecture()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
294
+ totalMemory: (f = msg.getTotalMemory()) && google_protobuf_wrappers_pb.UInt64Value.toObject(includeInstance, f)
295
295
  };
296
296
 
297
297
  if (includeInstance) {
@@ -452,16 +452,16 @@ proto.com.lansweeper.discovery.sensor.other.v1.Snmp.deserializeBinaryFromReader
452
452
  reader.readMessage(value,proto.com.lansweeper.discovery.sensor.other.v1.SnmpCustomOid.deserializeBinaryFromReader);
453
453
  msg.addCustomOids(value);
454
454
  break;
455
- case 26:
456
- var value = new google_protobuf_wrappers_pb.UInt64Value;
457
- reader.readMessage(value,google_protobuf_wrappers_pb.UInt64Value.deserializeBinaryFromReader);
458
- msg.setTotalMemory(value);
459
- break;
460
455
  case 27:
461
456
  var value = new google_protobuf_wrappers_pb.StringValue;
462
457
  reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
463
458
  msg.setProcessorArchitecture(value);
464
459
  break;
460
+ case 28:
461
+ var value = new google_protobuf_wrappers_pb.UInt64Value;
462
+ reader.readMessage(value,google_protobuf_wrappers_pb.UInt64Value.deserializeBinaryFromReader);
463
+ msg.setTotalMemory(value);
464
+ break;
465
465
  default:
466
466
  reader.skipField();
467
467
  break;
@@ -690,20 +690,20 @@ proto.com.lansweeper.discovery.sensor.other.v1.Snmp.serializeBinaryToWriter = fu
690
690
  proto.com.lansweeper.discovery.sensor.other.v1.SnmpCustomOid.serializeBinaryToWriter
691
691
  );
692
692
  }
693
- f = message.getTotalMemory();
693
+ f = message.getProcessorArchitecture();
694
694
  if (f != null) {
695
695
  writer.writeMessage(
696
- 26,
696
+ 27,
697
697
  f,
698
- google_protobuf_wrappers_pb.UInt64Value.serializeBinaryToWriter
698
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
699
699
  );
700
700
  }
701
- f = message.getProcessorArchitecture();
701
+ f = message.getTotalMemory();
702
702
  if (f != null) {
703
703
  writer.writeMessage(
704
- 27,
704
+ 28,
705
705
  f,
706
- google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
706
+ google_protobuf_wrappers_pb.UInt64Value.serializeBinaryToWriter
707
707
  );
708
708
  }
709
709
  };
@@ -1638,21 +1638,21 @@ proto.com.lansweeper.discovery.sensor.other.v1.Snmp.prototype.clearCustomOidsLis
1638
1638
 
1639
1639
 
1640
1640
  /**
1641
- * optional google.protobuf.UInt64Value total_memory = 26;
1642
- * @return {?proto.google.protobuf.UInt64Value}
1641
+ * optional google.protobuf.StringValue processor_architecture = 27;
1642
+ * @return {?proto.google.protobuf.StringValue}
1643
1643
  */
1644
- proto.com.lansweeper.discovery.sensor.other.v1.Snmp.prototype.getTotalMemory = function() {
1645
- return /** @type{?proto.google.protobuf.UInt64Value} */ (
1646
- jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.UInt64Value, 26));
1644
+ proto.com.lansweeper.discovery.sensor.other.v1.Snmp.prototype.getProcessorArchitecture = function() {
1645
+ return /** @type{?proto.google.protobuf.StringValue} */ (
1646
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 27));
1647
1647
  };
1648
1648
 
1649
1649
 
1650
1650
  /**
1651
- * @param {?proto.google.protobuf.UInt64Value|undefined} value
1651
+ * @param {?proto.google.protobuf.StringValue|undefined} value
1652
1652
  * @return {!proto.com.lansweeper.discovery.sensor.other.v1.Snmp} returns this
1653
1653
  */
1654
- proto.com.lansweeper.discovery.sensor.other.v1.Snmp.prototype.setTotalMemory = function(value) {
1655
- return jspb.Message.setWrapperField(this, 26, value);
1654
+ proto.com.lansweeper.discovery.sensor.other.v1.Snmp.prototype.setProcessorArchitecture = function(value) {
1655
+ return jspb.Message.setWrapperField(this, 27, value);
1656
1656
  };
1657
1657
 
1658
1658
 
@@ -1660,8 +1660,8 @@ proto.com.lansweeper.discovery.sensor.other.v1.Snmp.prototype.setTotalMemory = f
1660
1660
  * Clears the message field making it undefined.
1661
1661
  * @return {!proto.com.lansweeper.discovery.sensor.other.v1.Snmp} returns this
1662
1662
  */
1663
- proto.com.lansweeper.discovery.sensor.other.v1.Snmp.prototype.clearTotalMemory = function() {
1664
- return this.setTotalMemory(undefined);
1663
+ proto.com.lansweeper.discovery.sensor.other.v1.Snmp.prototype.clearProcessorArchitecture = function() {
1664
+ return this.setProcessorArchitecture(undefined);
1665
1665
  };
1666
1666
 
1667
1667
 
@@ -1669,27 +1669,27 @@ proto.com.lansweeper.discovery.sensor.other.v1.Snmp.prototype.clearTotalMemory =
1669
1669
  * Returns whether this field is set.
1670
1670
  * @return {boolean}
1671
1671
  */
1672
- proto.com.lansweeper.discovery.sensor.other.v1.Snmp.prototype.hasTotalMemory = function() {
1673
- return jspb.Message.getField(this, 26) != null;
1672
+ proto.com.lansweeper.discovery.sensor.other.v1.Snmp.prototype.hasProcessorArchitecture = function() {
1673
+ return jspb.Message.getField(this, 27) != null;
1674
1674
  };
1675
1675
 
1676
1676
 
1677
1677
  /**
1678
- * optional google.protobuf.StringValue processor_architecture = 27;
1679
- * @return {?proto.google.protobuf.StringValue}
1678
+ * optional google.protobuf.UInt64Value total_memory = 28;
1679
+ * @return {?proto.google.protobuf.UInt64Value}
1680
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));
1681
+ proto.com.lansweeper.discovery.sensor.other.v1.Snmp.prototype.getTotalMemory = function() {
1682
+ return /** @type{?proto.google.protobuf.UInt64Value} */ (
1683
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.UInt64Value, 28));
1684
1684
  };
1685
1685
 
1686
1686
 
1687
1687
  /**
1688
- * @param {?proto.google.protobuf.StringValue|undefined} value
1688
+ * @param {?proto.google.protobuf.UInt64Value|undefined} value
1689
1689
  * @return {!proto.com.lansweeper.discovery.sensor.other.v1.Snmp} returns this
1690
1690
  */
1691
- proto.com.lansweeper.discovery.sensor.other.v1.Snmp.prototype.setProcessorArchitecture = function(value) {
1692
- return jspb.Message.setWrapperField(this, 27, value);
1691
+ proto.com.lansweeper.discovery.sensor.other.v1.Snmp.prototype.setTotalMemory = function(value) {
1692
+ return jspb.Message.setWrapperField(this, 28, value);
1693
1693
  };
1694
1694
 
1695
1695
 
@@ -1697,8 +1697,8 @@ proto.com.lansweeper.discovery.sensor.other.v1.Snmp.prototype.setProcessorArchit
1697
1697
  * Clears the message field making it undefined.
1698
1698
  * @return {!proto.com.lansweeper.discovery.sensor.other.v1.Snmp} returns this
1699
1699
  */
1700
- proto.com.lansweeper.discovery.sensor.other.v1.Snmp.prototype.clearProcessorArchitecture = function() {
1701
- return this.setProcessorArchitecture(undefined);
1700
+ proto.com.lansweeper.discovery.sensor.other.v1.Snmp.prototype.clearTotalMemory = function() {
1701
+ return this.setTotalMemory(undefined);
1702
1702
  };
1703
1703
 
1704
1704
 
@@ -1706,8 +1706,8 @@ proto.com.lansweeper.discovery.sensor.other.v1.Snmp.prototype.clearProcessorArch
1706
1706
  * Returns whether this field is set.
1707
1707
  * @return {boolean}
1708
1708
  */
1709
- proto.com.lansweeper.discovery.sensor.other.v1.Snmp.prototype.hasProcessorArchitecture = function() {
1710
- return jspb.Message.getField(this, 27) != null;
1709
+ proto.com.lansweeper.discovery.sensor.other.v1.Snmp.prototype.hasTotalMemory = function() {
1710
+ return jspb.Message.getField(this, 28) != null;
1711
1711
  };
1712
1712
 
1713
1713