@lansweeper/scanningconfig-grpc 0.2.0 → 0.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -60,25 +60,38 @@ namespace Lansweeper.Scanningconfig.V1 {
60
60
  "LmxhbnN3ZWVwZXIuc2Nhbm5pbmdjb25maWcudjEuQWN0aW9uRGVmaW5pdGlv",
61
61
  "bhIKCgJpZBgHIAEoCSI3CgpBY3Rpb25UeXBlEg8KC1VOU1BFQ0lGSUVEEAAS",
62
62
  "CQoFQUdFTlQQARINCglBR0VOVExFU1MQAkIMCgpkZWZpbml0aW9uIhwKCUFn",
63
- "ZW50bGVzcxIPCgd0YXJnZXRzGAEgAygJIrUBChBBY3Rpb25EZWZpbml0aW9u",
63
+ "ZW50bGVzcxIPCgd0YXJnZXRzGAEgAygJIowCChBBY3Rpb25EZWZpbml0aW9u",
64
64
  "ElEKCnNjYW5fZm9jdXMYASABKA4yOC5sYW5zd2VlcGVyLnNjYW5uaW5nY29u",
65
- "ZmlnLnYxLkFjdGlvbkRlZmluaXRpb24uU2NhbkZvY3VzSACIAQESDwoHdGFy",
66
- "Z2V0cxgCIAMoCSIuCglTY2FuRm9jdXMSBwoDQUxMEAASCQoFVVNFUlMQARIN",
67
- "CglJTlZFTlRPUlkQAkINCgtfc2Nhbl9mb2N1cyJ6CgVBZ2VudBJBCgpzY2Fu",
68
- "X2ZvY3VzGAEgASgOMi0ubGFuc3dlZXBlci5zY2FubmluZ2NvbmZpZy52MS5B",
69
- "Z2VudC5TY2FuRm9jdXMiLgoJU2NhbkZvY3VzEgcKA0FMTBAAEgkKBVVTRVJT",
70
- "EAESDQoJSU5WRU5UT1JZEAIiggEKCkNyZWRlbnRpYWwSRQoEdHlwZRgBIAEo",
71
- "DjI3LmxhbnN3ZWVwZXIuc2Nhbm5pbmdjb25maWcudjEuQ3JlZGVudGlhbC5D",
72
- "cmVkZW50aWFsVHlwZRIKCgJpZBgCIAEoCSIhCg5DcmVkZW50aWFsVHlwZRIP",
73
- "CgtVTlNQRUNJRklFRBAAMrgBChVTY2FubmluZ0NvbmZpZ1NlcnZpY2USngEK",
74
- "GUdldENvbmZpZ3VyYXRpb25zQnlTb3VyY2USPi5sYW5zd2VlcGVyLnNjYW5u",
75
- "aW5nY29uZmlnLnYxLkdldENvbmZpZ3VyYXRpb25zQnlTb3VyY2VSZXF1ZXN0",
76
- "Gj8ubGFuc3dlZXBlci5zY2FubmluZ2NvbmZpZy52MS5HZXRDb25maWd1cmF0",
77
- "aW9uc0J5U291cmNlUmVzcG9uc2UiAEIQWg4uL2dlbmVyYXRlZC1nb2IGcHJv",
78
- "dG8z"));
65
+ "ZmlnLnYxLkFjdGlvbkRlZmluaXRpb24uU2NhbkZvY3VzSACIAQESEwoHdGFy",
66
+ "Z2V0cxgCIAMoCUICGAESEgoKZXhjbHVzaW9ucxgDIAMoCRI9Cgt0YXJnZXRz",
67
+ "RGF0YRgEIAMoCzIoLmxhbnN3ZWVwZXIuc2Nhbm5pbmdjb25maWcudjEuVGFy",
68
+ "Z2V0RGF0YSIuCglTY2FuRm9jdXMSBwoDQUxMEAASCQoFVVNFUlMQARINCglJ",
69
+ "TlZFTlRPUlkQAkINCgtfc2Nhbl9mb2N1cyLpAQoKVGFyZ2V0RGF0YRJBCgR0",
70
+ "eXBlGAEgASgOMjMubGFuc3dlZXBlci5zY2FubmluZ2NvbmZpZy52MS5UYXJn",
71
+ "ZXREYXRhLlRhcmdldFR5cGUSQAoMaXBfc2Nhbl9kYXRhGAIgASgLMigubGFu",
72
+ "c3dlZXBlci5zY2FubmluZ2NvbmZpZy52MS5JUFNjYW5EYXRhSAASEAoGdGFy",
73
+ "Z2V0GAQgASgJSAAiPAoKVGFyZ2V0VHlwZRIXChNVTktOT1dOX1RBUkdFVF9U",
74
+ "WVBFEAASCwoHSVBfU0NBThABEggKBFNDQ00QAkIGCgRpbmZvIpoBCgpJUFNj",
75
+ "YW5EYXRhEjYKBHR5cGUYASABKA4yKC5sYW5zd2VlcGVyLnNjYW5uaW5nY29u",
76
+ "ZmlnLnYxLklQU2NhblR5cGUSDgoGdGFyZ2V0GAIgASgJEjsKBHBpbmcYAyAB",
77
+ "KAsyKC5sYW5zd2VlcGVyLnNjYW5uaW5nY29uZmlnLnYxLklQU2NhblBpbmdI",
78
+ "AIgBAUIHCgVfcGluZyJRCgpJUFNjYW5QaW5nEhAKCHVzZV9waW5nGAEgASgI",
79
+ "EhQKDHBpbmdfdGltZW91dBgCIAEoBRIbChNrZWVwX25vX2Fuc3dlcl9zY2Fu",
80
+ "GAMgASgIInoKBUFnZW50EkEKCnNjYW5fZm9jdXMYASABKA4yLS5sYW5zd2Vl",
81
+ "cGVyLnNjYW5uaW5nY29uZmlnLnYxLkFnZW50LlNjYW5Gb2N1cyIuCglTY2Fu",
82
+ "Rm9jdXMSBwoDQUxMEAASCQoFVVNFUlMQARINCglJTlZFTlRPUlkQAiKCAQoK",
83
+ "Q3JlZGVudGlhbBJFCgR0eXBlGAEgASgOMjcubGFuc3dlZXBlci5zY2Fubmlu",
84
+ "Z2NvbmZpZy52MS5DcmVkZW50aWFsLkNyZWRlbnRpYWxUeXBlEgoKAmlkGAIg",
85
+ "ASgJIiEKDkNyZWRlbnRpYWxUeXBlEg8KC1VOU1BFQ0lGSUVEEAAqOwoKSVBT",
86
+ "Y2FuVHlwZRIYChRVTktOT1dOX0lQX1NDQU5fVFlQRRAAEgkKBVJBTkdFEAES",
87
+ "CAoESE9TVBACMrgBChVTY2FubmluZ0NvbmZpZ1NlcnZpY2USngEKGUdldENv",
88
+ "bmZpZ3VyYXRpb25zQnlTb3VyY2USPi5sYW5zd2VlcGVyLnNjYW5uaW5nY29u",
89
+ "ZmlnLnYxLkdldENvbmZpZ3VyYXRpb25zQnlTb3VyY2VSZXF1ZXN0Gj8ubGFu",
90
+ "c3dlZXBlci5zY2FubmluZ2NvbmZpZy52MS5HZXRDb25maWd1cmF0aW9uc0J5",
91
+ "U291cmNlUmVzcG9uc2UiAEIQWg4uL2dlbmVyYXRlZC1nb2IGcHJvdG8z"));
79
92
  descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
80
93
  new pbr::FileDescriptor[] { },
81
- new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
94
+ new pbr::GeneratedClrTypeInfo(new[] {typeof(global::Lansweeper.Scanningconfig.V1.IPScanType), }, null, new pbr::GeneratedClrTypeInfo[] {
82
95
  new pbr::GeneratedClrTypeInfo(typeof(global::Lansweeper.Scanningconfig.V1.GetConfigurationsBySourceRequest), global::Lansweeper.Scanningconfig.V1.GetConfigurationsBySourceRequest.Parser, new[]{ "SourceId", "SiteId" }, null, null, null, null),
83
96
  new pbr::GeneratedClrTypeInfo(typeof(global::Lansweeper.Scanningconfig.V1.GetConfigurationsBySourceResponse), global::Lansweeper.Scanningconfig.V1.GetConfigurationsBySourceResponse.Parser, new[]{ "Configs" }, null, null, null, null),
84
97
  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 +102,10 @@ namespace Lansweeper.Scanningconfig.V1 {
89
102
  new pbr::GeneratedClrTypeInfo(typeof(global::Lansweeper.Scanningconfig.V1.Trigger), global::Lansweeper.Scanningconfig.V1.Trigger.Parser, new[]{ "CronExpr", "Name" }, null, null, null, null),
90
103
  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
104
  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" }, new[]{ "ScanFocus" }, new[]{ typeof(global::Lansweeper.Scanningconfig.V1.ActionDefinition.Types.ScanFocus) }, null, null),
105
+ 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),
106
+ new pbr::GeneratedClrTypeInfo(typeof(global::Lansweeper.Scanningconfig.V1.TargetData), global::Lansweeper.Scanningconfig.V1.TargetData.Parser, new[]{ "Type", "IpScanData", "Target" }, new[]{ "Info" }, new[]{ typeof(global::Lansweeper.Scanningconfig.V1.TargetData.Types.TargetType) }, null, null),
107
+ new pbr::GeneratedClrTypeInfo(typeof(global::Lansweeper.Scanningconfig.V1.IPScanData), global::Lansweeper.Scanningconfig.V1.IPScanData.Parser, new[]{ "Type", "Target", "Ping" }, new[]{ "Ping" }, null, null, null),
108
+ new pbr::GeneratedClrTypeInfo(typeof(global::Lansweeper.Scanningconfig.V1.IPScanPing), global::Lansweeper.Scanningconfig.V1.IPScanPing.Parser, new[]{ "UsePing", "PingTimeout", "KeepNoAnswerScan" }, null, null, null, null),
93
109
  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
110
  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
111
  }));
@@ -97,6 +113,15 @@ namespace Lansweeper.Scanningconfig.V1 {
97
113
  #endregion
98
114
 
99
115
  }
116
+ #region Enums
117
+ public enum IPScanType {
118
+ [pbr::OriginalName("UNKNOWN_IP_SCAN_TYPE")] UnknownIpScanType = 0,
119
+ [pbr::OriginalName("RANGE")] Range = 1,
120
+ [pbr::OriginalName("HOST")] Host = 2,
121
+ }
122
+
123
+ #endregion
124
+
100
125
  #region Messages
101
126
  public sealed partial class GetConfigurationsBySourceRequest : pb::IMessage<GetConfigurationsBySourceRequest>
102
127
  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
@@ -2716,6 +2741,8 @@ namespace Lansweeper.Scanningconfig.V1 {
2716
2741
  _hasBits0 = other._hasBits0;
2717
2742
  scanFocus_ = other.scanFocus_;
2718
2743
  targets_ = other.targets_.Clone();
2744
+ exclusions_ = other.exclusions_.Clone();
2745
+ targetsData_ = other.targetsData_.Clone();
2719
2746
  _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
2720
2747
  }
2721
2748
 
@@ -2755,12 +2782,35 @@ namespace Lansweeper.Scanningconfig.V1 {
2755
2782
  private static readonly pb::FieldCodec<string> _repeated_targets_codec
2756
2783
  = pb::FieldCodec.ForString(18);
2757
2784
  private readonly pbc::RepeatedField<string> targets_ = new pbc::RepeatedField<string>();
2785
+ [global::System.ObsoleteAttribute]
2758
2786
  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2759
2787
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2760
2788
  public pbc::RepeatedField<string> Targets {
2761
2789
  get { return targets_; }
2762
2790
  }
2763
2791
 
2792
+ /// <summary>Field number for the "exclusions" field.</summary>
2793
+ public const int ExclusionsFieldNumber = 3;
2794
+ private static readonly pb::FieldCodec<string> _repeated_exclusions_codec
2795
+ = pb::FieldCodec.ForString(26);
2796
+ private readonly pbc::RepeatedField<string> exclusions_ = new pbc::RepeatedField<string>();
2797
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2798
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2799
+ public pbc::RepeatedField<string> Exclusions {
2800
+ get { return exclusions_; }
2801
+ }
2802
+
2803
+ /// <summary>Field number for the "targetsData" field.</summary>
2804
+ public const int TargetsDataFieldNumber = 4;
2805
+ private static readonly pb::FieldCodec<global::Lansweeper.Scanningconfig.V1.TargetData> _repeated_targetsData_codec
2806
+ = pb::FieldCodec.ForMessage(34, global::Lansweeper.Scanningconfig.V1.TargetData.Parser);
2807
+ private readonly pbc::RepeatedField<global::Lansweeper.Scanningconfig.V1.TargetData> targetsData_ = new pbc::RepeatedField<global::Lansweeper.Scanningconfig.V1.TargetData>();
2808
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2809
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2810
+ public pbc::RepeatedField<global::Lansweeper.Scanningconfig.V1.TargetData> TargetsData {
2811
+ get { return targetsData_; }
2812
+ }
2813
+
2764
2814
  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2765
2815
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2766
2816
  public override bool Equals(object other) {
@@ -2778,6 +2828,8 @@ namespace Lansweeper.Scanningconfig.V1 {
2778
2828
  }
2779
2829
  if (ScanFocus != other.ScanFocus) return false;
2780
2830
  if(!targets_.Equals(other.targets_)) return false;
2831
+ if(!exclusions_.Equals(other.exclusions_)) return false;
2832
+ if(!targetsData_.Equals(other.targetsData_)) return false;
2781
2833
  return Equals(_unknownFields, other._unknownFields);
2782
2834
  }
2783
2835
 
@@ -2787,6 +2839,8 @@ namespace Lansweeper.Scanningconfig.V1 {
2787
2839
  int hash = 1;
2788
2840
  if (HasScanFocus) hash ^= ScanFocus.GetHashCode();
2789
2841
  hash ^= targets_.GetHashCode();
2842
+ hash ^= exclusions_.GetHashCode();
2843
+ hash ^= targetsData_.GetHashCode();
2790
2844
  if (_unknownFields != null) {
2791
2845
  hash ^= _unknownFields.GetHashCode();
2792
2846
  }
@@ -2810,6 +2864,8 @@ namespace Lansweeper.Scanningconfig.V1 {
2810
2864
  output.WriteEnum((int) ScanFocus);
2811
2865
  }
2812
2866
  targets_.WriteTo(output, _repeated_targets_codec);
2867
+ exclusions_.WriteTo(output, _repeated_exclusions_codec);
2868
+ targetsData_.WriteTo(output, _repeated_targetsData_codec);
2813
2869
  if (_unknownFields != null) {
2814
2870
  _unknownFields.WriteTo(output);
2815
2871
  }
@@ -2825,6 +2881,8 @@ namespace Lansweeper.Scanningconfig.V1 {
2825
2881
  output.WriteEnum((int) ScanFocus);
2826
2882
  }
2827
2883
  targets_.WriteTo(ref output, _repeated_targets_codec);
2884
+ exclusions_.WriteTo(ref output, _repeated_exclusions_codec);
2885
+ targetsData_.WriteTo(ref output, _repeated_targetsData_codec);
2828
2886
  if (_unknownFields != null) {
2829
2887
  _unknownFields.WriteTo(ref output);
2830
2888
  }
@@ -2839,6 +2897,8 @@ namespace Lansweeper.Scanningconfig.V1 {
2839
2897
  size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) ScanFocus);
2840
2898
  }
2841
2899
  size += targets_.CalculateSize(_repeated_targets_codec);
2900
+ size += exclusions_.CalculateSize(_repeated_exclusions_codec);
2901
+ size += targetsData_.CalculateSize(_repeated_targetsData_codec);
2842
2902
  if (_unknownFields != null) {
2843
2903
  size += _unknownFields.CalculateSize();
2844
2904
  }
@@ -2855,6 +2915,8 @@ namespace Lansweeper.Scanningconfig.V1 {
2855
2915
  ScanFocus = other.ScanFocus;
2856
2916
  }
2857
2917
  targets_.Add(other.targets_);
2918
+ exclusions_.Add(other.exclusions_);
2919
+ targetsData_.Add(other.targetsData_);
2858
2920
  _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
2859
2921
  }
2860
2922
 
@@ -2878,6 +2940,14 @@ namespace Lansweeper.Scanningconfig.V1 {
2878
2940
  targets_.AddEntriesFrom(input, _repeated_targets_codec);
2879
2941
  break;
2880
2942
  }
2943
+ case 26: {
2944
+ exclusions_.AddEntriesFrom(input, _repeated_exclusions_codec);
2945
+ break;
2946
+ }
2947
+ case 34: {
2948
+ targetsData_.AddEntriesFrom(input, _repeated_targetsData_codec);
2949
+ break;
2950
+ }
2881
2951
  }
2882
2952
  }
2883
2953
  #endif
@@ -2901,6 +2971,14 @@ namespace Lansweeper.Scanningconfig.V1 {
2901
2971
  targets_.AddEntriesFrom(ref input, _repeated_targets_codec);
2902
2972
  break;
2903
2973
  }
2974
+ case 26: {
2975
+ exclusions_.AddEntriesFrom(ref input, _repeated_exclusions_codec);
2976
+ break;
2977
+ }
2978
+ case 34: {
2979
+ targetsData_.AddEntriesFrom(ref input, _repeated_targetsData_codec);
2980
+ break;
2981
+ }
2904
2982
  }
2905
2983
  }
2906
2984
  }
@@ -2922,16 +3000,16 @@ namespace Lansweeper.Scanningconfig.V1 {
2922
3000
 
2923
3001
  }
2924
3002
 
2925
- public sealed partial class Agent : pb::IMessage<Agent>
3003
+ public sealed partial class TargetData : pb::IMessage<TargetData>
2926
3004
  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2927
3005
  , pb::IBufferMessage
2928
3006
  #endif
2929
3007
  {
2930
- private static readonly pb::MessageParser<Agent> _parser = new pb::MessageParser<Agent>(() => new Agent());
3008
+ private static readonly pb::MessageParser<TargetData> _parser = new pb::MessageParser<TargetData>(() => new TargetData());
2931
3009
  private pb::UnknownFieldSet _unknownFields;
2932
3010
  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2933
3011
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2934
- public static pb::MessageParser<Agent> Parser { get { return _parser; } }
3012
+ public static pb::MessageParser<TargetData> Parser { get { return _parser; } }
2935
3013
 
2936
3014
  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2937
3015
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
@@ -2947,7 +3025,7 @@ namespace Lansweeper.Scanningconfig.V1 {
2947
3025
 
2948
3026
  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2949
3027
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2950
- public Agent() {
3028
+ public TargetData() {
2951
3029
  OnConstruction();
2952
3030
  }
2953
3031
 
@@ -2955,45 +3033,102 @@ namespace Lansweeper.Scanningconfig.V1 {
2955
3033
 
2956
3034
  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2957
3035
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2958
- public Agent(Agent other) : this() {
2959
- scanFocus_ = other.scanFocus_;
3036
+ public TargetData(TargetData other) : this() {
3037
+ type_ = other.type_;
3038
+ switch (other.InfoCase) {
3039
+ case InfoOneofCase.IpScanData:
3040
+ IpScanData = other.IpScanData.Clone();
3041
+ break;
3042
+ case InfoOneofCase.Target:
3043
+ Target = other.Target;
3044
+ break;
3045
+ }
3046
+
2960
3047
  _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
2961
3048
  }
2962
3049
 
2963
3050
  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2964
3051
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2965
- public Agent Clone() {
2966
- return new Agent(this);
3052
+ public TargetData Clone() {
3053
+ return new TargetData(this);
2967
3054
  }
2968
3055
 
2969
- /// <summary>Field number for the "scan_focus" field.</summary>
2970
- public const int ScanFocusFieldNumber = 1;
2971
- private global::Lansweeper.Scanningconfig.V1.Agent.Types.ScanFocus scanFocus_ = global::Lansweeper.Scanningconfig.V1.Agent.Types.ScanFocus.All;
3056
+ /// <summary>Field number for the "type" field.</summary>
3057
+ public const int TypeFieldNumber = 1;
3058
+ private global::Lansweeper.Scanningconfig.V1.TargetData.Types.TargetType type_ = global::Lansweeper.Scanningconfig.V1.TargetData.Types.TargetType.UnknownTargetType;
2972
3059
  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2973
3060
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2974
- public global::Lansweeper.Scanningconfig.V1.Agent.Types.ScanFocus ScanFocus {
2975
- get { return scanFocus_; }
3061
+ public global::Lansweeper.Scanningconfig.V1.TargetData.Types.TargetType Type {
3062
+ get { return type_; }
2976
3063
  set {
2977
- scanFocus_ = value;
3064
+ type_ = value;
2978
3065
  }
2979
3066
  }
2980
3067
 
3068
+ /// <summary>Field number for the "ip_scan_data" field.</summary>
3069
+ public const int IpScanDataFieldNumber = 2;
3070
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3071
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3072
+ public global::Lansweeper.Scanningconfig.V1.IPScanData IpScanData {
3073
+ get { return infoCase_ == InfoOneofCase.IpScanData ? (global::Lansweeper.Scanningconfig.V1.IPScanData) info_ : null; }
3074
+ set {
3075
+ info_ = value;
3076
+ infoCase_ = value == null ? InfoOneofCase.None : InfoOneofCase.IpScanData;
3077
+ }
3078
+ }
3079
+
3080
+ /// <summary>Field number for the "target" field.</summary>
3081
+ public const int TargetFieldNumber = 4;
3082
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3083
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3084
+ public string Target {
3085
+ get { return infoCase_ == InfoOneofCase.Target ? (string) info_ : ""; }
3086
+ set {
3087
+ info_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
3088
+ infoCase_ = InfoOneofCase.Target;
3089
+ }
3090
+ }
3091
+
3092
+ private object info_;
3093
+ /// <summary>Enum of possible cases for the "info" oneof.</summary>
3094
+ public enum InfoOneofCase {
3095
+ None = 0,
3096
+ IpScanData = 2,
3097
+ Target = 4,
3098
+ }
3099
+ private InfoOneofCase infoCase_ = InfoOneofCase.None;
3100
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3101
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3102
+ public InfoOneofCase InfoCase {
3103
+ get { return infoCase_; }
3104
+ }
3105
+
3106
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3107
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3108
+ public void ClearInfo() {
3109
+ infoCase_ = InfoOneofCase.None;
3110
+ info_ = null;
3111
+ }
3112
+
2981
3113
  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2982
3114
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2983
3115
  public override bool Equals(object other) {
2984
- return Equals(other as Agent);
3116
+ return Equals(other as TargetData);
2985
3117
  }
2986
3118
 
2987
3119
  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2988
3120
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2989
- public bool Equals(Agent other) {
3121
+ public bool Equals(TargetData other) {
2990
3122
  if (ReferenceEquals(other, null)) {
2991
3123
  return false;
2992
3124
  }
2993
3125
  if (ReferenceEquals(other, this)) {
2994
3126
  return true;
2995
3127
  }
2996
- if (ScanFocus != other.ScanFocus) return false;
3128
+ if (Type != other.Type) return false;
3129
+ if (!object.Equals(IpScanData, other.IpScanData)) return false;
3130
+ if (Target != other.Target) return false;
3131
+ if (InfoCase != other.InfoCase) return false;
2997
3132
  return Equals(_unknownFields, other._unknownFields);
2998
3133
  }
2999
3134
 
@@ -3001,7 +3136,10 @@ namespace Lansweeper.Scanningconfig.V1 {
3001
3136
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3002
3137
  public override int GetHashCode() {
3003
3138
  int hash = 1;
3004
- if (ScanFocus != global::Lansweeper.Scanningconfig.V1.Agent.Types.ScanFocus.All) hash ^= ScanFocus.GetHashCode();
3139
+ if (Type != global::Lansweeper.Scanningconfig.V1.TargetData.Types.TargetType.UnknownTargetType) hash ^= Type.GetHashCode();
3140
+ if (infoCase_ == InfoOneofCase.IpScanData) hash ^= IpScanData.GetHashCode();
3141
+ if (infoCase_ == InfoOneofCase.Target) hash ^= Target.GetHashCode();
3142
+ hash ^= (int) infoCase_;
3005
3143
  if (_unknownFields != null) {
3006
3144
  hash ^= _unknownFields.GetHashCode();
3007
3145
  }
@@ -3020,9 +3158,17 @@ namespace Lansweeper.Scanningconfig.V1 {
3020
3158
  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
3021
3159
  output.WriteRawMessage(this);
3022
3160
  #else
3023
- if (ScanFocus != global::Lansweeper.Scanningconfig.V1.Agent.Types.ScanFocus.All) {
3161
+ if (Type != global::Lansweeper.Scanningconfig.V1.TargetData.Types.TargetType.UnknownTargetType) {
3024
3162
  output.WriteRawTag(8);
3025
- output.WriteEnum((int) ScanFocus);
3163
+ output.WriteEnum((int) Type);
3164
+ }
3165
+ if (infoCase_ == InfoOneofCase.IpScanData) {
3166
+ output.WriteRawTag(18);
3167
+ output.WriteMessage(IpScanData);
3168
+ }
3169
+ if (infoCase_ == InfoOneofCase.Target) {
3170
+ output.WriteRawTag(34);
3171
+ output.WriteString(Target);
3026
3172
  }
3027
3173
  if (_unknownFields != null) {
3028
3174
  _unknownFields.WriteTo(output);
@@ -3034,9 +3180,17 @@ namespace Lansweeper.Scanningconfig.V1 {
3034
3180
  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3035
3181
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3036
3182
  void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
3037
- if (ScanFocus != global::Lansweeper.Scanningconfig.V1.Agent.Types.ScanFocus.All) {
3183
+ if (Type != global::Lansweeper.Scanningconfig.V1.TargetData.Types.TargetType.UnknownTargetType) {
3038
3184
  output.WriteRawTag(8);
3039
- output.WriteEnum((int) ScanFocus);
3185
+ output.WriteEnum((int) Type);
3186
+ }
3187
+ if (infoCase_ == InfoOneofCase.IpScanData) {
3188
+ output.WriteRawTag(18);
3189
+ output.WriteMessage(IpScanData);
3190
+ }
3191
+ if (infoCase_ == InfoOneofCase.Target) {
3192
+ output.WriteRawTag(34);
3193
+ output.WriteString(Target);
3040
3194
  }
3041
3195
  if (_unknownFields != null) {
3042
3196
  _unknownFields.WriteTo(ref output);
@@ -3048,8 +3202,14 @@ namespace Lansweeper.Scanningconfig.V1 {
3048
3202
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3049
3203
  public int CalculateSize() {
3050
3204
  int size = 0;
3051
- if (ScanFocus != global::Lansweeper.Scanningconfig.V1.Agent.Types.ScanFocus.All) {
3052
- size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) ScanFocus);
3205
+ if (Type != global::Lansweeper.Scanningconfig.V1.TargetData.Types.TargetType.UnknownTargetType) {
3206
+ size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Type);
3207
+ }
3208
+ if (infoCase_ == InfoOneofCase.IpScanData) {
3209
+ size += 1 + pb::CodedOutputStream.ComputeMessageSize(IpScanData);
3210
+ }
3211
+ if (infoCase_ == InfoOneofCase.Target) {
3212
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(Target);
3053
3213
  }
3054
3214
  if (_unknownFields != null) {
3055
3215
  size += _unknownFields.CalculateSize();
@@ -3059,13 +3219,25 @@ namespace Lansweeper.Scanningconfig.V1 {
3059
3219
 
3060
3220
  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3061
3221
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3062
- public void MergeFrom(Agent other) {
3222
+ public void MergeFrom(TargetData other) {
3063
3223
  if (other == null) {
3064
3224
  return;
3065
3225
  }
3066
- if (other.ScanFocus != global::Lansweeper.Scanningconfig.V1.Agent.Types.ScanFocus.All) {
3067
- ScanFocus = other.ScanFocus;
3226
+ if (other.Type != global::Lansweeper.Scanningconfig.V1.TargetData.Types.TargetType.UnknownTargetType) {
3227
+ Type = other.Type;
3228
+ }
3229
+ switch (other.InfoCase) {
3230
+ case InfoOneofCase.IpScanData:
3231
+ if (IpScanData == null) {
3232
+ IpScanData = new global::Lansweeper.Scanningconfig.V1.IPScanData();
3233
+ }
3234
+ IpScanData.MergeFrom(other.IpScanData);
3235
+ break;
3236
+ case InfoOneofCase.Target:
3237
+ Target = other.Target;
3238
+ break;
3068
3239
  }
3240
+
3069
3241
  _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
3070
3242
  }
3071
3243
 
@@ -3082,7 +3254,20 @@ namespace Lansweeper.Scanningconfig.V1 {
3082
3254
  _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
3083
3255
  break;
3084
3256
  case 8: {
3085
- ScanFocus = (global::Lansweeper.Scanningconfig.V1.Agent.Types.ScanFocus) input.ReadEnum();
3257
+ Type = (global::Lansweeper.Scanningconfig.V1.TargetData.Types.TargetType) input.ReadEnum();
3258
+ break;
3259
+ }
3260
+ case 18: {
3261
+ global::Lansweeper.Scanningconfig.V1.IPScanData subBuilder = new global::Lansweeper.Scanningconfig.V1.IPScanData();
3262
+ if (infoCase_ == InfoOneofCase.IpScanData) {
3263
+ subBuilder.MergeFrom(IpScanData);
3264
+ }
3265
+ input.ReadMessage(subBuilder);
3266
+ IpScanData = subBuilder;
3267
+ break;
3268
+ }
3269
+ case 34: {
3270
+ Target = input.ReadString();
3086
3271
  break;
3087
3272
  }
3088
3273
  }
@@ -3101,7 +3286,20 @@ namespace Lansweeper.Scanningconfig.V1 {
3101
3286
  _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
3102
3287
  break;
3103
3288
  case 8: {
3104
- ScanFocus = (global::Lansweeper.Scanningconfig.V1.Agent.Types.ScanFocus) input.ReadEnum();
3289
+ Type = (global::Lansweeper.Scanningconfig.V1.TargetData.Types.TargetType) input.ReadEnum();
3290
+ break;
3291
+ }
3292
+ case 18: {
3293
+ global::Lansweeper.Scanningconfig.V1.IPScanData subBuilder = new global::Lansweeper.Scanningconfig.V1.IPScanData();
3294
+ if (infoCase_ == InfoOneofCase.IpScanData) {
3295
+ subBuilder.MergeFrom(IpScanData);
3296
+ }
3297
+ input.ReadMessage(subBuilder);
3298
+ IpScanData = subBuilder;
3299
+ break;
3300
+ }
3301
+ case 34: {
3302
+ Target = input.ReadString();
3105
3303
  break;
3106
3304
  }
3107
3305
  }
@@ -3110,14 +3308,14 @@ namespace Lansweeper.Scanningconfig.V1 {
3110
3308
  #endif
3111
3309
 
3112
3310
  #region Nested types
3113
- /// <summary>Container for nested types declared in the Agent message type.</summary>
3311
+ /// <summary>Container for nested types declared in the TargetData message type.</summary>
3114
3312
  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3115
3313
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3116
3314
  public static partial class Types {
3117
- public enum ScanFocus {
3118
- [pbr::OriginalName("ALL")] All = 0,
3119
- [pbr::OriginalName("USERS")] Users = 1,
3120
- [pbr::OriginalName("INVENTORY")] Inventory = 2,
3315
+ public enum TargetType {
3316
+ [pbr::OriginalName("UNKNOWN_TARGET_TYPE")] UnknownTargetType = 0,
3317
+ [pbr::OriginalName("IP_SCAN")] IpScan = 1,
3318
+ [pbr::OriginalName("SCCM")] Sccm = 2,
3121
3319
  }
3122
3320
 
3123
3321
  }
@@ -3125,16 +3323,16 @@ namespace Lansweeper.Scanningconfig.V1 {
3125
3323
 
3126
3324
  }
3127
3325
 
3128
- public sealed partial class Credential : pb::IMessage<Credential>
3326
+ public sealed partial class IPScanData : pb::IMessage<IPScanData>
3129
3327
  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
3130
3328
  , pb::IBufferMessage
3131
3329
  #endif
3132
3330
  {
3133
- private static readonly pb::MessageParser<Credential> _parser = new pb::MessageParser<Credential>(() => new Credential());
3331
+ private static readonly pb::MessageParser<IPScanData> _parser = new pb::MessageParser<IPScanData>(() => new IPScanData());
3134
3332
  private pb::UnknownFieldSet _unknownFields;
3135
3333
  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3136
3334
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3137
- public static pb::MessageParser<Credential> Parser { get { return _parser; } }
3335
+ public static pb::MessageParser<IPScanData> Parser { get { return _parser; } }
3138
3336
 
3139
3337
  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3140
3338
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
@@ -3148,6 +3346,744 @@ namespace Lansweeper.Scanningconfig.V1 {
3148
3346
  get { return Descriptor; }
3149
3347
  }
3150
3348
 
3349
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3350
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3351
+ public IPScanData() {
3352
+ OnConstruction();
3353
+ }
3354
+
3355
+ partial void OnConstruction();
3356
+
3357
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3358
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3359
+ public IPScanData(IPScanData other) : this() {
3360
+ type_ = other.type_;
3361
+ target_ = other.target_;
3362
+ ping_ = other.ping_ != null ? other.ping_.Clone() : null;
3363
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
3364
+ }
3365
+
3366
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3367
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3368
+ public IPScanData Clone() {
3369
+ return new IPScanData(this);
3370
+ }
3371
+
3372
+ /// <summary>Field number for the "type" field.</summary>
3373
+ public const int TypeFieldNumber = 1;
3374
+ private global::Lansweeper.Scanningconfig.V1.IPScanType type_ = global::Lansweeper.Scanningconfig.V1.IPScanType.UnknownIpScanType;
3375
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3376
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3377
+ public global::Lansweeper.Scanningconfig.V1.IPScanType Type {
3378
+ get { return type_; }
3379
+ set {
3380
+ type_ = value;
3381
+ }
3382
+ }
3383
+
3384
+ /// <summary>Field number for the "target" field.</summary>
3385
+ public const int TargetFieldNumber = 2;
3386
+ private string target_ = "";
3387
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3388
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3389
+ public string Target {
3390
+ get { return target_; }
3391
+ set {
3392
+ target_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
3393
+ }
3394
+ }
3395
+
3396
+ /// <summary>Field number for the "ping" field.</summary>
3397
+ public const int PingFieldNumber = 3;
3398
+ private global::Lansweeper.Scanningconfig.V1.IPScanPing ping_;
3399
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3400
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3401
+ public global::Lansweeper.Scanningconfig.V1.IPScanPing Ping {
3402
+ get { return ping_; }
3403
+ set {
3404
+ ping_ = value;
3405
+ }
3406
+ }
3407
+
3408
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3409
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3410
+ public override bool Equals(object other) {
3411
+ return Equals(other as IPScanData);
3412
+ }
3413
+
3414
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3415
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3416
+ public bool Equals(IPScanData other) {
3417
+ if (ReferenceEquals(other, null)) {
3418
+ return false;
3419
+ }
3420
+ if (ReferenceEquals(other, this)) {
3421
+ return true;
3422
+ }
3423
+ if (Type != other.Type) return false;
3424
+ if (Target != other.Target) return false;
3425
+ if (!object.Equals(Ping, other.Ping)) return false;
3426
+ return Equals(_unknownFields, other._unknownFields);
3427
+ }
3428
+
3429
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3430
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3431
+ public override int GetHashCode() {
3432
+ int hash = 1;
3433
+ if (Type != global::Lansweeper.Scanningconfig.V1.IPScanType.UnknownIpScanType) hash ^= Type.GetHashCode();
3434
+ if (Target.Length != 0) hash ^= Target.GetHashCode();
3435
+ if (ping_ != null) hash ^= Ping.GetHashCode();
3436
+ if (_unknownFields != null) {
3437
+ hash ^= _unknownFields.GetHashCode();
3438
+ }
3439
+ return hash;
3440
+ }
3441
+
3442
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3443
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3444
+ public override string ToString() {
3445
+ return pb::JsonFormatter.ToDiagnosticString(this);
3446
+ }
3447
+
3448
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3449
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3450
+ public void WriteTo(pb::CodedOutputStream output) {
3451
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
3452
+ output.WriteRawMessage(this);
3453
+ #else
3454
+ if (Type != global::Lansweeper.Scanningconfig.V1.IPScanType.UnknownIpScanType) {
3455
+ output.WriteRawTag(8);
3456
+ output.WriteEnum((int) Type);
3457
+ }
3458
+ if (Target.Length != 0) {
3459
+ output.WriteRawTag(18);
3460
+ output.WriteString(Target);
3461
+ }
3462
+ if (ping_ != null) {
3463
+ output.WriteRawTag(26);
3464
+ output.WriteMessage(Ping);
3465
+ }
3466
+ if (_unknownFields != null) {
3467
+ _unknownFields.WriteTo(output);
3468
+ }
3469
+ #endif
3470
+ }
3471
+
3472
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
3473
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3474
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3475
+ void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
3476
+ if (Type != global::Lansweeper.Scanningconfig.V1.IPScanType.UnknownIpScanType) {
3477
+ output.WriteRawTag(8);
3478
+ output.WriteEnum((int) Type);
3479
+ }
3480
+ if (Target.Length != 0) {
3481
+ output.WriteRawTag(18);
3482
+ output.WriteString(Target);
3483
+ }
3484
+ if (ping_ != null) {
3485
+ output.WriteRawTag(26);
3486
+ output.WriteMessage(Ping);
3487
+ }
3488
+ if (_unknownFields != null) {
3489
+ _unknownFields.WriteTo(ref output);
3490
+ }
3491
+ }
3492
+ #endif
3493
+
3494
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3495
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3496
+ public int CalculateSize() {
3497
+ int size = 0;
3498
+ if (Type != global::Lansweeper.Scanningconfig.V1.IPScanType.UnknownIpScanType) {
3499
+ size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Type);
3500
+ }
3501
+ if (Target.Length != 0) {
3502
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(Target);
3503
+ }
3504
+ if (ping_ != null) {
3505
+ size += 1 + pb::CodedOutputStream.ComputeMessageSize(Ping);
3506
+ }
3507
+ if (_unknownFields != null) {
3508
+ size += _unknownFields.CalculateSize();
3509
+ }
3510
+ return size;
3511
+ }
3512
+
3513
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3514
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3515
+ public void MergeFrom(IPScanData other) {
3516
+ if (other == null) {
3517
+ return;
3518
+ }
3519
+ if (other.Type != global::Lansweeper.Scanningconfig.V1.IPScanType.UnknownIpScanType) {
3520
+ Type = other.Type;
3521
+ }
3522
+ if (other.Target.Length != 0) {
3523
+ Target = other.Target;
3524
+ }
3525
+ if (other.ping_ != null) {
3526
+ if (ping_ == null) {
3527
+ Ping = new global::Lansweeper.Scanningconfig.V1.IPScanPing();
3528
+ }
3529
+ Ping.MergeFrom(other.Ping);
3530
+ }
3531
+ _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
3532
+ }
3533
+
3534
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3535
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3536
+ public void MergeFrom(pb::CodedInputStream input) {
3537
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
3538
+ input.ReadRawMessage(this);
3539
+ #else
3540
+ uint tag;
3541
+ while ((tag = input.ReadTag()) != 0) {
3542
+ switch(tag) {
3543
+ default:
3544
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
3545
+ break;
3546
+ case 8: {
3547
+ Type = (global::Lansweeper.Scanningconfig.V1.IPScanType) input.ReadEnum();
3548
+ break;
3549
+ }
3550
+ case 18: {
3551
+ Target = input.ReadString();
3552
+ break;
3553
+ }
3554
+ case 26: {
3555
+ if (ping_ == null) {
3556
+ Ping = new global::Lansweeper.Scanningconfig.V1.IPScanPing();
3557
+ }
3558
+ input.ReadMessage(Ping);
3559
+ break;
3560
+ }
3561
+ }
3562
+ }
3563
+ #endif
3564
+ }
3565
+
3566
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
3567
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3568
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3569
+ void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
3570
+ uint tag;
3571
+ while ((tag = input.ReadTag()) != 0) {
3572
+ switch(tag) {
3573
+ default:
3574
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
3575
+ break;
3576
+ case 8: {
3577
+ Type = (global::Lansweeper.Scanningconfig.V1.IPScanType) input.ReadEnum();
3578
+ break;
3579
+ }
3580
+ case 18: {
3581
+ Target = input.ReadString();
3582
+ break;
3583
+ }
3584
+ case 26: {
3585
+ if (ping_ == null) {
3586
+ Ping = new global::Lansweeper.Scanningconfig.V1.IPScanPing();
3587
+ }
3588
+ input.ReadMessage(Ping);
3589
+ break;
3590
+ }
3591
+ }
3592
+ }
3593
+ }
3594
+ #endif
3595
+
3596
+ }
3597
+
3598
+ public sealed partial class IPScanPing : pb::IMessage<IPScanPing>
3599
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
3600
+ , pb::IBufferMessage
3601
+ #endif
3602
+ {
3603
+ private static readonly pb::MessageParser<IPScanPing> _parser = new pb::MessageParser<IPScanPing>(() => new IPScanPing());
3604
+ private pb::UnknownFieldSet _unknownFields;
3605
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3606
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3607
+ public static pb::MessageParser<IPScanPing> Parser { get { return _parser; } }
3608
+
3609
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3610
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3611
+ public static pbr::MessageDescriptor Descriptor {
3612
+ get { return global::Lansweeper.Scanningconfig.V1.ScanningconfigReflection.Descriptor.MessageTypes[13]; }
3613
+ }
3614
+
3615
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3616
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3617
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
3618
+ get { return Descriptor; }
3619
+ }
3620
+
3621
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3622
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3623
+ public IPScanPing() {
3624
+ OnConstruction();
3625
+ }
3626
+
3627
+ partial void OnConstruction();
3628
+
3629
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3630
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3631
+ public IPScanPing(IPScanPing other) : this() {
3632
+ usePing_ = other.usePing_;
3633
+ pingTimeout_ = other.pingTimeout_;
3634
+ keepNoAnswerScan_ = other.keepNoAnswerScan_;
3635
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
3636
+ }
3637
+
3638
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3639
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3640
+ public IPScanPing Clone() {
3641
+ return new IPScanPing(this);
3642
+ }
3643
+
3644
+ /// <summary>Field number for the "use_ping" field.</summary>
3645
+ public const int UsePingFieldNumber = 1;
3646
+ private bool usePing_;
3647
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3648
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3649
+ public bool UsePing {
3650
+ get { return usePing_; }
3651
+ set {
3652
+ usePing_ = value;
3653
+ }
3654
+ }
3655
+
3656
+ /// <summary>Field number for the "ping_timeout" field.</summary>
3657
+ public const int PingTimeoutFieldNumber = 2;
3658
+ private int pingTimeout_;
3659
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3660
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3661
+ public int PingTimeout {
3662
+ get { return pingTimeout_; }
3663
+ set {
3664
+ pingTimeout_ = value;
3665
+ }
3666
+ }
3667
+
3668
+ /// <summary>Field number for the "keep_no_answer_scan" field.</summary>
3669
+ public const int KeepNoAnswerScanFieldNumber = 3;
3670
+ private bool keepNoAnswerScan_;
3671
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3672
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3673
+ public bool KeepNoAnswerScan {
3674
+ get { return keepNoAnswerScan_; }
3675
+ set {
3676
+ keepNoAnswerScan_ = value;
3677
+ }
3678
+ }
3679
+
3680
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3681
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3682
+ public override bool Equals(object other) {
3683
+ return Equals(other as IPScanPing);
3684
+ }
3685
+
3686
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3687
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3688
+ public bool Equals(IPScanPing other) {
3689
+ if (ReferenceEquals(other, null)) {
3690
+ return false;
3691
+ }
3692
+ if (ReferenceEquals(other, this)) {
3693
+ return true;
3694
+ }
3695
+ if (UsePing != other.UsePing) return false;
3696
+ if (PingTimeout != other.PingTimeout) return false;
3697
+ if (KeepNoAnswerScan != other.KeepNoAnswerScan) return false;
3698
+ return Equals(_unknownFields, other._unknownFields);
3699
+ }
3700
+
3701
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3702
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3703
+ public override int GetHashCode() {
3704
+ int hash = 1;
3705
+ if (UsePing != false) hash ^= UsePing.GetHashCode();
3706
+ if (PingTimeout != 0) hash ^= PingTimeout.GetHashCode();
3707
+ if (KeepNoAnswerScan != false) hash ^= KeepNoAnswerScan.GetHashCode();
3708
+ if (_unknownFields != null) {
3709
+ hash ^= _unknownFields.GetHashCode();
3710
+ }
3711
+ return hash;
3712
+ }
3713
+
3714
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3715
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3716
+ public override string ToString() {
3717
+ return pb::JsonFormatter.ToDiagnosticString(this);
3718
+ }
3719
+
3720
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3721
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3722
+ public void WriteTo(pb::CodedOutputStream output) {
3723
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
3724
+ output.WriteRawMessage(this);
3725
+ #else
3726
+ if (UsePing != false) {
3727
+ output.WriteRawTag(8);
3728
+ output.WriteBool(UsePing);
3729
+ }
3730
+ if (PingTimeout != 0) {
3731
+ output.WriteRawTag(16);
3732
+ output.WriteInt32(PingTimeout);
3733
+ }
3734
+ if (KeepNoAnswerScan != false) {
3735
+ output.WriteRawTag(24);
3736
+ output.WriteBool(KeepNoAnswerScan);
3737
+ }
3738
+ if (_unknownFields != null) {
3739
+ _unknownFields.WriteTo(output);
3740
+ }
3741
+ #endif
3742
+ }
3743
+
3744
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
3745
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3746
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3747
+ void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
3748
+ if (UsePing != false) {
3749
+ output.WriteRawTag(8);
3750
+ output.WriteBool(UsePing);
3751
+ }
3752
+ if (PingTimeout != 0) {
3753
+ output.WriteRawTag(16);
3754
+ output.WriteInt32(PingTimeout);
3755
+ }
3756
+ if (KeepNoAnswerScan != false) {
3757
+ output.WriteRawTag(24);
3758
+ output.WriteBool(KeepNoAnswerScan);
3759
+ }
3760
+ if (_unknownFields != null) {
3761
+ _unknownFields.WriteTo(ref output);
3762
+ }
3763
+ }
3764
+ #endif
3765
+
3766
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3767
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3768
+ public int CalculateSize() {
3769
+ int size = 0;
3770
+ if (UsePing != false) {
3771
+ size += 1 + 1;
3772
+ }
3773
+ if (PingTimeout != 0) {
3774
+ size += 1 + pb::CodedOutputStream.ComputeInt32Size(PingTimeout);
3775
+ }
3776
+ if (KeepNoAnswerScan != false) {
3777
+ size += 1 + 1;
3778
+ }
3779
+ if (_unknownFields != null) {
3780
+ size += _unknownFields.CalculateSize();
3781
+ }
3782
+ return size;
3783
+ }
3784
+
3785
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3786
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3787
+ public void MergeFrom(IPScanPing other) {
3788
+ if (other == null) {
3789
+ return;
3790
+ }
3791
+ if (other.UsePing != false) {
3792
+ UsePing = other.UsePing;
3793
+ }
3794
+ if (other.PingTimeout != 0) {
3795
+ PingTimeout = other.PingTimeout;
3796
+ }
3797
+ if (other.KeepNoAnswerScan != false) {
3798
+ KeepNoAnswerScan = other.KeepNoAnswerScan;
3799
+ }
3800
+ _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
3801
+ }
3802
+
3803
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3804
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3805
+ public void MergeFrom(pb::CodedInputStream input) {
3806
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
3807
+ input.ReadRawMessage(this);
3808
+ #else
3809
+ uint tag;
3810
+ while ((tag = input.ReadTag()) != 0) {
3811
+ switch(tag) {
3812
+ default:
3813
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
3814
+ break;
3815
+ case 8: {
3816
+ UsePing = input.ReadBool();
3817
+ break;
3818
+ }
3819
+ case 16: {
3820
+ PingTimeout = input.ReadInt32();
3821
+ break;
3822
+ }
3823
+ case 24: {
3824
+ KeepNoAnswerScan = input.ReadBool();
3825
+ break;
3826
+ }
3827
+ }
3828
+ }
3829
+ #endif
3830
+ }
3831
+
3832
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
3833
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3834
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3835
+ void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
3836
+ uint tag;
3837
+ while ((tag = input.ReadTag()) != 0) {
3838
+ switch(tag) {
3839
+ default:
3840
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
3841
+ break;
3842
+ case 8: {
3843
+ UsePing = input.ReadBool();
3844
+ break;
3845
+ }
3846
+ case 16: {
3847
+ PingTimeout = input.ReadInt32();
3848
+ break;
3849
+ }
3850
+ case 24: {
3851
+ KeepNoAnswerScan = input.ReadBool();
3852
+ break;
3853
+ }
3854
+ }
3855
+ }
3856
+ }
3857
+ #endif
3858
+
3859
+ }
3860
+
3861
+ public sealed partial class Agent : pb::IMessage<Agent>
3862
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
3863
+ , pb::IBufferMessage
3864
+ #endif
3865
+ {
3866
+ private static readonly pb::MessageParser<Agent> _parser = new pb::MessageParser<Agent>(() => new Agent());
3867
+ private pb::UnknownFieldSet _unknownFields;
3868
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3869
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3870
+ public static pb::MessageParser<Agent> Parser { get { return _parser; } }
3871
+
3872
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3873
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3874
+ public static pbr::MessageDescriptor Descriptor {
3875
+ get { return global::Lansweeper.Scanningconfig.V1.ScanningconfigReflection.Descriptor.MessageTypes[14]; }
3876
+ }
3877
+
3878
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3879
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3880
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
3881
+ get { return Descriptor; }
3882
+ }
3883
+
3884
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3885
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3886
+ public Agent() {
3887
+ OnConstruction();
3888
+ }
3889
+
3890
+ partial void OnConstruction();
3891
+
3892
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3893
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3894
+ public Agent(Agent other) : this() {
3895
+ scanFocus_ = other.scanFocus_;
3896
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
3897
+ }
3898
+
3899
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3900
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3901
+ public Agent Clone() {
3902
+ return new Agent(this);
3903
+ }
3904
+
3905
+ /// <summary>Field number for the "scan_focus" field.</summary>
3906
+ public const int ScanFocusFieldNumber = 1;
3907
+ private global::Lansweeper.Scanningconfig.V1.Agent.Types.ScanFocus scanFocus_ = global::Lansweeper.Scanningconfig.V1.Agent.Types.ScanFocus.All;
3908
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3909
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3910
+ public global::Lansweeper.Scanningconfig.V1.Agent.Types.ScanFocus ScanFocus {
3911
+ get { return scanFocus_; }
3912
+ set {
3913
+ scanFocus_ = value;
3914
+ }
3915
+ }
3916
+
3917
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3918
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3919
+ public override bool Equals(object other) {
3920
+ return Equals(other as Agent);
3921
+ }
3922
+
3923
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3924
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3925
+ public bool Equals(Agent other) {
3926
+ if (ReferenceEquals(other, null)) {
3927
+ return false;
3928
+ }
3929
+ if (ReferenceEquals(other, this)) {
3930
+ return true;
3931
+ }
3932
+ if (ScanFocus != other.ScanFocus) return false;
3933
+ return Equals(_unknownFields, other._unknownFields);
3934
+ }
3935
+
3936
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3937
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3938
+ public override int GetHashCode() {
3939
+ int hash = 1;
3940
+ if (ScanFocus != global::Lansweeper.Scanningconfig.V1.Agent.Types.ScanFocus.All) hash ^= ScanFocus.GetHashCode();
3941
+ if (_unknownFields != null) {
3942
+ hash ^= _unknownFields.GetHashCode();
3943
+ }
3944
+ return hash;
3945
+ }
3946
+
3947
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3948
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3949
+ public override string ToString() {
3950
+ return pb::JsonFormatter.ToDiagnosticString(this);
3951
+ }
3952
+
3953
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3954
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3955
+ public void WriteTo(pb::CodedOutputStream output) {
3956
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
3957
+ output.WriteRawMessage(this);
3958
+ #else
3959
+ if (ScanFocus != global::Lansweeper.Scanningconfig.V1.Agent.Types.ScanFocus.All) {
3960
+ output.WriteRawTag(8);
3961
+ output.WriteEnum((int) ScanFocus);
3962
+ }
3963
+ if (_unknownFields != null) {
3964
+ _unknownFields.WriteTo(output);
3965
+ }
3966
+ #endif
3967
+ }
3968
+
3969
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
3970
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3971
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3972
+ void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
3973
+ if (ScanFocus != global::Lansweeper.Scanningconfig.V1.Agent.Types.ScanFocus.All) {
3974
+ output.WriteRawTag(8);
3975
+ output.WriteEnum((int) ScanFocus);
3976
+ }
3977
+ if (_unknownFields != null) {
3978
+ _unknownFields.WriteTo(ref output);
3979
+ }
3980
+ }
3981
+ #endif
3982
+
3983
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3984
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3985
+ public int CalculateSize() {
3986
+ int size = 0;
3987
+ if (ScanFocus != global::Lansweeper.Scanningconfig.V1.Agent.Types.ScanFocus.All) {
3988
+ size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) ScanFocus);
3989
+ }
3990
+ if (_unknownFields != null) {
3991
+ size += _unknownFields.CalculateSize();
3992
+ }
3993
+ return size;
3994
+ }
3995
+
3996
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3997
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3998
+ public void MergeFrom(Agent other) {
3999
+ if (other == null) {
4000
+ return;
4001
+ }
4002
+ if (other.ScanFocus != global::Lansweeper.Scanningconfig.V1.Agent.Types.ScanFocus.All) {
4003
+ ScanFocus = other.ScanFocus;
4004
+ }
4005
+ _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
4006
+ }
4007
+
4008
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4009
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
4010
+ public void MergeFrom(pb::CodedInputStream input) {
4011
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
4012
+ input.ReadRawMessage(this);
4013
+ #else
4014
+ uint tag;
4015
+ while ((tag = input.ReadTag()) != 0) {
4016
+ switch(tag) {
4017
+ default:
4018
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
4019
+ break;
4020
+ case 8: {
4021
+ ScanFocus = (global::Lansweeper.Scanningconfig.V1.Agent.Types.ScanFocus) input.ReadEnum();
4022
+ break;
4023
+ }
4024
+ }
4025
+ }
4026
+ #endif
4027
+ }
4028
+
4029
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
4030
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4031
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
4032
+ void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
4033
+ uint tag;
4034
+ while ((tag = input.ReadTag()) != 0) {
4035
+ switch(tag) {
4036
+ default:
4037
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
4038
+ break;
4039
+ case 8: {
4040
+ ScanFocus = (global::Lansweeper.Scanningconfig.V1.Agent.Types.ScanFocus) input.ReadEnum();
4041
+ break;
4042
+ }
4043
+ }
4044
+ }
4045
+ }
4046
+ #endif
4047
+
4048
+ #region Nested types
4049
+ /// <summary>Container for nested types declared in the Agent message type.</summary>
4050
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4051
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
4052
+ public static partial class Types {
4053
+ public enum ScanFocus {
4054
+ [pbr::OriginalName("ALL")] All = 0,
4055
+ [pbr::OriginalName("USERS")] Users = 1,
4056
+ [pbr::OriginalName("INVENTORY")] Inventory = 2,
4057
+ }
4058
+
4059
+ }
4060
+ #endregion
4061
+
4062
+ }
4063
+
4064
+ public sealed partial class Credential : pb::IMessage<Credential>
4065
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
4066
+ , pb::IBufferMessage
4067
+ #endif
4068
+ {
4069
+ private static readonly pb::MessageParser<Credential> _parser = new pb::MessageParser<Credential>(() => new Credential());
4070
+ private pb::UnknownFieldSet _unknownFields;
4071
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4072
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
4073
+ public static pb::MessageParser<Credential> Parser { get { return _parser; } }
4074
+
4075
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4076
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
4077
+ public static pbr::MessageDescriptor Descriptor {
4078
+ get { return global::Lansweeper.Scanningconfig.V1.ScanningconfigReflection.Descriptor.MessageTypes[15]; }
4079
+ }
4080
+
4081
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4082
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
4083
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
4084
+ get { return Descriptor; }
4085
+ }
4086
+
3151
4087
  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3152
4088
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3153
4089
  public Credential() {