123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400 |
- // <auto-generated>
- // Generated by the protocol buffer compiler. DO NOT EDIT!
- // source: UnNormalized_module_message.proto
- // </auto-generated>
- #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 {
- /// <summary>Holder for reflection information generated from UnNormalized_module_message.proto</summary>
- public static partial class UnNormalizedModuleMessageReflection {
- #region Descriptor
- /// <summary>File descriptor for UnNormalized_module_message.proto</summary>
- 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
- /// <summary>
- ///地面定位模块测量结果
- /// </summary>
- public sealed partial class UnNormalized_module_statu_msg : pb::IMessage<UnNormalized_module_statu_msg>
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
- , pb::IBufferMessage
- #endif
- {
- private static readonly pb::MessageParser<UnNormalized_module_statu_msg> _parser = new pb::MessageParser<UnNormalized_module_statu_msg>(() => new UnNormalized_module_statu_msg());
- private pb::UnknownFieldSet _unknownFields;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public static pb::MessageParser<UnNormalized_module_statu_msg> 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);
- }
- /// <summary>Field number for the "base_info" field.</summary>
- public const int BaseInfoFieldNumber = 1;
- private global::Message.Base_info baseInfo_;
- /// <summary>
- ///消息类型
- /// </summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public global::Message.Base_info BaseInfo {
- get { return baseInfo_; }
- set {
- baseInfo_ = value;
- }
- }
- /// <summary>Field number for the "id_struct" field.</summary>
- 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;
- }
- }
- /// <summary>Field number for the "statu_code" field.</summary>
- public const int StatuCodeFieldNumber = 3;
- private global::Message.Error_manager statuCode_;
- /// <summary>
- ///模块状态
- /// </summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public global::Message.Error_manager StatuCode {
- get { return statuCode_; }
- set {
- statuCode_ = value;
- }
- }
- /// <summary>Field number for the "car_license" field.</summary>
- public const int CarLicenseFieldNumber = 4;
- private readonly static string CarLicenseDefaultValue = "";
- private string carLicense_;
- /// <summary>
- ///号牌数据
- /// </summary>
- [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");
- }
- }
- /// <summary>Gets whether the "car_license" field is set</summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public bool HasCarLicense {
- get { return carLicense_ != null; }
- }
- /// <summary>Clears the value of the "car_license" field</summary>
- [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
|