// // Generated by the protocol buffer compiler. DO NOT EDIT! // source: Protos/sitestream.proto // #pragma warning disable 1591, 0612, 3021, 8981 #region Designer generated code using pb = global::Google.Protobuf; using pbc = global::Google.Protobuf.Collections; using pbr = global::Google.Protobuf.Reflection; using scg = global::System.Collections.Generic; namespace ScadaLink.Communication.Grpc { /// Holder for reflection information generated from Protos/sitestream.proto public static partial class SitestreamReflection { #region Descriptor /// File descriptor for Protos/sitestream.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static SitestreamReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "ChdQcm90b3Mvc2l0ZXN0cmVhbS5wcm90bxIKc2l0ZXN0cmVhbRofZ29vZ2xl", "L3Byb3RvYnVmL3RpbWVzdGFtcC5wcm90bxoeZ29vZ2xlL3Byb3RvYnVmL3dy", "YXBwZXJzLnByb3RvIk0KFUluc3RhbmNlU3RyZWFtUmVxdWVzdBIWCg5jb3Jy", "ZWxhdGlvbl9pZBgBIAEoCRIcChRpbnN0YW5jZV91bmlxdWVfbmFtZRgCIAEo", "CSKoAQoPU2l0ZVN0cmVhbUV2ZW50EhYKDmNvcnJlbGF0aW9uX2lkGAEgASgJ", "Ej0KEWF0dHJpYnV0ZV9jaGFuZ2VkGAIgASgLMiAuc2l0ZXN0cmVhbS5BdHRy", "aWJ1dGVWYWx1ZVVwZGF0ZUgAEjUKDWFsYXJtX2NoYW5nZWQYAyABKAsyHC5z", "aXRlc3RyZWFtLkFsYXJtU3RhdGVVcGRhdGVIAEIHCgVldmVudCLIAQoUQXR0", "cmlidXRlVmFsdWVVcGRhdGUSHAoUaW5zdGFuY2VfdW5pcXVlX25hbWUYASAB", "KAkSFgoOYXR0cmlidXRlX3BhdGgYAiABKAkSFgoOYXR0cmlidXRlX25hbWUY", "AyABKAkSDQoFdmFsdWUYBCABKAkSJAoHcXVhbGl0eRgFIAEoDjITLnNpdGVz", "dHJlYW0uUXVhbGl0eRItCgl0aW1lc3RhbXAYBiABKAsyGi5nb29nbGUucHJv", "dG9idWYuVGltZXN0YW1wIuwBChBBbGFybVN0YXRlVXBkYXRlEhwKFGluc3Rh", "bmNlX3VuaXF1ZV9uYW1lGAEgASgJEhIKCmFsYXJtX25hbWUYAiABKAkSKQoF", "c3RhdGUYAyABKA4yGi5zaXRlc3RyZWFtLkFsYXJtU3RhdGVFbnVtEhAKCHBy", "aW9yaXR5GAQgASgFEi0KCXRpbWVzdGFtcBgFIAEoCzIaLmdvb2dsZS5wcm90", "b2J1Zi5UaW1lc3RhbXASKQoFbGV2ZWwYBiABKA4yGi5zaXRlc3RyZWFtLkFs", "YXJtTGV2ZWxFbnVtEg8KB21lc3NhZ2UYByABKAkiiwQKDUF1ZGl0RXZlbnRE", "dG8SEAoIZXZlbnRfaWQYASABKAkSMwoPb2NjdXJyZWRfYXRfdXRjGAIgASgL", "MhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcBIPCgdjaGFubmVsGAMgASgJ", "EgwKBGtpbmQYBCABKAkSFgoOY29ycmVsYXRpb25faWQYBSABKAkSFgoOc291", "cmNlX3NpdGVfaWQYBiABKAkSGgoSc291cmNlX2luc3RhbmNlX2lkGAcgASgJ", "EhUKDXNvdXJjZV9zY3JpcHQYCCABKAkSDQoFYWN0b3IYCSABKAkSDgoGdGFy", "Z2V0GAogASgJEg4KBnN0YXR1cxgLIAEoCRIwCgtodHRwX3N0YXR1cxgMIAEo", "CzIbLmdvb2dsZS5wcm90b2J1Zi5JbnQzMlZhbHVlEjAKC2R1cmF0aW9uX21z", "GA0gASgLMhsuZ29vZ2xlLnByb3RvYnVmLkludDMyVmFsdWUSFQoNZXJyb3Jf", "bWVzc2FnZRgOIAEoCRIUCgxlcnJvcl9kZXRhaWwYDyABKAkSFwoPcmVxdWVz", "dF9zdW1tYXJ5GBAgASgJEhgKEHJlc3BvbnNlX3N1bW1hcnkYESABKAkSGQoR", "cGF5bG9hZF90cnVuY2F0ZWQYEiABKAgSDQoFZXh0cmEYEyABKAkSFAoMZXhl", "Y3V0aW9uX2lkGBQgASgJIjwKD0F1ZGl0RXZlbnRCYXRjaBIpCgZldmVudHMY", "ASADKAsyGS5zaXRlc3RyZWFtLkF1ZGl0RXZlbnREdG8iJwoJSW5nZXN0QWNr", "EhoKEmFjY2VwdGVkX2V2ZW50X2lkcxgBIAMoCSL0AgoWU2l0ZUNhbGxPcGVy", "YXRpb25hbER0bxIcChR0cmFja2VkX29wZXJhdGlvbl9pZBgBIAEoCRIPCgdj", "aGFubmVsGAIgASgJEg4KBnRhcmdldBgDIAEoCRITCgtzb3VyY2Vfc2l0ZRgE", "IAEoCRIOCgZzdGF0dXMYBSABKAkSEwoLcmV0cnlfY291bnQYBiABKAUSEgoK", "bGFzdF9lcnJvchgHIAEoCRIwCgtodHRwX3N0YXR1cxgIIAEoCzIbLmdvb2ds", "ZS5wcm90b2J1Zi5JbnQzMlZhbHVlEjIKDmNyZWF0ZWRfYXRfdXRjGAkgASgL", "MhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcBIyCg51cGRhdGVkX2F0X3V0", "YxgKIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXASMwoPdGVybWlu", "YWxfYXRfdXRjGAsgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcCKA", "AQoVQ2FjaGVkVGVsZW1ldHJ5UGFja2V0Ei4KC2F1ZGl0X2V2ZW50GAEgASgL", "Mhkuc2l0ZXN0cmVhbS5BdWRpdEV2ZW50RHRvEjcKC29wZXJhdGlvbmFsGAIg", "ASgLMiIuc2l0ZXN0cmVhbS5TaXRlQ2FsbE9wZXJhdGlvbmFsRHRvIkoKFENh", "Y2hlZFRlbGVtZXRyeUJhdGNoEjIKB3BhY2tldHMYASADKAsyIS5zaXRlc3Ry", "ZWFtLkNhY2hlZFRlbGVtZXRyeVBhY2tldCJbChZQdWxsQXVkaXRFdmVudHNS", "ZXF1ZXN0Ei0KCXNpbmNlX3V0YxgBIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5U", "aW1lc3RhbXASEgoKYmF0Y2hfc2l6ZRgCIAEoBSJcChdQdWxsQXVkaXRFdmVu", "dHNSZXNwb25zZRIpCgZldmVudHMYASADKAsyGS5zaXRlc3RyZWFtLkF1ZGl0", "RXZlbnREdG8SFgoObW9yZV9hdmFpbGFibGUYAiABKAgqXAoHUXVhbGl0eRIX", "ChNRVUFMSVRZX1VOU1BFQ0lGSUVEEAASEAoMUVVBTElUWV9HT09EEAESFQoR", "UVVBTElUWV9VTkNFUlRBSU4QAhIPCgtRVUFMSVRZX0JBRBADKl0KDkFsYXJt", "U3RhdGVFbnVtEhsKF0FMQVJNX1NUQVRFX1VOU1BFQ0lGSUVEEAASFgoSQUxB", "Uk1fU1RBVEVfTk9STUFMEAESFgoSQUxBUk1fU1RBVEVfQUNUSVZFEAIqhQEK", "DkFsYXJtTGV2ZWxFbnVtEhQKEEFMQVJNX0xFVkVMX05PTkUQABITCg9BTEFS", "TV9MRVZFTF9MT1cQARIXChNBTEFSTV9MRVZFTF9MT1dfTE9XEAISFAoQQUxB", "Uk1fTEVWRUxfSElHSBADEhkKFUFMQVJNX0xFVkVMX0hJR0hfSElHSBAEMuEC", "ChFTaXRlU3RyZWFtU2VydmljZRJVChFTdWJzY3JpYmVJbnN0YW5jZRIhLnNp", "dGVzdHJlYW0uSW5zdGFuY2VTdHJlYW1SZXF1ZXN0Ghsuc2l0ZXN0cmVhbS5T", "aXRlU3RyZWFtRXZlbnQwARJHChFJbmdlc3RBdWRpdEV2ZW50cxIbLnNpdGVz", "dHJlYW0uQXVkaXRFdmVudEJhdGNoGhUuc2l0ZXN0cmVhbS5Jbmdlc3RBY2sS", "UAoVSW5nZXN0Q2FjaGVkVGVsZW1ldHJ5EiAuc2l0ZXN0cmVhbS5DYWNoZWRU", "ZWxlbWV0cnlCYXRjaBoVLnNpdGVzdHJlYW0uSW5nZXN0QWNrEloKD1B1bGxB", "dWRpdEV2ZW50cxIiLnNpdGVzdHJlYW0uUHVsbEF1ZGl0RXZlbnRzUmVxdWVz", "dBojLnNpdGVzdHJlYW0uUHVsbEF1ZGl0RXZlbnRzUmVzcG9uc2VCH6oCHFNj", "YWRhTGluay5Db21tdW5pY2F0aW9uLkdycGNiBnByb3RvMw==")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { global::Google.Protobuf.WellKnownTypes.TimestampReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.WrappersReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(new[] {typeof(global::ScadaLink.Communication.Grpc.Quality), typeof(global::ScadaLink.Communication.Grpc.AlarmStateEnum), typeof(global::ScadaLink.Communication.Grpc.AlarmLevelEnum), }, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::ScadaLink.Communication.Grpc.InstanceStreamRequest), global::ScadaLink.Communication.Grpc.InstanceStreamRequest.Parser, new[]{ "CorrelationId", "InstanceUniqueName" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::ScadaLink.Communication.Grpc.SiteStreamEvent), global::ScadaLink.Communication.Grpc.SiteStreamEvent.Parser, new[]{ "CorrelationId", "AttributeChanged", "AlarmChanged" }, new[]{ "Event" }, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::ScadaLink.Communication.Grpc.AttributeValueUpdate), global::ScadaLink.Communication.Grpc.AttributeValueUpdate.Parser, new[]{ "InstanceUniqueName", "AttributePath", "AttributeName", "Value", "Quality", "Timestamp" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::ScadaLink.Communication.Grpc.AlarmStateUpdate), global::ScadaLink.Communication.Grpc.AlarmStateUpdate.Parser, new[]{ "InstanceUniqueName", "AlarmName", "State", "Priority", "Timestamp", "Level", "Message" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::ScadaLink.Communication.Grpc.AuditEventDto), global::ScadaLink.Communication.Grpc.AuditEventDto.Parser, new[]{ "EventId", "OccurredAtUtc", "Channel", "Kind", "CorrelationId", "SourceSiteId", "SourceInstanceId", "SourceScript", "Actor", "Target", "Status", "HttpStatus", "DurationMs", "ErrorMessage", "ErrorDetail", "RequestSummary", "ResponseSummary", "PayloadTruncated", "Extra", "ExecutionId" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::ScadaLink.Communication.Grpc.AuditEventBatch), global::ScadaLink.Communication.Grpc.AuditEventBatch.Parser, new[]{ "Events" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::ScadaLink.Communication.Grpc.IngestAck), global::ScadaLink.Communication.Grpc.IngestAck.Parser, new[]{ "AcceptedEventIds" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::ScadaLink.Communication.Grpc.SiteCallOperationalDto), global::ScadaLink.Communication.Grpc.SiteCallOperationalDto.Parser, new[]{ "TrackedOperationId", "Channel", "Target", "SourceSite", "Status", "RetryCount", "LastError", "HttpStatus", "CreatedAtUtc", "UpdatedAtUtc", "TerminalAtUtc" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::ScadaLink.Communication.Grpc.CachedTelemetryPacket), global::ScadaLink.Communication.Grpc.CachedTelemetryPacket.Parser, new[]{ "AuditEvent", "Operational" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::ScadaLink.Communication.Grpc.CachedTelemetryBatch), global::ScadaLink.Communication.Grpc.CachedTelemetryBatch.Parser, new[]{ "Packets" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::ScadaLink.Communication.Grpc.PullAuditEventsRequest), global::ScadaLink.Communication.Grpc.PullAuditEventsRequest.Parser, new[]{ "SinceUtc", "BatchSize" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::ScadaLink.Communication.Grpc.PullAuditEventsResponse), global::ScadaLink.Communication.Grpc.PullAuditEventsResponse.Parser, new[]{ "Events", "MoreAvailable" }, null, null, null, null) })); } #endregion } #region Enums public enum Quality { [pbr::OriginalName("QUALITY_UNSPECIFIED")] Unspecified = 0, [pbr::OriginalName("QUALITY_GOOD")] Good = 1, [pbr::OriginalName("QUALITY_UNCERTAIN")] Uncertain = 2, [pbr::OriginalName("QUALITY_BAD")] Bad = 3, } public enum AlarmStateEnum { [pbr::OriginalName("ALARM_STATE_UNSPECIFIED")] AlarmStateUnspecified = 0, [pbr::OriginalName("ALARM_STATE_NORMAL")] AlarmStateNormal = 1, [pbr::OriginalName("ALARM_STATE_ACTIVE")] AlarmStateActive = 2, } /// /// Severity level for an active alarm. Binary trigger types (ValueMatch, /// RangeViolation, RateOfChange) always emit ALARM_LEVEL_NONE. The HiLo /// trigger type emits one of the directional values. /// public enum AlarmLevelEnum { [pbr::OriginalName("ALARM_LEVEL_NONE")] AlarmLevelNone = 0, [pbr::OriginalName("ALARM_LEVEL_LOW")] AlarmLevelLow = 1, [pbr::OriginalName("ALARM_LEVEL_LOW_LOW")] AlarmLevelLowLow = 2, [pbr::OriginalName("ALARM_LEVEL_HIGH")] AlarmLevelHigh = 3, [pbr::OriginalName("ALARM_LEVEL_HIGH_HIGH")] AlarmLevelHighHigh = 4, } #endregion #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class InstanceStreamRequest : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new InstanceStreamRequest()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::ScadaLink.Communication.Grpc.SitestreamReflection.Descriptor.MessageTypes[0]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public InstanceStreamRequest() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public InstanceStreamRequest(InstanceStreamRequest other) : this() { correlationId_ = other.correlationId_; instanceUniqueName_ = other.instanceUniqueName_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public InstanceStreamRequest Clone() { return new InstanceStreamRequest(this); } /// Field number for the "correlation_id" field. public const int CorrelationIdFieldNumber = 1; private string correlationId_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string CorrelationId { get { return correlationId_; } set { correlationId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "instance_unique_name" field. public const int InstanceUniqueNameFieldNumber = 2; private string instanceUniqueName_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string InstanceUniqueName { get { return instanceUniqueName_; } set { instanceUniqueName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as InstanceStreamRequest); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(InstanceStreamRequest other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (CorrelationId != other.CorrelationId) return false; if (InstanceUniqueName != other.InstanceUniqueName) return false; return Equals(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; if (CorrelationId.Length != 0) hash ^= CorrelationId.GetHashCode(); if (InstanceUniqueName.Length != 0) hash ^= InstanceUniqueName.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return hash; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else if (CorrelationId.Length != 0) { output.WriteRawTag(10); output.WriteString(CorrelationId); } if (InstanceUniqueName.Length != 0) { output.WriteRawTag(18); output.WriteString(InstanceUniqueName); } if (_unknownFields != null) { _unknownFields.WriteTo(output); } #endif } #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { if (CorrelationId.Length != 0) { output.WriteRawTag(10); output.WriteString(CorrelationId); } if (InstanceUniqueName.Length != 0) { output.WriteRawTag(18); output.WriteString(InstanceUniqueName); } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } } #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; if (CorrelationId.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(CorrelationId); } if (InstanceUniqueName.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(InstanceUniqueName); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(InstanceStreamRequest other) { if (other == null) { return; } if (other.CorrelationId.Length != 0) { CorrelationId = other.CorrelationId; } if (other.InstanceUniqueName.Length != 0) { InstanceUniqueName = other.InstanceUniqueName; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE input.ReadRawMessage(this); #else uint tag; while ((tag = input.ReadTag()) != 0) { if ((tag & 7) == 4) { // Abort on any end group tag. return; } switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { CorrelationId = input.ReadString(); break; } case 18: { InstanceUniqueName = input.ReadString(); break; } } } #endif } #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { uint tag; while ((tag = input.ReadTag()) != 0) { if ((tag & 7) == 4) { // Abort on any end group tag. return; } switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 10: { CorrelationId = input.ReadString(); break; } case 18: { InstanceUniqueName = input.ReadString(); break; } } } } #endif } [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class SiteStreamEvent : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SiteStreamEvent()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::ScadaLink.Communication.Grpc.SitestreamReflection.Descriptor.MessageTypes[1]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public SiteStreamEvent() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public SiteStreamEvent(SiteStreamEvent other) : this() { correlationId_ = other.correlationId_; switch (other.EventCase) { case EventOneofCase.AttributeChanged: AttributeChanged = other.AttributeChanged.Clone(); break; case EventOneofCase.AlarmChanged: AlarmChanged = other.AlarmChanged.Clone(); break; } _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public SiteStreamEvent Clone() { return new SiteStreamEvent(this); } /// Field number for the "correlation_id" field. public const int CorrelationIdFieldNumber = 1; private string correlationId_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string CorrelationId { get { return correlationId_; } set { correlationId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "attribute_changed" field. public const int AttributeChangedFieldNumber = 2; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::ScadaLink.Communication.Grpc.AttributeValueUpdate AttributeChanged { get { return eventCase_ == EventOneofCase.AttributeChanged ? (global::ScadaLink.Communication.Grpc.AttributeValueUpdate) event_ : null; } set { event_ = value; eventCase_ = value == null ? EventOneofCase.None : EventOneofCase.AttributeChanged; } } /// Field number for the "alarm_changed" field. public const int AlarmChangedFieldNumber = 3; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::ScadaLink.Communication.Grpc.AlarmStateUpdate AlarmChanged { get { return eventCase_ == EventOneofCase.AlarmChanged ? (global::ScadaLink.Communication.Grpc.AlarmStateUpdate) event_ : null; } set { event_ = value; eventCase_ = value == null ? EventOneofCase.None : EventOneofCase.AlarmChanged; } } private object event_; /// Enum of possible cases for the "event" oneof. public enum EventOneofCase { None = 0, AttributeChanged = 2, AlarmChanged = 3, } private EventOneofCase eventCase_ = EventOneofCase.None; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public EventOneofCase EventCase { get { return eventCase_; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void ClearEvent() { eventCase_ = EventOneofCase.None; event_ = null; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as SiteStreamEvent); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(SiteStreamEvent other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (CorrelationId != other.CorrelationId) return false; if (!object.Equals(AttributeChanged, other.AttributeChanged)) return false; if (!object.Equals(AlarmChanged, other.AlarmChanged)) return false; if (EventCase != other.EventCase) return false; return Equals(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; if (CorrelationId.Length != 0) hash ^= CorrelationId.GetHashCode(); if (eventCase_ == EventOneofCase.AttributeChanged) hash ^= AttributeChanged.GetHashCode(); if (eventCase_ == EventOneofCase.AlarmChanged) hash ^= AlarmChanged.GetHashCode(); hash ^= (int) eventCase_; if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return hash; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else if (CorrelationId.Length != 0) { output.WriteRawTag(10); output.WriteString(CorrelationId); } if (eventCase_ == EventOneofCase.AttributeChanged) { output.WriteRawTag(18); output.WriteMessage(AttributeChanged); } if (eventCase_ == EventOneofCase.AlarmChanged) { output.WriteRawTag(26); output.WriteMessage(AlarmChanged); } if (_unknownFields != null) { _unknownFields.WriteTo(output); } #endif } #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { if (CorrelationId.Length != 0) { output.WriteRawTag(10); output.WriteString(CorrelationId); } if (eventCase_ == EventOneofCase.AttributeChanged) { output.WriteRawTag(18); output.WriteMessage(AttributeChanged); } if (eventCase_ == EventOneofCase.AlarmChanged) { output.WriteRawTag(26); output.WriteMessage(AlarmChanged); } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } } #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; if (CorrelationId.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(CorrelationId); } if (eventCase_ == EventOneofCase.AttributeChanged) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(AttributeChanged); } if (eventCase_ == EventOneofCase.AlarmChanged) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(AlarmChanged); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(SiteStreamEvent other) { if (other == null) { return; } if (other.CorrelationId.Length != 0) { CorrelationId = other.CorrelationId; } switch (other.EventCase) { case EventOneofCase.AttributeChanged: if (AttributeChanged == null) { AttributeChanged = new global::ScadaLink.Communication.Grpc.AttributeValueUpdate(); } AttributeChanged.MergeFrom(other.AttributeChanged); break; case EventOneofCase.AlarmChanged: if (AlarmChanged == null) { AlarmChanged = new global::ScadaLink.Communication.Grpc.AlarmStateUpdate(); } AlarmChanged.MergeFrom(other.AlarmChanged); break; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE input.ReadRawMessage(this); #else uint tag; while ((tag = input.ReadTag()) != 0) { if ((tag & 7) == 4) { // Abort on any end group tag. return; } switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { CorrelationId = input.ReadString(); break; } case 18: { global::ScadaLink.Communication.Grpc.AttributeValueUpdate subBuilder = new global::ScadaLink.Communication.Grpc.AttributeValueUpdate(); if (eventCase_ == EventOneofCase.AttributeChanged) { subBuilder.MergeFrom(AttributeChanged); } input.ReadMessage(subBuilder); AttributeChanged = subBuilder; break; } case 26: { global::ScadaLink.Communication.Grpc.AlarmStateUpdate subBuilder = new global::ScadaLink.Communication.Grpc.AlarmStateUpdate(); if (eventCase_ == EventOneofCase.AlarmChanged) { subBuilder.MergeFrom(AlarmChanged); } input.ReadMessage(subBuilder); AlarmChanged = subBuilder; break; } } } #endif } #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { uint tag; while ((tag = input.ReadTag()) != 0) { if ((tag & 7) == 4) { // Abort on any end group tag. return; } switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 10: { CorrelationId = input.ReadString(); break; } case 18: { global::ScadaLink.Communication.Grpc.AttributeValueUpdate subBuilder = new global::ScadaLink.Communication.Grpc.AttributeValueUpdate(); if (eventCase_ == EventOneofCase.AttributeChanged) { subBuilder.MergeFrom(AttributeChanged); } input.ReadMessage(subBuilder); AttributeChanged = subBuilder; break; } case 26: { global::ScadaLink.Communication.Grpc.AlarmStateUpdate subBuilder = new global::ScadaLink.Communication.Grpc.AlarmStateUpdate(); if (eventCase_ == EventOneofCase.AlarmChanged) { subBuilder.MergeFrom(AlarmChanged); } input.ReadMessage(subBuilder); AlarmChanged = subBuilder; break; } } } } #endif } [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class AttributeValueUpdate : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AttributeValueUpdate()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::ScadaLink.Communication.Grpc.SitestreamReflection.Descriptor.MessageTypes[2]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public AttributeValueUpdate() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public AttributeValueUpdate(AttributeValueUpdate other) : this() { instanceUniqueName_ = other.instanceUniqueName_; attributePath_ = other.attributePath_; attributeName_ = other.attributeName_; value_ = other.value_; quality_ = other.quality_; timestamp_ = other.timestamp_ != null ? other.timestamp_.Clone() : null; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public AttributeValueUpdate Clone() { return new AttributeValueUpdate(this); } /// Field number for the "instance_unique_name" field. public const int InstanceUniqueNameFieldNumber = 1; private string instanceUniqueName_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string InstanceUniqueName { get { return instanceUniqueName_; } set { instanceUniqueName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "attribute_path" field. public const int AttributePathFieldNumber = 2; private string attributePath_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string AttributePath { get { return attributePath_; } set { attributePath_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "attribute_name" field. public const int AttributeNameFieldNumber = 3; private string attributeName_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string AttributeName { get { return attributeName_; } set { attributeName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "value" field. public const int ValueFieldNumber = 4; private string value_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Value { get { return value_; } set { value_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "quality" field. public const int QualityFieldNumber = 5; private global::ScadaLink.Communication.Grpc.Quality quality_ = global::ScadaLink.Communication.Grpc.Quality.Unspecified; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::ScadaLink.Communication.Grpc.Quality Quality { get { return quality_; } set { quality_ = value; } } /// Field number for the "timestamp" field. public const int TimestampFieldNumber = 6; private global::Google.Protobuf.WellKnownTypes.Timestamp timestamp_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Google.Protobuf.WellKnownTypes.Timestamp Timestamp { get { return timestamp_; } set { timestamp_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as AttributeValueUpdate); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(AttributeValueUpdate other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (InstanceUniqueName != other.InstanceUniqueName) return false; if (AttributePath != other.AttributePath) return false; if (AttributeName != other.AttributeName) return false; if (Value != other.Value) return false; if (Quality != other.Quality) return false; if (!object.Equals(Timestamp, other.Timestamp)) return false; return Equals(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; if (InstanceUniqueName.Length != 0) hash ^= InstanceUniqueName.GetHashCode(); if (AttributePath.Length != 0) hash ^= AttributePath.GetHashCode(); if (AttributeName.Length != 0) hash ^= AttributeName.GetHashCode(); if (Value.Length != 0) hash ^= Value.GetHashCode(); if (Quality != global::ScadaLink.Communication.Grpc.Quality.Unspecified) hash ^= Quality.GetHashCode(); if (timestamp_ != null) hash ^= Timestamp.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return hash; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else if (InstanceUniqueName.Length != 0) { output.WriteRawTag(10); output.WriteString(InstanceUniqueName); } if (AttributePath.Length != 0) { output.WriteRawTag(18); output.WriteString(AttributePath); } if (AttributeName.Length != 0) { output.WriteRawTag(26); output.WriteString(AttributeName); } if (Value.Length != 0) { output.WriteRawTag(34); output.WriteString(Value); } if (Quality != global::ScadaLink.Communication.Grpc.Quality.Unspecified) { output.WriteRawTag(40); output.WriteEnum((int) Quality); } if (timestamp_ != null) { output.WriteRawTag(50); output.WriteMessage(Timestamp); } if (_unknownFields != null) { _unknownFields.WriteTo(output); } #endif } #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { if (InstanceUniqueName.Length != 0) { output.WriteRawTag(10); output.WriteString(InstanceUniqueName); } if (AttributePath.Length != 0) { output.WriteRawTag(18); output.WriteString(AttributePath); } if (AttributeName.Length != 0) { output.WriteRawTag(26); output.WriteString(AttributeName); } if (Value.Length != 0) { output.WriteRawTag(34); output.WriteString(Value); } if (Quality != global::ScadaLink.Communication.Grpc.Quality.Unspecified) { output.WriteRawTag(40); output.WriteEnum((int) Quality); } if (timestamp_ != null) { output.WriteRawTag(50); output.WriteMessage(Timestamp); } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } } #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; if (InstanceUniqueName.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(InstanceUniqueName); } if (AttributePath.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(AttributePath); } if (AttributeName.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(AttributeName); } if (Value.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Value); } if (Quality != global::ScadaLink.Communication.Grpc.Quality.Unspecified) { size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Quality); } if (timestamp_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(Timestamp); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(AttributeValueUpdate other) { if (other == null) { return; } if (other.InstanceUniqueName.Length != 0) { InstanceUniqueName = other.InstanceUniqueName; } if (other.AttributePath.Length != 0) { AttributePath = other.AttributePath; } if (other.AttributeName.Length != 0) { AttributeName = other.AttributeName; } if (other.Value.Length != 0) { Value = other.Value; } if (other.Quality != global::ScadaLink.Communication.Grpc.Quality.Unspecified) { Quality = other.Quality; } if (other.timestamp_ != null) { if (timestamp_ == null) { Timestamp = new global::Google.Protobuf.WellKnownTypes.Timestamp(); } Timestamp.MergeFrom(other.Timestamp); } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE input.ReadRawMessage(this); #else uint tag; while ((tag = input.ReadTag()) != 0) { if ((tag & 7) == 4) { // Abort on any end group tag. return; } switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { InstanceUniqueName = input.ReadString(); break; } case 18: { AttributePath = input.ReadString(); break; } case 26: { AttributeName = input.ReadString(); break; } case 34: { Value = input.ReadString(); break; } case 40: { Quality = (global::ScadaLink.Communication.Grpc.Quality) input.ReadEnum(); break; } case 50: { if (timestamp_ == null) { Timestamp = new global::Google.Protobuf.WellKnownTypes.Timestamp(); } input.ReadMessage(Timestamp); break; } } } #endif } #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { uint tag; while ((tag = input.ReadTag()) != 0) { if ((tag & 7) == 4) { // Abort on any end group tag. return; } switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 10: { InstanceUniqueName = input.ReadString(); break; } case 18: { AttributePath = input.ReadString(); break; } case 26: { AttributeName = input.ReadString(); break; } case 34: { Value = input.ReadString(); break; } case 40: { Quality = (global::ScadaLink.Communication.Grpc.Quality) input.ReadEnum(); break; } case 50: { if (timestamp_ == null) { Timestamp = new global::Google.Protobuf.WellKnownTypes.Timestamp(); } input.ReadMessage(Timestamp); break; } } } } #endif } [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class AlarmStateUpdate : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AlarmStateUpdate()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::ScadaLink.Communication.Grpc.SitestreamReflection.Descriptor.MessageTypes[3]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public AlarmStateUpdate() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public AlarmStateUpdate(AlarmStateUpdate other) : this() { instanceUniqueName_ = other.instanceUniqueName_; alarmName_ = other.alarmName_; state_ = other.state_; priority_ = other.priority_; timestamp_ = other.timestamp_ != null ? other.timestamp_.Clone() : null; level_ = other.level_; message_ = other.message_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public AlarmStateUpdate Clone() { return new AlarmStateUpdate(this); } /// Field number for the "instance_unique_name" field. public const int InstanceUniqueNameFieldNumber = 1; private string instanceUniqueName_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string InstanceUniqueName { get { return instanceUniqueName_; } set { instanceUniqueName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "alarm_name" field. public const int AlarmNameFieldNumber = 2; private string alarmName_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string AlarmName { get { return alarmName_; } set { alarmName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "state" field. public const int StateFieldNumber = 3; private global::ScadaLink.Communication.Grpc.AlarmStateEnum state_ = global::ScadaLink.Communication.Grpc.AlarmStateEnum.AlarmStateUnspecified; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::ScadaLink.Communication.Grpc.AlarmStateEnum State { get { return state_; } set { state_ = value; } } /// Field number for the "priority" field. public const int PriorityFieldNumber = 4; private int priority_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int Priority { get { return priority_; } set { priority_ = value; } } /// Field number for the "timestamp" field. public const int TimestampFieldNumber = 5; private global::Google.Protobuf.WellKnownTypes.Timestamp timestamp_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Google.Protobuf.WellKnownTypes.Timestamp Timestamp { get { return timestamp_; } set { timestamp_ = value; } } /// Field number for the "level" field. public const int LevelFieldNumber = 6; private global::ScadaLink.Communication.Grpc.AlarmLevelEnum level_ = global::ScadaLink.Communication.Grpc.AlarmLevelEnum.AlarmLevelNone; /// /// ALARM_LEVEL_NONE for binary trigger types; set by HiLo. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::ScadaLink.Communication.Grpc.AlarmLevelEnum Level { get { return level_; } set { level_ = value; } } /// Field number for the "message" field. public const int MessageFieldNumber = 7; private string message_ = ""; /// /// Optional per-band operator message; empty when unset. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Message { get { return message_; } set { message_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as AlarmStateUpdate); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(AlarmStateUpdate other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (InstanceUniqueName != other.InstanceUniqueName) return false; if (AlarmName != other.AlarmName) return false; if (State != other.State) return false; if (Priority != other.Priority) return false; if (!object.Equals(Timestamp, other.Timestamp)) return false; if (Level != other.Level) return false; if (Message != other.Message) return false; return Equals(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; if (InstanceUniqueName.Length != 0) hash ^= InstanceUniqueName.GetHashCode(); if (AlarmName.Length != 0) hash ^= AlarmName.GetHashCode(); if (State != global::ScadaLink.Communication.Grpc.AlarmStateEnum.AlarmStateUnspecified) hash ^= State.GetHashCode(); if (Priority != 0) hash ^= Priority.GetHashCode(); if (timestamp_ != null) hash ^= Timestamp.GetHashCode(); if (Level != global::ScadaLink.Communication.Grpc.AlarmLevelEnum.AlarmLevelNone) hash ^= Level.GetHashCode(); if (Message.Length != 0) hash ^= Message.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return hash; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else if (InstanceUniqueName.Length != 0) { output.WriteRawTag(10); output.WriteString(InstanceUniqueName); } if (AlarmName.Length != 0) { output.WriteRawTag(18); output.WriteString(AlarmName); } if (State != global::ScadaLink.Communication.Grpc.AlarmStateEnum.AlarmStateUnspecified) { output.WriteRawTag(24); output.WriteEnum((int) State); } if (Priority != 0) { output.WriteRawTag(32); output.WriteInt32(Priority); } if (timestamp_ != null) { output.WriteRawTag(42); output.WriteMessage(Timestamp); } if (Level != global::ScadaLink.Communication.Grpc.AlarmLevelEnum.AlarmLevelNone) { output.WriteRawTag(48); output.WriteEnum((int) Level); } if (Message.Length != 0) { output.WriteRawTag(58); output.WriteString(Message); } if (_unknownFields != null) { _unknownFields.WriteTo(output); } #endif } #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { if (InstanceUniqueName.Length != 0) { output.WriteRawTag(10); output.WriteString(InstanceUniqueName); } if (AlarmName.Length != 0) { output.WriteRawTag(18); output.WriteString(AlarmName); } if (State != global::ScadaLink.Communication.Grpc.AlarmStateEnum.AlarmStateUnspecified) { output.WriteRawTag(24); output.WriteEnum((int) State); } if (Priority != 0) { output.WriteRawTag(32); output.WriteInt32(Priority); } if (timestamp_ != null) { output.WriteRawTag(42); output.WriteMessage(Timestamp); } if (Level != global::ScadaLink.Communication.Grpc.AlarmLevelEnum.AlarmLevelNone) { output.WriteRawTag(48); output.WriteEnum((int) Level); } if (Message.Length != 0) { output.WriteRawTag(58); output.WriteString(Message); } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } } #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; if (InstanceUniqueName.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(InstanceUniqueName); } if (AlarmName.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(AlarmName); } if (State != global::ScadaLink.Communication.Grpc.AlarmStateEnum.AlarmStateUnspecified) { size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) State); } if (Priority != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Priority); } if (timestamp_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(Timestamp); } if (Level != global::ScadaLink.Communication.Grpc.AlarmLevelEnum.AlarmLevelNone) { size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Level); } if (Message.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Message); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(AlarmStateUpdate other) { if (other == null) { return; } if (other.InstanceUniqueName.Length != 0) { InstanceUniqueName = other.InstanceUniqueName; } if (other.AlarmName.Length != 0) { AlarmName = other.AlarmName; } if (other.State != global::ScadaLink.Communication.Grpc.AlarmStateEnum.AlarmStateUnspecified) { State = other.State; } if (other.Priority != 0) { Priority = other.Priority; } if (other.timestamp_ != null) { if (timestamp_ == null) { Timestamp = new global::Google.Protobuf.WellKnownTypes.Timestamp(); } Timestamp.MergeFrom(other.Timestamp); } if (other.Level != global::ScadaLink.Communication.Grpc.AlarmLevelEnum.AlarmLevelNone) { Level = other.Level; } if (other.Message.Length != 0) { Message = other.Message; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE input.ReadRawMessage(this); #else uint tag; while ((tag = input.ReadTag()) != 0) { if ((tag & 7) == 4) { // Abort on any end group tag. return; } switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { InstanceUniqueName = input.ReadString(); break; } case 18: { AlarmName = input.ReadString(); break; } case 24: { State = (global::ScadaLink.Communication.Grpc.AlarmStateEnum) input.ReadEnum(); break; } case 32: { Priority = input.ReadInt32(); break; } case 42: { if (timestamp_ == null) { Timestamp = new global::Google.Protobuf.WellKnownTypes.Timestamp(); } input.ReadMessage(Timestamp); break; } case 48: { Level = (global::ScadaLink.Communication.Grpc.AlarmLevelEnum) input.ReadEnum(); break; } case 58: { Message = input.ReadString(); break; } } } #endif } #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { uint tag; while ((tag = input.ReadTag()) != 0) { if ((tag & 7) == 4) { // Abort on any end group tag. return; } switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 10: { InstanceUniqueName = input.ReadString(); break; } case 18: { AlarmName = input.ReadString(); break; } case 24: { State = (global::ScadaLink.Communication.Grpc.AlarmStateEnum) input.ReadEnum(); break; } case 32: { Priority = input.ReadInt32(); break; } case 42: { if (timestamp_ == null) { Timestamp = new global::Google.Protobuf.WellKnownTypes.Timestamp(); } input.ReadMessage(Timestamp); break; } case 48: { Level = (global::ScadaLink.Communication.Grpc.AlarmLevelEnum) input.ReadEnum(); break; } case 58: { Message = input.ReadString(); break; } } } } #endif } /// /// Audit Log (#23) telemetry: single lifecycle event ferried from a site SQLite /// hot-path row to central via IngestAuditEvents. Mirrors AuditEvent (Commons) /// minus the site-local ForwardState and the central IngestedAtUtc (set on ingest). /// [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class AuditEventDto : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AuditEventDto()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::ScadaLink.Communication.Grpc.SitestreamReflection.Descriptor.MessageTypes[4]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public AuditEventDto() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public AuditEventDto(AuditEventDto other) : this() { eventId_ = other.eventId_; occurredAtUtc_ = other.occurredAtUtc_ != null ? other.occurredAtUtc_.Clone() : null; channel_ = other.channel_; kind_ = other.kind_; correlationId_ = other.correlationId_; sourceSiteId_ = other.sourceSiteId_; sourceInstanceId_ = other.sourceInstanceId_; sourceScript_ = other.sourceScript_; actor_ = other.actor_; target_ = other.target_; status_ = other.status_; HttpStatus = other.HttpStatus; DurationMs = other.DurationMs; errorMessage_ = other.errorMessage_; errorDetail_ = other.errorDetail_; requestSummary_ = other.requestSummary_; responseSummary_ = other.responseSummary_; payloadTruncated_ = other.payloadTruncated_; extra_ = other.extra_; executionId_ = other.executionId_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public AuditEventDto Clone() { return new AuditEventDto(this); } /// Field number for the "event_id" field. public const int EventIdFieldNumber = 1; private string eventId_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string EventId { get { return eventId_; } set { eventId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "occurred_at_utc" field. public const int OccurredAtUtcFieldNumber = 2; private global::Google.Protobuf.WellKnownTypes.Timestamp occurredAtUtc_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Google.Protobuf.WellKnownTypes.Timestamp OccurredAtUtc { get { return occurredAtUtc_; } set { occurredAtUtc_ = value; } } /// Field number for the "channel" field. public const int ChannelFieldNumber = 3; private string channel_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Channel { get { return channel_; } set { channel_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "kind" field. public const int KindFieldNumber = 4; private string kind_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Kind { get { return kind_; } set { kind_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "correlation_id" field. public const int CorrelationIdFieldNumber = 5; private string correlationId_ = ""; /// /// empty string represents null /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string CorrelationId { get { return correlationId_; } set { correlationId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "source_site_id" field. public const int SourceSiteIdFieldNumber = 6; private string sourceSiteId_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string SourceSiteId { get { return sourceSiteId_; } set { sourceSiteId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "source_instance_id" field. public const int SourceInstanceIdFieldNumber = 7; private string sourceInstanceId_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string SourceInstanceId { get { return sourceInstanceId_; } set { sourceInstanceId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "source_script" field. public const int SourceScriptFieldNumber = 8; private string sourceScript_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string SourceScript { get { return sourceScript_; } set { sourceScript_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "actor" field. public const int ActorFieldNumber = 9; private string actor_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Actor { get { return actor_; } set { actor_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "target" field. public const int TargetFieldNumber = 10; private string target_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Target { get { return target_; } set { target_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "status" field. public const int StatusFieldNumber = 11; private string status_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Status { get { return status_; } set { status_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "http_status" field. public const int HttpStatusFieldNumber = 12; private static readonly pb::FieldCodec _single_httpStatus_codec = pb::FieldCodec.ForStructWrapper(98); private int? httpStatus_; /// /// null when absent /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int? HttpStatus { get { return httpStatus_; } set { httpStatus_ = value; } } /// Field number for the "duration_ms" field. public const int DurationMsFieldNumber = 13; private static readonly pb::FieldCodec _single_durationMs_codec = pb::FieldCodec.ForStructWrapper(106); private int? durationMs_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int? DurationMs { get { return durationMs_; } set { durationMs_ = value; } } /// Field number for the "error_message" field. public const int ErrorMessageFieldNumber = 14; private string errorMessage_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string ErrorMessage { get { return errorMessage_; } set { errorMessage_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "error_detail" field. public const int ErrorDetailFieldNumber = 15; private string errorDetail_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string ErrorDetail { get { return errorDetail_; } set { errorDetail_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "request_summary" field. public const int RequestSummaryFieldNumber = 16; private string requestSummary_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string RequestSummary { get { return requestSummary_; } set { requestSummary_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "response_summary" field. public const int ResponseSummaryFieldNumber = 17; private string responseSummary_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string ResponseSummary { get { return responseSummary_; } set { responseSummary_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "payload_truncated" field. public const int PayloadTruncatedFieldNumber = 18; private bool payloadTruncated_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool PayloadTruncated { get { return payloadTruncated_; } set { payloadTruncated_ = value; } } /// Field number for the "extra" field. public const int ExtraFieldNumber = 19; private string extra_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Extra { get { return extra_; } set { extra_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "execution_id" field. public const int ExecutionIdFieldNumber = 20; private string executionId_ = ""; /// /// empty string represents null /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string ExecutionId { get { return executionId_; } set { executionId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as AuditEventDto); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(AuditEventDto other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (EventId != other.EventId) return false; if (!object.Equals(OccurredAtUtc, other.OccurredAtUtc)) return false; if (Channel != other.Channel) return false; if (Kind != other.Kind) return false; if (CorrelationId != other.CorrelationId) return false; if (SourceSiteId != other.SourceSiteId) return false; if (SourceInstanceId != other.SourceInstanceId) return false; if (SourceScript != other.SourceScript) return false; if (Actor != other.Actor) return false; if (Target != other.Target) return false; if (Status != other.Status) return false; if (HttpStatus != other.HttpStatus) return false; if (DurationMs != other.DurationMs) return false; if (ErrorMessage != other.ErrorMessage) return false; if (ErrorDetail != other.ErrorDetail) return false; if (RequestSummary != other.RequestSummary) return false; if (ResponseSummary != other.ResponseSummary) return false; if (PayloadTruncated != other.PayloadTruncated) return false; if (Extra != other.Extra) return false; if (ExecutionId != other.ExecutionId) return false; return Equals(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; if (EventId.Length != 0) hash ^= EventId.GetHashCode(); if (occurredAtUtc_ != null) hash ^= OccurredAtUtc.GetHashCode(); if (Channel.Length != 0) hash ^= Channel.GetHashCode(); if (Kind.Length != 0) hash ^= Kind.GetHashCode(); if (CorrelationId.Length != 0) hash ^= CorrelationId.GetHashCode(); if (SourceSiteId.Length != 0) hash ^= SourceSiteId.GetHashCode(); if (SourceInstanceId.Length != 0) hash ^= SourceInstanceId.GetHashCode(); if (SourceScript.Length != 0) hash ^= SourceScript.GetHashCode(); if (Actor.Length != 0) hash ^= Actor.GetHashCode(); if (Target.Length != 0) hash ^= Target.GetHashCode(); if (Status.Length != 0) hash ^= Status.GetHashCode(); if (httpStatus_ != null) hash ^= HttpStatus.GetHashCode(); if (durationMs_ != null) hash ^= DurationMs.GetHashCode(); if (ErrorMessage.Length != 0) hash ^= ErrorMessage.GetHashCode(); if (ErrorDetail.Length != 0) hash ^= ErrorDetail.GetHashCode(); if (RequestSummary.Length != 0) hash ^= RequestSummary.GetHashCode(); if (ResponseSummary.Length != 0) hash ^= ResponseSummary.GetHashCode(); if (PayloadTruncated != false) hash ^= PayloadTruncated.GetHashCode(); if (Extra.Length != 0) hash ^= Extra.GetHashCode(); if (ExecutionId.Length != 0) hash ^= ExecutionId.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return hash; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else if (EventId.Length != 0) { output.WriteRawTag(10); output.WriteString(EventId); } if (occurredAtUtc_ != null) { output.WriteRawTag(18); output.WriteMessage(OccurredAtUtc); } if (Channel.Length != 0) { output.WriteRawTag(26); output.WriteString(Channel); } if (Kind.Length != 0) { output.WriteRawTag(34); output.WriteString(Kind); } if (CorrelationId.Length != 0) { output.WriteRawTag(42); output.WriteString(CorrelationId); } if (SourceSiteId.Length != 0) { output.WriteRawTag(50); output.WriteString(SourceSiteId); } if (SourceInstanceId.Length != 0) { output.WriteRawTag(58); output.WriteString(SourceInstanceId); } if (SourceScript.Length != 0) { output.WriteRawTag(66); output.WriteString(SourceScript); } if (Actor.Length != 0) { output.WriteRawTag(74); output.WriteString(Actor); } if (Target.Length != 0) { output.WriteRawTag(82); output.WriteString(Target); } if (Status.Length != 0) { output.WriteRawTag(90); output.WriteString(Status); } if (httpStatus_ != null) { _single_httpStatus_codec.WriteTagAndValue(output, HttpStatus); } if (durationMs_ != null) { _single_durationMs_codec.WriteTagAndValue(output, DurationMs); } if (ErrorMessage.Length != 0) { output.WriteRawTag(114); output.WriteString(ErrorMessage); } if (ErrorDetail.Length != 0) { output.WriteRawTag(122); output.WriteString(ErrorDetail); } if (RequestSummary.Length != 0) { output.WriteRawTag(130, 1); output.WriteString(RequestSummary); } if (ResponseSummary.Length != 0) { output.WriteRawTag(138, 1); output.WriteString(ResponseSummary); } if (PayloadTruncated != false) { output.WriteRawTag(144, 1); output.WriteBool(PayloadTruncated); } if (Extra.Length != 0) { output.WriteRawTag(154, 1); output.WriteString(Extra); } if (ExecutionId.Length != 0) { output.WriteRawTag(162, 1); output.WriteString(ExecutionId); } if (_unknownFields != null) { _unknownFields.WriteTo(output); } #endif } #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { if (EventId.Length != 0) { output.WriteRawTag(10); output.WriteString(EventId); } if (occurredAtUtc_ != null) { output.WriteRawTag(18); output.WriteMessage(OccurredAtUtc); } if (Channel.Length != 0) { output.WriteRawTag(26); output.WriteString(Channel); } if (Kind.Length != 0) { output.WriteRawTag(34); output.WriteString(Kind); } if (CorrelationId.Length != 0) { output.WriteRawTag(42); output.WriteString(CorrelationId); } if (SourceSiteId.Length != 0) { output.WriteRawTag(50); output.WriteString(SourceSiteId); } if (SourceInstanceId.Length != 0) { output.WriteRawTag(58); output.WriteString(SourceInstanceId); } if (SourceScript.Length != 0) { output.WriteRawTag(66); output.WriteString(SourceScript); } if (Actor.Length != 0) { output.WriteRawTag(74); output.WriteString(Actor); } if (Target.Length != 0) { output.WriteRawTag(82); output.WriteString(Target); } if (Status.Length != 0) { output.WriteRawTag(90); output.WriteString(Status); } if (httpStatus_ != null) { _single_httpStatus_codec.WriteTagAndValue(ref output, HttpStatus); } if (durationMs_ != null) { _single_durationMs_codec.WriteTagAndValue(ref output, DurationMs); } if (ErrorMessage.Length != 0) { output.WriteRawTag(114); output.WriteString(ErrorMessage); } if (ErrorDetail.Length != 0) { output.WriteRawTag(122); output.WriteString(ErrorDetail); } if (RequestSummary.Length != 0) { output.WriteRawTag(130, 1); output.WriteString(RequestSummary); } if (ResponseSummary.Length != 0) { output.WriteRawTag(138, 1); output.WriteString(ResponseSummary); } if (PayloadTruncated != false) { output.WriteRawTag(144, 1); output.WriteBool(PayloadTruncated); } if (Extra.Length != 0) { output.WriteRawTag(154, 1); output.WriteString(Extra); } if (ExecutionId.Length != 0) { output.WriteRawTag(162, 1); output.WriteString(ExecutionId); } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } } #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; if (EventId.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(EventId); } if (occurredAtUtc_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(OccurredAtUtc); } if (Channel.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Channel); } if (Kind.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Kind); } if (CorrelationId.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(CorrelationId); } if (SourceSiteId.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(SourceSiteId); } if (SourceInstanceId.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(SourceInstanceId); } if (SourceScript.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(SourceScript); } if (Actor.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Actor); } if (Target.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Target); } if (Status.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Status); } if (httpStatus_ != null) { size += _single_httpStatus_codec.CalculateSizeWithTag(HttpStatus); } if (durationMs_ != null) { size += _single_durationMs_codec.CalculateSizeWithTag(DurationMs); } if (ErrorMessage.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(ErrorMessage); } if (ErrorDetail.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(ErrorDetail); } if (RequestSummary.Length != 0) { size += 2 + pb::CodedOutputStream.ComputeStringSize(RequestSummary); } if (ResponseSummary.Length != 0) { size += 2 + pb::CodedOutputStream.ComputeStringSize(ResponseSummary); } if (PayloadTruncated != false) { size += 2 + 1; } if (Extra.Length != 0) { size += 2 + pb::CodedOutputStream.ComputeStringSize(Extra); } if (ExecutionId.Length != 0) { size += 2 + pb::CodedOutputStream.ComputeStringSize(ExecutionId); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(AuditEventDto other) { if (other == null) { return; } if (other.EventId.Length != 0) { EventId = other.EventId; } if (other.occurredAtUtc_ != null) { if (occurredAtUtc_ == null) { OccurredAtUtc = new global::Google.Protobuf.WellKnownTypes.Timestamp(); } OccurredAtUtc.MergeFrom(other.OccurredAtUtc); } if (other.Channel.Length != 0) { Channel = other.Channel; } if (other.Kind.Length != 0) { Kind = other.Kind; } if (other.CorrelationId.Length != 0) { CorrelationId = other.CorrelationId; } if (other.SourceSiteId.Length != 0) { SourceSiteId = other.SourceSiteId; } if (other.SourceInstanceId.Length != 0) { SourceInstanceId = other.SourceInstanceId; } if (other.SourceScript.Length != 0) { SourceScript = other.SourceScript; } if (other.Actor.Length != 0) { Actor = other.Actor; } if (other.Target.Length != 0) { Target = other.Target; } if (other.Status.Length != 0) { Status = other.Status; } if (other.httpStatus_ != null) { if (httpStatus_ == null || other.HttpStatus != 0) { HttpStatus = other.HttpStatus; } } if (other.durationMs_ != null) { if (durationMs_ == null || other.DurationMs != 0) { DurationMs = other.DurationMs; } } if (other.ErrorMessage.Length != 0) { ErrorMessage = other.ErrorMessage; } if (other.ErrorDetail.Length != 0) { ErrorDetail = other.ErrorDetail; } if (other.RequestSummary.Length != 0) { RequestSummary = other.RequestSummary; } if (other.ResponseSummary.Length != 0) { ResponseSummary = other.ResponseSummary; } if (other.PayloadTruncated != false) { PayloadTruncated = other.PayloadTruncated; } if (other.Extra.Length != 0) { Extra = other.Extra; } if (other.ExecutionId.Length != 0) { ExecutionId = other.ExecutionId; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE input.ReadRawMessage(this); #else uint tag; while ((tag = input.ReadTag()) != 0) { if ((tag & 7) == 4) { // Abort on any end group tag. return; } switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { EventId = input.ReadString(); break; } case 18: { if (occurredAtUtc_ == null) { OccurredAtUtc = new global::Google.Protobuf.WellKnownTypes.Timestamp(); } input.ReadMessage(OccurredAtUtc); break; } case 26: { Channel = input.ReadString(); break; } case 34: { Kind = input.ReadString(); break; } case 42: { CorrelationId = input.ReadString(); break; } case 50: { SourceSiteId = input.ReadString(); break; } case 58: { SourceInstanceId = input.ReadString(); break; } case 66: { SourceScript = input.ReadString(); break; } case 74: { Actor = input.ReadString(); break; } case 82: { Target = input.ReadString(); break; } case 90: { Status = input.ReadString(); break; } case 98: { int? value = _single_httpStatus_codec.Read(input); if (httpStatus_ == null || value != 0) { HttpStatus = value; } break; } case 106: { int? value = _single_durationMs_codec.Read(input); if (durationMs_ == null || value != 0) { DurationMs = value; } break; } case 114: { ErrorMessage = input.ReadString(); break; } case 122: { ErrorDetail = input.ReadString(); break; } case 130: { RequestSummary = input.ReadString(); break; } case 138: { ResponseSummary = input.ReadString(); break; } case 144: { PayloadTruncated = input.ReadBool(); break; } case 154: { Extra = input.ReadString(); break; } case 162: { ExecutionId = input.ReadString(); break; } } } #endif } #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { uint tag; while ((tag = input.ReadTag()) != 0) { if ((tag & 7) == 4) { // Abort on any end group tag. return; } switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 10: { EventId = input.ReadString(); break; } case 18: { if (occurredAtUtc_ == null) { OccurredAtUtc = new global::Google.Protobuf.WellKnownTypes.Timestamp(); } input.ReadMessage(OccurredAtUtc); break; } case 26: { Channel = input.ReadString(); break; } case 34: { Kind = input.ReadString(); break; } case 42: { CorrelationId = input.ReadString(); break; } case 50: { SourceSiteId = input.ReadString(); break; } case 58: { SourceInstanceId = input.ReadString(); break; } case 66: { SourceScript = input.ReadString(); break; } case 74: { Actor = input.ReadString(); break; } case 82: { Target = input.ReadString(); break; } case 90: { Status = input.ReadString(); break; } case 98: { int? value = _single_httpStatus_codec.Read(ref input); if (httpStatus_ == null || value != 0) { HttpStatus = value; } break; } case 106: { int? value = _single_durationMs_codec.Read(ref input); if (durationMs_ == null || value != 0) { DurationMs = value; } break; } case 114: { ErrorMessage = input.ReadString(); break; } case 122: { ErrorDetail = input.ReadString(); break; } case 130: { RequestSummary = input.ReadString(); break; } case 138: { ResponseSummary = input.ReadString(); break; } case 144: { PayloadTruncated = input.ReadBool(); break; } case 154: { Extra = input.ReadString(); break; } case 162: { ExecutionId = input.ReadString(); break; } } } } #endif } [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class AuditEventBatch : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AuditEventBatch()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::ScadaLink.Communication.Grpc.SitestreamReflection.Descriptor.MessageTypes[5]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public AuditEventBatch() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public AuditEventBatch(AuditEventBatch other) : this() { events_ = other.events_.Clone(); _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public AuditEventBatch Clone() { return new AuditEventBatch(this); } /// Field number for the "events" field. public const int EventsFieldNumber = 1; private static readonly pb::FieldCodec _repeated_events_codec = pb::FieldCodec.ForMessage(10, global::ScadaLink.Communication.Grpc.AuditEventDto.Parser); private readonly pbc::RepeatedField events_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField Events { get { return events_; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as AuditEventBatch); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(AuditEventBatch other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if(!events_.Equals(other.events_)) return false; return Equals(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; hash ^= events_.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return hash; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else events_.WriteTo(output, _repeated_events_codec); if (_unknownFields != null) { _unknownFields.WriteTo(output); } #endif } #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { events_.WriteTo(ref output, _repeated_events_codec); if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } } #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; size += events_.CalculateSize(_repeated_events_codec); if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(AuditEventBatch other) { if (other == null) { return; } events_.Add(other.events_); _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE input.ReadRawMessage(this); #else uint tag; while ((tag = input.ReadTag()) != 0) { if ((tag & 7) == 4) { // Abort on any end group tag. return; } switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { events_.AddEntriesFrom(input, _repeated_events_codec); break; } } } #endif } #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { uint tag; while ((tag = input.ReadTag()) != 0) { if ((tag & 7) == 4) { // Abort on any end group tag. return; } switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 10: { events_.AddEntriesFrom(ref input, _repeated_events_codec); break; } } } } #endif } [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class IngestAck : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new IngestAck()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::ScadaLink.Communication.Grpc.SitestreamReflection.Descriptor.MessageTypes[6]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public IngestAck() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public IngestAck(IngestAck other) : this() { acceptedEventIds_ = other.acceptedEventIds_.Clone(); _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public IngestAck Clone() { return new IngestAck(this); } /// Field number for the "accepted_event_ids" field. public const int AcceptedEventIdsFieldNumber = 1; private static readonly pb::FieldCodec _repeated_acceptedEventIds_codec = pb::FieldCodec.ForString(10); private readonly pbc::RepeatedField acceptedEventIds_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField AcceptedEventIds { get { return acceptedEventIds_; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as IngestAck); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(IngestAck other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if(!acceptedEventIds_.Equals(other.acceptedEventIds_)) return false; return Equals(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; hash ^= acceptedEventIds_.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return hash; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else acceptedEventIds_.WriteTo(output, _repeated_acceptedEventIds_codec); if (_unknownFields != null) { _unknownFields.WriteTo(output); } #endif } #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { acceptedEventIds_.WriteTo(ref output, _repeated_acceptedEventIds_codec); if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } } #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; size += acceptedEventIds_.CalculateSize(_repeated_acceptedEventIds_codec); if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(IngestAck other) { if (other == null) { return; } acceptedEventIds_.Add(other.acceptedEventIds_); _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE input.ReadRawMessage(this); #else uint tag; while ((tag = input.ReadTag()) != 0) { if ((tag & 7) == 4) { // Abort on any end group tag. return; } switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { acceptedEventIds_.AddEntriesFrom(input, _repeated_acceptedEventIds_codec); break; } } } #endif } #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { uint tag; while ((tag = input.ReadTag()) != 0) { if ((tag & 7) == 4) { // Abort on any end group tag. return; } switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 10: { acceptedEventIds_.AddEntriesFrom(ref input, _repeated_acceptedEventIds_codec); break; } } } } #endif } /// /// Audit Log (#23) M3 cached-call combined telemetry: a single packet carries /// both the AuditEvent row to insert and the SiteCalls operational-state upsert /// for one lifecycle event of a cached outbound call. Central writes both rows /// in one MS SQL transaction so the audit and operational mirrors never drift. /// [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class SiteCallOperationalDto : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SiteCallOperationalDto()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::ScadaLink.Communication.Grpc.SitestreamReflection.Descriptor.MessageTypes[7]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public SiteCallOperationalDto() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public SiteCallOperationalDto(SiteCallOperationalDto other) : this() { trackedOperationId_ = other.trackedOperationId_; channel_ = other.channel_; target_ = other.target_; sourceSite_ = other.sourceSite_; status_ = other.status_; retryCount_ = other.retryCount_; lastError_ = other.lastError_; HttpStatus = other.HttpStatus; createdAtUtc_ = other.createdAtUtc_ != null ? other.createdAtUtc_.Clone() : null; updatedAtUtc_ = other.updatedAtUtc_ != null ? other.updatedAtUtc_.Clone() : null; terminalAtUtc_ = other.terminalAtUtc_ != null ? other.terminalAtUtc_.Clone() : null; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public SiteCallOperationalDto Clone() { return new SiteCallOperationalDto(this); } /// Field number for the "tracked_operation_id" field. public const int TrackedOperationIdFieldNumber = 1; private string trackedOperationId_ = ""; /// /// GUID string ("D" format) /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string TrackedOperationId { get { return trackedOperationId_; } set { trackedOperationId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "channel" field. public const int ChannelFieldNumber = 2; private string channel_ = ""; /// /// "ApiOutbound" | "DbOutbound" /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Channel { get { return channel_; } set { channel_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "target" field. public const int TargetFieldNumber = 3; private string target_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Target { get { return target_; } set { target_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "source_site" field. public const int SourceSiteFieldNumber = 4; private string sourceSite_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string SourceSite { get { return sourceSite_; } set { sourceSite_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "status" field. public const int StatusFieldNumber = 5; private string status_ = ""; /// /// AuditStatus name /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Status { get { return status_; } set { status_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "retry_count" field. public const int RetryCountFieldNumber = 6; private int retryCount_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int RetryCount { get { return retryCount_; } set { retryCount_ = value; } } /// Field number for the "last_error" field. public const int LastErrorFieldNumber = 7; private string lastError_ = ""; /// /// empty when null /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string LastError { get { return lastError_; } set { lastError_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "http_status" field. public const int HttpStatusFieldNumber = 8; private static readonly pb::FieldCodec _single_httpStatus_codec = pb::FieldCodec.ForStructWrapper(66); private int? httpStatus_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int? HttpStatus { get { return httpStatus_; } set { httpStatus_ = value; } } /// Field number for the "created_at_utc" field. public const int CreatedAtUtcFieldNumber = 9; private global::Google.Protobuf.WellKnownTypes.Timestamp createdAtUtc_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Google.Protobuf.WellKnownTypes.Timestamp CreatedAtUtc { get { return createdAtUtc_; } set { createdAtUtc_ = value; } } /// Field number for the "updated_at_utc" field. public const int UpdatedAtUtcFieldNumber = 10; private global::Google.Protobuf.WellKnownTypes.Timestamp updatedAtUtc_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Google.Protobuf.WellKnownTypes.Timestamp UpdatedAtUtc { get { return updatedAtUtc_; } set { updatedAtUtc_ = value; } } /// Field number for the "terminal_at_utc" field. public const int TerminalAtUtcFieldNumber = 11; private global::Google.Protobuf.WellKnownTypes.Timestamp terminalAtUtc_; /// /// absent when not terminal /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Google.Protobuf.WellKnownTypes.Timestamp TerminalAtUtc { get { return terminalAtUtc_; } set { terminalAtUtc_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as SiteCallOperationalDto); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(SiteCallOperationalDto other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (TrackedOperationId != other.TrackedOperationId) return false; if (Channel != other.Channel) return false; if (Target != other.Target) return false; if (SourceSite != other.SourceSite) return false; if (Status != other.Status) return false; if (RetryCount != other.RetryCount) return false; if (LastError != other.LastError) return false; if (HttpStatus != other.HttpStatus) return false; if (!object.Equals(CreatedAtUtc, other.CreatedAtUtc)) return false; if (!object.Equals(UpdatedAtUtc, other.UpdatedAtUtc)) return false; if (!object.Equals(TerminalAtUtc, other.TerminalAtUtc)) return false; return Equals(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; if (TrackedOperationId.Length != 0) hash ^= TrackedOperationId.GetHashCode(); if (Channel.Length != 0) hash ^= Channel.GetHashCode(); if (Target.Length != 0) hash ^= Target.GetHashCode(); if (SourceSite.Length != 0) hash ^= SourceSite.GetHashCode(); if (Status.Length != 0) hash ^= Status.GetHashCode(); if (RetryCount != 0) hash ^= RetryCount.GetHashCode(); if (LastError.Length != 0) hash ^= LastError.GetHashCode(); if (httpStatus_ != null) hash ^= HttpStatus.GetHashCode(); if (createdAtUtc_ != null) hash ^= CreatedAtUtc.GetHashCode(); if (updatedAtUtc_ != null) hash ^= UpdatedAtUtc.GetHashCode(); if (terminalAtUtc_ != null) hash ^= TerminalAtUtc.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return hash; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else if (TrackedOperationId.Length != 0) { output.WriteRawTag(10); output.WriteString(TrackedOperationId); } if (Channel.Length != 0) { output.WriteRawTag(18); output.WriteString(Channel); } if (Target.Length != 0) { output.WriteRawTag(26); output.WriteString(Target); } if (SourceSite.Length != 0) { output.WriteRawTag(34); output.WriteString(SourceSite); } if (Status.Length != 0) { output.WriteRawTag(42); output.WriteString(Status); } if (RetryCount != 0) { output.WriteRawTag(48); output.WriteInt32(RetryCount); } if (LastError.Length != 0) { output.WriteRawTag(58); output.WriteString(LastError); } if (httpStatus_ != null) { _single_httpStatus_codec.WriteTagAndValue(output, HttpStatus); } if (createdAtUtc_ != null) { output.WriteRawTag(74); output.WriteMessage(CreatedAtUtc); } if (updatedAtUtc_ != null) { output.WriteRawTag(82); output.WriteMessage(UpdatedAtUtc); } if (terminalAtUtc_ != null) { output.WriteRawTag(90); output.WriteMessage(TerminalAtUtc); } if (_unknownFields != null) { _unknownFields.WriteTo(output); } #endif } #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { if (TrackedOperationId.Length != 0) { output.WriteRawTag(10); output.WriteString(TrackedOperationId); } if (Channel.Length != 0) { output.WriteRawTag(18); output.WriteString(Channel); } if (Target.Length != 0) { output.WriteRawTag(26); output.WriteString(Target); } if (SourceSite.Length != 0) { output.WriteRawTag(34); output.WriteString(SourceSite); } if (Status.Length != 0) { output.WriteRawTag(42); output.WriteString(Status); } if (RetryCount != 0) { output.WriteRawTag(48); output.WriteInt32(RetryCount); } if (LastError.Length != 0) { output.WriteRawTag(58); output.WriteString(LastError); } if (httpStatus_ != null) { _single_httpStatus_codec.WriteTagAndValue(ref output, HttpStatus); } if (createdAtUtc_ != null) { output.WriteRawTag(74); output.WriteMessage(CreatedAtUtc); } if (updatedAtUtc_ != null) { output.WriteRawTag(82); output.WriteMessage(UpdatedAtUtc); } if (terminalAtUtc_ != null) { output.WriteRawTag(90); output.WriteMessage(TerminalAtUtc); } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } } #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; if (TrackedOperationId.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(TrackedOperationId); } if (Channel.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Channel); } if (Target.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Target); } if (SourceSite.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(SourceSite); } if (Status.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Status); } if (RetryCount != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(RetryCount); } if (LastError.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(LastError); } if (httpStatus_ != null) { size += _single_httpStatus_codec.CalculateSizeWithTag(HttpStatus); } if (createdAtUtc_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(CreatedAtUtc); } if (updatedAtUtc_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(UpdatedAtUtc); } if (terminalAtUtc_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(TerminalAtUtc); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(SiteCallOperationalDto other) { if (other == null) { return; } if (other.TrackedOperationId.Length != 0) { TrackedOperationId = other.TrackedOperationId; } if (other.Channel.Length != 0) { Channel = other.Channel; } if (other.Target.Length != 0) { Target = other.Target; } if (other.SourceSite.Length != 0) { SourceSite = other.SourceSite; } if (other.Status.Length != 0) { Status = other.Status; } if (other.RetryCount != 0) { RetryCount = other.RetryCount; } if (other.LastError.Length != 0) { LastError = other.LastError; } if (other.httpStatus_ != null) { if (httpStatus_ == null || other.HttpStatus != 0) { HttpStatus = other.HttpStatus; } } if (other.createdAtUtc_ != null) { if (createdAtUtc_ == null) { CreatedAtUtc = new global::Google.Protobuf.WellKnownTypes.Timestamp(); } CreatedAtUtc.MergeFrom(other.CreatedAtUtc); } if (other.updatedAtUtc_ != null) { if (updatedAtUtc_ == null) { UpdatedAtUtc = new global::Google.Protobuf.WellKnownTypes.Timestamp(); } UpdatedAtUtc.MergeFrom(other.UpdatedAtUtc); } if (other.terminalAtUtc_ != null) { if (terminalAtUtc_ == null) { TerminalAtUtc = new global::Google.Protobuf.WellKnownTypes.Timestamp(); } TerminalAtUtc.MergeFrom(other.TerminalAtUtc); } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE input.ReadRawMessage(this); #else uint tag; while ((tag = input.ReadTag()) != 0) { if ((tag & 7) == 4) { // Abort on any end group tag. return; } switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { TrackedOperationId = input.ReadString(); break; } case 18: { Channel = input.ReadString(); break; } case 26: { Target = input.ReadString(); break; } case 34: { SourceSite = input.ReadString(); break; } case 42: { Status = input.ReadString(); break; } case 48: { RetryCount = input.ReadInt32(); break; } case 58: { LastError = input.ReadString(); break; } case 66: { int? value = _single_httpStatus_codec.Read(input); if (httpStatus_ == null || value != 0) { HttpStatus = value; } break; } case 74: { if (createdAtUtc_ == null) { CreatedAtUtc = new global::Google.Protobuf.WellKnownTypes.Timestamp(); } input.ReadMessage(CreatedAtUtc); break; } case 82: { if (updatedAtUtc_ == null) { UpdatedAtUtc = new global::Google.Protobuf.WellKnownTypes.Timestamp(); } input.ReadMessage(UpdatedAtUtc); break; } case 90: { if (terminalAtUtc_ == null) { TerminalAtUtc = new global::Google.Protobuf.WellKnownTypes.Timestamp(); } input.ReadMessage(TerminalAtUtc); break; } } } #endif } #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { uint tag; while ((tag = input.ReadTag()) != 0) { if ((tag & 7) == 4) { // Abort on any end group tag. return; } switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 10: { TrackedOperationId = input.ReadString(); break; } case 18: { Channel = input.ReadString(); break; } case 26: { Target = input.ReadString(); break; } case 34: { SourceSite = input.ReadString(); break; } case 42: { Status = input.ReadString(); break; } case 48: { RetryCount = input.ReadInt32(); break; } case 58: { LastError = input.ReadString(); break; } case 66: { int? value = _single_httpStatus_codec.Read(ref input); if (httpStatus_ == null || value != 0) { HttpStatus = value; } break; } case 74: { if (createdAtUtc_ == null) { CreatedAtUtc = new global::Google.Protobuf.WellKnownTypes.Timestamp(); } input.ReadMessage(CreatedAtUtc); break; } case 82: { if (updatedAtUtc_ == null) { UpdatedAtUtc = new global::Google.Protobuf.WellKnownTypes.Timestamp(); } input.ReadMessage(UpdatedAtUtc); break; } case 90: { if (terminalAtUtc_ == null) { TerminalAtUtc = new global::Google.Protobuf.WellKnownTypes.Timestamp(); } input.ReadMessage(TerminalAtUtc); break; } } } } #endif } [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class CachedTelemetryPacket : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CachedTelemetryPacket()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::ScadaLink.Communication.Grpc.SitestreamReflection.Descriptor.MessageTypes[8]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public CachedTelemetryPacket() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public CachedTelemetryPacket(CachedTelemetryPacket other) : this() { auditEvent_ = other.auditEvent_ != null ? other.auditEvent_.Clone() : null; operational_ = other.operational_ != null ? other.operational_.Clone() : null; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public CachedTelemetryPacket Clone() { return new CachedTelemetryPacket(this); } /// Field number for the "audit_event" field. public const int AuditEventFieldNumber = 1; private global::ScadaLink.Communication.Grpc.AuditEventDto auditEvent_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::ScadaLink.Communication.Grpc.AuditEventDto AuditEvent { get { return auditEvent_; } set { auditEvent_ = value; } } /// Field number for the "operational" field. public const int OperationalFieldNumber = 2; private global::ScadaLink.Communication.Grpc.SiteCallOperationalDto operational_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::ScadaLink.Communication.Grpc.SiteCallOperationalDto Operational { get { return operational_; } set { operational_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as CachedTelemetryPacket); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(CachedTelemetryPacket other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (!object.Equals(AuditEvent, other.AuditEvent)) return false; if (!object.Equals(Operational, other.Operational)) return false; return Equals(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; if (auditEvent_ != null) hash ^= AuditEvent.GetHashCode(); if (operational_ != null) hash ^= Operational.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return hash; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else if (auditEvent_ != null) { output.WriteRawTag(10); output.WriteMessage(AuditEvent); } if (operational_ != null) { output.WriteRawTag(18); output.WriteMessage(Operational); } if (_unknownFields != null) { _unknownFields.WriteTo(output); } #endif } #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { if (auditEvent_ != null) { output.WriteRawTag(10); output.WriteMessage(AuditEvent); } if (operational_ != null) { output.WriteRawTag(18); output.WriteMessage(Operational); } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } } #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; if (auditEvent_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(AuditEvent); } if (operational_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(Operational); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(CachedTelemetryPacket other) { if (other == null) { return; } if (other.auditEvent_ != null) { if (auditEvent_ == null) { AuditEvent = new global::ScadaLink.Communication.Grpc.AuditEventDto(); } AuditEvent.MergeFrom(other.AuditEvent); } if (other.operational_ != null) { if (operational_ == null) { Operational = new global::ScadaLink.Communication.Grpc.SiteCallOperationalDto(); } Operational.MergeFrom(other.Operational); } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE input.ReadRawMessage(this); #else uint tag; while ((tag = input.ReadTag()) != 0) { if ((tag & 7) == 4) { // Abort on any end group tag. return; } switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { if (auditEvent_ == null) { AuditEvent = new global::ScadaLink.Communication.Grpc.AuditEventDto(); } input.ReadMessage(AuditEvent); break; } case 18: { if (operational_ == null) { Operational = new global::ScadaLink.Communication.Grpc.SiteCallOperationalDto(); } input.ReadMessage(Operational); break; } } } #endif } #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { uint tag; while ((tag = input.ReadTag()) != 0) { if ((tag & 7) == 4) { // Abort on any end group tag. return; } switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 10: { if (auditEvent_ == null) { AuditEvent = new global::ScadaLink.Communication.Grpc.AuditEventDto(); } input.ReadMessage(AuditEvent); break; } case 18: { if (operational_ == null) { Operational = new global::ScadaLink.Communication.Grpc.SiteCallOperationalDto(); } input.ReadMessage(Operational); break; } } } } #endif } [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class CachedTelemetryBatch : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CachedTelemetryBatch()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::ScadaLink.Communication.Grpc.SitestreamReflection.Descriptor.MessageTypes[9]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public CachedTelemetryBatch() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public CachedTelemetryBatch(CachedTelemetryBatch other) : this() { packets_ = other.packets_.Clone(); _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public CachedTelemetryBatch Clone() { return new CachedTelemetryBatch(this); } /// Field number for the "packets" field. public const int PacketsFieldNumber = 1; private static readonly pb::FieldCodec _repeated_packets_codec = pb::FieldCodec.ForMessage(10, global::ScadaLink.Communication.Grpc.CachedTelemetryPacket.Parser); private readonly pbc::RepeatedField packets_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField Packets { get { return packets_; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as CachedTelemetryBatch); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(CachedTelemetryBatch other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if(!packets_.Equals(other.packets_)) return false; return Equals(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; hash ^= packets_.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return hash; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else packets_.WriteTo(output, _repeated_packets_codec); if (_unknownFields != null) { _unknownFields.WriteTo(output); } #endif } #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { packets_.WriteTo(ref output, _repeated_packets_codec); if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } } #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; size += packets_.CalculateSize(_repeated_packets_codec); if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(CachedTelemetryBatch other) { if (other == null) { return; } packets_.Add(other.packets_); _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE input.ReadRawMessage(this); #else uint tag; while ((tag = input.ReadTag()) != 0) { if ((tag & 7) == 4) { // Abort on any end group tag. return; } switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { packets_.AddEntriesFrom(input, _repeated_packets_codec); break; } } } #endif } #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { uint tag; while ((tag = input.ReadTag()) != 0) { if ((tag & 7) == 4) { // Abort on any end group tag. return; } switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 10: { packets_.AddEntriesFrom(ref input, _repeated_packets_codec); break; } } } } #endif } /// /// Audit Log (#23) M6 reconciliation pull: central→site request for any /// site-local AuditLog rows with OccurredAtUtc >= since_utc that have not yet /// been ingested centrally (ForwardState in {Pending, Forwarded}). The site /// flips returned rows to Reconciled after the response is on the wire. /// more_available signals batch_size was saturated so the caller knows to /// issue a follow-up pull with an advanced since_utc cursor. /// [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class PullAuditEventsRequest : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new PullAuditEventsRequest()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::ScadaLink.Communication.Grpc.SitestreamReflection.Descriptor.MessageTypes[10]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public PullAuditEventsRequest() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public PullAuditEventsRequest(PullAuditEventsRequest other) : this() { sinceUtc_ = other.sinceUtc_ != null ? other.sinceUtc_.Clone() : null; batchSize_ = other.batchSize_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public PullAuditEventsRequest Clone() { return new PullAuditEventsRequest(this); } /// Field number for the "since_utc" field. public const int SinceUtcFieldNumber = 1; private global::Google.Protobuf.WellKnownTypes.Timestamp sinceUtc_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Google.Protobuf.WellKnownTypes.Timestamp SinceUtc { get { return sinceUtc_; } set { sinceUtc_ = value; } } /// Field number for the "batch_size" field. public const int BatchSizeFieldNumber = 2; private int batchSize_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int BatchSize { get { return batchSize_; } set { batchSize_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as PullAuditEventsRequest); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(PullAuditEventsRequest other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (!object.Equals(SinceUtc, other.SinceUtc)) return false; if (BatchSize != other.BatchSize) return false; return Equals(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; if (sinceUtc_ != null) hash ^= SinceUtc.GetHashCode(); if (BatchSize != 0) hash ^= BatchSize.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return hash; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else if (sinceUtc_ != null) { output.WriteRawTag(10); output.WriteMessage(SinceUtc); } if (BatchSize != 0) { output.WriteRawTag(16); output.WriteInt32(BatchSize); } if (_unknownFields != null) { _unknownFields.WriteTo(output); } #endif } #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { if (sinceUtc_ != null) { output.WriteRawTag(10); output.WriteMessage(SinceUtc); } if (BatchSize != 0) { output.WriteRawTag(16); output.WriteInt32(BatchSize); } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } } #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; if (sinceUtc_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(SinceUtc); } if (BatchSize != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(BatchSize); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(PullAuditEventsRequest other) { if (other == null) { return; } if (other.sinceUtc_ != null) { if (sinceUtc_ == null) { SinceUtc = new global::Google.Protobuf.WellKnownTypes.Timestamp(); } SinceUtc.MergeFrom(other.SinceUtc); } if (other.BatchSize != 0) { BatchSize = other.BatchSize; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE input.ReadRawMessage(this); #else uint tag; while ((tag = input.ReadTag()) != 0) { if ((tag & 7) == 4) { // Abort on any end group tag. return; } switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { if (sinceUtc_ == null) { SinceUtc = new global::Google.Protobuf.WellKnownTypes.Timestamp(); } input.ReadMessage(SinceUtc); break; } case 16: { BatchSize = input.ReadInt32(); break; } } } #endif } #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { uint tag; while ((tag = input.ReadTag()) != 0) { if ((tag & 7) == 4) { // Abort on any end group tag. return; } switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 10: { if (sinceUtc_ == null) { SinceUtc = new global::Google.Protobuf.WellKnownTypes.Timestamp(); } input.ReadMessage(SinceUtc); break; } case 16: { BatchSize = input.ReadInt32(); break; } } } } #endif } [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class PullAuditEventsResponse : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new PullAuditEventsResponse()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::ScadaLink.Communication.Grpc.SitestreamReflection.Descriptor.MessageTypes[11]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public PullAuditEventsResponse() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public PullAuditEventsResponse(PullAuditEventsResponse other) : this() { events_ = other.events_.Clone(); moreAvailable_ = other.moreAvailable_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public PullAuditEventsResponse Clone() { return new PullAuditEventsResponse(this); } /// Field number for the "events" field. public const int EventsFieldNumber = 1; private static readonly pb::FieldCodec _repeated_events_codec = pb::FieldCodec.ForMessage(10, global::ScadaLink.Communication.Grpc.AuditEventDto.Parser); private readonly pbc::RepeatedField events_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField Events { get { return events_; } } /// Field number for the "more_available" field. public const int MoreAvailableFieldNumber = 2; private bool moreAvailable_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool MoreAvailable { get { return moreAvailable_; } set { moreAvailable_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as PullAuditEventsResponse); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(PullAuditEventsResponse other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if(!events_.Equals(other.events_)) return false; if (MoreAvailable != other.MoreAvailable) return false; return Equals(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; hash ^= events_.GetHashCode(); if (MoreAvailable != false) hash ^= MoreAvailable.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return hash; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else events_.WriteTo(output, _repeated_events_codec); if (MoreAvailable != false) { output.WriteRawTag(16); output.WriteBool(MoreAvailable); } if (_unknownFields != null) { _unknownFields.WriteTo(output); } #endif } #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { events_.WriteTo(ref output, _repeated_events_codec); if (MoreAvailable != false) { output.WriteRawTag(16); output.WriteBool(MoreAvailable); } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } } #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; size += events_.CalculateSize(_repeated_events_codec); if (MoreAvailable != false) { size += 1 + 1; } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(PullAuditEventsResponse other) { if (other == null) { return; } events_.Add(other.events_); if (other.MoreAvailable != false) { MoreAvailable = other.MoreAvailable; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE input.ReadRawMessage(this); #else uint tag; while ((tag = input.ReadTag()) != 0) { if ((tag & 7) == 4) { // Abort on any end group tag. return; } switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { events_.AddEntriesFrom(input, _repeated_events_codec); break; } case 16: { MoreAvailable = input.ReadBool(); break; } } } #endif } #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { uint tag; while ((tag = input.ReadTag()) != 0) { if ((tag & 7) == 4) { // Abort on any end group tag. return; } switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 10: { events_.AddEntriesFrom(ref input, _repeated_events_codec); break; } case 16: { MoreAvailable = input.ReadBool(); break; } } } } #endif } #endregion } #endregion Designer generated code