@lansweeper/data-platform-outbound-grpc 0.1.88 → 0.1.89

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.
@@ -149,6 +149,8 @@ goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.SetIpLocationConfigRespon
149
149
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.SharedPermission', null, global);
150
150
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.SharedResource', null, global);
151
151
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.Software', null, global);
152
+ goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.SoftwareChangeEvent', null, global);
153
+ goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.SoftwareChangeEvent.EventType', null, global);
152
154
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.SoftwareInventory', null, global);
153
155
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.SoundCard', null, global);
154
156
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.SourceInfo', null, global);
@@ -3059,6 +3061,27 @@ if (goog.DEBUG && !COMPILED) {
3059
3061
  */
3060
3062
  proto.com.lansweeper.dp.outbound.v1.RawSoftware.displayName = 'proto.com.lansweeper.dp.outbound.v1.RawSoftware';
3061
3063
  }
3064
+ /**
3065
+ * Generated by JsPbCodeGenerator.
3066
+ * @param {Array=} opt_data Optional initial data array, typically from a
3067
+ * server response, or constructed directly in Javascript. The array is used
3068
+ * in place and becomes part of the constructed object. It is not cloned.
3069
+ * If no data is provided, the constructed object will be empty, but still
3070
+ * valid.
3071
+ * @extends {jspb.Message}
3072
+ * @constructor
3073
+ */
3074
+ proto.com.lansweeper.dp.outbound.v1.SoftwareChangeEvent = function(opt_data) {
3075
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
3076
+ };
3077
+ goog.inherits(proto.com.lansweeper.dp.outbound.v1.SoftwareChangeEvent, jspb.Message);
3078
+ if (goog.DEBUG && !COMPILED) {
3079
+ /**
3080
+ * @public
3081
+ * @override
3082
+ */
3083
+ proto.com.lansweeper.dp.outbound.v1.SoftwareChangeEvent.displayName = 'proto.com.lansweeper.dp.outbound.v1.SoftwareChangeEvent';
3084
+ }
3062
3085
  /**
3063
3086
  * Generated by JsPbCodeGenerator.
3064
3087
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -11894,7 +11917,7 @@ proto.com.lansweeper.dp.outbound.v1.CloudEntity.prototype.setCategory = function
11894
11917
  * @private {!Array<number>}
11895
11918
  * @const
11896
11919
  */
11897
- proto.com.lansweeper.dp.outbound.v1.OtModule.repeatedFields_ = [5,10];
11920
+ proto.com.lansweeper.dp.outbound.v1.OtModule.repeatedFields_ = [2,5,10];
11898
11921
 
11899
11922
 
11900
11923
 
@@ -11928,7 +11951,8 @@ proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.toObject = function(opt_i
11928
11951
  proto.com.lansweeper.dp.outbound.v1.OtModule.toObject = function(includeInstance, msg) {
11929
11952
  var f, obj = {
11930
11953
  componentType: jspb.Message.getFieldWithDefault(msg, 1, ""),
11931
- busConfig: (f = msg.getBusConfig()) && proto.com.lansweeper.dp.outbound.v1.OtBusConfig.toObject(includeInstance, f),
11954
+ busConfigList: jspb.Message.toObjectList(msg.getBusConfigList(),
11955
+ proto.com.lansweeper.dp.outbound.v1.OtBusConfig.toObject, includeInstance),
11932
11956
  isMainModule: jspb.Message.getBooleanFieldWithDefault(msg, 3, false),
11933
11957
  partNumber: jspb.Message.getFieldWithDefault(msg, 4, ""),
11934
11958
  extInfoList: jspb.Message.toObjectList(msg.getExtInfoList(),
@@ -11982,7 +12006,7 @@ proto.com.lansweeper.dp.outbound.v1.OtModule.deserializeBinaryFromReader = funct
11982
12006
  case 2:
11983
12007
  var value = new proto.com.lansweeper.dp.outbound.v1.OtBusConfig;
11984
12008
  reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.OtBusConfig.deserializeBinaryFromReader);
11985
- msg.setBusConfig(value);
12009
+ msg.addBusConfig(value);
11986
12010
  break;
11987
12011
  case 3:
11988
12012
  var value = /** @type {boolean} */ (reader.readBool());
@@ -12055,9 +12079,9 @@ proto.com.lansweeper.dp.outbound.v1.OtModule.serializeBinaryToWriter = function(
12055
12079
  f
12056
12080
  );
12057
12081
  }
12058
- f = message.getBusConfig();
12059
- if (f != null) {
12060
- writer.writeMessage(
12082
+ f = message.getBusConfigList();
12083
+ if (f.length > 0) {
12084
+ writer.writeRepeatedMessage(
12061
12085
  2,
12062
12086
  f,
12063
12087
  proto.com.lansweeper.dp.outbound.v1.OtBusConfig.serializeBinaryToWriter
@@ -12162,39 +12186,40 @@ proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.hasComponentType = functi
12162
12186
 
12163
12187
 
12164
12188
  /**
12165
- * optional OtBusConfig bus_config = 2;
12166
- * @return {?proto.com.lansweeper.dp.outbound.v1.OtBusConfig}
12189
+ * repeated OtBusConfig bus_config = 2;
12190
+ * @return {!Array<!proto.com.lansweeper.dp.outbound.v1.OtBusConfig>}
12167
12191
  */
12168
- proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.getBusConfig = function() {
12169
- return /** @type{?proto.com.lansweeper.dp.outbound.v1.OtBusConfig} */ (
12170
- jspb.Message.getWrapperField(this, proto.com.lansweeper.dp.outbound.v1.OtBusConfig, 2));
12192
+ proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.getBusConfigList = function() {
12193
+ return /** @type{!Array<!proto.com.lansweeper.dp.outbound.v1.OtBusConfig>} */ (
12194
+ jspb.Message.getRepeatedWrapperField(this, proto.com.lansweeper.dp.outbound.v1.OtBusConfig, 2));
12171
12195
  };
12172
12196
 
12173
12197
 
12174
12198
  /**
12175
- * @param {?proto.com.lansweeper.dp.outbound.v1.OtBusConfig|undefined} value
12199
+ * @param {!Array<!proto.com.lansweeper.dp.outbound.v1.OtBusConfig>} value
12176
12200
  * @return {!proto.com.lansweeper.dp.outbound.v1.OtModule} returns this
12177
12201
  */
12178
- proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.setBusConfig = function(value) {
12179
- return jspb.Message.setWrapperField(this, 2, value);
12202
+ proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.setBusConfigList = function(value) {
12203
+ return jspb.Message.setRepeatedWrapperField(this, 2, value);
12180
12204
  };
12181
12205
 
12182
12206
 
12183
12207
  /**
12184
- * Clears the message field making it undefined.
12185
- * @return {!proto.com.lansweeper.dp.outbound.v1.OtModule} returns this
12208
+ * @param {!proto.com.lansweeper.dp.outbound.v1.OtBusConfig=} opt_value
12209
+ * @param {number=} opt_index
12210
+ * @return {!proto.com.lansweeper.dp.outbound.v1.OtBusConfig}
12186
12211
  */
12187
- proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.clearBusConfig = function() {
12188
- return this.setBusConfig(undefined);
12212
+ proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.addBusConfig = function(opt_value, opt_index) {
12213
+ return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.com.lansweeper.dp.outbound.v1.OtBusConfig, opt_index);
12189
12214
  };
12190
12215
 
12191
12216
 
12192
12217
  /**
12193
- * Returns whether this field is set.
12194
- * @return {boolean}
12218
+ * Clears the list making it empty but non-null.
12219
+ * @return {!proto.com.lansweeper.dp.outbound.v1.OtModule} returns this
12195
12220
  */
12196
- proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.hasBusConfig = function() {
12197
- return jspb.Message.getField(this, 2) != null;
12221
+ proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.clearBusConfigList = function() {
12222
+ return this.setBusConfigList([]);
12198
12223
  };
12199
12224
 
12200
12225
 
@@ -12493,7 +12518,8 @@ proto.com.lansweeper.dp.outbound.v1.OtBusConfig.toObject = function(includeInsta
12493
12518
  size: jspb.Message.getFieldWithDefault(msg, 4, 0),
12494
12519
  startIndex: jspb.Message.getFieldWithDefault(msg, 7, 0),
12495
12520
  position: jspb.Message.getFieldWithDefault(msg, 5, 0),
12496
- width: jspb.Message.getFieldWithDefault(msg, 6, 0)
12521
+ width: jspb.Message.getFieldWithDefault(msg, 6, 0),
12522
+ isMainModule: jspb.Message.getBooleanFieldWithDefault(msg, 8, false)
12497
12523
  };
12498
12524
 
12499
12525
  if (includeInstance) {
@@ -12558,6 +12584,10 @@ proto.com.lansweeper.dp.outbound.v1.OtBusConfig.deserializeBinaryFromReader = fu
12558
12584
  var value = /** @type {number} */ (reader.readInt32());
12559
12585
  msg.setWidth(value);
12560
12586
  break;
12587
+ case 8:
12588
+ var value = /** @type {boolean} */ (reader.readBool());
12589
+ msg.setIsMainModule(value);
12590
+ break;
12561
12591
  default:
12562
12592
  reader.skipField();
12563
12593
  break;
@@ -12636,6 +12666,13 @@ proto.com.lansweeper.dp.outbound.v1.OtBusConfig.serializeBinaryToWriter = functi
12636
12666
  f
12637
12667
  );
12638
12668
  }
12669
+ f = /** @type {boolean} */ (jspb.Message.getField(message, 8));
12670
+ if (f != null) {
12671
+ writer.writeBool(
12672
+ 8,
12673
+ f
12674
+ );
12675
+ }
12639
12676
  };
12640
12677
 
12641
12678
 
@@ -12837,6 +12874,42 @@ proto.com.lansweeper.dp.outbound.v1.OtBusConfig.prototype.hasWidth = function()
12837
12874
  };
12838
12875
 
12839
12876
 
12877
+ /**
12878
+ * optional bool is_main_module = 8;
12879
+ * @return {boolean}
12880
+ */
12881
+ proto.com.lansweeper.dp.outbound.v1.OtBusConfig.prototype.getIsMainModule = function() {
12882
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 8, false));
12883
+ };
12884
+
12885
+
12886
+ /**
12887
+ * @param {boolean} value
12888
+ * @return {!proto.com.lansweeper.dp.outbound.v1.OtBusConfig} returns this
12889
+ */
12890
+ proto.com.lansweeper.dp.outbound.v1.OtBusConfig.prototype.setIsMainModule = function(value) {
12891
+ return jspb.Message.setField(this, 8, value);
12892
+ };
12893
+
12894
+
12895
+ /**
12896
+ * Clears the field making it undefined.
12897
+ * @return {!proto.com.lansweeper.dp.outbound.v1.OtBusConfig} returns this
12898
+ */
12899
+ proto.com.lansweeper.dp.outbound.v1.OtBusConfig.prototype.clearIsMainModule = function() {
12900
+ return jspb.Message.setField(this, 8, undefined);
12901
+ };
12902
+
12903
+
12904
+ /**
12905
+ * Returns whether this field is set.
12906
+ * @return {boolean}
12907
+ */
12908
+ proto.com.lansweeper.dp.outbound.v1.OtBusConfig.prototype.hasIsMainModule = function() {
12909
+ return jspb.Message.getField(this, 8) != null;
12910
+ };
12911
+
12912
+
12840
12913
 
12841
12914
 
12842
12915
 
@@ -71619,7 +71692,7 @@ proto.com.lansweeper.dp.outbound.v1.IpInfo.prototype.hasOrganization = function(
71619
71692
  * @private {!Array<number>}
71620
71693
  * @const
71621
71694
  */
71622
- proto.com.lansweeper.dp.outbound.v1.SoftwareInventory.repeatedFields_ = [2];
71695
+ proto.com.lansweeper.dp.outbound.v1.SoftwareInventory.repeatedFields_ = [2,3];
71623
71696
 
71624
71697
 
71625
71698
 
@@ -71654,7 +71727,9 @@ proto.com.lansweeper.dp.outbound.v1.SoftwareInventory.toObject = function(includ
71654
71727
  var f, obj = {
71655
71728
  timestamp: (f = msg.getTimestamp()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
71656
71729
  softwareList: jspb.Message.toObjectList(msg.getSoftwareList(),
71657
- proto.com.lansweeper.dp.outbound.v1.Software.toObject, includeInstance)
71730
+ proto.com.lansweeper.dp.outbound.v1.Software.toObject, includeInstance),
71731
+ eventLogList: jspb.Message.toObjectList(msg.getEventLogList(),
71732
+ proto.com.lansweeper.dp.outbound.v1.SoftwareChangeEvent.toObject, includeInstance)
71658
71733
  };
71659
71734
 
71660
71735
  if (includeInstance) {
@@ -71701,6 +71776,11 @@ proto.com.lansweeper.dp.outbound.v1.SoftwareInventory.deserializeBinaryFromReade
71701
71776
  reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.Software.deserializeBinaryFromReader);
71702
71777
  msg.addSoftware(value);
71703
71778
  break;
71779
+ case 3:
71780
+ var value = new proto.com.lansweeper.dp.outbound.v1.SoftwareChangeEvent;
71781
+ reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.SoftwareChangeEvent.deserializeBinaryFromReader);
71782
+ msg.addEventLog(value);
71783
+ break;
71704
71784
  default:
71705
71785
  reader.skipField();
71706
71786
  break;
@@ -71746,6 +71826,14 @@ proto.com.lansweeper.dp.outbound.v1.SoftwareInventory.serializeBinaryToWriter =
71746
71826
  proto.com.lansweeper.dp.outbound.v1.Software.serializeBinaryToWriter
71747
71827
  );
71748
71828
  }
71829
+ f = message.getEventLogList();
71830
+ if (f.length > 0) {
71831
+ writer.writeRepeatedMessage(
71832
+ 3,
71833
+ f,
71834
+ proto.com.lansweeper.dp.outbound.v1.SoftwareChangeEvent.serializeBinaryToWriter
71835
+ );
71836
+ }
71749
71837
  };
71750
71838
 
71751
71839
 
@@ -71824,6 +71912,44 @@ proto.com.lansweeper.dp.outbound.v1.SoftwareInventory.prototype.clearSoftwareLis
71824
71912
  };
71825
71913
 
71826
71914
 
71915
+ /**
71916
+ * repeated SoftwareChangeEvent event_log = 3;
71917
+ * @return {!Array<!proto.com.lansweeper.dp.outbound.v1.SoftwareChangeEvent>}
71918
+ */
71919
+ proto.com.lansweeper.dp.outbound.v1.SoftwareInventory.prototype.getEventLogList = function() {
71920
+ return /** @type{!Array<!proto.com.lansweeper.dp.outbound.v1.SoftwareChangeEvent>} */ (
71921
+ jspb.Message.getRepeatedWrapperField(this, proto.com.lansweeper.dp.outbound.v1.SoftwareChangeEvent, 3));
71922
+ };
71923
+
71924
+
71925
+ /**
71926
+ * @param {!Array<!proto.com.lansweeper.dp.outbound.v1.SoftwareChangeEvent>} value
71927
+ * @return {!proto.com.lansweeper.dp.outbound.v1.SoftwareInventory} returns this
71928
+ */
71929
+ proto.com.lansweeper.dp.outbound.v1.SoftwareInventory.prototype.setEventLogList = function(value) {
71930
+ return jspb.Message.setRepeatedWrapperField(this, 3, value);
71931
+ };
71932
+
71933
+
71934
+ /**
71935
+ * @param {!proto.com.lansweeper.dp.outbound.v1.SoftwareChangeEvent=} opt_value
71936
+ * @param {number=} opt_index
71937
+ * @return {!proto.com.lansweeper.dp.outbound.v1.SoftwareChangeEvent}
71938
+ */
71939
+ proto.com.lansweeper.dp.outbound.v1.SoftwareInventory.prototype.addEventLog = function(opt_value, opt_index) {
71940
+ return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.com.lansweeper.dp.outbound.v1.SoftwareChangeEvent, opt_index);
71941
+ };
71942
+
71943
+
71944
+ /**
71945
+ * Clears the list making it empty but non-null.
71946
+ * @return {!proto.com.lansweeper.dp.outbound.v1.SoftwareInventory} returns this
71947
+ */
71948
+ proto.com.lansweeper.dp.outbound.v1.SoftwareInventory.prototype.clearEventLogList = function() {
71949
+ return this.setEventLogList([]);
71950
+ };
71951
+
71952
+
71827
71953
 
71828
71954
 
71829
71955
 
@@ -73608,6 +73734,349 @@ proto.com.lansweeper.dp.outbound.v1.RawSoftware.prototype.hasIsCurrentUser = fun
73608
73734
 
73609
73735
 
73610
73736
 
73737
+ if (jspb.Message.GENERATE_TO_OBJECT) {
73738
+ /**
73739
+ * Creates an object representation of this proto.
73740
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
73741
+ * Optional fields that are not set will be set to undefined.
73742
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
73743
+ * For the list of reserved names please see:
73744
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
73745
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
73746
+ * JSPB instance for transitional soy proto support:
73747
+ * http://goto/soy-param-migration
73748
+ * @return {!Object}
73749
+ */
73750
+ proto.com.lansweeper.dp.outbound.v1.SoftwareChangeEvent.prototype.toObject = function(opt_includeInstance) {
73751
+ return proto.com.lansweeper.dp.outbound.v1.SoftwareChangeEvent.toObject(opt_includeInstance, this);
73752
+ };
73753
+
73754
+
73755
+ /**
73756
+ * Static version of the {@see toObject} method.
73757
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
73758
+ * the JSPB instance for transitional soy proto support:
73759
+ * http://goto/soy-param-migration
73760
+ * @param {!proto.com.lansweeper.dp.outbound.v1.SoftwareChangeEvent} msg The msg instance to transform.
73761
+ * @return {!Object}
73762
+ * @suppress {unusedLocalVariables} f is only used for nested messages
73763
+ */
73764
+ proto.com.lansweeper.dp.outbound.v1.SoftwareChangeEvent.toObject = function(includeInstance, msg) {
73765
+ var f, obj = {
73766
+ eventType: jspb.Message.getFieldWithDefault(msg, 1, 0),
73767
+ start: (f = msg.getStart()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
73768
+ end: (f = msg.getEnd()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
73769
+ software: (f = msg.getSoftware()) && proto.com.lansweeper.dp.outbound.v1.Software.toObject(includeInstance, f),
73770
+ prevSoftware: (f = msg.getPrevSoftware()) && proto.com.lansweeper.dp.outbound.v1.Software.toObject(includeInstance, f)
73771
+ };
73772
+
73773
+ if (includeInstance) {
73774
+ obj.$jspbMessageInstance = msg;
73775
+ }
73776
+ return obj;
73777
+ };
73778
+ }
73779
+
73780
+
73781
+ /**
73782
+ * Deserializes binary data (in protobuf wire format).
73783
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
73784
+ * @return {!proto.com.lansweeper.dp.outbound.v1.SoftwareChangeEvent}
73785
+ */
73786
+ proto.com.lansweeper.dp.outbound.v1.SoftwareChangeEvent.deserializeBinary = function(bytes) {
73787
+ var reader = new jspb.BinaryReader(bytes);
73788
+ var msg = new proto.com.lansweeper.dp.outbound.v1.SoftwareChangeEvent;
73789
+ return proto.com.lansweeper.dp.outbound.v1.SoftwareChangeEvent.deserializeBinaryFromReader(msg, reader);
73790
+ };
73791
+
73792
+
73793
+ /**
73794
+ * Deserializes binary data (in protobuf wire format) from the
73795
+ * given reader into the given message object.
73796
+ * @param {!proto.com.lansweeper.dp.outbound.v1.SoftwareChangeEvent} msg The message object to deserialize into.
73797
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
73798
+ * @return {!proto.com.lansweeper.dp.outbound.v1.SoftwareChangeEvent}
73799
+ */
73800
+ proto.com.lansweeper.dp.outbound.v1.SoftwareChangeEvent.deserializeBinaryFromReader = function(msg, reader) {
73801
+ while (reader.nextField()) {
73802
+ if (reader.isEndGroup()) {
73803
+ break;
73804
+ }
73805
+ var field = reader.getFieldNumber();
73806
+ switch (field) {
73807
+ case 1:
73808
+ var value = /** @type {!proto.com.lansweeper.dp.outbound.v1.SoftwareChangeEvent.EventType} */ (reader.readEnum());
73809
+ msg.setEventType(value);
73810
+ break;
73811
+ case 2:
73812
+ var value = new google_protobuf_timestamp_pb.Timestamp;
73813
+ reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
73814
+ msg.setStart(value);
73815
+ break;
73816
+ case 3:
73817
+ var value = new google_protobuf_timestamp_pb.Timestamp;
73818
+ reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
73819
+ msg.setEnd(value);
73820
+ break;
73821
+ case 4:
73822
+ var value = new proto.com.lansweeper.dp.outbound.v1.Software;
73823
+ reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.Software.deserializeBinaryFromReader);
73824
+ msg.setSoftware(value);
73825
+ break;
73826
+ case 5:
73827
+ var value = new proto.com.lansweeper.dp.outbound.v1.Software;
73828
+ reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.Software.deserializeBinaryFromReader);
73829
+ msg.setPrevSoftware(value);
73830
+ break;
73831
+ default:
73832
+ reader.skipField();
73833
+ break;
73834
+ }
73835
+ }
73836
+ return msg;
73837
+ };
73838
+
73839
+
73840
+ /**
73841
+ * Serializes the message to binary data (in protobuf wire format).
73842
+ * @return {!Uint8Array}
73843
+ */
73844
+ proto.com.lansweeper.dp.outbound.v1.SoftwareChangeEvent.prototype.serializeBinary = function() {
73845
+ var writer = new jspb.BinaryWriter();
73846
+ proto.com.lansweeper.dp.outbound.v1.SoftwareChangeEvent.serializeBinaryToWriter(this, writer);
73847
+ return writer.getResultBuffer();
73848
+ };
73849
+
73850
+
73851
+ /**
73852
+ * Serializes the given message to binary data (in protobuf wire
73853
+ * format), writing to the given BinaryWriter.
73854
+ * @param {!proto.com.lansweeper.dp.outbound.v1.SoftwareChangeEvent} message
73855
+ * @param {!jspb.BinaryWriter} writer
73856
+ * @suppress {unusedLocalVariables} f is only used for nested messages
73857
+ */
73858
+ proto.com.lansweeper.dp.outbound.v1.SoftwareChangeEvent.serializeBinaryToWriter = function(message, writer) {
73859
+ var f = undefined;
73860
+ f = message.getEventType();
73861
+ if (f !== 0.0) {
73862
+ writer.writeEnum(
73863
+ 1,
73864
+ f
73865
+ );
73866
+ }
73867
+ f = message.getStart();
73868
+ if (f != null) {
73869
+ writer.writeMessage(
73870
+ 2,
73871
+ f,
73872
+ google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
73873
+ );
73874
+ }
73875
+ f = message.getEnd();
73876
+ if (f != null) {
73877
+ writer.writeMessage(
73878
+ 3,
73879
+ f,
73880
+ google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
73881
+ );
73882
+ }
73883
+ f = message.getSoftware();
73884
+ if (f != null) {
73885
+ writer.writeMessage(
73886
+ 4,
73887
+ f,
73888
+ proto.com.lansweeper.dp.outbound.v1.Software.serializeBinaryToWriter
73889
+ );
73890
+ }
73891
+ f = message.getPrevSoftware();
73892
+ if (f != null) {
73893
+ writer.writeMessage(
73894
+ 5,
73895
+ f,
73896
+ proto.com.lansweeper.dp.outbound.v1.Software.serializeBinaryToWriter
73897
+ );
73898
+ }
73899
+ };
73900
+
73901
+
73902
+ /**
73903
+ * @enum {number}
73904
+ */
73905
+ proto.com.lansweeper.dp.outbound.v1.SoftwareChangeEvent.EventType = {
73906
+ INSTALL: 0,
73907
+ UNINSTALL: 1,
73908
+ UPDATE: 2
73909
+ };
73910
+
73911
+ /**
73912
+ * optional EventType event_type = 1;
73913
+ * @return {!proto.com.lansweeper.dp.outbound.v1.SoftwareChangeEvent.EventType}
73914
+ */
73915
+ proto.com.lansweeper.dp.outbound.v1.SoftwareChangeEvent.prototype.getEventType = function() {
73916
+ return /** @type {!proto.com.lansweeper.dp.outbound.v1.SoftwareChangeEvent.EventType} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
73917
+ };
73918
+
73919
+
73920
+ /**
73921
+ * @param {!proto.com.lansweeper.dp.outbound.v1.SoftwareChangeEvent.EventType} value
73922
+ * @return {!proto.com.lansweeper.dp.outbound.v1.SoftwareChangeEvent} returns this
73923
+ */
73924
+ proto.com.lansweeper.dp.outbound.v1.SoftwareChangeEvent.prototype.setEventType = function(value) {
73925
+ return jspb.Message.setProto3EnumField(this, 1, value);
73926
+ };
73927
+
73928
+
73929
+ /**
73930
+ * optional google.protobuf.Timestamp start = 2;
73931
+ * @return {?proto.google.protobuf.Timestamp}
73932
+ */
73933
+ proto.com.lansweeper.dp.outbound.v1.SoftwareChangeEvent.prototype.getStart = function() {
73934
+ return /** @type{?proto.google.protobuf.Timestamp} */ (
73935
+ jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 2));
73936
+ };
73937
+
73938
+
73939
+ /**
73940
+ * @param {?proto.google.protobuf.Timestamp|undefined} value
73941
+ * @return {!proto.com.lansweeper.dp.outbound.v1.SoftwareChangeEvent} returns this
73942
+ */
73943
+ proto.com.lansweeper.dp.outbound.v1.SoftwareChangeEvent.prototype.setStart = function(value) {
73944
+ return jspb.Message.setWrapperField(this, 2, value);
73945
+ };
73946
+
73947
+
73948
+ /**
73949
+ * Clears the message field making it undefined.
73950
+ * @return {!proto.com.lansweeper.dp.outbound.v1.SoftwareChangeEvent} returns this
73951
+ */
73952
+ proto.com.lansweeper.dp.outbound.v1.SoftwareChangeEvent.prototype.clearStart = function() {
73953
+ return this.setStart(undefined);
73954
+ };
73955
+
73956
+
73957
+ /**
73958
+ * Returns whether this field is set.
73959
+ * @return {boolean}
73960
+ */
73961
+ proto.com.lansweeper.dp.outbound.v1.SoftwareChangeEvent.prototype.hasStart = function() {
73962
+ return jspb.Message.getField(this, 2) != null;
73963
+ };
73964
+
73965
+
73966
+ /**
73967
+ * optional google.protobuf.Timestamp end = 3;
73968
+ * @return {?proto.google.protobuf.Timestamp}
73969
+ */
73970
+ proto.com.lansweeper.dp.outbound.v1.SoftwareChangeEvent.prototype.getEnd = function() {
73971
+ return /** @type{?proto.google.protobuf.Timestamp} */ (
73972
+ jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 3));
73973
+ };
73974
+
73975
+
73976
+ /**
73977
+ * @param {?proto.google.protobuf.Timestamp|undefined} value
73978
+ * @return {!proto.com.lansweeper.dp.outbound.v1.SoftwareChangeEvent} returns this
73979
+ */
73980
+ proto.com.lansweeper.dp.outbound.v1.SoftwareChangeEvent.prototype.setEnd = function(value) {
73981
+ return jspb.Message.setWrapperField(this, 3, value);
73982
+ };
73983
+
73984
+
73985
+ /**
73986
+ * Clears the message field making it undefined.
73987
+ * @return {!proto.com.lansweeper.dp.outbound.v1.SoftwareChangeEvent} returns this
73988
+ */
73989
+ proto.com.lansweeper.dp.outbound.v1.SoftwareChangeEvent.prototype.clearEnd = function() {
73990
+ return this.setEnd(undefined);
73991
+ };
73992
+
73993
+
73994
+ /**
73995
+ * Returns whether this field is set.
73996
+ * @return {boolean}
73997
+ */
73998
+ proto.com.lansweeper.dp.outbound.v1.SoftwareChangeEvent.prototype.hasEnd = function() {
73999
+ return jspb.Message.getField(this, 3) != null;
74000
+ };
74001
+
74002
+
74003
+ /**
74004
+ * optional Software software = 4;
74005
+ * @return {?proto.com.lansweeper.dp.outbound.v1.Software}
74006
+ */
74007
+ proto.com.lansweeper.dp.outbound.v1.SoftwareChangeEvent.prototype.getSoftware = function() {
74008
+ return /** @type{?proto.com.lansweeper.dp.outbound.v1.Software} */ (
74009
+ jspb.Message.getWrapperField(this, proto.com.lansweeper.dp.outbound.v1.Software, 4));
74010
+ };
74011
+
74012
+
74013
+ /**
74014
+ * @param {?proto.com.lansweeper.dp.outbound.v1.Software|undefined} value
74015
+ * @return {!proto.com.lansweeper.dp.outbound.v1.SoftwareChangeEvent} returns this
74016
+ */
74017
+ proto.com.lansweeper.dp.outbound.v1.SoftwareChangeEvent.prototype.setSoftware = function(value) {
74018
+ return jspb.Message.setWrapperField(this, 4, value);
74019
+ };
74020
+
74021
+
74022
+ /**
74023
+ * Clears the message field making it undefined.
74024
+ * @return {!proto.com.lansweeper.dp.outbound.v1.SoftwareChangeEvent} returns this
74025
+ */
74026
+ proto.com.lansweeper.dp.outbound.v1.SoftwareChangeEvent.prototype.clearSoftware = function() {
74027
+ return this.setSoftware(undefined);
74028
+ };
74029
+
74030
+
74031
+ /**
74032
+ * Returns whether this field is set.
74033
+ * @return {boolean}
74034
+ */
74035
+ proto.com.lansweeper.dp.outbound.v1.SoftwareChangeEvent.prototype.hasSoftware = function() {
74036
+ return jspb.Message.getField(this, 4) != null;
74037
+ };
74038
+
74039
+
74040
+ /**
74041
+ * optional Software prev_software = 5;
74042
+ * @return {?proto.com.lansweeper.dp.outbound.v1.Software}
74043
+ */
74044
+ proto.com.lansweeper.dp.outbound.v1.SoftwareChangeEvent.prototype.getPrevSoftware = function() {
74045
+ return /** @type{?proto.com.lansweeper.dp.outbound.v1.Software} */ (
74046
+ jspb.Message.getWrapperField(this, proto.com.lansweeper.dp.outbound.v1.Software, 5));
74047
+ };
74048
+
74049
+
74050
+ /**
74051
+ * @param {?proto.com.lansweeper.dp.outbound.v1.Software|undefined} value
74052
+ * @return {!proto.com.lansweeper.dp.outbound.v1.SoftwareChangeEvent} returns this
74053
+ */
74054
+ proto.com.lansweeper.dp.outbound.v1.SoftwareChangeEvent.prototype.setPrevSoftware = function(value) {
74055
+ return jspb.Message.setWrapperField(this, 5, value);
74056
+ };
74057
+
74058
+
74059
+ /**
74060
+ * Clears the message field making it undefined.
74061
+ * @return {!proto.com.lansweeper.dp.outbound.v1.SoftwareChangeEvent} returns this
74062
+ */
74063
+ proto.com.lansweeper.dp.outbound.v1.SoftwareChangeEvent.prototype.clearPrevSoftware = function() {
74064
+ return this.setPrevSoftware(undefined);
74065
+ };
74066
+
74067
+
74068
+ /**
74069
+ * Returns whether this field is set.
74070
+ * @return {boolean}
74071
+ */
74072
+ proto.com.lansweeper.dp.outbound.v1.SoftwareChangeEvent.prototype.hasPrevSoftware = function() {
74073
+ return jspb.Message.getField(this, 5) != null;
74074
+ };
74075
+
74076
+
74077
+
74078
+
74079
+
73611
74080
  if (jspb.Message.GENERATE_TO_OBJECT) {
73612
74081
  /**
73613
74082
  * Creates an object representation of this proto.