@lansweeper/discovery-sensor-proto 2.13.18 → 2.13.19
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.
|
@@ -8,11 +8,8 @@ import * as jspb from "google-protobuf";
|
|
|
8
8
|
import * as google_protobuf_wrappers_pb from "google-protobuf/google/protobuf/wrappers_pb";
|
|
9
9
|
|
|
10
10
|
export class MacBasicInfo extends jspb.Message {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
clearIsArmArchitecture(): void;
|
|
14
|
-
getIsArmArchitecture(): google_protobuf_wrappers_pb.BoolValue | undefined;
|
|
15
|
-
setIsArmArchitecture(value?: google_protobuf_wrappers_pb.BoolValue): MacBasicInfo;
|
|
11
|
+
getIsArmArchitecture(): boolean;
|
|
12
|
+
setIsArmArchitecture(value: boolean): MacBasicInfo;
|
|
16
13
|
clearDataTypesList(): void;
|
|
17
14
|
getDataTypesList(): Array<string>;
|
|
18
15
|
setDataTypesList(value: Array<string>): MacBasicInfo;
|
|
@@ -30,7 +27,7 @@ export class MacBasicInfo extends jspb.Message {
|
|
|
30
27
|
|
|
31
28
|
export namespace MacBasicInfo {
|
|
32
29
|
export type AsObject = {
|
|
33
|
-
isArmArchitecture
|
|
30
|
+
isArmArchitecture: boolean,
|
|
34
31
|
dataTypesList: Array<string>,
|
|
35
32
|
}
|
|
36
33
|
}
|
|
@@ -694,7 +694,7 @@ proto.com.lansweeper.discovery.sensor.mac.v1.MacBasicInfo.prototype.toObject = f
|
|
|
694
694
|
*/
|
|
695
695
|
proto.com.lansweeper.discovery.sensor.mac.v1.MacBasicInfo.toObject = function(includeInstance, msg) {
|
|
696
696
|
var f, obj = {
|
|
697
|
-
isArmArchitecture:
|
|
697
|
+
isArmArchitecture: jspb.Message.getBooleanFieldWithDefault(msg, 1, false),
|
|
698
698
|
dataTypesList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f
|
|
699
699
|
};
|
|
700
700
|
|
|
@@ -733,8 +733,7 @@ proto.com.lansweeper.discovery.sensor.mac.v1.MacBasicInfo.deserializeBinaryFromR
|
|
|
733
733
|
var field = reader.getFieldNumber();
|
|
734
734
|
switch (field) {
|
|
735
735
|
case 1:
|
|
736
|
-
var value =
|
|
737
|
-
reader.readMessage(value,google_protobuf_wrappers_pb.BoolValue.deserializeBinaryFromReader);
|
|
736
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
738
737
|
msg.setIsArmArchitecture(value);
|
|
739
738
|
break;
|
|
740
739
|
case 2:
|
|
@@ -771,11 +770,10 @@ proto.com.lansweeper.discovery.sensor.mac.v1.MacBasicInfo.prototype.serializeBin
|
|
|
771
770
|
proto.com.lansweeper.discovery.sensor.mac.v1.MacBasicInfo.serializeBinaryToWriter = function(message, writer) {
|
|
772
771
|
var f = undefined;
|
|
773
772
|
f = message.getIsArmArchitecture();
|
|
774
|
-
if (f
|
|
775
|
-
writer.
|
|
773
|
+
if (f) {
|
|
774
|
+
writer.writeBool(
|
|
776
775
|
1,
|
|
777
|
-
f
|
|
778
|
-
google_protobuf_wrappers_pb.BoolValue.serializeBinaryToWriter
|
|
776
|
+
f
|
|
779
777
|
);
|
|
780
778
|
}
|
|
781
779
|
f = message.getDataTypesList();
|
|
@@ -789,39 +787,20 @@ proto.com.lansweeper.discovery.sensor.mac.v1.MacBasicInfo.serializeBinaryToWrite
|
|
|
789
787
|
|
|
790
788
|
|
|
791
789
|
/**
|
|
792
|
-
* optional
|
|
793
|
-
* @return {
|
|
790
|
+
* optional bool is_arm_architecture = 1;
|
|
791
|
+
* @return {boolean}
|
|
794
792
|
*/
|
|
795
793
|
proto.com.lansweeper.discovery.sensor.mac.v1.MacBasicInfo.prototype.getIsArmArchitecture = function() {
|
|
796
|
-
return /** @type{
|
|
797
|
-
jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.BoolValue, 1));
|
|
794
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false));
|
|
798
795
|
};
|
|
799
796
|
|
|
800
797
|
|
|
801
798
|
/**
|
|
802
|
-
* @param {
|
|
803
|
-
* @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacBasicInfo} returns this
|
|
804
|
-
*/
|
|
805
|
-
proto.com.lansweeper.discovery.sensor.mac.v1.MacBasicInfo.prototype.setIsArmArchitecture = function(value) {
|
|
806
|
-
return jspb.Message.setWrapperField(this, 1, value);
|
|
807
|
-
};
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
/**
|
|
811
|
-
* Clears the message field making it undefined.
|
|
799
|
+
* @param {boolean} value
|
|
812
800
|
* @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacBasicInfo} returns this
|
|
813
801
|
*/
|
|
814
|
-
proto.com.lansweeper.discovery.sensor.mac.v1.MacBasicInfo.prototype.
|
|
815
|
-
return
|
|
816
|
-
};
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
/**
|
|
820
|
-
* Returns whether this field is set.
|
|
821
|
-
* @return {boolean}
|
|
822
|
-
*/
|
|
823
|
-
proto.com.lansweeper.discovery.sensor.mac.v1.MacBasicInfo.prototype.hasIsArmArchitecture = function() {
|
|
824
|
-
return jspb.Message.getField(this, 1) != null;
|
|
802
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.MacBasicInfo.prototype.setIsArmArchitecture = function(value) {
|
|
803
|
+
return jspb.Message.setProto3BooleanField(this, 1, value);
|
|
825
804
|
};
|
|
826
805
|
|
|
827
806
|
|