@lansweeper/data-platform-outbound-grpc 0.1.51 → 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.
@@ -51,6 +51,7 @@ goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.LastUser', null, global);
51
51
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.LinuxOperatingSystemInfo', null, global);
52
52
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.ListEntityRequest', null, global);
53
53
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.ListEntityResponse', null, global);
54
+ goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.MacNetworkVolume', null, global);
54
55
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.MacOperatingSystemInfo', null, global);
55
56
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.MappedValue', null, global);
56
57
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.Memory', null, global);
@@ -63,6 +64,8 @@ goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.MotherboardDevice', null,
63
64
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.NetIpAddress', null, global);
64
65
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.NetworkInterface', null, global);
65
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);
66
69
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.OperatingSystem', null, global);
67
70
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.OperatingSystem.SpecCase', null, global);
68
71
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.OperatingSystemFeature', null, global);
@@ -82,6 +85,7 @@ goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.SoftwareInventory', null,
82
85
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.SoundCard', null, global);
83
86
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.SpecHardwareInfo', null, global);
84
87
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.Tag', null, global);
88
+ goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.WindowsMappedDrive', null, global);
85
89
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.WindowsMonitorInfo', null, global);
86
90
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.WindowsOperatingSystemInfo', null, global);
87
91
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.WindowsPnpSignedDriver', null, global);
@@ -801,6 +805,69 @@ if (goog.DEBUG && !COMPILED) {
801
805
  */
802
806
  proto.com.lansweeper.dp.outbound.v1.DriveVolume.displayName = 'proto.com.lansweeper.dp.outbound.v1.DriveVolume';
803
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
+ }
804
871
  /**
805
872
  * Generated by JsPbCodeGenerator.
806
873
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -3519,7 +3586,7 @@ proto.com.lansweeper.dp.outbound.v1.Entity.prototype.hasAsset = function() {
3519
3586
  * @private {!Array<number>}
3520
3587
  * @const
3521
3588
  */
3522
- proto.com.lansweeper.dp.outbound.v1.Asset.repeatedFields_ = [33,14,20,26,13,37,15,24,25,38,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];
3523
3590
 
3524
3591
 
3525
3592
 
@@ -3560,6 +3627,7 @@ proto.com.lansweeper.dp.outbound.v1.Asset.toObject = function(includeInstance, m
3560
3627
  uniqueKey: jspb.Message.getFieldWithDefault(msg, 23, ""),
3561
3628
  scanErrorList: jspb.Message.toObjectList(msg.getScanErrorList(),
3562
3629
  proto.com.lansweeper.dp.outbound.v1.ScanError.toObject, includeInstance),
3630
+ lastSyncedSource: jspb.Message.getFieldWithDefault(msg, 39, ""),
3563
3631
  tagList: jspb.Message.toObjectList(msg.getTagList(),
3564
3632
  proto.com.lansweeper.dp.outbound.v1.Tag.toObject, includeInstance),
3565
3633
  relationList: jspb.Message.toObjectList(msg.getRelationList(),
@@ -3588,6 +3656,8 @@ proto.com.lansweeper.dp.outbound.v1.Asset.toObject = function(includeInstance, m
3588
3656
  proto.com.lansweeper.dp.outbound.v1.HardDrive.toObject, includeInstance),
3589
3657
  driveVolumeList: jspb.Message.toObjectList(msg.getDriveVolumeList(),
3590
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),
3591
3661
  graphicsCardList: jspb.Message.toObjectList(msg.getGraphicsCardList(),
3592
3662
  proto.com.lansweeper.dp.outbound.v1.GraphicsCard.toObject, includeInstance),
3593
3663
  soundCardList: jspb.Message.toObjectList(msg.getSoundCardList(),
@@ -3674,6 +3744,10 @@ proto.com.lansweeper.dp.outbound.v1.Asset.deserializeBinaryFromReader = function
3674
3744
  reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.ScanError.deserializeBinaryFromReader);
3675
3745
  msg.addScanError(value);
3676
3746
  break;
3747
+ case 39:
3748
+ var value = /** @type {string} */ (reader.readString());
3749
+ msg.setLastSyncedSource(value);
3750
+ break;
3677
3751
  case 14:
3678
3752
  var value = new proto.com.lansweeper.dp.outbound.v1.Tag;
3679
3753
  reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.Tag.deserializeBinaryFromReader);
@@ -3769,6 +3843,11 @@ proto.com.lansweeper.dp.outbound.v1.Asset.deserializeBinaryFromReader = function
3769
3843
  reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.DriveVolume.deserializeBinaryFromReader);
3770
3844
  msg.addDriveVolume(value);
3771
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;
3772
3851
  case 27:
3773
3852
  var value = new proto.com.lansweeper.dp.outbound.v1.GraphicsCard;
3774
3853
  reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.GraphicsCard.deserializeBinaryFromReader);
@@ -3903,6 +3982,13 @@ proto.com.lansweeper.dp.outbound.v1.Asset.serializeBinaryToWriter = function(mes
3903
3982
  proto.com.lansweeper.dp.outbound.v1.ScanError.serializeBinaryToWriter
3904
3983
  );
3905
3984
  }
3985
+ f = /** @type {string} */ (jspb.Message.getField(message, 39));
3986
+ if (f != null) {
3987
+ writer.writeString(
3988
+ 39,
3989
+ f
3990
+ );
3991
+ }
3906
3992
  f = message.getTagList();
3907
3993
  if (f.length > 0) {
3908
3994
  writer.writeRepeatedMessage(
@@ -4055,6 +4141,14 @@ proto.com.lansweeper.dp.outbound.v1.Asset.serializeBinaryToWriter = function(mes
4055
4141
  proto.com.lansweeper.dp.outbound.v1.DriveVolume.serializeBinaryToWriter
4056
4142
  );
4057
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
+ }
4058
4152
  f = message.getGraphicsCardList();
4059
4153
  if (f.length > 0) {
4060
4154
  writer.writeRepeatedMessage(
@@ -4397,6 +4491,42 @@ proto.com.lansweeper.dp.outbound.v1.Asset.prototype.clearScanErrorList = functio
4397
4491
  };
4398
4492
 
4399
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
+
4400
4530
  /**
4401
4531
  * repeated Tag tag = 14;
4402
4532
  * @return {!Array<!proto.com.lansweeper.dp.outbound.v1.Tag>}
@@ -5109,6 +5239,44 @@ proto.com.lansweeper.dp.outbound.v1.Asset.prototype.clearDriveVolumeList = funct
5109
5239
  };
5110
5240
 
5111
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
+
5112
5280
  /**
5113
5281
  * repeated GraphicsCard graphics_card = 27;
5114
5282
  * @return {!Array<!proto.com.lansweeper.dp.outbound.v1.GraphicsCard>}
@@ -19462,6 +19630,896 @@ proto.com.lansweeper.dp.outbound.v1.DriveVolume.prototype.hasMountPoint = functi
19462
19630
 
19463
19631
 
19464
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
+
19465
20523
 
19466
20524
 
19467
20525
  if (jspb.Message.GENERATE_TO_OBJECT) {