@lansweeper/data-platform-outbound-grpc 0.1.100 → 0.1.102

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.
@@ -54,6 +54,7 @@ goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.ComputerConnectedUsbContr
54
54
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.ComputerConnectedUsbDeviceInfo', null, global);
55
55
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.ComputerInfrared', null, global);
56
56
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.ComputerMacAccessibility', null, global);
57
+ goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.ComputerMacInstallHistory', null, global);
57
58
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.ComputerMacOsFramework', null, global);
58
59
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.ComputerMacPreferencePane', null, global);
59
60
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.ComputerMacRegionalSettings', null, global);
@@ -1750,7 +1751,7 @@ if (goog.DEBUG && !COMPILED) {
1750
1751
  * @constructor
1751
1752
  */
1752
1753
  proto.com.lansweeper.dp.outbound.v1.AutoRunCommand = function(opt_data) {
1753
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1754
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.com.lansweeper.dp.outbound.v1.AutoRunCommand.repeatedFields_, null);
1754
1755
  };
1755
1756
  goog.inherits(proto.com.lansweeper.dp.outbound.v1.AutoRunCommand, jspb.Message);
1756
1757
  if (goog.DEBUG && !COMPILED) {
@@ -3461,6 +3462,27 @@ if (goog.DEBUG && !COMPILED) {
3461
3462
  */
3462
3463
  proto.com.lansweeper.dp.outbound.v1.SoftwareChangeEvent.displayName = 'proto.com.lansweeper.dp.outbound.v1.SoftwareChangeEvent';
3463
3464
  }
3465
+ /**
3466
+ * Generated by JsPbCodeGenerator.
3467
+ * @param {Array=} opt_data Optional initial data array, typically from a
3468
+ * server response, or constructed directly in Javascript. The array is used
3469
+ * in place and becomes part of the constructed object. It is not cloned.
3470
+ * If no data is provided, the constructed object will be empty, but still
3471
+ * valid.
3472
+ * @extends {jspb.Message}
3473
+ * @constructor
3474
+ */
3475
+ proto.com.lansweeper.dp.outbound.v1.ComputerMacInstallHistory = function(opt_data) {
3476
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
3477
+ };
3478
+ goog.inherits(proto.com.lansweeper.dp.outbound.v1.ComputerMacInstallHistory, jspb.Message);
3479
+ if (goog.DEBUG && !COMPILED) {
3480
+ /**
3481
+ * @public
3482
+ * @override
3483
+ */
3484
+ proto.com.lansweeper.dp.outbound.v1.ComputerMacInstallHistory.displayName = 'proto.com.lansweeper.dp.outbound.v1.ComputerMacInstallHistory';
3485
+ }
3464
3486
  /**
3465
3487
  * Generated by JsPbCodeGenerator.
3466
3488
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -8176,7 +8198,7 @@ proto.com.lansweeper.dp.outbound.v1.AssetChangeEvent.prototype.hasSqlServer = fu
8176
8198
  * @private {!Array<number>}
8177
8199
  * @const
8178
8200
  */
8179
- proto.com.lansweeper.dp.outbound.v1.Computer.repeatedFields_ = [3,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,33,27,32,28,29,30,31,102,103,105,107,202,203,205,206,207,209,210,211,212,213,214,215,216,217,218,219,221,222,302,303,304];
8201
+ proto.com.lansweeper.dp.outbound.v1.Computer.repeatedFields_ = [3,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,33,27,32,28,29,30,31,102,103,105,107,202,203,205,206,207,209,210,211,212,213,214,215,216,217,218,219,221,222,225,302,303,304];
8180
8202
 
8181
8203
 
8182
8204
 
@@ -8325,6 +8347,8 @@ proto.com.lansweeper.dp.outbound.v1.Computer.toObject = function(includeInstance
8325
8347
  macPreferencePaneList: jspb.Message.toObjectList(msg.getMacPreferencePaneList(),
8326
8348
  proto.com.lansweeper.dp.outbound.v1.ComputerMacPreferencePane.toObject, includeInstance),
8327
8349
  macRegionalSettings: (f = msg.getMacRegionalSettings()) && proto.com.lansweeper.dp.outbound.v1.ComputerMacRegionalSettings.toObject(includeInstance, f),
8350
+ macInstallHistoryList: jspb.Message.toObjectList(msg.getMacInstallHistoryList(),
8351
+ proto.com.lansweeper.dp.outbound.v1.ComputerMacInstallHistory.toObject, includeInstance),
8328
8352
  lastUser: (f = msg.getLastUser()) && proto.com.lansweeper.dp.outbound.v1.LastUser.toObject(includeInstance, f),
8329
8353
  userList: jspb.Message.toObjectList(msg.getUserList(),
8330
8354
  proto.com.lansweeper.dp.outbound.v1.UserAccount.toObject, includeInstance),
@@ -8688,6 +8712,11 @@ proto.com.lansweeper.dp.outbound.v1.Computer.deserializeBinaryFromReader = funct
8688
8712
  reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.ComputerMacRegionalSettings.deserializeBinaryFromReader);
8689
8713
  msg.setMacRegionalSettings(value);
8690
8714
  break;
8715
+ case 225:
8716
+ var value = new proto.com.lansweeper.dp.outbound.v1.ComputerMacInstallHistory;
8717
+ reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.ComputerMacInstallHistory.deserializeBinaryFromReader);
8718
+ msg.addMacInstallHistory(value);
8719
+ break;
8691
8720
  case 301:
8692
8721
  var value = new proto.com.lansweeper.dp.outbound.v1.LastUser;
8693
8722
  reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.LastUser.deserializeBinaryFromReader);
@@ -9249,6 +9278,14 @@ proto.com.lansweeper.dp.outbound.v1.Computer.serializeBinaryToWriter = function(
9249
9278
  proto.com.lansweeper.dp.outbound.v1.ComputerMacRegionalSettings.serializeBinaryToWriter
9250
9279
  );
9251
9280
  }
9281
+ f = message.getMacInstallHistoryList();
9282
+ if (f.length > 0) {
9283
+ writer.writeRepeatedMessage(
9284
+ 225,
9285
+ f,
9286
+ proto.com.lansweeper.dp.outbound.v1.ComputerMacInstallHistory.serializeBinaryToWriter
9287
+ );
9288
+ }
9252
9289
  f = message.getLastUser();
9253
9290
  if (f != null) {
9254
9291
  writer.writeMessage(
@@ -11704,6 +11741,44 @@ proto.com.lansweeper.dp.outbound.v1.Computer.prototype.hasMacRegionalSettings =
11704
11741
  };
11705
11742
 
11706
11743
 
11744
+ /**
11745
+ * repeated ComputerMacInstallHistory mac_install_history = 225;
11746
+ * @return {!Array<!proto.com.lansweeper.dp.outbound.v1.ComputerMacInstallHistory>}
11747
+ */
11748
+ proto.com.lansweeper.dp.outbound.v1.Computer.prototype.getMacInstallHistoryList = function() {
11749
+ return /** @type{!Array<!proto.com.lansweeper.dp.outbound.v1.ComputerMacInstallHistory>} */ (
11750
+ jspb.Message.getRepeatedWrapperField(this, proto.com.lansweeper.dp.outbound.v1.ComputerMacInstallHistory, 225));
11751
+ };
11752
+
11753
+
11754
+ /**
11755
+ * @param {!Array<!proto.com.lansweeper.dp.outbound.v1.ComputerMacInstallHistory>} value
11756
+ * @return {!proto.com.lansweeper.dp.outbound.v1.Computer} returns this
11757
+ */
11758
+ proto.com.lansweeper.dp.outbound.v1.Computer.prototype.setMacInstallHistoryList = function(value) {
11759
+ return jspb.Message.setRepeatedWrapperField(this, 225, value);
11760
+ };
11761
+
11762
+
11763
+ /**
11764
+ * @param {!proto.com.lansweeper.dp.outbound.v1.ComputerMacInstallHistory=} opt_value
11765
+ * @param {number=} opt_index
11766
+ * @return {!proto.com.lansweeper.dp.outbound.v1.ComputerMacInstallHistory}
11767
+ */
11768
+ proto.com.lansweeper.dp.outbound.v1.Computer.prototype.addMacInstallHistory = function(opt_value, opt_index) {
11769
+ return jspb.Message.addToRepeatedWrapperField(this, 225, opt_value, proto.com.lansweeper.dp.outbound.v1.ComputerMacInstallHistory, opt_index);
11770
+ };
11771
+
11772
+
11773
+ /**
11774
+ * Clears the list making it empty but non-null.
11775
+ * @return {!proto.com.lansweeper.dp.outbound.v1.Computer} returns this
11776
+ */
11777
+ proto.com.lansweeper.dp.outbound.v1.Computer.prototype.clearMacInstallHistoryList = function() {
11778
+ return this.setMacInstallHistoryList([]);
11779
+ };
11780
+
11781
+
11707
11782
  /**
11708
11783
  * optional LastUser last_user = 301;
11709
11784
  * @return {?proto.com.lansweeper.dp.outbound.v1.LastUser}
@@ -39107,6 +39182,13 @@ proto.com.lansweeper.dp.outbound.v1.PointingDevice.prototype.hasQuadSpeedThresho
39107
39182
 
39108
39183
 
39109
39184
 
39185
+ /**
39186
+ * List of repeated fields within this message type.
39187
+ * @private {!Array<number>}
39188
+ * @const
39189
+ */
39190
+ proto.com.lansweeper.dp.outbound.v1.AutoRunCommand.repeatedFields_ = [8,9,10];
39191
+
39110
39192
 
39111
39193
 
39112
39194
  if (jspb.Message.GENERATE_TO_OBJECT) {
@@ -39143,7 +39225,12 @@ proto.com.lansweeper.dp.outbound.v1.AutoRunCommand.toObject = function(includeIn
39143
39225
  location: jspb.Message.getFieldWithDefault(msg, 3, ""),
39144
39226
  name: jspb.Message.getFieldWithDefault(msg, 4, ""),
39145
39227
  user: jspb.Message.getFieldWithDefault(msg, 5, ""),
39146
- userSid: jspb.Message.getFieldWithDefault(msg, 6, "")
39228
+ userSid: jspb.Message.getFieldWithDefault(msg, 6, ""),
39229
+ orderPreference: jspb.Message.getFieldWithDefault(msg, 7, ""),
39230
+ providesList: (f = jspb.Message.getRepeatedField(msg, 8)) == null ? undefined : f,
39231
+ requiredList: (f = jspb.Message.getRepeatedField(msg, 9)) == null ? undefined : f,
39232
+ usesList: (f = jspb.Message.getRepeatedField(msg, 10)) == null ? undefined : f,
39233
+ enabled: jspb.Message.getBooleanFieldWithDefault(msg, 11, false)
39147
39234
  };
39148
39235
 
39149
39236
  if (includeInstance) {
@@ -39204,6 +39291,26 @@ proto.com.lansweeper.dp.outbound.v1.AutoRunCommand.deserializeBinaryFromReader =
39204
39291
  var value = /** @type {string} */ (reader.readString());
39205
39292
  msg.setUserSid(value);
39206
39293
  break;
39294
+ case 7:
39295
+ var value = /** @type {string} */ (reader.readString());
39296
+ msg.setOrderPreference(value);
39297
+ break;
39298
+ case 8:
39299
+ var value = /** @type {string} */ (reader.readString());
39300
+ msg.addProvides(value);
39301
+ break;
39302
+ case 9:
39303
+ var value = /** @type {string} */ (reader.readString());
39304
+ msg.addRequired(value);
39305
+ break;
39306
+ case 10:
39307
+ var value = /** @type {string} */ (reader.readString());
39308
+ msg.addUses(value);
39309
+ break;
39310
+ case 11:
39311
+ var value = /** @type {boolean} */ (reader.readBool());
39312
+ msg.setEnabled(value);
39313
+ break;
39207
39314
  default:
39208
39315
  reader.skipField();
39209
39316
  break;
@@ -39275,6 +39382,41 @@ proto.com.lansweeper.dp.outbound.v1.AutoRunCommand.serializeBinaryToWriter = fun
39275
39382
  f
39276
39383
  );
39277
39384
  }
39385
+ f = /** @type {string} */ (jspb.Message.getField(message, 7));
39386
+ if (f != null) {
39387
+ writer.writeString(
39388
+ 7,
39389
+ f
39390
+ );
39391
+ }
39392
+ f = message.getProvidesList();
39393
+ if (f.length > 0) {
39394
+ writer.writeRepeatedString(
39395
+ 8,
39396
+ f
39397
+ );
39398
+ }
39399
+ f = message.getRequiredList();
39400
+ if (f.length > 0) {
39401
+ writer.writeRepeatedString(
39402
+ 9,
39403
+ f
39404
+ );
39405
+ }
39406
+ f = message.getUsesList();
39407
+ if (f.length > 0) {
39408
+ writer.writeRepeatedString(
39409
+ 10,
39410
+ f
39411
+ );
39412
+ }
39413
+ f = /** @type {boolean} */ (jspb.Message.getField(message, 11));
39414
+ if (f != null) {
39415
+ writer.writeBool(
39416
+ 11,
39417
+ f
39418
+ );
39419
+ }
39278
39420
  };
39279
39421
 
39280
39422
 
@@ -39494,6 +39636,189 @@ proto.com.lansweeper.dp.outbound.v1.AutoRunCommand.prototype.hasUserSid = functi
39494
39636
  };
39495
39637
 
39496
39638
 
39639
+ /**
39640
+ * optional string order_preference = 7;
39641
+ * @return {string}
39642
+ */
39643
+ proto.com.lansweeper.dp.outbound.v1.AutoRunCommand.prototype.getOrderPreference = function() {
39644
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
39645
+ };
39646
+
39647
+
39648
+ /**
39649
+ * @param {string} value
39650
+ * @return {!proto.com.lansweeper.dp.outbound.v1.AutoRunCommand} returns this
39651
+ */
39652
+ proto.com.lansweeper.dp.outbound.v1.AutoRunCommand.prototype.setOrderPreference = function(value) {
39653
+ return jspb.Message.setField(this, 7, value);
39654
+ };
39655
+
39656
+
39657
+ /**
39658
+ * Clears the field making it undefined.
39659
+ * @return {!proto.com.lansweeper.dp.outbound.v1.AutoRunCommand} returns this
39660
+ */
39661
+ proto.com.lansweeper.dp.outbound.v1.AutoRunCommand.prototype.clearOrderPreference = function() {
39662
+ return jspb.Message.setField(this, 7, undefined);
39663
+ };
39664
+
39665
+
39666
+ /**
39667
+ * Returns whether this field is set.
39668
+ * @return {boolean}
39669
+ */
39670
+ proto.com.lansweeper.dp.outbound.v1.AutoRunCommand.prototype.hasOrderPreference = function() {
39671
+ return jspb.Message.getField(this, 7) != null;
39672
+ };
39673
+
39674
+
39675
+ /**
39676
+ * repeated string provides = 8;
39677
+ * @return {!Array<string>}
39678
+ */
39679
+ proto.com.lansweeper.dp.outbound.v1.AutoRunCommand.prototype.getProvidesList = function() {
39680
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 8));
39681
+ };
39682
+
39683
+
39684
+ /**
39685
+ * @param {!Array<string>} value
39686
+ * @return {!proto.com.lansweeper.dp.outbound.v1.AutoRunCommand} returns this
39687
+ */
39688
+ proto.com.lansweeper.dp.outbound.v1.AutoRunCommand.prototype.setProvidesList = function(value) {
39689
+ return jspb.Message.setField(this, 8, value || []);
39690
+ };
39691
+
39692
+
39693
+ /**
39694
+ * @param {string} value
39695
+ * @param {number=} opt_index
39696
+ * @return {!proto.com.lansweeper.dp.outbound.v1.AutoRunCommand} returns this
39697
+ */
39698
+ proto.com.lansweeper.dp.outbound.v1.AutoRunCommand.prototype.addProvides = function(value, opt_index) {
39699
+ return jspb.Message.addToRepeatedField(this, 8, value, opt_index);
39700
+ };
39701
+
39702
+
39703
+ /**
39704
+ * Clears the list making it empty but non-null.
39705
+ * @return {!proto.com.lansweeper.dp.outbound.v1.AutoRunCommand} returns this
39706
+ */
39707
+ proto.com.lansweeper.dp.outbound.v1.AutoRunCommand.prototype.clearProvidesList = function() {
39708
+ return this.setProvidesList([]);
39709
+ };
39710
+
39711
+
39712
+ /**
39713
+ * repeated string required = 9;
39714
+ * @return {!Array<string>}
39715
+ */
39716
+ proto.com.lansweeper.dp.outbound.v1.AutoRunCommand.prototype.getRequiredList = function() {
39717
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 9));
39718
+ };
39719
+
39720
+
39721
+ /**
39722
+ * @param {!Array<string>} value
39723
+ * @return {!proto.com.lansweeper.dp.outbound.v1.AutoRunCommand} returns this
39724
+ */
39725
+ proto.com.lansweeper.dp.outbound.v1.AutoRunCommand.prototype.setRequiredList = function(value) {
39726
+ return jspb.Message.setField(this, 9, value || []);
39727
+ };
39728
+
39729
+
39730
+ /**
39731
+ * @param {string} value
39732
+ * @param {number=} opt_index
39733
+ * @return {!proto.com.lansweeper.dp.outbound.v1.AutoRunCommand} returns this
39734
+ */
39735
+ proto.com.lansweeper.dp.outbound.v1.AutoRunCommand.prototype.addRequired = function(value, opt_index) {
39736
+ return jspb.Message.addToRepeatedField(this, 9, value, opt_index);
39737
+ };
39738
+
39739
+
39740
+ /**
39741
+ * Clears the list making it empty but non-null.
39742
+ * @return {!proto.com.lansweeper.dp.outbound.v1.AutoRunCommand} returns this
39743
+ */
39744
+ proto.com.lansweeper.dp.outbound.v1.AutoRunCommand.prototype.clearRequiredList = function() {
39745
+ return this.setRequiredList([]);
39746
+ };
39747
+
39748
+
39749
+ /**
39750
+ * repeated string uses = 10;
39751
+ * @return {!Array<string>}
39752
+ */
39753
+ proto.com.lansweeper.dp.outbound.v1.AutoRunCommand.prototype.getUsesList = function() {
39754
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 10));
39755
+ };
39756
+
39757
+
39758
+ /**
39759
+ * @param {!Array<string>} value
39760
+ * @return {!proto.com.lansweeper.dp.outbound.v1.AutoRunCommand} returns this
39761
+ */
39762
+ proto.com.lansweeper.dp.outbound.v1.AutoRunCommand.prototype.setUsesList = function(value) {
39763
+ return jspb.Message.setField(this, 10, value || []);
39764
+ };
39765
+
39766
+
39767
+ /**
39768
+ * @param {string} value
39769
+ * @param {number=} opt_index
39770
+ * @return {!proto.com.lansweeper.dp.outbound.v1.AutoRunCommand} returns this
39771
+ */
39772
+ proto.com.lansweeper.dp.outbound.v1.AutoRunCommand.prototype.addUses = function(value, opt_index) {
39773
+ return jspb.Message.addToRepeatedField(this, 10, value, opt_index);
39774
+ };
39775
+
39776
+
39777
+ /**
39778
+ * Clears the list making it empty but non-null.
39779
+ * @return {!proto.com.lansweeper.dp.outbound.v1.AutoRunCommand} returns this
39780
+ */
39781
+ proto.com.lansweeper.dp.outbound.v1.AutoRunCommand.prototype.clearUsesList = function() {
39782
+ return this.setUsesList([]);
39783
+ };
39784
+
39785
+
39786
+ /**
39787
+ * optional bool enabled = 11;
39788
+ * @return {boolean}
39789
+ */
39790
+ proto.com.lansweeper.dp.outbound.v1.AutoRunCommand.prototype.getEnabled = function() {
39791
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 11, false));
39792
+ };
39793
+
39794
+
39795
+ /**
39796
+ * @param {boolean} value
39797
+ * @return {!proto.com.lansweeper.dp.outbound.v1.AutoRunCommand} returns this
39798
+ */
39799
+ proto.com.lansweeper.dp.outbound.v1.AutoRunCommand.prototype.setEnabled = function(value) {
39800
+ return jspb.Message.setField(this, 11, value);
39801
+ };
39802
+
39803
+
39804
+ /**
39805
+ * Clears the field making it undefined.
39806
+ * @return {!proto.com.lansweeper.dp.outbound.v1.AutoRunCommand} returns this
39807
+ */
39808
+ proto.com.lansweeper.dp.outbound.v1.AutoRunCommand.prototype.clearEnabled = function() {
39809
+ return jspb.Message.setField(this, 11, undefined);
39810
+ };
39811
+
39812
+
39813
+ /**
39814
+ * Returns whether this field is set.
39815
+ * @return {boolean}
39816
+ */
39817
+ proto.com.lansweeper.dp.outbound.v1.AutoRunCommand.prototype.hasEnabled = function() {
39818
+ return jspb.Message.getField(this, 11) != null;
39819
+ };
39820
+
39821
+
39497
39822
 
39498
39823
 
39499
39824
 
@@ -84683,6 +85008,298 @@ proto.com.lansweeper.dp.outbound.v1.SoftwareChangeEvent.prototype.hasPrevSoftwar
84683
85008
 
84684
85009
 
84685
85010
 
85011
+ if (jspb.Message.GENERATE_TO_OBJECT) {
85012
+ /**
85013
+ * Creates an object representation of this proto.
85014
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
85015
+ * Optional fields that are not set will be set to undefined.
85016
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
85017
+ * For the list of reserved names please see:
85018
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
85019
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
85020
+ * JSPB instance for transitional soy proto support:
85021
+ * http://goto/soy-param-migration
85022
+ * @return {!Object}
85023
+ */
85024
+ proto.com.lansweeper.dp.outbound.v1.ComputerMacInstallHistory.prototype.toObject = function(opt_includeInstance) {
85025
+ return proto.com.lansweeper.dp.outbound.v1.ComputerMacInstallHistory.toObject(opt_includeInstance, this);
85026
+ };
85027
+
85028
+
85029
+ /**
85030
+ * Static version of the {@see toObject} method.
85031
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
85032
+ * the JSPB instance for transitional soy proto support:
85033
+ * http://goto/soy-param-migration
85034
+ * @param {!proto.com.lansweeper.dp.outbound.v1.ComputerMacInstallHistory} msg The msg instance to transform.
85035
+ * @return {!Object}
85036
+ * @suppress {unusedLocalVariables} f is only used for nested messages
85037
+ */
85038
+ proto.com.lansweeper.dp.outbound.v1.ComputerMacInstallHistory.toObject = function(includeInstance, msg) {
85039
+ var f, obj = {
85040
+ name: jspb.Message.getFieldWithDefault(msg, 1, ""),
85041
+ installDate: jspb.Message.getFieldWithDefault(msg, 2, ""),
85042
+ installVersion: jspb.Message.getFieldWithDefault(msg, 3, ""),
85043
+ packageSource: jspb.Message.getFieldWithDefault(msg, 4, "")
85044
+ };
85045
+
85046
+ if (includeInstance) {
85047
+ obj.$jspbMessageInstance = msg;
85048
+ }
85049
+ return obj;
85050
+ };
85051
+ }
85052
+
85053
+
85054
+ /**
85055
+ * Deserializes binary data (in protobuf wire format).
85056
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
85057
+ * @return {!proto.com.lansweeper.dp.outbound.v1.ComputerMacInstallHistory}
85058
+ */
85059
+ proto.com.lansweeper.dp.outbound.v1.ComputerMacInstallHistory.deserializeBinary = function(bytes) {
85060
+ var reader = new jspb.BinaryReader(bytes);
85061
+ var msg = new proto.com.lansweeper.dp.outbound.v1.ComputerMacInstallHistory;
85062
+ return proto.com.lansweeper.dp.outbound.v1.ComputerMacInstallHistory.deserializeBinaryFromReader(msg, reader);
85063
+ };
85064
+
85065
+
85066
+ /**
85067
+ * Deserializes binary data (in protobuf wire format) from the
85068
+ * given reader into the given message object.
85069
+ * @param {!proto.com.lansweeper.dp.outbound.v1.ComputerMacInstallHistory} msg The message object to deserialize into.
85070
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
85071
+ * @return {!proto.com.lansweeper.dp.outbound.v1.ComputerMacInstallHistory}
85072
+ */
85073
+ proto.com.lansweeper.dp.outbound.v1.ComputerMacInstallHistory.deserializeBinaryFromReader = function(msg, reader) {
85074
+ while (reader.nextField()) {
85075
+ if (reader.isEndGroup()) {
85076
+ break;
85077
+ }
85078
+ var field = reader.getFieldNumber();
85079
+ switch (field) {
85080
+ case 1:
85081
+ var value = /** @type {string} */ (reader.readString());
85082
+ msg.setName(value);
85083
+ break;
85084
+ case 2:
85085
+ var value = /** @type {string} */ (reader.readString());
85086
+ msg.setInstallDate(value);
85087
+ break;
85088
+ case 3:
85089
+ var value = /** @type {string} */ (reader.readString());
85090
+ msg.setInstallVersion(value);
85091
+ break;
85092
+ case 4:
85093
+ var value = /** @type {string} */ (reader.readString());
85094
+ msg.setPackageSource(value);
85095
+ break;
85096
+ default:
85097
+ reader.skipField();
85098
+ break;
85099
+ }
85100
+ }
85101
+ return msg;
85102
+ };
85103
+
85104
+
85105
+ /**
85106
+ * Serializes the message to binary data (in protobuf wire format).
85107
+ * @return {!Uint8Array}
85108
+ */
85109
+ proto.com.lansweeper.dp.outbound.v1.ComputerMacInstallHistory.prototype.serializeBinary = function() {
85110
+ var writer = new jspb.BinaryWriter();
85111
+ proto.com.lansweeper.dp.outbound.v1.ComputerMacInstallHistory.serializeBinaryToWriter(this, writer);
85112
+ return writer.getResultBuffer();
85113
+ };
85114
+
85115
+
85116
+ /**
85117
+ * Serializes the given message to binary data (in protobuf wire
85118
+ * format), writing to the given BinaryWriter.
85119
+ * @param {!proto.com.lansweeper.dp.outbound.v1.ComputerMacInstallHistory} message
85120
+ * @param {!jspb.BinaryWriter} writer
85121
+ * @suppress {unusedLocalVariables} f is only used for nested messages
85122
+ */
85123
+ proto.com.lansweeper.dp.outbound.v1.ComputerMacInstallHistory.serializeBinaryToWriter = function(message, writer) {
85124
+ var f = undefined;
85125
+ f = /** @type {string} */ (jspb.Message.getField(message, 1));
85126
+ if (f != null) {
85127
+ writer.writeString(
85128
+ 1,
85129
+ f
85130
+ );
85131
+ }
85132
+ f = /** @type {string} */ (jspb.Message.getField(message, 2));
85133
+ if (f != null) {
85134
+ writer.writeString(
85135
+ 2,
85136
+ f
85137
+ );
85138
+ }
85139
+ f = /** @type {string} */ (jspb.Message.getField(message, 3));
85140
+ if (f != null) {
85141
+ writer.writeString(
85142
+ 3,
85143
+ f
85144
+ );
85145
+ }
85146
+ f = /** @type {string} */ (jspb.Message.getField(message, 4));
85147
+ if (f != null) {
85148
+ writer.writeString(
85149
+ 4,
85150
+ f
85151
+ );
85152
+ }
85153
+ };
85154
+
85155
+
85156
+ /**
85157
+ * optional string name = 1;
85158
+ * @return {string}
85159
+ */
85160
+ proto.com.lansweeper.dp.outbound.v1.ComputerMacInstallHistory.prototype.getName = function() {
85161
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
85162
+ };
85163
+
85164
+
85165
+ /**
85166
+ * @param {string} value
85167
+ * @return {!proto.com.lansweeper.dp.outbound.v1.ComputerMacInstallHistory} returns this
85168
+ */
85169
+ proto.com.lansweeper.dp.outbound.v1.ComputerMacInstallHistory.prototype.setName = function(value) {
85170
+ return jspb.Message.setField(this, 1, value);
85171
+ };
85172
+
85173
+
85174
+ /**
85175
+ * Clears the field making it undefined.
85176
+ * @return {!proto.com.lansweeper.dp.outbound.v1.ComputerMacInstallHistory} returns this
85177
+ */
85178
+ proto.com.lansweeper.dp.outbound.v1.ComputerMacInstallHistory.prototype.clearName = function() {
85179
+ return jspb.Message.setField(this, 1, undefined);
85180
+ };
85181
+
85182
+
85183
+ /**
85184
+ * Returns whether this field is set.
85185
+ * @return {boolean}
85186
+ */
85187
+ proto.com.lansweeper.dp.outbound.v1.ComputerMacInstallHistory.prototype.hasName = function() {
85188
+ return jspb.Message.getField(this, 1) != null;
85189
+ };
85190
+
85191
+
85192
+ /**
85193
+ * optional string install_date = 2;
85194
+ * @return {string}
85195
+ */
85196
+ proto.com.lansweeper.dp.outbound.v1.ComputerMacInstallHistory.prototype.getInstallDate = function() {
85197
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
85198
+ };
85199
+
85200
+
85201
+ /**
85202
+ * @param {string} value
85203
+ * @return {!proto.com.lansweeper.dp.outbound.v1.ComputerMacInstallHistory} returns this
85204
+ */
85205
+ proto.com.lansweeper.dp.outbound.v1.ComputerMacInstallHistory.prototype.setInstallDate = function(value) {
85206
+ return jspb.Message.setField(this, 2, value);
85207
+ };
85208
+
85209
+
85210
+ /**
85211
+ * Clears the field making it undefined.
85212
+ * @return {!proto.com.lansweeper.dp.outbound.v1.ComputerMacInstallHistory} returns this
85213
+ */
85214
+ proto.com.lansweeper.dp.outbound.v1.ComputerMacInstallHistory.prototype.clearInstallDate = function() {
85215
+ return jspb.Message.setField(this, 2, undefined);
85216
+ };
85217
+
85218
+
85219
+ /**
85220
+ * Returns whether this field is set.
85221
+ * @return {boolean}
85222
+ */
85223
+ proto.com.lansweeper.dp.outbound.v1.ComputerMacInstallHistory.prototype.hasInstallDate = function() {
85224
+ return jspb.Message.getField(this, 2) != null;
85225
+ };
85226
+
85227
+
85228
+ /**
85229
+ * optional string install_version = 3;
85230
+ * @return {string}
85231
+ */
85232
+ proto.com.lansweeper.dp.outbound.v1.ComputerMacInstallHistory.prototype.getInstallVersion = function() {
85233
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
85234
+ };
85235
+
85236
+
85237
+ /**
85238
+ * @param {string} value
85239
+ * @return {!proto.com.lansweeper.dp.outbound.v1.ComputerMacInstallHistory} returns this
85240
+ */
85241
+ proto.com.lansweeper.dp.outbound.v1.ComputerMacInstallHistory.prototype.setInstallVersion = function(value) {
85242
+ return jspb.Message.setField(this, 3, value);
85243
+ };
85244
+
85245
+
85246
+ /**
85247
+ * Clears the field making it undefined.
85248
+ * @return {!proto.com.lansweeper.dp.outbound.v1.ComputerMacInstallHistory} returns this
85249
+ */
85250
+ proto.com.lansweeper.dp.outbound.v1.ComputerMacInstallHistory.prototype.clearInstallVersion = function() {
85251
+ return jspb.Message.setField(this, 3, undefined);
85252
+ };
85253
+
85254
+
85255
+ /**
85256
+ * Returns whether this field is set.
85257
+ * @return {boolean}
85258
+ */
85259
+ proto.com.lansweeper.dp.outbound.v1.ComputerMacInstallHistory.prototype.hasInstallVersion = function() {
85260
+ return jspb.Message.getField(this, 3) != null;
85261
+ };
85262
+
85263
+
85264
+ /**
85265
+ * optional string package_source = 4;
85266
+ * @return {string}
85267
+ */
85268
+ proto.com.lansweeper.dp.outbound.v1.ComputerMacInstallHistory.prototype.getPackageSource = function() {
85269
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
85270
+ };
85271
+
85272
+
85273
+ /**
85274
+ * @param {string} value
85275
+ * @return {!proto.com.lansweeper.dp.outbound.v1.ComputerMacInstallHistory} returns this
85276
+ */
85277
+ proto.com.lansweeper.dp.outbound.v1.ComputerMacInstallHistory.prototype.setPackageSource = function(value) {
85278
+ return jspb.Message.setField(this, 4, value);
85279
+ };
85280
+
85281
+
85282
+ /**
85283
+ * Clears the field making it undefined.
85284
+ * @return {!proto.com.lansweeper.dp.outbound.v1.ComputerMacInstallHistory} returns this
85285
+ */
85286
+ proto.com.lansweeper.dp.outbound.v1.ComputerMacInstallHistory.prototype.clearPackageSource = function() {
85287
+ return jspb.Message.setField(this, 4, undefined);
85288
+ };
85289
+
85290
+
85291
+ /**
85292
+ * Returns whether this field is set.
85293
+ * @return {boolean}
85294
+ */
85295
+ proto.com.lansweeper.dp.outbound.v1.ComputerMacInstallHistory.prototype.hasPackageSource = function() {
85296
+ return jspb.Message.getField(this, 4) != null;
85297
+ };
85298
+
85299
+
85300
+
85301
+
85302
+
84686
85303
  if (jspb.Message.GENERATE_TO_OBJECT) {
84687
85304
  /**
84688
85305
  * Creates an object representation of this proto.