// Generated by the protocol buffer compiler. DO NOT EDIT! // source: StubL6470DriverResponse.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.Stubs { /// Holder for reflection information generated from StubL6470DriverResponse.proto public static partial class StubL6470DriverResponseReflection { #region Descriptor /// File descriptor for StubL6470DriverResponse.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static StubL6470DriverResponseReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "Ch1TdHViTDY0NzBEcml2ZXJSZXNwb25zZS5wcm90bxIPVGFuZ28uUE1SLlN0", "dWJzIssCChdTdHViTDY0NzBEcml2ZXJSZXNwb25zZRIRCglSdW5fVmFsdWUY", "ASABKA0SEQoJTW92X1ZhbHVlGAIgASgNEhIKClRlc3RCb29sXzEYAyABKAgS", "EgoKVGVzdEJvb2xfMhgEIAEoCBISCgpUZXN0Qm9vbF8zGAUgASgIEhIKClRl", "c3RCb29sXzQYBiABKAgSEgoKVGVzdEJvb2xfNRgHIAEoCBIUCgxUZXN0VWlu", "dDMyXzEYCCABKA0SFAoMVGVzdFVpbnQzMl8yGAkgASgNEhQKDFRlc3RVaW50", "MzJfMxgKIAEoDRIUCgxUZXN0VWludDMyXzQYCyABKA0SFAoMVGVzdFVpbnQz", "Ml81GAwgASgNEhQKDFRlc3RVaW50MzJfNhgNIAEoDRIOCgZTdGF0dXMYDiAB", "KAkSEgoKU3RhdHVzV29yZBgPIAEoDUIbChljb20udHdpbmUudGFuZ28ucG1y", "LnN0dWJzYgZwcm90bzM=")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { }, new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Tango.PMR.Stubs.StubL6470DriverResponse), global::Tango.PMR.Stubs.StubL6470DriverResponse.Parser, new[]{ "RunValue", "MovValue", "TestBool1", "TestBool2", "TestBool3", "TestBool4", "TestBool5", "TestUint321", "TestUint322", "TestUint323", "TestUint324", "TestUint325", "TestUint326", "Status", "StatusWord" }, null, null, null) })); } #endregion } #region Messages public sealed partial class StubL6470DriverResponse : pb::IMessage { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new StubL6470DriverResponse()); [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.Stubs.StubL6470DriverResponseReflection.Descriptor.MessageTypes[0]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public StubL6470DriverResponse() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public StubL6470DriverResponse(StubL6470DriverResponse other) : this() { runValue_ = other.runValue_; movValue_ = other.movValue_; testBool1_ = other.testBool1_; testBool2_ = other.testBool2_; testBool3_ = other.testBool3_; testBool4_ = other.testBool4_; testBool5_ = other.testBool5_; testUint321_ = other.testUint321_; testUint322_ = other.testUint322_; testUint323_ = other.testUint323_; testUint324_ = other.testUint324_; testUint325_ = other.testUint325_; testUint326_ = other.testUint326_; status_ = other.status_; statusWord_ = other.statusWord_; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public StubL6470DriverResponse Clone() { return new StubL6470DriverResponse(this); } /// Field number for the "Run_Value" field. public const int RunValueFieldNumber = 1; private uint runValue_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public uint RunValue { get { return runValue_; } set { runValue_ = value; } } /// Field number for the "Mov_Value" field. public const int MovValueFieldNumber = 2; private uint movValue_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public uint MovValue { get { return movValue_; } set { movValue_ = value; } } /// Field number for the "TestBool_1" field. public const int TestBool1FieldNumber = 3; private bool testBool1_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool TestBool1 { get { return testBool1_; } set { testBool1_ = value; } } /// Field number for the "TestBool_2" field. public const int TestBool2FieldNumber = 4; private bool testBool2_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool TestBool2 { get { return testBool2_; } set { testBool2_ = value; } } /// Field number for the "TestBool_3" field. public const int TestBool3FieldNumber = 5; private bool testBool3_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool TestBool3 { get { return testBool3_; } set { testBool3_ = value; } } /// Field number for the "TestBool_4" field. public const int TestBool4FieldNumber = 6; private bool testBool4_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool TestBool4 { get { return testBool4_; } set { testBool4_ = value; } } /// Field number for the "TestBool_5" field. public const int TestBool5FieldNumber = 7; private bool testBool5_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool TestBool5 { get { return testBool5_; } set { testBool5_ = value; } } /// Field number for the "TestUint32_1" field. public const int TestUint321FieldNumber = 8; private uint testUint321_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public uint TestUint321 { get { return testUint321_; } set { testUint321_ = value; } } /// Field number for the "TestUint32_2" field. public const int TestUint322FieldNumber = 9; private uint testUint322_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public uint TestUint322 { get { return testUint322_; } set { testUint322_ = value; } } /// Field number for the "TestUint32_3" field. public const int TestUint323FieldNumber = 10; private uint testUint323_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public uint TestUint323 { get { return testUint323_; } set { testUint323_ = value; } } /// Field number for the "TestUint32_4" field. public const int TestUint324FieldNumber = 11; private uint testUint324_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public uint TestUint324 { get { return testUint324_; } set { testUint324_ = value; } } /// Field number for the "TestUint32_5" field. public const int TestUint325FieldNumber = 12; private uint testUint325_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public uint TestUint325 { get { return testUint325_; } set { testUint325_ = value; } } /// Field number for the "TestUint32_6" field. public const int TestUint326FieldNumber = 13; private uint testUint326_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public uint TestUint326 { get { return testUint326_; } set { testUint326_ = value; } } /// Field number for the "Status" field. public const int StatusFieldNumber = 14; private string status_ = ""; /// /// Passed/Failed /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public string Status { get { return status_; } set { status_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "StatusWord" field. public const int StatusWordFieldNumber = 15; private uint statusWord_; /// /// Error number/bit when the status is Failed /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public uint StatusWord { get { return statusWord_; } set { statusWord_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override bool Equals(object other) { return Equals(other as StubL6470DriverResponse); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool Equals(StubL6470DriverResponse other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (RunValue != other.RunValue) return false; if (MovValue != other.MovValue) return false; if (TestBool1 != other.TestBool1) return false; if (TestBool2 != other.TestBool2) return false; if (TestBool3 != other.TestBool3) return false; if (TestBool4 != other.TestBool4) return false; if (TestBool5 != other.TestBool5) return false; if (TestUint321 != other.TestUint321) return false; if (TestUint322 != other.TestUint322) return false; if (TestUint323 != other.TestUint323) return false; if (TestUint324 != other.TestUint324) return false; if (TestUint325 != other.TestUint325) return false; if (TestUint326 != other.TestUint326) return false; if (Status != other.Status) return false; if (StatusWord != other.StatusWord) return false; return true; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override int GetHashCode() { int hash = 1; if (RunValue != 0) hash ^= RunValue.GetHashCode(); if (MovValue != 0) hash ^= MovValue.GetHashCode(); if (TestBool1 != false) hash ^= TestBool1.GetHashCode(); if (TestBool2 != false) hash ^= TestBool2.GetHashCode(); if (TestBool3 != false) hash ^= TestBool3.GetHashCode(); if (TestBool4 != false) hash ^= TestBool4.GetHashCode(); if (TestBool5 != false) hash ^= TestBool5.GetHashCode(); if (TestUint321 != 0) hash ^= TestUint321.GetHashCode(); if (TestUint322 != 0) hash ^= TestUint322.GetHashCode(); if (TestUint323 != 0) hash ^= TestUint323.GetHashCode(); if (TestUint324 != 0) hash ^= TestUint324.GetHashCode(); if (TestUint325 != 0) hash ^= TestUint325.GetHashCode(); if (TestUint326 != 0) hash ^= TestUint326.GetHashCode(); if (Status.Length != 0) hash ^= Status.GetHashCode(); if (StatusWord != 0) hash ^= StatusWord.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 (RunValue != 0) { output.WriteRawTag(8); output.WriteUInt32(RunValue); } if (MovValue != 0) { output.WriteRawTag(16); output.WriteUInt32(MovValue); } if (TestBool1 != false) { output.WriteRawTag(24); output.WriteBool(TestBool1); } if (TestBool2 != false) { output.WriteRawTag(32); output.WriteBool(TestBool2); } if (TestBool3 != false) { output.WriteRawTag(40); output.WriteBool(TestBool3); } if (TestBool4 != false) { output.WriteRawTag(48); output.WriteBool(TestBool4); } if (TestBool5 != false) { output.WriteRawTag(56); output.WriteBool(TestBool5); } if (TestUint321 != 0) { output.WriteRawTag(64); output.WriteUInt32(TestUint321); } if (TestUint322 != 0) { output.WriteRawTag(72); output.WriteUInt32(TestUint322); } if (TestUint323 != 0) { output.WriteRawTag(80); output.WriteUInt32(TestUint323); } if (TestUint324 != 0) { output.WriteRawTag(88); output.WriteUInt32(TestUint324); } if (TestUint325 != 0) { output.WriteRawTag(96); output.WriteUInt32(TestUint325); } if (TestUint326 != 0) { output.WriteRawTag(104); output.WriteUInt32(TestUint326); } if (Status.Length != 0) { output.WriteRawTag(114); output.WriteString(Status); } if (StatusWord != 0) { output.WriteRawTag(120); output.WriteUInt32(StatusWord); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { int size = 0; if (RunValue != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(RunValue); } if (MovValue != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(MovValue); } if (TestBool1 != false) { size += 1 + 1; } if (TestBool2 != false) { size += 1 + 1; } if (TestBool3 != false) { size += 1 + 1; } if (TestBool4 != false) { size += 1 + 1; } if (TestBool5 != false) { size += 1 + 1; } if (TestUint321 != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(TestUint321); } if (TestUint322 != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(TestUint322); } if (TestUint323 != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(TestUint323); } if (TestUint324 != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(TestUint324); } if (TestUint325 != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(TestUint325); } if (TestUint326 != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(TestUint326); } if (Status.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Status); } if (StatusWord != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(StatusWord); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(StubL6470DriverResponse other) { if (other == null) { return; } if (other.RunValue != 0) { RunValue = other.RunValue; } if (other.MovValue != 0) { MovValue = other.MovValue; } if (other.TestBool1 != false) { TestBool1 = other.TestBool1; } if (other.TestBool2 != false) { TestBool2 = other.TestBool2; } if (other.TestBool3 != false) { TestBool3 = other.TestBool3; } if (other.TestBool4 != false) { TestBool4 = other.TestBool4; } if (other.TestBool5 != false) { TestBool5 = other.TestBool5; } if (other.TestUint321 != 0) { TestUint321 = other.TestUint321; } if (other.TestUint322 != 0) { TestUint322 = other.TestUint322; } if (other.TestUint323 != 0) { TestUint323 = other.TestUint323; } if (other.TestUint324 != 0) { TestUint324 = other.TestUint324; } if (other.TestUint325 != 0) { TestUint325 = other.TestUint325; } if (other.TestUint326 != 0) { TestUint326 = other.TestUint326; } if (other.Status.Length != 0) { Status = other.Status; } if (other.StatusWord != 0) { StatusWord = other.StatusWord; } } [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: { RunValue = input.ReadUInt32(); break; } case 16: { MovValue = input.ReadUInt32(); break; } case 24: { TestBool1 = input.ReadBool(); break; } case 32: { TestBool2 = input.ReadBool(); break; } case 40: { TestBool3 = input.ReadBool(); break; } case 48: { TestBool4 = input.ReadBool(); break; } case 56: { TestBool5 = input.ReadBool(); break; } case 64: { TestUint321 = input.ReadUInt32(); break; } case 72: { TestUint322 = input.ReadUInt32(); break; } case 80: { TestUint323 = input.ReadUInt32(); break; } case 88: { TestUint324 = input.ReadUInt32(); break; } case 96: { TestUint325 = input.ReadUInt32(); break; } case 104: { TestUint326 = input.ReadUInt32(); break; } case 114: { Status = input.ReadString(); break; } case 120: { StatusWord = input.ReadUInt32(); break; } } } } } #endregion } #endregion Designer generated code