@lansweeper/data-platform-outbound-grpc 0.3.17 → 0.3.18

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.
Files changed (39) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/gen-proto/image.json +1 -1
  3. package/gen-proto/outbound_pb.d.ts +52 -0
  4. package/gen-proto/outbound_pb.js +370 -3
  5. package/generated-go/outbound.pb.go +9918 -9734
  6. package/java.json +1 -1
  7. package/model/pom.xml +1 -1
  8. package/model/src/main/proto/outbound.proto +19 -0
  9. package/model/target/classes/com/lansweeper/dp/outbound/v1/AssetChangeEvent$1.class +0 -0
  10. package/model/target/classes/com/lansweeper/dp/outbound/v1/AssetChangeEvent$2.class +0 -0
  11. package/model/target/classes/com/lansweeper/dp/outbound/v1/AssetChangeEvent$Builder.class +0 -0
  12. package/model/target/classes/com/lansweeper/dp/outbound/v1/AssetChangeEvent$EventCase.class +0 -0
  13. package/model/target/classes/com/lansweeper/dp/outbound/v1/AssetChangeEvent.class +0 -0
  14. package/model/target/classes/com/lansweeper/dp/outbound/v1/AssetChangeEventOrBuilder.class +0 -0
  15. package/model/target/classes/com/lansweeper/dp/outbound/v1/Outbound.class +0 -0
  16. package/model/target/classes/com/lansweeper/dp/outbound/v1/WindowsHyperVChangeEvent$1.class +0 -0
  17. package/model/target/classes/com/lansweeper/dp/outbound/v1/WindowsHyperVChangeEvent$Builder.class +0 -0
  18. package/model/target/classes/com/lansweeper/dp/outbound/v1/WindowsHyperVChangeEvent$EventType$1.class +0 -0
  19. package/model/target/classes/com/lansweeper/dp/outbound/v1/WindowsHyperVChangeEvent$EventType.class +0 -0
  20. package/model/target/classes/com/lansweeper/dp/outbound/v1/WindowsHyperVChangeEvent.class +0 -0
  21. package/model/target/classes/com/lansweeper/dp/outbound/v1/WindowsHyperVChangeEventOrBuilder.class +0 -0
  22. package/model/target/classes/outbound.proto +19 -0
  23. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/AssetChangeEvent.java +256 -0
  24. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/AssetChangeEventOrBuilder.java +27 -0
  25. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Outbound.java +2889 -2868
  26. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/WindowsHyperVChangeEvent.java +1190 -0
  27. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/WindowsHyperVChangeEventOrBuilder.java +66 -0
  28. package/model/target/maven-archiver/pom.properties +2 -2
  29. package/model/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst +6 -0
  30. package/model/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst +2 -0
  31. package/model/target/{outbound-model-0.3.16-sources.jar → outbound-model-0.3.17-sources.jar} +0 -0
  32. package/model/target/{outbound-model-0.3.16.jar → outbound-model-0.3.17.jar} +0 -0
  33. package/package.json +2 -2
  34. package/pom.xml +1 -1
  35. package/proto/outbound.proto +19 -0
  36. package/service/pom.xml +1 -1
  37. package/service/target/maven-archiver/pom.properties +2 -2
  38. package/service/target/{outbound-service-0.3.16-sources.jar → outbound-service-0.3.17-sources.jar} +0 -0
  39. package/service/target/{outbound-service-0.3.16.jar → outbound-service-0.3.17.jar} +0 -0
@@ -818,6 +818,11 @@ export class AssetChangeEvent extends jspb.Message {
818
818
  getSqlServer(): WindowsSqlServerChangeEvent | undefined;
819
819
  setSqlServer(value?: WindowsSqlServerChangeEvent): AssetChangeEvent;
820
820
 
821
+ hasHyperV(): boolean;
822
+ clearHyperV(): void;
823
+ getHyperV(): WindowsHyperVChangeEvent | undefined;
824
+ setHyperV(value?: WindowsHyperVChangeEvent): AssetChangeEvent;
825
+
821
826
  getEventCase(): AssetChangeEvent.EventCase;
822
827
 
823
828
  serializeBinary(): Uint8Array;
@@ -836,6 +841,7 @@ export namespace AssetChangeEvent {
836
841
  sw?: SoftwareChangeEvent.AsObject,
837
842
  os?: OperatingSystemChangeEvent.AsObject,
838
843
  sqlServer?: WindowsSqlServerChangeEvent.AsObject,
844
+ hyperV?: WindowsHyperVChangeEvent.AsObject,
839
845
  }
840
846
 
841
847
  export enum EventCase {
@@ -843,6 +849,7 @@ export namespace AssetChangeEvent {
843
849
  SW = 2,
844
850
  OS = 3,
845
851
  SQL_SERVER = 4,
852
+ HYPER_V = 5,
846
853
  }
847
854
 
848
855
  }
@@ -3679,6 +3686,51 @@ export namespace WindowsSqlServerChangeEvent {
3679
3686
 
3680
3687
  }
3681
3688
 
3689
+ export class WindowsHyperVChangeEvent extends jspb.Message {
3690
+ getEventType(): WindowsHyperVChangeEvent.EventType;
3691
+ setEventType(value: WindowsHyperVChangeEvent.EventType): WindowsHyperVChangeEvent;
3692
+
3693
+ hasStart(): boolean;
3694
+ clearStart(): void;
3695
+ getStart(): google_protobuf_timestamp_pb.Timestamp | undefined;
3696
+ setStart(value?: google_protobuf_timestamp_pb.Timestamp): WindowsHyperVChangeEvent;
3697
+
3698
+ hasEnd(): boolean;
3699
+ clearEnd(): void;
3700
+ getEnd(): google_protobuf_timestamp_pb.Timestamp | undefined;
3701
+ setEnd(value?: google_protobuf_timestamp_pb.Timestamp): WindowsHyperVChangeEvent;
3702
+
3703
+ hasHyperV(): boolean;
3704
+ clearHyperV(): void;
3705
+ getHyperV(): HyperV | undefined;
3706
+ setHyperV(value?: HyperV): WindowsHyperVChangeEvent;
3707
+
3708
+ serializeBinary(): Uint8Array;
3709
+ toObject(includeInstance?: boolean): WindowsHyperVChangeEvent.AsObject;
3710
+ static toObject(includeInstance: boolean, msg: WindowsHyperVChangeEvent): WindowsHyperVChangeEvent.AsObject;
3711
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
3712
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
3713
+ static serializeBinaryToWriter(message: WindowsHyperVChangeEvent, writer: jspb.BinaryWriter): void;
3714
+ static deserializeBinary(bytes: Uint8Array): WindowsHyperVChangeEvent;
3715
+ static deserializeBinaryFromReader(message: WindowsHyperVChangeEvent, reader: jspb.BinaryReader): WindowsHyperVChangeEvent;
3716
+ }
3717
+
3718
+ export namespace WindowsHyperVChangeEvent {
3719
+ export type AsObject = {
3720
+ eventType: WindowsHyperVChangeEvent.EventType,
3721
+ start?: google_protobuf_timestamp_pb.Timestamp.AsObject,
3722
+ end?: google_protobuf_timestamp_pb.Timestamp.AsObject,
3723
+ hyperV?: HyperV.AsObject,
3724
+ }
3725
+
3726
+ export enum EventType {
3727
+ INSTALL = 0,
3728
+ UNINSTALL = 1,
3729
+ UPDATE = 2,
3730
+ }
3731
+
3732
+ }
3733
+
3682
3734
  export class HardwareInfo extends jspb.Message {
3683
3735
 
3684
3736
  hasTypeId(): boolean;
@@ -256,6 +256,8 @@ goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.WindowsCertificateEnhance
256
256
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.WindowsCertificateLocation', null, global);
257
257
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.WindowsComputerBattery', null, global);
258
258
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.WindowsComputerSystem', null, global);
259
+ goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.WindowsHyperVChangeEvent', null, global);
260
+ goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.WindowsHyperVChangeEvent.EventType', null, global);
259
261
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.WindowsMappedDrive', null, global);
260
262
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.WindowsMonitorInfo', null, global);
261
263
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.WindowsOperatingSystemInfo', null, global);
@@ -1595,6 +1597,27 @@ if (goog.DEBUG && !COMPILED) {
1595
1597
  */
1596
1598
  proto.com.lansweeper.dp.outbound.v1.WindowsSqlServerChangeEvent.displayName = 'proto.com.lansweeper.dp.outbound.v1.WindowsSqlServerChangeEvent';
1597
1599
  }
1600
+ /**
1601
+ * Generated by JsPbCodeGenerator.
1602
+ * @param {Array=} opt_data Optional initial data array, typically from a
1603
+ * server response, or constructed directly in Javascript. The array is used
1604
+ * in place and becomes part of the constructed object. It is not cloned.
1605
+ * If no data is provided, the constructed object will be empty, but still
1606
+ * valid.
1607
+ * @extends {jspb.Message}
1608
+ * @constructor
1609
+ */
1610
+ proto.com.lansweeper.dp.outbound.v1.WindowsHyperVChangeEvent = function(opt_data) {
1611
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1612
+ };
1613
+ goog.inherits(proto.com.lansweeper.dp.outbound.v1.WindowsHyperVChangeEvent, jspb.Message);
1614
+ if (goog.DEBUG && !COMPILED) {
1615
+ /**
1616
+ * @public
1617
+ * @override
1618
+ */
1619
+ proto.com.lansweeper.dp.outbound.v1.WindowsHyperVChangeEvent.displayName = 'proto.com.lansweeper.dp.outbound.v1.WindowsHyperVChangeEvent';
1620
+ }
1598
1621
  /**
1599
1622
  * Generated by JsPbCodeGenerator.
1600
1623
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -11061,7 +11084,7 @@ proto.com.lansweeper.dp.outbound.v1.Asset.prototype.hasIntuneDevice = function()
11061
11084
  * @private {!Array<!Array<number>>}
11062
11085
  * @const
11063
11086
  */
11064
- proto.com.lansweeper.dp.outbound.v1.AssetChangeEvent.oneofGroups_ = [[2,3,4]];
11087
+ proto.com.lansweeper.dp.outbound.v1.AssetChangeEvent.oneofGroups_ = [[2,3,4,5]];
11065
11088
 
11066
11089
  /**
11067
11090
  * @enum {number}
@@ -11070,7 +11093,8 @@ proto.com.lansweeper.dp.outbound.v1.AssetChangeEvent.EventCase = {
11070
11093
  EVENT_NOT_SET: 0,
11071
11094
  SW: 2,
11072
11095
  OS: 3,
11073
- SQL_SERVER: 4
11096
+ SQL_SERVER: 4,
11097
+ HYPER_V: 5
11074
11098
  };
11075
11099
 
11076
11100
  /**
@@ -11114,7 +11138,8 @@ proto.com.lansweeper.dp.outbound.v1.AssetChangeEvent.toObject = function(include
11114
11138
  timestamp: (f = msg.getTimestamp()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
11115
11139
  sw: (f = msg.getSw()) && proto.com.lansweeper.dp.outbound.v1.SoftwareChangeEvent.toObject(includeInstance, f),
11116
11140
  os: (f = msg.getOs()) && proto.com.lansweeper.dp.outbound.v1.OperatingSystemChangeEvent.toObject(includeInstance, f),
11117
- sqlServer: (f = msg.getSqlServer()) && proto.com.lansweeper.dp.outbound.v1.WindowsSqlServerChangeEvent.toObject(includeInstance, f)
11141
+ sqlServer: (f = msg.getSqlServer()) && proto.com.lansweeper.dp.outbound.v1.WindowsSqlServerChangeEvent.toObject(includeInstance, f),
11142
+ hyperV: (f = msg.getHyperV()) && proto.com.lansweeper.dp.outbound.v1.WindowsHyperVChangeEvent.toObject(includeInstance, f)
11118
11143
  };
11119
11144
 
11120
11145
  if (includeInstance) {
@@ -11171,6 +11196,11 @@ proto.com.lansweeper.dp.outbound.v1.AssetChangeEvent.deserializeBinaryFromReader
11171
11196
  reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.WindowsSqlServerChangeEvent.deserializeBinaryFromReader);
11172
11197
  msg.setSqlServer(value);
11173
11198
  break;
11199
+ case 5:
11200
+ var value = new proto.com.lansweeper.dp.outbound.v1.WindowsHyperVChangeEvent;
11201
+ reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.WindowsHyperVChangeEvent.deserializeBinaryFromReader);
11202
+ msg.setHyperV(value);
11203
+ break;
11174
11204
  default:
11175
11205
  reader.skipField();
11176
11206
  break;
@@ -11232,6 +11262,14 @@ proto.com.lansweeper.dp.outbound.v1.AssetChangeEvent.serializeBinaryToWriter = f
11232
11262
  proto.com.lansweeper.dp.outbound.v1.WindowsSqlServerChangeEvent.serializeBinaryToWriter
11233
11263
  );
11234
11264
  }
11265
+ f = message.getHyperV();
11266
+ if (f != null) {
11267
+ writer.writeMessage(
11268
+ 5,
11269
+ f,
11270
+ proto.com.lansweeper.dp.outbound.v1.WindowsHyperVChangeEvent.serializeBinaryToWriter
11271
+ );
11272
+ }
11235
11273
  };
11236
11274
 
11237
11275
 
@@ -11383,6 +11421,43 @@ proto.com.lansweeper.dp.outbound.v1.AssetChangeEvent.prototype.hasSqlServer = fu
11383
11421
  };
11384
11422
 
11385
11423
 
11424
+ /**
11425
+ * optional WindowsHyperVChangeEvent hyper_v = 5;
11426
+ * @return {?proto.com.lansweeper.dp.outbound.v1.WindowsHyperVChangeEvent}
11427
+ */
11428
+ proto.com.lansweeper.dp.outbound.v1.AssetChangeEvent.prototype.getHyperV = function() {
11429
+ return /** @type{?proto.com.lansweeper.dp.outbound.v1.WindowsHyperVChangeEvent} */ (
11430
+ jspb.Message.getWrapperField(this, proto.com.lansweeper.dp.outbound.v1.WindowsHyperVChangeEvent, 5));
11431
+ };
11432
+
11433
+
11434
+ /**
11435
+ * @param {?proto.com.lansweeper.dp.outbound.v1.WindowsHyperVChangeEvent|undefined} value
11436
+ * @return {!proto.com.lansweeper.dp.outbound.v1.AssetChangeEvent} returns this
11437
+ */
11438
+ proto.com.lansweeper.dp.outbound.v1.AssetChangeEvent.prototype.setHyperV = function(value) {
11439
+ return jspb.Message.setOneofWrapperField(this, 5, proto.com.lansweeper.dp.outbound.v1.AssetChangeEvent.oneofGroups_[0], value);
11440
+ };
11441
+
11442
+
11443
+ /**
11444
+ * Clears the message field making it undefined.
11445
+ * @return {!proto.com.lansweeper.dp.outbound.v1.AssetChangeEvent} returns this
11446
+ */
11447
+ proto.com.lansweeper.dp.outbound.v1.AssetChangeEvent.prototype.clearHyperV = function() {
11448
+ return this.setHyperV(undefined);
11449
+ };
11450
+
11451
+
11452
+ /**
11453
+ * Returns whether this field is set.
11454
+ * @return {boolean}
11455
+ */
11456
+ proto.com.lansweeper.dp.outbound.v1.AssetChangeEvent.prototype.hasHyperV = function() {
11457
+ return jspb.Message.getField(this, 5) != null;
11458
+ };
11459
+
11460
+
11386
11461
 
11387
11462
 
11388
11463
 
@@ -34321,6 +34396,298 @@ proto.com.lansweeper.dp.outbound.v1.WindowsSqlServerChangeEvent.prototype.hasWin
34321
34396
 
34322
34397
 
34323
34398
 
34399
+ if (jspb.Message.GENERATE_TO_OBJECT) {
34400
+ /**
34401
+ * Creates an object representation of this proto.
34402
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
34403
+ * Optional fields that are not set will be set to undefined.
34404
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
34405
+ * For the list of reserved names please see:
34406
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
34407
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
34408
+ * JSPB instance for transitional soy proto support:
34409
+ * http://goto/soy-param-migration
34410
+ * @return {!Object}
34411
+ */
34412
+ proto.com.lansweeper.dp.outbound.v1.WindowsHyperVChangeEvent.prototype.toObject = function(opt_includeInstance) {
34413
+ return proto.com.lansweeper.dp.outbound.v1.WindowsHyperVChangeEvent.toObject(opt_includeInstance, this);
34414
+ };
34415
+
34416
+
34417
+ /**
34418
+ * Static version of the {@see toObject} method.
34419
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
34420
+ * the JSPB instance for transitional soy proto support:
34421
+ * http://goto/soy-param-migration
34422
+ * @param {!proto.com.lansweeper.dp.outbound.v1.WindowsHyperVChangeEvent} msg The msg instance to transform.
34423
+ * @return {!Object}
34424
+ * @suppress {unusedLocalVariables} f is only used for nested messages
34425
+ */
34426
+ proto.com.lansweeper.dp.outbound.v1.WindowsHyperVChangeEvent.toObject = function(includeInstance, msg) {
34427
+ var f, obj = {
34428
+ eventType: jspb.Message.getFieldWithDefault(msg, 1, 0),
34429
+ start: (f = msg.getStart()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
34430
+ end: (f = msg.getEnd()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
34431
+ hyperV: (f = msg.getHyperV()) && proto.com.lansweeper.dp.outbound.v1.HyperV.toObject(includeInstance, f)
34432
+ };
34433
+
34434
+ if (includeInstance) {
34435
+ obj.$jspbMessageInstance = msg;
34436
+ }
34437
+ return obj;
34438
+ };
34439
+ }
34440
+
34441
+
34442
+ /**
34443
+ * Deserializes binary data (in protobuf wire format).
34444
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
34445
+ * @return {!proto.com.lansweeper.dp.outbound.v1.WindowsHyperVChangeEvent}
34446
+ */
34447
+ proto.com.lansweeper.dp.outbound.v1.WindowsHyperVChangeEvent.deserializeBinary = function(bytes) {
34448
+ var reader = new jspb.BinaryReader(bytes);
34449
+ var msg = new proto.com.lansweeper.dp.outbound.v1.WindowsHyperVChangeEvent;
34450
+ return proto.com.lansweeper.dp.outbound.v1.WindowsHyperVChangeEvent.deserializeBinaryFromReader(msg, reader);
34451
+ };
34452
+
34453
+
34454
+ /**
34455
+ * Deserializes binary data (in protobuf wire format) from the
34456
+ * given reader into the given message object.
34457
+ * @param {!proto.com.lansweeper.dp.outbound.v1.WindowsHyperVChangeEvent} msg The message object to deserialize into.
34458
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
34459
+ * @return {!proto.com.lansweeper.dp.outbound.v1.WindowsHyperVChangeEvent}
34460
+ */
34461
+ proto.com.lansweeper.dp.outbound.v1.WindowsHyperVChangeEvent.deserializeBinaryFromReader = function(msg, reader) {
34462
+ while (reader.nextField()) {
34463
+ if (reader.isEndGroup()) {
34464
+ break;
34465
+ }
34466
+ var field = reader.getFieldNumber();
34467
+ switch (field) {
34468
+ case 1:
34469
+ var value = /** @type {!proto.com.lansweeper.dp.outbound.v1.WindowsHyperVChangeEvent.EventType} */ (reader.readEnum());
34470
+ msg.setEventType(value);
34471
+ break;
34472
+ case 2:
34473
+ var value = new google_protobuf_timestamp_pb.Timestamp;
34474
+ reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
34475
+ msg.setStart(value);
34476
+ break;
34477
+ case 3:
34478
+ var value = new google_protobuf_timestamp_pb.Timestamp;
34479
+ reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
34480
+ msg.setEnd(value);
34481
+ break;
34482
+ case 4:
34483
+ var value = new proto.com.lansweeper.dp.outbound.v1.HyperV;
34484
+ reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.HyperV.deserializeBinaryFromReader);
34485
+ msg.setHyperV(value);
34486
+ break;
34487
+ default:
34488
+ reader.skipField();
34489
+ break;
34490
+ }
34491
+ }
34492
+ return msg;
34493
+ };
34494
+
34495
+
34496
+ /**
34497
+ * Serializes the message to binary data (in protobuf wire format).
34498
+ * @return {!Uint8Array}
34499
+ */
34500
+ proto.com.lansweeper.dp.outbound.v1.WindowsHyperVChangeEvent.prototype.serializeBinary = function() {
34501
+ var writer = new jspb.BinaryWriter();
34502
+ proto.com.lansweeper.dp.outbound.v1.WindowsHyperVChangeEvent.serializeBinaryToWriter(this, writer);
34503
+ return writer.getResultBuffer();
34504
+ };
34505
+
34506
+
34507
+ /**
34508
+ * Serializes the given message to binary data (in protobuf wire
34509
+ * format), writing to the given BinaryWriter.
34510
+ * @param {!proto.com.lansweeper.dp.outbound.v1.WindowsHyperVChangeEvent} message
34511
+ * @param {!jspb.BinaryWriter} writer
34512
+ * @suppress {unusedLocalVariables} f is only used for nested messages
34513
+ */
34514
+ proto.com.lansweeper.dp.outbound.v1.WindowsHyperVChangeEvent.serializeBinaryToWriter = function(message, writer) {
34515
+ var f = undefined;
34516
+ f = message.getEventType();
34517
+ if (f !== 0.0) {
34518
+ writer.writeEnum(
34519
+ 1,
34520
+ f
34521
+ );
34522
+ }
34523
+ f = message.getStart();
34524
+ if (f != null) {
34525
+ writer.writeMessage(
34526
+ 2,
34527
+ f,
34528
+ google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
34529
+ );
34530
+ }
34531
+ f = message.getEnd();
34532
+ if (f != null) {
34533
+ writer.writeMessage(
34534
+ 3,
34535
+ f,
34536
+ google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
34537
+ );
34538
+ }
34539
+ f = message.getHyperV();
34540
+ if (f != null) {
34541
+ writer.writeMessage(
34542
+ 4,
34543
+ f,
34544
+ proto.com.lansweeper.dp.outbound.v1.HyperV.serializeBinaryToWriter
34545
+ );
34546
+ }
34547
+ };
34548
+
34549
+
34550
+ /**
34551
+ * @enum {number}
34552
+ */
34553
+ proto.com.lansweeper.dp.outbound.v1.WindowsHyperVChangeEvent.EventType = {
34554
+ INSTALL: 0,
34555
+ UNINSTALL: 1,
34556
+ UPDATE: 2
34557
+ };
34558
+
34559
+ /**
34560
+ * optional EventType event_type = 1;
34561
+ * @return {!proto.com.lansweeper.dp.outbound.v1.WindowsHyperVChangeEvent.EventType}
34562
+ */
34563
+ proto.com.lansweeper.dp.outbound.v1.WindowsHyperVChangeEvent.prototype.getEventType = function() {
34564
+ return /** @type {!proto.com.lansweeper.dp.outbound.v1.WindowsHyperVChangeEvent.EventType} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
34565
+ };
34566
+
34567
+
34568
+ /**
34569
+ * @param {!proto.com.lansweeper.dp.outbound.v1.WindowsHyperVChangeEvent.EventType} value
34570
+ * @return {!proto.com.lansweeper.dp.outbound.v1.WindowsHyperVChangeEvent} returns this
34571
+ */
34572
+ proto.com.lansweeper.dp.outbound.v1.WindowsHyperVChangeEvent.prototype.setEventType = function(value) {
34573
+ return jspb.Message.setProto3EnumField(this, 1, value);
34574
+ };
34575
+
34576
+
34577
+ /**
34578
+ * optional google.protobuf.Timestamp start = 2;
34579
+ * @return {?proto.google.protobuf.Timestamp}
34580
+ */
34581
+ proto.com.lansweeper.dp.outbound.v1.WindowsHyperVChangeEvent.prototype.getStart = function() {
34582
+ return /** @type{?proto.google.protobuf.Timestamp} */ (
34583
+ jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 2));
34584
+ };
34585
+
34586
+
34587
+ /**
34588
+ * @param {?proto.google.protobuf.Timestamp|undefined} value
34589
+ * @return {!proto.com.lansweeper.dp.outbound.v1.WindowsHyperVChangeEvent} returns this
34590
+ */
34591
+ proto.com.lansweeper.dp.outbound.v1.WindowsHyperVChangeEvent.prototype.setStart = function(value) {
34592
+ return jspb.Message.setWrapperField(this, 2, value);
34593
+ };
34594
+
34595
+
34596
+ /**
34597
+ * Clears the message field making it undefined.
34598
+ * @return {!proto.com.lansweeper.dp.outbound.v1.WindowsHyperVChangeEvent} returns this
34599
+ */
34600
+ proto.com.lansweeper.dp.outbound.v1.WindowsHyperVChangeEvent.prototype.clearStart = function() {
34601
+ return this.setStart(undefined);
34602
+ };
34603
+
34604
+
34605
+ /**
34606
+ * Returns whether this field is set.
34607
+ * @return {boolean}
34608
+ */
34609
+ proto.com.lansweeper.dp.outbound.v1.WindowsHyperVChangeEvent.prototype.hasStart = function() {
34610
+ return jspb.Message.getField(this, 2) != null;
34611
+ };
34612
+
34613
+
34614
+ /**
34615
+ * optional google.protobuf.Timestamp end = 3;
34616
+ * @return {?proto.google.protobuf.Timestamp}
34617
+ */
34618
+ proto.com.lansweeper.dp.outbound.v1.WindowsHyperVChangeEvent.prototype.getEnd = function() {
34619
+ return /** @type{?proto.google.protobuf.Timestamp} */ (
34620
+ jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 3));
34621
+ };
34622
+
34623
+
34624
+ /**
34625
+ * @param {?proto.google.protobuf.Timestamp|undefined} value
34626
+ * @return {!proto.com.lansweeper.dp.outbound.v1.WindowsHyperVChangeEvent} returns this
34627
+ */
34628
+ proto.com.lansweeper.dp.outbound.v1.WindowsHyperVChangeEvent.prototype.setEnd = function(value) {
34629
+ return jspb.Message.setWrapperField(this, 3, value);
34630
+ };
34631
+
34632
+
34633
+ /**
34634
+ * Clears the message field making it undefined.
34635
+ * @return {!proto.com.lansweeper.dp.outbound.v1.WindowsHyperVChangeEvent} returns this
34636
+ */
34637
+ proto.com.lansweeper.dp.outbound.v1.WindowsHyperVChangeEvent.prototype.clearEnd = function() {
34638
+ return this.setEnd(undefined);
34639
+ };
34640
+
34641
+
34642
+ /**
34643
+ * Returns whether this field is set.
34644
+ * @return {boolean}
34645
+ */
34646
+ proto.com.lansweeper.dp.outbound.v1.WindowsHyperVChangeEvent.prototype.hasEnd = function() {
34647
+ return jspb.Message.getField(this, 3) != null;
34648
+ };
34649
+
34650
+
34651
+ /**
34652
+ * optional HyperV hyper_v = 4;
34653
+ * @return {?proto.com.lansweeper.dp.outbound.v1.HyperV}
34654
+ */
34655
+ proto.com.lansweeper.dp.outbound.v1.WindowsHyperVChangeEvent.prototype.getHyperV = function() {
34656
+ return /** @type{?proto.com.lansweeper.dp.outbound.v1.HyperV} */ (
34657
+ jspb.Message.getWrapperField(this, proto.com.lansweeper.dp.outbound.v1.HyperV, 4));
34658
+ };
34659
+
34660
+
34661
+ /**
34662
+ * @param {?proto.com.lansweeper.dp.outbound.v1.HyperV|undefined} value
34663
+ * @return {!proto.com.lansweeper.dp.outbound.v1.WindowsHyperVChangeEvent} returns this
34664
+ */
34665
+ proto.com.lansweeper.dp.outbound.v1.WindowsHyperVChangeEvent.prototype.setHyperV = function(value) {
34666
+ return jspb.Message.setWrapperField(this, 4, value);
34667
+ };
34668
+
34669
+
34670
+ /**
34671
+ * Clears the message field making it undefined.
34672
+ * @return {!proto.com.lansweeper.dp.outbound.v1.WindowsHyperVChangeEvent} returns this
34673
+ */
34674
+ proto.com.lansweeper.dp.outbound.v1.WindowsHyperVChangeEvent.prototype.clearHyperV = function() {
34675
+ return this.setHyperV(undefined);
34676
+ };
34677
+
34678
+
34679
+ /**
34680
+ * Returns whether this field is set.
34681
+ * @return {boolean}
34682
+ */
34683
+ proto.com.lansweeper.dp.outbound.v1.WindowsHyperVChangeEvent.prototype.hasHyperV = function() {
34684
+ return jspb.Message.getField(this, 4) != null;
34685
+ };
34686
+
34687
+
34688
+
34689
+
34690
+
34324
34691
  if (jspb.Message.GENERATE_TO_OBJECT) {
34325
34692
  /**
34326
34693
  * Creates an object representation of this proto.