@lansweeper/discovery-sensor-proto 2.49.0 → 2.51.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.
@@ -69,6 +69,8 @@ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.MacSPI', null, g
69
69
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.MacSecureElements', null, global);
70
70
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.MacSoftware', null, global);
71
71
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.MacStorage', null, global);
72
+ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.MacThunderbolt', null, global);
73
+ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.MacUSB', null, global);
72
74
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.Memory', null, global);
73
75
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.Modem', null, global);
74
76
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.Monitor', null, global);
@@ -96,6 +98,10 @@ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.Software', null,
96
98
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.StorageDrive', null, global);
97
99
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.StorageVolume', null, global);
98
100
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.SystemHardware', null, global);
101
+ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltController', null, global);
102
+ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltPort', null, global);
103
+ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.USBController', null, global);
104
+ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.USBDevice', null, global);
99
105
  /**
100
106
  * Generated by JsPbCodeGenerator.
101
107
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -1587,6 +1593,132 @@ if (goog.DEBUG && !COMPILED) {
1587
1593
  */
1588
1594
  proto.com.lansweeper.discovery.sensor.mac.v1.StorageDrive.displayName = 'proto.com.lansweeper.discovery.sensor.mac.v1.StorageDrive';
1589
1595
  }
1596
+ /**
1597
+ * Generated by JsPbCodeGenerator.
1598
+ * @param {Array=} opt_data Optional initial data array, typically from a
1599
+ * server response, or constructed directly in Javascript. The array is used
1600
+ * in place and becomes part of the constructed object. It is not cloned.
1601
+ * If no data is provided, the constructed object will be empty, but still
1602
+ * valid.
1603
+ * @extends {jspb.Message}
1604
+ * @constructor
1605
+ */
1606
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacUSB = function(opt_data) {
1607
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.com.lansweeper.discovery.sensor.mac.v1.MacUSB.repeatedFields_, null);
1608
+ };
1609
+ goog.inherits(proto.com.lansweeper.discovery.sensor.mac.v1.MacUSB, jspb.Message);
1610
+ if (goog.DEBUG && !COMPILED) {
1611
+ /**
1612
+ * @public
1613
+ * @override
1614
+ */
1615
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacUSB.displayName = 'proto.com.lansweeper.discovery.sensor.mac.v1.MacUSB';
1616
+ }
1617
+ /**
1618
+ * Generated by JsPbCodeGenerator.
1619
+ * @param {Array=} opt_data Optional initial data array, typically from a
1620
+ * server response, or constructed directly in Javascript. The array is used
1621
+ * in place and becomes part of the constructed object. It is not cloned.
1622
+ * If no data is provided, the constructed object will be empty, but still
1623
+ * valid.
1624
+ * @extends {jspb.Message}
1625
+ * @constructor
1626
+ */
1627
+ proto.com.lansweeper.discovery.sensor.mac.v1.USBController = function(opt_data) {
1628
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.com.lansweeper.discovery.sensor.mac.v1.USBController.repeatedFields_, null);
1629
+ };
1630
+ goog.inherits(proto.com.lansweeper.discovery.sensor.mac.v1.USBController, jspb.Message);
1631
+ if (goog.DEBUG && !COMPILED) {
1632
+ /**
1633
+ * @public
1634
+ * @override
1635
+ */
1636
+ proto.com.lansweeper.discovery.sensor.mac.v1.USBController.displayName = 'proto.com.lansweeper.discovery.sensor.mac.v1.USBController';
1637
+ }
1638
+ /**
1639
+ * Generated by JsPbCodeGenerator.
1640
+ * @param {Array=} opt_data Optional initial data array, typically from a
1641
+ * server response, or constructed directly in Javascript. The array is used
1642
+ * in place and becomes part of the constructed object. It is not cloned.
1643
+ * If no data is provided, the constructed object will be empty, but still
1644
+ * valid.
1645
+ * @extends {jspb.Message}
1646
+ * @constructor
1647
+ */
1648
+ proto.com.lansweeper.discovery.sensor.mac.v1.USBDevice = function(opt_data) {
1649
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.com.lansweeper.discovery.sensor.mac.v1.USBDevice.repeatedFields_, null);
1650
+ };
1651
+ goog.inherits(proto.com.lansweeper.discovery.sensor.mac.v1.USBDevice, jspb.Message);
1652
+ if (goog.DEBUG && !COMPILED) {
1653
+ /**
1654
+ * @public
1655
+ * @override
1656
+ */
1657
+ proto.com.lansweeper.discovery.sensor.mac.v1.USBDevice.displayName = 'proto.com.lansweeper.discovery.sensor.mac.v1.USBDevice';
1658
+ }
1659
+ /**
1660
+ * Generated by JsPbCodeGenerator.
1661
+ * @param {Array=} opt_data Optional initial data array, typically from a
1662
+ * server response, or constructed directly in Javascript. The array is used
1663
+ * in place and becomes part of the constructed object. It is not cloned.
1664
+ * If no data is provided, the constructed object will be empty, but still
1665
+ * valid.
1666
+ * @extends {jspb.Message}
1667
+ * @constructor
1668
+ */
1669
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacThunderbolt = function(opt_data) {
1670
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.com.lansweeper.discovery.sensor.mac.v1.MacThunderbolt.repeatedFields_, null);
1671
+ };
1672
+ goog.inherits(proto.com.lansweeper.discovery.sensor.mac.v1.MacThunderbolt, jspb.Message);
1673
+ if (goog.DEBUG && !COMPILED) {
1674
+ /**
1675
+ * @public
1676
+ * @override
1677
+ */
1678
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacThunderbolt.displayName = 'proto.com.lansweeper.discovery.sensor.mac.v1.MacThunderbolt';
1679
+ }
1680
+ /**
1681
+ * Generated by JsPbCodeGenerator.
1682
+ * @param {Array=} opt_data Optional initial data array, typically from a
1683
+ * server response, or constructed directly in Javascript. The array is used
1684
+ * in place and becomes part of the constructed object. It is not cloned.
1685
+ * If no data is provided, the constructed object will be empty, but still
1686
+ * valid.
1687
+ * @extends {jspb.Message}
1688
+ * @constructor
1689
+ */
1690
+ proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltController = function(opt_data) {
1691
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltController.repeatedFields_, null);
1692
+ };
1693
+ goog.inherits(proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltController, jspb.Message);
1694
+ if (goog.DEBUG && !COMPILED) {
1695
+ /**
1696
+ * @public
1697
+ * @override
1698
+ */
1699
+ proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltController.displayName = 'proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltController';
1700
+ }
1701
+ /**
1702
+ * Generated by JsPbCodeGenerator.
1703
+ * @param {Array=} opt_data Optional initial data array, typically from a
1704
+ * server response, or constructed directly in Javascript. The array is used
1705
+ * in place and becomes part of the constructed object. It is not cloned.
1706
+ * If no data is provided, the constructed object will be empty, but still
1707
+ * valid.
1708
+ * @extends {jspb.Message}
1709
+ * @constructor
1710
+ */
1711
+ proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltPort = function(opt_data) {
1712
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1713
+ };
1714
+ goog.inherits(proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltPort, jspb.Message);
1715
+ if (goog.DEBUG && !COMPILED) {
1716
+ /**
1717
+ * @public
1718
+ * @override
1719
+ */
1720
+ proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltPort.displayName = 'proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltPort';
1721
+ }
1590
1722
 
1591
1723
  /**
1592
1724
  * List of repeated fields within this message type.
@@ -32722,4 +32854,2383 @@ proto.com.lansweeper.discovery.sensor.mac.v1.StorageDrive.prototype.hasSmartStat
32722
32854
  };
32723
32855
 
32724
32856
 
32857
+
32858
+ /**
32859
+ * List of repeated fields within this message type.
32860
+ * @private {!Array<number>}
32861
+ * @const
32862
+ */
32863
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacUSB.repeatedFields_ = [1];
32864
+
32865
+
32866
+
32867
+ if (jspb.Message.GENERATE_TO_OBJECT) {
32868
+ /**
32869
+ * Creates an object representation of this proto.
32870
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
32871
+ * Optional fields that are not set will be set to undefined.
32872
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
32873
+ * For the list of reserved names please see:
32874
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
32875
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
32876
+ * JSPB instance for transitional soy proto support:
32877
+ * http://goto/soy-param-migration
32878
+ * @return {!Object}
32879
+ */
32880
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacUSB.prototype.toObject = function(opt_includeInstance) {
32881
+ return proto.com.lansweeper.discovery.sensor.mac.v1.MacUSB.toObject(opt_includeInstance, this);
32882
+ };
32883
+
32884
+
32885
+ /**
32886
+ * Static version of the {@see toObject} method.
32887
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
32888
+ * the JSPB instance for transitional soy proto support:
32889
+ * http://goto/soy-param-migration
32890
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.MacUSB} msg The msg instance to transform.
32891
+ * @return {!Object}
32892
+ * @suppress {unusedLocalVariables} f is only used for nested messages
32893
+ */
32894
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacUSB.toObject = function(includeInstance, msg) {
32895
+ var f, obj = {
32896
+ entriesList: jspb.Message.toObjectList(msg.getEntriesList(),
32897
+ proto.com.lansweeper.discovery.sensor.mac.v1.USBController.toObject, includeInstance)
32898
+ };
32899
+
32900
+ if (includeInstance) {
32901
+ obj.$jspbMessageInstance = msg;
32902
+ }
32903
+ return obj;
32904
+ };
32905
+ }
32906
+
32907
+
32908
+ /**
32909
+ * Deserializes binary data (in protobuf wire format).
32910
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
32911
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacUSB}
32912
+ */
32913
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacUSB.deserializeBinary = function(bytes) {
32914
+ var reader = new jspb.BinaryReader(bytes);
32915
+ var msg = new proto.com.lansweeper.discovery.sensor.mac.v1.MacUSB;
32916
+ return proto.com.lansweeper.discovery.sensor.mac.v1.MacUSB.deserializeBinaryFromReader(msg, reader);
32917
+ };
32918
+
32919
+
32920
+ /**
32921
+ * Deserializes binary data (in protobuf wire format) from the
32922
+ * given reader into the given message object.
32923
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.MacUSB} msg The message object to deserialize into.
32924
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
32925
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacUSB}
32926
+ */
32927
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacUSB.deserializeBinaryFromReader = function(msg, reader) {
32928
+ while (reader.nextField()) {
32929
+ if (reader.isEndGroup()) {
32930
+ break;
32931
+ }
32932
+ var field = reader.getFieldNumber();
32933
+ switch (field) {
32934
+ case 1:
32935
+ var value = new proto.com.lansweeper.discovery.sensor.mac.v1.USBController;
32936
+ reader.readMessage(value,proto.com.lansweeper.discovery.sensor.mac.v1.USBController.deserializeBinaryFromReader);
32937
+ msg.addEntries(value);
32938
+ break;
32939
+ default:
32940
+ reader.skipField();
32941
+ break;
32942
+ }
32943
+ }
32944
+ return msg;
32945
+ };
32946
+
32947
+
32948
+ /**
32949
+ * Serializes the message to binary data (in protobuf wire format).
32950
+ * @return {!Uint8Array}
32951
+ */
32952
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacUSB.prototype.serializeBinary = function() {
32953
+ var writer = new jspb.BinaryWriter();
32954
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacUSB.serializeBinaryToWriter(this, writer);
32955
+ return writer.getResultBuffer();
32956
+ };
32957
+
32958
+
32959
+ /**
32960
+ * Serializes the given message to binary data (in protobuf wire
32961
+ * format), writing to the given BinaryWriter.
32962
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.MacUSB} message
32963
+ * @param {!jspb.BinaryWriter} writer
32964
+ * @suppress {unusedLocalVariables} f is only used for nested messages
32965
+ */
32966
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacUSB.serializeBinaryToWriter = function(message, writer) {
32967
+ var f = undefined;
32968
+ f = message.getEntriesList();
32969
+ if (f.length > 0) {
32970
+ writer.writeRepeatedMessage(
32971
+ 1,
32972
+ f,
32973
+ proto.com.lansweeper.discovery.sensor.mac.v1.USBController.serializeBinaryToWriter
32974
+ );
32975
+ }
32976
+ };
32977
+
32978
+
32979
+ /**
32980
+ * repeated USBController entries = 1;
32981
+ * @return {!Array<!proto.com.lansweeper.discovery.sensor.mac.v1.USBController>}
32982
+ */
32983
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacUSB.prototype.getEntriesList = function() {
32984
+ return /** @type{!Array<!proto.com.lansweeper.discovery.sensor.mac.v1.USBController>} */ (
32985
+ jspb.Message.getRepeatedWrapperField(this, proto.com.lansweeper.discovery.sensor.mac.v1.USBController, 1));
32986
+ };
32987
+
32988
+
32989
+ /**
32990
+ * @param {!Array<!proto.com.lansweeper.discovery.sensor.mac.v1.USBController>} value
32991
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacUSB} returns this
32992
+ */
32993
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacUSB.prototype.setEntriesList = function(value) {
32994
+ return jspb.Message.setRepeatedWrapperField(this, 1, value);
32995
+ };
32996
+
32997
+
32998
+ /**
32999
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.USBController=} opt_value
33000
+ * @param {number=} opt_index
33001
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.USBController}
33002
+ */
33003
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacUSB.prototype.addEntries = function(opt_value, opt_index) {
33004
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.com.lansweeper.discovery.sensor.mac.v1.USBController, opt_index);
33005
+ };
33006
+
33007
+
33008
+ /**
33009
+ * Clears the list making it empty but non-null.
33010
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacUSB} returns this
33011
+ */
33012
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacUSB.prototype.clearEntriesList = function() {
33013
+ return this.setEntriesList([]);
33014
+ };
33015
+
33016
+
33017
+
33018
+ /**
33019
+ * List of repeated fields within this message type.
33020
+ * @private {!Array<number>}
33021
+ * @const
33022
+ */
33023
+ proto.com.lansweeper.discovery.sensor.mac.v1.USBController.repeatedFields_ = [6];
33024
+
33025
+
33026
+
33027
+ if (jspb.Message.GENERATE_TO_OBJECT) {
33028
+ /**
33029
+ * Creates an object representation of this proto.
33030
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
33031
+ * Optional fields that are not set will be set to undefined.
33032
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
33033
+ * For the list of reserved names please see:
33034
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
33035
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
33036
+ * JSPB instance for transitional soy proto support:
33037
+ * http://goto/soy-param-migration
33038
+ * @return {!Object}
33039
+ */
33040
+ proto.com.lansweeper.discovery.sensor.mac.v1.USBController.prototype.toObject = function(opt_includeInstance) {
33041
+ return proto.com.lansweeper.discovery.sensor.mac.v1.USBController.toObject(opt_includeInstance, this);
33042
+ };
33043
+
33044
+
33045
+ /**
33046
+ * Static version of the {@see toObject} method.
33047
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
33048
+ * the JSPB instance for transitional soy proto support:
33049
+ * http://goto/soy-param-migration
33050
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.USBController} msg The msg instance to transform.
33051
+ * @return {!Object}
33052
+ * @suppress {unusedLocalVariables} f is only used for nested messages
33053
+ */
33054
+ proto.com.lansweeper.discovery.sensor.mac.v1.USBController.toObject = function(includeInstance, msg) {
33055
+ var f, obj = {
33056
+ name: (f = msg.getName()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
33057
+ hostControllerDriver: (f = msg.getHostControllerDriver()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
33058
+ pciDeviceId: (f = msg.getPciDeviceId()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
33059
+ pciRevisionId: (f = msg.getPciRevisionId()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
33060
+ pciVendorId: (f = msg.getPciVendorId()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
33061
+ devicesList: jspb.Message.toObjectList(msg.getDevicesList(),
33062
+ proto.com.lansweeper.discovery.sensor.mac.v1.USBDevice.toObject, includeInstance)
33063
+ };
33064
+
33065
+ if (includeInstance) {
33066
+ obj.$jspbMessageInstance = msg;
33067
+ }
33068
+ return obj;
33069
+ };
33070
+ }
33071
+
33072
+
33073
+ /**
33074
+ * Deserializes binary data (in protobuf wire format).
33075
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
33076
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.USBController}
33077
+ */
33078
+ proto.com.lansweeper.discovery.sensor.mac.v1.USBController.deserializeBinary = function(bytes) {
33079
+ var reader = new jspb.BinaryReader(bytes);
33080
+ var msg = new proto.com.lansweeper.discovery.sensor.mac.v1.USBController;
33081
+ return proto.com.lansweeper.discovery.sensor.mac.v1.USBController.deserializeBinaryFromReader(msg, reader);
33082
+ };
33083
+
33084
+
33085
+ /**
33086
+ * Deserializes binary data (in protobuf wire format) from the
33087
+ * given reader into the given message object.
33088
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.USBController} msg The message object to deserialize into.
33089
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
33090
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.USBController}
33091
+ */
33092
+ proto.com.lansweeper.discovery.sensor.mac.v1.USBController.deserializeBinaryFromReader = function(msg, reader) {
33093
+ while (reader.nextField()) {
33094
+ if (reader.isEndGroup()) {
33095
+ break;
33096
+ }
33097
+ var field = reader.getFieldNumber();
33098
+ switch (field) {
33099
+ case 1:
33100
+ var value = new google_protobuf_wrappers_pb.StringValue;
33101
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
33102
+ msg.setName(value);
33103
+ break;
33104
+ case 2:
33105
+ var value = new google_protobuf_wrappers_pb.StringValue;
33106
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
33107
+ msg.setHostControllerDriver(value);
33108
+ break;
33109
+ case 3:
33110
+ var value = new google_protobuf_wrappers_pb.StringValue;
33111
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
33112
+ msg.setPciDeviceId(value);
33113
+ break;
33114
+ case 4:
33115
+ var value = new google_protobuf_wrappers_pb.StringValue;
33116
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
33117
+ msg.setPciRevisionId(value);
33118
+ break;
33119
+ case 5:
33120
+ var value = new google_protobuf_wrappers_pb.StringValue;
33121
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
33122
+ msg.setPciVendorId(value);
33123
+ break;
33124
+ case 6:
33125
+ var value = new proto.com.lansweeper.discovery.sensor.mac.v1.USBDevice;
33126
+ reader.readMessage(value,proto.com.lansweeper.discovery.sensor.mac.v1.USBDevice.deserializeBinaryFromReader);
33127
+ msg.addDevices(value);
33128
+ break;
33129
+ default:
33130
+ reader.skipField();
33131
+ break;
33132
+ }
33133
+ }
33134
+ return msg;
33135
+ };
33136
+
33137
+
33138
+ /**
33139
+ * Serializes the message to binary data (in protobuf wire format).
33140
+ * @return {!Uint8Array}
33141
+ */
33142
+ proto.com.lansweeper.discovery.sensor.mac.v1.USBController.prototype.serializeBinary = function() {
33143
+ var writer = new jspb.BinaryWriter();
33144
+ proto.com.lansweeper.discovery.sensor.mac.v1.USBController.serializeBinaryToWriter(this, writer);
33145
+ return writer.getResultBuffer();
33146
+ };
33147
+
33148
+
33149
+ /**
33150
+ * Serializes the given message to binary data (in protobuf wire
33151
+ * format), writing to the given BinaryWriter.
33152
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.USBController} message
33153
+ * @param {!jspb.BinaryWriter} writer
33154
+ * @suppress {unusedLocalVariables} f is only used for nested messages
33155
+ */
33156
+ proto.com.lansweeper.discovery.sensor.mac.v1.USBController.serializeBinaryToWriter = function(message, writer) {
33157
+ var f = undefined;
33158
+ f = message.getName();
33159
+ if (f != null) {
33160
+ writer.writeMessage(
33161
+ 1,
33162
+ f,
33163
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
33164
+ );
33165
+ }
33166
+ f = message.getHostControllerDriver();
33167
+ if (f != null) {
33168
+ writer.writeMessage(
33169
+ 2,
33170
+ f,
33171
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
33172
+ );
33173
+ }
33174
+ f = message.getPciDeviceId();
33175
+ if (f != null) {
33176
+ writer.writeMessage(
33177
+ 3,
33178
+ f,
33179
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
33180
+ );
33181
+ }
33182
+ f = message.getPciRevisionId();
33183
+ if (f != null) {
33184
+ writer.writeMessage(
33185
+ 4,
33186
+ f,
33187
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
33188
+ );
33189
+ }
33190
+ f = message.getPciVendorId();
33191
+ if (f != null) {
33192
+ writer.writeMessage(
33193
+ 5,
33194
+ f,
33195
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
33196
+ );
33197
+ }
33198
+ f = message.getDevicesList();
33199
+ if (f.length > 0) {
33200
+ writer.writeRepeatedMessage(
33201
+ 6,
33202
+ f,
33203
+ proto.com.lansweeper.discovery.sensor.mac.v1.USBDevice.serializeBinaryToWriter
33204
+ );
33205
+ }
33206
+ };
33207
+
33208
+
33209
+ /**
33210
+ * optional google.protobuf.StringValue name = 1;
33211
+ * @return {?proto.google.protobuf.StringValue}
33212
+ */
33213
+ proto.com.lansweeper.discovery.sensor.mac.v1.USBController.prototype.getName = function() {
33214
+ return /** @type{?proto.google.protobuf.StringValue} */ (
33215
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 1));
33216
+ };
33217
+
33218
+
33219
+ /**
33220
+ * @param {?proto.google.protobuf.StringValue|undefined} value
33221
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.USBController} returns this
33222
+ */
33223
+ proto.com.lansweeper.discovery.sensor.mac.v1.USBController.prototype.setName = function(value) {
33224
+ return jspb.Message.setWrapperField(this, 1, value);
33225
+ };
33226
+
33227
+
33228
+ /**
33229
+ * Clears the message field making it undefined.
33230
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.USBController} returns this
33231
+ */
33232
+ proto.com.lansweeper.discovery.sensor.mac.v1.USBController.prototype.clearName = function() {
33233
+ return this.setName(undefined);
33234
+ };
33235
+
33236
+
33237
+ /**
33238
+ * Returns whether this field is set.
33239
+ * @return {boolean}
33240
+ */
33241
+ proto.com.lansweeper.discovery.sensor.mac.v1.USBController.prototype.hasName = function() {
33242
+ return jspb.Message.getField(this, 1) != null;
33243
+ };
33244
+
33245
+
33246
+ /**
33247
+ * optional google.protobuf.StringValue host_controller_driver = 2;
33248
+ * @return {?proto.google.protobuf.StringValue}
33249
+ */
33250
+ proto.com.lansweeper.discovery.sensor.mac.v1.USBController.prototype.getHostControllerDriver = function() {
33251
+ return /** @type{?proto.google.protobuf.StringValue} */ (
33252
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 2));
33253
+ };
33254
+
33255
+
33256
+ /**
33257
+ * @param {?proto.google.protobuf.StringValue|undefined} value
33258
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.USBController} returns this
33259
+ */
33260
+ proto.com.lansweeper.discovery.sensor.mac.v1.USBController.prototype.setHostControllerDriver = function(value) {
33261
+ return jspb.Message.setWrapperField(this, 2, value);
33262
+ };
33263
+
33264
+
33265
+ /**
33266
+ * Clears the message field making it undefined.
33267
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.USBController} returns this
33268
+ */
33269
+ proto.com.lansweeper.discovery.sensor.mac.v1.USBController.prototype.clearHostControllerDriver = function() {
33270
+ return this.setHostControllerDriver(undefined);
33271
+ };
33272
+
33273
+
33274
+ /**
33275
+ * Returns whether this field is set.
33276
+ * @return {boolean}
33277
+ */
33278
+ proto.com.lansweeper.discovery.sensor.mac.v1.USBController.prototype.hasHostControllerDriver = function() {
33279
+ return jspb.Message.getField(this, 2) != null;
33280
+ };
33281
+
33282
+
33283
+ /**
33284
+ * optional google.protobuf.StringValue pci_device_id = 3;
33285
+ * @return {?proto.google.protobuf.StringValue}
33286
+ */
33287
+ proto.com.lansweeper.discovery.sensor.mac.v1.USBController.prototype.getPciDeviceId = function() {
33288
+ return /** @type{?proto.google.protobuf.StringValue} */ (
33289
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 3));
33290
+ };
33291
+
33292
+
33293
+ /**
33294
+ * @param {?proto.google.protobuf.StringValue|undefined} value
33295
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.USBController} returns this
33296
+ */
33297
+ proto.com.lansweeper.discovery.sensor.mac.v1.USBController.prototype.setPciDeviceId = function(value) {
33298
+ return jspb.Message.setWrapperField(this, 3, value);
33299
+ };
33300
+
33301
+
33302
+ /**
33303
+ * Clears the message field making it undefined.
33304
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.USBController} returns this
33305
+ */
33306
+ proto.com.lansweeper.discovery.sensor.mac.v1.USBController.prototype.clearPciDeviceId = function() {
33307
+ return this.setPciDeviceId(undefined);
33308
+ };
33309
+
33310
+
33311
+ /**
33312
+ * Returns whether this field is set.
33313
+ * @return {boolean}
33314
+ */
33315
+ proto.com.lansweeper.discovery.sensor.mac.v1.USBController.prototype.hasPciDeviceId = function() {
33316
+ return jspb.Message.getField(this, 3) != null;
33317
+ };
33318
+
33319
+
33320
+ /**
33321
+ * optional google.protobuf.StringValue pci_revision_id = 4;
33322
+ * @return {?proto.google.protobuf.StringValue}
33323
+ */
33324
+ proto.com.lansweeper.discovery.sensor.mac.v1.USBController.prototype.getPciRevisionId = function() {
33325
+ return /** @type{?proto.google.protobuf.StringValue} */ (
33326
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 4));
33327
+ };
33328
+
33329
+
33330
+ /**
33331
+ * @param {?proto.google.protobuf.StringValue|undefined} value
33332
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.USBController} returns this
33333
+ */
33334
+ proto.com.lansweeper.discovery.sensor.mac.v1.USBController.prototype.setPciRevisionId = function(value) {
33335
+ return jspb.Message.setWrapperField(this, 4, value);
33336
+ };
33337
+
33338
+
33339
+ /**
33340
+ * Clears the message field making it undefined.
33341
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.USBController} returns this
33342
+ */
33343
+ proto.com.lansweeper.discovery.sensor.mac.v1.USBController.prototype.clearPciRevisionId = function() {
33344
+ return this.setPciRevisionId(undefined);
33345
+ };
33346
+
33347
+
33348
+ /**
33349
+ * Returns whether this field is set.
33350
+ * @return {boolean}
33351
+ */
33352
+ proto.com.lansweeper.discovery.sensor.mac.v1.USBController.prototype.hasPciRevisionId = function() {
33353
+ return jspb.Message.getField(this, 4) != null;
33354
+ };
33355
+
33356
+
33357
+ /**
33358
+ * optional google.protobuf.StringValue pci_vendor_id = 5;
33359
+ * @return {?proto.google.protobuf.StringValue}
33360
+ */
33361
+ proto.com.lansweeper.discovery.sensor.mac.v1.USBController.prototype.getPciVendorId = function() {
33362
+ return /** @type{?proto.google.protobuf.StringValue} */ (
33363
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 5));
33364
+ };
33365
+
33366
+
33367
+ /**
33368
+ * @param {?proto.google.protobuf.StringValue|undefined} value
33369
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.USBController} returns this
33370
+ */
33371
+ proto.com.lansweeper.discovery.sensor.mac.v1.USBController.prototype.setPciVendorId = function(value) {
33372
+ return jspb.Message.setWrapperField(this, 5, value);
33373
+ };
33374
+
33375
+
33376
+ /**
33377
+ * Clears the message field making it undefined.
33378
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.USBController} returns this
33379
+ */
33380
+ proto.com.lansweeper.discovery.sensor.mac.v1.USBController.prototype.clearPciVendorId = function() {
33381
+ return this.setPciVendorId(undefined);
33382
+ };
33383
+
33384
+
33385
+ /**
33386
+ * Returns whether this field is set.
33387
+ * @return {boolean}
33388
+ */
33389
+ proto.com.lansweeper.discovery.sensor.mac.v1.USBController.prototype.hasPciVendorId = function() {
33390
+ return jspb.Message.getField(this, 5) != null;
33391
+ };
33392
+
33393
+
33394
+ /**
33395
+ * repeated USBDevice devices = 6;
33396
+ * @return {!Array<!proto.com.lansweeper.discovery.sensor.mac.v1.USBDevice>}
33397
+ */
33398
+ proto.com.lansweeper.discovery.sensor.mac.v1.USBController.prototype.getDevicesList = function() {
33399
+ return /** @type{!Array<!proto.com.lansweeper.discovery.sensor.mac.v1.USBDevice>} */ (
33400
+ jspb.Message.getRepeatedWrapperField(this, proto.com.lansweeper.discovery.sensor.mac.v1.USBDevice, 6));
33401
+ };
33402
+
33403
+
33404
+ /**
33405
+ * @param {!Array<!proto.com.lansweeper.discovery.sensor.mac.v1.USBDevice>} value
33406
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.USBController} returns this
33407
+ */
33408
+ proto.com.lansweeper.discovery.sensor.mac.v1.USBController.prototype.setDevicesList = function(value) {
33409
+ return jspb.Message.setRepeatedWrapperField(this, 6, value);
33410
+ };
33411
+
33412
+
33413
+ /**
33414
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.USBDevice=} opt_value
33415
+ * @param {number=} opt_index
33416
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.USBDevice}
33417
+ */
33418
+ proto.com.lansweeper.discovery.sensor.mac.v1.USBController.prototype.addDevices = function(opt_value, opt_index) {
33419
+ return jspb.Message.addToRepeatedWrapperField(this, 6, opt_value, proto.com.lansweeper.discovery.sensor.mac.v1.USBDevice, opt_index);
33420
+ };
33421
+
33422
+
33423
+ /**
33424
+ * Clears the list making it empty but non-null.
33425
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.USBController} returns this
33426
+ */
33427
+ proto.com.lansweeper.discovery.sensor.mac.v1.USBController.prototype.clearDevicesList = function() {
33428
+ return this.setDevicesList([]);
33429
+ };
33430
+
33431
+
33432
+
33433
+ /**
33434
+ * List of repeated fields within this message type.
33435
+ * @private {!Array<number>}
33436
+ * @const
33437
+ */
33438
+ proto.com.lansweeper.discovery.sensor.mac.v1.USBDevice.repeatedFields_ = [13];
33439
+
33440
+
33441
+
33442
+ if (jspb.Message.GENERATE_TO_OBJECT) {
33443
+ /**
33444
+ * Creates an object representation of this proto.
33445
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
33446
+ * Optional fields that are not set will be set to undefined.
33447
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
33448
+ * For the list of reserved names please see:
33449
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
33450
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
33451
+ * JSPB instance for transitional soy proto support:
33452
+ * http://goto/soy-param-migration
33453
+ * @return {!Object}
33454
+ */
33455
+ proto.com.lansweeper.discovery.sensor.mac.v1.USBDevice.prototype.toObject = function(opt_includeInstance) {
33456
+ return proto.com.lansweeper.discovery.sensor.mac.v1.USBDevice.toObject(opt_includeInstance, this);
33457
+ };
33458
+
33459
+
33460
+ /**
33461
+ * Static version of the {@see toObject} method.
33462
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
33463
+ * the JSPB instance for transitional soy proto support:
33464
+ * http://goto/soy-param-migration
33465
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.USBDevice} msg The msg instance to transform.
33466
+ * @return {!Object}
33467
+ * @suppress {unusedLocalVariables} f is only used for nested messages
33468
+ */
33469
+ proto.com.lansweeper.discovery.sensor.mac.v1.USBDevice.toObject = function(includeInstance, msg) {
33470
+ var f, obj = {
33471
+ name: (f = msg.getName()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
33472
+ bcdDeviceVersion: (f = msg.getBcdDeviceVersion()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
33473
+ builtInDevice: (f = msg.getBuiltInDevice()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
33474
+ busPowerAvailable: (f = msg.getBusPowerAvailable()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
33475
+ busPowerUsed: (f = msg.getBusPowerUsed()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
33476
+ deviceSpeed: (f = msg.getDeviceSpeed()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
33477
+ extraCurrentUsed: (f = msg.getExtraCurrentUsed()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
33478
+ locationId: (f = msg.getLocationId()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
33479
+ manufacturer: (f = msg.getManufacturer()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
33480
+ productId: (f = msg.getProductId()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
33481
+ serialNumber: (f = msg.getSerialNumber()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
33482
+ vendorId: (f = msg.getVendorId()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
33483
+ subDevicesList: jspb.Message.toObjectList(msg.getSubDevicesList(),
33484
+ proto.com.lansweeper.discovery.sensor.mac.v1.USBDevice.toObject, includeInstance)
33485
+ };
33486
+
33487
+ if (includeInstance) {
33488
+ obj.$jspbMessageInstance = msg;
33489
+ }
33490
+ return obj;
33491
+ };
33492
+ }
33493
+
33494
+
33495
+ /**
33496
+ * Deserializes binary data (in protobuf wire format).
33497
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
33498
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.USBDevice}
33499
+ */
33500
+ proto.com.lansweeper.discovery.sensor.mac.v1.USBDevice.deserializeBinary = function(bytes) {
33501
+ var reader = new jspb.BinaryReader(bytes);
33502
+ var msg = new proto.com.lansweeper.discovery.sensor.mac.v1.USBDevice;
33503
+ return proto.com.lansweeper.discovery.sensor.mac.v1.USBDevice.deserializeBinaryFromReader(msg, reader);
33504
+ };
33505
+
33506
+
33507
+ /**
33508
+ * Deserializes binary data (in protobuf wire format) from the
33509
+ * given reader into the given message object.
33510
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.USBDevice} msg The message object to deserialize into.
33511
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
33512
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.USBDevice}
33513
+ */
33514
+ proto.com.lansweeper.discovery.sensor.mac.v1.USBDevice.deserializeBinaryFromReader = function(msg, reader) {
33515
+ while (reader.nextField()) {
33516
+ if (reader.isEndGroup()) {
33517
+ break;
33518
+ }
33519
+ var field = reader.getFieldNumber();
33520
+ switch (field) {
33521
+ case 1:
33522
+ var value = new google_protobuf_wrappers_pb.StringValue;
33523
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
33524
+ msg.setName(value);
33525
+ break;
33526
+ case 2:
33527
+ var value = new google_protobuf_wrappers_pb.StringValue;
33528
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
33529
+ msg.setBcdDeviceVersion(value);
33530
+ break;
33531
+ case 3:
33532
+ var value = new google_protobuf_wrappers_pb.StringValue;
33533
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
33534
+ msg.setBuiltInDevice(value);
33535
+ break;
33536
+ case 4:
33537
+ var value = new google_protobuf_wrappers_pb.StringValue;
33538
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
33539
+ msg.setBusPowerAvailable(value);
33540
+ break;
33541
+ case 5:
33542
+ var value = new google_protobuf_wrappers_pb.StringValue;
33543
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
33544
+ msg.setBusPowerUsed(value);
33545
+ break;
33546
+ case 6:
33547
+ var value = new google_protobuf_wrappers_pb.StringValue;
33548
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
33549
+ msg.setDeviceSpeed(value);
33550
+ break;
33551
+ case 7:
33552
+ var value = new google_protobuf_wrappers_pb.StringValue;
33553
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
33554
+ msg.setExtraCurrentUsed(value);
33555
+ break;
33556
+ case 8:
33557
+ var value = new google_protobuf_wrappers_pb.StringValue;
33558
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
33559
+ msg.setLocationId(value);
33560
+ break;
33561
+ case 9:
33562
+ var value = new google_protobuf_wrappers_pb.StringValue;
33563
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
33564
+ msg.setManufacturer(value);
33565
+ break;
33566
+ case 10:
33567
+ var value = new google_protobuf_wrappers_pb.StringValue;
33568
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
33569
+ msg.setProductId(value);
33570
+ break;
33571
+ case 11:
33572
+ var value = new google_protobuf_wrappers_pb.StringValue;
33573
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
33574
+ msg.setSerialNumber(value);
33575
+ break;
33576
+ case 12:
33577
+ var value = new google_protobuf_wrappers_pb.StringValue;
33578
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
33579
+ msg.setVendorId(value);
33580
+ break;
33581
+ case 13:
33582
+ var value = new proto.com.lansweeper.discovery.sensor.mac.v1.USBDevice;
33583
+ reader.readMessage(value,proto.com.lansweeper.discovery.sensor.mac.v1.USBDevice.deserializeBinaryFromReader);
33584
+ msg.addSubDevices(value);
33585
+ break;
33586
+ default:
33587
+ reader.skipField();
33588
+ break;
33589
+ }
33590
+ }
33591
+ return msg;
33592
+ };
33593
+
33594
+
33595
+ /**
33596
+ * Serializes the message to binary data (in protobuf wire format).
33597
+ * @return {!Uint8Array}
33598
+ */
33599
+ proto.com.lansweeper.discovery.sensor.mac.v1.USBDevice.prototype.serializeBinary = function() {
33600
+ var writer = new jspb.BinaryWriter();
33601
+ proto.com.lansweeper.discovery.sensor.mac.v1.USBDevice.serializeBinaryToWriter(this, writer);
33602
+ return writer.getResultBuffer();
33603
+ };
33604
+
33605
+
33606
+ /**
33607
+ * Serializes the given message to binary data (in protobuf wire
33608
+ * format), writing to the given BinaryWriter.
33609
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.USBDevice} message
33610
+ * @param {!jspb.BinaryWriter} writer
33611
+ * @suppress {unusedLocalVariables} f is only used for nested messages
33612
+ */
33613
+ proto.com.lansweeper.discovery.sensor.mac.v1.USBDevice.serializeBinaryToWriter = function(message, writer) {
33614
+ var f = undefined;
33615
+ f = message.getName();
33616
+ if (f != null) {
33617
+ writer.writeMessage(
33618
+ 1,
33619
+ f,
33620
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
33621
+ );
33622
+ }
33623
+ f = message.getBcdDeviceVersion();
33624
+ if (f != null) {
33625
+ writer.writeMessage(
33626
+ 2,
33627
+ f,
33628
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
33629
+ );
33630
+ }
33631
+ f = message.getBuiltInDevice();
33632
+ if (f != null) {
33633
+ writer.writeMessage(
33634
+ 3,
33635
+ f,
33636
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
33637
+ );
33638
+ }
33639
+ f = message.getBusPowerAvailable();
33640
+ if (f != null) {
33641
+ writer.writeMessage(
33642
+ 4,
33643
+ f,
33644
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
33645
+ );
33646
+ }
33647
+ f = message.getBusPowerUsed();
33648
+ if (f != null) {
33649
+ writer.writeMessage(
33650
+ 5,
33651
+ f,
33652
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
33653
+ );
33654
+ }
33655
+ f = message.getDeviceSpeed();
33656
+ if (f != null) {
33657
+ writer.writeMessage(
33658
+ 6,
33659
+ f,
33660
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
33661
+ );
33662
+ }
33663
+ f = message.getExtraCurrentUsed();
33664
+ if (f != null) {
33665
+ writer.writeMessage(
33666
+ 7,
33667
+ f,
33668
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
33669
+ );
33670
+ }
33671
+ f = message.getLocationId();
33672
+ if (f != null) {
33673
+ writer.writeMessage(
33674
+ 8,
33675
+ f,
33676
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
33677
+ );
33678
+ }
33679
+ f = message.getManufacturer();
33680
+ if (f != null) {
33681
+ writer.writeMessage(
33682
+ 9,
33683
+ f,
33684
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
33685
+ );
33686
+ }
33687
+ f = message.getProductId();
33688
+ if (f != null) {
33689
+ writer.writeMessage(
33690
+ 10,
33691
+ f,
33692
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
33693
+ );
33694
+ }
33695
+ f = message.getSerialNumber();
33696
+ if (f != null) {
33697
+ writer.writeMessage(
33698
+ 11,
33699
+ f,
33700
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
33701
+ );
33702
+ }
33703
+ f = message.getVendorId();
33704
+ if (f != null) {
33705
+ writer.writeMessage(
33706
+ 12,
33707
+ f,
33708
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
33709
+ );
33710
+ }
33711
+ f = message.getSubDevicesList();
33712
+ if (f.length > 0) {
33713
+ writer.writeRepeatedMessage(
33714
+ 13,
33715
+ f,
33716
+ proto.com.lansweeper.discovery.sensor.mac.v1.USBDevice.serializeBinaryToWriter
33717
+ );
33718
+ }
33719
+ };
33720
+
33721
+
33722
+ /**
33723
+ * optional google.protobuf.StringValue name = 1;
33724
+ * @return {?proto.google.protobuf.StringValue}
33725
+ */
33726
+ proto.com.lansweeper.discovery.sensor.mac.v1.USBDevice.prototype.getName = function() {
33727
+ return /** @type{?proto.google.protobuf.StringValue} */ (
33728
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 1));
33729
+ };
33730
+
33731
+
33732
+ /**
33733
+ * @param {?proto.google.protobuf.StringValue|undefined} value
33734
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.USBDevice} returns this
33735
+ */
33736
+ proto.com.lansweeper.discovery.sensor.mac.v1.USBDevice.prototype.setName = function(value) {
33737
+ return jspb.Message.setWrapperField(this, 1, value);
33738
+ };
33739
+
33740
+
33741
+ /**
33742
+ * Clears the message field making it undefined.
33743
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.USBDevice} returns this
33744
+ */
33745
+ proto.com.lansweeper.discovery.sensor.mac.v1.USBDevice.prototype.clearName = function() {
33746
+ return this.setName(undefined);
33747
+ };
33748
+
33749
+
33750
+ /**
33751
+ * Returns whether this field is set.
33752
+ * @return {boolean}
33753
+ */
33754
+ proto.com.lansweeper.discovery.sensor.mac.v1.USBDevice.prototype.hasName = function() {
33755
+ return jspb.Message.getField(this, 1) != null;
33756
+ };
33757
+
33758
+
33759
+ /**
33760
+ * optional google.protobuf.StringValue bcd_device_version = 2;
33761
+ * @return {?proto.google.protobuf.StringValue}
33762
+ */
33763
+ proto.com.lansweeper.discovery.sensor.mac.v1.USBDevice.prototype.getBcdDeviceVersion = function() {
33764
+ return /** @type{?proto.google.protobuf.StringValue} */ (
33765
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 2));
33766
+ };
33767
+
33768
+
33769
+ /**
33770
+ * @param {?proto.google.protobuf.StringValue|undefined} value
33771
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.USBDevice} returns this
33772
+ */
33773
+ proto.com.lansweeper.discovery.sensor.mac.v1.USBDevice.prototype.setBcdDeviceVersion = function(value) {
33774
+ return jspb.Message.setWrapperField(this, 2, value);
33775
+ };
33776
+
33777
+
33778
+ /**
33779
+ * Clears the message field making it undefined.
33780
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.USBDevice} returns this
33781
+ */
33782
+ proto.com.lansweeper.discovery.sensor.mac.v1.USBDevice.prototype.clearBcdDeviceVersion = function() {
33783
+ return this.setBcdDeviceVersion(undefined);
33784
+ };
33785
+
33786
+
33787
+ /**
33788
+ * Returns whether this field is set.
33789
+ * @return {boolean}
33790
+ */
33791
+ proto.com.lansweeper.discovery.sensor.mac.v1.USBDevice.prototype.hasBcdDeviceVersion = function() {
33792
+ return jspb.Message.getField(this, 2) != null;
33793
+ };
33794
+
33795
+
33796
+ /**
33797
+ * optional google.protobuf.StringValue built_in_device = 3;
33798
+ * @return {?proto.google.protobuf.StringValue}
33799
+ */
33800
+ proto.com.lansweeper.discovery.sensor.mac.v1.USBDevice.prototype.getBuiltInDevice = function() {
33801
+ return /** @type{?proto.google.protobuf.StringValue} */ (
33802
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 3));
33803
+ };
33804
+
33805
+
33806
+ /**
33807
+ * @param {?proto.google.protobuf.StringValue|undefined} value
33808
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.USBDevice} returns this
33809
+ */
33810
+ proto.com.lansweeper.discovery.sensor.mac.v1.USBDevice.prototype.setBuiltInDevice = function(value) {
33811
+ return jspb.Message.setWrapperField(this, 3, value);
33812
+ };
33813
+
33814
+
33815
+ /**
33816
+ * Clears the message field making it undefined.
33817
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.USBDevice} returns this
33818
+ */
33819
+ proto.com.lansweeper.discovery.sensor.mac.v1.USBDevice.prototype.clearBuiltInDevice = function() {
33820
+ return this.setBuiltInDevice(undefined);
33821
+ };
33822
+
33823
+
33824
+ /**
33825
+ * Returns whether this field is set.
33826
+ * @return {boolean}
33827
+ */
33828
+ proto.com.lansweeper.discovery.sensor.mac.v1.USBDevice.prototype.hasBuiltInDevice = function() {
33829
+ return jspb.Message.getField(this, 3) != null;
33830
+ };
33831
+
33832
+
33833
+ /**
33834
+ * optional google.protobuf.StringValue bus_power_available = 4;
33835
+ * @return {?proto.google.protobuf.StringValue}
33836
+ */
33837
+ proto.com.lansweeper.discovery.sensor.mac.v1.USBDevice.prototype.getBusPowerAvailable = function() {
33838
+ return /** @type{?proto.google.protobuf.StringValue} */ (
33839
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 4));
33840
+ };
33841
+
33842
+
33843
+ /**
33844
+ * @param {?proto.google.protobuf.StringValue|undefined} value
33845
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.USBDevice} returns this
33846
+ */
33847
+ proto.com.lansweeper.discovery.sensor.mac.v1.USBDevice.prototype.setBusPowerAvailable = function(value) {
33848
+ return jspb.Message.setWrapperField(this, 4, value);
33849
+ };
33850
+
33851
+
33852
+ /**
33853
+ * Clears the message field making it undefined.
33854
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.USBDevice} returns this
33855
+ */
33856
+ proto.com.lansweeper.discovery.sensor.mac.v1.USBDevice.prototype.clearBusPowerAvailable = function() {
33857
+ return this.setBusPowerAvailable(undefined);
33858
+ };
33859
+
33860
+
33861
+ /**
33862
+ * Returns whether this field is set.
33863
+ * @return {boolean}
33864
+ */
33865
+ proto.com.lansweeper.discovery.sensor.mac.v1.USBDevice.prototype.hasBusPowerAvailable = function() {
33866
+ return jspb.Message.getField(this, 4) != null;
33867
+ };
33868
+
33869
+
33870
+ /**
33871
+ * optional google.protobuf.StringValue bus_power_used = 5;
33872
+ * @return {?proto.google.protobuf.StringValue}
33873
+ */
33874
+ proto.com.lansweeper.discovery.sensor.mac.v1.USBDevice.prototype.getBusPowerUsed = function() {
33875
+ return /** @type{?proto.google.protobuf.StringValue} */ (
33876
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 5));
33877
+ };
33878
+
33879
+
33880
+ /**
33881
+ * @param {?proto.google.protobuf.StringValue|undefined} value
33882
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.USBDevice} returns this
33883
+ */
33884
+ proto.com.lansweeper.discovery.sensor.mac.v1.USBDevice.prototype.setBusPowerUsed = function(value) {
33885
+ return jspb.Message.setWrapperField(this, 5, value);
33886
+ };
33887
+
33888
+
33889
+ /**
33890
+ * Clears the message field making it undefined.
33891
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.USBDevice} returns this
33892
+ */
33893
+ proto.com.lansweeper.discovery.sensor.mac.v1.USBDevice.prototype.clearBusPowerUsed = function() {
33894
+ return this.setBusPowerUsed(undefined);
33895
+ };
33896
+
33897
+
33898
+ /**
33899
+ * Returns whether this field is set.
33900
+ * @return {boolean}
33901
+ */
33902
+ proto.com.lansweeper.discovery.sensor.mac.v1.USBDevice.prototype.hasBusPowerUsed = function() {
33903
+ return jspb.Message.getField(this, 5) != null;
33904
+ };
33905
+
33906
+
33907
+ /**
33908
+ * optional google.protobuf.StringValue device_speed = 6;
33909
+ * @return {?proto.google.protobuf.StringValue}
33910
+ */
33911
+ proto.com.lansweeper.discovery.sensor.mac.v1.USBDevice.prototype.getDeviceSpeed = function() {
33912
+ return /** @type{?proto.google.protobuf.StringValue} */ (
33913
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 6));
33914
+ };
33915
+
33916
+
33917
+ /**
33918
+ * @param {?proto.google.protobuf.StringValue|undefined} value
33919
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.USBDevice} returns this
33920
+ */
33921
+ proto.com.lansweeper.discovery.sensor.mac.v1.USBDevice.prototype.setDeviceSpeed = function(value) {
33922
+ return jspb.Message.setWrapperField(this, 6, value);
33923
+ };
33924
+
33925
+
33926
+ /**
33927
+ * Clears the message field making it undefined.
33928
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.USBDevice} returns this
33929
+ */
33930
+ proto.com.lansweeper.discovery.sensor.mac.v1.USBDevice.prototype.clearDeviceSpeed = function() {
33931
+ return this.setDeviceSpeed(undefined);
33932
+ };
33933
+
33934
+
33935
+ /**
33936
+ * Returns whether this field is set.
33937
+ * @return {boolean}
33938
+ */
33939
+ proto.com.lansweeper.discovery.sensor.mac.v1.USBDevice.prototype.hasDeviceSpeed = function() {
33940
+ return jspb.Message.getField(this, 6) != null;
33941
+ };
33942
+
33943
+
33944
+ /**
33945
+ * optional google.protobuf.StringValue extra_current_used = 7;
33946
+ * @return {?proto.google.protobuf.StringValue}
33947
+ */
33948
+ proto.com.lansweeper.discovery.sensor.mac.v1.USBDevice.prototype.getExtraCurrentUsed = function() {
33949
+ return /** @type{?proto.google.protobuf.StringValue} */ (
33950
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 7));
33951
+ };
33952
+
33953
+
33954
+ /**
33955
+ * @param {?proto.google.protobuf.StringValue|undefined} value
33956
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.USBDevice} returns this
33957
+ */
33958
+ proto.com.lansweeper.discovery.sensor.mac.v1.USBDevice.prototype.setExtraCurrentUsed = function(value) {
33959
+ return jspb.Message.setWrapperField(this, 7, value);
33960
+ };
33961
+
33962
+
33963
+ /**
33964
+ * Clears the message field making it undefined.
33965
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.USBDevice} returns this
33966
+ */
33967
+ proto.com.lansweeper.discovery.sensor.mac.v1.USBDevice.prototype.clearExtraCurrentUsed = function() {
33968
+ return this.setExtraCurrentUsed(undefined);
33969
+ };
33970
+
33971
+
33972
+ /**
33973
+ * Returns whether this field is set.
33974
+ * @return {boolean}
33975
+ */
33976
+ proto.com.lansweeper.discovery.sensor.mac.v1.USBDevice.prototype.hasExtraCurrentUsed = function() {
33977
+ return jspb.Message.getField(this, 7) != null;
33978
+ };
33979
+
33980
+
33981
+ /**
33982
+ * optional google.protobuf.StringValue location_id = 8;
33983
+ * @return {?proto.google.protobuf.StringValue}
33984
+ */
33985
+ proto.com.lansweeper.discovery.sensor.mac.v1.USBDevice.prototype.getLocationId = function() {
33986
+ return /** @type{?proto.google.protobuf.StringValue} */ (
33987
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 8));
33988
+ };
33989
+
33990
+
33991
+ /**
33992
+ * @param {?proto.google.protobuf.StringValue|undefined} value
33993
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.USBDevice} returns this
33994
+ */
33995
+ proto.com.lansweeper.discovery.sensor.mac.v1.USBDevice.prototype.setLocationId = function(value) {
33996
+ return jspb.Message.setWrapperField(this, 8, value);
33997
+ };
33998
+
33999
+
34000
+ /**
34001
+ * Clears the message field making it undefined.
34002
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.USBDevice} returns this
34003
+ */
34004
+ proto.com.lansweeper.discovery.sensor.mac.v1.USBDevice.prototype.clearLocationId = function() {
34005
+ return this.setLocationId(undefined);
34006
+ };
34007
+
34008
+
34009
+ /**
34010
+ * Returns whether this field is set.
34011
+ * @return {boolean}
34012
+ */
34013
+ proto.com.lansweeper.discovery.sensor.mac.v1.USBDevice.prototype.hasLocationId = function() {
34014
+ return jspb.Message.getField(this, 8) != null;
34015
+ };
34016
+
34017
+
34018
+ /**
34019
+ * optional google.protobuf.StringValue manufacturer = 9;
34020
+ * @return {?proto.google.protobuf.StringValue}
34021
+ */
34022
+ proto.com.lansweeper.discovery.sensor.mac.v1.USBDevice.prototype.getManufacturer = function() {
34023
+ return /** @type{?proto.google.protobuf.StringValue} */ (
34024
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 9));
34025
+ };
34026
+
34027
+
34028
+ /**
34029
+ * @param {?proto.google.protobuf.StringValue|undefined} value
34030
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.USBDevice} returns this
34031
+ */
34032
+ proto.com.lansweeper.discovery.sensor.mac.v1.USBDevice.prototype.setManufacturer = function(value) {
34033
+ return jspb.Message.setWrapperField(this, 9, value);
34034
+ };
34035
+
34036
+
34037
+ /**
34038
+ * Clears the message field making it undefined.
34039
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.USBDevice} returns this
34040
+ */
34041
+ proto.com.lansweeper.discovery.sensor.mac.v1.USBDevice.prototype.clearManufacturer = function() {
34042
+ return this.setManufacturer(undefined);
34043
+ };
34044
+
34045
+
34046
+ /**
34047
+ * Returns whether this field is set.
34048
+ * @return {boolean}
34049
+ */
34050
+ proto.com.lansweeper.discovery.sensor.mac.v1.USBDevice.prototype.hasManufacturer = function() {
34051
+ return jspb.Message.getField(this, 9) != null;
34052
+ };
34053
+
34054
+
34055
+ /**
34056
+ * optional google.protobuf.StringValue product_id = 10;
34057
+ * @return {?proto.google.protobuf.StringValue}
34058
+ */
34059
+ proto.com.lansweeper.discovery.sensor.mac.v1.USBDevice.prototype.getProductId = function() {
34060
+ return /** @type{?proto.google.protobuf.StringValue} */ (
34061
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 10));
34062
+ };
34063
+
34064
+
34065
+ /**
34066
+ * @param {?proto.google.protobuf.StringValue|undefined} value
34067
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.USBDevice} returns this
34068
+ */
34069
+ proto.com.lansweeper.discovery.sensor.mac.v1.USBDevice.prototype.setProductId = function(value) {
34070
+ return jspb.Message.setWrapperField(this, 10, value);
34071
+ };
34072
+
34073
+
34074
+ /**
34075
+ * Clears the message field making it undefined.
34076
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.USBDevice} returns this
34077
+ */
34078
+ proto.com.lansweeper.discovery.sensor.mac.v1.USBDevice.prototype.clearProductId = function() {
34079
+ return this.setProductId(undefined);
34080
+ };
34081
+
34082
+
34083
+ /**
34084
+ * Returns whether this field is set.
34085
+ * @return {boolean}
34086
+ */
34087
+ proto.com.lansweeper.discovery.sensor.mac.v1.USBDevice.prototype.hasProductId = function() {
34088
+ return jspb.Message.getField(this, 10) != null;
34089
+ };
34090
+
34091
+
34092
+ /**
34093
+ * optional google.protobuf.StringValue serial_number = 11;
34094
+ * @return {?proto.google.protobuf.StringValue}
34095
+ */
34096
+ proto.com.lansweeper.discovery.sensor.mac.v1.USBDevice.prototype.getSerialNumber = function() {
34097
+ return /** @type{?proto.google.protobuf.StringValue} */ (
34098
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 11));
34099
+ };
34100
+
34101
+
34102
+ /**
34103
+ * @param {?proto.google.protobuf.StringValue|undefined} value
34104
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.USBDevice} returns this
34105
+ */
34106
+ proto.com.lansweeper.discovery.sensor.mac.v1.USBDevice.prototype.setSerialNumber = function(value) {
34107
+ return jspb.Message.setWrapperField(this, 11, value);
34108
+ };
34109
+
34110
+
34111
+ /**
34112
+ * Clears the message field making it undefined.
34113
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.USBDevice} returns this
34114
+ */
34115
+ proto.com.lansweeper.discovery.sensor.mac.v1.USBDevice.prototype.clearSerialNumber = function() {
34116
+ return this.setSerialNumber(undefined);
34117
+ };
34118
+
34119
+
34120
+ /**
34121
+ * Returns whether this field is set.
34122
+ * @return {boolean}
34123
+ */
34124
+ proto.com.lansweeper.discovery.sensor.mac.v1.USBDevice.prototype.hasSerialNumber = function() {
34125
+ return jspb.Message.getField(this, 11) != null;
34126
+ };
34127
+
34128
+
34129
+ /**
34130
+ * optional google.protobuf.StringValue vendor_id = 12;
34131
+ * @return {?proto.google.protobuf.StringValue}
34132
+ */
34133
+ proto.com.lansweeper.discovery.sensor.mac.v1.USBDevice.prototype.getVendorId = function() {
34134
+ return /** @type{?proto.google.protobuf.StringValue} */ (
34135
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 12));
34136
+ };
34137
+
34138
+
34139
+ /**
34140
+ * @param {?proto.google.protobuf.StringValue|undefined} value
34141
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.USBDevice} returns this
34142
+ */
34143
+ proto.com.lansweeper.discovery.sensor.mac.v1.USBDevice.prototype.setVendorId = function(value) {
34144
+ return jspb.Message.setWrapperField(this, 12, value);
34145
+ };
34146
+
34147
+
34148
+ /**
34149
+ * Clears the message field making it undefined.
34150
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.USBDevice} returns this
34151
+ */
34152
+ proto.com.lansweeper.discovery.sensor.mac.v1.USBDevice.prototype.clearVendorId = function() {
34153
+ return this.setVendorId(undefined);
34154
+ };
34155
+
34156
+
34157
+ /**
34158
+ * Returns whether this field is set.
34159
+ * @return {boolean}
34160
+ */
34161
+ proto.com.lansweeper.discovery.sensor.mac.v1.USBDevice.prototype.hasVendorId = function() {
34162
+ return jspb.Message.getField(this, 12) != null;
34163
+ };
34164
+
34165
+
34166
+ /**
34167
+ * repeated USBDevice sub_devices = 13;
34168
+ * @return {!Array<!proto.com.lansweeper.discovery.sensor.mac.v1.USBDevice>}
34169
+ */
34170
+ proto.com.lansweeper.discovery.sensor.mac.v1.USBDevice.prototype.getSubDevicesList = function() {
34171
+ return /** @type{!Array<!proto.com.lansweeper.discovery.sensor.mac.v1.USBDevice>} */ (
34172
+ jspb.Message.getRepeatedWrapperField(this, proto.com.lansweeper.discovery.sensor.mac.v1.USBDevice, 13));
34173
+ };
34174
+
34175
+
34176
+ /**
34177
+ * @param {!Array<!proto.com.lansweeper.discovery.sensor.mac.v1.USBDevice>} value
34178
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.USBDevice} returns this
34179
+ */
34180
+ proto.com.lansweeper.discovery.sensor.mac.v1.USBDevice.prototype.setSubDevicesList = function(value) {
34181
+ return jspb.Message.setRepeatedWrapperField(this, 13, value);
34182
+ };
34183
+
34184
+
34185
+ /**
34186
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.USBDevice=} opt_value
34187
+ * @param {number=} opt_index
34188
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.USBDevice}
34189
+ */
34190
+ proto.com.lansweeper.discovery.sensor.mac.v1.USBDevice.prototype.addSubDevices = function(opt_value, opt_index) {
34191
+ return jspb.Message.addToRepeatedWrapperField(this, 13, opt_value, proto.com.lansweeper.discovery.sensor.mac.v1.USBDevice, opt_index);
34192
+ };
34193
+
34194
+
34195
+ /**
34196
+ * Clears the list making it empty but non-null.
34197
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.USBDevice} returns this
34198
+ */
34199
+ proto.com.lansweeper.discovery.sensor.mac.v1.USBDevice.prototype.clearSubDevicesList = function() {
34200
+ return this.setSubDevicesList([]);
34201
+ };
34202
+
34203
+
34204
+
34205
+ /**
34206
+ * List of repeated fields within this message type.
34207
+ * @private {!Array<number>}
34208
+ * @const
34209
+ */
34210
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacThunderbolt.repeatedFields_ = [1];
34211
+
34212
+
34213
+
34214
+ if (jspb.Message.GENERATE_TO_OBJECT) {
34215
+ /**
34216
+ * Creates an object representation of this proto.
34217
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
34218
+ * Optional fields that are not set will be set to undefined.
34219
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
34220
+ * For the list of reserved names please see:
34221
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
34222
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
34223
+ * JSPB instance for transitional soy proto support:
34224
+ * http://goto/soy-param-migration
34225
+ * @return {!Object}
34226
+ */
34227
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacThunderbolt.prototype.toObject = function(opt_includeInstance) {
34228
+ return proto.com.lansweeper.discovery.sensor.mac.v1.MacThunderbolt.toObject(opt_includeInstance, this);
34229
+ };
34230
+
34231
+
34232
+ /**
34233
+ * Static version of the {@see toObject} method.
34234
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
34235
+ * the JSPB instance for transitional soy proto support:
34236
+ * http://goto/soy-param-migration
34237
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.MacThunderbolt} msg The msg instance to transform.
34238
+ * @return {!Object}
34239
+ * @suppress {unusedLocalVariables} f is only used for nested messages
34240
+ */
34241
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacThunderbolt.toObject = function(includeInstance, msg) {
34242
+ var f, obj = {
34243
+ entriesList: jspb.Message.toObjectList(msg.getEntriesList(),
34244
+ proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltController.toObject, includeInstance)
34245
+ };
34246
+
34247
+ if (includeInstance) {
34248
+ obj.$jspbMessageInstance = msg;
34249
+ }
34250
+ return obj;
34251
+ };
34252
+ }
34253
+
34254
+
34255
+ /**
34256
+ * Deserializes binary data (in protobuf wire format).
34257
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
34258
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacThunderbolt}
34259
+ */
34260
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacThunderbolt.deserializeBinary = function(bytes) {
34261
+ var reader = new jspb.BinaryReader(bytes);
34262
+ var msg = new proto.com.lansweeper.discovery.sensor.mac.v1.MacThunderbolt;
34263
+ return proto.com.lansweeper.discovery.sensor.mac.v1.MacThunderbolt.deserializeBinaryFromReader(msg, reader);
34264
+ };
34265
+
34266
+
34267
+ /**
34268
+ * Deserializes binary data (in protobuf wire format) from the
34269
+ * given reader into the given message object.
34270
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.MacThunderbolt} msg The message object to deserialize into.
34271
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
34272
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacThunderbolt}
34273
+ */
34274
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacThunderbolt.deserializeBinaryFromReader = function(msg, reader) {
34275
+ while (reader.nextField()) {
34276
+ if (reader.isEndGroup()) {
34277
+ break;
34278
+ }
34279
+ var field = reader.getFieldNumber();
34280
+ switch (field) {
34281
+ case 1:
34282
+ var value = new proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltController;
34283
+ reader.readMessage(value,proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltController.deserializeBinaryFromReader);
34284
+ msg.addEntries(value);
34285
+ break;
34286
+ default:
34287
+ reader.skipField();
34288
+ break;
34289
+ }
34290
+ }
34291
+ return msg;
34292
+ };
34293
+
34294
+
34295
+ /**
34296
+ * Serializes the message to binary data (in protobuf wire format).
34297
+ * @return {!Uint8Array}
34298
+ */
34299
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacThunderbolt.prototype.serializeBinary = function() {
34300
+ var writer = new jspb.BinaryWriter();
34301
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacThunderbolt.serializeBinaryToWriter(this, writer);
34302
+ return writer.getResultBuffer();
34303
+ };
34304
+
34305
+
34306
+ /**
34307
+ * Serializes the given message to binary data (in protobuf wire
34308
+ * format), writing to the given BinaryWriter.
34309
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.MacThunderbolt} message
34310
+ * @param {!jspb.BinaryWriter} writer
34311
+ * @suppress {unusedLocalVariables} f is only used for nested messages
34312
+ */
34313
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacThunderbolt.serializeBinaryToWriter = function(message, writer) {
34314
+ var f = undefined;
34315
+ f = message.getEntriesList();
34316
+ if (f.length > 0) {
34317
+ writer.writeRepeatedMessage(
34318
+ 1,
34319
+ f,
34320
+ proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltController.serializeBinaryToWriter
34321
+ );
34322
+ }
34323
+ };
34324
+
34325
+
34326
+ /**
34327
+ * repeated ThunderboltController entries = 1;
34328
+ * @return {!Array<!proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltController>}
34329
+ */
34330
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacThunderbolt.prototype.getEntriesList = function() {
34331
+ return /** @type{!Array<!proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltController>} */ (
34332
+ jspb.Message.getRepeatedWrapperField(this, proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltController, 1));
34333
+ };
34334
+
34335
+
34336
+ /**
34337
+ * @param {!Array<!proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltController>} value
34338
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacThunderbolt} returns this
34339
+ */
34340
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacThunderbolt.prototype.setEntriesList = function(value) {
34341
+ return jspb.Message.setRepeatedWrapperField(this, 1, value);
34342
+ };
34343
+
34344
+
34345
+ /**
34346
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltController=} opt_value
34347
+ * @param {number=} opt_index
34348
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltController}
34349
+ */
34350
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacThunderbolt.prototype.addEntries = function(opt_value, opt_index) {
34351
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltController, opt_index);
34352
+ };
34353
+
34354
+
34355
+ /**
34356
+ * Clears the list making it empty but non-null.
34357
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacThunderbolt} returns this
34358
+ */
34359
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacThunderbolt.prototype.clearEntriesList = function() {
34360
+ return this.setEntriesList([]);
34361
+ };
34362
+
34363
+
34364
+
34365
+ /**
34366
+ * List of repeated fields within this message type.
34367
+ * @private {!Array<number>}
34368
+ * @const
34369
+ */
34370
+ proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltController.repeatedFields_ = [8];
34371
+
34372
+
34373
+
34374
+ if (jspb.Message.GENERATE_TO_OBJECT) {
34375
+ /**
34376
+ * Creates an object representation of this proto.
34377
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
34378
+ * Optional fields that are not set will be set to undefined.
34379
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
34380
+ * For the list of reserved names please see:
34381
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
34382
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
34383
+ * JSPB instance for transitional soy proto support:
34384
+ * http://goto/soy-param-migration
34385
+ * @return {!Object}
34386
+ */
34387
+ proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltController.prototype.toObject = function(opt_includeInstance) {
34388
+ return proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltController.toObject(opt_includeInstance, this);
34389
+ };
34390
+
34391
+
34392
+ /**
34393
+ * Static version of the {@see toObject} method.
34394
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
34395
+ * the JSPB instance for transitional soy proto support:
34396
+ * http://goto/soy-param-migration
34397
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltController} msg The msg instance to transform.
34398
+ * @return {!Object}
34399
+ * @suppress {unusedLocalVariables} f is only used for nested messages
34400
+ */
34401
+ proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltController.toObject = function(includeInstance, msg) {
34402
+ var f, obj = {
34403
+ name: (f = msg.getName()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
34404
+ deviceName: (f = msg.getDeviceName()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
34405
+ domainUuid: (f = msg.getDomainUuid()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
34406
+ routeString: (f = msg.getRouteString()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
34407
+ switchUid: (f = msg.getSwitchUid()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
34408
+ switchVersion: (f = msg.getSwitchVersion()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
34409
+ vendorName: (f = msg.getVendorName()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
34410
+ portsList: jspb.Message.toObjectList(msg.getPortsList(),
34411
+ proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltPort.toObject, includeInstance)
34412
+ };
34413
+
34414
+ if (includeInstance) {
34415
+ obj.$jspbMessageInstance = msg;
34416
+ }
34417
+ return obj;
34418
+ };
34419
+ }
34420
+
34421
+
34422
+ /**
34423
+ * Deserializes binary data (in protobuf wire format).
34424
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
34425
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltController}
34426
+ */
34427
+ proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltController.deserializeBinary = function(bytes) {
34428
+ var reader = new jspb.BinaryReader(bytes);
34429
+ var msg = new proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltController;
34430
+ return proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltController.deserializeBinaryFromReader(msg, reader);
34431
+ };
34432
+
34433
+
34434
+ /**
34435
+ * Deserializes binary data (in protobuf wire format) from the
34436
+ * given reader into the given message object.
34437
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltController} msg The message object to deserialize into.
34438
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
34439
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltController}
34440
+ */
34441
+ proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltController.deserializeBinaryFromReader = function(msg, reader) {
34442
+ while (reader.nextField()) {
34443
+ if (reader.isEndGroup()) {
34444
+ break;
34445
+ }
34446
+ var field = reader.getFieldNumber();
34447
+ switch (field) {
34448
+ case 1:
34449
+ var value = new google_protobuf_wrappers_pb.StringValue;
34450
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
34451
+ msg.setName(value);
34452
+ break;
34453
+ case 2:
34454
+ var value = new google_protobuf_wrappers_pb.StringValue;
34455
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
34456
+ msg.setDeviceName(value);
34457
+ break;
34458
+ case 3:
34459
+ var value = new google_protobuf_wrappers_pb.StringValue;
34460
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
34461
+ msg.setDomainUuid(value);
34462
+ break;
34463
+ case 4:
34464
+ var value = new google_protobuf_wrappers_pb.StringValue;
34465
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
34466
+ msg.setRouteString(value);
34467
+ break;
34468
+ case 5:
34469
+ var value = new google_protobuf_wrappers_pb.StringValue;
34470
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
34471
+ msg.setSwitchUid(value);
34472
+ break;
34473
+ case 6:
34474
+ var value = new google_protobuf_wrappers_pb.StringValue;
34475
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
34476
+ msg.setSwitchVersion(value);
34477
+ break;
34478
+ case 7:
34479
+ var value = new google_protobuf_wrappers_pb.StringValue;
34480
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
34481
+ msg.setVendorName(value);
34482
+ break;
34483
+ case 8:
34484
+ var value = new proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltPort;
34485
+ reader.readMessage(value,proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltPort.deserializeBinaryFromReader);
34486
+ msg.addPorts(value);
34487
+ break;
34488
+ default:
34489
+ reader.skipField();
34490
+ break;
34491
+ }
34492
+ }
34493
+ return msg;
34494
+ };
34495
+
34496
+
34497
+ /**
34498
+ * Serializes the message to binary data (in protobuf wire format).
34499
+ * @return {!Uint8Array}
34500
+ */
34501
+ proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltController.prototype.serializeBinary = function() {
34502
+ var writer = new jspb.BinaryWriter();
34503
+ proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltController.serializeBinaryToWriter(this, writer);
34504
+ return writer.getResultBuffer();
34505
+ };
34506
+
34507
+
34508
+ /**
34509
+ * Serializes the given message to binary data (in protobuf wire
34510
+ * format), writing to the given BinaryWriter.
34511
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltController} message
34512
+ * @param {!jspb.BinaryWriter} writer
34513
+ * @suppress {unusedLocalVariables} f is only used for nested messages
34514
+ */
34515
+ proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltController.serializeBinaryToWriter = function(message, writer) {
34516
+ var f = undefined;
34517
+ f = message.getName();
34518
+ if (f != null) {
34519
+ writer.writeMessage(
34520
+ 1,
34521
+ f,
34522
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
34523
+ );
34524
+ }
34525
+ f = message.getDeviceName();
34526
+ if (f != null) {
34527
+ writer.writeMessage(
34528
+ 2,
34529
+ f,
34530
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
34531
+ );
34532
+ }
34533
+ f = message.getDomainUuid();
34534
+ if (f != null) {
34535
+ writer.writeMessage(
34536
+ 3,
34537
+ f,
34538
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
34539
+ );
34540
+ }
34541
+ f = message.getRouteString();
34542
+ if (f != null) {
34543
+ writer.writeMessage(
34544
+ 4,
34545
+ f,
34546
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
34547
+ );
34548
+ }
34549
+ f = message.getSwitchUid();
34550
+ if (f != null) {
34551
+ writer.writeMessage(
34552
+ 5,
34553
+ f,
34554
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
34555
+ );
34556
+ }
34557
+ f = message.getSwitchVersion();
34558
+ if (f != null) {
34559
+ writer.writeMessage(
34560
+ 6,
34561
+ f,
34562
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
34563
+ );
34564
+ }
34565
+ f = message.getVendorName();
34566
+ if (f != null) {
34567
+ writer.writeMessage(
34568
+ 7,
34569
+ f,
34570
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
34571
+ );
34572
+ }
34573
+ f = message.getPortsList();
34574
+ if (f.length > 0) {
34575
+ writer.writeRepeatedMessage(
34576
+ 8,
34577
+ f,
34578
+ proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltPort.serializeBinaryToWriter
34579
+ );
34580
+ }
34581
+ };
34582
+
34583
+
34584
+ /**
34585
+ * optional google.protobuf.StringValue name = 1;
34586
+ * @return {?proto.google.protobuf.StringValue}
34587
+ */
34588
+ proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltController.prototype.getName = function() {
34589
+ return /** @type{?proto.google.protobuf.StringValue} */ (
34590
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 1));
34591
+ };
34592
+
34593
+
34594
+ /**
34595
+ * @param {?proto.google.protobuf.StringValue|undefined} value
34596
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltController} returns this
34597
+ */
34598
+ proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltController.prototype.setName = function(value) {
34599
+ return jspb.Message.setWrapperField(this, 1, value);
34600
+ };
34601
+
34602
+
34603
+ /**
34604
+ * Clears the message field making it undefined.
34605
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltController} returns this
34606
+ */
34607
+ proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltController.prototype.clearName = function() {
34608
+ return this.setName(undefined);
34609
+ };
34610
+
34611
+
34612
+ /**
34613
+ * Returns whether this field is set.
34614
+ * @return {boolean}
34615
+ */
34616
+ proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltController.prototype.hasName = function() {
34617
+ return jspb.Message.getField(this, 1) != null;
34618
+ };
34619
+
34620
+
34621
+ /**
34622
+ * optional google.protobuf.StringValue device_name = 2;
34623
+ * @return {?proto.google.protobuf.StringValue}
34624
+ */
34625
+ proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltController.prototype.getDeviceName = function() {
34626
+ return /** @type{?proto.google.protobuf.StringValue} */ (
34627
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 2));
34628
+ };
34629
+
34630
+
34631
+ /**
34632
+ * @param {?proto.google.protobuf.StringValue|undefined} value
34633
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltController} returns this
34634
+ */
34635
+ proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltController.prototype.setDeviceName = function(value) {
34636
+ return jspb.Message.setWrapperField(this, 2, value);
34637
+ };
34638
+
34639
+
34640
+ /**
34641
+ * Clears the message field making it undefined.
34642
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltController} returns this
34643
+ */
34644
+ proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltController.prototype.clearDeviceName = function() {
34645
+ return this.setDeviceName(undefined);
34646
+ };
34647
+
34648
+
34649
+ /**
34650
+ * Returns whether this field is set.
34651
+ * @return {boolean}
34652
+ */
34653
+ proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltController.prototype.hasDeviceName = function() {
34654
+ return jspb.Message.getField(this, 2) != null;
34655
+ };
34656
+
34657
+
34658
+ /**
34659
+ * optional google.protobuf.StringValue domain_uuid = 3;
34660
+ * @return {?proto.google.protobuf.StringValue}
34661
+ */
34662
+ proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltController.prototype.getDomainUuid = function() {
34663
+ return /** @type{?proto.google.protobuf.StringValue} */ (
34664
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 3));
34665
+ };
34666
+
34667
+
34668
+ /**
34669
+ * @param {?proto.google.protobuf.StringValue|undefined} value
34670
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltController} returns this
34671
+ */
34672
+ proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltController.prototype.setDomainUuid = function(value) {
34673
+ return jspb.Message.setWrapperField(this, 3, value);
34674
+ };
34675
+
34676
+
34677
+ /**
34678
+ * Clears the message field making it undefined.
34679
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltController} returns this
34680
+ */
34681
+ proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltController.prototype.clearDomainUuid = function() {
34682
+ return this.setDomainUuid(undefined);
34683
+ };
34684
+
34685
+
34686
+ /**
34687
+ * Returns whether this field is set.
34688
+ * @return {boolean}
34689
+ */
34690
+ proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltController.prototype.hasDomainUuid = function() {
34691
+ return jspb.Message.getField(this, 3) != null;
34692
+ };
34693
+
34694
+
34695
+ /**
34696
+ * optional google.protobuf.StringValue route_string = 4;
34697
+ * @return {?proto.google.protobuf.StringValue}
34698
+ */
34699
+ proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltController.prototype.getRouteString = function() {
34700
+ return /** @type{?proto.google.protobuf.StringValue} */ (
34701
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 4));
34702
+ };
34703
+
34704
+
34705
+ /**
34706
+ * @param {?proto.google.protobuf.StringValue|undefined} value
34707
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltController} returns this
34708
+ */
34709
+ proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltController.prototype.setRouteString = function(value) {
34710
+ return jspb.Message.setWrapperField(this, 4, value);
34711
+ };
34712
+
34713
+
34714
+ /**
34715
+ * Clears the message field making it undefined.
34716
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltController} returns this
34717
+ */
34718
+ proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltController.prototype.clearRouteString = function() {
34719
+ return this.setRouteString(undefined);
34720
+ };
34721
+
34722
+
34723
+ /**
34724
+ * Returns whether this field is set.
34725
+ * @return {boolean}
34726
+ */
34727
+ proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltController.prototype.hasRouteString = function() {
34728
+ return jspb.Message.getField(this, 4) != null;
34729
+ };
34730
+
34731
+
34732
+ /**
34733
+ * optional google.protobuf.StringValue switch_uid = 5;
34734
+ * @return {?proto.google.protobuf.StringValue}
34735
+ */
34736
+ proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltController.prototype.getSwitchUid = function() {
34737
+ return /** @type{?proto.google.protobuf.StringValue} */ (
34738
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 5));
34739
+ };
34740
+
34741
+
34742
+ /**
34743
+ * @param {?proto.google.protobuf.StringValue|undefined} value
34744
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltController} returns this
34745
+ */
34746
+ proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltController.prototype.setSwitchUid = function(value) {
34747
+ return jspb.Message.setWrapperField(this, 5, value);
34748
+ };
34749
+
34750
+
34751
+ /**
34752
+ * Clears the message field making it undefined.
34753
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltController} returns this
34754
+ */
34755
+ proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltController.prototype.clearSwitchUid = function() {
34756
+ return this.setSwitchUid(undefined);
34757
+ };
34758
+
34759
+
34760
+ /**
34761
+ * Returns whether this field is set.
34762
+ * @return {boolean}
34763
+ */
34764
+ proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltController.prototype.hasSwitchUid = function() {
34765
+ return jspb.Message.getField(this, 5) != null;
34766
+ };
34767
+
34768
+
34769
+ /**
34770
+ * optional google.protobuf.StringValue switch_version = 6;
34771
+ * @return {?proto.google.protobuf.StringValue}
34772
+ */
34773
+ proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltController.prototype.getSwitchVersion = function() {
34774
+ return /** @type{?proto.google.protobuf.StringValue} */ (
34775
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 6));
34776
+ };
34777
+
34778
+
34779
+ /**
34780
+ * @param {?proto.google.protobuf.StringValue|undefined} value
34781
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltController} returns this
34782
+ */
34783
+ proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltController.prototype.setSwitchVersion = function(value) {
34784
+ return jspb.Message.setWrapperField(this, 6, value);
34785
+ };
34786
+
34787
+
34788
+ /**
34789
+ * Clears the message field making it undefined.
34790
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltController} returns this
34791
+ */
34792
+ proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltController.prototype.clearSwitchVersion = function() {
34793
+ return this.setSwitchVersion(undefined);
34794
+ };
34795
+
34796
+
34797
+ /**
34798
+ * Returns whether this field is set.
34799
+ * @return {boolean}
34800
+ */
34801
+ proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltController.prototype.hasSwitchVersion = function() {
34802
+ return jspb.Message.getField(this, 6) != null;
34803
+ };
34804
+
34805
+
34806
+ /**
34807
+ * optional google.protobuf.StringValue vendor_name = 7;
34808
+ * @return {?proto.google.protobuf.StringValue}
34809
+ */
34810
+ proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltController.prototype.getVendorName = function() {
34811
+ return /** @type{?proto.google.protobuf.StringValue} */ (
34812
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 7));
34813
+ };
34814
+
34815
+
34816
+ /**
34817
+ * @param {?proto.google.protobuf.StringValue|undefined} value
34818
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltController} returns this
34819
+ */
34820
+ proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltController.prototype.setVendorName = function(value) {
34821
+ return jspb.Message.setWrapperField(this, 7, value);
34822
+ };
34823
+
34824
+
34825
+ /**
34826
+ * Clears the message field making it undefined.
34827
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltController} returns this
34828
+ */
34829
+ proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltController.prototype.clearVendorName = function() {
34830
+ return this.setVendorName(undefined);
34831
+ };
34832
+
34833
+
34834
+ /**
34835
+ * Returns whether this field is set.
34836
+ * @return {boolean}
34837
+ */
34838
+ proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltController.prototype.hasVendorName = function() {
34839
+ return jspb.Message.getField(this, 7) != null;
34840
+ };
34841
+
34842
+
34843
+ /**
34844
+ * repeated ThunderboltPort ports = 8;
34845
+ * @return {!Array<!proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltPort>}
34846
+ */
34847
+ proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltController.prototype.getPortsList = function() {
34848
+ return /** @type{!Array<!proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltPort>} */ (
34849
+ jspb.Message.getRepeatedWrapperField(this, proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltPort, 8));
34850
+ };
34851
+
34852
+
34853
+ /**
34854
+ * @param {!Array<!proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltPort>} value
34855
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltController} returns this
34856
+ */
34857
+ proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltController.prototype.setPortsList = function(value) {
34858
+ return jspb.Message.setRepeatedWrapperField(this, 8, value);
34859
+ };
34860
+
34861
+
34862
+ /**
34863
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltPort=} opt_value
34864
+ * @param {number=} opt_index
34865
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltPort}
34866
+ */
34867
+ proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltController.prototype.addPorts = function(opt_value, opt_index) {
34868
+ return jspb.Message.addToRepeatedWrapperField(this, 8, opt_value, proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltPort, opt_index);
34869
+ };
34870
+
34871
+
34872
+ /**
34873
+ * Clears the list making it empty but non-null.
34874
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltController} returns this
34875
+ */
34876
+ proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltController.prototype.clearPortsList = function() {
34877
+ return this.setPortsList([]);
34878
+ };
34879
+
34880
+
34881
+
34882
+
34883
+
34884
+ if (jspb.Message.GENERATE_TO_OBJECT) {
34885
+ /**
34886
+ * Creates an object representation of this proto.
34887
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
34888
+ * Optional fields that are not set will be set to undefined.
34889
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
34890
+ * For the list of reserved names please see:
34891
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
34892
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
34893
+ * JSPB instance for transitional soy proto support:
34894
+ * http://goto/soy-param-migration
34895
+ * @return {!Object}
34896
+ */
34897
+ proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltPort.prototype.toObject = function(opt_includeInstance) {
34898
+ return proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltPort.toObject(opt_includeInstance, this);
34899
+ };
34900
+
34901
+
34902
+ /**
34903
+ * Static version of the {@see toObject} method.
34904
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
34905
+ * the JSPB instance for transitional soy proto support:
34906
+ * http://goto/soy-param-migration
34907
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltPort} msg The msg instance to transform.
34908
+ * @return {!Object}
34909
+ * @suppress {unusedLocalVariables} f is only used for nested messages
34910
+ */
34911
+ proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltPort.toObject = function(includeInstance, msg) {
34912
+ var f, obj = {
34913
+ currentLinkWidth: (f = msg.getCurrentLinkWidth()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
34914
+ currentSpeed: (f = msg.getCurrentSpeed()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
34915
+ linkStatus: (f = msg.getLinkStatus()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
34916
+ receptacleId: (f = msg.getReceptacleId()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
34917
+ receptacleStatus: (f = msg.getReceptacleStatus()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f)
34918
+ };
34919
+
34920
+ if (includeInstance) {
34921
+ obj.$jspbMessageInstance = msg;
34922
+ }
34923
+ return obj;
34924
+ };
34925
+ }
34926
+
34927
+
34928
+ /**
34929
+ * Deserializes binary data (in protobuf wire format).
34930
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
34931
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltPort}
34932
+ */
34933
+ proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltPort.deserializeBinary = function(bytes) {
34934
+ var reader = new jspb.BinaryReader(bytes);
34935
+ var msg = new proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltPort;
34936
+ return proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltPort.deserializeBinaryFromReader(msg, reader);
34937
+ };
34938
+
34939
+
34940
+ /**
34941
+ * Deserializes binary data (in protobuf wire format) from the
34942
+ * given reader into the given message object.
34943
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltPort} msg The message object to deserialize into.
34944
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
34945
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltPort}
34946
+ */
34947
+ proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltPort.deserializeBinaryFromReader = function(msg, reader) {
34948
+ while (reader.nextField()) {
34949
+ if (reader.isEndGroup()) {
34950
+ break;
34951
+ }
34952
+ var field = reader.getFieldNumber();
34953
+ switch (field) {
34954
+ case 1:
34955
+ var value = new google_protobuf_wrappers_pb.StringValue;
34956
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
34957
+ msg.setCurrentLinkWidth(value);
34958
+ break;
34959
+ case 2:
34960
+ var value = new google_protobuf_wrappers_pb.StringValue;
34961
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
34962
+ msg.setCurrentSpeed(value);
34963
+ break;
34964
+ case 3:
34965
+ var value = new google_protobuf_wrappers_pb.StringValue;
34966
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
34967
+ msg.setLinkStatus(value);
34968
+ break;
34969
+ case 4:
34970
+ var value = new google_protobuf_wrappers_pb.StringValue;
34971
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
34972
+ msg.setReceptacleId(value);
34973
+ break;
34974
+ case 5:
34975
+ var value = new google_protobuf_wrappers_pb.StringValue;
34976
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
34977
+ msg.setReceptacleStatus(value);
34978
+ break;
34979
+ default:
34980
+ reader.skipField();
34981
+ break;
34982
+ }
34983
+ }
34984
+ return msg;
34985
+ };
34986
+
34987
+
34988
+ /**
34989
+ * Serializes the message to binary data (in protobuf wire format).
34990
+ * @return {!Uint8Array}
34991
+ */
34992
+ proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltPort.prototype.serializeBinary = function() {
34993
+ var writer = new jspb.BinaryWriter();
34994
+ proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltPort.serializeBinaryToWriter(this, writer);
34995
+ return writer.getResultBuffer();
34996
+ };
34997
+
34998
+
34999
+ /**
35000
+ * Serializes the given message to binary data (in protobuf wire
35001
+ * format), writing to the given BinaryWriter.
35002
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltPort} message
35003
+ * @param {!jspb.BinaryWriter} writer
35004
+ * @suppress {unusedLocalVariables} f is only used for nested messages
35005
+ */
35006
+ proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltPort.serializeBinaryToWriter = function(message, writer) {
35007
+ var f = undefined;
35008
+ f = message.getCurrentLinkWidth();
35009
+ if (f != null) {
35010
+ writer.writeMessage(
35011
+ 1,
35012
+ f,
35013
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
35014
+ );
35015
+ }
35016
+ f = message.getCurrentSpeed();
35017
+ if (f != null) {
35018
+ writer.writeMessage(
35019
+ 2,
35020
+ f,
35021
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
35022
+ );
35023
+ }
35024
+ f = message.getLinkStatus();
35025
+ if (f != null) {
35026
+ writer.writeMessage(
35027
+ 3,
35028
+ f,
35029
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
35030
+ );
35031
+ }
35032
+ f = message.getReceptacleId();
35033
+ if (f != null) {
35034
+ writer.writeMessage(
35035
+ 4,
35036
+ f,
35037
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
35038
+ );
35039
+ }
35040
+ f = message.getReceptacleStatus();
35041
+ if (f != null) {
35042
+ writer.writeMessage(
35043
+ 5,
35044
+ f,
35045
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
35046
+ );
35047
+ }
35048
+ };
35049
+
35050
+
35051
+ /**
35052
+ * optional google.protobuf.StringValue current_link_width = 1;
35053
+ * @return {?proto.google.protobuf.StringValue}
35054
+ */
35055
+ proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltPort.prototype.getCurrentLinkWidth = function() {
35056
+ return /** @type{?proto.google.protobuf.StringValue} */ (
35057
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 1));
35058
+ };
35059
+
35060
+
35061
+ /**
35062
+ * @param {?proto.google.protobuf.StringValue|undefined} value
35063
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltPort} returns this
35064
+ */
35065
+ proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltPort.prototype.setCurrentLinkWidth = function(value) {
35066
+ return jspb.Message.setWrapperField(this, 1, value);
35067
+ };
35068
+
35069
+
35070
+ /**
35071
+ * Clears the message field making it undefined.
35072
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltPort} returns this
35073
+ */
35074
+ proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltPort.prototype.clearCurrentLinkWidth = function() {
35075
+ return this.setCurrentLinkWidth(undefined);
35076
+ };
35077
+
35078
+
35079
+ /**
35080
+ * Returns whether this field is set.
35081
+ * @return {boolean}
35082
+ */
35083
+ proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltPort.prototype.hasCurrentLinkWidth = function() {
35084
+ return jspb.Message.getField(this, 1) != null;
35085
+ };
35086
+
35087
+
35088
+ /**
35089
+ * optional google.protobuf.StringValue current_speed = 2;
35090
+ * @return {?proto.google.protobuf.StringValue}
35091
+ */
35092
+ proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltPort.prototype.getCurrentSpeed = function() {
35093
+ return /** @type{?proto.google.protobuf.StringValue} */ (
35094
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 2));
35095
+ };
35096
+
35097
+
35098
+ /**
35099
+ * @param {?proto.google.protobuf.StringValue|undefined} value
35100
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltPort} returns this
35101
+ */
35102
+ proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltPort.prototype.setCurrentSpeed = function(value) {
35103
+ return jspb.Message.setWrapperField(this, 2, value);
35104
+ };
35105
+
35106
+
35107
+ /**
35108
+ * Clears the message field making it undefined.
35109
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltPort} returns this
35110
+ */
35111
+ proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltPort.prototype.clearCurrentSpeed = function() {
35112
+ return this.setCurrentSpeed(undefined);
35113
+ };
35114
+
35115
+
35116
+ /**
35117
+ * Returns whether this field is set.
35118
+ * @return {boolean}
35119
+ */
35120
+ proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltPort.prototype.hasCurrentSpeed = function() {
35121
+ return jspb.Message.getField(this, 2) != null;
35122
+ };
35123
+
35124
+
35125
+ /**
35126
+ * optional google.protobuf.StringValue link_status = 3;
35127
+ * @return {?proto.google.protobuf.StringValue}
35128
+ */
35129
+ proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltPort.prototype.getLinkStatus = function() {
35130
+ return /** @type{?proto.google.protobuf.StringValue} */ (
35131
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 3));
35132
+ };
35133
+
35134
+
35135
+ /**
35136
+ * @param {?proto.google.protobuf.StringValue|undefined} value
35137
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltPort} returns this
35138
+ */
35139
+ proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltPort.prototype.setLinkStatus = function(value) {
35140
+ return jspb.Message.setWrapperField(this, 3, value);
35141
+ };
35142
+
35143
+
35144
+ /**
35145
+ * Clears the message field making it undefined.
35146
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltPort} returns this
35147
+ */
35148
+ proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltPort.prototype.clearLinkStatus = function() {
35149
+ return this.setLinkStatus(undefined);
35150
+ };
35151
+
35152
+
35153
+ /**
35154
+ * Returns whether this field is set.
35155
+ * @return {boolean}
35156
+ */
35157
+ proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltPort.prototype.hasLinkStatus = function() {
35158
+ return jspb.Message.getField(this, 3) != null;
35159
+ };
35160
+
35161
+
35162
+ /**
35163
+ * optional google.protobuf.StringValue receptacle_id = 4;
35164
+ * @return {?proto.google.protobuf.StringValue}
35165
+ */
35166
+ proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltPort.prototype.getReceptacleId = function() {
35167
+ return /** @type{?proto.google.protobuf.StringValue} */ (
35168
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 4));
35169
+ };
35170
+
35171
+
35172
+ /**
35173
+ * @param {?proto.google.protobuf.StringValue|undefined} value
35174
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltPort} returns this
35175
+ */
35176
+ proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltPort.prototype.setReceptacleId = function(value) {
35177
+ return jspb.Message.setWrapperField(this, 4, value);
35178
+ };
35179
+
35180
+
35181
+ /**
35182
+ * Clears the message field making it undefined.
35183
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltPort} returns this
35184
+ */
35185
+ proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltPort.prototype.clearReceptacleId = function() {
35186
+ return this.setReceptacleId(undefined);
35187
+ };
35188
+
35189
+
35190
+ /**
35191
+ * Returns whether this field is set.
35192
+ * @return {boolean}
35193
+ */
35194
+ proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltPort.prototype.hasReceptacleId = function() {
35195
+ return jspb.Message.getField(this, 4) != null;
35196
+ };
35197
+
35198
+
35199
+ /**
35200
+ * optional google.protobuf.StringValue receptacle_status = 5;
35201
+ * @return {?proto.google.protobuf.StringValue}
35202
+ */
35203
+ proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltPort.prototype.getReceptacleStatus = function() {
35204
+ return /** @type{?proto.google.protobuf.StringValue} */ (
35205
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 5));
35206
+ };
35207
+
35208
+
35209
+ /**
35210
+ * @param {?proto.google.protobuf.StringValue|undefined} value
35211
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltPort} returns this
35212
+ */
35213
+ proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltPort.prototype.setReceptacleStatus = function(value) {
35214
+ return jspb.Message.setWrapperField(this, 5, value);
35215
+ };
35216
+
35217
+
35218
+ /**
35219
+ * Clears the message field making it undefined.
35220
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltPort} returns this
35221
+ */
35222
+ proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltPort.prototype.clearReceptacleStatus = function() {
35223
+ return this.setReceptacleStatus(undefined);
35224
+ };
35225
+
35226
+
35227
+ /**
35228
+ * Returns whether this field is set.
35229
+ * @return {boolean}
35230
+ */
35231
+ proto.com.lansweeper.discovery.sensor.mac.v1.ThunderboltPort.prototype.hasReceptacleStatus = function() {
35232
+ return jspb.Message.getField(this, 5) != null;
35233
+ };
35234
+
35235
+
32725
35236
  goog.object.extend(exports, proto.com.lansweeper.discovery.sensor.mac.v1);