@lansweeper/discovery-sensor-proto 2.43.0 → 2.45.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.
@@ -34,7 +34,10 @@ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.BatteryModelInfo
34
34
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.BatteryPower', null, global);
35
35
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.Bluetooth', null, global);
36
36
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.BluetoothDevice', null, global);
37
+ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.Camera', null, global);
38
+ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.CardReader', null, global);
37
39
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.DeviceMedia', null, global);
40
+ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.Diagnostics', null, global);
38
41
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.DiscBurning', null, global);
39
42
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.Display', null, global);
40
43
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.Firewire', null, global);
@@ -43,6 +46,10 @@ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.MacAccessibility
43
46
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.MacAudio', null, global);
44
47
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.MacBasicInfo', null, global);
45
48
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.MacBluetooth', null, global);
49
+ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.MacCamera', null, global);
50
+ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.MacCardReader', null, global);
51
+ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.MacController', null, global);
52
+ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.MacDiagnostics', null, global);
46
53
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.MacDiscBurning', null, global);
47
54
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.MacDisplay', null, global);
48
55
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.MacFirewall', null, global);
@@ -1081,6 +1088,153 @@ if (goog.DEBUG && !COMPILED) {
1081
1088
  */
1082
1089
  proto.com.lansweeper.discovery.sensor.mac.v1.Audio.displayName = 'proto.com.lansweeper.discovery.sensor.mac.v1.Audio';
1083
1090
  }
1091
+ /**
1092
+ * Generated by JsPbCodeGenerator.
1093
+ * @param {Array=} opt_data Optional initial data array, typically from a
1094
+ * server response, or constructed directly in Javascript. The array is used
1095
+ * in place and becomes part of the constructed object. It is not cloned.
1096
+ * If no data is provided, the constructed object will be empty, but still
1097
+ * valid.
1098
+ * @extends {jspb.Message}
1099
+ * @constructor
1100
+ */
1101
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacCamera = function(opt_data) {
1102
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.com.lansweeper.discovery.sensor.mac.v1.MacCamera.repeatedFields_, null);
1103
+ };
1104
+ goog.inherits(proto.com.lansweeper.discovery.sensor.mac.v1.MacCamera, jspb.Message);
1105
+ if (goog.DEBUG && !COMPILED) {
1106
+ /**
1107
+ * @public
1108
+ * @override
1109
+ */
1110
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacCamera.displayName = 'proto.com.lansweeper.discovery.sensor.mac.v1.MacCamera';
1111
+ }
1112
+ /**
1113
+ * Generated by JsPbCodeGenerator.
1114
+ * @param {Array=} opt_data Optional initial data array, typically from a
1115
+ * server response, or constructed directly in Javascript. The array is used
1116
+ * in place and becomes part of the constructed object. It is not cloned.
1117
+ * If no data is provided, the constructed object will be empty, but still
1118
+ * valid.
1119
+ * @extends {jspb.Message}
1120
+ * @constructor
1121
+ */
1122
+ proto.com.lansweeper.discovery.sensor.mac.v1.Camera = function(opt_data) {
1123
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1124
+ };
1125
+ goog.inherits(proto.com.lansweeper.discovery.sensor.mac.v1.Camera, jspb.Message);
1126
+ if (goog.DEBUG && !COMPILED) {
1127
+ /**
1128
+ * @public
1129
+ * @override
1130
+ */
1131
+ proto.com.lansweeper.discovery.sensor.mac.v1.Camera.displayName = 'proto.com.lansweeper.discovery.sensor.mac.v1.Camera';
1132
+ }
1133
+ /**
1134
+ * Generated by JsPbCodeGenerator.
1135
+ * @param {Array=} opt_data Optional initial data array, typically from a
1136
+ * server response, or constructed directly in Javascript. The array is used
1137
+ * in place and becomes part of the constructed object. It is not cloned.
1138
+ * If no data is provided, the constructed object will be empty, but still
1139
+ * valid.
1140
+ * @extends {jspb.Message}
1141
+ * @constructor
1142
+ */
1143
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacCardReader = function(opt_data) {
1144
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.com.lansweeper.discovery.sensor.mac.v1.MacCardReader.repeatedFields_, null);
1145
+ };
1146
+ goog.inherits(proto.com.lansweeper.discovery.sensor.mac.v1.MacCardReader, jspb.Message);
1147
+ if (goog.DEBUG && !COMPILED) {
1148
+ /**
1149
+ * @public
1150
+ * @override
1151
+ */
1152
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacCardReader.displayName = 'proto.com.lansweeper.discovery.sensor.mac.v1.MacCardReader';
1153
+ }
1154
+ /**
1155
+ * Generated by JsPbCodeGenerator.
1156
+ * @param {Array=} opt_data Optional initial data array, typically from a
1157
+ * server response, or constructed directly in Javascript. The array is used
1158
+ * in place and becomes part of the constructed object. It is not cloned.
1159
+ * If no data is provided, the constructed object will be empty, but still
1160
+ * valid.
1161
+ * @extends {jspb.Message}
1162
+ * @constructor
1163
+ */
1164
+ proto.com.lansweeper.discovery.sensor.mac.v1.CardReader = function(opt_data) {
1165
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1166
+ };
1167
+ goog.inherits(proto.com.lansweeper.discovery.sensor.mac.v1.CardReader, jspb.Message);
1168
+ if (goog.DEBUG && !COMPILED) {
1169
+ /**
1170
+ * @public
1171
+ * @override
1172
+ */
1173
+ proto.com.lansweeper.discovery.sensor.mac.v1.CardReader.displayName = 'proto.com.lansweeper.discovery.sensor.mac.v1.CardReader';
1174
+ }
1175
+ /**
1176
+ * Generated by JsPbCodeGenerator.
1177
+ * @param {Array=} opt_data Optional initial data array, typically from a
1178
+ * server response, or constructed directly in Javascript. The array is used
1179
+ * in place and becomes part of the constructed object. It is not cloned.
1180
+ * If no data is provided, the constructed object will be empty, but still
1181
+ * valid.
1182
+ * @extends {jspb.Message}
1183
+ * @constructor
1184
+ */
1185
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacController = function(opt_data) {
1186
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1187
+ };
1188
+ goog.inherits(proto.com.lansweeper.discovery.sensor.mac.v1.MacController, jspb.Message);
1189
+ if (goog.DEBUG && !COMPILED) {
1190
+ /**
1191
+ * @public
1192
+ * @override
1193
+ */
1194
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacController.displayName = 'proto.com.lansweeper.discovery.sensor.mac.v1.MacController';
1195
+ }
1196
+ /**
1197
+ * Generated by JsPbCodeGenerator.
1198
+ * @param {Array=} opt_data Optional initial data array, typically from a
1199
+ * server response, or constructed directly in Javascript. The array is used
1200
+ * in place and becomes part of the constructed object. It is not cloned.
1201
+ * If no data is provided, the constructed object will be empty, but still
1202
+ * valid.
1203
+ * @extends {jspb.Message}
1204
+ * @constructor
1205
+ */
1206
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacDiagnostics = function(opt_data) {
1207
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.com.lansweeper.discovery.sensor.mac.v1.MacDiagnostics.repeatedFields_, null);
1208
+ };
1209
+ goog.inherits(proto.com.lansweeper.discovery.sensor.mac.v1.MacDiagnostics, jspb.Message);
1210
+ if (goog.DEBUG && !COMPILED) {
1211
+ /**
1212
+ * @public
1213
+ * @override
1214
+ */
1215
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacDiagnostics.displayName = 'proto.com.lansweeper.discovery.sensor.mac.v1.MacDiagnostics';
1216
+ }
1217
+ /**
1218
+ * Generated by JsPbCodeGenerator.
1219
+ * @param {Array=} opt_data Optional initial data array, typically from a
1220
+ * server response, or constructed directly in Javascript. The array is used
1221
+ * in place and becomes part of the constructed object. It is not cloned.
1222
+ * If no data is provided, the constructed object will be empty, but still
1223
+ * valid.
1224
+ * @extends {jspb.Message}
1225
+ * @constructor
1226
+ */
1227
+ proto.com.lansweeper.discovery.sensor.mac.v1.Diagnostics = function(opt_data) {
1228
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1229
+ };
1230
+ goog.inherits(proto.com.lansweeper.discovery.sensor.mac.v1.Diagnostics, jspb.Message);
1231
+ if (goog.DEBUG && !COMPILED) {
1232
+ /**
1233
+ * @public
1234
+ * @override
1235
+ */
1236
+ proto.com.lansweeper.discovery.sensor.mac.v1.Diagnostics.displayName = 'proto.com.lansweeper.discovery.sensor.mac.v1.Diagnostics';
1237
+ }
1084
1238
 
1085
1239
  /**
1086
1240
  * List of repeated fields within this message type.
@@ -21843,4 +21997,2159 @@ proto.com.lansweeper.discovery.sensor.mac.v1.Audio.prototype.hasCoreaudioOutputS
21843
21997
  };
21844
21998
 
21845
21999
 
22000
+
22001
+ /**
22002
+ * List of repeated fields within this message type.
22003
+ * @private {!Array<number>}
22004
+ * @const
22005
+ */
22006
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacCamera.repeatedFields_ = [1];
22007
+
22008
+
22009
+
22010
+ if (jspb.Message.GENERATE_TO_OBJECT) {
22011
+ /**
22012
+ * Creates an object representation of this proto.
22013
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
22014
+ * Optional fields that are not set will be set to undefined.
22015
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
22016
+ * For the list of reserved names please see:
22017
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
22018
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
22019
+ * JSPB instance for transitional soy proto support:
22020
+ * http://goto/soy-param-migration
22021
+ * @return {!Object}
22022
+ */
22023
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacCamera.prototype.toObject = function(opt_includeInstance) {
22024
+ return proto.com.lansweeper.discovery.sensor.mac.v1.MacCamera.toObject(opt_includeInstance, this);
22025
+ };
22026
+
22027
+
22028
+ /**
22029
+ * Static version of the {@see toObject} method.
22030
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
22031
+ * the JSPB instance for transitional soy proto support:
22032
+ * http://goto/soy-param-migration
22033
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.MacCamera} msg The msg instance to transform.
22034
+ * @return {!Object}
22035
+ * @suppress {unusedLocalVariables} f is only used for nested messages
22036
+ */
22037
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacCamera.toObject = function(includeInstance, msg) {
22038
+ var f, obj = {
22039
+ entriesList: jspb.Message.toObjectList(msg.getEntriesList(),
22040
+ proto.com.lansweeper.discovery.sensor.mac.v1.Camera.toObject, includeInstance)
22041
+ };
22042
+
22043
+ if (includeInstance) {
22044
+ obj.$jspbMessageInstance = msg;
22045
+ }
22046
+ return obj;
22047
+ };
22048
+ }
22049
+
22050
+
22051
+ /**
22052
+ * Deserializes binary data (in protobuf wire format).
22053
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
22054
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacCamera}
22055
+ */
22056
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacCamera.deserializeBinary = function(bytes) {
22057
+ var reader = new jspb.BinaryReader(bytes);
22058
+ var msg = new proto.com.lansweeper.discovery.sensor.mac.v1.MacCamera;
22059
+ return proto.com.lansweeper.discovery.sensor.mac.v1.MacCamera.deserializeBinaryFromReader(msg, reader);
22060
+ };
22061
+
22062
+
22063
+ /**
22064
+ * Deserializes binary data (in protobuf wire format) from the
22065
+ * given reader into the given message object.
22066
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.MacCamera} msg The message object to deserialize into.
22067
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
22068
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacCamera}
22069
+ */
22070
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacCamera.deserializeBinaryFromReader = function(msg, reader) {
22071
+ while (reader.nextField()) {
22072
+ if (reader.isEndGroup()) {
22073
+ break;
22074
+ }
22075
+ var field = reader.getFieldNumber();
22076
+ switch (field) {
22077
+ case 1:
22078
+ var value = new proto.com.lansweeper.discovery.sensor.mac.v1.Camera;
22079
+ reader.readMessage(value,proto.com.lansweeper.discovery.sensor.mac.v1.Camera.deserializeBinaryFromReader);
22080
+ msg.addEntries(value);
22081
+ break;
22082
+ default:
22083
+ reader.skipField();
22084
+ break;
22085
+ }
22086
+ }
22087
+ return msg;
22088
+ };
22089
+
22090
+
22091
+ /**
22092
+ * Serializes the message to binary data (in protobuf wire format).
22093
+ * @return {!Uint8Array}
22094
+ */
22095
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacCamera.prototype.serializeBinary = function() {
22096
+ var writer = new jspb.BinaryWriter();
22097
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacCamera.serializeBinaryToWriter(this, writer);
22098
+ return writer.getResultBuffer();
22099
+ };
22100
+
22101
+
22102
+ /**
22103
+ * Serializes the given message to binary data (in protobuf wire
22104
+ * format), writing to the given BinaryWriter.
22105
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.MacCamera} message
22106
+ * @param {!jspb.BinaryWriter} writer
22107
+ * @suppress {unusedLocalVariables} f is only used for nested messages
22108
+ */
22109
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacCamera.serializeBinaryToWriter = function(message, writer) {
22110
+ var f = undefined;
22111
+ f = message.getEntriesList();
22112
+ if (f.length > 0) {
22113
+ writer.writeRepeatedMessage(
22114
+ 1,
22115
+ f,
22116
+ proto.com.lansweeper.discovery.sensor.mac.v1.Camera.serializeBinaryToWriter
22117
+ );
22118
+ }
22119
+ };
22120
+
22121
+
22122
+ /**
22123
+ * repeated Camera entries = 1;
22124
+ * @return {!Array<!proto.com.lansweeper.discovery.sensor.mac.v1.Camera>}
22125
+ */
22126
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacCamera.prototype.getEntriesList = function() {
22127
+ return /** @type{!Array<!proto.com.lansweeper.discovery.sensor.mac.v1.Camera>} */ (
22128
+ jspb.Message.getRepeatedWrapperField(this, proto.com.lansweeper.discovery.sensor.mac.v1.Camera, 1));
22129
+ };
22130
+
22131
+
22132
+ /**
22133
+ * @param {!Array<!proto.com.lansweeper.discovery.sensor.mac.v1.Camera>} value
22134
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacCamera} returns this
22135
+ */
22136
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacCamera.prototype.setEntriesList = function(value) {
22137
+ return jspb.Message.setRepeatedWrapperField(this, 1, value);
22138
+ };
22139
+
22140
+
22141
+ /**
22142
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.Camera=} opt_value
22143
+ * @param {number=} opt_index
22144
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Camera}
22145
+ */
22146
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacCamera.prototype.addEntries = function(opt_value, opt_index) {
22147
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.com.lansweeper.discovery.sensor.mac.v1.Camera, opt_index);
22148
+ };
22149
+
22150
+
22151
+ /**
22152
+ * Clears the list making it empty but non-null.
22153
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacCamera} returns this
22154
+ */
22155
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacCamera.prototype.clearEntriesList = function() {
22156
+ return this.setEntriesList([]);
22157
+ };
22158
+
22159
+
22160
+
22161
+
22162
+
22163
+ if (jspb.Message.GENERATE_TO_OBJECT) {
22164
+ /**
22165
+ * Creates an object representation of this proto.
22166
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
22167
+ * Optional fields that are not set will be set to undefined.
22168
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
22169
+ * For the list of reserved names please see:
22170
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
22171
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
22172
+ * JSPB instance for transitional soy proto support:
22173
+ * http://goto/soy-param-migration
22174
+ * @return {!Object}
22175
+ */
22176
+ proto.com.lansweeper.discovery.sensor.mac.v1.Camera.prototype.toObject = function(opt_includeInstance) {
22177
+ return proto.com.lansweeper.discovery.sensor.mac.v1.Camera.toObject(opt_includeInstance, this);
22178
+ };
22179
+
22180
+
22181
+ /**
22182
+ * Static version of the {@see toObject} method.
22183
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
22184
+ * the JSPB instance for transitional soy proto support:
22185
+ * http://goto/soy-param-migration
22186
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.Camera} msg The msg instance to transform.
22187
+ * @return {!Object}
22188
+ * @suppress {unusedLocalVariables} f is only used for nested messages
22189
+ */
22190
+ proto.com.lansweeper.discovery.sensor.mac.v1.Camera.toObject = function(includeInstance, msg) {
22191
+ var f, obj = {
22192
+ name: (f = msg.getName()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
22193
+ modelId: (f = msg.getModelId()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
22194
+ uniqueId: (f = msg.getUniqueId()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f)
22195
+ };
22196
+
22197
+ if (includeInstance) {
22198
+ obj.$jspbMessageInstance = msg;
22199
+ }
22200
+ return obj;
22201
+ };
22202
+ }
22203
+
22204
+
22205
+ /**
22206
+ * Deserializes binary data (in protobuf wire format).
22207
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
22208
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Camera}
22209
+ */
22210
+ proto.com.lansweeper.discovery.sensor.mac.v1.Camera.deserializeBinary = function(bytes) {
22211
+ var reader = new jspb.BinaryReader(bytes);
22212
+ var msg = new proto.com.lansweeper.discovery.sensor.mac.v1.Camera;
22213
+ return proto.com.lansweeper.discovery.sensor.mac.v1.Camera.deserializeBinaryFromReader(msg, reader);
22214
+ };
22215
+
22216
+
22217
+ /**
22218
+ * Deserializes binary data (in protobuf wire format) from the
22219
+ * given reader into the given message object.
22220
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.Camera} msg The message object to deserialize into.
22221
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
22222
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Camera}
22223
+ */
22224
+ proto.com.lansweeper.discovery.sensor.mac.v1.Camera.deserializeBinaryFromReader = function(msg, reader) {
22225
+ while (reader.nextField()) {
22226
+ if (reader.isEndGroup()) {
22227
+ break;
22228
+ }
22229
+ var field = reader.getFieldNumber();
22230
+ switch (field) {
22231
+ case 1:
22232
+ var value = new google_protobuf_wrappers_pb.StringValue;
22233
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
22234
+ msg.setName(value);
22235
+ break;
22236
+ case 2:
22237
+ var value = new google_protobuf_wrappers_pb.StringValue;
22238
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
22239
+ msg.setModelId(value);
22240
+ break;
22241
+ case 3:
22242
+ var value = new google_protobuf_wrappers_pb.StringValue;
22243
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
22244
+ msg.setUniqueId(value);
22245
+ break;
22246
+ default:
22247
+ reader.skipField();
22248
+ break;
22249
+ }
22250
+ }
22251
+ return msg;
22252
+ };
22253
+
22254
+
22255
+ /**
22256
+ * Serializes the message to binary data (in protobuf wire format).
22257
+ * @return {!Uint8Array}
22258
+ */
22259
+ proto.com.lansweeper.discovery.sensor.mac.v1.Camera.prototype.serializeBinary = function() {
22260
+ var writer = new jspb.BinaryWriter();
22261
+ proto.com.lansweeper.discovery.sensor.mac.v1.Camera.serializeBinaryToWriter(this, writer);
22262
+ return writer.getResultBuffer();
22263
+ };
22264
+
22265
+
22266
+ /**
22267
+ * Serializes the given message to binary data (in protobuf wire
22268
+ * format), writing to the given BinaryWriter.
22269
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.Camera} message
22270
+ * @param {!jspb.BinaryWriter} writer
22271
+ * @suppress {unusedLocalVariables} f is only used for nested messages
22272
+ */
22273
+ proto.com.lansweeper.discovery.sensor.mac.v1.Camera.serializeBinaryToWriter = function(message, writer) {
22274
+ var f = undefined;
22275
+ f = message.getName();
22276
+ if (f != null) {
22277
+ writer.writeMessage(
22278
+ 1,
22279
+ f,
22280
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
22281
+ );
22282
+ }
22283
+ f = message.getModelId();
22284
+ if (f != null) {
22285
+ writer.writeMessage(
22286
+ 2,
22287
+ f,
22288
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
22289
+ );
22290
+ }
22291
+ f = message.getUniqueId();
22292
+ if (f != null) {
22293
+ writer.writeMessage(
22294
+ 3,
22295
+ f,
22296
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
22297
+ );
22298
+ }
22299
+ };
22300
+
22301
+
22302
+ /**
22303
+ * optional google.protobuf.StringValue name = 1;
22304
+ * @return {?proto.google.protobuf.StringValue}
22305
+ */
22306
+ proto.com.lansweeper.discovery.sensor.mac.v1.Camera.prototype.getName = function() {
22307
+ return /** @type{?proto.google.protobuf.StringValue} */ (
22308
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 1));
22309
+ };
22310
+
22311
+
22312
+ /**
22313
+ * @param {?proto.google.protobuf.StringValue|undefined} value
22314
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Camera} returns this
22315
+ */
22316
+ proto.com.lansweeper.discovery.sensor.mac.v1.Camera.prototype.setName = function(value) {
22317
+ return jspb.Message.setWrapperField(this, 1, value);
22318
+ };
22319
+
22320
+
22321
+ /**
22322
+ * Clears the message field making it undefined.
22323
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Camera} returns this
22324
+ */
22325
+ proto.com.lansweeper.discovery.sensor.mac.v1.Camera.prototype.clearName = function() {
22326
+ return this.setName(undefined);
22327
+ };
22328
+
22329
+
22330
+ /**
22331
+ * Returns whether this field is set.
22332
+ * @return {boolean}
22333
+ */
22334
+ proto.com.lansweeper.discovery.sensor.mac.v1.Camera.prototype.hasName = function() {
22335
+ return jspb.Message.getField(this, 1) != null;
22336
+ };
22337
+
22338
+
22339
+ /**
22340
+ * optional google.protobuf.StringValue model_id = 2;
22341
+ * @return {?proto.google.protobuf.StringValue}
22342
+ */
22343
+ proto.com.lansweeper.discovery.sensor.mac.v1.Camera.prototype.getModelId = function() {
22344
+ return /** @type{?proto.google.protobuf.StringValue} */ (
22345
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 2));
22346
+ };
22347
+
22348
+
22349
+ /**
22350
+ * @param {?proto.google.protobuf.StringValue|undefined} value
22351
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Camera} returns this
22352
+ */
22353
+ proto.com.lansweeper.discovery.sensor.mac.v1.Camera.prototype.setModelId = function(value) {
22354
+ return jspb.Message.setWrapperField(this, 2, value);
22355
+ };
22356
+
22357
+
22358
+ /**
22359
+ * Clears the message field making it undefined.
22360
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Camera} returns this
22361
+ */
22362
+ proto.com.lansweeper.discovery.sensor.mac.v1.Camera.prototype.clearModelId = function() {
22363
+ return this.setModelId(undefined);
22364
+ };
22365
+
22366
+
22367
+ /**
22368
+ * Returns whether this field is set.
22369
+ * @return {boolean}
22370
+ */
22371
+ proto.com.lansweeper.discovery.sensor.mac.v1.Camera.prototype.hasModelId = function() {
22372
+ return jspb.Message.getField(this, 2) != null;
22373
+ };
22374
+
22375
+
22376
+ /**
22377
+ * optional google.protobuf.StringValue unique_id = 3;
22378
+ * @return {?proto.google.protobuf.StringValue}
22379
+ */
22380
+ proto.com.lansweeper.discovery.sensor.mac.v1.Camera.prototype.getUniqueId = function() {
22381
+ return /** @type{?proto.google.protobuf.StringValue} */ (
22382
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 3));
22383
+ };
22384
+
22385
+
22386
+ /**
22387
+ * @param {?proto.google.protobuf.StringValue|undefined} value
22388
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Camera} returns this
22389
+ */
22390
+ proto.com.lansweeper.discovery.sensor.mac.v1.Camera.prototype.setUniqueId = function(value) {
22391
+ return jspb.Message.setWrapperField(this, 3, value);
22392
+ };
22393
+
22394
+
22395
+ /**
22396
+ * Clears the message field making it undefined.
22397
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Camera} returns this
22398
+ */
22399
+ proto.com.lansweeper.discovery.sensor.mac.v1.Camera.prototype.clearUniqueId = function() {
22400
+ return this.setUniqueId(undefined);
22401
+ };
22402
+
22403
+
22404
+ /**
22405
+ * Returns whether this field is set.
22406
+ * @return {boolean}
22407
+ */
22408
+ proto.com.lansweeper.discovery.sensor.mac.v1.Camera.prototype.hasUniqueId = function() {
22409
+ return jspb.Message.getField(this, 3) != null;
22410
+ };
22411
+
22412
+
22413
+
22414
+ /**
22415
+ * List of repeated fields within this message type.
22416
+ * @private {!Array<number>}
22417
+ * @const
22418
+ */
22419
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacCardReader.repeatedFields_ = [1];
22420
+
22421
+
22422
+
22423
+ if (jspb.Message.GENERATE_TO_OBJECT) {
22424
+ /**
22425
+ * Creates an object representation of this proto.
22426
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
22427
+ * Optional fields that are not set will be set to undefined.
22428
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
22429
+ * For the list of reserved names please see:
22430
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
22431
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
22432
+ * JSPB instance for transitional soy proto support:
22433
+ * http://goto/soy-param-migration
22434
+ * @return {!Object}
22435
+ */
22436
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacCardReader.prototype.toObject = function(opt_includeInstance) {
22437
+ return proto.com.lansweeper.discovery.sensor.mac.v1.MacCardReader.toObject(opt_includeInstance, this);
22438
+ };
22439
+
22440
+
22441
+ /**
22442
+ * Static version of the {@see toObject} method.
22443
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
22444
+ * the JSPB instance for transitional soy proto support:
22445
+ * http://goto/soy-param-migration
22446
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.MacCardReader} msg The msg instance to transform.
22447
+ * @return {!Object}
22448
+ * @suppress {unusedLocalVariables} f is only used for nested messages
22449
+ */
22450
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacCardReader.toObject = function(includeInstance, msg) {
22451
+ var f, obj = {
22452
+ entriesList: jspb.Message.toObjectList(msg.getEntriesList(),
22453
+ proto.com.lansweeper.discovery.sensor.mac.v1.CardReader.toObject, includeInstance)
22454
+ };
22455
+
22456
+ if (includeInstance) {
22457
+ obj.$jspbMessageInstance = msg;
22458
+ }
22459
+ return obj;
22460
+ };
22461
+ }
22462
+
22463
+
22464
+ /**
22465
+ * Deserializes binary data (in protobuf wire format).
22466
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
22467
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacCardReader}
22468
+ */
22469
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacCardReader.deserializeBinary = function(bytes) {
22470
+ var reader = new jspb.BinaryReader(bytes);
22471
+ var msg = new proto.com.lansweeper.discovery.sensor.mac.v1.MacCardReader;
22472
+ return proto.com.lansweeper.discovery.sensor.mac.v1.MacCardReader.deserializeBinaryFromReader(msg, reader);
22473
+ };
22474
+
22475
+
22476
+ /**
22477
+ * Deserializes binary data (in protobuf wire format) from the
22478
+ * given reader into the given message object.
22479
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.MacCardReader} msg The message object to deserialize into.
22480
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
22481
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacCardReader}
22482
+ */
22483
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacCardReader.deserializeBinaryFromReader = function(msg, reader) {
22484
+ while (reader.nextField()) {
22485
+ if (reader.isEndGroup()) {
22486
+ break;
22487
+ }
22488
+ var field = reader.getFieldNumber();
22489
+ switch (field) {
22490
+ case 1:
22491
+ var value = new proto.com.lansweeper.discovery.sensor.mac.v1.CardReader;
22492
+ reader.readMessage(value,proto.com.lansweeper.discovery.sensor.mac.v1.CardReader.deserializeBinaryFromReader);
22493
+ msg.addEntries(value);
22494
+ break;
22495
+ default:
22496
+ reader.skipField();
22497
+ break;
22498
+ }
22499
+ }
22500
+ return msg;
22501
+ };
22502
+
22503
+
22504
+ /**
22505
+ * Serializes the message to binary data (in protobuf wire format).
22506
+ * @return {!Uint8Array}
22507
+ */
22508
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacCardReader.prototype.serializeBinary = function() {
22509
+ var writer = new jspb.BinaryWriter();
22510
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacCardReader.serializeBinaryToWriter(this, writer);
22511
+ return writer.getResultBuffer();
22512
+ };
22513
+
22514
+
22515
+ /**
22516
+ * Serializes the given message to binary data (in protobuf wire
22517
+ * format), writing to the given BinaryWriter.
22518
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.MacCardReader} message
22519
+ * @param {!jspb.BinaryWriter} writer
22520
+ * @suppress {unusedLocalVariables} f is only used for nested messages
22521
+ */
22522
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacCardReader.serializeBinaryToWriter = function(message, writer) {
22523
+ var f = undefined;
22524
+ f = message.getEntriesList();
22525
+ if (f.length > 0) {
22526
+ writer.writeRepeatedMessage(
22527
+ 1,
22528
+ f,
22529
+ proto.com.lansweeper.discovery.sensor.mac.v1.CardReader.serializeBinaryToWriter
22530
+ );
22531
+ }
22532
+ };
22533
+
22534
+
22535
+ /**
22536
+ * repeated CardReader entries = 1;
22537
+ * @return {!Array<!proto.com.lansweeper.discovery.sensor.mac.v1.CardReader>}
22538
+ */
22539
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacCardReader.prototype.getEntriesList = function() {
22540
+ return /** @type{!Array<!proto.com.lansweeper.discovery.sensor.mac.v1.CardReader>} */ (
22541
+ jspb.Message.getRepeatedWrapperField(this, proto.com.lansweeper.discovery.sensor.mac.v1.CardReader, 1));
22542
+ };
22543
+
22544
+
22545
+ /**
22546
+ * @param {!Array<!proto.com.lansweeper.discovery.sensor.mac.v1.CardReader>} value
22547
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacCardReader} returns this
22548
+ */
22549
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacCardReader.prototype.setEntriesList = function(value) {
22550
+ return jspb.Message.setRepeatedWrapperField(this, 1, value);
22551
+ };
22552
+
22553
+
22554
+ /**
22555
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.CardReader=} opt_value
22556
+ * @param {number=} opt_index
22557
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.CardReader}
22558
+ */
22559
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacCardReader.prototype.addEntries = function(opt_value, opt_index) {
22560
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.com.lansweeper.discovery.sensor.mac.v1.CardReader, opt_index);
22561
+ };
22562
+
22563
+
22564
+ /**
22565
+ * Clears the list making it empty but non-null.
22566
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacCardReader} returns this
22567
+ */
22568
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacCardReader.prototype.clearEntriesList = function() {
22569
+ return this.setEntriesList([]);
22570
+ };
22571
+
22572
+
22573
+
22574
+
22575
+
22576
+ if (jspb.Message.GENERATE_TO_OBJECT) {
22577
+ /**
22578
+ * Creates an object representation of this proto.
22579
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
22580
+ * Optional fields that are not set will be set to undefined.
22581
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
22582
+ * For the list of reserved names please see:
22583
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
22584
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
22585
+ * JSPB instance for transitional soy proto support:
22586
+ * http://goto/soy-param-migration
22587
+ * @return {!Object}
22588
+ */
22589
+ proto.com.lansweeper.discovery.sensor.mac.v1.CardReader.prototype.toObject = function(opt_includeInstance) {
22590
+ return proto.com.lansweeper.discovery.sensor.mac.v1.CardReader.toObject(opt_includeInstance, this);
22591
+ };
22592
+
22593
+
22594
+ /**
22595
+ * Static version of the {@see toObject} method.
22596
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
22597
+ * the JSPB instance for transitional soy proto support:
22598
+ * http://goto/soy-param-migration
22599
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.CardReader} msg The msg instance to transform.
22600
+ * @return {!Object}
22601
+ * @suppress {unusedLocalVariables} f is only used for nested messages
22602
+ */
22603
+ proto.com.lansweeper.discovery.sensor.mac.v1.CardReader.toObject = function(includeInstance, msg) {
22604
+ var f, obj = {
22605
+ deviceId: (f = msg.getDeviceId()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
22606
+ linkSpeed: (f = msg.getLinkSpeed()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
22607
+ linkWidth: (f = msg.getLinkWidth()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
22608
+ revisionId: (f = msg.getRevisionId()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
22609
+ subsystemId: (f = msg.getSubsystemId()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
22610
+ subsystemVendorId: (f = msg.getSubsystemVendorId()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
22611
+ vendorId: (f = msg.getVendorId()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f)
22612
+ };
22613
+
22614
+ if (includeInstance) {
22615
+ obj.$jspbMessageInstance = msg;
22616
+ }
22617
+ return obj;
22618
+ };
22619
+ }
22620
+
22621
+
22622
+ /**
22623
+ * Deserializes binary data (in protobuf wire format).
22624
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
22625
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.CardReader}
22626
+ */
22627
+ proto.com.lansweeper.discovery.sensor.mac.v1.CardReader.deserializeBinary = function(bytes) {
22628
+ var reader = new jspb.BinaryReader(bytes);
22629
+ var msg = new proto.com.lansweeper.discovery.sensor.mac.v1.CardReader;
22630
+ return proto.com.lansweeper.discovery.sensor.mac.v1.CardReader.deserializeBinaryFromReader(msg, reader);
22631
+ };
22632
+
22633
+
22634
+ /**
22635
+ * Deserializes binary data (in protobuf wire format) from the
22636
+ * given reader into the given message object.
22637
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.CardReader} msg The message object to deserialize into.
22638
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
22639
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.CardReader}
22640
+ */
22641
+ proto.com.lansweeper.discovery.sensor.mac.v1.CardReader.deserializeBinaryFromReader = function(msg, reader) {
22642
+ while (reader.nextField()) {
22643
+ if (reader.isEndGroup()) {
22644
+ break;
22645
+ }
22646
+ var field = reader.getFieldNumber();
22647
+ switch (field) {
22648
+ case 1:
22649
+ var value = new google_protobuf_wrappers_pb.StringValue;
22650
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
22651
+ msg.setDeviceId(value);
22652
+ break;
22653
+ case 2:
22654
+ var value = new google_protobuf_wrappers_pb.StringValue;
22655
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
22656
+ msg.setLinkSpeed(value);
22657
+ break;
22658
+ case 3:
22659
+ var value = new google_protobuf_wrappers_pb.StringValue;
22660
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
22661
+ msg.setLinkWidth(value);
22662
+ break;
22663
+ case 4:
22664
+ var value = new google_protobuf_wrappers_pb.StringValue;
22665
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
22666
+ msg.setRevisionId(value);
22667
+ break;
22668
+ case 5:
22669
+ var value = new google_protobuf_wrappers_pb.StringValue;
22670
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
22671
+ msg.setSubsystemId(value);
22672
+ break;
22673
+ case 6:
22674
+ var value = new google_protobuf_wrappers_pb.StringValue;
22675
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
22676
+ msg.setSubsystemVendorId(value);
22677
+ break;
22678
+ case 7:
22679
+ var value = new google_protobuf_wrappers_pb.StringValue;
22680
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
22681
+ msg.setVendorId(value);
22682
+ break;
22683
+ default:
22684
+ reader.skipField();
22685
+ break;
22686
+ }
22687
+ }
22688
+ return msg;
22689
+ };
22690
+
22691
+
22692
+ /**
22693
+ * Serializes the message to binary data (in protobuf wire format).
22694
+ * @return {!Uint8Array}
22695
+ */
22696
+ proto.com.lansweeper.discovery.sensor.mac.v1.CardReader.prototype.serializeBinary = function() {
22697
+ var writer = new jspb.BinaryWriter();
22698
+ proto.com.lansweeper.discovery.sensor.mac.v1.CardReader.serializeBinaryToWriter(this, writer);
22699
+ return writer.getResultBuffer();
22700
+ };
22701
+
22702
+
22703
+ /**
22704
+ * Serializes the given message to binary data (in protobuf wire
22705
+ * format), writing to the given BinaryWriter.
22706
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.CardReader} message
22707
+ * @param {!jspb.BinaryWriter} writer
22708
+ * @suppress {unusedLocalVariables} f is only used for nested messages
22709
+ */
22710
+ proto.com.lansweeper.discovery.sensor.mac.v1.CardReader.serializeBinaryToWriter = function(message, writer) {
22711
+ var f = undefined;
22712
+ f = message.getDeviceId();
22713
+ if (f != null) {
22714
+ writer.writeMessage(
22715
+ 1,
22716
+ f,
22717
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
22718
+ );
22719
+ }
22720
+ f = message.getLinkSpeed();
22721
+ if (f != null) {
22722
+ writer.writeMessage(
22723
+ 2,
22724
+ f,
22725
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
22726
+ );
22727
+ }
22728
+ f = message.getLinkWidth();
22729
+ if (f != null) {
22730
+ writer.writeMessage(
22731
+ 3,
22732
+ f,
22733
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
22734
+ );
22735
+ }
22736
+ f = message.getRevisionId();
22737
+ if (f != null) {
22738
+ writer.writeMessage(
22739
+ 4,
22740
+ f,
22741
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
22742
+ );
22743
+ }
22744
+ f = message.getSubsystemId();
22745
+ if (f != null) {
22746
+ writer.writeMessage(
22747
+ 5,
22748
+ f,
22749
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
22750
+ );
22751
+ }
22752
+ f = message.getSubsystemVendorId();
22753
+ if (f != null) {
22754
+ writer.writeMessage(
22755
+ 6,
22756
+ f,
22757
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
22758
+ );
22759
+ }
22760
+ f = message.getVendorId();
22761
+ if (f != null) {
22762
+ writer.writeMessage(
22763
+ 7,
22764
+ f,
22765
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
22766
+ );
22767
+ }
22768
+ };
22769
+
22770
+
22771
+ /**
22772
+ * optional google.protobuf.StringValue device_id = 1;
22773
+ * @return {?proto.google.protobuf.StringValue}
22774
+ */
22775
+ proto.com.lansweeper.discovery.sensor.mac.v1.CardReader.prototype.getDeviceId = function() {
22776
+ return /** @type{?proto.google.protobuf.StringValue} */ (
22777
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 1));
22778
+ };
22779
+
22780
+
22781
+ /**
22782
+ * @param {?proto.google.protobuf.StringValue|undefined} value
22783
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.CardReader} returns this
22784
+ */
22785
+ proto.com.lansweeper.discovery.sensor.mac.v1.CardReader.prototype.setDeviceId = function(value) {
22786
+ return jspb.Message.setWrapperField(this, 1, value);
22787
+ };
22788
+
22789
+
22790
+ /**
22791
+ * Clears the message field making it undefined.
22792
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.CardReader} returns this
22793
+ */
22794
+ proto.com.lansweeper.discovery.sensor.mac.v1.CardReader.prototype.clearDeviceId = function() {
22795
+ return this.setDeviceId(undefined);
22796
+ };
22797
+
22798
+
22799
+ /**
22800
+ * Returns whether this field is set.
22801
+ * @return {boolean}
22802
+ */
22803
+ proto.com.lansweeper.discovery.sensor.mac.v1.CardReader.prototype.hasDeviceId = function() {
22804
+ return jspb.Message.getField(this, 1) != null;
22805
+ };
22806
+
22807
+
22808
+ /**
22809
+ * optional google.protobuf.StringValue link_speed = 2;
22810
+ * @return {?proto.google.protobuf.StringValue}
22811
+ */
22812
+ proto.com.lansweeper.discovery.sensor.mac.v1.CardReader.prototype.getLinkSpeed = function() {
22813
+ return /** @type{?proto.google.protobuf.StringValue} */ (
22814
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 2));
22815
+ };
22816
+
22817
+
22818
+ /**
22819
+ * @param {?proto.google.protobuf.StringValue|undefined} value
22820
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.CardReader} returns this
22821
+ */
22822
+ proto.com.lansweeper.discovery.sensor.mac.v1.CardReader.prototype.setLinkSpeed = function(value) {
22823
+ return jspb.Message.setWrapperField(this, 2, value);
22824
+ };
22825
+
22826
+
22827
+ /**
22828
+ * Clears the message field making it undefined.
22829
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.CardReader} returns this
22830
+ */
22831
+ proto.com.lansweeper.discovery.sensor.mac.v1.CardReader.prototype.clearLinkSpeed = function() {
22832
+ return this.setLinkSpeed(undefined);
22833
+ };
22834
+
22835
+
22836
+ /**
22837
+ * Returns whether this field is set.
22838
+ * @return {boolean}
22839
+ */
22840
+ proto.com.lansweeper.discovery.sensor.mac.v1.CardReader.prototype.hasLinkSpeed = function() {
22841
+ return jspb.Message.getField(this, 2) != null;
22842
+ };
22843
+
22844
+
22845
+ /**
22846
+ * optional google.protobuf.StringValue link_width = 3;
22847
+ * @return {?proto.google.protobuf.StringValue}
22848
+ */
22849
+ proto.com.lansweeper.discovery.sensor.mac.v1.CardReader.prototype.getLinkWidth = function() {
22850
+ return /** @type{?proto.google.protobuf.StringValue} */ (
22851
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 3));
22852
+ };
22853
+
22854
+
22855
+ /**
22856
+ * @param {?proto.google.protobuf.StringValue|undefined} value
22857
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.CardReader} returns this
22858
+ */
22859
+ proto.com.lansweeper.discovery.sensor.mac.v1.CardReader.prototype.setLinkWidth = function(value) {
22860
+ return jspb.Message.setWrapperField(this, 3, value);
22861
+ };
22862
+
22863
+
22864
+ /**
22865
+ * Clears the message field making it undefined.
22866
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.CardReader} returns this
22867
+ */
22868
+ proto.com.lansweeper.discovery.sensor.mac.v1.CardReader.prototype.clearLinkWidth = function() {
22869
+ return this.setLinkWidth(undefined);
22870
+ };
22871
+
22872
+
22873
+ /**
22874
+ * Returns whether this field is set.
22875
+ * @return {boolean}
22876
+ */
22877
+ proto.com.lansweeper.discovery.sensor.mac.v1.CardReader.prototype.hasLinkWidth = function() {
22878
+ return jspb.Message.getField(this, 3) != null;
22879
+ };
22880
+
22881
+
22882
+ /**
22883
+ * optional google.protobuf.StringValue revision_id = 4;
22884
+ * @return {?proto.google.protobuf.StringValue}
22885
+ */
22886
+ proto.com.lansweeper.discovery.sensor.mac.v1.CardReader.prototype.getRevisionId = function() {
22887
+ return /** @type{?proto.google.protobuf.StringValue} */ (
22888
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 4));
22889
+ };
22890
+
22891
+
22892
+ /**
22893
+ * @param {?proto.google.protobuf.StringValue|undefined} value
22894
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.CardReader} returns this
22895
+ */
22896
+ proto.com.lansweeper.discovery.sensor.mac.v1.CardReader.prototype.setRevisionId = function(value) {
22897
+ return jspb.Message.setWrapperField(this, 4, value);
22898
+ };
22899
+
22900
+
22901
+ /**
22902
+ * Clears the message field making it undefined.
22903
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.CardReader} returns this
22904
+ */
22905
+ proto.com.lansweeper.discovery.sensor.mac.v1.CardReader.prototype.clearRevisionId = function() {
22906
+ return this.setRevisionId(undefined);
22907
+ };
22908
+
22909
+
22910
+ /**
22911
+ * Returns whether this field is set.
22912
+ * @return {boolean}
22913
+ */
22914
+ proto.com.lansweeper.discovery.sensor.mac.v1.CardReader.prototype.hasRevisionId = function() {
22915
+ return jspb.Message.getField(this, 4) != null;
22916
+ };
22917
+
22918
+
22919
+ /**
22920
+ * optional google.protobuf.StringValue subsystem_id = 5;
22921
+ * @return {?proto.google.protobuf.StringValue}
22922
+ */
22923
+ proto.com.lansweeper.discovery.sensor.mac.v1.CardReader.prototype.getSubsystemId = function() {
22924
+ return /** @type{?proto.google.protobuf.StringValue} */ (
22925
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 5));
22926
+ };
22927
+
22928
+
22929
+ /**
22930
+ * @param {?proto.google.protobuf.StringValue|undefined} value
22931
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.CardReader} returns this
22932
+ */
22933
+ proto.com.lansweeper.discovery.sensor.mac.v1.CardReader.prototype.setSubsystemId = function(value) {
22934
+ return jspb.Message.setWrapperField(this, 5, value);
22935
+ };
22936
+
22937
+
22938
+ /**
22939
+ * Clears the message field making it undefined.
22940
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.CardReader} returns this
22941
+ */
22942
+ proto.com.lansweeper.discovery.sensor.mac.v1.CardReader.prototype.clearSubsystemId = function() {
22943
+ return this.setSubsystemId(undefined);
22944
+ };
22945
+
22946
+
22947
+ /**
22948
+ * Returns whether this field is set.
22949
+ * @return {boolean}
22950
+ */
22951
+ proto.com.lansweeper.discovery.sensor.mac.v1.CardReader.prototype.hasSubsystemId = function() {
22952
+ return jspb.Message.getField(this, 5) != null;
22953
+ };
22954
+
22955
+
22956
+ /**
22957
+ * optional google.protobuf.StringValue subsystem_vendor_id = 6;
22958
+ * @return {?proto.google.protobuf.StringValue}
22959
+ */
22960
+ proto.com.lansweeper.discovery.sensor.mac.v1.CardReader.prototype.getSubsystemVendorId = function() {
22961
+ return /** @type{?proto.google.protobuf.StringValue} */ (
22962
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 6));
22963
+ };
22964
+
22965
+
22966
+ /**
22967
+ * @param {?proto.google.protobuf.StringValue|undefined} value
22968
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.CardReader} returns this
22969
+ */
22970
+ proto.com.lansweeper.discovery.sensor.mac.v1.CardReader.prototype.setSubsystemVendorId = function(value) {
22971
+ return jspb.Message.setWrapperField(this, 6, value);
22972
+ };
22973
+
22974
+
22975
+ /**
22976
+ * Clears the message field making it undefined.
22977
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.CardReader} returns this
22978
+ */
22979
+ proto.com.lansweeper.discovery.sensor.mac.v1.CardReader.prototype.clearSubsystemVendorId = function() {
22980
+ return this.setSubsystemVendorId(undefined);
22981
+ };
22982
+
22983
+
22984
+ /**
22985
+ * Returns whether this field is set.
22986
+ * @return {boolean}
22987
+ */
22988
+ proto.com.lansweeper.discovery.sensor.mac.v1.CardReader.prototype.hasSubsystemVendorId = function() {
22989
+ return jspb.Message.getField(this, 6) != null;
22990
+ };
22991
+
22992
+
22993
+ /**
22994
+ * optional google.protobuf.StringValue vendor_id = 7;
22995
+ * @return {?proto.google.protobuf.StringValue}
22996
+ */
22997
+ proto.com.lansweeper.discovery.sensor.mac.v1.CardReader.prototype.getVendorId = function() {
22998
+ return /** @type{?proto.google.protobuf.StringValue} */ (
22999
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 7));
23000
+ };
23001
+
23002
+
23003
+ /**
23004
+ * @param {?proto.google.protobuf.StringValue|undefined} value
23005
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.CardReader} returns this
23006
+ */
23007
+ proto.com.lansweeper.discovery.sensor.mac.v1.CardReader.prototype.setVendorId = function(value) {
23008
+ return jspb.Message.setWrapperField(this, 7, value);
23009
+ };
23010
+
23011
+
23012
+ /**
23013
+ * Clears the message field making it undefined.
23014
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.CardReader} returns this
23015
+ */
23016
+ proto.com.lansweeper.discovery.sensor.mac.v1.CardReader.prototype.clearVendorId = function() {
23017
+ return this.setVendorId(undefined);
23018
+ };
23019
+
23020
+
23021
+ /**
23022
+ * Returns whether this field is set.
23023
+ * @return {boolean}
23024
+ */
23025
+ proto.com.lansweeper.discovery.sensor.mac.v1.CardReader.prototype.hasVendorId = function() {
23026
+ return jspb.Message.getField(this, 7) != null;
23027
+ };
23028
+
23029
+
23030
+
23031
+
23032
+
23033
+ if (jspb.Message.GENERATE_TO_OBJECT) {
23034
+ /**
23035
+ * Creates an object representation of this proto.
23036
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
23037
+ * Optional fields that are not set will be set to undefined.
23038
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
23039
+ * For the list of reserved names please see:
23040
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
23041
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
23042
+ * JSPB instance for transitional soy proto support:
23043
+ * http://goto/soy-param-migration
23044
+ * @return {!Object}
23045
+ */
23046
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacController.prototype.toObject = function(opt_includeInstance) {
23047
+ return proto.com.lansweeper.discovery.sensor.mac.v1.MacController.toObject(opt_includeInstance, this);
23048
+ };
23049
+
23050
+
23051
+ /**
23052
+ * Static version of the {@see toObject} method.
23053
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
23054
+ * the JSPB instance for transitional soy proto support:
23055
+ * http://goto/soy-param-migration
23056
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.MacController} msg The msg instance to transform.
23057
+ * @return {!Object}
23058
+ * @suppress {unusedLocalVariables} f is only used for nested messages
23059
+ */
23060
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacController.toObject = function(includeInstance, msg) {
23061
+ var f, obj = {
23062
+ bootUuid: (f = msg.getBootUuid()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
23063
+ firmwareVersion: (f = msg.getFirmwareVersion()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
23064
+ extraBootPolicies: (f = msg.getExtraBootPolicies()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
23065
+ modelIdentifier: (f = msg.getModelIdentifier()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
23066
+ bootArgsFiltering: (f = msg.getBootArgsFiltering()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
23067
+ kernelCtrr: (f = msg.getKernelCtrr()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
23068
+ deviceMdmOperations: (f = msg.getDeviceMdmOperations()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
23069
+ userMdmOperations: (f = msg.getUserMdmOperations()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
23070
+ otherKernelExtensions: (f = msg.getOtherKernelExtensions()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
23071
+ systemIntegrityProtection: (f = msg.getSystemIntegrityProtection()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
23072
+ signedSystemVolume: (f = msg.getSignedSystemVolume()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
23073
+ secureBoot: (f = msg.getSecureBoot()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f)
23074
+ };
23075
+
23076
+ if (includeInstance) {
23077
+ obj.$jspbMessageInstance = msg;
23078
+ }
23079
+ return obj;
23080
+ };
23081
+ }
23082
+
23083
+
23084
+ /**
23085
+ * Deserializes binary data (in protobuf wire format).
23086
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
23087
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacController}
23088
+ */
23089
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacController.deserializeBinary = function(bytes) {
23090
+ var reader = new jspb.BinaryReader(bytes);
23091
+ var msg = new proto.com.lansweeper.discovery.sensor.mac.v1.MacController;
23092
+ return proto.com.lansweeper.discovery.sensor.mac.v1.MacController.deserializeBinaryFromReader(msg, reader);
23093
+ };
23094
+
23095
+
23096
+ /**
23097
+ * Deserializes binary data (in protobuf wire format) from the
23098
+ * given reader into the given message object.
23099
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.MacController} msg The message object to deserialize into.
23100
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
23101
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacController}
23102
+ */
23103
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacController.deserializeBinaryFromReader = function(msg, reader) {
23104
+ while (reader.nextField()) {
23105
+ if (reader.isEndGroup()) {
23106
+ break;
23107
+ }
23108
+ var field = reader.getFieldNumber();
23109
+ switch (field) {
23110
+ case 1:
23111
+ var value = new google_protobuf_wrappers_pb.StringValue;
23112
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
23113
+ msg.setBootUuid(value);
23114
+ break;
23115
+ case 2:
23116
+ var value = new google_protobuf_wrappers_pb.StringValue;
23117
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
23118
+ msg.setFirmwareVersion(value);
23119
+ break;
23120
+ case 3:
23121
+ var value = new google_protobuf_wrappers_pb.StringValue;
23122
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
23123
+ msg.setExtraBootPolicies(value);
23124
+ break;
23125
+ case 4:
23126
+ var value = new google_protobuf_wrappers_pb.StringValue;
23127
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
23128
+ msg.setModelIdentifier(value);
23129
+ break;
23130
+ case 5:
23131
+ var value = new google_protobuf_wrappers_pb.StringValue;
23132
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
23133
+ msg.setBootArgsFiltering(value);
23134
+ break;
23135
+ case 6:
23136
+ var value = new google_protobuf_wrappers_pb.StringValue;
23137
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
23138
+ msg.setKernelCtrr(value);
23139
+ break;
23140
+ case 7:
23141
+ var value = new google_protobuf_wrappers_pb.StringValue;
23142
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
23143
+ msg.setDeviceMdmOperations(value);
23144
+ break;
23145
+ case 8:
23146
+ var value = new google_protobuf_wrappers_pb.StringValue;
23147
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
23148
+ msg.setUserMdmOperations(value);
23149
+ break;
23150
+ case 9:
23151
+ var value = new google_protobuf_wrappers_pb.StringValue;
23152
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
23153
+ msg.setOtherKernelExtensions(value);
23154
+ break;
23155
+ case 10:
23156
+ var value = new google_protobuf_wrappers_pb.StringValue;
23157
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
23158
+ msg.setSystemIntegrityProtection(value);
23159
+ break;
23160
+ case 11:
23161
+ var value = new google_protobuf_wrappers_pb.StringValue;
23162
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
23163
+ msg.setSignedSystemVolume(value);
23164
+ break;
23165
+ case 12:
23166
+ var value = new google_protobuf_wrappers_pb.StringValue;
23167
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
23168
+ msg.setSecureBoot(value);
23169
+ break;
23170
+ default:
23171
+ reader.skipField();
23172
+ break;
23173
+ }
23174
+ }
23175
+ return msg;
23176
+ };
23177
+
23178
+
23179
+ /**
23180
+ * Serializes the message to binary data (in protobuf wire format).
23181
+ * @return {!Uint8Array}
23182
+ */
23183
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacController.prototype.serializeBinary = function() {
23184
+ var writer = new jspb.BinaryWriter();
23185
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacController.serializeBinaryToWriter(this, writer);
23186
+ return writer.getResultBuffer();
23187
+ };
23188
+
23189
+
23190
+ /**
23191
+ * Serializes the given message to binary data (in protobuf wire
23192
+ * format), writing to the given BinaryWriter.
23193
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.MacController} message
23194
+ * @param {!jspb.BinaryWriter} writer
23195
+ * @suppress {unusedLocalVariables} f is only used for nested messages
23196
+ */
23197
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacController.serializeBinaryToWriter = function(message, writer) {
23198
+ var f = undefined;
23199
+ f = message.getBootUuid();
23200
+ if (f != null) {
23201
+ writer.writeMessage(
23202
+ 1,
23203
+ f,
23204
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
23205
+ );
23206
+ }
23207
+ f = message.getFirmwareVersion();
23208
+ if (f != null) {
23209
+ writer.writeMessage(
23210
+ 2,
23211
+ f,
23212
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
23213
+ );
23214
+ }
23215
+ f = message.getExtraBootPolicies();
23216
+ if (f != null) {
23217
+ writer.writeMessage(
23218
+ 3,
23219
+ f,
23220
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
23221
+ );
23222
+ }
23223
+ f = message.getModelIdentifier();
23224
+ if (f != null) {
23225
+ writer.writeMessage(
23226
+ 4,
23227
+ f,
23228
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
23229
+ );
23230
+ }
23231
+ f = message.getBootArgsFiltering();
23232
+ if (f != null) {
23233
+ writer.writeMessage(
23234
+ 5,
23235
+ f,
23236
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
23237
+ );
23238
+ }
23239
+ f = message.getKernelCtrr();
23240
+ if (f != null) {
23241
+ writer.writeMessage(
23242
+ 6,
23243
+ f,
23244
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
23245
+ );
23246
+ }
23247
+ f = message.getDeviceMdmOperations();
23248
+ if (f != null) {
23249
+ writer.writeMessage(
23250
+ 7,
23251
+ f,
23252
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
23253
+ );
23254
+ }
23255
+ f = message.getUserMdmOperations();
23256
+ if (f != null) {
23257
+ writer.writeMessage(
23258
+ 8,
23259
+ f,
23260
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
23261
+ );
23262
+ }
23263
+ f = message.getOtherKernelExtensions();
23264
+ if (f != null) {
23265
+ writer.writeMessage(
23266
+ 9,
23267
+ f,
23268
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
23269
+ );
23270
+ }
23271
+ f = message.getSystemIntegrityProtection();
23272
+ if (f != null) {
23273
+ writer.writeMessage(
23274
+ 10,
23275
+ f,
23276
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
23277
+ );
23278
+ }
23279
+ f = message.getSignedSystemVolume();
23280
+ if (f != null) {
23281
+ writer.writeMessage(
23282
+ 11,
23283
+ f,
23284
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
23285
+ );
23286
+ }
23287
+ f = message.getSecureBoot();
23288
+ if (f != null) {
23289
+ writer.writeMessage(
23290
+ 12,
23291
+ f,
23292
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
23293
+ );
23294
+ }
23295
+ };
23296
+
23297
+
23298
+ /**
23299
+ * optional google.protobuf.StringValue boot_uuid = 1;
23300
+ * @return {?proto.google.protobuf.StringValue}
23301
+ */
23302
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacController.prototype.getBootUuid = function() {
23303
+ return /** @type{?proto.google.protobuf.StringValue} */ (
23304
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 1));
23305
+ };
23306
+
23307
+
23308
+ /**
23309
+ * @param {?proto.google.protobuf.StringValue|undefined} value
23310
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacController} returns this
23311
+ */
23312
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacController.prototype.setBootUuid = function(value) {
23313
+ return jspb.Message.setWrapperField(this, 1, value);
23314
+ };
23315
+
23316
+
23317
+ /**
23318
+ * Clears the message field making it undefined.
23319
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacController} returns this
23320
+ */
23321
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacController.prototype.clearBootUuid = function() {
23322
+ return this.setBootUuid(undefined);
23323
+ };
23324
+
23325
+
23326
+ /**
23327
+ * Returns whether this field is set.
23328
+ * @return {boolean}
23329
+ */
23330
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacController.prototype.hasBootUuid = function() {
23331
+ return jspb.Message.getField(this, 1) != null;
23332
+ };
23333
+
23334
+
23335
+ /**
23336
+ * optional google.protobuf.StringValue firmware_version = 2;
23337
+ * @return {?proto.google.protobuf.StringValue}
23338
+ */
23339
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacController.prototype.getFirmwareVersion = function() {
23340
+ return /** @type{?proto.google.protobuf.StringValue} */ (
23341
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 2));
23342
+ };
23343
+
23344
+
23345
+ /**
23346
+ * @param {?proto.google.protobuf.StringValue|undefined} value
23347
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacController} returns this
23348
+ */
23349
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacController.prototype.setFirmwareVersion = function(value) {
23350
+ return jspb.Message.setWrapperField(this, 2, value);
23351
+ };
23352
+
23353
+
23354
+ /**
23355
+ * Clears the message field making it undefined.
23356
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacController} returns this
23357
+ */
23358
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacController.prototype.clearFirmwareVersion = function() {
23359
+ return this.setFirmwareVersion(undefined);
23360
+ };
23361
+
23362
+
23363
+ /**
23364
+ * Returns whether this field is set.
23365
+ * @return {boolean}
23366
+ */
23367
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacController.prototype.hasFirmwareVersion = function() {
23368
+ return jspb.Message.getField(this, 2) != null;
23369
+ };
23370
+
23371
+
23372
+ /**
23373
+ * optional google.protobuf.StringValue extra_boot_policies = 3;
23374
+ * @return {?proto.google.protobuf.StringValue}
23375
+ */
23376
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacController.prototype.getExtraBootPolicies = function() {
23377
+ return /** @type{?proto.google.protobuf.StringValue} */ (
23378
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 3));
23379
+ };
23380
+
23381
+
23382
+ /**
23383
+ * @param {?proto.google.protobuf.StringValue|undefined} value
23384
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacController} returns this
23385
+ */
23386
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacController.prototype.setExtraBootPolicies = function(value) {
23387
+ return jspb.Message.setWrapperField(this, 3, value);
23388
+ };
23389
+
23390
+
23391
+ /**
23392
+ * Clears the message field making it undefined.
23393
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacController} returns this
23394
+ */
23395
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacController.prototype.clearExtraBootPolicies = function() {
23396
+ return this.setExtraBootPolicies(undefined);
23397
+ };
23398
+
23399
+
23400
+ /**
23401
+ * Returns whether this field is set.
23402
+ * @return {boolean}
23403
+ */
23404
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacController.prototype.hasExtraBootPolicies = function() {
23405
+ return jspb.Message.getField(this, 3) != null;
23406
+ };
23407
+
23408
+
23409
+ /**
23410
+ * optional google.protobuf.StringValue model_identifier = 4;
23411
+ * @return {?proto.google.protobuf.StringValue}
23412
+ */
23413
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacController.prototype.getModelIdentifier = function() {
23414
+ return /** @type{?proto.google.protobuf.StringValue} */ (
23415
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 4));
23416
+ };
23417
+
23418
+
23419
+ /**
23420
+ * @param {?proto.google.protobuf.StringValue|undefined} value
23421
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacController} returns this
23422
+ */
23423
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacController.prototype.setModelIdentifier = function(value) {
23424
+ return jspb.Message.setWrapperField(this, 4, value);
23425
+ };
23426
+
23427
+
23428
+ /**
23429
+ * Clears the message field making it undefined.
23430
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacController} returns this
23431
+ */
23432
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacController.prototype.clearModelIdentifier = function() {
23433
+ return this.setModelIdentifier(undefined);
23434
+ };
23435
+
23436
+
23437
+ /**
23438
+ * Returns whether this field is set.
23439
+ * @return {boolean}
23440
+ */
23441
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacController.prototype.hasModelIdentifier = function() {
23442
+ return jspb.Message.getField(this, 4) != null;
23443
+ };
23444
+
23445
+
23446
+ /**
23447
+ * optional google.protobuf.StringValue boot_args_filtering = 5;
23448
+ * @return {?proto.google.protobuf.StringValue}
23449
+ */
23450
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacController.prototype.getBootArgsFiltering = function() {
23451
+ return /** @type{?proto.google.protobuf.StringValue} */ (
23452
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 5));
23453
+ };
23454
+
23455
+
23456
+ /**
23457
+ * @param {?proto.google.protobuf.StringValue|undefined} value
23458
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacController} returns this
23459
+ */
23460
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacController.prototype.setBootArgsFiltering = function(value) {
23461
+ return jspb.Message.setWrapperField(this, 5, value);
23462
+ };
23463
+
23464
+
23465
+ /**
23466
+ * Clears the message field making it undefined.
23467
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacController} returns this
23468
+ */
23469
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacController.prototype.clearBootArgsFiltering = function() {
23470
+ return this.setBootArgsFiltering(undefined);
23471
+ };
23472
+
23473
+
23474
+ /**
23475
+ * Returns whether this field is set.
23476
+ * @return {boolean}
23477
+ */
23478
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacController.prototype.hasBootArgsFiltering = function() {
23479
+ return jspb.Message.getField(this, 5) != null;
23480
+ };
23481
+
23482
+
23483
+ /**
23484
+ * optional google.protobuf.StringValue kernel_ctrr = 6;
23485
+ * @return {?proto.google.protobuf.StringValue}
23486
+ */
23487
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacController.prototype.getKernelCtrr = function() {
23488
+ return /** @type{?proto.google.protobuf.StringValue} */ (
23489
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 6));
23490
+ };
23491
+
23492
+
23493
+ /**
23494
+ * @param {?proto.google.protobuf.StringValue|undefined} value
23495
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacController} returns this
23496
+ */
23497
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacController.prototype.setKernelCtrr = function(value) {
23498
+ return jspb.Message.setWrapperField(this, 6, value);
23499
+ };
23500
+
23501
+
23502
+ /**
23503
+ * Clears the message field making it undefined.
23504
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacController} returns this
23505
+ */
23506
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacController.prototype.clearKernelCtrr = function() {
23507
+ return this.setKernelCtrr(undefined);
23508
+ };
23509
+
23510
+
23511
+ /**
23512
+ * Returns whether this field is set.
23513
+ * @return {boolean}
23514
+ */
23515
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacController.prototype.hasKernelCtrr = function() {
23516
+ return jspb.Message.getField(this, 6) != null;
23517
+ };
23518
+
23519
+
23520
+ /**
23521
+ * optional google.protobuf.StringValue device_mdm_operations = 7;
23522
+ * @return {?proto.google.protobuf.StringValue}
23523
+ */
23524
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacController.prototype.getDeviceMdmOperations = function() {
23525
+ return /** @type{?proto.google.protobuf.StringValue} */ (
23526
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 7));
23527
+ };
23528
+
23529
+
23530
+ /**
23531
+ * @param {?proto.google.protobuf.StringValue|undefined} value
23532
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacController} returns this
23533
+ */
23534
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacController.prototype.setDeviceMdmOperations = function(value) {
23535
+ return jspb.Message.setWrapperField(this, 7, value);
23536
+ };
23537
+
23538
+
23539
+ /**
23540
+ * Clears the message field making it undefined.
23541
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacController} returns this
23542
+ */
23543
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacController.prototype.clearDeviceMdmOperations = function() {
23544
+ return this.setDeviceMdmOperations(undefined);
23545
+ };
23546
+
23547
+
23548
+ /**
23549
+ * Returns whether this field is set.
23550
+ * @return {boolean}
23551
+ */
23552
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacController.prototype.hasDeviceMdmOperations = function() {
23553
+ return jspb.Message.getField(this, 7) != null;
23554
+ };
23555
+
23556
+
23557
+ /**
23558
+ * optional google.protobuf.StringValue user_mdm_operations = 8;
23559
+ * @return {?proto.google.protobuf.StringValue}
23560
+ */
23561
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacController.prototype.getUserMdmOperations = function() {
23562
+ return /** @type{?proto.google.protobuf.StringValue} */ (
23563
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 8));
23564
+ };
23565
+
23566
+
23567
+ /**
23568
+ * @param {?proto.google.protobuf.StringValue|undefined} value
23569
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacController} returns this
23570
+ */
23571
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacController.prototype.setUserMdmOperations = function(value) {
23572
+ return jspb.Message.setWrapperField(this, 8, value);
23573
+ };
23574
+
23575
+
23576
+ /**
23577
+ * Clears the message field making it undefined.
23578
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacController} returns this
23579
+ */
23580
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacController.prototype.clearUserMdmOperations = function() {
23581
+ return this.setUserMdmOperations(undefined);
23582
+ };
23583
+
23584
+
23585
+ /**
23586
+ * Returns whether this field is set.
23587
+ * @return {boolean}
23588
+ */
23589
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacController.prototype.hasUserMdmOperations = function() {
23590
+ return jspb.Message.getField(this, 8) != null;
23591
+ };
23592
+
23593
+
23594
+ /**
23595
+ * optional google.protobuf.StringValue other_kernel_extensions = 9;
23596
+ * @return {?proto.google.protobuf.StringValue}
23597
+ */
23598
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacController.prototype.getOtherKernelExtensions = function() {
23599
+ return /** @type{?proto.google.protobuf.StringValue} */ (
23600
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 9));
23601
+ };
23602
+
23603
+
23604
+ /**
23605
+ * @param {?proto.google.protobuf.StringValue|undefined} value
23606
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacController} returns this
23607
+ */
23608
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacController.prototype.setOtherKernelExtensions = function(value) {
23609
+ return jspb.Message.setWrapperField(this, 9, value);
23610
+ };
23611
+
23612
+
23613
+ /**
23614
+ * Clears the message field making it undefined.
23615
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacController} returns this
23616
+ */
23617
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacController.prototype.clearOtherKernelExtensions = function() {
23618
+ return this.setOtherKernelExtensions(undefined);
23619
+ };
23620
+
23621
+
23622
+ /**
23623
+ * Returns whether this field is set.
23624
+ * @return {boolean}
23625
+ */
23626
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacController.prototype.hasOtherKernelExtensions = function() {
23627
+ return jspb.Message.getField(this, 9) != null;
23628
+ };
23629
+
23630
+
23631
+ /**
23632
+ * optional google.protobuf.StringValue system_integrity_protection = 10;
23633
+ * @return {?proto.google.protobuf.StringValue}
23634
+ */
23635
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacController.prototype.getSystemIntegrityProtection = function() {
23636
+ return /** @type{?proto.google.protobuf.StringValue} */ (
23637
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 10));
23638
+ };
23639
+
23640
+
23641
+ /**
23642
+ * @param {?proto.google.protobuf.StringValue|undefined} value
23643
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacController} returns this
23644
+ */
23645
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacController.prototype.setSystemIntegrityProtection = function(value) {
23646
+ return jspb.Message.setWrapperField(this, 10, value);
23647
+ };
23648
+
23649
+
23650
+ /**
23651
+ * Clears the message field making it undefined.
23652
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacController} returns this
23653
+ */
23654
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacController.prototype.clearSystemIntegrityProtection = function() {
23655
+ return this.setSystemIntegrityProtection(undefined);
23656
+ };
23657
+
23658
+
23659
+ /**
23660
+ * Returns whether this field is set.
23661
+ * @return {boolean}
23662
+ */
23663
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacController.prototype.hasSystemIntegrityProtection = function() {
23664
+ return jspb.Message.getField(this, 10) != null;
23665
+ };
23666
+
23667
+
23668
+ /**
23669
+ * optional google.protobuf.StringValue signed_system_volume = 11;
23670
+ * @return {?proto.google.protobuf.StringValue}
23671
+ */
23672
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacController.prototype.getSignedSystemVolume = function() {
23673
+ return /** @type{?proto.google.protobuf.StringValue} */ (
23674
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 11));
23675
+ };
23676
+
23677
+
23678
+ /**
23679
+ * @param {?proto.google.protobuf.StringValue|undefined} value
23680
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacController} returns this
23681
+ */
23682
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacController.prototype.setSignedSystemVolume = function(value) {
23683
+ return jspb.Message.setWrapperField(this, 11, value);
23684
+ };
23685
+
23686
+
23687
+ /**
23688
+ * Clears the message field making it undefined.
23689
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacController} returns this
23690
+ */
23691
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacController.prototype.clearSignedSystemVolume = function() {
23692
+ return this.setSignedSystemVolume(undefined);
23693
+ };
23694
+
23695
+
23696
+ /**
23697
+ * Returns whether this field is set.
23698
+ * @return {boolean}
23699
+ */
23700
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacController.prototype.hasSignedSystemVolume = function() {
23701
+ return jspb.Message.getField(this, 11) != null;
23702
+ };
23703
+
23704
+
23705
+ /**
23706
+ * optional google.protobuf.StringValue secure_boot = 12;
23707
+ * @return {?proto.google.protobuf.StringValue}
23708
+ */
23709
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacController.prototype.getSecureBoot = function() {
23710
+ return /** @type{?proto.google.protobuf.StringValue} */ (
23711
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 12));
23712
+ };
23713
+
23714
+
23715
+ /**
23716
+ * @param {?proto.google.protobuf.StringValue|undefined} value
23717
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacController} returns this
23718
+ */
23719
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacController.prototype.setSecureBoot = function(value) {
23720
+ return jspb.Message.setWrapperField(this, 12, value);
23721
+ };
23722
+
23723
+
23724
+ /**
23725
+ * Clears the message field making it undefined.
23726
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacController} returns this
23727
+ */
23728
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacController.prototype.clearSecureBoot = function() {
23729
+ return this.setSecureBoot(undefined);
23730
+ };
23731
+
23732
+
23733
+ /**
23734
+ * Returns whether this field is set.
23735
+ * @return {boolean}
23736
+ */
23737
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacController.prototype.hasSecureBoot = function() {
23738
+ return jspb.Message.getField(this, 12) != null;
23739
+ };
23740
+
23741
+
23742
+
23743
+ /**
23744
+ * List of repeated fields within this message type.
23745
+ * @private {!Array<number>}
23746
+ * @const
23747
+ */
23748
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacDiagnostics.repeatedFields_ = [1];
23749
+
23750
+
23751
+
23752
+ if (jspb.Message.GENERATE_TO_OBJECT) {
23753
+ /**
23754
+ * Creates an object representation of this proto.
23755
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
23756
+ * Optional fields that are not set will be set to undefined.
23757
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
23758
+ * For the list of reserved names please see:
23759
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
23760
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
23761
+ * JSPB instance for transitional soy proto support:
23762
+ * http://goto/soy-param-migration
23763
+ * @return {!Object}
23764
+ */
23765
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacDiagnostics.prototype.toObject = function(opt_includeInstance) {
23766
+ return proto.com.lansweeper.discovery.sensor.mac.v1.MacDiagnostics.toObject(opt_includeInstance, this);
23767
+ };
23768
+
23769
+
23770
+ /**
23771
+ * Static version of the {@see toObject} method.
23772
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
23773
+ * the JSPB instance for transitional soy proto support:
23774
+ * http://goto/soy-param-migration
23775
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.MacDiagnostics} msg The msg instance to transform.
23776
+ * @return {!Object}
23777
+ * @suppress {unusedLocalVariables} f is only used for nested messages
23778
+ */
23779
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacDiagnostics.toObject = function(includeInstance, msg) {
23780
+ var f, obj = {
23781
+ entriesList: jspb.Message.toObjectList(msg.getEntriesList(),
23782
+ proto.com.lansweeper.discovery.sensor.mac.v1.Diagnostics.toObject, includeInstance)
23783
+ };
23784
+
23785
+ if (includeInstance) {
23786
+ obj.$jspbMessageInstance = msg;
23787
+ }
23788
+ return obj;
23789
+ };
23790
+ }
23791
+
23792
+
23793
+ /**
23794
+ * Deserializes binary data (in protobuf wire format).
23795
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
23796
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacDiagnostics}
23797
+ */
23798
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacDiagnostics.deserializeBinary = function(bytes) {
23799
+ var reader = new jspb.BinaryReader(bytes);
23800
+ var msg = new proto.com.lansweeper.discovery.sensor.mac.v1.MacDiagnostics;
23801
+ return proto.com.lansweeper.discovery.sensor.mac.v1.MacDiagnostics.deserializeBinaryFromReader(msg, reader);
23802
+ };
23803
+
23804
+
23805
+ /**
23806
+ * Deserializes binary data (in protobuf wire format) from the
23807
+ * given reader into the given message object.
23808
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.MacDiagnostics} msg The message object to deserialize into.
23809
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
23810
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacDiagnostics}
23811
+ */
23812
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacDiagnostics.deserializeBinaryFromReader = function(msg, reader) {
23813
+ while (reader.nextField()) {
23814
+ if (reader.isEndGroup()) {
23815
+ break;
23816
+ }
23817
+ var field = reader.getFieldNumber();
23818
+ switch (field) {
23819
+ case 1:
23820
+ var value = new proto.com.lansweeper.discovery.sensor.mac.v1.Diagnostics;
23821
+ reader.readMessage(value,proto.com.lansweeper.discovery.sensor.mac.v1.Diagnostics.deserializeBinaryFromReader);
23822
+ msg.addEntries(value);
23823
+ break;
23824
+ default:
23825
+ reader.skipField();
23826
+ break;
23827
+ }
23828
+ }
23829
+ return msg;
23830
+ };
23831
+
23832
+
23833
+ /**
23834
+ * Serializes the message to binary data (in protobuf wire format).
23835
+ * @return {!Uint8Array}
23836
+ */
23837
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacDiagnostics.prototype.serializeBinary = function() {
23838
+ var writer = new jspb.BinaryWriter();
23839
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacDiagnostics.serializeBinaryToWriter(this, writer);
23840
+ return writer.getResultBuffer();
23841
+ };
23842
+
23843
+
23844
+ /**
23845
+ * Serializes the given message to binary data (in protobuf wire
23846
+ * format), writing to the given BinaryWriter.
23847
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.MacDiagnostics} message
23848
+ * @param {!jspb.BinaryWriter} writer
23849
+ * @suppress {unusedLocalVariables} f is only used for nested messages
23850
+ */
23851
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacDiagnostics.serializeBinaryToWriter = function(message, writer) {
23852
+ var f = undefined;
23853
+ f = message.getEntriesList();
23854
+ if (f.length > 0) {
23855
+ writer.writeRepeatedMessage(
23856
+ 1,
23857
+ f,
23858
+ proto.com.lansweeper.discovery.sensor.mac.v1.Diagnostics.serializeBinaryToWriter
23859
+ );
23860
+ }
23861
+ };
23862
+
23863
+
23864
+ /**
23865
+ * repeated Diagnostics entries = 1;
23866
+ * @return {!Array<!proto.com.lansweeper.discovery.sensor.mac.v1.Diagnostics>}
23867
+ */
23868
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacDiagnostics.prototype.getEntriesList = function() {
23869
+ return /** @type{!Array<!proto.com.lansweeper.discovery.sensor.mac.v1.Diagnostics>} */ (
23870
+ jspb.Message.getRepeatedWrapperField(this, proto.com.lansweeper.discovery.sensor.mac.v1.Diagnostics, 1));
23871
+ };
23872
+
23873
+
23874
+ /**
23875
+ * @param {!Array<!proto.com.lansweeper.discovery.sensor.mac.v1.Diagnostics>} value
23876
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacDiagnostics} returns this
23877
+ */
23878
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacDiagnostics.prototype.setEntriesList = function(value) {
23879
+ return jspb.Message.setRepeatedWrapperField(this, 1, value);
23880
+ };
23881
+
23882
+
23883
+ /**
23884
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.Diagnostics=} opt_value
23885
+ * @param {number=} opt_index
23886
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Diagnostics}
23887
+ */
23888
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacDiagnostics.prototype.addEntries = function(opt_value, opt_index) {
23889
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.com.lansweeper.discovery.sensor.mac.v1.Diagnostics, opt_index);
23890
+ };
23891
+
23892
+
23893
+ /**
23894
+ * Clears the list making it empty but non-null.
23895
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacDiagnostics} returns this
23896
+ */
23897
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacDiagnostics.prototype.clearEntriesList = function() {
23898
+ return this.setEntriesList([]);
23899
+ };
23900
+
23901
+
23902
+
23903
+
23904
+
23905
+ if (jspb.Message.GENERATE_TO_OBJECT) {
23906
+ /**
23907
+ * Creates an object representation of this proto.
23908
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
23909
+ * Optional fields that are not set will be set to undefined.
23910
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
23911
+ * For the list of reserved names please see:
23912
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
23913
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
23914
+ * JSPB instance for transitional soy proto support:
23915
+ * http://goto/soy-param-migration
23916
+ * @return {!Object}
23917
+ */
23918
+ proto.com.lansweeper.discovery.sensor.mac.v1.Diagnostics.prototype.toObject = function(opt_includeInstance) {
23919
+ return proto.com.lansweeper.discovery.sensor.mac.v1.Diagnostics.toObject(opt_includeInstance, this);
23920
+ };
23921
+
23922
+
23923
+ /**
23924
+ * Static version of the {@see toObject} method.
23925
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
23926
+ * the JSPB instance for transitional soy proto support:
23927
+ * http://goto/soy-param-migration
23928
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.Diagnostics} msg The msg instance to transform.
23929
+ * @return {!Object}
23930
+ * @suppress {unusedLocalVariables} f is only used for nested messages
23931
+ */
23932
+ proto.com.lansweeper.discovery.sensor.mac.v1.Diagnostics.toObject = function(includeInstance, msg) {
23933
+ var f, obj = {
23934
+ name: (f = msg.getName()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
23935
+ lastRun: (f = msg.getLastRun()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
23936
+ result: (f = msg.getResult()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f)
23937
+ };
23938
+
23939
+ if (includeInstance) {
23940
+ obj.$jspbMessageInstance = msg;
23941
+ }
23942
+ return obj;
23943
+ };
23944
+ }
23945
+
23946
+
23947
+ /**
23948
+ * Deserializes binary data (in protobuf wire format).
23949
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
23950
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Diagnostics}
23951
+ */
23952
+ proto.com.lansweeper.discovery.sensor.mac.v1.Diagnostics.deserializeBinary = function(bytes) {
23953
+ var reader = new jspb.BinaryReader(bytes);
23954
+ var msg = new proto.com.lansweeper.discovery.sensor.mac.v1.Diagnostics;
23955
+ return proto.com.lansweeper.discovery.sensor.mac.v1.Diagnostics.deserializeBinaryFromReader(msg, reader);
23956
+ };
23957
+
23958
+
23959
+ /**
23960
+ * Deserializes binary data (in protobuf wire format) from the
23961
+ * given reader into the given message object.
23962
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.Diagnostics} msg The message object to deserialize into.
23963
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
23964
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Diagnostics}
23965
+ */
23966
+ proto.com.lansweeper.discovery.sensor.mac.v1.Diagnostics.deserializeBinaryFromReader = function(msg, reader) {
23967
+ while (reader.nextField()) {
23968
+ if (reader.isEndGroup()) {
23969
+ break;
23970
+ }
23971
+ var field = reader.getFieldNumber();
23972
+ switch (field) {
23973
+ case 1:
23974
+ var value = new google_protobuf_wrappers_pb.StringValue;
23975
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
23976
+ msg.setName(value);
23977
+ break;
23978
+ case 2:
23979
+ var value = new google_protobuf_wrappers_pb.StringValue;
23980
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
23981
+ msg.setLastRun(value);
23982
+ break;
23983
+ case 3:
23984
+ var value = new google_protobuf_wrappers_pb.StringValue;
23985
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
23986
+ msg.setResult(value);
23987
+ break;
23988
+ default:
23989
+ reader.skipField();
23990
+ break;
23991
+ }
23992
+ }
23993
+ return msg;
23994
+ };
23995
+
23996
+
23997
+ /**
23998
+ * Serializes the message to binary data (in protobuf wire format).
23999
+ * @return {!Uint8Array}
24000
+ */
24001
+ proto.com.lansweeper.discovery.sensor.mac.v1.Diagnostics.prototype.serializeBinary = function() {
24002
+ var writer = new jspb.BinaryWriter();
24003
+ proto.com.lansweeper.discovery.sensor.mac.v1.Diagnostics.serializeBinaryToWriter(this, writer);
24004
+ return writer.getResultBuffer();
24005
+ };
24006
+
24007
+
24008
+ /**
24009
+ * Serializes the given message to binary data (in protobuf wire
24010
+ * format), writing to the given BinaryWriter.
24011
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.Diagnostics} message
24012
+ * @param {!jspb.BinaryWriter} writer
24013
+ * @suppress {unusedLocalVariables} f is only used for nested messages
24014
+ */
24015
+ proto.com.lansweeper.discovery.sensor.mac.v1.Diagnostics.serializeBinaryToWriter = function(message, writer) {
24016
+ var f = undefined;
24017
+ f = message.getName();
24018
+ if (f != null) {
24019
+ writer.writeMessage(
24020
+ 1,
24021
+ f,
24022
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
24023
+ );
24024
+ }
24025
+ f = message.getLastRun();
24026
+ if (f != null) {
24027
+ writer.writeMessage(
24028
+ 2,
24029
+ f,
24030
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
24031
+ );
24032
+ }
24033
+ f = message.getResult();
24034
+ if (f != null) {
24035
+ writer.writeMessage(
24036
+ 3,
24037
+ f,
24038
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
24039
+ );
24040
+ }
24041
+ };
24042
+
24043
+
24044
+ /**
24045
+ * optional google.protobuf.StringValue name = 1;
24046
+ * @return {?proto.google.protobuf.StringValue}
24047
+ */
24048
+ proto.com.lansweeper.discovery.sensor.mac.v1.Diagnostics.prototype.getName = function() {
24049
+ return /** @type{?proto.google.protobuf.StringValue} */ (
24050
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 1));
24051
+ };
24052
+
24053
+
24054
+ /**
24055
+ * @param {?proto.google.protobuf.StringValue|undefined} value
24056
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Diagnostics} returns this
24057
+ */
24058
+ proto.com.lansweeper.discovery.sensor.mac.v1.Diagnostics.prototype.setName = function(value) {
24059
+ return jspb.Message.setWrapperField(this, 1, value);
24060
+ };
24061
+
24062
+
24063
+ /**
24064
+ * Clears the message field making it undefined.
24065
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Diagnostics} returns this
24066
+ */
24067
+ proto.com.lansweeper.discovery.sensor.mac.v1.Diagnostics.prototype.clearName = function() {
24068
+ return this.setName(undefined);
24069
+ };
24070
+
24071
+
24072
+ /**
24073
+ * Returns whether this field is set.
24074
+ * @return {boolean}
24075
+ */
24076
+ proto.com.lansweeper.discovery.sensor.mac.v1.Diagnostics.prototype.hasName = function() {
24077
+ return jspb.Message.getField(this, 1) != null;
24078
+ };
24079
+
24080
+
24081
+ /**
24082
+ * optional google.protobuf.StringValue last_run = 2;
24083
+ * @return {?proto.google.protobuf.StringValue}
24084
+ */
24085
+ proto.com.lansweeper.discovery.sensor.mac.v1.Diagnostics.prototype.getLastRun = function() {
24086
+ return /** @type{?proto.google.protobuf.StringValue} */ (
24087
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 2));
24088
+ };
24089
+
24090
+
24091
+ /**
24092
+ * @param {?proto.google.protobuf.StringValue|undefined} value
24093
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Diagnostics} returns this
24094
+ */
24095
+ proto.com.lansweeper.discovery.sensor.mac.v1.Diagnostics.prototype.setLastRun = function(value) {
24096
+ return jspb.Message.setWrapperField(this, 2, value);
24097
+ };
24098
+
24099
+
24100
+ /**
24101
+ * Clears the message field making it undefined.
24102
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Diagnostics} returns this
24103
+ */
24104
+ proto.com.lansweeper.discovery.sensor.mac.v1.Diagnostics.prototype.clearLastRun = function() {
24105
+ return this.setLastRun(undefined);
24106
+ };
24107
+
24108
+
24109
+ /**
24110
+ * Returns whether this field is set.
24111
+ * @return {boolean}
24112
+ */
24113
+ proto.com.lansweeper.discovery.sensor.mac.v1.Diagnostics.prototype.hasLastRun = function() {
24114
+ return jspb.Message.getField(this, 2) != null;
24115
+ };
24116
+
24117
+
24118
+ /**
24119
+ * optional google.protobuf.StringValue result = 3;
24120
+ * @return {?proto.google.protobuf.StringValue}
24121
+ */
24122
+ proto.com.lansweeper.discovery.sensor.mac.v1.Diagnostics.prototype.getResult = function() {
24123
+ return /** @type{?proto.google.protobuf.StringValue} */ (
24124
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 3));
24125
+ };
24126
+
24127
+
24128
+ /**
24129
+ * @param {?proto.google.protobuf.StringValue|undefined} value
24130
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Diagnostics} returns this
24131
+ */
24132
+ proto.com.lansweeper.discovery.sensor.mac.v1.Diagnostics.prototype.setResult = function(value) {
24133
+ return jspb.Message.setWrapperField(this, 3, value);
24134
+ };
24135
+
24136
+
24137
+ /**
24138
+ * Clears the message field making it undefined.
24139
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Diagnostics} returns this
24140
+ */
24141
+ proto.com.lansweeper.discovery.sensor.mac.v1.Diagnostics.prototype.clearResult = function() {
24142
+ return this.setResult(undefined);
24143
+ };
24144
+
24145
+
24146
+ /**
24147
+ * Returns whether this field is set.
24148
+ * @return {boolean}
24149
+ */
24150
+ proto.com.lansweeper.discovery.sensor.mac.v1.Diagnostics.prototype.hasResult = function() {
24151
+ return jspb.Message.getField(this, 3) != null;
24152
+ };
24153
+
24154
+
21846
24155
  goog.object.extend(exports, proto.com.lansweeper.discovery.sensor.mac.v1);