@lansweeper/discovery-sensor-proto 2.27.1 → 2.27.2

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.
@@ -25,6 +25,8 @@ var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/time
25
25
  goog.object.extend(proto, google_protobuf_timestamp_pb);
26
26
  var google_protobuf_wrappers_pb = require('google-protobuf/google/protobuf/wrappers_pb.js');
27
27
  goog.object.extend(proto, google_protobuf_wrappers_pb);
28
+ var import_discovery_common_pb = require('./import/discovery_common_pb.js');
29
+ goog.object.extend(proto, import_discovery_common_pb);
28
30
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.unix.v1.Baseboard', null, global);
29
31
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.unix.v1.BasicInfo', null, global);
30
32
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.unix.v1.Bios', null, global);
@@ -37,8 +39,6 @@ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.unix.v1.GroupEntry', nu
37
39
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.unix.v1.Groups', null, global);
38
40
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.unix.v1.HardDiskEntry', null, global);
39
41
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.unix.v1.HardDisks', null, global);
40
- goog.exportSymbol('proto.com.lansweeper.discovery.sensor.unix.v1.HttpCertificate', null, global);
41
- goog.exportSymbol('proto.com.lansweeper.discovery.sensor.unix.v1.HttpServerInfo', null, global);
42
42
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.unix.v1.LogicalVolumeEntry', null, global);
43
43
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.unix.v1.MemoryController', null, global);
44
44
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.unix.v1.MemoryDeviceEntry', null, global);
@@ -47,7 +47,6 @@ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.unix.v1.MemoryModuleEnt
47
47
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.unix.v1.MemoryModules', null, global);
48
48
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.unix.v1.Network', null, global);
49
49
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.unix.v1.NetworkAdapterEntry', null, global);
50
- goog.exportSymbol('proto.com.lansweeper.discovery.sensor.unix.v1.OpenPort', null, global);
51
50
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.unix.v1.OpenPorts', null, global);
52
51
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.unix.v1.OperatingSystem', null, global);
53
52
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.unix.v1.OpticalDriveEntry', null, global);
@@ -65,7 +64,6 @@ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.unix.v1.Software', null
65
64
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.unix.v1.SoftwareEntry', null, global);
66
65
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.unix.v1.SoftwareType', null, global);
67
66
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.unix.v1.SoundCards', null, global);
68
- goog.exportSymbol('proto.com.lansweeper.discovery.sensor.unix.v1.SslPolicyErrors', null, global);
69
67
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.unix.v1.SystemEnclosure', null, global);
70
68
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.unix.v1.UnixDistribution', null, global);
71
69
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.unix.v1.UnixDistributionFamily', null, global);
@@ -1044,69 +1042,6 @@ if (goog.DEBUG && !COMPILED) {
1044
1042
  */
1045
1043
  proto.com.lansweeper.discovery.sensor.unix.v1.OpenPorts.displayName = 'proto.com.lansweeper.discovery.sensor.unix.v1.OpenPorts';
1046
1044
  }
1047
- /**
1048
- * Generated by JsPbCodeGenerator.
1049
- * @param {Array=} opt_data Optional initial data array, typically from a
1050
- * server response, or constructed directly in Javascript. The array is used
1051
- * in place and becomes part of the constructed object. It is not cloned.
1052
- * If no data is provided, the constructed object will be empty, but still
1053
- * valid.
1054
- * @extends {jspb.Message}
1055
- * @constructor
1056
- */
1057
- proto.com.lansweeper.discovery.sensor.unix.v1.OpenPort = function(opt_data) {
1058
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1059
- };
1060
- goog.inherits(proto.com.lansweeper.discovery.sensor.unix.v1.OpenPort, jspb.Message);
1061
- if (goog.DEBUG && !COMPILED) {
1062
- /**
1063
- * @public
1064
- * @override
1065
- */
1066
- proto.com.lansweeper.discovery.sensor.unix.v1.OpenPort.displayName = 'proto.com.lansweeper.discovery.sensor.unix.v1.OpenPort';
1067
- }
1068
- /**
1069
- * Generated by JsPbCodeGenerator.
1070
- * @param {Array=} opt_data Optional initial data array, typically from a
1071
- * server response, or constructed directly in Javascript. The array is used
1072
- * in place and becomes part of the constructed object. It is not cloned.
1073
- * If no data is provided, the constructed object will be empty, but still
1074
- * valid.
1075
- * @extends {jspb.Message}
1076
- * @constructor
1077
- */
1078
- proto.com.lansweeper.discovery.sensor.unix.v1.HttpServerInfo = function(opt_data) {
1079
- jspb.Message.initialize(this, opt_data, 0, -1, proto.com.lansweeper.discovery.sensor.unix.v1.HttpServerInfo.repeatedFields_, null);
1080
- };
1081
- goog.inherits(proto.com.lansweeper.discovery.sensor.unix.v1.HttpServerInfo, jspb.Message);
1082
- if (goog.DEBUG && !COMPILED) {
1083
- /**
1084
- * @public
1085
- * @override
1086
- */
1087
- proto.com.lansweeper.discovery.sensor.unix.v1.HttpServerInfo.displayName = 'proto.com.lansweeper.discovery.sensor.unix.v1.HttpServerInfo';
1088
- }
1089
- /**
1090
- * Generated by JsPbCodeGenerator.
1091
- * @param {Array=} opt_data Optional initial data array, typically from a
1092
- * server response, or constructed directly in Javascript. The array is used
1093
- * in place and becomes part of the constructed object. It is not cloned.
1094
- * If no data is provided, the constructed object will be empty, but still
1095
- * valid.
1096
- * @extends {jspb.Message}
1097
- * @constructor
1098
- */
1099
- proto.com.lansweeper.discovery.sensor.unix.v1.HttpCertificate = function(opt_data) {
1100
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1101
- };
1102
- goog.inherits(proto.com.lansweeper.discovery.sensor.unix.v1.HttpCertificate, jspb.Message);
1103
- if (goog.DEBUG && !COMPILED) {
1104
- /**
1105
- * @public
1106
- * @override
1107
- */
1108
- proto.com.lansweeper.discovery.sensor.unix.v1.HttpCertificate.displayName = 'proto.com.lansweeper.discovery.sensor.unix.v1.HttpCertificate';
1109
- }
1110
1045
 
1111
1046
 
1112
1047
 
@@ -18345,7 +18280,7 @@ proto.com.lansweeper.discovery.sensor.unix.v1.OpenPorts.prototype.toObject = fun
18345
18280
  proto.com.lansweeper.discovery.sensor.unix.v1.OpenPorts.toObject = function(includeInstance, msg) {
18346
18281
  var f, obj = {
18347
18282
  entriesList: jspb.Message.toObjectList(msg.getEntriesList(),
18348
- proto.com.lansweeper.discovery.sensor.unix.v1.OpenPort.toObject, includeInstance)
18283
+ import_discovery_common_pb.OpenPort.toObject, includeInstance)
18349
18284
  };
18350
18285
 
18351
18286
  if (includeInstance) {
@@ -18383,8 +18318,8 @@ proto.com.lansweeper.discovery.sensor.unix.v1.OpenPorts.deserializeBinaryFromRea
18383
18318
  var field = reader.getFieldNumber();
18384
18319
  switch (field) {
18385
18320
  case 1:
18386
- var value = new proto.com.lansweeper.discovery.sensor.unix.v1.OpenPort;
18387
- reader.readMessage(value,proto.com.lansweeper.discovery.sensor.unix.v1.OpenPort.deserializeBinaryFromReader);
18321
+ var value = new import_discovery_common_pb.OpenPort;
18322
+ reader.readMessage(value,import_discovery_common_pb.OpenPort.deserializeBinaryFromReader);
18388
18323
  msg.addEntries(value);
18389
18324
  break;
18390
18325
  default:
@@ -18421,24 +18356,24 @@ proto.com.lansweeper.discovery.sensor.unix.v1.OpenPorts.serializeBinaryToWriter
18421
18356
  writer.writeRepeatedMessage(
18422
18357
  1,
18423
18358
  f,
18424
- proto.com.lansweeper.discovery.sensor.unix.v1.OpenPort.serializeBinaryToWriter
18359
+ import_discovery_common_pb.OpenPort.serializeBinaryToWriter
18425
18360
  );
18426
18361
  }
18427
18362
  };
18428
18363
 
18429
18364
 
18430
18365
  /**
18431
- * repeated OpenPort entries = 1;
18432
- * @return {!Array<!proto.com.lansweeper.discovery.sensor.unix.v1.OpenPort>}
18366
+ * repeated com.lansweeper.discovery.sensor.common.v1.OpenPort entries = 1;
18367
+ * @return {!Array<!proto.com.lansweeper.discovery.sensor.common.v1.OpenPort>}
18433
18368
  */
18434
18369
  proto.com.lansweeper.discovery.sensor.unix.v1.OpenPorts.prototype.getEntriesList = function() {
18435
- return /** @type{!Array<!proto.com.lansweeper.discovery.sensor.unix.v1.OpenPort>} */ (
18436
- jspb.Message.getRepeatedWrapperField(this, proto.com.lansweeper.discovery.sensor.unix.v1.OpenPort, 1));
18370
+ return /** @type{!Array<!proto.com.lansweeper.discovery.sensor.common.v1.OpenPort>} */ (
18371
+ jspb.Message.getRepeatedWrapperField(this, import_discovery_common_pb.OpenPort, 1));
18437
18372
  };
18438
18373
 
18439
18374
 
18440
18375
  /**
18441
- * @param {!Array<!proto.com.lansweeper.discovery.sensor.unix.v1.OpenPort>} value
18376
+ * @param {!Array<!proto.com.lansweeper.discovery.sensor.common.v1.OpenPort>} value
18442
18377
  * @return {!proto.com.lansweeper.discovery.sensor.unix.v1.OpenPorts} returns this
18443
18378
  */
18444
18379
  proto.com.lansweeper.discovery.sensor.unix.v1.OpenPorts.prototype.setEntriesList = function(value) {
@@ -18447,12 +18382,12 @@ proto.com.lansweeper.discovery.sensor.unix.v1.OpenPorts.prototype.setEntriesList
18447
18382
 
18448
18383
 
18449
18384
  /**
18450
- * @param {!proto.com.lansweeper.discovery.sensor.unix.v1.OpenPort=} opt_value
18385
+ * @param {!proto.com.lansweeper.discovery.sensor.common.v1.OpenPort=} opt_value
18451
18386
  * @param {number=} opt_index
18452
- * @return {!proto.com.lansweeper.discovery.sensor.unix.v1.OpenPort}
18387
+ * @return {!proto.com.lansweeper.discovery.sensor.common.v1.OpenPort}
18453
18388
  */
18454
18389
  proto.com.lansweeper.discovery.sensor.unix.v1.OpenPorts.prototype.addEntries = function(opt_value, opt_index) {
18455
- return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.com.lansweeper.discovery.sensor.unix.v1.OpenPort, opt_index);
18390
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.com.lansweeper.discovery.sensor.common.v1.OpenPort, opt_index);
18456
18391
  };
18457
18392
 
18458
18393
 
@@ -18465,1370 +18400,38 @@ proto.com.lansweeper.discovery.sensor.unix.v1.OpenPorts.prototype.clearEntriesLi
18465
18400
  };
18466
18401
 
18467
18402
 
18468
-
18469
-
18470
-
18471
- if (jspb.Message.GENERATE_TO_OBJECT) {
18472
- /**
18473
- * Creates an object representation of this proto.
18474
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
18475
- * Optional fields that are not set will be set to undefined.
18476
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
18477
- * For the list of reserved names please see:
18478
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
18479
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
18480
- * JSPB instance for transitional soy proto support:
18481
- * http://goto/soy-param-migration
18482
- * @return {!Object}
18483
- */
18484
- proto.com.lansweeper.discovery.sensor.unix.v1.OpenPort.prototype.toObject = function(opt_includeInstance) {
18485
- return proto.com.lansweeper.discovery.sensor.unix.v1.OpenPort.toObject(opt_includeInstance, this);
18486
- };
18487
-
18488
-
18489
- /**
18490
- * Static version of the {@see toObject} method.
18491
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
18492
- * the JSPB instance for transitional soy proto support:
18493
- * http://goto/soy-param-migration
18494
- * @param {!proto.com.lansweeper.discovery.sensor.unix.v1.OpenPort} msg The msg instance to transform.
18495
- * @return {!Object}
18496
- * @suppress {unusedLocalVariables} f is only used for nested messages
18497
- */
18498
- proto.com.lansweeper.discovery.sensor.unix.v1.OpenPort.toObject = function(includeInstance, msg) {
18499
- var f, obj = {
18500
- localPort: jspb.Message.getFieldWithDefault(msg, 1, 0),
18501
- localAddress: (f = msg.getLocalAddress()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
18502
- processName: (f = msg.getProcessName()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
18503
- banner: (f = msg.getBanner()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
18504
- httpServer: (f = msg.getHttpServer()) && proto.com.lansweeper.discovery.sensor.unix.v1.HttpServerInfo.toObject(includeInstance, f),
18505
- protocol: (f = msg.getProtocol()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f)
18506
- };
18507
-
18508
- if (includeInstance) {
18509
- obj.$jspbMessageInstance = msg;
18510
- }
18511
- return obj;
18512
- };
18513
- }
18514
-
18515
-
18516
- /**
18517
- * Deserializes binary data (in protobuf wire format).
18518
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
18519
- * @return {!proto.com.lansweeper.discovery.sensor.unix.v1.OpenPort}
18520
- */
18521
- proto.com.lansweeper.discovery.sensor.unix.v1.OpenPort.deserializeBinary = function(bytes) {
18522
- var reader = new jspb.BinaryReader(bytes);
18523
- var msg = new proto.com.lansweeper.discovery.sensor.unix.v1.OpenPort;
18524
- return proto.com.lansweeper.discovery.sensor.unix.v1.OpenPort.deserializeBinaryFromReader(msg, reader);
18525
- };
18526
-
18527
-
18528
- /**
18529
- * Deserializes binary data (in protobuf wire format) from the
18530
- * given reader into the given message object.
18531
- * @param {!proto.com.lansweeper.discovery.sensor.unix.v1.OpenPort} msg The message object to deserialize into.
18532
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
18533
- * @return {!proto.com.lansweeper.discovery.sensor.unix.v1.OpenPort}
18534
- */
18535
- proto.com.lansweeper.discovery.sensor.unix.v1.OpenPort.deserializeBinaryFromReader = function(msg, reader) {
18536
- while (reader.nextField()) {
18537
- if (reader.isEndGroup()) {
18538
- break;
18539
- }
18540
- var field = reader.getFieldNumber();
18541
- switch (field) {
18542
- case 1:
18543
- var value = /** @type {number} */ (reader.readInt32());
18544
- msg.setLocalPort(value);
18545
- break;
18546
- case 2:
18547
- var value = new google_protobuf_wrappers_pb.StringValue;
18548
- reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
18549
- msg.setLocalAddress(value);
18550
- break;
18551
- case 3:
18552
- var value = new google_protobuf_wrappers_pb.StringValue;
18553
- reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
18554
- msg.setProcessName(value);
18555
- break;
18556
- case 4:
18557
- var value = new google_protobuf_wrappers_pb.StringValue;
18558
- reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
18559
- msg.setBanner(value);
18560
- break;
18561
- case 5:
18562
- var value = new proto.com.lansweeper.discovery.sensor.unix.v1.HttpServerInfo;
18563
- reader.readMessage(value,proto.com.lansweeper.discovery.sensor.unix.v1.HttpServerInfo.deserializeBinaryFromReader);
18564
- msg.setHttpServer(value);
18565
- break;
18566
- case 6:
18567
- var value = new google_protobuf_wrappers_pb.StringValue;
18568
- reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
18569
- msg.setProtocol(value);
18570
- break;
18571
- default:
18572
- reader.skipField();
18573
- break;
18574
- }
18575
- }
18576
- return msg;
18577
- };
18578
-
18579
-
18580
- /**
18581
- * Serializes the message to binary data (in protobuf wire format).
18582
- * @return {!Uint8Array}
18583
- */
18584
- proto.com.lansweeper.discovery.sensor.unix.v1.OpenPort.prototype.serializeBinary = function() {
18585
- var writer = new jspb.BinaryWriter();
18586
- proto.com.lansweeper.discovery.sensor.unix.v1.OpenPort.serializeBinaryToWriter(this, writer);
18587
- return writer.getResultBuffer();
18588
- };
18589
-
18590
-
18591
- /**
18592
- * Serializes the given message to binary data (in protobuf wire
18593
- * format), writing to the given BinaryWriter.
18594
- * @param {!proto.com.lansweeper.discovery.sensor.unix.v1.OpenPort} message
18595
- * @param {!jspb.BinaryWriter} writer
18596
- * @suppress {unusedLocalVariables} f is only used for nested messages
18597
- */
18598
- proto.com.lansweeper.discovery.sensor.unix.v1.OpenPort.serializeBinaryToWriter = function(message, writer) {
18599
- var f = undefined;
18600
- f = message.getLocalPort();
18601
- if (f !== 0) {
18602
- writer.writeInt32(
18603
- 1,
18604
- f
18605
- );
18606
- }
18607
- f = message.getLocalAddress();
18608
- if (f != null) {
18609
- writer.writeMessage(
18610
- 2,
18611
- f,
18612
- google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
18613
- );
18614
- }
18615
- f = message.getProcessName();
18616
- if (f != null) {
18617
- writer.writeMessage(
18618
- 3,
18619
- f,
18620
- google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
18621
- );
18622
- }
18623
- f = message.getBanner();
18624
- if (f != null) {
18625
- writer.writeMessage(
18626
- 4,
18627
- f,
18628
- google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
18629
- );
18630
- }
18631
- f = message.getHttpServer();
18632
- if (f != null) {
18633
- writer.writeMessage(
18634
- 5,
18635
- f,
18636
- proto.com.lansweeper.discovery.sensor.unix.v1.HttpServerInfo.serializeBinaryToWriter
18637
- );
18638
- }
18639
- f = message.getProtocol();
18640
- if (f != null) {
18641
- writer.writeMessage(
18642
- 6,
18643
- f,
18644
- google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
18645
- );
18646
- }
18647
- };
18648
-
18649
-
18650
- /**
18651
- * optional int32 local_port = 1;
18652
- * @return {number}
18653
- */
18654
- proto.com.lansweeper.discovery.sensor.unix.v1.OpenPort.prototype.getLocalPort = function() {
18655
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
18656
- };
18657
-
18658
-
18659
- /**
18660
- * @param {number} value
18661
- * @return {!proto.com.lansweeper.discovery.sensor.unix.v1.OpenPort} returns this
18662
- */
18663
- proto.com.lansweeper.discovery.sensor.unix.v1.OpenPort.prototype.setLocalPort = function(value) {
18664
- return jspb.Message.setProto3IntField(this, 1, value);
18665
- };
18666
-
18667
-
18668
18403
  /**
18669
- * optional google.protobuf.StringValue local_address = 2;
18670
- * @return {?proto.google.protobuf.StringValue}
18404
+ * @enum {number}
18671
18405
  */
18672
- proto.com.lansweeper.discovery.sensor.unix.v1.OpenPort.prototype.getLocalAddress = function() {
18673
- return /** @type{?proto.google.protobuf.StringValue} */ (
18674
- jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 2));
18675
- };
18676
-
18677
-
18678
- /**
18679
- * @param {?proto.google.protobuf.StringValue|undefined} value
18680
- * @return {!proto.com.lansweeper.discovery.sensor.unix.v1.OpenPort} returns this
18681
- */
18682
- proto.com.lansweeper.discovery.sensor.unix.v1.OpenPort.prototype.setLocalAddress = function(value) {
18683
- return jspb.Message.setWrapperField(this, 2, value);
18406
+ proto.com.lansweeper.discovery.sensor.unix.v1.UnixDistributionFamily = {
18407
+ UNKNOWN_FAMILY: 0,
18408
+ DEBIAN_FAMILY: 1,
18409
+ REDHAT_FAMILY: 2,
18410
+ SOLARIS_FAMILY: 3
18684
18411
  };
18685
18412
 
18686
-
18687
18413
  /**
18688
- * Clears the message field making it undefined.
18689
- * @return {!proto.com.lansweeper.discovery.sensor.unix.v1.OpenPort} returns this
18414
+ * @enum {number}
18690
18415
  */
18691
- proto.com.lansweeper.discovery.sensor.unix.v1.OpenPort.prototype.clearLocalAddress = function() {
18692
- return this.setLocalAddress(undefined);
18416
+ proto.com.lansweeper.discovery.sensor.unix.v1.UnixDistribution = {
18417
+ UNKNOWN_DISTRIBUTION: 0,
18418
+ DEBIAN: 1,
18419
+ UBUNTU: 2,
18420
+ MINT: 3,
18421
+ KALI: 4,
18422
+ REDHAT: 5,
18423
+ CENTOS: 6,
18424
+ ORACLE: 7,
18425
+ FEDORA: 8,
18426
+ SOLARIS: 9,
18427
+ AIX: 10,
18428
+ BSD: 11,
18429
+ OPEN_SUSE_LEAP: 12,
18430
+ SUSE_LINUX_ENTERPRISE: 13
18693
18431
  };
18694
18432
 
18695
-
18696
18433
  /**
18697
- * Returns whether this field is set.
18698
- * @return {boolean}
18699
- */
18700
- proto.com.lansweeper.discovery.sensor.unix.v1.OpenPort.prototype.hasLocalAddress = function() {
18701
- return jspb.Message.getField(this, 2) != null;
18702
- };
18703
-
18704
-
18705
- /**
18706
- * optional google.protobuf.StringValue process_name = 3;
18707
- * @return {?proto.google.protobuf.StringValue}
18708
- */
18709
- proto.com.lansweeper.discovery.sensor.unix.v1.OpenPort.prototype.getProcessName = function() {
18710
- return /** @type{?proto.google.protobuf.StringValue} */ (
18711
- jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 3));
18712
- };
18713
-
18714
-
18715
- /**
18716
- * @param {?proto.google.protobuf.StringValue|undefined} value
18717
- * @return {!proto.com.lansweeper.discovery.sensor.unix.v1.OpenPort} returns this
18718
- */
18719
- proto.com.lansweeper.discovery.sensor.unix.v1.OpenPort.prototype.setProcessName = function(value) {
18720
- return jspb.Message.setWrapperField(this, 3, value);
18721
- };
18722
-
18723
-
18724
- /**
18725
- * Clears the message field making it undefined.
18726
- * @return {!proto.com.lansweeper.discovery.sensor.unix.v1.OpenPort} returns this
18727
- */
18728
- proto.com.lansweeper.discovery.sensor.unix.v1.OpenPort.prototype.clearProcessName = function() {
18729
- return this.setProcessName(undefined);
18730
- };
18731
-
18732
-
18733
- /**
18734
- * Returns whether this field is set.
18735
- * @return {boolean}
18736
- */
18737
- proto.com.lansweeper.discovery.sensor.unix.v1.OpenPort.prototype.hasProcessName = function() {
18738
- return jspb.Message.getField(this, 3) != null;
18739
- };
18740
-
18741
-
18742
- /**
18743
- * optional google.protobuf.StringValue banner = 4;
18744
- * @return {?proto.google.protobuf.StringValue}
18745
- */
18746
- proto.com.lansweeper.discovery.sensor.unix.v1.OpenPort.prototype.getBanner = function() {
18747
- return /** @type{?proto.google.protobuf.StringValue} */ (
18748
- jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 4));
18749
- };
18750
-
18751
-
18752
- /**
18753
- * @param {?proto.google.protobuf.StringValue|undefined} value
18754
- * @return {!proto.com.lansweeper.discovery.sensor.unix.v1.OpenPort} returns this
18755
- */
18756
- proto.com.lansweeper.discovery.sensor.unix.v1.OpenPort.prototype.setBanner = function(value) {
18757
- return jspb.Message.setWrapperField(this, 4, value);
18758
- };
18759
-
18760
-
18761
- /**
18762
- * Clears the message field making it undefined.
18763
- * @return {!proto.com.lansweeper.discovery.sensor.unix.v1.OpenPort} returns this
18764
- */
18765
- proto.com.lansweeper.discovery.sensor.unix.v1.OpenPort.prototype.clearBanner = function() {
18766
- return this.setBanner(undefined);
18767
- };
18768
-
18769
-
18770
- /**
18771
- * Returns whether this field is set.
18772
- * @return {boolean}
18773
- */
18774
- proto.com.lansweeper.discovery.sensor.unix.v1.OpenPort.prototype.hasBanner = function() {
18775
- return jspb.Message.getField(this, 4) != null;
18776
- };
18777
-
18778
-
18779
- /**
18780
- * optional HttpServerInfo http_server = 5;
18781
- * @return {?proto.com.lansweeper.discovery.sensor.unix.v1.HttpServerInfo}
18782
- */
18783
- proto.com.lansweeper.discovery.sensor.unix.v1.OpenPort.prototype.getHttpServer = function() {
18784
- return /** @type{?proto.com.lansweeper.discovery.sensor.unix.v1.HttpServerInfo} */ (
18785
- jspb.Message.getWrapperField(this, proto.com.lansweeper.discovery.sensor.unix.v1.HttpServerInfo, 5));
18786
- };
18787
-
18788
-
18789
- /**
18790
- * @param {?proto.com.lansweeper.discovery.sensor.unix.v1.HttpServerInfo|undefined} value
18791
- * @return {!proto.com.lansweeper.discovery.sensor.unix.v1.OpenPort} returns this
18792
- */
18793
- proto.com.lansweeper.discovery.sensor.unix.v1.OpenPort.prototype.setHttpServer = function(value) {
18794
- return jspb.Message.setWrapperField(this, 5, value);
18795
- };
18796
-
18797
-
18798
- /**
18799
- * Clears the message field making it undefined.
18800
- * @return {!proto.com.lansweeper.discovery.sensor.unix.v1.OpenPort} returns this
18801
- */
18802
- proto.com.lansweeper.discovery.sensor.unix.v1.OpenPort.prototype.clearHttpServer = function() {
18803
- return this.setHttpServer(undefined);
18804
- };
18805
-
18806
-
18807
- /**
18808
- * Returns whether this field is set.
18809
- * @return {boolean}
18810
- */
18811
- proto.com.lansweeper.discovery.sensor.unix.v1.OpenPort.prototype.hasHttpServer = function() {
18812
- return jspb.Message.getField(this, 5) != null;
18813
- };
18814
-
18815
-
18816
- /**
18817
- * optional google.protobuf.StringValue protocol = 6;
18818
- * @return {?proto.google.protobuf.StringValue}
18819
- */
18820
- proto.com.lansweeper.discovery.sensor.unix.v1.OpenPort.prototype.getProtocol = function() {
18821
- return /** @type{?proto.google.protobuf.StringValue} */ (
18822
- jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 6));
18823
- };
18824
-
18825
-
18826
- /**
18827
- * @param {?proto.google.protobuf.StringValue|undefined} value
18828
- * @return {!proto.com.lansweeper.discovery.sensor.unix.v1.OpenPort} returns this
18829
- */
18830
- proto.com.lansweeper.discovery.sensor.unix.v1.OpenPort.prototype.setProtocol = function(value) {
18831
- return jspb.Message.setWrapperField(this, 6, value);
18832
- };
18833
-
18834
-
18835
- /**
18836
- * Clears the message field making it undefined.
18837
- * @return {!proto.com.lansweeper.discovery.sensor.unix.v1.OpenPort} returns this
18838
- */
18839
- proto.com.lansweeper.discovery.sensor.unix.v1.OpenPort.prototype.clearProtocol = function() {
18840
- return this.setProtocol(undefined);
18841
- };
18842
-
18843
-
18844
- /**
18845
- * Returns whether this field is set.
18846
- * @return {boolean}
18847
- */
18848
- proto.com.lansweeper.discovery.sensor.unix.v1.OpenPort.prototype.hasProtocol = function() {
18849
- return jspb.Message.getField(this, 6) != null;
18850
- };
18851
-
18852
-
18853
-
18854
- /**
18855
- * List of repeated fields within this message type.
18856
- * @private {!Array<number>}
18857
- * @const
18858
- */
18859
- proto.com.lansweeper.discovery.sensor.unix.v1.HttpServerInfo.repeatedFields_ = [3,4,5,8];
18860
-
18861
-
18862
-
18863
- if (jspb.Message.GENERATE_TO_OBJECT) {
18864
- /**
18865
- * Creates an object representation of this proto.
18866
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
18867
- * Optional fields that are not set will be set to undefined.
18868
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
18869
- * For the list of reserved names please see:
18870
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
18871
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
18872
- * JSPB instance for transitional soy proto support:
18873
- * http://goto/soy-param-migration
18874
- * @return {!Object}
18875
- */
18876
- proto.com.lansweeper.discovery.sensor.unix.v1.HttpServerInfo.prototype.toObject = function(opt_includeInstance) {
18877
- return proto.com.lansweeper.discovery.sensor.unix.v1.HttpServerInfo.toObject(opt_includeInstance, this);
18878
- };
18879
-
18880
-
18881
- /**
18882
- * Static version of the {@see toObject} method.
18883
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
18884
- * the JSPB instance for transitional soy proto support:
18885
- * http://goto/soy-param-migration
18886
- * @param {!proto.com.lansweeper.discovery.sensor.unix.v1.HttpServerInfo} msg The msg instance to transform.
18887
- * @return {!Object}
18888
- * @suppress {unusedLocalVariables} f is only used for nested messages
18889
- */
18890
- proto.com.lansweeper.discovery.sensor.unix.v1.HttpServerInfo.toObject = function(includeInstance, msg) {
18891
- var f, obj = {
18892
- http: (f = msg.getHttp()) && google_protobuf_wrappers_pb.BoolValue.toObject(includeInstance, f),
18893
- ssl: (f = msg.getSsl()) && google_protobuf_wrappers_pb.BoolValue.toObject(includeInstance, f),
18894
- serverList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
18895
- wwwauthList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f,
18896
- cookieList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f,
18897
- title: (f = msg.getTitle()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
18898
- favicon: (f = msg.getFavicon()) && google_protobuf_wrappers_pb.BytesValue.toObject(includeInstance, f),
18899
- certificatesList: jspb.Message.toObjectList(msg.getCertificatesList(),
18900
- proto.com.lansweeper.discovery.sensor.unix.v1.HttpCertificate.toObject, includeInstance)
18901
- };
18902
-
18903
- if (includeInstance) {
18904
- obj.$jspbMessageInstance = msg;
18905
- }
18906
- return obj;
18907
- };
18908
- }
18909
-
18910
-
18911
- /**
18912
- * Deserializes binary data (in protobuf wire format).
18913
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
18914
- * @return {!proto.com.lansweeper.discovery.sensor.unix.v1.HttpServerInfo}
18915
- */
18916
- proto.com.lansweeper.discovery.sensor.unix.v1.HttpServerInfo.deserializeBinary = function(bytes) {
18917
- var reader = new jspb.BinaryReader(bytes);
18918
- var msg = new proto.com.lansweeper.discovery.sensor.unix.v1.HttpServerInfo;
18919
- return proto.com.lansweeper.discovery.sensor.unix.v1.HttpServerInfo.deserializeBinaryFromReader(msg, reader);
18920
- };
18921
-
18922
-
18923
- /**
18924
- * Deserializes binary data (in protobuf wire format) from the
18925
- * given reader into the given message object.
18926
- * @param {!proto.com.lansweeper.discovery.sensor.unix.v1.HttpServerInfo} msg The message object to deserialize into.
18927
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
18928
- * @return {!proto.com.lansweeper.discovery.sensor.unix.v1.HttpServerInfo}
18929
- */
18930
- proto.com.lansweeper.discovery.sensor.unix.v1.HttpServerInfo.deserializeBinaryFromReader = function(msg, reader) {
18931
- while (reader.nextField()) {
18932
- if (reader.isEndGroup()) {
18933
- break;
18934
- }
18935
- var field = reader.getFieldNumber();
18936
- switch (field) {
18937
- case 1:
18938
- var value = new google_protobuf_wrappers_pb.BoolValue;
18939
- reader.readMessage(value,google_protobuf_wrappers_pb.BoolValue.deserializeBinaryFromReader);
18940
- msg.setHttp(value);
18941
- break;
18942
- case 2:
18943
- var value = new google_protobuf_wrappers_pb.BoolValue;
18944
- reader.readMessage(value,google_protobuf_wrappers_pb.BoolValue.deserializeBinaryFromReader);
18945
- msg.setSsl(value);
18946
- break;
18947
- case 3:
18948
- var value = /** @type {string} */ (reader.readString());
18949
- msg.addServer(value);
18950
- break;
18951
- case 4:
18952
- var value = /** @type {string} */ (reader.readString());
18953
- msg.addWwwauth(value);
18954
- break;
18955
- case 5:
18956
- var value = /** @type {string} */ (reader.readString());
18957
- msg.addCookie(value);
18958
- break;
18959
- case 6:
18960
- var value = new google_protobuf_wrappers_pb.StringValue;
18961
- reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
18962
- msg.setTitle(value);
18963
- break;
18964
- case 7:
18965
- var value = new google_protobuf_wrappers_pb.BytesValue;
18966
- reader.readMessage(value,google_protobuf_wrappers_pb.BytesValue.deserializeBinaryFromReader);
18967
- msg.setFavicon(value);
18968
- break;
18969
- case 8:
18970
- var value = new proto.com.lansweeper.discovery.sensor.unix.v1.HttpCertificate;
18971
- reader.readMessage(value,proto.com.lansweeper.discovery.sensor.unix.v1.HttpCertificate.deserializeBinaryFromReader);
18972
- msg.addCertificates(value);
18973
- break;
18974
- default:
18975
- reader.skipField();
18976
- break;
18977
- }
18978
- }
18979
- return msg;
18980
- };
18981
-
18982
-
18983
- /**
18984
- * Serializes the message to binary data (in protobuf wire format).
18985
- * @return {!Uint8Array}
18986
- */
18987
- proto.com.lansweeper.discovery.sensor.unix.v1.HttpServerInfo.prototype.serializeBinary = function() {
18988
- var writer = new jspb.BinaryWriter();
18989
- proto.com.lansweeper.discovery.sensor.unix.v1.HttpServerInfo.serializeBinaryToWriter(this, writer);
18990
- return writer.getResultBuffer();
18991
- };
18992
-
18993
-
18994
- /**
18995
- * Serializes the given message to binary data (in protobuf wire
18996
- * format), writing to the given BinaryWriter.
18997
- * @param {!proto.com.lansweeper.discovery.sensor.unix.v1.HttpServerInfo} message
18998
- * @param {!jspb.BinaryWriter} writer
18999
- * @suppress {unusedLocalVariables} f is only used for nested messages
19000
- */
19001
- proto.com.lansweeper.discovery.sensor.unix.v1.HttpServerInfo.serializeBinaryToWriter = function(message, writer) {
19002
- var f = undefined;
19003
- f = message.getHttp();
19004
- if (f != null) {
19005
- writer.writeMessage(
19006
- 1,
19007
- f,
19008
- google_protobuf_wrappers_pb.BoolValue.serializeBinaryToWriter
19009
- );
19010
- }
19011
- f = message.getSsl();
19012
- if (f != null) {
19013
- writer.writeMessage(
19014
- 2,
19015
- f,
19016
- google_protobuf_wrappers_pb.BoolValue.serializeBinaryToWriter
19017
- );
19018
- }
19019
- f = message.getServerList();
19020
- if (f.length > 0) {
19021
- writer.writeRepeatedString(
19022
- 3,
19023
- f
19024
- );
19025
- }
19026
- f = message.getWwwauthList();
19027
- if (f.length > 0) {
19028
- writer.writeRepeatedString(
19029
- 4,
19030
- f
19031
- );
19032
- }
19033
- f = message.getCookieList();
19034
- if (f.length > 0) {
19035
- writer.writeRepeatedString(
19036
- 5,
19037
- f
19038
- );
19039
- }
19040
- f = message.getTitle();
19041
- if (f != null) {
19042
- writer.writeMessage(
19043
- 6,
19044
- f,
19045
- google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
19046
- );
19047
- }
19048
- f = message.getFavicon();
19049
- if (f != null) {
19050
- writer.writeMessage(
19051
- 7,
19052
- f,
19053
- google_protobuf_wrappers_pb.BytesValue.serializeBinaryToWriter
19054
- );
19055
- }
19056
- f = message.getCertificatesList();
19057
- if (f.length > 0) {
19058
- writer.writeRepeatedMessage(
19059
- 8,
19060
- f,
19061
- proto.com.lansweeper.discovery.sensor.unix.v1.HttpCertificate.serializeBinaryToWriter
19062
- );
19063
- }
19064
- };
19065
-
19066
-
19067
- /**
19068
- * optional google.protobuf.BoolValue http = 1;
19069
- * @return {?proto.google.protobuf.BoolValue}
19070
- */
19071
- proto.com.lansweeper.discovery.sensor.unix.v1.HttpServerInfo.prototype.getHttp = function() {
19072
- return /** @type{?proto.google.protobuf.BoolValue} */ (
19073
- jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.BoolValue, 1));
19074
- };
19075
-
19076
-
19077
- /**
19078
- * @param {?proto.google.protobuf.BoolValue|undefined} value
19079
- * @return {!proto.com.lansweeper.discovery.sensor.unix.v1.HttpServerInfo} returns this
19080
- */
19081
- proto.com.lansweeper.discovery.sensor.unix.v1.HttpServerInfo.prototype.setHttp = function(value) {
19082
- return jspb.Message.setWrapperField(this, 1, value);
19083
- };
19084
-
19085
-
19086
- /**
19087
- * Clears the message field making it undefined.
19088
- * @return {!proto.com.lansweeper.discovery.sensor.unix.v1.HttpServerInfo} returns this
19089
- */
19090
- proto.com.lansweeper.discovery.sensor.unix.v1.HttpServerInfo.prototype.clearHttp = function() {
19091
- return this.setHttp(undefined);
19092
- };
19093
-
19094
-
19095
- /**
19096
- * Returns whether this field is set.
19097
- * @return {boolean}
19098
- */
19099
- proto.com.lansweeper.discovery.sensor.unix.v1.HttpServerInfo.prototype.hasHttp = function() {
19100
- return jspb.Message.getField(this, 1) != null;
19101
- };
19102
-
19103
-
19104
- /**
19105
- * optional google.protobuf.BoolValue ssl = 2;
19106
- * @return {?proto.google.protobuf.BoolValue}
19107
- */
19108
- proto.com.lansweeper.discovery.sensor.unix.v1.HttpServerInfo.prototype.getSsl = function() {
19109
- return /** @type{?proto.google.protobuf.BoolValue} */ (
19110
- jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.BoolValue, 2));
19111
- };
19112
-
19113
-
19114
- /**
19115
- * @param {?proto.google.protobuf.BoolValue|undefined} value
19116
- * @return {!proto.com.lansweeper.discovery.sensor.unix.v1.HttpServerInfo} returns this
19117
- */
19118
- proto.com.lansweeper.discovery.sensor.unix.v1.HttpServerInfo.prototype.setSsl = function(value) {
19119
- return jspb.Message.setWrapperField(this, 2, value);
19120
- };
19121
-
19122
-
19123
- /**
19124
- * Clears the message field making it undefined.
19125
- * @return {!proto.com.lansweeper.discovery.sensor.unix.v1.HttpServerInfo} returns this
19126
- */
19127
- proto.com.lansweeper.discovery.sensor.unix.v1.HttpServerInfo.prototype.clearSsl = function() {
19128
- return this.setSsl(undefined);
19129
- };
19130
-
19131
-
19132
- /**
19133
- * Returns whether this field is set.
19134
- * @return {boolean}
19135
- */
19136
- proto.com.lansweeper.discovery.sensor.unix.v1.HttpServerInfo.prototype.hasSsl = function() {
19137
- return jspb.Message.getField(this, 2) != null;
19138
- };
19139
-
19140
-
19141
- /**
19142
- * repeated string server = 3;
19143
- * @return {!Array<string>}
19144
- */
19145
- proto.com.lansweeper.discovery.sensor.unix.v1.HttpServerInfo.prototype.getServerList = function() {
19146
- return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 3));
19147
- };
19148
-
19149
-
19150
- /**
19151
- * @param {!Array<string>} value
19152
- * @return {!proto.com.lansweeper.discovery.sensor.unix.v1.HttpServerInfo} returns this
19153
- */
19154
- proto.com.lansweeper.discovery.sensor.unix.v1.HttpServerInfo.prototype.setServerList = function(value) {
19155
- return jspb.Message.setField(this, 3, value || []);
19156
- };
19157
-
19158
-
19159
- /**
19160
- * @param {string} value
19161
- * @param {number=} opt_index
19162
- * @return {!proto.com.lansweeper.discovery.sensor.unix.v1.HttpServerInfo} returns this
19163
- */
19164
- proto.com.lansweeper.discovery.sensor.unix.v1.HttpServerInfo.prototype.addServer = function(value, opt_index) {
19165
- return jspb.Message.addToRepeatedField(this, 3, value, opt_index);
19166
- };
19167
-
19168
-
19169
- /**
19170
- * Clears the list making it empty but non-null.
19171
- * @return {!proto.com.lansweeper.discovery.sensor.unix.v1.HttpServerInfo} returns this
19172
- */
19173
- proto.com.lansweeper.discovery.sensor.unix.v1.HttpServerInfo.prototype.clearServerList = function() {
19174
- return this.setServerList([]);
19175
- };
19176
-
19177
-
19178
- /**
19179
- * repeated string wwwauth = 4;
19180
- * @return {!Array<string>}
19181
- */
19182
- proto.com.lansweeper.discovery.sensor.unix.v1.HttpServerInfo.prototype.getWwwauthList = function() {
19183
- return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 4));
19184
- };
19185
-
19186
-
19187
- /**
19188
- * @param {!Array<string>} value
19189
- * @return {!proto.com.lansweeper.discovery.sensor.unix.v1.HttpServerInfo} returns this
19190
- */
19191
- proto.com.lansweeper.discovery.sensor.unix.v1.HttpServerInfo.prototype.setWwwauthList = function(value) {
19192
- return jspb.Message.setField(this, 4, value || []);
19193
- };
19194
-
19195
-
19196
- /**
19197
- * @param {string} value
19198
- * @param {number=} opt_index
19199
- * @return {!proto.com.lansweeper.discovery.sensor.unix.v1.HttpServerInfo} returns this
19200
- */
19201
- proto.com.lansweeper.discovery.sensor.unix.v1.HttpServerInfo.prototype.addWwwauth = function(value, opt_index) {
19202
- return jspb.Message.addToRepeatedField(this, 4, value, opt_index);
19203
- };
19204
-
19205
-
19206
- /**
19207
- * Clears the list making it empty but non-null.
19208
- * @return {!proto.com.lansweeper.discovery.sensor.unix.v1.HttpServerInfo} returns this
19209
- */
19210
- proto.com.lansweeper.discovery.sensor.unix.v1.HttpServerInfo.prototype.clearWwwauthList = function() {
19211
- return this.setWwwauthList([]);
19212
- };
19213
-
19214
-
19215
- /**
19216
- * repeated string cookie = 5;
19217
- * @return {!Array<string>}
19218
- */
19219
- proto.com.lansweeper.discovery.sensor.unix.v1.HttpServerInfo.prototype.getCookieList = function() {
19220
- return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 5));
19221
- };
19222
-
19223
-
19224
- /**
19225
- * @param {!Array<string>} value
19226
- * @return {!proto.com.lansweeper.discovery.sensor.unix.v1.HttpServerInfo} returns this
19227
- */
19228
- proto.com.lansweeper.discovery.sensor.unix.v1.HttpServerInfo.prototype.setCookieList = function(value) {
19229
- return jspb.Message.setField(this, 5, value || []);
19230
- };
19231
-
19232
-
19233
- /**
19234
- * @param {string} value
19235
- * @param {number=} opt_index
19236
- * @return {!proto.com.lansweeper.discovery.sensor.unix.v1.HttpServerInfo} returns this
19237
- */
19238
- proto.com.lansweeper.discovery.sensor.unix.v1.HttpServerInfo.prototype.addCookie = function(value, opt_index) {
19239
- return jspb.Message.addToRepeatedField(this, 5, value, opt_index);
19240
- };
19241
-
19242
-
19243
- /**
19244
- * Clears the list making it empty but non-null.
19245
- * @return {!proto.com.lansweeper.discovery.sensor.unix.v1.HttpServerInfo} returns this
19246
- */
19247
- proto.com.lansweeper.discovery.sensor.unix.v1.HttpServerInfo.prototype.clearCookieList = function() {
19248
- return this.setCookieList([]);
19249
- };
19250
-
19251
-
19252
- /**
19253
- * optional google.protobuf.StringValue title = 6;
19254
- * @return {?proto.google.protobuf.StringValue}
19255
- */
19256
- proto.com.lansweeper.discovery.sensor.unix.v1.HttpServerInfo.prototype.getTitle = function() {
19257
- return /** @type{?proto.google.protobuf.StringValue} */ (
19258
- jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 6));
19259
- };
19260
-
19261
-
19262
- /**
19263
- * @param {?proto.google.protobuf.StringValue|undefined} value
19264
- * @return {!proto.com.lansweeper.discovery.sensor.unix.v1.HttpServerInfo} returns this
19265
- */
19266
- proto.com.lansweeper.discovery.sensor.unix.v1.HttpServerInfo.prototype.setTitle = function(value) {
19267
- return jspb.Message.setWrapperField(this, 6, value);
19268
- };
19269
-
19270
-
19271
- /**
19272
- * Clears the message field making it undefined.
19273
- * @return {!proto.com.lansweeper.discovery.sensor.unix.v1.HttpServerInfo} returns this
19274
- */
19275
- proto.com.lansweeper.discovery.sensor.unix.v1.HttpServerInfo.prototype.clearTitle = function() {
19276
- return this.setTitle(undefined);
19277
- };
19278
-
19279
-
19280
- /**
19281
- * Returns whether this field is set.
19282
- * @return {boolean}
19283
- */
19284
- proto.com.lansweeper.discovery.sensor.unix.v1.HttpServerInfo.prototype.hasTitle = function() {
19285
- return jspb.Message.getField(this, 6) != null;
19286
- };
19287
-
19288
-
19289
- /**
19290
- * optional google.protobuf.BytesValue favicon = 7;
19291
- * @return {?proto.google.protobuf.BytesValue}
19292
- */
19293
- proto.com.lansweeper.discovery.sensor.unix.v1.HttpServerInfo.prototype.getFavicon = function() {
19294
- return /** @type{?proto.google.protobuf.BytesValue} */ (
19295
- jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.BytesValue, 7));
19296
- };
19297
-
19298
-
19299
- /**
19300
- * @param {?proto.google.protobuf.BytesValue|undefined} value
19301
- * @return {!proto.com.lansweeper.discovery.sensor.unix.v1.HttpServerInfo} returns this
19302
- */
19303
- proto.com.lansweeper.discovery.sensor.unix.v1.HttpServerInfo.prototype.setFavicon = function(value) {
19304
- return jspb.Message.setWrapperField(this, 7, value);
19305
- };
19306
-
19307
-
19308
- /**
19309
- * Clears the message field making it undefined.
19310
- * @return {!proto.com.lansweeper.discovery.sensor.unix.v1.HttpServerInfo} returns this
19311
- */
19312
- proto.com.lansweeper.discovery.sensor.unix.v1.HttpServerInfo.prototype.clearFavicon = function() {
19313
- return this.setFavicon(undefined);
19314
- };
19315
-
19316
-
19317
- /**
19318
- * Returns whether this field is set.
19319
- * @return {boolean}
19320
- */
19321
- proto.com.lansweeper.discovery.sensor.unix.v1.HttpServerInfo.prototype.hasFavicon = function() {
19322
- return jspb.Message.getField(this, 7) != null;
19323
- };
19324
-
19325
-
19326
- /**
19327
- * repeated HttpCertificate certificates = 8;
19328
- * @return {!Array<!proto.com.lansweeper.discovery.sensor.unix.v1.HttpCertificate>}
19329
- */
19330
- proto.com.lansweeper.discovery.sensor.unix.v1.HttpServerInfo.prototype.getCertificatesList = function() {
19331
- return /** @type{!Array<!proto.com.lansweeper.discovery.sensor.unix.v1.HttpCertificate>} */ (
19332
- jspb.Message.getRepeatedWrapperField(this, proto.com.lansweeper.discovery.sensor.unix.v1.HttpCertificate, 8));
19333
- };
19334
-
19335
-
19336
- /**
19337
- * @param {!Array<!proto.com.lansweeper.discovery.sensor.unix.v1.HttpCertificate>} value
19338
- * @return {!proto.com.lansweeper.discovery.sensor.unix.v1.HttpServerInfo} returns this
19339
- */
19340
- proto.com.lansweeper.discovery.sensor.unix.v1.HttpServerInfo.prototype.setCertificatesList = function(value) {
19341
- return jspb.Message.setRepeatedWrapperField(this, 8, value);
19342
- };
19343
-
19344
-
19345
- /**
19346
- * @param {!proto.com.lansweeper.discovery.sensor.unix.v1.HttpCertificate=} opt_value
19347
- * @param {number=} opt_index
19348
- * @return {!proto.com.lansweeper.discovery.sensor.unix.v1.HttpCertificate}
19349
- */
19350
- proto.com.lansweeper.discovery.sensor.unix.v1.HttpServerInfo.prototype.addCertificates = function(opt_value, opt_index) {
19351
- return jspb.Message.addToRepeatedWrapperField(this, 8, opt_value, proto.com.lansweeper.discovery.sensor.unix.v1.HttpCertificate, opt_index);
19352
- };
19353
-
19354
-
19355
- /**
19356
- * Clears the list making it empty but non-null.
19357
- * @return {!proto.com.lansweeper.discovery.sensor.unix.v1.HttpServerInfo} returns this
19358
- */
19359
- proto.com.lansweeper.discovery.sensor.unix.v1.HttpServerInfo.prototype.clearCertificatesList = function() {
19360
- return this.setCertificatesList([]);
19361
- };
19362
-
19363
-
19364
-
19365
-
19366
-
19367
- if (jspb.Message.GENERATE_TO_OBJECT) {
19368
- /**
19369
- * Creates an object representation of this proto.
19370
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
19371
- * Optional fields that are not set will be set to undefined.
19372
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
19373
- * For the list of reserved names please see:
19374
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
19375
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
19376
- * JSPB instance for transitional soy proto support:
19377
- * http://goto/soy-param-migration
19378
- * @return {!Object}
19379
- */
19380
- proto.com.lansweeper.discovery.sensor.unix.v1.HttpCertificate.prototype.toObject = function(opt_includeInstance) {
19381
- return proto.com.lansweeper.discovery.sensor.unix.v1.HttpCertificate.toObject(opt_includeInstance, this);
19382
- };
19383
-
19384
-
19385
- /**
19386
- * Static version of the {@see toObject} method.
19387
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
19388
- * the JSPB instance for transitional soy proto support:
19389
- * http://goto/soy-param-migration
19390
- * @param {!proto.com.lansweeper.discovery.sensor.unix.v1.HttpCertificate} msg The msg instance to transform.
19391
- * @return {!Object}
19392
- * @suppress {unusedLocalVariables} f is only used for nested messages
19393
- */
19394
- proto.com.lansweeper.discovery.sensor.unix.v1.HttpCertificate.toObject = function(includeInstance, msg) {
19395
- var f, obj = {
19396
- thumbprint: (f = msg.getThumbprint()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
19397
- serialNumber: (f = msg.getSerialNumber()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
19398
- x509Issuer: (f = msg.getX509Issuer()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
19399
- x509Subject: (f = msg.getX509Subject()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
19400
- effectiveDate: (f = msg.getEffectiveDate()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
19401
- expirationDate: (f = msg.getExpirationDate()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
19402
- sslErrors: jspb.Message.getFieldWithDefault(msg, 7, 0)
19403
- };
19404
-
19405
- if (includeInstance) {
19406
- obj.$jspbMessageInstance = msg;
19407
- }
19408
- return obj;
19409
- };
19410
- }
19411
-
19412
-
19413
- /**
19414
- * Deserializes binary data (in protobuf wire format).
19415
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
19416
- * @return {!proto.com.lansweeper.discovery.sensor.unix.v1.HttpCertificate}
19417
- */
19418
- proto.com.lansweeper.discovery.sensor.unix.v1.HttpCertificate.deserializeBinary = function(bytes) {
19419
- var reader = new jspb.BinaryReader(bytes);
19420
- var msg = new proto.com.lansweeper.discovery.sensor.unix.v1.HttpCertificate;
19421
- return proto.com.lansweeper.discovery.sensor.unix.v1.HttpCertificate.deserializeBinaryFromReader(msg, reader);
19422
- };
19423
-
19424
-
19425
- /**
19426
- * Deserializes binary data (in protobuf wire format) from the
19427
- * given reader into the given message object.
19428
- * @param {!proto.com.lansweeper.discovery.sensor.unix.v1.HttpCertificate} msg The message object to deserialize into.
19429
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
19430
- * @return {!proto.com.lansweeper.discovery.sensor.unix.v1.HttpCertificate}
19431
- */
19432
- proto.com.lansweeper.discovery.sensor.unix.v1.HttpCertificate.deserializeBinaryFromReader = function(msg, reader) {
19433
- while (reader.nextField()) {
19434
- if (reader.isEndGroup()) {
19435
- break;
19436
- }
19437
- var field = reader.getFieldNumber();
19438
- switch (field) {
19439
- case 1:
19440
- var value = new google_protobuf_wrappers_pb.StringValue;
19441
- reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
19442
- msg.setThumbprint(value);
19443
- break;
19444
- case 2:
19445
- var value = new google_protobuf_wrappers_pb.StringValue;
19446
- reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
19447
- msg.setSerialNumber(value);
19448
- break;
19449
- case 3:
19450
- var value = new google_protobuf_wrappers_pb.StringValue;
19451
- reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
19452
- msg.setX509Issuer(value);
19453
- break;
19454
- case 4:
19455
- var value = new google_protobuf_wrappers_pb.StringValue;
19456
- reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
19457
- msg.setX509Subject(value);
19458
- break;
19459
- case 5:
19460
- var value = new google_protobuf_timestamp_pb.Timestamp;
19461
- reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
19462
- msg.setEffectiveDate(value);
19463
- break;
19464
- case 6:
19465
- var value = new google_protobuf_timestamp_pb.Timestamp;
19466
- reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
19467
- msg.setExpirationDate(value);
19468
- break;
19469
- case 7:
19470
- var value = /** @type {number} */ (reader.readUint32());
19471
- msg.setSslErrors(value);
19472
- break;
19473
- default:
19474
- reader.skipField();
19475
- break;
19476
- }
19477
- }
19478
- return msg;
19479
- };
19480
-
19481
-
19482
- /**
19483
- * Serializes the message to binary data (in protobuf wire format).
19484
- * @return {!Uint8Array}
19485
- */
19486
- proto.com.lansweeper.discovery.sensor.unix.v1.HttpCertificate.prototype.serializeBinary = function() {
19487
- var writer = new jspb.BinaryWriter();
19488
- proto.com.lansweeper.discovery.sensor.unix.v1.HttpCertificate.serializeBinaryToWriter(this, writer);
19489
- return writer.getResultBuffer();
19490
- };
19491
-
19492
-
19493
- /**
19494
- * Serializes the given message to binary data (in protobuf wire
19495
- * format), writing to the given BinaryWriter.
19496
- * @param {!proto.com.lansweeper.discovery.sensor.unix.v1.HttpCertificate} message
19497
- * @param {!jspb.BinaryWriter} writer
19498
- * @suppress {unusedLocalVariables} f is only used for nested messages
19499
- */
19500
- proto.com.lansweeper.discovery.sensor.unix.v1.HttpCertificate.serializeBinaryToWriter = function(message, writer) {
19501
- var f = undefined;
19502
- f = message.getThumbprint();
19503
- if (f != null) {
19504
- writer.writeMessage(
19505
- 1,
19506
- f,
19507
- google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
19508
- );
19509
- }
19510
- f = message.getSerialNumber();
19511
- if (f != null) {
19512
- writer.writeMessage(
19513
- 2,
19514
- f,
19515
- google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
19516
- );
19517
- }
19518
- f = message.getX509Issuer();
19519
- if (f != null) {
19520
- writer.writeMessage(
19521
- 3,
19522
- f,
19523
- google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
19524
- );
19525
- }
19526
- f = message.getX509Subject();
19527
- if (f != null) {
19528
- writer.writeMessage(
19529
- 4,
19530
- f,
19531
- google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
19532
- );
19533
- }
19534
- f = message.getEffectiveDate();
19535
- if (f != null) {
19536
- writer.writeMessage(
19537
- 5,
19538
- f,
19539
- google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
19540
- );
19541
- }
19542
- f = message.getExpirationDate();
19543
- if (f != null) {
19544
- writer.writeMessage(
19545
- 6,
19546
- f,
19547
- google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
19548
- );
19549
- }
19550
- f = message.getSslErrors();
19551
- if (f !== 0) {
19552
- writer.writeUint32(
19553
- 7,
19554
- f
19555
- );
19556
- }
19557
- };
19558
-
19559
-
19560
- /**
19561
- * optional google.protobuf.StringValue thumbprint = 1;
19562
- * @return {?proto.google.protobuf.StringValue}
19563
- */
19564
- proto.com.lansweeper.discovery.sensor.unix.v1.HttpCertificate.prototype.getThumbprint = function() {
19565
- return /** @type{?proto.google.protobuf.StringValue} */ (
19566
- jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 1));
19567
- };
19568
-
19569
-
19570
- /**
19571
- * @param {?proto.google.protobuf.StringValue|undefined} value
19572
- * @return {!proto.com.lansweeper.discovery.sensor.unix.v1.HttpCertificate} returns this
19573
- */
19574
- proto.com.lansweeper.discovery.sensor.unix.v1.HttpCertificate.prototype.setThumbprint = function(value) {
19575
- return jspb.Message.setWrapperField(this, 1, value);
19576
- };
19577
-
19578
-
19579
- /**
19580
- * Clears the message field making it undefined.
19581
- * @return {!proto.com.lansweeper.discovery.sensor.unix.v1.HttpCertificate} returns this
19582
- */
19583
- proto.com.lansweeper.discovery.sensor.unix.v1.HttpCertificate.prototype.clearThumbprint = function() {
19584
- return this.setThumbprint(undefined);
19585
- };
19586
-
19587
-
19588
- /**
19589
- * Returns whether this field is set.
19590
- * @return {boolean}
19591
- */
19592
- proto.com.lansweeper.discovery.sensor.unix.v1.HttpCertificate.prototype.hasThumbprint = function() {
19593
- return jspb.Message.getField(this, 1) != null;
19594
- };
19595
-
19596
-
19597
- /**
19598
- * optional google.protobuf.StringValue serial_number = 2;
19599
- * @return {?proto.google.protobuf.StringValue}
19600
- */
19601
- proto.com.lansweeper.discovery.sensor.unix.v1.HttpCertificate.prototype.getSerialNumber = function() {
19602
- return /** @type{?proto.google.protobuf.StringValue} */ (
19603
- jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 2));
19604
- };
19605
-
19606
-
19607
- /**
19608
- * @param {?proto.google.protobuf.StringValue|undefined} value
19609
- * @return {!proto.com.lansweeper.discovery.sensor.unix.v1.HttpCertificate} returns this
19610
- */
19611
- proto.com.lansweeper.discovery.sensor.unix.v1.HttpCertificate.prototype.setSerialNumber = function(value) {
19612
- return jspb.Message.setWrapperField(this, 2, value);
19613
- };
19614
-
19615
-
19616
- /**
19617
- * Clears the message field making it undefined.
19618
- * @return {!proto.com.lansweeper.discovery.sensor.unix.v1.HttpCertificate} returns this
19619
- */
19620
- proto.com.lansweeper.discovery.sensor.unix.v1.HttpCertificate.prototype.clearSerialNumber = function() {
19621
- return this.setSerialNumber(undefined);
19622
- };
19623
-
19624
-
19625
- /**
19626
- * Returns whether this field is set.
19627
- * @return {boolean}
19628
- */
19629
- proto.com.lansweeper.discovery.sensor.unix.v1.HttpCertificate.prototype.hasSerialNumber = function() {
19630
- return jspb.Message.getField(this, 2) != null;
19631
- };
19632
-
19633
-
19634
- /**
19635
- * optional google.protobuf.StringValue x509_issuer = 3;
19636
- * @return {?proto.google.protobuf.StringValue}
19637
- */
19638
- proto.com.lansweeper.discovery.sensor.unix.v1.HttpCertificate.prototype.getX509Issuer = function() {
19639
- return /** @type{?proto.google.protobuf.StringValue} */ (
19640
- jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 3));
19641
- };
19642
-
19643
-
19644
- /**
19645
- * @param {?proto.google.protobuf.StringValue|undefined} value
19646
- * @return {!proto.com.lansweeper.discovery.sensor.unix.v1.HttpCertificate} returns this
19647
- */
19648
- proto.com.lansweeper.discovery.sensor.unix.v1.HttpCertificate.prototype.setX509Issuer = function(value) {
19649
- return jspb.Message.setWrapperField(this, 3, value);
19650
- };
19651
-
19652
-
19653
- /**
19654
- * Clears the message field making it undefined.
19655
- * @return {!proto.com.lansweeper.discovery.sensor.unix.v1.HttpCertificate} returns this
19656
- */
19657
- proto.com.lansweeper.discovery.sensor.unix.v1.HttpCertificate.prototype.clearX509Issuer = function() {
19658
- return this.setX509Issuer(undefined);
19659
- };
19660
-
19661
-
19662
- /**
19663
- * Returns whether this field is set.
19664
- * @return {boolean}
19665
- */
19666
- proto.com.lansweeper.discovery.sensor.unix.v1.HttpCertificate.prototype.hasX509Issuer = function() {
19667
- return jspb.Message.getField(this, 3) != null;
19668
- };
19669
-
19670
-
19671
- /**
19672
- * optional google.protobuf.StringValue x509_subject = 4;
19673
- * @return {?proto.google.protobuf.StringValue}
19674
- */
19675
- proto.com.lansweeper.discovery.sensor.unix.v1.HttpCertificate.prototype.getX509Subject = function() {
19676
- return /** @type{?proto.google.protobuf.StringValue} */ (
19677
- jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 4));
19678
- };
19679
-
19680
-
19681
- /**
19682
- * @param {?proto.google.protobuf.StringValue|undefined} value
19683
- * @return {!proto.com.lansweeper.discovery.sensor.unix.v1.HttpCertificate} returns this
19684
- */
19685
- proto.com.lansweeper.discovery.sensor.unix.v1.HttpCertificate.prototype.setX509Subject = function(value) {
19686
- return jspb.Message.setWrapperField(this, 4, value);
19687
- };
19688
-
19689
-
19690
- /**
19691
- * Clears the message field making it undefined.
19692
- * @return {!proto.com.lansweeper.discovery.sensor.unix.v1.HttpCertificate} returns this
19693
- */
19694
- proto.com.lansweeper.discovery.sensor.unix.v1.HttpCertificate.prototype.clearX509Subject = function() {
19695
- return this.setX509Subject(undefined);
19696
- };
19697
-
19698
-
19699
- /**
19700
- * Returns whether this field is set.
19701
- * @return {boolean}
19702
- */
19703
- proto.com.lansweeper.discovery.sensor.unix.v1.HttpCertificate.prototype.hasX509Subject = function() {
19704
- return jspb.Message.getField(this, 4) != null;
19705
- };
19706
-
19707
-
19708
- /**
19709
- * optional google.protobuf.Timestamp effective_date = 5;
19710
- * @return {?proto.google.protobuf.Timestamp}
19711
- */
19712
- proto.com.lansweeper.discovery.sensor.unix.v1.HttpCertificate.prototype.getEffectiveDate = function() {
19713
- return /** @type{?proto.google.protobuf.Timestamp} */ (
19714
- jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 5));
19715
- };
19716
-
19717
-
19718
- /**
19719
- * @param {?proto.google.protobuf.Timestamp|undefined} value
19720
- * @return {!proto.com.lansweeper.discovery.sensor.unix.v1.HttpCertificate} returns this
19721
- */
19722
- proto.com.lansweeper.discovery.sensor.unix.v1.HttpCertificate.prototype.setEffectiveDate = function(value) {
19723
- return jspb.Message.setWrapperField(this, 5, value);
19724
- };
19725
-
19726
-
19727
- /**
19728
- * Clears the message field making it undefined.
19729
- * @return {!proto.com.lansweeper.discovery.sensor.unix.v1.HttpCertificate} returns this
19730
- */
19731
- proto.com.lansweeper.discovery.sensor.unix.v1.HttpCertificate.prototype.clearEffectiveDate = function() {
19732
- return this.setEffectiveDate(undefined);
19733
- };
19734
-
19735
-
19736
- /**
19737
- * Returns whether this field is set.
19738
- * @return {boolean}
19739
- */
19740
- proto.com.lansweeper.discovery.sensor.unix.v1.HttpCertificate.prototype.hasEffectiveDate = function() {
19741
- return jspb.Message.getField(this, 5) != null;
19742
- };
19743
-
19744
-
19745
- /**
19746
- * optional google.protobuf.Timestamp expiration_date = 6;
19747
- * @return {?proto.google.protobuf.Timestamp}
19748
- */
19749
- proto.com.lansweeper.discovery.sensor.unix.v1.HttpCertificate.prototype.getExpirationDate = function() {
19750
- return /** @type{?proto.google.protobuf.Timestamp} */ (
19751
- jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 6));
19752
- };
19753
-
19754
-
19755
- /**
19756
- * @param {?proto.google.protobuf.Timestamp|undefined} value
19757
- * @return {!proto.com.lansweeper.discovery.sensor.unix.v1.HttpCertificate} returns this
19758
- */
19759
- proto.com.lansweeper.discovery.sensor.unix.v1.HttpCertificate.prototype.setExpirationDate = function(value) {
19760
- return jspb.Message.setWrapperField(this, 6, value);
19761
- };
19762
-
19763
-
19764
- /**
19765
- * Clears the message field making it undefined.
19766
- * @return {!proto.com.lansweeper.discovery.sensor.unix.v1.HttpCertificate} returns this
19767
- */
19768
- proto.com.lansweeper.discovery.sensor.unix.v1.HttpCertificate.prototype.clearExpirationDate = function() {
19769
- return this.setExpirationDate(undefined);
19770
- };
19771
-
19772
-
19773
- /**
19774
- * Returns whether this field is set.
19775
- * @return {boolean}
19776
- */
19777
- proto.com.lansweeper.discovery.sensor.unix.v1.HttpCertificate.prototype.hasExpirationDate = function() {
19778
- return jspb.Message.getField(this, 6) != null;
19779
- };
19780
-
19781
-
19782
- /**
19783
- * optional uint32 ssl_errors = 7;
19784
- * @return {number}
19785
- */
19786
- proto.com.lansweeper.discovery.sensor.unix.v1.HttpCertificate.prototype.getSslErrors = function() {
19787
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
19788
- };
19789
-
19790
-
19791
- /**
19792
- * @param {number} value
19793
- * @return {!proto.com.lansweeper.discovery.sensor.unix.v1.HttpCertificate} returns this
19794
- */
19795
- proto.com.lansweeper.discovery.sensor.unix.v1.HttpCertificate.prototype.setSslErrors = function(value) {
19796
- return jspb.Message.setProto3IntField(this, 7, value);
19797
- };
19798
-
19799
-
19800
- /**
19801
- * @enum {number}
19802
- */
19803
- proto.com.lansweeper.discovery.sensor.unix.v1.UnixDistributionFamily = {
19804
- UNKNOWN_FAMILY: 0,
19805
- DEBIAN_FAMILY: 1,
19806
- REDHAT_FAMILY: 2,
19807
- SOLARIS_FAMILY: 3
19808
- };
19809
-
19810
- /**
19811
- * @enum {number}
19812
- */
19813
- proto.com.lansweeper.discovery.sensor.unix.v1.UnixDistribution = {
19814
- UNKNOWN_DISTRIBUTION: 0,
19815
- DEBIAN: 1,
19816
- UBUNTU: 2,
19817
- MINT: 3,
19818
- KALI: 4,
19819
- REDHAT: 5,
19820
- CENTOS: 6,
19821
- ORACLE: 7,
19822
- FEDORA: 8,
19823
- SOLARIS: 9,
19824
- AIX: 10,
19825
- BSD: 11,
19826
- OPEN_SUSE_LEAP: 12,
19827
- SUSE_LINUX_ENTERPRISE: 13
19828
- };
19829
-
19830
- /**
19831
- * @enum {number}
18434
+ * @enum {number}
19832
18435
  */
19833
18436
  proto.com.lansweeper.discovery.sensor.unix.v1.SoftwareType = {
19834
18437
  UNKNOWN_SOFTWARE_TYPE: 0,
@@ -19838,14 +18441,4 @@ proto.com.lansweeper.discovery.sensor.unix.v1.SoftwareType = {
19838
18441
  UNBUNDLED_SOFTWARE_TYPE: 4
19839
18442
  };
19840
18443
 
19841
- /**
19842
- * @enum {number}
19843
- */
19844
- proto.com.lansweeper.discovery.sensor.unix.v1.SslPolicyErrors = {
19845
- NONE: 0,
19846
- REMOTE_CERTIFICATE_NOT_AVAILABLE: 1,
19847
- REMOTE_CERTIFICATE_NAME_MISMATCH: 2,
19848
- REMOTE_CERTIFICATE_CHAIN_ERRORS: 4
19849
- };
19850
-
19851
18444
  goog.object.extend(exports, proto.com.lansweeper.discovery.sensor.unix.v1);