// Generated by the protocol buffer compiler. DO NOT EDIT! // source: DetectionBenchmark.proto #pragma warning disable 1591, 0612, 3021 #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 Tango.PMR.TCC { /// Holder for reflection information generated from DetectionBenchmark.proto public static partial class DetectionBenchmarkReflection { #region Descriptor /// File descriptor for DetectionBenchmark.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static DetectionBenchmarkReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "ChhEZXRlY3Rpb25CZW5jaG1hcmsucHJvdG8SDVRhbmdvLlBNUi5UQ0MiXwoS", "RGV0ZWN0aW9uQmVuY2htYXJrEgsKA1JlZBgBIAEoBRINCgVHcmVlbhgCIAEo", "BRIMCgRCbHVlGAMgASgFEgkKAUwYBCABKAESCQoBQRgFIAEoARIJCgFCGAYg", "ASgBQhkKF2NvbS50d2luZS50YW5nby5wbXIudGNjYgZwcm90bzM=")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { }, new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Tango.PMR.TCC.DetectionBenchmark), global::Tango.PMR.TCC.DetectionBenchmark.Parser, new[]{ "Red", "Green", "Blue", "L", "A", "B" }, null, null, null) })); } #endregion } #region Messages public sealed partial class DetectionBenchmark : pb::IMessage { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DetectionBenchmark()); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { get { return global::Tango.PMR.TCC.DetectionBenchmarkReflection.Descriptor.MessageTypes[0]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public DetectionBenchmark() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public DetectionBenchmark(DetectionBenchmark other) : this() { red_ = other.red_; green_ = other.green_; blue_ = other.blue_; l_ = other.l_; a_ = other.a_; b_ = other.b_; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public DetectionBenchmark Clone() { return new DetectionBenchmark(this); } /// Field number for the "Red" field. public const int RedFieldNumber = 1; private int red_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int Red { get { return red_; } set { red_ = value; } } /// Field number for the "Green" field. public const int GreenFieldNumber = 2; private int green_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int Green { get { return green_; } set { green_ = value; } } /// Field number for the "Blue" field. public const int BlueFieldNumber = 3; private int blue_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int Blue { get { return blue_; } set { blue_ = value; } } /// Field number for the "L" field. public const int LFieldNumber = 4; private double l_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public double L { get { return l_; } set { l_ = value; } } /// Field number for the "A" field. public const int AFieldNumber = 5; private double a_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public double A { get { return a_; } set { a_ = value; } } /// Field number for the "B" field. public const int BFieldNumber = 6; private double b_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public double B { get { return b_; } set { b_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override bool Equals(object other) { return Equals(other as DetectionBenchmark); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool Equals(DetectionBenchmark other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (Red != other.Red) return false; if (Green != other.Green) return false; if (Blue != other.Blue) return false; if (L != other.L) return false; if (A != other.A) return false; if (B != other.B) return false; return true; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override int GetHashCode() { int hash = 1; if (Red != 0) hash ^= Red.GetHashCode(); if (Green != 0) hash ^= Green.GetHashCode(); if (Blue != 0) hash ^= Blue.GetHashCode(); if (L != 0D) hash ^= L.GetHashCode(); if (A != 0D) hash ^= A.GetHashCode(); if (B != 0D) hash ^= B.GetHashCode(); return hash; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { if (Red != 0) { output.WriteRawTag(8); output.WriteInt32(Red); } if (Green != 0) { output.WriteRawTag(16); output.WriteInt32(Green); } if (Blue != 0) { output.WriteRawTag(24); output.WriteInt32(Blue); } if (L != 0D) { output.WriteRawTag(33); output.WriteDouble(L); } if (A != 0D) { output.WriteRawTag(41); output.WriteDouble(A); } if (B != 0D) { output.WriteRawTag(49); output.WriteDouble(B); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { int size = 0; if (Red != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Red); } if (Green != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Green); } if (Blue != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Blue); } if (L != 0D) { size += 1 + 8; } if (A != 0D) { size += 1 + 8; } if (B != 0D) { size += 1 + 8; } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(DetectionBenchmark other) { if (other == null) { return; } if (other.Red != 0) { Red = other.Red; } if (other.Green != 0) { Green = other.Green; } if (other.Blue != 0) { Blue = other.Blue; } if (other.L != 0D) { L = other.L; } if (other.A != 0D) { A = other.A; } if (other.B != 0D) { B = other.B; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: input.SkipLastField(); break; case 8: { Red = input.ReadInt32(); break; } case 16: { Green = input.ReadInt32(); break; } case 24: { Blue = input.ReadInt32(); break; } case 33: { L = input.ReadDouble(); break; } case 41: { A = input.ReadDouble(); break; } case 49: { B = input.ReadDouble(); break; } } } } } #endregion } #endregion Designer generated code