@lansweeper/data-platform-outbound-grpc 0.1.50 → 0.1.52

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -34,6 +34,7 @@ goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.CatalogSoftware', null, g
34
34
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.Chassis', null, global);
35
35
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.CloudEntity', null, global);
36
36
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.CoreFields', null, global);
37
+ goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.DriveVolume', null, global);
37
38
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.Driver', null, global);
38
39
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.Driver.DriverCase', null, global);
39
40
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.Entity', null, global);
@@ -50,6 +51,7 @@ goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.LastUser', null, global);
50
51
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.LinuxOperatingSystemInfo', null, global);
51
52
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.ListEntityRequest', null, global);
52
53
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.ListEntityResponse', null, global);
54
+ goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.MacNetworkVolume', null, global);
53
55
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.MacOperatingSystemInfo', null, global);
54
56
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.MappedValue', null, global);
55
57
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.Memory', null, global);
@@ -62,6 +64,8 @@ goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.MotherboardDevice', null,
62
64
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.NetIpAddress', null, global);
63
65
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.NetworkInterface', null, global);
64
66
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.NetworkInterfaces', null, global);
67
+ goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.NetworkVolume', null, global);
68
+ goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.NetworkVolume.DriverCase', null, global);
65
69
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.OperatingSystem', null, global);
66
70
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.OperatingSystem.SpecCase', null, global);
67
71
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.OperatingSystemFeature', null, global);
@@ -81,6 +85,7 @@ goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.SoftwareInventory', null,
81
85
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.SoundCard', null, global);
82
86
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.SpecHardwareInfo', null, global);
83
87
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.Tag', null, global);
88
+ goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.WindowsMappedDrive', null, global);
84
89
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.WindowsMonitorInfo', null, global);
85
90
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.WindowsOperatingSystemInfo', null, global);
86
91
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.WindowsPnpSignedDriver', null, global);
@@ -779,6 +784,90 @@ if (goog.DEBUG && !COMPILED) {
779
784
  */
780
785
  proto.com.lansweeper.dp.outbound.v1.HardDrive.displayName = 'proto.com.lansweeper.dp.outbound.v1.HardDrive';
781
786
  }
787
+ /**
788
+ * Generated by JsPbCodeGenerator.
789
+ * @param {Array=} opt_data Optional initial data array, typically from a
790
+ * server response, or constructed directly in Javascript. The array is used
791
+ * in place and becomes part of the constructed object. It is not cloned.
792
+ * If no data is provided, the constructed object will be empty, but still
793
+ * valid.
794
+ * @extends {jspb.Message}
795
+ * @constructor
796
+ */
797
+ proto.com.lansweeper.dp.outbound.v1.DriveVolume = function(opt_data) {
798
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
799
+ };
800
+ goog.inherits(proto.com.lansweeper.dp.outbound.v1.DriveVolume, jspb.Message);
801
+ if (goog.DEBUG && !COMPILED) {
802
+ /**
803
+ * @public
804
+ * @override
805
+ */
806
+ proto.com.lansweeper.dp.outbound.v1.DriveVolume.displayName = 'proto.com.lansweeper.dp.outbound.v1.DriveVolume';
807
+ }
808
+ /**
809
+ * Generated by JsPbCodeGenerator.
810
+ * @param {Array=} opt_data Optional initial data array, typically from a
811
+ * server response, or constructed directly in Javascript. The array is used
812
+ * in place and becomes part of the constructed object. It is not cloned.
813
+ * If no data is provided, the constructed object will be empty, but still
814
+ * valid.
815
+ * @extends {jspb.Message}
816
+ * @constructor
817
+ */
818
+ proto.com.lansweeper.dp.outbound.v1.NetworkVolume = function(opt_data) {
819
+ jspb.Message.initialize(this, opt_data, 0, -1, null, proto.com.lansweeper.dp.outbound.v1.NetworkVolume.oneofGroups_);
820
+ };
821
+ goog.inherits(proto.com.lansweeper.dp.outbound.v1.NetworkVolume, jspb.Message);
822
+ if (goog.DEBUG && !COMPILED) {
823
+ /**
824
+ * @public
825
+ * @override
826
+ */
827
+ proto.com.lansweeper.dp.outbound.v1.NetworkVolume.displayName = 'proto.com.lansweeper.dp.outbound.v1.NetworkVolume';
828
+ }
829
+ /**
830
+ * Generated by JsPbCodeGenerator.
831
+ * @param {Array=} opt_data Optional initial data array, typically from a
832
+ * server response, or constructed directly in Javascript. The array is used
833
+ * in place and becomes part of the constructed object. It is not cloned.
834
+ * If no data is provided, the constructed object will be empty, but still
835
+ * valid.
836
+ * @extends {jspb.Message}
837
+ * @constructor
838
+ */
839
+ proto.com.lansweeper.dp.outbound.v1.WindowsMappedDrive = function(opt_data) {
840
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
841
+ };
842
+ goog.inherits(proto.com.lansweeper.dp.outbound.v1.WindowsMappedDrive, jspb.Message);
843
+ if (goog.DEBUG && !COMPILED) {
844
+ /**
845
+ * @public
846
+ * @override
847
+ */
848
+ proto.com.lansweeper.dp.outbound.v1.WindowsMappedDrive.displayName = 'proto.com.lansweeper.dp.outbound.v1.WindowsMappedDrive';
849
+ }
850
+ /**
851
+ * Generated by JsPbCodeGenerator.
852
+ * @param {Array=} opt_data Optional initial data array, typically from a
853
+ * server response, or constructed directly in Javascript. The array is used
854
+ * in place and becomes part of the constructed object. It is not cloned.
855
+ * If no data is provided, the constructed object will be empty, but still
856
+ * valid.
857
+ * @extends {jspb.Message}
858
+ * @constructor
859
+ */
860
+ proto.com.lansweeper.dp.outbound.v1.MacNetworkVolume = function(opt_data) {
861
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
862
+ };
863
+ goog.inherits(proto.com.lansweeper.dp.outbound.v1.MacNetworkVolume, jspb.Message);
864
+ if (goog.DEBUG && !COMPILED) {
865
+ /**
866
+ * @public
867
+ * @override
868
+ */
869
+ proto.com.lansweeper.dp.outbound.v1.MacNetworkVolume.displayName = 'proto.com.lansweeper.dp.outbound.v1.MacNetworkVolume';
870
+ }
782
871
  /**
783
872
  * Generated by JsPbCodeGenerator.
784
873
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -3497,7 +3586,7 @@ proto.com.lansweeper.dp.outbound.v1.Entity.prototype.hasAsset = function() {
3497
3586
  * @private {!Array<number>}
3498
3587
  * @const
3499
3588
  */
3500
- proto.com.lansweeper.dp.outbound.v1.Asset.repeatedFields_ = [33,14,20,26,13,37,15,24,25,27,30,28,29,34,36];
3589
+ proto.com.lansweeper.dp.outbound.v1.Asset.repeatedFields_ = [33,14,20,26,13,37,15,24,25,38,40,27,30,28,29,34,36];
3501
3590
 
3502
3591
 
3503
3592
 
@@ -3538,6 +3627,7 @@ proto.com.lansweeper.dp.outbound.v1.Asset.toObject = function(includeInstance, m
3538
3627
  uniqueKey: jspb.Message.getFieldWithDefault(msg, 23, ""),
3539
3628
  scanErrorList: jspb.Message.toObjectList(msg.getScanErrorList(),
3540
3629
  proto.com.lansweeper.dp.outbound.v1.ScanError.toObject, includeInstance),
3630
+ lastSyncedSource: jspb.Message.getFieldWithDefault(msg, 39, ""),
3541
3631
  tagList: jspb.Message.toObjectList(msg.getTagList(),
3542
3632
  proto.com.lansweeper.dp.outbound.v1.Tag.toObject, includeInstance),
3543
3633
  relationList: jspb.Message.toObjectList(msg.getRelationList(),
@@ -3564,6 +3654,10 @@ proto.com.lansweeper.dp.outbound.v1.Asset.toObject = function(includeInstance, m
3564
3654
  proto.com.lansweeper.dp.outbound.v1.OpticalDrive.toObject, includeInstance),
3565
3655
  hardDriveList: jspb.Message.toObjectList(msg.getHardDriveList(),
3566
3656
  proto.com.lansweeper.dp.outbound.v1.HardDrive.toObject, includeInstance),
3657
+ driveVolumeList: jspb.Message.toObjectList(msg.getDriveVolumeList(),
3658
+ proto.com.lansweeper.dp.outbound.v1.DriveVolume.toObject, includeInstance),
3659
+ networkVolumeList: jspb.Message.toObjectList(msg.getNetworkVolumeList(),
3660
+ proto.com.lansweeper.dp.outbound.v1.NetworkVolume.toObject, includeInstance),
3567
3661
  graphicsCardList: jspb.Message.toObjectList(msg.getGraphicsCardList(),
3568
3662
  proto.com.lansweeper.dp.outbound.v1.GraphicsCard.toObject, includeInstance),
3569
3663
  soundCardList: jspb.Message.toObjectList(msg.getSoundCardList(),
@@ -3650,6 +3744,10 @@ proto.com.lansweeper.dp.outbound.v1.Asset.deserializeBinaryFromReader = function
3650
3744
  reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.ScanError.deserializeBinaryFromReader);
3651
3745
  msg.addScanError(value);
3652
3746
  break;
3747
+ case 39:
3748
+ var value = /** @type {string} */ (reader.readString());
3749
+ msg.setLastSyncedSource(value);
3750
+ break;
3653
3751
  case 14:
3654
3752
  var value = new proto.com.lansweeper.dp.outbound.v1.Tag;
3655
3753
  reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.Tag.deserializeBinaryFromReader);
@@ -3740,6 +3838,16 @@ proto.com.lansweeper.dp.outbound.v1.Asset.deserializeBinaryFromReader = function
3740
3838
  reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.HardDrive.deserializeBinaryFromReader);
3741
3839
  msg.addHardDrive(value);
3742
3840
  break;
3841
+ case 38:
3842
+ var value = new proto.com.lansweeper.dp.outbound.v1.DriveVolume;
3843
+ reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.DriveVolume.deserializeBinaryFromReader);
3844
+ msg.addDriveVolume(value);
3845
+ break;
3846
+ case 40:
3847
+ var value = new proto.com.lansweeper.dp.outbound.v1.NetworkVolume;
3848
+ reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.NetworkVolume.deserializeBinaryFromReader);
3849
+ msg.addNetworkVolume(value);
3850
+ break;
3743
3851
  case 27:
3744
3852
  var value = new proto.com.lansweeper.dp.outbound.v1.GraphicsCard;
3745
3853
  reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.GraphicsCard.deserializeBinaryFromReader);
@@ -3874,6 +3982,13 @@ proto.com.lansweeper.dp.outbound.v1.Asset.serializeBinaryToWriter = function(mes
3874
3982
  proto.com.lansweeper.dp.outbound.v1.ScanError.serializeBinaryToWriter
3875
3983
  );
3876
3984
  }
3985
+ f = /** @type {string} */ (jspb.Message.getField(message, 39));
3986
+ if (f != null) {
3987
+ writer.writeString(
3988
+ 39,
3989
+ f
3990
+ );
3991
+ }
3877
3992
  f = message.getTagList();
3878
3993
  if (f.length > 0) {
3879
3994
  writer.writeRepeatedMessage(
@@ -4018,6 +4133,22 @@ proto.com.lansweeper.dp.outbound.v1.Asset.serializeBinaryToWriter = function(mes
4018
4133
  proto.com.lansweeper.dp.outbound.v1.HardDrive.serializeBinaryToWriter
4019
4134
  );
4020
4135
  }
4136
+ f = message.getDriveVolumeList();
4137
+ if (f.length > 0) {
4138
+ writer.writeRepeatedMessage(
4139
+ 38,
4140
+ f,
4141
+ proto.com.lansweeper.dp.outbound.v1.DriveVolume.serializeBinaryToWriter
4142
+ );
4143
+ }
4144
+ f = message.getNetworkVolumeList();
4145
+ if (f.length > 0) {
4146
+ writer.writeRepeatedMessage(
4147
+ 40,
4148
+ f,
4149
+ proto.com.lansweeper.dp.outbound.v1.NetworkVolume.serializeBinaryToWriter
4150
+ );
4151
+ }
4021
4152
  f = message.getGraphicsCardList();
4022
4153
  if (f.length > 0) {
4023
4154
  writer.writeRepeatedMessage(
@@ -4360,6 +4491,42 @@ proto.com.lansweeper.dp.outbound.v1.Asset.prototype.clearScanErrorList = functio
4360
4491
  };
4361
4492
 
4362
4493
 
4494
+ /**
4495
+ * optional string last_synced_source = 39;
4496
+ * @return {string}
4497
+ */
4498
+ proto.com.lansweeper.dp.outbound.v1.Asset.prototype.getLastSyncedSource = function() {
4499
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 39, ""));
4500
+ };
4501
+
4502
+
4503
+ /**
4504
+ * @param {string} value
4505
+ * @return {!proto.com.lansweeper.dp.outbound.v1.Asset} returns this
4506
+ */
4507
+ proto.com.lansweeper.dp.outbound.v1.Asset.prototype.setLastSyncedSource = function(value) {
4508
+ return jspb.Message.setField(this, 39, value);
4509
+ };
4510
+
4511
+
4512
+ /**
4513
+ * Clears the field making it undefined.
4514
+ * @return {!proto.com.lansweeper.dp.outbound.v1.Asset} returns this
4515
+ */
4516
+ proto.com.lansweeper.dp.outbound.v1.Asset.prototype.clearLastSyncedSource = function() {
4517
+ return jspb.Message.setField(this, 39, undefined);
4518
+ };
4519
+
4520
+
4521
+ /**
4522
+ * Returns whether this field is set.
4523
+ * @return {boolean}
4524
+ */
4525
+ proto.com.lansweeper.dp.outbound.v1.Asset.prototype.hasLastSyncedSource = function() {
4526
+ return jspb.Message.getField(this, 39) != null;
4527
+ };
4528
+
4529
+
4363
4530
  /**
4364
4531
  * repeated Tag tag = 14;
4365
4532
  * @return {!Array<!proto.com.lansweeper.dp.outbound.v1.Tag>}
@@ -5034,6 +5201,82 @@ proto.com.lansweeper.dp.outbound.v1.Asset.prototype.clearHardDriveList = functio
5034
5201
  };
5035
5202
 
5036
5203
 
5204
+ /**
5205
+ * repeated DriveVolume drive_volume = 38;
5206
+ * @return {!Array<!proto.com.lansweeper.dp.outbound.v1.DriveVolume>}
5207
+ */
5208
+ proto.com.lansweeper.dp.outbound.v1.Asset.prototype.getDriveVolumeList = function() {
5209
+ return /** @type{!Array<!proto.com.lansweeper.dp.outbound.v1.DriveVolume>} */ (
5210
+ jspb.Message.getRepeatedWrapperField(this, proto.com.lansweeper.dp.outbound.v1.DriveVolume, 38));
5211
+ };
5212
+
5213
+
5214
+ /**
5215
+ * @param {!Array<!proto.com.lansweeper.dp.outbound.v1.DriveVolume>} value
5216
+ * @return {!proto.com.lansweeper.dp.outbound.v1.Asset} returns this
5217
+ */
5218
+ proto.com.lansweeper.dp.outbound.v1.Asset.prototype.setDriveVolumeList = function(value) {
5219
+ return jspb.Message.setRepeatedWrapperField(this, 38, value);
5220
+ };
5221
+
5222
+
5223
+ /**
5224
+ * @param {!proto.com.lansweeper.dp.outbound.v1.DriveVolume=} opt_value
5225
+ * @param {number=} opt_index
5226
+ * @return {!proto.com.lansweeper.dp.outbound.v1.DriveVolume}
5227
+ */
5228
+ proto.com.lansweeper.dp.outbound.v1.Asset.prototype.addDriveVolume = function(opt_value, opt_index) {
5229
+ return jspb.Message.addToRepeatedWrapperField(this, 38, opt_value, proto.com.lansweeper.dp.outbound.v1.DriveVolume, opt_index);
5230
+ };
5231
+
5232
+
5233
+ /**
5234
+ * Clears the list making it empty but non-null.
5235
+ * @return {!proto.com.lansweeper.dp.outbound.v1.Asset} returns this
5236
+ */
5237
+ proto.com.lansweeper.dp.outbound.v1.Asset.prototype.clearDriveVolumeList = function() {
5238
+ return this.setDriveVolumeList([]);
5239
+ };
5240
+
5241
+
5242
+ /**
5243
+ * repeated NetworkVolume network_volume = 40;
5244
+ * @return {!Array<!proto.com.lansweeper.dp.outbound.v1.NetworkVolume>}
5245
+ */
5246
+ proto.com.lansweeper.dp.outbound.v1.Asset.prototype.getNetworkVolumeList = function() {
5247
+ return /** @type{!Array<!proto.com.lansweeper.dp.outbound.v1.NetworkVolume>} */ (
5248
+ jspb.Message.getRepeatedWrapperField(this, proto.com.lansweeper.dp.outbound.v1.NetworkVolume, 40));
5249
+ };
5250
+
5251
+
5252
+ /**
5253
+ * @param {!Array<!proto.com.lansweeper.dp.outbound.v1.NetworkVolume>} value
5254
+ * @return {!proto.com.lansweeper.dp.outbound.v1.Asset} returns this
5255
+ */
5256
+ proto.com.lansweeper.dp.outbound.v1.Asset.prototype.setNetworkVolumeList = function(value) {
5257
+ return jspb.Message.setRepeatedWrapperField(this, 40, value);
5258
+ };
5259
+
5260
+
5261
+ /**
5262
+ * @param {!proto.com.lansweeper.dp.outbound.v1.NetworkVolume=} opt_value
5263
+ * @param {number=} opt_index
5264
+ * @return {!proto.com.lansweeper.dp.outbound.v1.NetworkVolume}
5265
+ */
5266
+ proto.com.lansweeper.dp.outbound.v1.Asset.prototype.addNetworkVolume = function(opt_value, opt_index) {
5267
+ return jspb.Message.addToRepeatedWrapperField(this, 40, opt_value, proto.com.lansweeper.dp.outbound.v1.NetworkVolume, opt_index);
5268
+ };
5269
+
5270
+
5271
+ /**
5272
+ * Clears the list making it empty but non-null.
5273
+ * @return {!proto.com.lansweeper.dp.outbound.v1.Asset} returns this
5274
+ */
5275
+ proto.com.lansweeper.dp.outbound.v1.Asset.prototype.clearNetworkVolumeList = function() {
5276
+ return this.setNetworkVolumeList([]);
5277
+ };
5278
+
5279
+
5037
5280
  /**
5038
5281
  * repeated GraphicsCard graphics_card = 27;
5039
5282
  * @return {!Array<!proto.com.lansweeper.dp.outbound.v1.GraphicsCard>}
@@ -18227,6 +18470,2058 @@ proto.com.lansweeper.dp.outbound.v1.HardDrive.prototype.hasMountedOn = function(
18227
18470
 
18228
18471
 
18229
18472
 
18473
+ if (jspb.Message.GENERATE_TO_OBJECT) {
18474
+ /**
18475
+ * Creates an object representation of this proto.
18476
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
18477
+ * Optional fields that are not set will be set to undefined.
18478
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
18479
+ * For the list of reserved names please see:
18480
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
18481
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
18482
+ * JSPB instance for transitional soy proto support:
18483
+ * http://goto/soy-param-migration
18484
+ * @return {!Object}
18485
+ */
18486
+ proto.com.lansweeper.dp.outbound.v1.DriveVolume.prototype.toObject = function(opt_includeInstance) {
18487
+ return proto.com.lansweeper.dp.outbound.v1.DriveVolume.toObject(opt_includeInstance, this);
18488
+ };
18489
+
18490
+
18491
+ /**
18492
+ * Static version of the {@see toObject} method.
18493
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
18494
+ * the JSPB instance for transitional soy proto support:
18495
+ * http://goto/soy-param-migration
18496
+ * @param {!proto.com.lansweeper.dp.outbound.v1.DriveVolume} msg The msg instance to transform.
18497
+ * @return {!Object}
18498
+ * @suppress {unusedLocalVariables} f is only used for nested messages
18499
+ */
18500
+ proto.com.lansweeper.dp.outbound.v1.DriveVolume.toObject = function(includeInstance, msg) {
18501
+ var f, obj = {
18502
+ deviceId: jspb.Message.getFieldWithDefault(msg, 1, ""),
18503
+ path: jspb.Message.getFieldWithDefault(msg, 2, ""),
18504
+ label: jspb.Message.getFieldWithDefault(msg, 3, ""),
18505
+ name: jspb.Message.getFieldWithDefault(msg, 4, ""),
18506
+ capacity: jspb.Message.getFieldWithDefault(msg, 5, 0),
18507
+ blockSize: jspb.Message.getFieldWithDefault(msg, 6, 0),
18508
+ freeSpace: jspb.Message.getFieldWithDefault(msg, 7, 0),
18509
+ driveType: (f = msg.getDriveType()) && proto.com.lansweeper.dp.outbound.v1.MappedValue.toObject(includeInstance, f),
18510
+ protectionStatus: (f = msg.getProtectionStatus()) && proto.com.lansweeper.dp.outbound.v1.MappedValue.toObject(includeInstance, f),
18511
+ errorDescription: jspb.Message.getFieldWithDefault(msg, 10, ""),
18512
+ errorMethodology: jspb.Message.getFieldWithDefault(msg, 11, ""),
18513
+ fileSystem: jspb.Message.getFieldWithDefault(msg, 12, ""),
18514
+ autoMount: jspb.Message.getBooleanFieldWithDefault(msg, 13, false),
18515
+ compressed: jspb.Message.getBooleanFieldWithDefault(msg, 14, false),
18516
+ dirtyBitSet: jspb.Message.getBooleanFieldWithDefault(msg, 15, false),
18517
+ errorCleared: jspb.Message.getBooleanFieldWithDefault(msg, 16, false),
18518
+ indexingEnabled: jspb.Message.getBooleanFieldWithDefault(msg, 17, false),
18519
+ pageFilePresent: jspb.Message.getBooleanFieldWithDefault(msg, 18, false),
18520
+ supportsDiskQuotas: jspb.Message.getBooleanFieldWithDefault(msg, 19, false),
18521
+ supportsFileBasedCompression: jspb.Message.getBooleanFieldWithDefault(msg, 20, false),
18522
+ mounted: jspb.Message.getFieldWithDefault(msg, 21, ""),
18523
+ mountPoint: jspb.Message.getFieldWithDefault(msg, 22, "")
18524
+ };
18525
+
18526
+ if (includeInstance) {
18527
+ obj.$jspbMessageInstance = msg;
18528
+ }
18529
+ return obj;
18530
+ };
18531
+ }
18532
+
18533
+
18534
+ /**
18535
+ * Deserializes binary data (in protobuf wire format).
18536
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
18537
+ * @return {!proto.com.lansweeper.dp.outbound.v1.DriveVolume}
18538
+ */
18539
+ proto.com.lansweeper.dp.outbound.v1.DriveVolume.deserializeBinary = function(bytes) {
18540
+ var reader = new jspb.BinaryReader(bytes);
18541
+ var msg = new proto.com.lansweeper.dp.outbound.v1.DriveVolume;
18542
+ return proto.com.lansweeper.dp.outbound.v1.DriveVolume.deserializeBinaryFromReader(msg, reader);
18543
+ };
18544
+
18545
+
18546
+ /**
18547
+ * Deserializes binary data (in protobuf wire format) from the
18548
+ * given reader into the given message object.
18549
+ * @param {!proto.com.lansweeper.dp.outbound.v1.DriveVolume} msg The message object to deserialize into.
18550
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
18551
+ * @return {!proto.com.lansweeper.dp.outbound.v1.DriveVolume}
18552
+ */
18553
+ proto.com.lansweeper.dp.outbound.v1.DriveVolume.deserializeBinaryFromReader = function(msg, reader) {
18554
+ while (reader.nextField()) {
18555
+ if (reader.isEndGroup()) {
18556
+ break;
18557
+ }
18558
+ var field = reader.getFieldNumber();
18559
+ switch (field) {
18560
+ case 1:
18561
+ var value = /** @type {string} */ (reader.readString());
18562
+ msg.setDeviceId(value);
18563
+ break;
18564
+ case 2:
18565
+ var value = /** @type {string} */ (reader.readString());
18566
+ msg.setPath(value);
18567
+ break;
18568
+ case 3:
18569
+ var value = /** @type {string} */ (reader.readString());
18570
+ msg.setLabel(value);
18571
+ break;
18572
+ case 4:
18573
+ var value = /** @type {string} */ (reader.readString());
18574
+ msg.setName(value);
18575
+ break;
18576
+ case 5:
18577
+ var value = /** @type {number} */ (reader.readInt64());
18578
+ msg.setCapacity(value);
18579
+ break;
18580
+ case 6:
18581
+ var value = /** @type {number} */ (reader.readInt64());
18582
+ msg.setBlockSize(value);
18583
+ break;
18584
+ case 7:
18585
+ var value = /** @type {number} */ (reader.readInt64());
18586
+ msg.setFreeSpace(value);
18587
+ break;
18588
+ case 8:
18589
+ var value = new proto.com.lansweeper.dp.outbound.v1.MappedValue;
18590
+ reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.MappedValue.deserializeBinaryFromReader);
18591
+ msg.setDriveType(value);
18592
+ break;
18593
+ case 9:
18594
+ var value = new proto.com.lansweeper.dp.outbound.v1.MappedValue;
18595
+ reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.MappedValue.deserializeBinaryFromReader);
18596
+ msg.setProtectionStatus(value);
18597
+ break;
18598
+ case 10:
18599
+ var value = /** @type {string} */ (reader.readString());
18600
+ msg.setErrorDescription(value);
18601
+ break;
18602
+ case 11:
18603
+ var value = /** @type {string} */ (reader.readString());
18604
+ msg.setErrorMethodology(value);
18605
+ break;
18606
+ case 12:
18607
+ var value = /** @type {string} */ (reader.readString());
18608
+ msg.setFileSystem(value);
18609
+ break;
18610
+ case 13:
18611
+ var value = /** @type {boolean} */ (reader.readBool());
18612
+ msg.setAutoMount(value);
18613
+ break;
18614
+ case 14:
18615
+ var value = /** @type {boolean} */ (reader.readBool());
18616
+ msg.setCompressed(value);
18617
+ break;
18618
+ case 15:
18619
+ var value = /** @type {boolean} */ (reader.readBool());
18620
+ msg.setDirtyBitSet(value);
18621
+ break;
18622
+ case 16:
18623
+ var value = /** @type {boolean} */ (reader.readBool());
18624
+ msg.setErrorCleared(value);
18625
+ break;
18626
+ case 17:
18627
+ var value = /** @type {boolean} */ (reader.readBool());
18628
+ msg.setIndexingEnabled(value);
18629
+ break;
18630
+ case 18:
18631
+ var value = /** @type {boolean} */ (reader.readBool());
18632
+ msg.setPageFilePresent(value);
18633
+ break;
18634
+ case 19:
18635
+ var value = /** @type {boolean} */ (reader.readBool());
18636
+ msg.setSupportsDiskQuotas(value);
18637
+ break;
18638
+ case 20:
18639
+ var value = /** @type {boolean} */ (reader.readBool());
18640
+ msg.setSupportsFileBasedCompression(value);
18641
+ break;
18642
+ case 21:
18643
+ var value = /** @type {string} */ (reader.readString());
18644
+ msg.setMounted(value);
18645
+ break;
18646
+ case 22:
18647
+ var value = /** @type {string} */ (reader.readString());
18648
+ msg.setMountPoint(value);
18649
+ break;
18650
+ default:
18651
+ reader.skipField();
18652
+ break;
18653
+ }
18654
+ }
18655
+ return msg;
18656
+ };
18657
+
18658
+
18659
+ /**
18660
+ * Serializes the message to binary data (in protobuf wire format).
18661
+ * @return {!Uint8Array}
18662
+ */
18663
+ proto.com.lansweeper.dp.outbound.v1.DriveVolume.prototype.serializeBinary = function() {
18664
+ var writer = new jspb.BinaryWriter();
18665
+ proto.com.lansweeper.dp.outbound.v1.DriveVolume.serializeBinaryToWriter(this, writer);
18666
+ return writer.getResultBuffer();
18667
+ };
18668
+
18669
+
18670
+ /**
18671
+ * Serializes the given message to binary data (in protobuf wire
18672
+ * format), writing to the given BinaryWriter.
18673
+ * @param {!proto.com.lansweeper.dp.outbound.v1.DriveVolume} message
18674
+ * @param {!jspb.BinaryWriter} writer
18675
+ * @suppress {unusedLocalVariables} f is only used for nested messages
18676
+ */
18677
+ proto.com.lansweeper.dp.outbound.v1.DriveVolume.serializeBinaryToWriter = function(message, writer) {
18678
+ var f = undefined;
18679
+ f = /** @type {string} */ (jspb.Message.getField(message, 1));
18680
+ if (f != null) {
18681
+ writer.writeString(
18682
+ 1,
18683
+ f
18684
+ );
18685
+ }
18686
+ f = /** @type {string} */ (jspb.Message.getField(message, 2));
18687
+ if (f != null) {
18688
+ writer.writeString(
18689
+ 2,
18690
+ f
18691
+ );
18692
+ }
18693
+ f = /** @type {string} */ (jspb.Message.getField(message, 3));
18694
+ if (f != null) {
18695
+ writer.writeString(
18696
+ 3,
18697
+ f
18698
+ );
18699
+ }
18700
+ f = /** @type {string} */ (jspb.Message.getField(message, 4));
18701
+ if (f != null) {
18702
+ writer.writeString(
18703
+ 4,
18704
+ f
18705
+ );
18706
+ }
18707
+ f = /** @type {number} */ (jspb.Message.getField(message, 5));
18708
+ if (f != null) {
18709
+ writer.writeInt64(
18710
+ 5,
18711
+ f
18712
+ );
18713
+ }
18714
+ f = /** @type {number} */ (jspb.Message.getField(message, 6));
18715
+ if (f != null) {
18716
+ writer.writeInt64(
18717
+ 6,
18718
+ f
18719
+ );
18720
+ }
18721
+ f = /** @type {number} */ (jspb.Message.getField(message, 7));
18722
+ if (f != null) {
18723
+ writer.writeInt64(
18724
+ 7,
18725
+ f
18726
+ );
18727
+ }
18728
+ f = message.getDriveType();
18729
+ if (f != null) {
18730
+ writer.writeMessage(
18731
+ 8,
18732
+ f,
18733
+ proto.com.lansweeper.dp.outbound.v1.MappedValue.serializeBinaryToWriter
18734
+ );
18735
+ }
18736
+ f = message.getProtectionStatus();
18737
+ if (f != null) {
18738
+ writer.writeMessage(
18739
+ 9,
18740
+ f,
18741
+ proto.com.lansweeper.dp.outbound.v1.MappedValue.serializeBinaryToWriter
18742
+ );
18743
+ }
18744
+ f = /** @type {string} */ (jspb.Message.getField(message, 10));
18745
+ if (f != null) {
18746
+ writer.writeString(
18747
+ 10,
18748
+ f
18749
+ );
18750
+ }
18751
+ f = /** @type {string} */ (jspb.Message.getField(message, 11));
18752
+ if (f != null) {
18753
+ writer.writeString(
18754
+ 11,
18755
+ f
18756
+ );
18757
+ }
18758
+ f = /** @type {string} */ (jspb.Message.getField(message, 12));
18759
+ if (f != null) {
18760
+ writer.writeString(
18761
+ 12,
18762
+ f
18763
+ );
18764
+ }
18765
+ f = /** @type {boolean} */ (jspb.Message.getField(message, 13));
18766
+ if (f != null) {
18767
+ writer.writeBool(
18768
+ 13,
18769
+ f
18770
+ );
18771
+ }
18772
+ f = /** @type {boolean} */ (jspb.Message.getField(message, 14));
18773
+ if (f != null) {
18774
+ writer.writeBool(
18775
+ 14,
18776
+ f
18777
+ );
18778
+ }
18779
+ f = /** @type {boolean} */ (jspb.Message.getField(message, 15));
18780
+ if (f != null) {
18781
+ writer.writeBool(
18782
+ 15,
18783
+ f
18784
+ );
18785
+ }
18786
+ f = /** @type {boolean} */ (jspb.Message.getField(message, 16));
18787
+ if (f != null) {
18788
+ writer.writeBool(
18789
+ 16,
18790
+ f
18791
+ );
18792
+ }
18793
+ f = /** @type {boolean} */ (jspb.Message.getField(message, 17));
18794
+ if (f != null) {
18795
+ writer.writeBool(
18796
+ 17,
18797
+ f
18798
+ );
18799
+ }
18800
+ f = /** @type {boolean} */ (jspb.Message.getField(message, 18));
18801
+ if (f != null) {
18802
+ writer.writeBool(
18803
+ 18,
18804
+ f
18805
+ );
18806
+ }
18807
+ f = /** @type {boolean} */ (jspb.Message.getField(message, 19));
18808
+ if (f != null) {
18809
+ writer.writeBool(
18810
+ 19,
18811
+ f
18812
+ );
18813
+ }
18814
+ f = /** @type {boolean} */ (jspb.Message.getField(message, 20));
18815
+ if (f != null) {
18816
+ writer.writeBool(
18817
+ 20,
18818
+ f
18819
+ );
18820
+ }
18821
+ f = /** @type {string} */ (jspb.Message.getField(message, 21));
18822
+ if (f != null) {
18823
+ writer.writeString(
18824
+ 21,
18825
+ f
18826
+ );
18827
+ }
18828
+ f = /** @type {string} */ (jspb.Message.getField(message, 22));
18829
+ if (f != null) {
18830
+ writer.writeString(
18831
+ 22,
18832
+ f
18833
+ );
18834
+ }
18835
+ };
18836
+
18837
+
18838
+ /**
18839
+ * optional string device_id = 1;
18840
+ * @return {string}
18841
+ */
18842
+ proto.com.lansweeper.dp.outbound.v1.DriveVolume.prototype.getDeviceId = function() {
18843
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
18844
+ };
18845
+
18846
+
18847
+ /**
18848
+ * @param {string} value
18849
+ * @return {!proto.com.lansweeper.dp.outbound.v1.DriveVolume} returns this
18850
+ */
18851
+ proto.com.lansweeper.dp.outbound.v1.DriveVolume.prototype.setDeviceId = function(value) {
18852
+ return jspb.Message.setField(this, 1, value);
18853
+ };
18854
+
18855
+
18856
+ /**
18857
+ * Clears the field making it undefined.
18858
+ * @return {!proto.com.lansweeper.dp.outbound.v1.DriveVolume} returns this
18859
+ */
18860
+ proto.com.lansweeper.dp.outbound.v1.DriveVolume.prototype.clearDeviceId = function() {
18861
+ return jspb.Message.setField(this, 1, undefined);
18862
+ };
18863
+
18864
+
18865
+ /**
18866
+ * Returns whether this field is set.
18867
+ * @return {boolean}
18868
+ */
18869
+ proto.com.lansweeper.dp.outbound.v1.DriveVolume.prototype.hasDeviceId = function() {
18870
+ return jspb.Message.getField(this, 1) != null;
18871
+ };
18872
+
18873
+
18874
+ /**
18875
+ * optional string path = 2;
18876
+ * @return {string}
18877
+ */
18878
+ proto.com.lansweeper.dp.outbound.v1.DriveVolume.prototype.getPath = function() {
18879
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
18880
+ };
18881
+
18882
+
18883
+ /**
18884
+ * @param {string} value
18885
+ * @return {!proto.com.lansweeper.dp.outbound.v1.DriveVolume} returns this
18886
+ */
18887
+ proto.com.lansweeper.dp.outbound.v1.DriveVolume.prototype.setPath = function(value) {
18888
+ return jspb.Message.setField(this, 2, value);
18889
+ };
18890
+
18891
+
18892
+ /**
18893
+ * Clears the field making it undefined.
18894
+ * @return {!proto.com.lansweeper.dp.outbound.v1.DriveVolume} returns this
18895
+ */
18896
+ proto.com.lansweeper.dp.outbound.v1.DriveVolume.prototype.clearPath = function() {
18897
+ return jspb.Message.setField(this, 2, undefined);
18898
+ };
18899
+
18900
+
18901
+ /**
18902
+ * Returns whether this field is set.
18903
+ * @return {boolean}
18904
+ */
18905
+ proto.com.lansweeper.dp.outbound.v1.DriveVolume.prototype.hasPath = function() {
18906
+ return jspb.Message.getField(this, 2) != null;
18907
+ };
18908
+
18909
+
18910
+ /**
18911
+ * optional string label = 3;
18912
+ * @return {string}
18913
+ */
18914
+ proto.com.lansweeper.dp.outbound.v1.DriveVolume.prototype.getLabel = function() {
18915
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
18916
+ };
18917
+
18918
+
18919
+ /**
18920
+ * @param {string} value
18921
+ * @return {!proto.com.lansweeper.dp.outbound.v1.DriveVolume} returns this
18922
+ */
18923
+ proto.com.lansweeper.dp.outbound.v1.DriveVolume.prototype.setLabel = function(value) {
18924
+ return jspb.Message.setField(this, 3, value);
18925
+ };
18926
+
18927
+
18928
+ /**
18929
+ * Clears the field making it undefined.
18930
+ * @return {!proto.com.lansweeper.dp.outbound.v1.DriveVolume} returns this
18931
+ */
18932
+ proto.com.lansweeper.dp.outbound.v1.DriveVolume.prototype.clearLabel = function() {
18933
+ return jspb.Message.setField(this, 3, undefined);
18934
+ };
18935
+
18936
+
18937
+ /**
18938
+ * Returns whether this field is set.
18939
+ * @return {boolean}
18940
+ */
18941
+ proto.com.lansweeper.dp.outbound.v1.DriveVolume.prototype.hasLabel = function() {
18942
+ return jspb.Message.getField(this, 3) != null;
18943
+ };
18944
+
18945
+
18946
+ /**
18947
+ * optional string name = 4;
18948
+ * @return {string}
18949
+ */
18950
+ proto.com.lansweeper.dp.outbound.v1.DriveVolume.prototype.getName = function() {
18951
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
18952
+ };
18953
+
18954
+
18955
+ /**
18956
+ * @param {string} value
18957
+ * @return {!proto.com.lansweeper.dp.outbound.v1.DriveVolume} returns this
18958
+ */
18959
+ proto.com.lansweeper.dp.outbound.v1.DriveVolume.prototype.setName = function(value) {
18960
+ return jspb.Message.setField(this, 4, value);
18961
+ };
18962
+
18963
+
18964
+ /**
18965
+ * Clears the field making it undefined.
18966
+ * @return {!proto.com.lansweeper.dp.outbound.v1.DriveVolume} returns this
18967
+ */
18968
+ proto.com.lansweeper.dp.outbound.v1.DriveVolume.prototype.clearName = function() {
18969
+ return jspb.Message.setField(this, 4, undefined);
18970
+ };
18971
+
18972
+
18973
+ /**
18974
+ * Returns whether this field is set.
18975
+ * @return {boolean}
18976
+ */
18977
+ proto.com.lansweeper.dp.outbound.v1.DriveVolume.prototype.hasName = function() {
18978
+ return jspb.Message.getField(this, 4) != null;
18979
+ };
18980
+
18981
+
18982
+ /**
18983
+ * optional int64 capacity = 5;
18984
+ * @return {number}
18985
+ */
18986
+ proto.com.lansweeper.dp.outbound.v1.DriveVolume.prototype.getCapacity = function() {
18987
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
18988
+ };
18989
+
18990
+
18991
+ /**
18992
+ * @param {number} value
18993
+ * @return {!proto.com.lansweeper.dp.outbound.v1.DriveVolume} returns this
18994
+ */
18995
+ proto.com.lansweeper.dp.outbound.v1.DriveVolume.prototype.setCapacity = function(value) {
18996
+ return jspb.Message.setField(this, 5, value);
18997
+ };
18998
+
18999
+
19000
+ /**
19001
+ * Clears the field making it undefined.
19002
+ * @return {!proto.com.lansweeper.dp.outbound.v1.DriveVolume} returns this
19003
+ */
19004
+ proto.com.lansweeper.dp.outbound.v1.DriveVolume.prototype.clearCapacity = function() {
19005
+ return jspb.Message.setField(this, 5, undefined);
19006
+ };
19007
+
19008
+
19009
+ /**
19010
+ * Returns whether this field is set.
19011
+ * @return {boolean}
19012
+ */
19013
+ proto.com.lansweeper.dp.outbound.v1.DriveVolume.prototype.hasCapacity = function() {
19014
+ return jspb.Message.getField(this, 5) != null;
19015
+ };
19016
+
19017
+
19018
+ /**
19019
+ * optional int64 block_size = 6;
19020
+ * @return {number}
19021
+ */
19022
+ proto.com.lansweeper.dp.outbound.v1.DriveVolume.prototype.getBlockSize = function() {
19023
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
19024
+ };
19025
+
19026
+
19027
+ /**
19028
+ * @param {number} value
19029
+ * @return {!proto.com.lansweeper.dp.outbound.v1.DriveVolume} returns this
19030
+ */
19031
+ proto.com.lansweeper.dp.outbound.v1.DriveVolume.prototype.setBlockSize = function(value) {
19032
+ return jspb.Message.setField(this, 6, value);
19033
+ };
19034
+
19035
+
19036
+ /**
19037
+ * Clears the field making it undefined.
19038
+ * @return {!proto.com.lansweeper.dp.outbound.v1.DriveVolume} returns this
19039
+ */
19040
+ proto.com.lansweeper.dp.outbound.v1.DriveVolume.prototype.clearBlockSize = function() {
19041
+ return jspb.Message.setField(this, 6, undefined);
19042
+ };
19043
+
19044
+
19045
+ /**
19046
+ * Returns whether this field is set.
19047
+ * @return {boolean}
19048
+ */
19049
+ proto.com.lansweeper.dp.outbound.v1.DriveVolume.prototype.hasBlockSize = function() {
19050
+ return jspb.Message.getField(this, 6) != null;
19051
+ };
19052
+
19053
+
19054
+ /**
19055
+ * optional int64 free_space = 7;
19056
+ * @return {number}
19057
+ */
19058
+ proto.com.lansweeper.dp.outbound.v1.DriveVolume.prototype.getFreeSpace = function() {
19059
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
19060
+ };
19061
+
19062
+
19063
+ /**
19064
+ * @param {number} value
19065
+ * @return {!proto.com.lansweeper.dp.outbound.v1.DriveVolume} returns this
19066
+ */
19067
+ proto.com.lansweeper.dp.outbound.v1.DriveVolume.prototype.setFreeSpace = function(value) {
19068
+ return jspb.Message.setField(this, 7, value);
19069
+ };
19070
+
19071
+
19072
+ /**
19073
+ * Clears the field making it undefined.
19074
+ * @return {!proto.com.lansweeper.dp.outbound.v1.DriveVolume} returns this
19075
+ */
19076
+ proto.com.lansweeper.dp.outbound.v1.DriveVolume.prototype.clearFreeSpace = function() {
19077
+ return jspb.Message.setField(this, 7, undefined);
19078
+ };
19079
+
19080
+
19081
+ /**
19082
+ * Returns whether this field is set.
19083
+ * @return {boolean}
19084
+ */
19085
+ proto.com.lansweeper.dp.outbound.v1.DriveVolume.prototype.hasFreeSpace = function() {
19086
+ return jspb.Message.getField(this, 7) != null;
19087
+ };
19088
+
19089
+
19090
+ /**
19091
+ * optional MappedValue drive_type = 8;
19092
+ * @return {?proto.com.lansweeper.dp.outbound.v1.MappedValue}
19093
+ */
19094
+ proto.com.lansweeper.dp.outbound.v1.DriveVolume.prototype.getDriveType = function() {
19095
+ return /** @type{?proto.com.lansweeper.dp.outbound.v1.MappedValue} */ (
19096
+ jspb.Message.getWrapperField(this, proto.com.lansweeper.dp.outbound.v1.MappedValue, 8));
19097
+ };
19098
+
19099
+
19100
+ /**
19101
+ * @param {?proto.com.lansweeper.dp.outbound.v1.MappedValue|undefined} value
19102
+ * @return {!proto.com.lansweeper.dp.outbound.v1.DriveVolume} returns this
19103
+ */
19104
+ proto.com.lansweeper.dp.outbound.v1.DriveVolume.prototype.setDriveType = function(value) {
19105
+ return jspb.Message.setWrapperField(this, 8, value);
19106
+ };
19107
+
19108
+
19109
+ /**
19110
+ * Clears the message field making it undefined.
19111
+ * @return {!proto.com.lansweeper.dp.outbound.v1.DriveVolume} returns this
19112
+ */
19113
+ proto.com.lansweeper.dp.outbound.v1.DriveVolume.prototype.clearDriveType = function() {
19114
+ return this.setDriveType(undefined);
19115
+ };
19116
+
19117
+
19118
+ /**
19119
+ * Returns whether this field is set.
19120
+ * @return {boolean}
19121
+ */
19122
+ proto.com.lansweeper.dp.outbound.v1.DriveVolume.prototype.hasDriveType = function() {
19123
+ return jspb.Message.getField(this, 8) != null;
19124
+ };
19125
+
19126
+
19127
+ /**
19128
+ * optional MappedValue protection_status = 9;
19129
+ * @return {?proto.com.lansweeper.dp.outbound.v1.MappedValue}
19130
+ */
19131
+ proto.com.lansweeper.dp.outbound.v1.DriveVolume.prototype.getProtectionStatus = function() {
19132
+ return /** @type{?proto.com.lansweeper.dp.outbound.v1.MappedValue} */ (
19133
+ jspb.Message.getWrapperField(this, proto.com.lansweeper.dp.outbound.v1.MappedValue, 9));
19134
+ };
19135
+
19136
+
19137
+ /**
19138
+ * @param {?proto.com.lansweeper.dp.outbound.v1.MappedValue|undefined} value
19139
+ * @return {!proto.com.lansweeper.dp.outbound.v1.DriveVolume} returns this
19140
+ */
19141
+ proto.com.lansweeper.dp.outbound.v1.DriveVolume.prototype.setProtectionStatus = function(value) {
19142
+ return jspb.Message.setWrapperField(this, 9, value);
19143
+ };
19144
+
19145
+
19146
+ /**
19147
+ * Clears the message field making it undefined.
19148
+ * @return {!proto.com.lansweeper.dp.outbound.v1.DriveVolume} returns this
19149
+ */
19150
+ proto.com.lansweeper.dp.outbound.v1.DriveVolume.prototype.clearProtectionStatus = function() {
19151
+ return this.setProtectionStatus(undefined);
19152
+ };
19153
+
19154
+
19155
+ /**
19156
+ * Returns whether this field is set.
19157
+ * @return {boolean}
19158
+ */
19159
+ proto.com.lansweeper.dp.outbound.v1.DriveVolume.prototype.hasProtectionStatus = function() {
19160
+ return jspb.Message.getField(this, 9) != null;
19161
+ };
19162
+
19163
+
19164
+ /**
19165
+ * optional string error_description = 10;
19166
+ * @return {string}
19167
+ */
19168
+ proto.com.lansweeper.dp.outbound.v1.DriveVolume.prototype.getErrorDescription = function() {
19169
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
19170
+ };
19171
+
19172
+
19173
+ /**
19174
+ * @param {string} value
19175
+ * @return {!proto.com.lansweeper.dp.outbound.v1.DriveVolume} returns this
19176
+ */
19177
+ proto.com.lansweeper.dp.outbound.v1.DriveVolume.prototype.setErrorDescription = function(value) {
19178
+ return jspb.Message.setField(this, 10, value);
19179
+ };
19180
+
19181
+
19182
+ /**
19183
+ * Clears the field making it undefined.
19184
+ * @return {!proto.com.lansweeper.dp.outbound.v1.DriveVolume} returns this
19185
+ */
19186
+ proto.com.lansweeper.dp.outbound.v1.DriveVolume.prototype.clearErrorDescription = function() {
19187
+ return jspb.Message.setField(this, 10, undefined);
19188
+ };
19189
+
19190
+
19191
+ /**
19192
+ * Returns whether this field is set.
19193
+ * @return {boolean}
19194
+ */
19195
+ proto.com.lansweeper.dp.outbound.v1.DriveVolume.prototype.hasErrorDescription = function() {
19196
+ return jspb.Message.getField(this, 10) != null;
19197
+ };
19198
+
19199
+
19200
+ /**
19201
+ * optional string error_methodology = 11;
19202
+ * @return {string}
19203
+ */
19204
+ proto.com.lansweeper.dp.outbound.v1.DriveVolume.prototype.getErrorMethodology = function() {
19205
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
19206
+ };
19207
+
19208
+
19209
+ /**
19210
+ * @param {string} value
19211
+ * @return {!proto.com.lansweeper.dp.outbound.v1.DriveVolume} returns this
19212
+ */
19213
+ proto.com.lansweeper.dp.outbound.v1.DriveVolume.prototype.setErrorMethodology = function(value) {
19214
+ return jspb.Message.setField(this, 11, value);
19215
+ };
19216
+
19217
+
19218
+ /**
19219
+ * Clears the field making it undefined.
19220
+ * @return {!proto.com.lansweeper.dp.outbound.v1.DriveVolume} returns this
19221
+ */
19222
+ proto.com.lansweeper.dp.outbound.v1.DriveVolume.prototype.clearErrorMethodology = function() {
19223
+ return jspb.Message.setField(this, 11, undefined);
19224
+ };
19225
+
19226
+
19227
+ /**
19228
+ * Returns whether this field is set.
19229
+ * @return {boolean}
19230
+ */
19231
+ proto.com.lansweeper.dp.outbound.v1.DriveVolume.prototype.hasErrorMethodology = function() {
19232
+ return jspb.Message.getField(this, 11) != null;
19233
+ };
19234
+
19235
+
19236
+ /**
19237
+ * optional string file_system = 12;
19238
+ * @return {string}
19239
+ */
19240
+ proto.com.lansweeper.dp.outbound.v1.DriveVolume.prototype.getFileSystem = function() {
19241
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
19242
+ };
19243
+
19244
+
19245
+ /**
19246
+ * @param {string} value
19247
+ * @return {!proto.com.lansweeper.dp.outbound.v1.DriveVolume} returns this
19248
+ */
19249
+ proto.com.lansweeper.dp.outbound.v1.DriveVolume.prototype.setFileSystem = function(value) {
19250
+ return jspb.Message.setField(this, 12, value);
19251
+ };
19252
+
19253
+
19254
+ /**
19255
+ * Clears the field making it undefined.
19256
+ * @return {!proto.com.lansweeper.dp.outbound.v1.DriveVolume} returns this
19257
+ */
19258
+ proto.com.lansweeper.dp.outbound.v1.DriveVolume.prototype.clearFileSystem = function() {
19259
+ return jspb.Message.setField(this, 12, undefined);
19260
+ };
19261
+
19262
+
19263
+ /**
19264
+ * Returns whether this field is set.
19265
+ * @return {boolean}
19266
+ */
19267
+ proto.com.lansweeper.dp.outbound.v1.DriveVolume.prototype.hasFileSystem = function() {
19268
+ return jspb.Message.getField(this, 12) != null;
19269
+ };
19270
+
19271
+
19272
+ /**
19273
+ * optional bool auto_mount = 13;
19274
+ * @return {boolean}
19275
+ */
19276
+ proto.com.lansweeper.dp.outbound.v1.DriveVolume.prototype.getAutoMount = function() {
19277
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 13, false));
19278
+ };
19279
+
19280
+
19281
+ /**
19282
+ * @param {boolean} value
19283
+ * @return {!proto.com.lansweeper.dp.outbound.v1.DriveVolume} returns this
19284
+ */
19285
+ proto.com.lansweeper.dp.outbound.v1.DriveVolume.prototype.setAutoMount = function(value) {
19286
+ return jspb.Message.setField(this, 13, value);
19287
+ };
19288
+
19289
+
19290
+ /**
19291
+ * Clears the field making it undefined.
19292
+ * @return {!proto.com.lansweeper.dp.outbound.v1.DriveVolume} returns this
19293
+ */
19294
+ proto.com.lansweeper.dp.outbound.v1.DriveVolume.prototype.clearAutoMount = function() {
19295
+ return jspb.Message.setField(this, 13, undefined);
19296
+ };
19297
+
19298
+
19299
+ /**
19300
+ * Returns whether this field is set.
19301
+ * @return {boolean}
19302
+ */
19303
+ proto.com.lansweeper.dp.outbound.v1.DriveVolume.prototype.hasAutoMount = function() {
19304
+ return jspb.Message.getField(this, 13) != null;
19305
+ };
19306
+
19307
+
19308
+ /**
19309
+ * optional bool compressed = 14;
19310
+ * @return {boolean}
19311
+ */
19312
+ proto.com.lansweeper.dp.outbound.v1.DriveVolume.prototype.getCompressed = function() {
19313
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 14, false));
19314
+ };
19315
+
19316
+
19317
+ /**
19318
+ * @param {boolean} value
19319
+ * @return {!proto.com.lansweeper.dp.outbound.v1.DriveVolume} returns this
19320
+ */
19321
+ proto.com.lansweeper.dp.outbound.v1.DriveVolume.prototype.setCompressed = function(value) {
19322
+ return jspb.Message.setField(this, 14, value);
19323
+ };
19324
+
19325
+
19326
+ /**
19327
+ * Clears the field making it undefined.
19328
+ * @return {!proto.com.lansweeper.dp.outbound.v1.DriveVolume} returns this
19329
+ */
19330
+ proto.com.lansweeper.dp.outbound.v1.DriveVolume.prototype.clearCompressed = function() {
19331
+ return jspb.Message.setField(this, 14, undefined);
19332
+ };
19333
+
19334
+
19335
+ /**
19336
+ * Returns whether this field is set.
19337
+ * @return {boolean}
19338
+ */
19339
+ proto.com.lansweeper.dp.outbound.v1.DriveVolume.prototype.hasCompressed = function() {
19340
+ return jspb.Message.getField(this, 14) != null;
19341
+ };
19342
+
19343
+
19344
+ /**
19345
+ * optional bool dirty_bit_set = 15;
19346
+ * @return {boolean}
19347
+ */
19348
+ proto.com.lansweeper.dp.outbound.v1.DriveVolume.prototype.getDirtyBitSet = function() {
19349
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 15, false));
19350
+ };
19351
+
19352
+
19353
+ /**
19354
+ * @param {boolean} value
19355
+ * @return {!proto.com.lansweeper.dp.outbound.v1.DriveVolume} returns this
19356
+ */
19357
+ proto.com.lansweeper.dp.outbound.v1.DriveVolume.prototype.setDirtyBitSet = function(value) {
19358
+ return jspb.Message.setField(this, 15, value);
19359
+ };
19360
+
19361
+
19362
+ /**
19363
+ * Clears the field making it undefined.
19364
+ * @return {!proto.com.lansweeper.dp.outbound.v1.DriveVolume} returns this
19365
+ */
19366
+ proto.com.lansweeper.dp.outbound.v1.DriveVolume.prototype.clearDirtyBitSet = function() {
19367
+ return jspb.Message.setField(this, 15, undefined);
19368
+ };
19369
+
19370
+
19371
+ /**
19372
+ * Returns whether this field is set.
19373
+ * @return {boolean}
19374
+ */
19375
+ proto.com.lansweeper.dp.outbound.v1.DriveVolume.prototype.hasDirtyBitSet = function() {
19376
+ return jspb.Message.getField(this, 15) != null;
19377
+ };
19378
+
19379
+
19380
+ /**
19381
+ * optional bool error_cleared = 16;
19382
+ * @return {boolean}
19383
+ */
19384
+ proto.com.lansweeper.dp.outbound.v1.DriveVolume.prototype.getErrorCleared = function() {
19385
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 16, false));
19386
+ };
19387
+
19388
+
19389
+ /**
19390
+ * @param {boolean} value
19391
+ * @return {!proto.com.lansweeper.dp.outbound.v1.DriveVolume} returns this
19392
+ */
19393
+ proto.com.lansweeper.dp.outbound.v1.DriveVolume.prototype.setErrorCleared = function(value) {
19394
+ return jspb.Message.setField(this, 16, value);
19395
+ };
19396
+
19397
+
19398
+ /**
19399
+ * Clears the field making it undefined.
19400
+ * @return {!proto.com.lansweeper.dp.outbound.v1.DriveVolume} returns this
19401
+ */
19402
+ proto.com.lansweeper.dp.outbound.v1.DriveVolume.prototype.clearErrorCleared = function() {
19403
+ return jspb.Message.setField(this, 16, undefined);
19404
+ };
19405
+
19406
+
19407
+ /**
19408
+ * Returns whether this field is set.
19409
+ * @return {boolean}
19410
+ */
19411
+ proto.com.lansweeper.dp.outbound.v1.DriveVolume.prototype.hasErrorCleared = function() {
19412
+ return jspb.Message.getField(this, 16) != null;
19413
+ };
19414
+
19415
+
19416
+ /**
19417
+ * optional bool indexing_enabled = 17;
19418
+ * @return {boolean}
19419
+ */
19420
+ proto.com.lansweeper.dp.outbound.v1.DriveVolume.prototype.getIndexingEnabled = function() {
19421
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 17, false));
19422
+ };
19423
+
19424
+
19425
+ /**
19426
+ * @param {boolean} value
19427
+ * @return {!proto.com.lansweeper.dp.outbound.v1.DriveVolume} returns this
19428
+ */
19429
+ proto.com.lansweeper.dp.outbound.v1.DriveVolume.prototype.setIndexingEnabled = function(value) {
19430
+ return jspb.Message.setField(this, 17, value);
19431
+ };
19432
+
19433
+
19434
+ /**
19435
+ * Clears the field making it undefined.
19436
+ * @return {!proto.com.lansweeper.dp.outbound.v1.DriveVolume} returns this
19437
+ */
19438
+ proto.com.lansweeper.dp.outbound.v1.DriveVolume.prototype.clearIndexingEnabled = function() {
19439
+ return jspb.Message.setField(this, 17, undefined);
19440
+ };
19441
+
19442
+
19443
+ /**
19444
+ * Returns whether this field is set.
19445
+ * @return {boolean}
19446
+ */
19447
+ proto.com.lansweeper.dp.outbound.v1.DriveVolume.prototype.hasIndexingEnabled = function() {
19448
+ return jspb.Message.getField(this, 17) != null;
19449
+ };
19450
+
19451
+
19452
+ /**
19453
+ * optional bool page_file_present = 18;
19454
+ * @return {boolean}
19455
+ */
19456
+ proto.com.lansweeper.dp.outbound.v1.DriveVolume.prototype.getPageFilePresent = function() {
19457
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 18, false));
19458
+ };
19459
+
19460
+
19461
+ /**
19462
+ * @param {boolean} value
19463
+ * @return {!proto.com.lansweeper.dp.outbound.v1.DriveVolume} returns this
19464
+ */
19465
+ proto.com.lansweeper.dp.outbound.v1.DriveVolume.prototype.setPageFilePresent = function(value) {
19466
+ return jspb.Message.setField(this, 18, value);
19467
+ };
19468
+
19469
+
19470
+ /**
19471
+ * Clears the field making it undefined.
19472
+ * @return {!proto.com.lansweeper.dp.outbound.v1.DriveVolume} returns this
19473
+ */
19474
+ proto.com.lansweeper.dp.outbound.v1.DriveVolume.prototype.clearPageFilePresent = function() {
19475
+ return jspb.Message.setField(this, 18, undefined);
19476
+ };
19477
+
19478
+
19479
+ /**
19480
+ * Returns whether this field is set.
19481
+ * @return {boolean}
19482
+ */
19483
+ proto.com.lansweeper.dp.outbound.v1.DriveVolume.prototype.hasPageFilePresent = function() {
19484
+ return jspb.Message.getField(this, 18) != null;
19485
+ };
19486
+
19487
+
19488
+ /**
19489
+ * optional bool supports_disk_quotas = 19;
19490
+ * @return {boolean}
19491
+ */
19492
+ proto.com.lansweeper.dp.outbound.v1.DriveVolume.prototype.getSupportsDiskQuotas = function() {
19493
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 19, false));
19494
+ };
19495
+
19496
+
19497
+ /**
19498
+ * @param {boolean} value
19499
+ * @return {!proto.com.lansweeper.dp.outbound.v1.DriveVolume} returns this
19500
+ */
19501
+ proto.com.lansweeper.dp.outbound.v1.DriveVolume.prototype.setSupportsDiskQuotas = function(value) {
19502
+ return jspb.Message.setField(this, 19, value);
19503
+ };
19504
+
19505
+
19506
+ /**
19507
+ * Clears the field making it undefined.
19508
+ * @return {!proto.com.lansweeper.dp.outbound.v1.DriveVolume} returns this
19509
+ */
19510
+ proto.com.lansweeper.dp.outbound.v1.DriveVolume.prototype.clearSupportsDiskQuotas = function() {
19511
+ return jspb.Message.setField(this, 19, undefined);
19512
+ };
19513
+
19514
+
19515
+ /**
19516
+ * Returns whether this field is set.
19517
+ * @return {boolean}
19518
+ */
19519
+ proto.com.lansweeper.dp.outbound.v1.DriveVolume.prototype.hasSupportsDiskQuotas = function() {
19520
+ return jspb.Message.getField(this, 19) != null;
19521
+ };
19522
+
19523
+
19524
+ /**
19525
+ * optional bool supports_file_based_compression = 20;
19526
+ * @return {boolean}
19527
+ */
19528
+ proto.com.lansweeper.dp.outbound.v1.DriveVolume.prototype.getSupportsFileBasedCompression = function() {
19529
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 20, false));
19530
+ };
19531
+
19532
+
19533
+ /**
19534
+ * @param {boolean} value
19535
+ * @return {!proto.com.lansweeper.dp.outbound.v1.DriveVolume} returns this
19536
+ */
19537
+ proto.com.lansweeper.dp.outbound.v1.DriveVolume.prototype.setSupportsFileBasedCompression = function(value) {
19538
+ return jspb.Message.setField(this, 20, value);
19539
+ };
19540
+
19541
+
19542
+ /**
19543
+ * Clears the field making it undefined.
19544
+ * @return {!proto.com.lansweeper.dp.outbound.v1.DriveVolume} returns this
19545
+ */
19546
+ proto.com.lansweeper.dp.outbound.v1.DriveVolume.prototype.clearSupportsFileBasedCompression = function() {
19547
+ return jspb.Message.setField(this, 20, undefined);
19548
+ };
19549
+
19550
+
19551
+ /**
19552
+ * Returns whether this field is set.
19553
+ * @return {boolean}
19554
+ */
19555
+ proto.com.lansweeper.dp.outbound.v1.DriveVolume.prototype.hasSupportsFileBasedCompression = function() {
19556
+ return jspb.Message.getField(this, 20) != null;
19557
+ };
19558
+
19559
+
19560
+ /**
19561
+ * optional string mounted = 21;
19562
+ * @return {string}
19563
+ */
19564
+ proto.com.lansweeper.dp.outbound.v1.DriveVolume.prototype.getMounted = function() {
19565
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 21, ""));
19566
+ };
19567
+
19568
+
19569
+ /**
19570
+ * @param {string} value
19571
+ * @return {!proto.com.lansweeper.dp.outbound.v1.DriveVolume} returns this
19572
+ */
19573
+ proto.com.lansweeper.dp.outbound.v1.DriveVolume.prototype.setMounted = function(value) {
19574
+ return jspb.Message.setField(this, 21, value);
19575
+ };
19576
+
19577
+
19578
+ /**
19579
+ * Clears the field making it undefined.
19580
+ * @return {!proto.com.lansweeper.dp.outbound.v1.DriveVolume} returns this
19581
+ */
19582
+ proto.com.lansweeper.dp.outbound.v1.DriveVolume.prototype.clearMounted = function() {
19583
+ return jspb.Message.setField(this, 21, undefined);
19584
+ };
19585
+
19586
+
19587
+ /**
19588
+ * Returns whether this field is set.
19589
+ * @return {boolean}
19590
+ */
19591
+ proto.com.lansweeper.dp.outbound.v1.DriveVolume.prototype.hasMounted = function() {
19592
+ return jspb.Message.getField(this, 21) != null;
19593
+ };
19594
+
19595
+
19596
+ /**
19597
+ * optional string mount_point = 22;
19598
+ * @return {string}
19599
+ */
19600
+ proto.com.lansweeper.dp.outbound.v1.DriveVolume.prototype.getMountPoint = function() {
19601
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 22, ""));
19602
+ };
19603
+
19604
+
19605
+ /**
19606
+ * @param {string} value
19607
+ * @return {!proto.com.lansweeper.dp.outbound.v1.DriveVolume} returns this
19608
+ */
19609
+ proto.com.lansweeper.dp.outbound.v1.DriveVolume.prototype.setMountPoint = function(value) {
19610
+ return jspb.Message.setField(this, 22, value);
19611
+ };
19612
+
19613
+
19614
+ /**
19615
+ * Clears the field making it undefined.
19616
+ * @return {!proto.com.lansweeper.dp.outbound.v1.DriveVolume} returns this
19617
+ */
19618
+ proto.com.lansweeper.dp.outbound.v1.DriveVolume.prototype.clearMountPoint = function() {
19619
+ return jspb.Message.setField(this, 22, undefined);
19620
+ };
19621
+
19622
+
19623
+ /**
19624
+ * Returns whether this field is set.
19625
+ * @return {boolean}
19626
+ */
19627
+ proto.com.lansweeper.dp.outbound.v1.DriveVolume.prototype.hasMountPoint = function() {
19628
+ return jspb.Message.getField(this, 22) != null;
19629
+ };
19630
+
19631
+
19632
+
19633
+ /**
19634
+ * Oneof group definitions for this message. Each group defines the field
19635
+ * numbers belonging to that group. When of these fields' value is set, all
19636
+ * other fields in the group are cleared. During deserialization, if multiple
19637
+ * fields are encountered for a group, only the last value seen will be kept.
19638
+ * @private {!Array<!Array<number>>}
19639
+ * @const
19640
+ */
19641
+ proto.com.lansweeper.dp.outbound.v1.NetworkVolume.oneofGroups_ = [[1,2]];
19642
+
19643
+ /**
19644
+ * @enum {number}
19645
+ */
19646
+ proto.com.lansweeper.dp.outbound.v1.NetworkVolume.DriverCase = {
19647
+ DRIVER_NOT_SET: 0,
19648
+ WIN_MAPPED_DRIVE: 1,
19649
+ MAC_VOLUME: 2
19650
+ };
19651
+
19652
+ /**
19653
+ * @return {proto.com.lansweeper.dp.outbound.v1.NetworkVolume.DriverCase}
19654
+ */
19655
+ proto.com.lansweeper.dp.outbound.v1.NetworkVolume.prototype.getDriverCase = function() {
19656
+ return /** @type {proto.com.lansweeper.dp.outbound.v1.NetworkVolume.DriverCase} */(jspb.Message.computeOneofCase(this, proto.com.lansweeper.dp.outbound.v1.NetworkVolume.oneofGroups_[0]));
19657
+ };
19658
+
19659
+
19660
+
19661
+ if (jspb.Message.GENERATE_TO_OBJECT) {
19662
+ /**
19663
+ * Creates an object representation of this proto.
19664
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
19665
+ * Optional fields that are not set will be set to undefined.
19666
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
19667
+ * For the list of reserved names please see:
19668
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
19669
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
19670
+ * JSPB instance for transitional soy proto support:
19671
+ * http://goto/soy-param-migration
19672
+ * @return {!Object}
19673
+ */
19674
+ proto.com.lansweeper.dp.outbound.v1.NetworkVolume.prototype.toObject = function(opt_includeInstance) {
19675
+ return proto.com.lansweeper.dp.outbound.v1.NetworkVolume.toObject(opt_includeInstance, this);
19676
+ };
19677
+
19678
+
19679
+ /**
19680
+ * Static version of the {@see toObject} method.
19681
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
19682
+ * the JSPB instance for transitional soy proto support:
19683
+ * http://goto/soy-param-migration
19684
+ * @param {!proto.com.lansweeper.dp.outbound.v1.NetworkVolume} msg The msg instance to transform.
19685
+ * @return {!Object}
19686
+ * @suppress {unusedLocalVariables} f is only used for nested messages
19687
+ */
19688
+ proto.com.lansweeper.dp.outbound.v1.NetworkVolume.toObject = function(includeInstance, msg) {
19689
+ var f, obj = {
19690
+ winMappedDrive: (f = msg.getWinMappedDrive()) && proto.com.lansweeper.dp.outbound.v1.WindowsMappedDrive.toObject(includeInstance, f),
19691
+ macVolume: (f = msg.getMacVolume()) && proto.com.lansweeper.dp.outbound.v1.MacNetworkVolume.toObject(includeInstance, f),
19692
+ name: jspb.Message.getFieldWithDefault(msg, 100, "")
19693
+ };
19694
+
19695
+ if (includeInstance) {
19696
+ obj.$jspbMessageInstance = msg;
19697
+ }
19698
+ return obj;
19699
+ };
19700
+ }
19701
+
19702
+
19703
+ /**
19704
+ * Deserializes binary data (in protobuf wire format).
19705
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
19706
+ * @return {!proto.com.lansweeper.dp.outbound.v1.NetworkVolume}
19707
+ */
19708
+ proto.com.lansweeper.dp.outbound.v1.NetworkVolume.deserializeBinary = function(bytes) {
19709
+ var reader = new jspb.BinaryReader(bytes);
19710
+ var msg = new proto.com.lansweeper.dp.outbound.v1.NetworkVolume;
19711
+ return proto.com.lansweeper.dp.outbound.v1.NetworkVolume.deserializeBinaryFromReader(msg, reader);
19712
+ };
19713
+
19714
+
19715
+ /**
19716
+ * Deserializes binary data (in protobuf wire format) from the
19717
+ * given reader into the given message object.
19718
+ * @param {!proto.com.lansweeper.dp.outbound.v1.NetworkVolume} msg The message object to deserialize into.
19719
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
19720
+ * @return {!proto.com.lansweeper.dp.outbound.v1.NetworkVolume}
19721
+ */
19722
+ proto.com.lansweeper.dp.outbound.v1.NetworkVolume.deserializeBinaryFromReader = function(msg, reader) {
19723
+ while (reader.nextField()) {
19724
+ if (reader.isEndGroup()) {
19725
+ break;
19726
+ }
19727
+ var field = reader.getFieldNumber();
19728
+ switch (field) {
19729
+ case 1:
19730
+ var value = new proto.com.lansweeper.dp.outbound.v1.WindowsMappedDrive;
19731
+ reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.WindowsMappedDrive.deserializeBinaryFromReader);
19732
+ msg.setWinMappedDrive(value);
19733
+ break;
19734
+ case 2:
19735
+ var value = new proto.com.lansweeper.dp.outbound.v1.MacNetworkVolume;
19736
+ reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.MacNetworkVolume.deserializeBinaryFromReader);
19737
+ msg.setMacVolume(value);
19738
+ break;
19739
+ case 100:
19740
+ var value = /** @type {string} */ (reader.readString());
19741
+ msg.setName(value);
19742
+ break;
19743
+ default:
19744
+ reader.skipField();
19745
+ break;
19746
+ }
19747
+ }
19748
+ return msg;
19749
+ };
19750
+
19751
+
19752
+ /**
19753
+ * Serializes the message to binary data (in protobuf wire format).
19754
+ * @return {!Uint8Array}
19755
+ */
19756
+ proto.com.lansweeper.dp.outbound.v1.NetworkVolume.prototype.serializeBinary = function() {
19757
+ var writer = new jspb.BinaryWriter();
19758
+ proto.com.lansweeper.dp.outbound.v1.NetworkVolume.serializeBinaryToWriter(this, writer);
19759
+ return writer.getResultBuffer();
19760
+ };
19761
+
19762
+
19763
+ /**
19764
+ * Serializes the given message to binary data (in protobuf wire
19765
+ * format), writing to the given BinaryWriter.
19766
+ * @param {!proto.com.lansweeper.dp.outbound.v1.NetworkVolume} message
19767
+ * @param {!jspb.BinaryWriter} writer
19768
+ * @suppress {unusedLocalVariables} f is only used for nested messages
19769
+ */
19770
+ proto.com.lansweeper.dp.outbound.v1.NetworkVolume.serializeBinaryToWriter = function(message, writer) {
19771
+ var f = undefined;
19772
+ f = message.getWinMappedDrive();
19773
+ if (f != null) {
19774
+ writer.writeMessage(
19775
+ 1,
19776
+ f,
19777
+ proto.com.lansweeper.dp.outbound.v1.WindowsMappedDrive.serializeBinaryToWriter
19778
+ );
19779
+ }
19780
+ f = message.getMacVolume();
19781
+ if (f != null) {
19782
+ writer.writeMessage(
19783
+ 2,
19784
+ f,
19785
+ proto.com.lansweeper.dp.outbound.v1.MacNetworkVolume.serializeBinaryToWriter
19786
+ );
19787
+ }
19788
+ f = /** @type {string} */ (jspb.Message.getField(message, 100));
19789
+ if (f != null) {
19790
+ writer.writeString(
19791
+ 100,
19792
+ f
19793
+ );
19794
+ }
19795
+ };
19796
+
19797
+
19798
+ /**
19799
+ * optional WindowsMappedDrive win_mapped_drive = 1;
19800
+ * @return {?proto.com.lansweeper.dp.outbound.v1.WindowsMappedDrive}
19801
+ */
19802
+ proto.com.lansweeper.dp.outbound.v1.NetworkVolume.prototype.getWinMappedDrive = function() {
19803
+ return /** @type{?proto.com.lansweeper.dp.outbound.v1.WindowsMappedDrive} */ (
19804
+ jspb.Message.getWrapperField(this, proto.com.lansweeper.dp.outbound.v1.WindowsMappedDrive, 1));
19805
+ };
19806
+
19807
+
19808
+ /**
19809
+ * @param {?proto.com.lansweeper.dp.outbound.v1.WindowsMappedDrive|undefined} value
19810
+ * @return {!proto.com.lansweeper.dp.outbound.v1.NetworkVolume} returns this
19811
+ */
19812
+ proto.com.lansweeper.dp.outbound.v1.NetworkVolume.prototype.setWinMappedDrive = function(value) {
19813
+ return jspb.Message.setOneofWrapperField(this, 1, proto.com.lansweeper.dp.outbound.v1.NetworkVolume.oneofGroups_[0], value);
19814
+ };
19815
+
19816
+
19817
+ /**
19818
+ * Clears the message field making it undefined.
19819
+ * @return {!proto.com.lansweeper.dp.outbound.v1.NetworkVolume} returns this
19820
+ */
19821
+ proto.com.lansweeper.dp.outbound.v1.NetworkVolume.prototype.clearWinMappedDrive = function() {
19822
+ return this.setWinMappedDrive(undefined);
19823
+ };
19824
+
19825
+
19826
+ /**
19827
+ * Returns whether this field is set.
19828
+ * @return {boolean}
19829
+ */
19830
+ proto.com.lansweeper.dp.outbound.v1.NetworkVolume.prototype.hasWinMappedDrive = function() {
19831
+ return jspb.Message.getField(this, 1) != null;
19832
+ };
19833
+
19834
+
19835
+ /**
19836
+ * optional MacNetworkVolume mac_volume = 2;
19837
+ * @return {?proto.com.lansweeper.dp.outbound.v1.MacNetworkVolume}
19838
+ */
19839
+ proto.com.lansweeper.dp.outbound.v1.NetworkVolume.prototype.getMacVolume = function() {
19840
+ return /** @type{?proto.com.lansweeper.dp.outbound.v1.MacNetworkVolume} */ (
19841
+ jspb.Message.getWrapperField(this, proto.com.lansweeper.dp.outbound.v1.MacNetworkVolume, 2));
19842
+ };
19843
+
19844
+
19845
+ /**
19846
+ * @param {?proto.com.lansweeper.dp.outbound.v1.MacNetworkVolume|undefined} value
19847
+ * @return {!proto.com.lansweeper.dp.outbound.v1.NetworkVolume} returns this
19848
+ */
19849
+ proto.com.lansweeper.dp.outbound.v1.NetworkVolume.prototype.setMacVolume = function(value) {
19850
+ return jspb.Message.setOneofWrapperField(this, 2, proto.com.lansweeper.dp.outbound.v1.NetworkVolume.oneofGroups_[0], value);
19851
+ };
19852
+
19853
+
19854
+ /**
19855
+ * Clears the message field making it undefined.
19856
+ * @return {!proto.com.lansweeper.dp.outbound.v1.NetworkVolume} returns this
19857
+ */
19858
+ proto.com.lansweeper.dp.outbound.v1.NetworkVolume.prototype.clearMacVolume = function() {
19859
+ return this.setMacVolume(undefined);
19860
+ };
19861
+
19862
+
19863
+ /**
19864
+ * Returns whether this field is set.
19865
+ * @return {boolean}
19866
+ */
19867
+ proto.com.lansweeper.dp.outbound.v1.NetworkVolume.prototype.hasMacVolume = function() {
19868
+ return jspb.Message.getField(this, 2) != null;
19869
+ };
19870
+
19871
+
19872
+ /**
19873
+ * optional string name = 100;
19874
+ * @return {string}
19875
+ */
19876
+ proto.com.lansweeper.dp.outbound.v1.NetworkVolume.prototype.getName = function() {
19877
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 100, ""));
19878
+ };
19879
+
19880
+
19881
+ /**
19882
+ * @param {string} value
19883
+ * @return {!proto.com.lansweeper.dp.outbound.v1.NetworkVolume} returns this
19884
+ */
19885
+ proto.com.lansweeper.dp.outbound.v1.NetworkVolume.prototype.setName = function(value) {
19886
+ return jspb.Message.setField(this, 100, value);
19887
+ };
19888
+
19889
+
19890
+ /**
19891
+ * Clears the field making it undefined.
19892
+ * @return {!proto.com.lansweeper.dp.outbound.v1.NetworkVolume} returns this
19893
+ */
19894
+ proto.com.lansweeper.dp.outbound.v1.NetworkVolume.prototype.clearName = function() {
19895
+ return jspb.Message.setField(this, 100, undefined);
19896
+ };
19897
+
19898
+
19899
+ /**
19900
+ * Returns whether this field is set.
19901
+ * @return {boolean}
19902
+ */
19903
+ proto.com.lansweeper.dp.outbound.v1.NetworkVolume.prototype.hasName = function() {
19904
+ return jspb.Message.getField(this, 100) != null;
19905
+ };
19906
+
19907
+
19908
+
19909
+
19910
+
19911
+ if (jspb.Message.GENERATE_TO_OBJECT) {
19912
+ /**
19913
+ * Creates an object representation of this proto.
19914
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
19915
+ * Optional fields that are not set will be set to undefined.
19916
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
19917
+ * For the list of reserved names please see:
19918
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
19919
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
19920
+ * JSPB instance for transitional soy proto support:
19921
+ * http://goto/soy-param-migration
19922
+ * @return {!Object}
19923
+ */
19924
+ proto.com.lansweeper.dp.outbound.v1.WindowsMappedDrive.prototype.toObject = function(opt_includeInstance) {
19925
+ return proto.com.lansweeper.dp.outbound.v1.WindowsMappedDrive.toObject(opt_includeInstance, this);
19926
+ };
19927
+
19928
+
19929
+ /**
19930
+ * Static version of the {@see toObject} method.
19931
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
19932
+ * the JSPB instance for transitional soy proto support:
19933
+ * http://goto/soy-param-migration
19934
+ * @param {!proto.com.lansweeper.dp.outbound.v1.WindowsMappedDrive} msg The msg instance to transform.
19935
+ * @return {!Object}
19936
+ * @suppress {unusedLocalVariables} f is only used for nested messages
19937
+ */
19938
+ proto.com.lansweeper.dp.outbound.v1.WindowsMappedDrive.toObject = function(includeInstance, msg) {
19939
+ var f, obj = {
19940
+ driveLetter: jspb.Message.getFieldWithDefault(msg, 1, ""),
19941
+ userName: jspb.Message.getFieldWithDefault(msg, 2, ""),
19942
+ userDomain: jspb.Message.getFieldWithDefault(msg, 3, ""),
19943
+ remotePath: jspb.Message.getFieldWithDefault(msg, 4, "")
19944
+ };
19945
+
19946
+ if (includeInstance) {
19947
+ obj.$jspbMessageInstance = msg;
19948
+ }
19949
+ return obj;
19950
+ };
19951
+ }
19952
+
19953
+
19954
+ /**
19955
+ * Deserializes binary data (in protobuf wire format).
19956
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
19957
+ * @return {!proto.com.lansweeper.dp.outbound.v1.WindowsMappedDrive}
19958
+ */
19959
+ proto.com.lansweeper.dp.outbound.v1.WindowsMappedDrive.deserializeBinary = function(bytes) {
19960
+ var reader = new jspb.BinaryReader(bytes);
19961
+ var msg = new proto.com.lansweeper.dp.outbound.v1.WindowsMappedDrive;
19962
+ return proto.com.lansweeper.dp.outbound.v1.WindowsMappedDrive.deserializeBinaryFromReader(msg, reader);
19963
+ };
19964
+
19965
+
19966
+ /**
19967
+ * Deserializes binary data (in protobuf wire format) from the
19968
+ * given reader into the given message object.
19969
+ * @param {!proto.com.lansweeper.dp.outbound.v1.WindowsMappedDrive} msg The message object to deserialize into.
19970
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
19971
+ * @return {!proto.com.lansweeper.dp.outbound.v1.WindowsMappedDrive}
19972
+ */
19973
+ proto.com.lansweeper.dp.outbound.v1.WindowsMappedDrive.deserializeBinaryFromReader = function(msg, reader) {
19974
+ while (reader.nextField()) {
19975
+ if (reader.isEndGroup()) {
19976
+ break;
19977
+ }
19978
+ var field = reader.getFieldNumber();
19979
+ switch (field) {
19980
+ case 1:
19981
+ var value = /** @type {string} */ (reader.readString());
19982
+ msg.setDriveLetter(value);
19983
+ break;
19984
+ case 2:
19985
+ var value = /** @type {string} */ (reader.readString());
19986
+ msg.setUserName(value);
19987
+ break;
19988
+ case 3:
19989
+ var value = /** @type {string} */ (reader.readString());
19990
+ msg.setUserDomain(value);
19991
+ break;
19992
+ case 4:
19993
+ var value = /** @type {string} */ (reader.readString());
19994
+ msg.setRemotePath(value);
19995
+ break;
19996
+ default:
19997
+ reader.skipField();
19998
+ break;
19999
+ }
20000
+ }
20001
+ return msg;
20002
+ };
20003
+
20004
+
20005
+ /**
20006
+ * Serializes the message to binary data (in protobuf wire format).
20007
+ * @return {!Uint8Array}
20008
+ */
20009
+ proto.com.lansweeper.dp.outbound.v1.WindowsMappedDrive.prototype.serializeBinary = function() {
20010
+ var writer = new jspb.BinaryWriter();
20011
+ proto.com.lansweeper.dp.outbound.v1.WindowsMappedDrive.serializeBinaryToWriter(this, writer);
20012
+ return writer.getResultBuffer();
20013
+ };
20014
+
20015
+
20016
+ /**
20017
+ * Serializes the given message to binary data (in protobuf wire
20018
+ * format), writing to the given BinaryWriter.
20019
+ * @param {!proto.com.lansweeper.dp.outbound.v1.WindowsMappedDrive} message
20020
+ * @param {!jspb.BinaryWriter} writer
20021
+ * @suppress {unusedLocalVariables} f is only used for nested messages
20022
+ */
20023
+ proto.com.lansweeper.dp.outbound.v1.WindowsMappedDrive.serializeBinaryToWriter = function(message, writer) {
20024
+ var f = undefined;
20025
+ f = message.getDriveLetter();
20026
+ if (f.length > 0) {
20027
+ writer.writeString(
20028
+ 1,
20029
+ f
20030
+ );
20031
+ }
20032
+ f = /** @type {string} */ (jspb.Message.getField(message, 2));
20033
+ if (f != null) {
20034
+ writer.writeString(
20035
+ 2,
20036
+ f
20037
+ );
20038
+ }
20039
+ f = /** @type {string} */ (jspb.Message.getField(message, 3));
20040
+ if (f != null) {
20041
+ writer.writeString(
20042
+ 3,
20043
+ f
20044
+ );
20045
+ }
20046
+ f = /** @type {string} */ (jspb.Message.getField(message, 4));
20047
+ if (f != null) {
20048
+ writer.writeString(
20049
+ 4,
20050
+ f
20051
+ );
20052
+ }
20053
+ };
20054
+
20055
+
20056
+ /**
20057
+ * optional string drive_letter = 1;
20058
+ * @return {string}
20059
+ */
20060
+ proto.com.lansweeper.dp.outbound.v1.WindowsMappedDrive.prototype.getDriveLetter = function() {
20061
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
20062
+ };
20063
+
20064
+
20065
+ /**
20066
+ * @param {string} value
20067
+ * @return {!proto.com.lansweeper.dp.outbound.v1.WindowsMappedDrive} returns this
20068
+ */
20069
+ proto.com.lansweeper.dp.outbound.v1.WindowsMappedDrive.prototype.setDriveLetter = function(value) {
20070
+ return jspb.Message.setProto3StringField(this, 1, value);
20071
+ };
20072
+
20073
+
20074
+ /**
20075
+ * optional string user_name = 2;
20076
+ * @return {string}
20077
+ */
20078
+ proto.com.lansweeper.dp.outbound.v1.WindowsMappedDrive.prototype.getUserName = function() {
20079
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
20080
+ };
20081
+
20082
+
20083
+ /**
20084
+ * @param {string} value
20085
+ * @return {!proto.com.lansweeper.dp.outbound.v1.WindowsMappedDrive} returns this
20086
+ */
20087
+ proto.com.lansweeper.dp.outbound.v1.WindowsMappedDrive.prototype.setUserName = function(value) {
20088
+ return jspb.Message.setField(this, 2, value);
20089
+ };
20090
+
20091
+
20092
+ /**
20093
+ * Clears the field making it undefined.
20094
+ * @return {!proto.com.lansweeper.dp.outbound.v1.WindowsMappedDrive} returns this
20095
+ */
20096
+ proto.com.lansweeper.dp.outbound.v1.WindowsMappedDrive.prototype.clearUserName = function() {
20097
+ return jspb.Message.setField(this, 2, undefined);
20098
+ };
20099
+
20100
+
20101
+ /**
20102
+ * Returns whether this field is set.
20103
+ * @return {boolean}
20104
+ */
20105
+ proto.com.lansweeper.dp.outbound.v1.WindowsMappedDrive.prototype.hasUserName = function() {
20106
+ return jspb.Message.getField(this, 2) != null;
20107
+ };
20108
+
20109
+
20110
+ /**
20111
+ * optional string user_domain = 3;
20112
+ * @return {string}
20113
+ */
20114
+ proto.com.lansweeper.dp.outbound.v1.WindowsMappedDrive.prototype.getUserDomain = function() {
20115
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
20116
+ };
20117
+
20118
+
20119
+ /**
20120
+ * @param {string} value
20121
+ * @return {!proto.com.lansweeper.dp.outbound.v1.WindowsMappedDrive} returns this
20122
+ */
20123
+ proto.com.lansweeper.dp.outbound.v1.WindowsMappedDrive.prototype.setUserDomain = function(value) {
20124
+ return jspb.Message.setField(this, 3, value);
20125
+ };
20126
+
20127
+
20128
+ /**
20129
+ * Clears the field making it undefined.
20130
+ * @return {!proto.com.lansweeper.dp.outbound.v1.WindowsMappedDrive} returns this
20131
+ */
20132
+ proto.com.lansweeper.dp.outbound.v1.WindowsMappedDrive.prototype.clearUserDomain = function() {
20133
+ return jspb.Message.setField(this, 3, undefined);
20134
+ };
20135
+
20136
+
20137
+ /**
20138
+ * Returns whether this field is set.
20139
+ * @return {boolean}
20140
+ */
20141
+ proto.com.lansweeper.dp.outbound.v1.WindowsMappedDrive.prototype.hasUserDomain = function() {
20142
+ return jspb.Message.getField(this, 3) != null;
20143
+ };
20144
+
20145
+
20146
+ /**
20147
+ * optional string remote_path = 4;
20148
+ * @return {string}
20149
+ */
20150
+ proto.com.lansweeper.dp.outbound.v1.WindowsMappedDrive.prototype.getRemotePath = function() {
20151
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
20152
+ };
20153
+
20154
+
20155
+ /**
20156
+ * @param {string} value
20157
+ * @return {!proto.com.lansweeper.dp.outbound.v1.WindowsMappedDrive} returns this
20158
+ */
20159
+ proto.com.lansweeper.dp.outbound.v1.WindowsMappedDrive.prototype.setRemotePath = function(value) {
20160
+ return jspb.Message.setField(this, 4, value);
20161
+ };
20162
+
20163
+
20164
+ /**
20165
+ * Clears the field making it undefined.
20166
+ * @return {!proto.com.lansweeper.dp.outbound.v1.WindowsMappedDrive} returns this
20167
+ */
20168
+ proto.com.lansweeper.dp.outbound.v1.WindowsMappedDrive.prototype.clearRemotePath = function() {
20169
+ return jspb.Message.setField(this, 4, undefined);
20170
+ };
20171
+
20172
+
20173
+ /**
20174
+ * Returns whether this field is set.
20175
+ * @return {boolean}
20176
+ */
20177
+ proto.com.lansweeper.dp.outbound.v1.WindowsMappedDrive.prototype.hasRemotePath = function() {
20178
+ return jspb.Message.getField(this, 4) != null;
20179
+ };
20180
+
20181
+
20182
+
20183
+
20184
+
20185
+ if (jspb.Message.GENERATE_TO_OBJECT) {
20186
+ /**
20187
+ * Creates an object representation of this proto.
20188
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
20189
+ * Optional fields that are not set will be set to undefined.
20190
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
20191
+ * For the list of reserved names please see:
20192
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
20193
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
20194
+ * JSPB instance for transitional soy proto support:
20195
+ * http://goto/soy-param-migration
20196
+ * @return {!Object}
20197
+ */
20198
+ proto.com.lansweeper.dp.outbound.v1.MacNetworkVolume.prototype.toObject = function(opt_includeInstance) {
20199
+ return proto.com.lansweeper.dp.outbound.v1.MacNetworkVolume.toObject(opt_includeInstance, this);
20200
+ };
20201
+
20202
+
20203
+ /**
20204
+ * Static version of the {@see toObject} method.
20205
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
20206
+ * the JSPB instance for transitional soy proto support:
20207
+ * http://goto/soy-param-migration
20208
+ * @param {!proto.com.lansweeper.dp.outbound.v1.MacNetworkVolume} msg The msg instance to transform.
20209
+ * @return {!Object}
20210
+ * @suppress {unusedLocalVariables} f is only used for nested messages
20211
+ */
20212
+ proto.com.lansweeper.dp.outbound.v1.MacNetworkVolume.toObject = function(includeInstance, msg) {
20213
+ var f, obj = {
20214
+ name: jspb.Message.getFieldWithDefault(msg, 1, ""),
20215
+ autoMounted: jspb.Message.getFieldWithDefault(msg, 2, ""),
20216
+ fsmtNonName: jspb.Message.getFieldWithDefault(msg, 3, ""),
20217
+ fsTypeName: jspb.Message.getFieldWithDefault(msg, 4, ""),
20218
+ mntFromName: jspb.Message.getFieldWithDefault(msg, 5, "")
20219
+ };
20220
+
20221
+ if (includeInstance) {
20222
+ obj.$jspbMessageInstance = msg;
20223
+ }
20224
+ return obj;
20225
+ };
20226
+ }
20227
+
20228
+
20229
+ /**
20230
+ * Deserializes binary data (in protobuf wire format).
20231
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
20232
+ * @return {!proto.com.lansweeper.dp.outbound.v1.MacNetworkVolume}
20233
+ */
20234
+ proto.com.lansweeper.dp.outbound.v1.MacNetworkVolume.deserializeBinary = function(bytes) {
20235
+ var reader = new jspb.BinaryReader(bytes);
20236
+ var msg = new proto.com.lansweeper.dp.outbound.v1.MacNetworkVolume;
20237
+ return proto.com.lansweeper.dp.outbound.v1.MacNetworkVolume.deserializeBinaryFromReader(msg, reader);
20238
+ };
20239
+
20240
+
20241
+ /**
20242
+ * Deserializes binary data (in protobuf wire format) from the
20243
+ * given reader into the given message object.
20244
+ * @param {!proto.com.lansweeper.dp.outbound.v1.MacNetworkVolume} msg The message object to deserialize into.
20245
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
20246
+ * @return {!proto.com.lansweeper.dp.outbound.v1.MacNetworkVolume}
20247
+ */
20248
+ proto.com.lansweeper.dp.outbound.v1.MacNetworkVolume.deserializeBinaryFromReader = function(msg, reader) {
20249
+ while (reader.nextField()) {
20250
+ if (reader.isEndGroup()) {
20251
+ break;
20252
+ }
20253
+ var field = reader.getFieldNumber();
20254
+ switch (field) {
20255
+ case 1:
20256
+ var value = /** @type {string} */ (reader.readString());
20257
+ msg.setName(value);
20258
+ break;
20259
+ case 2:
20260
+ var value = /** @type {string} */ (reader.readString());
20261
+ msg.setAutoMounted(value);
20262
+ break;
20263
+ case 3:
20264
+ var value = /** @type {string} */ (reader.readString());
20265
+ msg.setFsmtNonName(value);
20266
+ break;
20267
+ case 4:
20268
+ var value = /** @type {string} */ (reader.readString());
20269
+ msg.setFsTypeName(value);
20270
+ break;
20271
+ case 5:
20272
+ var value = /** @type {string} */ (reader.readString());
20273
+ msg.setMntFromName(value);
20274
+ break;
20275
+ default:
20276
+ reader.skipField();
20277
+ break;
20278
+ }
20279
+ }
20280
+ return msg;
20281
+ };
20282
+
20283
+
20284
+ /**
20285
+ * Serializes the message to binary data (in protobuf wire format).
20286
+ * @return {!Uint8Array}
20287
+ */
20288
+ proto.com.lansweeper.dp.outbound.v1.MacNetworkVolume.prototype.serializeBinary = function() {
20289
+ var writer = new jspb.BinaryWriter();
20290
+ proto.com.lansweeper.dp.outbound.v1.MacNetworkVolume.serializeBinaryToWriter(this, writer);
20291
+ return writer.getResultBuffer();
20292
+ };
20293
+
20294
+
20295
+ /**
20296
+ * Serializes the given message to binary data (in protobuf wire
20297
+ * format), writing to the given BinaryWriter.
20298
+ * @param {!proto.com.lansweeper.dp.outbound.v1.MacNetworkVolume} message
20299
+ * @param {!jspb.BinaryWriter} writer
20300
+ * @suppress {unusedLocalVariables} f is only used for nested messages
20301
+ */
20302
+ proto.com.lansweeper.dp.outbound.v1.MacNetworkVolume.serializeBinaryToWriter = function(message, writer) {
20303
+ var f = undefined;
20304
+ f = /** @type {string} */ (jspb.Message.getField(message, 1));
20305
+ if (f != null) {
20306
+ writer.writeString(
20307
+ 1,
20308
+ f
20309
+ );
20310
+ }
20311
+ f = /** @type {string} */ (jspb.Message.getField(message, 2));
20312
+ if (f != null) {
20313
+ writer.writeString(
20314
+ 2,
20315
+ f
20316
+ );
20317
+ }
20318
+ f = /** @type {string} */ (jspb.Message.getField(message, 3));
20319
+ if (f != null) {
20320
+ writer.writeString(
20321
+ 3,
20322
+ f
20323
+ );
20324
+ }
20325
+ f = /** @type {string} */ (jspb.Message.getField(message, 4));
20326
+ if (f != null) {
20327
+ writer.writeString(
20328
+ 4,
20329
+ f
20330
+ );
20331
+ }
20332
+ f = /** @type {string} */ (jspb.Message.getField(message, 5));
20333
+ if (f != null) {
20334
+ writer.writeString(
20335
+ 5,
20336
+ f
20337
+ );
20338
+ }
20339
+ };
20340
+
20341
+
20342
+ /**
20343
+ * optional string name = 1;
20344
+ * @return {string}
20345
+ */
20346
+ proto.com.lansweeper.dp.outbound.v1.MacNetworkVolume.prototype.getName = function() {
20347
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
20348
+ };
20349
+
20350
+
20351
+ /**
20352
+ * @param {string} value
20353
+ * @return {!proto.com.lansweeper.dp.outbound.v1.MacNetworkVolume} returns this
20354
+ */
20355
+ proto.com.lansweeper.dp.outbound.v1.MacNetworkVolume.prototype.setName = function(value) {
20356
+ return jspb.Message.setField(this, 1, value);
20357
+ };
20358
+
20359
+
20360
+ /**
20361
+ * Clears the field making it undefined.
20362
+ * @return {!proto.com.lansweeper.dp.outbound.v1.MacNetworkVolume} returns this
20363
+ */
20364
+ proto.com.lansweeper.dp.outbound.v1.MacNetworkVolume.prototype.clearName = function() {
20365
+ return jspb.Message.setField(this, 1, undefined);
20366
+ };
20367
+
20368
+
20369
+ /**
20370
+ * Returns whether this field is set.
20371
+ * @return {boolean}
20372
+ */
20373
+ proto.com.lansweeper.dp.outbound.v1.MacNetworkVolume.prototype.hasName = function() {
20374
+ return jspb.Message.getField(this, 1) != null;
20375
+ };
20376
+
20377
+
20378
+ /**
20379
+ * optional string auto_mounted = 2;
20380
+ * @return {string}
20381
+ */
20382
+ proto.com.lansweeper.dp.outbound.v1.MacNetworkVolume.prototype.getAutoMounted = function() {
20383
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
20384
+ };
20385
+
20386
+
20387
+ /**
20388
+ * @param {string} value
20389
+ * @return {!proto.com.lansweeper.dp.outbound.v1.MacNetworkVolume} returns this
20390
+ */
20391
+ proto.com.lansweeper.dp.outbound.v1.MacNetworkVolume.prototype.setAutoMounted = function(value) {
20392
+ return jspb.Message.setField(this, 2, value);
20393
+ };
20394
+
20395
+
20396
+ /**
20397
+ * Clears the field making it undefined.
20398
+ * @return {!proto.com.lansweeper.dp.outbound.v1.MacNetworkVolume} returns this
20399
+ */
20400
+ proto.com.lansweeper.dp.outbound.v1.MacNetworkVolume.prototype.clearAutoMounted = function() {
20401
+ return jspb.Message.setField(this, 2, undefined);
20402
+ };
20403
+
20404
+
20405
+ /**
20406
+ * Returns whether this field is set.
20407
+ * @return {boolean}
20408
+ */
20409
+ proto.com.lansweeper.dp.outbound.v1.MacNetworkVolume.prototype.hasAutoMounted = function() {
20410
+ return jspb.Message.getField(this, 2) != null;
20411
+ };
20412
+
20413
+
20414
+ /**
20415
+ * optional string fsmt_non_name = 3;
20416
+ * @return {string}
20417
+ */
20418
+ proto.com.lansweeper.dp.outbound.v1.MacNetworkVolume.prototype.getFsmtNonName = function() {
20419
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
20420
+ };
20421
+
20422
+
20423
+ /**
20424
+ * @param {string} value
20425
+ * @return {!proto.com.lansweeper.dp.outbound.v1.MacNetworkVolume} returns this
20426
+ */
20427
+ proto.com.lansweeper.dp.outbound.v1.MacNetworkVolume.prototype.setFsmtNonName = function(value) {
20428
+ return jspb.Message.setField(this, 3, value);
20429
+ };
20430
+
20431
+
20432
+ /**
20433
+ * Clears the field making it undefined.
20434
+ * @return {!proto.com.lansweeper.dp.outbound.v1.MacNetworkVolume} returns this
20435
+ */
20436
+ proto.com.lansweeper.dp.outbound.v1.MacNetworkVolume.prototype.clearFsmtNonName = function() {
20437
+ return jspb.Message.setField(this, 3, undefined);
20438
+ };
20439
+
20440
+
20441
+ /**
20442
+ * Returns whether this field is set.
20443
+ * @return {boolean}
20444
+ */
20445
+ proto.com.lansweeper.dp.outbound.v1.MacNetworkVolume.prototype.hasFsmtNonName = function() {
20446
+ return jspb.Message.getField(this, 3) != null;
20447
+ };
20448
+
20449
+
20450
+ /**
20451
+ * optional string fs_type_name = 4;
20452
+ * @return {string}
20453
+ */
20454
+ proto.com.lansweeper.dp.outbound.v1.MacNetworkVolume.prototype.getFsTypeName = function() {
20455
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
20456
+ };
20457
+
20458
+
20459
+ /**
20460
+ * @param {string} value
20461
+ * @return {!proto.com.lansweeper.dp.outbound.v1.MacNetworkVolume} returns this
20462
+ */
20463
+ proto.com.lansweeper.dp.outbound.v1.MacNetworkVolume.prototype.setFsTypeName = function(value) {
20464
+ return jspb.Message.setField(this, 4, value);
20465
+ };
20466
+
20467
+
20468
+ /**
20469
+ * Clears the field making it undefined.
20470
+ * @return {!proto.com.lansweeper.dp.outbound.v1.MacNetworkVolume} returns this
20471
+ */
20472
+ proto.com.lansweeper.dp.outbound.v1.MacNetworkVolume.prototype.clearFsTypeName = function() {
20473
+ return jspb.Message.setField(this, 4, undefined);
20474
+ };
20475
+
20476
+
20477
+ /**
20478
+ * Returns whether this field is set.
20479
+ * @return {boolean}
20480
+ */
20481
+ proto.com.lansweeper.dp.outbound.v1.MacNetworkVolume.prototype.hasFsTypeName = function() {
20482
+ return jspb.Message.getField(this, 4) != null;
20483
+ };
20484
+
20485
+
20486
+ /**
20487
+ * optional string mnt_from_name = 5;
20488
+ * @return {string}
20489
+ */
20490
+ proto.com.lansweeper.dp.outbound.v1.MacNetworkVolume.prototype.getMntFromName = function() {
20491
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
20492
+ };
20493
+
20494
+
20495
+ /**
20496
+ * @param {string} value
20497
+ * @return {!proto.com.lansweeper.dp.outbound.v1.MacNetworkVolume} returns this
20498
+ */
20499
+ proto.com.lansweeper.dp.outbound.v1.MacNetworkVolume.prototype.setMntFromName = function(value) {
20500
+ return jspb.Message.setField(this, 5, value);
20501
+ };
20502
+
20503
+
20504
+ /**
20505
+ * Clears the field making it undefined.
20506
+ * @return {!proto.com.lansweeper.dp.outbound.v1.MacNetworkVolume} returns this
20507
+ */
20508
+ proto.com.lansweeper.dp.outbound.v1.MacNetworkVolume.prototype.clearMntFromName = function() {
20509
+ return jspb.Message.setField(this, 5, undefined);
20510
+ };
20511
+
20512
+
20513
+ /**
20514
+ * Returns whether this field is set.
20515
+ * @return {boolean}
20516
+ */
20517
+ proto.com.lansweeper.dp.outbound.v1.MacNetworkVolume.prototype.hasMntFromName = function() {
20518
+ return jspb.Message.getField(this, 5) != null;
20519
+ };
20520
+
20521
+
20522
+
20523
+
20524
+
18230
20525
  if (jspb.Message.GENERATE_TO_OBJECT) {
18231
20526
  /**
18232
20527
  * Creates an object representation of this proto.