// // Generated by the protocol buffer compiler. DO NOT EDIT! // source: keyapis/telemetry_status/v1/keyapis_telemetry_status_device_v1.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 Keyapis.TelemetryStatus.V1 { /// Holder for reflection information generated from keyapis/telemetry_status/v1/keyapis_telemetry_status_device_v1.proto public static partial class KeyapisTelemetryStatusDeviceV1Reflection { #region Descriptor /// File descriptor for keyapis/telemetry_status/v1/keyapis_telemetry_status_device_v1.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static KeyapisTelemetryStatusDeviceV1Reflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "CkRrZXlhcGlzL3RlbGVtZXRyeV9zdGF0dXMvdjEva2V5YXBpc190ZWxlbWV0", "cnlfc3RhdHVzX2RldmljZV92MS5wcm90bxIba2V5YXBpcy50ZWxlbWV0cnlf", "c3RhdHVzLnYxGhxnb29nbGUvYXBpL2Fubm90YXRpb25zLnByb3RvGh9nb29n", "bGUvYXBpL2ZpZWxkX2JlaGF2aW9yLnByb3RvGh9nb29nbGUvcHJvdG9idWYv", "dGltZXN0YW1wLnByb3RvIvwBCgxEZXZpY2VTdGF0dXMSFgoJZGV2aWNlX2lk", "GAEgASgFQgPgQQISDwoCaXAYAiABKAlCA+BBAxIzCgpjaGVja2VkX2F0GAMg", "ASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcEID4EEDEk4KC3N0YXR1", "c190eXBlGAQgASgOMjQua2V5YXBpcy50ZWxlbWV0cnlfc3RhdHVzLnYxLkRl", "dmljZVN0YXR1cy5TdGF0dXNUeXBlQgPgQQMiPgoKU3RhdHVzVHlwZRIXChNT", "VEFUVVNfVFlQRV9VTktOT1dOEAASCwoHT0ZGTElORRABEgoKBk9OTElORRAC", "InQKEkRldmljZVN0YXR1c0ZpbHRlchISCgpkZXZpY2VfaWRzGAEgAygFEkoK", "DHN0YXR1c190eXBlcxgCIAMoDjI0LmtleWFwaXMudGVsZW1ldHJ5X3N0YXR1", "cy52MS5EZXZpY2VTdGF0dXMuU3RhdHVzVHlwZSLnAgoSRGV2aWNlU3RhdHVz", "UGFnaW5nElIKDW9yZGVyX2J5X3R5cGUYASABKA4yOy5rZXlhcGlzLnRlbGVt", "ZXRyeV9zdGF0dXMudjEuRGV2aWNlU3RhdHVzUGFnaW5nLk9yZGVyQnlUeXBl", "ElUKDmRpcmVjdGlvbl90eXBlGAIgASgOMj0ua2V5YXBpcy50ZWxlbWV0cnlf", "c3RhdHVzLnYxLkRldmljZVN0YXR1c1BhZ2luZy5EaXJlY3Rpb25UeXBlEg0K", "BWxpbWl0GAMgASgFEg4KBm9mZnNldBgEIAEoBSJHCgtPcmRlckJ5VHlwZRIZ", "ChVPUkRFUl9CWV9UWVBFX1VOS05PV04QABIOCgpDSEVDS0VEX0FUEAESDQoJ", "REVWSUNFX0lEEAIiPgoNRGlyZWN0aW9uVHlwZRIaChZESVJFQ1RJT05fVFlQ", "RV9VTktOT1dOEAASCAoEREVTQxABEgcKA0FTQxACIq4BChpHZXREZXZpY2VT", "dGF0dXNMaXN0UmVxdWVzdBI/CgZmaWx0ZXIYASABKAsyLy5rZXlhcGlzLnRl", "bGVtZXRyeV9zdGF0dXMudjEuRGV2aWNlU3RhdHVzRmlsdGVyEkEKBnBhZ2lu", "ZxgCIAEoCzIvLmtleWFwaXMudGVsZW1ldHJ5X3N0YXR1cy52MS5EZXZpY2VT", "dGF0dXNQYWdpbmdIAEIMCgpwYWdpbmF0aW9uImAKG0dldERldmljZVN0YXR1", "c0xpc3RSZXNwb25zZRI5CgRkYXRhGAEgASgLMikua2V5YXBpcy50ZWxlbWV0", "cnlfc3RhdHVzLnYxLkRldmljZVN0YXR1c0gAQgYKBHR5cGUiXgobR2V0RGV2", "aWNlU3RhdHVzQ291bnRSZXF1ZXN0Ej8KBmZpbHRlchgBIAEoCzIvLmtleWFw", "aXMudGVsZW1ldHJ5X3N0YXR1cy52MS5EZXZpY2VTdGF0dXNGaWx0ZXIiNgoc", "R2V0RGV2aWNlU3RhdHVzQ291bnRSZXNwb25zZRIOCgRkYXRhGAEgASgFSABC", "BgoEdHlwZTKbAwoTRGV2aWNlU3RhdHVzU2VydmljZRK/AQoTR2V0RGV2aWNl", "U3RhdHVzTGlzdBI3LmtleWFwaXMudGVsZW1ldHJ5X3N0YXR1cy52MS5HZXRE", "ZXZpY2VTdGF0dXNMaXN0UmVxdWVzdBo4LmtleWFwaXMudGVsZW1ldHJ5X3N0", "YXR1cy52MS5HZXREZXZpY2VTdGF0dXNMaXN0UmVzcG9uc2UiM4LT5JMCLRIr", "L3RlbGVtZXRyeV9zdGF0dXMvYXBpL3YxL2RldmljZV9zdGF0dXMvbGlzdDAB", "EsEBChRHZXREZXZpY2VTdGF0dXNDb3VudBI4LmtleWFwaXMudGVsZW1ldHJ5", "X3N0YXR1cy52MS5HZXREZXZpY2VTdGF0dXNDb3VudFJlcXVlc3QaOS5rZXlh", "cGlzLnRlbGVtZXRyeV9zdGF0dXMudjEuR2V0RGV2aWNlU3RhdHVzQ291bnRS", "ZXNwb25zZSI0gtPkkwIuEiwvdGVsZW1ldHJ5X3N0YXR1cy9hcGkvdjEvZGV2", "aWNlX3N0YXR1cy9jb3VudELbAQoecnUua2V5YXBpcy50ZWxlbWV0cnlfc3Rh", "dHVzLnYxQh1LZXlhcGlzVGVsZW1ldHJ5U3RhdHVzVjFQcm90b0gDUABaHC9r", "ZXlhcGlzX3RlbGVtZXRyeV9zdGF0dXNfdjHYAQH4AQGiAhhLRVlBUElTVEVM", "RU1FVFJZU1RBVFVTVjGqAhpLZXlhcGlzLlRlbGVtZXRyeVN0YXR1cy5WMcoC", "GktleWFwaXNcVGVsZW1ldHJ5U3RhdHVzXFYx6gIcS2V5YXBpczo6VGVsZW1l", "dHJ5U3RhdHVzOjpWMWIGcHJvdG8z")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { global::Google.Api.AnnotationsReflection.Descriptor, global::Google.Api.FieldBehaviorReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.TimestampReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Keyapis.TelemetryStatus.V1.DeviceStatus), global::Keyapis.TelemetryStatus.V1.DeviceStatus.Parser, new[]{ "DeviceId", "Ip", "CheckedAt", "StatusType" }, null, new[]{ typeof(global::Keyapis.TelemetryStatus.V1.DeviceStatus.Types.StatusType) }, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Keyapis.TelemetryStatus.V1.DeviceStatusFilter), global::Keyapis.TelemetryStatus.V1.DeviceStatusFilter.Parser, new[]{ "DeviceIds", "StatusTypes" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Keyapis.TelemetryStatus.V1.DeviceStatusPaging), global::Keyapis.TelemetryStatus.V1.DeviceStatusPaging.Parser, new[]{ "OrderByType", "DirectionType", "Limit", "Offset" }, null, new[]{ typeof(global::Keyapis.TelemetryStatus.V1.DeviceStatusPaging.Types.OrderByType), typeof(global::Keyapis.TelemetryStatus.V1.DeviceStatusPaging.Types.DirectionType) }, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Keyapis.TelemetryStatus.V1.GetDeviceStatusListRequest), global::Keyapis.TelemetryStatus.V1.GetDeviceStatusListRequest.Parser, new[]{ "Filter", "Paging" }, new[]{ "Pagination" }, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Keyapis.TelemetryStatus.V1.GetDeviceStatusListResponse), global::Keyapis.TelemetryStatus.V1.GetDeviceStatusListResponse.Parser, new[]{ "Data" }, new[]{ "Type" }, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Keyapis.TelemetryStatus.V1.GetDeviceStatusCountRequest), global::Keyapis.TelemetryStatus.V1.GetDeviceStatusCountRequest.Parser, new[]{ "Filter" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Keyapis.TelemetryStatus.V1.GetDeviceStatusCountResponse), global::Keyapis.TelemetryStatus.V1.GetDeviceStatusCountResponse.Parser, new[]{ "Data" }, new[]{ "Type" }, null, null, null) })); } #endregion } #region Messages /// /// Статус доступности устройства /// public sealed partial class DeviceStatus : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DeviceStatus()); 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::Keyapis.TelemetryStatus.V1.KeyapisTelemetryStatusDeviceV1Reflection.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 DeviceStatus() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public DeviceStatus(DeviceStatus other) : this() { deviceId_ = other.deviceId_; ip_ = other.ip_; checkedAt_ = other.checkedAt_ != null ? other.checkedAt_.Clone() : null; statusType_ = other.statusType_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public DeviceStatus Clone() { return new DeviceStatus(this); } /// Field number for the "device_id" field. public const int DeviceIdFieldNumber = 1; private int deviceId_; /// /// Идентификатор устройства /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int DeviceId { get { return deviceId_; } set { deviceId_ = value; } } /// Field number for the "ip" field. public const int IpFieldNumber = 2; private string ip_ = ""; /// /// IP-адрес устройства /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Ip { get { return ip_; } set { ip_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "checked_at" field. public const int CheckedAtFieldNumber = 3; private global::Google.Protobuf.WellKnownTypes.Timestamp checkedAt_; /// /// Момент проверки статуса /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Google.Protobuf.WellKnownTypes.Timestamp CheckedAt { get { return checkedAt_; } set { checkedAt_ = value; } } /// Field number for the "status_type" field. public const int StatusTypeFieldNumber = 4; private global::Keyapis.TelemetryStatus.V1.DeviceStatus.Types.StatusType statusType_ = global::Keyapis.TelemetryStatus.V1.DeviceStatus.Types.StatusType.Unknown; /// /// Тип статуса /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Keyapis.TelemetryStatus.V1.DeviceStatus.Types.StatusType StatusType { get { return statusType_; } set { statusType_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as DeviceStatus); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(DeviceStatus other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (DeviceId != other.DeviceId) return false; if (Ip != other.Ip) return false; if (!object.Equals(CheckedAt, other.CheckedAt)) return false; if (StatusType != other.StatusType) 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 (DeviceId != 0) hash ^= DeviceId.GetHashCode(); if (Ip.Length != 0) hash ^= Ip.GetHashCode(); if (checkedAt_ != null) hash ^= CheckedAt.GetHashCode(); if (StatusType != global::Keyapis.TelemetryStatus.V1.DeviceStatus.Types.StatusType.Unknown) hash ^= StatusType.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 (DeviceId != 0) { output.WriteRawTag(8); output.WriteInt32(DeviceId); } if (Ip.Length != 0) { output.WriteRawTag(18); output.WriteString(Ip); } if (checkedAt_ != null) { output.WriteRawTag(26); output.WriteMessage(CheckedAt); } if (StatusType != global::Keyapis.TelemetryStatus.V1.DeviceStatus.Types.StatusType.Unknown) { output.WriteRawTag(32); output.WriteEnum((int) StatusType); } 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 (DeviceId != 0) { output.WriteRawTag(8); output.WriteInt32(DeviceId); } if (Ip.Length != 0) { output.WriteRawTag(18); output.WriteString(Ip); } if (checkedAt_ != null) { output.WriteRawTag(26); output.WriteMessage(CheckedAt); } if (StatusType != global::Keyapis.TelemetryStatus.V1.DeviceStatus.Types.StatusType.Unknown) { output.WriteRawTag(32); output.WriteEnum((int) StatusType); } 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 (DeviceId != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(DeviceId); } if (Ip.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Ip); } if (checkedAt_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(CheckedAt); } if (StatusType != global::Keyapis.TelemetryStatus.V1.DeviceStatus.Types.StatusType.Unknown) { size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) StatusType); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(DeviceStatus other) { if (other == null) { return; } if (other.DeviceId != 0) { DeviceId = other.DeviceId; } if (other.Ip.Length != 0) { Ip = other.Ip; } if (other.checkedAt_ != null) { if (checkedAt_ == null) { CheckedAt = new global::Google.Protobuf.WellKnownTypes.Timestamp(); } CheckedAt.MergeFrom(other.CheckedAt); } if (other.StatusType != global::Keyapis.TelemetryStatus.V1.DeviceStatus.Types.StatusType.Unknown) { StatusType = other.StatusType; } _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) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 8: { DeviceId = input.ReadInt32(); break; } case 18: { Ip = input.ReadString(); break; } case 26: { if (checkedAt_ == null) { CheckedAt = new global::Google.Protobuf.WellKnownTypes.Timestamp(); } input.ReadMessage(CheckedAt); break; } case 32: { StatusType = (global::Keyapis.TelemetryStatus.V1.DeviceStatus.Types.StatusType) input.ReadEnum(); 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) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 8: { DeviceId = input.ReadInt32(); break; } case 18: { Ip = input.ReadString(); break; } case 26: { if (checkedAt_ == null) { CheckedAt = new global::Google.Protobuf.WellKnownTypes.Timestamp(); } input.ReadMessage(CheckedAt); break; } case 32: { StatusType = (global::Keyapis.TelemetryStatus.V1.DeviceStatus.Types.StatusType) input.ReadEnum(); break; } } } } #endif #region Nested types /// Container for nested types declared in the DeviceStatus message type. [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static partial class Types { /// /// Справочник типов статусов /// public enum StatusType { /// /// Значение не указано. /// Проверка доступности не выполнялась /// [pbr::OriginalName("STATUS_TYPE_UNKNOWN")] Unknown = 0, /// /// Не доступен /// [pbr::OriginalName("OFFLINE")] Offline = 1, /// /// Доступен /// [pbr::OriginalName("ONLINE")] Online = 2, } } #endregion } /// /// Фильтр для запроса статусов доступности устройств. /// При передаче массива в параметр фильтра элементы массива работают в выборке через ИЛИ. /// При передаче нескольких разных параметров фильтра они работают в выборке через И /// public sealed partial class DeviceStatusFilter : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DeviceStatusFilter()); 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::Keyapis.TelemetryStatus.V1.KeyapisTelemetryStatusDeviceV1Reflection.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 DeviceStatusFilter() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public DeviceStatusFilter(DeviceStatusFilter other) : this() { deviceIds_ = other.deviceIds_.Clone(); statusTypes_ = other.statusTypes_.Clone(); _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public DeviceStatusFilter Clone() { return new DeviceStatusFilter(this); } /// Field number for the "device_ids" field. public const int DeviceIdsFieldNumber = 1; private static readonly pb::FieldCodec _repeated_deviceIds_codec = pb::FieldCodec.ForInt32(10); private readonly pbc::RepeatedField deviceIds_ = new pbc::RepeatedField(); /// /// По списку приборов учета /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField DeviceIds { get { return deviceIds_; } } /// Field number for the "status_types" field. public const int StatusTypesFieldNumber = 2; private static readonly pb::FieldCodec _repeated_statusTypes_codec = pb::FieldCodec.ForEnum(18, x => (int) x, x => (global::Keyapis.TelemetryStatus.V1.DeviceStatus.Types.StatusType) x); private readonly pbc::RepeatedField statusTypes_ = new pbc::RepeatedField(); /// /// По cтатусам доступности /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField StatusTypes { get { return statusTypes_; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as DeviceStatusFilter); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(DeviceStatusFilter other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if(!deviceIds_.Equals(other.deviceIds_)) return false; if(!statusTypes_.Equals(other.statusTypes_)) 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 ^= deviceIds_.GetHashCode(); hash ^= statusTypes_.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 deviceIds_.WriteTo(output, _repeated_deviceIds_codec); statusTypes_.WriteTo(output, _repeated_statusTypes_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) { deviceIds_.WriteTo(ref output, _repeated_deviceIds_codec); statusTypes_.WriteTo(ref output, _repeated_statusTypes_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 += deviceIds_.CalculateSize(_repeated_deviceIds_codec); size += statusTypes_.CalculateSize(_repeated_statusTypes_codec); if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(DeviceStatusFilter other) { if (other == null) { return; } deviceIds_.Add(other.deviceIds_); statusTypes_.Add(other.statusTypes_); _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) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: case 8: { deviceIds_.AddEntriesFrom(input, _repeated_deviceIds_codec); break; } case 18: case 16: { statusTypes_.AddEntriesFrom(input, _repeated_statusTypes_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) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 10: case 8: { deviceIds_.AddEntriesFrom(ref input, _repeated_deviceIds_codec); break; } case 18: case 16: { statusTypes_.AddEntriesFrom(ref input, _repeated_statusTypes_codec); break; } } } } #endif } /// /// Пагинация статусов сетевой доступности /// public sealed partial class DeviceStatusPaging : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DeviceStatusPaging()); 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::Keyapis.TelemetryStatus.V1.KeyapisTelemetryStatusDeviceV1Reflection.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 DeviceStatusPaging() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public DeviceStatusPaging(DeviceStatusPaging other) : this() { orderByType_ = other.orderByType_; directionType_ = other.directionType_; limit_ = other.limit_; offset_ = other.offset_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public DeviceStatusPaging Clone() { return new DeviceStatusPaging(this); } /// Field number for the "order_by_type" field. public const int OrderByTypeFieldNumber = 1; private global::Keyapis.TelemetryStatus.V1.DeviceStatusPaging.Types.OrderByType orderByType_ = global::Keyapis.TelemetryStatus.V1.DeviceStatusPaging.Types.OrderByType.Unknown; /// /// Тип значения сортировки. /// По умолчанию: CHECKED_AT /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Keyapis.TelemetryStatus.V1.DeviceStatusPaging.Types.OrderByType OrderByType { get { return orderByType_; } set { orderByType_ = value; } } /// Field number for the "direction_type" field. public const int DirectionTypeFieldNumber = 2; private global::Keyapis.TelemetryStatus.V1.DeviceStatusPaging.Types.DirectionType directionType_ = global::Keyapis.TelemetryStatus.V1.DeviceStatusPaging.Types.DirectionType.Unknown; /// /// Тип направления сортировки. /// По умолчанию: DESC /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Keyapis.TelemetryStatus.V1.DeviceStatusPaging.Types.DirectionType DirectionType { get { return directionType_; } set { directionType_ = value; } } /// Field number for the "limit" field. public const int LimitFieldNumber = 3; private int limit_; /// /// Количество записей на страницу. /// Минимальное значение: 1. /// Максимальное значение: 100. /// По умолчанию: 20. /// Если значение 0 (не передано), то выставляем значение по умолчанию /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int Limit { get { return limit_; } set { limit_ = value; } } /// Field number for the "offset" field. public const int OffsetFieldNumber = 4; private int offset_; /// /// Сдвиг. /// По умолчанию: 0 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int Offset { get { return offset_; } set { offset_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as DeviceStatusPaging); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(DeviceStatusPaging other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (OrderByType != other.OrderByType) return false; if (DirectionType != other.DirectionType) return false; if (Limit != other.Limit) return false; if (Offset != other.Offset) 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 (OrderByType != global::Keyapis.TelemetryStatus.V1.DeviceStatusPaging.Types.OrderByType.Unknown) hash ^= OrderByType.GetHashCode(); if (DirectionType != global::Keyapis.TelemetryStatus.V1.DeviceStatusPaging.Types.DirectionType.Unknown) hash ^= DirectionType.GetHashCode(); if (Limit != 0) hash ^= Limit.GetHashCode(); if (Offset != 0) hash ^= Offset.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 (OrderByType != global::Keyapis.TelemetryStatus.V1.DeviceStatusPaging.Types.OrderByType.Unknown) { output.WriteRawTag(8); output.WriteEnum((int) OrderByType); } if (DirectionType != global::Keyapis.TelemetryStatus.V1.DeviceStatusPaging.Types.DirectionType.Unknown) { output.WriteRawTag(16); output.WriteEnum((int) DirectionType); } if (Limit != 0) { output.WriteRawTag(24); output.WriteInt32(Limit); } if (Offset != 0) { output.WriteRawTag(32); output.WriteInt32(Offset); } 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 (OrderByType != global::Keyapis.TelemetryStatus.V1.DeviceStatusPaging.Types.OrderByType.Unknown) { output.WriteRawTag(8); output.WriteEnum((int) OrderByType); } if (DirectionType != global::Keyapis.TelemetryStatus.V1.DeviceStatusPaging.Types.DirectionType.Unknown) { output.WriteRawTag(16); output.WriteEnum((int) DirectionType); } if (Limit != 0) { output.WriteRawTag(24); output.WriteInt32(Limit); } if (Offset != 0) { output.WriteRawTag(32); output.WriteInt32(Offset); } 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 (OrderByType != global::Keyapis.TelemetryStatus.V1.DeviceStatusPaging.Types.OrderByType.Unknown) { size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) OrderByType); } if (DirectionType != global::Keyapis.TelemetryStatus.V1.DeviceStatusPaging.Types.DirectionType.Unknown) { size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) DirectionType); } if (Limit != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Limit); } if (Offset != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Offset); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(DeviceStatusPaging other) { if (other == null) { return; } if (other.OrderByType != global::Keyapis.TelemetryStatus.V1.DeviceStatusPaging.Types.OrderByType.Unknown) { OrderByType = other.OrderByType; } if (other.DirectionType != global::Keyapis.TelemetryStatus.V1.DeviceStatusPaging.Types.DirectionType.Unknown) { DirectionType = other.DirectionType; } if (other.Limit != 0) { Limit = other.Limit; } if (other.Offset != 0) { Offset = other.Offset; } _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) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 8: { OrderByType = (global::Keyapis.TelemetryStatus.V1.DeviceStatusPaging.Types.OrderByType) input.ReadEnum(); break; } case 16: { DirectionType = (global::Keyapis.TelemetryStatus.V1.DeviceStatusPaging.Types.DirectionType) input.ReadEnum(); break; } case 24: { Limit = input.ReadInt32(); break; } case 32: { Offset = 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) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 8: { OrderByType = (global::Keyapis.TelemetryStatus.V1.DeviceStatusPaging.Types.OrderByType) input.ReadEnum(); break; } case 16: { DirectionType = (global::Keyapis.TelemetryStatus.V1.DeviceStatusPaging.Types.DirectionType) input.ReadEnum(); break; } case 24: { Limit = input.ReadInt32(); break; } case 32: { Offset = input.ReadInt32(); break; } } } } #endif #region Nested types /// Container for nested types declared in the DeviceStatusPaging message type. [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static partial class Types { /// /// Справочник типов значений сортировки /// public enum OrderByType { /// /// Значение не указано /// [pbr::OriginalName("ORDER_BY_TYPE_UNKNOWN")] Unknown = 0, /// /// По дате проверки /// [pbr::OriginalName("CHECKED_AT")] CheckedAt = 1, /// /// По идентификатору /// [pbr::OriginalName("DEVICE_ID")] DeviceId = 2, } /// /// Справочник типов направлений сортировки /// public enum DirectionType { /// /// Значение не указано /// [pbr::OriginalName("DIRECTION_TYPE_UNKNOWN")] Unknown = 0, /// /// От большего к меньшему /// [pbr::OriginalName("DESC")] Desc = 1, /// /// От меньшего к большему /// [pbr::OriginalName("ASC")] Asc = 2, } } #endregion } /// /// Запрос получения списка /// public sealed partial class GetDeviceStatusListRequest : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetDeviceStatusListRequest()); 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::Keyapis.TelemetryStatus.V1.KeyapisTelemetryStatusDeviceV1Reflection.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 GetDeviceStatusListRequest() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GetDeviceStatusListRequest(GetDeviceStatusListRequest other) : this() { filter_ = other.filter_ != null ? other.filter_.Clone() : null; switch (other.PaginationCase) { case PaginationOneofCase.Paging: Paging = other.Paging.Clone(); break; } _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GetDeviceStatusListRequest Clone() { return new GetDeviceStatusListRequest(this); } /// Field number for the "filter" field. public const int FilterFieldNumber = 1; private global::Keyapis.TelemetryStatus.V1.DeviceStatusFilter filter_; /// /// Фильтр /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Keyapis.TelemetryStatus.V1.DeviceStatusFilter Filter { get { return filter_; } set { filter_ = value; } } /// Field number for the "paging" field. public const int PagingFieldNumber = 2; /// /// Пагинация /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Keyapis.TelemetryStatus.V1.DeviceStatusPaging Paging { get { return paginationCase_ == PaginationOneofCase.Paging ? (global::Keyapis.TelemetryStatus.V1.DeviceStatusPaging) pagination_ : null; } set { pagination_ = value; paginationCase_ = value == null ? PaginationOneofCase.None : PaginationOneofCase.Paging; } } private object pagination_; /// Enum of possible cases for the "pagination" oneof. public enum PaginationOneofCase { None = 0, Paging = 2, } private PaginationOneofCase paginationCase_ = PaginationOneofCase.None; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public PaginationOneofCase PaginationCase { get { return paginationCase_; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void ClearPagination() { paginationCase_ = PaginationOneofCase.None; pagination_ = null; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as GetDeviceStatusListRequest); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(GetDeviceStatusListRequest other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (!object.Equals(Filter, other.Filter)) return false; if (!object.Equals(Paging, other.Paging)) return false; if (PaginationCase != other.PaginationCase) 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 (filter_ != null) hash ^= Filter.GetHashCode(); if (paginationCase_ == PaginationOneofCase.Paging) hash ^= Paging.GetHashCode(); hash ^= (int) paginationCase_; 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 (filter_ != null) { output.WriteRawTag(10); output.WriteMessage(Filter); } if (paginationCase_ == PaginationOneofCase.Paging) { output.WriteRawTag(18); output.WriteMessage(Paging); } 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 (filter_ != null) { output.WriteRawTag(10); output.WriteMessage(Filter); } if (paginationCase_ == PaginationOneofCase.Paging) { output.WriteRawTag(18); output.WriteMessage(Paging); } 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 (filter_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(Filter); } if (paginationCase_ == PaginationOneofCase.Paging) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(Paging); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(GetDeviceStatusListRequest other) { if (other == null) { return; } if (other.filter_ != null) { if (filter_ == null) { Filter = new global::Keyapis.TelemetryStatus.V1.DeviceStatusFilter(); } Filter.MergeFrom(other.Filter); } switch (other.PaginationCase) { case PaginationOneofCase.Paging: if (Paging == null) { Paging = new global::Keyapis.TelemetryStatus.V1.DeviceStatusPaging(); } Paging.MergeFrom(other.Paging); 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) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { if (filter_ == null) { Filter = new global::Keyapis.TelemetryStatus.V1.DeviceStatusFilter(); } input.ReadMessage(Filter); break; } case 18: { global::Keyapis.TelemetryStatus.V1.DeviceStatusPaging subBuilder = new global::Keyapis.TelemetryStatus.V1.DeviceStatusPaging(); if (paginationCase_ == PaginationOneofCase.Paging) { subBuilder.MergeFrom(Paging); } input.ReadMessage(subBuilder); Paging = 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) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 10: { if (filter_ == null) { Filter = new global::Keyapis.TelemetryStatus.V1.DeviceStatusFilter(); } input.ReadMessage(Filter); break; } case 18: { global::Keyapis.TelemetryStatus.V1.DeviceStatusPaging subBuilder = new global::Keyapis.TelemetryStatus.V1.DeviceStatusPaging(); if (paginationCase_ == PaginationOneofCase.Paging) { subBuilder.MergeFrom(Paging); } input.ReadMessage(subBuilder); Paging = subBuilder; break; } } } } #endif } /// /// Ответ на запрос получения списка статусов доступности устройств /// public sealed partial class GetDeviceStatusListResponse : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetDeviceStatusListResponse()); 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::Keyapis.TelemetryStatus.V1.KeyapisTelemetryStatusDeviceV1Reflection.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 GetDeviceStatusListResponse() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GetDeviceStatusListResponse(GetDeviceStatusListResponse other) : this() { switch (other.TypeCase) { case TypeOneofCase.Data: Data = other.Data.Clone(); break; } _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GetDeviceStatusListResponse Clone() { return new GetDeviceStatusListResponse(this); } /// Field number for the "data" field. public const int DataFieldNumber = 1; /// /// Статус доступности устройства /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Keyapis.TelemetryStatus.V1.DeviceStatus Data { get { return typeCase_ == TypeOneofCase.Data ? (global::Keyapis.TelemetryStatus.V1.DeviceStatus) type_ : null; } set { type_ = value; typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.Data; } } private object type_; /// Enum of possible cases for the "type" oneof. public enum TypeOneofCase { None = 0, Data = 1, } private TypeOneofCase typeCase_ = TypeOneofCase.None; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public TypeOneofCase TypeCase { get { return typeCase_; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void ClearType() { typeCase_ = TypeOneofCase.None; type_ = null; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as GetDeviceStatusListResponse); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(GetDeviceStatusListResponse other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (!object.Equals(Data, other.Data)) return false; if (TypeCase != other.TypeCase) 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 (typeCase_ == TypeOneofCase.Data) hash ^= Data.GetHashCode(); hash ^= (int) typeCase_; 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 (typeCase_ == TypeOneofCase.Data) { output.WriteRawTag(10); output.WriteMessage(Data); } 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 (typeCase_ == TypeOneofCase.Data) { output.WriteRawTag(10); output.WriteMessage(Data); } 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 (typeCase_ == TypeOneofCase.Data) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(Data); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(GetDeviceStatusListResponse other) { if (other == null) { return; } switch (other.TypeCase) { case TypeOneofCase.Data: if (Data == null) { Data = new global::Keyapis.TelemetryStatus.V1.DeviceStatus(); } Data.MergeFrom(other.Data); 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) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { global::Keyapis.TelemetryStatus.V1.DeviceStatus subBuilder = new global::Keyapis.TelemetryStatus.V1.DeviceStatus(); if (typeCase_ == TypeOneofCase.Data) { subBuilder.MergeFrom(Data); } input.ReadMessage(subBuilder); Data = 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) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 10: { global::Keyapis.TelemetryStatus.V1.DeviceStatus subBuilder = new global::Keyapis.TelemetryStatus.V1.DeviceStatus(); if (typeCase_ == TypeOneofCase.Data) { subBuilder.MergeFrom(Data); } input.ReadMessage(subBuilder); Data = subBuilder; break; } } } } #endif } /// /// Запрос получения количества записей /// public sealed partial class GetDeviceStatusCountRequest : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetDeviceStatusCountRequest()); 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::Keyapis.TelemetryStatus.V1.KeyapisTelemetryStatusDeviceV1Reflection.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 GetDeviceStatusCountRequest() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GetDeviceStatusCountRequest(GetDeviceStatusCountRequest other) : this() { filter_ = other.filter_ != null ? other.filter_.Clone() : null; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GetDeviceStatusCountRequest Clone() { return new GetDeviceStatusCountRequest(this); } /// Field number for the "filter" field. public const int FilterFieldNumber = 1; private global::Keyapis.TelemetryStatus.V1.DeviceStatusFilter filter_; /// /// Фильтр /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Keyapis.TelemetryStatus.V1.DeviceStatusFilter Filter { get { return filter_; } set { filter_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as GetDeviceStatusCountRequest); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(GetDeviceStatusCountRequest other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (!object.Equals(Filter, other.Filter)) 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 (filter_ != null) hash ^= Filter.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 (filter_ != null) { output.WriteRawTag(10); output.WriteMessage(Filter); } 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 (filter_ != null) { output.WriteRawTag(10); output.WriteMessage(Filter); } 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 (filter_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(Filter); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(GetDeviceStatusCountRequest other) { if (other == null) { return; } if (other.filter_ != null) { if (filter_ == null) { Filter = new global::Keyapis.TelemetryStatus.V1.DeviceStatusFilter(); } Filter.MergeFrom(other.Filter); } _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) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { if (filter_ == null) { Filter = new global::Keyapis.TelemetryStatus.V1.DeviceStatusFilter(); } input.ReadMessage(Filter); 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) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 10: { if (filter_ == null) { Filter = new global::Keyapis.TelemetryStatus.V1.DeviceStatusFilter(); } input.ReadMessage(Filter); break; } } } } #endif } /// /// Ответ на запрос получения количества записей /// public sealed partial class GetDeviceStatusCountResponse : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetDeviceStatusCountResponse()); 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::Keyapis.TelemetryStatus.V1.KeyapisTelemetryStatusDeviceV1Reflection.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 GetDeviceStatusCountResponse() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GetDeviceStatusCountResponse(GetDeviceStatusCountResponse other) : this() { switch (other.TypeCase) { case TypeOneofCase.Data: Data = other.Data; break; } _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GetDeviceStatusCountResponse Clone() { return new GetDeviceStatusCountResponse(this); } /// Field number for the "data" field. public const int DataFieldNumber = 1; /// /// Всего записей /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int Data { get { return HasData ? (int) type_ : 0; } set { type_ = value; typeCase_ = TypeOneofCase.Data; } } /// Gets whether the "data" field is set [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool HasData { get { return typeCase_ == TypeOneofCase.Data; } } /// Clears the value of the oneof if it's currently set to "data" [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void ClearData() { if (HasData) { ClearType(); } } private object type_; /// Enum of possible cases for the "type" oneof. public enum TypeOneofCase { None = 0, Data = 1, } private TypeOneofCase typeCase_ = TypeOneofCase.None; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public TypeOneofCase TypeCase { get { return typeCase_; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void ClearType() { typeCase_ = TypeOneofCase.None; type_ = null; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as GetDeviceStatusCountResponse); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(GetDeviceStatusCountResponse other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (Data != other.Data) return false; if (TypeCase != other.TypeCase) 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 (HasData) hash ^= Data.GetHashCode(); hash ^= (int) typeCase_; 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 (HasData) { output.WriteRawTag(8); output.WriteInt32(Data); } 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 (HasData) { output.WriteRawTag(8); output.WriteInt32(Data); } 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 (HasData) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Data); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(GetDeviceStatusCountResponse other) { if (other == null) { return; } switch (other.TypeCase) { case TypeOneofCase.Data: Data = other.Data; 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) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 8: { Data = 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) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 8: { Data = input.ReadInt32(); break; } } } } #endif } #endregion } #endregion Designer generated code