@lansweeper/scanningconfig-grpc 0.2.1 → 0.2.3
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 +16 -0
- package/Lansweeper.ScanningConfig.GRPC.csproj +3 -3
- 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/bin/Debug/net6.0/ref/Lansweeper.ScanningConfig.GRPC.dll +0 -0
- package/gen-proto/image.json +1 -1
- package/gen-proto/scanningconfig_pb.d.ts +167 -0
- package/gen-proto/scanningconfig_pb.js +1340 -149
- package/generated-go/scanningconfig.pb.go +725 -104
- 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 +1451 -54
- package/obj/Debug/net6.0/ref/Lansweeper.ScanningConfig.GRPC.dll +0 -0
- package/obj/Lansweeper.ScanningConfig.GRPC.csproj.nuget.dgspec.json +2 -2
- package/obj/project.assets.json +2 -2
- package/obj/project.nuget.cache +1 -1
- package/package.json +2 -2
- package/proto/scanningconfig.proto +50 -1
|
@@ -60,25 +60,45 @@ namespace Lansweeper.Scanningconfig.V1 {
|
|
|
60
60
|
"LmxhbnN3ZWVwZXIuc2Nhbm5pbmdjb25maWcudjEuQWN0aW9uRGVmaW5pdGlv",
|
|
61
61
|
"bhIKCgJpZBgHIAEoCSI3CgpBY3Rpb25UeXBlEg8KC1VOU1BFQ0lGSUVEEAAS",
|
|
62
62
|
"CQoFQUdFTlQQARINCglBR0VOVExFU1MQAkIMCgpkZWZpbml0aW9uIhwKCUFn",
|
|
63
|
-
"
|
|
63
|
+
"ZW50bGVzcxIPCgd0YXJnZXRzGAEgAygJIowCChBBY3Rpb25EZWZpbml0aW9u",
|
|
64
64
|
"ElEKCnNjYW5fZm9jdXMYASABKA4yOC5sYW5zd2VlcGVyLnNjYW5uaW5nY29u",
|
|
65
|
-
"
|
|
66
|
-
"
|
|
67
|
-
"
|
|
68
|
-
"
|
|
69
|
-
"
|
|
70
|
-
"
|
|
71
|
-
"
|
|
72
|
-
"
|
|
73
|
-
"
|
|
74
|
-
"
|
|
75
|
-
"
|
|
76
|
-
"
|
|
77
|
-
"
|
|
78
|
-
"
|
|
65
|
+
"ZmlnLnYxLkFjdGlvbkRlZmluaXRpb24uU2NhbkZvY3VzSACIAQESEwoHdGFy",
|
|
66
|
+
"Z2V0cxgCIAMoCUICGAESEgoKZXhjbHVzaW9ucxgDIAMoCRI9Cgt0YXJnZXRz",
|
|
67
|
+
"RGF0YRgEIAMoCzIoLmxhbnN3ZWVwZXIuc2Nhbm5pbmdjb25maWcudjEuVGFy",
|
|
68
|
+
"Z2V0RGF0YSIuCglTY2FuRm9jdXMSBwoDQUxMEAASCQoFVVNFUlMQARINCglJ",
|
|
69
|
+
"TlZFTlRPUlkQAkINCgtfc2Nhbl9mb2N1cyKqAgoKVGFyZ2V0RGF0YRJBCgR0",
|
|
70
|
+
"eXBlGAEgASgOMjMubGFuc3dlZXBlci5zY2FubmluZ2NvbmZpZy52MS5UYXJn",
|
|
71
|
+
"ZXREYXRhLlRhcmdldFR5cGUSQAoMaXBfc2Nhbl9kYXRhGAIgASgLMigubGFu",
|
|
72
|
+
"c3dlZXBlci5zY2FubmluZ2NvbmZpZy52MS5JUFNjYW5EYXRhSAASNwoHYWRf",
|
|
73
|
+
"ZGF0YRgDIAEoCzIkLmxhbnN3ZWVwZXIuc2Nhbm5pbmdjb25maWcudjEuQURE",
|
|
74
|
+
"YXRhSAASEAoGdGFyZ2V0GAQgASgJSAAiRAoKVGFyZ2V0VHlwZRIXChNVTktO",
|
|
75
|
+
"T1dOX1RBUkdFVF9UWVBFEAASCwoHSVBfU0NBThABEggKBFNDQ00QAhIGCgJB",
|
|
76
|
+
"RBADQgYKBGluZm8imgEKCklQU2NhbkRhdGESNgoEdHlwZRgBIAEoDjIoLmxh",
|
|
77
|
+
"bnN3ZWVwZXIuc2Nhbm5pbmdjb25maWcudjEuSVBTY2FuVHlwZRIOCgZ0YXJn",
|
|
78
|
+
"ZXQYAiABKAkSOwoEcGluZxgDIAEoCzIoLmxhbnN3ZWVwZXIuc2Nhbm5pbmdj",
|
|
79
|
+
"b25maWcudjEuSVBTY2FuUGluZ0gAiAEBQgcKBV9waW5nIlEKCklQU2NhblBp",
|
|
80
|
+
"bmcSEAoIdXNlX3BpbmcYASABKAgSFAoMcGluZ190aW1lb3V0GAIgASgFEhsK",
|
|
81
|
+
"E2tlZXBfbm9fYW5zd2VyX3NjYW4YAyABKAgi8wEKBkFERGF0YRIMCgRuYW1l",
|
|
82
|
+
"GAEgASgJEhMKC2Fkc2lfZmlsdGVyGAIgASgJEg4KBmRvbWFpbhgDIAEoCRIV",
|
|
83
|
+
"Cg1jb21wdXRlcl9zY2FuGAQgASgIEhcKD3VzZXJfZ3JvdXBfc2NhbhgFIAEo",
|
|
84
|
+
"CBJACglsZGFwX3R5cGUYBiABKA4yLS5sYW5zd2VlcGVyLnNjYW5uaW5nY29u",
|
|
85
|
+
"ZmlnLnYxLkFERGF0YS5MREFQVHlwZRIMCgRwb3J0GAcgASgFIjYKCExEQVBU",
|
|
86
|
+
"eXBlEhUKEVVOS05PV05fTERBUF9UWVBFEAASCAoETERBUBABEgkKBUxEQVBT",
|
|
87
|
+
"EAIiegoFQWdlbnQSQQoKc2Nhbl9mb2N1cxgBIAEoDjItLmxhbnN3ZWVwZXIu",
|
|
88
|
+
"c2Nhbm5pbmdjb25maWcudjEuQWdlbnQuU2NhbkZvY3VzIi4KCVNjYW5Gb2N1",
|
|
89
|
+
"cxIHCgNBTEwQABIJCgVVU0VSUxABEg0KCUlOVkVOVE9SWRACIoIBCgpDcmVk",
|
|
90
|
+
"ZW50aWFsEkUKBHR5cGUYASABKA4yNy5sYW5zd2VlcGVyLnNjYW5uaW5nY29u",
|
|
91
|
+
"ZmlnLnYxLkNyZWRlbnRpYWwuQ3JlZGVudGlhbFR5cGUSCgoCaWQYAiABKAki",
|
|
92
|
+
"IQoOQ3JlZGVudGlhbFR5cGUSDwoLVU5TUEVDSUZJRUQQACo7CgpJUFNjYW5U",
|
|
93
|
+
"eXBlEhgKFFVOS05PV05fSVBfU0NBTl9UWVBFEAASCQoFUkFOR0UQARIICgRI",
|
|
94
|
+
"T1NUEAIyuAEKFVNjYW5uaW5nQ29uZmlnU2VydmljZRKeAQoZR2V0Q29uZmln",
|
|
95
|
+
"dXJhdGlvbnNCeVNvdXJjZRI+LmxhbnN3ZWVwZXIuc2Nhbm5pbmdjb25maWcu",
|
|
96
|
+
"djEuR2V0Q29uZmlndXJhdGlvbnNCeVNvdXJjZVJlcXVlc3QaPy5sYW5zd2Vl",
|
|
97
|
+
"cGVyLnNjYW5uaW5nY29uZmlnLnYxLkdldENvbmZpZ3VyYXRpb25zQnlTb3Vy",
|
|
98
|
+
"Y2VSZXNwb25zZSIAQhBaDi4vZ2VuZXJhdGVkLWdvYgZwcm90bzM="));
|
|
79
99
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
80
100
|
new pbr::FileDescriptor[] { },
|
|
81
|
-
new pbr::GeneratedClrTypeInfo(
|
|
101
|
+
new pbr::GeneratedClrTypeInfo(new[] {typeof(global::Lansweeper.Scanningconfig.V1.IPScanType), }, null, new pbr::GeneratedClrTypeInfo[] {
|
|
82
102
|
new pbr::GeneratedClrTypeInfo(typeof(global::Lansweeper.Scanningconfig.V1.GetConfigurationsBySourceRequest), global::Lansweeper.Scanningconfig.V1.GetConfigurationsBySourceRequest.Parser, new[]{ "SourceId", "SiteId" }, null, null, null, null),
|
|
83
103
|
new pbr::GeneratedClrTypeInfo(typeof(global::Lansweeper.Scanningconfig.V1.GetConfigurationsBySourceResponse), global::Lansweeper.Scanningconfig.V1.GetConfigurationsBySourceResponse.Parser, new[]{ "Configs" }, null, null, null, null),
|
|
84
104
|
new pbr::GeneratedClrTypeInfo(typeof(global::Lansweeper.Scanningconfig.V1.Component), global::Lansweeper.Scanningconfig.V1.Component.Parser, new[]{ "Id", "Type", "Actions", "OpConfig", "Enabled" }, new[]{ "OpConfig" }, new[]{ typeof(global::Lansweeper.Scanningconfig.V1.Component.Types.ComponentType) }, null, null),
|
|
@@ -89,7 +109,11 @@ namespace Lansweeper.Scanningconfig.V1 {
|
|
|
89
109
|
new pbr::GeneratedClrTypeInfo(typeof(global::Lansweeper.Scanningconfig.V1.Trigger), global::Lansweeper.Scanningconfig.V1.Trigger.Parser, new[]{ "CronExpr", "Name" }, null, null, null, null),
|
|
90
110
|
new pbr::GeneratedClrTypeInfo(typeof(global::Lansweeper.Scanningconfig.V1.Action), global::Lansweeper.Scanningconfig.V1.Action.Parser, new[]{ "Triggers", "ActionType", "Credentials", "Agent", "Agentless", "ActionDefinition", "Id" }, new[]{ "Definition" }, new[]{ typeof(global::Lansweeper.Scanningconfig.V1.Action.Types.ActionType) }, null, null),
|
|
91
111
|
new pbr::GeneratedClrTypeInfo(typeof(global::Lansweeper.Scanningconfig.V1.Agentless), global::Lansweeper.Scanningconfig.V1.Agentless.Parser, new[]{ "Targets" }, null, null, null, null),
|
|
92
|
-
new pbr::GeneratedClrTypeInfo(typeof(global::Lansweeper.Scanningconfig.V1.ActionDefinition), global::Lansweeper.Scanningconfig.V1.ActionDefinition.Parser, new[]{ "ScanFocus", "Targets", "Exclusions" }, new[]{ "ScanFocus" }, new[]{ typeof(global::Lansweeper.Scanningconfig.V1.ActionDefinition.Types.ScanFocus) }, null, null),
|
|
112
|
+
new pbr::GeneratedClrTypeInfo(typeof(global::Lansweeper.Scanningconfig.V1.ActionDefinition), global::Lansweeper.Scanningconfig.V1.ActionDefinition.Parser, new[]{ "ScanFocus", "Targets", "Exclusions", "TargetsData" }, new[]{ "ScanFocus" }, new[]{ typeof(global::Lansweeper.Scanningconfig.V1.ActionDefinition.Types.ScanFocus) }, null, null),
|
|
113
|
+
new pbr::GeneratedClrTypeInfo(typeof(global::Lansweeper.Scanningconfig.V1.TargetData), global::Lansweeper.Scanningconfig.V1.TargetData.Parser, new[]{ "Type", "IpScanData", "AdData", "Target" }, new[]{ "Info" }, new[]{ typeof(global::Lansweeper.Scanningconfig.V1.TargetData.Types.TargetType) }, null, null),
|
|
114
|
+
new pbr::GeneratedClrTypeInfo(typeof(global::Lansweeper.Scanningconfig.V1.IPScanData), global::Lansweeper.Scanningconfig.V1.IPScanData.Parser, new[]{ "Type", "Target", "Ping" }, new[]{ "Ping" }, null, null, null),
|
|
115
|
+
new pbr::GeneratedClrTypeInfo(typeof(global::Lansweeper.Scanningconfig.V1.IPScanPing), global::Lansweeper.Scanningconfig.V1.IPScanPing.Parser, new[]{ "UsePing", "PingTimeout", "KeepNoAnswerScan" }, null, null, null, null),
|
|
116
|
+
new pbr::GeneratedClrTypeInfo(typeof(global::Lansweeper.Scanningconfig.V1.ADData), global::Lansweeper.Scanningconfig.V1.ADData.Parser, new[]{ "Name", "AdsiFilter", "Domain", "ComputerScan", "UserGroupScan", "LdapType", "Port" }, null, new[]{ typeof(global::Lansweeper.Scanningconfig.V1.ADData.Types.LDAPType) }, null, null),
|
|
93
117
|
new pbr::GeneratedClrTypeInfo(typeof(global::Lansweeper.Scanningconfig.V1.Agent), global::Lansweeper.Scanningconfig.V1.Agent.Parser, new[]{ "ScanFocus" }, null, new[]{ typeof(global::Lansweeper.Scanningconfig.V1.Agent.Types.ScanFocus) }, null, null),
|
|
94
118
|
new pbr::GeneratedClrTypeInfo(typeof(global::Lansweeper.Scanningconfig.V1.Credential), global::Lansweeper.Scanningconfig.V1.Credential.Parser, new[]{ "Type", "Id" }, null, new[]{ typeof(global::Lansweeper.Scanningconfig.V1.Credential.Types.CredentialType) }, null, null)
|
|
95
119
|
}));
|
|
@@ -97,6 +121,15 @@ namespace Lansweeper.Scanningconfig.V1 {
|
|
|
97
121
|
#endregion
|
|
98
122
|
|
|
99
123
|
}
|
|
124
|
+
#region Enums
|
|
125
|
+
public enum IPScanType {
|
|
126
|
+
[pbr::OriginalName("UNKNOWN_IP_SCAN_TYPE")] UnknownIpScanType = 0,
|
|
127
|
+
[pbr::OriginalName("RANGE")] Range = 1,
|
|
128
|
+
[pbr::OriginalName("HOST")] Host = 2,
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
#endregion
|
|
132
|
+
|
|
100
133
|
#region Messages
|
|
101
134
|
public sealed partial class GetConfigurationsBySourceRequest : pb::IMessage<GetConfigurationsBySourceRequest>
|
|
102
135
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
@@ -2717,6 +2750,7 @@ namespace Lansweeper.Scanningconfig.V1 {
|
|
|
2717
2750
|
scanFocus_ = other.scanFocus_;
|
|
2718
2751
|
targets_ = other.targets_.Clone();
|
|
2719
2752
|
exclusions_ = other.exclusions_.Clone();
|
|
2753
|
+
targetsData_ = other.targetsData_.Clone();
|
|
2720
2754
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
2721
2755
|
}
|
|
2722
2756
|
|
|
@@ -2756,6 +2790,7 @@ namespace Lansweeper.Scanningconfig.V1 {
|
|
|
2756
2790
|
private static readonly pb::FieldCodec<string> _repeated_targets_codec
|
|
2757
2791
|
= pb::FieldCodec.ForString(18);
|
|
2758
2792
|
private readonly pbc::RepeatedField<string> targets_ = new pbc::RepeatedField<string>();
|
|
2793
|
+
[global::System.ObsoleteAttribute]
|
|
2759
2794
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
2760
2795
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
2761
2796
|
public pbc::RepeatedField<string> Targets {
|
|
@@ -2773,6 +2808,17 @@ namespace Lansweeper.Scanningconfig.V1 {
|
|
|
2773
2808
|
get { return exclusions_; }
|
|
2774
2809
|
}
|
|
2775
2810
|
|
|
2811
|
+
/// <summary>Field number for the "targetsData" field.</summary>
|
|
2812
|
+
public const int TargetsDataFieldNumber = 4;
|
|
2813
|
+
private static readonly pb::FieldCodec<global::Lansweeper.Scanningconfig.V1.TargetData> _repeated_targetsData_codec
|
|
2814
|
+
= pb::FieldCodec.ForMessage(34, global::Lansweeper.Scanningconfig.V1.TargetData.Parser);
|
|
2815
|
+
private readonly pbc::RepeatedField<global::Lansweeper.Scanningconfig.V1.TargetData> targetsData_ = new pbc::RepeatedField<global::Lansweeper.Scanningconfig.V1.TargetData>();
|
|
2816
|
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
2817
|
+
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
2818
|
+
public pbc::RepeatedField<global::Lansweeper.Scanningconfig.V1.TargetData> TargetsData {
|
|
2819
|
+
get { return targetsData_; }
|
|
2820
|
+
}
|
|
2821
|
+
|
|
2776
2822
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
2777
2823
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
2778
2824
|
public override bool Equals(object other) {
|
|
@@ -2791,6 +2837,7 @@ namespace Lansweeper.Scanningconfig.V1 {
|
|
|
2791
2837
|
if (ScanFocus != other.ScanFocus) return false;
|
|
2792
2838
|
if(!targets_.Equals(other.targets_)) return false;
|
|
2793
2839
|
if(!exclusions_.Equals(other.exclusions_)) return false;
|
|
2840
|
+
if(!targetsData_.Equals(other.targetsData_)) return false;
|
|
2794
2841
|
return Equals(_unknownFields, other._unknownFields);
|
|
2795
2842
|
}
|
|
2796
2843
|
|
|
@@ -2801,6 +2848,7 @@ namespace Lansweeper.Scanningconfig.V1 {
|
|
|
2801
2848
|
if (HasScanFocus) hash ^= ScanFocus.GetHashCode();
|
|
2802
2849
|
hash ^= targets_.GetHashCode();
|
|
2803
2850
|
hash ^= exclusions_.GetHashCode();
|
|
2851
|
+
hash ^= targetsData_.GetHashCode();
|
|
2804
2852
|
if (_unknownFields != null) {
|
|
2805
2853
|
hash ^= _unknownFields.GetHashCode();
|
|
2806
2854
|
}
|
|
@@ -2825,6 +2873,7 @@ namespace Lansweeper.Scanningconfig.V1 {
|
|
|
2825
2873
|
}
|
|
2826
2874
|
targets_.WriteTo(output, _repeated_targets_codec);
|
|
2827
2875
|
exclusions_.WriteTo(output, _repeated_exclusions_codec);
|
|
2876
|
+
targetsData_.WriteTo(output, _repeated_targetsData_codec);
|
|
2828
2877
|
if (_unknownFields != null) {
|
|
2829
2878
|
_unknownFields.WriteTo(output);
|
|
2830
2879
|
}
|
|
@@ -2841,6 +2890,7 @@ namespace Lansweeper.Scanningconfig.V1 {
|
|
|
2841
2890
|
}
|
|
2842
2891
|
targets_.WriteTo(ref output, _repeated_targets_codec);
|
|
2843
2892
|
exclusions_.WriteTo(ref output, _repeated_exclusions_codec);
|
|
2893
|
+
targetsData_.WriteTo(ref output, _repeated_targetsData_codec);
|
|
2844
2894
|
if (_unknownFields != null) {
|
|
2845
2895
|
_unknownFields.WriteTo(ref output);
|
|
2846
2896
|
}
|
|
@@ -2856,6 +2906,7 @@ namespace Lansweeper.Scanningconfig.V1 {
|
|
|
2856
2906
|
}
|
|
2857
2907
|
size += targets_.CalculateSize(_repeated_targets_codec);
|
|
2858
2908
|
size += exclusions_.CalculateSize(_repeated_exclusions_codec);
|
|
2909
|
+
size += targetsData_.CalculateSize(_repeated_targetsData_codec);
|
|
2859
2910
|
if (_unknownFields != null) {
|
|
2860
2911
|
size += _unknownFields.CalculateSize();
|
|
2861
2912
|
}
|
|
@@ -2873,6 +2924,7 @@ namespace Lansweeper.Scanningconfig.V1 {
|
|
|
2873
2924
|
}
|
|
2874
2925
|
targets_.Add(other.targets_);
|
|
2875
2926
|
exclusions_.Add(other.exclusions_);
|
|
2927
|
+
targetsData_.Add(other.targetsData_);
|
|
2876
2928
|
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
|
2877
2929
|
}
|
|
2878
2930
|
|
|
@@ -2900,6 +2952,10 @@ namespace Lansweeper.Scanningconfig.V1 {
|
|
|
2900
2952
|
exclusions_.AddEntriesFrom(input, _repeated_exclusions_codec);
|
|
2901
2953
|
break;
|
|
2902
2954
|
}
|
|
2955
|
+
case 34: {
|
|
2956
|
+
targetsData_.AddEntriesFrom(input, _repeated_targetsData_codec);
|
|
2957
|
+
break;
|
|
2958
|
+
}
|
|
2903
2959
|
}
|
|
2904
2960
|
}
|
|
2905
2961
|
#endif
|
|
@@ -2927,6 +2983,10 @@ namespace Lansweeper.Scanningconfig.V1 {
|
|
|
2927
2983
|
exclusions_.AddEntriesFrom(ref input, _repeated_exclusions_codec);
|
|
2928
2984
|
break;
|
|
2929
2985
|
}
|
|
2986
|
+
case 34: {
|
|
2987
|
+
targetsData_.AddEntriesFrom(ref input, _repeated_targetsData_codec);
|
|
2988
|
+
break;
|
|
2989
|
+
}
|
|
2930
2990
|
}
|
|
2931
2991
|
}
|
|
2932
2992
|
}
|
|
@@ -2948,16 +3008,16 @@ namespace Lansweeper.Scanningconfig.V1 {
|
|
|
2948
3008
|
|
|
2949
3009
|
}
|
|
2950
3010
|
|
|
2951
|
-
public sealed partial class
|
|
3011
|
+
public sealed partial class TargetData : pb::IMessage<TargetData>
|
|
2952
3012
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
2953
3013
|
, pb::IBufferMessage
|
|
2954
3014
|
#endif
|
|
2955
3015
|
{
|
|
2956
|
-
private static readonly pb::MessageParser<
|
|
3016
|
+
private static readonly pb::MessageParser<TargetData> _parser = new pb::MessageParser<TargetData>(() => new TargetData());
|
|
2957
3017
|
private pb::UnknownFieldSet _unknownFields;
|
|
2958
3018
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
2959
3019
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
2960
|
-
public static pb::MessageParser<
|
|
3020
|
+
public static pb::MessageParser<TargetData> Parser { get { return _parser; } }
|
|
2961
3021
|
|
|
2962
3022
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
2963
3023
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
@@ -2973,7 +3033,7 @@ namespace Lansweeper.Scanningconfig.V1 {
|
|
|
2973
3033
|
|
|
2974
3034
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
2975
3035
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
2976
|
-
public
|
|
3036
|
+
public TargetData() {
|
|
2977
3037
|
OnConstruction();
|
|
2978
3038
|
}
|
|
2979
3039
|
|
|
@@ -2981,45 +3041,119 @@ namespace Lansweeper.Scanningconfig.V1 {
|
|
|
2981
3041
|
|
|
2982
3042
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
2983
3043
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
2984
|
-
public
|
|
2985
|
-
|
|
3044
|
+
public TargetData(TargetData other) : this() {
|
|
3045
|
+
type_ = other.type_;
|
|
3046
|
+
switch (other.InfoCase) {
|
|
3047
|
+
case InfoOneofCase.IpScanData:
|
|
3048
|
+
IpScanData = other.IpScanData.Clone();
|
|
3049
|
+
break;
|
|
3050
|
+
case InfoOneofCase.AdData:
|
|
3051
|
+
AdData = other.AdData.Clone();
|
|
3052
|
+
break;
|
|
3053
|
+
case InfoOneofCase.Target:
|
|
3054
|
+
Target = other.Target;
|
|
3055
|
+
break;
|
|
3056
|
+
}
|
|
3057
|
+
|
|
2986
3058
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
2987
3059
|
}
|
|
2988
3060
|
|
|
2989
3061
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
2990
3062
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
2991
|
-
public
|
|
2992
|
-
return new
|
|
3063
|
+
public TargetData Clone() {
|
|
3064
|
+
return new TargetData(this);
|
|
2993
3065
|
}
|
|
2994
3066
|
|
|
2995
|
-
/// <summary>Field number for the "
|
|
2996
|
-
public const int
|
|
2997
|
-
private global::Lansweeper.Scanningconfig.V1.
|
|
3067
|
+
/// <summary>Field number for the "type" field.</summary>
|
|
3068
|
+
public const int TypeFieldNumber = 1;
|
|
3069
|
+
private global::Lansweeper.Scanningconfig.V1.TargetData.Types.TargetType type_ = global::Lansweeper.Scanningconfig.V1.TargetData.Types.TargetType.UnknownTargetType;
|
|
2998
3070
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
2999
3071
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
3000
|
-
public global::Lansweeper.Scanningconfig.V1.
|
|
3001
|
-
get { return
|
|
3072
|
+
public global::Lansweeper.Scanningconfig.V1.TargetData.Types.TargetType Type {
|
|
3073
|
+
get { return type_; }
|
|
3002
3074
|
set {
|
|
3003
|
-
|
|
3075
|
+
type_ = value;
|
|
3076
|
+
}
|
|
3077
|
+
}
|
|
3078
|
+
|
|
3079
|
+
/// <summary>Field number for the "ip_scan_data" field.</summary>
|
|
3080
|
+
public const int IpScanDataFieldNumber = 2;
|
|
3081
|
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3082
|
+
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
3083
|
+
public global::Lansweeper.Scanningconfig.V1.IPScanData IpScanData {
|
|
3084
|
+
get { return infoCase_ == InfoOneofCase.IpScanData ? (global::Lansweeper.Scanningconfig.V1.IPScanData) info_ : null; }
|
|
3085
|
+
set {
|
|
3086
|
+
info_ = value;
|
|
3087
|
+
infoCase_ = value == null ? InfoOneofCase.None : InfoOneofCase.IpScanData;
|
|
3088
|
+
}
|
|
3089
|
+
}
|
|
3090
|
+
|
|
3091
|
+
/// <summary>Field number for the "ad_data" field.</summary>
|
|
3092
|
+
public const int AdDataFieldNumber = 3;
|
|
3093
|
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3094
|
+
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
3095
|
+
public global::Lansweeper.Scanningconfig.V1.ADData AdData {
|
|
3096
|
+
get { return infoCase_ == InfoOneofCase.AdData ? (global::Lansweeper.Scanningconfig.V1.ADData) info_ : null; }
|
|
3097
|
+
set {
|
|
3098
|
+
info_ = value;
|
|
3099
|
+
infoCase_ = value == null ? InfoOneofCase.None : InfoOneofCase.AdData;
|
|
3100
|
+
}
|
|
3101
|
+
}
|
|
3102
|
+
|
|
3103
|
+
/// <summary>Field number for the "target" field.</summary>
|
|
3104
|
+
public const int TargetFieldNumber = 4;
|
|
3105
|
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3106
|
+
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
3107
|
+
public string Target {
|
|
3108
|
+
get { return infoCase_ == InfoOneofCase.Target ? (string) info_ : ""; }
|
|
3109
|
+
set {
|
|
3110
|
+
info_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
3111
|
+
infoCase_ = InfoOneofCase.Target;
|
|
3004
3112
|
}
|
|
3005
3113
|
}
|
|
3006
3114
|
|
|
3115
|
+
private object info_;
|
|
3116
|
+
/// <summary>Enum of possible cases for the "info" oneof.</summary>
|
|
3117
|
+
public enum InfoOneofCase {
|
|
3118
|
+
None = 0,
|
|
3119
|
+
IpScanData = 2,
|
|
3120
|
+
AdData = 3,
|
|
3121
|
+
Target = 4,
|
|
3122
|
+
}
|
|
3123
|
+
private InfoOneofCase infoCase_ = InfoOneofCase.None;
|
|
3124
|
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3125
|
+
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
3126
|
+
public InfoOneofCase InfoCase {
|
|
3127
|
+
get { return infoCase_; }
|
|
3128
|
+
}
|
|
3129
|
+
|
|
3130
|
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3131
|
+
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
3132
|
+
public void ClearInfo() {
|
|
3133
|
+
infoCase_ = InfoOneofCase.None;
|
|
3134
|
+
info_ = null;
|
|
3135
|
+
}
|
|
3136
|
+
|
|
3007
3137
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3008
3138
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
3009
3139
|
public override bool Equals(object other) {
|
|
3010
|
-
return Equals(other as
|
|
3140
|
+
return Equals(other as TargetData);
|
|
3011
3141
|
}
|
|
3012
3142
|
|
|
3013
3143
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3014
3144
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
3015
|
-
public bool Equals(
|
|
3145
|
+
public bool Equals(TargetData other) {
|
|
3016
3146
|
if (ReferenceEquals(other, null)) {
|
|
3017
3147
|
return false;
|
|
3018
3148
|
}
|
|
3019
3149
|
if (ReferenceEquals(other, this)) {
|
|
3020
3150
|
return true;
|
|
3021
3151
|
}
|
|
3022
|
-
if (
|
|
3152
|
+
if (Type != other.Type) return false;
|
|
3153
|
+
if (!object.Equals(IpScanData, other.IpScanData)) return false;
|
|
3154
|
+
if (!object.Equals(AdData, other.AdData)) return false;
|
|
3155
|
+
if (Target != other.Target) return false;
|
|
3156
|
+
if (InfoCase != other.InfoCase) return false;
|
|
3023
3157
|
return Equals(_unknownFields, other._unknownFields);
|
|
3024
3158
|
}
|
|
3025
3159
|
|
|
@@ -3027,7 +3161,11 @@ namespace Lansweeper.Scanningconfig.V1 {
|
|
|
3027
3161
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
3028
3162
|
public override int GetHashCode() {
|
|
3029
3163
|
int hash = 1;
|
|
3030
|
-
if (
|
|
3164
|
+
if (Type != global::Lansweeper.Scanningconfig.V1.TargetData.Types.TargetType.UnknownTargetType) hash ^= Type.GetHashCode();
|
|
3165
|
+
if (infoCase_ == InfoOneofCase.IpScanData) hash ^= IpScanData.GetHashCode();
|
|
3166
|
+
if (infoCase_ == InfoOneofCase.AdData) hash ^= AdData.GetHashCode();
|
|
3167
|
+
if (infoCase_ == InfoOneofCase.Target) hash ^= Target.GetHashCode();
|
|
3168
|
+
hash ^= (int) infoCase_;
|
|
3031
3169
|
if (_unknownFields != null) {
|
|
3032
3170
|
hash ^= _unknownFields.GetHashCode();
|
|
3033
3171
|
}
|
|
@@ -3046,9 +3184,21 @@ namespace Lansweeper.Scanningconfig.V1 {
|
|
|
3046
3184
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
3047
3185
|
output.WriteRawMessage(this);
|
|
3048
3186
|
#else
|
|
3049
|
-
if (
|
|
3187
|
+
if (Type != global::Lansweeper.Scanningconfig.V1.TargetData.Types.TargetType.UnknownTargetType) {
|
|
3050
3188
|
output.WriteRawTag(8);
|
|
3051
|
-
output.WriteEnum((int)
|
|
3189
|
+
output.WriteEnum((int) Type);
|
|
3190
|
+
}
|
|
3191
|
+
if (infoCase_ == InfoOneofCase.IpScanData) {
|
|
3192
|
+
output.WriteRawTag(18);
|
|
3193
|
+
output.WriteMessage(IpScanData);
|
|
3194
|
+
}
|
|
3195
|
+
if (infoCase_ == InfoOneofCase.AdData) {
|
|
3196
|
+
output.WriteRawTag(26);
|
|
3197
|
+
output.WriteMessage(AdData);
|
|
3198
|
+
}
|
|
3199
|
+
if (infoCase_ == InfoOneofCase.Target) {
|
|
3200
|
+
output.WriteRawTag(34);
|
|
3201
|
+
output.WriteString(Target);
|
|
3052
3202
|
}
|
|
3053
3203
|
if (_unknownFields != null) {
|
|
3054
3204
|
_unknownFields.WriteTo(output);
|
|
@@ -3060,9 +3210,21 @@ namespace Lansweeper.Scanningconfig.V1 {
|
|
|
3060
3210
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3061
3211
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
3062
3212
|
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
|
3063
|
-
if (
|
|
3213
|
+
if (Type != global::Lansweeper.Scanningconfig.V1.TargetData.Types.TargetType.UnknownTargetType) {
|
|
3064
3214
|
output.WriteRawTag(8);
|
|
3065
|
-
output.WriteEnum((int)
|
|
3215
|
+
output.WriteEnum((int) Type);
|
|
3216
|
+
}
|
|
3217
|
+
if (infoCase_ == InfoOneofCase.IpScanData) {
|
|
3218
|
+
output.WriteRawTag(18);
|
|
3219
|
+
output.WriteMessage(IpScanData);
|
|
3220
|
+
}
|
|
3221
|
+
if (infoCase_ == InfoOneofCase.AdData) {
|
|
3222
|
+
output.WriteRawTag(26);
|
|
3223
|
+
output.WriteMessage(AdData);
|
|
3224
|
+
}
|
|
3225
|
+
if (infoCase_ == InfoOneofCase.Target) {
|
|
3226
|
+
output.WriteRawTag(34);
|
|
3227
|
+
output.WriteString(Target);
|
|
3066
3228
|
}
|
|
3067
3229
|
if (_unknownFields != null) {
|
|
3068
3230
|
_unknownFields.WriteTo(ref output);
|
|
@@ -3074,8 +3236,17 @@ namespace Lansweeper.Scanningconfig.V1 {
|
|
|
3074
3236
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
3075
3237
|
public int CalculateSize() {
|
|
3076
3238
|
int size = 0;
|
|
3077
|
-
if (
|
|
3078
|
-
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int)
|
|
3239
|
+
if (Type != global::Lansweeper.Scanningconfig.V1.TargetData.Types.TargetType.UnknownTargetType) {
|
|
3240
|
+
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Type);
|
|
3241
|
+
}
|
|
3242
|
+
if (infoCase_ == InfoOneofCase.IpScanData) {
|
|
3243
|
+
size += 1 + pb::CodedOutputStream.ComputeMessageSize(IpScanData);
|
|
3244
|
+
}
|
|
3245
|
+
if (infoCase_ == InfoOneofCase.AdData) {
|
|
3246
|
+
size += 1 + pb::CodedOutputStream.ComputeMessageSize(AdData);
|
|
3247
|
+
}
|
|
3248
|
+
if (infoCase_ == InfoOneofCase.Target) {
|
|
3249
|
+
size += 1 + pb::CodedOutputStream.ComputeStringSize(Target);
|
|
3079
3250
|
}
|
|
3080
3251
|
if (_unknownFields != null) {
|
|
3081
3252
|
size += _unknownFields.CalculateSize();
|
|
@@ -3085,13 +3256,31 @@ namespace Lansweeper.Scanningconfig.V1 {
|
|
|
3085
3256
|
|
|
3086
3257
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3087
3258
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
3088
|
-
public void MergeFrom(
|
|
3259
|
+
public void MergeFrom(TargetData other) {
|
|
3089
3260
|
if (other == null) {
|
|
3090
3261
|
return;
|
|
3091
3262
|
}
|
|
3092
|
-
if (other.
|
|
3093
|
-
|
|
3263
|
+
if (other.Type != global::Lansweeper.Scanningconfig.V1.TargetData.Types.TargetType.UnknownTargetType) {
|
|
3264
|
+
Type = other.Type;
|
|
3265
|
+
}
|
|
3266
|
+
switch (other.InfoCase) {
|
|
3267
|
+
case InfoOneofCase.IpScanData:
|
|
3268
|
+
if (IpScanData == null) {
|
|
3269
|
+
IpScanData = new global::Lansweeper.Scanningconfig.V1.IPScanData();
|
|
3270
|
+
}
|
|
3271
|
+
IpScanData.MergeFrom(other.IpScanData);
|
|
3272
|
+
break;
|
|
3273
|
+
case InfoOneofCase.AdData:
|
|
3274
|
+
if (AdData == null) {
|
|
3275
|
+
AdData = new global::Lansweeper.Scanningconfig.V1.ADData();
|
|
3276
|
+
}
|
|
3277
|
+
AdData.MergeFrom(other.AdData);
|
|
3278
|
+
break;
|
|
3279
|
+
case InfoOneofCase.Target:
|
|
3280
|
+
Target = other.Target;
|
|
3281
|
+
break;
|
|
3094
3282
|
}
|
|
3283
|
+
|
|
3095
3284
|
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
|
3096
3285
|
}
|
|
3097
3286
|
|
|
@@ -3108,7 +3297,29 @@ namespace Lansweeper.Scanningconfig.V1 {
|
|
|
3108
3297
|
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
|
3109
3298
|
break;
|
|
3110
3299
|
case 8: {
|
|
3111
|
-
|
|
3300
|
+
Type = (global::Lansweeper.Scanningconfig.V1.TargetData.Types.TargetType) input.ReadEnum();
|
|
3301
|
+
break;
|
|
3302
|
+
}
|
|
3303
|
+
case 18: {
|
|
3304
|
+
global::Lansweeper.Scanningconfig.V1.IPScanData subBuilder = new global::Lansweeper.Scanningconfig.V1.IPScanData();
|
|
3305
|
+
if (infoCase_ == InfoOneofCase.IpScanData) {
|
|
3306
|
+
subBuilder.MergeFrom(IpScanData);
|
|
3307
|
+
}
|
|
3308
|
+
input.ReadMessage(subBuilder);
|
|
3309
|
+
IpScanData = subBuilder;
|
|
3310
|
+
break;
|
|
3311
|
+
}
|
|
3312
|
+
case 26: {
|
|
3313
|
+
global::Lansweeper.Scanningconfig.V1.ADData subBuilder = new global::Lansweeper.Scanningconfig.V1.ADData();
|
|
3314
|
+
if (infoCase_ == InfoOneofCase.AdData) {
|
|
3315
|
+
subBuilder.MergeFrom(AdData);
|
|
3316
|
+
}
|
|
3317
|
+
input.ReadMessage(subBuilder);
|
|
3318
|
+
AdData = subBuilder;
|
|
3319
|
+
break;
|
|
3320
|
+
}
|
|
3321
|
+
case 34: {
|
|
3322
|
+
Target = input.ReadString();
|
|
3112
3323
|
break;
|
|
3113
3324
|
}
|
|
3114
3325
|
}
|
|
@@ -3127,7 +3338,29 @@ namespace Lansweeper.Scanningconfig.V1 {
|
|
|
3127
3338
|
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
|
3128
3339
|
break;
|
|
3129
3340
|
case 8: {
|
|
3130
|
-
|
|
3341
|
+
Type = (global::Lansweeper.Scanningconfig.V1.TargetData.Types.TargetType) input.ReadEnum();
|
|
3342
|
+
break;
|
|
3343
|
+
}
|
|
3344
|
+
case 18: {
|
|
3345
|
+
global::Lansweeper.Scanningconfig.V1.IPScanData subBuilder = new global::Lansweeper.Scanningconfig.V1.IPScanData();
|
|
3346
|
+
if (infoCase_ == InfoOneofCase.IpScanData) {
|
|
3347
|
+
subBuilder.MergeFrom(IpScanData);
|
|
3348
|
+
}
|
|
3349
|
+
input.ReadMessage(subBuilder);
|
|
3350
|
+
IpScanData = subBuilder;
|
|
3351
|
+
break;
|
|
3352
|
+
}
|
|
3353
|
+
case 26: {
|
|
3354
|
+
global::Lansweeper.Scanningconfig.V1.ADData subBuilder = new global::Lansweeper.Scanningconfig.V1.ADData();
|
|
3355
|
+
if (infoCase_ == InfoOneofCase.AdData) {
|
|
3356
|
+
subBuilder.MergeFrom(AdData);
|
|
3357
|
+
}
|
|
3358
|
+
input.ReadMessage(subBuilder);
|
|
3359
|
+
AdData = subBuilder;
|
|
3360
|
+
break;
|
|
3361
|
+
}
|
|
3362
|
+
case 34: {
|
|
3363
|
+
Target = input.ReadString();
|
|
3131
3364
|
break;
|
|
3132
3365
|
}
|
|
3133
3366
|
}
|
|
@@ -3136,14 +3369,15 @@ namespace Lansweeper.Scanningconfig.V1 {
|
|
|
3136
3369
|
#endif
|
|
3137
3370
|
|
|
3138
3371
|
#region Nested types
|
|
3139
|
-
/// <summary>Container for nested types declared in the
|
|
3372
|
+
/// <summary>Container for nested types declared in the TargetData message type.</summary>
|
|
3140
3373
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3141
3374
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
3142
3375
|
public static partial class Types {
|
|
3143
|
-
public enum
|
|
3144
|
-
[pbr::OriginalName("
|
|
3145
|
-
[pbr::OriginalName("
|
|
3146
|
-
[pbr::OriginalName("
|
|
3376
|
+
public enum TargetType {
|
|
3377
|
+
[pbr::OriginalName("UNKNOWN_TARGET_TYPE")] UnknownTargetType = 0,
|
|
3378
|
+
[pbr::OriginalName("IP_SCAN")] IpScan = 1,
|
|
3379
|
+
[pbr::OriginalName("SCCM")] Sccm = 2,
|
|
3380
|
+
[pbr::OriginalName("AD")] Ad = 3,
|
|
3147
3381
|
}
|
|
3148
3382
|
|
|
3149
3383
|
}
|
|
@@ -3151,16 +3385,16 @@ namespace Lansweeper.Scanningconfig.V1 {
|
|
|
3151
3385
|
|
|
3152
3386
|
}
|
|
3153
3387
|
|
|
3154
|
-
public sealed partial class
|
|
3388
|
+
public sealed partial class IPScanData : pb::IMessage<IPScanData>
|
|
3155
3389
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
3156
3390
|
, pb::IBufferMessage
|
|
3157
3391
|
#endif
|
|
3158
3392
|
{
|
|
3159
|
-
private static readonly pb::MessageParser<
|
|
3393
|
+
private static readonly pb::MessageParser<IPScanData> _parser = new pb::MessageParser<IPScanData>(() => new IPScanData());
|
|
3160
3394
|
private pb::UnknownFieldSet _unknownFields;
|
|
3161
3395
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3162
3396
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
3163
|
-
public static pb::MessageParser<
|
|
3397
|
+
public static pb::MessageParser<IPScanData> Parser { get { return _parser; } }
|
|
3164
3398
|
|
|
3165
3399
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3166
3400
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
@@ -3174,6 +3408,1169 @@ namespace Lansweeper.Scanningconfig.V1 {
|
|
|
3174
3408
|
get { return Descriptor; }
|
|
3175
3409
|
}
|
|
3176
3410
|
|
|
3411
|
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3412
|
+
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
3413
|
+
public IPScanData() {
|
|
3414
|
+
OnConstruction();
|
|
3415
|
+
}
|
|
3416
|
+
|
|
3417
|
+
partial void OnConstruction();
|
|
3418
|
+
|
|
3419
|
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3420
|
+
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
3421
|
+
public IPScanData(IPScanData other) : this() {
|
|
3422
|
+
type_ = other.type_;
|
|
3423
|
+
target_ = other.target_;
|
|
3424
|
+
ping_ = other.ping_ != null ? other.ping_.Clone() : null;
|
|
3425
|
+
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
3426
|
+
}
|
|
3427
|
+
|
|
3428
|
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3429
|
+
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
3430
|
+
public IPScanData Clone() {
|
|
3431
|
+
return new IPScanData(this);
|
|
3432
|
+
}
|
|
3433
|
+
|
|
3434
|
+
/// <summary>Field number for the "type" field.</summary>
|
|
3435
|
+
public const int TypeFieldNumber = 1;
|
|
3436
|
+
private global::Lansweeper.Scanningconfig.V1.IPScanType type_ = global::Lansweeper.Scanningconfig.V1.IPScanType.UnknownIpScanType;
|
|
3437
|
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3438
|
+
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
3439
|
+
public global::Lansweeper.Scanningconfig.V1.IPScanType Type {
|
|
3440
|
+
get { return type_; }
|
|
3441
|
+
set {
|
|
3442
|
+
type_ = value;
|
|
3443
|
+
}
|
|
3444
|
+
}
|
|
3445
|
+
|
|
3446
|
+
/// <summary>Field number for the "target" field.</summary>
|
|
3447
|
+
public const int TargetFieldNumber = 2;
|
|
3448
|
+
private string target_ = "";
|
|
3449
|
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3450
|
+
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
3451
|
+
public string Target {
|
|
3452
|
+
get { return target_; }
|
|
3453
|
+
set {
|
|
3454
|
+
target_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
3455
|
+
}
|
|
3456
|
+
}
|
|
3457
|
+
|
|
3458
|
+
/// <summary>Field number for the "ping" field.</summary>
|
|
3459
|
+
public const int PingFieldNumber = 3;
|
|
3460
|
+
private global::Lansweeper.Scanningconfig.V1.IPScanPing ping_;
|
|
3461
|
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3462
|
+
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
3463
|
+
public global::Lansweeper.Scanningconfig.V1.IPScanPing Ping {
|
|
3464
|
+
get { return ping_; }
|
|
3465
|
+
set {
|
|
3466
|
+
ping_ = value;
|
|
3467
|
+
}
|
|
3468
|
+
}
|
|
3469
|
+
|
|
3470
|
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3471
|
+
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
3472
|
+
public override bool Equals(object other) {
|
|
3473
|
+
return Equals(other as IPScanData);
|
|
3474
|
+
}
|
|
3475
|
+
|
|
3476
|
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3477
|
+
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
3478
|
+
public bool Equals(IPScanData other) {
|
|
3479
|
+
if (ReferenceEquals(other, null)) {
|
|
3480
|
+
return false;
|
|
3481
|
+
}
|
|
3482
|
+
if (ReferenceEquals(other, this)) {
|
|
3483
|
+
return true;
|
|
3484
|
+
}
|
|
3485
|
+
if (Type != other.Type) return false;
|
|
3486
|
+
if (Target != other.Target) return false;
|
|
3487
|
+
if (!object.Equals(Ping, other.Ping)) return false;
|
|
3488
|
+
return Equals(_unknownFields, other._unknownFields);
|
|
3489
|
+
}
|
|
3490
|
+
|
|
3491
|
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3492
|
+
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
3493
|
+
public override int GetHashCode() {
|
|
3494
|
+
int hash = 1;
|
|
3495
|
+
if (Type != global::Lansweeper.Scanningconfig.V1.IPScanType.UnknownIpScanType) hash ^= Type.GetHashCode();
|
|
3496
|
+
if (Target.Length != 0) hash ^= Target.GetHashCode();
|
|
3497
|
+
if (ping_ != null) hash ^= Ping.GetHashCode();
|
|
3498
|
+
if (_unknownFields != null) {
|
|
3499
|
+
hash ^= _unknownFields.GetHashCode();
|
|
3500
|
+
}
|
|
3501
|
+
return hash;
|
|
3502
|
+
}
|
|
3503
|
+
|
|
3504
|
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3505
|
+
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
3506
|
+
public override string ToString() {
|
|
3507
|
+
return pb::JsonFormatter.ToDiagnosticString(this);
|
|
3508
|
+
}
|
|
3509
|
+
|
|
3510
|
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3511
|
+
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
3512
|
+
public void WriteTo(pb::CodedOutputStream output) {
|
|
3513
|
+
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
3514
|
+
output.WriteRawMessage(this);
|
|
3515
|
+
#else
|
|
3516
|
+
if (Type != global::Lansweeper.Scanningconfig.V1.IPScanType.UnknownIpScanType) {
|
|
3517
|
+
output.WriteRawTag(8);
|
|
3518
|
+
output.WriteEnum((int) Type);
|
|
3519
|
+
}
|
|
3520
|
+
if (Target.Length != 0) {
|
|
3521
|
+
output.WriteRawTag(18);
|
|
3522
|
+
output.WriteString(Target);
|
|
3523
|
+
}
|
|
3524
|
+
if (ping_ != null) {
|
|
3525
|
+
output.WriteRawTag(26);
|
|
3526
|
+
output.WriteMessage(Ping);
|
|
3527
|
+
}
|
|
3528
|
+
if (_unknownFields != null) {
|
|
3529
|
+
_unknownFields.WriteTo(output);
|
|
3530
|
+
}
|
|
3531
|
+
#endif
|
|
3532
|
+
}
|
|
3533
|
+
|
|
3534
|
+
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
3535
|
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3536
|
+
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
3537
|
+
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
|
3538
|
+
if (Type != global::Lansweeper.Scanningconfig.V1.IPScanType.UnknownIpScanType) {
|
|
3539
|
+
output.WriteRawTag(8);
|
|
3540
|
+
output.WriteEnum((int) Type);
|
|
3541
|
+
}
|
|
3542
|
+
if (Target.Length != 0) {
|
|
3543
|
+
output.WriteRawTag(18);
|
|
3544
|
+
output.WriteString(Target);
|
|
3545
|
+
}
|
|
3546
|
+
if (ping_ != null) {
|
|
3547
|
+
output.WriteRawTag(26);
|
|
3548
|
+
output.WriteMessage(Ping);
|
|
3549
|
+
}
|
|
3550
|
+
if (_unknownFields != null) {
|
|
3551
|
+
_unknownFields.WriteTo(ref output);
|
|
3552
|
+
}
|
|
3553
|
+
}
|
|
3554
|
+
#endif
|
|
3555
|
+
|
|
3556
|
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3557
|
+
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
3558
|
+
public int CalculateSize() {
|
|
3559
|
+
int size = 0;
|
|
3560
|
+
if (Type != global::Lansweeper.Scanningconfig.V1.IPScanType.UnknownIpScanType) {
|
|
3561
|
+
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Type);
|
|
3562
|
+
}
|
|
3563
|
+
if (Target.Length != 0) {
|
|
3564
|
+
size += 1 + pb::CodedOutputStream.ComputeStringSize(Target);
|
|
3565
|
+
}
|
|
3566
|
+
if (ping_ != null) {
|
|
3567
|
+
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Ping);
|
|
3568
|
+
}
|
|
3569
|
+
if (_unknownFields != null) {
|
|
3570
|
+
size += _unknownFields.CalculateSize();
|
|
3571
|
+
}
|
|
3572
|
+
return size;
|
|
3573
|
+
}
|
|
3574
|
+
|
|
3575
|
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3576
|
+
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
3577
|
+
public void MergeFrom(IPScanData other) {
|
|
3578
|
+
if (other == null) {
|
|
3579
|
+
return;
|
|
3580
|
+
}
|
|
3581
|
+
if (other.Type != global::Lansweeper.Scanningconfig.V1.IPScanType.UnknownIpScanType) {
|
|
3582
|
+
Type = other.Type;
|
|
3583
|
+
}
|
|
3584
|
+
if (other.Target.Length != 0) {
|
|
3585
|
+
Target = other.Target;
|
|
3586
|
+
}
|
|
3587
|
+
if (other.ping_ != null) {
|
|
3588
|
+
if (ping_ == null) {
|
|
3589
|
+
Ping = new global::Lansweeper.Scanningconfig.V1.IPScanPing();
|
|
3590
|
+
}
|
|
3591
|
+
Ping.MergeFrom(other.Ping);
|
|
3592
|
+
}
|
|
3593
|
+
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
|
3594
|
+
}
|
|
3595
|
+
|
|
3596
|
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3597
|
+
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
3598
|
+
public void MergeFrom(pb::CodedInputStream input) {
|
|
3599
|
+
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
3600
|
+
input.ReadRawMessage(this);
|
|
3601
|
+
#else
|
|
3602
|
+
uint tag;
|
|
3603
|
+
while ((tag = input.ReadTag()) != 0) {
|
|
3604
|
+
switch(tag) {
|
|
3605
|
+
default:
|
|
3606
|
+
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
|
3607
|
+
break;
|
|
3608
|
+
case 8: {
|
|
3609
|
+
Type = (global::Lansweeper.Scanningconfig.V1.IPScanType) input.ReadEnum();
|
|
3610
|
+
break;
|
|
3611
|
+
}
|
|
3612
|
+
case 18: {
|
|
3613
|
+
Target = input.ReadString();
|
|
3614
|
+
break;
|
|
3615
|
+
}
|
|
3616
|
+
case 26: {
|
|
3617
|
+
if (ping_ == null) {
|
|
3618
|
+
Ping = new global::Lansweeper.Scanningconfig.V1.IPScanPing();
|
|
3619
|
+
}
|
|
3620
|
+
input.ReadMessage(Ping);
|
|
3621
|
+
break;
|
|
3622
|
+
}
|
|
3623
|
+
}
|
|
3624
|
+
}
|
|
3625
|
+
#endif
|
|
3626
|
+
}
|
|
3627
|
+
|
|
3628
|
+
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
3629
|
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3630
|
+
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
3631
|
+
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
|
|
3632
|
+
uint tag;
|
|
3633
|
+
while ((tag = input.ReadTag()) != 0) {
|
|
3634
|
+
switch(tag) {
|
|
3635
|
+
default:
|
|
3636
|
+
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
|
3637
|
+
break;
|
|
3638
|
+
case 8: {
|
|
3639
|
+
Type = (global::Lansweeper.Scanningconfig.V1.IPScanType) input.ReadEnum();
|
|
3640
|
+
break;
|
|
3641
|
+
}
|
|
3642
|
+
case 18: {
|
|
3643
|
+
Target = input.ReadString();
|
|
3644
|
+
break;
|
|
3645
|
+
}
|
|
3646
|
+
case 26: {
|
|
3647
|
+
if (ping_ == null) {
|
|
3648
|
+
Ping = new global::Lansweeper.Scanningconfig.V1.IPScanPing();
|
|
3649
|
+
}
|
|
3650
|
+
input.ReadMessage(Ping);
|
|
3651
|
+
break;
|
|
3652
|
+
}
|
|
3653
|
+
}
|
|
3654
|
+
}
|
|
3655
|
+
}
|
|
3656
|
+
#endif
|
|
3657
|
+
|
|
3658
|
+
}
|
|
3659
|
+
|
|
3660
|
+
public sealed partial class IPScanPing : pb::IMessage<IPScanPing>
|
|
3661
|
+
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
3662
|
+
, pb::IBufferMessage
|
|
3663
|
+
#endif
|
|
3664
|
+
{
|
|
3665
|
+
private static readonly pb::MessageParser<IPScanPing> _parser = new pb::MessageParser<IPScanPing>(() => new IPScanPing());
|
|
3666
|
+
private pb::UnknownFieldSet _unknownFields;
|
|
3667
|
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3668
|
+
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
3669
|
+
public static pb::MessageParser<IPScanPing> Parser { get { return _parser; } }
|
|
3670
|
+
|
|
3671
|
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3672
|
+
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
3673
|
+
public static pbr::MessageDescriptor Descriptor {
|
|
3674
|
+
get { return global::Lansweeper.Scanningconfig.V1.ScanningconfigReflection.Descriptor.MessageTypes[13]; }
|
|
3675
|
+
}
|
|
3676
|
+
|
|
3677
|
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3678
|
+
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
3679
|
+
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
|
3680
|
+
get { return Descriptor; }
|
|
3681
|
+
}
|
|
3682
|
+
|
|
3683
|
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3684
|
+
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
3685
|
+
public IPScanPing() {
|
|
3686
|
+
OnConstruction();
|
|
3687
|
+
}
|
|
3688
|
+
|
|
3689
|
+
partial void OnConstruction();
|
|
3690
|
+
|
|
3691
|
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3692
|
+
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
3693
|
+
public IPScanPing(IPScanPing other) : this() {
|
|
3694
|
+
usePing_ = other.usePing_;
|
|
3695
|
+
pingTimeout_ = other.pingTimeout_;
|
|
3696
|
+
keepNoAnswerScan_ = other.keepNoAnswerScan_;
|
|
3697
|
+
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
3698
|
+
}
|
|
3699
|
+
|
|
3700
|
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3701
|
+
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
3702
|
+
public IPScanPing Clone() {
|
|
3703
|
+
return new IPScanPing(this);
|
|
3704
|
+
}
|
|
3705
|
+
|
|
3706
|
+
/// <summary>Field number for the "use_ping" field.</summary>
|
|
3707
|
+
public const int UsePingFieldNumber = 1;
|
|
3708
|
+
private bool usePing_;
|
|
3709
|
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3710
|
+
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
3711
|
+
public bool UsePing {
|
|
3712
|
+
get { return usePing_; }
|
|
3713
|
+
set {
|
|
3714
|
+
usePing_ = value;
|
|
3715
|
+
}
|
|
3716
|
+
}
|
|
3717
|
+
|
|
3718
|
+
/// <summary>Field number for the "ping_timeout" field.</summary>
|
|
3719
|
+
public const int PingTimeoutFieldNumber = 2;
|
|
3720
|
+
private int pingTimeout_;
|
|
3721
|
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3722
|
+
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
3723
|
+
public int PingTimeout {
|
|
3724
|
+
get { return pingTimeout_; }
|
|
3725
|
+
set {
|
|
3726
|
+
pingTimeout_ = value;
|
|
3727
|
+
}
|
|
3728
|
+
}
|
|
3729
|
+
|
|
3730
|
+
/// <summary>Field number for the "keep_no_answer_scan" field.</summary>
|
|
3731
|
+
public const int KeepNoAnswerScanFieldNumber = 3;
|
|
3732
|
+
private bool keepNoAnswerScan_;
|
|
3733
|
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3734
|
+
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
3735
|
+
public bool KeepNoAnswerScan {
|
|
3736
|
+
get { return keepNoAnswerScan_; }
|
|
3737
|
+
set {
|
|
3738
|
+
keepNoAnswerScan_ = value;
|
|
3739
|
+
}
|
|
3740
|
+
}
|
|
3741
|
+
|
|
3742
|
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3743
|
+
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
3744
|
+
public override bool Equals(object other) {
|
|
3745
|
+
return Equals(other as IPScanPing);
|
|
3746
|
+
}
|
|
3747
|
+
|
|
3748
|
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3749
|
+
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
3750
|
+
public bool Equals(IPScanPing other) {
|
|
3751
|
+
if (ReferenceEquals(other, null)) {
|
|
3752
|
+
return false;
|
|
3753
|
+
}
|
|
3754
|
+
if (ReferenceEquals(other, this)) {
|
|
3755
|
+
return true;
|
|
3756
|
+
}
|
|
3757
|
+
if (UsePing != other.UsePing) return false;
|
|
3758
|
+
if (PingTimeout != other.PingTimeout) return false;
|
|
3759
|
+
if (KeepNoAnswerScan != other.KeepNoAnswerScan) return false;
|
|
3760
|
+
return Equals(_unknownFields, other._unknownFields);
|
|
3761
|
+
}
|
|
3762
|
+
|
|
3763
|
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3764
|
+
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
3765
|
+
public override int GetHashCode() {
|
|
3766
|
+
int hash = 1;
|
|
3767
|
+
if (UsePing != false) hash ^= UsePing.GetHashCode();
|
|
3768
|
+
if (PingTimeout != 0) hash ^= PingTimeout.GetHashCode();
|
|
3769
|
+
if (KeepNoAnswerScan != false) hash ^= KeepNoAnswerScan.GetHashCode();
|
|
3770
|
+
if (_unknownFields != null) {
|
|
3771
|
+
hash ^= _unknownFields.GetHashCode();
|
|
3772
|
+
}
|
|
3773
|
+
return hash;
|
|
3774
|
+
}
|
|
3775
|
+
|
|
3776
|
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3777
|
+
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
3778
|
+
public override string ToString() {
|
|
3779
|
+
return pb::JsonFormatter.ToDiagnosticString(this);
|
|
3780
|
+
}
|
|
3781
|
+
|
|
3782
|
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3783
|
+
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
3784
|
+
public void WriteTo(pb::CodedOutputStream output) {
|
|
3785
|
+
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
3786
|
+
output.WriteRawMessage(this);
|
|
3787
|
+
#else
|
|
3788
|
+
if (UsePing != false) {
|
|
3789
|
+
output.WriteRawTag(8);
|
|
3790
|
+
output.WriteBool(UsePing);
|
|
3791
|
+
}
|
|
3792
|
+
if (PingTimeout != 0) {
|
|
3793
|
+
output.WriteRawTag(16);
|
|
3794
|
+
output.WriteInt32(PingTimeout);
|
|
3795
|
+
}
|
|
3796
|
+
if (KeepNoAnswerScan != false) {
|
|
3797
|
+
output.WriteRawTag(24);
|
|
3798
|
+
output.WriteBool(KeepNoAnswerScan);
|
|
3799
|
+
}
|
|
3800
|
+
if (_unknownFields != null) {
|
|
3801
|
+
_unknownFields.WriteTo(output);
|
|
3802
|
+
}
|
|
3803
|
+
#endif
|
|
3804
|
+
}
|
|
3805
|
+
|
|
3806
|
+
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
3807
|
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3808
|
+
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
3809
|
+
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
|
3810
|
+
if (UsePing != false) {
|
|
3811
|
+
output.WriteRawTag(8);
|
|
3812
|
+
output.WriteBool(UsePing);
|
|
3813
|
+
}
|
|
3814
|
+
if (PingTimeout != 0) {
|
|
3815
|
+
output.WriteRawTag(16);
|
|
3816
|
+
output.WriteInt32(PingTimeout);
|
|
3817
|
+
}
|
|
3818
|
+
if (KeepNoAnswerScan != false) {
|
|
3819
|
+
output.WriteRawTag(24);
|
|
3820
|
+
output.WriteBool(KeepNoAnswerScan);
|
|
3821
|
+
}
|
|
3822
|
+
if (_unknownFields != null) {
|
|
3823
|
+
_unknownFields.WriteTo(ref output);
|
|
3824
|
+
}
|
|
3825
|
+
}
|
|
3826
|
+
#endif
|
|
3827
|
+
|
|
3828
|
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3829
|
+
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
3830
|
+
public int CalculateSize() {
|
|
3831
|
+
int size = 0;
|
|
3832
|
+
if (UsePing != false) {
|
|
3833
|
+
size += 1 + 1;
|
|
3834
|
+
}
|
|
3835
|
+
if (PingTimeout != 0) {
|
|
3836
|
+
size += 1 + pb::CodedOutputStream.ComputeInt32Size(PingTimeout);
|
|
3837
|
+
}
|
|
3838
|
+
if (KeepNoAnswerScan != false) {
|
|
3839
|
+
size += 1 + 1;
|
|
3840
|
+
}
|
|
3841
|
+
if (_unknownFields != null) {
|
|
3842
|
+
size += _unknownFields.CalculateSize();
|
|
3843
|
+
}
|
|
3844
|
+
return size;
|
|
3845
|
+
}
|
|
3846
|
+
|
|
3847
|
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3848
|
+
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
3849
|
+
public void MergeFrom(IPScanPing other) {
|
|
3850
|
+
if (other == null) {
|
|
3851
|
+
return;
|
|
3852
|
+
}
|
|
3853
|
+
if (other.UsePing != false) {
|
|
3854
|
+
UsePing = other.UsePing;
|
|
3855
|
+
}
|
|
3856
|
+
if (other.PingTimeout != 0) {
|
|
3857
|
+
PingTimeout = other.PingTimeout;
|
|
3858
|
+
}
|
|
3859
|
+
if (other.KeepNoAnswerScan != false) {
|
|
3860
|
+
KeepNoAnswerScan = other.KeepNoAnswerScan;
|
|
3861
|
+
}
|
|
3862
|
+
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
|
3863
|
+
}
|
|
3864
|
+
|
|
3865
|
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3866
|
+
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
3867
|
+
public void MergeFrom(pb::CodedInputStream input) {
|
|
3868
|
+
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
3869
|
+
input.ReadRawMessage(this);
|
|
3870
|
+
#else
|
|
3871
|
+
uint tag;
|
|
3872
|
+
while ((tag = input.ReadTag()) != 0) {
|
|
3873
|
+
switch(tag) {
|
|
3874
|
+
default:
|
|
3875
|
+
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
|
3876
|
+
break;
|
|
3877
|
+
case 8: {
|
|
3878
|
+
UsePing = input.ReadBool();
|
|
3879
|
+
break;
|
|
3880
|
+
}
|
|
3881
|
+
case 16: {
|
|
3882
|
+
PingTimeout = input.ReadInt32();
|
|
3883
|
+
break;
|
|
3884
|
+
}
|
|
3885
|
+
case 24: {
|
|
3886
|
+
KeepNoAnswerScan = input.ReadBool();
|
|
3887
|
+
break;
|
|
3888
|
+
}
|
|
3889
|
+
}
|
|
3890
|
+
}
|
|
3891
|
+
#endif
|
|
3892
|
+
}
|
|
3893
|
+
|
|
3894
|
+
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
3895
|
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3896
|
+
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
3897
|
+
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
|
|
3898
|
+
uint tag;
|
|
3899
|
+
while ((tag = input.ReadTag()) != 0) {
|
|
3900
|
+
switch(tag) {
|
|
3901
|
+
default:
|
|
3902
|
+
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
|
3903
|
+
break;
|
|
3904
|
+
case 8: {
|
|
3905
|
+
UsePing = input.ReadBool();
|
|
3906
|
+
break;
|
|
3907
|
+
}
|
|
3908
|
+
case 16: {
|
|
3909
|
+
PingTimeout = input.ReadInt32();
|
|
3910
|
+
break;
|
|
3911
|
+
}
|
|
3912
|
+
case 24: {
|
|
3913
|
+
KeepNoAnswerScan = input.ReadBool();
|
|
3914
|
+
break;
|
|
3915
|
+
}
|
|
3916
|
+
}
|
|
3917
|
+
}
|
|
3918
|
+
}
|
|
3919
|
+
#endif
|
|
3920
|
+
|
|
3921
|
+
}
|
|
3922
|
+
|
|
3923
|
+
public sealed partial class ADData : pb::IMessage<ADData>
|
|
3924
|
+
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
3925
|
+
, pb::IBufferMessage
|
|
3926
|
+
#endif
|
|
3927
|
+
{
|
|
3928
|
+
private static readonly pb::MessageParser<ADData> _parser = new pb::MessageParser<ADData>(() => new ADData());
|
|
3929
|
+
private pb::UnknownFieldSet _unknownFields;
|
|
3930
|
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3931
|
+
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
3932
|
+
public static pb::MessageParser<ADData> Parser { get { return _parser; } }
|
|
3933
|
+
|
|
3934
|
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3935
|
+
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
3936
|
+
public static pbr::MessageDescriptor Descriptor {
|
|
3937
|
+
get { return global::Lansweeper.Scanningconfig.V1.ScanningconfigReflection.Descriptor.MessageTypes[14]; }
|
|
3938
|
+
}
|
|
3939
|
+
|
|
3940
|
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3941
|
+
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
3942
|
+
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
|
3943
|
+
get { return Descriptor; }
|
|
3944
|
+
}
|
|
3945
|
+
|
|
3946
|
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3947
|
+
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
3948
|
+
public ADData() {
|
|
3949
|
+
OnConstruction();
|
|
3950
|
+
}
|
|
3951
|
+
|
|
3952
|
+
partial void OnConstruction();
|
|
3953
|
+
|
|
3954
|
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3955
|
+
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
3956
|
+
public ADData(ADData other) : this() {
|
|
3957
|
+
name_ = other.name_;
|
|
3958
|
+
adsiFilter_ = other.adsiFilter_;
|
|
3959
|
+
domain_ = other.domain_;
|
|
3960
|
+
computerScan_ = other.computerScan_;
|
|
3961
|
+
userGroupScan_ = other.userGroupScan_;
|
|
3962
|
+
ldapType_ = other.ldapType_;
|
|
3963
|
+
port_ = other.port_;
|
|
3964
|
+
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
3965
|
+
}
|
|
3966
|
+
|
|
3967
|
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3968
|
+
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
3969
|
+
public ADData Clone() {
|
|
3970
|
+
return new ADData(this);
|
|
3971
|
+
}
|
|
3972
|
+
|
|
3973
|
+
/// <summary>Field number for the "name" field.</summary>
|
|
3974
|
+
public const int NameFieldNumber = 1;
|
|
3975
|
+
private string name_ = "";
|
|
3976
|
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3977
|
+
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
3978
|
+
public string Name {
|
|
3979
|
+
get { return name_; }
|
|
3980
|
+
set {
|
|
3981
|
+
name_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
3982
|
+
}
|
|
3983
|
+
}
|
|
3984
|
+
|
|
3985
|
+
/// <summary>Field number for the "adsi_filter" field.</summary>
|
|
3986
|
+
public const int AdsiFilterFieldNumber = 2;
|
|
3987
|
+
private string adsiFilter_ = "";
|
|
3988
|
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3989
|
+
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
3990
|
+
public string AdsiFilter {
|
|
3991
|
+
get { return adsiFilter_; }
|
|
3992
|
+
set {
|
|
3993
|
+
adsiFilter_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
3994
|
+
}
|
|
3995
|
+
}
|
|
3996
|
+
|
|
3997
|
+
/// <summary>Field number for the "domain" field.</summary>
|
|
3998
|
+
public const int DomainFieldNumber = 3;
|
|
3999
|
+
private string domain_ = "";
|
|
4000
|
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
4001
|
+
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
4002
|
+
public string Domain {
|
|
4003
|
+
get { return domain_; }
|
|
4004
|
+
set {
|
|
4005
|
+
domain_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
4006
|
+
}
|
|
4007
|
+
}
|
|
4008
|
+
|
|
4009
|
+
/// <summary>Field number for the "computer_scan" field.</summary>
|
|
4010
|
+
public const int ComputerScanFieldNumber = 4;
|
|
4011
|
+
private bool computerScan_;
|
|
4012
|
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
4013
|
+
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
4014
|
+
public bool ComputerScan {
|
|
4015
|
+
get { return computerScan_; }
|
|
4016
|
+
set {
|
|
4017
|
+
computerScan_ = value;
|
|
4018
|
+
}
|
|
4019
|
+
}
|
|
4020
|
+
|
|
4021
|
+
/// <summary>Field number for the "user_group_scan" field.</summary>
|
|
4022
|
+
public const int UserGroupScanFieldNumber = 5;
|
|
4023
|
+
private bool userGroupScan_;
|
|
4024
|
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
4025
|
+
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
4026
|
+
public bool UserGroupScan {
|
|
4027
|
+
get { return userGroupScan_; }
|
|
4028
|
+
set {
|
|
4029
|
+
userGroupScan_ = value;
|
|
4030
|
+
}
|
|
4031
|
+
}
|
|
4032
|
+
|
|
4033
|
+
/// <summary>Field number for the "ldap_type" field.</summary>
|
|
4034
|
+
public const int LdapTypeFieldNumber = 6;
|
|
4035
|
+
private global::Lansweeper.Scanningconfig.V1.ADData.Types.LDAPType ldapType_ = global::Lansweeper.Scanningconfig.V1.ADData.Types.LDAPType.UnknownLdapType;
|
|
4036
|
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
4037
|
+
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
4038
|
+
public global::Lansweeper.Scanningconfig.V1.ADData.Types.LDAPType LdapType {
|
|
4039
|
+
get { return ldapType_; }
|
|
4040
|
+
set {
|
|
4041
|
+
ldapType_ = value;
|
|
4042
|
+
}
|
|
4043
|
+
}
|
|
4044
|
+
|
|
4045
|
+
/// <summary>Field number for the "port" field.</summary>
|
|
4046
|
+
public const int PortFieldNumber = 7;
|
|
4047
|
+
private int port_;
|
|
4048
|
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
4049
|
+
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
4050
|
+
public int Port {
|
|
4051
|
+
get { return port_; }
|
|
4052
|
+
set {
|
|
4053
|
+
port_ = value;
|
|
4054
|
+
}
|
|
4055
|
+
}
|
|
4056
|
+
|
|
4057
|
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
4058
|
+
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
4059
|
+
public override bool Equals(object other) {
|
|
4060
|
+
return Equals(other as ADData);
|
|
4061
|
+
}
|
|
4062
|
+
|
|
4063
|
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
4064
|
+
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
4065
|
+
public bool Equals(ADData other) {
|
|
4066
|
+
if (ReferenceEquals(other, null)) {
|
|
4067
|
+
return false;
|
|
4068
|
+
}
|
|
4069
|
+
if (ReferenceEquals(other, this)) {
|
|
4070
|
+
return true;
|
|
4071
|
+
}
|
|
4072
|
+
if (Name != other.Name) return false;
|
|
4073
|
+
if (AdsiFilter != other.AdsiFilter) return false;
|
|
4074
|
+
if (Domain != other.Domain) return false;
|
|
4075
|
+
if (ComputerScan != other.ComputerScan) return false;
|
|
4076
|
+
if (UserGroupScan != other.UserGroupScan) return false;
|
|
4077
|
+
if (LdapType != other.LdapType) return false;
|
|
4078
|
+
if (Port != other.Port) return false;
|
|
4079
|
+
return Equals(_unknownFields, other._unknownFields);
|
|
4080
|
+
}
|
|
4081
|
+
|
|
4082
|
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
4083
|
+
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
4084
|
+
public override int GetHashCode() {
|
|
4085
|
+
int hash = 1;
|
|
4086
|
+
if (Name.Length != 0) hash ^= Name.GetHashCode();
|
|
4087
|
+
if (AdsiFilter.Length != 0) hash ^= AdsiFilter.GetHashCode();
|
|
4088
|
+
if (Domain.Length != 0) hash ^= Domain.GetHashCode();
|
|
4089
|
+
if (ComputerScan != false) hash ^= ComputerScan.GetHashCode();
|
|
4090
|
+
if (UserGroupScan != false) hash ^= UserGroupScan.GetHashCode();
|
|
4091
|
+
if (LdapType != global::Lansweeper.Scanningconfig.V1.ADData.Types.LDAPType.UnknownLdapType) hash ^= LdapType.GetHashCode();
|
|
4092
|
+
if (Port != 0) hash ^= Port.GetHashCode();
|
|
4093
|
+
if (_unknownFields != null) {
|
|
4094
|
+
hash ^= _unknownFields.GetHashCode();
|
|
4095
|
+
}
|
|
4096
|
+
return hash;
|
|
4097
|
+
}
|
|
4098
|
+
|
|
4099
|
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
4100
|
+
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
4101
|
+
public override string ToString() {
|
|
4102
|
+
return pb::JsonFormatter.ToDiagnosticString(this);
|
|
4103
|
+
}
|
|
4104
|
+
|
|
4105
|
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
4106
|
+
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
4107
|
+
public void WriteTo(pb::CodedOutputStream output) {
|
|
4108
|
+
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
4109
|
+
output.WriteRawMessage(this);
|
|
4110
|
+
#else
|
|
4111
|
+
if (Name.Length != 0) {
|
|
4112
|
+
output.WriteRawTag(10);
|
|
4113
|
+
output.WriteString(Name);
|
|
4114
|
+
}
|
|
4115
|
+
if (AdsiFilter.Length != 0) {
|
|
4116
|
+
output.WriteRawTag(18);
|
|
4117
|
+
output.WriteString(AdsiFilter);
|
|
4118
|
+
}
|
|
4119
|
+
if (Domain.Length != 0) {
|
|
4120
|
+
output.WriteRawTag(26);
|
|
4121
|
+
output.WriteString(Domain);
|
|
4122
|
+
}
|
|
4123
|
+
if (ComputerScan != false) {
|
|
4124
|
+
output.WriteRawTag(32);
|
|
4125
|
+
output.WriteBool(ComputerScan);
|
|
4126
|
+
}
|
|
4127
|
+
if (UserGroupScan != false) {
|
|
4128
|
+
output.WriteRawTag(40);
|
|
4129
|
+
output.WriteBool(UserGroupScan);
|
|
4130
|
+
}
|
|
4131
|
+
if (LdapType != global::Lansweeper.Scanningconfig.V1.ADData.Types.LDAPType.UnknownLdapType) {
|
|
4132
|
+
output.WriteRawTag(48);
|
|
4133
|
+
output.WriteEnum((int) LdapType);
|
|
4134
|
+
}
|
|
4135
|
+
if (Port != 0) {
|
|
4136
|
+
output.WriteRawTag(56);
|
|
4137
|
+
output.WriteInt32(Port);
|
|
4138
|
+
}
|
|
4139
|
+
if (_unknownFields != null) {
|
|
4140
|
+
_unknownFields.WriteTo(output);
|
|
4141
|
+
}
|
|
4142
|
+
#endif
|
|
4143
|
+
}
|
|
4144
|
+
|
|
4145
|
+
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
4146
|
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
4147
|
+
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
4148
|
+
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
|
4149
|
+
if (Name.Length != 0) {
|
|
4150
|
+
output.WriteRawTag(10);
|
|
4151
|
+
output.WriteString(Name);
|
|
4152
|
+
}
|
|
4153
|
+
if (AdsiFilter.Length != 0) {
|
|
4154
|
+
output.WriteRawTag(18);
|
|
4155
|
+
output.WriteString(AdsiFilter);
|
|
4156
|
+
}
|
|
4157
|
+
if (Domain.Length != 0) {
|
|
4158
|
+
output.WriteRawTag(26);
|
|
4159
|
+
output.WriteString(Domain);
|
|
4160
|
+
}
|
|
4161
|
+
if (ComputerScan != false) {
|
|
4162
|
+
output.WriteRawTag(32);
|
|
4163
|
+
output.WriteBool(ComputerScan);
|
|
4164
|
+
}
|
|
4165
|
+
if (UserGroupScan != false) {
|
|
4166
|
+
output.WriteRawTag(40);
|
|
4167
|
+
output.WriteBool(UserGroupScan);
|
|
4168
|
+
}
|
|
4169
|
+
if (LdapType != global::Lansweeper.Scanningconfig.V1.ADData.Types.LDAPType.UnknownLdapType) {
|
|
4170
|
+
output.WriteRawTag(48);
|
|
4171
|
+
output.WriteEnum((int) LdapType);
|
|
4172
|
+
}
|
|
4173
|
+
if (Port != 0) {
|
|
4174
|
+
output.WriteRawTag(56);
|
|
4175
|
+
output.WriteInt32(Port);
|
|
4176
|
+
}
|
|
4177
|
+
if (_unknownFields != null) {
|
|
4178
|
+
_unknownFields.WriteTo(ref output);
|
|
4179
|
+
}
|
|
4180
|
+
}
|
|
4181
|
+
#endif
|
|
4182
|
+
|
|
4183
|
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
4184
|
+
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
4185
|
+
public int CalculateSize() {
|
|
4186
|
+
int size = 0;
|
|
4187
|
+
if (Name.Length != 0) {
|
|
4188
|
+
size += 1 + pb::CodedOutputStream.ComputeStringSize(Name);
|
|
4189
|
+
}
|
|
4190
|
+
if (AdsiFilter.Length != 0) {
|
|
4191
|
+
size += 1 + pb::CodedOutputStream.ComputeStringSize(AdsiFilter);
|
|
4192
|
+
}
|
|
4193
|
+
if (Domain.Length != 0) {
|
|
4194
|
+
size += 1 + pb::CodedOutputStream.ComputeStringSize(Domain);
|
|
4195
|
+
}
|
|
4196
|
+
if (ComputerScan != false) {
|
|
4197
|
+
size += 1 + 1;
|
|
4198
|
+
}
|
|
4199
|
+
if (UserGroupScan != false) {
|
|
4200
|
+
size += 1 + 1;
|
|
4201
|
+
}
|
|
4202
|
+
if (LdapType != global::Lansweeper.Scanningconfig.V1.ADData.Types.LDAPType.UnknownLdapType) {
|
|
4203
|
+
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) LdapType);
|
|
4204
|
+
}
|
|
4205
|
+
if (Port != 0) {
|
|
4206
|
+
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Port);
|
|
4207
|
+
}
|
|
4208
|
+
if (_unknownFields != null) {
|
|
4209
|
+
size += _unknownFields.CalculateSize();
|
|
4210
|
+
}
|
|
4211
|
+
return size;
|
|
4212
|
+
}
|
|
4213
|
+
|
|
4214
|
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
4215
|
+
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
4216
|
+
public void MergeFrom(ADData other) {
|
|
4217
|
+
if (other == null) {
|
|
4218
|
+
return;
|
|
4219
|
+
}
|
|
4220
|
+
if (other.Name.Length != 0) {
|
|
4221
|
+
Name = other.Name;
|
|
4222
|
+
}
|
|
4223
|
+
if (other.AdsiFilter.Length != 0) {
|
|
4224
|
+
AdsiFilter = other.AdsiFilter;
|
|
4225
|
+
}
|
|
4226
|
+
if (other.Domain.Length != 0) {
|
|
4227
|
+
Domain = other.Domain;
|
|
4228
|
+
}
|
|
4229
|
+
if (other.ComputerScan != false) {
|
|
4230
|
+
ComputerScan = other.ComputerScan;
|
|
4231
|
+
}
|
|
4232
|
+
if (other.UserGroupScan != false) {
|
|
4233
|
+
UserGroupScan = other.UserGroupScan;
|
|
4234
|
+
}
|
|
4235
|
+
if (other.LdapType != global::Lansweeper.Scanningconfig.V1.ADData.Types.LDAPType.UnknownLdapType) {
|
|
4236
|
+
LdapType = other.LdapType;
|
|
4237
|
+
}
|
|
4238
|
+
if (other.Port != 0) {
|
|
4239
|
+
Port = other.Port;
|
|
4240
|
+
}
|
|
4241
|
+
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
|
4242
|
+
}
|
|
4243
|
+
|
|
4244
|
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
4245
|
+
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
4246
|
+
public void MergeFrom(pb::CodedInputStream input) {
|
|
4247
|
+
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
4248
|
+
input.ReadRawMessage(this);
|
|
4249
|
+
#else
|
|
4250
|
+
uint tag;
|
|
4251
|
+
while ((tag = input.ReadTag()) != 0) {
|
|
4252
|
+
switch(tag) {
|
|
4253
|
+
default:
|
|
4254
|
+
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
|
4255
|
+
break;
|
|
4256
|
+
case 10: {
|
|
4257
|
+
Name = input.ReadString();
|
|
4258
|
+
break;
|
|
4259
|
+
}
|
|
4260
|
+
case 18: {
|
|
4261
|
+
AdsiFilter = input.ReadString();
|
|
4262
|
+
break;
|
|
4263
|
+
}
|
|
4264
|
+
case 26: {
|
|
4265
|
+
Domain = input.ReadString();
|
|
4266
|
+
break;
|
|
4267
|
+
}
|
|
4268
|
+
case 32: {
|
|
4269
|
+
ComputerScan = input.ReadBool();
|
|
4270
|
+
break;
|
|
4271
|
+
}
|
|
4272
|
+
case 40: {
|
|
4273
|
+
UserGroupScan = input.ReadBool();
|
|
4274
|
+
break;
|
|
4275
|
+
}
|
|
4276
|
+
case 48: {
|
|
4277
|
+
LdapType = (global::Lansweeper.Scanningconfig.V1.ADData.Types.LDAPType) input.ReadEnum();
|
|
4278
|
+
break;
|
|
4279
|
+
}
|
|
4280
|
+
case 56: {
|
|
4281
|
+
Port = input.ReadInt32();
|
|
4282
|
+
break;
|
|
4283
|
+
}
|
|
4284
|
+
}
|
|
4285
|
+
}
|
|
4286
|
+
#endif
|
|
4287
|
+
}
|
|
4288
|
+
|
|
4289
|
+
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
4290
|
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
4291
|
+
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
4292
|
+
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
|
|
4293
|
+
uint tag;
|
|
4294
|
+
while ((tag = input.ReadTag()) != 0) {
|
|
4295
|
+
switch(tag) {
|
|
4296
|
+
default:
|
|
4297
|
+
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
|
4298
|
+
break;
|
|
4299
|
+
case 10: {
|
|
4300
|
+
Name = input.ReadString();
|
|
4301
|
+
break;
|
|
4302
|
+
}
|
|
4303
|
+
case 18: {
|
|
4304
|
+
AdsiFilter = input.ReadString();
|
|
4305
|
+
break;
|
|
4306
|
+
}
|
|
4307
|
+
case 26: {
|
|
4308
|
+
Domain = input.ReadString();
|
|
4309
|
+
break;
|
|
4310
|
+
}
|
|
4311
|
+
case 32: {
|
|
4312
|
+
ComputerScan = input.ReadBool();
|
|
4313
|
+
break;
|
|
4314
|
+
}
|
|
4315
|
+
case 40: {
|
|
4316
|
+
UserGroupScan = input.ReadBool();
|
|
4317
|
+
break;
|
|
4318
|
+
}
|
|
4319
|
+
case 48: {
|
|
4320
|
+
LdapType = (global::Lansweeper.Scanningconfig.V1.ADData.Types.LDAPType) input.ReadEnum();
|
|
4321
|
+
break;
|
|
4322
|
+
}
|
|
4323
|
+
case 56: {
|
|
4324
|
+
Port = input.ReadInt32();
|
|
4325
|
+
break;
|
|
4326
|
+
}
|
|
4327
|
+
}
|
|
4328
|
+
}
|
|
4329
|
+
}
|
|
4330
|
+
#endif
|
|
4331
|
+
|
|
4332
|
+
#region Nested types
|
|
4333
|
+
/// <summary>Container for nested types declared in the ADData message type.</summary>
|
|
4334
|
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
4335
|
+
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
4336
|
+
public static partial class Types {
|
|
4337
|
+
public enum LDAPType {
|
|
4338
|
+
[pbr::OriginalName("UNKNOWN_LDAP_TYPE")] UnknownLdapType = 0,
|
|
4339
|
+
[pbr::OriginalName("LDAP")] Ldap = 1,
|
|
4340
|
+
[pbr::OriginalName("LDAPS")] Ldaps = 2,
|
|
4341
|
+
}
|
|
4342
|
+
|
|
4343
|
+
}
|
|
4344
|
+
#endregion
|
|
4345
|
+
|
|
4346
|
+
}
|
|
4347
|
+
|
|
4348
|
+
public sealed partial class Agent : pb::IMessage<Agent>
|
|
4349
|
+
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
4350
|
+
, pb::IBufferMessage
|
|
4351
|
+
#endif
|
|
4352
|
+
{
|
|
4353
|
+
private static readonly pb::MessageParser<Agent> _parser = new pb::MessageParser<Agent>(() => new Agent());
|
|
4354
|
+
private pb::UnknownFieldSet _unknownFields;
|
|
4355
|
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
4356
|
+
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
4357
|
+
public static pb::MessageParser<Agent> Parser { get { return _parser; } }
|
|
4358
|
+
|
|
4359
|
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
4360
|
+
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
4361
|
+
public static pbr::MessageDescriptor Descriptor {
|
|
4362
|
+
get { return global::Lansweeper.Scanningconfig.V1.ScanningconfigReflection.Descriptor.MessageTypes[15]; }
|
|
4363
|
+
}
|
|
4364
|
+
|
|
4365
|
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
4366
|
+
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
4367
|
+
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
|
4368
|
+
get { return Descriptor; }
|
|
4369
|
+
}
|
|
4370
|
+
|
|
4371
|
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
4372
|
+
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
4373
|
+
public Agent() {
|
|
4374
|
+
OnConstruction();
|
|
4375
|
+
}
|
|
4376
|
+
|
|
4377
|
+
partial void OnConstruction();
|
|
4378
|
+
|
|
4379
|
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
4380
|
+
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
4381
|
+
public Agent(Agent other) : this() {
|
|
4382
|
+
scanFocus_ = other.scanFocus_;
|
|
4383
|
+
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
4384
|
+
}
|
|
4385
|
+
|
|
4386
|
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
4387
|
+
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
4388
|
+
public Agent Clone() {
|
|
4389
|
+
return new Agent(this);
|
|
4390
|
+
}
|
|
4391
|
+
|
|
4392
|
+
/// <summary>Field number for the "scan_focus" field.</summary>
|
|
4393
|
+
public const int ScanFocusFieldNumber = 1;
|
|
4394
|
+
private global::Lansweeper.Scanningconfig.V1.Agent.Types.ScanFocus scanFocus_ = global::Lansweeper.Scanningconfig.V1.Agent.Types.ScanFocus.All;
|
|
4395
|
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
4396
|
+
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
4397
|
+
public global::Lansweeper.Scanningconfig.V1.Agent.Types.ScanFocus ScanFocus {
|
|
4398
|
+
get { return scanFocus_; }
|
|
4399
|
+
set {
|
|
4400
|
+
scanFocus_ = value;
|
|
4401
|
+
}
|
|
4402
|
+
}
|
|
4403
|
+
|
|
4404
|
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
4405
|
+
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
4406
|
+
public override bool Equals(object other) {
|
|
4407
|
+
return Equals(other as Agent);
|
|
4408
|
+
}
|
|
4409
|
+
|
|
4410
|
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
4411
|
+
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
4412
|
+
public bool Equals(Agent other) {
|
|
4413
|
+
if (ReferenceEquals(other, null)) {
|
|
4414
|
+
return false;
|
|
4415
|
+
}
|
|
4416
|
+
if (ReferenceEquals(other, this)) {
|
|
4417
|
+
return true;
|
|
4418
|
+
}
|
|
4419
|
+
if (ScanFocus != other.ScanFocus) return false;
|
|
4420
|
+
return Equals(_unknownFields, other._unknownFields);
|
|
4421
|
+
}
|
|
4422
|
+
|
|
4423
|
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
4424
|
+
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
4425
|
+
public override int GetHashCode() {
|
|
4426
|
+
int hash = 1;
|
|
4427
|
+
if (ScanFocus != global::Lansweeper.Scanningconfig.V1.Agent.Types.ScanFocus.All) hash ^= ScanFocus.GetHashCode();
|
|
4428
|
+
if (_unknownFields != null) {
|
|
4429
|
+
hash ^= _unknownFields.GetHashCode();
|
|
4430
|
+
}
|
|
4431
|
+
return hash;
|
|
4432
|
+
}
|
|
4433
|
+
|
|
4434
|
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
4435
|
+
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
4436
|
+
public override string ToString() {
|
|
4437
|
+
return pb::JsonFormatter.ToDiagnosticString(this);
|
|
4438
|
+
}
|
|
4439
|
+
|
|
4440
|
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
4441
|
+
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
4442
|
+
public void WriteTo(pb::CodedOutputStream output) {
|
|
4443
|
+
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
4444
|
+
output.WriteRawMessage(this);
|
|
4445
|
+
#else
|
|
4446
|
+
if (ScanFocus != global::Lansweeper.Scanningconfig.V1.Agent.Types.ScanFocus.All) {
|
|
4447
|
+
output.WriteRawTag(8);
|
|
4448
|
+
output.WriteEnum((int) ScanFocus);
|
|
4449
|
+
}
|
|
4450
|
+
if (_unknownFields != null) {
|
|
4451
|
+
_unknownFields.WriteTo(output);
|
|
4452
|
+
}
|
|
4453
|
+
#endif
|
|
4454
|
+
}
|
|
4455
|
+
|
|
4456
|
+
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
4457
|
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
4458
|
+
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
4459
|
+
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
|
4460
|
+
if (ScanFocus != global::Lansweeper.Scanningconfig.V1.Agent.Types.ScanFocus.All) {
|
|
4461
|
+
output.WriteRawTag(8);
|
|
4462
|
+
output.WriteEnum((int) ScanFocus);
|
|
4463
|
+
}
|
|
4464
|
+
if (_unknownFields != null) {
|
|
4465
|
+
_unknownFields.WriteTo(ref output);
|
|
4466
|
+
}
|
|
4467
|
+
}
|
|
4468
|
+
#endif
|
|
4469
|
+
|
|
4470
|
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
4471
|
+
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
4472
|
+
public int CalculateSize() {
|
|
4473
|
+
int size = 0;
|
|
4474
|
+
if (ScanFocus != global::Lansweeper.Scanningconfig.V1.Agent.Types.ScanFocus.All) {
|
|
4475
|
+
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) ScanFocus);
|
|
4476
|
+
}
|
|
4477
|
+
if (_unknownFields != null) {
|
|
4478
|
+
size += _unknownFields.CalculateSize();
|
|
4479
|
+
}
|
|
4480
|
+
return size;
|
|
4481
|
+
}
|
|
4482
|
+
|
|
4483
|
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
4484
|
+
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
4485
|
+
public void MergeFrom(Agent other) {
|
|
4486
|
+
if (other == null) {
|
|
4487
|
+
return;
|
|
4488
|
+
}
|
|
4489
|
+
if (other.ScanFocus != global::Lansweeper.Scanningconfig.V1.Agent.Types.ScanFocus.All) {
|
|
4490
|
+
ScanFocus = other.ScanFocus;
|
|
4491
|
+
}
|
|
4492
|
+
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
|
4493
|
+
}
|
|
4494
|
+
|
|
4495
|
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
4496
|
+
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
4497
|
+
public void MergeFrom(pb::CodedInputStream input) {
|
|
4498
|
+
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
4499
|
+
input.ReadRawMessage(this);
|
|
4500
|
+
#else
|
|
4501
|
+
uint tag;
|
|
4502
|
+
while ((tag = input.ReadTag()) != 0) {
|
|
4503
|
+
switch(tag) {
|
|
4504
|
+
default:
|
|
4505
|
+
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
|
4506
|
+
break;
|
|
4507
|
+
case 8: {
|
|
4508
|
+
ScanFocus = (global::Lansweeper.Scanningconfig.V1.Agent.Types.ScanFocus) input.ReadEnum();
|
|
4509
|
+
break;
|
|
4510
|
+
}
|
|
4511
|
+
}
|
|
4512
|
+
}
|
|
4513
|
+
#endif
|
|
4514
|
+
}
|
|
4515
|
+
|
|
4516
|
+
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
4517
|
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
4518
|
+
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
4519
|
+
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
|
|
4520
|
+
uint tag;
|
|
4521
|
+
while ((tag = input.ReadTag()) != 0) {
|
|
4522
|
+
switch(tag) {
|
|
4523
|
+
default:
|
|
4524
|
+
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
|
4525
|
+
break;
|
|
4526
|
+
case 8: {
|
|
4527
|
+
ScanFocus = (global::Lansweeper.Scanningconfig.V1.Agent.Types.ScanFocus) input.ReadEnum();
|
|
4528
|
+
break;
|
|
4529
|
+
}
|
|
4530
|
+
}
|
|
4531
|
+
}
|
|
4532
|
+
}
|
|
4533
|
+
#endif
|
|
4534
|
+
|
|
4535
|
+
#region Nested types
|
|
4536
|
+
/// <summary>Container for nested types declared in the Agent message type.</summary>
|
|
4537
|
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
4538
|
+
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
4539
|
+
public static partial class Types {
|
|
4540
|
+
public enum ScanFocus {
|
|
4541
|
+
[pbr::OriginalName("ALL")] All = 0,
|
|
4542
|
+
[pbr::OriginalName("USERS")] Users = 1,
|
|
4543
|
+
[pbr::OriginalName("INVENTORY")] Inventory = 2,
|
|
4544
|
+
}
|
|
4545
|
+
|
|
4546
|
+
}
|
|
4547
|
+
#endregion
|
|
4548
|
+
|
|
4549
|
+
}
|
|
4550
|
+
|
|
4551
|
+
public sealed partial class Credential : pb::IMessage<Credential>
|
|
4552
|
+
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
4553
|
+
, pb::IBufferMessage
|
|
4554
|
+
#endif
|
|
4555
|
+
{
|
|
4556
|
+
private static readonly pb::MessageParser<Credential> _parser = new pb::MessageParser<Credential>(() => new Credential());
|
|
4557
|
+
private pb::UnknownFieldSet _unknownFields;
|
|
4558
|
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
4559
|
+
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
4560
|
+
public static pb::MessageParser<Credential> Parser { get { return _parser; } }
|
|
4561
|
+
|
|
4562
|
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
4563
|
+
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
4564
|
+
public static pbr::MessageDescriptor Descriptor {
|
|
4565
|
+
get { return global::Lansweeper.Scanningconfig.V1.ScanningconfigReflection.Descriptor.MessageTypes[16]; }
|
|
4566
|
+
}
|
|
4567
|
+
|
|
4568
|
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
4569
|
+
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
4570
|
+
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
|
4571
|
+
get { return Descriptor; }
|
|
4572
|
+
}
|
|
4573
|
+
|
|
3177
4574
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
3178
4575
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
3179
4576
|
public Credential() {
|