@lansweeper/discovery-sensor-proto 2.44.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.
@@ -37,6 +37,7 @@ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.BluetoothDevice'
37
37
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.Camera', null, global);
38
38
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.CardReader', null, global);
39
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);
40
41
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.DiscBurning', null, global);
41
42
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.Display', null, global);
42
43
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.Firewire', null, global);
@@ -47,6 +48,8 @@ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.MacBasicInfo', n
47
48
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.MacBluetooth', null, global);
48
49
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.MacCamera', null, global);
49
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);
50
53
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.MacDiscBurning', null, global);
51
54
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.MacDisplay', null, global);
52
55
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.MacFirewall', null, global);
@@ -1169,6 +1172,69 @@ if (goog.DEBUG && !COMPILED) {
1169
1172
  */
1170
1173
  proto.com.lansweeper.discovery.sensor.mac.v1.CardReader.displayName = 'proto.com.lansweeper.discovery.sensor.mac.v1.CardReader';
1171
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
+ }
1172
1238
 
1173
1239
  /**
1174
1240
  * List of repeated fields within this message type.
@@ -22961,4 +23027,1129 @@ proto.com.lansweeper.discovery.sensor.mac.v1.CardReader.prototype.hasVendorId =
22961
23027
  };
22962
23028
 
22963
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
+
22964
24155
  goog.object.extend(exports, proto.com.lansweeper.discovery.sensor.mac.v1);