// // Generated by the protocol buffer compiler. DO NOT EDIT! // source: UnNormalized_module_message.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 Message { /// Holder for reflection information generated from UnNormalized_module_message.proto public static partial class UnNormalizedModuleMessageReflection { #region Descriptor /// File descriptor for UnNormalized_module_message.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static UnNormalizedModuleMessageReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "CiFVbk5vcm1hbGl6ZWRfbW9kdWxlX21lc3NhZ2UucHJvdG8SB21lc3NhZ2Ua", "Em1lc3NhZ2VfYmFzZS5wcm90byKuAQodVW5Ob3JtYWxpemVkX21vZHVsZV9z", "dGF0dV9tc2cSJQoJYmFzZV9pbmZvGAEgAigLMhIubWVzc2FnZS5CYXNlX2lu", "Zm8SJQoJaWRfc3RydWN0GAIgAigLMhIubWVzc2FnZS5JZF9zdHJ1Y3QSKgoK", "c3RhdHVfY29kZRgDIAIoCzIWLm1lc3NhZ2UuRXJyb3JfbWFuYWdlchITCgtj", "YXJfbGljZW5zZRgEIAEoCQ==")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { global::Message.MessageBaseReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Message.UnNormalized_module_statu_msg), global::Message.UnNormalized_module_statu_msg.Parser, new[]{ "BaseInfo", "IdStruct", "StatuCode", "CarLicense" }, null, null, null, null) })); } #endregion } #region Messages /// ///地面定位模块测量结果 /// public sealed partial class UnNormalized_module_statu_msg : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UnNormalized_module_statu_msg()); 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::Message.UnNormalizedModuleMessageReflection.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 UnNormalized_module_statu_msg() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public UnNormalized_module_statu_msg(UnNormalized_module_statu_msg other) : this() { baseInfo_ = other.baseInfo_ != null ? other.baseInfo_.Clone() : null; idStruct_ = other.idStruct_ != null ? other.idStruct_.Clone() : null; statuCode_ = other.statuCode_ != null ? other.statuCode_.Clone() : null; carLicense_ = other.carLicense_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public UnNormalized_module_statu_msg Clone() { return new UnNormalized_module_statu_msg(this); } /// Field number for the "base_info" field. public const int BaseInfoFieldNumber = 1; private global::Message.Base_info baseInfo_; /// ///消息类型 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Message.Base_info BaseInfo { get { return baseInfo_; } set { baseInfo_ = value; } } /// Field number for the "id_struct" field. public const int IdStructFieldNumber = 2; private global::Message.Id_struct idStruct_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Message.Id_struct IdStruct { get { return idStruct_; } set { idStruct_ = value; } } /// Field number for the "statu_code" field. public const int StatuCodeFieldNumber = 3; private global::Message.Error_manager statuCode_; /// ///模块状态 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Message.Error_manager StatuCode { get { return statuCode_; } set { statuCode_ = value; } } /// Field number for the "car_license" field. public const int CarLicenseFieldNumber = 4; private readonly static string CarLicenseDefaultValue = ""; private string carLicense_; /// ///号牌数据 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string CarLicense { get { return carLicense_ ?? CarLicenseDefaultValue; } set { carLicense_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Gets whether the "car_license" field is set [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool HasCarLicense { get { return carLicense_ != null; } } /// Clears the value of the "car_license" field [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void ClearCarLicense() { carLicense_ = null; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as UnNormalized_module_statu_msg); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(UnNormalized_module_statu_msg other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (!object.Equals(BaseInfo, other.BaseInfo)) return false; if (!object.Equals(IdStruct, other.IdStruct)) return false; if (!object.Equals(StatuCode, other.StatuCode)) return false; if (CarLicense != other.CarLicense) 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 (baseInfo_ != null) hash ^= BaseInfo.GetHashCode(); if (idStruct_ != null) hash ^= IdStruct.GetHashCode(); if (statuCode_ != null) hash ^= StatuCode.GetHashCode(); if (HasCarLicense) hash ^= CarLicense.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 (baseInfo_ != null) { output.WriteRawTag(10); output.WriteMessage(BaseInfo); } if (idStruct_ != null) { output.WriteRawTag(18); output.WriteMessage(IdStruct); } if (statuCode_ != null) { output.WriteRawTag(26); output.WriteMessage(StatuCode); } if (HasCarLicense) { output.WriteRawTag(34); output.WriteString(CarLicense); } 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 (baseInfo_ != null) { output.WriteRawTag(10); output.WriteMessage(BaseInfo); } if (idStruct_ != null) { output.WriteRawTag(18); output.WriteMessage(IdStruct); } if (statuCode_ != null) { output.WriteRawTag(26); output.WriteMessage(StatuCode); } if (HasCarLicense) { output.WriteRawTag(34); output.WriteString(CarLicense); } 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 (baseInfo_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(BaseInfo); } if (idStruct_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(IdStruct); } if (statuCode_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(StatuCode); } if (HasCarLicense) { size += 1 + pb::CodedOutputStream.ComputeStringSize(CarLicense); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(UnNormalized_module_statu_msg other) { if (other == null) { return; } if (other.baseInfo_ != null) { if (baseInfo_ == null) { BaseInfo = new global::Message.Base_info(); } BaseInfo.MergeFrom(other.BaseInfo); } if (other.idStruct_ != null) { if (idStruct_ == null) { IdStruct = new global::Message.Id_struct(); } IdStruct.MergeFrom(other.IdStruct); } if (other.statuCode_ != null) { if (statuCode_ == null) { StatuCode = new global::Message.Error_manager(); } StatuCode.MergeFrom(other.StatuCode); } if (other.HasCarLicense) { CarLicense = other.CarLicense; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE input.ReadRawMessage(this); #else uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { if (baseInfo_ == null) { BaseInfo = new global::Message.Base_info(); } input.ReadMessage(BaseInfo); break; } case 18: { if (idStruct_ == null) { IdStruct = new global::Message.Id_struct(); } input.ReadMessage(IdStruct); break; } case 26: { if (statuCode_ == null) { StatuCode = new global::Message.Error_manager(); } input.ReadMessage(StatuCode); break; } case 34: { CarLicense = 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: { if (baseInfo_ == null) { BaseInfo = new global::Message.Base_info(); } input.ReadMessage(BaseInfo); break; } case 18: { if (idStruct_ == null) { IdStruct = new global::Message.Id_struct(); } input.ReadMessage(IdStruct); break; } case 26: { if (statuCode_ == null) { StatuCode = new global::Message.Error_manager(); } input.ReadMessage(StatuCode); break; } case 34: { CarLicense = input.ReadString(); break; } } } } #endif } #endregion } #endregion Designer generated code