// // Generated by the protocol buffer compiler. DO NOT EDIT! // source: keyapis/vc/v1/keyapis_vc_camera_archive_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.Vc.V1 { /// Holder for reflection information generated from keyapis/vc/v1/keyapis_vc_camera_archive_v1.proto public static partial class KeyapisVcCameraArchiveV1Reflection { #region Descriptor /// File descriptor for keyapis/vc/v1/keyapis_vc_camera_archive_v1.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static KeyapisVcCameraArchiveV1Reflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "CjBrZXlhcGlzL3ZjL3YxL2tleWFwaXNfdmNfY2FtZXJhX2FyY2hpdmVfdjEu", "cHJvdG8SDWtleWFwaXMudmMudjEaHGdvb2dsZS9hcGkvYW5ub3RhdGlvbnMu", "cHJvdG8aH2dvb2dsZS9hcGkvZmllbGRfYmVoYXZpb3IucHJvdG8aHmdvb2ds", "ZS9wcm90b2J1Zi93cmFwcGVycy5wcm90bxooa2V5YXBpcy92Yy92MS9rZXlh", "cGlzX3ZjX2NhbWVyYV92MS5wcm90byI6ChVDYW1lcmFBcmNoaXZlQ2FsZW5k", "YXISEgoKY2FtZXJhX3VpZBgBIAEoCRINCgVkYXRlcxgCIAMoCSJrCh9HZXRD", "YW1lcmFBcmNoaXZlQ2FsZW5kYXJSZXF1ZXN0EhcKCmNhbWVyYV91aWQYASAB", "KAlCA+BBAhIvCgp1dGNfb2Zmc2V0GAIgASgLMhsuZ29vZ2xlLnByb3RvYnVm", "LkludDMyVmFsdWUi0wMKIEdldENhbWVyYUFyY2hpdmVDYWxlbmRhclJlc3Bv", "bnNlEjQKBGRhdGEYASABKAsyJC5rZXlhcGlzLnZjLnYxLkNhbWVyYUFyY2hp", "dmVDYWxlbmRhckgAEkYKBWVycm9yGAIgASgLMjUua2V5YXBpcy52Yy52MS5H", "ZXRDYW1lcmFBcmNoaXZlQ2FsZW5kYXJSZXNwb25zZS5FcnJvckgAGqgCCgVF", "cnJvchI0Cgp2YWxpZGF0aW9uGAEgASgLMh4ua2V5YXBpcy52Yy52MS5WYWxp", "ZGF0aW9uRXJyb3JIABJRCgh2Y19lcnJvchgCIAEoCzI9LmtleWFwaXMudmMu", "djEuR2V0Q2FtZXJhQXJjaGl2ZUNhbGVuZGFyUmVzcG9uc2UuRXJyb3IuVmNF", "cnJvckgAEmEKEXZjX3VzZXJfbm90X2ZvdW5kGAMgASgLMkQua2V5YXBpcy52", "Yy52MS5HZXRDYW1lcmFBcmNoaXZlQ2FsZW5kYXJSZXNwb25zZS5FcnJvci5W", "Y1VzZXJOb3RGb3VuZEgAGhcKB1ZjRXJyb3ISDAoEdGV4dBgBIAEoCRoQCg5W", "Y1VzZXJOb3RGb3VuZEIICgZyZWFzb25CBgoEdHlwZSKoAQogR2V0Q2FtZXJh", "QXJjaGl2ZUludGVydmFsc1JlcXVlc3QSFwoKY2FtZXJhX3VpZBgBIAEoCUID", "4EECEjUKD3RpbWVzdGFtcF9zaW5jZRgCIAEoCzIcLmdvb2dsZS5wcm90b2J1", "Zi5Eb3VibGVWYWx1ZRI0Cg50aW1lc3RhbXBfdGlsbBgDIAEoCzIcLmdvb2ds", "ZS5wcm90b2J1Zi5Eb3VibGVWYWx1ZSI6CghJbnRlcnZhbBIXCg90aW1lc3Rh", "bXBfYmVnaW4YASABKAESFQoNdGltZXN0YW1wX2VuZBgCIAEoASJYChZDYW1l", "cmFBcmNoaXZlSW50ZXJ2YWxzEhIKCmNhbWVyYV91aWQYASABKAkSKgoJaW50", "ZXJ2YWxzGAIgAygLMhcua2V5YXBpcy52Yy52MS5JbnRlcnZhbCLYAwohR2V0", "Q2FtZXJhQXJjaGl2ZUludGVydmFsc1Jlc3BvbnNlEjUKBGRhdGEYASABKAsy", "JS5rZXlhcGlzLnZjLnYxLkNhbWVyYUFyY2hpdmVJbnRlcnZhbHNIABJHCgVl", "cnJvchgCIAEoCzI2LmtleWFwaXMudmMudjEuR2V0Q2FtZXJhQXJjaGl2ZUlu", "dGVydmFsc1Jlc3BvbnNlLkVycm9ySAAaqgIKBUVycm9yEjQKCnZhbGlkYXRp", "b24YASABKAsyHi5rZXlhcGlzLnZjLnYxLlZhbGlkYXRpb25FcnJvckgAElIK", "CHZjX2Vycm9yGAIgASgLMj4ua2V5YXBpcy52Yy52MS5HZXRDYW1lcmFBcmNo", "aXZlSW50ZXJ2YWxzUmVzcG9uc2UuRXJyb3IuVmNFcnJvckgAEmIKEXZjX3Vz", "ZXJfbm90X2ZvdW5kGAMgASgLMkUua2V5YXBpcy52Yy52MS5HZXRDYW1lcmFB", "cmNoaXZlSW50ZXJ2YWxzUmVzcG9uc2UuRXJyb3IuVmNVc2VyTm90Rm91bmRI", "ABoXCgdWY0Vycm9yEgwKBHRleHQYASABKAkaEAoOVmNVc2VyTm90Rm91bmRC", "CAoGcmVhc29uQgYKBHR5cGUyiAMKFENhbWVyYUFyY2hpdmVTZXJ2aWNlErQB", "ChhHZXRDYW1lcmFBcmNoaXZlQ2FsZW5kYXISLi5rZXlhcGlzLnZjLnYxLkdl", "dENhbWVyYUFyY2hpdmVDYWxlbmRhclJlcXVlc3QaLy5rZXlhcGlzLnZjLnYx", "LkdldENhbWVyYUFyY2hpdmVDYWxlbmRhclJlc3BvbnNlIjeC0+STAjESLy92", "Yy9hcGkvdjEvY2FtZXJhX2FyY2hpdmUve2NhbWVyYV91aWR9L2NhbGVuZGFy", "ErgBChlHZXRDYW1lcmFBcmNoaXZlSW50ZXJ2YWxzEi8ua2V5YXBpcy52Yy52", "MS5HZXRDYW1lcmFBcmNoaXZlSW50ZXJ2YWxzUmVxdWVzdBowLmtleWFwaXMu", "dmMudjEuR2V0Q2FtZXJhQXJjaGl2ZUludGVydmFsc1Jlc3BvbnNlIjiC0+ST", "AjISMC92Yy9hcGkvdjEvY2FtZXJhX2FyY2hpdmUve2NhbWVyYV91aWR9L2lu", "dGVydmFsc0J+ChBydS5rZXlhcGlzLnZjLnYxQhBLZXlhcGlzVmNWMVByb3Rv", "SANQAFoOL2tleWFwaXNfdmNfdjHYAQH4AQGiAgtLRVlBUElTVkNWMaoCDUtl", "eWFwaXMuVmMuVjHKAg1LZXlhcGlzXFZjXFYx6gIPS2V5YXBpczo6VmM6OlYx", "YgZwcm90bzM=")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { global::Google.Api.AnnotationsReflection.Descriptor, global::Google.Api.FieldBehaviorReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.WrappersReflection.Descriptor, global::Keyapis.Vc.V1.KeyapisVcCameraV1Reflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Keyapis.Vc.V1.CameraArchiveCalendar), global::Keyapis.Vc.V1.CameraArchiveCalendar.Parser, new[]{ "CameraUid", "Dates" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Keyapis.Vc.V1.GetCameraArchiveCalendarRequest), global::Keyapis.Vc.V1.GetCameraArchiveCalendarRequest.Parser, new[]{ "CameraUid", "UtcOffset" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Keyapis.Vc.V1.GetCameraArchiveCalendarResponse), global::Keyapis.Vc.V1.GetCameraArchiveCalendarResponse.Parser, new[]{ "Data", "Error" }, new[]{ "Type" }, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Keyapis.Vc.V1.GetCameraArchiveCalendarResponse.Types.Error), global::Keyapis.Vc.V1.GetCameraArchiveCalendarResponse.Types.Error.Parser, new[]{ "Validation", "VcError", "VcUserNotFound" }, new[]{ "Reason" }, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Keyapis.Vc.V1.GetCameraArchiveCalendarResponse.Types.Error.Types.VcError), global::Keyapis.Vc.V1.GetCameraArchiveCalendarResponse.Types.Error.Types.VcError.Parser, new[]{ "Text" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Keyapis.Vc.V1.GetCameraArchiveCalendarResponse.Types.Error.Types.VcUserNotFound), global::Keyapis.Vc.V1.GetCameraArchiveCalendarResponse.Types.Error.Types.VcUserNotFound.Parser, null, null, null, null, null)})}), new pbr::GeneratedClrTypeInfo(typeof(global::Keyapis.Vc.V1.GetCameraArchiveIntervalsRequest), global::Keyapis.Vc.V1.GetCameraArchiveIntervalsRequest.Parser, new[]{ "CameraUid", "TimestampSince", "TimestampTill" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Keyapis.Vc.V1.Interval), global::Keyapis.Vc.V1.Interval.Parser, new[]{ "TimestampBegin", "TimestampEnd" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Keyapis.Vc.V1.CameraArchiveIntervals), global::Keyapis.Vc.V1.CameraArchiveIntervals.Parser, new[]{ "CameraUid", "Intervals" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Keyapis.Vc.V1.GetCameraArchiveIntervalsResponse), global::Keyapis.Vc.V1.GetCameraArchiveIntervalsResponse.Parser, new[]{ "Data", "Error" }, new[]{ "Type" }, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Keyapis.Vc.V1.GetCameraArchiveIntervalsResponse.Types.Error), global::Keyapis.Vc.V1.GetCameraArchiveIntervalsResponse.Types.Error.Parser, new[]{ "Validation", "VcError", "VcUserNotFound" }, new[]{ "Reason" }, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Keyapis.Vc.V1.GetCameraArchiveIntervalsResponse.Types.Error.Types.VcError), global::Keyapis.Vc.V1.GetCameraArchiveIntervalsResponse.Types.Error.Types.VcError.Parser, new[]{ "Text" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Keyapis.Vc.V1.GetCameraArchiveIntervalsResponse.Types.Error.Types.VcUserNotFound), global::Keyapis.Vc.V1.GetCameraArchiveIntervalsResponse.Types.Error.Types.VcUserNotFound.Parser, null, null, null, null, null)})}) })); } #endregion } #region Messages /// /// Календарь с датами, в которые есть записи /// public sealed partial class CameraArchiveCalendar : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CameraArchiveCalendar()); 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.Vc.V1.KeyapisVcCameraArchiveV1Reflection.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 CameraArchiveCalendar() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public CameraArchiveCalendar(CameraArchiveCalendar other) : this() { cameraUid_ = other.cameraUid_; dates_ = other.dates_.Clone(); _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public CameraArchiveCalendar Clone() { return new CameraArchiveCalendar(this); } /// Field number for the "camera_uid" field. public const int CameraUidFieldNumber = 1; private string cameraUid_ = ""; /// /// Идентификатор камеры /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string CameraUid { get { return cameraUid_; } set { cameraUid_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "dates" field. public const int DatesFieldNumber = 2; private static readonly pb::FieldCodec _repeated_dates_codec = pb::FieldCodec.ForString(18); private readonly pbc::RepeatedField dates_ = new pbc::RepeatedField(); /// /// Список дней, за которые есть записи. /// Строки в формате "YYYY-MM-DD" /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField Dates { get { return dates_; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as CameraArchiveCalendar); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(CameraArchiveCalendar other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (CameraUid != other.CameraUid) return false; if(!dates_.Equals(other.dates_)) 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 (CameraUid.Length != 0) hash ^= CameraUid.GetHashCode(); hash ^= dates_.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 (CameraUid.Length != 0) { output.WriteRawTag(10); output.WriteString(CameraUid); } dates_.WriteTo(output, _repeated_dates_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) { if (CameraUid.Length != 0) { output.WriteRawTag(10); output.WriteString(CameraUid); } dates_.WriteTo(ref output, _repeated_dates_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; if (CameraUid.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(CameraUid); } size += dates_.CalculateSize(_repeated_dates_codec); if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(CameraArchiveCalendar other) { if (other == null) { return; } if (other.CameraUid.Length != 0) { CameraUid = other.CameraUid; } dates_.Add(other.dates_); _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: { CameraUid = input.ReadString(); break; } case 18: { dates_.AddEntriesFrom(input, _repeated_dates_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: { CameraUid = input.ReadString(); break; } case 18: { dates_.AddEntriesFrom(ref input, _repeated_dates_codec); break; } } } } #endif } /// /// Запрос получения дней, в которых есть записи на камере /// public sealed partial class GetCameraArchiveCalendarRequest : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetCameraArchiveCalendarRequest()); 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.Vc.V1.KeyapisVcCameraArchiveV1Reflection.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 GetCameraArchiveCalendarRequest() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GetCameraArchiveCalendarRequest(GetCameraArchiveCalendarRequest other) : this() { cameraUid_ = other.cameraUid_; UtcOffset = other.UtcOffset; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GetCameraArchiveCalendarRequest Clone() { return new GetCameraArchiveCalendarRequest(this); } /// Field number for the "camera_uid" field. public const int CameraUidFieldNumber = 1; private string cameraUid_ = ""; /// /// Идентификатор камеры /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string CameraUid { get { return cameraUid_; } set { cameraUid_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "utc_offset" field. public const int UtcOffsetFieldNumber = 2; private static readonly pb::FieldCodec _single_utcOffset_codec = pb::FieldCodec.ForStructWrapper(18); private int? utcOffset_; /// /// Смещение таймзоны в минутах. /// # Диапазон: -720..840 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int? UtcOffset { get { return utcOffset_; } set { utcOffset_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as GetCameraArchiveCalendarRequest); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(GetCameraArchiveCalendarRequest other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (CameraUid != other.CameraUid) return false; if (UtcOffset != other.UtcOffset) 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 (CameraUid.Length != 0) hash ^= CameraUid.GetHashCode(); if (utcOffset_ != null) hash ^= UtcOffset.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 (CameraUid.Length != 0) { output.WriteRawTag(10); output.WriteString(CameraUid); } if (utcOffset_ != null) { _single_utcOffset_codec.WriteTagAndValue(output, UtcOffset); } 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 (CameraUid.Length != 0) { output.WriteRawTag(10); output.WriteString(CameraUid); } if (utcOffset_ != null) { _single_utcOffset_codec.WriteTagAndValue(ref output, UtcOffset); } 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 (CameraUid.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(CameraUid); } if (utcOffset_ != null) { size += _single_utcOffset_codec.CalculateSizeWithTag(UtcOffset); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(GetCameraArchiveCalendarRequest other) { if (other == null) { return; } if (other.CameraUid.Length != 0) { CameraUid = other.CameraUid; } if (other.utcOffset_ != null) { if (utcOffset_ == null || other.UtcOffset != 0) { UtcOffset = other.UtcOffset; } } _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: { CameraUid = input.ReadString(); break; } case 18: { int? value = _single_utcOffset_codec.Read(input); if (utcOffset_ == null || value != 0) { UtcOffset = value; } 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: { CameraUid = input.ReadString(); break; } case 18: { int? value = _single_utcOffset_codec.Read(ref input); if (utcOffset_ == null || value != 0) { UtcOffset = value; } break; } } } } #endif } /// /// Ответ запрос на получения дней, в которых есть записи на камере /// public sealed partial class GetCameraArchiveCalendarResponse : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetCameraArchiveCalendarResponse()); 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.Vc.V1.KeyapisVcCameraArchiveV1Reflection.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 GetCameraArchiveCalendarResponse() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GetCameraArchiveCalendarResponse(GetCameraArchiveCalendarResponse other) : this() { switch (other.TypeCase) { case TypeOneofCase.Data: Data = other.Data.Clone(); break; case TypeOneofCase.Error: Error = other.Error.Clone(); break; } _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GetCameraArchiveCalendarResponse Clone() { return new GetCameraArchiveCalendarResponse(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.Vc.V1.CameraArchiveCalendar Data { get { return typeCase_ == TypeOneofCase.Data ? (global::Keyapis.Vc.V1.CameraArchiveCalendar) type_ : null; } set { type_ = value; typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.Data; } } /// Field number for the "error" field. public const int ErrorFieldNumber = 2; /// /// Ошибка /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Keyapis.Vc.V1.GetCameraArchiveCalendarResponse.Types.Error Error { get { return typeCase_ == TypeOneofCase.Error ? (global::Keyapis.Vc.V1.GetCameraArchiveCalendarResponse.Types.Error) type_ : null; } set { type_ = value; typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.Error; } } private object type_; /// Enum of possible cases for the "type" oneof. public enum TypeOneofCase { None = 0, Data = 1, Error = 2, } 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 GetCameraArchiveCalendarResponse); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(GetCameraArchiveCalendarResponse other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (!object.Equals(Data, other.Data)) return false; if (!object.Equals(Error, other.Error)) 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(); if (typeCase_ == TypeOneofCase.Error) hash ^= Error.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 (typeCase_ == TypeOneofCase.Error) { output.WriteRawTag(18); output.WriteMessage(Error); } 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 (typeCase_ == TypeOneofCase.Error) { output.WriteRawTag(18); output.WriteMessage(Error); } 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 (typeCase_ == TypeOneofCase.Error) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(Error); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(GetCameraArchiveCalendarResponse other) { if (other == null) { return; } switch (other.TypeCase) { case TypeOneofCase.Data: if (Data == null) { Data = new global::Keyapis.Vc.V1.CameraArchiveCalendar(); } Data.MergeFrom(other.Data); break; case TypeOneofCase.Error: if (Error == null) { Error = new global::Keyapis.Vc.V1.GetCameraArchiveCalendarResponse.Types.Error(); } Error.MergeFrom(other.Error); 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.Vc.V1.CameraArchiveCalendar subBuilder = new global::Keyapis.Vc.V1.CameraArchiveCalendar(); if (typeCase_ == TypeOneofCase.Data) { subBuilder.MergeFrom(Data); } input.ReadMessage(subBuilder); Data = subBuilder; break; } case 18: { global::Keyapis.Vc.V1.GetCameraArchiveCalendarResponse.Types.Error subBuilder = new global::Keyapis.Vc.V1.GetCameraArchiveCalendarResponse.Types.Error(); if (typeCase_ == TypeOneofCase.Error) { subBuilder.MergeFrom(Error); } input.ReadMessage(subBuilder); Error = 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.Vc.V1.CameraArchiveCalendar subBuilder = new global::Keyapis.Vc.V1.CameraArchiveCalendar(); if (typeCase_ == TypeOneofCase.Data) { subBuilder.MergeFrom(Data); } input.ReadMessage(subBuilder); Data = subBuilder; break; } case 18: { global::Keyapis.Vc.V1.GetCameraArchiveCalendarResponse.Types.Error subBuilder = new global::Keyapis.Vc.V1.GetCameraArchiveCalendarResponse.Types.Error(); if (typeCase_ == TypeOneofCase.Error) { subBuilder.MergeFrom(Error); } input.ReadMessage(subBuilder); Error = subBuilder; break; } } } } #endif #region Nested types /// Container for nested types declared in the GetCameraArchiveCalendarResponse message type. [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static partial class Types { /// /// Ошибка запроса /// public sealed partial class Error : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Error()); 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.Vc.V1.GetCameraArchiveCalendarResponse.Descriptor.NestedTypes[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 Error() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public Error(Error other) : this() { switch (other.ReasonCase) { case ReasonOneofCase.Validation: Validation = other.Validation.Clone(); break; case ReasonOneofCase.VcError: VcError = other.VcError.Clone(); break; case ReasonOneofCase.VcUserNotFound: VcUserNotFound = other.VcUserNotFound.Clone(); break; } _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public Error Clone() { return new Error(this); } /// Field number for the "validation" field. public const int ValidationFieldNumber = 1; /// /// Ошибка валидации /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Keyapis.Vc.V1.ValidationError Validation { get { return reasonCase_ == ReasonOneofCase.Validation ? (global::Keyapis.Vc.V1.ValidationError) reason_ : null; } set { reason_ = value; reasonCase_ = value == null ? ReasonOneofCase.None : ReasonOneofCase.Validation; } } /// Field number for the "vc_error" field. public const int VcErrorFieldNumber = 2; /// /// Ошибка в сервисе ВН /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Keyapis.Vc.V1.GetCameraArchiveCalendarResponse.Types.Error.Types.VcError VcError { get { return reasonCase_ == ReasonOneofCase.VcError ? (global::Keyapis.Vc.V1.GetCameraArchiveCalendarResponse.Types.Error.Types.VcError) reason_ : null; } set { reason_ = value; reasonCase_ = value == null ? ReasonOneofCase.None : ReasonOneofCase.VcError; } } /// Field number for the "vc_user_not_found" field. public const int VcUserNotFoundFieldNumber = 3; /// /// Отсутствует идентификатор пользователя в Видеоплатформе /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Keyapis.Vc.V1.GetCameraArchiveCalendarResponse.Types.Error.Types.VcUserNotFound VcUserNotFound { get { return reasonCase_ == ReasonOneofCase.VcUserNotFound ? (global::Keyapis.Vc.V1.GetCameraArchiveCalendarResponse.Types.Error.Types.VcUserNotFound) reason_ : null; } set { reason_ = value; reasonCase_ = value == null ? ReasonOneofCase.None : ReasonOneofCase.VcUserNotFound; } } private object reason_; /// Enum of possible cases for the "reason" oneof. public enum ReasonOneofCase { None = 0, Validation = 1, VcError = 2, VcUserNotFound = 3, } private ReasonOneofCase reasonCase_ = ReasonOneofCase.None; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public ReasonOneofCase ReasonCase { get { return reasonCase_; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void ClearReason() { reasonCase_ = ReasonOneofCase.None; reason_ = null; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as Error); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(Error other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (!object.Equals(Validation, other.Validation)) return false; if (!object.Equals(VcError, other.VcError)) return false; if (!object.Equals(VcUserNotFound, other.VcUserNotFound)) return false; if (ReasonCase != other.ReasonCase) 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 (reasonCase_ == ReasonOneofCase.Validation) hash ^= Validation.GetHashCode(); if (reasonCase_ == ReasonOneofCase.VcError) hash ^= VcError.GetHashCode(); if (reasonCase_ == ReasonOneofCase.VcUserNotFound) hash ^= VcUserNotFound.GetHashCode(); hash ^= (int) reasonCase_; 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 (reasonCase_ == ReasonOneofCase.Validation) { output.WriteRawTag(10); output.WriteMessage(Validation); } if (reasonCase_ == ReasonOneofCase.VcError) { output.WriteRawTag(18); output.WriteMessage(VcError); } if (reasonCase_ == ReasonOneofCase.VcUserNotFound) { output.WriteRawTag(26); output.WriteMessage(VcUserNotFound); } 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 (reasonCase_ == ReasonOneofCase.Validation) { output.WriteRawTag(10); output.WriteMessage(Validation); } if (reasonCase_ == ReasonOneofCase.VcError) { output.WriteRawTag(18); output.WriteMessage(VcError); } if (reasonCase_ == ReasonOneofCase.VcUserNotFound) { output.WriteRawTag(26); output.WriteMessage(VcUserNotFound); } 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 (reasonCase_ == ReasonOneofCase.Validation) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(Validation); } if (reasonCase_ == ReasonOneofCase.VcError) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(VcError); } if (reasonCase_ == ReasonOneofCase.VcUserNotFound) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(VcUserNotFound); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(Error other) { if (other == null) { return; } switch (other.ReasonCase) { case ReasonOneofCase.Validation: if (Validation == null) { Validation = new global::Keyapis.Vc.V1.ValidationError(); } Validation.MergeFrom(other.Validation); break; case ReasonOneofCase.VcError: if (VcError == null) { VcError = new global::Keyapis.Vc.V1.GetCameraArchiveCalendarResponse.Types.Error.Types.VcError(); } VcError.MergeFrom(other.VcError); break; case ReasonOneofCase.VcUserNotFound: if (VcUserNotFound == null) { VcUserNotFound = new global::Keyapis.Vc.V1.GetCameraArchiveCalendarResponse.Types.Error.Types.VcUserNotFound(); } VcUserNotFound.MergeFrom(other.VcUserNotFound); 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.Vc.V1.ValidationError subBuilder = new global::Keyapis.Vc.V1.ValidationError(); if (reasonCase_ == ReasonOneofCase.Validation) { subBuilder.MergeFrom(Validation); } input.ReadMessage(subBuilder); Validation = subBuilder; break; } case 18: { global::Keyapis.Vc.V1.GetCameraArchiveCalendarResponse.Types.Error.Types.VcError subBuilder = new global::Keyapis.Vc.V1.GetCameraArchiveCalendarResponse.Types.Error.Types.VcError(); if (reasonCase_ == ReasonOneofCase.VcError) { subBuilder.MergeFrom(VcError); } input.ReadMessage(subBuilder); VcError = subBuilder; break; } case 26: { global::Keyapis.Vc.V1.GetCameraArchiveCalendarResponse.Types.Error.Types.VcUserNotFound subBuilder = new global::Keyapis.Vc.V1.GetCameraArchiveCalendarResponse.Types.Error.Types.VcUserNotFound(); if (reasonCase_ == ReasonOneofCase.VcUserNotFound) { subBuilder.MergeFrom(VcUserNotFound); } input.ReadMessage(subBuilder); VcUserNotFound = 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.Vc.V1.ValidationError subBuilder = new global::Keyapis.Vc.V1.ValidationError(); if (reasonCase_ == ReasonOneofCase.Validation) { subBuilder.MergeFrom(Validation); } input.ReadMessage(subBuilder); Validation = subBuilder; break; } case 18: { global::Keyapis.Vc.V1.GetCameraArchiveCalendarResponse.Types.Error.Types.VcError subBuilder = new global::Keyapis.Vc.V1.GetCameraArchiveCalendarResponse.Types.Error.Types.VcError(); if (reasonCase_ == ReasonOneofCase.VcError) { subBuilder.MergeFrom(VcError); } input.ReadMessage(subBuilder); VcError = subBuilder; break; } case 26: { global::Keyapis.Vc.V1.GetCameraArchiveCalendarResponse.Types.Error.Types.VcUserNotFound subBuilder = new global::Keyapis.Vc.V1.GetCameraArchiveCalendarResponse.Types.Error.Types.VcUserNotFound(); if (reasonCase_ == ReasonOneofCase.VcUserNotFound) { subBuilder.MergeFrom(VcUserNotFound); } input.ReadMessage(subBuilder); VcUserNotFound = subBuilder; break; } } } } #endif #region Nested types /// Container for nested types declared in the Error message type. [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static partial class Types { /// /// Ошибка в сервисе ВН /// public sealed partial class VcError : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new VcError()); 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.Vc.V1.GetCameraArchiveCalendarResponse.Types.Error.Descriptor.NestedTypes[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 VcError() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public VcError(VcError other) : this() { text_ = other.text_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public VcError Clone() { return new VcError(this); } /// Field number for the "text" field. public const int TextFieldNumber = 1; private string text_ = ""; /// /// Текст ошибки /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Text { get { return text_; } set { text_ = 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 VcError); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(VcError other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (Text != other.Text) 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 (Text.Length != 0) hash ^= Text.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 (Text.Length != 0) { output.WriteRawTag(10); output.WriteString(Text); } 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 (Text.Length != 0) { output.WriteRawTag(10); output.WriteString(Text); } 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 (Text.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Text); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(VcError other) { if (other == null) { return; } if (other.Text.Length != 0) { Text = other.Text; } _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: { Text = 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) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 10: { Text = input.ReadString(); break; } } } } #endif } /// /// Отсутствует идентификатор пользователя в Видеоплатформе /// public sealed partial class VcUserNotFound : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new VcUserNotFound()); 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.Vc.V1.GetCameraArchiveCalendarResponse.Types.Error.Descriptor.NestedTypes[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 VcUserNotFound() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public VcUserNotFound(VcUserNotFound other) : this() { _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public VcUserNotFound Clone() { return new VcUserNotFound(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as VcUserNotFound); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(VcUserNotFound other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } return Equals(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; 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 (_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 (_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 (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(VcUserNotFound other) { if (other == null) { return; } _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; } } #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; } } } #endif } } #endregion } } #endregion } /// /// Запрос получения дней, в которых есть записи на камере /// public sealed partial class GetCameraArchiveIntervalsRequest : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetCameraArchiveIntervalsRequest()); 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.Vc.V1.KeyapisVcCameraArchiveV1Reflection.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 GetCameraArchiveIntervalsRequest() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GetCameraArchiveIntervalsRequest(GetCameraArchiveIntervalsRequest other) : this() { cameraUid_ = other.cameraUid_; TimestampSince = other.TimestampSince; TimestampTill = other.TimestampTill; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GetCameraArchiveIntervalsRequest Clone() { return new GetCameraArchiveIntervalsRequest(this); } /// Field number for the "camera_uid" field. public const int CameraUidFieldNumber = 1; private string cameraUid_ = ""; /// /// Идентификатор камеры /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string CameraUid { get { return cameraUid_; } set { cameraUid_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "timestamp_since" field. public const int TimestampSinceFieldNumber = 2; private static readonly pb::FieldCodec _single_timestampSince_codec = pb::FieldCodec.ForStructWrapper(18); private double? timestampSince_; /// /// Время с которого нужно получить интервалы архива unixtime /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public double? TimestampSince { get { return timestampSince_; } set { timestampSince_ = value; } } /// Field number for the "timestamp_till" field. public const int TimestampTillFieldNumber = 3; private static readonly pb::FieldCodec _single_timestampTill_codec = pb::FieldCodec.ForStructWrapper(26); private double? timestampTill_; /// /// Время по которое нужно получить интервалы архива unixtime /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public double? TimestampTill { get { return timestampTill_; } set { timestampTill_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as GetCameraArchiveIntervalsRequest); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(GetCameraArchiveIntervalsRequest other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (CameraUid != other.CameraUid) return false; if (!pbc::ProtobufEqualityComparers.BitwiseNullableDoubleEqualityComparer.Equals(TimestampSince, other.TimestampSince)) return false; if (!pbc::ProtobufEqualityComparers.BitwiseNullableDoubleEqualityComparer.Equals(TimestampTill, other.TimestampTill)) 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 (CameraUid.Length != 0) hash ^= CameraUid.GetHashCode(); if (timestampSince_ != null) hash ^= pbc::ProtobufEqualityComparers.BitwiseNullableDoubleEqualityComparer.GetHashCode(TimestampSince); if (timestampTill_ != null) hash ^= pbc::ProtobufEqualityComparers.BitwiseNullableDoubleEqualityComparer.GetHashCode(TimestampTill); 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 (CameraUid.Length != 0) { output.WriteRawTag(10); output.WriteString(CameraUid); } if (timestampSince_ != null) { _single_timestampSince_codec.WriteTagAndValue(output, TimestampSince); } if (timestampTill_ != null) { _single_timestampTill_codec.WriteTagAndValue(output, TimestampTill); } 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 (CameraUid.Length != 0) { output.WriteRawTag(10); output.WriteString(CameraUid); } if (timestampSince_ != null) { _single_timestampSince_codec.WriteTagAndValue(ref output, TimestampSince); } if (timestampTill_ != null) { _single_timestampTill_codec.WriteTagAndValue(ref output, TimestampTill); } 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 (CameraUid.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(CameraUid); } if (timestampSince_ != null) { size += _single_timestampSince_codec.CalculateSizeWithTag(TimestampSince); } if (timestampTill_ != null) { size += _single_timestampTill_codec.CalculateSizeWithTag(TimestampTill); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(GetCameraArchiveIntervalsRequest other) { if (other == null) { return; } if (other.CameraUid.Length != 0) { CameraUid = other.CameraUid; } if (other.timestampSince_ != null) { if (timestampSince_ == null || other.TimestampSince != 0D) { TimestampSince = other.TimestampSince; } } if (other.timestampTill_ != null) { if (timestampTill_ == null || other.TimestampTill != 0D) { TimestampTill = other.TimestampTill; } } _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: { CameraUid = input.ReadString(); break; } case 18: { double? value = _single_timestampSince_codec.Read(input); if (timestampSince_ == null || value != 0D) { TimestampSince = value; } break; } case 26: { double? value = _single_timestampTill_codec.Read(input); if (timestampTill_ == null || value != 0D) { TimestampTill = value; } 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: { CameraUid = input.ReadString(); break; } case 18: { double? value = _single_timestampSince_codec.Read(ref input); if (timestampSince_ == null || value != 0D) { TimestampSince = value; } break; } case 26: { double? value = _single_timestampTill_codec.Read(ref input); if (timestampTill_ == null || value != 0D) { TimestampTill = value; } break; } } } } #endif } /// /// Интервал /// public sealed partial class Interval : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Interval()); 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.Vc.V1.KeyapisVcCameraArchiveV1Reflection.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 Interval() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public Interval(Interval other) : this() { timestampBegin_ = other.timestampBegin_; timestampEnd_ = other.timestampEnd_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public Interval Clone() { return new Interval(this); } /// Field number for the "timestamp_begin" field. public const int TimestampBeginFieldNumber = 1; private double timestampBegin_; /// /// Начало интервала unixtime /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public double TimestampBegin { get { return timestampBegin_; } set { timestampBegin_ = value; } } /// Field number for the "timestamp_end" field. public const int TimestampEndFieldNumber = 2; private double timestampEnd_; /// /// Конец интервала unixtime /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public double TimestampEnd { get { return timestampEnd_; } set { timestampEnd_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as Interval); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(Interval other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(TimestampBegin, other.TimestampBegin)) return false; if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(TimestampEnd, other.TimestampEnd)) 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 (TimestampBegin != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(TimestampBegin); if (TimestampEnd != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(TimestampEnd); 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 (TimestampBegin != 0D) { output.WriteRawTag(9); output.WriteDouble(TimestampBegin); } if (TimestampEnd != 0D) { output.WriteRawTag(17); output.WriteDouble(TimestampEnd); } 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 (TimestampBegin != 0D) { output.WriteRawTag(9); output.WriteDouble(TimestampBegin); } if (TimestampEnd != 0D) { output.WriteRawTag(17); output.WriteDouble(TimestampEnd); } 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 (TimestampBegin != 0D) { size += 1 + 8; } if (TimestampEnd != 0D) { size += 1 + 8; } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(Interval other) { if (other == null) { return; } if (other.TimestampBegin != 0D) { TimestampBegin = other.TimestampBegin; } if (other.TimestampEnd != 0D) { TimestampEnd = other.TimestampEnd; } _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 9: { TimestampBegin = input.ReadDouble(); break; } case 17: { TimestampEnd = input.ReadDouble(); 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 9: { TimestampBegin = input.ReadDouble(); break; } case 17: { TimestampEnd = input.ReadDouble(); break; } } } } #endif } /// /// Интервалы видеоархива камеры /// public sealed partial class CameraArchiveIntervals : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CameraArchiveIntervals()); 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.Vc.V1.KeyapisVcCameraArchiveV1Reflection.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 CameraArchiveIntervals() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public CameraArchiveIntervals(CameraArchiveIntervals other) : this() { cameraUid_ = other.cameraUid_; intervals_ = other.intervals_.Clone(); _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public CameraArchiveIntervals Clone() { return new CameraArchiveIntervals(this); } /// Field number for the "camera_uid" field. public const int CameraUidFieldNumber = 1; private string cameraUid_ = ""; /// /// Идентификатор камеры /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string CameraUid { get { return cameraUid_; } set { cameraUid_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "intervals" field. public const int IntervalsFieldNumber = 2; private static readonly pb::FieldCodec _repeated_intervals_codec = pb::FieldCodec.ForMessage(18, global::Keyapis.Vc.V1.Interval.Parser); private readonly pbc::RepeatedField intervals_ = new pbc::RepeatedField(); /// /// Список интервалов видеоархива камеры /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField Intervals { get { return intervals_; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as CameraArchiveIntervals); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(CameraArchiveIntervals other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (CameraUid != other.CameraUid) return false; if(!intervals_.Equals(other.intervals_)) 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 (CameraUid.Length != 0) hash ^= CameraUid.GetHashCode(); hash ^= intervals_.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 (CameraUid.Length != 0) { output.WriteRawTag(10); output.WriteString(CameraUid); } intervals_.WriteTo(output, _repeated_intervals_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) { if (CameraUid.Length != 0) { output.WriteRawTag(10); output.WriteString(CameraUid); } intervals_.WriteTo(ref output, _repeated_intervals_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; if (CameraUid.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(CameraUid); } size += intervals_.CalculateSize(_repeated_intervals_codec); if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(CameraArchiveIntervals other) { if (other == null) { return; } if (other.CameraUid.Length != 0) { CameraUid = other.CameraUid; } intervals_.Add(other.intervals_); _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: { CameraUid = input.ReadString(); break; } case 18: { intervals_.AddEntriesFrom(input, _repeated_intervals_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: { CameraUid = input.ReadString(); break; } case 18: { intervals_.AddEntriesFrom(ref input, _repeated_intervals_codec); break; } } } } #endif } /// /// Ответ запрос на получения дней, в которых есть записи на камере /// public sealed partial class GetCameraArchiveIntervalsResponse : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetCameraArchiveIntervalsResponse()); 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.Vc.V1.KeyapisVcCameraArchiveV1Reflection.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 GetCameraArchiveIntervalsResponse() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GetCameraArchiveIntervalsResponse(GetCameraArchiveIntervalsResponse other) : this() { switch (other.TypeCase) { case TypeOneofCase.Data: Data = other.Data.Clone(); break; case TypeOneofCase.Error: Error = other.Error.Clone(); break; } _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GetCameraArchiveIntervalsResponse Clone() { return new GetCameraArchiveIntervalsResponse(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.Vc.V1.CameraArchiveIntervals Data { get { return typeCase_ == TypeOneofCase.Data ? (global::Keyapis.Vc.V1.CameraArchiveIntervals) type_ : null; } set { type_ = value; typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.Data; } } /// Field number for the "error" field. public const int ErrorFieldNumber = 2; /// /// Ошибка /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Keyapis.Vc.V1.GetCameraArchiveIntervalsResponse.Types.Error Error { get { return typeCase_ == TypeOneofCase.Error ? (global::Keyapis.Vc.V1.GetCameraArchiveIntervalsResponse.Types.Error) type_ : null; } set { type_ = value; typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.Error; } } private object type_; /// Enum of possible cases for the "type" oneof. public enum TypeOneofCase { None = 0, Data = 1, Error = 2, } 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 GetCameraArchiveIntervalsResponse); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(GetCameraArchiveIntervalsResponse other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (!object.Equals(Data, other.Data)) return false; if (!object.Equals(Error, other.Error)) 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(); if (typeCase_ == TypeOneofCase.Error) hash ^= Error.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 (typeCase_ == TypeOneofCase.Error) { output.WriteRawTag(18); output.WriteMessage(Error); } 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 (typeCase_ == TypeOneofCase.Error) { output.WriteRawTag(18); output.WriteMessage(Error); } 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 (typeCase_ == TypeOneofCase.Error) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(Error); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(GetCameraArchiveIntervalsResponse other) { if (other == null) { return; } switch (other.TypeCase) { case TypeOneofCase.Data: if (Data == null) { Data = new global::Keyapis.Vc.V1.CameraArchiveIntervals(); } Data.MergeFrom(other.Data); break; case TypeOneofCase.Error: if (Error == null) { Error = new global::Keyapis.Vc.V1.GetCameraArchiveIntervalsResponse.Types.Error(); } Error.MergeFrom(other.Error); 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.Vc.V1.CameraArchiveIntervals subBuilder = new global::Keyapis.Vc.V1.CameraArchiveIntervals(); if (typeCase_ == TypeOneofCase.Data) { subBuilder.MergeFrom(Data); } input.ReadMessage(subBuilder); Data = subBuilder; break; } case 18: { global::Keyapis.Vc.V1.GetCameraArchiveIntervalsResponse.Types.Error subBuilder = new global::Keyapis.Vc.V1.GetCameraArchiveIntervalsResponse.Types.Error(); if (typeCase_ == TypeOneofCase.Error) { subBuilder.MergeFrom(Error); } input.ReadMessage(subBuilder); Error = 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.Vc.V1.CameraArchiveIntervals subBuilder = new global::Keyapis.Vc.V1.CameraArchiveIntervals(); if (typeCase_ == TypeOneofCase.Data) { subBuilder.MergeFrom(Data); } input.ReadMessage(subBuilder); Data = subBuilder; break; } case 18: { global::Keyapis.Vc.V1.GetCameraArchiveIntervalsResponse.Types.Error subBuilder = new global::Keyapis.Vc.V1.GetCameraArchiveIntervalsResponse.Types.Error(); if (typeCase_ == TypeOneofCase.Error) { subBuilder.MergeFrom(Error); } input.ReadMessage(subBuilder); Error = subBuilder; break; } } } } #endif #region Nested types /// Container for nested types declared in the GetCameraArchiveIntervalsResponse message type. [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static partial class Types { /// /// Ошибка запроса /// public sealed partial class Error : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Error()); 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.Vc.V1.GetCameraArchiveIntervalsResponse.Descriptor.NestedTypes[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 Error() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public Error(Error other) : this() { switch (other.ReasonCase) { case ReasonOneofCase.Validation: Validation = other.Validation.Clone(); break; case ReasonOneofCase.VcError: VcError = other.VcError.Clone(); break; case ReasonOneofCase.VcUserNotFound: VcUserNotFound = other.VcUserNotFound.Clone(); break; } _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public Error Clone() { return new Error(this); } /// Field number for the "validation" field. public const int ValidationFieldNumber = 1; /// /// Ошибка валидации /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Keyapis.Vc.V1.ValidationError Validation { get { return reasonCase_ == ReasonOneofCase.Validation ? (global::Keyapis.Vc.V1.ValidationError) reason_ : null; } set { reason_ = value; reasonCase_ = value == null ? ReasonOneofCase.None : ReasonOneofCase.Validation; } } /// Field number for the "vc_error" field. public const int VcErrorFieldNumber = 2; /// /// Ошибка в сервисе ВН /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Keyapis.Vc.V1.GetCameraArchiveIntervalsResponse.Types.Error.Types.VcError VcError { get { return reasonCase_ == ReasonOneofCase.VcError ? (global::Keyapis.Vc.V1.GetCameraArchiveIntervalsResponse.Types.Error.Types.VcError) reason_ : null; } set { reason_ = value; reasonCase_ = value == null ? ReasonOneofCase.None : ReasonOneofCase.VcError; } } /// Field number for the "vc_user_not_found" field. public const int VcUserNotFoundFieldNumber = 3; /// /// Отсутствует идентификатор пользователя в Видеоплатформе /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Keyapis.Vc.V1.GetCameraArchiveIntervalsResponse.Types.Error.Types.VcUserNotFound VcUserNotFound { get { return reasonCase_ == ReasonOneofCase.VcUserNotFound ? (global::Keyapis.Vc.V1.GetCameraArchiveIntervalsResponse.Types.Error.Types.VcUserNotFound) reason_ : null; } set { reason_ = value; reasonCase_ = value == null ? ReasonOneofCase.None : ReasonOneofCase.VcUserNotFound; } } private object reason_; /// Enum of possible cases for the "reason" oneof. public enum ReasonOneofCase { None = 0, Validation = 1, VcError = 2, VcUserNotFound = 3, } private ReasonOneofCase reasonCase_ = ReasonOneofCase.None; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public ReasonOneofCase ReasonCase { get { return reasonCase_; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void ClearReason() { reasonCase_ = ReasonOneofCase.None; reason_ = null; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as Error); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(Error other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (!object.Equals(Validation, other.Validation)) return false; if (!object.Equals(VcError, other.VcError)) return false; if (!object.Equals(VcUserNotFound, other.VcUserNotFound)) return false; if (ReasonCase != other.ReasonCase) 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 (reasonCase_ == ReasonOneofCase.Validation) hash ^= Validation.GetHashCode(); if (reasonCase_ == ReasonOneofCase.VcError) hash ^= VcError.GetHashCode(); if (reasonCase_ == ReasonOneofCase.VcUserNotFound) hash ^= VcUserNotFound.GetHashCode(); hash ^= (int) reasonCase_; 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 (reasonCase_ == ReasonOneofCase.Validation) { output.WriteRawTag(10); output.WriteMessage(Validation); } if (reasonCase_ == ReasonOneofCase.VcError) { output.WriteRawTag(18); output.WriteMessage(VcError); } if (reasonCase_ == ReasonOneofCase.VcUserNotFound) { output.WriteRawTag(26); output.WriteMessage(VcUserNotFound); } 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 (reasonCase_ == ReasonOneofCase.Validation) { output.WriteRawTag(10); output.WriteMessage(Validation); } if (reasonCase_ == ReasonOneofCase.VcError) { output.WriteRawTag(18); output.WriteMessage(VcError); } if (reasonCase_ == ReasonOneofCase.VcUserNotFound) { output.WriteRawTag(26); output.WriteMessage(VcUserNotFound); } 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 (reasonCase_ == ReasonOneofCase.Validation) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(Validation); } if (reasonCase_ == ReasonOneofCase.VcError) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(VcError); } if (reasonCase_ == ReasonOneofCase.VcUserNotFound) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(VcUserNotFound); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(Error other) { if (other == null) { return; } switch (other.ReasonCase) { case ReasonOneofCase.Validation: if (Validation == null) { Validation = new global::Keyapis.Vc.V1.ValidationError(); } Validation.MergeFrom(other.Validation); break; case ReasonOneofCase.VcError: if (VcError == null) { VcError = new global::Keyapis.Vc.V1.GetCameraArchiveIntervalsResponse.Types.Error.Types.VcError(); } VcError.MergeFrom(other.VcError); break; case ReasonOneofCase.VcUserNotFound: if (VcUserNotFound == null) { VcUserNotFound = new global::Keyapis.Vc.V1.GetCameraArchiveIntervalsResponse.Types.Error.Types.VcUserNotFound(); } VcUserNotFound.MergeFrom(other.VcUserNotFound); 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.Vc.V1.ValidationError subBuilder = new global::Keyapis.Vc.V1.ValidationError(); if (reasonCase_ == ReasonOneofCase.Validation) { subBuilder.MergeFrom(Validation); } input.ReadMessage(subBuilder); Validation = subBuilder; break; } case 18: { global::Keyapis.Vc.V1.GetCameraArchiveIntervalsResponse.Types.Error.Types.VcError subBuilder = new global::Keyapis.Vc.V1.GetCameraArchiveIntervalsResponse.Types.Error.Types.VcError(); if (reasonCase_ == ReasonOneofCase.VcError) { subBuilder.MergeFrom(VcError); } input.ReadMessage(subBuilder); VcError = subBuilder; break; } case 26: { global::Keyapis.Vc.V1.GetCameraArchiveIntervalsResponse.Types.Error.Types.VcUserNotFound subBuilder = new global::Keyapis.Vc.V1.GetCameraArchiveIntervalsResponse.Types.Error.Types.VcUserNotFound(); if (reasonCase_ == ReasonOneofCase.VcUserNotFound) { subBuilder.MergeFrom(VcUserNotFound); } input.ReadMessage(subBuilder); VcUserNotFound = 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.Vc.V1.ValidationError subBuilder = new global::Keyapis.Vc.V1.ValidationError(); if (reasonCase_ == ReasonOneofCase.Validation) { subBuilder.MergeFrom(Validation); } input.ReadMessage(subBuilder); Validation = subBuilder; break; } case 18: { global::Keyapis.Vc.V1.GetCameraArchiveIntervalsResponse.Types.Error.Types.VcError subBuilder = new global::Keyapis.Vc.V1.GetCameraArchiveIntervalsResponse.Types.Error.Types.VcError(); if (reasonCase_ == ReasonOneofCase.VcError) { subBuilder.MergeFrom(VcError); } input.ReadMessage(subBuilder); VcError = subBuilder; break; } case 26: { global::Keyapis.Vc.V1.GetCameraArchiveIntervalsResponse.Types.Error.Types.VcUserNotFound subBuilder = new global::Keyapis.Vc.V1.GetCameraArchiveIntervalsResponse.Types.Error.Types.VcUserNotFound(); if (reasonCase_ == ReasonOneofCase.VcUserNotFound) { subBuilder.MergeFrom(VcUserNotFound); } input.ReadMessage(subBuilder); VcUserNotFound = subBuilder; break; } } } } #endif #region Nested types /// Container for nested types declared in the Error message type. [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static partial class Types { /// /// Ошибка в сервисе ВН /// public sealed partial class VcError : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new VcError()); 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.Vc.V1.GetCameraArchiveIntervalsResponse.Types.Error.Descriptor.NestedTypes[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 VcError() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public VcError(VcError other) : this() { text_ = other.text_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public VcError Clone() { return new VcError(this); } /// Field number for the "text" field. public const int TextFieldNumber = 1; private string text_ = ""; /// /// Текст ошибки /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Text { get { return text_; } set { text_ = 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 VcError); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(VcError other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (Text != other.Text) 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 (Text.Length != 0) hash ^= Text.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 (Text.Length != 0) { output.WriteRawTag(10); output.WriteString(Text); } 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 (Text.Length != 0) { output.WriteRawTag(10); output.WriteString(Text); } 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 (Text.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Text); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(VcError other) { if (other == null) { return; } if (other.Text.Length != 0) { Text = other.Text; } _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: { Text = 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) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 10: { Text = input.ReadString(); break; } } } } #endif } /// /// Отсутствует идентификатор пользователя в Видеоплатформе /// public sealed partial class VcUserNotFound : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new VcUserNotFound()); 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.Vc.V1.GetCameraArchiveIntervalsResponse.Types.Error.Descriptor.NestedTypes[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 VcUserNotFound() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public VcUserNotFound(VcUserNotFound other) : this() { _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public VcUserNotFound Clone() { return new VcUserNotFound(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as VcUserNotFound); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(VcUserNotFound other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } return Equals(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; 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 (_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 (_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 (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(VcUserNotFound other) { if (other == null) { return; } _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; } } #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; } } } #endif } } #endregion } } #endregion } #endregion } #endregion Designer generated code