@lansweeper/discovery-sensor-proto 2.25.1 → 2.26.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/gen-proto/discovery_sections_api_pb.js +7 -1
- package/gen-proto/discovery_sections_mac_pb.js +7 -1
- package/gen-proto/discovery_sections_ot_pb.js +7 -1
- package/gen-proto/discovery_sections_unix_pb.js +7 -1
- package/gen-proto/discovery_sections_windows_pb.d.ts +142 -0
- package/gen-proto/discovery_sections_windows_pb.js +1163 -2
- package/gen-proto/image.json +1 -1
- package/package.json +2 -2
- package/proto/discovery_sections_windows.proto +34 -0
|
@@ -13,7 +13,13 @@
|
|
|
13
13
|
|
|
14
14
|
var jspb = require('google-protobuf');
|
|
15
15
|
var goog = jspb;
|
|
16
|
-
var global =
|
|
16
|
+
var global = (function() {
|
|
17
|
+
if (this) { return this; }
|
|
18
|
+
if (typeof window !== 'undefined') { return window; }
|
|
19
|
+
if (typeof global !== 'undefined') { return global; }
|
|
20
|
+
if (typeof self !== 'undefined') { return self; }
|
|
21
|
+
return Function('return this')();
|
|
22
|
+
}.call(null));
|
|
17
23
|
|
|
18
24
|
var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js');
|
|
19
25
|
goog.object.extend(proto, google_protobuf_timestamp_pb);
|
|
@@ -44,6 +50,8 @@ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.Feature', nu
|
|
|
44
50
|
goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.Floppy', null, global);
|
|
45
51
|
goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.Group', null, global);
|
|
46
52
|
goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.HardDisk', null, global);
|
|
53
|
+
goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.HttpCertificate', null, global);
|
|
54
|
+
goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.HttpServerInfo', null, global);
|
|
47
55
|
goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.HyperV', null, global);
|
|
48
56
|
goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.HyperVEthernet', null, global);
|
|
49
57
|
goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.HyperVMemory', null, global);
|
|
@@ -105,6 +113,7 @@ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.SqlServerClu
|
|
|
105
113
|
goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.SqlServerDatabase', null, global);
|
|
106
114
|
goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.SqlServerInfo', null, global);
|
|
107
115
|
goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.SqlServerService', null, global);
|
|
116
|
+
goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.SslPolicyErrors', null, global);
|
|
108
117
|
goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.SystemDriver', null, global);
|
|
109
118
|
goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.SystemDriverPnpEntity', null, global);
|
|
110
119
|
goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.SystemEnclosure', null, global);
|
|
@@ -4007,6 +4016,48 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
4007
4016
|
*/
|
|
4008
4017
|
proto.com.lansweeper.discovery.sensor.windows.v1.OpenPort.displayName = 'proto.com.lansweeper.discovery.sensor.windows.v1.OpenPort';
|
|
4009
4018
|
}
|
|
4019
|
+
/**
|
|
4020
|
+
* Generated by JsPbCodeGenerator.
|
|
4021
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
4022
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
4023
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
4024
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
4025
|
+
* valid.
|
|
4026
|
+
* @extends {jspb.Message}
|
|
4027
|
+
* @constructor
|
|
4028
|
+
*/
|
|
4029
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.HttpServerInfo = function(opt_data) {
|
|
4030
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.com.lansweeper.discovery.sensor.windows.v1.HttpServerInfo.repeatedFields_, null);
|
|
4031
|
+
};
|
|
4032
|
+
goog.inherits(proto.com.lansweeper.discovery.sensor.windows.v1.HttpServerInfo, jspb.Message);
|
|
4033
|
+
if (goog.DEBUG && !COMPILED) {
|
|
4034
|
+
/**
|
|
4035
|
+
* @public
|
|
4036
|
+
* @override
|
|
4037
|
+
*/
|
|
4038
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.HttpServerInfo.displayName = 'proto.com.lansweeper.discovery.sensor.windows.v1.HttpServerInfo';
|
|
4039
|
+
}
|
|
4040
|
+
/**
|
|
4041
|
+
* Generated by JsPbCodeGenerator.
|
|
4042
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
4043
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
4044
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
4045
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
4046
|
+
* valid.
|
|
4047
|
+
* @extends {jspb.Message}
|
|
4048
|
+
* @constructor
|
|
4049
|
+
*/
|
|
4050
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.HttpCertificate = function(opt_data) {
|
|
4051
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
4052
|
+
};
|
|
4053
|
+
goog.inherits(proto.com.lansweeper.discovery.sensor.windows.v1.HttpCertificate, jspb.Message);
|
|
4054
|
+
if (goog.DEBUG && !COMPILED) {
|
|
4055
|
+
/**
|
|
4056
|
+
* @public
|
|
4057
|
+
* @override
|
|
4058
|
+
*/
|
|
4059
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.HttpCertificate.displayName = 'proto.com.lansweeper.discovery.sensor.windows.v1.HttpCertificate';
|
|
4060
|
+
}
|
|
4010
4061
|
|
|
4011
4062
|
|
|
4012
4063
|
|
|
@@ -69925,7 +69976,10 @@ proto.com.lansweeper.discovery.sensor.windows.v1.OpenPort.prototype.toObject = f
|
|
|
69925
69976
|
proto.com.lansweeper.discovery.sensor.windows.v1.OpenPort.toObject = function(includeInstance, msg) {
|
|
69926
69977
|
var f, obj = {
|
|
69927
69978
|
localPort: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
69928
|
-
localAddress: (f = msg.getLocalAddress()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f)
|
|
69979
|
+
localAddress: (f = msg.getLocalAddress()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
|
|
69980
|
+
processName: (f = msg.getProcessName()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
|
|
69981
|
+
banner: (f = msg.getBanner()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
|
|
69982
|
+
httpServer: (f = msg.getHttpServer()) && proto.com.lansweeper.discovery.sensor.windows.v1.HttpServerInfo.toObject(includeInstance, f)
|
|
69929
69983
|
};
|
|
69930
69984
|
|
|
69931
69985
|
if (includeInstance) {
|
|
@@ -69971,6 +70025,21 @@ proto.com.lansweeper.discovery.sensor.windows.v1.OpenPort.deserializeBinaryFromR
|
|
|
69971
70025
|
reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
|
|
69972
70026
|
msg.setLocalAddress(value);
|
|
69973
70027
|
break;
|
|
70028
|
+
case 3:
|
|
70029
|
+
var value = new google_protobuf_wrappers_pb.StringValue;
|
|
70030
|
+
reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
|
|
70031
|
+
msg.setProcessName(value);
|
|
70032
|
+
break;
|
|
70033
|
+
case 4:
|
|
70034
|
+
var value = new google_protobuf_wrappers_pb.StringValue;
|
|
70035
|
+
reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
|
|
70036
|
+
msg.setBanner(value);
|
|
70037
|
+
break;
|
|
70038
|
+
case 5:
|
|
70039
|
+
var value = new proto.com.lansweeper.discovery.sensor.windows.v1.HttpServerInfo;
|
|
70040
|
+
reader.readMessage(value,proto.com.lansweeper.discovery.sensor.windows.v1.HttpServerInfo.deserializeBinaryFromReader);
|
|
70041
|
+
msg.setHttpServer(value);
|
|
70042
|
+
break;
|
|
69974
70043
|
default:
|
|
69975
70044
|
reader.skipField();
|
|
69976
70045
|
break;
|
|
@@ -70015,6 +70084,30 @@ proto.com.lansweeper.discovery.sensor.windows.v1.OpenPort.serializeBinaryToWrite
|
|
|
70015
70084
|
google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
|
|
70016
70085
|
);
|
|
70017
70086
|
}
|
|
70087
|
+
f = message.getProcessName();
|
|
70088
|
+
if (f != null) {
|
|
70089
|
+
writer.writeMessage(
|
|
70090
|
+
3,
|
|
70091
|
+
f,
|
|
70092
|
+
google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
|
|
70093
|
+
);
|
|
70094
|
+
}
|
|
70095
|
+
f = message.getBanner();
|
|
70096
|
+
if (f != null) {
|
|
70097
|
+
writer.writeMessage(
|
|
70098
|
+
4,
|
|
70099
|
+
f,
|
|
70100
|
+
google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
|
|
70101
|
+
);
|
|
70102
|
+
}
|
|
70103
|
+
f = message.getHttpServer();
|
|
70104
|
+
if (f != null) {
|
|
70105
|
+
writer.writeMessage(
|
|
70106
|
+
5,
|
|
70107
|
+
f,
|
|
70108
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.HttpServerInfo.serializeBinaryToWriter
|
|
70109
|
+
);
|
|
70110
|
+
}
|
|
70018
70111
|
};
|
|
70019
70112
|
|
|
70020
70113
|
|
|
@@ -70073,6 +70166,1064 @@ proto.com.lansweeper.discovery.sensor.windows.v1.OpenPort.prototype.hasLocalAddr
|
|
|
70073
70166
|
};
|
|
70074
70167
|
|
|
70075
70168
|
|
|
70169
|
+
/**
|
|
70170
|
+
* optional google.protobuf.StringValue process_name = 3;
|
|
70171
|
+
* @return {?proto.google.protobuf.StringValue}
|
|
70172
|
+
*/
|
|
70173
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.OpenPort.prototype.getProcessName = function() {
|
|
70174
|
+
return /** @type{?proto.google.protobuf.StringValue} */ (
|
|
70175
|
+
jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 3));
|
|
70176
|
+
};
|
|
70177
|
+
|
|
70178
|
+
|
|
70179
|
+
/**
|
|
70180
|
+
* @param {?proto.google.protobuf.StringValue|undefined} value
|
|
70181
|
+
* @return {!proto.com.lansweeper.discovery.sensor.windows.v1.OpenPort} returns this
|
|
70182
|
+
*/
|
|
70183
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.OpenPort.prototype.setProcessName = function(value) {
|
|
70184
|
+
return jspb.Message.setWrapperField(this, 3, value);
|
|
70185
|
+
};
|
|
70186
|
+
|
|
70187
|
+
|
|
70188
|
+
/**
|
|
70189
|
+
* Clears the message field making it undefined.
|
|
70190
|
+
* @return {!proto.com.lansweeper.discovery.sensor.windows.v1.OpenPort} returns this
|
|
70191
|
+
*/
|
|
70192
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.OpenPort.prototype.clearProcessName = function() {
|
|
70193
|
+
return this.setProcessName(undefined);
|
|
70194
|
+
};
|
|
70195
|
+
|
|
70196
|
+
|
|
70197
|
+
/**
|
|
70198
|
+
* Returns whether this field is set.
|
|
70199
|
+
* @return {boolean}
|
|
70200
|
+
*/
|
|
70201
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.OpenPort.prototype.hasProcessName = function() {
|
|
70202
|
+
return jspb.Message.getField(this, 3) != null;
|
|
70203
|
+
};
|
|
70204
|
+
|
|
70205
|
+
|
|
70206
|
+
/**
|
|
70207
|
+
* optional google.protobuf.StringValue banner = 4;
|
|
70208
|
+
* @return {?proto.google.protobuf.StringValue}
|
|
70209
|
+
*/
|
|
70210
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.OpenPort.prototype.getBanner = function() {
|
|
70211
|
+
return /** @type{?proto.google.protobuf.StringValue} */ (
|
|
70212
|
+
jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 4));
|
|
70213
|
+
};
|
|
70214
|
+
|
|
70215
|
+
|
|
70216
|
+
/**
|
|
70217
|
+
* @param {?proto.google.protobuf.StringValue|undefined} value
|
|
70218
|
+
* @return {!proto.com.lansweeper.discovery.sensor.windows.v1.OpenPort} returns this
|
|
70219
|
+
*/
|
|
70220
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.OpenPort.prototype.setBanner = function(value) {
|
|
70221
|
+
return jspb.Message.setWrapperField(this, 4, value);
|
|
70222
|
+
};
|
|
70223
|
+
|
|
70224
|
+
|
|
70225
|
+
/**
|
|
70226
|
+
* Clears the message field making it undefined.
|
|
70227
|
+
* @return {!proto.com.lansweeper.discovery.sensor.windows.v1.OpenPort} returns this
|
|
70228
|
+
*/
|
|
70229
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.OpenPort.prototype.clearBanner = function() {
|
|
70230
|
+
return this.setBanner(undefined);
|
|
70231
|
+
};
|
|
70232
|
+
|
|
70233
|
+
|
|
70234
|
+
/**
|
|
70235
|
+
* Returns whether this field is set.
|
|
70236
|
+
* @return {boolean}
|
|
70237
|
+
*/
|
|
70238
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.OpenPort.prototype.hasBanner = function() {
|
|
70239
|
+
return jspb.Message.getField(this, 4) != null;
|
|
70240
|
+
};
|
|
70241
|
+
|
|
70242
|
+
|
|
70243
|
+
/**
|
|
70244
|
+
* optional HttpServerInfo http_server = 5;
|
|
70245
|
+
* @return {?proto.com.lansweeper.discovery.sensor.windows.v1.HttpServerInfo}
|
|
70246
|
+
*/
|
|
70247
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.OpenPort.prototype.getHttpServer = function() {
|
|
70248
|
+
return /** @type{?proto.com.lansweeper.discovery.sensor.windows.v1.HttpServerInfo} */ (
|
|
70249
|
+
jspb.Message.getWrapperField(this, proto.com.lansweeper.discovery.sensor.windows.v1.HttpServerInfo, 5));
|
|
70250
|
+
};
|
|
70251
|
+
|
|
70252
|
+
|
|
70253
|
+
/**
|
|
70254
|
+
* @param {?proto.com.lansweeper.discovery.sensor.windows.v1.HttpServerInfo|undefined} value
|
|
70255
|
+
* @return {!proto.com.lansweeper.discovery.sensor.windows.v1.OpenPort} returns this
|
|
70256
|
+
*/
|
|
70257
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.OpenPort.prototype.setHttpServer = function(value) {
|
|
70258
|
+
return jspb.Message.setWrapperField(this, 5, value);
|
|
70259
|
+
};
|
|
70260
|
+
|
|
70261
|
+
|
|
70262
|
+
/**
|
|
70263
|
+
* Clears the message field making it undefined.
|
|
70264
|
+
* @return {!proto.com.lansweeper.discovery.sensor.windows.v1.OpenPort} returns this
|
|
70265
|
+
*/
|
|
70266
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.OpenPort.prototype.clearHttpServer = function() {
|
|
70267
|
+
return this.setHttpServer(undefined);
|
|
70268
|
+
};
|
|
70269
|
+
|
|
70270
|
+
|
|
70271
|
+
/**
|
|
70272
|
+
* Returns whether this field is set.
|
|
70273
|
+
* @return {boolean}
|
|
70274
|
+
*/
|
|
70275
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.OpenPort.prototype.hasHttpServer = function() {
|
|
70276
|
+
return jspb.Message.getField(this, 5) != null;
|
|
70277
|
+
};
|
|
70278
|
+
|
|
70279
|
+
|
|
70280
|
+
|
|
70281
|
+
/**
|
|
70282
|
+
* List of repeated fields within this message type.
|
|
70283
|
+
* @private {!Array<number>}
|
|
70284
|
+
* @const
|
|
70285
|
+
*/
|
|
70286
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.HttpServerInfo.repeatedFields_ = [3,4,5,8];
|
|
70287
|
+
|
|
70288
|
+
|
|
70289
|
+
|
|
70290
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
70291
|
+
/**
|
|
70292
|
+
* Creates an object representation of this proto.
|
|
70293
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
70294
|
+
* Optional fields that are not set will be set to undefined.
|
|
70295
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
70296
|
+
* For the list of reserved names please see:
|
|
70297
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
70298
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
70299
|
+
* JSPB instance for transitional soy proto support:
|
|
70300
|
+
* http://goto/soy-param-migration
|
|
70301
|
+
* @return {!Object}
|
|
70302
|
+
*/
|
|
70303
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.HttpServerInfo.prototype.toObject = function(opt_includeInstance) {
|
|
70304
|
+
return proto.com.lansweeper.discovery.sensor.windows.v1.HttpServerInfo.toObject(opt_includeInstance, this);
|
|
70305
|
+
};
|
|
70306
|
+
|
|
70307
|
+
|
|
70308
|
+
/**
|
|
70309
|
+
* Static version of the {@see toObject} method.
|
|
70310
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
70311
|
+
* the JSPB instance for transitional soy proto support:
|
|
70312
|
+
* http://goto/soy-param-migration
|
|
70313
|
+
* @param {!proto.com.lansweeper.discovery.sensor.windows.v1.HttpServerInfo} msg The msg instance to transform.
|
|
70314
|
+
* @return {!Object}
|
|
70315
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
70316
|
+
*/
|
|
70317
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.HttpServerInfo.toObject = function(includeInstance, msg) {
|
|
70318
|
+
var f, obj = {
|
|
70319
|
+
http: (f = msg.getHttp()) && google_protobuf_wrappers_pb.BoolValue.toObject(includeInstance, f),
|
|
70320
|
+
ssl: (f = msg.getSsl()) && google_protobuf_wrappers_pb.BoolValue.toObject(includeInstance, f),
|
|
70321
|
+
serverList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
|
|
70322
|
+
wwwauthList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f,
|
|
70323
|
+
cookieList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f,
|
|
70324
|
+
title: (f = msg.getTitle()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
|
|
70325
|
+
favicon: (f = msg.getFavicon()) && google_protobuf_wrappers_pb.BytesValue.toObject(includeInstance, f),
|
|
70326
|
+
certificatesList: jspb.Message.toObjectList(msg.getCertificatesList(),
|
|
70327
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.HttpCertificate.toObject, includeInstance)
|
|
70328
|
+
};
|
|
70329
|
+
|
|
70330
|
+
if (includeInstance) {
|
|
70331
|
+
obj.$jspbMessageInstance = msg;
|
|
70332
|
+
}
|
|
70333
|
+
return obj;
|
|
70334
|
+
};
|
|
70335
|
+
}
|
|
70336
|
+
|
|
70337
|
+
|
|
70338
|
+
/**
|
|
70339
|
+
* Deserializes binary data (in protobuf wire format).
|
|
70340
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
70341
|
+
* @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HttpServerInfo}
|
|
70342
|
+
*/
|
|
70343
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.HttpServerInfo.deserializeBinary = function(bytes) {
|
|
70344
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
70345
|
+
var msg = new proto.com.lansweeper.discovery.sensor.windows.v1.HttpServerInfo;
|
|
70346
|
+
return proto.com.lansweeper.discovery.sensor.windows.v1.HttpServerInfo.deserializeBinaryFromReader(msg, reader);
|
|
70347
|
+
};
|
|
70348
|
+
|
|
70349
|
+
|
|
70350
|
+
/**
|
|
70351
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
70352
|
+
* given reader into the given message object.
|
|
70353
|
+
* @param {!proto.com.lansweeper.discovery.sensor.windows.v1.HttpServerInfo} msg The message object to deserialize into.
|
|
70354
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
70355
|
+
* @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HttpServerInfo}
|
|
70356
|
+
*/
|
|
70357
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.HttpServerInfo.deserializeBinaryFromReader = function(msg, reader) {
|
|
70358
|
+
while (reader.nextField()) {
|
|
70359
|
+
if (reader.isEndGroup()) {
|
|
70360
|
+
break;
|
|
70361
|
+
}
|
|
70362
|
+
var field = reader.getFieldNumber();
|
|
70363
|
+
switch (field) {
|
|
70364
|
+
case 1:
|
|
70365
|
+
var value = new google_protobuf_wrappers_pb.BoolValue;
|
|
70366
|
+
reader.readMessage(value,google_protobuf_wrappers_pb.BoolValue.deserializeBinaryFromReader);
|
|
70367
|
+
msg.setHttp(value);
|
|
70368
|
+
break;
|
|
70369
|
+
case 2:
|
|
70370
|
+
var value = new google_protobuf_wrappers_pb.BoolValue;
|
|
70371
|
+
reader.readMessage(value,google_protobuf_wrappers_pb.BoolValue.deserializeBinaryFromReader);
|
|
70372
|
+
msg.setSsl(value);
|
|
70373
|
+
break;
|
|
70374
|
+
case 3:
|
|
70375
|
+
var value = /** @type {string} */ (reader.readString());
|
|
70376
|
+
msg.addServer(value);
|
|
70377
|
+
break;
|
|
70378
|
+
case 4:
|
|
70379
|
+
var value = /** @type {string} */ (reader.readString());
|
|
70380
|
+
msg.addWwwauth(value);
|
|
70381
|
+
break;
|
|
70382
|
+
case 5:
|
|
70383
|
+
var value = /** @type {string} */ (reader.readString());
|
|
70384
|
+
msg.addCookie(value);
|
|
70385
|
+
break;
|
|
70386
|
+
case 6:
|
|
70387
|
+
var value = new google_protobuf_wrappers_pb.StringValue;
|
|
70388
|
+
reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
|
|
70389
|
+
msg.setTitle(value);
|
|
70390
|
+
break;
|
|
70391
|
+
case 7:
|
|
70392
|
+
var value = new google_protobuf_wrappers_pb.BytesValue;
|
|
70393
|
+
reader.readMessage(value,google_protobuf_wrappers_pb.BytesValue.deserializeBinaryFromReader);
|
|
70394
|
+
msg.setFavicon(value);
|
|
70395
|
+
break;
|
|
70396
|
+
case 8:
|
|
70397
|
+
var value = new proto.com.lansweeper.discovery.sensor.windows.v1.HttpCertificate;
|
|
70398
|
+
reader.readMessage(value,proto.com.lansweeper.discovery.sensor.windows.v1.HttpCertificate.deserializeBinaryFromReader);
|
|
70399
|
+
msg.addCertificates(value);
|
|
70400
|
+
break;
|
|
70401
|
+
default:
|
|
70402
|
+
reader.skipField();
|
|
70403
|
+
break;
|
|
70404
|
+
}
|
|
70405
|
+
}
|
|
70406
|
+
return msg;
|
|
70407
|
+
};
|
|
70408
|
+
|
|
70409
|
+
|
|
70410
|
+
/**
|
|
70411
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
70412
|
+
* @return {!Uint8Array}
|
|
70413
|
+
*/
|
|
70414
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.HttpServerInfo.prototype.serializeBinary = function() {
|
|
70415
|
+
var writer = new jspb.BinaryWriter();
|
|
70416
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.HttpServerInfo.serializeBinaryToWriter(this, writer);
|
|
70417
|
+
return writer.getResultBuffer();
|
|
70418
|
+
};
|
|
70419
|
+
|
|
70420
|
+
|
|
70421
|
+
/**
|
|
70422
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
70423
|
+
* format), writing to the given BinaryWriter.
|
|
70424
|
+
* @param {!proto.com.lansweeper.discovery.sensor.windows.v1.HttpServerInfo} message
|
|
70425
|
+
* @param {!jspb.BinaryWriter} writer
|
|
70426
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
70427
|
+
*/
|
|
70428
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.HttpServerInfo.serializeBinaryToWriter = function(message, writer) {
|
|
70429
|
+
var f = undefined;
|
|
70430
|
+
f = message.getHttp();
|
|
70431
|
+
if (f != null) {
|
|
70432
|
+
writer.writeMessage(
|
|
70433
|
+
1,
|
|
70434
|
+
f,
|
|
70435
|
+
google_protobuf_wrappers_pb.BoolValue.serializeBinaryToWriter
|
|
70436
|
+
);
|
|
70437
|
+
}
|
|
70438
|
+
f = message.getSsl();
|
|
70439
|
+
if (f != null) {
|
|
70440
|
+
writer.writeMessage(
|
|
70441
|
+
2,
|
|
70442
|
+
f,
|
|
70443
|
+
google_protobuf_wrappers_pb.BoolValue.serializeBinaryToWriter
|
|
70444
|
+
);
|
|
70445
|
+
}
|
|
70446
|
+
f = message.getServerList();
|
|
70447
|
+
if (f.length > 0) {
|
|
70448
|
+
writer.writeRepeatedString(
|
|
70449
|
+
3,
|
|
70450
|
+
f
|
|
70451
|
+
);
|
|
70452
|
+
}
|
|
70453
|
+
f = message.getWwwauthList();
|
|
70454
|
+
if (f.length > 0) {
|
|
70455
|
+
writer.writeRepeatedString(
|
|
70456
|
+
4,
|
|
70457
|
+
f
|
|
70458
|
+
);
|
|
70459
|
+
}
|
|
70460
|
+
f = message.getCookieList();
|
|
70461
|
+
if (f.length > 0) {
|
|
70462
|
+
writer.writeRepeatedString(
|
|
70463
|
+
5,
|
|
70464
|
+
f
|
|
70465
|
+
);
|
|
70466
|
+
}
|
|
70467
|
+
f = message.getTitle();
|
|
70468
|
+
if (f != null) {
|
|
70469
|
+
writer.writeMessage(
|
|
70470
|
+
6,
|
|
70471
|
+
f,
|
|
70472
|
+
google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
|
|
70473
|
+
);
|
|
70474
|
+
}
|
|
70475
|
+
f = message.getFavicon();
|
|
70476
|
+
if (f != null) {
|
|
70477
|
+
writer.writeMessage(
|
|
70478
|
+
7,
|
|
70479
|
+
f,
|
|
70480
|
+
google_protobuf_wrappers_pb.BytesValue.serializeBinaryToWriter
|
|
70481
|
+
);
|
|
70482
|
+
}
|
|
70483
|
+
f = message.getCertificatesList();
|
|
70484
|
+
if (f.length > 0) {
|
|
70485
|
+
writer.writeRepeatedMessage(
|
|
70486
|
+
8,
|
|
70487
|
+
f,
|
|
70488
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.HttpCertificate.serializeBinaryToWriter
|
|
70489
|
+
);
|
|
70490
|
+
}
|
|
70491
|
+
};
|
|
70492
|
+
|
|
70493
|
+
|
|
70494
|
+
/**
|
|
70495
|
+
* optional google.protobuf.BoolValue http = 1;
|
|
70496
|
+
* @return {?proto.google.protobuf.BoolValue}
|
|
70497
|
+
*/
|
|
70498
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.HttpServerInfo.prototype.getHttp = function() {
|
|
70499
|
+
return /** @type{?proto.google.protobuf.BoolValue} */ (
|
|
70500
|
+
jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.BoolValue, 1));
|
|
70501
|
+
};
|
|
70502
|
+
|
|
70503
|
+
|
|
70504
|
+
/**
|
|
70505
|
+
* @param {?proto.google.protobuf.BoolValue|undefined} value
|
|
70506
|
+
* @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HttpServerInfo} returns this
|
|
70507
|
+
*/
|
|
70508
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.HttpServerInfo.prototype.setHttp = function(value) {
|
|
70509
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
70510
|
+
};
|
|
70511
|
+
|
|
70512
|
+
|
|
70513
|
+
/**
|
|
70514
|
+
* Clears the message field making it undefined.
|
|
70515
|
+
* @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HttpServerInfo} returns this
|
|
70516
|
+
*/
|
|
70517
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.HttpServerInfo.prototype.clearHttp = function() {
|
|
70518
|
+
return this.setHttp(undefined);
|
|
70519
|
+
};
|
|
70520
|
+
|
|
70521
|
+
|
|
70522
|
+
/**
|
|
70523
|
+
* Returns whether this field is set.
|
|
70524
|
+
* @return {boolean}
|
|
70525
|
+
*/
|
|
70526
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.HttpServerInfo.prototype.hasHttp = function() {
|
|
70527
|
+
return jspb.Message.getField(this, 1) != null;
|
|
70528
|
+
};
|
|
70529
|
+
|
|
70530
|
+
|
|
70531
|
+
/**
|
|
70532
|
+
* optional google.protobuf.BoolValue ssl = 2;
|
|
70533
|
+
* @return {?proto.google.protobuf.BoolValue}
|
|
70534
|
+
*/
|
|
70535
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.HttpServerInfo.prototype.getSsl = function() {
|
|
70536
|
+
return /** @type{?proto.google.protobuf.BoolValue} */ (
|
|
70537
|
+
jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.BoolValue, 2));
|
|
70538
|
+
};
|
|
70539
|
+
|
|
70540
|
+
|
|
70541
|
+
/**
|
|
70542
|
+
* @param {?proto.google.protobuf.BoolValue|undefined} value
|
|
70543
|
+
* @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HttpServerInfo} returns this
|
|
70544
|
+
*/
|
|
70545
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.HttpServerInfo.prototype.setSsl = function(value) {
|
|
70546
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
70547
|
+
};
|
|
70548
|
+
|
|
70549
|
+
|
|
70550
|
+
/**
|
|
70551
|
+
* Clears the message field making it undefined.
|
|
70552
|
+
* @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HttpServerInfo} returns this
|
|
70553
|
+
*/
|
|
70554
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.HttpServerInfo.prototype.clearSsl = function() {
|
|
70555
|
+
return this.setSsl(undefined);
|
|
70556
|
+
};
|
|
70557
|
+
|
|
70558
|
+
|
|
70559
|
+
/**
|
|
70560
|
+
* Returns whether this field is set.
|
|
70561
|
+
* @return {boolean}
|
|
70562
|
+
*/
|
|
70563
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.HttpServerInfo.prototype.hasSsl = function() {
|
|
70564
|
+
return jspb.Message.getField(this, 2) != null;
|
|
70565
|
+
};
|
|
70566
|
+
|
|
70567
|
+
|
|
70568
|
+
/**
|
|
70569
|
+
* repeated string server = 3;
|
|
70570
|
+
* @return {!Array<string>}
|
|
70571
|
+
*/
|
|
70572
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.HttpServerInfo.prototype.getServerList = function() {
|
|
70573
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 3));
|
|
70574
|
+
};
|
|
70575
|
+
|
|
70576
|
+
|
|
70577
|
+
/**
|
|
70578
|
+
* @param {!Array<string>} value
|
|
70579
|
+
* @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HttpServerInfo} returns this
|
|
70580
|
+
*/
|
|
70581
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.HttpServerInfo.prototype.setServerList = function(value) {
|
|
70582
|
+
return jspb.Message.setField(this, 3, value || []);
|
|
70583
|
+
};
|
|
70584
|
+
|
|
70585
|
+
|
|
70586
|
+
/**
|
|
70587
|
+
* @param {string} value
|
|
70588
|
+
* @param {number=} opt_index
|
|
70589
|
+
* @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HttpServerInfo} returns this
|
|
70590
|
+
*/
|
|
70591
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.HttpServerInfo.prototype.addServer = function(value, opt_index) {
|
|
70592
|
+
return jspb.Message.addToRepeatedField(this, 3, value, opt_index);
|
|
70593
|
+
};
|
|
70594
|
+
|
|
70595
|
+
|
|
70596
|
+
/**
|
|
70597
|
+
* Clears the list making it empty but non-null.
|
|
70598
|
+
* @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HttpServerInfo} returns this
|
|
70599
|
+
*/
|
|
70600
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.HttpServerInfo.prototype.clearServerList = function() {
|
|
70601
|
+
return this.setServerList([]);
|
|
70602
|
+
};
|
|
70603
|
+
|
|
70604
|
+
|
|
70605
|
+
/**
|
|
70606
|
+
* repeated string wwwauth = 4;
|
|
70607
|
+
* @return {!Array<string>}
|
|
70608
|
+
*/
|
|
70609
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.HttpServerInfo.prototype.getWwwauthList = function() {
|
|
70610
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 4));
|
|
70611
|
+
};
|
|
70612
|
+
|
|
70613
|
+
|
|
70614
|
+
/**
|
|
70615
|
+
* @param {!Array<string>} value
|
|
70616
|
+
* @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HttpServerInfo} returns this
|
|
70617
|
+
*/
|
|
70618
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.HttpServerInfo.prototype.setWwwauthList = function(value) {
|
|
70619
|
+
return jspb.Message.setField(this, 4, value || []);
|
|
70620
|
+
};
|
|
70621
|
+
|
|
70622
|
+
|
|
70623
|
+
/**
|
|
70624
|
+
* @param {string} value
|
|
70625
|
+
* @param {number=} opt_index
|
|
70626
|
+
* @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HttpServerInfo} returns this
|
|
70627
|
+
*/
|
|
70628
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.HttpServerInfo.prototype.addWwwauth = function(value, opt_index) {
|
|
70629
|
+
return jspb.Message.addToRepeatedField(this, 4, value, opt_index);
|
|
70630
|
+
};
|
|
70631
|
+
|
|
70632
|
+
|
|
70633
|
+
/**
|
|
70634
|
+
* Clears the list making it empty but non-null.
|
|
70635
|
+
* @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HttpServerInfo} returns this
|
|
70636
|
+
*/
|
|
70637
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.HttpServerInfo.prototype.clearWwwauthList = function() {
|
|
70638
|
+
return this.setWwwauthList([]);
|
|
70639
|
+
};
|
|
70640
|
+
|
|
70641
|
+
|
|
70642
|
+
/**
|
|
70643
|
+
* repeated string cookie = 5;
|
|
70644
|
+
* @return {!Array<string>}
|
|
70645
|
+
*/
|
|
70646
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.HttpServerInfo.prototype.getCookieList = function() {
|
|
70647
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 5));
|
|
70648
|
+
};
|
|
70649
|
+
|
|
70650
|
+
|
|
70651
|
+
/**
|
|
70652
|
+
* @param {!Array<string>} value
|
|
70653
|
+
* @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HttpServerInfo} returns this
|
|
70654
|
+
*/
|
|
70655
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.HttpServerInfo.prototype.setCookieList = function(value) {
|
|
70656
|
+
return jspb.Message.setField(this, 5, value || []);
|
|
70657
|
+
};
|
|
70658
|
+
|
|
70659
|
+
|
|
70660
|
+
/**
|
|
70661
|
+
* @param {string} value
|
|
70662
|
+
* @param {number=} opt_index
|
|
70663
|
+
* @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HttpServerInfo} returns this
|
|
70664
|
+
*/
|
|
70665
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.HttpServerInfo.prototype.addCookie = function(value, opt_index) {
|
|
70666
|
+
return jspb.Message.addToRepeatedField(this, 5, value, opt_index);
|
|
70667
|
+
};
|
|
70668
|
+
|
|
70669
|
+
|
|
70670
|
+
/**
|
|
70671
|
+
* Clears the list making it empty but non-null.
|
|
70672
|
+
* @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HttpServerInfo} returns this
|
|
70673
|
+
*/
|
|
70674
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.HttpServerInfo.prototype.clearCookieList = function() {
|
|
70675
|
+
return this.setCookieList([]);
|
|
70676
|
+
};
|
|
70677
|
+
|
|
70678
|
+
|
|
70679
|
+
/**
|
|
70680
|
+
* optional google.protobuf.StringValue title = 6;
|
|
70681
|
+
* @return {?proto.google.protobuf.StringValue}
|
|
70682
|
+
*/
|
|
70683
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.HttpServerInfo.prototype.getTitle = function() {
|
|
70684
|
+
return /** @type{?proto.google.protobuf.StringValue} */ (
|
|
70685
|
+
jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 6));
|
|
70686
|
+
};
|
|
70687
|
+
|
|
70688
|
+
|
|
70689
|
+
/**
|
|
70690
|
+
* @param {?proto.google.protobuf.StringValue|undefined} value
|
|
70691
|
+
* @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HttpServerInfo} returns this
|
|
70692
|
+
*/
|
|
70693
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.HttpServerInfo.prototype.setTitle = function(value) {
|
|
70694
|
+
return jspb.Message.setWrapperField(this, 6, value);
|
|
70695
|
+
};
|
|
70696
|
+
|
|
70697
|
+
|
|
70698
|
+
/**
|
|
70699
|
+
* Clears the message field making it undefined.
|
|
70700
|
+
* @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HttpServerInfo} returns this
|
|
70701
|
+
*/
|
|
70702
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.HttpServerInfo.prototype.clearTitle = function() {
|
|
70703
|
+
return this.setTitle(undefined);
|
|
70704
|
+
};
|
|
70705
|
+
|
|
70706
|
+
|
|
70707
|
+
/**
|
|
70708
|
+
* Returns whether this field is set.
|
|
70709
|
+
* @return {boolean}
|
|
70710
|
+
*/
|
|
70711
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.HttpServerInfo.prototype.hasTitle = function() {
|
|
70712
|
+
return jspb.Message.getField(this, 6) != null;
|
|
70713
|
+
};
|
|
70714
|
+
|
|
70715
|
+
|
|
70716
|
+
/**
|
|
70717
|
+
* optional google.protobuf.BytesValue favicon = 7;
|
|
70718
|
+
* @return {?proto.google.protobuf.BytesValue}
|
|
70719
|
+
*/
|
|
70720
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.HttpServerInfo.prototype.getFavicon = function() {
|
|
70721
|
+
return /** @type{?proto.google.protobuf.BytesValue} */ (
|
|
70722
|
+
jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.BytesValue, 7));
|
|
70723
|
+
};
|
|
70724
|
+
|
|
70725
|
+
|
|
70726
|
+
/**
|
|
70727
|
+
* @param {?proto.google.protobuf.BytesValue|undefined} value
|
|
70728
|
+
* @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HttpServerInfo} returns this
|
|
70729
|
+
*/
|
|
70730
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.HttpServerInfo.prototype.setFavicon = function(value) {
|
|
70731
|
+
return jspb.Message.setWrapperField(this, 7, value);
|
|
70732
|
+
};
|
|
70733
|
+
|
|
70734
|
+
|
|
70735
|
+
/**
|
|
70736
|
+
* Clears the message field making it undefined.
|
|
70737
|
+
* @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HttpServerInfo} returns this
|
|
70738
|
+
*/
|
|
70739
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.HttpServerInfo.prototype.clearFavicon = function() {
|
|
70740
|
+
return this.setFavicon(undefined);
|
|
70741
|
+
};
|
|
70742
|
+
|
|
70743
|
+
|
|
70744
|
+
/**
|
|
70745
|
+
* Returns whether this field is set.
|
|
70746
|
+
* @return {boolean}
|
|
70747
|
+
*/
|
|
70748
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.HttpServerInfo.prototype.hasFavicon = function() {
|
|
70749
|
+
return jspb.Message.getField(this, 7) != null;
|
|
70750
|
+
};
|
|
70751
|
+
|
|
70752
|
+
|
|
70753
|
+
/**
|
|
70754
|
+
* repeated HttpCertificate certificates = 8;
|
|
70755
|
+
* @return {!Array<!proto.com.lansweeper.discovery.sensor.windows.v1.HttpCertificate>}
|
|
70756
|
+
*/
|
|
70757
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.HttpServerInfo.prototype.getCertificatesList = function() {
|
|
70758
|
+
return /** @type{!Array<!proto.com.lansweeper.discovery.sensor.windows.v1.HttpCertificate>} */ (
|
|
70759
|
+
jspb.Message.getRepeatedWrapperField(this, proto.com.lansweeper.discovery.sensor.windows.v1.HttpCertificate, 8));
|
|
70760
|
+
};
|
|
70761
|
+
|
|
70762
|
+
|
|
70763
|
+
/**
|
|
70764
|
+
* @param {!Array<!proto.com.lansweeper.discovery.sensor.windows.v1.HttpCertificate>} value
|
|
70765
|
+
* @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HttpServerInfo} returns this
|
|
70766
|
+
*/
|
|
70767
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.HttpServerInfo.prototype.setCertificatesList = function(value) {
|
|
70768
|
+
return jspb.Message.setRepeatedWrapperField(this, 8, value);
|
|
70769
|
+
};
|
|
70770
|
+
|
|
70771
|
+
|
|
70772
|
+
/**
|
|
70773
|
+
* @param {!proto.com.lansweeper.discovery.sensor.windows.v1.HttpCertificate=} opt_value
|
|
70774
|
+
* @param {number=} opt_index
|
|
70775
|
+
* @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HttpCertificate}
|
|
70776
|
+
*/
|
|
70777
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.HttpServerInfo.prototype.addCertificates = function(opt_value, opt_index) {
|
|
70778
|
+
return jspb.Message.addToRepeatedWrapperField(this, 8, opt_value, proto.com.lansweeper.discovery.sensor.windows.v1.HttpCertificate, opt_index);
|
|
70779
|
+
};
|
|
70780
|
+
|
|
70781
|
+
|
|
70782
|
+
/**
|
|
70783
|
+
* Clears the list making it empty but non-null.
|
|
70784
|
+
* @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HttpServerInfo} returns this
|
|
70785
|
+
*/
|
|
70786
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.HttpServerInfo.prototype.clearCertificatesList = function() {
|
|
70787
|
+
return this.setCertificatesList([]);
|
|
70788
|
+
};
|
|
70789
|
+
|
|
70790
|
+
|
|
70791
|
+
|
|
70792
|
+
|
|
70793
|
+
|
|
70794
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
70795
|
+
/**
|
|
70796
|
+
* Creates an object representation of this proto.
|
|
70797
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
70798
|
+
* Optional fields that are not set will be set to undefined.
|
|
70799
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
70800
|
+
* For the list of reserved names please see:
|
|
70801
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
70802
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
70803
|
+
* JSPB instance for transitional soy proto support:
|
|
70804
|
+
* http://goto/soy-param-migration
|
|
70805
|
+
* @return {!Object}
|
|
70806
|
+
*/
|
|
70807
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.HttpCertificate.prototype.toObject = function(opt_includeInstance) {
|
|
70808
|
+
return proto.com.lansweeper.discovery.sensor.windows.v1.HttpCertificate.toObject(opt_includeInstance, this);
|
|
70809
|
+
};
|
|
70810
|
+
|
|
70811
|
+
|
|
70812
|
+
/**
|
|
70813
|
+
* Static version of the {@see toObject} method.
|
|
70814
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
70815
|
+
* the JSPB instance for transitional soy proto support:
|
|
70816
|
+
* http://goto/soy-param-migration
|
|
70817
|
+
* @param {!proto.com.lansweeper.discovery.sensor.windows.v1.HttpCertificate} msg The msg instance to transform.
|
|
70818
|
+
* @return {!Object}
|
|
70819
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
70820
|
+
*/
|
|
70821
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.HttpCertificate.toObject = function(includeInstance, msg) {
|
|
70822
|
+
var f, obj = {
|
|
70823
|
+
thumbprint: (f = msg.getThumbprint()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
|
|
70824
|
+
serialNumber: (f = msg.getSerialNumber()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
|
|
70825
|
+
x509Issuer: (f = msg.getX509Issuer()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
|
|
70826
|
+
x509Subject: (f = msg.getX509Subject()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
|
|
70827
|
+
effectiveDate: (f = msg.getEffectiveDate()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
70828
|
+
expirationDate: (f = msg.getExpirationDate()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
70829
|
+
sslErrors: jspb.Message.getFieldWithDefault(msg, 7, 0)
|
|
70830
|
+
};
|
|
70831
|
+
|
|
70832
|
+
if (includeInstance) {
|
|
70833
|
+
obj.$jspbMessageInstance = msg;
|
|
70834
|
+
}
|
|
70835
|
+
return obj;
|
|
70836
|
+
};
|
|
70837
|
+
}
|
|
70838
|
+
|
|
70839
|
+
|
|
70840
|
+
/**
|
|
70841
|
+
* Deserializes binary data (in protobuf wire format).
|
|
70842
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
70843
|
+
* @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HttpCertificate}
|
|
70844
|
+
*/
|
|
70845
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.HttpCertificate.deserializeBinary = function(bytes) {
|
|
70846
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
70847
|
+
var msg = new proto.com.lansweeper.discovery.sensor.windows.v1.HttpCertificate;
|
|
70848
|
+
return proto.com.lansweeper.discovery.sensor.windows.v1.HttpCertificate.deserializeBinaryFromReader(msg, reader);
|
|
70849
|
+
};
|
|
70850
|
+
|
|
70851
|
+
|
|
70852
|
+
/**
|
|
70853
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
70854
|
+
* given reader into the given message object.
|
|
70855
|
+
* @param {!proto.com.lansweeper.discovery.sensor.windows.v1.HttpCertificate} msg The message object to deserialize into.
|
|
70856
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
70857
|
+
* @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HttpCertificate}
|
|
70858
|
+
*/
|
|
70859
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.HttpCertificate.deserializeBinaryFromReader = function(msg, reader) {
|
|
70860
|
+
while (reader.nextField()) {
|
|
70861
|
+
if (reader.isEndGroup()) {
|
|
70862
|
+
break;
|
|
70863
|
+
}
|
|
70864
|
+
var field = reader.getFieldNumber();
|
|
70865
|
+
switch (field) {
|
|
70866
|
+
case 1:
|
|
70867
|
+
var value = new google_protobuf_wrappers_pb.StringValue;
|
|
70868
|
+
reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
|
|
70869
|
+
msg.setThumbprint(value);
|
|
70870
|
+
break;
|
|
70871
|
+
case 2:
|
|
70872
|
+
var value = new google_protobuf_wrappers_pb.StringValue;
|
|
70873
|
+
reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
|
|
70874
|
+
msg.setSerialNumber(value);
|
|
70875
|
+
break;
|
|
70876
|
+
case 3:
|
|
70877
|
+
var value = new google_protobuf_wrappers_pb.StringValue;
|
|
70878
|
+
reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
|
|
70879
|
+
msg.setX509Issuer(value);
|
|
70880
|
+
break;
|
|
70881
|
+
case 4:
|
|
70882
|
+
var value = new google_protobuf_wrappers_pb.StringValue;
|
|
70883
|
+
reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
|
|
70884
|
+
msg.setX509Subject(value);
|
|
70885
|
+
break;
|
|
70886
|
+
case 5:
|
|
70887
|
+
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
70888
|
+
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
70889
|
+
msg.setEffectiveDate(value);
|
|
70890
|
+
break;
|
|
70891
|
+
case 6:
|
|
70892
|
+
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
70893
|
+
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
70894
|
+
msg.setExpirationDate(value);
|
|
70895
|
+
break;
|
|
70896
|
+
case 7:
|
|
70897
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
70898
|
+
msg.setSslErrors(value);
|
|
70899
|
+
break;
|
|
70900
|
+
default:
|
|
70901
|
+
reader.skipField();
|
|
70902
|
+
break;
|
|
70903
|
+
}
|
|
70904
|
+
}
|
|
70905
|
+
return msg;
|
|
70906
|
+
};
|
|
70907
|
+
|
|
70908
|
+
|
|
70909
|
+
/**
|
|
70910
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
70911
|
+
* @return {!Uint8Array}
|
|
70912
|
+
*/
|
|
70913
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.HttpCertificate.prototype.serializeBinary = function() {
|
|
70914
|
+
var writer = new jspb.BinaryWriter();
|
|
70915
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.HttpCertificate.serializeBinaryToWriter(this, writer);
|
|
70916
|
+
return writer.getResultBuffer();
|
|
70917
|
+
};
|
|
70918
|
+
|
|
70919
|
+
|
|
70920
|
+
/**
|
|
70921
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
70922
|
+
* format), writing to the given BinaryWriter.
|
|
70923
|
+
* @param {!proto.com.lansweeper.discovery.sensor.windows.v1.HttpCertificate} message
|
|
70924
|
+
* @param {!jspb.BinaryWriter} writer
|
|
70925
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
70926
|
+
*/
|
|
70927
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.HttpCertificate.serializeBinaryToWriter = function(message, writer) {
|
|
70928
|
+
var f = undefined;
|
|
70929
|
+
f = message.getThumbprint();
|
|
70930
|
+
if (f != null) {
|
|
70931
|
+
writer.writeMessage(
|
|
70932
|
+
1,
|
|
70933
|
+
f,
|
|
70934
|
+
google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
|
|
70935
|
+
);
|
|
70936
|
+
}
|
|
70937
|
+
f = message.getSerialNumber();
|
|
70938
|
+
if (f != null) {
|
|
70939
|
+
writer.writeMessage(
|
|
70940
|
+
2,
|
|
70941
|
+
f,
|
|
70942
|
+
google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
|
|
70943
|
+
);
|
|
70944
|
+
}
|
|
70945
|
+
f = message.getX509Issuer();
|
|
70946
|
+
if (f != null) {
|
|
70947
|
+
writer.writeMessage(
|
|
70948
|
+
3,
|
|
70949
|
+
f,
|
|
70950
|
+
google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
|
|
70951
|
+
);
|
|
70952
|
+
}
|
|
70953
|
+
f = message.getX509Subject();
|
|
70954
|
+
if (f != null) {
|
|
70955
|
+
writer.writeMessage(
|
|
70956
|
+
4,
|
|
70957
|
+
f,
|
|
70958
|
+
google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
|
|
70959
|
+
);
|
|
70960
|
+
}
|
|
70961
|
+
f = message.getEffectiveDate();
|
|
70962
|
+
if (f != null) {
|
|
70963
|
+
writer.writeMessage(
|
|
70964
|
+
5,
|
|
70965
|
+
f,
|
|
70966
|
+
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
70967
|
+
);
|
|
70968
|
+
}
|
|
70969
|
+
f = message.getExpirationDate();
|
|
70970
|
+
if (f != null) {
|
|
70971
|
+
writer.writeMessage(
|
|
70972
|
+
6,
|
|
70973
|
+
f,
|
|
70974
|
+
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
70975
|
+
);
|
|
70976
|
+
}
|
|
70977
|
+
f = message.getSslErrors();
|
|
70978
|
+
if (f !== 0) {
|
|
70979
|
+
writer.writeUint32(
|
|
70980
|
+
7,
|
|
70981
|
+
f
|
|
70982
|
+
);
|
|
70983
|
+
}
|
|
70984
|
+
};
|
|
70985
|
+
|
|
70986
|
+
|
|
70987
|
+
/**
|
|
70988
|
+
* optional google.protobuf.StringValue thumbprint = 1;
|
|
70989
|
+
* @return {?proto.google.protobuf.StringValue}
|
|
70990
|
+
*/
|
|
70991
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.HttpCertificate.prototype.getThumbprint = function() {
|
|
70992
|
+
return /** @type{?proto.google.protobuf.StringValue} */ (
|
|
70993
|
+
jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 1));
|
|
70994
|
+
};
|
|
70995
|
+
|
|
70996
|
+
|
|
70997
|
+
/**
|
|
70998
|
+
* @param {?proto.google.protobuf.StringValue|undefined} value
|
|
70999
|
+
* @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HttpCertificate} returns this
|
|
71000
|
+
*/
|
|
71001
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.HttpCertificate.prototype.setThumbprint = function(value) {
|
|
71002
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
71003
|
+
};
|
|
71004
|
+
|
|
71005
|
+
|
|
71006
|
+
/**
|
|
71007
|
+
* Clears the message field making it undefined.
|
|
71008
|
+
* @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HttpCertificate} returns this
|
|
71009
|
+
*/
|
|
71010
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.HttpCertificate.prototype.clearThumbprint = function() {
|
|
71011
|
+
return this.setThumbprint(undefined);
|
|
71012
|
+
};
|
|
71013
|
+
|
|
71014
|
+
|
|
71015
|
+
/**
|
|
71016
|
+
* Returns whether this field is set.
|
|
71017
|
+
* @return {boolean}
|
|
71018
|
+
*/
|
|
71019
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.HttpCertificate.prototype.hasThumbprint = function() {
|
|
71020
|
+
return jspb.Message.getField(this, 1) != null;
|
|
71021
|
+
};
|
|
71022
|
+
|
|
71023
|
+
|
|
71024
|
+
/**
|
|
71025
|
+
* optional google.protobuf.StringValue serial_number = 2;
|
|
71026
|
+
* @return {?proto.google.protobuf.StringValue}
|
|
71027
|
+
*/
|
|
71028
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.HttpCertificate.prototype.getSerialNumber = function() {
|
|
71029
|
+
return /** @type{?proto.google.protobuf.StringValue} */ (
|
|
71030
|
+
jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 2));
|
|
71031
|
+
};
|
|
71032
|
+
|
|
71033
|
+
|
|
71034
|
+
/**
|
|
71035
|
+
* @param {?proto.google.protobuf.StringValue|undefined} value
|
|
71036
|
+
* @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HttpCertificate} returns this
|
|
71037
|
+
*/
|
|
71038
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.HttpCertificate.prototype.setSerialNumber = function(value) {
|
|
71039
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
71040
|
+
};
|
|
71041
|
+
|
|
71042
|
+
|
|
71043
|
+
/**
|
|
71044
|
+
* Clears the message field making it undefined.
|
|
71045
|
+
* @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HttpCertificate} returns this
|
|
71046
|
+
*/
|
|
71047
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.HttpCertificate.prototype.clearSerialNumber = function() {
|
|
71048
|
+
return this.setSerialNumber(undefined);
|
|
71049
|
+
};
|
|
71050
|
+
|
|
71051
|
+
|
|
71052
|
+
/**
|
|
71053
|
+
* Returns whether this field is set.
|
|
71054
|
+
* @return {boolean}
|
|
71055
|
+
*/
|
|
71056
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.HttpCertificate.prototype.hasSerialNumber = function() {
|
|
71057
|
+
return jspb.Message.getField(this, 2) != null;
|
|
71058
|
+
};
|
|
71059
|
+
|
|
71060
|
+
|
|
71061
|
+
/**
|
|
71062
|
+
* optional google.protobuf.StringValue x509_issuer = 3;
|
|
71063
|
+
* @return {?proto.google.protobuf.StringValue}
|
|
71064
|
+
*/
|
|
71065
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.HttpCertificate.prototype.getX509Issuer = function() {
|
|
71066
|
+
return /** @type{?proto.google.protobuf.StringValue} */ (
|
|
71067
|
+
jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 3));
|
|
71068
|
+
};
|
|
71069
|
+
|
|
71070
|
+
|
|
71071
|
+
/**
|
|
71072
|
+
* @param {?proto.google.protobuf.StringValue|undefined} value
|
|
71073
|
+
* @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HttpCertificate} returns this
|
|
71074
|
+
*/
|
|
71075
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.HttpCertificate.prototype.setX509Issuer = function(value) {
|
|
71076
|
+
return jspb.Message.setWrapperField(this, 3, value);
|
|
71077
|
+
};
|
|
71078
|
+
|
|
71079
|
+
|
|
71080
|
+
/**
|
|
71081
|
+
* Clears the message field making it undefined.
|
|
71082
|
+
* @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HttpCertificate} returns this
|
|
71083
|
+
*/
|
|
71084
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.HttpCertificate.prototype.clearX509Issuer = function() {
|
|
71085
|
+
return this.setX509Issuer(undefined);
|
|
71086
|
+
};
|
|
71087
|
+
|
|
71088
|
+
|
|
71089
|
+
/**
|
|
71090
|
+
* Returns whether this field is set.
|
|
71091
|
+
* @return {boolean}
|
|
71092
|
+
*/
|
|
71093
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.HttpCertificate.prototype.hasX509Issuer = function() {
|
|
71094
|
+
return jspb.Message.getField(this, 3) != null;
|
|
71095
|
+
};
|
|
71096
|
+
|
|
71097
|
+
|
|
71098
|
+
/**
|
|
71099
|
+
* optional google.protobuf.StringValue x509_subject = 4;
|
|
71100
|
+
* @return {?proto.google.protobuf.StringValue}
|
|
71101
|
+
*/
|
|
71102
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.HttpCertificate.prototype.getX509Subject = function() {
|
|
71103
|
+
return /** @type{?proto.google.protobuf.StringValue} */ (
|
|
71104
|
+
jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 4));
|
|
71105
|
+
};
|
|
71106
|
+
|
|
71107
|
+
|
|
71108
|
+
/**
|
|
71109
|
+
* @param {?proto.google.protobuf.StringValue|undefined} value
|
|
71110
|
+
* @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HttpCertificate} returns this
|
|
71111
|
+
*/
|
|
71112
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.HttpCertificate.prototype.setX509Subject = function(value) {
|
|
71113
|
+
return jspb.Message.setWrapperField(this, 4, value);
|
|
71114
|
+
};
|
|
71115
|
+
|
|
71116
|
+
|
|
71117
|
+
/**
|
|
71118
|
+
* Clears the message field making it undefined.
|
|
71119
|
+
* @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HttpCertificate} returns this
|
|
71120
|
+
*/
|
|
71121
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.HttpCertificate.prototype.clearX509Subject = function() {
|
|
71122
|
+
return this.setX509Subject(undefined);
|
|
71123
|
+
};
|
|
71124
|
+
|
|
71125
|
+
|
|
71126
|
+
/**
|
|
71127
|
+
* Returns whether this field is set.
|
|
71128
|
+
* @return {boolean}
|
|
71129
|
+
*/
|
|
71130
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.HttpCertificate.prototype.hasX509Subject = function() {
|
|
71131
|
+
return jspb.Message.getField(this, 4) != null;
|
|
71132
|
+
};
|
|
71133
|
+
|
|
71134
|
+
|
|
71135
|
+
/**
|
|
71136
|
+
* optional google.protobuf.Timestamp effective_date = 5;
|
|
71137
|
+
* @return {?proto.google.protobuf.Timestamp}
|
|
71138
|
+
*/
|
|
71139
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.HttpCertificate.prototype.getEffectiveDate = function() {
|
|
71140
|
+
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
|
71141
|
+
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 5));
|
|
71142
|
+
};
|
|
71143
|
+
|
|
71144
|
+
|
|
71145
|
+
/**
|
|
71146
|
+
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
71147
|
+
* @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HttpCertificate} returns this
|
|
71148
|
+
*/
|
|
71149
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.HttpCertificate.prototype.setEffectiveDate = function(value) {
|
|
71150
|
+
return jspb.Message.setWrapperField(this, 5, value);
|
|
71151
|
+
};
|
|
71152
|
+
|
|
71153
|
+
|
|
71154
|
+
/**
|
|
71155
|
+
* Clears the message field making it undefined.
|
|
71156
|
+
* @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HttpCertificate} returns this
|
|
71157
|
+
*/
|
|
71158
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.HttpCertificate.prototype.clearEffectiveDate = function() {
|
|
71159
|
+
return this.setEffectiveDate(undefined);
|
|
71160
|
+
};
|
|
71161
|
+
|
|
71162
|
+
|
|
71163
|
+
/**
|
|
71164
|
+
* Returns whether this field is set.
|
|
71165
|
+
* @return {boolean}
|
|
71166
|
+
*/
|
|
71167
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.HttpCertificate.prototype.hasEffectiveDate = function() {
|
|
71168
|
+
return jspb.Message.getField(this, 5) != null;
|
|
71169
|
+
};
|
|
71170
|
+
|
|
71171
|
+
|
|
71172
|
+
/**
|
|
71173
|
+
* optional google.protobuf.Timestamp expiration_date = 6;
|
|
71174
|
+
* @return {?proto.google.protobuf.Timestamp}
|
|
71175
|
+
*/
|
|
71176
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.HttpCertificate.prototype.getExpirationDate = function() {
|
|
71177
|
+
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
|
71178
|
+
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 6));
|
|
71179
|
+
};
|
|
71180
|
+
|
|
71181
|
+
|
|
71182
|
+
/**
|
|
71183
|
+
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
71184
|
+
* @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HttpCertificate} returns this
|
|
71185
|
+
*/
|
|
71186
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.HttpCertificate.prototype.setExpirationDate = function(value) {
|
|
71187
|
+
return jspb.Message.setWrapperField(this, 6, value);
|
|
71188
|
+
};
|
|
71189
|
+
|
|
71190
|
+
|
|
71191
|
+
/**
|
|
71192
|
+
* Clears the message field making it undefined.
|
|
71193
|
+
* @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HttpCertificate} returns this
|
|
71194
|
+
*/
|
|
71195
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.HttpCertificate.prototype.clearExpirationDate = function() {
|
|
71196
|
+
return this.setExpirationDate(undefined);
|
|
71197
|
+
};
|
|
71198
|
+
|
|
71199
|
+
|
|
71200
|
+
/**
|
|
71201
|
+
* Returns whether this field is set.
|
|
71202
|
+
* @return {boolean}
|
|
71203
|
+
*/
|
|
71204
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.HttpCertificate.prototype.hasExpirationDate = function() {
|
|
71205
|
+
return jspb.Message.getField(this, 6) != null;
|
|
71206
|
+
};
|
|
71207
|
+
|
|
71208
|
+
|
|
71209
|
+
/**
|
|
71210
|
+
* optional uint32 ssl_errors = 7;
|
|
71211
|
+
* @return {number}
|
|
71212
|
+
*/
|
|
71213
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.HttpCertificate.prototype.getSslErrors = function() {
|
|
71214
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
|
|
71215
|
+
};
|
|
71216
|
+
|
|
71217
|
+
|
|
71218
|
+
/**
|
|
71219
|
+
* @param {number} value
|
|
71220
|
+
* @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HttpCertificate} returns this
|
|
71221
|
+
*/
|
|
71222
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.HttpCertificate.prototype.setSslErrors = function(value) {
|
|
71223
|
+
return jspb.Message.setProto3IntField(this, 7, value);
|
|
71224
|
+
};
|
|
71225
|
+
|
|
71226
|
+
|
|
70076
71227
|
/**
|
|
70077
71228
|
* @enum {number}
|
|
70078
71229
|
*/
|
|
@@ -70141,4 +71292,14 @@ proto.com.lansweeper.discovery.sensor.windows.v1.KeyUsageType = {
|
|
|
70141
71292
|
DECIPHER_ONLY: 8
|
|
70142
71293
|
};
|
|
70143
71294
|
|
|
71295
|
+
/**
|
|
71296
|
+
* @enum {number}
|
|
71297
|
+
*/
|
|
71298
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.SslPolicyErrors = {
|
|
71299
|
+
NONE: 0,
|
|
71300
|
+
REMOTE_CERTIFICATE_NOT_AVAILABLE: 1,
|
|
71301
|
+
REMOTE_CERTIFICATE_NAME_MISMATCH: 2,
|
|
71302
|
+
REMOTE_CERTIFICATE_CHAIN_ERRORS: 4
|
|
71303
|
+
};
|
|
71304
|
+
|
|
70144
71305
|
goog.object.extend(exports, proto.com.lansweeper.discovery.sensor.windows.v1);
|