@lansweeper/discovery-sensor-proto 2.27.0 → 2.27.1
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 +6 -0
- package/gen-proto/discovery_sections_mac_pb.js +52 -1
- package/gen-proto/discovery_sections_unix_pb.d.ts +6 -0
- package/gen-proto/discovery_sections_unix_pb.js +52 -1
- package/gen-proto/discovery_sections_windows_pb.d.ts +6 -0
- package/gen-proto/discovery_sections_windows_pb.js +52 -1
- package/gen-proto/image.json +1 -1
- package/package.json +2 -2
- package/proto/discovery_sections_mac.proto +1 -0
- package/proto/discovery_sections_unix.proto +1 -0
- package/proto/discovery_sections_windows.proto +1 -0
|
@@ -2055,6 +2055,11 @@ export class OpenPort extends jspb.Message {
|
|
|
2055
2055
|
getHttpServer(): HttpServerInfo | undefined;
|
|
2056
2056
|
setHttpServer(value?: HttpServerInfo): OpenPort;
|
|
2057
2057
|
|
|
2058
|
+
hasProtocol(): boolean;
|
|
2059
|
+
clearProtocol(): void;
|
|
2060
|
+
getProtocol(): google_protobuf_wrappers_pb.StringValue | undefined;
|
|
2061
|
+
setProtocol(value?: google_protobuf_wrappers_pb.StringValue): OpenPort;
|
|
2062
|
+
|
|
2058
2063
|
serializeBinary(): Uint8Array;
|
|
2059
2064
|
toObject(includeInstance?: boolean): OpenPort.AsObject;
|
|
2060
2065
|
static toObject(includeInstance: boolean, msg: OpenPort): OpenPort.AsObject;
|
|
@@ -2072,6 +2077,7 @@ export namespace OpenPort {
|
|
|
2072
2077
|
processName?: google_protobuf_wrappers_pb.StringValue.AsObject,
|
|
2073
2078
|
banner?: google_protobuf_wrappers_pb.StringValue.AsObject,
|
|
2074
2079
|
httpServer?: HttpServerInfo.AsObject,
|
|
2080
|
+
protocol?: google_protobuf_wrappers_pb.StringValue.AsObject,
|
|
2075
2081
|
}
|
|
2076
2082
|
}
|
|
2077
2083
|
|
|
@@ -16756,7 +16756,8 @@ proto.com.lansweeper.discovery.sensor.mac.v1.OpenPort.toObject = function(includ
|
|
|
16756
16756
|
localAddress: (f = msg.getLocalAddress()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
|
|
16757
16757
|
processName: (f = msg.getProcessName()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
|
|
16758
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)
|
|
16759
|
+
httpServer: (f = msg.getHttpServer()) && proto.com.lansweeper.discovery.sensor.mac.v1.HttpServerInfo.toObject(includeInstance, f),
|
|
16760
|
+
protocol: (f = msg.getProtocol()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f)
|
|
16760
16761
|
};
|
|
16761
16762
|
|
|
16762
16763
|
if (includeInstance) {
|
|
@@ -16817,6 +16818,11 @@ proto.com.lansweeper.discovery.sensor.mac.v1.OpenPort.deserializeBinaryFromReade
|
|
|
16817
16818
|
reader.readMessage(value,proto.com.lansweeper.discovery.sensor.mac.v1.HttpServerInfo.deserializeBinaryFromReader);
|
|
16818
16819
|
msg.setHttpServer(value);
|
|
16819
16820
|
break;
|
|
16821
|
+
case 6:
|
|
16822
|
+
var value = new google_protobuf_wrappers_pb.StringValue;
|
|
16823
|
+
reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
|
|
16824
|
+
msg.setProtocol(value);
|
|
16825
|
+
break;
|
|
16820
16826
|
default:
|
|
16821
16827
|
reader.skipField();
|
|
16822
16828
|
break;
|
|
@@ -16885,6 +16891,14 @@ proto.com.lansweeper.discovery.sensor.mac.v1.OpenPort.serializeBinaryToWriter =
|
|
|
16885
16891
|
proto.com.lansweeper.discovery.sensor.mac.v1.HttpServerInfo.serializeBinaryToWriter
|
|
16886
16892
|
);
|
|
16887
16893
|
}
|
|
16894
|
+
f = message.getProtocol();
|
|
16895
|
+
if (f != null) {
|
|
16896
|
+
writer.writeMessage(
|
|
16897
|
+
6,
|
|
16898
|
+
f,
|
|
16899
|
+
google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
|
|
16900
|
+
);
|
|
16901
|
+
}
|
|
16888
16902
|
};
|
|
16889
16903
|
|
|
16890
16904
|
|
|
@@ -17054,6 +17068,43 @@ proto.com.lansweeper.discovery.sensor.mac.v1.OpenPort.prototype.hasHttpServer =
|
|
|
17054
17068
|
};
|
|
17055
17069
|
|
|
17056
17070
|
|
|
17071
|
+
/**
|
|
17072
|
+
* optional google.protobuf.StringValue protocol = 6;
|
|
17073
|
+
* @return {?proto.google.protobuf.StringValue}
|
|
17074
|
+
*/
|
|
17075
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.OpenPort.prototype.getProtocol = function() {
|
|
17076
|
+
return /** @type{?proto.google.protobuf.StringValue} */ (
|
|
17077
|
+
jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 6));
|
|
17078
|
+
};
|
|
17079
|
+
|
|
17080
|
+
|
|
17081
|
+
/**
|
|
17082
|
+
* @param {?proto.google.protobuf.StringValue|undefined} value
|
|
17083
|
+
* @return {!proto.com.lansweeper.discovery.sensor.mac.v1.OpenPort} returns this
|
|
17084
|
+
*/
|
|
17085
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.OpenPort.prototype.setProtocol = function(value) {
|
|
17086
|
+
return jspb.Message.setWrapperField(this, 6, value);
|
|
17087
|
+
};
|
|
17088
|
+
|
|
17089
|
+
|
|
17090
|
+
/**
|
|
17091
|
+
* Clears the message field making it undefined.
|
|
17092
|
+
* @return {!proto.com.lansweeper.discovery.sensor.mac.v1.OpenPort} returns this
|
|
17093
|
+
*/
|
|
17094
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.OpenPort.prototype.clearProtocol = function() {
|
|
17095
|
+
return this.setProtocol(undefined);
|
|
17096
|
+
};
|
|
17097
|
+
|
|
17098
|
+
|
|
17099
|
+
/**
|
|
17100
|
+
* Returns whether this field is set.
|
|
17101
|
+
* @return {boolean}
|
|
17102
|
+
*/
|
|
17103
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.OpenPort.prototype.hasProtocol = function() {
|
|
17104
|
+
return jspb.Message.getField(this, 6) != null;
|
|
17105
|
+
};
|
|
17106
|
+
|
|
17107
|
+
|
|
17057
17108
|
|
|
17058
17109
|
/**
|
|
17059
17110
|
* List of repeated fields within this message type.
|
|
@@ -2266,6 +2266,11 @@ export class OpenPort extends jspb.Message {
|
|
|
2266
2266
|
getHttpServer(): HttpServerInfo | undefined;
|
|
2267
2267
|
setHttpServer(value?: HttpServerInfo): OpenPort;
|
|
2268
2268
|
|
|
2269
|
+
hasProtocol(): boolean;
|
|
2270
|
+
clearProtocol(): void;
|
|
2271
|
+
getProtocol(): google_protobuf_wrappers_pb.StringValue | undefined;
|
|
2272
|
+
setProtocol(value?: google_protobuf_wrappers_pb.StringValue): OpenPort;
|
|
2273
|
+
|
|
2269
2274
|
serializeBinary(): Uint8Array;
|
|
2270
2275
|
toObject(includeInstance?: boolean): OpenPort.AsObject;
|
|
2271
2276
|
static toObject(includeInstance: boolean, msg: OpenPort): OpenPort.AsObject;
|
|
@@ -2283,6 +2288,7 @@ export namespace OpenPort {
|
|
|
2283
2288
|
processName?: google_protobuf_wrappers_pb.StringValue.AsObject,
|
|
2284
2289
|
banner?: google_protobuf_wrappers_pb.StringValue.AsObject,
|
|
2285
2290
|
httpServer?: HttpServerInfo.AsObject,
|
|
2291
|
+
protocol?: google_protobuf_wrappers_pb.StringValue.AsObject,
|
|
2286
2292
|
}
|
|
2287
2293
|
}
|
|
2288
2294
|
|
|
@@ -18501,7 +18501,8 @@ proto.com.lansweeper.discovery.sensor.unix.v1.OpenPort.toObject = function(inclu
|
|
|
18501
18501
|
localAddress: (f = msg.getLocalAddress()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
|
|
18502
18502
|
processName: (f = msg.getProcessName()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
|
|
18503
18503
|
banner: (f = msg.getBanner()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
|
|
18504
|
-
httpServer: (f = msg.getHttpServer()) && proto.com.lansweeper.discovery.sensor.unix.v1.HttpServerInfo.toObject(includeInstance, f)
|
|
18504
|
+
httpServer: (f = msg.getHttpServer()) && proto.com.lansweeper.discovery.sensor.unix.v1.HttpServerInfo.toObject(includeInstance, f),
|
|
18505
|
+
protocol: (f = msg.getProtocol()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f)
|
|
18505
18506
|
};
|
|
18506
18507
|
|
|
18507
18508
|
if (includeInstance) {
|
|
@@ -18562,6 +18563,11 @@ proto.com.lansweeper.discovery.sensor.unix.v1.OpenPort.deserializeBinaryFromRead
|
|
|
18562
18563
|
reader.readMessage(value,proto.com.lansweeper.discovery.sensor.unix.v1.HttpServerInfo.deserializeBinaryFromReader);
|
|
18563
18564
|
msg.setHttpServer(value);
|
|
18564
18565
|
break;
|
|
18566
|
+
case 6:
|
|
18567
|
+
var value = new google_protobuf_wrappers_pb.StringValue;
|
|
18568
|
+
reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
|
|
18569
|
+
msg.setProtocol(value);
|
|
18570
|
+
break;
|
|
18565
18571
|
default:
|
|
18566
18572
|
reader.skipField();
|
|
18567
18573
|
break;
|
|
@@ -18630,6 +18636,14 @@ proto.com.lansweeper.discovery.sensor.unix.v1.OpenPort.serializeBinaryToWriter =
|
|
|
18630
18636
|
proto.com.lansweeper.discovery.sensor.unix.v1.HttpServerInfo.serializeBinaryToWriter
|
|
18631
18637
|
);
|
|
18632
18638
|
}
|
|
18639
|
+
f = message.getProtocol();
|
|
18640
|
+
if (f != null) {
|
|
18641
|
+
writer.writeMessage(
|
|
18642
|
+
6,
|
|
18643
|
+
f,
|
|
18644
|
+
google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
|
|
18645
|
+
);
|
|
18646
|
+
}
|
|
18633
18647
|
};
|
|
18634
18648
|
|
|
18635
18649
|
|
|
@@ -18799,6 +18813,43 @@ proto.com.lansweeper.discovery.sensor.unix.v1.OpenPort.prototype.hasHttpServer =
|
|
|
18799
18813
|
};
|
|
18800
18814
|
|
|
18801
18815
|
|
|
18816
|
+
/**
|
|
18817
|
+
* optional google.protobuf.StringValue protocol = 6;
|
|
18818
|
+
* @return {?proto.google.protobuf.StringValue}
|
|
18819
|
+
*/
|
|
18820
|
+
proto.com.lansweeper.discovery.sensor.unix.v1.OpenPort.prototype.getProtocol = function() {
|
|
18821
|
+
return /** @type{?proto.google.protobuf.StringValue} */ (
|
|
18822
|
+
jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 6));
|
|
18823
|
+
};
|
|
18824
|
+
|
|
18825
|
+
|
|
18826
|
+
/**
|
|
18827
|
+
* @param {?proto.google.protobuf.StringValue|undefined} value
|
|
18828
|
+
* @return {!proto.com.lansweeper.discovery.sensor.unix.v1.OpenPort} returns this
|
|
18829
|
+
*/
|
|
18830
|
+
proto.com.lansweeper.discovery.sensor.unix.v1.OpenPort.prototype.setProtocol = function(value) {
|
|
18831
|
+
return jspb.Message.setWrapperField(this, 6, value);
|
|
18832
|
+
};
|
|
18833
|
+
|
|
18834
|
+
|
|
18835
|
+
/**
|
|
18836
|
+
* Clears the message field making it undefined.
|
|
18837
|
+
* @return {!proto.com.lansweeper.discovery.sensor.unix.v1.OpenPort} returns this
|
|
18838
|
+
*/
|
|
18839
|
+
proto.com.lansweeper.discovery.sensor.unix.v1.OpenPort.prototype.clearProtocol = function() {
|
|
18840
|
+
return this.setProtocol(undefined);
|
|
18841
|
+
};
|
|
18842
|
+
|
|
18843
|
+
|
|
18844
|
+
/**
|
|
18845
|
+
* Returns whether this field is set.
|
|
18846
|
+
* @return {boolean}
|
|
18847
|
+
*/
|
|
18848
|
+
proto.com.lansweeper.discovery.sensor.unix.v1.OpenPort.prototype.hasProtocol = function() {
|
|
18849
|
+
return jspb.Message.getField(this, 6) != null;
|
|
18850
|
+
};
|
|
18851
|
+
|
|
18852
|
+
|
|
18802
18853
|
|
|
18803
18854
|
/**
|
|
18804
18855
|
* List of repeated fields within this message type.
|
|
@@ -8476,6 +8476,11 @@ export class OpenPort extends jspb.Message {
|
|
|
8476
8476
|
getHttpServer(): HttpServerInfo | undefined;
|
|
8477
8477
|
setHttpServer(value?: HttpServerInfo): OpenPort;
|
|
8478
8478
|
|
|
8479
|
+
hasProtocol(): boolean;
|
|
8480
|
+
clearProtocol(): void;
|
|
8481
|
+
getProtocol(): google_protobuf_wrappers_pb.StringValue | undefined;
|
|
8482
|
+
setProtocol(value?: google_protobuf_wrappers_pb.StringValue): OpenPort;
|
|
8483
|
+
|
|
8479
8484
|
serializeBinary(): Uint8Array;
|
|
8480
8485
|
toObject(includeInstance?: boolean): OpenPort.AsObject;
|
|
8481
8486
|
static toObject(includeInstance: boolean, msg: OpenPort): OpenPort.AsObject;
|
|
@@ -8493,6 +8498,7 @@ export namespace OpenPort {
|
|
|
8493
8498
|
processName?: google_protobuf_wrappers_pb.StringValue.AsObject,
|
|
8494
8499
|
banner?: google_protobuf_wrappers_pb.StringValue.AsObject,
|
|
8495
8500
|
httpServer?: HttpServerInfo.AsObject,
|
|
8501
|
+
protocol?: google_protobuf_wrappers_pb.StringValue.AsObject,
|
|
8496
8502
|
}
|
|
8497
8503
|
}
|
|
8498
8504
|
|
|
@@ -69979,7 +69979,8 @@ proto.com.lansweeper.discovery.sensor.windows.v1.OpenPort.toObject = function(in
|
|
|
69979
69979
|
localAddress: (f = msg.getLocalAddress()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
|
|
69980
69980
|
processName: (f = msg.getProcessName()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
|
|
69981
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)
|
|
69982
|
+
httpServer: (f = msg.getHttpServer()) && proto.com.lansweeper.discovery.sensor.windows.v1.HttpServerInfo.toObject(includeInstance, f),
|
|
69983
|
+
protocol: (f = msg.getProtocol()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f)
|
|
69983
69984
|
};
|
|
69984
69985
|
|
|
69985
69986
|
if (includeInstance) {
|
|
@@ -70040,6 +70041,11 @@ proto.com.lansweeper.discovery.sensor.windows.v1.OpenPort.deserializeBinaryFromR
|
|
|
70040
70041
|
reader.readMessage(value,proto.com.lansweeper.discovery.sensor.windows.v1.HttpServerInfo.deserializeBinaryFromReader);
|
|
70041
70042
|
msg.setHttpServer(value);
|
|
70042
70043
|
break;
|
|
70044
|
+
case 6:
|
|
70045
|
+
var value = new google_protobuf_wrappers_pb.StringValue;
|
|
70046
|
+
reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
|
|
70047
|
+
msg.setProtocol(value);
|
|
70048
|
+
break;
|
|
70043
70049
|
default:
|
|
70044
70050
|
reader.skipField();
|
|
70045
70051
|
break;
|
|
@@ -70108,6 +70114,14 @@ proto.com.lansweeper.discovery.sensor.windows.v1.OpenPort.serializeBinaryToWrite
|
|
|
70108
70114
|
proto.com.lansweeper.discovery.sensor.windows.v1.HttpServerInfo.serializeBinaryToWriter
|
|
70109
70115
|
);
|
|
70110
70116
|
}
|
|
70117
|
+
f = message.getProtocol();
|
|
70118
|
+
if (f != null) {
|
|
70119
|
+
writer.writeMessage(
|
|
70120
|
+
6,
|
|
70121
|
+
f,
|
|
70122
|
+
google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
|
|
70123
|
+
);
|
|
70124
|
+
}
|
|
70111
70125
|
};
|
|
70112
70126
|
|
|
70113
70127
|
|
|
@@ -70277,6 +70291,43 @@ proto.com.lansweeper.discovery.sensor.windows.v1.OpenPort.prototype.hasHttpServe
|
|
|
70277
70291
|
};
|
|
70278
70292
|
|
|
70279
70293
|
|
|
70294
|
+
/**
|
|
70295
|
+
* optional google.protobuf.StringValue protocol = 6;
|
|
70296
|
+
* @return {?proto.google.protobuf.StringValue}
|
|
70297
|
+
*/
|
|
70298
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.OpenPort.prototype.getProtocol = function() {
|
|
70299
|
+
return /** @type{?proto.google.protobuf.StringValue} */ (
|
|
70300
|
+
jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 6));
|
|
70301
|
+
};
|
|
70302
|
+
|
|
70303
|
+
|
|
70304
|
+
/**
|
|
70305
|
+
* @param {?proto.google.protobuf.StringValue|undefined} value
|
|
70306
|
+
* @return {!proto.com.lansweeper.discovery.sensor.windows.v1.OpenPort} returns this
|
|
70307
|
+
*/
|
|
70308
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.OpenPort.prototype.setProtocol = function(value) {
|
|
70309
|
+
return jspb.Message.setWrapperField(this, 6, value);
|
|
70310
|
+
};
|
|
70311
|
+
|
|
70312
|
+
|
|
70313
|
+
/**
|
|
70314
|
+
* Clears the message field making it undefined.
|
|
70315
|
+
* @return {!proto.com.lansweeper.discovery.sensor.windows.v1.OpenPort} returns this
|
|
70316
|
+
*/
|
|
70317
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.OpenPort.prototype.clearProtocol = function() {
|
|
70318
|
+
return this.setProtocol(undefined);
|
|
70319
|
+
};
|
|
70320
|
+
|
|
70321
|
+
|
|
70322
|
+
/**
|
|
70323
|
+
* Returns whether this field is set.
|
|
70324
|
+
* @return {boolean}
|
|
70325
|
+
*/
|
|
70326
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.OpenPort.prototype.hasProtocol = function() {
|
|
70327
|
+
return jspb.Message.getField(this, 6) != null;
|
|
70328
|
+
};
|
|
70329
|
+
|
|
70330
|
+
|
|
70280
70331
|
|
|
70281
70332
|
/**
|
|
70282
70333
|
* List of repeated fields within this message type.
|