// // Generated by the protocol buffer compiler. DO NOT EDIT! // source: parkspace_allocation_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 parkspace_allocation_message.proto public static partial class ParkspaceAllocationMessageReflection { #region Descriptor /// File descriptor for parkspace_allocation_message.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static ParkspaceAllocationMessageReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "CiJwYXJrc3BhY2VfYWxsb2NhdGlvbl9tZXNzYWdlLnByb3RvEgdtZXNzYWdl", "GhJtZXNzYWdlX2Jhc2UucHJvdG8imAEKIFBhcmtzcGFjZV9hbGxvY2F0aW9u", "X3JlcXVlc3RfbXNnEiUKCWJhc2VfaW5mbxgBIAIoCzISLm1lc3NhZ2UuQmFz", "ZV9pbmZvEhMKC2NvbW1hbmRfa2V5GAIgAigJEiMKCGNhcl9pbmZvGAMgAigL", "MhEubWVzc2FnZS5DYXJfaW5mbxITCgt0ZXJtaW5hbF9pZBgEIAIoBSLxAQoh", "UGFya3NwYWNlX2FsbG9jYXRpb25fcmVzcG9uc2VfbXNnEiUKCWJhc2VfaW5m", "bxgBIAIoCzISLm1lc3NhZ2UuQmFzZV9pbmZvEhMKC2NvbW1hbmRfa2V5GAIg", "AigJEi0KDWVycm9yX21hbmFnZXIYAyACKAsyFi5tZXNzYWdlLkVycm9yX21h", "bmFnZXISPAobYWxsb2NhdGVkX3BhcmtzcGFjZV9pbmZvX2V4GAQgAygLMhcu", "bWVzc2FnZS5QYXJrc3BhY2VfaW5mbxIjCghjYXJfdHlwZRgFIAEoDjIRLm1l", "c3NhZ2UuQ2FyX3R5cGUifwocUGFya3NwYWNlX3NlYXJjaF9yZXF1ZXN0X21z", "ZxIlCgliYXNlX2luZm8YASACKAsyEi5tZXNzYWdlLkJhc2VfaW5mbxITCgtj", "b21tYW5kX2tleRgCIAIoCRIjCghjYXJfaW5mbxgDIAIoCzIRLm1lc3NhZ2Uu", "Q2FyX2luZm8ixAEKHVBhcmtzcGFjZV9zZWFyY2hfcmVzcG9uc2VfbXNnEiUK", "CWJhc2VfaW5mbxgBIAIoCzISLm1lc3NhZ2UuQmFzZV9pbmZvEhMKC2NvbW1h", "bmRfa2V5GAIgAigJEi0KDWVycm9yX21hbmFnZXIYAyACKAsyFi5tZXNzYWdl", "LkVycm9yX21hbmFnZXISOAoXcXVlcnlfcGFya3NwYWNlX2luZm9fZXgYBCAD", "KAsyFy5tZXNzYWdlLlBhcmtzcGFjZV9pbmZvIpcBCh1QYXJrc3BhY2VfcmVs", "ZWFzZV9yZXF1ZXN0X21zZxIlCgliYXNlX2luZm8YASACKAsyEi5tZXNzYWdl", "LkJhc2VfaW5mbxITCgtjb21tYW5kX2tleRgCIAIoCRI6ChlyZWxlYXNlX3Bh", "cmtzcGFjZV9pbmZvX2V4GAMgAygLMhcubWVzc2FnZS5QYXJrc3BhY2VfaW5m", "byLHAQoeUGFya3NwYWNlX3JlbGVhc2VfcmVzcG9uc2VfbXNnEiUKCWJhc2Vf", "aW5mbxgBIAIoCzISLm1lc3NhZ2UuQmFzZV9pbmZvEhMKC2NvbW1hbmRfa2V5", "GAIgAigJEi0KDWVycm9yX21hbmFnZXIYAyACKAsyFi5tZXNzYWdlLkVycm9y", "X21hbmFnZXISOgoZcmVsZWFzZV9wYXJrc3BhY2VfaW5mb19leBgEIAMoCzIX", "Lm1lc3NhZ2UuUGFya3NwYWNlX2luZm8imwEKIlBhcmtzcGFjZV9mb3JjZV91", "cGRhdGVfcmVxdWVzdF9tc2cSJQoJYmFzZV9pbmZvGAEgAigLMhIubWVzc2Fn", "ZS5CYXNlX2luZm8SEwoLY29tbWFuZF9rZXkYAiACKAkSOQoYbWFudWFsX3Bh", "cmtzcGFjZV9pbmZvX2V4GAMgAygLMhcubWVzc2FnZS5QYXJrc3BhY2VfaW5m", "byLLAQojUGFya3NwYWNlX2ZvcmNlX3VwZGF0ZV9yZXNwb25zZV9tc2cSJQoJ", "YmFzZV9pbmZvGAEgAigLMhIubWVzc2FnZS5CYXNlX2luZm8SEwoLY29tbWFu", "ZF9rZXkYAiACKAkSLQoNZXJyb3JfbWFuYWdlchgDIAIoCzIWLm1lc3NhZ2Uu", "RXJyb3JfbWFuYWdlchI5ChhtYW51YWxfcGFya3NwYWNlX2luZm9fZXgYBCAD", "KAsyFy5tZXNzYWdlLlBhcmtzcGFjZV9pbmZvIsIBCiNQYXJrc3BhY2VfY29u", "ZmlybV9hbGxvY19yZXF1ZXN0X21zZxIlCgliYXNlX2luZm8YASACKAsyEi5t", "ZXNzYWdlLkJhc2VfaW5mbxITCgtjb21tYW5kX2tleRgCIAIoCRI6Chljb25m", "aXJtX3BhcmtzcGFjZV9pbmZvX2V4GAMgAygLMhcubWVzc2FnZS5QYXJrc3Bh", "Y2VfaW5mbxIjCghjYXJfdHlwZRgEIAEoDjIRLm1lc3NhZ2UuQ2FyX3R5cGUi", "8gEKJFBhcmtzcGFjZV9jb25maXJtX2FsbG9jX3Jlc3BvbnNlX21zZxIlCgli", "YXNlX2luZm8YASACKAsyEi5tZXNzYWdlLkJhc2VfaW5mbxITCgtjb21tYW5k", "X2tleRgCIAIoCRItCg1lcnJvcl9tYW5hZ2VyGAMgAigLMhYubWVzc2FnZS5F", "cnJvcl9tYW5hZ2VyEjoKGWNvbmZpcm1fcGFya3NwYWNlX2luZm9fZXgYBCAD", "KAsyFy5tZXNzYWdlLlBhcmtzcGFjZV9pbmZvEiMKCGNhcl90eXBlGAUgASgO", "MhEubWVzc2FnZS5DYXJfdHlwZSKsAwofUGFya3NwYWNlX2FsbG9jYXRpb25f", "c3RhdHVzX21zZxIlCgliYXNlX2luZm8YASACKAsyEi5tZXNzYWdlLkJhc2Vf", "aW5mbxItCg1lcnJvcl9tYW5hZ2VyGAIgAigLMhYubWVzc2FnZS5FcnJvcl9t", "YW5hZ2VyEkcKGmRhdGFiYXNlX2NvbnRyb2xsZXJfc3RhdHVzGAMgAigOMiMu", "bWVzc2FnZS5EYXRhYmFzZV9jb250cm9sbGVyX3N0YXR1cxJBChdwYXJrc3Bh", "Y2VfbWFuYWdlcl9zYXR1cxgEIAIoDjIgLm1lc3NhZ2UuUGFya3NwYWNlX21h", "bmFnZXJfc2F0dXMSKAogc21hbGxfcGFya3NwYWNlX3JlbWFpbmluZ19udW1i", "ZXIYBSACKAUSKQohbWVkaXVtX3BhcmtzcGFjZV9yZW1haW5pbmdfbnVtYmVy", "GAYgAigFEigKIGxhcmdlX3BhcmtzcGFjZV9yZW1haW5pbmdfbnVtYmVyGAcg", "AigFEigKIHRvdGFsX3BhcmtzcGFjZV9yZW1haW5pbmdfbnVtYmVyGAggAigF", "IkYKHVBhcmtzcGFjZV9yZWZyZXNoX3JlcXVlc3RfbXNnEiUKCWJhc2VfaW5m", "bxgBIAIoCzISLm1lc3NhZ2UuQmFzZV9pbmZvIqkBCh1QYXJrc3BhY2VfYWxs", "b2NhdGlvbl9kYXRhX21zZxIlCgliYXNlX2luZm8YASACKAsyEi5tZXNzYWdl", "LkJhc2VfaW5mbxItCg1lcnJvcl9tYW5hZ2VyGAIgAigLMhYubWVzc2FnZS5F", "cnJvcl9tYW5hZ2VyEjIKEXBhcmtzcGFjZV9pbmZvX2V4GAMgAygLMhcubWVz", "c2FnZS5QYXJrc3BhY2VfaW5mbyqVAQoOVmVoaWNsZV9zdGF0dXMSFAoQZVZl", "aGljbGVfdW5rbm93bhAAEhEKDWVWZWhpY2xlX2lkbGUQARIWChJlVmVoaWNs", "ZV9pbl9nYXJhZ2UQAhIUChBlVmVoaWNsZV9wYXJraW5nEAMSFQoRZVZlaGlj", "bGVfZmV0Y2hpbmcQBBIVChFlVmVoaWNsZV9yZXNlcnZlZBAFKlcKGkRhdGFi", "YXNlX2NvbnRyb2xsZXJfc3RhdHVzEg0KCUVfVU5LTk9XThAAEgsKB0VfUkVB", "RFkQARIQCgxFX0RJU0NPTk5FQ1QQAhILCgdFX0ZBVUxUEAMqdgoXUGFya3Nw", "YWNlX21hbmFnZXJfc2F0dXMSHgoaZVBhcmtzcGFjZV9tYW5hZ2VyX3Vua25v", "d24QABIdChllUGFya3NwYWNlX21hbmFnZXJfbm9ybWFsEAESHAoYZVBhcmtz", "cGFjZV9tYW5hZ2VyX2ZhdWx0EAI=")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { global::Message.MessageBaseReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(new[] {typeof(global::Message.Vehicle_status), typeof(global::Message.Database_controller_status), typeof(global::Message.Parkspace_manager_satus), }, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Message.Parkspace_allocation_request_msg), global::Message.Parkspace_allocation_request_msg.Parser, new[]{ "BaseInfo", "CommandKey", "CarInfo", "TerminalId" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Message.Parkspace_allocation_response_msg), global::Message.Parkspace_allocation_response_msg.Parser, new[]{ "BaseInfo", "CommandKey", "ErrorManager", "AllocatedParkspaceInfoEx", "CarType" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Message.Parkspace_search_request_msg), global::Message.Parkspace_search_request_msg.Parser, new[]{ "BaseInfo", "CommandKey", "CarInfo" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Message.Parkspace_search_response_msg), global::Message.Parkspace_search_response_msg.Parser, new[]{ "BaseInfo", "CommandKey", "ErrorManager", "QueryParkspaceInfoEx" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Message.Parkspace_release_request_msg), global::Message.Parkspace_release_request_msg.Parser, new[]{ "BaseInfo", "CommandKey", "ReleaseParkspaceInfoEx" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Message.Parkspace_release_response_msg), global::Message.Parkspace_release_response_msg.Parser, new[]{ "BaseInfo", "CommandKey", "ErrorManager", "ReleaseParkspaceInfoEx" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Message.Parkspace_force_update_request_msg), global::Message.Parkspace_force_update_request_msg.Parser, new[]{ "BaseInfo", "CommandKey", "ManualParkspaceInfoEx" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Message.Parkspace_force_update_response_msg), global::Message.Parkspace_force_update_response_msg.Parser, new[]{ "BaseInfo", "CommandKey", "ErrorManager", "ManualParkspaceInfoEx" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Message.Parkspace_confirm_alloc_request_msg), global::Message.Parkspace_confirm_alloc_request_msg.Parser, new[]{ "BaseInfo", "CommandKey", "ConfirmParkspaceInfoEx", "CarType" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Message.Parkspace_confirm_alloc_response_msg), global::Message.Parkspace_confirm_alloc_response_msg.Parser, new[]{ "BaseInfo", "CommandKey", "ErrorManager", "ConfirmParkspaceInfoEx", "CarType" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Message.Parkspace_allocation_status_msg), global::Message.Parkspace_allocation_status_msg.Parser, new[]{ "BaseInfo", "ErrorManager", "DatabaseControllerStatus", "ParkspaceManagerSatus", "SmallParkspaceRemainingNumber", "MediumParkspaceRemainingNumber", "LargeParkspaceRemainingNumber", "TotalParkspaceRemainingNumber" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Message.Parkspace_refresh_request_msg), global::Message.Parkspace_refresh_request_msg.Parser, new[]{ "BaseInfo" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Message.Parkspace_allocation_data_msg), global::Message.Parkspace_allocation_data_msg.Parser, new[]{ "BaseInfo", "ErrorManager", "ParkspaceInfoEx" }, null, null, null, null) })); } #endregion } #region Enums /// ///车辆状态枚举 /// public enum Vehicle_status { /// ///未知状态 /// [pbr::OriginalName("eVehicle_unknown")] EVehicleUnknown = 0, /// ///车辆空闲 /// [pbr::OriginalName("eVehicle_idle")] EVehicleIdle = 1, /// ///车辆已入库 /// [pbr::OriginalName("eVehicle_in_garage")] EVehicleInGarage = 2, /// ///车辆停车中 /// [pbr::OriginalName("eVehicle_parking")] EVehicleParking = 3, /// ///车辆取车中 /// [pbr::OriginalName("eVehicle_fetching")] EVehicleFetching = 4, /// ///已预约未停入 /// [pbr::OriginalName("eVehicle_reserved")] EVehicleReserved = 5, } /// ///数据库状态 /// public enum Database_controller_status { /// ///默认未知 /// [pbr::OriginalName("E_UNKNOWN")] EUnknown = 0, /// ///正常待机 /// [pbr::OriginalName("E_READY")] EReady = 1, /// ///断连 /// [pbr::OriginalName("E_DISCONNECT")] EDisconnect = 2, /// ///故障 /// [pbr::OriginalName("E_FAULT")] EFault = 3, } /// ///车位管理状态 /// public enum Parkspace_manager_satus { /// ///位置 /// [pbr::OriginalName("eParkspace_manager_unknown")] EParkspaceManagerUnknown = 0, /// ///正常 /// [pbr::OriginalName("eParkspace_manager_normal")] EParkspaceManagerNormal = 1, /// ///故障 /// [pbr::OriginalName("eParkspace_manager_fault")] EParkspaceManagerFault = 2, } #endregion #region Messages /// ///1.分配车位请求 /// public sealed partial class Parkspace_allocation_request_msg : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Parkspace_allocation_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.ParkspaceAllocationMessageReflection.Descriptor.MessageTypes[0]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public Parkspace_allocation_request_msg() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public Parkspace_allocation_request_msg(Parkspace_allocation_request_msg other) : this() { _hasBits0 = other._hasBits0; baseInfo_ = other.baseInfo_ != null ? other.baseInfo_.Clone() : null; commandKey_ = other.commandKey_; carInfo_ = other.carInfo_ != null ? other.carInfo_.Clone() : null; terminalId_ = other.terminalId_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public Parkspace_allocation_request_msg Clone() { return new Parkspace_allocation_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 "command_key" field. public const int CommandKeyFieldNumber = 2; private readonly static string CommandKeyDefaultValue = ""; private string commandKey_; /// ///指令唯一标识符id /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public string CommandKey { get { return commandKey_ ?? CommandKeyDefaultValue; } set { commandKey_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Gets whether the "command_key" field is set [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool HasCommandKey { get { return commandKey_ != null; } } /// Clears the value of the "command_key" field [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void ClearCommandKey() { commandKey_ = null; } /// Field number for the "car_info" field. public const int CarInfoFieldNumber = 3; private global::Message.Car_info carInfo_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public global::Message.Car_info CarInfo { get { return carInfo_; } set { carInfo_ = value; } } /// Field number for the "terminal_id" field. public const int TerminalIdFieldNumber = 4; 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; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override bool Equals(object other) { return Equals(other as Parkspace_allocation_request_msg); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool Equals(Parkspace_allocation_request_msg other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (!object.Equals(BaseInfo, other.BaseInfo)) return false; if (CommandKey != other.CommandKey) return false; if (!object.Equals(CarInfo, other.CarInfo)) return false; if (TerminalId != other.TerminalId) 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 (HasCommandKey) hash ^= CommandKey.GetHashCode(); if (carInfo_ != null) hash ^= CarInfo.GetHashCode(); if (HasTerminalId) hash ^= TerminalId.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 !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else if (baseInfo_ != null) { output.WriteRawTag(10); output.WriteMessage(BaseInfo); } if (HasCommandKey) { output.WriteRawTag(18); output.WriteString(CommandKey); } if (carInfo_ != null) { output.WriteRawTag(26); output.WriteMessage(CarInfo); } if (HasTerminalId) { output.WriteRawTag(32); output.WriteInt32(TerminalId); } if (_unknownFields != null) { _unknownFields.WriteTo(output); } #endif } #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { if (baseInfo_ != null) { output.WriteRawTag(10); output.WriteMessage(BaseInfo); } if (HasCommandKey) { output.WriteRawTag(18); output.WriteString(CommandKey); } if (carInfo_ != null) { output.WriteRawTag(26); output.WriteMessage(CarInfo); } if (HasTerminalId) { output.WriteRawTag(32); output.WriteInt32(TerminalId); } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } } #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { int size = 0; if (baseInfo_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(BaseInfo); } if (HasCommandKey) { size += 1 + pb::CodedOutputStream.ComputeStringSize(CommandKey); } if (carInfo_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(CarInfo); } if (HasTerminalId) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(TerminalId); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(Parkspace_allocation_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.HasCommandKey) { CommandKey = other.CommandKey; } if (other.carInfo_ != null) { if (carInfo_ == null) { CarInfo = new global::Message.Car_info(); } CarInfo.MergeFrom(other.CarInfo); } if (other.HasTerminalId) { TerminalId = other.TerminalId; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 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: { CommandKey = input.ReadString(); break; } case 26: { if (carInfo_ == null) { CarInfo = new global::Message.Car_info(); } input.ReadMessage(CarInfo); break; } case 32: { TerminalId = input.ReadInt32(); break; } } } #endif } #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 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: { CommandKey = input.ReadString(); break; } case 26: { if (carInfo_ == null) { CarInfo = new global::Message.Car_info(); } input.ReadMessage(CarInfo); break; } case 32: { TerminalId = input.ReadInt32(); break; } } } } #endif } /// ///分配车位反馈 /// public sealed partial class Parkspace_allocation_response_msg : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Parkspace_allocation_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.ParkspaceAllocationMessageReflection.Descriptor.MessageTypes[1]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public Parkspace_allocation_response_msg() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public Parkspace_allocation_response_msg(Parkspace_allocation_response_msg other) : this() { _hasBits0 = other._hasBits0; baseInfo_ = other.baseInfo_ != null ? other.baseInfo_.Clone() : null; commandKey_ = other.commandKey_; errorManager_ = other.errorManager_ != null ? other.errorManager_.Clone() : null; allocatedParkspaceInfoEx_ = other.allocatedParkspaceInfoEx_.Clone(); carType_ = other.carType_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public Parkspace_allocation_response_msg Clone() { return new Parkspace_allocation_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 "command_key" field. public const int CommandKeyFieldNumber = 2; private readonly static string CommandKeyDefaultValue = ""; private string commandKey_; /// ///指令唯一标识符id /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public string CommandKey { get { return commandKey_ ?? CommandKeyDefaultValue; } set { commandKey_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Gets whether the "command_key" field is set [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool HasCommandKey { get { return commandKey_ != null; } } /// Clears the value of the "command_key" field [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void ClearCommandKey() { commandKey_ = null; } /// Field number for the "error_manager" field. public const int ErrorManagerFieldNumber = 3; private global::Message.Error_manager errorManager_; /// ///分配成功与否标志 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public global::Message.Error_manager ErrorManager { get { return errorManager_; } set { errorManager_ = value; } } /// Field number for the "allocated_parkspace_info_ex" field. public const int AllocatedParkspaceInfoExFieldNumber = 4; private static readonly pb::FieldCodec _repeated_allocatedParkspaceInfoEx_codec = pb::FieldCodec.ForMessage(34, global::Message.Parkspace_info.Parser); private readonly pbc::RepeatedField allocatedParkspaceInfoEx_ = new pbc::RepeatedField(); /// ///分配车位信息 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public pbc::RepeatedField AllocatedParkspaceInfoEx { get { return allocatedParkspaceInfoEx_; } } /// Field number for the "car_type" field. public const int CarTypeFieldNumber = 5; private readonly static global::Message.Car_type CarTypeDefaultValue = global::Message.Car_type.UnknowCarType; private global::Message.Car_type carType_; /// ///汽车类型 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public global::Message.Car_type CarType { get { if ((_hasBits0 & 1) != 0) { return carType_; } else { return CarTypeDefaultValue; } } set { _hasBits0 |= 1; carType_ = value; } } /// Gets whether the "car_type" field is set [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool HasCarType { get { return (_hasBits0 & 1) != 0; } } /// Clears the value of the "car_type" field [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void ClearCarType() { _hasBits0 &= ~1; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override bool Equals(object other) { return Equals(other as Parkspace_allocation_response_msg); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool Equals(Parkspace_allocation_response_msg other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (!object.Equals(BaseInfo, other.BaseInfo)) return false; if (CommandKey != other.CommandKey) return false; if (!object.Equals(ErrorManager, other.ErrorManager)) return false; if(!allocatedParkspaceInfoEx_.Equals(other.allocatedParkspaceInfoEx_)) return false; if (CarType != other.CarType) 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 (HasCommandKey) hash ^= CommandKey.GetHashCode(); if (errorManager_ != null) hash ^= ErrorManager.GetHashCode(); hash ^= allocatedParkspaceInfoEx_.GetHashCode(); if (HasCarType) hash ^= CarType.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 !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else if (baseInfo_ != null) { output.WriteRawTag(10); output.WriteMessage(BaseInfo); } if (HasCommandKey) { output.WriteRawTag(18); output.WriteString(CommandKey); } if (errorManager_ != null) { output.WriteRawTag(26); output.WriteMessage(ErrorManager); } allocatedParkspaceInfoEx_.WriteTo(output, _repeated_allocatedParkspaceInfoEx_codec); if (HasCarType) { output.WriteRawTag(40); output.WriteEnum((int) CarType); } if (_unknownFields != null) { _unknownFields.WriteTo(output); } #endif } #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { if (baseInfo_ != null) { output.WriteRawTag(10); output.WriteMessage(BaseInfo); } if (HasCommandKey) { output.WriteRawTag(18); output.WriteString(CommandKey); } if (errorManager_ != null) { output.WriteRawTag(26); output.WriteMessage(ErrorManager); } allocatedParkspaceInfoEx_.WriteTo(ref output, _repeated_allocatedParkspaceInfoEx_codec); if (HasCarType) { output.WriteRawTag(40); output.WriteEnum((int) CarType); } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } } #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { int size = 0; if (baseInfo_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(BaseInfo); } if (HasCommandKey) { size += 1 + pb::CodedOutputStream.ComputeStringSize(CommandKey); } if (errorManager_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(ErrorManager); } size += allocatedParkspaceInfoEx_.CalculateSize(_repeated_allocatedParkspaceInfoEx_codec); if (HasCarType) { size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) CarType); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(Parkspace_allocation_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.HasCommandKey) { CommandKey = other.CommandKey; } if (other.errorManager_ != null) { if (errorManager_ == null) { ErrorManager = new global::Message.Error_manager(); } ErrorManager.MergeFrom(other.ErrorManager); } allocatedParkspaceInfoEx_.Add(other.allocatedParkspaceInfoEx_); if (other.HasCarType) { CarType = other.CarType; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 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: { CommandKey = input.ReadString(); break; } case 26: { if (errorManager_ == null) { ErrorManager = new global::Message.Error_manager(); } input.ReadMessage(ErrorManager); break; } case 34: { allocatedParkspaceInfoEx_.AddEntriesFrom(input, _repeated_allocatedParkspaceInfoEx_codec); break; } case 40: { CarType = (global::Message.Car_type) input.ReadEnum(); break; } } } #endif } #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 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: { CommandKey = input.ReadString(); break; } case 26: { if (errorManager_ == null) { ErrorManager = new global::Message.Error_manager(); } input.ReadMessage(ErrorManager); break; } case 34: { allocatedParkspaceInfoEx_.AddEntriesFrom(ref input, _repeated_allocatedParkspaceInfoEx_codec); break; } case 40: { CarType = (global::Message.Car_type) input.ReadEnum(); break; } } } } #endif } /// ///2.查询车辆位置请求 /// public sealed partial class Parkspace_search_request_msg : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Parkspace_search_request_msg()); private pb::UnknownFieldSet _unknownFields; [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.ParkspaceAllocationMessageReflection.Descriptor.MessageTypes[2]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public Parkspace_search_request_msg() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public Parkspace_search_request_msg(Parkspace_search_request_msg other) : this() { baseInfo_ = other.baseInfo_ != null ? other.baseInfo_.Clone() : null; commandKey_ = other.commandKey_; carInfo_ = other.carInfo_ != null ? other.carInfo_.Clone() : null; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public Parkspace_search_request_msg Clone() { return new Parkspace_search_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 "command_key" field. public const int CommandKeyFieldNumber = 2; private readonly static string CommandKeyDefaultValue = ""; private string commandKey_; /// ///指令唯一标识符id /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public string CommandKey { get { return commandKey_ ?? CommandKeyDefaultValue; } set { commandKey_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Gets whether the "command_key" field is set [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool HasCommandKey { get { return commandKey_ != null; } } /// Clears the value of the "command_key" field [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void ClearCommandKey() { commandKey_ = null; } /// Field number for the "car_info" field. public const int CarInfoFieldNumber = 3; 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 Parkspace_search_request_msg); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool Equals(Parkspace_search_request_msg other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (!object.Equals(BaseInfo, other.BaseInfo)) return false; if (CommandKey != other.CommandKey) 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 (HasCommandKey) hash ^= CommandKey.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 !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else if (baseInfo_ != null) { output.WriteRawTag(10); output.WriteMessage(BaseInfo); } if (HasCommandKey) { output.WriteRawTag(18); output.WriteString(CommandKey); } if (carInfo_ != null) { output.WriteRawTag(26); output.WriteMessage(CarInfo); } if (_unknownFields != null) { _unknownFields.WriteTo(output); } #endif } #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { if (baseInfo_ != null) { output.WriteRawTag(10); output.WriteMessage(BaseInfo); } if (HasCommandKey) { output.WriteRawTag(18); output.WriteString(CommandKey); } if (carInfo_ != null) { output.WriteRawTag(26); output.WriteMessage(CarInfo); } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } } #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { int size = 0; if (baseInfo_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(BaseInfo); } if (HasCommandKey) { size += 1 + pb::CodedOutputStream.ComputeStringSize(CommandKey); } if (carInfo_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(CarInfo); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(Parkspace_search_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.HasCommandKey) { CommandKey = other.CommandKey; } 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) { #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: { CommandKey = input.ReadString(); break; } case 26: { if (carInfo_ == null) { CarInfo = new global::Message.Car_info(); } input.ReadMessage(CarInfo); break; } } } #endif } #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 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: { CommandKey = input.ReadString(); break; } case 26: { if (carInfo_ == null) { CarInfo = new global::Message.Car_info(); } input.ReadMessage(CarInfo); break; } } } } #endif } /// ///查询车辆位置反馈 /// public sealed partial class Parkspace_search_response_msg : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Parkspace_search_response_msg()); private pb::UnknownFieldSet _unknownFields; [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.ParkspaceAllocationMessageReflection.Descriptor.MessageTypes[3]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public Parkspace_search_response_msg() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public Parkspace_search_response_msg(Parkspace_search_response_msg other) : this() { baseInfo_ = other.baseInfo_ != null ? other.baseInfo_.Clone() : null; commandKey_ = other.commandKey_; errorManager_ = other.errorManager_ != null ? other.errorManager_.Clone() : null; queryParkspaceInfoEx_ = other.queryParkspaceInfoEx_.Clone(); _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public Parkspace_search_response_msg Clone() { return new Parkspace_search_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 "command_key" field. public const int CommandKeyFieldNumber = 2; private readonly static string CommandKeyDefaultValue = ""; private string commandKey_; /// ///指令唯一标识符id /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public string CommandKey { get { return commandKey_ ?? CommandKeyDefaultValue; } set { commandKey_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Gets whether the "command_key" field is set [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool HasCommandKey { get { return commandKey_ != null; } } /// Clears the value of the "command_key" field [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void ClearCommandKey() { commandKey_ = null; } /// Field number for the "error_manager" field. public const int ErrorManagerFieldNumber = 3; private global::Message.Error_manager errorManager_; /// ///分配成功与否标志 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public global::Message.Error_manager ErrorManager { get { return errorManager_; } set { errorManager_ = value; } } /// Field number for the "query_parkspace_info_ex" field. public const int QueryParkspaceInfoExFieldNumber = 4; private static readonly pb::FieldCodec _repeated_queryParkspaceInfoEx_codec = pb::FieldCodec.ForMessage(34, global::Message.Parkspace_info.Parser); private readonly pbc::RepeatedField queryParkspaceInfoEx_ = new pbc::RepeatedField(); /// ///待查询车辆存放位置 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public pbc::RepeatedField QueryParkspaceInfoEx { get { return queryParkspaceInfoEx_; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override bool Equals(object other) { return Equals(other as Parkspace_search_response_msg); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool Equals(Parkspace_search_response_msg other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (!object.Equals(BaseInfo, other.BaseInfo)) return false; if (CommandKey != other.CommandKey) return false; if (!object.Equals(ErrorManager, other.ErrorManager)) return false; if(!queryParkspaceInfoEx_.Equals(other.queryParkspaceInfoEx_)) 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 (HasCommandKey) hash ^= CommandKey.GetHashCode(); if (errorManager_ != null) hash ^= ErrorManager.GetHashCode(); hash ^= queryParkspaceInfoEx_.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 !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else if (baseInfo_ != null) { output.WriteRawTag(10); output.WriteMessage(BaseInfo); } if (HasCommandKey) { output.WriteRawTag(18); output.WriteString(CommandKey); } if (errorManager_ != null) { output.WriteRawTag(26); output.WriteMessage(ErrorManager); } queryParkspaceInfoEx_.WriteTo(output, _repeated_queryParkspaceInfoEx_codec); if (_unknownFields != null) { _unknownFields.WriteTo(output); } #endif } #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { if (baseInfo_ != null) { output.WriteRawTag(10); output.WriteMessage(BaseInfo); } if (HasCommandKey) { output.WriteRawTag(18); output.WriteString(CommandKey); } if (errorManager_ != null) { output.WriteRawTag(26); output.WriteMessage(ErrorManager); } queryParkspaceInfoEx_.WriteTo(ref output, _repeated_queryParkspaceInfoEx_codec); if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } } #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { int size = 0; if (baseInfo_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(BaseInfo); } if (HasCommandKey) { size += 1 + pb::CodedOutputStream.ComputeStringSize(CommandKey); } if (errorManager_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(ErrorManager); } size += queryParkspaceInfoEx_.CalculateSize(_repeated_queryParkspaceInfoEx_codec); if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(Parkspace_search_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.HasCommandKey) { CommandKey = other.CommandKey; } if (other.errorManager_ != null) { if (errorManager_ == null) { ErrorManager = new global::Message.Error_manager(); } ErrorManager.MergeFrom(other.ErrorManager); } queryParkspaceInfoEx_.Add(other.queryParkspaceInfoEx_); _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 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: { CommandKey = input.ReadString(); break; } case 26: { if (errorManager_ == null) { ErrorManager = new global::Message.Error_manager(); } input.ReadMessage(ErrorManager); break; } case 34: { queryParkspaceInfoEx_.AddEntriesFrom(input, _repeated_queryParkspaceInfoEx_codec); break; } } } #endif } #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 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: { CommandKey = input.ReadString(); break; } case 26: { if (errorManager_ == null) { ErrorManager = new global::Message.Error_manager(); } input.ReadMessage(ErrorManager); break; } case 34: { queryParkspaceInfoEx_.AddEntriesFrom(ref input, _repeated_queryParkspaceInfoEx_codec); break; } } } } #endif } /// ///3.释放车位请求 /// public sealed partial class Parkspace_release_request_msg : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Parkspace_release_request_msg()); private pb::UnknownFieldSet _unknownFields; [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.ParkspaceAllocationMessageReflection.Descriptor.MessageTypes[4]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public Parkspace_release_request_msg() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public Parkspace_release_request_msg(Parkspace_release_request_msg other) : this() { baseInfo_ = other.baseInfo_ != null ? other.baseInfo_.Clone() : null; commandKey_ = other.commandKey_; releaseParkspaceInfoEx_ = other.releaseParkspaceInfoEx_.Clone(); _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public Parkspace_release_request_msg Clone() { return new Parkspace_release_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 "command_key" field. public const int CommandKeyFieldNumber = 2; private readonly static string CommandKeyDefaultValue = ""; private string commandKey_; /// ///指令唯一标识符id /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public string CommandKey { get { return commandKey_ ?? CommandKeyDefaultValue; } set { commandKey_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Gets whether the "command_key" field is set [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool HasCommandKey { get { return commandKey_ != null; } } /// Clears the value of the "command_key" field [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void ClearCommandKey() { commandKey_ = null; } /// Field number for the "release_parkspace_info_ex" field. public const int ReleaseParkspaceInfoExFieldNumber = 3; private static readonly pb::FieldCodec _repeated_releaseParkspaceInfoEx_codec = pb::FieldCodec.ForMessage(26, global::Message.Parkspace_info.Parser); private readonly pbc::RepeatedField releaseParkspaceInfoEx_ = new pbc::RepeatedField(); /// ///待释放车位信息 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public pbc::RepeatedField ReleaseParkspaceInfoEx { get { return releaseParkspaceInfoEx_; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override bool Equals(object other) { return Equals(other as Parkspace_release_request_msg); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool Equals(Parkspace_release_request_msg other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (!object.Equals(BaseInfo, other.BaseInfo)) return false; if (CommandKey != other.CommandKey) return false; if(!releaseParkspaceInfoEx_.Equals(other.releaseParkspaceInfoEx_)) 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 (HasCommandKey) hash ^= CommandKey.GetHashCode(); hash ^= releaseParkspaceInfoEx_.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 !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else if (baseInfo_ != null) { output.WriteRawTag(10); output.WriteMessage(BaseInfo); } if (HasCommandKey) { output.WriteRawTag(18); output.WriteString(CommandKey); } releaseParkspaceInfoEx_.WriteTo(output, _repeated_releaseParkspaceInfoEx_codec); if (_unknownFields != null) { _unknownFields.WriteTo(output); } #endif } #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { if (baseInfo_ != null) { output.WriteRawTag(10); output.WriteMessage(BaseInfo); } if (HasCommandKey) { output.WriteRawTag(18); output.WriteString(CommandKey); } releaseParkspaceInfoEx_.WriteTo(ref output, _repeated_releaseParkspaceInfoEx_codec); if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } } #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { int size = 0; if (baseInfo_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(BaseInfo); } if (HasCommandKey) { size += 1 + pb::CodedOutputStream.ComputeStringSize(CommandKey); } size += releaseParkspaceInfoEx_.CalculateSize(_repeated_releaseParkspaceInfoEx_codec); if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(Parkspace_release_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.HasCommandKey) { CommandKey = other.CommandKey; } releaseParkspaceInfoEx_.Add(other.releaseParkspaceInfoEx_); _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 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: { CommandKey = input.ReadString(); break; } case 26: { releaseParkspaceInfoEx_.AddEntriesFrom(input, _repeated_releaseParkspaceInfoEx_codec); break; } } } #endif } #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 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: { CommandKey = input.ReadString(); break; } case 26: { releaseParkspaceInfoEx_.AddEntriesFrom(ref input, _repeated_releaseParkspaceInfoEx_codec); break; } } } } #endif } /// ///释放车位请求 /// public sealed partial class Parkspace_release_response_msg : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Parkspace_release_response_msg()); private pb::UnknownFieldSet _unknownFields; [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.ParkspaceAllocationMessageReflection.Descriptor.MessageTypes[5]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public Parkspace_release_response_msg() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public Parkspace_release_response_msg(Parkspace_release_response_msg other) : this() { baseInfo_ = other.baseInfo_ != null ? other.baseInfo_.Clone() : null; commandKey_ = other.commandKey_; errorManager_ = other.errorManager_ != null ? other.errorManager_.Clone() : null; releaseParkspaceInfoEx_ = other.releaseParkspaceInfoEx_.Clone(); _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public Parkspace_release_response_msg Clone() { return new Parkspace_release_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 "command_key" field. public const int CommandKeyFieldNumber = 2; private readonly static string CommandKeyDefaultValue = ""; private string commandKey_; /// ///指令唯一标识符id /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public string CommandKey { get { return commandKey_ ?? CommandKeyDefaultValue; } set { commandKey_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Gets whether the "command_key" field is set [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool HasCommandKey { get { return commandKey_ != null; } } /// Clears the value of the "command_key" field [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void ClearCommandKey() { commandKey_ = null; } /// Field number for the "error_manager" field. public const int ErrorManagerFieldNumber = 3; private global::Message.Error_manager errorManager_; /// ///分配成功与否标志 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public global::Message.Error_manager ErrorManager { get { return errorManager_; } set { errorManager_ = value; } } /// Field number for the "release_parkspace_info_ex" field. public const int ReleaseParkspaceInfoExFieldNumber = 4; private static readonly pb::FieldCodec _repeated_releaseParkspaceInfoEx_codec = pb::FieldCodec.ForMessage(34, global::Message.Parkspace_info.Parser); private readonly pbc::RepeatedField releaseParkspaceInfoEx_ = new pbc::RepeatedField(); /// ///待释放车位信息 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public pbc::RepeatedField ReleaseParkspaceInfoEx { get { return releaseParkspaceInfoEx_; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override bool Equals(object other) { return Equals(other as Parkspace_release_response_msg); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool Equals(Parkspace_release_response_msg other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (!object.Equals(BaseInfo, other.BaseInfo)) return false; if (CommandKey != other.CommandKey) return false; if (!object.Equals(ErrorManager, other.ErrorManager)) return false; if(!releaseParkspaceInfoEx_.Equals(other.releaseParkspaceInfoEx_)) 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 (HasCommandKey) hash ^= CommandKey.GetHashCode(); if (errorManager_ != null) hash ^= ErrorManager.GetHashCode(); hash ^= releaseParkspaceInfoEx_.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 !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else if (baseInfo_ != null) { output.WriteRawTag(10); output.WriteMessage(BaseInfo); } if (HasCommandKey) { output.WriteRawTag(18); output.WriteString(CommandKey); } if (errorManager_ != null) { output.WriteRawTag(26); output.WriteMessage(ErrorManager); } releaseParkspaceInfoEx_.WriteTo(output, _repeated_releaseParkspaceInfoEx_codec); if (_unknownFields != null) { _unknownFields.WriteTo(output); } #endif } #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { if (baseInfo_ != null) { output.WriteRawTag(10); output.WriteMessage(BaseInfo); } if (HasCommandKey) { output.WriteRawTag(18); output.WriteString(CommandKey); } if (errorManager_ != null) { output.WriteRawTag(26); output.WriteMessage(ErrorManager); } releaseParkspaceInfoEx_.WriteTo(ref output, _repeated_releaseParkspaceInfoEx_codec); if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } } #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { int size = 0; if (baseInfo_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(BaseInfo); } if (HasCommandKey) { size += 1 + pb::CodedOutputStream.ComputeStringSize(CommandKey); } if (errorManager_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(ErrorManager); } size += releaseParkspaceInfoEx_.CalculateSize(_repeated_releaseParkspaceInfoEx_codec); if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(Parkspace_release_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.HasCommandKey) { CommandKey = other.CommandKey; } if (other.errorManager_ != null) { if (errorManager_ == null) { ErrorManager = new global::Message.Error_manager(); } ErrorManager.MergeFrom(other.ErrorManager); } releaseParkspaceInfoEx_.Add(other.releaseParkspaceInfoEx_); _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 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: { CommandKey = input.ReadString(); break; } case 26: { if (errorManager_ == null) { ErrorManager = new global::Message.Error_manager(); } input.ReadMessage(ErrorManager); break; } case 34: { releaseParkspaceInfoEx_.AddEntriesFrom(input, _repeated_releaseParkspaceInfoEx_codec); break; } } } #endif } #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 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: { CommandKey = input.ReadString(); break; } case 26: { if (errorManager_ == null) { ErrorManager = new global::Message.Error_manager(); } input.ReadMessage(ErrorManager); break; } case 34: { releaseParkspaceInfoEx_.AddEntriesFrom(ref input, _repeated_releaseParkspaceInfoEx_codec); break; } } } } #endif } /// /// 4.手动操作修改车位状态 /// public sealed partial class Parkspace_force_update_request_msg : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Parkspace_force_update_request_msg()); private pb::UnknownFieldSet _unknownFields; [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.ParkspaceAllocationMessageReflection.Descriptor.MessageTypes[6]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public Parkspace_force_update_request_msg() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public Parkspace_force_update_request_msg(Parkspace_force_update_request_msg other) : this() { baseInfo_ = other.baseInfo_ != null ? other.baseInfo_.Clone() : null; commandKey_ = other.commandKey_; manualParkspaceInfoEx_ = other.manualParkspaceInfoEx_.Clone(); _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public Parkspace_force_update_request_msg Clone() { return new Parkspace_force_update_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 "command_key" field. public const int CommandKeyFieldNumber = 2; private readonly static string CommandKeyDefaultValue = ""; private string commandKey_; /// ///指令唯一标识符id /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public string CommandKey { get { return commandKey_ ?? CommandKeyDefaultValue; } set { commandKey_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Gets whether the "command_key" field is set [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool HasCommandKey { get { return commandKey_ != null; } } /// Clears the value of the "command_key" field [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void ClearCommandKey() { commandKey_ = null; } /// Field number for the "manual_parkspace_info_ex" field. public const int ManualParkspaceInfoExFieldNumber = 3; private static readonly pb::FieldCodec _repeated_manualParkspaceInfoEx_codec = pb::FieldCodec.ForMessage(26, global::Message.Parkspace_info.Parser); private readonly pbc::RepeatedField manualParkspaceInfoEx_ = new pbc::RepeatedField(); /// ///待手动修改车位信息,通过id定位 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public pbc::RepeatedField ManualParkspaceInfoEx { get { return manualParkspaceInfoEx_; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override bool Equals(object other) { return Equals(other as Parkspace_force_update_request_msg); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool Equals(Parkspace_force_update_request_msg other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (!object.Equals(BaseInfo, other.BaseInfo)) return false; if (CommandKey != other.CommandKey) return false; if(!manualParkspaceInfoEx_.Equals(other.manualParkspaceInfoEx_)) 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 (HasCommandKey) hash ^= CommandKey.GetHashCode(); hash ^= manualParkspaceInfoEx_.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 !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else if (baseInfo_ != null) { output.WriteRawTag(10); output.WriteMessage(BaseInfo); } if (HasCommandKey) { output.WriteRawTag(18); output.WriteString(CommandKey); } manualParkspaceInfoEx_.WriteTo(output, _repeated_manualParkspaceInfoEx_codec); if (_unknownFields != null) { _unknownFields.WriteTo(output); } #endif } #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { if (baseInfo_ != null) { output.WriteRawTag(10); output.WriteMessage(BaseInfo); } if (HasCommandKey) { output.WriteRawTag(18); output.WriteString(CommandKey); } manualParkspaceInfoEx_.WriteTo(ref output, _repeated_manualParkspaceInfoEx_codec); if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } } #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { int size = 0; if (baseInfo_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(BaseInfo); } if (HasCommandKey) { size += 1 + pb::CodedOutputStream.ComputeStringSize(CommandKey); } size += manualParkspaceInfoEx_.CalculateSize(_repeated_manualParkspaceInfoEx_codec); if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(Parkspace_force_update_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.HasCommandKey) { CommandKey = other.CommandKey; } manualParkspaceInfoEx_.Add(other.manualParkspaceInfoEx_); _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 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: { CommandKey = input.ReadString(); break; } case 26: { manualParkspaceInfoEx_.AddEntriesFrom(input, _repeated_manualParkspaceInfoEx_codec); break; } } } #endif } #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 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: { CommandKey = input.ReadString(); break; } case 26: { manualParkspaceInfoEx_.AddEntriesFrom(ref input, _repeated_manualParkspaceInfoEx_codec); break; } } } } #endif } /// ///手动操作反馈 /// public sealed partial class Parkspace_force_update_response_msg : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Parkspace_force_update_response_msg()); private pb::UnknownFieldSet _unknownFields; [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.ParkspaceAllocationMessageReflection.Descriptor.MessageTypes[7]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public Parkspace_force_update_response_msg() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public Parkspace_force_update_response_msg(Parkspace_force_update_response_msg other) : this() { baseInfo_ = other.baseInfo_ != null ? other.baseInfo_.Clone() : null; commandKey_ = other.commandKey_; errorManager_ = other.errorManager_ != null ? other.errorManager_.Clone() : null; manualParkspaceInfoEx_ = other.manualParkspaceInfoEx_.Clone(); _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public Parkspace_force_update_response_msg Clone() { return new Parkspace_force_update_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 "command_key" field. public const int CommandKeyFieldNumber = 2; private readonly static string CommandKeyDefaultValue = ""; private string commandKey_; /// ///指令唯一标识符id /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public string CommandKey { get { return commandKey_ ?? CommandKeyDefaultValue; } set { commandKey_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Gets whether the "command_key" field is set [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool HasCommandKey { get { return commandKey_ != null; } } /// Clears the value of the "command_key" field [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void ClearCommandKey() { commandKey_ = null; } /// Field number for the "error_manager" field. public const int ErrorManagerFieldNumber = 3; private global::Message.Error_manager errorManager_; /// ///分配成功与否标志 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public global::Message.Error_manager ErrorManager { get { return errorManager_; } set { errorManager_ = value; } } /// Field number for the "manual_parkspace_info_ex" field. public const int ManualParkspaceInfoExFieldNumber = 4; private static readonly pb::FieldCodec _repeated_manualParkspaceInfoEx_codec = pb::FieldCodec.ForMessage(34, global::Message.Parkspace_info.Parser); private readonly pbc::RepeatedField manualParkspaceInfoEx_ = new pbc::RepeatedField(); /// ///已修改后的车位信息 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public pbc::RepeatedField ManualParkspaceInfoEx { get { return manualParkspaceInfoEx_; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override bool Equals(object other) { return Equals(other as Parkspace_force_update_response_msg); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool Equals(Parkspace_force_update_response_msg other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (!object.Equals(BaseInfo, other.BaseInfo)) return false; if (CommandKey != other.CommandKey) return false; if (!object.Equals(ErrorManager, other.ErrorManager)) return false; if(!manualParkspaceInfoEx_.Equals(other.manualParkspaceInfoEx_)) 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 (HasCommandKey) hash ^= CommandKey.GetHashCode(); if (errorManager_ != null) hash ^= ErrorManager.GetHashCode(); hash ^= manualParkspaceInfoEx_.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 !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else if (baseInfo_ != null) { output.WriteRawTag(10); output.WriteMessage(BaseInfo); } if (HasCommandKey) { output.WriteRawTag(18); output.WriteString(CommandKey); } if (errorManager_ != null) { output.WriteRawTag(26); output.WriteMessage(ErrorManager); } manualParkspaceInfoEx_.WriteTo(output, _repeated_manualParkspaceInfoEx_codec); if (_unknownFields != null) { _unknownFields.WriteTo(output); } #endif } #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { if (baseInfo_ != null) { output.WriteRawTag(10); output.WriteMessage(BaseInfo); } if (HasCommandKey) { output.WriteRawTag(18); output.WriteString(CommandKey); } if (errorManager_ != null) { output.WriteRawTag(26); output.WriteMessage(ErrorManager); } manualParkspaceInfoEx_.WriteTo(ref output, _repeated_manualParkspaceInfoEx_codec); if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } } #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { int size = 0; if (baseInfo_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(BaseInfo); } if (HasCommandKey) { size += 1 + pb::CodedOutputStream.ComputeStringSize(CommandKey); } if (errorManager_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(ErrorManager); } size += manualParkspaceInfoEx_.CalculateSize(_repeated_manualParkspaceInfoEx_codec); if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(Parkspace_force_update_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.HasCommandKey) { CommandKey = other.CommandKey; } if (other.errorManager_ != null) { if (errorManager_ == null) { ErrorManager = new global::Message.Error_manager(); } ErrorManager.MergeFrom(other.ErrorManager); } manualParkspaceInfoEx_.Add(other.manualParkspaceInfoEx_); _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 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: { CommandKey = input.ReadString(); break; } case 26: { if (errorManager_ == null) { ErrorManager = new global::Message.Error_manager(); } input.ReadMessage(ErrorManager); break; } case 34: { manualParkspaceInfoEx_.AddEntriesFrom(input, _repeated_manualParkspaceInfoEx_codec); break; } } } #endif } #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 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: { CommandKey = input.ReadString(); break; } case 26: { if (errorManager_ == null) { ErrorManager = new global::Message.Error_manager(); } input.ReadMessage(ErrorManager); break; } case 34: { manualParkspaceInfoEx_.AddEntriesFrom(ref input, _repeated_manualParkspaceInfoEx_codec); break; } } } } #endif } /// /// 5.确认分配车位 /// public sealed partial class Parkspace_confirm_alloc_request_msg : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Parkspace_confirm_alloc_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.ParkspaceAllocationMessageReflection.Descriptor.MessageTypes[8]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public Parkspace_confirm_alloc_request_msg() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public Parkspace_confirm_alloc_request_msg(Parkspace_confirm_alloc_request_msg other) : this() { _hasBits0 = other._hasBits0; baseInfo_ = other.baseInfo_ != null ? other.baseInfo_.Clone() : null; commandKey_ = other.commandKey_; confirmParkspaceInfoEx_ = other.confirmParkspaceInfoEx_.Clone(); carType_ = other.carType_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public Parkspace_confirm_alloc_request_msg Clone() { return new Parkspace_confirm_alloc_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 "command_key" field. public const int CommandKeyFieldNumber = 2; private readonly static string CommandKeyDefaultValue = ""; private string commandKey_; /// ///指令唯一标识符id /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public string CommandKey { get { return commandKey_ ?? CommandKeyDefaultValue; } set { commandKey_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Gets whether the "command_key" field is set [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool HasCommandKey { get { return commandKey_ != null; } } /// Clears the value of the "command_key" field [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void ClearCommandKey() { commandKey_ = null; } /// Field number for the "confirm_parkspace_info_ex" field. public const int ConfirmParkspaceInfoExFieldNumber = 3; private static readonly pb::FieldCodec _repeated_confirmParkspaceInfoEx_codec = pb::FieldCodec.ForMessage(26, global::Message.Parkspace_info.Parser); private readonly pbc::RepeatedField confirmParkspaceInfoEx_ = new pbc::RepeatedField(); /// ///分配车位信息 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public pbc::RepeatedField ConfirmParkspaceInfoEx { get { return confirmParkspaceInfoEx_; } } /// Field number for the "car_type" field. public const int CarTypeFieldNumber = 4; private readonly static global::Message.Car_type CarTypeDefaultValue = global::Message.Car_type.UnknowCarType; private global::Message.Car_type carType_; /// ///汽车类型 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public global::Message.Car_type CarType { get { if ((_hasBits0 & 1) != 0) { return carType_; } else { return CarTypeDefaultValue; } } set { _hasBits0 |= 1; carType_ = value; } } /// Gets whether the "car_type" field is set [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool HasCarType { get { return (_hasBits0 & 1) != 0; } } /// Clears the value of the "car_type" field [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void ClearCarType() { _hasBits0 &= ~1; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override bool Equals(object other) { return Equals(other as Parkspace_confirm_alloc_request_msg); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool Equals(Parkspace_confirm_alloc_request_msg other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (!object.Equals(BaseInfo, other.BaseInfo)) return false; if (CommandKey != other.CommandKey) return false; if(!confirmParkspaceInfoEx_.Equals(other.confirmParkspaceInfoEx_)) return false; if (CarType != other.CarType) 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 (HasCommandKey) hash ^= CommandKey.GetHashCode(); hash ^= confirmParkspaceInfoEx_.GetHashCode(); if (HasCarType) hash ^= CarType.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 !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else if (baseInfo_ != null) { output.WriteRawTag(10); output.WriteMessage(BaseInfo); } if (HasCommandKey) { output.WriteRawTag(18); output.WriteString(CommandKey); } confirmParkspaceInfoEx_.WriteTo(output, _repeated_confirmParkspaceInfoEx_codec); if (HasCarType) { output.WriteRawTag(32); output.WriteEnum((int) CarType); } if (_unknownFields != null) { _unknownFields.WriteTo(output); } #endif } #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { if (baseInfo_ != null) { output.WriteRawTag(10); output.WriteMessage(BaseInfo); } if (HasCommandKey) { output.WriteRawTag(18); output.WriteString(CommandKey); } confirmParkspaceInfoEx_.WriteTo(ref output, _repeated_confirmParkspaceInfoEx_codec); if (HasCarType) { output.WriteRawTag(32); output.WriteEnum((int) CarType); } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } } #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { int size = 0; if (baseInfo_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(BaseInfo); } if (HasCommandKey) { size += 1 + pb::CodedOutputStream.ComputeStringSize(CommandKey); } size += confirmParkspaceInfoEx_.CalculateSize(_repeated_confirmParkspaceInfoEx_codec); if (HasCarType) { size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) CarType); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(Parkspace_confirm_alloc_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.HasCommandKey) { CommandKey = other.CommandKey; } confirmParkspaceInfoEx_.Add(other.confirmParkspaceInfoEx_); if (other.HasCarType) { CarType = other.CarType; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 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: { CommandKey = input.ReadString(); break; } case 26: { confirmParkspaceInfoEx_.AddEntriesFrom(input, _repeated_confirmParkspaceInfoEx_codec); break; } case 32: { CarType = (global::Message.Car_type) input.ReadEnum(); break; } } } #endif } #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 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: { CommandKey = input.ReadString(); break; } case 26: { confirmParkspaceInfoEx_.AddEntriesFrom(ref input, _repeated_confirmParkspaceInfoEx_codec); break; } case 32: { CarType = (global::Message.Car_type) input.ReadEnum(); break; } } } } #endif } /// ///确认分配车位反馈 /// public sealed partial class Parkspace_confirm_alloc_response_msg : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Parkspace_confirm_alloc_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.ParkspaceAllocationMessageReflection.Descriptor.MessageTypes[9]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public Parkspace_confirm_alloc_response_msg() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public Parkspace_confirm_alloc_response_msg(Parkspace_confirm_alloc_response_msg other) : this() { _hasBits0 = other._hasBits0; baseInfo_ = other.baseInfo_ != null ? other.baseInfo_.Clone() : null; commandKey_ = other.commandKey_; errorManager_ = other.errorManager_ != null ? other.errorManager_.Clone() : null; confirmParkspaceInfoEx_ = other.confirmParkspaceInfoEx_.Clone(); carType_ = other.carType_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public Parkspace_confirm_alloc_response_msg Clone() { return new Parkspace_confirm_alloc_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 "command_key" field. public const int CommandKeyFieldNumber = 2; private readonly static string CommandKeyDefaultValue = ""; private string commandKey_; /// ///指令唯一标识符id /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public string CommandKey { get { return commandKey_ ?? CommandKeyDefaultValue; } set { commandKey_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Gets whether the "command_key" field is set [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool HasCommandKey { get { return commandKey_ != null; } } /// Clears the value of the "command_key" field [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void ClearCommandKey() { commandKey_ = null; } /// Field number for the "error_manager" field. public const int ErrorManagerFieldNumber = 3; private global::Message.Error_manager errorManager_; /// ///分配成功与否标志 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public global::Message.Error_manager ErrorManager { get { return errorManager_; } set { errorManager_ = value; } } /// Field number for the "confirm_parkspace_info_ex" field. public const int ConfirmParkspaceInfoExFieldNumber = 4; private static readonly pb::FieldCodec _repeated_confirmParkspaceInfoEx_codec = pb::FieldCodec.ForMessage(34, global::Message.Parkspace_info.Parser); private readonly pbc::RepeatedField confirmParkspaceInfoEx_ = new pbc::RepeatedField(); /// ///已修改后的车位信息 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public pbc::RepeatedField ConfirmParkspaceInfoEx { get { return confirmParkspaceInfoEx_; } } /// Field number for the "car_type" field. public const int CarTypeFieldNumber = 5; private readonly static global::Message.Car_type CarTypeDefaultValue = global::Message.Car_type.UnknowCarType; private global::Message.Car_type carType_; /// ///汽车类型 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public global::Message.Car_type CarType { get { if ((_hasBits0 & 1) != 0) { return carType_; } else { return CarTypeDefaultValue; } } set { _hasBits0 |= 1; carType_ = value; } } /// Gets whether the "car_type" field is set [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool HasCarType { get { return (_hasBits0 & 1) != 0; } } /// Clears the value of the "car_type" field [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void ClearCarType() { _hasBits0 &= ~1; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override bool Equals(object other) { return Equals(other as Parkspace_confirm_alloc_response_msg); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool Equals(Parkspace_confirm_alloc_response_msg other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (!object.Equals(BaseInfo, other.BaseInfo)) return false; if (CommandKey != other.CommandKey) return false; if (!object.Equals(ErrorManager, other.ErrorManager)) return false; if(!confirmParkspaceInfoEx_.Equals(other.confirmParkspaceInfoEx_)) return false; if (CarType != other.CarType) 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 (HasCommandKey) hash ^= CommandKey.GetHashCode(); if (errorManager_ != null) hash ^= ErrorManager.GetHashCode(); hash ^= confirmParkspaceInfoEx_.GetHashCode(); if (HasCarType) hash ^= CarType.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 !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else if (baseInfo_ != null) { output.WriteRawTag(10); output.WriteMessage(BaseInfo); } if (HasCommandKey) { output.WriteRawTag(18); output.WriteString(CommandKey); } if (errorManager_ != null) { output.WriteRawTag(26); output.WriteMessage(ErrorManager); } confirmParkspaceInfoEx_.WriteTo(output, _repeated_confirmParkspaceInfoEx_codec); if (HasCarType) { output.WriteRawTag(40); output.WriteEnum((int) CarType); } if (_unknownFields != null) { _unknownFields.WriteTo(output); } #endif } #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { if (baseInfo_ != null) { output.WriteRawTag(10); output.WriteMessage(BaseInfo); } if (HasCommandKey) { output.WriteRawTag(18); output.WriteString(CommandKey); } if (errorManager_ != null) { output.WriteRawTag(26); output.WriteMessage(ErrorManager); } confirmParkspaceInfoEx_.WriteTo(ref output, _repeated_confirmParkspaceInfoEx_codec); if (HasCarType) { output.WriteRawTag(40); output.WriteEnum((int) CarType); } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } } #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { int size = 0; if (baseInfo_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(BaseInfo); } if (HasCommandKey) { size += 1 + pb::CodedOutputStream.ComputeStringSize(CommandKey); } if (errorManager_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(ErrorManager); } size += confirmParkspaceInfoEx_.CalculateSize(_repeated_confirmParkspaceInfoEx_codec); if (HasCarType) { size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) CarType); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(Parkspace_confirm_alloc_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.HasCommandKey) { CommandKey = other.CommandKey; } if (other.errorManager_ != null) { if (errorManager_ == null) { ErrorManager = new global::Message.Error_manager(); } ErrorManager.MergeFrom(other.ErrorManager); } confirmParkspaceInfoEx_.Add(other.confirmParkspaceInfoEx_); if (other.HasCarType) { CarType = other.CarType; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 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: { CommandKey = input.ReadString(); break; } case 26: { if (errorManager_ == null) { ErrorManager = new global::Message.Error_manager(); } input.ReadMessage(ErrorManager); break; } case 34: { confirmParkspaceInfoEx_.AddEntriesFrom(input, _repeated_confirmParkspaceInfoEx_codec); break; } case 40: { CarType = (global::Message.Car_type) input.ReadEnum(); break; } } } #endif } #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 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: { CommandKey = input.ReadString(); break; } case 26: { if (errorManager_ == null) { ErrorManager = new global::Message.Error_manager(); } input.ReadMessage(ErrorManager); break; } case 34: { confirmParkspaceInfoEx_.AddEntriesFrom(ref input, _repeated_confirmParkspaceInfoEx_codec); break; } case 40: { CarType = (global::Message.Car_type) input.ReadEnum(); break; } } } } #endif } /// /// 车位心跳状态信息 /// public sealed partial class Parkspace_allocation_status_msg : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Parkspace_allocation_status_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.ParkspaceAllocationMessageReflection.Descriptor.MessageTypes[10]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public Parkspace_allocation_status_msg() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public Parkspace_allocation_status_msg(Parkspace_allocation_status_msg other) : this() { _hasBits0 = other._hasBits0; baseInfo_ = other.baseInfo_ != null ? other.baseInfo_.Clone() : null; errorManager_ = other.errorManager_ != null ? other.errorManager_.Clone() : null; databaseControllerStatus_ = other.databaseControllerStatus_; parkspaceManagerSatus_ = other.parkspaceManagerSatus_; smallParkspaceRemainingNumber_ = other.smallParkspaceRemainingNumber_; mediumParkspaceRemainingNumber_ = other.mediumParkspaceRemainingNumber_; largeParkspaceRemainingNumber_ = other.largeParkspaceRemainingNumber_; totalParkspaceRemainingNumber_ = other.totalParkspaceRemainingNumber_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public Parkspace_allocation_status_msg Clone() { return new Parkspace_allocation_status_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 "error_manager" field. public const int ErrorManagerFieldNumber = 2; private global::Message.Error_manager errorManager_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public global::Message.Error_manager ErrorManager { get { return errorManager_; } set { errorManager_ = value; } } /// Field number for the "database_controller_status" field. public const int DatabaseControllerStatusFieldNumber = 3; private readonly static global::Message.Database_controller_status DatabaseControllerStatusDefaultValue = global::Message.Database_controller_status.EUnknown; private global::Message.Database_controller_status databaseControllerStatus_; /// ///数据库的状态 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public global::Message.Database_controller_status DatabaseControllerStatus { get { if ((_hasBits0 & 1) != 0) { return databaseControllerStatus_; } else { return DatabaseControllerStatusDefaultValue; } } set { _hasBits0 |= 1; databaseControllerStatus_ = value; } } /// Gets whether the "database_controller_status" field is set [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool HasDatabaseControllerStatus { get { return (_hasBits0 & 1) != 0; } } /// Clears the value of the "database_controller_status" field [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void ClearDatabaseControllerStatus() { _hasBits0 &= ~1; } /// Field number for the "parkspace_manager_satus" field. public const int ParkspaceManagerSatusFieldNumber = 4; private readonly static global::Message.Parkspace_manager_satus ParkspaceManagerSatusDefaultValue = global::Message.Parkspace_manager_satus.EParkspaceManagerUnknown; private global::Message.Parkspace_manager_satus parkspaceManagerSatus_; /// ///车位管理状态 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public global::Message.Parkspace_manager_satus ParkspaceManagerSatus { get { if ((_hasBits0 & 2) != 0) { return parkspaceManagerSatus_; } else { return ParkspaceManagerSatusDefaultValue; } } set { _hasBits0 |= 2; parkspaceManagerSatus_ = value; } } /// Gets whether the "parkspace_manager_satus" field is set [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool HasParkspaceManagerSatus { get { return (_hasBits0 & 2) != 0; } } /// Clears the value of the "parkspace_manager_satus" field [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void ClearParkspaceManagerSatus() { _hasBits0 &= ~2; } /// Field number for the "small_parkspace_remaining_number" field. public const int SmallParkspaceRemainingNumberFieldNumber = 5; private readonly static int SmallParkspaceRemainingNumberDefaultValue = 0; private int smallParkspaceRemainingNumber_; /// ///小型车位剩余数量 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int SmallParkspaceRemainingNumber { get { if ((_hasBits0 & 4) != 0) { return smallParkspaceRemainingNumber_; } else { return SmallParkspaceRemainingNumberDefaultValue; } } set { _hasBits0 |= 4; smallParkspaceRemainingNumber_ = value; } } /// Gets whether the "small_parkspace_remaining_number" field is set [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool HasSmallParkspaceRemainingNumber { get { return (_hasBits0 & 4) != 0; } } /// Clears the value of the "small_parkspace_remaining_number" field [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void ClearSmallParkspaceRemainingNumber() { _hasBits0 &= ~4; } /// Field number for the "medium_parkspace_remaining_number" field. public const int MediumParkspaceRemainingNumberFieldNumber = 6; private readonly static int MediumParkspaceRemainingNumberDefaultValue = 0; private int mediumParkspaceRemainingNumber_; /// ///中型车位剩余数量 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int MediumParkspaceRemainingNumber { get { if ((_hasBits0 & 8) != 0) { return mediumParkspaceRemainingNumber_; } else { return MediumParkspaceRemainingNumberDefaultValue; } } set { _hasBits0 |= 8; mediumParkspaceRemainingNumber_ = value; } } /// Gets whether the "medium_parkspace_remaining_number" field is set [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool HasMediumParkspaceRemainingNumber { get { return (_hasBits0 & 8) != 0; } } /// Clears the value of the "medium_parkspace_remaining_number" field [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void ClearMediumParkspaceRemainingNumber() { _hasBits0 &= ~8; } /// Field number for the "large_parkspace_remaining_number" field. public const int LargeParkspaceRemainingNumberFieldNumber = 7; private readonly static int LargeParkspaceRemainingNumberDefaultValue = 0; private int largeParkspaceRemainingNumber_; /// ///大型车位剩余数量 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int LargeParkspaceRemainingNumber { get { if ((_hasBits0 & 16) != 0) { return largeParkspaceRemainingNumber_; } else { return LargeParkspaceRemainingNumberDefaultValue; } } set { _hasBits0 |= 16; largeParkspaceRemainingNumber_ = value; } } /// Gets whether the "large_parkspace_remaining_number" field is set [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool HasLargeParkspaceRemainingNumber { get { return (_hasBits0 & 16) != 0; } } /// Clears the value of the "large_parkspace_remaining_number" field [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void ClearLargeParkspaceRemainingNumber() { _hasBits0 &= ~16; } /// Field number for the "total_parkspace_remaining_number" field. public const int TotalParkspaceRemainingNumberFieldNumber = 8; private readonly static int TotalParkspaceRemainingNumberDefaultValue = 0; private int totalParkspaceRemainingNumber_; /// ///所有车位剩余数量 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int TotalParkspaceRemainingNumber { get { if ((_hasBits0 & 32) != 0) { return totalParkspaceRemainingNumber_; } else { return TotalParkspaceRemainingNumberDefaultValue; } } set { _hasBits0 |= 32; totalParkspaceRemainingNumber_ = value; } } /// Gets whether the "total_parkspace_remaining_number" field is set [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool HasTotalParkspaceRemainingNumber { get { return (_hasBits0 & 32) != 0; } } /// Clears the value of the "total_parkspace_remaining_number" field [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void ClearTotalParkspaceRemainingNumber() { _hasBits0 &= ~32; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override bool Equals(object other) { return Equals(other as Parkspace_allocation_status_msg); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool Equals(Parkspace_allocation_status_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(ErrorManager, other.ErrorManager)) return false; if (DatabaseControllerStatus != other.DatabaseControllerStatus) return false; if (ParkspaceManagerSatus != other.ParkspaceManagerSatus) return false; if (SmallParkspaceRemainingNumber != other.SmallParkspaceRemainingNumber) return false; if (MediumParkspaceRemainingNumber != other.MediumParkspaceRemainingNumber) return false; if (LargeParkspaceRemainingNumber != other.LargeParkspaceRemainingNumber) return false; if (TotalParkspaceRemainingNumber != other.TotalParkspaceRemainingNumber) 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 (errorManager_ != null) hash ^= ErrorManager.GetHashCode(); if (HasDatabaseControllerStatus) hash ^= DatabaseControllerStatus.GetHashCode(); if (HasParkspaceManagerSatus) hash ^= ParkspaceManagerSatus.GetHashCode(); if (HasSmallParkspaceRemainingNumber) hash ^= SmallParkspaceRemainingNumber.GetHashCode(); if (HasMediumParkspaceRemainingNumber) hash ^= MediumParkspaceRemainingNumber.GetHashCode(); if (HasLargeParkspaceRemainingNumber) hash ^= LargeParkspaceRemainingNumber.GetHashCode(); if (HasTotalParkspaceRemainingNumber) hash ^= TotalParkspaceRemainingNumber.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 !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else if (baseInfo_ != null) { output.WriteRawTag(10); output.WriteMessage(BaseInfo); } if (errorManager_ != null) { output.WriteRawTag(18); output.WriteMessage(ErrorManager); } if (HasDatabaseControllerStatus) { output.WriteRawTag(24); output.WriteEnum((int) DatabaseControllerStatus); } if (HasParkspaceManagerSatus) { output.WriteRawTag(32); output.WriteEnum((int) ParkspaceManagerSatus); } if (HasSmallParkspaceRemainingNumber) { output.WriteRawTag(40); output.WriteInt32(SmallParkspaceRemainingNumber); } if (HasMediumParkspaceRemainingNumber) { output.WriteRawTag(48); output.WriteInt32(MediumParkspaceRemainingNumber); } if (HasLargeParkspaceRemainingNumber) { output.WriteRawTag(56); output.WriteInt32(LargeParkspaceRemainingNumber); } if (HasTotalParkspaceRemainingNumber) { output.WriteRawTag(64); output.WriteInt32(TotalParkspaceRemainingNumber); } if (_unknownFields != null) { _unknownFields.WriteTo(output); } #endif } #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { if (baseInfo_ != null) { output.WriteRawTag(10); output.WriteMessage(BaseInfo); } if (errorManager_ != null) { output.WriteRawTag(18); output.WriteMessage(ErrorManager); } if (HasDatabaseControllerStatus) { output.WriteRawTag(24); output.WriteEnum((int) DatabaseControllerStatus); } if (HasParkspaceManagerSatus) { output.WriteRawTag(32); output.WriteEnum((int) ParkspaceManagerSatus); } if (HasSmallParkspaceRemainingNumber) { output.WriteRawTag(40); output.WriteInt32(SmallParkspaceRemainingNumber); } if (HasMediumParkspaceRemainingNumber) { output.WriteRawTag(48); output.WriteInt32(MediumParkspaceRemainingNumber); } if (HasLargeParkspaceRemainingNumber) { output.WriteRawTag(56); output.WriteInt32(LargeParkspaceRemainingNumber); } if (HasTotalParkspaceRemainingNumber) { output.WriteRawTag(64); output.WriteInt32(TotalParkspaceRemainingNumber); } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } } #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { int size = 0; if (baseInfo_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(BaseInfo); } if (errorManager_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(ErrorManager); } if (HasDatabaseControllerStatus) { size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) DatabaseControllerStatus); } if (HasParkspaceManagerSatus) { size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) ParkspaceManagerSatus); } if (HasSmallParkspaceRemainingNumber) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(SmallParkspaceRemainingNumber); } if (HasMediumParkspaceRemainingNumber) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(MediumParkspaceRemainingNumber); } if (HasLargeParkspaceRemainingNumber) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(LargeParkspaceRemainingNumber); } if (HasTotalParkspaceRemainingNumber) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(TotalParkspaceRemainingNumber); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(Parkspace_allocation_status_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.errorManager_ != null) { if (errorManager_ == null) { ErrorManager = new global::Message.Error_manager(); } ErrorManager.MergeFrom(other.ErrorManager); } if (other.HasDatabaseControllerStatus) { DatabaseControllerStatus = other.DatabaseControllerStatus; } if (other.HasParkspaceManagerSatus) { ParkspaceManagerSatus = other.ParkspaceManagerSatus; } if (other.HasSmallParkspaceRemainingNumber) { SmallParkspaceRemainingNumber = other.SmallParkspaceRemainingNumber; } if (other.HasMediumParkspaceRemainingNumber) { MediumParkspaceRemainingNumber = other.MediumParkspaceRemainingNumber; } if (other.HasLargeParkspaceRemainingNumber) { LargeParkspaceRemainingNumber = other.LargeParkspaceRemainingNumber; } if (other.HasTotalParkspaceRemainingNumber) { TotalParkspaceRemainingNumber = other.TotalParkspaceRemainingNumber; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 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 (errorManager_ == null) { ErrorManager = new global::Message.Error_manager(); } input.ReadMessage(ErrorManager); break; } case 24: { DatabaseControllerStatus = (global::Message.Database_controller_status) input.ReadEnum(); break; } case 32: { ParkspaceManagerSatus = (global::Message.Parkspace_manager_satus) input.ReadEnum(); break; } case 40: { SmallParkspaceRemainingNumber = input.ReadInt32(); break; } case 48: { MediumParkspaceRemainingNumber = input.ReadInt32(); break; } case 56: { LargeParkspaceRemainingNumber = input.ReadInt32(); break; } case 64: { TotalParkspaceRemainingNumber = input.ReadInt32(); break; } } } #endif } #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 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 (errorManager_ == null) { ErrorManager = new global::Message.Error_manager(); } input.ReadMessage(ErrorManager); break; } case 24: { DatabaseControllerStatus = (global::Message.Database_controller_status) input.ReadEnum(); break; } case 32: { ParkspaceManagerSatus = (global::Message.Parkspace_manager_satus) input.ReadEnum(); break; } case 40: { SmallParkspaceRemainingNumber = input.ReadInt32(); break; } case 48: { MediumParkspaceRemainingNumber = input.ReadInt32(); break; } case 56: { LargeParkspaceRemainingNumber = input.ReadInt32(); break; } case 64: { TotalParkspaceRemainingNumber = input.ReadInt32(); break; } } } } #endif } /// ///更新车位数据请求 /// public sealed partial class Parkspace_refresh_request_msg : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Parkspace_refresh_request_msg()); private pb::UnknownFieldSet _unknownFields; [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.ParkspaceAllocationMessageReflection.Descriptor.MessageTypes[11]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public Parkspace_refresh_request_msg() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public Parkspace_refresh_request_msg(Parkspace_refresh_request_msg other) : this() { baseInfo_ = other.baseInfo_ != null ? other.baseInfo_.Clone() : null; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public Parkspace_refresh_request_msg Clone() { return new Parkspace_refresh_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; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override bool Equals(object other) { return Equals(other as Parkspace_refresh_request_msg); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool Equals(Parkspace_refresh_request_msg other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (!object.Equals(BaseInfo, other.BaseInfo)) 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 (_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 !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else if (baseInfo_ != null) { output.WriteRawTag(10); output.WriteMessage(BaseInfo); } if (_unknownFields != null) { _unknownFields.WriteTo(output); } #endif } #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { if (baseInfo_ != null) { output.WriteRawTag(10); output.WriteMessage(BaseInfo); } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } } #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { int size = 0; if (baseInfo_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(BaseInfo); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(Parkspace_refresh_request_msg other) { if (other == null) { return; } if (other.baseInfo_ != null) { if (baseInfo_ == null) { BaseInfo = new global::Message.Base_info(); } BaseInfo.MergeFrom(other.BaseInfo); } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 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; } } } #endif } #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 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; } } } } #endif } /// /// 车位数据信息 /// public sealed partial class Parkspace_allocation_data_msg : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Parkspace_allocation_data_msg()); private pb::UnknownFieldSet _unknownFields; [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.ParkspaceAllocationMessageReflection.Descriptor.MessageTypes[12]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public Parkspace_allocation_data_msg() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public Parkspace_allocation_data_msg(Parkspace_allocation_data_msg other) : this() { baseInfo_ = other.baseInfo_ != null ? other.baseInfo_.Clone() : null; errorManager_ = other.errorManager_ != null ? other.errorManager_.Clone() : null; parkspaceInfoEx_ = other.parkspaceInfoEx_.Clone(); _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public Parkspace_allocation_data_msg Clone() { return new Parkspace_allocation_data_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 "error_manager" field. public const int ErrorManagerFieldNumber = 2; private global::Message.Error_manager errorManager_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public global::Message.Error_manager ErrorManager { get { return errorManager_; } set { errorManager_ = value; } } /// Field number for the "parkspace_info_ex" field. public const int ParkspaceInfoExFieldNumber = 3; private static readonly pb::FieldCodec _repeated_parkspaceInfoEx_codec = pb::FieldCodec.ForMessage(26, global::Message.Parkspace_info.Parser); private readonly pbc::RepeatedField parkspaceInfoEx_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public pbc::RepeatedField ParkspaceInfoEx { get { return parkspaceInfoEx_; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override bool Equals(object other) { return Equals(other as Parkspace_allocation_data_msg); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool Equals(Parkspace_allocation_data_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(ErrorManager, other.ErrorManager)) return false; if(!parkspaceInfoEx_.Equals(other.parkspaceInfoEx_)) 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 (errorManager_ != null) hash ^= ErrorManager.GetHashCode(); hash ^= parkspaceInfoEx_.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 !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else if (baseInfo_ != null) { output.WriteRawTag(10); output.WriteMessage(BaseInfo); } if (errorManager_ != null) { output.WriteRawTag(18); output.WriteMessage(ErrorManager); } parkspaceInfoEx_.WriteTo(output, _repeated_parkspaceInfoEx_codec); if (_unknownFields != null) { _unknownFields.WriteTo(output); } #endif } #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { if (baseInfo_ != null) { output.WriteRawTag(10); output.WriteMessage(BaseInfo); } if (errorManager_ != null) { output.WriteRawTag(18); output.WriteMessage(ErrorManager); } parkspaceInfoEx_.WriteTo(ref output, _repeated_parkspaceInfoEx_codec); if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } } #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { int size = 0; if (baseInfo_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(BaseInfo); } if (errorManager_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(ErrorManager); } size += parkspaceInfoEx_.CalculateSize(_repeated_parkspaceInfoEx_codec); if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(Parkspace_allocation_data_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.errorManager_ != null) { if (errorManager_ == null) { ErrorManager = new global::Message.Error_manager(); } ErrorManager.MergeFrom(other.ErrorManager); } parkspaceInfoEx_.Add(other.parkspaceInfoEx_); _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 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 (errorManager_ == null) { ErrorManager = new global::Message.Error_manager(); } input.ReadMessage(ErrorManager); break; } case 26: { parkspaceInfoEx_.AddEntriesFrom(input, _repeated_parkspaceInfoEx_codec); break; } } } #endif } #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 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 (errorManager_ == null) { ErrorManager = new global::Message.Error_manager(); } input.ReadMessage(ErrorManager); break; } case 26: { parkspaceInfoEx_.AddEntriesFrom(ref input, _repeated_parkspaceInfoEx_codec); break; } } } } #endif } #endregion } #endregion Designer generated code