@lansweeper/discovery-sensor-proto 2.13.19 → 2.13.21

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.
@@ -28,11 +28,13 @@ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.MacBasicInfo', n
28
28
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.MacBluetooth', null, global);
29
29
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.MacHardDisk', null, global);
30
30
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.MacMemory', null, global);
31
+ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.MacMonitor', null, global);
31
32
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.MacNetwork', null, global);
32
33
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.MacNetworkVolume', null, global);
33
34
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.MacOsInfo', null, global);
34
35
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.MacSoftware', null, global);
35
36
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.Memory', null, global);
37
+ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.Monitor', null, global);
36
38
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.Network', null, global);
37
39
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.NetworkAppleTalk', null, global);
38
40
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.NetworkDhcp', null, global);
@@ -655,6 +657,48 @@ if (goog.DEBUG && !COMPILED) {
655
657
  */
656
658
  proto.com.lansweeper.discovery.sensor.mac.v1.SystemHardware.displayName = 'proto.com.lansweeper.discovery.sensor.mac.v1.SystemHardware';
657
659
  }
660
+ /**
661
+ * Generated by JsPbCodeGenerator.
662
+ * @param {Array=} opt_data Optional initial data array, typically from a
663
+ * server response, or constructed directly in Javascript. The array is used
664
+ * in place and becomes part of the constructed object. It is not cloned.
665
+ * If no data is provided, the constructed object will be empty, but still
666
+ * valid.
667
+ * @extends {jspb.Message}
668
+ * @constructor
669
+ */
670
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacMonitor = function(opt_data) {
671
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.com.lansweeper.discovery.sensor.mac.v1.MacMonitor.repeatedFields_, null);
672
+ };
673
+ goog.inherits(proto.com.lansweeper.discovery.sensor.mac.v1.MacMonitor, jspb.Message);
674
+ if (goog.DEBUG && !COMPILED) {
675
+ /**
676
+ * @public
677
+ * @override
678
+ */
679
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacMonitor.displayName = 'proto.com.lansweeper.discovery.sensor.mac.v1.MacMonitor';
680
+ }
681
+ /**
682
+ * Generated by JsPbCodeGenerator.
683
+ * @param {Array=} opt_data Optional initial data array, typically from a
684
+ * server response, or constructed directly in Javascript. The array is used
685
+ * in place and becomes part of the constructed object. It is not cloned.
686
+ * If no data is provided, the constructed object will be empty, but still
687
+ * valid.
688
+ * @extends {jspb.Message}
689
+ * @constructor
690
+ */
691
+ proto.com.lansweeper.discovery.sensor.mac.v1.Monitor = function(opt_data) {
692
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
693
+ };
694
+ goog.inherits(proto.com.lansweeper.discovery.sensor.mac.v1.Monitor, jspb.Message);
695
+ if (goog.DEBUG && !COMPILED) {
696
+ /**
697
+ * @public
698
+ * @override
699
+ */
700
+ proto.com.lansweeper.discovery.sensor.mac.v1.Monitor.displayName = 'proto.com.lansweeper.discovery.sensor.mac.v1.Monitor';
701
+ }
658
702
 
659
703
  /**
660
704
  * List of repeated fields within this message type.
@@ -11985,4 +12029,1437 @@ proto.com.lansweeper.discovery.sensor.mac.v1.SystemHardware.prototype.hasSmcVers
11985
12029
  };
11986
12030
 
11987
12031
 
12032
+
12033
+ /**
12034
+ * List of repeated fields within this message type.
12035
+ * @private {!Array<number>}
12036
+ * @const
12037
+ */
12038
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacMonitor.repeatedFields_ = [3];
12039
+
12040
+
12041
+
12042
+ if (jspb.Message.GENERATE_TO_OBJECT) {
12043
+ /**
12044
+ * Creates an object representation of this proto.
12045
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
12046
+ * Optional fields that are not set will be set to undefined.
12047
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
12048
+ * For the list of reserved names please see:
12049
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
12050
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
12051
+ * JSPB instance for transitional soy proto support:
12052
+ * http://goto/soy-param-migration
12053
+ * @return {!Object}
12054
+ */
12055
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacMonitor.prototype.toObject = function(opt_includeInstance) {
12056
+ return proto.com.lansweeper.discovery.sensor.mac.v1.MacMonitor.toObject(opt_includeInstance, this);
12057
+ };
12058
+
12059
+
12060
+ /**
12061
+ * Static version of the {@see toObject} method.
12062
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
12063
+ * the JSPB instance for transitional soy proto support:
12064
+ * http://goto/soy-param-migration
12065
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.MacMonitor} msg The msg instance to transform.
12066
+ * @return {!Object}
12067
+ * @suppress {unusedLocalVariables} f is only used for nested messages
12068
+ */
12069
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacMonitor.toObject = function(includeInstance, msg) {
12070
+ var f, obj = {
12071
+ name: (f = msg.getName()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
12072
+ mtlGpuFamilySupport: (f = msg.getMtlGpuFamilySupport()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
12073
+ entriesList: jspb.Message.toObjectList(msg.getEntriesList(),
12074
+ proto.com.lansweeper.discovery.sensor.mac.v1.Monitor.toObject, includeInstance),
12075
+ vendor: (f = msg.getVendor()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
12076
+ sppciBus: (f = msg.getSppciBus()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
12077
+ sppciCores: (f = msg.getSppciCores()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
12078
+ sppciDeviceType: (f = msg.getSppciDeviceType()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
12079
+ sppciModel: (f = msg.getSppciModel()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f)
12080
+ };
12081
+
12082
+ if (includeInstance) {
12083
+ obj.$jspbMessageInstance = msg;
12084
+ }
12085
+ return obj;
12086
+ };
12087
+ }
12088
+
12089
+
12090
+ /**
12091
+ * Deserializes binary data (in protobuf wire format).
12092
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
12093
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacMonitor}
12094
+ */
12095
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacMonitor.deserializeBinary = function(bytes) {
12096
+ var reader = new jspb.BinaryReader(bytes);
12097
+ var msg = new proto.com.lansweeper.discovery.sensor.mac.v1.MacMonitor;
12098
+ return proto.com.lansweeper.discovery.sensor.mac.v1.MacMonitor.deserializeBinaryFromReader(msg, reader);
12099
+ };
12100
+
12101
+
12102
+ /**
12103
+ * Deserializes binary data (in protobuf wire format) from the
12104
+ * given reader into the given message object.
12105
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.MacMonitor} msg The message object to deserialize into.
12106
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
12107
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacMonitor}
12108
+ */
12109
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacMonitor.deserializeBinaryFromReader = function(msg, reader) {
12110
+ while (reader.nextField()) {
12111
+ if (reader.isEndGroup()) {
12112
+ break;
12113
+ }
12114
+ var field = reader.getFieldNumber();
12115
+ switch (field) {
12116
+ case 1:
12117
+ var value = new google_protobuf_wrappers_pb.StringValue;
12118
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
12119
+ msg.setName(value);
12120
+ break;
12121
+ case 2:
12122
+ var value = new google_protobuf_wrappers_pb.StringValue;
12123
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
12124
+ msg.setMtlGpuFamilySupport(value);
12125
+ break;
12126
+ case 3:
12127
+ var value = new proto.com.lansweeper.discovery.sensor.mac.v1.Monitor;
12128
+ reader.readMessage(value,proto.com.lansweeper.discovery.sensor.mac.v1.Monitor.deserializeBinaryFromReader);
12129
+ msg.addEntries(value);
12130
+ break;
12131
+ case 4:
12132
+ var value = new google_protobuf_wrappers_pb.StringValue;
12133
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
12134
+ msg.setVendor(value);
12135
+ break;
12136
+ case 5:
12137
+ var value = new google_protobuf_wrappers_pb.StringValue;
12138
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
12139
+ msg.setSppciBus(value);
12140
+ break;
12141
+ case 6:
12142
+ var value = new google_protobuf_wrappers_pb.StringValue;
12143
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
12144
+ msg.setSppciCores(value);
12145
+ break;
12146
+ case 7:
12147
+ var value = new google_protobuf_wrappers_pb.StringValue;
12148
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
12149
+ msg.setSppciDeviceType(value);
12150
+ break;
12151
+ case 8:
12152
+ var value = new google_protobuf_wrappers_pb.StringValue;
12153
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
12154
+ msg.setSppciModel(value);
12155
+ break;
12156
+ default:
12157
+ reader.skipField();
12158
+ break;
12159
+ }
12160
+ }
12161
+ return msg;
12162
+ };
12163
+
12164
+
12165
+ /**
12166
+ * Serializes the message to binary data (in protobuf wire format).
12167
+ * @return {!Uint8Array}
12168
+ */
12169
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacMonitor.prototype.serializeBinary = function() {
12170
+ var writer = new jspb.BinaryWriter();
12171
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacMonitor.serializeBinaryToWriter(this, writer);
12172
+ return writer.getResultBuffer();
12173
+ };
12174
+
12175
+
12176
+ /**
12177
+ * Serializes the given message to binary data (in protobuf wire
12178
+ * format), writing to the given BinaryWriter.
12179
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.MacMonitor} message
12180
+ * @param {!jspb.BinaryWriter} writer
12181
+ * @suppress {unusedLocalVariables} f is only used for nested messages
12182
+ */
12183
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacMonitor.serializeBinaryToWriter = function(message, writer) {
12184
+ var f = undefined;
12185
+ f = message.getName();
12186
+ if (f != null) {
12187
+ writer.writeMessage(
12188
+ 1,
12189
+ f,
12190
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
12191
+ );
12192
+ }
12193
+ f = message.getMtlGpuFamilySupport();
12194
+ if (f != null) {
12195
+ writer.writeMessage(
12196
+ 2,
12197
+ f,
12198
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
12199
+ );
12200
+ }
12201
+ f = message.getEntriesList();
12202
+ if (f.length > 0) {
12203
+ writer.writeRepeatedMessage(
12204
+ 3,
12205
+ f,
12206
+ proto.com.lansweeper.discovery.sensor.mac.v1.Monitor.serializeBinaryToWriter
12207
+ );
12208
+ }
12209
+ f = message.getVendor();
12210
+ if (f != null) {
12211
+ writer.writeMessage(
12212
+ 4,
12213
+ f,
12214
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
12215
+ );
12216
+ }
12217
+ f = message.getSppciBus();
12218
+ if (f != null) {
12219
+ writer.writeMessage(
12220
+ 5,
12221
+ f,
12222
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
12223
+ );
12224
+ }
12225
+ f = message.getSppciCores();
12226
+ if (f != null) {
12227
+ writer.writeMessage(
12228
+ 6,
12229
+ f,
12230
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
12231
+ );
12232
+ }
12233
+ f = message.getSppciDeviceType();
12234
+ if (f != null) {
12235
+ writer.writeMessage(
12236
+ 7,
12237
+ f,
12238
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
12239
+ );
12240
+ }
12241
+ f = message.getSppciModel();
12242
+ if (f != null) {
12243
+ writer.writeMessage(
12244
+ 8,
12245
+ f,
12246
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
12247
+ );
12248
+ }
12249
+ };
12250
+
12251
+
12252
+ /**
12253
+ * optional google.protobuf.StringValue name = 1;
12254
+ * @return {?proto.google.protobuf.StringValue}
12255
+ */
12256
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacMonitor.prototype.getName = function() {
12257
+ return /** @type{?proto.google.protobuf.StringValue} */ (
12258
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 1));
12259
+ };
12260
+
12261
+
12262
+ /**
12263
+ * @param {?proto.google.protobuf.StringValue|undefined} value
12264
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacMonitor} returns this
12265
+ */
12266
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacMonitor.prototype.setName = function(value) {
12267
+ return jspb.Message.setWrapperField(this, 1, value);
12268
+ };
12269
+
12270
+
12271
+ /**
12272
+ * Clears the message field making it undefined.
12273
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacMonitor} returns this
12274
+ */
12275
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacMonitor.prototype.clearName = function() {
12276
+ return this.setName(undefined);
12277
+ };
12278
+
12279
+
12280
+ /**
12281
+ * Returns whether this field is set.
12282
+ * @return {boolean}
12283
+ */
12284
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacMonitor.prototype.hasName = function() {
12285
+ return jspb.Message.getField(this, 1) != null;
12286
+ };
12287
+
12288
+
12289
+ /**
12290
+ * optional google.protobuf.StringValue mtl_gpu_family_support = 2;
12291
+ * @return {?proto.google.protobuf.StringValue}
12292
+ */
12293
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacMonitor.prototype.getMtlGpuFamilySupport = function() {
12294
+ return /** @type{?proto.google.protobuf.StringValue} */ (
12295
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 2));
12296
+ };
12297
+
12298
+
12299
+ /**
12300
+ * @param {?proto.google.protobuf.StringValue|undefined} value
12301
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacMonitor} returns this
12302
+ */
12303
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacMonitor.prototype.setMtlGpuFamilySupport = function(value) {
12304
+ return jspb.Message.setWrapperField(this, 2, value);
12305
+ };
12306
+
12307
+
12308
+ /**
12309
+ * Clears the message field making it undefined.
12310
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacMonitor} returns this
12311
+ */
12312
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacMonitor.prototype.clearMtlGpuFamilySupport = function() {
12313
+ return this.setMtlGpuFamilySupport(undefined);
12314
+ };
12315
+
12316
+
12317
+ /**
12318
+ * Returns whether this field is set.
12319
+ * @return {boolean}
12320
+ */
12321
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacMonitor.prototype.hasMtlGpuFamilySupport = function() {
12322
+ return jspb.Message.getField(this, 2) != null;
12323
+ };
12324
+
12325
+
12326
+ /**
12327
+ * repeated Monitor entries = 3;
12328
+ * @return {!Array<!proto.com.lansweeper.discovery.sensor.mac.v1.Monitor>}
12329
+ */
12330
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacMonitor.prototype.getEntriesList = function() {
12331
+ return /** @type{!Array<!proto.com.lansweeper.discovery.sensor.mac.v1.Monitor>} */ (
12332
+ jspb.Message.getRepeatedWrapperField(this, proto.com.lansweeper.discovery.sensor.mac.v1.Monitor, 3));
12333
+ };
12334
+
12335
+
12336
+ /**
12337
+ * @param {!Array<!proto.com.lansweeper.discovery.sensor.mac.v1.Monitor>} value
12338
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacMonitor} returns this
12339
+ */
12340
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacMonitor.prototype.setEntriesList = function(value) {
12341
+ return jspb.Message.setRepeatedWrapperField(this, 3, value);
12342
+ };
12343
+
12344
+
12345
+ /**
12346
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.Monitor=} opt_value
12347
+ * @param {number=} opt_index
12348
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Monitor}
12349
+ */
12350
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacMonitor.prototype.addEntries = function(opt_value, opt_index) {
12351
+ return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.com.lansweeper.discovery.sensor.mac.v1.Monitor, opt_index);
12352
+ };
12353
+
12354
+
12355
+ /**
12356
+ * Clears the list making it empty but non-null.
12357
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacMonitor} returns this
12358
+ */
12359
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacMonitor.prototype.clearEntriesList = function() {
12360
+ return this.setEntriesList([]);
12361
+ };
12362
+
12363
+
12364
+ /**
12365
+ * optional google.protobuf.StringValue vendor = 4;
12366
+ * @return {?proto.google.protobuf.StringValue}
12367
+ */
12368
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacMonitor.prototype.getVendor = function() {
12369
+ return /** @type{?proto.google.protobuf.StringValue} */ (
12370
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 4));
12371
+ };
12372
+
12373
+
12374
+ /**
12375
+ * @param {?proto.google.protobuf.StringValue|undefined} value
12376
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacMonitor} returns this
12377
+ */
12378
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacMonitor.prototype.setVendor = function(value) {
12379
+ return jspb.Message.setWrapperField(this, 4, value);
12380
+ };
12381
+
12382
+
12383
+ /**
12384
+ * Clears the message field making it undefined.
12385
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacMonitor} returns this
12386
+ */
12387
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacMonitor.prototype.clearVendor = function() {
12388
+ return this.setVendor(undefined);
12389
+ };
12390
+
12391
+
12392
+ /**
12393
+ * Returns whether this field is set.
12394
+ * @return {boolean}
12395
+ */
12396
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacMonitor.prototype.hasVendor = function() {
12397
+ return jspb.Message.getField(this, 4) != null;
12398
+ };
12399
+
12400
+
12401
+ /**
12402
+ * optional google.protobuf.StringValue sppci_bus = 5;
12403
+ * @return {?proto.google.protobuf.StringValue}
12404
+ */
12405
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacMonitor.prototype.getSppciBus = function() {
12406
+ return /** @type{?proto.google.protobuf.StringValue} */ (
12407
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 5));
12408
+ };
12409
+
12410
+
12411
+ /**
12412
+ * @param {?proto.google.protobuf.StringValue|undefined} value
12413
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacMonitor} returns this
12414
+ */
12415
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacMonitor.prototype.setSppciBus = function(value) {
12416
+ return jspb.Message.setWrapperField(this, 5, value);
12417
+ };
12418
+
12419
+
12420
+ /**
12421
+ * Clears the message field making it undefined.
12422
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacMonitor} returns this
12423
+ */
12424
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacMonitor.prototype.clearSppciBus = function() {
12425
+ return this.setSppciBus(undefined);
12426
+ };
12427
+
12428
+
12429
+ /**
12430
+ * Returns whether this field is set.
12431
+ * @return {boolean}
12432
+ */
12433
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacMonitor.prototype.hasSppciBus = function() {
12434
+ return jspb.Message.getField(this, 5) != null;
12435
+ };
12436
+
12437
+
12438
+ /**
12439
+ * optional google.protobuf.StringValue sppci_cores = 6;
12440
+ * @return {?proto.google.protobuf.StringValue}
12441
+ */
12442
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacMonitor.prototype.getSppciCores = function() {
12443
+ return /** @type{?proto.google.protobuf.StringValue} */ (
12444
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 6));
12445
+ };
12446
+
12447
+
12448
+ /**
12449
+ * @param {?proto.google.protobuf.StringValue|undefined} value
12450
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacMonitor} returns this
12451
+ */
12452
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacMonitor.prototype.setSppciCores = function(value) {
12453
+ return jspb.Message.setWrapperField(this, 6, value);
12454
+ };
12455
+
12456
+
12457
+ /**
12458
+ * Clears the message field making it undefined.
12459
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacMonitor} returns this
12460
+ */
12461
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacMonitor.prototype.clearSppciCores = function() {
12462
+ return this.setSppciCores(undefined);
12463
+ };
12464
+
12465
+
12466
+ /**
12467
+ * Returns whether this field is set.
12468
+ * @return {boolean}
12469
+ */
12470
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacMonitor.prototype.hasSppciCores = function() {
12471
+ return jspb.Message.getField(this, 6) != null;
12472
+ };
12473
+
12474
+
12475
+ /**
12476
+ * optional google.protobuf.StringValue sppci_device_type = 7;
12477
+ * @return {?proto.google.protobuf.StringValue}
12478
+ */
12479
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacMonitor.prototype.getSppciDeviceType = function() {
12480
+ return /** @type{?proto.google.protobuf.StringValue} */ (
12481
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 7));
12482
+ };
12483
+
12484
+
12485
+ /**
12486
+ * @param {?proto.google.protobuf.StringValue|undefined} value
12487
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacMonitor} returns this
12488
+ */
12489
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacMonitor.prototype.setSppciDeviceType = function(value) {
12490
+ return jspb.Message.setWrapperField(this, 7, value);
12491
+ };
12492
+
12493
+
12494
+ /**
12495
+ * Clears the message field making it undefined.
12496
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacMonitor} returns this
12497
+ */
12498
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacMonitor.prototype.clearSppciDeviceType = function() {
12499
+ return this.setSppciDeviceType(undefined);
12500
+ };
12501
+
12502
+
12503
+ /**
12504
+ * Returns whether this field is set.
12505
+ * @return {boolean}
12506
+ */
12507
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacMonitor.prototype.hasSppciDeviceType = function() {
12508
+ return jspb.Message.getField(this, 7) != null;
12509
+ };
12510
+
12511
+
12512
+ /**
12513
+ * optional google.protobuf.StringValue sppci_model = 8;
12514
+ * @return {?proto.google.protobuf.StringValue}
12515
+ */
12516
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacMonitor.prototype.getSppciModel = function() {
12517
+ return /** @type{?proto.google.protobuf.StringValue} */ (
12518
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 8));
12519
+ };
12520
+
12521
+
12522
+ /**
12523
+ * @param {?proto.google.protobuf.StringValue|undefined} value
12524
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacMonitor} returns this
12525
+ */
12526
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacMonitor.prototype.setSppciModel = function(value) {
12527
+ return jspb.Message.setWrapperField(this, 8, value);
12528
+ };
12529
+
12530
+
12531
+ /**
12532
+ * Clears the message field making it undefined.
12533
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacMonitor} returns this
12534
+ */
12535
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacMonitor.prototype.clearSppciModel = function() {
12536
+ return this.setSppciModel(undefined);
12537
+ };
12538
+
12539
+
12540
+ /**
12541
+ * Returns whether this field is set.
12542
+ * @return {boolean}
12543
+ */
12544
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacMonitor.prototype.hasSppciModel = function() {
12545
+ return jspb.Message.getField(this, 8) != null;
12546
+ };
12547
+
12548
+
12549
+
12550
+
12551
+
12552
+ if (jspb.Message.GENERATE_TO_OBJECT) {
12553
+ /**
12554
+ * Creates an object representation of this proto.
12555
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
12556
+ * Optional fields that are not set will be set to undefined.
12557
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
12558
+ * For the list of reserved names please see:
12559
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
12560
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
12561
+ * JSPB instance for transitional soy proto support:
12562
+ * http://goto/soy-param-migration
12563
+ * @return {!Object}
12564
+ */
12565
+ proto.com.lansweeper.discovery.sensor.mac.v1.Monitor.prototype.toObject = function(opt_includeInstance) {
12566
+ return proto.com.lansweeper.discovery.sensor.mac.v1.Monitor.toObject(opt_includeInstance, this);
12567
+ };
12568
+
12569
+
12570
+ /**
12571
+ * Static version of the {@see toObject} method.
12572
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
12573
+ * the JSPB instance for transitional soy proto support:
12574
+ * http://goto/soy-param-migration
12575
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.Monitor} msg The msg instance to transform.
12576
+ * @return {!Object}
12577
+ * @suppress {unusedLocalVariables} f is only used for nested messages
12578
+ */
12579
+ proto.com.lansweeper.discovery.sensor.mac.v1.Monitor.toObject = function(includeInstance, msg) {
12580
+ var f, obj = {
12581
+ name: (f = msg.getName()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
12582
+ productId: (f = msg.getProductId()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
12583
+ serialNumber: (f = msg.getSerialNumber()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
12584
+ vendorId: (f = msg.getVendorId()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
12585
+ week: (f = msg.getWeek()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
12586
+ year: (f = msg.getYear()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
12587
+ id: (f = msg.getId()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
12588
+ pixels: (f = msg.getPixels()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
12589
+ resolution: (f = msg.getResolution()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
12590
+ ambientBrightness: (f = msg.getAmbientBrightness()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
12591
+ connectionType: (f = msg.getConnectionType()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
12592
+ displayType: (f = msg.getDisplayType()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
12593
+ isMain: (f = msg.getIsMain()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
12594
+ mirror: (f = msg.getMirror()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
12595
+ isOnline: (f = msg.getIsOnline()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
12596
+ pixelResolution: (f = msg.getPixelResolution()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f)
12597
+ };
12598
+
12599
+ if (includeInstance) {
12600
+ obj.$jspbMessageInstance = msg;
12601
+ }
12602
+ return obj;
12603
+ };
12604
+ }
12605
+
12606
+
12607
+ /**
12608
+ * Deserializes binary data (in protobuf wire format).
12609
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
12610
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Monitor}
12611
+ */
12612
+ proto.com.lansweeper.discovery.sensor.mac.v1.Monitor.deserializeBinary = function(bytes) {
12613
+ var reader = new jspb.BinaryReader(bytes);
12614
+ var msg = new proto.com.lansweeper.discovery.sensor.mac.v1.Monitor;
12615
+ return proto.com.lansweeper.discovery.sensor.mac.v1.Monitor.deserializeBinaryFromReader(msg, reader);
12616
+ };
12617
+
12618
+
12619
+ /**
12620
+ * Deserializes binary data (in protobuf wire format) from the
12621
+ * given reader into the given message object.
12622
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.Monitor} msg The message object to deserialize into.
12623
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
12624
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Monitor}
12625
+ */
12626
+ proto.com.lansweeper.discovery.sensor.mac.v1.Monitor.deserializeBinaryFromReader = function(msg, reader) {
12627
+ while (reader.nextField()) {
12628
+ if (reader.isEndGroup()) {
12629
+ break;
12630
+ }
12631
+ var field = reader.getFieldNumber();
12632
+ switch (field) {
12633
+ case 1:
12634
+ var value = new google_protobuf_wrappers_pb.StringValue;
12635
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
12636
+ msg.setName(value);
12637
+ break;
12638
+ case 2:
12639
+ var value = new google_protobuf_wrappers_pb.StringValue;
12640
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
12641
+ msg.setProductId(value);
12642
+ break;
12643
+ case 3:
12644
+ var value = new google_protobuf_wrappers_pb.StringValue;
12645
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
12646
+ msg.setSerialNumber(value);
12647
+ break;
12648
+ case 4:
12649
+ var value = new google_protobuf_wrappers_pb.StringValue;
12650
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
12651
+ msg.setVendorId(value);
12652
+ break;
12653
+ case 5:
12654
+ var value = new google_protobuf_wrappers_pb.StringValue;
12655
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
12656
+ msg.setWeek(value);
12657
+ break;
12658
+ case 6:
12659
+ var value = new google_protobuf_wrappers_pb.StringValue;
12660
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
12661
+ msg.setYear(value);
12662
+ break;
12663
+ case 7:
12664
+ var value = new google_protobuf_wrappers_pb.StringValue;
12665
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
12666
+ msg.setId(value);
12667
+ break;
12668
+ case 8:
12669
+ var value = new google_protobuf_wrappers_pb.StringValue;
12670
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
12671
+ msg.setPixels(value);
12672
+ break;
12673
+ case 9:
12674
+ var value = new google_protobuf_wrappers_pb.StringValue;
12675
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
12676
+ msg.setResolution(value);
12677
+ break;
12678
+ case 10:
12679
+ var value = new google_protobuf_wrappers_pb.StringValue;
12680
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
12681
+ msg.setAmbientBrightness(value);
12682
+ break;
12683
+ case 11:
12684
+ var value = new google_protobuf_wrappers_pb.StringValue;
12685
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
12686
+ msg.setConnectionType(value);
12687
+ break;
12688
+ case 12:
12689
+ var value = new google_protobuf_wrappers_pb.StringValue;
12690
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
12691
+ msg.setDisplayType(value);
12692
+ break;
12693
+ case 13:
12694
+ var value = new google_protobuf_wrappers_pb.StringValue;
12695
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
12696
+ msg.setIsMain(value);
12697
+ break;
12698
+ case 14:
12699
+ var value = new google_protobuf_wrappers_pb.StringValue;
12700
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
12701
+ msg.setMirror(value);
12702
+ break;
12703
+ case 15:
12704
+ var value = new google_protobuf_wrappers_pb.StringValue;
12705
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
12706
+ msg.setIsOnline(value);
12707
+ break;
12708
+ case 16:
12709
+ var value = new google_protobuf_wrappers_pb.StringValue;
12710
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
12711
+ msg.setPixelResolution(value);
12712
+ break;
12713
+ default:
12714
+ reader.skipField();
12715
+ break;
12716
+ }
12717
+ }
12718
+ return msg;
12719
+ };
12720
+
12721
+
12722
+ /**
12723
+ * Serializes the message to binary data (in protobuf wire format).
12724
+ * @return {!Uint8Array}
12725
+ */
12726
+ proto.com.lansweeper.discovery.sensor.mac.v1.Monitor.prototype.serializeBinary = function() {
12727
+ var writer = new jspb.BinaryWriter();
12728
+ proto.com.lansweeper.discovery.sensor.mac.v1.Monitor.serializeBinaryToWriter(this, writer);
12729
+ return writer.getResultBuffer();
12730
+ };
12731
+
12732
+
12733
+ /**
12734
+ * Serializes the given message to binary data (in protobuf wire
12735
+ * format), writing to the given BinaryWriter.
12736
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.Monitor} message
12737
+ * @param {!jspb.BinaryWriter} writer
12738
+ * @suppress {unusedLocalVariables} f is only used for nested messages
12739
+ */
12740
+ proto.com.lansweeper.discovery.sensor.mac.v1.Monitor.serializeBinaryToWriter = function(message, writer) {
12741
+ var f = undefined;
12742
+ f = message.getName();
12743
+ if (f != null) {
12744
+ writer.writeMessage(
12745
+ 1,
12746
+ f,
12747
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
12748
+ );
12749
+ }
12750
+ f = message.getProductId();
12751
+ if (f != null) {
12752
+ writer.writeMessage(
12753
+ 2,
12754
+ f,
12755
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
12756
+ );
12757
+ }
12758
+ f = message.getSerialNumber();
12759
+ if (f != null) {
12760
+ writer.writeMessage(
12761
+ 3,
12762
+ f,
12763
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
12764
+ );
12765
+ }
12766
+ f = message.getVendorId();
12767
+ if (f != null) {
12768
+ writer.writeMessage(
12769
+ 4,
12770
+ f,
12771
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
12772
+ );
12773
+ }
12774
+ f = message.getWeek();
12775
+ if (f != null) {
12776
+ writer.writeMessage(
12777
+ 5,
12778
+ f,
12779
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
12780
+ );
12781
+ }
12782
+ f = message.getYear();
12783
+ if (f != null) {
12784
+ writer.writeMessage(
12785
+ 6,
12786
+ f,
12787
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
12788
+ );
12789
+ }
12790
+ f = message.getId();
12791
+ if (f != null) {
12792
+ writer.writeMessage(
12793
+ 7,
12794
+ f,
12795
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
12796
+ );
12797
+ }
12798
+ f = message.getPixels();
12799
+ if (f != null) {
12800
+ writer.writeMessage(
12801
+ 8,
12802
+ f,
12803
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
12804
+ );
12805
+ }
12806
+ f = message.getResolution();
12807
+ if (f != null) {
12808
+ writer.writeMessage(
12809
+ 9,
12810
+ f,
12811
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
12812
+ );
12813
+ }
12814
+ f = message.getAmbientBrightness();
12815
+ if (f != null) {
12816
+ writer.writeMessage(
12817
+ 10,
12818
+ f,
12819
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
12820
+ );
12821
+ }
12822
+ f = message.getConnectionType();
12823
+ if (f != null) {
12824
+ writer.writeMessage(
12825
+ 11,
12826
+ f,
12827
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
12828
+ );
12829
+ }
12830
+ f = message.getDisplayType();
12831
+ if (f != null) {
12832
+ writer.writeMessage(
12833
+ 12,
12834
+ f,
12835
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
12836
+ );
12837
+ }
12838
+ f = message.getIsMain();
12839
+ if (f != null) {
12840
+ writer.writeMessage(
12841
+ 13,
12842
+ f,
12843
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
12844
+ );
12845
+ }
12846
+ f = message.getMirror();
12847
+ if (f != null) {
12848
+ writer.writeMessage(
12849
+ 14,
12850
+ f,
12851
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
12852
+ );
12853
+ }
12854
+ f = message.getIsOnline();
12855
+ if (f != null) {
12856
+ writer.writeMessage(
12857
+ 15,
12858
+ f,
12859
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
12860
+ );
12861
+ }
12862
+ f = message.getPixelResolution();
12863
+ if (f != null) {
12864
+ writer.writeMessage(
12865
+ 16,
12866
+ f,
12867
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
12868
+ );
12869
+ }
12870
+ };
12871
+
12872
+
12873
+ /**
12874
+ * optional google.protobuf.StringValue name = 1;
12875
+ * @return {?proto.google.protobuf.StringValue}
12876
+ */
12877
+ proto.com.lansweeper.discovery.sensor.mac.v1.Monitor.prototype.getName = function() {
12878
+ return /** @type{?proto.google.protobuf.StringValue} */ (
12879
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 1));
12880
+ };
12881
+
12882
+
12883
+ /**
12884
+ * @param {?proto.google.protobuf.StringValue|undefined} value
12885
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Monitor} returns this
12886
+ */
12887
+ proto.com.lansweeper.discovery.sensor.mac.v1.Monitor.prototype.setName = function(value) {
12888
+ return jspb.Message.setWrapperField(this, 1, value);
12889
+ };
12890
+
12891
+
12892
+ /**
12893
+ * Clears the message field making it undefined.
12894
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Monitor} returns this
12895
+ */
12896
+ proto.com.lansweeper.discovery.sensor.mac.v1.Monitor.prototype.clearName = function() {
12897
+ return this.setName(undefined);
12898
+ };
12899
+
12900
+
12901
+ /**
12902
+ * Returns whether this field is set.
12903
+ * @return {boolean}
12904
+ */
12905
+ proto.com.lansweeper.discovery.sensor.mac.v1.Monitor.prototype.hasName = function() {
12906
+ return jspb.Message.getField(this, 1) != null;
12907
+ };
12908
+
12909
+
12910
+ /**
12911
+ * optional google.protobuf.StringValue product_id = 2;
12912
+ * @return {?proto.google.protobuf.StringValue}
12913
+ */
12914
+ proto.com.lansweeper.discovery.sensor.mac.v1.Monitor.prototype.getProductId = function() {
12915
+ return /** @type{?proto.google.protobuf.StringValue} */ (
12916
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 2));
12917
+ };
12918
+
12919
+
12920
+ /**
12921
+ * @param {?proto.google.protobuf.StringValue|undefined} value
12922
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Monitor} returns this
12923
+ */
12924
+ proto.com.lansweeper.discovery.sensor.mac.v1.Monitor.prototype.setProductId = function(value) {
12925
+ return jspb.Message.setWrapperField(this, 2, value);
12926
+ };
12927
+
12928
+
12929
+ /**
12930
+ * Clears the message field making it undefined.
12931
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Monitor} returns this
12932
+ */
12933
+ proto.com.lansweeper.discovery.sensor.mac.v1.Monitor.prototype.clearProductId = function() {
12934
+ return this.setProductId(undefined);
12935
+ };
12936
+
12937
+
12938
+ /**
12939
+ * Returns whether this field is set.
12940
+ * @return {boolean}
12941
+ */
12942
+ proto.com.lansweeper.discovery.sensor.mac.v1.Monitor.prototype.hasProductId = function() {
12943
+ return jspb.Message.getField(this, 2) != null;
12944
+ };
12945
+
12946
+
12947
+ /**
12948
+ * optional google.protobuf.StringValue serial_number = 3;
12949
+ * @return {?proto.google.protobuf.StringValue}
12950
+ */
12951
+ proto.com.lansweeper.discovery.sensor.mac.v1.Monitor.prototype.getSerialNumber = function() {
12952
+ return /** @type{?proto.google.protobuf.StringValue} */ (
12953
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 3));
12954
+ };
12955
+
12956
+
12957
+ /**
12958
+ * @param {?proto.google.protobuf.StringValue|undefined} value
12959
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Monitor} returns this
12960
+ */
12961
+ proto.com.lansweeper.discovery.sensor.mac.v1.Monitor.prototype.setSerialNumber = function(value) {
12962
+ return jspb.Message.setWrapperField(this, 3, value);
12963
+ };
12964
+
12965
+
12966
+ /**
12967
+ * Clears the message field making it undefined.
12968
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Monitor} returns this
12969
+ */
12970
+ proto.com.lansweeper.discovery.sensor.mac.v1.Monitor.prototype.clearSerialNumber = function() {
12971
+ return this.setSerialNumber(undefined);
12972
+ };
12973
+
12974
+
12975
+ /**
12976
+ * Returns whether this field is set.
12977
+ * @return {boolean}
12978
+ */
12979
+ proto.com.lansweeper.discovery.sensor.mac.v1.Monitor.prototype.hasSerialNumber = function() {
12980
+ return jspb.Message.getField(this, 3) != null;
12981
+ };
12982
+
12983
+
12984
+ /**
12985
+ * optional google.protobuf.StringValue vendor_id = 4;
12986
+ * @return {?proto.google.protobuf.StringValue}
12987
+ */
12988
+ proto.com.lansweeper.discovery.sensor.mac.v1.Monitor.prototype.getVendorId = function() {
12989
+ return /** @type{?proto.google.protobuf.StringValue} */ (
12990
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 4));
12991
+ };
12992
+
12993
+
12994
+ /**
12995
+ * @param {?proto.google.protobuf.StringValue|undefined} value
12996
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Monitor} returns this
12997
+ */
12998
+ proto.com.lansweeper.discovery.sensor.mac.v1.Monitor.prototype.setVendorId = function(value) {
12999
+ return jspb.Message.setWrapperField(this, 4, value);
13000
+ };
13001
+
13002
+
13003
+ /**
13004
+ * Clears the message field making it undefined.
13005
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Monitor} returns this
13006
+ */
13007
+ proto.com.lansweeper.discovery.sensor.mac.v1.Monitor.prototype.clearVendorId = function() {
13008
+ return this.setVendorId(undefined);
13009
+ };
13010
+
13011
+
13012
+ /**
13013
+ * Returns whether this field is set.
13014
+ * @return {boolean}
13015
+ */
13016
+ proto.com.lansweeper.discovery.sensor.mac.v1.Monitor.prototype.hasVendorId = function() {
13017
+ return jspb.Message.getField(this, 4) != null;
13018
+ };
13019
+
13020
+
13021
+ /**
13022
+ * optional google.protobuf.StringValue week = 5;
13023
+ * @return {?proto.google.protobuf.StringValue}
13024
+ */
13025
+ proto.com.lansweeper.discovery.sensor.mac.v1.Monitor.prototype.getWeek = function() {
13026
+ return /** @type{?proto.google.protobuf.StringValue} */ (
13027
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 5));
13028
+ };
13029
+
13030
+
13031
+ /**
13032
+ * @param {?proto.google.protobuf.StringValue|undefined} value
13033
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Monitor} returns this
13034
+ */
13035
+ proto.com.lansweeper.discovery.sensor.mac.v1.Monitor.prototype.setWeek = function(value) {
13036
+ return jspb.Message.setWrapperField(this, 5, value);
13037
+ };
13038
+
13039
+
13040
+ /**
13041
+ * Clears the message field making it undefined.
13042
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Monitor} returns this
13043
+ */
13044
+ proto.com.lansweeper.discovery.sensor.mac.v1.Monitor.prototype.clearWeek = function() {
13045
+ return this.setWeek(undefined);
13046
+ };
13047
+
13048
+
13049
+ /**
13050
+ * Returns whether this field is set.
13051
+ * @return {boolean}
13052
+ */
13053
+ proto.com.lansweeper.discovery.sensor.mac.v1.Monitor.prototype.hasWeek = function() {
13054
+ return jspb.Message.getField(this, 5) != null;
13055
+ };
13056
+
13057
+
13058
+ /**
13059
+ * optional google.protobuf.StringValue year = 6;
13060
+ * @return {?proto.google.protobuf.StringValue}
13061
+ */
13062
+ proto.com.lansweeper.discovery.sensor.mac.v1.Monitor.prototype.getYear = function() {
13063
+ return /** @type{?proto.google.protobuf.StringValue} */ (
13064
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 6));
13065
+ };
13066
+
13067
+
13068
+ /**
13069
+ * @param {?proto.google.protobuf.StringValue|undefined} value
13070
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Monitor} returns this
13071
+ */
13072
+ proto.com.lansweeper.discovery.sensor.mac.v1.Monitor.prototype.setYear = function(value) {
13073
+ return jspb.Message.setWrapperField(this, 6, value);
13074
+ };
13075
+
13076
+
13077
+ /**
13078
+ * Clears the message field making it undefined.
13079
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Monitor} returns this
13080
+ */
13081
+ proto.com.lansweeper.discovery.sensor.mac.v1.Monitor.prototype.clearYear = function() {
13082
+ return this.setYear(undefined);
13083
+ };
13084
+
13085
+
13086
+ /**
13087
+ * Returns whether this field is set.
13088
+ * @return {boolean}
13089
+ */
13090
+ proto.com.lansweeper.discovery.sensor.mac.v1.Monitor.prototype.hasYear = function() {
13091
+ return jspb.Message.getField(this, 6) != null;
13092
+ };
13093
+
13094
+
13095
+ /**
13096
+ * optional google.protobuf.StringValue Id = 7;
13097
+ * @return {?proto.google.protobuf.StringValue}
13098
+ */
13099
+ proto.com.lansweeper.discovery.sensor.mac.v1.Monitor.prototype.getId = function() {
13100
+ return /** @type{?proto.google.protobuf.StringValue} */ (
13101
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 7));
13102
+ };
13103
+
13104
+
13105
+ /**
13106
+ * @param {?proto.google.protobuf.StringValue|undefined} value
13107
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Monitor} returns this
13108
+ */
13109
+ proto.com.lansweeper.discovery.sensor.mac.v1.Monitor.prototype.setId = function(value) {
13110
+ return jspb.Message.setWrapperField(this, 7, value);
13111
+ };
13112
+
13113
+
13114
+ /**
13115
+ * Clears the message field making it undefined.
13116
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Monitor} returns this
13117
+ */
13118
+ proto.com.lansweeper.discovery.sensor.mac.v1.Monitor.prototype.clearId = function() {
13119
+ return this.setId(undefined);
13120
+ };
13121
+
13122
+
13123
+ /**
13124
+ * Returns whether this field is set.
13125
+ * @return {boolean}
13126
+ */
13127
+ proto.com.lansweeper.discovery.sensor.mac.v1.Monitor.prototype.hasId = function() {
13128
+ return jspb.Message.getField(this, 7) != null;
13129
+ };
13130
+
13131
+
13132
+ /**
13133
+ * optional google.protobuf.StringValue pixels = 8;
13134
+ * @return {?proto.google.protobuf.StringValue}
13135
+ */
13136
+ proto.com.lansweeper.discovery.sensor.mac.v1.Monitor.prototype.getPixels = function() {
13137
+ return /** @type{?proto.google.protobuf.StringValue} */ (
13138
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 8));
13139
+ };
13140
+
13141
+
13142
+ /**
13143
+ * @param {?proto.google.protobuf.StringValue|undefined} value
13144
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Monitor} returns this
13145
+ */
13146
+ proto.com.lansweeper.discovery.sensor.mac.v1.Monitor.prototype.setPixels = function(value) {
13147
+ return jspb.Message.setWrapperField(this, 8, value);
13148
+ };
13149
+
13150
+
13151
+ /**
13152
+ * Clears the message field making it undefined.
13153
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Monitor} returns this
13154
+ */
13155
+ proto.com.lansweeper.discovery.sensor.mac.v1.Monitor.prototype.clearPixels = function() {
13156
+ return this.setPixels(undefined);
13157
+ };
13158
+
13159
+
13160
+ /**
13161
+ * Returns whether this field is set.
13162
+ * @return {boolean}
13163
+ */
13164
+ proto.com.lansweeper.discovery.sensor.mac.v1.Monitor.prototype.hasPixels = function() {
13165
+ return jspb.Message.getField(this, 8) != null;
13166
+ };
13167
+
13168
+
13169
+ /**
13170
+ * optional google.protobuf.StringValue resolution = 9;
13171
+ * @return {?proto.google.protobuf.StringValue}
13172
+ */
13173
+ proto.com.lansweeper.discovery.sensor.mac.v1.Monitor.prototype.getResolution = function() {
13174
+ return /** @type{?proto.google.protobuf.StringValue} */ (
13175
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 9));
13176
+ };
13177
+
13178
+
13179
+ /**
13180
+ * @param {?proto.google.protobuf.StringValue|undefined} value
13181
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Monitor} returns this
13182
+ */
13183
+ proto.com.lansweeper.discovery.sensor.mac.v1.Monitor.prototype.setResolution = function(value) {
13184
+ return jspb.Message.setWrapperField(this, 9, value);
13185
+ };
13186
+
13187
+
13188
+ /**
13189
+ * Clears the message field making it undefined.
13190
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Monitor} returns this
13191
+ */
13192
+ proto.com.lansweeper.discovery.sensor.mac.v1.Monitor.prototype.clearResolution = function() {
13193
+ return this.setResolution(undefined);
13194
+ };
13195
+
13196
+
13197
+ /**
13198
+ * Returns whether this field is set.
13199
+ * @return {boolean}
13200
+ */
13201
+ proto.com.lansweeper.discovery.sensor.mac.v1.Monitor.prototype.hasResolution = function() {
13202
+ return jspb.Message.getField(this, 9) != null;
13203
+ };
13204
+
13205
+
13206
+ /**
13207
+ * optional google.protobuf.StringValue ambient_brightness = 10;
13208
+ * @return {?proto.google.protobuf.StringValue}
13209
+ */
13210
+ proto.com.lansweeper.discovery.sensor.mac.v1.Monitor.prototype.getAmbientBrightness = function() {
13211
+ return /** @type{?proto.google.protobuf.StringValue} */ (
13212
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 10));
13213
+ };
13214
+
13215
+
13216
+ /**
13217
+ * @param {?proto.google.protobuf.StringValue|undefined} value
13218
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Monitor} returns this
13219
+ */
13220
+ proto.com.lansweeper.discovery.sensor.mac.v1.Monitor.prototype.setAmbientBrightness = function(value) {
13221
+ return jspb.Message.setWrapperField(this, 10, value);
13222
+ };
13223
+
13224
+
13225
+ /**
13226
+ * Clears the message field making it undefined.
13227
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Monitor} returns this
13228
+ */
13229
+ proto.com.lansweeper.discovery.sensor.mac.v1.Monitor.prototype.clearAmbientBrightness = function() {
13230
+ return this.setAmbientBrightness(undefined);
13231
+ };
13232
+
13233
+
13234
+ /**
13235
+ * Returns whether this field is set.
13236
+ * @return {boolean}
13237
+ */
13238
+ proto.com.lansweeper.discovery.sensor.mac.v1.Monitor.prototype.hasAmbientBrightness = function() {
13239
+ return jspb.Message.getField(this, 10) != null;
13240
+ };
13241
+
13242
+
13243
+ /**
13244
+ * optional google.protobuf.StringValue connection_type = 11;
13245
+ * @return {?proto.google.protobuf.StringValue}
13246
+ */
13247
+ proto.com.lansweeper.discovery.sensor.mac.v1.Monitor.prototype.getConnectionType = function() {
13248
+ return /** @type{?proto.google.protobuf.StringValue} */ (
13249
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 11));
13250
+ };
13251
+
13252
+
13253
+ /**
13254
+ * @param {?proto.google.protobuf.StringValue|undefined} value
13255
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Monitor} returns this
13256
+ */
13257
+ proto.com.lansweeper.discovery.sensor.mac.v1.Monitor.prototype.setConnectionType = function(value) {
13258
+ return jspb.Message.setWrapperField(this, 11, value);
13259
+ };
13260
+
13261
+
13262
+ /**
13263
+ * Clears the message field making it undefined.
13264
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Monitor} returns this
13265
+ */
13266
+ proto.com.lansweeper.discovery.sensor.mac.v1.Monitor.prototype.clearConnectionType = function() {
13267
+ return this.setConnectionType(undefined);
13268
+ };
13269
+
13270
+
13271
+ /**
13272
+ * Returns whether this field is set.
13273
+ * @return {boolean}
13274
+ */
13275
+ proto.com.lansweeper.discovery.sensor.mac.v1.Monitor.prototype.hasConnectionType = function() {
13276
+ return jspb.Message.getField(this, 11) != null;
13277
+ };
13278
+
13279
+
13280
+ /**
13281
+ * optional google.protobuf.StringValue display_type = 12;
13282
+ * @return {?proto.google.protobuf.StringValue}
13283
+ */
13284
+ proto.com.lansweeper.discovery.sensor.mac.v1.Monitor.prototype.getDisplayType = function() {
13285
+ return /** @type{?proto.google.protobuf.StringValue} */ (
13286
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 12));
13287
+ };
13288
+
13289
+
13290
+ /**
13291
+ * @param {?proto.google.protobuf.StringValue|undefined} value
13292
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Monitor} returns this
13293
+ */
13294
+ proto.com.lansweeper.discovery.sensor.mac.v1.Monitor.prototype.setDisplayType = function(value) {
13295
+ return jspb.Message.setWrapperField(this, 12, value);
13296
+ };
13297
+
13298
+
13299
+ /**
13300
+ * Clears the message field making it undefined.
13301
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Monitor} returns this
13302
+ */
13303
+ proto.com.lansweeper.discovery.sensor.mac.v1.Monitor.prototype.clearDisplayType = function() {
13304
+ return this.setDisplayType(undefined);
13305
+ };
13306
+
13307
+
13308
+ /**
13309
+ * Returns whether this field is set.
13310
+ * @return {boolean}
13311
+ */
13312
+ proto.com.lansweeper.discovery.sensor.mac.v1.Monitor.prototype.hasDisplayType = function() {
13313
+ return jspb.Message.getField(this, 12) != null;
13314
+ };
13315
+
13316
+
13317
+ /**
13318
+ * optional google.protobuf.StringValue is_main = 13;
13319
+ * @return {?proto.google.protobuf.StringValue}
13320
+ */
13321
+ proto.com.lansweeper.discovery.sensor.mac.v1.Monitor.prototype.getIsMain = function() {
13322
+ return /** @type{?proto.google.protobuf.StringValue} */ (
13323
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 13));
13324
+ };
13325
+
13326
+
13327
+ /**
13328
+ * @param {?proto.google.protobuf.StringValue|undefined} value
13329
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Monitor} returns this
13330
+ */
13331
+ proto.com.lansweeper.discovery.sensor.mac.v1.Monitor.prototype.setIsMain = function(value) {
13332
+ return jspb.Message.setWrapperField(this, 13, value);
13333
+ };
13334
+
13335
+
13336
+ /**
13337
+ * Clears the message field making it undefined.
13338
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Monitor} returns this
13339
+ */
13340
+ proto.com.lansweeper.discovery.sensor.mac.v1.Monitor.prototype.clearIsMain = function() {
13341
+ return this.setIsMain(undefined);
13342
+ };
13343
+
13344
+
13345
+ /**
13346
+ * Returns whether this field is set.
13347
+ * @return {boolean}
13348
+ */
13349
+ proto.com.lansweeper.discovery.sensor.mac.v1.Monitor.prototype.hasIsMain = function() {
13350
+ return jspb.Message.getField(this, 13) != null;
13351
+ };
13352
+
13353
+
13354
+ /**
13355
+ * optional google.protobuf.StringValue mirror = 14;
13356
+ * @return {?proto.google.protobuf.StringValue}
13357
+ */
13358
+ proto.com.lansweeper.discovery.sensor.mac.v1.Monitor.prototype.getMirror = function() {
13359
+ return /** @type{?proto.google.protobuf.StringValue} */ (
13360
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 14));
13361
+ };
13362
+
13363
+
13364
+ /**
13365
+ * @param {?proto.google.protobuf.StringValue|undefined} value
13366
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Monitor} returns this
13367
+ */
13368
+ proto.com.lansweeper.discovery.sensor.mac.v1.Monitor.prototype.setMirror = function(value) {
13369
+ return jspb.Message.setWrapperField(this, 14, value);
13370
+ };
13371
+
13372
+
13373
+ /**
13374
+ * Clears the message field making it undefined.
13375
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Monitor} returns this
13376
+ */
13377
+ proto.com.lansweeper.discovery.sensor.mac.v1.Monitor.prototype.clearMirror = function() {
13378
+ return this.setMirror(undefined);
13379
+ };
13380
+
13381
+
13382
+ /**
13383
+ * Returns whether this field is set.
13384
+ * @return {boolean}
13385
+ */
13386
+ proto.com.lansweeper.discovery.sensor.mac.v1.Monitor.prototype.hasMirror = function() {
13387
+ return jspb.Message.getField(this, 14) != null;
13388
+ };
13389
+
13390
+
13391
+ /**
13392
+ * optional google.protobuf.StringValue is_online = 15;
13393
+ * @return {?proto.google.protobuf.StringValue}
13394
+ */
13395
+ proto.com.lansweeper.discovery.sensor.mac.v1.Monitor.prototype.getIsOnline = function() {
13396
+ return /** @type{?proto.google.protobuf.StringValue} */ (
13397
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 15));
13398
+ };
13399
+
13400
+
13401
+ /**
13402
+ * @param {?proto.google.protobuf.StringValue|undefined} value
13403
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Monitor} returns this
13404
+ */
13405
+ proto.com.lansweeper.discovery.sensor.mac.v1.Monitor.prototype.setIsOnline = function(value) {
13406
+ return jspb.Message.setWrapperField(this, 15, value);
13407
+ };
13408
+
13409
+
13410
+ /**
13411
+ * Clears the message field making it undefined.
13412
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Monitor} returns this
13413
+ */
13414
+ proto.com.lansweeper.discovery.sensor.mac.v1.Monitor.prototype.clearIsOnline = function() {
13415
+ return this.setIsOnline(undefined);
13416
+ };
13417
+
13418
+
13419
+ /**
13420
+ * Returns whether this field is set.
13421
+ * @return {boolean}
13422
+ */
13423
+ proto.com.lansweeper.discovery.sensor.mac.v1.Monitor.prototype.hasIsOnline = function() {
13424
+ return jspb.Message.getField(this, 15) != null;
13425
+ };
13426
+
13427
+
13428
+ /**
13429
+ * optional google.protobuf.StringValue pixel_resolution = 16;
13430
+ * @return {?proto.google.protobuf.StringValue}
13431
+ */
13432
+ proto.com.lansweeper.discovery.sensor.mac.v1.Monitor.prototype.getPixelResolution = function() {
13433
+ return /** @type{?proto.google.protobuf.StringValue} */ (
13434
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 16));
13435
+ };
13436
+
13437
+
13438
+ /**
13439
+ * @param {?proto.google.protobuf.StringValue|undefined} value
13440
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Monitor} returns this
13441
+ */
13442
+ proto.com.lansweeper.discovery.sensor.mac.v1.Monitor.prototype.setPixelResolution = function(value) {
13443
+ return jspb.Message.setWrapperField(this, 16, value);
13444
+ };
13445
+
13446
+
13447
+ /**
13448
+ * Clears the message field making it undefined.
13449
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Monitor} returns this
13450
+ */
13451
+ proto.com.lansweeper.discovery.sensor.mac.v1.Monitor.prototype.clearPixelResolution = function() {
13452
+ return this.setPixelResolution(undefined);
13453
+ };
13454
+
13455
+
13456
+ /**
13457
+ * Returns whether this field is set.
13458
+ * @return {boolean}
13459
+ */
13460
+ proto.com.lansweeper.discovery.sensor.mac.v1.Monitor.prototype.hasPixelResolution = function() {
13461
+ return jspb.Message.getField(this, 16) != null;
13462
+ };
13463
+
13464
+
11988
13465
  goog.object.extend(exports, proto.com.lansweeper.discovery.sensor.mac.v1);