@lansweeper/scanningconfig-grpc 0.1.0 → 0.1.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/CHANGELOG.md +8 -0
- package/Lansweeper.ScanningConfig.GRPC.csproj +12 -12
- package/bin/Debug/net6.0/Lansweeper.ScanningConfig.GRPC.deps.json +2 -2
- package/bin/Debug/net6.0/Lansweeper.ScanningConfig.GRPC.dll +0 -0
- package/bin/Debug/net6.0/Lansweeper.ScanningConfig.GRPC.pdb +0 -0
- package/gen-proto/image.json +1 -1
- package/gen-proto/scanningconfig_pb.d.ts +34 -0
- package/gen-proto/scanningconfig_pb.js +298 -3
- package/generated-go/scanningconfig.pb.go +245 -140
- package/generated-go/scanningconfig_grpc.pb.go +1 -1
- package/obj/Debug/net6.0/Lansweeper.ScanningConfig.GRPC.AssemblyInfo.cs +3 -3
- package/obj/Debug/net6.0/Lansweeper.ScanningConfig.GRPC.AssemblyInfoInputs.cache +1 -1
- package/obj/Debug/net6.0/Lansweeper.ScanningConfig.GRPC.csproj.AssemblyReference.cache +0 -0
- package/obj/Debug/net6.0/Lansweeper.ScanningConfig.GRPC.csproj.CoreCompileInputs.cache +1 -1
- package/obj/Debug/net6.0/Lansweeper.ScanningConfig.GRPC.dll +0 -0
- package/obj/Debug/net6.0/Lansweeper.ScanningConfig.GRPC.pdb +0 -0
- package/obj/Debug/net6.0/proto/Scanningconfig.cs +343 -37
- package/obj/Debug/net6.0/ref/Lansweeper.ScanningConfig.GRPC.dll +0 -0
- package/obj/Debug/net6.0/refint/Lansweeper.ScanningConfig.GRPC.dll +0 -0
- package/obj/Lansweeper.ScanningConfig.GRPC.csproj.nuget.dgspec.json +2 -2
- package/obj/Lansweeper.ScanningConfig.GRPC.csproj.nuget.g.props +1 -1
- package/obj/project.assets.json +2 -2
- package/obj/project.nuget.cache +1 -1
- package/package.json +2 -2
- package/proto/scanningconfig.proto +11 -2
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [0.1.1](https://github.com/Lansweeper/lansweeperapis/compare/@lansweeper/scanningconfig-grpc@0.1.0...@lansweeper/scanningconfig-grpc@0.1.1) (2023-12-14)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @lansweeper/scanningconfig-grpc
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
# [0.1.0](https://github.com/Lansweeper/lansweeperapis/compare/@lansweeper/scanningconfig-grpc@0.0.2...@lansweeper/scanningconfig-grpc@0.1.0) (2023-04-28)
|
|
7
15
|
|
|
8
16
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
2
2
|
<Project Sdk="Microsoft.NET.Sdk">
|
|
3
3
|
<PropertyGroup>
|
|
4
4
|
<TargetFrameworks>net6.0</TargetFrameworks>
|
|
@@ -7,23 +7,23 @@
|
|
|
7
7
|
<Company>Lansweeper</Company>
|
|
8
8
|
<Product>Lansweeper ScanningConfig model/proto</Product>
|
|
9
9
|
<Copyright>Lansweeper</Copyright>
|
|
10
|
-
<PackageVersion>0.0
|
|
11
|
-
<Version>0.0
|
|
12
|
-
<FileVersion>0.0
|
|
10
|
+
<PackageVersion>0.1.0</PackageVersion>
|
|
11
|
+
<Version>0.1.0</Version>
|
|
12
|
+
<FileVersion>0.1.0</FileVersion>
|
|
13
13
|
<RepositoryUrl>https://github.com/Lansweeper/lansweeperapis</RepositoryUrl>
|
|
14
14
|
</PropertyGroup>
|
|
15
|
-
<ItemGroup>
|
|
16
|
-
<None Remove="proto\scanningconfig.proto"
|
|
15
|
+
<ItemGroup>
|
|
16
|
+
<None Remove="proto\scanningconfig.proto"/>
|
|
17
17
|
</ItemGroup>
|
|
18
18
|
<ItemGroup>
|
|
19
|
-
<PackageReference Include="Google.Protobuf" Version="3.22.0"
|
|
20
|
-
<PackageReference Include="Grpc.Core" Version="2.46.6"
|
|
21
|
-
<PackageReference Include="Grpc.Tools" Version="2.54.0">
|
|
22
|
-
<PrivateAssets>all</PrivateAssets>
|
|
23
|
-
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
|
19
|
+
<PackageReference Include="Google.Protobuf" Version="3.22.0"/>
|
|
20
|
+
<PackageReference Include="Grpc.Core" Version="2.46.6"/>
|
|
21
|
+
<PackageReference Include="Grpc.Tools" Version="2.54.0">
|
|
22
|
+
<PrivateAssets>all</PrivateAssets>
|
|
23
|
+
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
|
24
24
|
</PackageReference>
|
|
25
25
|
</ItemGroup>
|
|
26
26
|
<ItemGroup>
|
|
27
|
-
<Protobuf Include="proto\scanningconfig.proto" GrpcServices="Client"
|
|
27
|
+
<Protobuf Include="proto\scanningconfig.proto" GrpcServices="Client"/>
|
|
28
28
|
</ItemGroup>
|
|
29
29
|
</Project>
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"compilationOptions": {},
|
|
7
7
|
"targets": {
|
|
8
8
|
".NETCoreApp,Version=v6.0": {
|
|
9
|
-
"Lansweeper.ScanningConfig.GRPC/0.0
|
|
9
|
+
"Lansweeper.ScanningConfig.GRPC/0.1.0": {
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"Google.Protobuf": "3.22.0",
|
|
12
12
|
"Grpc.Core": "2.46.6",
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
}
|
|
80
80
|
},
|
|
81
81
|
"libraries": {
|
|
82
|
-
"Lansweeper.ScanningConfig.GRPC/0.0
|
|
82
|
+
"Lansweeper.ScanningConfig.GRPC/0.1.0": {
|
|
83
83
|
"type": "project",
|
|
84
84
|
"serviceable": false,
|
|
85
85
|
"sha512": ""
|
|
Binary file
|
|
Binary file
|
package/gen-proto/image.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":[{"name":"proto/scanningconfig.proto","package":"lansweeper.scanningconfig.v1","messageType":[{"name":"GetConfigurationsBySourceRequest","field":[{"name":"source_id","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"sourceId"},{"name":"site_id","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"siteId"}]},{"name":"GetConfigurationsBySourceResponse","field":[{"name":"configs","number":1,"label":"LABEL_REPEATED","type":"TYPE_MESSAGE","typeName":".lansweeper.scanningconfig.v1.Component","jsonName":"configs"}]},{"name":"Component","field":[{"name":"id","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"id"},{"name":"type","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_ENUM","typeName":".lansweeper.scanningconfig.v1.Component.ComponentType","jsonName":"type"},{"name":"actions","number":3,"label":"LABEL_REPEATED","type":"TYPE_MESSAGE","typeName":".lansweeper.scanningconfig.v1.Action","jsonName":"actions"},{"name":"op_config","number":4,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".lansweeper.scanningconfig.v1.OperationalConfig","oneofIndex":0,"jsonName":"opConfig","proto3Optional":true}],"enumType":[{"name":"ComponentType","value":[{"name":"UNSPECIFIED","number":0},{"name":"AGENT","number":1},{"name":"IT_SENSOR","number":2},{"name":"IT_HUB","number":3}]}],"oneofDecl":[{"name":"_op_config"}]},{"name":"AssetRadar","field":[{"name":"enabled","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_BOOL","jsonName":"enabled"},{"name":"excluded_interfaces","number":2,"label":"LABEL_REPEATED","type":"TYPE_STRING","jsonName":"excludedInterfaces"}]},{"name":"AutoUpdate","field":[{"name":"enabled","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_BOOL","jsonName":"enabled"},{"name":"schedule","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"schedule"}]},{"name":"OperationalConfig","field":[{"name":"asset_radar_config","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".lansweeper.scanningconfig.v1.AssetRadar","oneofIndex":0,"jsonName":"assetRadarConfig","proto3Optional":true},{"name":"auto_update_config","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".lansweeper.scanningconfig.v1.AutoUpdate","oneofIndex":1,"jsonName":"autoUpdateConfig","proto3Optional":true}],"oneofDecl":[{"name":"_asset_radar_config"},{"name":"_auto_update_config"}]},{"name":"Trigger","field":[{"name":"cron_expr","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"cronExpr"}]},{"name":"Action","field":[{"name":"triggers","number":1,"label":"LABEL_REPEATED","type":"TYPE_MESSAGE","typeName":".lansweeper.scanningconfig.v1.Trigger","jsonName":"triggers"},{"name":"action_type","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_ENUM","typeName":".lansweeper.scanningconfig.v1.Action.ActionType","jsonName":"actionType"},{"name":"credentials","number":3,"label":"LABEL_REPEATED","type":"TYPE_MESSAGE","typeName":".lansweeper.scanningconfig.v1.Credential","jsonName":"credentials"},{"name":"agent","number":4,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".lansweeper.scanningconfig.v1.Agent","oneofIndex":0,"jsonName":"agent"}],"enumType":[{"name":"ActionType","value":[{"name":"UNSPECIFIED","number":0},{"name":"AGENT","number":1}]}],"oneofDecl":[{"name":"definition"}]},{"name":"Agent","field":[{"name":"scan_focus","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_ENUM","typeName":".lansweeper.scanningconfig.v1.Agent.ScanFocus","jsonName":"scanFocus"}],"enumType":[{"name":"ScanFocus","value":[{"name":"ALL","number":0},{"name":"USERS","number":1},{"name":"INVENTORY","number":2}]}]},{"name":"Credential","field":[{"name":"type","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_ENUM","typeName":".lansweeper.scanningconfig.v1.Credential.CredentialType","jsonName":"type"}],"enumType":[{"name":"CredentialType","value":[{"name":"UNSPECIFIED","number":0}]}]}],"service":[{"name":"ScanningConfigService","method":[{"name":"GetConfigurationsBySource","inputType":".lansweeper.scanningconfig.v1.GetConfigurationsBySourceRequest","outputType":".lansweeper.scanningconfig.v1.GetConfigurationsBySourceResponse","options":{}}]}],"options":{"goPackage":"./generated-go"},"sourceCodeInfo":{"location":[{"span":[0,0,82,1]},{"path":[12],"span":[0,0,18]},{"path":[2],"span":[2,0,37]},{"path":[8],"span":[3,0,37]},{"path":[8,11],"span":[3,0,37]},{"path":[6,0],"span":[5,0,7,1]},{"path":[6,0,1],"span":[5,8,29]},{"path":[6,0,2,0],"span":[6,2,112]},{"path":[6,0,2,0,1],"span":[6,6,31]},{"path":[6,0,2,0,2],"span":[6,32,64]},{"path":[6,0,2,0,3],"span":[6,75,108]},{"path":[4,0],"span":[9,0,12,1]},{"path":[4,0,1],"span":[9,8,40]},{"path":[4,0,2,0],"span":[10,2,23]},{"path":[4,0,2,0,5],"span":[10,2,8]},{"path":[4,0,2,0,1],"span":[10,9,18]},{"path":[4,0,2,0,3],"span":[10,21,22]},{"path":[4,0,2,1],"span":[11,2,21]},{"path":[4,0,2,1,5],"span":[11,2,8]},{"path":[4,0,2,1,1],"span":[11,9,16]},{"path":[4,0,2,1,3],"span":[11,19,20]},{"path":[4,1],"span":[14,0,16,1]},{"path":[4,1,1],"span":[14,8,41]},{"path":[4,1,2,0],"span":[15,2,33]},{"path":[4,1,2,0,4],"span":[15,2,10]},{"path":[4,1,2,0,6],"span":[15,11,20]},{"path":[4,1,2,0,1],"span":[15,21,28]},{"path":[4,1,2,0,3],"span":[15,31,32]},{"path":[4,2],"span":[18,0,30,1]},{"path":[4,2,1],"span":[18,8,17]},{"path":[4,2,4,0],"span":[19,2,24,3]},{"path":[4,2,4,0,1],"span":[19,7,20]},{"path":[4,2,4,0,2,0],"span":[20,4,20]},{"path":[4,2,4,0,2,0,1],"span":[20,4,15]},{"path":[4,2,4,0,2,0,2],"span":[20,18,19]},{"path":[4,2,4,0,2,1],"span":[21,4,14]},{"path":[4,2,4,0,2,1,1],"span":[21,4,9]},{"path":[4,2,4,0,2,1,2],"span":[21,12,13]},{"path":[4,2,4,0,2,2],"span":[22,4,18]},{"path":[4,2,4,0,2,2,1],"span":[22,4,13]},{"path":[4,2,4,0,2,2,2],"span":[22,16,17]},{"path":[4,2,4,0,2,3],"span":[23,4,15]},{"path":[4,2,4,0,2,3,1],"span":[23,4,10]},{"path":[4,2,4,0,2,3,2],"span":[23,13,14]},{"path":[4,2,2,0],"span":[26,2,16]},{"path":[4,2,2,0,5],"span":[26,2,8]},{"path":[4,2,2,0,1],"span":[26,9,11]},{"path":[4,2,2,0,3],"span":[26,14,15]},{"path":[4,2,2,1],"span":[27,2,25]},{"path":[4,2,2,1,6],"span":[27,2,15]},{"path":[4,2,2,1,1],"span":[27,16,20]},{"path":[4,2,2,1,3],"span":[27,23,24]},{"path":[4,2,2,2],"span":[28,2,30]},{"path":[4,2,2,2,4],"span":[28,2,10]},{"path":[4,2,2,2,6],"span":[28,11,17]},{"path":[4,2,2,2,1],"span":[28,18,25]},{"path":[4,2,2,2,3],"span":[28,28,29]},{"path":[4,2,2,3],"span":[29,2,43]},{"path":[4,2,2,3,4],"span":[29,2,10]},{"path":[4,2,2,3,6],"span":[29,11,28]},{"path":[4,2,2,3,1],"span":[29,29,38]},{"path":[4,2,2,3,3],"span":[29,41,42]},{"path":[4,3],"span":[32,0,35,1]},{"path":[4,3,1],"span":[32,8,18]},{"path":[4,3,2,0],"span":[33,2,19]},{"path":[4,3,2,0,5],"span":[33,2,6]},{"path":[4,3,2,0,1],"span":[33,7,14]},{"path":[4,3,2,0,3],"span":[33,17,18]},{"path":[4,3,2,1],"span":[34,2,42]},{"path":[4,3,2,1,4],"span":[34,2,10]},{"path":[4,3,2,1,5],"span":[34,11,17]},{"path":[4,3,2,1,1],"span":[34,18,37]},{"path":[4,3,2,1,3],"span":[34,40,41]},{"path":[4,4],"span":[37,0,40,1]},{"path":[4,4,1],"span":[37,8,18]},{"path":[4,4,2,0],"span":[38,2,19]},{"path":[4,4,2,0,5],"span":[38,2,6]},{"path":[4,4,2,0,1],"span":[38,7,14]},{"path":[4,4,2,0,3],"span":[38,17,18]},{"path":[4,4,2,1],"span":[39,2,22]},{"path":[4,4,2,1,5],"span":[39,2,8]},{"path":[4,4,2,1,1],"span":[39,9,17]},{"path":[4,4,2,1,3],"span":[39,20,21]},{"path":[4,5],"span":[42,0,45,1]},{"path":[4,5,1],"span":[42,8,25]},{"path":[4,5,2,0],"span":[43,2,45]},{"path":[4,5,2,0,4],"span":[43,2,10]},{"path":[4,5,2,0,6],"span":[43,11,21]},{"path":[4,5,2,0,1],"span":[43,22,40]},{"path":[4,5,2,0,3],"span":[43,43,44]},{"path":[4,5,2,1],"span":[44,2,45]},{"path":[4,5,2,1,4],"span":[44,2,10]},{"path":[4,5,2,1,6],"span":[44,11,21]},{"path":[4,5,2,1,1],"span":[44,22,40]},{"path":[4,5,2,1,3],"span":[44,43,44]},{"path":[4,6],"span":[47,0,49,1]},{"path":[4,6,1],"span":[47,8,15]},{"path":[4,6,2,0],"span":[48,2,22]},{"path":[4,6,2,0,5],"span":[48,2,8]},{"path":[4,6,2,0,1],"span":[48,9,18]},{"path":[4,6,2,0,3],"span":[48,20,21]},{"path":[4,7],"span":[51,0,63,1]},{"path":[4,7,1],"span":[51,8,14]},{"path":[4,7,4,0],"span":[52,2,55,3]},{"path":[4,7,4,0,1],"span":[52,7,17]},{"path":[4,7,4,0,2,0],"span":[53,4,20]},{"path":[4,7,4,0,2,0,1],"span":[53,4,15]},{"path":[4,7,4,0,2,0,2],"span":[53,18,19]},{"path":[4,7,4,0,2,1],"span":[54,4,14]},{"path":[4,7,4,0,2,1,1],"span":[54,4,9]},{"path":[4,7,4,0,2,1,2],"span":[54,12,13]},{"path":[4,7,2,0],"span":[57,2,32]},{"path":[4,7,2,0,4],"span":[57,2,10]},{"path":[4,7,2,0,6],"span":[57,11,18]},{"path":[4,7,2,0,1],"span":[57,19,27]},{"path":[4,7,2,0,3],"span":[57,30,31]},{"path":[4,7,2,1],"span":[58,2,29]},{"path":[4,7,2,1,6],"span":[58,2,12]},{"path":[4,7,2,1,1],"span":[58,13,24]},{"path":[4,7,2,1,3],"span":[58,27,28]},{"path":[4,7,2,2],"span":[59,2,38]},{"path":[4,7,2,2,4],"span":[59,2,10]},{"path":[4,7,2,2,6],"span":[59,11,21]},{"path":[4,7,2,2,1],"span":[59,22,33]},{"path":[4,7,2,2,3],"span":[59,36,37]},{"path":[4,7,8,0],"span":[60,2,62,3]},{"path":[4,7,8,0,1],"span":[60,8,18]},{"path":[4,7,2,3],"span":[61,4,20]},{"path":[4,7,2,3,6],"span":[61,4,9]},{"path":[4,7,2,3,1],"span":[61,10,15]},{"path":[4,7,2,3,3],"span":[61,18,19]},{"path":[4,8],"span":[65,0,73,1]},{"path":[4,8,1],"span":[65,8,13]},{"path":[4,8,4,0],"span":[66,2,70,3]},{"path":[4,8,4,0,1],"span":[66,7,16]},{"path":[4,8,4,0,2,0],"span":[67,4,12]},{"path":[4,8,4,0,2,0,1],"span":[67,4,7]},{"path":[4,8,4,0,2,0,2],"span":[67,10,11]},{"path":[4,8,4,0,2,1],"span":[68,4,14]},{"path":[4,8,4,0,2,1,1],"span":[68,4,9]},{"path":[4,8,4,0,2,1,2],"span":[68,12,13]},{"path":[4,8,4,0,2,2],"span":[69,4,18]},{"path":[4,8,4,0,2,2,1],"span":[69,4,13]},{"path":[4,8,4,0,2,2,2],"span":[69,16,17]},{"path":[4,8,2,0],"span":[72,2,27]},{"path":[4,8,2,0,6],"span":[72,2,11]},{"path":[4,8,2,0,1],"span":[72,12,22]},{"path":[4,8,2,0,3],"span":[72,25,26]},{"path":[4,9],"span":[75,0,82,1]},{"path":[4,9,1],"span":[75,8,18]},{"path":[4,9,4,0],"span":[76,2,79,3]},{"path":[4,9,4,0,1],"span":[76,7,21]},{"path":[4,9,4,0,2,0],"span":[78,4,20]},{"path":[4,9,4,0,2,0,1],"span":[78,4,15]},{"path":[4,9,4,0,2,0,2],"span":[78,18,19]},{"path":[4,9,2,0],"span":[81,2,26]},{"path":[4,9,2,0,6],"span":[81,2,16]},{"path":[4,9,2,0,1],"span":[81,17,21]},{"path":[4,9,2,0,3],"span":[81,24,25]}]},"syntax":"proto3","bufExtension":{"isImport":false,"isSyntaxUnspecified":false}}]}
|
|
1
|
+
{"file":[{"name":"proto/scanningconfig.proto","package":"lansweeper.scanningconfig.v1","messageType":[{"name":"GetConfigurationsBySourceRequest","field":[{"name":"source_id","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"sourceId"},{"name":"site_id","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"siteId"}]},{"name":"GetConfigurationsBySourceResponse","field":[{"name":"configs","number":1,"label":"LABEL_REPEATED","type":"TYPE_MESSAGE","typeName":".lansweeper.scanningconfig.v1.Component","jsonName":"configs"}]},{"name":"Component","field":[{"name":"id","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"id"},{"name":"type","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_ENUM","typeName":".lansweeper.scanningconfig.v1.Component.ComponentType","jsonName":"type"},{"name":"actions","number":3,"label":"LABEL_REPEATED","type":"TYPE_MESSAGE","typeName":".lansweeper.scanningconfig.v1.Action","jsonName":"actions"},{"name":"op_config","number":4,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".lansweeper.scanningconfig.v1.OperationalConfig","oneofIndex":0,"jsonName":"opConfig","proto3Optional":true},{"name":"enabled","number":5,"label":"LABEL_OPTIONAL","type":"TYPE_BOOL","jsonName":"enabled"}],"enumType":[{"name":"ComponentType","value":[{"name":"UNSPECIFIED","number":0},{"name":"AGENT","number":1},{"name":"IT_SENSOR","number":2},{"name":"IT_HUB","number":3}]}],"oneofDecl":[{"name":"_op_config"}]},{"name":"AssetRadar","field":[{"name":"enabled","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_BOOL","jsonName":"enabled"},{"name":"excluded_interfaces","number":2,"label":"LABEL_REPEATED","type":"TYPE_STRING","jsonName":"excludedInterfaces"}],"options":{"deprecated":true}},{"name":"NetworkVisibility","field":[{"name":"enabled","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_BOOL","jsonName":"enabled"},{"name":"excluded_interfaces","number":2,"label":"LABEL_REPEATED","type":"TYPE_STRING","jsonName":"excludedInterfaces"}]},{"name":"AutoUpdate","field":[{"name":"enabled","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_BOOL","jsonName":"enabled"},{"name":"schedule","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"schedule"}]},{"name":"OperationalConfig","field":[{"name":"asset_radar_config","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".lansweeper.scanningconfig.v1.AssetRadar","oneofIndex":0,"jsonName":"assetRadarConfig","options":{"deprecated":true},"proto3Optional":true},{"name":"auto_update_config","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".lansweeper.scanningconfig.v1.AutoUpdate","oneofIndex":1,"jsonName":"autoUpdateConfig","proto3Optional":true},{"name":"network_visibility_config","number":3,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".lansweeper.scanningconfig.v1.NetworkVisibility","oneofIndex":2,"jsonName":"networkVisibilityConfig","proto3Optional":true}],"oneofDecl":[{"name":"_asset_radar_config"},{"name":"_auto_update_config"},{"name":"_network_visibility_config"}]},{"name":"Trigger","field":[{"name":"cron_expr","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"cronExpr"}]},{"name":"Action","field":[{"name":"triggers","number":1,"label":"LABEL_REPEATED","type":"TYPE_MESSAGE","typeName":".lansweeper.scanningconfig.v1.Trigger","jsonName":"triggers"},{"name":"action_type","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_ENUM","typeName":".lansweeper.scanningconfig.v1.Action.ActionType","jsonName":"actionType"},{"name":"credentials","number":3,"label":"LABEL_REPEATED","type":"TYPE_MESSAGE","typeName":".lansweeper.scanningconfig.v1.Credential","jsonName":"credentials"},{"name":"agent","number":4,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".lansweeper.scanningconfig.v1.Agent","oneofIndex":0,"jsonName":"agent"}],"enumType":[{"name":"ActionType","value":[{"name":"UNSPECIFIED","number":0},{"name":"AGENT","number":1}]}],"oneofDecl":[{"name":"definition"}]},{"name":"Agent","field":[{"name":"scan_focus","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_ENUM","typeName":".lansweeper.scanningconfig.v1.Agent.ScanFocus","jsonName":"scanFocus"}],"enumType":[{"name":"ScanFocus","value":[{"name":"ALL","number":0},{"name":"USERS","number":1},{"name":"INVENTORY","number":2}]}]},{"name":"Credential","field":[{"name":"type","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_ENUM","typeName":".lansweeper.scanningconfig.v1.Credential.CredentialType","jsonName":"type"}],"enumType":[{"name":"CredentialType","value":[{"name":"UNSPECIFIED","number":0}]}]}],"service":[{"name":"ScanningConfigService","method":[{"name":"GetConfigurationsBySource","inputType":".lansweeper.scanningconfig.v1.GetConfigurationsBySourceRequest","outputType":".lansweeper.scanningconfig.v1.GetConfigurationsBySourceResponse","options":{}}]}],"options":{"goPackage":"./generated-go"},"sourceCodeInfo":{"location":[{"span":[0,0,91,1]},{"path":[12],"span":[0,0,18]},{"path":[2],"span":[2,0,37]},{"path":[8],"span":[3,0,37]},{"path":[8,11],"span":[3,0,37]},{"path":[6,0],"span":[5,0,7,1]},{"path":[6,0,1],"span":[5,8,29]},{"path":[6,0,2,0],"span":[6,2,112]},{"path":[6,0,2,0,1],"span":[6,6,31]},{"path":[6,0,2,0,2],"span":[6,32,64]},{"path":[6,0,2,0,3],"span":[6,75,108]},{"path":[4,0],"span":[9,0,12,1]},{"path":[4,0,1],"span":[9,8,40]},{"path":[4,0,2,0],"span":[10,2,23]},{"path":[4,0,2,0,5],"span":[10,2,8]},{"path":[4,0,2,0,1],"span":[10,9,18]},{"path":[4,0,2,0,3],"span":[10,21,22]},{"path":[4,0,2,1],"span":[11,2,21]},{"path":[4,0,2,1,5],"span":[11,2,8]},{"path":[4,0,2,1,1],"span":[11,9,16]},{"path":[4,0,2,1,3],"span":[11,19,20]},{"path":[4,1],"span":[14,0,16,1]},{"path":[4,1,1],"span":[14,8,41]},{"path":[4,1,2,0],"span":[15,2,33]},{"path":[4,1,2,0,4],"span":[15,2,10]},{"path":[4,1,2,0,6],"span":[15,11,20]},{"path":[4,1,2,0,1],"span":[15,21,28]},{"path":[4,1,2,0,3],"span":[15,31,32]},{"path":[4,2],"span":[18,0,31,1]},{"path":[4,2,1],"span":[18,8,17]},{"path":[4,2,4,0],"span":[19,2,24,3]},{"path":[4,2,4,0,1],"span":[19,7,20]},{"path":[4,2,4,0,2,0],"span":[20,4,20]},{"path":[4,2,4,0,2,0,1],"span":[20,4,15]},{"path":[4,2,4,0,2,0,2],"span":[20,18,19]},{"path":[4,2,4,0,2,1],"span":[21,4,14]},{"path":[4,2,4,0,2,1,1],"span":[21,4,9]},{"path":[4,2,4,0,2,1,2],"span":[21,12,13]},{"path":[4,2,4,0,2,2],"span":[22,4,18]},{"path":[4,2,4,0,2,2,1],"span":[22,4,13]},{"path":[4,2,4,0,2,2,2],"span":[22,16,17]},{"path":[4,2,4,0,2,3],"span":[23,4,15]},{"path":[4,2,4,0,2,3,1],"span":[23,4,10]},{"path":[4,2,4,0,2,3,2],"span":[23,13,14]},{"path":[4,2,2,0],"span":[26,2,16]},{"path":[4,2,2,0,5],"span":[26,2,8]},{"path":[4,2,2,0,1],"span":[26,9,11]},{"path":[4,2,2,0,3],"span":[26,14,15]},{"path":[4,2,2,1],"span":[27,2,25]},{"path":[4,2,2,1,6],"span":[27,2,15]},{"path":[4,2,2,1,1],"span":[27,16,20]},{"path":[4,2,2,1,3],"span":[27,23,24]},{"path":[4,2,2,2],"span":[28,2,30]},{"path":[4,2,2,2,4],"span":[28,2,10]},{"path":[4,2,2,2,6],"span":[28,11,17]},{"path":[4,2,2,2,1],"span":[28,18,25]},{"path":[4,2,2,2,3],"span":[28,28,29]},{"path":[4,2,2,3],"span":[29,2,43]},{"path":[4,2,2,3,4],"span":[29,2,10]},{"path":[4,2,2,3,6],"span":[29,11,28]},{"path":[4,2,2,3,1],"span":[29,29,38]},{"path":[4,2,2,3,3],"span":[29,41,42]},{"path":[4,2,2,4],"span":[30,2,19]},{"path":[4,2,2,4,5],"span":[30,2,6]},{"path":[4,2,2,4,1],"span":[30,7,14]},{"path":[4,2,2,4,3],"span":[30,17,18]},{"path":[4,3],"span":[35,0,39,1]},{"path":[4,3,1],"span":[35,8,18]},{"path":[4,3,7],"span":[36,2,27]},{"path":[4,3,7,3],"span":[36,2,27]},{"path":[4,3,2,0],"span":[37,2,19]},{"path":[4,3,2,0,5],"span":[37,2,6]},{"path":[4,3,2,0,1],"span":[37,7,14]},{"path":[4,3,2,0,3],"span":[37,17,18]},{"path":[4,3,2,1],"span":[38,2,42]},{"path":[4,3,2,1,4],"span":[38,2,10]},{"path":[4,3,2,1,5],"span":[38,11,17]},{"path":[4,3,2,1,1],"span":[38,18,37]},{"path":[4,3,2,1,3],"span":[38,40,41]},{"path":[4,4],"span":[41,0,44,1]},{"path":[4,4,1],"span":[41,8,25]},{"path":[4,4,2,0],"span":[42,2,19]},{"path":[4,4,2,0,5],"span":[42,2,6]},{"path":[4,4,2,0,1],"span":[42,7,14]},{"path":[4,4,2,0,3],"span":[42,17,18]},{"path":[4,4,2,1],"span":[43,2,42]},{"path":[4,4,2,1,4],"span":[43,2,10]},{"path":[4,4,2,1,5],"span":[43,11,17]},{"path":[4,4,2,1,1],"span":[43,18,37]},{"path":[4,4,2,1,3],"span":[43,40,41]},{"path":[4,5],"span":[45,0,48,1]},{"path":[4,5,1],"span":[45,8,18]},{"path":[4,5,2,0],"span":[46,2,19]},{"path":[4,5,2,0,5],"span":[46,2,6]},{"path":[4,5,2,0,1],"span":[46,7,14]},{"path":[4,5,2,0,3],"span":[46,17,18]},{"path":[4,5,2,1],"span":[47,2,22]},{"path":[4,5,2,1,5],"span":[47,2,8]},{"path":[4,5,2,1,1],"span":[47,9,17]},{"path":[4,5,2,1,3],"span":[47,20,21]},{"path":[4,6],"span":[50,0,54,1]},{"path":[4,6,1],"span":[50,8,25]},{"path":[4,6,2,0],"span":[51,2,65]},{"path":[4,6,2,0,4],"span":[51,2,10]},{"path":[4,6,2,0,6],"span":[51,11,21]},{"path":[4,6,2,0,1],"span":[51,22,40]},{"path":[4,6,2,0,3],"span":[51,43,44]},{"path":[4,6,2,0,8],"span":[51,45,64]},{"path":[4,6,2,0,8,3],"span":[51,46,63]},{"path":[4,6,2,1],"span":[52,2,45]},{"path":[4,6,2,1,4],"span":[52,2,10]},{"path":[4,6,2,1,6],"span":[52,11,21]},{"path":[4,6,2,1,1],"span":[52,22,40]},{"path":[4,6,2,1,3],"span":[52,43,44]},{"path":[4,6,2,2],"span":[53,2,59]},{"path":[4,6,2,2,4],"span":[53,2,10]},{"path":[4,6,2,2,6],"span":[53,11,28]},{"path":[4,6,2,2,1],"span":[53,29,54]},{"path":[4,6,2,2,3],"span":[53,57,58]},{"path":[4,7],"span":[56,0,58,1]},{"path":[4,7,1],"span":[56,8,15]},{"path":[4,7,2,0],"span":[57,2,22]},{"path":[4,7,2,0,5],"span":[57,2,8]},{"path":[4,7,2,0,1],"span":[57,9,18]},{"path":[4,7,2,0,3],"span":[57,20,21]},{"path":[4,8],"span":[60,0,72,1]},{"path":[4,8,1],"span":[60,8,14]},{"path":[4,8,4,0],"span":[61,2,64,3]},{"path":[4,8,4,0,1],"span":[61,7,17]},{"path":[4,8,4,0,2,0],"span":[62,4,20]},{"path":[4,8,4,0,2,0,1],"span":[62,4,15]},{"path":[4,8,4,0,2,0,2],"span":[62,18,19]},{"path":[4,8,4,0,2,1],"span":[63,4,14]},{"path":[4,8,4,0,2,1,1],"span":[63,4,9]},{"path":[4,8,4,0,2,1,2],"span":[63,12,13]},{"path":[4,8,2,0],"span":[66,2,32]},{"path":[4,8,2,0,4],"span":[66,2,10]},{"path":[4,8,2,0,6],"span":[66,11,18]},{"path":[4,8,2,0,1],"span":[66,19,27]},{"path":[4,8,2,0,3],"span":[66,30,31]},{"path":[4,8,2,1],"span":[67,2,29]},{"path":[4,8,2,1,6],"span":[67,2,12]},{"path":[4,8,2,1,1],"span":[67,13,24]},{"path":[4,8,2,1,3],"span":[67,27,28]},{"path":[4,8,2,2],"span":[68,2,38]},{"path":[4,8,2,2,4],"span":[68,2,10]},{"path":[4,8,2,2,6],"span":[68,11,21]},{"path":[4,8,2,2,1],"span":[68,22,33]},{"path":[4,8,2,2,3],"span":[68,36,37]},{"path":[4,8,8,0],"span":[69,2,71,3]},{"path":[4,8,8,0,1],"span":[69,8,18]},{"path":[4,8,2,3],"span":[70,4,20]},{"path":[4,8,2,3,6],"span":[70,4,9]},{"path":[4,8,2,3,1],"span":[70,10,15]},{"path":[4,8,2,3,3],"span":[70,18,19]},{"path":[4,9],"span":[74,0,82,1]},{"path":[4,9,1],"span":[74,8,13]},{"path":[4,9,4,0],"span":[75,2,79,3]},{"path":[4,9,4,0,1],"span":[75,7,16]},{"path":[4,9,4,0,2,0],"span":[76,4,12]},{"path":[4,9,4,0,2,0,1],"span":[76,4,7]},{"path":[4,9,4,0,2,0,2],"span":[76,10,11]},{"path":[4,9,4,0,2,1],"span":[77,4,14]},{"path":[4,9,4,0,2,1,1],"span":[77,4,9]},{"path":[4,9,4,0,2,1,2],"span":[77,12,13]},{"path":[4,9,4,0,2,2],"span":[78,4,18]},{"path":[4,9,4,0,2,2,1],"span":[78,4,13]},{"path":[4,9,4,0,2,2,2],"span":[78,16,17]},{"path":[4,9,2,0],"span":[81,2,27]},{"path":[4,9,2,0,6],"span":[81,2,11]},{"path":[4,9,2,0,1],"span":[81,12,22]},{"path":[4,9,2,0,3],"span":[81,25,26]},{"path":[4,10],"span":[84,0,91,1]},{"path":[4,10,1],"span":[84,8,18]},{"path":[4,10,4,0],"span":[85,2,88,3]},{"path":[4,10,4,0,1],"span":[85,7,21]},{"path":[4,10,4,0,2,0],"span":[87,4,20]},{"path":[4,10,4,0,2,0,1],"span":[87,4,15]},{"path":[4,10,4,0,2,0,2],"span":[87,18,19]},{"path":[4,10,2,0],"span":[90,2,26]},{"path":[4,10,2,0,6],"span":[90,2,16]},{"path":[4,10,2,0,1],"span":[90,17,21]},{"path":[4,10,2,0,3],"span":[90,24,25]}]},"syntax":"proto3","bufExtension":{"isImport":false,"isSyntaxUnspecified":false}}]}
|
|
@@ -65,6 +65,8 @@ export class Component extends jspb.Message {
|
|
|
65
65
|
clearOpConfig(): void;
|
|
66
66
|
getOpConfig(): OperationalConfig | undefined;
|
|
67
67
|
setOpConfig(value?: OperationalConfig): Component;
|
|
68
|
+
getEnabled(): boolean;
|
|
69
|
+
setEnabled(value: boolean): Component;
|
|
68
70
|
|
|
69
71
|
serializeBinary(): Uint8Array;
|
|
70
72
|
toObject(includeInstance?: boolean): Component.AsObject;
|
|
@@ -82,6 +84,7 @@ export namespace Component {
|
|
|
82
84
|
type: Component.ComponentType,
|
|
83
85
|
actionsList: Array<Action.AsObject>,
|
|
84
86
|
opConfig?: OperationalConfig.AsObject,
|
|
87
|
+
enabled: boolean,
|
|
85
88
|
}
|
|
86
89
|
|
|
87
90
|
export enum ComponentType {
|
|
@@ -118,6 +121,31 @@ export namespace AssetRadar {
|
|
|
118
121
|
}
|
|
119
122
|
}
|
|
120
123
|
|
|
124
|
+
export class NetworkVisibility extends jspb.Message {
|
|
125
|
+
getEnabled(): boolean;
|
|
126
|
+
setEnabled(value: boolean): NetworkVisibility;
|
|
127
|
+
clearExcludedInterfacesList(): void;
|
|
128
|
+
getExcludedInterfacesList(): Array<string>;
|
|
129
|
+
setExcludedInterfacesList(value: Array<string>): NetworkVisibility;
|
|
130
|
+
addExcludedInterfaces(value: string, index?: number): string;
|
|
131
|
+
|
|
132
|
+
serializeBinary(): Uint8Array;
|
|
133
|
+
toObject(includeInstance?: boolean): NetworkVisibility.AsObject;
|
|
134
|
+
static toObject(includeInstance: boolean, msg: NetworkVisibility): NetworkVisibility.AsObject;
|
|
135
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
136
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
137
|
+
static serializeBinaryToWriter(message: NetworkVisibility, writer: jspb.BinaryWriter): void;
|
|
138
|
+
static deserializeBinary(bytes: Uint8Array): NetworkVisibility;
|
|
139
|
+
static deserializeBinaryFromReader(message: NetworkVisibility, reader: jspb.BinaryReader): NetworkVisibility;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
export namespace NetworkVisibility {
|
|
143
|
+
export type AsObject = {
|
|
144
|
+
enabled: boolean,
|
|
145
|
+
excludedInterfacesList: Array<string>,
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
|
|
121
149
|
export class AutoUpdate extends jspb.Message {
|
|
122
150
|
getEnabled(): boolean;
|
|
123
151
|
setEnabled(value: boolean): AutoUpdate;
|
|
@@ -153,6 +181,11 @@ export class OperationalConfig extends jspb.Message {
|
|
|
153
181
|
getAutoUpdateConfig(): AutoUpdate | undefined;
|
|
154
182
|
setAutoUpdateConfig(value?: AutoUpdate): OperationalConfig;
|
|
155
183
|
|
|
184
|
+
hasNetworkVisibilityConfig(): boolean;
|
|
185
|
+
clearNetworkVisibilityConfig(): void;
|
|
186
|
+
getNetworkVisibilityConfig(): NetworkVisibility | undefined;
|
|
187
|
+
setNetworkVisibilityConfig(value?: NetworkVisibility): OperationalConfig;
|
|
188
|
+
|
|
156
189
|
serializeBinary(): Uint8Array;
|
|
157
190
|
toObject(includeInstance?: boolean): OperationalConfig.AsObject;
|
|
158
191
|
static toObject(includeInstance: boolean, msg: OperationalConfig): OperationalConfig.AsObject;
|
|
@@ -167,6 +200,7 @@ export namespace OperationalConfig {
|
|
|
167
200
|
export type AsObject = {
|
|
168
201
|
assetRadarConfig?: AssetRadar.AsObject,
|
|
169
202
|
autoUpdateConfig?: AutoUpdate.AsObject,
|
|
203
|
+
networkVisibilityConfig?: NetworkVisibility.AsObject,
|
|
170
204
|
}
|
|
171
205
|
}
|
|
172
206
|
|
|
@@ -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
|
goog.exportSymbol('proto.lansweeper.scanningconfig.v1.Action', null, global);
|
|
19
25
|
goog.exportSymbol('proto.lansweeper.scanningconfig.v1.Action.ActionType', null, global);
|
|
@@ -28,6 +34,7 @@ goog.exportSymbol('proto.lansweeper.scanningconfig.v1.Credential', null, global)
|
|
|
28
34
|
goog.exportSymbol('proto.lansweeper.scanningconfig.v1.Credential.CredentialType', null, global);
|
|
29
35
|
goog.exportSymbol('proto.lansweeper.scanningconfig.v1.GetConfigurationsBySourceRequest', null, global);
|
|
30
36
|
goog.exportSymbol('proto.lansweeper.scanningconfig.v1.GetConfigurationsBySourceResponse', null, global);
|
|
37
|
+
goog.exportSymbol('proto.lansweeper.scanningconfig.v1.NetworkVisibility', null, global);
|
|
31
38
|
goog.exportSymbol('proto.lansweeper.scanningconfig.v1.OperationalConfig', null, global);
|
|
32
39
|
goog.exportSymbol('proto.lansweeper.scanningconfig.v1.Trigger', null, global);
|
|
33
40
|
/**
|
|
@@ -114,6 +121,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
114
121
|
*/
|
|
115
122
|
proto.lansweeper.scanningconfig.v1.AssetRadar.displayName = 'proto.lansweeper.scanningconfig.v1.AssetRadar';
|
|
116
123
|
}
|
|
124
|
+
/**
|
|
125
|
+
* Generated by JsPbCodeGenerator.
|
|
126
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
127
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
128
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
129
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
130
|
+
* valid.
|
|
131
|
+
* @extends {jspb.Message}
|
|
132
|
+
* @constructor
|
|
133
|
+
*/
|
|
134
|
+
proto.lansweeper.scanningconfig.v1.NetworkVisibility = function(opt_data) {
|
|
135
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.lansweeper.scanningconfig.v1.NetworkVisibility.repeatedFields_, null);
|
|
136
|
+
};
|
|
137
|
+
goog.inherits(proto.lansweeper.scanningconfig.v1.NetworkVisibility, jspb.Message);
|
|
138
|
+
if (goog.DEBUG && !COMPILED) {
|
|
139
|
+
/**
|
|
140
|
+
* @public
|
|
141
|
+
* @override
|
|
142
|
+
*/
|
|
143
|
+
proto.lansweeper.scanningconfig.v1.NetworkVisibility.displayName = 'proto.lansweeper.scanningconfig.v1.NetworkVisibility';
|
|
144
|
+
}
|
|
117
145
|
/**
|
|
118
146
|
* Generated by JsPbCodeGenerator.
|
|
119
147
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -603,7 +631,8 @@ proto.lansweeper.scanningconfig.v1.Component.toObject = function(includeInstance
|
|
|
603
631
|
type: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
604
632
|
actionsList: jspb.Message.toObjectList(msg.getActionsList(),
|
|
605
633
|
proto.lansweeper.scanningconfig.v1.Action.toObject, includeInstance),
|
|
606
|
-
opConfig: (f = msg.getOpConfig()) && proto.lansweeper.scanningconfig.v1.OperationalConfig.toObject(includeInstance, f)
|
|
634
|
+
opConfig: (f = msg.getOpConfig()) && proto.lansweeper.scanningconfig.v1.OperationalConfig.toObject(includeInstance, f),
|
|
635
|
+
enabled: jspb.Message.getBooleanFieldWithDefault(msg, 5, false)
|
|
607
636
|
};
|
|
608
637
|
|
|
609
638
|
if (includeInstance) {
|
|
@@ -658,6 +687,10 @@ proto.lansweeper.scanningconfig.v1.Component.deserializeBinaryFromReader = funct
|
|
|
658
687
|
reader.readMessage(value,proto.lansweeper.scanningconfig.v1.OperationalConfig.deserializeBinaryFromReader);
|
|
659
688
|
msg.setOpConfig(value);
|
|
660
689
|
break;
|
|
690
|
+
case 5:
|
|
691
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
692
|
+
msg.setEnabled(value);
|
|
693
|
+
break;
|
|
661
694
|
default:
|
|
662
695
|
reader.skipField();
|
|
663
696
|
break;
|
|
@@ -717,6 +750,13 @@ proto.lansweeper.scanningconfig.v1.Component.serializeBinaryToWriter = function(
|
|
|
717
750
|
proto.lansweeper.scanningconfig.v1.OperationalConfig.serializeBinaryToWriter
|
|
718
751
|
);
|
|
719
752
|
}
|
|
753
|
+
f = message.getEnabled();
|
|
754
|
+
if (f) {
|
|
755
|
+
writer.writeBool(
|
|
756
|
+
5,
|
|
757
|
+
f
|
|
758
|
+
);
|
|
759
|
+
}
|
|
720
760
|
};
|
|
721
761
|
|
|
722
762
|
|
|
@@ -841,6 +881,24 @@ proto.lansweeper.scanningconfig.v1.Component.prototype.hasOpConfig = function()
|
|
|
841
881
|
};
|
|
842
882
|
|
|
843
883
|
|
|
884
|
+
/**
|
|
885
|
+
* optional bool enabled = 5;
|
|
886
|
+
* @return {boolean}
|
|
887
|
+
*/
|
|
888
|
+
proto.lansweeper.scanningconfig.v1.Component.prototype.getEnabled = function() {
|
|
889
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false));
|
|
890
|
+
};
|
|
891
|
+
|
|
892
|
+
|
|
893
|
+
/**
|
|
894
|
+
* @param {boolean} value
|
|
895
|
+
* @return {!proto.lansweeper.scanningconfig.v1.Component} returns this
|
|
896
|
+
*/
|
|
897
|
+
proto.lansweeper.scanningconfig.v1.Component.prototype.setEnabled = function(value) {
|
|
898
|
+
return jspb.Message.setProto3BooleanField(this, 5, value);
|
|
899
|
+
};
|
|
900
|
+
|
|
901
|
+
|
|
844
902
|
|
|
845
903
|
/**
|
|
846
904
|
* List of repeated fields within this message type.
|
|
@@ -1028,6 +1086,192 @@ proto.lansweeper.scanningconfig.v1.AssetRadar.prototype.clearExcludedInterfacesL
|
|
|
1028
1086
|
|
|
1029
1087
|
|
|
1030
1088
|
|
|
1089
|
+
/**
|
|
1090
|
+
* List of repeated fields within this message type.
|
|
1091
|
+
* @private {!Array<number>}
|
|
1092
|
+
* @const
|
|
1093
|
+
*/
|
|
1094
|
+
proto.lansweeper.scanningconfig.v1.NetworkVisibility.repeatedFields_ = [2];
|
|
1095
|
+
|
|
1096
|
+
|
|
1097
|
+
|
|
1098
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1099
|
+
/**
|
|
1100
|
+
* Creates an object representation of this proto.
|
|
1101
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
1102
|
+
* Optional fields that are not set will be set to undefined.
|
|
1103
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1104
|
+
* For the list of reserved names please see:
|
|
1105
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
1106
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
1107
|
+
* JSPB instance for transitional soy proto support:
|
|
1108
|
+
* http://goto/soy-param-migration
|
|
1109
|
+
* @return {!Object}
|
|
1110
|
+
*/
|
|
1111
|
+
proto.lansweeper.scanningconfig.v1.NetworkVisibility.prototype.toObject = function(opt_includeInstance) {
|
|
1112
|
+
return proto.lansweeper.scanningconfig.v1.NetworkVisibility.toObject(opt_includeInstance, this);
|
|
1113
|
+
};
|
|
1114
|
+
|
|
1115
|
+
|
|
1116
|
+
/**
|
|
1117
|
+
* Static version of the {@see toObject} method.
|
|
1118
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1119
|
+
* the JSPB instance for transitional soy proto support:
|
|
1120
|
+
* http://goto/soy-param-migration
|
|
1121
|
+
* @param {!proto.lansweeper.scanningconfig.v1.NetworkVisibility} msg The msg instance to transform.
|
|
1122
|
+
* @return {!Object}
|
|
1123
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1124
|
+
*/
|
|
1125
|
+
proto.lansweeper.scanningconfig.v1.NetworkVisibility.toObject = function(includeInstance, msg) {
|
|
1126
|
+
var f, obj = {
|
|
1127
|
+
enabled: jspb.Message.getBooleanFieldWithDefault(msg, 1, false),
|
|
1128
|
+
excludedInterfacesList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f
|
|
1129
|
+
};
|
|
1130
|
+
|
|
1131
|
+
if (includeInstance) {
|
|
1132
|
+
obj.$jspbMessageInstance = msg;
|
|
1133
|
+
}
|
|
1134
|
+
return obj;
|
|
1135
|
+
};
|
|
1136
|
+
}
|
|
1137
|
+
|
|
1138
|
+
|
|
1139
|
+
/**
|
|
1140
|
+
* Deserializes binary data (in protobuf wire format).
|
|
1141
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1142
|
+
* @return {!proto.lansweeper.scanningconfig.v1.NetworkVisibility}
|
|
1143
|
+
*/
|
|
1144
|
+
proto.lansweeper.scanningconfig.v1.NetworkVisibility.deserializeBinary = function(bytes) {
|
|
1145
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
1146
|
+
var msg = new proto.lansweeper.scanningconfig.v1.NetworkVisibility;
|
|
1147
|
+
return proto.lansweeper.scanningconfig.v1.NetworkVisibility.deserializeBinaryFromReader(msg, reader);
|
|
1148
|
+
};
|
|
1149
|
+
|
|
1150
|
+
|
|
1151
|
+
/**
|
|
1152
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
1153
|
+
* given reader into the given message object.
|
|
1154
|
+
* @param {!proto.lansweeper.scanningconfig.v1.NetworkVisibility} msg The message object to deserialize into.
|
|
1155
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1156
|
+
* @return {!proto.lansweeper.scanningconfig.v1.NetworkVisibility}
|
|
1157
|
+
*/
|
|
1158
|
+
proto.lansweeper.scanningconfig.v1.NetworkVisibility.deserializeBinaryFromReader = function(msg, reader) {
|
|
1159
|
+
while (reader.nextField()) {
|
|
1160
|
+
if (reader.isEndGroup()) {
|
|
1161
|
+
break;
|
|
1162
|
+
}
|
|
1163
|
+
var field = reader.getFieldNumber();
|
|
1164
|
+
switch (field) {
|
|
1165
|
+
case 1:
|
|
1166
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
1167
|
+
msg.setEnabled(value);
|
|
1168
|
+
break;
|
|
1169
|
+
case 2:
|
|
1170
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1171
|
+
msg.addExcludedInterfaces(value);
|
|
1172
|
+
break;
|
|
1173
|
+
default:
|
|
1174
|
+
reader.skipField();
|
|
1175
|
+
break;
|
|
1176
|
+
}
|
|
1177
|
+
}
|
|
1178
|
+
return msg;
|
|
1179
|
+
};
|
|
1180
|
+
|
|
1181
|
+
|
|
1182
|
+
/**
|
|
1183
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
1184
|
+
* @return {!Uint8Array}
|
|
1185
|
+
*/
|
|
1186
|
+
proto.lansweeper.scanningconfig.v1.NetworkVisibility.prototype.serializeBinary = function() {
|
|
1187
|
+
var writer = new jspb.BinaryWriter();
|
|
1188
|
+
proto.lansweeper.scanningconfig.v1.NetworkVisibility.serializeBinaryToWriter(this, writer);
|
|
1189
|
+
return writer.getResultBuffer();
|
|
1190
|
+
};
|
|
1191
|
+
|
|
1192
|
+
|
|
1193
|
+
/**
|
|
1194
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
1195
|
+
* format), writing to the given BinaryWriter.
|
|
1196
|
+
* @param {!proto.lansweeper.scanningconfig.v1.NetworkVisibility} message
|
|
1197
|
+
* @param {!jspb.BinaryWriter} writer
|
|
1198
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1199
|
+
*/
|
|
1200
|
+
proto.lansweeper.scanningconfig.v1.NetworkVisibility.serializeBinaryToWriter = function(message, writer) {
|
|
1201
|
+
var f = undefined;
|
|
1202
|
+
f = message.getEnabled();
|
|
1203
|
+
if (f) {
|
|
1204
|
+
writer.writeBool(
|
|
1205
|
+
1,
|
|
1206
|
+
f
|
|
1207
|
+
);
|
|
1208
|
+
}
|
|
1209
|
+
f = message.getExcludedInterfacesList();
|
|
1210
|
+
if (f.length > 0) {
|
|
1211
|
+
writer.writeRepeatedString(
|
|
1212
|
+
2,
|
|
1213
|
+
f
|
|
1214
|
+
);
|
|
1215
|
+
}
|
|
1216
|
+
};
|
|
1217
|
+
|
|
1218
|
+
|
|
1219
|
+
/**
|
|
1220
|
+
* optional bool enabled = 1;
|
|
1221
|
+
* @return {boolean}
|
|
1222
|
+
*/
|
|
1223
|
+
proto.lansweeper.scanningconfig.v1.NetworkVisibility.prototype.getEnabled = function() {
|
|
1224
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false));
|
|
1225
|
+
};
|
|
1226
|
+
|
|
1227
|
+
|
|
1228
|
+
/**
|
|
1229
|
+
* @param {boolean} value
|
|
1230
|
+
* @return {!proto.lansweeper.scanningconfig.v1.NetworkVisibility} returns this
|
|
1231
|
+
*/
|
|
1232
|
+
proto.lansweeper.scanningconfig.v1.NetworkVisibility.prototype.setEnabled = function(value) {
|
|
1233
|
+
return jspb.Message.setProto3BooleanField(this, 1, value);
|
|
1234
|
+
};
|
|
1235
|
+
|
|
1236
|
+
|
|
1237
|
+
/**
|
|
1238
|
+
* repeated string excluded_interfaces = 2;
|
|
1239
|
+
* @return {!Array<string>}
|
|
1240
|
+
*/
|
|
1241
|
+
proto.lansweeper.scanningconfig.v1.NetworkVisibility.prototype.getExcludedInterfacesList = function() {
|
|
1242
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 2));
|
|
1243
|
+
};
|
|
1244
|
+
|
|
1245
|
+
|
|
1246
|
+
/**
|
|
1247
|
+
* @param {!Array<string>} value
|
|
1248
|
+
* @return {!proto.lansweeper.scanningconfig.v1.NetworkVisibility} returns this
|
|
1249
|
+
*/
|
|
1250
|
+
proto.lansweeper.scanningconfig.v1.NetworkVisibility.prototype.setExcludedInterfacesList = function(value) {
|
|
1251
|
+
return jspb.Message.setField(this, 2, value || []);
|
|
1252
|
+
};
|
|
1253
|
+
|
|
1254
|
+
|
|
1255
|
+
/**
|
|
1256
|
+
* @param {string} value
|
|
1257
|
+
* @param {number=} opt_index
|
|
1258
|
+
* @return {!proto.lansweeper.scanningconfig.v1.NetworkVisibility} returns this
|
|
1259
|
+
*/
|
|
1260
|
+
proto.lansweeper.scanningconfig.v1.NetworkVisibility.prototype.addExcludedInterfaces = function(value, opt_index) {
|
|
1261
|
+
return jspb.Message.addToRepeatedField(this, 2, value, opt_index);
|
|
1262
|
+
};
|
|
1263
|
+
|
|
1264
|
+
|
|
1265
|
+
/**
|
|
1266
|
+
* Clears the list making it empty but non-null.
|
|
1267
|
+
* @return {!proto.lansweeper.scanningconfig.v1.NetworkVisibility} returns this
|
|
1268
|
+
*/
|
|
1269
|
+
proto.lansweeper.scanningconfig.v1.NetworkVisibility.prototype.clearExcludedInterfacesList = function() {
|
|
1270
|
+
return this.setExcludedInterfacesList([]);
|
|
1271
|
+
};
|
|
1272
|
+
|
|
1273
|
+
|
|
1274
|
+
|
|
1031
1275
|
|
|
1032
1276
|
|
|
1033
1277
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -1220,7 +1464,8 @@ proto.lansweeper.scanningconfig.v1.OperationalConfig.prototype.toObject = functi
|
|
|
1220
1464
|
proto.lansweeper.scanningconfig.v1.OperationalConfig.toObject = function(includeInstance, msg) {
|
|
1221
1465
|
var f, obj = {
|
|
1222
1466
|
assetRadarConfig: (f = msg.getAssetRadarConfig()) && proto.lansweeper.scanningconfig.v1.AssetRadar.toObject(includeInstance, f),
|
|
1223
|
-
autoUpdateConfig: (f = msg.getAutoUpdateConfig()) && proto.lansweeper.scanningconfig.v1.AutoUpdate.toObject(includeInstance, f)
|
|
1467
|
+
autoUpdateConfig: (f = msg.getAutoUpdateConfig()) && proto.lansweeper.scanningconfig.v1.AutoUpdate.toObject(includeInstance, f),
|
|
1468
|
+
networkVisibilityConfig: (f = msg.getNetworkVisibilityConfig()) && proto.lansweeper.scanningconfig.v1.NetworkVisibility.toObject(includeInstance, f)
|
|
1224
1469
|
};
|
|
1225
1470
|
|
|
1226
1471
|
if (includeInstance) {
|
|
@@ -1267,6 +1512,11 @@ proto.lansweeper.scanningconfig.v1.OperationalConfig.deserializeBinaryFromReader
|
|
|
1267
1512
|
reader.readMessage(value,proto.lansweeper.scanningconfig.v1.AutoUpdate.deserializeBinaryFromReader);
|
|
1268
1513
|
msg.setAutoUpdateConfig(value);
|
|
1269
1514
|
break;
|
|
1515
|
+
case 3:
|
|
1516
|
+
var value = new proto.lansweeper.scanningconfig.v1.NetworkVisibility;
|
|
1517
|
+
reader.readMessage(value,proto.lansweeper.scanningconfig.v1.NetworkVisibility.deserializeBinaryFromReader);
|
|
1518
|
+
msg.setNetworkVisibilityConfig(value);
|
|
1519
|
+
break;
|
|
1270
1520
|
default:
|
|
1271
1521
|
reader.skipField();
|
|
1272
1522
|
break;
|
|
@@ -1312,6 +1562,14 @@ proto.lansweeper.scanningconfig.v1.OperationalConfig.serializeBinaryToWriter = f
|
|
|
1312
1562
|
proto.lansweeper.scanningconfig.v1.AutoUpdate.serializeBinaryToWriter
|
|
1313
1563
|
);
|
|
1314
1564
|
}
|
|
1565
|
+
f = message.getNetworkVisibilityConfig();
|
|
1566
|
+
if (f != null) {
|
|
1567
|
+
writer.writeMessage(
|
|
1568
|
+
3,
|
|
1569
|
+
f,
|
|
1570
|
+
proto.lansweeper.scanningconfig.v1.NetworkVisibility.serializeBinaryToWriter
|
|
1571
|
+
);
|
|
1572
|
+
}
|
|
1315
1573
|
};
|
|
1316
1574
|
|
|
1317
1575
|
|
|
@@ -1389,6 +1647,43 @@ proto.lansweeper.scanningconfig.v1.OperationalConfig.prototype.hasAutoUpdateConf
|
|
|
1389
1647
|
};
|
|
1390
1648
|
|
|
1391
1649
|
|
|
1650
|
+
/**
|
|
1651
|
+
* optional NetworkVisibility network_visibility_config = 3;
|
|
1652
|
+
* @return {?proto.lansweeper.scanningconfig.v1.NetworkVisibility}
|
|
1653
|
+
*/
|
|
1654
|
+
proto.lansweeper.scanningconfig.v1.OperationalConfig.prototype.getNetworkVisibilityConfig = function() {
|
|
1655
|
+
return /** @type{?proto.lansweeper.scanningconfig.v1.NetworkVisibility} */ (
|
|
1656
|
+
jspb.Message.getWrapperField(this, proto.lansweeper.scanningconfig.v1.NetworkVisibility, 3));
|
|
1657
|
+
};
|
|
1658
|
+
|
|
1659
|
+
|
|
1660
|
+
/**
|
|
1661
|
+
* @param {?proto.lansweeper.scanningconfig.v1.NetworkVisibility|undefined} value
|
|
1662
|
+
* @return {!proto.lansweeper.scanningconfig.v1.OperationalConfig} returns this
|
|
1663
|
+
*/
|
|
1664
|
+
proto.lansweeper.scanningconfig.v1.OperationalConfig.prototype.setNetworkVisibilityConfig = function(value) {
|
|
1665
|
+
return jspb.Message.setWrapperField(this, 3, value);
|
|
1666
|
+
};
|
|
1667
|
+
|
|
1668
|
+
|
|
1669
|
+
/**
|
|
1670
|
+
* Clears the message field making it undefined.
|
|
1671
|
+
* @return {!proto.lansweeper.scanningconfig.v1.OperationalConfig} returns this
|
|
1672
|
+
*/
|
|
1673
|
+
proto.lansweeper.scanningconfig.v1.OperationalConfig.prototype.clearNetworkVisibilityConfig = function() {
|
|
1674
|
+
return this.setNetworkVisibilityConfig(undefined);
|
|
1675
|
+
};
|
|
1676
|
+
|
|
1677
|
+
|
|
1678
|
+
/**
|
|
1679
|
+
* Returns whether this field is set.
|
|
1680
|
+
* @return {boolean}
|
|
1681
|
+
*/
|
|
1682
|
+
proto.lansweeper.scanningconfig.v1.OperationalConfig.prototype.hasNetworkVisibilityConfig = function() {
|
|
1683
|
+
return jspb.Message.getField(this, 3) != null;
|
|
1684
|
+
};
|
|
1685
|
+
|
|
1686
|
+
|
|
1392
1687
|
|
|
1393
1688
|
|
|
1394
1689
|
|