@lansweeper/discovery-sensor-proto 2.27.0 → 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.
- package/gen-proto/discovery_sections_mac_pb.d.ts +5 -173
- package/gen-proto/discovery_sections_mac_pb.js +14 -1372
- package/gen-proto/discovery_sections_unix_pb.d.ts +5 -172
- package/gen-proto/discovery_sections_unix_pb.js +37 -1393
- package/gen-proto/discovery_sections_windows_pb.d.ts +5 -172
- package/gen-proto/discovery_sections_windows_pb.js +52 -1408
- package/gen-proto/image.json +1 -1
- package/package.json +2 -2
- package/proto/discovery_sections_mac.proto +4 -42
- package/proto/discovery_sections_unix.proto +6 -42
- package/proto/discovery_sections_windows.proto +4 -41
- package/proto/import/discovery_common.proto +49 -0
|
@@ -23,8 +23,8 @@ var global = (function() {
|
|
|
23
23
|
|
|
24
24
|
var google_protobuf_wrappers_pb = require('google-protobuf/google/protobuf/wrappers_pb.js');
|
|
25
25
|
goog.object.extend(proto, google_protobuf_wrappers_pb);
|
|
26
|
-
var
|
|
27
|
-
goog.object.extend(proto,
|
|
26
|
+
var import_discovery_common_pb = require('./import/discovery_common_pb.js');
|
|
27
|
+
goog.object.extend(proto, import_discovery_common_pb);
|
|
28
28
|
goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.AcPower', null, global);
|
|
29
29
|
goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.BatteryChargeInfo', null, global);
|
|
30
30
|
goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.BatteryHealthInfo', null, global);
|
|
@@ -36,8 +36,6 @@ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.DiscBurning', nu
|
|
|
36
36
|
goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.Display', null, global);
|
|
37
37
|
goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.Firewire', null, global);
|
|
38
38
|
goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.HardDisk', null, global);
|
|
39
|
-
goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.HttpCertificate', null, global);
|
|
40
|
-
goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.HttpServerInfo', null, global);
|
|
41
39
|
goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.MacBasicInfo', null, global);
|
|
42
40
|
goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.MacBluetooth', null, global);
|
|
43
41
|
goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.MacDiscBurning', null, global);
|
|
@@ -64,10 +62,8 @@ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.NetworkIpv4Addit
|
|
|
64
62
|
goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.NetworkIpv6', null, global);
|
|
65
63
|
goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.NetworkProxies', null, global);
|
|
66
64
|
goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.NetworkVolume', null, global);
|
|
67
|
-
goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.OpenPort', null, global);
|
|
68
65
|
goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.Power', null, global);
|
|
69
66
|
goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.Software', null, global);
|
|
70
|
-
goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.SslPolicyErrors', null, global);
|
|
71
67
|
goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.SystemHardware', null, global);
|
|
72
68
|
/**
|
|
73
69
|
* Generated by JsPbCodeGenerator.
|
|
@@ -909,69 +905,6 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
909
905
|
*/
|
|
910
906
|
proto.com.lansweeper.discovery.sensor.mac.v1.MacOpenPorts.displayName = 'proto.com.lansweeper.discovery.sensor.mac.v1.MacOpenPorts';
|
|
911
907
|
}
|
|
912
|
-
/**
|
|
913
|
-
* Generated by JsPbCodeGenerator.
|
|
914
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
915
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
916
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
917
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
918
|
-
* valid.
|
|
919
|
-
* @extends {jspb.Message}
|
|
920
|
-
* @constructor
|
|
921
|
-
*/
|
|
922
|
-
proto.com.lansweeper.discovery.sensor.mac.v1.OpenPort = function(opt_data) {
|
|
923
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
924
|
-
};
|
|
925
|
-
goog.inherits(proto.com.lansweeper.discovery.sensor.mac.v1.OpenPort, jspb.Message);
|
|
926
|
-
if (goog.DEBUG && !COMPILED) {
|
|
927
|
-
/**
|
|
928
|
-
* @public
|
|
929
|
-
* @override
|
|
930
|
-
*/
|
|
931
|
-
proto.com.lansweeper.discovery.sensor.mac.v1.OpenPort.displayName = 'proto.com.lansweeper.discovery.sensor.mac.v1.OpenPort';
|
|
932
|
-
}
|
|
933
|
-
/**
|
|
934
|
-
* Generated by JsPbCodeGenerator.
|
|
935
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
936
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
937
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
938
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
939
|
-
* valid.
|
|
940
|
-
* @extends {jspb.Message}
|
|
941
|
-
* @constructor
|
|
942
|
-
*/
|
|
943
|
-
proto.com.lansweeper.discovery.sensor.mac.v1.HttpServerInfo = function(opt_data) {
|
|
944
|
-
jspb.Message.initialize(this, opt_data, 0, -1, proto.com.lansweeper.discovery.sensor.mac.v1.HttpServerInfo.repeatedFields_, null);
|
|
945
|
-
};
|
|
946
|
-
goog.inherits(proto.com.lansweeper.discovery.sensor.mac.v1.HttpServerInfo, jspb.Message);
|
|
947
|
-
if (goog.DEBUG && !COMPILED) {
|
|
948
|
-
/**
|
|
949
|
-
* @public
|
|
950
|
-
* @override
|
|
951
|
-
*/
|
|
952
|
-
proto.com.lansweeper.discovery.sensor.mac.v1.HttpServerInfo.displayName = 'proto.com.lansweeper.discovery.sensor.mac.v1.HttpServerInfo';
|
|
953
|
-
}
|
|
954
|
-
/**
|
|
955
|
-
* Generated by JsPbCodeGenerator.
|
|
956
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
957
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
958
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
959
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
960
|
-
* valid.
|
|
961
|
-
* @extends {jspb.Message}
|
|
962
|
-
* @constructor
|
|
963
|
-
*/
|
|
964
|
-
proto.com.lansweeper.discovery.sensor.mac.v1.HttpCertificate = function(opt_data) {
|
|
965
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
966
|
-
};
|
|
967
|
-
goog.inherits(proto.com.lansweeper.discovery.sensor.mac.v1.HttpCertificate, jspb.Message);
|
|
968
|
-
if (goog.DEBUG && !COMPILED) {
|
|
969
|
-
/**
|
|
970
|
-
* @public
|
|
971
|
-
* @override
|
|
972
|
-
*/
|
|
973
|
-
proto.com.lansweeper.discovery.sensor.mac.v1.HttpCertificate.displayName = 'proto.com.lansweeper.discovery.sensor.mac.v1.HttpCertificate';
|
|
974
|
-
}
|
|
975
908
|
|
|
976
909
|
/**
|
|
977
910
|
* List of repeated fields within this message type.
|
|
@@ -16600,7 +16533,7 @@ proto.com.lansweeper.discovery.sensor.mac.v1.MacOpenPorts.prototype.toObject = f
|
|
|
16600
16533
|
proto.com.lansweeper.discovery.sensor.mac.v1.MacOpenPorts.toObject = function(includeInstance, msg) {
|
|
16601
16534
|
var f, obj = {
|
|
16602
16535
|
entriesList: jspb.Message.toObjectList(msg.getEntriesList(),
|
|
16603
|
-
|
|
16536
|
+
import_discovery_common_pb.OpenPort.toObject, includeInstance)
|
|
16604
16537
|
};
|
|
16605
16538
|
|
|
16606
16539
|
if (includeInstance) {
|
|
@@ -16638,8 +16571,8 @@ proto.com.lansweeper.discovery.sensor.mac.v1.MacOpenPorts.deserializeBinaryFromR
|
|
|
16638
16571
|
var field = reader.getFieldNumber();
|
|
16639
16572
|
switch (field) {
|
|
16640
16573
|
case 1:
|
|
16641
|
-
var value = new
|
|
16642
|
-
reader.readMessage(value,
|
|
16574
|
+
var value = new import_discovery_common_pb.OpenPort;
|
|
16575
|
+
reader.readMessage(value,import_discovery_common_pb.OpenPort.deserializeBinaryFromReader);
|
|
16643
16576
|
msg.addEntries(value);
|
|
16644
16577
|
break;
|
|
16645
16578
|
default:
|
|
@@ -16676,24 +16609,24 @@ proto.com.lansweeper.discovery.sensor.mac.v1.MacOpenPorts.serializeBinaryToWrite
|
|
|
16676
16609
|
writer.writeRepeatedMessage(
|
|
16677
16610
|
1,
|
|
16678
16611
|
f,
|
|
16679
|
-
|
|
16612
|
+
import_discovery_common_pb.OpenPort.serializeBinaryToWriter
|
|
16680
16613
|
);
|
|
16681
16614
|
}
|
|
16682
16615
|
};
|
|
16683
16616
|
|
|
16684
16617
|
|
|
16685
16618
|
/**
|
|
16686
|
-
* repeated OpenPort entries = 1;
|
|
16687
|
-
* @return {!Array<!proto.com.lansweeper.discovery.sensor.
|
|
16619
|
+
* repeated com.lansweeper.discovery.sensor.common.v1.OpenPort entries = 1;
|
|
16620
|
+
* @return {!Array<!proto.com.lansweeper.discovery.sensor.common.v1.OpenPort>}
|
|
16688
16621
|
*/
|
|
16689
16622
|
proto.com.lansweeper.discovery.sensor.mac.v1.MacOpenPorts.prototype.getEntriesList = function() {
|
|
16690
|
-
return /** @type{!Array<!proto.com.lansweeper.discovery.sensor.
|
|
16691
|
-
jspb.Message.getRepeatedWrapperField(this,
|
|
16623
|
+
return /** @type{!Array<!proto.com.lansweeper.discovery.sensor.common.v1.OpenPort>} */ (
|
|
16624
|
+
jspb.Message.getRepeatedWrapperField(this, import_discovery_common_pb.OpenPort, 1));
|
|
16692
16625
|
};
|
|
16693
16626
|
|
|
16694
16627
|
|
|
16695
16628
|
/**
|
|
16696
|
-
* @param {!Array<!proto.com.lansweeper.discovery.sensor.
|
|
16629
|
+
* @param {!Array<!proto.com.lansweeper.discovery.sensor.common.v1.OpenPort>} value
|
|
16697
16630
|
* @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacOpenPorts} returns this
|
|
16698
16631
|
*/
|
|
16699
16632
|
proto.com.lansweeper.discovery.sensor.mac.v1.MacOpenPorts.prototype.setEntriesList = function(value) {
|
|
@@ -16702,12 +16635,12 @@ proto.com.lansweeper.discovery.sensor.mac.v1.MacOpenPorts.prototype.setEntriesLi
|
|
|
16702
16635
|
|
|
16703
16636
|
|
|
16704
16637
|
/**
|
|
16705
|
-
* @param {!proto.com.lansweeper.discovery.sensor.
|
|
16638
|
+
* @param {!proto.com.lansweeper.discovery.sensor.common.v1.OpenPort=} opt_value
|
|
16706
16639
|
* @param {number=} opt_index
|
|
16707
|
-
* @return {!proto.com.lansweeper.discovery.sensor.
|
|
16640
|
+
* @return {!proto.com.lansweeper.discovery.sensor.common.v1.OpenPort}
|
|
16708
16641
|
*/
|
|
16709
16642
|
proto.com.lansweeper.discovery.sensor.mac.v1.MacOpenPorts.prototype.addEntries = function(opt_value, opt_index) {
|
|
16710
|
-
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.com.lansweeper.discovery.sensor.
|
|
16643
|
+
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.com.lansweeper.discovery.sensor.common.v1.OpenPort, opt_index);
|
|
16711
16644
|
};
|
|
16712
16645
|
|
|
16713
16646
|
|
|
@@ -16720,1295 +16653,4 @@ proto.com.lansweeper.discovery.sensor.mac.v1.MacOpenPorts.prototype.clearEntries
|
|
|
16720
16653
|
};
|
|
16721
16654
|
|
|
16722
16655
|
|
|
16723
|
-
|
|
16724
|
-
|
|
16725
|
-
|
|
16726
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
16727
|
-
/**
|
|
16728
|
-
* Creates an object representation of this proto.
|
|
16729
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
16730
|
-
* Optional fields that are not set will be set to undefined.
|
|
16731
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
16732
|
-
* For the list of reserved names please see:
|
|
16733
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
16734
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
16735
|
-
* JSPB instance for transitional soy proto support:
|
|
16736
|
-
* http://goto/soy-param-migration
|
|
16737
|
-
* @return {!Object}
|
|
16738
|
-
*/
|
|
16739
|
-
proto.com.lansweeper.discovery.sensor.mac.v1.OpenPort.prototype.toObject = function(opt_includeInstance) {
|
|
16740
|
-
return proto.com.lansweeper.discovery.sensor.mac.v1.OpenPort.toObject(opt_includeInstance, this);
|
|
16741
|
-
};
|
|
16742
|
-
|
|
16743
|
-
|
|
16744
|
-
/**
|
|
16745
|
-
* Static version of the {@see toObject} method.
|
|
16746
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
16747
|
-
* the JSPB instance for transitional soy proto support:
|
|
16748
|
-
* http://goto/soy-param-migration
|
|
16749
|
-
* @param {!proto.com.lansweeper.discovery.sensor.mac.v1.OpenPort} msg The msg instance to transform.
|
|
16750
|
-
* @return {!Object}
|
|
16751
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
16752
|
-
*/
|
|
16753
|
-
proto.com.lansweeper.discovery.sensor.mac.v1.OpenPort.toObject = function(includeInstance, msg) {
|
|
16754
|
-
var f, obj = {
|
|
16755
|
-
localPort: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
16756
|
-
localAddress: (f = msg.getLocalAddress()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
|
|
16757
|
-
processName: (f = msg.getProcessName()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
|
|
16758
|
-
banner: (f = msg.getBanner()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
|
|
16759
|
-
httpServer: (f = msg.getHttpServer()) && proto.com.lansweeper.discovery.sensor.mac.v1.HttpServerInfo.toObject(includeInstance, f)
|
|
16760
|
-
};
|
|
16761
|
-
|
|
16762
|
-
if (includeInstance) {
|
|
16763
|
-
obj.$jspbMessageInstance = msg;
|
|
16764
|
-
}
|
|
16765
|
-
return obj;
|
|
16766
|
-
};
|
|
16767
|
-
}
|
|
16768
|
-
|
|
16769
|
-
|
|
16770
|
-
/**
|
|
16771
|
-
* Deserializes binary data (in protobuf wire format).
|
|
16772
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
16773
|
-
* @return {!proto.com.lansweeper.discovery.sensor.mac.v1.OpenPort}
|
|
16774
|
-
*/
|
|
16775
|
-
proto.com.lansweeper.discovery.sensor.mac.v1.OpenPort.deserializeBinary = function(bytes) {
|
|
16776
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
16777
|
-
var msg = new proto.com.lansweeper.discovery.sensor.mac.v1.OpenPort;
|
|
16778
|
-
return proto.com.lansweeper.discovery.sensor.mac.v1.OpenPort.deserializeBinaryFromReader(msg, reader);
|
|
16779
|
-
};
|
|
16780
|
-
|
|
16781
|
-
|
|
16782
|
-
/**
|
|
16783
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
16784
|
-
* given reader into the given message object.
|
|
16785
|
-
* @param {!proto.com.lansweeper.discovery.sensor.mac.v1.OpenPort} msg The message object to deserialize into.
|
|
16786
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
16787
|
-
* @return {!proto.com.lansweeper.discovery.sensor.mac.v1.OpenPort}
|
|
16788
|
-
*/
|
|
16789
|
-
proto.com.lansweeper.discovery.sensor.mac.v1.OpenPort.deserializeBinaryFromReader = function(msg, reader) {
|
|
16790
|
-
while (reader.nextField()) {
|
|
16791
|
-
if (reader.isEndGroup()) {
|
|
16792
|
-
break;
|
|
16793
|
-
}
|
|
16794
|
-
var field = reader.getFieldNumber();
|
|
16795
|
-
switch (field) {
|
|
16796
|
-
case 1:
|
|
16797
|
-
var value = /** @type {number} */ (reader.readInt32());
|
|
16798
|
-
msg.setLocalPort(value);
|
|
16799
|
-
break;
|
|
16800
|
-
case 2:
|
|
16801
|
-
var value = new google_protobuf_wrappers_pb.StringValue;
|
|
16802
|
-
reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
|
|
16803
|
-
msg.setLocalAddress(value);
|
|
16804
|
-
break;
|
|
16805
|
-
case 3:
|
|
16806
|
-
var value = new google_protobuf_wrappers_pb.StringValue;
|
|
16807
|
-
reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
|
|
16808
|
-
msg.setProcessName(value);
|
|
16809
|
-
break;
|
|
16810
|
-
case 4:
|
|
16811
|
-
var value = new google_protobuf_wrappers_pb.StringValue;
|
|
16812
|
-
reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
|
|
16813
|
-
msg.setBanner(value);
|
|
16814
|
-
break;
|
|
16815
|
-
case 5:
|
|
16816
|
-
var value = new proto.com.lansweeper.discovery.sensor.mac.v1.HttpServerInfo;
|
|
16817
|
-
reader.readMessage(value,proto.com.lansweeper.discovery.sensor.mac.v1.HttpServerInfo.deserializeBinaryFromReader);
|
|
16818
|
-
msg.setHttpServer(value);
|
|
16819
|
-
break;
|
|
16820
|
-
default:
|
|
16821
|
-
reader.skipField();
|
|
16822
|
-
break;
|
|
16823
|
-
}
|
|
16824
|
-
}
|
|
16825
|
-
return msg;
|
|
16826
|
-
};
|
|
16827
|
-
|
|
16828
|
-
|
|
16829
|
-
/**
|
|
16830
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
16831
|
-
* @return {!Uint8Array}
|
|
16832
|
-
*/
|
|
16833
|
-
proto.com.lansweeper.discovery.sensor.mac.v1.OpenPort.prototype.serializeBinary = function() {
|
|
16834
|
-
var writer = new jspb.BinaryWriter();
|
|
16835
|
-
proto.com.lansweeper.discovery.sensor.mac.v1.OpenPort.serializeBinaryToWriter(this, writer);
|
|
16836
|
-
return writer.getResultBuffer();
|
|
16837
|
-
};
|
|
16838
|
-
|
|
16839
|
-
|
|
16840
|
-
/**
|
|
16841
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
16842
|
-
* format), writing to the given BinaryWriter.
|
|
16843
|
-
* @param {!proto.com.lansweeper.discovery.sensor.mac.v1.OpenPort} message
|
|
16844
|
-
* @param {!jspb.BinaryWriter} writer
|
|
16845
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
16846
|
-
*/
|
|
16847
|
-
proto.com.lansweeper.discovery.sensor.mac.v1.OpenPort.serializeBinaryToWriter = function(message, writer) {
|
|
16848
|
-
var f = undefined;
|
|
16849
|
-
f = message.getLocalPort();
|
|
16850
|
-
if (f !== 0) {
|
|
16851
|
-
writer.writeInt32(
|
|
16852
|
-
1,
|
|
16853
|
-
f
|
|
16854
|
-
);
|
|
16855
|
-
}
|
|
16856
|
-
f = message.getLocalAddress();
|
|
16857
|
-
if (f != null) {
|
|
16858
|
-
writer.writeMessage(
|
|
16859
|
-
2,
|
|
16860
|
-
f,
|
|
16861
|
-
google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
|
|
16862
|
-
);
|
|
16863
|
-
}
|
|
16864
|
-
f = message.getProcessName();
|
|
16865
|
-
if (f != null) {
|
|
16866
|
-
writer.writeMessage(
|
|
16867
|
-
3,
|
|
16868
|
-
f,
|
|
16869
|
-
google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
|
|
16870
|
-
);
|
|
16871
|
-
}
|
|
16872
|
-
f = message.getBanner();
|
|
16873
|
-
if (f != null) {
|
|
16874
|
-
writer.writeMessage(
|
|
16875
|
-
4,
|
|
16876
|
-
f,
|
|
16877
|
-
google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
|
|
16878
|
-
);
|
|
16879
|
-
}
|
|
16880
|
-
f = message.getHttpServer();
|
|
16881
|
-
if (f != null) {
|
|
16882
|
-
writer.writeMessage(
|
|
16883
|
-
5,
|
|
16884
|
-
f,
|
|
16885
|
-
proto.com.lansweeper.discovery.sensor.mac.v1.HttpServerInfo.serializeBinaryToWriter
|
|
16886
|
-
);
|
|
16887
|
-
}
|
|
16888
|
-
};
|
|
16889
|
-
|
|
16890
|
-
|
|
16891
|
-
/**
|
|
16892
|
-
* optional int32 local_port = 1;
|
|
16893
|
-
* @return {number}
|
|
16894
|
-
*/
|
|
16895
|
-
proto.com.lansweeper.discovery.sensor.mac.v1.OpenPort.prototype.getLocalPort = function() {
|
|
16896
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
16897
|
-
};
|
|
16898
|
-
|
|
16899
|
-
|
|
16900
|
-
/**
|
|
16901
|
-
* @param {number} value
|
|
16902
|
-
* @return {!proto.com.lansweeper.discovery.sensor.mac.v1.OpenPort} returns this
|
|
16903
|
-
*/
|
|
16904
|
-
proto.com.lansweeper.discovery.sensor.mac.v1.OpenPort.prototype.setLocalPort = function(value) {
|
|
16905
|
-
return jspb.Message.setProto3IntField(this, 1, value);
|
|
16906
|
-
};
|
|
16907
|
-
|
|
16908
|
-
|
|
16909
|
-
/**
|
|
16910
|
-
* optional google.protobuf.StringValue local_address = 2;
|
|
16911
|
-
* @return {?proto.google.protobuf.StringValue}
|
|
16912
|
-
*/
|
|
16913
|
-
proto.com.lansweeper.discovery.sensor.mac.v1.OpenPort.prototype.getLocalAddress = function() {
|
|
16914
|
-
return /** @type{?proto.google.protobuf.StringValue} */ (
|
|
16915
|
-
jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 2));
|
|
16916
|
-
};
|
|
16917
|
-
|
|
16918
|
-
|
|
16919
|
-
/**
|
|
16920
|
-
* @param {?proto.google.protobuf.StringValue|undefined} value
|
|
16921
|
-
* @return {!proto.com.lansweeper.discovery.sensor.mac.v1.OpenPort} returns this
|
|
16922
|
-
*/
|
|
16923
|
-
proto.com.lansweeper.discovery.sensor.mac.v1.OpenPort.prototype.setLocalAddress = function(value) {
|
|
16924
|
-
return jspb.Message.setWrapperField(this, 2, value);
|
|
16925
|
-
};
|
|
16926
|
-
|
|
16927
|
-
|
|
16928
|
-
/**
|
|
16929
|
-
* Clears the message field making it undefined.
|
|
16930
|
-
* @return {!proto.com.lansweeper.discovery.sensor.mac.v1.OpenPort} returns this
|
|
16931
|
-
*/
|
|
16932
|
-
proto.com.lansweeper.discovery.sensor.mac.v1.OpenPort.prototype.clearLocalAddress = function() {
|
|
16933
|
-
return this.setLocalAddress(undefined);
|
|
16934
|
-
};
|
|
16935
|
-
|
|
16936
|
-
|
|
16937
|
-
/**
|
|
16938
|
-
* Returns whether this field is set.
|
|
16939
|
-
* @return {boolean}
|
|
16940
|
-
*/
|
|
16941
|
-
proto.com.lansweeper.discovery.sensor.mac.v1.OpenPort.prototype.hasLocalAddress = function() {
|
|
16942
|
-
return jspb.Message.getField(this, 2) != null;
|
|
16943
|
-
};
|
|
16944
|
-
|
|
16945
|
-
|
|
16946
|
-
/**
|
|
16947
|
-
* optional google.protobuf.StringValue process_name = 3;
|
|
16948
|
-
* @return {?proto.google.protobuf.StringValue}
|
|
16949
|
-
*/
|
|
16950
|
-
proto.com.lansweeper.discovery.sensor.mac.v1.OpenPort.prototype.getProcessName = function() {
|
|
16951
|
-
return /** @type{?proto.google.protobuf.StringValue} */ (
|
|
16952
|
-
jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 3));
|
|
16953
|
-
};
|
|
16954
|
-
|
|
16955
|
-
|
|
16956
|
-
/**
|
|
16957
|
-
* @param {?proto.google.protobuf.StringValue|undefined} value
|
|
16958
|
-
* @return {!proto.com.lansweeper.discovery.sensor.mac.v1.OpenPort} returns this
|
|
16959
|
-
*/
|
|
16960
|
-
proto.com.lansweeper.discovery.sensor.mac.v1.OpenPort.prototype.setProcessName = function(value) {
|
|
16961
|
-
return jspb.Message.setWrapperField(this, 3, value);
|
|
16962
|
-
};
|
|
16963
|
-
|
|
16964
|
-
|
|
16965
|
-
/**
|
|
16966
|
-
* Clears the message field making it undefined.
|
|
16967
|
-
* @return {!proto.com.lansweeper.discovery.sensor.mac.v1.OpenPort} returns this
|
|
16968
|
-
*/
|
|
16969
|
-
proto.com.lansweeper.discovery.sensor.mac.v1.OpenPort.prototype.clearProcessName = function() {
|
|
16970
|
-
return this.setProcessName(undefined);
|
|
16971
|
-
};
|
|
16972
|
-
|
|
16973
|
-
|
|
16974
|
-
/**
|
|
16975
|
-
* Returns whether this field is set.
|
|
16976
|
-
* @return {boolean}
|
|
16977
|
-
*/
|
|
16978
|
-
proto.com.lansweeper.discovery.sensor.mac.v1.OpenPort.prototype.hasProcessName = function() {
|
|
16979
|
-
return jspb.Message.getField(this, 3) != null;
|
|
16980
|
-
};
|
|
16981
|
-
|
|
16982
|
-
|
|
16983
|
-
/**
|
|
16984
|
-
* optional google.protobuf.StringValue banner = 4;
|
|
16985
|
-
* @return {?proto.google.protobuf.StringValue}
|
|
16986
|
-
*/
|
|
16987
|
-
proto.com.lansweeper.discovery.sensor.mac.v1.OpenPort.prototype.getBanner = function() {
|
|
16988
|
-
return /** @type{?proto.google.protobuf.StringValue} */ (
|
|
16989
|
-
jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 4));
|
|
16990
|
-
};
|
|
16991
|
-
|
|
16992
|
-
|
|
16993
|
-
/**
|
|
16994
|
-
* @param {?proto.google.protobuf.StringValue|undefined} value
|
|
16995
|
-
* @return {!proto.com.lansweeper.discovery.sensor.mac.v1.OpenPort} returns this
|
|
16996
|
-
*/
|
|
16997
|
-
proto.com.lansweeper.discovery.sensor.mac.v1.OpenPort.prototype.setBanner = function(value) {
|
|
16998
|
-
return jspb.Message.setWrapperField(this, 4, value);
|
|
16999
|
-
};
|
|
17000
|
-
|
|
17001
|
-
|
|
17002
|
-
/**
|
|
17003
|
-
* Clears the message field making it undefined.
|
|
17004
|
-
* @return {!proto.com.lansweeper.discovery.sensor.mac.v1.OpenPort} returns this
|
|
17005
|
-
*/
|
|
17006
|
-
proto.com.lansweeper.discovery.sensor.mac.v1.OpenPort.prototype.clearBanner = function() {
|
|
17007
|
-
return this.setBanner(undefined);
|
|
17008
|
-
};
|
|
17009
|
-
|
|
17010
|
-
|
|
17011
|
-
/**
|
|
17012
|
-
* Returns whether this field is set.
|
|
17013
|
-
* @return {boolean}
|
|
17014
|
-
*/
|
|
17015
|
-
proto.com.lansweeper.discovery.sensor.mac.v1.OpenPort.prototype.hasBanner = function() {
|
|
17016
|
-
return jspb.Message.getField(this, 4) != null;
|
|
17017
|
-
};
|
|
17018
|
-
|
|
17019
|
-
|
|
17020
|
-
/**
|
|
17021
|
-
* optional HttpServerInfo http_server = 5;
|
|
17022
|
-
* @return {?proto.com.lansweeper.discovery.sensor.mac.v1.HttpServerInfo}
|
|
17023
|
-
*/
|
|
17024
|
-
proto.com.lansweeper.discovery.sensor.mac.v1.OpenPort.prototype.getHttpServer = function() {
|
|
17025
|
-
return /** @type{?proto.com.lansweeper.discovery.sensor.mac.v1.HttpServerInfo} */ (
|
|
17026
|
-
jspb.Message.getWrapperField(this, proto.com.lansweeper.discovery.sensor.mac.v1.HttpServerInfo, 5));
|
|
17027
|
-
};
|
|
17028
|
-
|
|
17029
|
-
|
|
17030
|
-
/**
|
|
17031
|
-
* @param {?proto.com.lansweeper.discovery.sensor.mac.v1.HttpServerInfo|undefined} value
|
|
17032
|
-
* @return {!proto.com.lansweeper.discovery.sensor.mac.v1.OpenPort} returns this
|
|
17033
|
-
*/
|
|
17034
|
-
proto.com.lansweeper.discovery.sensor.mac.v1.OpenPort.prototype.setHttpServer = function(value) {
|
|
17035
|
-
return jspb.Message.setWrapperField(this, 5, value);
|
|
17036
|
-
};
|
|
17037
|
-
|
|
17038
|
-
|
|
17039
|
-
/**
|
|
17040
|
-
* Clears the message field making it undefined.
|
|
17041
|
-
* @return {!proto.com.lansweeper.discovery.sensor.mac.v1.OpenPort} returns this
|
|
17042
|
-
*/
|
|
17043
|
-
proto.com.lansweeper.discovery.sensor.mac.v1.OpenPort.prototype.clearHttpServer = function() {
|
|
17044
|
-
return this.setHttpServer(undefined);
|
|
17045
|
-
};
|
|
17046
|
-
|
|
17047
|
-
|
|
17048
|
-
/**
|
|
17049
|
-
* Returns whether this field is set.
|
|
17050
|
-
* @return {boolean}
|
|
17051
|
-
*/
|
|
17052
|
-
proto.com.lansweeper.discovery.sensor.mac.v1.OpenPort.prototype.hasHttpServer = function() {
|
|
17053
|
-
return jspb.Message.getField(this, 5) != null;
|
|
17054
|
-
};
|
|
17055
|
-
|
|
17056
|
-
|
|
17057
|
-
|
|
17058
|
-
/**
|
|
17059
|
-
* List of repeated fields within this message type.
|
|
17060
|
-
* @private {!Array<number>}
|
|
17061
|
-
* @const
|
|
17062
|
-
*/
|
|
17063
|
-
proto.com.lansweeper.discovery.sensor.mac.v1.HttpServerInfo.repeatedFields_ = [3,4,5,8];
|
|
17064
|
-
|
|
17065
|
-
|
|
17066
|
-
|
|
17067
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
17068
|
-
/**
|
|
17069
|
-
* Creates an object representation of this proto.
|
|
17070
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
17071
|
-
* Optional fields that are not set will be set to undefined.
|
|
17072
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
17073
|
-
* For the list of reserved names please see:
|
|
17074
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
17075
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
17076
|
-
* JSPB instance for transitional soy proto support:
|
|
17077
|
-
* http://goto/soy-param-migration
|
|
17078
|
-
* @return {!Object}
|
|
17079
|
-
*/
|
|
17080
|
-
proto.com.lansweeper.discovery.sensor.mac.v1.HttpServerInfo.prototype.toObject = function(opt_includeInstance) {
|
|
17081
|
-
return proto.com.lansweeper.discovery.sensor.mac.v1.HttpServerInfo.toObject(opt_includeInstance, this);
|
|
17082
|
-
};
|
|
17083
|
-
|
|
17084
|
-
|
|
17085
|
-
/**
|
|
17086
|
-
* Static version of the {@see toObject} method.
|
|
17087
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
17088
|
-
* the JSPB instance for transitional soy proto support:
|
|
17089
|
-
* http://goto/soy-param-migration
|
|
17090
|
-
* @param {!proto.com.lansweeper.discovery.sensor.mac.v1.HttpServerInfo} msg The msg instance to transform.
|
|
17091
|
-
* @return {!Object}
|
|
17092
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
17093
|
-
*/
|
|
17094
|
-
proto.com.lansweeper.discovery.sensor.mac.v1.HttpServerInfo.toObject = function(includeInstance, msg) {
|
|
17095
|
-
var f, obj = {
|
|
17096
|
-
http: (f = msg.getHttp()) && google_protobuf_wrappers_pb.BoolValue.toObject(includeInstance, f),
|
|
17097
|
-
ssl: (f = msg.getSsl()) && google_protobuf_wrappers_pb.BoolValue.toObject(includeInstance, f),
|
|
17098
|
-
serverList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
|
|
17099
|
-
wwwauthList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f,
|
|
17100
|
-
cookieList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f,
|
|
17101
|
-
title: (f = msg.getTitle()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
|
|
17102
|
-
favicon: (f = msg.getFavicon()) && google_protobuf_wrappers_pb.BytesValue.toObject(includeInstance, f),
|
|
17103
|
-
certificatesList: jspb.Message.toObjectList(msg.getCertificatesList(),
|
|
17104
|
-
proto.com.lansweeper.discovery.sensor.mac.v1.HttpCertificate.toObject, includeInstance)
|
|
17105
|
-
};
|
|
17106
|
-
|
|
17107
|
-
if (includeInstance) {
|
|
17108
|
-
obj.$jspbMessageInstance = msg;
|
|
17109
|
-
}
|
|
17110
|
-
return obj;
|
|
17111
|
-
};
|
|
17112
|
-
}
|
|
17113
|
-
|
|
17114
|
-
|
|
17115
|
-
/**
|
|
17116
|
-
* Deserializes binary data (in protobuf wire format).
|
|
17117
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
17118
|
-
* @return {!proto.com.lansweeper.discovery.sensor.mac.v1.HttpServerInfo}
|
|
17119
|
-
*/
|
|
17120
|
-
proto.com.lansweeper.discovery.sensor.mac.v1.HttpServerInfo.deserializeBinary = function(bytes) {
|
|
17121
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
17122
|
-
var msg = new proto.com.lansweeper.discovery.sensor.mac.v1.HttpServerInfo;
|
|
17123
|
-
return proto.com.lansweeper.discovery.sensor.mac.v1.HttpServerInfo.deserializeBinaryFromReader(msg, reader);
|
|
17124
|
-
};
|
|
17125
|
-
|
|
17126
|
-
|
|
17127
|
-
/**
|
|
17128
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
17129
|
-
* given reader into the given message object.
|
|
17130
|
-
* @param {!proto.com.lansweeper.discovery.sensor.mac.v1.HttpServerInfo} msg The message object to deserialize into.
|
|
17131
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
17132
|
-
* @return {!proto.com.lansweeper.discovery.sensor.mac.v1.HttpServerInfo}
|
|
17133
|
-
*/
|
|
17134
|
-
proto.com.lansweeper.discovery.sensor.mac.v1.HttpServerInfo.deserializeBinaryFromReader = function(msg, reader) {
|
|
17135
|
-
while (reader.nextField()) {
|
|
17136
|
-
if (reader.isEndGroup()) {
|
|
17137
|
-
break;
|
|
17138
|
-
}
|
|
17139
|
-
var field = reader.getFieldNumber();
|
|
17140
|
-
switch (field) {
|
|
17141
|
-
case 1:
|
|
17142
|
-
var value = new google_protobuf_wrappers_pb.BoolValue;
|
|
17143
|
-
reader.readMessage(value,google_protobuf_wrappers_pb.BoolValue.deserializeBinaryFromReader);
|
|
17144
|
-
msg.setHttp(value);
|
|
17145
|
-
break;
|
|
17146
|
-
case 2:
|
|
17147
|
-
var value = new google_protobuf_wrappers_pb.BoolValue;
|
|
17148
|
-
reader.readMessage(value,google_protobuf_wrappers_pb.BoolValue.deserializeBinaryFromReader);
|
|
17149
|
-
msg.setSsl(value);
|
|
17150
|
-
break;
|
|
17151
|
-
case 3:
|
|
17152
|
-
var value = /** @type {string} */ (reader.readString());
|
|
17153
|
-
msg.addServer(value);
|
|
17154
|
-
break;
|
|
17155
|
-
case 4:
|
|
17156
|
-
var value = /** @type {string} */ (reader.readString());
|
|
17157
|
-
msg.addWwwauth(value);
|
|
17158
|
-
break;
|
|
17159
|
-
case 5:
|
|
17160
|
-
var value = /** @type {string} */ (reader.readString());
|
|
17161
|
-
msg.addCookie(value);
|
|
17162
|
-
break;
|
|
17163
|
-
case 6:
|
|
17164
|
-
var value = new google_protobuf_wrappers_pb.StringValue;
|
|
17165
|
-
reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
|
|
17166
|
-
msg.setTitle(value);
|
|
17167
|
-
break;
|
|
17168
|
-
case 7:
|
|
17169
|
-
var value = new google_protobuf_wrappers_pb.BytesValue;
|
|
17170
|
-
reader.readMessage(value,google_protobuf_wrappers_pb.BytesValue.deserializeBinaryFromReader);
|
|
17171
|
-
msg.setFavicon(value);
|
|
17172
|
-
break;
|
|
17173
|
-
case 8:
|
|
17174
|
-
var value = new proto.com.lansweeper.discovery.sensor.mac.v1.HttpCertificate;
|
|
17175
|
-
reader.readMessage(value,proto.com.lansweeper.discovery.sensor.mac.v1.HttpCertificate.deserializeBinaryFromReader);
|
|
17176
|
-
msg.addCertificates(value);
|
|
17177
|
-
break;
|
|
17178
|
-
default:
|
|
17179
|
-
reader.skipField();
|
|
17180
|
-
break;
|
|
17181
|
-
}
|
|
17182
|
-
}
|
|
17183
|
-
return msg;
|
|
17184
|
-
};
|
|
17185
|
-
|
|
17186
|
-
|
|
17187
|
-
/**
|
|
17188
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
17189
|
-
* @return {!Uint8Array}
|
|
17190
|
-
*/
|
|
17191
|
-
proto.com.lansweeper.discovery.sensor.mac.v1.HttpServerInfo.prototype.serializeBinary = function() {
|
|
17192
|
-
var writer = new jspb.BinaryWriter();
|
|
17193
|
-
proto.com.lansweeper.discovery.sensor.mac.v1.HttpServerInfo.serializeBinaryToWriter(this, writer);
|
|
17194
|
-
return writer.getResultBuffer();
|
|
17195
|
-
};
|
|
17196
|
-
|
|
17197
|
-
|
|
17198
|
-
/**
|
|
17199
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
17200
|
-
* format), writing to the given BinaryWriter.
|
|
17201
|
-
* @param {!proto.com.lansweeper.discovery.sensor.mac.v1.HttpServerInfo} message
|
|
17202
|
-
* @param {!jspb.BinaryWriter} writer
|
|
17203
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
17204
|
-
*/
|
|
17205
|
-
proto.com.lansweeper.discovery.sensor.mac.v1.HttpServerInfo.serializeBinaryToWriter = function(message, writer) {
|
|
17206
|
-
var f = undefined;
|
|
17207
|
-
f = message.getHttp();
|
|
17208
|
-
if (f != null) {
|
|
17209
|
-
writer.writeMessage(
|
|
17210
|
-
1,
|
|
17211
|
-
f,
|
|
17212
|
-
google_protobuf_wrappers_pb.BoolValue.serializeBinaryToWriter
|
|
17213
|
-
);
|
|
17214
|
-
}
|
|
17215
|
-
f = message.getSsl();
|
|
17216
|
-
if (f != null) {
|
|
17217
|
-
writer.writeMessage(
|
|
17218
|
-
2,
|
|
17219
|
-
f,
|
|
17220
|
-
google_protobuf_wrappers_pb.BoolValue.serializeBinaryToWriter
|
|
17221
|
-
);
|
|
17222
|
-
}
|
|
17223
|
-
f = message.getServerList();
|
|
17224
|
-
if (f.length > 0) {
|
|
17225
|
-
writer.writeRepeatedString(
|
|
17226
|
-
3,
|
|
17227
|
-
f
|
|
17228
|
-
);
|
|
17229
|
-
}
|
|
17230
|
-
f = message.getWwwauthList();
|
|
17231
|
-
if (f.length > 0) {
|
|
17232
|
-
writer.writeRepeatedString(
|
|
17233
|
-
4,
|
|
17234
|
-
f
|
|
17235
|
-
);
|
|
17236
|
-
}
|
|
17237
|
-
f = message.getCookieList();
|
|
17238
|
-
if (f.length > 0) {
|
|
17239
|
-
writer.writeRepeatedString(
|
|
17240
|
-
5,
|
|
17241
|
-
f
|
|
17242
|
-
);
|
|
17243
|
-
}
|
|
17244
|
-
f = message.getTitle();
|
|
17245
|
-
if (f != null) {
|
|
17246
|
-
writer.writeMessage(
|
|
17247
|
-
6,
|
|
17248
|
-
f,
|
|
17249
|
-
google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
|
|
17250
|
-
);
|
|
17251
|
-
}
|
|
17252
|
-
f = message.getFavicon();
|
|
17253
|
-
if (f != null) {
|
|
17254
|
-
writer.writeMessage(
|
|
17255
|
-
7,
|
|
17256
|
-
f,
|
|
17257
|
-
google_protobuf_wrappers_pb.BytesValue.serializeBinaryToWriter
|
|
17258
|
-
);
|
|
17259
|
-
}
|
|
17260
|
-
f = message.getCertificatesList();
|
|
17261
|
-
if (f.length > 0) {
|
|
17262
|
-
writer.writeRepeatedMessage(
|
|
17263
|
-
8,
|
|
17264
|
-
f,
|
|
17265
|
-
proto.com.lansweeper.discovery.sensor.mac.v1.HttpCertificate.serializeBinaryToWriter
|
|
17266
|
-
);
|
|
17267
|
-
}
|
|
17268
|
-
};
|
|
17269
|
-
|
|
17270
|
-
|
|
17271
|
-
/**
|
|
17272
|
-
* optional google.protobuf.BoolValue http = 1;
|
|
17273
|
-
* @return {?proto.google.protobuf.BoolValue}
|
|
17274
|
-
*/
|
|
17275
|
-
proto.com.lansweeper.discovery.sensor.mac.v1.HttpServerInfo.prototype.getHttp = function() {
|
|
17276
|
-
return /** @type{?proto.google.protobuf.BoolValue} */ (
|
|
17277
|
-
jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.BoolValue, 1));
|
|
17278
|
-
};
|
|
17279
|
-
|
|
17280
|
-
|
|
17281
|
-
/**
|
|
17282
|
-
* @param {?proto.google.protobuf.BoolValue|undefined} value
|
|
17283
|
-
* @return {!proto.com.lansweeper.discovery.sensor.mac.v1.HttpServerInfo} returns this
|
|
17284
|
-
*/
|
|
17285
|
-
proto.com.lansweeper.discovery.sensor.mac.v1.HttpServerInfo.prototype.setHttp = function(value) {
|
|
17286
|
-
return jspb.Message.setWrapperField(this, 1, value);
|
|
17287
|
-
};
|
|
17288
|
-
|
|
17289
|
-
|
|
17290
|
-
/**
|
|
17291
|
-
* Clears the message field making it undefined.
|
|
17292
|
-
* @return {!proto.com.lansweeper.discovery.sensor.mac.v1.HttpServerInfo} returns this
|
|
17293
|
-
*/
|
|
17294
|
-
proto.com.lansweeper.discovery.sensor.mac.v1.HttpServerInfo.prototype.clearHttp = function() {
|
|
17295
|
-
return this.setHttp(undefined);
|
|
17296
|
-
};
|
|
17297
|
-
|
|
17298
|
-
|
|
17299
|
-
/**
|
|
17300
|
-
* Returns whether this field is set.
|
|
17301
|
-
* @return {boolean}
|
|
17302
|
-
*/
|
|
17303
|
-
proto.com.lansweeper.discovery.sensor.mac.v1.HttpServerInfo.prototype.hasHttp = function() {
|
|
17304
|
-
return jspb.Message.getField(this, 1) != null;
|
|
17305
|
-
};
|
|
17306
|
-
|
|
17307
|
-
|
|
17308
|
-
/**
|
|
17309
|
-
* optional google.protobuf.BoolValue ssl = 2;
|
|
17310
|
-
* @return {?proto.google.protobuf.BoolValue}
|
|
17311
|
-
*/
|
|
17312
|
-
proto.com.lansweeper.discovery.sensor.mac.v1.HttpServerInfo.prototype.getSsl = function() {
|
|
17313
|
-
return /** @type{?proto.google.protobuf.BoolValue} */ (
|
|
17314
|
-
jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.BoolValue, 2));
|
|
17315
|
-
};
|
|
17316
|
-
|
|
17317
|
-
|
|
17318
|
-
/**
|
|
17319
|
-
* @param {?proto.google.protobuf.BoolValue|undefined} value
|
|
17320
|
-
* @return {!proto.com.lansweeper.discovery.sensor.mac.v1.HttpServerInfo} returns this
|
|
17321
|
-
*/
|
|
17322
|
-
proto.com.lansweeper.discovery.sensor.mac.v1.HttpServerInfo.prototype.setSsl = function(value) {
|
|
17323
|
-
return jspb.Message.setWrapperField(this, 2, value);
|
|
17324
|
-
};
|
|
17325
|
-
|
|
17326
|
-
|
|
17327
|
-
/**
|
|
17328
|
-
* Clears the message field making it undefined.
|
|
17329
|
-
* @return {!proto.com.lansweeper.discovery.sensor.mac.v1.HttpServerInfo} returns this
|
|
17330
|
-
*/
|
|
17331
|
-
proto.com.lansweeper.discovery.sensor.mac.v1.HttpServerInfo.prototype.clearSsl = function() {
|
|
17332
|
-
return this.setSsl(undefined);
|
|
17333
|
-
};
|
|
17334
|
-
|
|
17335
|
-
|
|
17336
|
-
/**
|
|
17337
|
-
* Returns whether this field is set.
|
|
17338
|
-
* @return {boolean}
|
|
17339
|
-
*/
|
|
17340
|
-
proto.com.lansweeper.discovery.sensor.mac.v1.HttpServerInfo.prototype.hasSsl = function() {
|
|
17341
|
-
return jspb.Message.getField(this, 2) != null;
|
|
17342
|
-
};
|
|
17343
|
-
|
|
17344
|
-
|
|
17345
|
-
/**
|
|
17346
|
-
* repeated string server = 3;
|
|
17347
|
-
* @return {!Array<string>}
|
|
17348
|
-
*/
|
|
17349
|
-
proto.com.lansweeper.discovery.sensor.mac.v1.HttpServerInfo.prototype.getServerList = function() {
|
|
17350
|
-
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 3));
|
|
17351
|
-
};
|
|
17352
|
-
|
|
17353
|
-
|
|
17354
|
-
/**
|
|
17355
|
-
* @param {!Array<string>} value
|
|
17356
|
-
* @return {!proto.com.lansweeper.discovery.sensor.mac.v1.HttpServerInfo} returns this
|
|
17357
|
-
*/
|
|
17358
|
-
proto.com.lansweeper.discovery.sensor.mac.v1.HttpServerInfo.prototype.setServerList = function(value) {
|
|
17359
|
-
return jspb.Message.setField(this, 3, value || []);
|
|
17360
|
-
};
|
|
17361
|
-
|
|
17362
|
-
|
|
17363
|
-
/**
|
|
17364
|
-
* @param {string} value
|
|
17365
|
-
* @param {number=} opt_index
|
|
17366
|
-
* @return {!proto.com.lansweeper.discovery.sensor.mac.v1.HttpServerInfo} returns this
|
|
17367
|
-
*/
|
|
17368
|
-
proto.com.lansweeper.discovery.sensor.mac.v1.HttpServerInfo.prototype.addServer = function(value, opt_index) {
|
|
17369
|
-
return jspb.Message.addToRepeatedField(this, 3, value, opt_index);
|
|
17370
|
-
};
|
|
17371
|
-
|
|
17372
|
-
|
|
17373
|
-
/**
|
|
17374
|
-
* Clears the list making it empty but non-null.
|
|
17375
|
-
* @return {!proto.com.lansweeper.discovery.sensor.mac.v1.HttpServerInfo} returns this
|
|
17376
|
-
*/
|
|
17377
|
-
proto.com.lansweeper.discovery.sensor.mac.v1.HttpServerInfo.prototype.clearServerList = function() {
|
|
17378
|
-
return this.setServerList([]);
|
|
17379
|
-
};
|
|
17380
|
-
|
|
17381
|
-
|
|
17382
|
-
/**
|
|
17383
|
-
* repeated string wwwauth = 4;
|
|
17384
|
-
* @return {!Array<string>}
|
|
17385
|
-
*/
|
|
17386
|
-
proto.com.lansweeper.discovery.sensor.mac.v1.HttpServerInfo.prototype.getWwwauthList = function() {
|
|
17387
|
-
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 4));
|
|
17388
|
-
};
|
|
17389
|
-
|
|
17390
|
-
|
|
17391
|
-
/**
|
|
17392
|
-
* @param {!Array<string>} value
|
|
17393
|
-
* @return {!proto.com.lansweeper.discovery.sensor.mac.v1.HttpServerInfo} returns this
|
|
17394
|
-
*/
|
|
17395
|
-
proto.com.lansweeper.discovery.sensor.mac.v1.HttpServerInfo.prototype.setWwwauthList = function(value) {
|
|
17396
|
-
return jspb.Message.setField(this, 4, value || []);
|
|
17397
|
-
};
|
|
17398
|
-
|
|
17399
|
-
|
|
17400
|
-
/**
|
|
17401
|
-
* @param {string} value
|
|
17402
|
-
* @param {number=} opt_index
|
|
17403
|
-
* @return {!proto.com.lansweeper.discovery.sensor.mac.v1.HttpServerInfo} returns this
|
|
17404
|
-
*/
|
|
17405
|
-
proto.com.lansweeper.discovery.sensor.mac.v1.HttpServerInfo.prototype.addWwwauth = function(value, opt_index) {
|
|
17406
|
-
return jspb.Message.addToRepeatedField(this, 4, value, opt_index);
|
|
17407
|
-
};
|
|
17408
|
-
|
|
17409
|
-
|
|
17410
|
-
/**
|
|
17411
|
-
* Clears the list making it empty but non-null.
|
|
17412
|
-
* @return {!proto.com.lansweeper.discovery.sensor.mac.v1.HttpServerInfo} returns this
|
|
17413
|
-
*/
|
|
17414
|
-
proto.com.lansweeper.discovery.sensor.mac.v1.HttpServerInfo.prototype.clearWwwauthList = function() {
|
|
17415
|
-
return this.setWwwauthList([]);
|
|
17416
|
-
};
|
|
17417
|
-
|
|
17418
|
-
|
|
17419
|
-
/**
|
|
17420
|
-
* repeated string cookie = 5;
|
|
17421
|
-
* @return {!Array<string>}
|
|
17422
|
-
*/
|
|
17423
|
-
proto.com.lansweeper.discovery.sensor.mac.v1.HttpServerInfo.prototype.getCookieList = function() {
|
|
17424
|
-
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 5));
|
|
17425
|
-
};
|
|
17426
|
-
|
|
17427
|
-
|
|
17428
|
-
/**
|
|
17429
|
-
* @param {!Array<string>} value
|
|
17430
|
-
* @return {!proto.com.lansweeper.discovery.sensor.mac.v1.HttpServerInfo} returns this
|
|
17431
|
-
*/
|
|
17432
|
-
proto.com.lansweeper.discovery.sensor.mac.v1.HttpServerInfo.prototype.setCookieList = function(value) {
|
|
17433
|
-
return jspb.Message.setField(this, 5, value || []);
|
|
17434
|
-
};
|
|
17435
|
-
|
|
17436
|
-
|
|
17437
|
-
/**
|
|
17438
|
-
* @param {string} value
|
|
17439
|
-
* @param {number=} opt_index
|
|
17440
|
-
* @return {!proto.com.lansweeper.discovery.sensor.mac.v1.HttpServerInfo} returns this
|
|
17441
|
-
*/
|
|
17442
|
-
proto.com.lansweeper.discovery.sensor.mac.v1.HttpServerInfo.prototype.addCookie = function(value, opt_index) {
|
|
17443
|
-
return jspb.Message.addToRepeatedField(this, 5, value, opt_index);
|
|
17444
|
-
};
|
|
17445
|
-
|
|
17446
|
-
|
|
17447
|
-
/**
|
|
17448
|
-
* Clears the list making it empty but non-null.
|
|
17449
|
-
* @return {!proto.com.lansweeper.discovery.sensor.mac.v1.HttpServerInfo} returns this
|
|
17450
|
-
*/
|
|
17451
|
-
proto.com.lansweeper.discovery.sensor.mac.v1.HttpServerInfo.prototype.clearCookieList = function() {
|
|
17452
|
-
return this.setCookieList([]);
|
|
17453
|
-
};
|
|
17454
|
-
|
|
17455
|
-
|
|
17456
|
-
/**
|
|
17457
|
-
* optional google.protobuf.StringValue title = 6;
|
|
17458
|
-
* @return {?proto.google.protobuf.StringValue}
|
|
17459
|
-
*/
|
|
17460
|
-
proto.com.lansweeper.discovery.sensor.mac.v1.HttpServerInfo.prototype.getTitle = function() {
|
|
17461
|
-
return /** @type{?proto.google.protobuf.StringValue} */ (
|
|
17462
|
-
jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 6));
|
|
17463
|
-
};
|
|
17464
|
-
|
|
17465
|
-
|
|
17466
|
-
/**
|
|
17467
|
-
* @param {?proto.google.protobuf.StringValue|undefined} value
|
|
17468
|
-
* @return {!proto.com.lansweeper.discovery.sensor.mac.v1.HttpServerInfo} returns this
|
|
17469
|
-
*/
|
|
17470
|
-
proto.com.lansweeper.discovery.sensor.mac.v1.HttpServerInfo.prototype.setTitle = function(value) {
|
|
17471
|
-
return jspb.Message.setWrapperField(this, 6, value);
|
|
17472
|
-
};
|
|
17473
|
-
|
|
17474
|
-
|
|
17475
|
-
/**
|
|
17476
|
-
* Clears the message field making it undefined.
|
|
17477
|
-
* @return {!proto.com.lansweeper.discovery.sensor.mac.v1.HttpServerInfo} returns this
|
|
17478
|
-
*/
|
|
17479
|
-
proto.com.lansweeper.discovery.sensor.mac.v1.HttpServerInfo.prototype.clearTitle = function() {
|
|
17480
|
-
return this.setTitle(undefined);
|
|
17481
|
-
};
|
|
17482
|
-
|
|
17483
|
-
|
|
17484
|
-
/**
|
|
17485
|
-
* Returns whether this field is set.
|
|
17486
|
-
* @return {boolean}
|
|
17487
|
-
*/
|
|
17488
|
-
proto.com.lansweeper.discovery.sensor.mac.v1.HttpServerInfo.prototype.hasTitle = function() {
|
|
17489
|
-
return jspb.Message.getField(this, 6) != null;
|
|
17490
|
-
};
|
|
17491
|
-
|
|
17492
|
-
|
|
17493
|
-
/**
|
|
17494
|
-
* optional google.protobuf.BytesValue favicon = 7;
|
|
17495
|
-
* @return {?proto.google.protobuf.BytesValue}
|
|
17496
|
-
*/
|
|
17497
|
-
proto.com.lansweeper.discovery.sensor.mac.v1.HttpServerInfo.prototype.getFavicon = function() {
|
|
17498
|
-
return /** @type{?proto.google.protobuf.BytesValue} */ (
|
|
17499
|
-
jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.BytesValue, 7));
|
|
17500
|
-
};
|
|
17501
|
-
|
|
17502
|
-
|
|
17503
|
-
/**
|
|
17504
|
-
* @param {?proto.google.protobuf.BytesValue|undefined} value
|
|
17505
|
-
* @return {!proto.com.lansweeper.discovery.sensor.mac.v1.HttpServerInfo} returns this
|
|
17506
|
-
*/
|
|
17507
|
-
proto.com.lansweeper.discovery.sensor.mac.v1.HttpServerInfo.prototype.setFavicon = function(value) {
|
|
17508
|
-
return jspb.Message.setWrapperField(this, 7, value);
|
|
17509
|
-
};
|
|
17510
|
-
|
|
17511
|
-
|
|
17512
|
-
/**
|
|
17513
|
-
* Clears the message field making it undefined.
|
|
17514
|
-
* @return {!proto.com.lansweeper.discovery.sensor.mac.v1.HttpServerInfo} returns this
|
|
17515
|
-
*/
|
|
17516
|
-
proto.com.lansweeper.discovery.sensor.mac.v1.HttpServerInfo.prototype.clearFavicon = function() {
|
|
17517
|
-
return this.setFavicon(undefined);
|
|
17518
|
-
};
|
|
17519
|
-
|
|
17520
|
-
|
|
17521
|
-
/**
|
|
17522
|
-
* Returns whether this field is set.
|
|
17523
|
-
* @return {boolean}
|
|
17524
|
-
*/
|
|
17525
|
-
proto.com.lansweeper.discovery.sensor.mac.v1.HttpServerInfo.prototype.hasFavicon = function() {
|
|
17526
|
-
return jspb.Message.getField(this, 7) != null;
|
|
17527
|
-
};
|
|
17528
|
-
|
|
17529
|
-
|
|
17530
|
-
/**
|
|
17531
|
-
* repeated HttpCertificate certificates = 8;
|
|
17532
|
-
* @return {!Array<!proto.com.lansweeper.discovery.sensor.mac.v1.HttpCertificate>}
|
|
17533
|
-
*/
|
|
17534
|
-
proto.com.lansweeper.discovery.sensor.mac.v1.HttpServerInfo.prototype.getCertificatesList = function() {
|
|
17535
|
-
return /** @type{!Array<!proto.com.lansweeper.discovery.sensor.mac.v1.HttpCertificate>} */ (
|
|
17536
|
-
jspb.Message.getRepeatedWrapperField(this, proto.com.lansweeper.discovery.sensor.mac.v1.HttpCertificate, 8));
|
|
17537
|
-
};
|
|
17538
|
-
|
|
17539
|
-
|
|
17540
|
-
/**
|
|
17541
|
-
* @param {!Array<!proto.com.lansweeper.discovery.sensor.mac.v1.HttpCertificate>} value
|
|
17542
|
-
* @return {!proto.com.lansweeper.discovery.sensor.mac.v1.HttpServerInfo} returns this
|
|
17543
|
-
*/
|
|
17544
|
-
proto.com.lansweeper.discovery.sensor.mac.v1.HttpServerInfo.prototype.setCertificatesList = function(value) {
|
|
17545
|
-
return jspb.Message.setRepeatedWrapperField(this, 8, value);
|
|
17546
|
-
};
|
|
17547
|
-
|
|
17548
|
-
|
|
17549
|
-
/**
|
|
17550
|
-
* @param {!proto.com.lansweeper.discovery.sensor.mac.v1.HttpCertificate=} opt_value
|
|
17551
|
-
* @param {number=} opt_index
|
|
17552
|
-
* @return {!proto.com.lansweeper.discovery.sensor.mac.v1.HttpCertificate}
|
|
17553
|
-
*/
|
|
17554
|
-
proto.com.lansweeper.discovery.sensor.mac.v1.HttpServerInfo.prototype.addCertificates = function(opt_value, opt_index) {
|
|
17555
|
-
return jspb.Message.addToRepeatedWrapperField(this, 8, opt_value, proto.com.lansweeper.discovery.sensor.mac.v1.HttpCertificate, opt_index);
|
|
17556
|
-
};
|
|
17557
|
-
|
|
17558
|
-
|
|
17559
|
-
/**
|
|
17560
|
-
* Clears the list making it empty but non-null.
|
|
17561
|
-
* @return {!proto.com.lansweeper.discovery.sensor.mac.v1.HttpServerInfo} returns this
|
|
17562
|
-
*/
|
|
17563
|
-
proto.com.lansweeper.discovery.sensor.mac.v1.HttpServerInfo.prototype.clearCertificatesList = function() {
|
|
17564
|
-
return this.setCertificatesList([]);
|
|
17565
|
-
};
|
|
17566
|
-
|
|
17567
|
-
|
|
17568
|
-
|
|
17569
|
-
|
|
17570
|
-
|
|
17571
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
17572
|
-
/**
|
|
17573
|
-
* Creates an object representation of this proto.
|
|
17574
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
17575
|
-
* Optional fields that are not set will be set to undefined.
|
|
17576
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
17577
|
-
* For the list of reserved names please see:
|
|
17578
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
17579
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
17580
|
-
* JSPB instance for transitional soy proto support:
|
|
17581
|
-
* http://goto/soy-param-migration
|
|
17582
|
-
* @return {!Object}
|
|
17583
|
-
*/
|
|
17584
|
-
proto.com.lansweeper.discovery.sensor.mac.v1.HttpCertificate.prototype.toObject = function(opt_includeInstance) {
|
|
17585
|
-
return proto.com.lansweeper.discovery.sensor.mac.v1.HttpCertificate.toObject(opt_includeInstance, this);
|
|
17586
|
-
};
|
|
17587
|
-
|
|
17588
|
-
|
|
17589
|
-
/**
|
|
17590
|
-
* Static version of the {@see toObject} method.
|
|
17591
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
17592
|
-
* the JSPB instance for transitional soy proto support:
|
|
17593
|
-
* http://goto/soy-param-migration
|
|
17594
|
-
* @param {!proto.com.lansweeper.discovery.sensor.mac.v1.HttpCertificate} msg The msg instance to transform.
|
|
17595
|
-
* @return {!Object}
|
|
17596
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
17597
|
-
*/
|
|
17598
|
-
proto.com.lansweeper.discovery.sensor.mac.v1.HttpCertificate.toObject = function(includeInstance, msg) {
|
|
17599
|
-
var f, obj = {
|
|
17600
|
-
thumbprint: (f = msg.getThumbprint()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
|
|
17601
|
-
serialNumber: (f = msg.getSerialNumber()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
|
|
17602
|
-
x509Issuer: (f = msg.getX509Issuer()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
|
|
17603
|
-
x509Subject: (f = msg.getX509Subject()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
|
|
17604
|
-
effectiveDate: (f = msg.getEffectiveDate()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
17605
|
-
expirationDate: (f = msg.getExpirationDate()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
17606
|
-
sslErrors: jspb.Message.getFieldWithDefault(msg, 7, 0)
|
|
17607
|
-
};
|
|
17608
|
-
|
|
17609
|
-
if (includeInstance) {
|
|
17610
|
-
obj.$jspbMessageInstance = msg;
|
|
17611
|
-
}
|
|
17612
|
-
return obj;
|
|
17613
|
-
};
|
|
17614
|
-
}
|
|
17615
|
-
|
|
17616
|
-
|
|
17617
|
-
/**
|
|
17618
|
-
* Deserializes binary data (in protobuf wire format).
|
|
17619
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
17620
|
-
* @return {!proto.com.lansweeper.discovery.sensor.mac.v1.HttpCertificate}
|
|
17621
|
-
*/
|
|
17622
|
-
proto.com.lansweeper.discovery.sensor.mac.v1.HttpCertificate.deserializeBinary = function(bytes) {
|
|
17623
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
17624
|
-
var msg = new proto.com.lansweeper.discovery.sensor.mac.v1.HttpCertificate;
|
|
17625
|
-
return proto.com.lansweeper.discovery.sensor.mac.v1.HttpCertificate.deserializeBinaryFromReader(msg, reader);
|
|
17626
|
-
};
|
|
17627
|
-
|
|
17628
|
-
|
|
17629
|
-
/**
|
|
17630
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
17631
|
-
* given reader into the given message object.
|
|
17632
|
-
* @param {!proto.com.lansweeper.discovery.sensor.mac.v1.HttpCertificate} msg The message object to deserialize into.
|
|
17633
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
17634
|
-
* @return {!proto.com.lansweeper.discovery.sensor.mac.v1.HttpCertificate}
|
|
17635
|
-
*/
|
|
17636
|
-
proto.com.lansweeper.discovery.sensor.mac.v1.HttpCertificate.deserializeBinaryFromReader = function(msg, reader) {
|
|
17637
|
-
while (reader.nextField()) {
|
|
17638
|
-
if (reader.isEndGroup()) {
|
|
17639
|
-
break;
|
|
17640
|
-
}
|
|
17641
|
-
var field = reader.getFieldNumber();
|
|
17642
|
-
switch (field) {
|
|
17643
|
-
case 1:
|
|
17644
|
-
var value = new google_protobuf_wrappers_pb.StringValue;
|
|
17645
|
-
reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
|
|
17646
|
-
msg.setThumbprint(value);
|
|
17647
|
-
break;
|
|
17648
|
-
case 2:
|
|
17649
|
-
var value = new google_protobuf_wrappers_pb.StringValue;
|
|
17650
|
-
reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
|
|
17651
|
-
msg.setSerialNumber(value);
|
|
17652
|
-
break;
|
|
17653
|
-
case 3:
|
|
17654
|
-
var value = new google_protobuf_wrappers_pb.StringValue;
|
|
17655
|
-
reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
|
|
17656
|
-
msg.setX509Issuer(value);
|
|
17657
|
-
break;
|
|
17658
|
-
case 4:
|
|
17659
|
-
var value = new google_protobuf_wrappers_pb.StringValue;
|
|
17660
|
-
reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
|
|
17661
|
-
msg.setX509Subject(value);
|
|
17662
|
-
break;
|
|
17663
|
-
case 5:
|
|
17664
|
-
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
17665
|
-
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
17666
|
-
msg.setEffectiveDate(value);
|
|
17667
|
-
break;
|
|
17668
|
-
case 6:
|
|
17669
|
-
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
17670
|
-
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
17671
|
-
msg.setExpirationDate(value);
|
|
17672
|
-
break;
|
|
17673
|
-
case 7:
|
|
17674
|
-
var value = /** @type {number} */ (reader.readUint32());
|
|
17675
|
-
msg.setSslErrors(value);
|
|
17676
|
-
break;
|
|
17677
|
-
default:
|
|
17678
|
-
reader.skipField();
|
|
17679
|
-
break;
|
|
17680
|
-
}
|
|
17681
|
-
}
|
|
17682
|
-
return msg;
|
|
17683
|
-
};
|
|
17684
|
-
|
|
17685
|
-
|
|
17686
|
-
/**
|
|
17687
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
17688
|
-
* @return {!Uint8Array}
|
|
17689
|
-
*/
|
|
17690
|
-
proto.com.lansweeper.discovery.sensor.mac.v1.HttpCertificate.prototype.serializeBinary = function() {
|
|
17691
|
-
var writer = new jspb.BinaryWriter();
|
|
17692
|
-
proto.com.lansweeper.discovery.sensor.mac.v1.HttpCertificate.serializeBinaryToWriter(this, writer);
|
|
17693
|
-
return writer.getResultBuffer();
|
|
17694
|
-
};
|
|
17695
|
-
|
|
17696
|
-
|
|
17697
|
-
/**
|
|
17698
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
17699
|
-
* format), writing to the given BinaryWriter.
|
|
17700
|
-
* @param {!proto.com.lansweeper.discovery.sensor.mac.v1.HttpCertificate} message
|
|
17701
|
-
* @param {!jspb.BinaryWriter} writer
|
|
17702
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
17703
|
-
*/
|
|
17704
|
-
proto.com.lansweeper.discovery.sensor.mac.v1.HttpCertificate.serializeBinaryToWriter = function(message, writer) {
|
|
17705
|
-
var f = undefined;
|
|
17706
|
-
f = message.getThumbprint();
|
|
17707
|
-
if (f != null) {
|
|
17708
|
-
writer.writeMessage(
|
|
17709
|
-
1,
|
|
17710
|
-
f,
|
|
17711
|
-
google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
|
|
17712
|
-
);
|
|
17713
|
-
}
|
|
17714
|
-
f = message.getSerialNumber();
|
|
17715
|
-
if (f != null) {
|
|
17716
|
-
writer.writeMessage(
|
|
17717
|
-
2,
|
|
17718
|
-
f,
|
|
17719
|
-
google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
|
|
17720
|
-
);
|
|
17721
|
-
}
|
|
17722
|
-
f = message.getX509Issuer();
|
|
17723
|
-
if (f != null) {
|
|
17724
|
-
writer.writeMessage(
|
|
17725
|
-
3,
|
|
17726
|
-
f,
|
|
17727
|
-
google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
|
|
17728
|
-
);
|
|
17729
|
-
}
|
|
17730
|
-
f = message.getX509Subject();
|
|
17731
|
-
if (f != null) {
|
|
17732
|
-
writer.writeMessage(
|
|
17733
|
-
4,
|
|
17734
|
-
f,
|
|
17735
|
-
google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
|
|
17736
|
-
);
|
|
17737
|
-
}
|
|
17738
|
-
f = message.getEffectiveDate();
|
|
17739
|
-
if (f != null) {
|
|
17740
|
-
writer.writeMessage(
|
|
17741
|
-
5,
|
|
17742
|
-
f,
|
|
17743
|
-
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
17744
|
-
);
|
|
17745
|
-
}
|
|
17746
|
-
f = message.getExpirationDate();
|
|
17747
|
-
if (f != null) {
|
|
17748
|
-
writer.writeMessage(
|
|
17749
|
-
6,
|
|
17750
|
-
f,
|
|
17751
|
-
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
17752
|
-
);
|
|
17753
|
-
}
|
|
17754
|
-
f = message.getSslErrors();
|
|
17755
|
-
if (f !== 0) {
|
|
17756
|
-
writer.writeUint32(
|
|
17757
|
-
7,
|
|
17758
|
-
f
|
|
17759
|
-
);
|
|
17760
|
-
}
|
|
17761
|
-
};
|
|
17762
|
-
|
|
17763
|
-
|
|
17764
|
-
/**
|
|
17765
|
-
* optional google.protobuf.StringValue thumbprint = 1;
|
|
17766
|
-
* @return {?proto.google.protobuf.StringValue}
|
|
17767
|
-
*/
|
|
17768
|
-
proto.com.lansweeper.discovery.sensor.mac.v1.HttpCertificate.prototype.getThumbprint = function() {
|
|
17769
|
-
return /** @type{?proto.google.protobuf.StringValue} */ (
|
|
17770
|
-
jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 1));
|
|
17771
|
-
};
|
|
17772
|
-
|
|
17773
|
-
|
|
17774
|
-
/**
|
|
17775
|
-
* @param {?proto.google.protobuf.StringValue|undefined} value
|
|
17776
|
-
* @return {!proto.com.lansweeper.discovery.sensor.mac.v1.HttpCertificate} returns this
|
|
17777
|
-
*/
|
|
17778
|
-
proto.com.lansweeper.discovery.sensor.mac.v1.HttpCertificate.prototype.setThumbprint = function(value) {
|
|
17779
|
-
return jspb.Message.setWrapperField(this, 1, value);
|
|
17780
|
-
};
|
|
17781
|
-
|
|
17782
|
-
|
|
17783
|
-
/**
|
|
17784
|
-
* Clears the message field making it undefined.
|
|
17785
|
-
* @return {!proto.com.lansweeper.discovery.sensor.mac.v1.HttpCertificate} returns this
|
|
17786
|
-
*/
|
|
17787
|
-
proto.com.lansweeper.discovery.sensor.mac.v1.HttpCertificate.prototype.clearThumbprint = function() {
|
|
17788
|
-
return this.setThumbprint(undefined);
|
|
17789
|
-
};
|
|
17790
|
-
|
|
17791
|
-
|
|
17792
|
-
/**
|
|
17793
|
-
* Returns whether this field is set.
|
|
17794
|
-
* @return {boolean}
|
|
17795
|
-
*/
|
|
17796
|
-
proto.com.lansweeper.discovery.sensor.mac.v1.HttpCertificate.prototype.hasThumbprint = function() {
|
|
17797
|
-
return jspb.Message.getField(this, 1) != null;
|
|
17798
|
-
};
|
|
17799
|
-
|
|
17800
|
-
|
|
17801
|
-
/**
|
|
17802
|
-
* optional google.protobuf.StringValue serial_number = 2;
|
|
17803
|
-
* @return {?proto.google.protobuf.StringValue}
|
|
17804
|
-
*/
|
|
17805
|
-
proto.com.lansweeper.discovery.sensor.mac.v1.HttpCertificate.prototype.getSerialNumber = function() {
|
|
17806
|
-
return /** @type{?proto.google.protobuf.StringValue} */ (
|
|
17807
|
-
jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 2));
|
|
17808
|
-
};
|
|
17809
|
-
|
|
17810
|
-
|
|
17811
|
-
/**
|
|
17812
|
-
* @param {?proto.google.protobuf.StringValue|undefined} value
|
|
17813
|
-
* @return {!proto.com.lansweeper.discovery.sensor.mac.v1.HttpCertificate} returns this
|
|
17814
|
-
*/
|
|
17815
|
-
proto.com.lansweeper.discovery.sensor.mac.v1.HttpCertificate.prototype.setSerialNumber = function(value) {
|
|
17816
|
-
return jspb.Message.setWrapperField(this, 2, value);
|
|
17817
|
-
};
|
|
17818
|
-
|
|
17819
|
-
|
|
17820
|
-
/**
|
|
17821
|
-
* Clears the message field making it undefined.
|
|
17822
|
-
* @return {!proto.com.lansweeper.discovery.sensor.mac.v1.HttpCertificate} returns this
|
|
17823
|
-
*/
|
|
17824
|
-
proto.com.lansweeper.discovery.sensor.mac.v1.HttpCertificate.prototype.clearSerialNumber = function() {
|
|
17825
|
-
return this.setSerialNumber(undefined);
|
|
17826
|
-
};
|
|
17827
|
-
|
|
17828
|
-
|
|
17829
|
-
/**
|
|
17830
|
-
* Returns whether this field is set.
|
|
17831
|
-
* @return {boolean}
|
|
17832
|
-
*/
|
|
17833
|
-
proto.com.lansweeper.discovery.sensor.mac.v1.HttpCertificate.prototype.hasSerialNumber = function() {
|
|
17834
|
-
return jspb.Message.getField(this, 2) != null;
|
|
17835
|
-
};
|
|
17836
|
-
|
|
17837
|
-
|
|
17838
|
-
/**
|
|
17839
|
-
* optional google.protobuf.StringValue x509_issuer = 3;
|
|
17840
|
-
* @return {?proto.google.protobuf.StringValue}
|
|
17841
|
-
*/
|
|
17842
|
-
proto.com.lansweeper.discovery.sensor.mac.v1.HttpCertificate.prototype.getX509Issuer = function() {
|
|
17843
|
-
return /** @type{?proto.google.protobuf.StringValue} */ (
|
|
17844
|
-
jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 3));
|
|
17845
|
-
};
|
|
17846
|
-
|
|
17847
|
-
|
|
17848
|
-
/**
|
|
17849
|
-
* @param {?proto.google.protobuf.StringValue|undefined} value
|
|
17850
|
-
* @return {!proto.com.lansweeper.discovery.sensor.mac.v1.HttpCertificate} returns this
|
|
17851
|
-
*/
|
|
17852
|
-
proto.com.lansweeper.discovery.sensor.mac.v1.HttpCertificate.prototype.setX509Issuer = function(value) {
|
|
17853
|
-
return jspb.Message.setWrapperField(this, 3, value);
|
|
17854
|
-
};
|
|
17855
|
-
|
|
17856
|
-
|
|
17857
|
-
/**
|
|
17858
|
-
* Clears the message field making it undefined.
|
|
17859
|
-
* @return {!proto.com.lansweeper.discovery.sensor.mac.v1.HttpCertificate} returns this
|
|
17860
|
-
*/
|
|
17861
|
-
proto.com.lansweeper.discovery.sensor.mac.v1.HttpCertificate.prototype.clearX509Issuer = function() {
|
|
17862
|
-
return this.setX509Issuer(undefined);
|
|
17863
|
-
};
|
|
17864
|
-
|
|
17865
|
-
|
|
17866
|
-
/**
|
|
17867
|
-
* Returns whether this field is set.
|
|
17868
|
-
* @return {boolean}
|
|
17869
|
-
*/
|
|
17870
|
-
proto.com.lansweeper.discovery.sensor.mac.v1.HttpCertificate.prototype.hasX509Issuer = function() {
|
|
17871
|
-
return jspb.Message.getField(this, 3) != null;
|
|
17872
|
-
};
|
|
17873
|
-
|
|
17874
|
-
|
|
17875
|
-
/**
|
|
17876
|
-
* optional google.protobuf.StringValue x509_subject = 4;
|
|
17877
|
-
* @return {?proto.google.protobuf.StringValue}
|
|
17878
|
-
*/
|
|
17879
|
-
proto.com.lansweeper.discovery.sensor.mac.v1.HttpCertificate.prototype.getX509Subject = function() {
|
|
17880
|
-
return /** @type{?proto.google.protobuf.StringValue} */ (
|
|
17881
|
-
jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 4));
|
|
17882
|
-
};
|
|
17883
|
-
|
|
17884
|
-
|
|
17885
|
-
/**
|
|
17886
|
-
* @param {?proto.google.protobuf.StringValue|undefined} value
|
|
17887
|
-
* @return {!proto.com.lansweeper.discovery.sensor.mac.v1.HttpCertificate} returns this
|
|
17888
|
-
*/
|
|
17889
|
-
proto.com.lansweeper.discovery.sensor.mac.v1.HttpCertificate.prototype.setX509Subject = function(value) {
|
|
17890
|
-
return jspb.Message.setWrapperField(this, 4, value);
|
|
17891
|
-
};
|
|
17892
|
-
|
|
17893
|
-
|
|
17894
|
-
/**
|
|
17895
|
-
* Clears the message field making it undefined.
|
|
17896
|
-
* @return {!proto.com.lansweeper.discovery.sensor.mac.v1.HttpCertificate} returns this
|
|
17897
|
-
*/
|
|
17898
|
-
proto.com.lansweeper.discovery.sensor.mac.v1.HttpCertificate.prototype.clearX509Subject = function() {
|
|
17899
|
-
return this.setX509Subject(undefined);
|
|
17900
|
-
};
|
|
17901
|
-
|
|
17902
|
-
|
|
17903
|
-
/**
|
|
17904
|
-
* Returns whether this field is set.
|
|
17905
|
-
* @return {boolean}
|
|
17906
|
-
*/
|
|
17907
|
-
proto.com.lansweeper.discovery.sensor.mac.v1.HttpCertificate.prototype.hasX509Subject = function() {
|
|
17908
|
-
return jspb.Message.getField(this, 4) != null;
|
|
17909
|
-
};
|
|
17910
|
-
|
|
17911
|
-
|
|
17912
|
-
/**
|
|
17913
|
-
* optional google.protobuf.Timestamp effective_date = 5;
|
|
17914
|
-
* @return {?proto.google.protobuf.Timestamp}
|
|
17915
|
-
*/
|
|
17916
|
-
proto.com.lansweeper.discovery.sensor.mac.v1.HttpCertificate.prototype.getEffectiveDate = function() {
|
|
17917
|
-
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
|
17918
|
-
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 5));
|
|
17919
|
-
};
|
|
17920
|
-
|
|
17921
|
-
|
|
17922
|
-
/**
|
|
17923
|
-
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
17924
|
-
* @return {!proto.com.lansweeper.discovery.sensor.mac.v1.HttpCertificate} returns this
|
|
17925
|
-
*/
|
|
17926
|
-
proto.com.lansweeper.discovery.sensor.mac.v1.HttpCertificate.prototype.setEffectiveDate = function(value) {
|
|
17927
|
-
return jspb.Message.setWrapperField(this, 5, value);
|
|
17928
|
-
};
|
|
17929
|
-
|
|
17930
|
-
|
|
17931
|
-
/**
|
|
17932
|
-
* Clears the message field making it undefined.
|
|
17933
|
-
* @return {!proto.com.lansweeper.discovery.sensor.mac.v1.HttpCertificate} returns this
|
|
17934
|
-
*/
|
|
17935
|
-
proto.com.lansweeper.discovery.sensor.mac.v1.HttpCertificate.prototype.clearEffectiveDate = function() {
|
|
17936
|
-
return this.setEffectiveDate(undefined);
|
|
17937
|
-
};
|
|
17938
|
-
|
|
17939
|
-
|
|
17940
|
-
/**
|
|
17941
|
-
* Returns whether this field is set.
|
|
17942
|
-
* @return {boolean}
|
|
17943
|
-
*/
|
|
17944
|
-
proto.com.lansweeper.discovery.sensor.mac.v1.HttpCertificate.prototype.hasEffectiveDate = function() {
|
|
17945
|
-
return jspb.Message.getField(this, 5) != null;
|
|
17946
|
-
};
|
|
17947
|
-
|
|
17948
|
-
|
|
17949
|
-
/**
|
|
17950
|
-
* optional google.protobuf.Timestamp expiration_date = 6;
|
|
17951
|
-
* @return {?proto.google.protobuf.Timestamp}
|
|
17952
|
-
*/
|
|
17953
|
-
proto.com.lansweeper.discovery.sensor.mac.v1.HttpCertificate.prototype.getExpirationDate = function() {
|
|
17954
|
-
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
|
17955
|
-
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 6));
|
|
17956
|
-
};
|
|
17957
|
-
|
|
17958
|
-
|
|
17959
|
-
/**
|
|
17960
|
-
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
17961
|
-
* @return {!proto.com.lansweeper.discovery.sensor.mac.v1.HttpCertificate} returns this
|
|
17962
|
-
*/
|
|
17963
|
-
proto.com.lansweeper.discovery.sensor.mac.v1.HttpCertificate.prototype.setExpirationDate = function(value) {
|
|
17964
|
-
return jspb.Message.setWrapperField(this, 6, value);
|
|
17965
|
-
};
|
|
17966
|
-
|
|
17967
|
-
|
|
17968
|
-
/**
|
|
17969
|
-
* Clears the message field making it undefined.
|
|
17970
|
-
* @return {!proto.com.lansweeper.discovery.sensor.mac.v1.HttpCertificate} returns this
|
|
17971
|
-
*/
|
|
17972
|
-
proto.com.lansweeper.discovery.sensor.mac.v1.HttpCertificate.prototype.clearExpirationDate = function() {
|
|
17973
|
-
return this.setExpirationDate(undefined);
|
|
17974
|
-
};
|
|
17975
|
-
|
|
17976
|
-
|
|
17977
|
-
/**
|
|
17978
|
-
* Returns whether this field is set.
|
|
17979
|
-
* @return {boolean}
|
|
17980
|
-
*/
|
|
17981
|
-
proto.com.lansweeper.discovery.sensor.mac.v1.HttpCertificate.prototype.hasExpirationDate = function() {
|
|
17982
|
-
return jspb.Message.getField(this, 6) != null;
|
|
17983
|
-
};
|
|
17984
|
-
|
|
17985
|
-
|
|
17986
|
-
/**
|
|
17987
|
-
* optional uint32 ssl_errors = 7;
|
|
17988
|
-
* @return {number}
|
|
17989
|
-
*/
|
|
17990
|
-
proto.com.lansweeper.discovery.sensor.mac.v1.HttpCertificate.prototype.getSslErrors = function() {
|
|
17991
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
|
|
17992
|
-
};
|
|
17993
|
-
|
|
17994
|
-
|
|
17995
|
-
/**
|
|
17996
|
-
* @param {number} value
|
|
17997
|
-
* @return {!proto.com.lansweeper.discovery.sensor.mac.v1.HttpCertificate} returns this
|
|
17998
|
-
*/
|
|
17999
|
-
proto.com.lansweeper.discovery.sensor.mac.v1.HttpCertificate.prototype.setSslErrors = function(value) {
|
|
18000
|
-
return jspb.Message.setProto3IntField(this, 7, value);
|
|
18001
|
-
};
|
|
18002
|
-
|
|
18003
|
-
|
|
18004
|
-
/**
|
|
18005
|
-
* @enum {number}
|
|
18006
|
-
*/
|
|
18007
|
-
proto.com.lansweeper.discovery.sensor.mac.v1.SslPolicyErrors = {
|
|
18008
|
-
NONE: 0,
|
|
18009
|
-
REMOTE_CERTIFICATE_NOT_AVAILABLE: 1,
|
|
18010
|
-
REMOTE_CERTIFICATE_NAME_MISMATCH: 2,
|
|
18011
|
-
REMOTE_CERTIFICATE_CHAIN_ERRORS: 4
|
|
18012
|
-
};
|
|
18013
|
-
|
|
18014
16656
|
goog.object.extend(exports, proto.com.lansweeper.discovery.sensor.mac.v1);
|