// Generated by the protocol buffer compiler. DO NOT EDIT! // source: MainCardStoredDataResponse.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.EmbeddedParameters { /// Holder for reflection information generated from MainCardStoredDataResponse.proto public static partial class MainCardStoredDataResponseReflection { #region Descriptor /// File descriptor for MainCardStoredDataResponse.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static MainCardStoredDataResponseReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "CiBNYWluQ2FyZFN0b3JlZERhdGFSZXNwb25zZS5wcm90bxIcVGFuZ28uUE1S", "LkVtYmVkZGVkUGFyYW1ldGVycxoYTWFpbkNhcmRTdG9yZWREYXRhLnByb3Rv", "ImoKGk1haW5DYXJkU3RvcmVkRGF0YVJlc3BvbnNlEkwKEk1haW5DYXJkU3Rv", "cmVkRGF0YRgBIAEoCzIwLlRhbmdvLlBNUi5FbWJlZGRlZFBhcmFtZXRlcnMu", "TWFpbkNhcmRTdG9yZWREYXRhQigKJmNvbS50d2luZS50YW5nby5wbXIuZW1i", "ZWRkZWRwYXJhbWV0ZXJzYgZwcm90bzM=")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { global::Tango.PMR.EmbeddedParameters.MainCardStoredDataReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Tango.PMR.EmbeddedParameters.MainCardStoredDataResponse), global::Tango.PMR.EmbeddedParameters.MainCardStoredDataResponse.Parser, new[]{ "MainCardStoredData" }, null, null, null) })); } #endregion } #region Messages public sealed partial class MainCardStoredDataResponse : pb::IMessage { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new MainCardStoredDataResponse()); [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.EmbeddedParameters.MainCardStoredDataResponseReflection.Descriptor.MessageTypes[0]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public MainCardStoredDataResponse() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public MainCardStoredDataResponse(MainCardStoredDataResponse other) : this() { MainCardStoredData = other.mainCardStoredData_ != null ? other.MainCardStoredData.Clone() : null; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public MainCardStoredDataResponse Clone() { return new MainCardStoredDataResponse(this); } /// Field number for the "MainCardStoredData" field. public const int MainCardStoredDataFieldNumber = 1; private global::Tango.PMR.EmbeddedParameters.MainCardStoredData mainCardStoredData_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public global::Tango.PMR.EmbeddedParameters.MainCardStoredData MainCardStoredData { get { return mainCardStoredData_; } set { mainCardStoredData_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override bool Equals(object other) { return Equals(other as MainCardStoredDataResponse); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool Equals(MainCardStoredDataResponse other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (!object.Equals(MainCardStoredData, other.MainCardStoredData)) return false; return true; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override int GetHashCode() { int hash = 1; if (mainCardStoredData_ != null) hash ^= MainCardStoredData.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 (mainCardStoredData_ != null) { output.WriteRawTag(10); output.WriteMessage(MainCardStoredData); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { int size = 0; if (mainCardStoredData_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(MainCardStoredData); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(MainCardStoredDataResponse other) { if (other == null) { return; } if (other.mainCardStoredData_ != null) { if (mainCardStoredData_ == null) { mainCardStoredData_ = new global::Tango.PMR.EmbeddedParameters.MainCardStoredData(); } MainCardStoredData.MergeFrom(other.MainCardStoredData); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: input.SkipLastField(); break; case 10: { if (mainCardStoredData_ == null) { mainCardStoredData_ = new global::Tango.PMR.EmbeddedParameters.MainCardStoredData(); } input.ReadMessage(mainCardStoredData_); break; } } } } } #endregion } #endregion Designer generated code