@lansweeper/scanningconfig-grpc 0.2.2 → 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.
@@ -14,11 +14,11 @@ using System.Reflection;
14
14
  [assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
15
15
  [assembly: System.Reflection.AssemblyCopyrightAttribute("Lansweeper")]
16
16
  [assembly: System.Reflection.AssemblyDescriptionAttribute("More Info : http://www.lansweeper.com")]
17
- [assembly: System.Reflection.AssemblyFileVersionAttribute("0.2.1")]
18
- [assembly: System.Reflection.AssemblyInformationalVersionAttribute("0.2.1")]
17
+ [assembly: System.Reflection.AssemblyFileVersionAttribute("0.2.2")]
18
+ [assembly: System.Reflection.AssemblyInformationalVersionAttribute("0.2.2")]
19
19
  [assembly: System.Reflection.AssemblyProductAttribute("Lansweeper ScanningConfig model/proto")]
20
20
  [assembly: System.Reflection.AssemblyTitleAttribute("Lansweeper.ScanningConfig.GRPC")]
21
- [assembly: System.Reflection.AssemblyVersionAttribute("0.2.1.0")]
21
+ [assembly: System.Reflection.AssemblyVersionAttribute("0.2.2.0")]
22
22
  [assembly: System.Reflection.AssemblyMetadataAttribute("RepositoryUrl", "https://github.com/Lansweeper/lansweeperapis")]
23
23
 
24
24
  // Generated by the MSBuild WriteCodeFragment class.
@@ -1 +1 @@
1
- 6ba64aee417c6dd5d6e02731150e564d41ea9749
1
+ e01b016cc9e6e34191ebfe1a3d3f50f06cc79384
@@ -1 +1 @@
1
- 364d426e3f4ee75738036310a7b2cd2d8c926bbd
1
+ d797abb67990790a043632aa2bd1e38e44ddfa05
@@ -66,29 +66,36 @@ namespace Lansweeper.Scanningconfig.V1 {
66
66
  "Z2V0cxgCIAMoCUICGAESEgoKZXhjbHVzaW9ucxgDIAMoCRI9Cgt0YXJnZXRz",
67
67
  "RGF0YRgEIAMoCzIoLmxhbnN3ZWVwZXIuc2Nhbm5pbmdjb25maWcudjEuVGFy",
68
68
  "Z2V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dXJhdGlvbnNCeVNvdXJjZRI+LmxhbnN3ZWVwZXIuc2Nhbm5pbmdjb25maWcu",
96
+ "djEuR2V0Q29uZmlndXJhdGlvbnNCeVNvdXJjZVJlcXVlc3QaPy5sYW5zd2Vl",
97
+ "cGVyLnNjYW5uaW5nY29uZmlnLnYxLkdldENvbmZpZ3VyYXRpb25zQnlTb3Vy",
98
+ "Y2VSZXNwb25zZSIAQhBaDi4vZ2VuZXJhdGVkLWdvYgZwcm90bzM="));
92
99
  descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
93
100
  new pbr::FileDescriptor[] { },
94
101
  new pbr::GeneratedClrTypeInfo(new[] {typeof(global::Lansweeper.Scanningconfig.V1.IPScanType), }, null, new pbr::GeneratedClrTypeInfo[] {
@@ -103,9 +110,10 @@ namespace Lansweeper.Scanningconfig.V1 {
103
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),
104
111
  new pbr::GeneratedClrTypeInfo(typeof(global::Lansweeper.Scanningconfig.V1.Agentless), global::Lansweeper.Scanningconfig.V1.Agentless.Parser, new[]{ "Targets" }, null, null, null, null),
105
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),
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),
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),
107
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),
108
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),
109
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),
110
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)
111
119
  }));
@@ -3039,6 +3047,9 @@ namespace Lansweeper.Scanningconfig.V1 {
3039
3047
  case InfoOneofCase.IpScanData:
3040
3048
  IpScanData = other.IpScanData.Clone();
3041
3049
  break;
3050
+ case InfoOneofCase.AdData:
3051
+ AdData = other.AdData.Clone();
3052
+ break;
3042
3053
  case InfoOneofCase.Target:
3043
3054
  Target = other.Target;
3044
3055
  break;
@@ -3077,6 +3088,18 @@ namespace Lansweeper.Scanningconfig.V1 {
3077
3088
  }
3078
3089
  }
3079
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
+
3080
3103
  /// <summary>Field number for the "target" field.</summary>
3081
3104
  public const int TargetFieldNumber = 4;
3082
3105
  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@@ -3094,6 +3117,7 @@ namespace Lansweeper.Scanningconfig.V1 {
3094
3117
  public enum InfoOneofCase {
3095
3118
  None = 0,
3096
3119
  IpScanData = 2,
3120
+ AdData = 3,
3097
3121
  Target = 4,
3098
3122
  }
3099
3123
  private InfoOneofCase infoCase_ = InfoOneofCase.None;
@@ -3127,6 +3151,7 @@ namespace Lansweeper.Scanningconfig.V1 {
3127
3151
  }
3128
3152
  if (Type != other.Type) return false;
3129
3153
  if (!object.Equals(IpScanData, other.IpScanData)) return false;
3154
+ if (!object.Equals(AdData, other.AdData)) return false;
3130
3155
  if (Target != other.Target) return false;
3131
3156
  if (InfoCase != other.InfoCase) return false;
3132
3157
  return Equals(_unknownFields, other._unknownFields);
@@ -3138,6 +3163,7 @@ namespace Lansweeper.Scanningconfig.V1 {
3138
3163
  int hash = 1;
3139
3164
  if (Type != global::Lansweeper.Scanningconfig.V1.TargetData.Types.TargetType.UnknownTargetType) hash ^= Type.GetHashCode();
3140
3165
  if (infoCase_ == InfoOneofCase.IpScanData) hash ^= IpScanData.GetHashCode();
3166
+ if (infoCase_ == InfoOneofCase.AdData) hash ^= AdData.GetHashCode();
3141
3167
  if (infoCase_ == InfoOneofCase.Target) hash ^= Target.GetHashCode();
3142
3168
  hash ^= (int) infoCase_;
3143
3169
  if (_unknownFields != null) {
@@ -3166,6 +3192,10 @@ namespace Lansweeper.Scanningconfig.V1 {
3166
3192
  output.WriteRawTag(18);
3167
3193
  output.WriteMessage(IpScanData);
3168
3194
  }
3195
+ if (infoCase_ == InfoOneofCase.AdData) {
3196
+ output.WriteRawTag(26);
3197
+ output.WriteMessage(AdData);
3198
+ }
3169
3199
  if (infoCase_ == InfoOneofCase.Target) {
3170
3200
  output.WriteRawTag(34);
3171
3201
  output.WriteString(Target);
@@ -3188,6 +3218,10 @@ namespace Lansweeper.Scanningconfig.V1 {
3188
3218
  output.WriteRawTag(18);
3189
3219
  output.WriteMessage(IpScanData);
3190
3220
  }
3221
+ if (infoCase_ == InfoOneofCase.AdData) {
3222
+ output.WriteRawTag(26);
3223
+ output.WriteMessage(AdData);
3224
+ }
3191
3225
  if (infoCase_ == InfoOneofCase.Target) {
3192
3226
  output.WriteRawTag(34);
3193
3227
  output.WriteString(Target);
@@ -3208,6 +3242,9 @@ namespace Lansweeper.Scanningconfig.V1 {
3208
3242
  if (infoCase_ == InfoOneofCase.IpScanData) {
3209
3243
  size += 1 + pb::CodedOutputStream.ComputeMessageSize(IpScanData);
3210
3244
  }
3245
+ if (infoCase_ == InfoOneofCase.AdData) {
3246
+ size += 1 + pb::CodedOutputStream.ComputeMessageSize(AdData);
3247
+ }
3211
3248
  if (infoCase_ == InfoOneofCase.Target) {
3212
3249
  size += 1 + pb::CodedOutputStream.ComputeStringSize(Target);
3213
3250
  }
@@ -3233,6 +3270,12 @@ namespace Lansweeper.Scanningconfig.V1 {
3233
3270
  }
3234
3271
  IpScanData.MergeFrom(other.IpScanData);
3235
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;
3236
3279
  case InfoOneofCase.Target:
3237
3280
  Target = other.Target;
3238
3281
  break;
@@ -3266,6 +3309,15 @@ namespace Lansweeper.Scanningconfig.V1 {
3266
3309
  IpScanData = subBuilder;
3267
3310
  break;
3268
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
+ }
3269
3321
  case 34: {
3270
3322
  Target = input.ReadString();
3271
3323
  break;
@@ -3298,6 +3350,15 @@ namespace Lansweeper.Scanningconfig.V1 {
3298
3350
  IpScanData = subBuilder;
3299
3351
  break;
3300
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
+ }
3301
3362
  case 34: {
3302
3363
  Target = input.ReadString();
3303
3364
  break;
@@ -3316,6 +3377,7 @@ namespace Lansweeper.Scanningconfig.V1 {
3316
3377
  [pbr::OriginalName("UNKNOWN_TARGET_TYPE")] UnknownTargetType = 0,
3317
3378
  [pbr::OriginalName("IP_SCAN")] IpScan = 1,
3318
3379
  [pbr::OriginalName("SCCM")] Sccm = 2,
3380
+ [pbr::OriginalName("AD")] Ad = 3,
3319
3381
  }
3320
3382
 
3321
3383
  }
@@ -3858,6 +3920,431 @@ namespace Lansweeper.Scanningconfig.V1 {
3858
3920
 
3859
3921
  }
3860
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
+
3861
4348
  public sealed partial class Agent : pb::IMessage<Agent>
3862
4349
  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
3863
4350
  , pb::IBufferMessage
@@ -3872,7 +4359,7 @@ namespace Lansweeper.Scanningconfig.V1 {
3872
4359
  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3873
4360
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3874
4361
  public static pbr::MessageDescriptor Descriptor {
3875
- get { return global::Lansweeper.Scanningconfig.V1.ScanningconfigReflection.Descriptor.MessageTypes[14]; }
4362
+ get { return global::Lansweeper.Scanningconfig.V1.ScanningconfigReflection.Descriptor.MessageTypes[15]; }
3876
4363
  }
3877
4364
 
3878
4365
  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@@ -4075,7 +4562,7 @@ namespace Lansweeper.Scanningconfig.V1 {
4075
4562
  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4076
4563
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
4077
4564
  public static pbr::MessageDescriptor Descriptor {
4078
- get { return global::Lansweeper.Scanningconfig.V1.ScanningconfigReflection.Descriptor.MessageTypes[15]; }
4565
+ get { return global::Lansweeper.Scanningconfig.V1.ScanningconfigReflection.Descriptor.MessageTypes[16]; }
4079
4566
  }
4080
4567
 
4081
4568
  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]