@lansweeper/discovery-sensor-proto 2.85.0 → 2.87.0

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.
@@ -63,7 +63,11 @@ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.Group', null
63
63
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.HardDisk', null, global);
64
64
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.HyperV', null, global);
65
65
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.HyperVEthernet', null, global);
66
+ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.HyperVGuestNetworkAdapter', null, global);
67
+ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry', null, global);
66
68
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.HyperVMemory', null, global);
69
+ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.HyperVProcessorEntry', null, global);
70
+ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.HyperVSettings', null, global);
67
71
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.IdeController', null, global);
68
72
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.Infrared', null, global);
69
73
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.InternetExplorerBarInfo', null, global);
@@ -170,7 +174,11 @@ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.WindowsGroup
170
174
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.WindowsHardDisk', null, global);
171
175
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.WindowsHyperV', null, global);
172
176
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.WindowsHyperVEthernet', null, global);
177
+ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.WindowsHyperVGuestNetwork', null, global);
178
+ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.WindowsHyperVKvp', null, global);
173
179
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.WindowsHyperVMemory', null, global);
180
+ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.WindowsHyperVProcessor', null, global);
181
+ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.WindowsHyperVSettings', null, global);
174
182
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.WindowsIdeController', null, global);
175
183
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.WindowsInfrared', null, global);
176
184
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.WindowsInternetExplorerBarInfo', null, global);
@@ -2480,6 +2488,174 @@ if (goog.DEBUG && !COMPILED) {
2480
2488
  */
2481
2489
  proto.com.lansweeper.discovery.sensor.windows.v1.HyperV.displayName = 'proto.com.lansweeper.discovery.sensor.windows.v1.HyperV';
2482
2490
  }
2491
+ /**
2492
+ * Generated by JsPbCodeGenerator.
2493
+ * @param {Array=} opt_data Optional initial data array, typically from a
2494
+ * server response, or constructed directly in Javascript. The array is used
2495
+ * in place and becomes part of the constructed object. It is not cloned.
2496
+ * If no data is provided, the constructed object will be empty, but still
2497
+ * valid.
2498
+ * @extends {jspb.Message}
2499
+ * @constructor
2500
+ */
2501
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsHyperVGuestNetwork = function(opt_data) {
2502
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.com.lansweeper.discovery.sensor.windows.v1.WindowsHyperVGuestNetwork.repeatedFields_, null);
2503
+ };
2504
+ goog.inherits(proto.com.lansweeper.discovery.sensor.windows.v1.WindowsHyperVGuestNetwork, jspb.Message);
2505
+ if (goog.DEBUG && !COMPILED) {
2506
+ /**
2507
+ * @public
2508
+ * @override
2509
+ */
2510
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsHyperVGuestNetwork.displayName = 'proto.com.lansweeper.discovery.sensor.windows.v1.WindowsHyperVGuestNetwork';
2511
+ }
2512
+ /**
2513
+ * Generated by JsPbCodeGenerator.
2514
+ * @param {Array=} opt_data Optional initial data array, typically from a
2515
+ * server response, or constructed directly in Javascript. The array is used
2516
+ * in place and becomes part of the constructed object. It is not cloned.
2517
+ * If no data is provided, the constructed object will be empty, but still
2518
+ * valid.
2519
+ * @extends {jspb.Message}
2520
+ * @constructor
2521
+ */
2522
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVGuestNetworkAdapter = function(opt_data) {
2523
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.com.lansweeper.discovery.sensor.windows.v1.HyperVGuestNetworkAdapter.repeatedFields_, null);
2524
+ };
2525
+ goog.inherits(proto.com.lansweeper.discovery.sensor.windows.v1.HyperVGuestNetworkAdapter, jspb.Message);
2526
+ if (goog.DEBUG && !COMPILED) {
2527
+ /**
2528
+ * @public
2529
+ * @override
2530
+ */
2531
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVGuestNetworkAdapter.displayName = 'proto.com.lansweeper.discovery.sensor.windows.v1.HyperVGuestNetworkAdapter';
2532
+ }
2533
+ /**
2534
+ * Generated by JsPbCodeGenerator.
2535
+ * @param {Array=} opt_data Optional initial data array, typically from a
2536
+ * server response, or constructed directly in Javascript. The array is used
2537
+ * in place and becomes part of the constructed object. It is not cloned.
2538
+ * If no data is provided, the constructed object will be empty, but still
2539
+ * valid.
2540
+ * @extends {jspb.Message}
2541
+ * @constructor
2542
+ */
2543
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsHyperVSettings = function(opt_data) {
2544
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.com.lansweeper.discovery.sensor.windows.v1.WindowsHyperVSettings.repeatedFields_, null);
2545
+ };
2546
+ goog.inherits(proto.com.lansweeper.discovery.sensor.windows.v1.WindowsHyperVSettings, jspb.Message);
2547
+ if (goog.DEBUG && !COMPILED) {
2548
+ /**
2549
+ * @public
2550
+ * @override
2551
+ */
2552
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsHyperVSettings.displayName = 'proto.com.lansweeper.discovery.sensor.windows.v1.WindowsHyperVSettings';
2553
+ }
2554
+ /**
2555
+ * Generated by JsPbCodeGenerator.
2556
+ * @param {Array=} opt_data Optional initial data array, typically from a
2557
+ * server response, or constructed directly in Javascript. The array is used
2558
+ * in place and becomes part of the constructed object. It is not cloned.
2559
+ * If no data is provided, the constructed object will be empty, but still
2560
+ * valid.
2561
+ * @extends {jspb.Message}
2562
+ * @constructor
2563
+ */
2564
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVSettings = function(opt_data) {
2565
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.com.lansweeper.discovery.sensor.windows.v1.HyperVSettings.repeatedFields_, null);
2566
+ };
2567
+ goog.inherits(proto.com.lansweeper.discovery.sensor.windows.v1.HyperVSettings, jspb.Message);
2568
+ if (goog.DEBUG && !COMPILED) {
2569
+ /**
2570
+ * @public
2571
+ * @override
2572
+ */
2573
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVSettings.displayName = 'proto.com.lansweeper.discovery.sensor.windows.v1.HyperVSettings';
2574
+ }
2575
+ /**
2576
+ * Generated by JsPbCodeGenerator.
2577
+ * @param {Array=} opt_data Optional initial data array, typically from a
2578
+ * server response, or constructed directly in Javascript. The array is used
2579
+ * in place and becomes part of the constructed object. It is not cloned.
2580
+ * If no data is provided, the constructed object will be empty, but still
2581
+ * valid.
2582
+ * @extends {jspb.Message}
2583
+ * @constructor
2584
+ */
2585
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsHyperVKvp = function(opt_data) {
2586
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.com.lansweeper.discovery.sensor.windows.v1.WindowsHyperVKvp.repeatedFields_, null);
2587
+ };
2588
+ goog.inherits(proto.com.lansweeper.discovery.sensor.windows.v1.WindowsHyperVKvp, jspb.Message);
2589
+ if (goog.DEBUG && !COMPILED) {
2590
+ /**
2591
+ * @public
2592
+ * @override
2593
+ */
2594
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsHyperVKvp.displayName = 'proto.com.lansweeper.discovery.sensor.windows.v1.WindowsHyperVKvp';
2595
+ }
2596
+ /**
2597
+ * Generated by JsPbCodeGenerator.
2598
+ * @param {Array=} opt_data Optional initial data array, typically from a
2599
+ * server response, or constructed directly in Javascript. The array is used
2600
+ * in place and becomes part of the constructed object. It is not cloned.
2601
+ * If no data is provided, the constructed object will be empty, but still
2602
+ * valid.
2603
+ * @extends {jspb.Message}
2604
+ * @constructor
2605
+ */
2606
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry = function(opt_data) {
2607
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
2608
+ };
2609
+ goog.inherits(proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry, jspb.Message);
2610
+ if (goog.DEBUG && !COMPILED) {
2611
+ /**
2612
+ * @public
2613
+ * @override
2614
+ */
2615
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry.displayName = 'proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry';
2616
+ }
2617
+ /**
2618
+ * Generated by JsPbCodeGenerator.
2619
+ * @param {Array=} opt_data Optional initial data array, typically from a
2620
+ * server response, or constructed directly in Javascript. The array is used
2621
+ * in place and becomes part of the constructed object. It is not cloned.
2622
+ * If no data is provided, the constructed object will be empty, but still
2623
+ * valid.
2624
+ * @extends {jspb.Message}
2625
+ * @constructor
2626
+ */
2627
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsHyperVProcessor = function(opt_data) {
2628
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.com.lansweeper.discovery.sensor.windows.v1.WindowsHyperVProcessor.repeatedFields_, null);
2629
+ };
2630
+ goog.inherits(proto.com.lansweeper.discovery.sensor.windows.v1.WindowsHyperVProcessor, jspb.Message);
2631
+ if (goog.DEBUG && !COMPILED) {
2632
+ /**
2633
+ * @public
2634
+ * @override
2635
+ */
2636
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsHyperVProcessor.displayName = 'proto.com.lansweeper.discovery.sensor.windows.v1.WindowsHyperVProcessor';
2637
+ }
2638
+ /**
2639
+ * Generated by JsPbCodeGenerator.
2640
+ * @param {Array=} opt_data Optional initial data array, typically from a
2641
+ * server response, or constructed directly in Javascript. The array is used
2642
+ * in place and becomes part of the constructed object. It is not cloned.
2643
+ * If no data is provided, the constructed object will be empty, but still
2644
+ * valid.
2645
+ * @extends {jspb.Message}
2646
+ * @constructor
2647
+ */
2648
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVProcessorEntry = function(opt_data) {
2649
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
2650
+ };
2651
+ goog.inherits(proto.com.lansweeper.discovery.sensor.windows.v1.HyperVProcessorEntry, jspb.Message);
2652
+ if (goog.DEBUG && !COMPILED) {
2653
+ /**
2654
+ * @public
2655
+ * @override
2656
+ */
2657
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVProcessorEntry.displayName = 'proto.com.lansweeper.discovery.sensor.windows.v1.HyperVProcessorEntry';
2658
+ }
2483
2659
  /**
2484
2660
  * Generated by JsPbCodeGenerator.
2485
2661
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -45640,6 +45816,3477 @@ proto.com.lansweeper.discovery.sensor.windows.v1.HyperV.prototype.hasName = func
45640
45816
 
45641
45817
 
45642
45818
 
45819
+ /**
45820
+ * List of repeated fields within this message type.
45821
+ * @private {!Array<number>}
45822
+ * @const
45823
+ */
45824
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsHyperVGuestNetwork.repeatedFields_ = [1];
45825
+
45826
+
45827
+
45828
+ if (jspb.Message.GENERATE_TO_OBJECT) {
45829
+ /**
45830
+ * Creates an object representation of this proto.
45831
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
45832
+ * Optional fields that are not set will be set to undefined.
45833
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
45834
+ * For the list of reserved names please see:
45835
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
45836
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
45837
+ * JSPB instance for transitional soy proto support:
45838
+ * http://goto/soy-param-migration
45839
+ * @return {!Object}
45840
+ */
45841
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsHyperVGuestNetwork.prototype.toObject = function(opt_includeInstance) {
45842
+ return proto.com.lansweeper.discovery.sensor.windows.v1.WindowsHyperVGuestNetwork.toObject(opt_includeInstance, this);
45843
+ };
45844
+
45845
+
45846
+ /**
45847
+ * Static version of the {@see toObject} method.
45848
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
45849
+ * the JSPB instance for transitional soy proto support:
45850
+ * http://goto/soy-param-migration
45851
+ * @param {!proto.com.lansweeper.discovery.sensor.windows.v1.WindowsHyperVGuestNetwork} msg The msg instance to transform.
45852
+ * @return {!Object}
45853
+ * @suppress {unusedLocalVariables} f is only used for nested messages
45854
+ */
45855
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsHyperVGuestNetwork.toObject = function(includeInstance, msg) {
45856
+ var f, obj = {
45857
+ entriesList: jspb.Message.toObjectList(msg.getEntriesList(),
45858
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVGuestNetworkAdapter.toObject, includeInstance)
45859
+ };
45860
+
45861
+ if (includeInstance) {
45862
+ obj.$jspbMessageInstance = msg;
45863
+ }
45864
+ return obj;
45865
+ };
45866
+ }
45867
+
45868
+
45869
+ /**
45870
+ * Deserializes binary data (in protobuf wire format).
45871
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
45872
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.WindowsHyperVGuestNetwork}
45873
+ */
45874
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsHyperVGuestNetwork.deserializeBinary = function(bytes) {
45875
+ var reader = new jspb.BinaryReader(bytes);
45876
+ var msg = new proto.com.lansweeper.discovery.sensor.windows.v1.WindowsHyperVGuestNetwork;
45877
+ return proto.com.lansweeper.discovery.sensor.windows.v1.WindowsHyperVGuestNetwork.deserializeBinaryFromReader(msg, reader);
45878
+ };
45879
+
45880
+
45881
+ /**
45882
+ * Deserializes binary data (in protobuf wire format) from the
45883
+ * given reader into the given message object.
45884
+ * @param {!proto.com.lansweeper.discovery.sensor.windows.v1.WindowsHyperVGuestNetwork} msg The message object to deserialize into.
45885
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
45886
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.WindowsHyperVGuestNetwork}
45887
+ */
45888
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsHyperVGuestNetwork.deserializeBinaryFromReader = function(msg, reader) {
45889
+ while (reader.nextField()) {
45890
+ if (reader.isEndGroup()) {
45891
+ break;
45892
+ }
45893
+ var field = reader.getFieldNumber();
45894
+ switch (field) {
45895
+ case 1:
45896
+ var value = new proto.com.lansweeper.discovery.sensor.windows.v1.HyperVGuestNetworkAdapter;
45897
+ reader.readMessage(value,proto.com.lansweeper.discovery.sensor.windows.v1.HyperVGuestNetworkAdapter.deserializeBinaryFromReader);
45898
+ msg.addEntries(value);
45899
+ break;
45900
+ default:
45901
+ reader.skipField();
45902
+ break;
45903
+ }
45904
+ }
45905
+ return msg;
45906
+ };
45907
+
45908
+
45909
+ /**
45910
+ * Serializes the message to binary data (in protobuf wire format).
45911
+ * @return {!Uint8Array}
45912
+ */
45913
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsHyperVGuestNetwork.prototype.serializeBinary = function() {
45914
+ var writer = new jspb.BinaryWriter();
45915
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsHyperVGuestNetwork.serializeBinaryToWriter(this, writer);
45916
+ return writer.getResultBuffer();
45917
+ };
45918
+
45919
+
45920
+ /**
45921
+ * Serializes the given message to binary data (in protobuf wire
45922
+ * format), writing to the given BinaryWriter.
45923
+ * @param {!proto.com.lansweeper.discovery.sensor.windows.v1.WindowsHyperVGuestNetwork} message
45924
+ * @param {!jspb.BinaryWriter} writer
45925
+ * @suppress {unusedLocalVariables} f is only used for nested messages
45926
+ */
45927
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsHyperVGuestNetwork.serializeBinaryToWriter = function(message, writer) {
45928
+ var f = undefined;
45929
+ f = message.getEntriesList();
45930
+ if (f.length > 0) {
45931
+ writer.writeRepeatedMessage(
45932
+ 1,
45933
+ f,
45934
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVGuestNetworkAdapter.serializeBinaryToWriter
45935
+ );
45936
+ }
45937
+ };
45938
+
45939
+
45940
+ /**
45941
+ * repeated HyperVGuestNetworkAdapter entries = 1;
45942
+ * @return {!Array<!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVGuestNetworkAdapter>}
45943
+ */
45944
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsHyperVGuestNetwork.prototype.getEntriesList = function() {
45945
+ return /** @type{!Array<!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVGuestNetworkAdapter>} */ (
45946
+ jspb.Message.getRepeatedWrapperField(this, proto.com.lansweeper.discovery.sensor.windows.v1.HyperVGuestNetworkAdapter, 1));
45947
+ };
45948
+
45949
+
45950
+ /**
45951
+ * @param {!Array<!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVGuestNetworkAdapter>} value
45952
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.WindowsHyperVGuestNetwork} returns this
45953
+ */
45954
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsHyperVGuestNetwork.prototype.setEntriesList = function(value) {
45955
+ return jspb.Message.setRepeatedWrapperField(this, 1, value);
45956
+ };
45957
+
45958
+
45959
+ /**
45960
+ * @param {!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVGuestNetworkAdapter=} opt_value
45961
+ * @param {number=} opt_index
45962
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVGuestNetworkAdapter}
45963
+ */
45964
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsHyperVGuestNetwork.prototype.addEntries = function(opt_value, opt_index) {
45965
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.com.lansweeper.discovery.sensor.windows.v1.HyperVGuestNetworkAdapter, opt_index);
45966
+ };
45967
+
45968
+
45969
+ /**
45970
+ * Clears the list making it empty but non-null.
45971
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.WindowsHyperVGuestNetwork} returns this
45972
+ */
45973
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsHyperVGuestNetwork.prototype.clearEntriesList = function() {
45974
+ return this.setEntriesList([]);
45975
+ };
45976
+
45977
+
45978
+
45979
+ /**
45980
+ * List of repeated fields within this message type.
45981
+ * @private {!Array<number>}
45982
+ * @const
45983
+ */
45984
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVGuestNetworkAdapter.repeatedFields_ = [3,4,5,6,8];
45985
+
45986
+
45987
+
45988
+ if (jspb.Message.GENERATE_TO_OBJECT) {
45989
+ /**
45990
+ * Creates an object representation of this proto.
45991
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
45992
+ * Optional fields that are not set will be set to undefined.
45993
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
45994
+ * For the list of reserved names please see:
45995
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
45996
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
45997
+ * JSPB instance for transitional soy proto support:
45998
+ * http://goto/soy-param-migration
45999
+ * @return {!Object}
46000
+ */
46001
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVGuestNetworkAdapter.prototype.toObject = function(opt_includeInstance) {
46002
+ return proto.com.lansweeper.discovery.sensor.windows.v1.HyperVGuestNetworkAdapter.toObject(opt_includeInstance, this);
46003
+ };
46004
+
46005
+
46006
+ /**
46007
+ * Static version of the {@see toObject} method.
46008
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
46009
+ * the JSPB instance for transitional soy proto support:
46010
+ * http://goto/soy-param-migration
46011
+ * @param {!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVGuestNetworkAdapter} msg The msg instance to transform.
46012
+ * @return {!Object}
46013
+ * @suppress {unusedLocalVariables} f is only used for nested messages
46014
+ */
46015
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVGuestNetworkAdapter.toObject = function(includeInstance, msg) {
46016
+ var f, obj = {
46017
+ instanceId: (f = msg.getInstanceId()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
46018
+ dhcpEnabled: (f = msg.getDhcpEnabled()) && google_protobuf_wrappers_pb.BoolValue.toObject(includeInstance, f),
46019
+ ipAddressesList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
46020
+ subnetsList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f,
46021
+ defaultGatewaysList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f,
46022
+ dnsServersList: (f = jspb.Message.getRepeatedField(msg, 6)) == null ? undefined : f,
46023
+ protocolIfType: (f = msg.getProtocolIfType()) && google_protobuf_wrappers_pb.UInt32Value.toObject(includeInstance, f),
46024
+ ipAddressOriginsList: (f = jspb.Message.getRepeatedField(msg, 8)) == null ? undefined : f
46025
+ };
46026
+
46027
+ if (includeInstance) {
46028
+ obj.$jspbMessageInstance = msg;
46029
+ }
46030
+ return obj;
46031
+ };
46032
+ }
46033
+
46034
+
46035
+ /**
46036
+ * Deserializes binary data (in protobuf wire format).
46037
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
46038
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVGuestNetworkAdapter}
46039
+ */
46040
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVGuestNetworkAdapter.deserializeBinary = function(bytes) {
46041
+ var reader = new jspb.BinaryReader(bytes);
46042
+ var msg = new proto.com.lansweeper.discovery.sensor.windows.v1.HyperVGuestNetworkAdapter;
46043
+ return proto.com.lansweeper.discovery.sensor.windows.v1.HyperVGuestNetworkAdapter.deserializeBinaryFromReader(msg, reader);
46044
+ };
46045
+
46046
+
46047
+ /**
46048
+ * Deserializes binary data (in protobuf wire format) from the
46049
+ * given reader into the given message object.
46050
+ * @param {!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVGuestNetworkAdapter} msg The message object to deserialize into.
46051
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
46052
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVGuestNetworkAdapter}
46053
+ */
46054
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVGuestNetworkAdapter.deserializeBinaryFromReader = function(msg, reader) {
46055
+ while (reader.nextField()) {
46056
+ if (reader.isEndGroup()) {
46057
+ break;
46058
+ }
46059
+ var field = reader.getFieldNumber();
46060
+ switch (field) {
46061
+ case 1:
46062
+ var value = new google_protobuf_wrappers_pb.StringValue;
46063
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
46064
+ msg.setInstanceId(value);
46065
+ break;
46066
+ case 2:
46067
+ var value = new google_protobuf_wrappers_pb.BoolValue;
46068
+ reader.readMessage(value,google_protobuf_wrappers_pb.BoolValue.deserializeBinaryFromReader);
46069
+ msg.setDhcpEnabled(value);
46070
+ break;
46071
+ case 3:
46072
+ var value = /** @type {string} */ (reader.readString());
46073
+ msg.addIpAddresses(value);
46074
+ break;
46075
+ case 4:
46076
+ var value = /** @type {string} */ (reader.readString());
46077
+ msg.addSubnets(value);
46078
+ break;
46079
+ case 5:
46080
+ var value = /** @type {string} */ (reader.readString());
46081
+ msg.addDefaultGateways(value);
46082
+ break;
46083
+ case 6:
46084
+ var value = /** @type {string} */ (reader.readString());
46085
+ msg.addDnsServers(value);
46086
+ break;
46087
+ case 7:
46088
+ var value = new google_protobuf_wrappers_pb.UInt32Value;
46089
+ reader.readMessage(value,google_protobuf_wrappers_pb.UInt32Value.deserializeBinaryFromReader);
46090
+ msg.setProtocolIfType(value);
46091
+ break;
46092
+ case 8:
46093
+ var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedUint32() : [reader.readUint32()]);
46094
+ for (var i = 0; i < values.length; i++) {
46095
+ msg.addIpAddressOrigins(values[i]);
46096
+ }
46097
+ break;
46098
+ default:
46099
+ reader.skipField();
46100
+ break;
46101
+ }
46102
+ }
46103
+ return msg;
46104
+ };
46105
+
46106
+
46107
+ /**
46108
+ * Serializes the message to binary data (in protobuf wire format).
46109
+ * @return {!Uint8Array}
46110
+ */
46111
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVGuestNetworkAdapter.prototype.serializeBinary = function() {
46112
+ var writer = new jspb.BinaryWriter();
46113
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVGuestNetworkAdapter.serializeBinaryToWriter(this, writer);
46114
+ return writer.getResultBuffer();
46115
+ };
46116
+
46117
+
46118
+ /**
46119
+ * Serializes the given message to binary data (in protobuf wire
46120
+ * format), writing to the given BinaryWriter.
46121
+ * @param {!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVGuestNetworkAdapter} message
46122
+ * @param {!jspb.BinaryWriter} writer
46123
+ * @suppress {unusedLocalVariables} f is only used for nested messages
46124
+ */
46125
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVGuestNetworkAdapter.serializeBinaryToWriter = function(message, writer) {
46126
+ var f = undefined;
46127
+ f = message.getInstanceId();
46128
+ if (f != null) {
46129
+ writer.writeMessage(
46130
+ 1,
46131
+ f,
46132
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
46133
+ );
46134
+ }
46135
+ f = message.getDhcpEnabled();
46136
+ if (f != null) {
46137
+ writer.writeMessage(
46138
+ 2,
46139
+ f,
46140
+ google_protobuf_wrappers_pb.BoolValue.serializeBinaryToWriter
46141
+ );
46142
+ }
46143
+ f = message.getIpAddressesList();
46144
+ if (f.length > 0) {
46145
+ writer.writeRepeatedString(
46146
+ 3,
46147
+ f
46148
+ );
46149
+ }
46150
+ f = message.getSubnetsList();
46151
+ if (f.length > 0) {
46152
+ writer.writeRepeatedString(
46153
+ 4,
46154
+ f
46155
+ );
46156
+ }
46157
+ f = message.getDefaultGatewaysList();
46158
+ if (f.length > 0) {
46159
+ writer.writeRepeatedString(
46160
+ 5,
46161
+ f
46162
+ );
46163
+ }
46164
+ f = message.getDnsServersList();
46165
+ if (f.length > 0) {
46166
+ writer.writeRepeatedString(
46167
+ 6,
46168
+ f
46169
+ );
46170
+ }
46171
+ f = message.getProtocolIfType();
46172
+ if (f != null) {
46173
+ writer.writeMessage(
46174
+ 7,
46175
+ f,
46176
+ google_protobuf_wrappers_pb.UInt32Value.serializeBinaryToWriter
46177
+ );
46178
+ }
46179
+ f = message.getIpAddressOriginsList();
46180
+ if (f.length > 0) {
46181
+ writer.writePackedUint32(
46182
+ 8,
46183
+ f
46184
+ );
46185
+ }
46186
+ };
46187
+
46188
+
46189
+ /**
46190
+ * optional google.protobuf.StringValue instance_id = 1;
46191
+ * @return {?proto.google.protobuf.StringValue}
46192
+ */
46193
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVGuestNetworkAdapter.prototype.getInstanceId = function() {
46194
+ return /** @type{?proto.google.protobuf.StringValue} */ (
46195
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 1));
46196
+ };
46197
+
46198
+
46199
+ /**
46200
+ * @param {?proto.google.protobuf.StringValue|undefined} value
46201
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVGuestNetworkAdapter} returns this
46202
+ */
46203
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVGuestNetworkAdapter.prototype.setInstanceId = function(value) {
46204
+ return jspb.Message.setWrapperField(this, 1, value);
46205
+ };
46206
+
46207
+
46208
+ /**
46209
+ * Clears the message field making it undefined.
46210
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVGuestNetworkAdapter} returns this
46211
+ */
46212
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVGuestNetworkAdapter.prototype.clearInstanceId = function() {
46213
+ return this.setInstanceId(undefined);
46214
+ };
46215
+
46216
+
46217
+ /**
46218
+ * Returns whether this field is set.
46219
+ * @return {boolean}
46220
+ */
46221
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVGuestNetworkAdapter.prototype.hasInstanceId = function() {
46222
+ return jspb.Message.getField(this, 1) != null;
46223
+ };
46224
+
46225
+
46226
+ /**
46227
+ * optional google.protobuf.BoolValue dhcp_enabled = 2;
46228
+ * @return {?proto.google.protobuf.BoolValue}
46229
+ */
46230
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVGuestNetworkAdapter.prototype.getDhcpEnabled = function() {
46231
+ return /** @type{?proto.google.protobuf.BoolValue} */ (
46232
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.BoolValue, 2));
46233
+ };
46234
+
46235
+
46236
+ /**
46237
+ * @param {?proto.google.protobuf.BoolValue|undefined} value
46238
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVGuestNetworkAdapter} returns this
46239
+ */
46240
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVGuestNetworkAdapter.prototype.setDhcpEnabled = function(value) {
46241
+ return jspb.Message.setWrapperField(this, 2, value);
46242
+ };
46243
+
46244
+
46245
+ /**
46246
+ * Clears the message field making it undefined.
46247
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVGuestNetworkAdapter} returns this
46248
+ */
46249
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVGuestNetworkAdapter.prototype.clearDhcpEnabled = function() {
46250
+ return this.setDhcpEnabled(undefined);
46251
+ };
46252
+
46253
+
46254
+ /**
46255
+ * Returns whether this field is set.
46256
+ * @return {boolean}
46257
+ */
46258
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVGuestNetworkAdapter.prototype.hasDhcpEnabled = function() {
46259
+ return jspb.Message.getField(this, 2) != null;
46260
+ };
46261
+
46262
+
46263
+ /**
46264
+ * repeated string ip_addresses = 3;
46265
+ * @return {!Array<string>}
46266
+ */
46267
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVGuestNetworkAdapter.prototype.getIpAddressesList = function() {
46268
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 3));
46269
+ };
46270
+
46271
+
46272
+ /**
46273
+ * @param {!Array<string>} value
46274
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVGuestNetworkAdapter} returns this
46275
+ */
46276
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVGuestNetworkAdapter.prototype.setIpAddressesList = function(value) {
46277
+ return jspb.Message.setField(this, 3, value || []);
46278
+ };
46279
+
46280
+
46281
+ /**
46282
+ * @param {string} value
46283
+ * @param {number=} opt_index
46284
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVGuestNetworkAdapter} returns this
46285
+ */
46286
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVGuestNetworkAdapter.prototype.addIpAddresses = function(value, opt_index) {
46287
+ return jspb.Message.addToRepeatedField(this, 3, value, opt_index);
46288
+ };
46289
+
46290
+
46291
+ /**
46292
+ * Clears the list making it empty but non-null.
46293
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVGuestNetworkAdapter} returns this
46294
+ */
46295
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVGuestNetworkAdapter.prototype.clearIpAddressesList = function() {
46296
+ return this.setIpAddressesList([]);
46297
+ };
46298
+
46299
+
46300
+ /**
46301
+ * repeated string subnets = 4;
46302
+ * @return {!Array<string>}
46303
+ */
46304
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVGuestNetworkAdapter.prototype.getSubnetsList = function() {
46305
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 4));
46306
+ };
46307
+
46308
+
46309
+ /**
46310
+ * @param {!Array<string>} value
46311
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVGuestNetworkAdapter} returns this
46312
+ */
46313
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVGuestNetworkAdapter.prototype.setSubnetsList = function(value) {
46314
+ return jspb.Message.setField(this, 4, value || []);
46315
+ };
46316
+
46317
+
46318
+ /**
46319
+ * @param {string} value
46320
+ * @param {number=} opt_index
46321
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVGuestNetworkAdapter} returns this
46322
+ */
46323
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVGuestNetworkAdapter.prototype.addSubnets = function(value, opt_index) {
46324
+ return jspb.Message.addToRepeatedField(this, 4, value, opt_index);
46325
+ };
46326
+
46327
+
46328
+ /**
46329
+ * Clears the list making it empty but non-null.
46330
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVGuestNetworkAdapter} returns this
46331
+ */
46332
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVGuestNetworkAdapter.prototype.clearSubnetsList = function() {
46333
+ return this.setSubnetsList([]);
46334
+ };
46335
+
46336
+
46337
+ /**
46338
+ * repeated string default_gateways = 5;
46339
+ * @return {!Array<string>}
46340
+ */
46341
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVGuestNetworkAdapter.prototype.getDefaultGatewaysList = function() {
46342
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 5));
46343
+ };
46344
+
46345
+
46346
+ /**
46347
+ * @param {!Array<string>} value
46348
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVGuestNetworkAdapter} returns this
46349
+ */
46350
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVGuestNetworkAdapter.prototype.setDefaultGatewaysList = function(value) {
46351
+ return jspb.Message.setField(this, 5, value || []);
46352
+ };
46353
+
46354
+
46355
+ /**
46356
+ * @param {string} value
46357
+ * @param {number=} opt_index
46358
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVGuestNetworkAdapter} returns this
46359
+ */
46360
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVGuestNetworkAdapter.prototype.addDefaultGateways = function(value, opt_index) {
46361
+ return jspb.Message.addToRepeatedField(this, 5, value, opt_index);
46362
+ };
46363
+
46364
+
46365
+ /**
46366
+ * Clears the list making it empty but non-null.
46367
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVGuestNetworkAdapter} returns this
46368
+ */
46369
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVGuestNetworkAdapter.prototype.clearDefaultGatewaysList = function() {
46370
+ return this.setDefaultGatewaysList([]);
46371
+ };
46372
+
46373
+
46374
+ /**
46375
+ * repeated string dns_servers = 6;
46376
+ * @return {!Array<string>}
46377
+ */
46378
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVGuestNetworkAdapter.prototype.getDnsServersList = function() {
46379
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 6));
46380
+ };
46381
+
46382
+
46383
+ /**
46384
+ * @param {!Array<string>} value
46385
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVGuestNetworkAdapter} returns this
46386
+ */
46387
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVGuestNetworkAdapter.prototype.setDnsServersList = function(value) {
46388
+ return jspb.Message.setField(this, 6, value || []);
46389
+ };
46390
+
46391
+
46392
+ /**
46393
+ * @param {string} value
46394
+ * @param {number=} opt_index
46395
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVGuestNetworkAdapter} returns this
46396
+ */
46397
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVGuestNetworkAdapter.prototype.addDnsServers = function(value, opt_index) {
46398
+ return jspb.Message.addToRepeatedField(this, 6, value, opt_index);
46399
+ };
46400
+
46401
+
46402
+ /**
46403
+ * Clears the list making it empty but non-null.
46404
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVGuestNetworkAdapter} returns this
46405
+ */
46406
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVGuestNetworkAdapter.prototype.clearDnsServersList = function() {
46407
+ return this.setDnsServersList([]);
46408
+ };
46409
+
46410
+
46411
+ /**
46412
+ * optional google.protobuf.UInt32Value protocol_if_type = 7;
46413
+ * @return {?proto.google.protobuf.UInt32Value}
46414
+ */
46415
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVGuestNetworkAdapter.prototype.getProtocolIfType = function() {
46416
+ return /** @type{?proto.google.protobuf.UInt32Value} */ (
46417
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.UInt32Value, 7));
46418
+ };
46419
+
46420
+
46421
+ /**
46422
+ * @param {?proto.google.protobuf.UInt32Value|undefined} value
46423
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVGuestNetworkAdapter} returns this
46424
+ */
46425
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVGuestNetworkAdapter.prototype.setProtocolIfType = function(value) {
46426
+ return jspb.Message.setWrapperField(this, 7, value);
46427
+ };
46428
+
46429
+
46430
+ /**
46431
+ * Clears the message field making it undefined.
46432
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVGuestNetworkAdapter} returns this
46433
+ */
46434
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVGuestNetworkAdapter.prototype.clearProtocolIfType = function() {
46435
+ return this.setProtocolIfType(undefined);
46436
+ };
46437
+
46438
+
46439
+ /**
46440
+ * Returns whether this field is set.
46441
+ * @return {boolean}
46442
+ */
46443
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVGuestNetworkAdapter.prototype.hasProtocolIfType = function() {
46444
+ return jspb.Message.getField(this, 7) != null;
46445
+ };
46446
+
46447
+
46448
+ /**
46449
+ * repeated uint32 ip_address_origins = 8;
46450
+ * @return {!Array<number>}
46451
+ */
46452
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVGuestNetworkAdapter.prototype.getIpAddressOriginsList = function() {
46453
+ return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 8));
46454
+ };
46455
+
46456
+
46457
+ /**
46458
+ * @param {!Array<number>} value
46459
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVGuestNetworkAdapter} returns this
46460
+ */
46461
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVGuestNetworkAdapter.prototype.setIpAddressOriginsList = function(value) {
46462
+ return jspb.Message.setField(this, 8, value || []);
46463
+ };
46464
+
46465
+
46466
+ /**
46467
+ * @param {number} value
46468
+ * @param {number=} opt_index
46469
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVGuestNetworkAdapter} returns this
46470
+ */
46471
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVGuestNetworkAdapter.prototype.addIpAddressOrigins = function(value, opt_index) {
46472
+ return jspb.Message.addToRepeatedField(this, 8, value, opt_index);
46473
+ };
46474
+
46475
+
46476
+ /**
46477
+ * Clears the list making it empty but non-null.
46478
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVGuestNetworkAdapter} returns this
46479
+ */
46480
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVGuestNetworkAdapter.prototype.clearIpAddressOriginsList = function() {
46481
+ return this.setIpAddressOriginsList([]);
46482
+ };
46483
+
46484
+
46485
+
46486
+ /**
46487
+ * List of repeated fields within this message type.
46488
+ * @private {!Array<number>}
46489
+ * @const
46490
+ */
46491
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsHyperVSettings.repeatedFields_ = [1];
46492
+
46493
+
46494
+
46495
+ if (jspb.Message.GENERATE_TO_OBJECT) {
46496
+ /**
46497
+ * Creates an object representation of this proto.
46498
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
46499
+ * Optional fields that are not set will be set to undefined.
46500
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
46501
+ * For the list of reserved names please see:
46502
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
46503
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
46504
+ * JSPB instance for transitional soy proto support:
46505
+ * http://goto/soy-param-migration
46506
+ * @return {!Object}
46507
+ */
46508
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsHyperVSettings.prototype.toObject = function(opt_includeInstance) {
46509
+ return proto.com.lansweeper.discovery.sensor.windows.v1.WindowsHyperVSettings.toObject(opt_includeInstance, this);
46510
+ };
46511
+
46512
+
46513
+ /**
46514
+ * Static version of the {@see toObject} method.
46515
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
46516
+ * the JSPB instance for transitional soy proto support:
46517
+ * http://goto/soy-param-migration
46518
+ * @param {!proto.com.lansweeper.discovery.sensor.windows.v1.WindowsHyperVSettings} msg The msg instance to transform.
46519
+ * @return {!Object}
46520
+ * @suppress {unusedLocalVariables} f is only used for nested messages
46521
+ */
46522
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsHyperVSettings.toObject = function(includeInstance, msg) {
46523
+ var f, obj = {
46524
+ entriesList: jspb.Message.toObjectList(msg.getEntriesList(),
46525
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVSettings.toObject, includeInstance)
46526
+ };
46527
+
46528
+ if (includeInstance) {
46529
+ obj.$jspbMessageInstance = msg;
46530
+ }
46531
+ return obj;
46532
+ };
46533
+ }
46534
+
46535
+
46536
+ /**
46537
+ * Deserializes binary data (in protobuf wire format).
46538
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
46539
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.WindowsHyperVSettings}
46540
+ */
46541
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsHyperVSettings.deserializeBinary = function(bytes) {
46542
+ var reader = new jspb.BinaryReader(bytes);
46543
+ var msg = new proto.com.lansweeper.discovery.sensor.windows.v1.WindowsHyperVSettings;
46544
+ return proto.com.lansweeper.discovery.sensor.windows.v1.WindowsHyperVSettings.deserializeBinaryFromReader(msg, reader);
46545
+ };
46546
+
46547
+
46548
+ /**
46549
+ * Deserializes binary data (in protobuf wire format) from the
46550
+ * given reader into the given message object.
46551
+ * @param {!proto.com.lansweeper.discovery.sensor.windows.v1.WindowsHyperVSettings} msg The message object to deserialize into.
46552
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
46553
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.WindowsHyperVSettings}
46554
+ */
46555
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsHyperVSettings.deserializeBinaryFromReader = function(msg, reader) {
46556
+ while (reader.nextField()) {
46557
+ if (reader.isEndGroup()) {
46558
+ break;
46559
+ }
46560
+ var field = reader.getFieldNumber();
46561
+ switch (field) {
46562
+ case 1:
46563
+ var value = new proto.com.lansweeper.discovery.sensor.windows.v1.HyperVSettings;
46564
+ reader.readMessage(value,proto.com.lansweeper.discovery.sensor.windows.v1.HyperVSettings.deserializeBinaryFromReader);
46565
+ msg.addEntries(value);
46566
+ break;
46567
+ default:
46568
+ reader.skipField();
46569
+ break;
46570
+ }
46571
+ }
46572
+ return msg;
46573
+ };
46574
+
46575
+
46576
+ /**
46577
+ * Serializes the message to binary data (in protobuf wire format).
46578
+ * @return {!Uint8Array}
46579
+ */
46580
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsHyperVSettings.prototype.serializeBinary = function() {
46581
+ var writer = new jspb.BinaryWriter();
46582
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsHyperVSettings.serializeBinaryToWriter(this, writer);
46583
+ return writer.getResultBuffer();
46584
+ };
46585
+
46586
+
46587
+ /**
46588
+ * Serializes the given message to binary data (in protobuf wire
46589
+ * format), writing to the given BinaryWriter.
46590
+ * @param {!proto.com.lansweeper.discovery.sensor.windows.v1.WindowsHyperVSettings} message
46591
+ * @param {!jspb.BinaryWriter} writer
46592
+ * @suppress {unusedLocalVariables} f is only used for nested messages
46593
+ */
46594
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsHyperVSettings.serializeBinaryToWriter = function(message, writer) {
46595
+ var f = undefined;
46596
+ f = message.getEntriesList();
46597
+ if (f.length > 0) {
46598
+ writer.writeRepeatedMessage(
46599
+ 1,
46600
+ f,
46601
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVSettings.serializeBinaryToWriter
46602
+ );
46603
+ }
46604
+ };
46605
+
46606
+
46607
+ /**
46608
+ * repeated HyperVSettings entries = 1;
46609
+ * @return {!Array<!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVSettings>}
46610
+ */
46611
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsHyperVSettings.prototype.getEntriesList = function() {
46612
+ return /** @type{!Array<!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVSettings>} */ (
46613
+ jspb.Message.getRepeatedWrapperField(this, proto.com.lansweeper.discovery.sensor.windows.v1.HyperVSettings, 1));
46614
+ };
46615
+
46616
+
46617
+ /**
46618
+ * @param {!Array<!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVSettings>} value
46619
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.WindowsHyperVSettings} returns this
46620
+ */
46621
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsHyperVSettings.prototype.setEntriesList = function(value) {
46622
+ return jspb.Message.setRepeatedWrapperField(this, 1, value);
46623
+ };
46624
+
46625
+
46626
+ /**
46627
+ * @param {!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVSettings=} opt_value
46628
+ * @param {number=} opt_index
46629
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVSettings}
46630
+ */
46631
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsHyperVSettings.prototype.addEntries = function(opt_value, opt_index) {
46632
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.com.lansweeper.discovery.sensor.windows.v1.HyperVSettings, opt_index);
46633
+ };
46634
+
46635
+
46636
+ /**
46637
+ * Clears the list making it empty but non-null.
46638
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.WindowsHyperVSettings} returns this
46639
+ */
46640
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsHyperVSettings.prototype.clearEntriesList = function() {
46641
+ return this.setEntriesList([]);
46642
+ };
46643
+
46644
+
46645
+
46646
+ /**
46647
+ * List of repeated fields within this message type.
46648
+ * @private {!Array<number>}
46649
+ * @const
46650
+ */
46651
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVSettings.repeatedFields_ = [6];
46652
+
46653
+
46654
+
46655
+ if (jspb.Message.GENERATE_TO_OBJECT) {
46656
+ /**
46657
+ * Creates an object representation of this proto.
46658
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
46659
+ * Optional fields that are not set will be set to undefined.
46660
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
46661
+ * For the list of reserved names please see:
46662
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
46663
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
46664
+ * JSPB instance for transitional soy proto support:
46665
+ * http://goto/soy-param-migration
46666
+ * @return {!Object}
46667
+ */
46668
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVSettings.prototype.toObject = function(opt_includeInstance) {
46669
+ return proto.com.lansweeper.discovery.sensor.windows.v1.HyperVSettings.toObject(opt_includeInstance, this);
46670
+ };
46671
+
46672
+
46673
+ /**
46674
+ * Static version of the {@see toObject} method.
46675
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
46676
+ * the JSPB instance for transitional soy proto support:
46677
+ * http://goto/soy-param-migration
46678
+ * @param {!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVSettings} msg The msg instance to transform.
46679
+ * @return {!Object}
46680
+ * @suppress {unusedLocalVariables} f is only used for nested messages
46681
+ */
46682
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVSettings.toObject = function(includeInstance, msg) {
46683
+ var f, obj = {
46684
+ virtualSystemIdentifier: (f = msg.getVirtualSystemIdentifier()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
46685
+ elementName: (f = msg.getElementName()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
46686
+ virtualSystemSubType: (f = msg.getVirtualSystemSubType()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
46687
+ version: (f = msg.getVersion()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
46688
+ creationTime: (f = msg.getCreationTime()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
46689
+ notesList: (f = jspb.Message.getRepeatedField(msg, 6)) == null ? undefined : f,
46690
+ biosSerialNumber: (f = msg.getBiosSerialNumber()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
46691
+ biosGuid: (f = msg.getBiosGuid()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
46692
+ clusterInvariantId: (f = msg.getClusterInvariantId()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
46693
+ baseBoardSerialNumber: (f = msg.getBaseBoardSerialNumber()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
46694
+ chassisSerialNumber: (f = msg.getChassisSerialNumber()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
46695
+ chassisAssetTag: (f = msg.getChassisAssetTag()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
46696
+ virtualSystemType: (f = msg.getVirtualSystemType()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f)
46697
+ };
46698
+
46699
+ if (includeInstance) {
46700
+ obj.$jspbMessageInstance = msg;
46701
+ }
46702
+ return obj;
46703
+ };
46704
+ }
46705
+
46706
+
46707
+ /**
46708
+ * Deserializes binary data (in protobuf wire format).
46709
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
46710
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVSettings}
46711
+ */
46712
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVSettings.deserializeBinary = function(bytes) {
46713
+ var reader = new jspb.BinaryReader(bytes);
46714
+ var msg = new proto.com.lansweeper.discovery.sensor.windows.v1.HyperVSettings;
46715
+ return proto.com.lansweeper.discovery.sensor.windows.v1.HyperVSettings.deserializeBinaryFromReader(msg, reader);
46716
+ };
46717
+
46718
+
46719
+ /**
46720
+ * Deserializes binary data (in protobuf wire format) from the
46721
+ * given reader into the given message object.
46722
+ * @param {!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVSettings} msg The message object to deserialize into.
46723
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
46724
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVSettings}
46725
+ */
46726
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVSettings.deserializeBinaryFromReader = function(msg, reader) {
46727
+ while (reader.nextField()) {
46728
+ if (reader.isEndGroup()) {
46729
+ break;
46730
+ }
46731
+ var field = reader.getFieldNumber();
46732
+ switch (field) {
46733
+ case 1:
46734
+ var value = new google_protobuf_wrappers_pb.StringValue;
46735
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
46736
+ msg.setVirtualSystemIdentifier(value);
46737
+ break;
46738
+ case 2:
46739
+ var value = new google_protobuf_wrappers_pb.StringValue;
46740
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
46741
+ msg.setElementName(value);
46742
+ break;
46743
+ case 3:
46744
+ var value = new google_protobuf_wrappers_pb.StringValue;
46745
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
46746
+ msg.setVirtualSystemSubType(value);
46747
+ break;
46748
+ case 4:
46749
+ var value = new google_protobuf_wrappers_pb.StringValue;
46750
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
46751
+ msg.setVersion(value);
46752
+ break;
46753
+ case 5:
46754
+ var value = new google_protobuf_wrappers_pb.StringValue;
46755
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
46756
+ msg.setCreationTime(value);
46757
+ break;
46758
+ case 6:
46759
+ var value = /** @type {string} */ (reader.readString());
46760
+ msg.addNotes(value);
46761
+ break;
46762
+ case 7:
46763
+ var value = new google_protobuf_wrappers_pb.StringValue;
46764
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
46765
+ msg.setBiosSerialNumber(value);
46766
+ break;
46767
+ case 8:
46768
+ var value = new google_protobuf_wrappers_pb.StringValue;
46769
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
46770
+ msg.setBiosGuid(value);
46771
+ break;
46772
+ case 9:
46773
+ var value = new google_protobuf_wrappers_pb.StringValue;
46774
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
46775
+ msg.setClusterInvariantId(value);
46776
+ break;
46777
+ case 10:
46778
+ var value = new google_protobuf_wrappers_pb.StringValue;
46779
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
46780
+ msg.setBaseBoardSerialNumber(value);
46781
+ break;
46782
+ case 11:
46783
+ var value = new google_protobuf_wrappers_pb.StringValue;
46784
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
46785
+ msg.setChassisSerialNumber(value);
46786
+ break;
46787
+ case 12:
46788
+ var value = new google_protobuf_wrappers_pb.StringValue;
46789
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
46790
+ msg.setChassisAssetTag(value);
46791
+ break;
46792
+ case 13:
46793
+ var value = new google_protobuf_wrappers_pb.StringValue;
46794
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
46795
+ msg.setVirtualSystemType(value);
46796
+ break;
46797
+ default:
46798
+ reader.skipField();
46799
+ break;
46800
+ }
46801
+ }
46802
+ return msg;
46803
+ };
46804
+
46805
+
46806
+ /**
46807
+ * Serializes the message to binary data (in protobuf wire format).
46808
+ * @return {!Uint8Array}
46809
+ */
46810
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVSettings.prototype.serializeBinary = function() {
46811
+ var writer = new jspb.BinaryWriter();
46812
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVSettings.serializeBinaryToWriter(this, writer);
46813
+ return writer.getResultBuffer();
46814
+ };
46815
+
46816
+
46817
+ /**
46818
+ * Serializes the given message to binary data (in protobuf wire
46819
+ * format), writing to the given BinaryWriter.
46820
+ * @param {!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVSettings} message
46821
+ * @param {!jspb.BinaryWriter} writer
46822
+ * @suppress {unusedLocalVariables} f is only used for nested messages
46823
+ */
46824
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVSettings.serializeBinaryToWriter = function(message, writer) {
46825
+ var f = undefined;
46826
+ f = message.getVirtualSystemIdentifier();
46827
+ if (f != null) {
46828
+ writer.writeMessage(
46829
+ 1,
46830
+ f,
46831
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
46832
+ );
46833
+ }
46834
+ f = message.getElementName();
46835
+ if (f != null) {
46836
+ writer.writeMessage(
46837
+ 2,
46838
+ f,
46839
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
46840
+ );
46841
+ }
46842
+ f = message.getVirtualSystemSubType();
46843
+ if (f != null) {
46844
+ writer.writeMessage(
46845
+ 3,
46846
+ f,
46847
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
46848
+ );
46849
+ }
46850
+ f = message.getVersion();
46851
+ if (f != null) {
46852
+ writer.writeMessage(
46853
+ 4,
46854
+ f,
46855
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
46856
+ );
46857
+ }
46858
+ f = message.getCreationTime();
46859
+ if (f != null) {
46860
+ writer.writeMessage(
46861
+ 5,
46862
+ f,
46863
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
46864
+ );
46865
+ }
46866
+ f = message.getNotesList();
46867
+ if (f.length > 0) {
46868
+ writer.writeRepeatedString(
46869
+ 6,
46870
+ f
46871
+ );
46872
+ }
46873
+ f = message.getBiosSerialNumber();
46874
+ if (f != null) {
46875
+ writer.writeMessage(
46876
+ 7,
46877
+ f,
46878
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
46879
+ );
46880
+ }
46881
+ f = message.getBiosGuid();
46882
+ if (f != null) {
46883
+ writer.writeMessage(
46884
+ 8,
46885
+ f,
46886
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
46887
+ );
46888
+ }
46889
+ f = message.getClusterInvariantId();
46890
+ if (f != null) {
46891
+ writer.writeMessage(
46892
+ 9,
46893
+ f,
46894
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
46895
+ );
46896
+ }
46897
+ f = message.getBaseBoardSerialNumber();
46898
+ if (f != null) {
46899
+ writer.writeMessage(
46900
+ 10,
46901
+ f,
46902
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
46903
+ );
46904
+ }
46905
+ f = message.getChassisSerialNumber();
46906
+ if (f != null) {
46907
+ writer.writeMessage(
46908
+ 11,
46909
+ f,
46910
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
46911
+ );
46912
+ }
46913
+ f = message.getChassisAssetTag();
46914
+ if (f != null) {
46915
+ writer.writeMessage(
46916
+ 12,
46917
+ f,
46918
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
46919
+ );
46920
+ }
46921
+ f = message.getVirtualSystemType();
46922
+ if (f != null) {
46923
+ writer.writeMessage(
46924
+ 13,
46925
+ f,
46926
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
46927
+ );
46928
+ }
46929
+ };
46930
+
46931
+
46932
+ /**
46933
+ * optional google.protobuf.StringValue virtual_system_identifier = 1;
46934
+ * @return {?proto.google.protobuf.StringValue}
46935
+ */
46936
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVSettings.prototype.getVirtualSystemIdentifier = function() {
46937
+ return /** @type{?proto.google.protobuf.StringValue} */ (
46938
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 1));
46939
+ };
46940
+
46941
+
46942
+ /**
46943
+ * @param {?proto.google.protobuf.StringValue|undefined} value
46944
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVSettings} returns this
46945
+ */
46946
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVSettings.prototype.setVirtualSystemIdentifier = function(value) {
46947
+ return jspb.Message.setWrapperField(this, 1, value);
46948
+ };
46949
+
46950
+
46951
+ /**
46952
+ * Clears the message field making it undefined.
46953
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVSettings} returns this
46954
+ */
46955
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVSettings.prototype.clearVirtualSystemIdentifier = function() {
46956
+ return this.setVirtualSystemIdentifier(undefined);
46957
+ };
46958
+
46959
+
46960
+ /**
46961
+ * Returns whether this field is set.
46962
+ * @return {boolean}
46963
+ */
46964
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVSettings.prototype.hasVirtualSystemIdentifier = function() {
46965
+ return jspb.Message.getField(this, 1) != null;
46966
+ };
46967
+
46968
+
46969
+ /**
46970
+ * optional google.protobuf.StringValue element_name = 2;
46971
+ * @return {?proto.google.protobuf.StringValue}
46972
+ */
46973
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVSettings.prototype.getElementName = function() {
46974
+ return /** @type{?proto.google.protobuf.StringValue} */ (
46975
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 2));
46976
+ };
46977
+
46978
+
46979
+ /**
46980
+ * @param {?proto.google.protobuf.StringValue|undefined} value
46981
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVSettings} returns this
46982
+ */
46983
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVSettings.prototype.setElementName = function(value) {
46984
+ return jspb.Message.setWrapperField(this, 2, value);
46985
+ };
46986
+
46987
+
46988
+ /**
46989
+ * Clears the message field making it undefined.
46990
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVSettings} returns this
46991
+ */
46992
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVSettings.prototype.clearElementName = function() {
46993
+ return this.setElementName(undefined);
46994
+ };
46995
+
46996
+
46997
+ /**
46998
+ * Returns whether this field is set.
46999
+ * @return {boolean}
47000
+ */
47001
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVSettings.prototype.hasElementName = function() {
47002
+ return jspb.Message.getField(this, 2) != null;
47003
+ };
47004
+
47005
+
47006
+ /**
47007
+ * optional google.protobuf.StringValue virtual_system_sub_type = 3;
47008
+ * @return {?proto.google.protobuf.StringValue}
47009
+ */
47010
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVSettings.prototype.getVirtualSystemSubType = function() {
47011
+ return /** @type{?proto.google.protobuf.StringValue} */ (
47012
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 3));
47013
+ };
47014
+
47015
+
47016
+ /**
47017
+ * @param {?proto.google.protobuf.StringValue|undefined} value
47018
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVSettings} returns this
47019
+ */
47020
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVSettings.prototype.setVirtualSystemSubType = function(value) {
47021
+ return jspb.Message.setWrapperField(this, 3, value);
47022
+ };
47023
+
47024
+
47025
+ /**
47026
+ * Clears the message field making it undefined.
47027
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVSettings} returns this
47028
+ */
47029
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVSettings.prototype.clearVirtualSystemSubType = function() {
47030
+ return this.setVirtualSystemSubType(undefined);
47031
+ };
47032
+
47033
+
47034
+ /**
47035
+ * Returns whether this field is set.
47036
+ * @return {boolean}
47037
+ */
47038
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVSettings.prototype.hasVirtualSystemSubType = function() {
47039
+ return jspb.Message.getField(this, 3) != null;
47040
+ };
47041
+
47042
+
47043
+ /**
47044
+ * optional google.protobuf.StringValue version = 4;
47045
+ * @return {?proto.google.protobuf.StringValue}
47046
+ */
47047
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVSettings.prototype.getVersion = function() {
47048
+ return /** @type{?proto.google.protobuf.StringValue} */ (
47049
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 4));
47050
+ };
47051
+
47052
+
47053
+ /**
47054
+ * @param {?proto.google.protobuf.StringValue|undefined} value
47055
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVSettings} returns this
47056
+ */
47057
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVSettings.prototype.setVersion = function(value) {
47058
+ return jspb.Message.setWrapperField(this, 4, value);
47059
+ };
47060
+
47061
+
47062
+ /**
47063
+ * Clears the message field making it undefined.
47064
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVSettings} returns this
47065
+ */
47066
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVSettings.prototype.clearVersion = function() {
47067
+ return this.setVersion(undefined);
47068
+ };
47069
+
47070
+
47071
+ /**
47072
+ * Returns whether this field is set.
47073
+ * @return {boolean}
47074
+ */
47075
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVSettings.prototype.hasVersion = function() {
47076
+ return jspb.Message.getField(this, 4) != null;
47077
+ };
47078
+
47079
+
47080
+ /**
47081
+ * optional google.protobuf.StringValue creation_time = 5;
47082
+ * @return {?proto.google.protobuf.StringValue}
47083
+ */
47084
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVSettings.prototype.getCreationTime = function() {
47085
+ return /** @type{?proto.google.protobuf.StringValue} */ (
47086
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 5));
47087
+ };
47088
+
47089
+
47090
+ /**
47091
+ * @param {?proto.google.protobuf.StringValue|undefined} value
47092
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVSettings} returns this
47093
+ */
47094
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVSettings.prototype.setCreationTime = function(value) {
47095
+ return jspb.Message.setWrapperField(this, 5, value);
47096
+ };
47097
+
47098
+
47099
+ /**
47100
+ * Clears the message field making it undefined.
47101
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVSettings} returns this
47102
+ */
47103
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVSettings.prototype.clearCreationTime = function() {
47104
+ return this.setCreationTime(undefined);
47105
+ };
47106
+
47107
+
47108
+ /**
47109
+ * Returns whether this field is set.
47110
+ * @return {boolean}
47111
+ */
47112
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVSettings.prototype.hasCreationTime = function() {
47113
+ return jspb.Message.getField(this, 5) != null;
47114
+ };
47115
+
47116
+
47117
+ /**
47118
+ * repeated string notes = 6;
47119
+ * @return {!Array<string>}
47120
+ */
47121
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVSettings.prototype.getNotesList = function() {
47122
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 6));
47123
+ };
47124
+
47125
+
47126
+ /**
47127
+ * @param {!Array<string>} value
47128
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVSettings} returns this
47129
+ */
47130
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVSettings.prototype.setNotesList = function(value) {
47131
+ return jspb.Message.setField(this, 6, value || []);
47132
+ };
47133
+
47134
+
47135
+ /**
47136
+ * @param {string} value
47137
+ * @param {number=} opt_index
47138
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVSettings} returns this
47139
+ */
47140
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVSettings.prototype.addNotes = function(value, opt_index) {
47141
+ return jspb.Message.addToRepeatedField(this, 6, value, opt_index);
47142
+ };
47143
+
47144
+
47145
+ /**
47146
+ * Clears the list making it empty but non-null.
47147
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVSettings} returns this
47148
+ */
47149
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVSettings.prototype.clearNotesList = function() {
47150
+ return this.setNotesList([]);
47151
+ };
47152
+
47153
+
47154
+ /**
47155
+ * optional google.protobuf.StringValue bios_serial_number = 7;
47156
+ * @return {?proto.google.protobuf.StringValue}
47157
+ */
47158
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVSettings.prototype.getBiosSerialNumber = function() {
47159
+ return /** @type{?proto.google.protobuf.StringValue} */ (
47160
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 7));
47161
+ };
47162
+
47163
+
47164
+ /**
47165
+ * @param {?proto.google.protobuf.StringValue|undefined} value
47166
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVSettings} returns this
47167
+ */
47168
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVSettings.prototype.setBiosSerialNumber = function(value) {
47169
+ return jspb.Message.setWrapperField(this, 7, value);
47170
+ };
47171
+
47172
+
47173
+ /**
47174
+ * Clears the message field making it undefined.
47175
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVSettings} returns this
47176
+ */
47177
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVSettings.prototype.clearBiosSerialNumber = function() {
47178
+ return this.setBiosSerialNumber(undefined);
47179
+ };
47180
+
47181
+
47182
+ /**
47183
+ * Returns whether this field is set.
47184
+ * @return {boolean}
47185
+ */
47186
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVSettings.prototype.hasBiosSerialNumber = function() {
47187
+ return jspb.Message.getField(this, 7) != null;
47188
+ };
47189
+
47190
+
47191
+ /**
47192
+ * optional google.protobuf.StringValue bios_guid = 8;
47193
+ * @return {?proto.google.protobuf.StringValue}
47194
+ */
47195
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVSettings.prototype.getBiosGuid = function() {
47196
+ return /** @type{?proto.google.protobuf.StringValue} */ (
47197
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 8));
47198
+ };
47199
+
47200
+
47201
+ /**
47202
+ * @param {?proto.google.protobuf.StringValue|undefined} value
47203
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVSettings} returns this
47204
+ */
47205
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVSettings.prototype.setBiosGuid = function(value) {
47206
+ return jspb.Message.setWrapperField(this, 8, value);
47207
+ };
47208
+
47209
+
47210
+ /**
47211
+ * Clears the message field making it undefined.
47212
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVSettings} returns this
47213
+ */
47214
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVSettings.prototype.clearBiosGuid = function() {
47215
+ return this.setBiosGuid(undefined);
47216
+ };
47217
+
47218
+
47219
+ /**
47220
+ * Returns whether this field is set.
47221
+ * @return {boolean}
47222
+ */
47223
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVSettings.prototype.hasBiosGuid = function() {
47224
+ return jspb.Message.getField(this, 8) != null;
47225
+ };
47226
+
47227
+
47228
+ /**
47229
+ * optional google.protobuf.StringValue cluster_invariant_id = 9;
47230
+ * @return {?proto.google.protobuf.StringValue}
47231
+ */
47232
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVSettings.prototype.getClusterInvariantId = function() {
47233
+ return /** @type{?proto.google.protobuf.StringValue} */ (
47234
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 9));
47235
+ };
47236
+
47237
+
47238
+ /**
47239
+ * @param {?proto.google.protobuf.StringValue|undefined} value
47240
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVSettings} returns this
47241
+ */
47242
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVSettings.prototype.setClusterInvariantId = function(value) {
47243
+ return jspb.Message.setWrapperField(this, 9, value);
47244
+ };
47245
+
47246
+
47247
+ /**
47248
+ * Clears the message field making it undefined.
47249
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVSettings} returns this
47250
+ */
47251
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVSettings.prototype.clearClusterInvariantId = function() {
47252
+ return this.setClusterInvariantId(undefined);
47253
+ };
47254
+
47255
+
47256
+ /**
47257
+ * Returns whether this field is set.
47258
+ * @return {boolean}
47259
+ */
47260
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVSettings.prototype.hasClusterInvariantId = function() {
47261
+ return jspb.Message.getField(this, 9) != null;
47262
+ };
47263
+
47264
+
47265
+ /**
47266
+ * optional google.protobuf.StringValue base_board_serial_number = 10;
47267
+ * @return {?proto.google.protobuf.StringValue}
47268
+ */
47269
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVSettings.prototype.getBaseBoardSerialNumber = function() {
47270
+ return /** @type{?proto.google.protobuf.StringValue} */ (
47271
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 10));
47272
+ };
47273
+
47274
+
47275
+ /**
47276
+ * @param {?proto.google.protobuf.StringValue|undefined} value
47277
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVSettings} returns this
47278
+ */
47279
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVSettings.prototype.setBaseBoardSerialNumber = function(value) {
47280
+ return jspb.Message.setWrapperField(this, 10, value);
47281
+ };
47282
+
47283
+
47284
+ /**
47285
+ * Clears the message field making it undefined.
47286
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVSettings} returns this
47287
+ */
47288
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVSettings.prototype.clearBaseBoardSerialNumber = function() {
47289
+ return this.setBaseBoardSerialNumber(undefined);
47290
+ };
47291
+
47292
+
47293
+ /**
47294
+ * Returns whether this field is set.
47295
+ * @return {boolean}
47296
+ */
47297
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVSettings.prototype.hasBaseBoardSerialNumber = function() {
47298
+ return jspb.Message.getField(this, 10) != null;
47299
+ };
47300
+
47301
+
47302
+ /**
47303
+ * optional google.protobuf.StringValue chassis_serial_number = 11;
47304
+ * @return {?proto.google.protobuf.StringValue}
47305
+ */
47306
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVSettings.prototype.getChassisSerialNumber = function() {
47307
+ return /** @type{?proto.google.protobuf.StringValue} */ (
47308
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 11));
47309
+ };
47310
+
47311
+
47312
+ /**
47313
+ * @param {?proto.google.protobuf.StringValue|undefined} value
47314
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVSettings} returns this
47315
+ */
47316
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVSettings.prototype.setChassisSerialNumber = function(value) {
47317
+ return jspb.Message.setWrapperField(this, 11, value);
47318
+ };
47319
+
47320
+
47321
+ /**
47322
+ * Clears the message field making it undefined.
47323
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVSettings} returns this
47324
+ */
47325
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVSettings.prototype.clearChassisSerialNumber = function() {
47326
+ return this.setChassisSerialNumber(undefined);
47327
+ };
47328
+
47329
+
47330
+ /**
47331
+ * Returns whether this field is set.
47332
+ * @return {boolean}
47333
+ */
47334
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVSettings.prototype.hasChassisSerialNumber = function() {
47335
+ return jspb.Message.getField(this, 11) != null;
47336
+ };
47337
+
47338
+
47339
+ /**
47340
+ * optional google.protobuf.StringValue chassis_asset_tag = 12;
47341
+ * @return {?proto.google.protobuf.StringValue}
47342
+ */
47343
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVSettings.prototype.getChassisAssetTag = function() {
47344
+ return /** @type{?proto.google.protobuf.StringValue} */ (
47345
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 12));
47346
+ };
47347
+
47348
+
47349
+ /**
47350
+ * @param {?proto.google.protobuf.StringValue|undefined} value
47351
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVSettings} returns this
47352
+ */
47353
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVSettings.prototype.setChassisAssetTag = function(value) {
47354
+ return jspb.Message.setWrapperField(this, 12, value);
47355
+ };
47356
+
47357
+
47358
+ /**
47359
+ * Clears the message field making it undefined.
47360
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVSettings} returns this
47361
+ */
47362
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVSettings.prototype.clearChassisAssetTag = function() {
47363
+ return this.setChassisAssetTag(undefined);
47364
+ };
47365
+
47366
+
47367
+ /**
47368
+ * Returns whether this field is set.
47369
+ * @return {boolean}
47370
+ */
47371
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVSettings.prototype.hasChassisAssetTag = function() {
47372
+ return jspb.Message.getField(this, 12) != null;
47373
+ };
47374
+
47375
+
47376
+ /**
47377
+ * optional google.protobuf.StringValue virtual_system_type = 13;
47378
+ * @return {?proto.google.protobuf.StringValue}
47379
+ */
47380
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVSettings.prototype.getVirtualSystemType = function() {
47381
+ return /** @type{?proto.google.protobuf.StringValue} */ (
47382
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 13));
47383
+ };
47384
+
47385
+
47386
+ /**
47387
+ * @param {?proto.google.protobuf.StringValue|undefined} value
47388
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVSettings} returns this
47389
+ */
47390
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVSettings.prototype.setVirtualSystemType = function(value) {
47391
+ return jspb.Message.setWrapperField(this, 13, value);
47392
+ };
47393
+
47394
+
47395
+ /**
47396
+ * Clears the message field making it undefined.
47397
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVSettings} returns this
47398
+ */
47399
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVSettings.prototype.clearVirtualSystemType = function() {
47400
+ return this.setVirtualSystemType(undefined);
47401
+ };
47402
+
47403
+
47404
+ /**
47405
+ * Returns whether this field is set.
47406
+ * @return {boolean}
47407
+ */
47408
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVSettings.prototype.hasVirtualSystemType = function() {
47409
+ return jspb.Message.getField(this, 13) != null;
47410
+ };
47411
+
47412
+
47413
+
47414
+ /**
47415
+ * List of repeated fields within this message type.
47416
+ * @private {!Array<number>}
47417
+ * @const
47418
+ */
47419
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsHyperVKvp.repeatedFields_ = [1];
47420
+
47421
+
47422
+
47423
+ if (jspb.Message.GENERATE_TO_OBJECT) {
47424
+ /**
47425
+ * Creates an object representation of this proto.
47426
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
47427
+ * Optional fields that are not set will be set to undefined.
47428
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
47429
+ * For the list of reserved names please see:
47430
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
47431
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
47432
+ * JSPB instance for transitional soy proto support:
47433
+ * http://goto/soy-param-migration
47434
+ * @return {!Object}
47435
+ */
47436
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsHyperVKvp.prototype.toObject = function(opt_includeInstance) {
47437
+ return proto.com.lansweeper.discovery.sensor.windows.v1.WindowsHyperVKvp.toObject(opt_includeInstance, this);
47438
+ };
47439
+
47440
+
47441
+ /**
47442
+ * Static version of the {@see toObject} method.
47443
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
47444
+ * the JSPB instance for transitional soy proto support:
47445
+ * http://goto/soy-param-migration
47446
+ * @param {!proto.com.lansweeper.discovery.sensor.windows.v1.WindowsHyperVKvp} msg The msg instance to transform.
47447
+ * @return {!Object}
47448
+ * @suppress {unusedLocalVariables} f is only used for nested messages
47449
+ */
47450
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsHyperVKvp.toObject = function(includeInstance, msg) {
47451
+ var f, obj = {
47452
+ entriesList: jspb.Message.toObjectList(msg.getEntriesList(),
47453
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry.toObject, includeInstance)
47454
+ };
47455
+
47456
+ if (includeInstance) {
47457
+ obj.$jspbMessageInstance = msg;
47458
+ }
47459
+ return obj;
47460
+ };
47461
+ }
47462
+
47463
+
47464
+ /**
47465
+ * Deserializes binary data (in protobuf wire format).
47466
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
47467
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.WindowsHyperVKvp}
47468
+ */
47469
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsHyperVKvp.deserializeBinary = function(bytes) {
47470
+ var reader = new jspb.BinaryReader(bytes);
47471
+ var msg = new proto.com.lansweeper.discovery.sensor.windows.v1.WindowsHyperVKvp;
47472
+ return proto.com.lansweeper.discovery.sensor.windows.v1.WindowsHyperVKvp.deserializeBinaryFromReader(msg, reader);
47473
+ };
47474
+
47475
+
47476
+ /**
47477
+ * Deserializes binary data (in protobuf wire format) from the
47478
+ * given reader into the given message object.
47479
+ * @param {!proto.com.lansweeper.discovery.sensor.windows.v1.WindowsHyperVKvp} msg The message object to deserialize into.
47480
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
47481
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.WindowsHyperVKvp}
47482
+ */
47483
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsHyperVKvp.deserializeBinaryFromReader = function(msg, reader) {
47484
+ while (reader.nextField()) {
47485
+ if (reader.isEndGroup()) {
47486
+ break;
47487
+ }
47488
+ var field = reader.getFieldNumber();
47489
+ switch (field) {
47490
+ case 1:
47491
+ var value = new proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry;
47492
+ reader.readMessage(value,proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry.deserializeBinaryFromReader);
47493
+ msg.addEntries(value);
47494
+ break;
47495
+ default:
47496
+ reader.skipField();
47497
+ break;
47498
+ }
47499
+ }
47500
+ return msg;
47501
+ };
47502
+
47503
+
47504
+ /**
47505
+ * Serializes the message to binary data (in protobuf wire format).
47506
+ * @return {!Uint8Array}
47507
+ */
47508
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsHyperVKvp.prototype.serializeBinary = function() {
47509
+ var writer = new jspb.BinaryWriter();
47510
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsHyperVKvp.serializeBinaryToWriter(this, writer);
47511
+ return writer.getResultBuffer();
47512
+ };
47513
+
47514
+
47515
+ /**
47516
+ * Serializes the given message to binary data (in protobuf wire
47517
+ * format), writing to the given BinaryWriter.
47518
+ * @param {!proto.com.lansweeper.discovery.sensor.windows.v1.WindowsHyperVKvp} message
47519
+ * @param {!jspb.BinaryWriter} writer
47520
+ * @suppress {unusedLocalVariables} f is only used for nested messages
47521
+ */
47522
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsHyperVKvp.serializeBinaryToWriter = function(message, writer) {
47523
+ var f = undefined;
47524
+ f = message.getEntriesList();
47525
+ if (f.length > 0) {
47526
+ writer.writeRepeatedMessage(
47527
+ 1,
47528
+ f,
47529
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry.serializeBinaryToWriter
47530
+ );
47531
+ }
47532
+ };
47533
+
47534
+
47535
+ /**
47536
+ * repeated HyperVKvpEntry entries = 1;
47537
+ * @return {!Array<!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry>}
47538
+ */
47539
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsHyperVKvp.prototype.getEntriesList = function() {
47540
+ return /** @type{!Array<!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry>} */ (
47541
+ jspb.Message.getRepeatedWrapperField(this, proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry, 1));
47542
+ };
47543
+
47544
+
47545
+ /**
47546
+ * @param {!Array<!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry>} value
47547
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.WindowsHyperVKvp} returns this
47548
+ */
47549
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsHyperVKvp.prototype.setEntriesList = function(value) {
47550
+ return jspb.Message.setRepeatedWrapperField(this, 1, value);
47551
+ };
47552
+
47553
+
47554
+ /**
47555
+ * @param {!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry=} opt_value
47556
+ * @param {number=} opt_index
47557
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry}
47558
+ */
47559
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsHyperVKvp.prototype.addEntries = function(opt_value, opt_index) {
47560
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry, opt_index);
47561
+ };
47562
+
47563
+
47564
+ /**
47565
+ * Clears the list making it empty but non-null.
47566
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.WindowsHyperVKvp} returns this
47567
+ */
47568
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsHyperVKvp.prototype.clearEntriesList = function() {
47569
+ return this.setEntriesList([]);
47570
+ };
47571
+
47572
+
47573
+
47574
+
47575
+
47576
+ if (jspb.Message.GENERATE_TO_OBJECT) {
47577
+ /**
47578
+ * Creates an object representation of this proto.
47579
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
47580
+ * Optional fields that are not set will be set to undefined.
47581
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
47582
+ * For the list of reserved names please see:
47583
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
47584
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
47585
+ * JSPB instance for transitional soy proto support:
47586
+ * http://goto/soy-param-migration
47587
+ * @return {!Object}
47588
+ */
47589
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry.prototype.toObject = function(opt_includeInstance) {
47590
+ return proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry.toObject(opt_includeInstance, this);
47591
+ };
47592
+
47593
+
47594
+ /**
47595
+ * Static version of the {@see toObject} method.
47596
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
47597
+ * the JSPB instance for transitional soy proto support:
47598
+ * http://goto/soy-param-migration
47599
+ * @param {!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry} msg The msg instance to transform.
47600
+ * @return {!Object}
47601
+ * @suppress {unusedLocalVariables} f is only used for nested messages
47602
+ */
47603
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry.toObject = function(includeInstance, msg) {
47604
+ var f, obj = {
47605
+ systemName: jspb.Message.getFieldWithDefault(msg, 1, ""),
47606
+ osName: (f = msg.getOsName()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
47607
+ osVersion: (f = msg.getOsVersion()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
47608
+ osBuildNumber: (f = msg.getOsBuildNumber()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
47609
+ osMajorVersion: (f = msg.getOsMajorVersion()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
47610
+ osMinorVersion: (f = msg.getOsMinorVersion()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
47611
+ osEditionId: (f = msg.getOsEditionId()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
47612
+ osPlatformId: (f = msg.getOsPlatformId()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
47613
+ osSignature: (f = msg.getOsSignature()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
47614
+ osVendor: (f = msg.getOsVendor()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
47615
+ productType: (f = msg.getProductType()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
47616
+ suiteMask: (f = msg.getSuiteMask()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
47617
+ processorArchitecture: (f = msg.getProcessorArchitecture()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
47618
+ csdVersion: (f = msg.getCsdVersion()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
47619
+ servicePackMajor: (f = msg.getServicePackMajor()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
47620
+ servicePackMinor: (f = msg.getServicePackMinor()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
47621
+ fullyQualifiedDomainName: (f = msg.getFullyQualifiedDomainName()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
47622
+ integrationServicesVersion: (f = msg.getIntegrationServicesVersion()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
47623
+ osDistributionName: (f = msg.getOsDistributionName()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
47624
+ osDistributionData: (f = msg.getOsDistributionData()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
47625
+ osKernelVersion: (f = msg.getOsKernelVersion()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f)
47626
+ };
47627
+
47628
+ if (includeInstance) {
47629
+ obj.$jspbMessageInstance = msg;
47630
+ }
47631
+ return obj;
47632
+ };
47633
+ }
47634
+
47635
+
47636
+ /**
47637
+ * Deserializes binary data (in protobuf wire format).
47638
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
47639
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry}
47640
+ */
47641
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry.deserializeBinary = function(bytes) {
47642
+ var reader = new jspb.BinaryReader(bytes);
47643
+ var msg = new proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry;
47644
+ return proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry.deserializeBinaryFromReader(msg, reader);
47645
+ };
47646
+
47647
+
47648
+ /**
47649
+ * Deserializes binary data (in protobuf wire format) from the
47650
+ * given reader into the given message object.
47651
+ * @param {!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry} msg The message object to deserialize into.
47652
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
47653
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry}
47654
+ */
47655
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry.deserializeBinaryFromReader = function(msg, reader) {
47656
+ while (reader.nextField()) {
47657
+ if (reader.isEndGroup()) {
47658
+ break;
47659
+ }
47660
+ var field = reader.getFieldNumber();
47661
+ switch (field) {
47662
+ case 1:
47663
+ var value = /** @type {string} */ (reader.readString());
47664
+ msg.setSystemName(value);
47665
+ break;
47666
+ case 2:
47667
+ var value = new google_protobuf_wrappers_pb.StringValue;
47668
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
47669
+ msg.setOsName(value);
47670
+ break;
47671
+ case 3:
47672
+ var value = new google_protobuf_wrappers_pb.StringValue;
47673
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
47674
+ msg.setOsVersion(value);
47675
+ break;
47676
+ case 4:
47677
+ var value = new google_protobuf_wrappers_pb.StringValue;
47678
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
47679
+ msg.setOsBuildNumber(value);
47680
+ break;
47681
+ case 5:
47682
+ var value = new google_protobuf_wrappers_pb.StringValue;
47683
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
47684
+ msg.setOsMajorVersion(value);
47685
+ break;
47686
+ case 6:
47687
+ var value = new google_protobuf_wrappers_pb.StringValue;
47688
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
47689
+ msg.setOsMinorVersion(value);
47690
+ break;
47691
+ case 7:
47692
+ var value = new google_protobuf_wrappers_pb.StringValue;
47693
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
47694
+ msg.setOsEditionId(value);
47695
+ break;
47696
+ case 8:
47697
+ var value = new google_protobuf_wrappers_pb.StringValue;
47698
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
47699
+ msg.setOsPlatformId(value);
47700
+ break;
47701
+ case 9:
47702
+ var value = new google_protobuf_wrappers_pb.StringValue;
47703
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
47704
+ msg.setOsSignature(value);
47705
+ break;
47706
+ case 10:
47707
+ var value = new google_protobuf_wrappers_pb.StringValue;
47708
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
47709
+ msg.setOsVendor(value);
47710
+ break;
47711
+ case 11:
47712
+ var value = new google_protobuf_wrappers_pb.StringValue;
47713
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
47714
+ msg.setProductType(value);
47715
+ break;
47716
+ case 12:
47717
+ var value = new google_protobuf_wrappers_pb.StringValue;
47718
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
47719
+ msg.setSuiteMask(value);
47720
+ break;
47721
+ case 13:
47722
+ var value = new google_protobuf_wrappers_pb.StringValue;
47723
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
47724
+ msg.setProcessorArchitecture(value);
47725
+ break;
47726
+ case 14:
47727
+ var value = new google_protobuf_wrappers_pb.StringValue;
47728
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
47729
+ msg.setCsdVersion(value);
47730
+ break;
47731
+ case 15:
47732
+ var value = new google_protobuf_wrappers_pb.StringValue;
47733
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
47734
+ msg.setServicePackMajor(value);
47735
+ break;
47736
+ case 16:
47737
+ var value = new google_protobuf_wrappers_pb.StringValue;
47738
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
47739
+ msg.setServicePackMinor(value);
47740
+ break;
47741
+ case 17:
47742
+ var value = new google_protobuf_wrappers_pb.StringValue;
47743
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
47744
+ msg.setFullyQualifiedDomainName(value);
47745
+ break;
47746
+ case 18:
47747
+ var value = new google_protobuf_wrappers_pb.StringValue;
47748
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
47749
+ msg.setIntegrationServicesVersion(value);
47750
+ break;
47751
+ case 19:
47752
+ var value = new google_protobuf_wrappers_pb.StringValue;
47753
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
47754
+ msg.setOsDistributionName(value);
47755
+ break;
47756
+ case 20:
47757
+ var value = new google_protobuf_wrappers_pb.StringValue;
47758
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
47759
+ msg.setOsDistributionData(value);
47760
+ break;
47761
+ case 21:
47762
+ var value = new google_protobuf_wrappers_pb.StringValue;
47763
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
47764
+ msg.setOsKernelVersion(value);
47765
+ break;
47766
+ default:
47767
+ reader.skipField();
47768
+ break;
47769
+ }
47770
+ }
47771
+ return msg;
47772
+ };
47773
+
47774
+
47775
+ /**
47776
+ * Serializes the message to binary data (in protobuf wire format).
47777
+ * @return {!Uint8Array}
47778
+ */
47779
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry.prototype.serializeBinary = function() {
47780
+ var writer = new jspb.BinaryWriter();
47781
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry.serializeBinaryToWriter(this, writer);
47782
+ return writer.getResultBuffer();
47783
+ };
47784
+
47785
+
47786
+ /**
47787
+ * Serializes the given message to binary data (in protobuf wire
47788
+ * format), writing to the given BinaryWriter.
47789
+ * @param {!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry} message
47790
+ * @param {!jspb.BinaryWriter} writer
47791
+ * @suppress {unusedLocalVariables} f is only used for nested messages
47792
+ */
47793
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry.serializeBinaryToWriter = function(message, writer) {
47794
+ var f = undefined;
47795
+ f = message.getSystemName();
47796
+ if (f.length > 0) {
47797
+ writer.writeString(
47798
+ 1,
47799
+ f
47800
+ );
47801
+ }
47802
+ f = message.getOsName();
47803
+ if (f != null) {
47804
+ writer.writeMessage(
47805
+ 2,
47806
+ f,
47807
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
47808
+ );
47809
+ }
47810
+ f = message.getOsVersion();
47811
+ if (f != null) {
47812
+ writer.writeMessage(
47813
+ 3,
47814
+ f,
47815
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
47816
+ );
47817
+ }
47818
+ f = message.getOsBuildNumber();
47819
+ if (f != null) {
47820
+ writer.writeMessage(
47821
+ 4,
47822
+ f,
47823
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
47824
+ );
47825
+ }
47826
+ f = message.getOsMajorVersion();
47827
+ if (f != null) {
47828
+ writer.writeMessage(
47829
+ 5,
47830
+ f,
47831
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
47832
+ );
47833
+ }
47834
+ f = message.getOsMinorVersion();
47835
+ if (f != null) {
47836
+ writer.writeMessage(
47837
+ 6,
47838
+ f,
47839
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
47840
+ );
47841
+ }
47842
+ f = message.getOsEditionId();
47843
+ if (f != null) {
47844
+ writer.writeMessage(
47845
+ 7,
47846
+ f,
47847
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
47848
+ );
47849
+ }
47850
+ f = message.getOsPlatformId();
47851
+ if (f != null) {
47852
+ writer.writeMessage(
47853
+ 8,
47854
+ f,
47855
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
47856
+ );
47857
+ }
47858
+ f = message.getOsSignature();
47859
+ if (f != null) {
47860
+ writer.writeMessage(
47861
+ 9,
47862
+ f,
47863
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
47864
+ );
47865
+ }
47866
+ f = message.getOsVendor();
47867
+ if (f != null) {
47868
+ writer.writeMessage(
47869
+ 10,
47870
+ f,
47871
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
47872
+ );
47873
+ }
47874
+ f = message.getProductType();
47875
+ if (f != null) {
47876
+ writer.writeMessage(
47877
+ 11,
47878
+ f,
47879
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
47880
+ );
47881
+ }
47882
+ f = message.getSuiteMask();
47883
+ if (f != null) {
47884
+ writer.writeMessage(
47885
+ 12,
47886
+ f,
47887
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
47888
+ );
47889
+ }
47890
+ f = message.getProcessorArchitecture();
47891
+ if (f != null) {
47892
+ writer.writeMessage(
47893
+ 13,
47894
+ f,
47895
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
47896
+ );
47897
+ }
47898
+ f = message.getCsdVersion();
47899
+ if (f != null) {
47900
+ writer.writeMessage(
47901
+ 14,
47902
+ f,
47903
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
47904
+ );
47905
+ }
47906
+ f = message.getServicePackMajor();
47907
+ if (f != null) {
47908
+ writer.writeMessage(
47909
+ 15,
47910
+ f,
47911
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
47912
+ );
47913
+ }
47914
+ f = message.getServicePackMinor();
47915
+ if (f != null) {
47916
+ writer.writeMessage(
47917
+ 16,
47918
+ f,
47919
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
47920
+ );
47921
+ }
47922
+ f = message.getFullyQualifiedDomainName();
47923
+ if (f != null) {
47924
+ writer.writeMessage(
47925
+ 17,
47926
+ f,
47927
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
47928
+ );
47929
+ }
47930
+ f = message.getIntegrationServicesVersion();
47931
+ if (f != null) {
47932
+ writer.writeMessage(
47933
+ 18,
47934
+ f,
47935
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
47936
+ );
47937
+ }
47938
+ f = message.getOsDistributionName();
47939
+ if (f != null) {
47940
+ writer.writeMessage(
47941
+ 19,
47942
+ f,
47943
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
47944
+ );
47945
+ }
47946
+ f = message.getOsDistributionData();
47947
+ if (f != null) {
47948
+ writer.writeMessage(
47949
+ 20,
47950
+ f,
47951
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
47952
+ );
47953
+ }
47954
+ f = message.getOsKernelVersion();
47955
+ if (f != null) {
47956
+ writer.writeMessage(
47957
+ 21,
47958
+ f,
47959
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
47960
+ );
47961
+ }
47962
+ };
47963
+
47964
+
47965
+ /**
47966
+ * optional string system_name = 1;
47967
+ * @return {string}
47968
+ */
47969
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry.prototype.getSystemName = function() {
47970
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
47971
+ };
47972
+
47973
+
47974
+ /**
47975
+ * @param {string} value
47976
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry} returns this
47977
+ */
47978
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry.prototype.setSystemName = function(value) {
47979
+ return jspb.Message.setProto3StringField(this, 1, value);
47980
+ };
47981
+
47982
+
47983
+ /**
47984
+ * optional google.protobuf.StringValue os_name = 2;
47985
+ * @return {?proto.google.protobuf.StringValue}
47986
+ */
47987
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry.prototype.getOsName = function() {
47988
+ return /** @type{?proto.google.protobuf.StringValue} */ (
47989
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 2));
47990
+ };
47991
+
47992
+
47993
+ /**
47994
+ * @param {?proto.google.protobuf.StringValue|undefined} value
47995
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry} returns this
47996
+ */
47997
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry.prototype.setOsName = function(value) {
47998
+ return jspb.Message.setWrapperField(this, 2, value);
47999
+ };
48000
+
48001
+
48002
+ /**
48003
+ * Clears the message field making it undefined.
48004
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry} returns this
48005
+ */
48006
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry.prototype.clearOsName = function() {
48007
+ return this.setOsName(undefined);
48008
+ };
48009
+
48010
+
48011
+ /**
48012
+ * Returns whether this field is set.
48013
+ * @return {boolean}
48014
+ */
48015
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry.prototype.hasOsName = function() {
48016
+ return jspb.Message.getField(this, 2) != null;
48017
+ };
48018
+
48019
+
48020
+ /**
48021
+ * optional google.protobuf.StringValue os_version = 3;
48022
+ * @return {?proto.google.protobuf.StringValue}
48023
+ */
48024
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry.prototype.getOsVersion = function() {
48025
+ return /** @type{?proto.google.protobuf.StringValue} */ (
48026
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 3));
48027
+ };
48028
+
48029
+
48030
+ /**
48031
+ * @param {?proto.google.protobuf.StringValue|undefined} value
48032
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry} returns this
48033
+ */
48034
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry.prototype.setOsVersion = function(value) {
48035
+ return jspb.Message.setWrapperField(this, 3, value);
48036
+ };
48037
+
48038
+
48039
+ /**
48040
+ * Clears the message field making it undefined.
48041
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry} returns this
48042
+ */
48043
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry.prototype.clearOsVersion = function() {
48044
+ return this.setOsVersion(undefined);
48045
+ };
48046
+
48047
+
48048
+ /**
48049
+ * Returns whether this field is set.
48050
+ * @return {boolean}
48051
+ */
48052
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry.prototype.hasOsVersion = function() {
48053
+ return jspb.Message.getField(this, 3) != null;
48054
+ };
48055
+
48056
+
48057
+ /**
48058
+ * optional google.protobuf.StringValue os_build_number = 4;
48059
+ * @return {?proto.google.protobuf.StringValue}
48060
+ */
48061
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry.prototype.getOsBuildNumber = function() {
48062
+ return /** @type{?proto.google.protobuf.StringValue} */ (
48063
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 4));
48064
+ };
48065
+
48066
+
48067
+ /**
48068
+ * @param {?proto.google.protobuf.StringValue|undefined} value
48069
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry} returns this
48070
+ */
48071
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry.prototype.setOsBuildNumber = function(value) {
48072
+ return jspb.Message.setWrapperField(this, 4, value);
48073
+ };
48074
+
48075
+
48076
+ /**
48077
+ * Clears the message field making it undefined.
48078
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry} returns this
48079
+ */
48080
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry.prototype.clearOsBuildNumber = function() {
48081
+ return this.setOsBuildNumber(undefined);
48082
+ };
48083
+
48084
+
48085
+ /**
48086
+ * Returns whether this field is set.
48087
+ * @return {boolean}
48088
+ */
48089
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry.prototype.hasOsBuildNumber = function() {
48090
+ return jspb.Message.getField(this, 4) != null;
48091
+ };
48092
+
48093
+
48094
+ /**
48095
+ * optional google.protobuf.StringValue os_major_version = 5;
48096
+ * @return {?proto.google.protobuf.StringValue}
48097
+ */
48098
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry.prototype.getOsMajorVersion = function() {
48099
+ return /** @type{?proto.google.protobuf.StringValue} */ (
48100
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 5));
48101
+ };
48102
+
48103
+
48104
+ /**
48105
+ * @param {?proto.google.protobuf.StringValue|undefined} value
48106
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry} returns this
48107
+ */
48108
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry.prototype.setOsMajorVersion = function(value) {
48109
+ return jspb.Message.setWrapperField(this, 5, value);
48110
+ };
48111
+
48112
+
48113
+ /**
48114
+ * Clears the message field making it undefined.
48115
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry} returns this
48116
+ */
48117
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry.prototype.clearOsMajorVersion = function() {
48118
+ return this.setOsMajorVersion(undefined);
48119
+ };
48120
+
48121
+
48122
+ /**
48123
+ * Returns whether this field is set.
48124
+ * @return {boolean}
48125
+ */
48126
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry.prototype.hasOsMajorVersion = function() {
48127
+ return jspb.Message.getField(this, 5) != null;
48128
+ };
48129
+
48130
+
48131
+ /**
48132
+ * optional google.protobuf.StringValue os_minor_version = 6;
48133
+ * @return {?proto.google.protobuf.StringValue}
48134
+ */
48135
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry.prototype.getOsMinorVersion = function() {
48136
+ return /** @type{?proto.google.protobuf.StringValue} */ (
48137
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 6));
48138
+ };
48139
+
48140
+
48141
+ /**
48142
+ * @param {?proto.google.protobuf.StringValue|undefined} value
48143
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry} returns this
48144
+ */
48145
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry.prototype.setOsMinorVersion = function(value) {
48146
+ return jspb.Message.setWrapperField(this, 6, value);
48147
+ };
48148
+
48149
+
48150
+ /**
48151
+ * Clears the message field making it undefined.
48152
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry} returns this
48153
+ */
48154
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry.prototype.clearOsMinorVersion = function() {
48155
+ return this.setOsMinorVersion(undefined);
48156
+ };
48157
+
48158
+
48159
+ /**
48160
+ * Returns whether this field is set.
48161
+ * @return {boolean}
48162
+ */
48163
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry.prototype.hasOsMinorVersion = function() {
48164
+ return jspb.Message.getField(this, 6) != null;
48165
+ };
48166
+
48167
+
48168
+ /**
48169
+ * optional google.protobuf.StringValue os_edition_id = 7;
48170
+ * @return {?proto.google.protobuf.StringValue}
48171
+ */
48172
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry.prototype.getOsEditionId = function() {
48173
+ return /** @type{?proto.google.protobuf.StringValue} */ (
48174
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 7));
48175
+ };
48176
+
48177
+
48178
+ /**
48179
+ * @param {?proto.google.protobuf.StringValue|undefined} value
48180
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry} returns this
48181
+ */
48182
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry.prototype.setOsEditionId = function(value) {
48183
+ return jspb.Message.setWrapperField(this, 7, value);
48184
+ };
48185
+
48186
+
48187
+ /**
48188
+ * Clears the message field making it undefined.
48189
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry} returns this
48190
+ */
48191
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry.prototype.clearOsEditionId = function() {
48192
+ return this.setOsEditionId(undefined);
48193
+ };
48194
+
48195
+
48196
+ /**
48197
+ * Returns whether this field is set.
48198
+ * @return {boolean}
48199
+ */
48200
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry.prototype.hasOsEditionId = function() {
48201
+ return jspb.Message.getField(this, 7) != null;
48202
+ };
48203
+
48204
+
48205
+ /**
48206
+ * optional google.protobuf.StringValue os_platform_id = 8;
48207
+ * @return {?proto.google.protobuf.StringValue}
48208
+ */
48209
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry.prototype.getOsPlatformId = function() {
48210
+ return /** @type{?proto.google.protobuf.StringValue} */ (
48211
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 8));
48212
+ };
48213
+
48214
+
48215
+ /**
48216
+ * @param {?proto.google.protobuf.StringValue|undefined} value
48217
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry} returns this
48218
+ */
48219
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry.prototype.setOsPlatformId = function(value) {
48220
+ return jspb.Message.setWrapperField(this, 8, value);
48221
+ };
48222
+
48223
+
48224
+ /**
48225
+ * Clears the message field making it undefined.
48226
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry} returns this
48227
+ */
48228
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry.prototype.clearOsPlatformId = function() {
48229
+ return this.setOsPlatformId(undefined);
48230
+ };
48231
+
48232
+
48233
+ /**
48234
+ * Returns whether this field is set.
48235
+ * @return {boolean}
48236
+ */
48237
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry.prototype.hasOsPlatformId = function() {
48238
+ return jspb.Message.getField(this, 8) != null;
48239
+ };
48240
+
48241
+
48242
+ /**
48243
+ * optional google.protobuf.StringValue os_signature = 9;
48244
+ * @return {?proto.google.protobuf.StringValue}
48245
+ */
48246
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry.prototype.getOsSignature = function() {
48247
+ return /** @type{?proto.google.protobuf.StringValue} */ (
48248
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 9));
48249
+ };
48250
+
48251
+
48252
+ /**
48253
+ * @param {?proto.google.protobuf.StringValue|undefined} value
48254
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry} returns this
48255
+ */
48256
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry.prototype.setOsSignature = function(value) {
48257
+ return jspb.Message.setWrapperField(this, 9, value);
48258
+ };
48259
+
48260
+
48261
+ /**
48262
+ * Clears the message field making it undefined.
48263
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry} returns this
48264
+ */
48265
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry.prototype.clearOsSignature = function() {
48266
+ return this.setOsSignature(undefined);
48267
+ };
48268
+
48269
+
48270
+ /**
48271
+ * Returns whether this field is set.
48272
+ * @return {boolean}
48273
+ */
48274
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry.prototype.hasOsSignature = function() {
48275
+ return jspb.Message.getField(this, 9) != null;
48276
+ };
48277
+
48278
+
48279
+ /**
48280
+ * optional google.protobuf.StringValue os_vendor = 10;
48281
+ * @return {?proto.google.protobuf.StringValue}
48282
+ */
48283
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry.prototype.getOsVendor = function() {
48284
+ return /** @type{?proto.google.protobuf.StringValue} */ (
48285
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 10));
48286
+ };
48287
+
48288
+
48289
+ /**
48290
+ * @param {?proto.google.protobuf.StringValue|undefined} value
48291
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry} returns this
48292
+ */
48293
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry.prototype.setOsVendor = function(value) {
48294
+ return jspb.Message.setWrapperField(this, 10, value);
48295
+ };
48296
+
48297
+
48298
+ /**
48299
+ * Clears the message field making it undefined.
48300
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry} returns this
48301
+ */
48302
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry.prototype.clearOsVendor = function() {
48303
+ return this.setOsVendor(undefined);
48304
+ };
48305
+
48306
+
48307
+ /**
48308
+ * Returns whether this field is set.
48309
+ * @return {boolean}
48310
+ */
48311
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry.prototype.hasOsVendor = function() {
48312
+ return jspb.Message.getField(this, 10) != null;
48313
+ };
48314
+
48315
+
48316
+ /**
48317
+ * optional google.protobuf.StringValue product_type = 11;
48318
+ * @return {?proto.google.protobuf.StringValue}
48319
+ */
48320
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry.prototype.getProductType = function() {
48321
+ return /** @type{?proto.google.protobuf.StringValue} */ (
48322
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 11));
48323
+ };
48324
+
48325
+
48326
+ /**
48327
+ * @param {?proto.google.protobuf.StringValue|undefined} value
48328
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry} returns this
48329
+ */
48330
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry.prototype.setProductType = function(value) {
48331
+ return jspb.Message.setWrapperField(this, 11, value);
48332
+ };
48333
+
48334
+
48335
+ /**
48336
+ * Clears the message field making it undefined.
48337
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry} returns this
48338
+ */
48339
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry.prototype.clearProductType = function() {
48340
+ return this.setProductType(undefined);
48341
+ };
48342
+
48343
+
48344
+ /**
48345
+ * Returns whether this field is set.
48346
+ * @return {boolean}
48347
+ */
48348
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry.prototype.hasProductType = function() {
48349
+ return jspb.Message.getField(this, 11) != null;
48350
+ };
48351
+
48352
+
48353
+ /**
48354
+ * optional google.protobuf.StringValue suite_mask = 12;
48355
+ * @return {?proto.google.protobuf.StringValue}
48356
+ */
48357
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry.prototype.getSuiteMask = function() {
48358
+ return /** @type{?proto.google.protobuf.StringValue} */ (
48359
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 12));
48360
+ };
48361
+
48362
+
48363
+ /**
48364
+ * @param {?proto.google.protobuf.StringValue|undefined} value
48365
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry} returns this
48366
+ */
48367
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry.prototype.setSuiteMask = function(value) {
48368
+ return jspb.Message.setWrapperField(this, 12, value);
48369
+ };
48370
+
48371
+
48372
+ /**
48373
+ * Clears the message field making it undefined.
48374
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry} returns this
48375
+ */
48376
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry.prototype.clearSuiteMask = function() {
48377
+ return this.setSuiteMask(undefined);
48378
+ };
48379
+
48380
+
48381
+ /**
48382
+ * Returns whether this field is set.
48383
+ * @return {boolean}
48384
+ */
48385
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry.prototype.hasSuiteMask = function() {
48386
+ return jspb.Message.getField(this, 12) != null;
48387
+ };
48388
+
48389
+
48390
+ /**
48391
+ * optional google.protobuf.StringValue processor_architecture = 13;
48392
+ * @return {?proto.google.protobuf.StringValue}
48393
+ */
48394
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry.prototype.getProcessorArchitecture = function() {
48395
+ return /** @type{?proto.google.protobuf.StringValue} */ (
48396
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 13));
48397
+ };
48398
+
48399
+
48400
+ /**
48401
+ * @param {?proto.google.protobuf.StringValue|undefined} value
48402
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry} returns this
48403
+ */
48404
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry.prototype.setProcessorArchitecture = function(value) {
48405
+ return jspb.Message.setWrapperField(this, 13, value);
48406
+ };
48407
+
48408
+
48409
+ /**
48410
+ * Clears the message field making it undefined.
48411
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry} returns this
48412
+ */
48413
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry.prototype.clearProcessorArchitecture = function() {
48414
+ return this.setProcessorArchitecture(undefined);
48415
+ };
48416
+
48417
+
48418
+ /**
48419
+ * Returns whether this field is set.
48420
+ * @return {boolean}
48421
+ */
48422
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry.prototype.hasProcessorArchitecture = function() {
48423
+ return jspb.Message.getField(this, 13) != null;
48424
+ };
48425
+
48426
+
48427
+ /**
48428
+ * optional google.protobuf.StringValue csd_version = 14;
48429
+ * @return {?proto.google.protobuf.StringValue}
48430
+ */
48431
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry.prototype.getCsdVersion = function() {
48432
+ return /** @type{?proto.google.protobuf.StringValue} */ (
48433
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 14));
48434
+ };
48435
+
48436
+
48437
+ /**
48438
+ * @param {?proto.google.protobuf.StringValue|undefined} value
48439
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry} returns this
48440
+ */
48441
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry.prototype.setCsdVersion = function(value) {
48442
+ return jspb.Message.setWrapperField(this, 14, value);
48443
+ };
48444
+
48445
+
48446
+ /**
48447
+ * Clears the message field making it undefined.
48448
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry} returns this
48449
+ */
48450
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry.prototype.clearCsdVersion = function() {
48451
+ return this.setCsdVersion(undefined);
48452
+ };
48453
+
48454
+
48455
+ /**
48456
+ * Returns whether this field is set.
48457
+ * @return {boolean}
48458
+ */
48459
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry.prototype.hasCsdVersion = function() {
48460
+ return jspb.Message.getField(this, 14) != null;
48461
+ };
48462
+
48463
+
48464
+ /**
48465
+ * optional google.protobuf.StringValue service_pack_major = 15;
48466
+ * @return {?proto.google.protobuf.StringValue}
48467
+ */
48468
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry.prototype.getServicePackMajor = function() {
48469
+ return /** @type{?proto.google.protobuf.StringValue} */ (
48470
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 15));
48471
+ };
48472
+
48473
+
48474
+ /**
48475
+ * @param {?proto.google.protobuf.StringValue|undefined} value
48476
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry} returns this
48477
+ */
48478
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry.prototype.setServicePackMajor = function(value) {
48479
+ return jspb.Message.setWrapperField(this, 15, value);
48480
+ };
48481
+
48482
+
48483
+ /**
48484
+ * Clears the message field making it undefined.
48485
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry} returns this
48486
+ */
48487
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry.prototype.clearServicePackMajor = function() {
48488
+ return this.setServicePackMajor(undefined);
48489
+ };
48490
+
48491
+
48492
+ /**
48493
+ * Returns whether this field is set.
48494
+ * @return {boolean}
48495
+ */
48496
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry.prototype.hasServicePackMajor = function() {
48497
+ return jspb.Message.getField(this, 15) != null;
48498
+ };
48499
+
48500
+
48501
+ /**
48502
+ * optional google.protobuf.StringValue service_pack_minor = 16;
48503
+ * @return {?proto.google.protobuf.StringValue}
48504
+ */
48505
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry.prototype.getServicePackMinor = function() {
48506
+ return /** @type{?proto.google.protobuf.StringValue} */ (
48507
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 16));
48508
+ };
48509
+
48510
+
48511
+ /**
48512
+ * @param {?proto.google.protobuf.StringValue|undefined} value
48513
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry} returns this
48514
+ */
48515
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry.prototype.setServicePackMinor = function(value) {
48516
+ return jspb.Message.setWrapperField(this, 16, value);
48517
+ };
48518
+
48519
+
48520
+ /**
48521
+ * Clears the message field making it undefined.
48522
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry} returns this
48523
+ */
48524
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry.prototype.clearServicePackMinor = function() {
48525
+ return this.setServicePackMinor(undefined);
48526
+ };
48527
+
48528
+
48529
+ /**
48530
+ * Returns whether this field is set.
48531
+ * @return {boolean}
48532
+ */
48533
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry.prototype.hasServicePackMinor = function() {
48534
+ return jspb.Message.getField(this, 16) != null;
48535
+ };
48536
+
48537
+
48538
+ /**
48539
+ * optional google.protobuf.StringValue fully_qualified_domain_name = 17;
48540
+ * @return {?proto.google.protobuf.StringValue}
48541
+ */
48542
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry.prototype.getFullyQualifiedDomainName = function() {
48543
+ return /** @type{?proto.google.protobuf.StringValue} */ (
48544
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 17));
48545
+ };
48546
+
48547
+
48548
+ /**
48549
+ * @param {?proto.google.protobuf.StringValue|undefined} value
48550
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry} returns this
48551
+ */
48552
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry.prototype.setFullyQualifiedDomainName = function(value) {
48553
+ return jspb.Message.setWrapperField(this, 17, value);
48554
+ };
48555
+
48556
+
48557
+ /**
48558
+ * Clears the message field making it undefined.
48559
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry} returns this
48560
+ */
48561
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry.prototype.clearFullyQualifiedDomainName = function() {
48562
+ return this.setFullyQualifiedDomainName(undefined);
48563
+ };
48564
+
48565
+
48566
+ /**
48567
+ * Returns whether this field is set.
48568
+ * @return {boolean}
48569
+ */
48570
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry.prototype.hasFullyQualifiedDomainName = function() {
48571
+ return jspb.Message.getField(this, 17) != null;
48572
+ };
48573
+
48574
+
48575
+ /**
48576
+ * optional google.protobuf.StringValue integration_services_version = 18;
48577
+ * @return {?proto.google.protobuf.StringValue}
48578
+ */
48579
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry.prototype.getIntegrationServicesVersion = function() {
48580
+ return /** @type{?proto.google.protobuf.StringValue} */ (
48581
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 18));
48582
+ };
48583
+
48584
+
48585
+ /**
48586
+ * @param {?proto.google.protobuf.StringValue|undefined} value
48587
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry} returns this
48588
+ */
48589
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry.prototype.setIntegrationServicesVersion = function(value) {
48590
+ return jspb.Message.setWrapperField(this, 18, value);
48591
+ };
48592
+
48593
+
48594
+ /**
48595
+ * Clears the message field making it undefined.
48596
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry} returns this
48597
+ */
48598
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry.prototype.clearIntegrationServicesVersion = function() {
48599
+ return this.setIntegrationServicesVersion(undefined);
48600
+ };
48601
+
48602
+
48603
+ /**
48604
+ * Returns whether this field is set.
48605
+ * @return {boolean}
48606
+ */
48607
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry.prototype.hasIntegrationServicesVersion = function() {
48608
+ return jspb.Message.getField(this, 18) != null;
48609
+ };
48610
+
48611
+
48612
+ /**
48613
+ * optional google.protobuf.StringValue os_distribution_name = 19;
48614
+ * @return {?proto.google.protobuf.StringValue}
48615
+ */
48616
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry.prototype.getOsDistributionName = function() {
48617
+ return /** @type{?proto.google.protobuf.StringValue} */ (
48618
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 19));
48619
+ };
48620
+
48621
+
48622
+ /**
48623
+ * @param {?proto.google.protobuf.StringValue|undefined} value
48624
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry} returns this
48625
+ */
48626
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry.prototype.setOsDistributionName = function(value) {
48627
+ return jspb.Message.setWrapperField(this, 19, value);
48628
+ };
48629
+
48630
+
48631
+ /**
48632
+ * Clears the message field making it undefined.
48633
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry} returns this
48634
+ */
48635
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry.prototype.clearOsDistributionName = function() {
48636
+ return this.setOsDistributionName(undefined);
48637
+ };
48638
+
48639
+
48640
+ /**
48641
+ * Returns whether this field is set.
48642
+ * @return {boolean}
48643
+ */
48644
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry.prototype.hasOsDistributionName = function() {
48645
+ return jspb.Message.getField(this, 19) != null;
48646
+ };
48647
+
48648
+
48649
+ /**
48650
+ * optional google.protobuf.StringValue os_distribution_data = 20;
48651
+ * @return {?proto.google.protobuf.StringValue}
48652
+ */
48653
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry.prototype.getOsDistributionData = function() {
48654
+ return /** @type{?proto.google.protobuf.StringValue} */ (
48655
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 20));
48656
+ };
48657
+
48658
+
48659
+ /**
48660
+ * @param {?proto.google.protobuf.StringValue|undefined} value
48661
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry} returns this
48662
+ */
48663
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry.prototype.setOsDistributionData = function(value) {
48664
+ return jspb.Message.setWrapperField(this, 20, value);
48665
+ };
48666
+
48667
+
48668
+ /**
48669
+ * Clears the message field making it undefined.
48670
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry} returns this
48671
+ */
48672
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry.prototype.clearOsDistributionData = function() {
48673
+ return this.setOsDistributionData(undefined);
48674
+ };
48675
+
48676
+
48677
+ /**
48678
+ * Returns whether this field is set.
48679
+ * @return {boolean}
48680
+ */
48681
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry.prototype.hasOsDistributionData = function() {
48682
+ return jspb.Message.getField(this, 20) != null;
48683
+ };
48684
+
48685
+
48686
+ /**
48687
+ * optional google.protobuf.StringValue os_kernel_version = 21;
48688
+ * @return {?proto.google.protobuf.StringValue}
48689
+ */
48690
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry.prototype.getOsKernelVersion = function() {
48691
+ return /** @type{?proto.google.protobuf.StringValue} */ (
48692
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 21));
48693
+ };
48694
+
48695
+
48696
+ /**
48697
+ * @param {?proto.google.protobuf.StringValue|undefined} value
48698
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry} returns this
48699
+ */
48700
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry.prototype.setOsKernelVersion = function(value) {
48701
+ return jspb.Message.setWrapperField(this, 21, value);
48702
+ };
48703
+
48704
+
48705
+ /**
48706
+ * Clears the message field making it undefined.
48707
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry} returns this
48708
+ */
48709
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry.prototype.clearOsKernelVersion = function() {
48710
+ return this.setOsKernelVersion(undefined);
48711
+ };
48712
+
48713
+
48714
+ /**
48715
+ * Returns whether this field is set.
48716
+ * @return {boolean}
48717
+ */
48718
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVKvpEntry.prototype.hasOsKernelVersion = function() {
48719
+ return jspb.Message.getField(this, 21) != null;
48720
+ };
48721
+
48722
+
48723
+
48724
+ /**
48725
+ * List of repeated fields within this message type.
48726
+ * @private {!Array<number>}
48727
+ * @const
48728
+ */
48729
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsHyperVProcessor.repeatedFields_ = [1];
48730
+
48731
+
48732
+
48733
+ if (jspb.Message.GENERATE_TO_OBJECT) {
48734
+ /**
48735
+ * Creates an object representation of this proto.
48736
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
48737
+ * Optional fields that are not set will be set to undefined.
48738
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
48739
+ * For the list of reserved names please see:
48740
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
48741
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
48742
+ * JSPB instance for transitional soy proto support:
48743
+ * http://goto/soy-param-migration
48744
+ * @return {!Object}
48745
+ */
48746
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsHyperVProcessor.prototype.toObject = function(opt_includeInstance) {
48747
+ return proto.com.lansweeper.discovery.sensor.windows.v1.WindowsHyperVProcessor.toObject(opt_includeInstance, this);
48748
+ };
48749
+
48750
+
48751
+ /**
48752
+ * Static version of the {@see toObject} method.
48753
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
48754
+ * the JSPB instance for transitional soy proto support:
48755
+ * http://goto/soy-param-migration
48756
+ * @param {!proto.com.lansweeper.discovery.sensor.windows.v1.WindowsHyperVProcessor} msg The msg instance to transform.
48757
+ * @return {!Object}
48758
+ * @suppress {unusedLocalVariables} f is only used for nested messages
48759
+ */
48760
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsHyperVProcessor.toObject = function(includeInstance, msg) {
48761
+ var f, obj = {
48762
+ entriesList: jspb.Message.toObjectList(msg.getEntriesList(),
48763
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVProcessorEntry.toObject, includeInstance)
48764
+ };
48765
+
48766
+ if (includeInstance) {
48767
+ obj.$jspbMessageInstance = msg;
48768
+ }
48769
+ return obj;
48770
+ };
48771
+ }
48772
+
48773
+
48774
+ /**
48775
+ * Deserializes binary data (in protobuf wire format).
48776
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
48777
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.WindowsHyperVProcessor}
48778
+ */
48779
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsHyperVProcessor.deserializeBinary = function(bytes) {
48780
+ var reader = new jspb.BinaryReader(bytes);
48781
+ var msg = new proto.com.lansweeper.discovery.sensor.windows.v1.WindowsHyperVProcessor;
48782
+ return proto.com.lansweeper.discovery.sensor.windows.v1.WindowsHyperVProcessor.deserializeBinaryFromReader(msg, reader);
48783
+ };
48784
+
48785
+
48786
+ /**
48787
+ * Deserializes binary data (in protobuf wire format) from the
48788
+ * given reader into the given message object.
48789
+ * @param {!proto.com.lansweeper.discovery.sensor.windows.v1.WindowsHyperVProcessor} msg The message object to deserialize into.
48790
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
48791
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.WindowsHyperVProcessor}
48792
+ */
48793
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsHyperVProcessor.deserializeBinaryFromReader = function(msg, reader) {
48794
+ while (reader.nextField()) {
48795
+ if (reader.isEndGroup()) {
48796
+ break;
48797
+ }
48798
+ var field = reader.getFieldNumber();
48799
+ switch (field) {
48800
+ case 1:
48801
+ var value = new proto.com.lansweeper.discovery.sensor.windows.v1.HyperVProcessorEntry;
48802
+ reader.readMessage(value,proto.com.lansweeper.discovery.sensor.windows.v1.HyperVProcessorEntry.deserializeBinaryFromReader);
48803
+ msg.addEntries(value);
48804
+ break;
48805
+ default:
48806
+ reader.skipField();
48807
+ break;
48808
+ }
48809
+ }
48810
+ return msg;
48811
+ };
48812
+
48813
+
48814
+ /**
48815
+ * Serializes the message to binary data (in protobuf wire format).
48816
+ * @return {!Uint8Array}
48817
+ */
48818
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsHyperVProcessor.prototype.serializeBinary = function() {
48819
+ var writer = new jspb.BinaryWriter();
48820
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsHyperVProcessor.serializeBinaryToWriter(this, writer);
48821
+ return writer.getResultBuffer();
48822
+ };
48823
+
48824
+
48825
+ /**
48826
+ * Serializes the given message to binary data (in protobuf wire
48827
+ * format), writing to the given BinaryWriter.
48828
+ * @param {!proto.com.lansweeper.discovery.sensor.windows.v1.WindowsHyperVProcessor} message
48829
+ * @param {!jspb.BinaryWriter} writer
48830
+ * @suppress {unusedLocalVariables} f is only used for nested messages
48831
+ */
48832
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsHyperVProcessor.serializeBinaryToWriter = function(message, writer) {
48833
+ var f = undefined;
48834
+ f = message.getEntriesList();
48835
+ if (f.length > 0) {
48836
+ writer.writeRepeatedMessage(
48837
+ 1,
48838
+ f,
48839
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVProcessorEntry.serializeBinaryToWriter
48840
+ );
48841
+ }
48842
+ };
48843
+
48844
+
48845
+ /**
48846
+ * repeated HyperVProcessorEntry entries = 1;
48847
+ * @return {!Array<!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVProcessorEntry>}
48848
+ */
48849
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsHyperVProcessor.prototype.getEntriesList = function() {
48850
+ return /** @type{!Array<!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVProcessorEntry>} */ (
48851
+ jspb.Message.getRepeatedWrapperField(this, proto.com.lansweeper.discovery.sensor.windows.v1.HyperVProcessorEntry, 1));
48852
+ };
48853
+
48854
+
48855
+ /**
48856
+ * @param {!Array<!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVProcessorEntry>} value
48857
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.WindowsHyperVProcessor} returns this
48858
+ */
48859
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsHyperVProcessor.prototype.setEntriesList = function(value) {
48860
+ return jspb.Message.setRepeatedWrapperField(this, 1, value);
48861
+ };
48862
+
48863
+
48864
+ /**
48865
+ * @param {!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVProcessorEntry=} opt_value
48866
+ * @param {number=} opt_index
48867
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVProcessorEntry}
48868
+ */
48869
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsHyperVProcessor.prototype.addEntries = function(opt_value, opt_index) {
48870
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.com.lansweeper.discovery.sensor.windows.v1.HyperVProcessorEntry, opt_index);
48871
+ };
48872
+
48873
+
48874
+ /**
48875
+ * Clears the list making it empty but non-null.
48876
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.WindowsHyperVProcessor} returns this
48877
+ */
48878
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsHyperVProcessor.prototype.clearEntriesList = function() {
48879
+ return this.setEntriesList([]);
48880
+ };
48881
+
48882
+
48883
+
48884
+
48885
+
48886
+ if (jspb.Message.GENERATE_TO_OBJECT) {
48887
+ /**
48888
+ * Creates an object representation of this proto.
48889
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
48890
+ * Optional fields that are not set will be set to undefined.
48891
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
48892
+ * For the list of reserved names please see:
48893
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
48894
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
48895
+ * JSPB instance for transitional soy proto support:
48896
+ * http://goto/soy-param-migration
48897
+ * @return {!Object}
48898
+ */
48899
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVProcessorEntry.prototype.toObject = function(opt_includeInstance) {
48900
+ return proto.com.lansweeper.discovery.sensor.windows.v1.HyperVProcessorEntry.toObject(opt_includeInstance, this);
48901
+ };
48902
+
48903
+
48904
+ /**
48905
+ * Static version of the {@see toObject} method.
48906
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
48907
+ * the JSPB instance for transitional soy proto support:
48908
+ * http://goto/soy-param-migration
48909
+ * @param {!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVProcessorEntry} msg The msg instance to transform.
48910
+ * @return {!Object}
48911
+ * @suppress {unusedLocalVariables} f is only used for nested messages
48912
+ */
48913
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVProcessorEntry.toObject = function(includeInstance, msg) {
48914
+ var f, obj = {
48915
+ instanceId: (f = msg.getInstanceId()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
48916
+ virtualQuantity: (f = msg.getVirtualQuantity()) && google_protobuf_wrappers_pb.UInt32Value.toObject(includeInstance, f),
48917
+ reservation: (f = msg.getReservation()) && google_protobuf_wrappers_pb.UInt32Value.toObject(includeInstance, f),
48918
+ limit: (f = msg.getLimit()) && google_protobuf_wrappers_pb.UInt32Value.toObject(includeInstance, f),
48919
+ weight: (f = msg.getWeight()) && google_protobuf_wrappers_pb.UInt32Value.toObject(includeInstance, f),
48920
+ limitProcessorFeatures: (f = msg.getLimitProcessorFeatures()) && google_protobuf_wrappers_pb.BoolValue.toObject(includeInstance, f)
48921
+ };
48922
+
48923
+ if (includeInstance) {
48924
+ obj.$jspbMessageInstance = msg;
48925
+ }
48926
+ return obj;
48927
+ };
48928
+ }
48929
+
48930
+
48931
+ /**
48932
+ * Deserializes binary data (in protobuf wire format).
48933
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
48934
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVProcessorEntry}
48935
+ */
48936
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVProcessorEntry.deserializeBinary = function(bytes) {
48937
+ var reader = new jspb.BinaryReader(bytes);
48938
+ var msg = new proto.com.lansweeper.discovery.sensor.windows.v1.HyperVProcessorEntry;
48939
+ return proto.com.lansweeper.discovery.sensor.windows.v1.HyperVProcessorEntry.deserializeBinaryFromReader(msg, reader);
48940
+ };
48941
+
48942
+
48943
+ /**
48944
+ * Deserializes binary data (in protobuf wire format) from the
48945
+ * given reader into the given message object.
48946
+ * @param {!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVProcessorEntry} msg The message object to deserialize into.
48947
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
48948
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVProcessorEntry}
48949
+ */
48950
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVProcessorEntry.deserializeBinaryFromReader = function(msg, reader) {
48951
+ while (reader.nextField()) {
48952
+ if (reader.isEndGroup()) {
48953
+ break;
48954
+ }
48955
+ var field = reader.getFieldNumber();
48956
+ switch (field) {
48957
+ case 1:
48958
+ var value = new google_protobuf_wrappers_pb.StringValue;
48959
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
48960
+ msg.setInstanceId(value);
48961
+ break;
48962
+ case 2:
48963
+ var value = new google_protobuf_wrappers_pb.UInt32Value;
48964
+ reader.readMessage(value,google_protobuf_wrappers_pb.UInt32Value.deserializeBinaryFromReader);
48965
+ msg.setVirtualQuantity(value);
48966
+ break;
48967
+ case 3:
48968
+ var value = new google_protobuf_wrappers_pb.UInt32Value;
48969
+ reader.readMessage(value,google_protobuf_wrappers_pb.UInt32Value.deserializeBinaryFromReader);
48970
+ msg.setReservation(value);
48971
+ break;
48972
+ case 4:
48973
+ var value = new google_protobuf_wrappers_pb.UInt32Value;
48974
+ reader.readMessage(value,google_protobuf_wrappers_pb.UInt32Value.deserializeBinaryFromReader);
48975
+ msg.setLimit(value);
48976
+ break;
48977
+ case 5:
48978
+ var value = new google_protobuf_wrappers_pb.UInt32Value;
48979
+ reader.readMessage(value,google_protobuf_wrappers_pb.UInt32Value.deserializeBinaryFromReader);
48980
+ msg.setWeight(value);
48981
+ break;
48982
+ case 6:
48983
+ var value = new google_protobuf_wrappers_pb.BoolValue;
48984
+ reader.readMessage(value,google_protobuf_wrappers_pb.BoolValue.deserializeBinaryFromReader);
48985
+ msg.setLimitProcessorFeatures(value);
48986
+ break;
48987
+ default:
48988
+ reader.skipField();
48989
+ break;
48990
+ }
48991
+ }
48992
+ return msg;
48993
+ };
48994
+
48995
+
48996
+ /**
48997
+ * Serializes the message to binary data (in protobuf wire format).
48998
+ * @return {!Uint8Array}
48999
+ */
49000
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVProcessorEntry.prototype.serializeBinary = function() {
49001
+ var writer = new jspb.BinaryWriter();
49002
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVProcessorEntry.serializeBinaryToWriter(this, writer);
49003
+ return writer.getResultBuffer();
49004
+ };
49005
+
49006
+
49007
+ /**
49008
+ * Serializes the given message to binary data (in protobuf wire
49009
+ * format), writing to the given BinaryWriter.
49010
+ * @param {!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVProcessorEntry} message
49011
+ * @param {!jspb.BinaryWriter} writer
49012
+ * @suppress {unusedLocalVariables} f is only used for nested messages
49013
+ */
49014
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVProcessorEntry.serializeBinaryToWriter = function(message, writer) {
49015
+ var f = undefined;
49016
+ f = message.getInstanceId();
49017
+ if (f != null) {
49018
+ writer.writeMessage(
49019
+ 1,
49020
+ f,
49021
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
49022
+ );
49023
+ }
49024
+ f = message.getVirtualQuantity();
49025
+ if (f != null) {
49026
+ writer.writeMessage(
49027
+ 2,
49028
+ f,
49029
+ google_protobuf_wrappers_pb.UInt32Value.serializeBinaryToWriter
49030
+ );
49031
+ }
49032
+ f = message.getReservation();
49033
+ if (f != null) {
49034
+ writer.writeMessage(
49035
+ 3,
49036
+ f,
49037
+ google_protobuf_wrappers_pb.UInt32Value.serializeBinaryToWriter
49038
+ );
49039
+ }
49040
+ f = message.getLimit();
49041
+ if (f != null) {
49042
+ writer.writeMessage(
49043
+ 4,
49044
+ f,
49045
+ google_protobuf_wrappers_pb.UInt32Value.serializeBinaryToWriter
49046
+ );
49047
+ }
49048
+ f = message.getWeight();
49049
+ if (f != null) {
49050
+ writer.writeMessage(
49051
+ 5,
49052
+ f,
49053
+ google_protobuf_wrappers_pb.UInt32Value.serializeBinaryToWriter
49054
+ );
49055
+ }
49056
+ f = message.getLimitProcessorFeatures();
49057
+ if (f != null) {
49058
+ writer.writeMessage(
49059
+ 6,
49060
+ f,
49061
+ google_protobuf_wrappers_pb.BoolValue.serializeBinaryToWriter
49062
+ );
49063
+ }
49064
+ };
49065
+
49066
+
49067
+ /**
49068
+ * optional google.protobuf.StringValue instance_id = 1;
49069
+ * @return {?proto.google.protobuf.StringValue}
49070
+ */
49071
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVProcessorEntry.prototype.getInstanceId = function() {
49072
+ return /** @type{?proto.google.protobuf.StringValue} */ (
49073
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 1));
49074
+ };
49075
+
49076
+
49077
+ /**
49078
+ * @param {?proto.google.protobuf.StringValue|undefined} value
49079
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVProcessorEntry} returns this
49080
+ */
49081
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVProcessorEntry.prototype.setInstanceId = function(value) {
49082
+ return jspb.Message.setWrapperField(this, 1, value);
49083
+ };
49084
+
49085
+
49086
+ /**
49087
+ * Clears the message field making it undefined.
49088
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVProcessorEntry} returns this
49089
+ */
49090
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVProcessorEntry.prototype.clearInstanceId = function() {
49091
+ return this.setInstanceId(undefined);
49092
+ };
49093
+
49094
+
49095
+ /**
49096
+ * Returns whether this field is set.
49097
+ * @return {boolean}
49098
+ */
49099
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVProcessorEntry.prototype.hasInstanceId = function() {
49100
+ return jspb.Message.getField(this, 1) != null;
49101
+ };
49102
+
49103
+
49104
+ /**
49105
+ * optional google.protobuf.UInt32Value virtual_quantity = 2;
49106
+ * @return {?proto.google.protobuf.UInt32Value}
49107
+ */
49108
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVProcessorEntry.prototype.getVirtualQuantity = function() {
49109
+ return /** @type{?proto.google.protobuf.UInt32Value} */ (
49110
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.UInt32Value, 2));
49111
+ };
49112
+
49113
+
49114
+ /**
49115
+ * @param {?proto.google.protobuf.UInt32Value|undefined} value
49116
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVProcessorEntry} returns this
49117
+ */
49118
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVProcessorEntry.prototype.setVirtualQuantity = function(value) {
49119
+ return jspb.Message.setWrapperField(this, 2, value);
49120
+ };
49121
+
49122
+
49123
+ /**
49124
+ * Clears the message field making it undefined.
49125
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVProcessorEntry} returns this
49126
+ */
49127
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVProcessorEntry.prototype.clearVirtualQuantity = function() {
49128
+ return this.setVirtualQuantity(undefined);
49129
+ };
49130
+
49131
+
49132
+ /**
49133
+ * Returns whether this field is set.
49134
+ * @return {boolean}
49135
+ */
49136
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVProcessorEntry.prototype.hasVirtualQuantity = function() {
49137
+ return jspb.Message.getField(this, 2) != null;
49138
+ };
49139
+
49140
+
49141
+ /**
49142
+ * optional google.protobuf.UInt32Value reservation = 3;
49143
+ * @return {?proto.google.protobuf.UInt32Value}
49144
+ */
49145
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVProcessorEntry.prototype.getReservation = function() {
49146
+ return /** @type{?proto.google.protobuf.UInt32Value} */ (
49147
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.UInt32Value, 3));
49148
+ };
49149
+
49150
+
49151
+ /**
49152
+ * @param {?proto.google.protobuf.UInt32Value|undefined} value
49153
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVProcessorEntry} returns this
49154
+ */
49155
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVProcessorEntry.prototype.setReservation = function(value) {
49156
+ return jspb.Message.setWrapperField(this, 3, value);
49157
+ };
49158
+
49159
+
49160
+ /**
49161
+ * Clears the message field making it undefined.
49162
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVProcessorEntry} returns this
49163
+ */
49164
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVProcessorEntry.prototype.clearReservation = function() {
49165
+ return this.setReservation(undefined);
49166
+ };
49167
+
49168
+
49169
+ /**
49170
+ * Returns whether this field is set.
49171
+ * @return {boolean}
49172
+ */
49173
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVProcessorEntry.prototype.hasReservation = function() {
49174
+ return jspb.Message.getField(this, 3) != null;
49175
+ };
49176
+
49177
+
49178
+ /**
49179
+ * optional google.protobuf.UInt32Value limit = 4;
49180
+ * @return {?proto.google.protobuf.UInt32Value}
49181
+ */
49182
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVProcessorEntry.prototype.getLimit = function() {
49183
+ return /** @type{?proto.google.protobuf.UInt32Value} */ (
49184
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.UInt32Value, 4));
49185
+ };
49186
+
49187
+
49188
+ /**
49189
+ * @param {?proto.google.protobuf.UInt32Value|undefined} value
49190
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVProcessorEntry} returns this
49191
+ */
49192
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVProcessorEntry.prototype.setLimit = function(value) {
49193
+ return jspb.Message.setWrapperField(this, 4, value);
49194
+ };
49195
+
49196
+
49197
+ /**
49198
+ * Clears the message field making it undefined.
49199
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVProcessorEntry} returns this
49200
+ */
49201
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVProcessorEntry.prototype.clearLimit = function() {
49202
+ return this.setLimit(undefined);
49203
+ };
49204
+
49205
+
49206
+ /**
49207
+ * Returns whether this field is set.
49208
+ * @return {boolean}
49209
+ */
49210
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVProcessorEntry.prototype.hasLimit = function() {
49211
+ return jspb.Message.getField(this, 4) != null;
49212
+ };
49213
+
49214
+
49215
+ /**
49216
+ * optional google.protobuf.UInt32Value weight = 5;
49217
+ * @return {?proto.google.protobuf.UInt32Value}
49218
+ */
49219
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVProcessorEntry.prototype.getWeight = function() {
49220
+ return /** @type{?proto.google.protobuf.UInt32Value} */ (
49221
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.UInt32Value, 5));
49222
+ };
49223
+
49224
+
49225
+ /**
49226
+ * @param {?proto.google.protobuf.UInt32Value|undefined} value
49227
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVProcessorEntry} returns this
49228
+ */
49229
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVProcessorEntry.prototype.setWeight = function(value) {
49230
+ return jspb.Message.setWrapperField(this, 5, value);
49231
+ };
49232
+
49233
+
49234
+ /**
49235
+ * Clears the message field making it undefined.
49236
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVProcessorEntry} returns this
49237
+ */
49238
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVProcessorEntry.prototype.clearWeight = function() {
49239
+ return this.setWeight(undefined);
49240
+ };
49241
+
49242
+
49243
+ /**
49244
+ * Returns whether this field is set.
49245
+ * @return {boolean}
49246
+ */
49247
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVProcessorEntry.prototype.hasWeight = function() {
49248
+ return jspb.Message.getField(this, 5) != null;
49249
+ };
49250
+
49251
+
49252
+ /**
49253
+ * optional google.protobuf.BoolValue limit_processor_features = 6;
49254
+ * @return {?proto.google.protobuf.BoolValue}
49255
+ */
49256
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVProcessorEntry.prototype.getLimitProcessorFeatures = function() {
49257
+ return /** @type{?proto.google.protobuf.BoolValue} */ (
49258
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.BoolValue, 6));
49259
+ };
49260
+
49261
+
49262
+ /**
49263
+ * @param {?proto.google.protobuf.BoolValue|undefined} value
49264
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVProcessorEntry} returns this
49265
+ */
49266
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVProcessorEntry.prototype.setLimitProcessorFeatures = function(value) {
49267
+ return jspb.Message.setWrapperField(this, 6, value);
49268
+ };
49269
+
49270
+
49271
+ /**
49272
+ * Clears the message field making it undefined.
49273
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVProcessorEntry} returns this
49274
+ */
49275
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVProcessorEntry.prototype.clearLimitProcessorFeatures = function() {
49276
+ return this.setLimitProcessorFeatures(undefined);
49277
+ };
49278
+
49279
+
49280
+ /**
49281
+ * Returns whether this field is set.
49282
+ * @return {boolean}
49283
+ */
49284
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVProcessorEntry.prototype.hasLimitProcessorFeatures = function() {
49285
+ return jspb.Message.getField(this, 6) != null;
49286
+ };
49287
+
49288
+
49289
+
45643
49290
  /**
45644
49291
  * List of repeated fields within this message type.
45645
49292
  * @private {!Array<number>}