@lansweeper/servicestatus-grpc 0.2.2 → 0.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (69) hide show
  1. package/CHANGELOG.md +25 -37
  2. package/Lansweeper.ServiceStatus.GRPC.csproj +3 -3
  3. package/gen-proto/image.json +1 -1
  4. package/gen-proto/servicestatus_pb.d.ts +2 -0
  5. package/gen-proto/servicestatus_pb.js +3 -1
  6. package/package.json +7 -2
  7. package/proto/servicestatus.proto +2 -0
  8. package/bin/Debug/net46/Google.Protobuf.dll +0 -0
  9. package/bin/Debug/net46/Grpc.Core.Api.dll +0 -0
  10. package/bin/Debug/net46/Grpc.Core.dll +0 -0
  11. package/bin/Debug/net46/Lansweeper.ServiceStatus.GRPC.dll +0 -0
  12. package/bin/Debug/net46/Lansweeper.ServiceStatus.GRPC.pdb +0 -0
  13. package/bin/Debug/net46/System.Buffers.dll +0 -0
  14. package/bin/Debug/net46/System.Memory.dll +0 -0
  15. package/bin/Debug/net46/System.Runtime.CompilerServices.Unsafe.dll +0 -0
  16. package/bin/Debug/net46/grpc_csharp_ext.x64.dll +0 -0
  17. package/bin/Debug/net46/grpc_csharp_ext.x86.dll +0 -0
  18. package/bin/Debug/net46/libgrpc_csharp_ext.x64.dylib +0 -0
  19. package/bin/Debug/net46/libgrpc_csharp_ext.x64.so +0 -0
  20. package/bin/Debug/net5.0/Lansweeper.ServiceStatus.GRPC.deps.json +0 -149
  21. package/bin/Debug/net5.0/Lansweeper.ServiceStatus.GRPC.dll +0 -0
  22. package/bin/Debug/net5.0/Lansweeper.ServiceStatus.GRPC.pdb +0 -0
  23. package/bin/Debug/net5.0/ref/Lansweeper.ServiceStatus.GRPC.dll +0 -0
  24. package/bin/Debug/netstandard2.0/Lansweeper.ServiceStatus.GRPC.deps.json +0 -193
  25. package/bin/Debug/netstandard2.0/Lansweeper.ServiceStatus.GRPC.dll +0 -0
  26. package/bin/Debug/netstandard2.0/Lansweeper.ServiceStatus.GRPC.pdb +0 -0
  27. package/obj/Debug/net46/16bfc45f637a20e2_servicestatus.protodep +0 -2
  28. package/obj/Debug/net46/Lansweeper.ServiceStatus.GRPC.AssemblyInfo.cs +0 -25
  29. package/obj/Debug/net46/Lansweeper.ServiceStatus.GRPC.AssemblyInfoInputs.cache +0 -1
  30. package/obj/Debug/net46/Lansweeper.ServiceStatus.GRPC.GeneratedMSBuildEditorConfig.editorconfig +0 -3
  31. package/obj/Debug/net46/Lansweeper.ServiceStatus.GRPC.assets.cache +0 -0
  32. package/obj/Debug/net46/Lansweeper.ServiceStatus.GRPC.csproj.AssemblyReference.cache +0 -0
  33. package/obj/Debug/net46/Lansweeper.ServiceStatus.GRPC.csproj.CopyComplete +0 -0
  34. package/obj/Debug/net46/Lansweeper.ServiceStatus.GRPC.csproj.CoreCompileInputs.cache +0 -1
  35. package/obj/Debug/net46/Lansweeper.ServiceStatus.GRPC.csproj.FileListAbsolute.txt +0 -20
  36. package/obj/Debug/net46/Lansweeper.ServiceStatus.GRPC.dll +0 -0
  37. package/obj/Debug/net46/Lansweeper.ServiceStatus.GRPC.pdb +0 -0
  38. package/obj/Debug/net46/proto/Servicestatus.cs +0 -3015
  39. package/obj/Debug/net46/proto/ServicestatusGrpc.cs +0 -195
  40. package/obj/Debug/net5.0/16bfc45f637a20e2_servicestatus.protodep +0 -2
  41. package/obj/Debug/net5.0/Lansweeper.ServiceStatus.GRPC.AssemblyInfo.cs +0 -25
  42. package/obj/Debug/net5.0/Lansweeper.ServiceStatus.GRPC.AssemblyInfoInputs.cache +0 -1
  43. package/obj/Debug/net5.0/Lansweeper.ServiceStatus.GRPC.GeneratedMSBuildEditorConfig.editorconfig +0 -10
  44. package/obj/Debug/net5.0/Lansweeper.ServiceStatus.GRPC.assets.cache +0 -0
  45. package/obj/Debug/net5.0/Lansweeper.ServiceStatus.GRPC.csproj.AssemblyReference.cache +0 -0
  46. package/obj/Debug/net5.0/Lansweeper.ServiceStatus.GRPC.csproj.CoreCompileInputs.cache +0 -1
  47. package/obj/Debug/net5.0/Lansweeper.ServiceStatus.GRPC.csproj.FileListAbsolute.txt +0 -12
  48. package/obj/Debug/net5.0/Lansweeper.ServiceStatus.GRPC.dll +0 -0
  49. package/obj/Debug/net5.0/Lansweeper.ServiceStatus.GRPC.pdb +0 -0
  50. package/obj/Debug/net5.0/proto/Servicestatus.cs +0 -3015
  51. package/obj/Debug/net5.0/proto/ServicestatusGrpc.cs +0 -195
  52. package/obj/Debug/net5.0/ref/Lansweeper.ServiceStatus.GRPC.dll +0 -0
  53. package/obj/Debug/netstandard2.0/16bfc45f637a20e2_servicestatus.protodep +0 -2
  54. package/obj/Debug/netstandard2.0/Lansweeper.ServiceStatus.GRPC.AssemblyInfo.cs +0 -25
  55. package/obj/Debug/netstandard2.0/Lansweeper.ServiceStatus.GRPC.AssemblyInfoInputs.cache +0 -1
  56. package/obj/Debug/netstandard2.0/Lansweeper.ServiceStatus.GRPC.GeneratedMSBuildEditorConfig.editorconfig +0 -3
  57. package/obj/Debug/netstandard2.0/Lansweeper.ServiceStatus.GRPC.assets.cache +0 -0
  58. package/obj/Debug/netstandard2.0/Lansweeper.ServiceStatus.GRPC.csproj.AssemblyReference.cache +0 -0
  59. package/obj/Debug/netstandard2.0/Lansweeper.ServiceStatus.GRPC.csproj.CoreCompileInputs.cache +0 -1
  60. package/obj/Debug/netstandard2.0/Lansweeper.ServiceStatus.GRPC.csproj.FileListAbsolute.txt +0 -10
  61. package/obj/Debug/netstandard2.0/Lansweeper.ServiceStatus.GRPC.dll +0 -0
  62. package/obj/Debug/netstandard2.0/Lansweeper.ServiceStatus.GRPC.pdb +0 -0
  63. package/obj/Debug/netstandard2.0/proto/Servicestatus.cs +0 -3015
  64. package/obj/Debug/netstandard2.0/proto/ServicestatusGrpc.cs +0 -195
  65. package/obj/Lansweeper.ServiceStatus.GRPC.csproj.nuget.dgspec.json +0 -183
  66. package/obj/Lansweeper.ServiceStatus.GRPC.csproj.nuget.g.props +0 -33
  67. package/obj/Lansweeper.ServiceStatus.GRPC.csproj.nuget.g.targets +0 -15
  68. package/obj/project.assets.json +0 -1301
  69. package/obj/project.nuget.cache +0 -24
@@ -1,3015 +0,0 @@
1
- // <auto-generated>
2
- // Generated by the protocol buffer compiler. DO NOT EDIT!
3
- // source: proto/servicestatus.proto
4
- // </auto-generated>
5
- #pragma warning disable 1591, 0612, 3021
6
- #region Designer generated code
7
-
8
- using pb = global::Google.Protobuf;
9
- using pbc = global::Google.Protobuf.Collections;
10
- using pbr = global::Google.Protobuf.Reflection;
11
- using scg = global::System.Collections.Generic;
12
- namespace Lansweeper.ServiceStatusAPI.GRPC {
13
-
14
- /// <summary>Holder for reflection information generated from proto/servicestatus.proto</summary>
15
- public static partial class ServicestatusReflection {
16
-
17
- #region Descriptor
18
- /// <summary>File descriptor for proto/servicestatus.proto</summary>
19
- public static pbr::FileDescriptor Descriptor {
20
- get { return descriptor; }
21
- }
22
- private static pbr::FileDescriptor descriptor;
23
-
24
- static ServicestatusReflection() {
25
- byte[] descriptorData = global::System.Convert.FromBase64String(
26
- string.Concat(
27
- "Chlwcm90by9zZXJ2aWNlc3RhdHVzLnByb3RvEhtsYW5zd2VlcGVyLnNlcnZp",
28
- "Y2VzdGF0dXMudjEiiwEKFFNjYW5uaW5nUXVldWVNZXNzYWdlEhsKE1RvdGFs",
29
- "SW5XaW5kb3dzUXVldWUYASABKAUSFgoOVG90YWxJbklwUXVldWUYAiABKAUS",
30
- "PgoERGF0YRgDIAMoCzIwLmxhbnN3ZWVwZXIuc2VydmljZXN0YXR1cy52MS5T",
31
- "Y2FubmluZ1F1ZXVlUmVjb3JkIq0DChNTY2FubmluZ1F1ZXVlUmVjb3JkEgoK",
32
- "AmlkGAEgASgDEg4KBnRhcmdldBgCIAEoCRISCgpzY2FuU2VydmVyGAMgASgJ",
33
- "EhEKCWlzUHJpbWFyeRgEIAEoCBJLCghzY2FuVHlwZRgFIAEoDjI5LmxhbnN3",
34
- "ZWVwZXIuc2VydmljZXN0YXR1cy52MS5TY2FubmluZ1F1ZXVlUmVjb3JkLlNj",
35
- "YW5UeXBlEhEKCWlwQWRkcmVzcxgGIAEoCSLyAQoIU2NhblR5cGUSIQodU0NB",
36
- "Tl9UWVBFX1VOS05PV05fVU5TUEVDSUZJRUQQABIWChJTQ0FOX1RZUEVfSU5f",
37
- "UVVFVUUQARIYChRTQ0FOX1RZUEVfSU5fUFJPQ0VTUxACEhkKFVNDQU5fVFlQ",
38
- "RV9JTl9JUF9RVUVVRRADEhsKF1NDQU5fVFlQRV9JTl9JUF9QUk9DRVNTEAQS",
39
- "FwoTU0NBTl9UWVBFX05PX0FDVElPThAFEh4KGlNDQU5fVFlQRV9JTl9JTlNU",
40
- "QUxMX1FVRVVFEAYSIAocU0NBTl9UWVBFX0lOX0lOU1RBTExfUFJPQ0VTUxAH",
41
- "IpcEChdJbnN0YWxsYXRpb25EYXRhTWVzc2FnZRJgCgppc0Z1bGxJbmZvGAEg",
42
- "ASgOMkwubGFuc3dlZXBlci5zZXJ2aWNlc3RhdHVzLnYxLkluc3RhbGxhdGlv",
43
- "bkRhdGFNZXNzYWdlLkluc3RhbGxhdGlvbk1lc3NhZ2VUeXBlEhwKFGFzc2V0",
44
- "Sm91cm5hbFNpemVJbk1iGAIgASgBEh4KFmFzc2V0Sm91cm5hbFNpemVJblJv",
45
- "d3MYAyABKAUSGgoSdG90YWxTY2FubmVkQXNzZXRzGAQgASgDEhsKE25ld0Fz",
46
- "c2V0c0xhc3QzMERheXMYBSABKAMSPwoMZGF0YWJhc2VJbmZvGAYgASgLMiku",
47
- "bGFuc3dlZXBlci5zZXJ2aWNlc3RhdHVzLnYxLkRhdGFiYXNlSW5mbxJECg9z",
48
- "Y2FuU2VydmVyc0RhdGEYByADKAsyKy5sYW5zd2VlcGVyLnNlcnZpY2VzdGF0",
49
- "dXMudjEuU2NhblNlcnZlckRhdGEilwEKF0luc3RhbGxhdGlvbk1lc3NhZ2VU",
50
- "eXBlEjEKLUlOU1RBTExBVElPTl9NRVNTQUdFX1RZUEVfVU5LTk9XTl9VTlNQ",
51
- "RUNJRklFRBAAEiUKIUlOU1RBTExBVElPTl9NRVNTQUdFX1RZUEVfUEFSVElB",
52
- "TBABEiIKHklOU1RBTExBVElPTl9NRVNTQUdFX1RZUEVfRlVMTBACOgIYASKE",
53
- "AQoMRGF0YWJhc2VJbmZvEhIKCmNvbm5lY3Rpb24YASABKAkSDAoEc2l6ZRgC",
54
- "IAEoCRIVCg1hdmFpbGFibGVTaXplGAMgASgJEhAKCHVzZWRTaXplGAQgASgJ",
55
- "EhQKDGluc3RhbmNlTmFtZRgFIAEoCRIPCgdkZXRhaWxzGAYgASgJOgIYASKJ",
56
- "BAoOU2NhblNlcnZlckRhdGESFgoOc2NhblNlcnZlck5hbWUYASABKAkSGQoR",
57
- "c2NhblNlcnZlclZlcnNpb24YAiABKAkSVgoQc2NhblNlcnZlclN0YXR1cxgD",
58
- "IAEoDjI8LmxhbnN3ZWVwZXIuc2VydmljZXN0YXR1cy52MS5TY2FuU2VydmVy",
59
- "RGF0YS5TY2FuU2VydmVyU3RhdHVzEiMKG3NjYW5TZXJ2ZXJTdGF0dXNEZXNj",
60
- "cmlwdGlvbhgEIAEoCRIaChJ0b3RhbFNjYW5uZWRBc3NldHMYBSABKAMSGwoT",
61
- "bmV3QXNzZXRzTGFzdDMwRGF5cxgGIAEoAxIVCg1sYXN0U2Nhbm5lZEF0GAcg",
62
- "ASgJEhoKEmxhc3RTY2FubmVkTWVzc2FnZRgIIAEoCRIRCglpc1ByaW1hcnkY",
63
- "CSABKAgiwwEKEFNjYW5TZXJ2ZXJTdGF0dXMSKwonU0NBTl9TRVJWRVJfU1RB",
64
- "VFVTX1NDQU5OSU5HX1VOU1BFQ0lGSUVEEAASHQoZU0NBTl9TRVJWRVJfU1RB",
65
- "VFVTX0VSUk9SUxABEh4KGlNDQU5fU0VSVkVSX1NUQVRVU19TVUNDRVNTEAIS",
66
- "IgoeU0NBTl9TRVJWRVJfU1RBVFVTX1NFUlZFUl9ET1dOEAMSHwobU0NBTl9T",
67
- "RVJWRVJfU1RBVFVTX1NDQU5OSU5HEAQ6AhgBIoEBChRTZW5kUXVldWVJbmZv",
68
- "UmVxdWVzdBJCCgdtZXNzYWdlGAEgASgLMjEubGFuc3dlZXBlci5zZXJ2aWNl",
69
- "c3RhdHVzLnYxLlNjYW5uaW5nUXVldWVNZXNzYWdlEhIKCmluc3RhbGxLZXkY",
70
- "AiABKAkSEQoJY2xpZW50S2V5GAMgASgJIpwBChVTZW5kU3RhdHVzSW5mb1Jl",
71
- "cXVlc3QSRQoHbWVzc2FnZRgBIAEoCzI0LmxhbnN3ZWVwZXIuc2VydmljZXN0",
72
- "YXR1cy52MS5JbnN0YWxsYXRpb25EYXRhTWVzc2FnZRISCgppbnN0YWxsS2V5",
73
- "GAIgASgJEhEKCWNsaWVudEtleRgDIAEoCRIRCglsc1ZlcnNpb24YBCABKAk6",
74
- "AhgBIigKFVNlbmRRdWV1ZUluZm9SZXNwb25zZRIPCgdtZXNzYWdlGAEgASgJ",
75
- "Ii0KFlNlbmRTdGF0dXNJbmZvUmVzcG9uc2USDwoHbWVzc2FnZRgBIAEoCToC",
76
- "GAEyiAIKDlNjYW5uaW5nU3RhdHVzEnYKDVNlbmRRdWV1ZUluZm8SMS5sYW5z",
77
- "d2VlcGVyLnNlcnZpY2VzdGF0dXMudjEuU2VuZFF1ZXVlSW5mb1JlcXVlc3Qa",
78
- "Mi5sYW5zd2VlcGVyLnNlcnZpY2VzdGF0dXMudjEuU2VuZFF1ZXVlSW5mb1Jl",
79
- "c3BvbnNlEn4KDlNlbmRTdGF0dXNJbmZvEjIubGFuc3dlZXBlci5zZXJ2aWNl",
80
- "c3RhdHVzLnYxLlNlbmRTdGF0dXNJbmZvUmVxdWVzdBozLmxhbnN3ZWVwZXIu",
81
- "c2VydmljZXN0YXR1cy52MS5TZW5kU3RhdHVzSW5mb1Jlc3BvbnNlIgOIAgFC",
82
- "I6oCIExhbnN3ZWVwZXIuU2VydmljZVN0YXR1c0FQSS5HUlBDYgZwcm90bzM="));
83
- descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
84
- new pbr::FileDescriptor[] { },
85
- new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
86
- new pbr::GeneratedClrTypeInfo(typeof(global::Lansweeper.ServiceStatusAPI.GRPC.ScanningQueueMessage), global::Lansweeper.ServiceStatusAPI.GRPC.ScanningQueueMessage.Parser, new[]{ "TotalInWindowsQueue", "TotalInIpQueue", "Data" }, null, null, null, null),
87
- new pbr::GeneratedClrTypeInfo(typeof(global::Lansweeper.ServiceStatusAPI.GRPC.ScanningQueueRecord), global::Lansweeper.ServiceStatusAPI.GRPC.ScanningQueueRecord.Parser, new[]{ "Id", "Target", "ScanServer", "IsPrimary", "ScanType", "IpAddress" }, null, new[]{ typeof(global::Lansweeper.ServiceStatusAPI.GRPC.ScanningQueueRecord.Types.ScanType) }, null, null),
88
- new pbr::GeneratedClrTypeInfo(typeof(global::Lansweeper.ServiceStatusAPI.GRPC.InstallationDataMessage), global::Lansweeper.ServiceStatusAPI.GRPC.InstallationDataMessage.Parser, new[]{ "IsFullInfo", "AssetJournalSizeInMb", "AssetJournalSizeInRows", "TotalScannedAssets", "NewAssetsLast30Days", "DatabaseInfo", "ScanServersData" }, null, new[]{ typeof(global::Lansweeper.ServiceStatusAPI.GRPC.InstallationDataMessage.Types.InstallationMessageType) }, null, null),
89
- new pbr::GeneratedClrTypeInfo(typeof(global::Lansweeper.ServiceStatusAPI.GRPC.DatabaseInfo), global::Lansweeper.ServiceStatusAPI.GRPC.DatabaseInfo.Parser, new[]{ "Connection", "Size", "AvailableSize", "UsedSize", "InstanceName", "Details" }, null, null, null, null),
90
- new pbr::GeneratedClrTypeInfo(typeof(global::Lansweeper.ServiceStatusAPI.GRPC.ScanServerData), global::Lansweeper.ServiceStatusAPI.GRPC.ScanServerData.Parser, new[]{ "ScanServerName", "ScanServerVersion", "ScanServerStatus", "ScanServerStatusDescription", "TotalScannedAssets", "NewAssetsLast30Days", "LastScannedAt", "LastScannedMessage", "IsPrimary" }, null, new[]{ typeof(global::Lansweeper.ServiceStatusAPI.GRPC.ScanServerData.Types.ScanServerStatus) }, null, null),
91
- new pbr::GeneratedClrTypeInfo(typeof(global::Lansweeper.ServiceStatusAPI.GRPC.SendQueueInfoRequest), global::Lansweeper.ServiceStatusAPI.GRPC.SendQueueInfoRequest.Parser, new[]{ "Message", "InstallKey", "ClientKey" }, null, null, null, null),
92
- new pbr::GeneratedClrTypeInfo(typeof(global::Lansweeper.ServiceStatusAPI.GRPC.SendStatusInfoRequest), global::Lansweeper.ServiceStatusAPI.GRPC.SendStatusInfoRequest.Parser, new[]{ "Message", "InstallKey", "ClientKey", "LsVersion" }, null, null, null, null),
93
- new pbr::GeneratedClrTypeInfo(typeof(global::Lansweeper.ServiceStatusAPI.GRPC.SendQueueInfoResponse), global::Lansweeper.ServiceStatusAPI.GRPC.SendQueueInfoResponse.Parser, new[]{ "Message" }, null, null, null, null),
94
- new pbr::GeneratedClrTypeInfo(typeof(global::Lansweeper.ServiceStatusAPI.GRPC.SendStatusInfoResponse), global::Lansweeper.ServiceStatusAPI.GRPC.SendStatusInfoResponse.Parser, new[]{ "Message" }, null, null, null, null)
95
- }));
96
- }
97
- #endregion
98
-
99
- }
100
- #region Messages
101
- public sealed partial class ScanningQueueMessage : pb::IMessage<ScanningQueueMessage>
102
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
103
- , pb::IBufferMessage
104
- #endif
105
- {
106
- private static readonly pb::MessageParser<ScanningQueueMessage> _parser = new pb::MessageParser<ScanningQueueMessage>(() => new ScanningQueueMessage());
107
- private pb::UnknownFieldSet _unknownFields;
108
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
109
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
110
- public static pb::MessageParser<ScanningQueueMessage> Parser { get { return _parser; } }
111
-
112
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
113
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
114
- public static pbr::MessageDescriptor Descriptor {
115
- get { return global::Lansweeper.ServiceStatusAPI.GRPC.ServicestatusReflection.Descriptor.MessageTypes[0]; }
116
- }
117
-
118
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
119
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
120
- pbr::MessageDescriptor pb::IMessage.Descriptor {
121
- get { return Descriptor; }
122
- }
123
-
124
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
125
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
126
- public ScanningQueueMessage() {
127
- OnConstruction();
128
- }
129
-
130
- partial void OnConstruction();
131
-
132
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
133
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
134
- public ScanningQueueMessage(ScanningQueueMessage other) : this() {
135
- totalInWindowsQueue_ = other.totalInWindowsQueue_;
136
- totalInIpQueue_ = other.totalInIpQueue_;
137
- data_ = other.data_.Clone();
138
- _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
139
- }
140
-
141
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
142
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
143
- public ScanningQueueMessage Clone() {
144
- return new ScanningQueueMessage(this);
145
- }
146
-
147
- /// <summary>Field number for the "TotalInWindowsQueue" field.</summary>
148
- public const int TotalInWindowsQueueFieldNumber = 1;
149
- private int totalInWindowsQueue_;
150
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
151
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
152
- public int TotalInWindowsQueue {
153
- get { return totalInWindowsQueue_; }
154
- set {
155
- totalInWindowsQueue_ = value;
156
- }
157
- }
158
-
159
- /// <summary>Field number for the "TotalInIpQueue" field.</summary>
160
- public const int TotalInIpQueueFieldNumber = 2;
161
- private int totalInIpQueue_;
162
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
163
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
164
- public int TotalInIpQueue {
165
- get { return totalInIpQueue_; }
166
- set {
167
- totalInIpQueue_ = value;
168
- }
169
- }
170
-
171
- /// <summary>Field number for the "Data" field.</summary>
172
- public const int DataFieldNumber = 3;
173
- private static readonly pb::FieldCodec<global::Lansweeper.ServiceStatusAPI.GRPC.ScanningQueueRecord> _repeated_data_codec
174
- = pb::FieldCodec.ForMessage(26, global::Lansweeper.ServiceStatusAPI.GRPC.ScanningQueueRecord.Parser);
175
- private readonly pbc::RepeatedField<global::Lansweeper.ServiceStatusAPI.GRPC.ScanningQueueRecord> data_ = new pbc::RepeatedField<global::Lansweeper.ServiceStatusAPI.GRPC.ScanningQueueRecord>();
176
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
177
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
178
- public pbc::RepeatedField<global::Lansweeper.ServiceStatusAPI.GRPC.ScanningQueueRecord> Data {
179
- get { return data_; }
180
- }
181
-
182
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
183
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
184
- public override bool Equals(object other) {
185
- return Equals(other as ScanningQueueMessage);
186
- }
187
-
188
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
189
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
190
- public bool Equals(ScanningQueueMessage other) {
191
- if (ReferenceEquals(other, null)) {
192
- return false;
193
- }
194
- if (ReferenceEquals(other, this)) {
195
- return true;
196
- }
197
- if (TotalInWindowsQueue != other.TotalInWindowsQueue) return false;
198
- if (TotalInIpQueue != other.TotalInIpQueue) return false;
199
- if(!data_.Equals(other.data_)) return false;
200
- return Equals(_unknownFields, other._unknownFields);
201
- }
202
-
203
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
204
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
205
- public override int GetHashCode() {
206
- int hash = 1;
207
- if (TotalInWindowsQueue != 0) hash ^= TotalInWindowsQueue.GetHashCode();
208
- if (TotalInIpQueue != 0) hash ^= TotalInIpQueue.GetHashCode();
209
- hash ^= data_.GetHashCode();
210
- if (_unknownFields != null) {
211
- hash ^= _unknownFields.GetHashCode();
212
- }
213
- return hash;
214
- }
215
-
216
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
217
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
218
- public override string ToString() {
219
- return pb::JsonFormatter.ToDiagnosticString(this);
220
- }
221
-
222
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
223
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
224
- public void WriteTo(pb::CodedOutputStream output) {
225
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
226
- output.WriteRawMessage(this);
227
- #else
228
- if (TotalInWindowsQueue != 0) {
229
- output.WriteRawTag(8);
230
- output.WriteInt32(TotalInWindowsQueue);
231
- }
232
- if (TotalInIpQueue != 0) {
233
- output.WriteRawTag(16);
234
- output.WriteInt32(TotalInIpQueue);
235
- }
236
- data_.WriteTo(output, _repeated_data_codec);
237
- if (_unknownFields != null) {
238
- _unknownFields.WriteTo(output);
239
- }
240
- #endif
241
- }
242
-
243
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
244
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
245
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
246
- void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
247
- if (TotalInWindowsQueue != 0) {
248
- output.WriteRawTag(8);
249
- output.WriteInt32(TotalInWindowsQueue);
250
- }
251
- if (TotalInIpQueue != 0) {
252
- output.WriteRawTag(16);
253
- output.WriteInt32(TotalInIpQueue);
254
- }
255
- data_.WriteTo(ref output, _repeated_data_codec);
256
- if (_unknownFields != null) {
257
- _unknownFields.WriteTo(ref output);
258
- }
259
- }
260
- #endif
261
-
262
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
263
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
264
- public int CalculateSize() {
265
- int size = 0;
266
- if (TotalInWindowsQueue != 0) {
267
- size += 1 + pb::CodedOutputStream.ComputeInt32Size(TotalInWindowsQueue);
268
- }
269
- if (TotalInIpQueue != 0) {
270
- size += 1 + pb::CodedOutputStream.ComputeInt32Size(TotalInIpQueue);
271
- }
272
- size += data_.CalculateSize(_repeated_data_codec);
273
- if (_unknownFields != null) {
274
- size += _unknownFields.CalculateSize();
275
- }
276
- return size;
277
- }
278
-
279
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
280
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
281
- public void MergeFrom(ScanningQueueMessage other) {
282
- if (other == null) {
283
- return;
284
- }
285
- if (other.TotalInWindowsQueue != 0) {
286
- TotalInWindowsQueue = other.TotalInWindowsQueue;
287
- }
288
- if (other.TotalInIpQueue != 0) {
289
- TotalInIpQueue = other.TotalInIpQueue;
290
- }
291
- data_.Add(other.data_);
292
- _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
293
- }
294
-
295
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
296
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
297
- public void MergeFrom(pb::CodedInputStream input) {
298
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
299
- input.ReadRawMessage(this);
300
- #else
301
- uint tag;
302
- while ((tag = input.ReadTag()) != 0) {
303
- switch(tag) {
304
- default:
305
- _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
306
- break;
307
- case 8: {
308
- TotalInWindowsQueue = input.ReadInt32();
309
- break;
310
- }
311
- case 16: {
312
- TotalInIpQueue = input.ReadInt32();
313
- break;
314
- }
315
- case 26: {
316
- data_.AddEntriesFrom(input, _repeated_data_codec);
317
- break;
318
- }
319
- }
320
- }
321
- #endif
322
- }
323
-
324
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
325
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
326
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
327
- void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
328
- uint tag;
329
- while ((tag = input.ReadTag()) != 0) {
330
- switch(tag) {
331
- default:
332
- _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
333
- break;
334
- case 8: {
335
- TotalInWindowsQueue = input.ReadInt32();
336
- break;
337
- }
338
- case 16: {
339
- TotalInIpQueue = input.ReadInt32();
340
- break;
341
- }
342
- case 26: {
343
- data_.AddEntriesFrom(ref input, _repeated_data_codec);
344
- break;
345
- }
346
- }
347
- }
348
- }
349
- #endif
350
-
351
- }
352
-
353
- public sealed partial class ScanningQueueRecord : pb::IMessage<ScanningQueueRecord>
354
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
355
- , pb::IBufferMessage
356
- #endif
357
- {
358
- private static readonly pb::MessageParser<ScanningQueueRecord> _parser = new pb::MessageParser<ScanningQueueRecord>(() => new ScanningQueueRecord());
359
- private pb::UnknownFieldSet _unknownFields;
360
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
361
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
362
- public static pb::MessageParser<ScanningQueueRecord> Parser { get { return _parser; } }
363
-
364
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
365
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
366
- public static pbr::MessageDescriptor Descriptor {
367
- get { return global::Lansweeper.ServiceStatusAPI.GRPC.ServicestatusReflection.Descriptor.MessageTypes[1]; }
368
- }
369
-
370
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
371
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
372
- pbr::MessageDescriptor pb::IMessage.Descriptor {
373
- get { return Descriptor; }
374
- }
375
-
376
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
377
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
378
- public ScanningQueueRecord() {
379
- OnConstruction();
380
- }
381
-
382
- partial void OnConstruction();
383
-
384
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
385
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
386
- public ScanningQueueRecord(ScanningQueueRecord other) : this() {
387
- id_ = other.id_;
388
- target_ = other.target_;
389
- scanServer_ = other.scanServer_;
390
- isPrimary_ = other.isPrimary_;
391
- scanType_ = other.scanType_;
392
- ipAddress_ = other.ipAddress_;
393
- _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
394
- }
395
-
396
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
397
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
398
- public ScanningQueueRecord Clone() {
399
- return new ScanningQueueRecord(this);
400
- }
401
-
402
- /// <summary>Field number for the "id" field.</summary>
403
- public const int IdFieldNumber = 1;
404
- private long id_;
405
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
406
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
407
- public long Id {
408
- get { return id_; }
409
- set {
410
- id_ = value;
411
- }
412
- }
413
-
414
- /// <summary>Field number for the "target" field.</summary>
415
- public const int TargetFieldNumber = 2;
416
- private string target_ = "";
417
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
418
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
419
- public string Target {
420
- get { return target_; }
421
- set {
422
- target_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
423
- }
424
- }
425
-
426
- /// <summary>Field number for the "scanServer" field.</summary>
427
- public const int ScanServerFieldNumber = 3;
428
- private string scanServer_ = "";
429
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
430
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
431
- public string ScanServer {
432
- get { return scanServer_; }
433
- set {
434
- scanServer_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
435
- }
436
- }
437
-
438
- /// <summary>Field number for the "isPrimary" field.</summary>
439
- public const int IsPrimaryFieldNumber = 4;
440
- private bool isPrimary_;
441
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
442
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
443
- public bool IsPrimary {
444
- get { return isPrimary_; }
445
- set {
446
- isPrimary_ = value;
447
- }
448
- }
449
-
450
- /// <summary>Field number for the "scanType" field.</summary>
451
- public const int ScanTypeFieldNumber = 5;
452
- private global::Lansweeper.ServiceStatusAPI.GRPC.ScanningQueueRecord.Types.ScanType scanType_ = global::Lansweeper.ServiceStatusAPI.GRPC.ScanningQueueRecord.Types.ScanType.UnknownUnspecified;
453
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
454
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
455
- public global::Lansweeper.ServiceStatusAPI.GRPC.ScanningQueueRecord.Types.ScanType ScanType {
456
- get { return scanType_; }
457
- set {
458
- scanType_ = value;
459
- }
460
- }
461
-
462
- /// <summary>Field number for the "ipAddress" field.</summary>
463
- public const int IpAddressFieldNumber = 6;
464
- private string ipAddress_ = "";
465
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
466
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
467
- public string IpAddress {
468
- get { return ipAddress_; }
469
- set {
470
- ipAddress_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
471
- }
472
- }
473
-
474
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
475
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
476
- public override bool Equals(object other) {
477
- return Equals(other as ScanningQueueRecord);
478
- }
479
-
480
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
481
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
482
- public bool Equals(ScanningQueueRecord other) {
483
- if (ReferenceEquals(other, null)) {
484
- return false;
485
- }
486
- if (ReferenceEquals(other, this)) {
487
- return true;
488
- }
489
- if (Id != other.Id) return false;
490
- if (Target != other.Target) return false;
491
- if (ScanServer != other.ScanServer) return false;
492
- if (IsPrimary != other.IsPrimary) return false;
493
- if (ScanType != other.ScanType) return false;
494
- if (IpAddress != other.IpAddress) return false;
495
- return Equals(_unknownFields, other._unknownFields);
496
- }
497
-
498
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
499
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
500
- public override int GetHashCode() {
501
- int hash = 1;
502
- if (Id != 0L) hash ^= Id.GetHashCode();
503
- if (Target.Length != 0) hash ^= Target.GetHashCode();
504
- if (ScanServer.Length != 0) hash ^= ScanServer.GetHashCode();
505
- if (IsPrimary != false) hash ^= IsPrimary.GetHashCode();
506
- if (ScanType != global::Lansweeper.ServiceStatusAPI.GRPC.ScanningQueueRecord.Types.ScanType.UnknownUnspecified) hash ^= ScanType.GetHashCode();
507
- if (IpAddress.Length != 0) hash ^= IpAddress.GetHashCode();
508
- if (_unknownFields != null) {
509
- hash ^= _unknownFields.GetHashCode();
510
- }
511
- return hash;
512
- }
513
-
514
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
515
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
516
- public override string ToString() {
517
- return pb::JsonFormatter.ToDiagnosticString(this);
518
- }
519
-
520
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
521
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
522
- public void WriteTo(pb::CodedOutputStream output) {
523
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
524
- output.WriteRawMessage(this);
525
- #else
526
- if (Id != 0L) {
527
- output.WriteRawTag(8);
528
- output.WriteInt64(Id);
529
- }
530
- if (Target.Length != 0) {
531
- output.WriteRawTag(18);
532
- output.WriteString(Target);
533
- }
534
- if (ScanServer.Length != 0) {
535
- output.WriteRawTag(26);
536
- output.WriteString(ScanServer);
537
- }
538
- if (IsPrimary != false) {
539
- output.WriteRawTag(32);
540
- output.WriteBool(IsPrimary);
541
- }
542
- if (ScanType != global::Lansweeper.ServiceStatusAPI.GRPC.ScanningQueueRecord.Types.ScanType.UnknownUnspecified) {
543
- output.WriteRawTag(40);
544
- output.WriteEnum((int) ScanType);
545
- }
546
- if (IpAddress.Length != 0) {
547
- output.WriteRawTag(50);
548
- output.WriteString(IpAddress);
549
- }
550
- if (_unknownFields != null) {
551
- _unknownFields.WriteTo(output);
552
- }
553
- #endif
554
- }
555
-
556
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
557
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
558
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
559
- void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
560
- if (Id != 0L) {
561
- output.WriteRawTag(8);
562
- output.WriteInt64(Id);
563
- }
564
- if (Target.Length != 0) {
565
- output.WriteRawTag(18);
566
- output.WriteString(Target);
567
- }
568
- if (ScanServer.Length != 0) {
569
- output.WriteRawTag(26);
570
- output.WriteString(ScanServer);
571
- }
572
- if (IsPrimary != false) {
573
- output.WriteRawTag(32);
574
- output.WriteBool(IsPrimary);
575
- }
576
- if (ScanType != global::Lansweeper.ServiceStatusAPI.GRPC.ScanningQueueRecord.Types.ScanType.UnknownUnspecified) {
577
- output.WriteRawTag(40);
578
- output.WriteEnum((int) ScanType);
579
- }
580
- if (IpAddress.Length != 0) {
581
- output.WriteRawTag(50);
582
- output.WriteString(IpAddress);
583
- }
584
- if (_unknownFields != null) {
585
- _unknownFields.WriteTo(ref output);
586
- }
587
- }
588
- #endif
589
-
590
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
591
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
592
- public int CalculateSize() {
593
- int size = 0;
594
- if (Id != 0L) {
595
- size += 1 + pb::CodedOutputStream.ComputeInt64Size(Id);
596
- }
597
- if (Target.Length != 0) {
598
- size += 1 + pb::CodedOutputStream.ComputeStringSize(Target);
599
- }
600
- if (ScanServer.Length != 0) {
601
- size += 1 + pb::CodedOutputStream.ComputeStringSize(ScanServer);
602
- }
603
- if (IsPrimary != false) {
604
- size += 1 + 1;
605
- }
606
- if (ScanType != global::Lansweeper.ServiceStatusAPI.GRPC.ScanningQueueRecord.Types.ScanType.UnknownUnspecified) {
607
- size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) ScanType);
608
- }
609
- if (IpAddress.Length != 0) {
610
- size += 1 + pb::CodedOutputStream.ComputeStringSize(IpAddress);
611
- }
612
- if (_unknownFields != null) {
613
- size += _unknownFields.CalculateSize();
614
- }
615
- return size;
616
- }
617
-
618
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
619
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
620
- public void MergeFrom(ScanningQueueRecord other) {
621
- if (other == null) {
622
- return;
623
- }
624
- if (other.Id != 0L) {
625
- Id = other.Id;
626
- }
627
- if (other.Target.Length != 0) {
628
- Target = other.Target;
629
- }
630
- if (other.ScanServer.Length != 0) {
631
- ScanServer = other.ScanServer;
632
- }
633
- if (other.IsPrimary != false) {
634
- IsPrimary = other.IsPrimary;
635
- }
636
- if (other.ScanType != global::Lansweeper.ServiceStatusAPI.GRPC.ScanningQueueRecord.Types.ScanType.UnknownUnspecified) {
637
- ScanType = other.ScanType;
638
- }
639
- if (other.IpAddress.Length != 0) {
640
- IpAddress = other.IpAddress;
641
- }
642
- _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
643
- }
644
-
645
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
646
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
647
- public void MergeFrom(pb::CodedInputStream input) {
648
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
649
- input.ReadRawMessage(this);
650
- #else
651
- uint tag;
652
- while ((tag = input.ReadTag()) != 0) {
653
- switch(tag) {
654
- default:
655
- _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
656
- break;
657
- case 8: {
658
- Id = input.ReadInt64();
659
- break;
660
- }
661
- case 18: {
662
- Target = input.ReadString();
663
- break;
664
- }
665
- case 26: {
666
- ScanServer = input.ReadString();
667
- break;
668
- }
669
- case 32: {
670
- IsPrimary = input.ReadBool();
671
- break;
672
- }
673
- case 40: {
674
- ScanType = (global::Lansweeper.ServiceStatusAPI.GRPC.ScanningQueueRecord.Types.ScanType) input.ReadEnum();
675
- break;
676
- }
677
- case 50: {
678
- IpAddress = input.ReadString();
679
- break;
680
- }
681
- }
682
- }
683
- #endif
684
- }
685
-
686
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
687
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
688
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
689
- void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
690
- uint tag;
691
- while ((tag = input.ReadTag()) != 0) {
692
- switch(tag) {
693
- default:
694
- _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
695
- break;
696
- case 8: {
697
- Id = input.ReadInt64();
698
- break;
699
- }
700
- case 18: {
701
- Target = input.ReadString();
702
- break;
703
- }
704
- case 26: {
705
- ScanServer = input.ReadString();
706
- break;
707
- }
708
- case 32: {
709
- IsPrimary = input.ReadBool();
710
- break;
711
- }
712
- case 40: {
713
- ScanType = (global::Lansweeper.ServiceStatusAPI.GRPC.ScanningQueueRecord.Types.ScanType) input.ReadEnum();
714
- break;
715
- }
716
- case 50: {
717
- IpAddress = input.ReadString();
718
- break;
719
- }
720
- }
721
- }
722
- }
723
- #endif
724
-
725
- #region Nested types
726
- /// <summary>Container for nested types declared in the ScanningQueueRecord message type.</summary>
727
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
728
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
729
- public static partial class Types {
730
- public enum ScanType {
731
- [pbr::OriginalName("SCAN_TYPE_UNKNOWN_UNSPECIFIED")] UnknownUnspecified = 0,
732
- [pbr::OriginalName("SCAN_TYPE_IN_QUEUE")] InQueue = 1,
733
- [pbr::OriginalName("SCAN_TYPE_IN_PROCESS")] InProcess = 2,
734
- [pbr::OriginalName("SCAN_TYPE_IN_IP_QUEUE")] InIpQueue = 3,
735
- [pbr::OriginalName("SCAN_TYPE_IN_IP_PROCESS")] InIpProcess = 4,
736
- [pbr::OriginalName("SCAN_TYPE_NO_ACTION")] NoAction = 5,
737
- [pbr::OriginalName("SCAN_TYPE_IN_INSTALL_QUEUE")] InInstallQueue = 6,
738
- [pbr::OriginalName("SCAN_TYPE_IN_INSTALL_PROCESS")] InInstallProcess = 7,
739
- }
740
-
741
- }
742
- #endregion
743
-
744
- }
745
-
746
- [global::System.ObsoleteAttribute]
747
- public sealed partial class InstallationDataMessage : pb::IMessage<InstallationDataMessage>
748
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
749
- , pb::IBufferMessage
750
- #endif
751
- {
752
- private static readonly pb::MessageParser<InstallationDataMessage> _parser = new pb::MessageParser<InstallationDataMessage>(() => new InstallationDataMessage());
753
- private pb::UnknownFieldSet _unknownFields;
754
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
755
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
756
- public static pb::MessageParser<InstallationDataMessage> Parser { get { return _parser; } }
757
-
758
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
759
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
760
- public static pbr::MessageDescriptor Descriptor {
761
- get { return global::Lansweeper.ServiceStatusAPI.GRPC.ServicestatusReflection.Descriptor.MessageTypes[2]; }
762
- }
763
-
764
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
765
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
766
- pbr::MessageDescriptor pb::IMessage.Descriptor {
767
- get { return Descriptor; }
768
- }
769
-
770
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
771
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
772
- public InstallationDataMessage() {
773
- OnConstruction();
774
- }
775
-
776
- partial void OnConstruction();
777
-
778
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
779
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
780
- public InstallationDataMessage(InstallationDataMessage other) : this() {
781
- isFullInfo_ = other.isFullInfo_;
782
- assetJournalSizeInMb_ = other.assetJournalSizeInMb_;
783
- assetJournalSizeInRows_ = other.assetJournalSizeInRows_;
784
- totalScannedAssets_ = other.totalScannedAssets_;
785
- newAssetsLast30Days_ = other.newAssetsLast30Days_;
786
- databaseInfo_ = other.databaseInfo_ != null ? other.databaseInfo_.Clone() : null;
787
- scanServersData_ = other.scanServersData_.Clone();
788
- _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
789
- }
790
-
791
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
792
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
793
- public InstallationDataMessage Clone() {
794
- return new InstallationDataMessage(this);
795
- }
796
-
797
- /// <summary>Field number for the "isFullInfo" field.</summary>
798
- public const int IsFullInfoFieldNumber = 1;
799
- private global::Lansweeper.ServiceStatusAPI.GRPC.InstallationDataMessage.Types.InstallationMessageType isFullInfo_ = global::Lansweeper.ServiceStatusAPI.GRPC.InstallationDataMessage.Types.InstallationMessageType.UnknownUnspecified;
800
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
801
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
802
- public global::Lansweeper.ServiceStatusAPI.GRPC.InstallationDataMessage.Types.InstallationMessageType IsFullInfo {
803
- get { return isFullInfo_; }
804
- set {
805
- isFullInfo_ = value;
806
- }
807
- }
808
-
809
- /// <summary>Field number for the "assetJournalSizeInMb" field.</summary>
810
- public const int AssetJournalSizeInMbFieldNumber = 2;
811
- private double assetJournalSizeInMb_;
812
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
813
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
814
- public double AssetJournalSizeInMb {
815
- get { return assetJournalSizeInMb_; }
816
- set {
817
- assetJournalSizeInMb_ = value;
818
- }
819
- }
820
-
821
- /// <summary>Field number for the "assetJournalSizeInRows" field.</summary>
822
- public const int AssetJournalSizeInRowsFieldNumber = 3;
823
- private int assetJournalSizeInRows_;
824
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
825
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
826
- public int AssetJournalSizeInRows {
827
- get { return assetJournalSizeInRows_; }
828
- set {
829
- assetJournalSizeInRows_ = value;
830
- }
831
- }
832
-
833
- /// <summary>Field number for the "totalScannedAssets" field.</summary>
834
- public const int TotalScannedAssetsFieldNumber = 4;
835
- private long totalScannedAssets_;
836
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
837
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
838
- public long TotalScannedAssets {
839
- get { return totalScannedAssets_; }
840
- set {
841
- totalScannedAssets_ = value;
842
- }
843
- }
844
-
845
- /// <summary>Field number for the "newAssetsLast30Days" field.</summary>
846
- public const int NewAssetsLast30DaysFieldNumber = 5;
847
- private long newAssetsLast30Days_;
848
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
849
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
850
- public long NewAssetsLast30Days {
851
- get { return newAssetsLast30Days_; }
852
- set {
853
- newAssetsLast30Days_ = value;
854
- }
855
- }
856
-
857
- /// <summary>Field number for the "databaseInfo" field.</summary>
858
- public const int DatabaseInfoFieldNumber = 6;
859
- private global::Lansweeper.ServiceStatusAPI.GRPC.DatabaseInfo databaseInfo_;
860
- [global::System.ObsoleteAttribute]
861
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
862
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
863
- public global::Lansweeper.ServiceStatusAPI.GRPC.DatabaseInfo DatabaseInfo {
864
- get { return databaseInfo_; }
865
- set {
866
- databaseInfo_ = value;
867
- }
868
- }
869
-
870
- /// <summary>Field number for the "scanServersData" field.</summary>
871
- public const int ScanServersDataFieldNumber = 7;
872
- private static readonly pb::FieldCodec<global::Lansweeper.ServiceStatusAPI.GRPC.ScanServerData> _repeated_scanServersData_codec
873
- = pb::FieldCodec.ForMessage(58, global::Lansweeper.ServiceStatusAPI.GRPC.ScanServerData.Parser);
874
- private readonly pbc::RepeatedField<global::Lansweeper.ServiceStatusAPI.GRPC.ScanServerData> scanServersData_ = new pbc::RepeatedField<global::Lansweeper.ServiceStatusAPI.GRPC.ScanServerData>();
875
- [global::System.ObsoleteAttribute]
876
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
877
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
878
- public pbc::RepeatedField<global::Lansweeper.ServiceStatusAPI.GRPC.ScanServerData> ScanServersData {
879
- get { return scanServersData_; }
880
- }
881
-
882
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
883
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
884
- public override bool Equals(object other) {
885
- return Equals(other as InstallationDataMessage);
886
- }
887
-
888
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
889
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
890
- public bool Equals(InstallationDataMessage other) {
891
- if (ReferenceEquals(other, null)) {
892
- return false;
893
- }
894
- if (ReferenceEquals(other, this)) {
895
- return true;
896
- }
897
- if (IsFullInfo != other.IsFullInfo) return false;
898
- if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(AssetJournalSizeInMb, other.AssetJournalSizeInMb)) return false;
899
- if (AssetJournalSizeInRows != other.AssetJournalSizeInRows) return false;
900
- if (TotalScannedAssets != other.TotalScannedAssets) return false;
901
- if (NewAssetsLast30Days != other.NewAssetsLast30Days) return false;
902
- if (!object.Equals(DatabaseInfo, other.DatabaseInfo)) return false;
903
- if(!scanServersData_.Equals(other.scanServersData_)) return false;
904
- return Equals(_unknownFields, other._unknownFields);
905
- }
906
-
907
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
908
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
909
- public override int GetHashCode() {
910
- int hash = 1;
911
- if (IsFullInfo != global::Lansweeper.ServiceStatusAPI.GRPC.InstallationDataMessage.Types.InstallationMessageType.UnknownUnspecified) hash ^= IsFullInfo.GetHashCode();
912
- if (AssetJournalSizeInMb != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(AssetJournalSizeInMb);
913
- if (AssetJournalSizeInRows != 0) hash ^= AssetJournalSizeInRows.GetHashCode();
914
- if (TotalScannedAssets != 0L) hash ^= TotalScannedAssets.GetHashCode();
915
- if (NewAssetsLast30Days != 0L) hash ^= NewAssetsLast30Days.GetHashCode();
916
- if (databaseInfo_ != null) hash ^= DatabaseInfo.GetHashCode();
917
- hash ^= scanServersData_.GetHashCode();
918
- if (_unknownFields != null) {
919
- hash ^= _unknownFields.GetHashCode();
920
- }
921
- return hash;
922
- }
923
-
924
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
925
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
926
- public override string ToString() {
927
- return pb::JsonFormatter.ToDiagnosticString(this);
928
- }
929
-
930
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
931
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
932
- public void WriteTo(pb::CodedOutputStream output) {
933
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
934
- output.WriteRawMessage(this);
935
- #else
936
- if (IsFullInfo != global::Lansweeper.ServiceStatusAPI.GRPC.InstallationDataMessage.Types.InstallationMessageType.UnknownUnspecified) {
937
- output.WriteRawTag(8);
938
- output.WriteEnum((int) IsFullInfo);
939
- }
940
- if (AssetJournalSizeInMb != 0D) {
941
- output.WriteRawTag(17);
942
- output.WriteDouble(AssetJournalSizeInMb);
943
- }
944
- if (AssetJournalSizeInRows != 0) {
945
- output.WriteRawTag(24);
946
- output.WriteInt32(AssetJournalSizeInRows);
947
- }
948
- if (TotalScannedAssets != 0L) {
949
- output.WriteRawTag(32);
950
- output.WriteInt64(TotalScannedAssets);
951
- }
952
- if (NewAssetsLast30Days != 0L) {
953
- output.WriteRawTag(40);
954
- output.WriteInt64(NewAssetsLast30Days);
955
- }
956
- if (databaseInfo_ != null) {
957
- output.WriteRawTag(50);
958
- output.WriteMessage(DatabaseInfo);
959
- }
960
- scanServersData_.WriteTo(output, _repeated_scanServersData_codec);
961
- if (_unknownFields != null) {
962
- _unknownFields.WriteTo(output);
963
- }
964
- #endif
965
- }
966
-
967
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
968
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
969
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
970
- void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
971
- if (IsFullInfo != global::Lansweeper.ServiceStatusAPI.GRPC.InstallationDataMessage.Types.InstallationMessageType.UnknownUnspecified) {
972
- output.WriteRawTag(8);
973
- output.WriteEnum((int) IsFullInfo);
974
- }
975
- if (AssetJournalSizeInMb != 0D) {
976
- output.WriteRawTag(17);
977
- output.WriteDouble(AssetJournalSizeInMb);
978
- }
979
- if (AssetJournalSizeInRows != 0) {
980
- output.WriteRawTag(24);
981
- output.WriteInt32(AssetJournalSizeInRows);
982
- }
983
- if (TotalScannedAssets != 0L) {
984
- output.WriteRawTag(32);
985
- output.WriteInt64(TotalScannedAssets);
986
- }
987
- if (NewAssetsLast30Days != 0L) {
988
- output.WriteRawTag(40);
989
- output.WriteInt64(NewAssetsLast30Days);
990
- }
991
- if (databaseInfo_ != null) {
992
- output.WriteRawTag(50);
993
- output.WriteMessage(DatabaseInfo);
994
- }
995
- scanServersData_.WriteTo(ref output, _repeated_scanServersData_codec);
996
- if (_unknownFields != null) {
997
- _unknownFields.WriteTo(ref output);
998
- }
999
- }
1000
- #endif
1001
-
1002
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1003
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1004
- public int CalculateSize() {
1005
- int size = 0;
1006
- if (IsFullInfo != global::Lansweeper.ServiceStatusAPI.GRPC.InstallationDataMessage.Types.InstallationMessageType.UnknownUnspecified) {
1007
- size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) IsFullInfo);
1008
- }
1009
- if (AssetJournalSizeInMb != 0D) {
1010
- size += 1 + 8;
1011
- }
1012
- if (AssetJournalSizeInRows != 0) {
1013
- size += 1 + pb::CodedOutputStream.ComputeInt32Size(AssetJournalSizeInRows);
1014
- }
1015
- if (TotalScannedAssets != 0L) {
1016
- size += 1 + pb::CodedOutputStream.ComputeInt64Size(TotalScannedAssets);
1017
- }
1018
- if (NewAssetsLast30Days != 0L) {
1019
- size += 1 + pb::CodedOutputStream.ComputeInt64Size(NewAssetsLast30Days);
1020
- }
1021
- if (databaseInfo_ != null) {
1022
- size += 1 + pb::CodedOutputStream.ComputeMessageSize(DatabaseInfo);
1023
- }
1024
- size += scanServersData_.CalculateSize(_repeated_scanServersData_codec);
1025
- if (_unknownFields != null) {
1026
- size += _unknownFields.CalculateSize();
1027
- }
1028
- return size;
1029
- }
1030
-
1031
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1032
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1033
- public void MergeFrom(InstallationDataMessage other) {
1034
- if (other == null) {
1035
- return;
1036
- }
1037
- if (other.IsFullInfo != global::Lansweeper.ServiceStatusAPI.GRPC.InstallationDataMessage.Types.InstallationMessageType.UnknownUnspecified) {
1038
- IsFullInfo = other.IsFullInfo;
1039
- }
1040
- if (other.AssetJournalSizeInMb != 0D) {
1041
- AssetJournalSizeInMb = other.AssetJournalSizeInMb;
1042
- }
1043
- if (other.AssetJournalSizeInRows != 0) {
1044
- AssetJournalSizeInRows = other.AssetJournalSizeInRows;
1045
- }
1046
- if (other.TotalScannedAssets != 0L) {
1047
- TotalScannedAssets = other.TotalScannedAssets;
1048
- }
1049
- if (other.NewAssetsLast30Days != 0L) {
1050
- NewAssetsLast30Days = other.NewAssetsLast30Days;
1051
- }
1052
- if (other.databaseInfo_ != null) {
1053
- if (databaseInfo_ == null) {
1054
- DatabaseInfo = new global::Lansweeper.ServiceStatusAPI.GRPC.DatabaseInfo();
1055
- }
1056
- DatabaseInfo.MergeFrom(other.DatabaseInfo);
1057
- }
1058
- scanServersData_.Add(other.scanServersData_);
1059
- _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
1060
- }
1061
-
1062
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1063
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1064
- public void MergeFrom(pb::CodedInputStream input) {
1065
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1066
- input.ReadRawMessage(this);
1067
- #else
1068
- uint tag;
1069
- while ((tag = input.ReadTag()) != 0) {
1070
- switch(tag) {
1071
- default:
1072
- _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
1073
- break;
1074
- case 8: {
1075
- IsFullInfo = (global::Lansweeper.ServiceStatusAPI.GRPC.InstallationDataMessage.Types.InstallationMessageType) input.ReadEnum();
1076
- break;
1077
- }
1078
- case 17: {
1079
- AssetJournalSizeInMb = input.ReadDouble();
1080
- break;
1081
- }
1082
- case 24: {
1083
- AssetJournalSizeInRows = input.ReadInt32();
1084
- break;
1085
- }
1086
- case 32: {
1087
- TotalScannedAssets = input.ReadInt64();
1088
- break;
1089
- }
1090
- case 40: {
1091
- NewAssetsLast30Days = input.ReadInt64();
1092
- break;
1093
- }
1094
- case 50: {
1095
- if (databaseInfo_ == null) {
1096
- DatabaseInfo = new global::Lansweeper.ServiceStatusAPI.GRPC.DatabaseInfo();
1097
- }
1098
- input.ReadMessage(DatabaseInfo);
1099
- break;
1100
- }
1101
- case 58: {
1102
- scanServersData_.AddEntriesFrom(input, _repeated_scanServersData_codec);
1103
- break;
1104
- }
1105
- }
1106
- }
1107
- #endif
1108
- }
1109
-
1110
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1111
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1112
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1113
- void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
1114
- uint tag;
1115
- while ((tag = input.ReadTag()) != 0) {
1116
- switch(tag) {
1117
- default:
1118
- _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
1119
- break;
1120
- case 8: {
1121
- IsFullInfo = (global::Lansweeper.ServiceStatusAPI.GRPC.InstallationDataMessage.Types.InstallationMessageType) input.ReadEnum();
1122
- break;
1123
- }
1124
- case 17: {
1125
- AssetJournalSizeInMb = input.ReadDouble();
1126
- break;
1127
- }
1128
- case 24: {
1129
- AssetJournalSizeInRows = input.ReadInt32();
1130
- break;
1131
- }
1132
- case 32: {
1133
- TotalScannedAssets = input.ReadInt64();
1134
- break;
1135
- }
1136
- case 40: {
1137
- NewAssetsLast30Days = input.ReadInt64();
1138
- break;
1139
- }
1140
- case 50: {
1141
- if (databaseInfo_ == null) {
1142
- DatabaseInfo = new global::Lansweeper.ServiceStatusAPI.GRPC.DatabaseInfo();
1143
- }
1144
- input.ReadMessage(DatabaseInfo);
1145
- break;
1146
- }
1147
- case 58: {
1148
- scanServersData_.AddEntriesFrom(ref input, _repeated_scanServersData_codec);
1149
- break;
1150
- }
1151
- }
1152
- }
1153
- }
1154
- #endif
1155
-
1156
- #region Nested types
1157
- /// <summary>Container for nested types declared in the InstallationDataMessage message type.</summary>
1158
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1159
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1160
- public static partial class Types {
1161
- public enum InstallationMessageType {
1162
- [pbr::OriginalName("INSTALLATION_MESSAGE_TYPE_UNKNOWN_UNSPECIFIED")] UnknownUnspecified = 0,
1163
- [pbr::OriginalName("INSTALLATION_MESSAGE_TYPE_PARTIAL")] Partial = 1,
1164
- [pbr::OriginalName("INSTALLATION_MESSAGE_TYPE_FULL")] Full = 2,
1165
- }
1166
-
1167
- }
1168
- #endregion
1169
-
1170
- }
1171
-
1172
- [global::System.ObsoleteAttribute]
1173
- public sealed partial class DatabaseInfo : pb::IMessage<DatabaseInfo>
1174
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1175
- , pb::IBufferMessage
1176
- #endif
1177
- {
1178
- private static readonly pb::MessageParser<DatabaseInfo> _parser = new pb::MessageParser<DatabaseInfo>(() => new DatabaseInfo());
1179
- private pb::UnknownFieldSet _unknownFields;
1180
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1181
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1182
- public static pb::MessageParser<DatabaseInfo> Parser { get { return _parser; } }
1183
-
1184
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1185
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1186
- public static pbr::MessageDescriptor Descriptor {
1187
- get { return global::Lansweeper.ServiceStatusAPI.GRPC.ServicestatusReflection.Descriptor.MessageTypes[3]; }
1188
- }
1189
-
1190
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1191
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1192
- pbr::MessageDescriptor pb::IMessage.Descriptor {
1193
- get { return Descriptor; }
1194
- }
1195
-
1196
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1197
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1198
- public DatabaseInfo() {
1199
- OnConstruction();
1200
- }
1201
-
1202
- partial void OnConstruction();
1203
-
1204
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1205
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1206
- public DatabaseInfo(DatabaseInfo other) : this() {
1207
- connection_ = other.connection_;
1208
- size_ = other.size_;
1209
- availableSize_ = other.availableSize_;
1210
- usedSize_ = other.usedSize_;
1211
- instanceName_ = other.instanceName_;
1212
- details_ = other.details_;
1213
- _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
1214
- }
1215
-
1216
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1217
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1218
- public DatabaseInfo Clone() {
1219
- return new DatabaseInfo(this);
1220
- }
1221
-
1222
- /// <summary>Field number for the "connection" field.</summary>
1223
- public const int ConnectionFieldNumber = 1;
1224
- private string connection_ = "";
1225
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1226
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1227
- public string Connection {
1228
- get { return connection_; }
1229
- set {
1230
- connection_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
1231
- }
1232
- }
1233
-
1234
- /// <summary>Field number for the "size" field.</summary>
1235
- public const int SizeFieldNumber = 2;
1236
- private string size_ = "";
1237
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1238
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1239
- public string Size {
1240
- get { return size_; }
1241
- set {
1242
- size_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
1243
- }
1244
- }
1245
-
1246
- /// <summary>Field number for the "availableSize" field.</summary>
1247
- public const int AvailableSizeFieldNumber = 3;
1248
- private string availableSize_ = "";
1249
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1250
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1251
- public string AvailableSize {
1252
- get { return availableSize_; }
1253
- set {
1254
- availableSize_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
1255
- }
1256
- }
1257
-
1258
- /// <summary>Field number for the "usedSize" field.</summary>
1259
- public const int UsedSizeFieldNumber = 4;
1260
- private string usedSize_ = "";
1261
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1262
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1263
- public string UsedSize {
1264
- get { return usedSize_; }
1265
- set {
1266
- usedSize_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
1267
- }
1268
- }
1269
-
1270
- /// <summary>Field number for the "instanceName" field.</summary>
1271
- public const int InstanceNameFieldNumber = 5;
1272
- private string instanceName_ = "";
1273
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1274
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1275
- public string InstanceName {
1276
- get { return instanceName_; }
1277
- set {
1278
- instanceName_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
1279
- }
1280
- }
1281
-
1282
- /// <summary>Field number for the "details" field.</summary>
1283
- public const int DetailsFieldNumber = 6;
1284
- private string details_ = "";
1285
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1286
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1287
- public string Details {
1288
- get { return details_; }
1289
- set {
1290
- details_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
1291
- }
1292
- }
1293
-
1294
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1295
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1296
- public override bool Equals(object other) {
1297
- return Equals(other as DatabaseInfo);
1298
- }
1299
-
1300
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1301
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1302
- public bool Equals(DatabaseInfo other) {
1303
- if (ReferenceEquals(other, null)) {
1304
- return false;
1305
- }
1306
- if (ReferenceEquals(other, this)) {
1307
- return true;
1308
- }
1309
- if (Connection != other.Connection) return false;
1310
- if (Size != other.Size) return false;
1311
- if (AvailableSize != other.AvailableSize) return false;
1312
- if (UsedSize != other.UsedSize) return false;
1313
- if (InstanceName != other.InstanceName) return false;
1314
- if (Details != other.Details) return false;
1315
- return Equals(_unknownFields, other._unknownFields);
1316
- }
1317
-
1318
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1319
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1320
- public override int GetHashCode() {
1321
- int hash = 1;
1322
- if (Connection.Length != 0) hash ^= Connection.GetHashCode();
1323
- if (Size.Length != 0) hash ^= Size.GetHashCode();
1324
- if (AvailableSize.Length != 0) hash ^= AvailableSize.GetHashCode();
1325
- if (UsedSize.Length != 0) hash ^= UsedSize.GetHashCode();
1326
- if (InstanceName.Length != 0) hash ^= InstanceName.GetHashCode();
1327
- if (Details.Length != 0) hash ^= Details.GetHashCode();
1328
- if (_unknownFields != null) {
1329
- hash ^= _unknownFields.GetHashCode();
1330
- }
1331
- return hash;
1332
- }
1333
-
1334
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1335
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1336
- public override string ToString() {
1337
- return pb::JsonFormatter.ToDiagnosticString(this);
1338
- }
1339
-
1340
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1341
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1342
- public void WriteTo(pb::CodedOutputStream output) {
1343
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1344
- output.WriteRawMessage(this);
1345
- #else
1346
- if (Connection.Length != 0) {
1347
- output.WriteRawTag(10);
1348
- output.WriteString(Connection);
1349
- }
1350
- if (Size.Length != 0) {
1351
- output.WriteRawTag(18);
1352
- output.WriteString(Size);
1353
- }
1354
- if (AvailableSize.Length != 0) {
1355
- output.WriteRawTag(26);
1356
- output.WriteString(AvailableSize);
1357
- }
1358
- if (UsedSize.Length != 0) {
1359
- output.WriteRawTag(34);
1360
- output.WriteString(UsedSize);
1361
- }
1362
- if (InstanceName.Length != 0) {
1363
- output.WriteRawTag(42);
1364
- output.WriteString(InstanceName);
1365
- }
1366
- if (Details.Length != 0) {
1367
- output.WriteRawTag(50);
1368
- output.WriteString(Details);
1369
- }
1370
- if (_unknownFields != null) {
1371
- _unknownFields.WriteTo(output);
1372
- }
1373
- #endif
1374
- }
1375
-
1376
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1377
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1378
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1379
- void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
1380
- if (Connection.Length != 0) {
1381
- output.WriteRawTag(10);
1382
- output.WriteString(Connection);
1383
- }
1384
- if (Size.Length != 0) {
1385
- output.WriteRawTag(18);
1386
- output.WriteString(Size);
1387
- }
1388
- if (AvailableSize.Length != 0) {
1389
- output.WriteRawTag(26);
1390
- output.WriteString(AvailableSize);
1391
- }
1392
- if (UsedSize.Length != 0) {
1393
- output.WriteRawTag(34);
1394
- output.WriteString(UsedSize);
1395
- }
1396
- if (InstanceName.Length != 0) {
1397
- output.WriteRawTag(42);
1398
- output.WriteString(InstanceName);
1399
- }
1400
- if (Details.Length != 0) {
1401
- output.WriteRawTag(50);
1402
- output.WriteString(Details);
1403
- }
1404
- if (_unknownFields != null) {
1405
- _unknownFields.WriteTo(ref output);
1406
- }
1407
- }
1408
- #endif
1409
-
1410
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1411
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1412
- public int CalculateSize() {
1413
- int size = 0;
1414
- if (Connection.Length != 0) {
1415
- size += 1 + pb::CodedOutputStream.ComputeStringSize(Connection);
1416
- }
1417
- if (Size.Length != 0) {
1418
- size += 1 + pb::CodedOutputStream.ComputeStringSize(Size);
1419
- }
1420
- if (AvailableSize.Length != 0) {
1421
- size += 1 + pb::CodedOutputStream.ComputeStringSize(AvailableSize);
1422
- }
1423
- if (UsedSize.Length != 0) {
1424
- size += 1 + pb::CodedOutputStream.ComputeStringSize(UsedSize);
1425
- }
1426
- if (InstanceName.Length != 0) {
1427
- size += 1 + pb::CodedOutputStream.ComputeStringSize(InstanceName);
1428
- }
1429
- if (Details.Length != 0) {
1430
- size += 1 + pb::CodedOutputStream.ComputeStringSize(Details);
1431
- }
1432
- if (_unknownFields != null) {
1433
- size += _unknownFields.CalculateSize();
1434
- }
1435
- return size;
1436
- }
1437
-
1438
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1439
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1440
- public void MergeFrom(DatabaseInfo other) {
1441
- if (other == null) {
1442
- return;
1443
- }
1444
- if (other.Connection.Length != 0) {
1445
- Connection = other.Connection;
1446
- }
1447
- if (other.Size.Length != 0) {
1448
- Size = other.Size;
1449
- }
1450
- if (other.AvailableSize.Length != 0) {
1451
- AvailableSize = other.AvailableSize;
1452
- }
1453
- if (other.UsedSize.Length != 0) {
1454
- UsedSize = other.UsedSize;
1455
- }
1456
- if (other.InstanceName.Length != 0) {
1457
- InstanceName = other.InstanceName;
1458
- }
1459
- if (other.Details.Length != 0) {
1460
- Details = other.Details;
1461
- }
1462
- _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
1463
- }
1464
-
1465
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1466
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1467
- public void MergeFrom(pb::CodedInputStream input) {
1468
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1469
- input.ReadRawMessage(this);
1470
- #else
1471
- uint tag;
1472
- while ((tag = input.ReadTag()) != 0) {
1473
- switch(tag) {
1474
- default:
1475
- _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
1476
- break;
1477
- case 10: {
1478
- Connection = input.ReadString();
1479
- break;
1480
- }
1481
- case 18: {
1482
- Size = input.ReadString();
1483
- break;
1484
- }
1485
- case 26: {
1486
- AvailableSize = input.ReadString();
1487
- break;
1488
- }
1489
- case 34: {
1490
- UsedSize = input.ReadString();
1491
- break;
1492
- }
1493
- case 42: {
1494
- InstanceName = input.ReadString();
1495
- break;
1496
- }
1497
- case 50: {
1498
- Details = input.ReadString();
1499
- break;
1500
- }
1501
- }
1502
- }
1503
- #endif
1504
- }
1505
-
1506
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1507
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1508
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1509
- void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
1510
- uint tag;
1511
- while ((tag = input.ReadTag()) != 0) {
1512
- switch(tag) {
1513
- default:
1514
- _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
1515
- break;
1516
- case 10: {
1517
- Connection = input.ReadString();
1518
- break;
1519
- }
1520
- case 18: {
1521
- Size = input.ReadString();
1522
- break;
1523
- }
1524
- case 26: {
1525
- AvailableSize = input.ReadString();
1526
- break;
1527
- }
1528
- case 34: {
1529
- UsedSize = input.ReadString();
1530
- break;
1531
- }
1532
- case 42: {
1533
- InstanceName = input.ReadString();
1534
- break;
1535
- }
1536
- case 50: {
1537
- Details = input.ReadString();
1538
- break;
1539
- }
1540
- }
1541
- }
1542
- }
1543
- #endif
1544
-
1545
- }
1546
-
1547
- [global::System.ObsoleteAttribute]
1548
- public sealed partial class ScanServerData : pb::IMessage<ScanServerData>
1549
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1550
- , pb::IBufferMessage
1551
- #endif
1552
- {
1553
- private static readonly pb::MessageParser<ScanServerData> _parser = new pb::MessageParser<ScanServerData>(() => new ScanServerData());
1554
- private pb::UnknownFieldSet _unknownFields;
1555
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1556
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1557
- public static pb::MessageParser<ScanServerData> Parser { get { return _parser; } }
1558
-
1559
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1560
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1561
- public static pbr::MessageDescriptor Descriptor {
1562
- get { return global::Lansweeper.ServiceStatusAPI.GRPC.ServicestatusReflection.Descriptor.MessageTypes[4]; }
1563
- }
1564
-
1565
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1566
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1567
- pbr::MessageDescriptor pb::IMessage.Descriptor {
1568
- get { return Descriptor; }
1569
- }
1570
-
1571
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1572
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1573
- public ScanServerData() {
1574
- OnConstruction();
1575
- }
1576
-
1577
- partial void OnConstruction();
1578
-
1579
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1580
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1581
- public ScanServerData(ScanServerData other) : this() {
1582
- scanServerName_ = other.scanServerName_;
1583
- scanServerVersion_ = other.scanServerVersion_;
1584
- scanServerStatus_ = other.scanServerStatus_;
1585
- scanServerStatusDescription_ = other.scanServerStatusDescription_;
1586
- totalScannedAssets_ = other.totalScannedAssets_;
1587
- newAssetsLast30Days_ = other.newAssetsLast30Days_;
1588
- lastScannedAt_ = other.lastScannedAt_;
1589
- lastScannedMessage_ = other.lastScannedMessage_;
1590
- isPrimary_ = other.isPrimary_;
1591
- _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
1592
- }
1593
-
1594
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1595
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1596
- public ScanServerData Clone() {
1597
- return new ScanServerData(this);
1598
- }
1599
-
1600
- /// <summary>Field number for the "scanServerName" field.</summary>
1601
- public const int ScanServerNameFieldNumber = 1;
1602
- private string scanServerName_ = "";
1603
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1604
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1605
- public string ScanServerName {
1606
- get { return scanServerName_; }
1607
- set {
1608
- scanServerName_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
1609
- }
1610
- }
1611
-
1612
- /// <summary>Field number for the "scanServerVersion" field.</summary>
1613
- public const int ScanServerVersionFieldNumber = 2;
1614
- private string scanServerVersion_ = "";
1615
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1616
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1617
- public string ScanServerVersion {
1618
- get { return scanServerVersion_; }
1619
- set {
1620
- scanServerVersion_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
1621
- }
1622
- }
1623
-
1624
- /// <summary>Field number for the "scanServerStatus" field.</summary>
1625
- public const int ScanServerStatusFieldNumber = 3;
1626
- private global::Lansweeper.ServiceStatusAPI.GRPC.ScanServerData.Types.ScanServerStatus scanServerStatus_ = global::Lansweeper.ServiceStatusAPI.GRPC.ScanServerData.Types.ScanServerStatus.ScanningUnspecified;
1627
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1628
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1629
- public global::Lansweeper.ServiceStatusAPI.GRPC.ScanServerData.Types.ScanServerStatus ScanServerStatus {
1630
- get { return scanServerStatus_; }
1631
- set {
1632
- scanServerStatus_ = value;
1633
- }
1634
- }
1635
-
1636
- /// <summary>Field number for the "scanServerStatusDescription" field.</summary>
1637
- public const int ScanServerStatusDescriptionFieldNumber = 4;
1638
- private string scanServerStatusDescription_ = "";
1639
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1640
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1641
- public string ScanServerStatusDescription {
1642
- get { return scanServerStatusDescription_; }
1643
- set {
1644
- scanServerStatusDescription_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
1645
- }
1646
- }
1647
-
1648
- /// <summary>Field number for the "totalScannedAssets" field.</summary>
1649
- public const int TotalScannedAssetsFieldNumber = 5;
1650
- private long totalScannedAssets_;
1651
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1652
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1653
- public long TotalScannedAssets {
1654
- get { return totalScannedAssets_; }
1655
- set {
1656
- totalScannedAssets_ = value;
1657
- }
1658
- }
1659
-
1660
- /// <summary>Field number for the "newAssetsLast30Days" field.</summary>
1661
- public const int NewAssetsLast30DaysFieldNumber = 6;
1662
- private long newAssetsLast30Days_;
1663
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1664
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1665
- public long NewAssetsLast30Days {
1666
- get { return newAssetsLast30Days_; }
1667
- set {
1668
- newAssetsLast30Days_ = value;
1669
- }
1670
- }
1671
-
1672
- /// <summary>Field number for the "lastScannedAt" field.</summary>
1673
- public const int LastScannedAtFieldNumber = 7;
1674
- private string lastScannedAt_ = "";
1675
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1676
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1677
- public string LastScannedAt {
1678
- get { return lastScannedAt_; }
1679
- set {
1680
- lastScannedAt_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
1681
- }
1682
- }
1683
-
1684
- /// <summary>Field number for the "lastScannedMessage" field.</summary>
1685
- public const int LastScannedMessageFieldNumber = 8;
1686
- private string lastScannedMessage_ = "";
1687
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1688
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1689
- public string LastScannedMessage {
1690
- get { return lastScannedMessage_; }
1691
- set {
1692
- lastScannedMessage_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
1693
- }
1694
- }
1695
-
1696
- /// <summary>Field number for the "isPrimary" field.</summary>
1697
- public const int IsPrimaryFieldNumber = 9;
1698
- private bool isPrimary_;
1699
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1700
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1701
- public bool IsPrimary {
1702
- get { return isPrimary_; }
1703
- set {
1704
- isPrimary_ = value;
1705
- }
1706
- }
1707
-
1708
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1709
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1710
- public override bool Equals(object other) {
1711
- return Equals(other as ScanServerData);
1712
- }
1713
-
1714
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1715
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1716
- public bool Equals(ScanServerData other) {
1717
- if (ReferenceEquals(other, null)) {
1718
- return false;
1719
- }
1720
- if (ReferenceEquals(other, this)) {
1721
- return true;
1722
- }
1723
- if (ScanServerName != other.ScanServerName) return false;
1724
- if (ScanServerVersion != other.ScanServerVersion) return false;
1725
- if (ScanServerStatus != other.ScanServerStatus) return false;
1726
- if (ScanServerStatusDescription != other.ScanServerStatusDescription) return false;
1727
- if (TotalScannedAssets != other.TotalScannedAssets) return false;
1728
- if (NewAssetsLast30Days != other.NewAssetsLast30Days) return false;
1729
- if (LastScannedAt != other.LastScannedAt) return false;
1730
- if (LastScannedMessage != other.LastScannedMessage) return false;
1731
- if (IsPrimary != other.IsPrimary) return false;
1732
- return Equals(_unknownFields, other._unknownFields);
1733
- }
1734
-
1735
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1736
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1737
- public override int GetHashCode() {
1738
- int hash = 1;
1739
- if (ScanServerName.Length != 0) hash ^= ScanServerName.GetHashCode();
1740
- if (ScanServerVersion.Length != 0) hash ^= ScanServerVersion.GetHashCode();
1741
- if (ScanServerStatus != global::Lansweeper.ServiceStatusAPI.GRPC.ScanServerData.Types.ScanServerStatus.ScanningUnspecified) hash ^= ScanServerStatus.GetHashCode();
1742
- if (ScanServerStatusDescription.Length != 0) hash ^= ScanServerStatusDescription.GetHashCode();
1743
- if (TotalScannedAssets != 0L) hash ^= TotalScannedAssets.GetHashCode();
1744
- if (NewAssetsLast30Days != 0L) hash ^= NewAssetsLast30Days.GetHashCode();
1745
- if (LastScannedAt.Length != 0) hash ^= LastScannedAt.GetHashCode();
1746
- if (LastScannedMessage.Length != 0) hash ^= LastScannedMessage.GetHashCode();
1747
- if (IsPrimary != false) hash ^= IsPrimary.GetHashCode();
1748
- if (_unknownFields != null) {
1749
- hash ^= _unknownFields.GetHashCode();
1750
- }
1751
- return hash;
1752
- }
1753
-
1754
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1755
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1756
- public override string ToString() {
1757
- return pb::JsonFormatter.ToDiagnosticString(this);
1758
- }
1759
-
1760
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1761
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1762
- public void WriteTo(pb::CodedOutputStream output) {
1763
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1764
- output.WriteRawMessage(this);
1765
- #else
1766
- if (ScanServerName.Length != 0) {
1767
- output.WriteRawTag(10);
1768
- output.WriteString(ScanServerName);
1769
- }
1770
- if (ScanServerVersion.Length != 0) {
1771
- output.WriteRawTag(18);
1772
- output.WriteString(ScanServerVersion);
1773
- }
1774
- if (ScanServerStatus != global::Lansweeper.ServiceStatusAPI.GRPC.ScanServerData.Types.ScanServerStatus.ScanningUnspecified) {
1775
- output.WriteRawTag(24);
1776
- output.WriteEnum((int) ScanServerStatus);
1777
- }
1778
- if (ScanServerStatusDescription.Length != 0) {
1779
- output.WriteRawTag(34);
1780
- output.WriteString(ScanServerStatusDescription);
1781
- }
1782
- if (TotalScannedAssets != 0L) {
1783
- output.WriteRawTag(40);
1784
- output.WriteInt64(TotalScannedAssets);
1785
- }
1786
- if (NewAssetsLast30Days != 0L) {
1787
- output.WriteRawTag(48);
1788
- output.WriteInt64(NewAssetsLast30Days);
1789
- }
1790
- if (LastScannedAt.Length != 0) {
1791
- output.WriteRawTag(58);
1792
- output.WriteString(LastScannedAt);
1793
- }
1794
- if (LastScannedMessage.Length != 0) {
1795
- output.WriteRawTag(66);
1796
- output.WriteString(LastScannedMessage);
1797
- }
1798
- if (IsPrimary != false) {
1799
- output.WriteRawTag(72);
1800
- output.WriteBool(IsPrimary);
1801
- }
1802
- if (_unknownFields != null) {
1803
- _unknownFields.WriteTo(output);
1804
- }
1805
- #endif
1806
- }
1807
-
1808
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1809
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1810
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1811
- void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
1812
- if (ScanServerName.Length != 0) {
1813
- output.WriteRawTag(10);
1814
- output.WriteString(ScanServerName);
1815
- }
1816
- if (ScanServerVersion.Length != 0) {
1817
- output.WriteRawTag(18);
1818
- output.WriteString(ScanServerVersion);
1819
- }
1820
- if (ScanServerStatus != global::Lansweeper.ServiceStatusAPI.GRPC.ScanServerData.Types.ScanServerStatus.ScanningUnspecified) {
1821
- output.WriteRawTag(24);
1822
- output.WriteEnum((int) ScanServerStatus);
1823
- }
1824
- if (ScanServerStatusDescription.Length != 0) {
1825
- output.WriteRawTag(34);
1826
- output.WriteString(ScanServerStatusDescription);
1827
- }
1828
- if (TotalScannedAssets != 0L) {
1829
- output.WriteRawTag(40);
1830
- output.WriteInt64(TotalScannedAssets);
1831
- }
1832
- if (NewAssetsLast30Days != 0L) {
1833
- output.WriteRawTag(48);
1834
- output.WriteInt64(NewAssetsLast30Days);
1835
- }
1836
- if (LastScannedAt.Length != 0) {
1837
- output.WriteRawTag(58);
1838
- output.WriteString(LastScannedAt);
1839
- }
1840
- if (LastScannedMessage.Length != 0) {
1841
- output.WriteRawTag(66);
1842
- output.WriteString(LastScannedMessage);
1843
- }
1844
- if (IsPrimary != false) {
1845
- output.WriteRawTag(72);
1846
- output.WriteBool(IsPrimary);
1847
- }
1848
- if (_unknownFields != null) {
1849
- _unknownFields.WriteTo(ref output);
1850
- }
1851
- }
1852
- #endif
1853
-
1854
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1855
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1856
- public int CalculateSize() {
1857
- int size = 0;
1858
- if (ScanServerName.Length != 0) {
1859
- size += 1 + pb::CodedOutputStream.ComputeStringSize(ScanServerName);
1860
- }
1861
- if (ScanServerVersion.Length != 0) {
1862
- size += 1 + pb::CodedOutputStream.ComputeStringSize(ScanServerVersion);
1863
- }
1864
- if (ScanServerStatus != global::Lansweeper.ServiceStatusAPI.GRPC.ScanServerData.Types.ScanServerStatus.ScanningUnspecified) {
1865
- size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) ScanServerStatus);
1866
- }
1867
- if (ScanServerStatusDescription.Length != 0) {
1868
- size += 1 + pb::CodedOutputStream.ComputeStringSize(ScanServerStatusDescription);
1869
- }
1870
- if (TotalScannedAssets != 0L) {
1871
- size += 1 + pb::CodedOutputStream.ComputeInt64Size(TotalScannedAssets);
1872
- }
1873
- if (NewAssetsLast30Days != 0L) {
1874
- size += 1 + pb::CodedOutputStream.ComputeInt64Size(NewAssetsLast30Days);
1875
- }
1876
- if (LastScannedAt.Length != 0) {
1877
- size += 1 + pb::CodedOutputStream.ComputeStringSize(LastScannedAt);
1878
- }
1879
- if (LastScannedMessage.Length != 0) {
1880
- size += 1 + pb::CodedOutputStream.ComputeStringSize(LastScannedMessage);
1881
- }
1882
- if (IsPrimary != false) {
1883
- size += 1 + 1;
1884
- }
1885
- if (_unknownFields != null) {
1886
- size += _unknownFields.CalculateSize();
1887
- }
1888
- return size;
1889
- }
1890
-
1891
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1892
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1893
- public void MergeFrom(ScanServerData other) {
1894
- if (other == null) {
1895
- return;
1896
- }
1897
- if (other.ScanServerName.Length != 0) {
1898
- ScanServerName = other.ScanServerName;
1899
- }
1900
- if (other.ScanServerVersion.Length != 0) {
1901
- ScanServerVersion = other.ScanServerVersion;
1902
- }
1903
- if (other.ScanServerStatus != global::Lansweeper.ServiceStatusAPI.GRPC.ScanServerData.Types.ScanServerStatus.ScanningUnspecified) {
1904
- ScanServerStatus = other.ScanServerStatus;
1905
- }
1906
- if (other.ScanServerStatusDescription.Length != 0) {
1907
- ScanServerStatusDescription = other.ScanServerStatusDescription;
1908
- }
1909
- if (other.TotalScannedAssets != 0L) {
1910
- TotalScannedAssets = other.TotalScannedAssets;
1911
- }
1912
- if (other.NewAssetsLast30Days != 0L) {
1913
- NewAssetsLast30Days = other.NewAssetsLast30Days;
1914
- }
1915
- if (other.LastScannedAt.Length != 0) {
1916
- LastScannedAt = other.LastScannedAt;
1917
- }
1918
- if (other.LastScannedMessage.Length != 0) {
1919
- LastScannedMessage = other.LastScannedMessage;
1920
- }
1921
- if (other.IsPrimary != false) {
1922
- IsPrimary = other.IsPrimary;
1923
- }
1924
- _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
1925
- }
1926
-
1927
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1928
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1929
- public void MergeFrom(pb::CodedInputStream input) {
1930
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1931
- input.ReadRawMessage(this);
1932
- #else
1933
- uint tag;
1934
- while ((tag = input.ReadTag()) != 0) {
1935
- switch(tag) {
1936
- default:
1937
- _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
1938
- break;
1939
- case 10: {
1940
- ScanServerName = input.ReadString();
1941
- break;
1942
- }
1943
- case 18: {
1944
- ScanServerVersion = input.ReadString();
1945
- break;
1946
- }
1947
- case 24: {
1948
- ScanServerStatus = (global::Lansweeper.ServiceStatusAPI.GRPC.ScanServerData.Types.ScanServerStatus) input.ReadEnum();
1949
- break;
1950
- }
1951
- case 34: {
1952
- ScanServerStatusDescription = input.ReadString();
1953
- break;
1954
- }
1955
- case 40: {
1956
- TotalScannedAssets = input.ReadInt64();
1957
- break;
1958
- }
1959
- case 48: {
1960
- NewAssetsLast30Days = input.ReadInt64();
1961
- break;
1962
- }
1963
- case 58: {
1964
- LastScannedAt = input.ReadString();
1965
- break;
1966
- }
1967
- case 66: {
1968
- LastScannedMessage = input.ReadString();
1969
- break;
1970
- }
1971
- case 72: {
1972
- IsPrimary = input.ReadBool();
1973
- break;
1974
- }
1975
- }
1976
- }
1977
- #endif
1978
- }
1979
-
1980
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1981
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1982
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1983
- void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
1984
- uint tag;
1985
- while ((tag = input.ReadTag()) != 0) {
1986
- switch(tag) {
1987
- default:
1988
- _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
1989
- break;
1990
- case 10: {
1991
- ScanServerName = input.ReadString();
1992
- break;
1993
- }
1994
- case 18: {
1995
- ScanServerVersion = input.ReadString();
1996
- break;
1997
- }
1998
- case 24: {
1999
- ScanServerStatus = (global::Lansweeper.ServiceStatusAPI.GRPC.ScanServerData.Types.ScanServerStatus) input.ReadEnum();
2000
- break;
2001
- }
2002
- case 34: {
2003
- ScanServerStatusDescription = input.ReadString();
2004
- break;
2005
- }
2006
- case 40: {
2007
- TotalScannedAssets = input.ReadInt64();
2008
- break;
2009
- }
2010
- case 48: {
2011
- NewAssetsLast30Days = input.ReadInt64();
2012
- break;
2013
- }
2014
- case 58: {
2015
- LastScannedAt = input.ReadString();
2016
- break;
2017
- }
2018
- case 66: {
2019
- LastScannedMessage = input.ReadString();
2020
- break;
2021
- }
2022
- case 72: {
2023
- IsPrimary = input.ReadBool();
2024
- break;
2025
- }
2026
- }
2027
- }
2028
- }
2029
- #endif
2030
-
2031
- #region Nested types
2032
- /// <summary>Container for nested types declared in the ScanServerData message type.</summary>
2033
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2034
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2035
- public static partial class Types {
2036
- public enum ScanServerStatus {
2037
- [pbr::OriginalName("SCAN_SERVER_STATUS_SCANNING_UNSPECIFIED")] ScanningUnspecified = 0,
2038
- [pbr::OriginalName("SCAN_SERVER_STATUS_ERRORS")] Errors = 1,
2039
- [pbr::OriginalName("SCAN_SERVER_STATUS_SUCCESS")] Success = 2,
2040
- [pbr::OriginalName("SCAN_SERVER_STATUS_SERVER_DOWN")] ServerDown = 3,
2041
- [pbr::OriginalName("SCAN_SERVER_STATUS_SCANNING")] Scanning = 4,
2042
- }
2043
-
2044
- }
2045
- #endregion
2046
-
2047
- }
2048
-
2049
- public sealed partial class SendQueueInfoRequest : pb::IMessage<SendQueueInfoRequest>
2050
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2051
- , pb::IBufferMessage
2052
- #endif
2053
- {
2054
- private static readonly pb::MessageParser<SendQueueInfoRequest> _parser = new pb::MessageParser<SendQueueInfoRequest>(() => new SendQueueInfoRequest());
2055
- private pb::UnknownFieldSet _unknownFields;
2056
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2057
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2058
- public static pb::MessageParser<SendQueueInfoRequest> Parser { get { return _parser; } }
2059
-
2060
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2061
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2062
- public static pbr::MessageDescriptor Descriptor {
2063
- get { return global::Lansweeper.ServiceStatusAPI.GRPC.ServicestatusReflection.Descriptor.MessageTypes[5]; }
2064
- }
2065
-
2066
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2067
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2068
- pbr::MessageDescriptor pb::IMessage.Descriptor {
2069
- get { return Descriptor; }
2070
- }
2071
-
2072
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2073
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2074
- public SendQueueInfoRequest() {
2075
- OnConstruction();
2076
- }
2077
-
2078
- partial void OnConstruction();
2079
-
2080
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2081
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2082
- public SendQueueInfoRequest(SendQueueInfoRequest other) : this() {
2083
- message_ = other.message_ != null ? other.message_.Clone() : null;
2084
- installKey_ = other.installKey_;
2085
- clientKey_ = other.clientKey_;
2086
- _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
2087
- }
2088
-
2089
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2090
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2091
- public SendQueueInfoRequest Clone() {
2092
- return new SendQueueInfoRequest(this);
2093
- }
2094
-
2095
- /// <summary>Field number for the "message" field.</summary>
2096
- public const int MessageFieldNumber = 1;
2097
- private global::Lansweeper.ServiceStatusAPI.GRPC.ScanningQueueMessage message_;
2098
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2099
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2100
- public global::Lansweeper.ServiceStatusAPI.GRPC.ScanningQueueMessage Message {
2101
- get { return message_; }
2102
- set {
2103
- message_ = value;
2104
- }
2105
- }
2106
-
2107
- /// <summary>Field number for the "installKey" field.</summary>
2108
- public const int InstallKeyFieldNumber = 2;
2109
- private string installKey_ = "";
2110
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2111
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2112
- public string InstallKey {
2113
- get { return installKey_; }
2114
- set {
2115
- installKey_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
2116
- }
2117
- }
2118
-
2119
- /// <summary>Field number for the "clientKey" field.</summary>
2120
- public const int ClientKeyFieldNumber = 3;
2121
- private string clientKey_ = "";
2122
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2123
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2124
- public string ClientKey {
2125
- get { return clientKey_; }
2126
- set {
2127
- clientKey_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
2128
- }
2129
- }
2130
-
2131
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2132
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2133
- public override bool Equals(object other) {
2134
- return Equals(other as SendQueueInfoRequest);
2135
- }
2136
-
2137
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2138
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2139
- public bool Equals(SendQueueInfoRequest other) {
2140
- if (ReferenceEquals(other, null)) {
2141
- return false;
2142
- }
2143
- if (ReferenceEquals(other, this)) {
2144
- return true;
2145
- }
2146
- if (!object.Equals(Message, other.Message)) return false;
2147
- if (InstallKey != other.InstallKey) return false;
2148
- if (ClientKey != other.ClientKey) return false;
2149
- return Equals(_unknownFields, other._unknownFields);
2150
- }
2151
-
2152
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2153
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2154
- public override int GetHashCode() {
2155
- int hash = 1;
2156
- if (message_ != null) hash ^= Message.GetHashCode();
2157
- if (InstallKey.Length != 0) hash ^= InstallKey.GetHashCode();
2158
- if (ClientKey.Length != 0) hash ^= ClientKey.GetHashCode();
2159
- if (_unknownFields != null) {
2160
- hash ^= _unknownFields.GetHashCode();
2161
- }
2162
- return hash;
2163
- }
2164
-
2165
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2166
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2167
- public override string ToString() {
2168
- return pb::JsonFormatter.ToDiagnosticString(this);
2169
- }
2170
-
2171
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2172
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2173
- public void WriteTo(pb::CodedOutputStream output) {
2174
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2175
- output.WriteRawMessage(this);
2176
- #else
2177
- if (message_ != null) {
2178
- output.WriteRawTag(10);
2179
- output.WriteMessage(Message);
2180
- }
2181
- if (InstallKey.Length != 0) {
2182
- output.WriteRawTag(18);
2183
- output.WriteString(InstallKey);
2184
- }
2185
- if (ClientKey.Length != 0) {
2186
- output.WriteRawTag(26);
2187
- output.WriteString(ClientKey);
2188
- }
2189
- if (_unknownFields != null) {
2190
- _unknownFields.WriteTo(output);
2191
- }
2192
- #endif
2193
- }
2194
-
2195
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2196
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2197
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2198
- void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
2199
- if (message_ != null) {
2200
- output.WriteRawTag(10);
2201
- output.WriteMessage(Message);
2202
- }
2203
- if (InstallKey.Length != 0) {
2204
- output.WriteRawTag(18);
2205
- output.WriteString(InstallKey);
2206
- }
2207
- if (ClientKey.Length != 0) {
2208
- output.WriteRawTag(26);
2209
- output.WriteString(ClientKey);
2210
- }
2211
- if (_unknownFields != null) {
2212
- _unknownFields.WriteTo(ref output);
2213
- }
2214
- }
2215
- #endif
2216
-
2217
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2218
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2219
- public int CalculateSize() {
2220
- int size = 0;
2221
- if (message_ != null) {
2222
- size += 1 + pb::CodedOutputStream.ComputeMessageSize(Message);
2223
- }
2224
- if (InstallKey.Length != 0) {
2225
- size += 1 + pb::CodedOutputStream.ComputeStringSize(InstallKey);
2226
- }
2227
- if (ClientKey.Length != 0) {
2228
- size += 1 + pb::CodedOutputStream.ComputeStringSize(ClientKey);
2229
- }
2230
- if (_unknownFields != null) {
2231
- size += _unknownFields.CalculateSize();
2232
- }
2233
- return size;
2234
- }
2235
-
2236
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2237
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2238
- public void MergeFrom(SendQueueInfoRequest other) {
2239
- if (other == null) {
2240
- return;
2241
- }
2242
- if (other.message_ != null) {
2243
- if (message_ == null) {
2244
- Message = new global::Lansweeper.ServiceStatusAPI.GRPC.ScanningQueueMessage();
2245
- }
2246
- Message.MergeFrom(other.Message);
2247
- }
2248
- if (other.InstallKey.Length != 0) {
2249
- InstallKey = other.InstallKey;
2250
- }
2251
- if (other.ClientKey.Length != 0) {
2252
- ClientKey = other.ClientKey;
2253
- }
2254
- _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
2255
- }
2256
-
2257
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2258
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2259
- public void MergeFrom(pb::CodedInputStream input) {
2260
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2261
- input.ReadRawMessage(this);
2262
- #else
2263
- uint tag;
2264
- while ((tag = input.ReadTag()) != 0) {
2265
- switch(tag) {
2266
- default:
2267
- _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
2268
- break;
2269
- case 10: {
2270
- if (message_ == null) {
2271
- Message = new global::Lansweeper.ServiceStatusAPI.GRPC.ScanningQueueMessage();
2272
- }
2273
- input.ReadMessage(Message);
2274
- break;
2275
- }
2276
- case 18: {
2277
- InstallKey = input.ReadString();
2278
- break;
2279
- }
2280
- case 26: {
2281
- ClientKey = input.ReadString();
2282
- break;
2283
- }
2284
- }
2285
- }
2286
- #endif
2287
- }
2288
-
2289
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2290
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2291
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2292
- void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
2293
- uint tag;
2294
- while ((tag = input.ReadTag()) != 0) {
2295
- switch(tag) {
2296
- default:
2297
- _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
2298
- break;
2299
- case 10: {
2300
- if (message_ == null) {
2301
- Message = new global::Lansweeper.ServiceStatusAPI.GRPC.ScanningQueueMessage();
2302
- }
2303
- input.ReadMessage(Message);
2304
- break;
2305
- }
2306
- case 18: {
2307
- InstallKey = input.ReadString();
2308
- break;
2309
- }
2310
- case 26: {
2311
- ClientKey = input.ReadString();
2312
- break;
2313
- }
2314
- }
2315
- }
2316
- }
2317
- #endif
2318
-
2319
- }
2320
-
2321
- [global::System.ObsoleteAttribute]
2322
- public sealed partial class SendStatusInfoRequest : pb::IMessage<SendStatusInfoRequest>
2323
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2324
- , pb::IBufferMessage
2325
- #endif
2326
- {
2327
- private static readonly pb::MessageParser<SendStatusInfoRequest> _parser = new pb::MessageParser<SendStatusInfoRequest>(() => new SendStatusInfoRequest());
2328
- private pb::UnknownFieldSet _unknownFields;
2329
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2330
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2331
- public static pb::MessageParser<SendStatusInfoRequest> Parser { get { return _parser; } }
2332
-
2333
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2334
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2335
- public static pbr::MessageDescriptor Descriptor {
2336
- get { return global::Lansweeper.ServiceStatusAPI.GRPC.ServicestatusReflection.Descriptor.MessageTypes[6]; }
2337
- }
2338
-
2339
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2340
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2341
- pbr::MessageDescriptor pb::IMessage.Descriptor {
2342
- get { return Descriptor; }
2343
- }
2344
-
2345
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2346
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2347
- public SendStatusInfoRequest() {
2348
- OnConstruction();
2349
- }
2350
-
2351
- partial void OnConstruction();
2352
-
2353
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2354
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2355
- public SendStatusInfoRequest(SendStatusInfoRequest other) : this() {
2356
- message_ = other.message_ != null ? other.message_.Clone() : null;
2357
- installKey_ = other.installKey_;
2358
- clientKey_ = other.clientKey_;
2359
- lsVersion_ = other.lsVersion_;
2360
- _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
2361
- }
2362
-
2363
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2364
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2365
- public SendStatusInfoRequest Clone() {
2366
- return new SendStatusInfoRequest(this);
2367
- }
2368
-
2369
- /// <summary>Field number for the "message" field.</summary>
2370
- public const int MessageFieldNumber = 1;
2371
- private global::Lansweeper.ServiceStatusAPI.GRPC.InstallationDataMessage message_;
2372
- [global::System.ObsoleteAttribute]
2373
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2374
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2375
- public global::Lansweeper.ServiceStatusAPI.GRPC.InstallationDataMessage Message {
2376
- get { return message_; }
2377
- set {
2378
- message_ = value;
2379
- }
2380
- }
2381
-
2382
- /// <summary>Field number for the "installKey" field.</summary>
2383
- public const int InstallKeyFieldNumber = 2;
2384
- private string installKey_ = "";
2385
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2386
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2387
- public string InstallKey {
2388
- get { return installKey_; }
2389
- set {
2390
- installKey_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
2391
- }
2392
- }
2393
-
2394
- /// <summary>Field number for the "clientKey" field.</summary>
2395
- public const int ClientKeyFieldNumber = 3;
2396
- private string clientKey_ = "";
2397
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2398
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2399
- public string ClientKey {
2400
- get { return clientKey_; }
2401
- set {
2402
- clientKey_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
2403
- }
2404
- }
2405
-
2406
- /// <summary>Field number for the "lsVersion" field.</summary>
2407
- public const int LsVersionFieldNumber = 4;
2408
- private string lsVersion_ = "";
2409
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2410
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2411
- public string LsVersion {
2412
- get { return lsVersion_; }
2413
- set {
2414
- lsVersion_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
2415
- }
2416
- }
2417
-
2418
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2419
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2420
- public override bool Equals(object other) {
2421
- return Equals(other as SendStatusInfoRequest);
2422
- }
2423
-
2424
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2425
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2426
- public bool Equals(SendStatusInfoRequest other) {
2427
- if (ReferenceEquals(other, null)) {
2428
- return false;
2429
- }
2430
- if (ReferenceEquals(other, this)) {
2431
- return true;
2432
- }
2433
- if (!object.Equals(Message, other.Message)) return false;
2434
- if (InstallKey != other.InstallKey) return false;
2435
- if (ClientKey != other.ClientKey) return false;
2436
- if (LsVersion != other.LsVersion) return false;
2437
- return Equals(_unknownFields, other._unknownFields);
2438
- }
2439
-
2440
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2441
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2442
- public override int GetHashCode() {
2443
- int hash = 1;
2444
- if (message_ != null) hash ^= Message.GetHashCode();
2445
- if (InstallKey.Length != 0) hash ^= InstallKey.GetHashCode();
2446
- if (ClientKey.Length != 0) hash ^= ClientKey.GetHashCode();
2447
- if (LsVersion.Length != 0) hash ^= LsVersion.GetHashCode();
2448
- if (_unknownFields != null) {
2449
- hash ^= _unknownFields.GetHashCode();
2450
- }
2451
- return hash;
2452
- }
2453
-
2454
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2455
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2456
- public override string ToString() {
2457
- return pb::JsonFormatter.ToDiagnosticString(this);
2458
- }
2459
-
2460
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2461
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2462
- public void WriteTo(pb::CodedOutputStream output) {
2463
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2464
- output.WriteRawMessage(this);
2465
- #else
2466
- if (message_ != null) {
2467
- output.WriteRawTag(10);
2468
- output.WriteMessage(Message);
2469
- }
2470
- if (InstallKey.Length != 0) {
2471
- output.WriteRawTag(18);
2472
- output.WriteString(InstallKey);
2473
- }
2474
- if (ClientKey.Length != 0) {
2475
- output.WriteRawTag(26);
2476
- output.WriteString(ClientKey);
2477
- }
2478
- if (LsVersion.Length != 0) {
2479
- output.WriteRawTag(34);
2480
- output.WriteString(LsVersion);
2481
- }
2482
- if (_unknownFields != null) {
2483
- _unknownFields.WriteTo(output);
2484
- }
2485
- #endif
2486
- }
2487
-
2488
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2489
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2490
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2491
- void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
2492
- if (message_ != null) {
2493
- output.WriteRawTag(10);
2494
- output.WriteMessage(Message);
2495
- }
2496
- if (InstallKey.Length != 0) {
2497
- output.WriteRawTag(18);
2498
- output.WriteString(InstallKey);
2499
- }
2500
- if (ClientKey.Length != 0) {
2501
- output.WriteRawTag(26);
2502
- output.WriteString(ClientKey);
2503
- }
2504
- if (LsVersion.Length != 0) {
2505
- output.WriteRawTag(34);
2506
- output.WriteString(LsVersion);
2507
- }
2508
- if (_unknownFields != null) {
2509
- _unknownFields.WriteTo(ref output);
2510
- }
2511
- }
2512
- #endif
2513
-
2514
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2515
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2516
- public int CalculateSize() {
2517
- int size = 0;
2518
- if (message_ != null) {
2519
- size += 1 + pb::CodedOutputStream.ComputeMessageSize(Message);
2520
- }
2521
- if (InstallKey.Length != 0) {
2522
- size += 1 + pb::CodedOutputStream.ComputeStringSize(InstallKey);
2523
- }
2524
- if (ClientKey.Length != 0) {
2525
- size += 1 + pb::CodedOutputStream.ComputeStringSize(ClientKey);
2526
- }
2527
- if (LsVersion.Length != 0) {
2528
- size += 1 + pb::CodedOutputStream.ComputeStringSize(LsVersion);
2529
- }
2530
- if (_unknownFields != null) {
2531
- size += _unknownFields.CalculateSize();
2532
- }
2533
- return size;
2534
- }
2535
-
2536
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2537
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2538
- public void MergeFrom(SendStatusInfoRequest other) {
2539
- if (other == null) {
2540
- return;
2541
- }
2542
- if (other.message_ != null) {
2543
- if (message_ == null) {
2544
- Message = new global::Lansweeper.ServiceStatusAPI.GRPC.InstallationDataMessage();
2545
- }
2546
- Message.MergeFrom(other.Message);
2547
- }
2548
- if (other.InstallKey.Length != 0) {
2549
- InstallKey = other.InstallKey;
2550
- }
2551
- if (other.ClientKey.Length != 0) {
2552
- ClientKey = other.ClientKey;
2553
- }
2554
- if (other.LsVersion.Length != 0) {
2555
- LsVersion = other.LsVersion;
2556
- }
2557
- _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
2558
- }
2559
-
2560
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2561
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2562
- public void MergeFrom(pb::CodedInputStream input) {
2563
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2564
- input.ReadRawMessage(this);
2565
- #else
2566
- uint tag;
2567
- while ((tag = input.ReadTag()) != 0) {
2568
- switch(tag) {
2569
- default:
2570
- _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
2571
- break;
2572
- case 10: {
2573
- if (message_ == null) {
2574
- Message = new global::Lansweeper.ServiceStatusAPI.GRPC.InstallationDataMessage();
2575
- }
2576
- input.ReadMessage(Message);
2577
- break;
2578
- }
2579
- case 18: {
2580
- InstallKey = input.ReadString();
2581
- break;
2582
- }
2583
- case 26: {
2584
- ClientKey = input.ReadString();
2585
- break;
2586
- }
2587
- case 34: {
2588
- LsVersion = input.ReadString();
2589
- break;
2590
- }
2591
- }
2592
- }
2593
- #endif
2594
- }
2595
-
2596
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2597
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2598
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2599
- void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
2600
- uint tag;
2601
- while ((tag = input.ReadTag()) != 0) {
2602
- switch(tag) {
2603
- default:
2604
- _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
2605
- break;
2606
- case 10: {
2607
- if (message_ == null) {
2608
- Message = new global::Lansweeper.ServiceStatusAPI.GRPC.InstallationDataMessage();
2609
- }
2610
- input.ReadMessage(Message);
2611
- break;
2612
- }
2613
- case 18: {
2614
- InstallKey = input.ReadString();
2615
- break;
2616
- }
2617
- case 26: {
2618
- ClientKey = input.ReadString();
2619
- break;
2620
- }
2621
- case 34: {
2622
- LsVersion = input.ReadString();
2623
- break;
2624
- }
2625
- }
2626
- }
2627
- }
2628
- #endif
2629
-
2630
- }
2631
-
2632
- public sealed partial class SendQueueInfoResponse : pb::IMessage<SendQueueInfoResponse>
2633
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2634
- , pb::IBufferMessage
2635
- #endif
2636
- {
2637
- private static readonly pb::MessageParser<SendQueueInfoResponse> _parser = new pb::MessageParser<SendQueueInfoResponse>(() => new SendQueueInfoResponse());
2638
- private pb::UnknownFieldSet _unknownFields;
2639
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2640
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2641
- public static pb::MessageParser<SendQueueInfoResponse> Parser { get { return _parser; } }
2642
-
2643
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2644
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2645
- public static pbr::MessageDescriptor Descriptor {
2646
- get { return global::Lansweeper.ServiceStatusAPI.GRPC.ServicestatusReflection.Descriptor.MessageTypes[7]; }
2647
- }
2648
-
2649
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2650
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2651
- pbr::MessageDescriptor pb::IMessage.Descriptor {
2652
- get { return Descriptor; }
2653
- }
2654
-
2655
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2656
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2657
- public SendQueueInfoResponse() {
2658
- OnConstruction();
2659
- }
2660
-
2661
- partial void OnConstruction();
2662
-
2663
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2664
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2665
- public SendQueueInfoResponse(SendQueueInfoResponse other) : this() {
2666
- message_ = other.message_;
2667
- _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
2668
- }
2669
-
2670
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2671
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2672
- public SendQueueInfoResponse Clone() {
2673
- return new SendQueueInfoResponse(this);
2674
- }
2675
-
2676
- /// <summary>Field number for the "message" field.</summary>
2677
- public const int MessageFieldNumber = 1;
2678
- private string message_ = "";
2679
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2680
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2681
- public string Message {
2682
- get { return message_; }
2683
- set {
2684
- message_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
2685
- }
2686
- }
2687
-
2688
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2689
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2690
- public override bool Equals(object other) {
2691
- return Equals(other as SendQueueInfoResponse);
2692
- }
2693
-
2694
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2695
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2696
- public bool Equals(SendQueueInfoResponse other) {
2697
- if (ReferenceEquals(other, null)) {
2698
- return false;
2699
- }
2700
- if (ReferenceEquals(other, this)) {
2701
- return true;
2702
- }
2703
- if (Message != other.Message) return false;
2704
- return Equals(_unknownFields, other._unknownFields);
2705
- }
2706
-
2707
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2708
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2709
- public override int GetHashCode() {
2710
- int hash = 1;
2711
- if (Message.Length != 0) hash ^= Message.GetHashCode();
2712
- if (_unknownFields != null) {
2713
- hash ^= _unknownFields.GetHashCode();
2714
- }
2715
- return hash;
2716
- }
2717
-
2718
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2719
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2720
- public override string ToString() {
2721
- return pb::JsonFormatter.ToDiagnosticString(this);
2722
- }
2723
-
2724
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2725
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2726
- public void WriteTo(pb::CodedOutputStream output) {
2727
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2728
- output.WriteRawMessage(this);
2729
- #else
2730
- if (Message.Length != 0) {
2731
- output.WriteRawTag(10);
2732
- output.WriteString(Message);
2733
- }
2734
- if (_unknownFields != null) {
2735
- _unknownFields.WriteTo(output);
2736
- }
2737
- #endif
2738
- }
2739
-
2740
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2741
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2742
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2743
- void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
2744
- if (Message.Length != 0) {
2745
- output.WriteRawTag(10);
2746
- output.WriteString(Message);
2747
- }
2748
- if (_unknownFields != null) {
2749
- _unknownFields.WriteTo(ref output);
2750
- }
2751
- }
2752
- #endif
2753
-
2754
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2755
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2756
- public int CalculateSize() {
2757
- int size = 0;
2758
- if (Message.Length != 0) {
2759
- size += 1 + pb::CodedOutputStream.ComputeStringSize(Message);
2760
- }
2761
- if (_unknownFields != null) {
2762
- size += _unknownFields.CalculateSize();
2763
- }
2764
- return size;
2765
- }
2766
-
2767
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2768
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2769
- public void MergeFrom(SendQueueInfoResponse other) {
2770
- if (other == null) {
2771
- return;
2772
- }
2773
- if (other.Message.Length != 0) {
2774
- Message = other.Message;
2775
- }
2776
- _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
2777
- }
2778
-
2779
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2780
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2781
- public void MergeFrom(pb::CodedInputStream input) {
2782
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2783
- input.ReadRawMessage(this);
2784
- #else
2785
- uint tag;
2786
- while ((tag = input.ReadTag()) != 0) {
2787
- switch(tag) {
2788
- default:
2789
- _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
2790
- break;
2791
- case 10: {
2792
- Message = input.ReadString();
2793
- break;
2794
- }
2795
- }
2796
- }
2797
- #endif
2798
- }
2799
-
2800
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2801
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2802
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2803
- void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
2804
- uint tag;
2805
- while ((tag = input.ReadTag()) != 0) {
2806
- switch(tag) {
2807
- default:
2808
- _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
2809
- break;
2810
- case 10: {
2811
- Message = input.ReadString();
2812
- break;
2813
- }
2814
- }
2815
- }
2816
- }
2817
- #endif
2818
-
2819
- }
2820
-
2821
- [global::System.ObsoleteAttribute]
2822
- public sealed partial class SendStatusInfoResponse : pb::IMessage<SendStatusInfoResponse>
2823
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2824
- , pb::IBufferMessage
2825
- #endif
2826
- {
2827
- private static readonly pb::MessageParser<SendStatusInfoResponse> _parser = new pb::MessageParser<SendStatusInfoResponse>(() => new SendStatusInfoResponse());
2828
- private pb::UnknownFieldSet _unknownFields;
2829
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2830
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2831
- public static pb::MessageParser<SendStatusInfoResponse> Parser { get { return _parser; } }
2832
-
2833
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2834
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2835
- public static pbr::MessageDescriptor Descriptor {
2836
- get { return global::Lansweeper.ServiceStatusAPI.GRPC.ServicestatusReflection.Descriptor.MessageTypes[8]; }
2837
- }
2838
-
2839
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2840
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2841
- pbr::MessageDescriptor pb::IMessage.Descriptor {
2842
- get { return Descriptor; }
2843
- }
2844
-
2845
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2846
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2847
- public SendStatusInfoResponse() {
2848
- OnConstruction();
2849
- }
2850
-
2851
- partial void OnConstruction();
2852
-
2853
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2854
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2855
- public SendStatusInfoResponse(SendStatusInfoResponse other) : this() {
2856
- message_ = other.message_;
2857
- _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
2858
- }
2859
-
2860
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2861
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2862
- public SendStatusInfoResponse Clone() {
2863
- return new SendStatusInfoResponse(this);
2864
- }
2865
-
2866
- /// <summary>Field number for the "message" field.</summary>
2867
- public const int MessageFieldNumber = 1;
2868
- private string message_ = "";
2869
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2870
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2871
- public string Message {
2872
- get { return message_; }
2873
- set {
2874
- message_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
2875
- }
2876
- }
2877
-
2878
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2879
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2880
- public override bool Equals(object other) {
2881
- return Equals(other as SendStatusInfoResponse);
2882
- }
2883
-
2884
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2885
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2886
- public bool Equals(SendStatusInfoResponse other) {
2887
- if (ReferenceEquals(other, null)) {
2888
- return false;
2889
- }
2890
- if (ReferenceEquals(other, this)) {
2891
- return true;
2892
- }
2893
- if (Message != other.Message) return false;
2894
- return Equals(_unknownFields, other._unknownFields);
2895
- }
2896
-
2897
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2898
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2899
- public override int GetHashCode() {
2900
- int hash = 1;
2901
- if (Message.Length != 0) hash ^= Message.GetHashCode();
2902
- if (_unknownFields != null) {
2903
- hash ^= _unknownFields.GetHashCode();
2904
- }
2905
- return hash;
2906
- }
2907
-
2908
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2909
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2910
- public override string ToString() {
2911
- return pb::JsonFormatter.ToDiagnosticString(this);
2912
- }
2913
-
2914
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2915
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2916
- public void WriteTo(pb::CodedOutputStream output) {
2917
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2918
- output.WriteRawMessage(this);
2919
- #else
2920
- if (Message.Length != 0) {
2921
- output.WriteRawTag(10);
2922
- output.WriteString(Message);
2923
- }
2924
- if (_unknownFields != null) {
2925
- _unknownFields.WriteTo(output);
2926
- }
2927
- #endif
2928
- }
2929
-
2930
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2931
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2932
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2933
- void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
2934
- if (Message.Length != 0) {
2935
- output.WriteRawTag(10);
2936
- output.WriteString(Message);
2937
- }
2938
- if (_unknownFields != null) {
2939
- _unknownFields.WriteTo(ref output);
2940
- }
2941
- }
2942
- #endif
2943
-
2944
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2945
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2946
- public int CalculateSize() {
2947
- int size = 0;
2948
- if (Message.Length != 0) {
2949
- size += 1 + pb::CodedOutputStream.ComputeStringSize(Message);
2950
- }
2951
- if (_unknownFields != null) {
2952
- size += _unknownFields.CalculateSize();
2953
- }
2954
- return size;
2955
- }
2956
-
2957
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2958
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2959
- public void MergeFrom(SendStatusInfoResponse other) {
2960
- if (other == null) {
2961
- return;
2962
- }
2963
- if (other.Message.Length != 0) {
2964
- Message = other.Message;
2965
- }
2966
- _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
2967
- }
2968
-
2969
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2970
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2971
- public void MergeFrom(pb::CodedInputStream input) {
2972
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2973
- input.ReadRawMessage(this);
2974
- #else
2975
- uint tag;
2976
- while ((tag = input.ReadTag()) != 0) {
2977
- switch(tag) {
2978
- default:
2979
- _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
2980
- break;
2981
- case 10: {
2982
- Message = input.ReadString();
2983
- break;
2984
- }
2985
- }
2986
- }
2987
- #endif
2988
- }
2989
-
2990
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2991
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2992
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2993
- void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
2994
- uint tag;
2995
- while ((tag = input.ReadTag()) != 0) {
2996
- switch(tag) {
2997
- default:
2998
- _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
2999
- break;
3000
- case 10: {
3001
- Message = input.ReadString();
3002
- break;
3003
- }
3004
- }
3005
- }
3006
- }
3007
- #endif
3008
-
3009
- }
3010
-
3011
- #endregion
3012
-
3013
- }
3014
-
3015
- #endregion Designer generated code