// // Generated by the protocol buffer compiler. DO NOT EDIT! // source: terminal_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 terminal_message.proto public static partial class TerminalMessageReflection { #region Descriptor /// File descriptor for terminal_message.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static TerminalMessageReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "ChZ0ZXJtaW5hbF9tZXNzYWdlLnByb3RvEgdtZXNzYWdlGhJtZXNzYWdlX2Jh", "c2UucHJvdG8itQEKGVN0b3JlX2NvbW1hbmRfcmVxdWVzdF9tc2cSJQoJYmFz", "ZV9pbmZvGAEgAigLMhIubWVzc2FnZS5CYXNlX2luZm8SEwoLdGVybWluYWxf", "aWQYAiACKAUSNwoSbG9jYXRlX2luZm9ybWF0aW9uGAMgAigLMhsubWVzc2Fn", "ZS5Mb2NhdGVfaW5mb3JtYXRpb24SIwoIY2FyX2luZm8YBCACKAsyES5tZXNz", "YWdlLkNhcl9pbmZvIn4KGlN0b3JlX2NvbW1hbmRfcmVzcG9uc2VfbXNnEiUK", "CWJhc2VfaW5mbxgBIAIoCzISLm1lc3NhZ2UuQmFzZV9pbmZvEhMKC3Rlcm1p", "bmFsX2lkGAIgAigFEiQKBGNvZGUYAyACKAsyFi5tZXNzYWdlLkVycm9yX21h", "bmFnZXIifQoaUGlja3VwX2NvbW1hbmRfcmVxdWVzdF9tc2cSJQoJYmFzZV9p", "bmZvGAEgAigLMhIubWVzc2FnZS5CYXNlX2luZm8SEwoLdGVybWluYWxfaWQY", "AiACKAUSIwoIY2FyX2luZm8YBCACKAsyES5tZXNzYWdlLkNhcl9pbmZvIn8K", "G1BpY2t1cF9jb21tYW5kX3Jlc3BvbnNlX21zZxIlCgliYXNlX2luZm8YASAC", "KAsyEi5tZXNzYWdlLkJhc2VfaW5mbxITCgt0ZXJtaW5hbF9pZBgCIAIoBRIk", "CgRjb2RlGAMgAigLMhYubWVzc2FnZS5FcnJvcl9tYW5hZ2Vy")); 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.Store_command_request_msg), global::Message.Store_command_request_msg.Parser, new[]{ "BaseInfo", "TerminalId", "LocateInformation", "CarInfo" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Message.Store_command_response_msg), global::Message.Store_command_response_msg.Parser, new[]{ "BaseInfo", "TerminalId", "Code" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Message.Pickup_command_request_msg), global::Message.Pickup_command_request_msg.Parser, new[]{ "BaseInfo", "TerminalId", "CarInfo" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Message.Pickup_command_response_msg), global::Message.Pickup_command_response_msg.Parser, new[]{ "BaseInfo", "TerminalId", "Code" }, null, null, null, null) })); } #endregion } #region Messages public sealed partial class Store_command_request_msg : pb::IMessage { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Store_command_request_msg()); private pb::UnknownFieldSet _unknownFields; private int _hasBits0; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { get { return global::Message.TerminalMessageReflection.Descriptor.MessageTypes[0]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public Store_command_request_msg() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public Store_command_request_msg(Store_command_request_msg other) : this() { _hasBits0 = other._hasBits0; baseInfo_ = other.baseInfo_ != null ? other.baseInfo_.Clone() : null; terminalId_ = other.terminalId_; locateInformation_ = other.locateInformation_ != null ? other.locateInformation_.Clone() : null; carInfo_ = other.carInfo_ != null ? other.carInfo_.Clone() : null; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public Store_command_request_msg Clone() { return new Store_command_request_msg(this); } /// Field number for the "base_info" field. public const int BaseInfoFieldNumber = 1; private global::Message.Base_info baseInfo_; /// ///消息类型 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public global::Message.Base_info BaseInfo { get { return baseInfo_; } set { baseInfo_ = value; } } /// Field number for the "terminal_id" field. public const int TerminalIdFieldNumber = 2; private readonly static int TerminalIdDefaultValue = 0; private int terminalId_; /// ///终端id /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int TerminalId { get { if ((_hasBits0 & 1) != 0) { return terminalId_; } else { return TerminalIdDefaultValue; } } set { _hasBits0 |= 1; terminalId_ = value; } } /// Gets whether the "terminal_id" field is set [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool HasTerminalId { get { return (_hasBits0 & 1) != 0; } } /// Clears the value of the "terminal_id" field [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void ClearTerminalId() { _hasBits0 &= ~1; } /// Field number for the "locate_information" field. public const int LocateInformationFieldNumber = 3; private global::Message.Locate_information locateInformation_; /// ///终端测量数据,主要需要车高和车宽 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public global::Message.Locate_information LocateInformation { get { return locateInformation_; } set { locateInformation_ = value; } } /// Field number for the "car_info" field. public const int CarInfoFieldNumber = 4; private global::Message.Car_info carInfo_; /// ///车辆标识(车牌号) /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public global::Message.Car_info CarInfo { get { return carInfo_; } set { carInfo_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override bool Equals(object other) { return Equals(other as Store_command_request_msg); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool Equals(Store_command_request_msg other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (!object.Equals(BaseInfo, other.BaseInfo)) return false; if (TerminalId != other.TerminalId) return false; if (!object.Equals(LocateInformation, other.LocateInformation)) return false; if (!object.Equals(CarInfo, other.CarInfo)) return false; return Equals(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override int GetHashCode() { int hash = 1; if (baseInfo_ != null) hash ^= BaseInfo.GetHashCode(); if (HasTerminalId) hash ^= TerminalId.GetHashCode(); if (locateInformation_ != null) hash ^= LocateInformation.GetHashCode(); if (carInfo_ != null) hash ^= CarInfo.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.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 (baseInfo_ != null) { output.WriteRawTag(10); output.WriteMessage(BaseInfo); } if (HasTerminalId) { output.WriteRawTag(16); output.WriteInt32(TerminalId); } if (locateInformation_ != null) { output.WriteRawTag(26); output.WriteMessage(LocateInformation); } if (carInfo_ != null) { output.WriteRawTag(34); output.WriteMessage(CarInfo); } if (_unknownFields != null) { _unknownFields.WriteTo(output); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { int size = 0; if (baseInfo_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(BaseInfo); } if (HasTerminalId) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(TerminalId); } if (locateInformation_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(LocateInformation); } if (carInfo_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(CarInfo); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(Store_command_request_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.HasTerminalId) { TerminalId = other.TerminalId; } if (other.locateInformation_ != null) { if (locateInformation_ == null) { LocateInformation = new global::Message.Locate_information(); } LocateInformation.MergeFrom(other.LocateInformation); } if (other.carInfo_ != null) { if (carInfo_ == null) { CarInfo = new global::Message.Car_info(); } CarInfo.MergeFrom(other.CarInfo); } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { 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 16: { TerminalId = input.ReadInt32(); break; } case 26: { if (locateInformation_ == null) { LocateInformation = new global::Message.Locate_information(); } input.ReadMessage(LocateInformation); break; } case 34: { if (carInfo_ == null) { CarInfo = new global::Message.Car_info(); } input.ReadMessage(CarInfo); break; } } } } } public sealed partial class Store_command_response_msg : pb::IMessage { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Store_command_response_msg()); private pb::UnknownFieldSet _unknownFields; private int _hasBits0; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { get { return global::Message.TerminalMessageReflection.Descriptor.MessageTypes[1]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public Store_command_response_msg() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public Store_command_response_msg(Store_command_response_msg other) : this() { _hasBits0 = other._hasBits0; baseInfo_ = other.baseInfo_ != null ? other.baseInfo_.Clone() : null; terminalId_ = other.terminalId_; code_ = other.code_ != null ? other.code_.Clone() : null; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public Store_command_response_msg Clone() { return new Store_command_response_msg(this); } /// Field number for the "base_info" field. public const int BaseInfoFieldNumber = 1; private global::Message.Base_info baseInfo_; /// ///消息类型 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public global::Message.Base_info BaseInfo { get { return baseInfo_; } set { baseInfo_ = value; } } /// Field number for the "terminal_id" field. public const int TerminalIdFieldNumber = 2; private readonly static int TerminalIdDefaultValue = 0; private int terminalId_; /// ///终端id /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int TerminalId { get { if ((_hasBits0 & 1) != 0) { return terminalId_; } else { return TerminalIdDefaultValue; } } set { _hasBits0 |= 1; terminalId_ = value; } } /// Gets whether the "terminal_id" field is set [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool HasTerminalId { get { return (_hasBits0 & 1) != 0; } } /// Clears the value of the "terminal_id" field [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void ClearTerminalId() { _hasBits0 &= ~1; } /// Field number for the "code" field. public const int CodeFieldNumber = 3; private global::Message.Error_manager code_; /// ///请求结果码 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public global::Message.Error_manager Code { get { return code_; } set { code_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override bool Equals(object other) { return Equals(other as Store_command_response_msg); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool Equals(Store_command_response_msg other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (!object.Equals(BaseInfo, other.BaseInfo)) return false; if (TerminalId != other.TerminalId) return false; if (!object.Equals(Code, other.Code)) return false; return Equals(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override int GetHashCode() { int hash = 1; if (baseInfo_ != null) hash ^= BaseInfo.GetHashCode(); if (HasTerminalId) hash ^= TerminalId.GetHashCode(); if (code_ != null) hash ^= Code.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.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 (baseInfo_ != null) { output.WriteRawTag(10); output.WriteMessage(BaseInfo); } if (HasTerminalId) { output.WriteRawTag(16); output.WriteInt32(TerminalId); } if (code_ != null) { output.WriteRawTag(26); output.WriteMessage(Code); } if (_unknownFields != null) { _unknownFields.WriteTo(output); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { int size = 0; if (baseInfo_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(BaseInfo); } if (HasTerminalId) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(TerminalId); } if (code_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(Code); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(Store_command_response_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.HasTerminalId) { TerminalId = other.TerminalId; } if (other.code_ != null) { if (code_ == null) { Code = new global::Message.Error_manager(); } Code.MergeFrom(other.Code); } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { 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 16: { TerminalId = input.ReadInt32(); break; } case 26: { if (code_ == null) { Code = new global::Message.Error_manager(); } input.ReadMessage(Code); break; } } } } } public sealed partial class Pickup_command_request_msg : pb::IMessage { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Pickup_command_request_msg()); private pb::UnknownFieldSet _unknownFields; private int _hasBits0; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { get { return global::Message.TerminalMessageReflection.Descriptor.MessageTypes[2]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public Pickup_command_request_msg() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public Pickup_command_request_msg(Pickup_command_request_msg other) : this() { _hasBits0 = other._hasBits0; baseInfo_ = other.baseInfo_ != null ? other.baseInfo_.Clone() : null; terminalId_ = other.terminalId_; carInfo_ = other.carInfo_ != null ? other.carInfo_.Clone() : null; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public Pickup_command_request_msg Clone() { return new Pickup_command_request_msg(this); } /// Field number for the "base_info" field. public const int BaseInfoFieldNumber = 1; private global::Message.Base_info baseInfo_; /// ///消息类型 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public global::Message.Base_info BaseInfo { get { return baseInfo_; } set { baseInfo_ = value; } } /// Field number for the "terminal_id" field. public const int TerminalIdFieldNumber = 2; private readonly static int TerminalIdDefaultValue = 0; private int terminalId_; /// ///终端id /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int TerminalId { get { if ((_hasBits0 & 1) != 0) { return terminalId_; } else { return TerminalIdDefaultValue; } } set { _hasBits0 |= 1; terminalId_ = value; } } /// Gets whether the "terminal_id" field is set [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool HasTerminalId { get { return (_hasBits0 & 1) != 0; } } /// Clears the value of the "terminal_id" field [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void ClearTerminalId() { _hasBits0 &= ~1; } /// Field number for the "car_info" field. public const int CarInfoFieldNumber = 4; private global::Message.Car_info carInfo_; /// ///车辆信息 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public global::Message.Car_info CarInfo { get { return carInfo_; } set { carInfo_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override bool Equals(object other) { return Equals(other as Pickup_command_request_msg); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool Equals(Pickup_command_request_msg other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (!object.Equals(BaseInfo, other.BaseInfo)) return false; if (TerminalId != other.TerminalId) return false; if (!object.Equals(CarInfo, other.CarInfo)) return false; return Equals(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override int GetHashCode() { int hash = 1; if (baseInfo_ != null) hash ^= BaseInfo.GetHashCode(); if (HasTerminalId) hash ^= TerminalId.GetHashCode(); if (carInfo_ != null) hash ^= CarInfo.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.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 (baseInfo_ != null) { output.WriteRawTag(10); output.WriteMessage(BaseInfo); } if (HasTerminalId) { output.WriteRawTag(16); output.WriteInt32(TerminalId); } if (carInfo_ != null) { output.WriteRawTag(34); output.WriteMessage(CarInfo); } if (_unknownFields != null) { _unknownFields.WriteTo(output); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { int size = 0; if (baseInfo_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(BaseInfo); } if (HasTerminalId) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(TerminalId); } if (carInfo_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(CarInfo); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(Pickup_command_request_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.HasTerminalId) { TerminalId = other.TerminalId; } if (other.carInfo_ != null) { if (carInfo_ == null) { CarInfo = new global::Message.Car_info(); } CarInfo.MergeFrom(other.CarInfo); } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { 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 16: { TerminalId = input.ReadInt32(); break; } case 34: { if (carInfo_ == null) { CarInfo = new global::Message.Car_info(); } input.ReadMessage(CarInfo); break; } } } } } public sealed partial class Pickup_command_response_msg : pb::IMessage { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Pickup_command_response_msg()); private pb::UnknownFieldSet _unknownFields; private int _hasBits0; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { get { return global::Message.TerminalMessageReflection.Descriptor.MessageTypes[3]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public Pickup_command_response_msg() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public Pickup_command_response_msg(Pickup_command_response_msg other) : this() { _hasBits0 = other._hasBits0; baseInfo_ = other.baseInfo_ != null ? other.baseInfo_.Clone() : null; terminalId_ = other.terminalId_; code_ = other.code_ != null ? other.code_.Clone() : null; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public Pickup_command_response_msg Clone() { return new Pickup_command_response_msg(this); } /// Field number for the "base_info" field. public const int BaseInfoFieldNumber = 1; private global::Message.Base_info baseInfo_; /// ///消息类型 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public global::Message.Base_info BaseInfo { get { return baseInfo_; } set { baseInfo_ = value; } } /// Field number for the "terminal_id" field. public const int TerminalIdFieldNumber = 2; private readonly static int TerminalIdDefaultValue = 0; private int terminalId_; /// ///终端id /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int TerminalId { get { if ((_hasBits0 & 1) != 0) { return terminalId_; } else { return TerminalIdDefaultValue; } } set { _hasBits0 |= 1; terminalId_ = value; } } /// Gets whether the "terminal_id" field is set [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool HasTerminalId { get { return (_hasBits0 & 1) != 0; } } /// Clears the value of the "terminal_id" field [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void ClearTerminalId() { _hasBits0 &= ~1; } /// Field number for the "code" field. public const int CodeFieldNumber = 3; private global::Message.Error_manager code_; /// ///请求结果码 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public global::Message.Error_manager Code { get { return code_; } set { code_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override bool Equals(object other) { return Equals(other as Pickup_command_response_msg); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool Equals(Pickup_command_response_msg other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (!object.Equals(BaseInfo, other.BaseInfo)) return false; if (TerminalId != other.TerminalId) return false; if (!object.Equals(Code, other.Code)) return false; return Equals(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override int GetHashCode() { int hash = 1; if (baseInfo_ != null) hash ^= BaseInfo.GetHashCode(); if (HasTerminalId) hash ^= TerminalId.GetHashCode(); if (code_ != null) hash ^= Code.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.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 (baseInfo_ != null) { output.WriteRawTag(10); output.WriteMessage(BaseInfo); } if (HasTerminalId) { output.WriteRawTag(16); output.WriteInt32(TerminalId); } if (code_ != null) { output.WriteRawTag(26); output.WriteMessage(Code); } if (_unknownFields != null) { _unknownFields.WriteTo(output); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { int size = 0; if (baseInfo_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(BaseInfo); } if (HasTerminalId) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(TerminalId); } if (code_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(Code); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(Pickup_command_response_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.HasTerminalId) { TerminalId = other.TerminalId; } if (other.code_ != null) { if (code_ == null) { Code = new global::Message.Error_manager(); } Code.MergeFrom(other.Code); } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { 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 16: { TerminalId = input.ReadInt32(); break; } case 26: { if (code_ == null) { Code = new global::Message.Error_manager(); } input.ReadMessage(Code); break; } } } } } #endregion } #endregion Designer generated code