// // 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", "GhJtZXNzYWdlX2Jhc2UucHJvdG8iqgEKIFBhcmtzcGFjZV9hbGxvY2F0aW9u", "X3JlcXVlc3RfbXNnEiUKCWJhc2VfaW5mbxgBIAIoCzISLm1lc3NhZ2UuQmFz", "ZV9pbmZvEhMKC2NvbW1hbmRfa2V5GAIgAigJEiMKCGNhcl9pbmZvGAMgAigL", "MhEubWVzc2FnZS5DYXJfaW5mbxIlCglpZF9zdHJ1Y3QYBCACKAsyEi5tZXNz", "YWdlLklkX3N0cnVjdCLxAQohUGFya3NwYWNlX2FsbG9jYXRpb25fcmVzcG9u", "c2VfbXNnEiUKCWJhc2VfaW5mbxgBIAIoCzISLm1lc3NhZ2UuQmFzZV9pbmZv", "EhMKC2NvbW1hbmRfa2V5GAIgAigJEi0KDWVycm9yX21hbmFnZXIYAyACKAsy", "Fi5tZXNzYWdlLkVycm9yX21hbmFnZXISPAobYWxsb2NhdGVkX3BhcmtzcGFj", "ZV9pbmZvX2V4GAQgAygLMhcubWVzc2FnZS5QYXJrc3BhY2VfaW5mbxIjCghj", "YXJfdHlwZRgFIAEoDjIRLm1lc3NhZ2UuQ2FyX3R5cGUifwocUGFya3NwYWNl", "X3NlYXJjaF9yZXF1ZXN0X21zZxIlCgliYXNlX2luZm8YASACKAsyEi5tZXNz", "YWdlLkJhc2VfaW5mbxITCgtjb21tYW5kX2tleRgCIAIoCRIjCghjYXJfaW5m", "bxgDIAIoCzIRLm1lc3NhZ2UuQ2FyX2luZm8ixAEKHVBhcmtzcGFjZV9zZWFy", "Y2hfcmVzcG9uc2VfbXNnEiUKCWJhc2VfaW5mbxgBIAIoCzISLm1lc3NhZ2Uu", "QmFzZV9pbmZvEhMKC2NvbW1hbmRfa2V5GAIgAigJEi0KDWVycm9yX21hbmFn", "ZXIYAyACKAsyFi5tZXNzYWdlLkVycm9yX21hbmFnZXISOAoXcXVlcnlfcGFy", "a3NwYWNlX2luZm9fZXgYBCADKAsyFy5tZXNzYWdlLlBhcmtzcGFjZV9pbmZv", "IoYBCiNQYXJrc3BhY2VfbWFudWFsX3NlYXJjaF9yZXF1ZXN0X21zZxIlCgli", "YXNlX2luZm8YASACKAsyEi5tZXNzYWdlLkJhc2VfaW5mbxITCgtjb21tYW5k", "X2tleRgCIAIoCRIjCghjYXJfaW5mbxgDIAIoCzIRLm1lc3NhZ2UuQ2FyX2lu", "Zm8iywEKJFBhcmtzcGFjZV9tYW51YWxfc2VhcmNoX3Jlc3BvbnNlX21zZxIl", "CgliYXNlX2luZm8YASACKAsyEi5tZXNzYWdlLkJhc2VfaW5mbxITCgtjb21t", "YW5kX2tleRgCIAIoCRItCg1lcnJvcl9tYW5hZ2VyGAMgAigLMhYubWVzc2Fn", "ZS5FcnJvcl9tYW5hZ2VyEjgKF3F1ZXJ5X3BhcmtzcGFjZV9pbmZvX2V4GAQg", "AygLMhcubWVzc2FnZS5QYXJrc3BhY2VfaW5mbyKXAQodUGFya3NwYWNlX3Jl", "bGVhc2VfcmVxdWVzdF9tc2cSJQoJYmFzZV9pbmZvGAEgAigLMhIubWVzc2Fn", "ZS5CYXNlX2luZm8SEwoLY29tbWFuZF9rZXkYAiACKAkSOgoZcmVsZWFzZV9w", "YXJrc3BhY2VfaW5mb19leBgDIAMoCzIXLm1lc3NhZ2UuUGFya3NwYWNlX2lu", "Zm8ixwEKHlBhcmtzcGFjZV9yZWxlYXNlX3Jlc3BvbnNlX21zZxIlCgliYXNl", "X2luZm8YASACKAsyEi5tZXNzYWdlLkJhc2VfaW5mbxITCgtjb21tYW5kX2tl", "eRgCIAIoCRItCg1lcnJvcl9tYW5hZ2VyGAMgAigLMhYubWVzc2FnZS5FcnJv", "cl9tYW5hZ2VyEjoKGXJlbGVhc2VfcGFya3NwYWNlX2luZm9fZXgYBCADKAsy", "Fy5tZXNzYWdlLlBhcmtzcGFjZV9pbmZvIpsBCiJQYXJrc3BhY2VfZm9yY2Vf", "dXBkYXRlX3JlcXVlc3RfbXNnEiUKCWJhc2VfaW5mbxgBIAIoCzISLm1lc3Nh", "Z2UuQmFzZV9pbmZvEhMKC2NvbW1hbmRfa2V5GAIgAigJEjkKGG1hbnVhbF9w", "YXJrc3BhY2VfaW5mb19leBgDIAMoCzIXLm1lc3NhZ2UuUGFya3NwYWNlX2lu", "Zm8iywEKI1BhcmtzcGFjZV9mb3JjZV91cGRhdGVfcmVzcG9uc2VfbXNnEiUK", "CWJhc2VfaW5mbxgBIAIoCzISLm1lc3NhZ2UuQmFzZV9pbmZvEhMKC2NvbW1h", "bmRfa2V5GAIgAigJEi0KDWVycm9yX21hbmFnZXIYAyACKAsyFi5tZXNzYWdl", "LkVycm9yX21hbmFnZXISOQoYbWFudWFsX3BhcmtzcGFjZV9pbmZvX2V4GAQg", "AygLMhcubWVzc2FnZS5QYXJrc3BhY2VfaW5mbyLCAQojUGFya3NwYWNlX2Nv", "bmZpcm1fYWxsb2NfcmVxdWVzdF9tc2cSJQoJYmFzZV9pbmZvGAEgAigLMhIu", "bWVzc2FnZS5CYXNlX2luZm8SEwoLY29tbWFuZF9rZXkYAiACKAkSOgoZY29u", "ZmlybV9wYXJrc3BhY2VfaW5mb19leBgDIAMoCzIXLm1lc3NhZ2UuUGFya3Nw", "YWNlX2luZm8SIwoIY2FyX3R5cGUYBCABKA4yES5tZXNzYWdlLkNhcl90eXBl", "IvIBCiRQYXJrc3BhY2VfY29uZmlybV9hbGxvY19yZXNwb25zZV9tc2cSJQoJ", "YmFzZV9pbmZvGAEgAigLMhIubWVzc2FnZS5CYXNlX2luZm8SEwoLY29tbWFu", "ZF9rZXkYAiACKAkSLQoNZXJyb3JfbWFuYWdlchgDIAIoCzIWLm1lc3NhZ2Uu", "RXJyb3JfbWFuYWdlchI6Chljb25maXJtX3BhcmtzcGFjZV9pbmZvX2V4GAQg", "AygLMhcubWVzc2FnZS5QYXJrc3BhY2VfaW5mbxIjCghjYXJfdHlwZRgFIAEo", "DjIRLm1lc3NhZ2UuQ2FyX3R5cGUivQMKH1BhcmtzcGFjZV9hbGxvY2F0aW9u", "X3N0YXR1c19tc2cSJQoJYmFzZV9pbmZvGAEgAigLMhIubWVzc2FnZS5CYXNl", "X2luZm8SLQoNZXJyb3JfbWFuYWdlchgCIAIoCzIWLm1lc3NhZ2UuRXJyb3Jf", "bWFuYWdlchJHChpkYXRhYmFzZV9jb250cm9sbGVyX3N0YXR1cxgDIAIoDjIj", "Lm1lc3NhZ2UuRGF0YWJhc2VfY29udHJvbGxlcl9zdGF0dXMSQQoXcGFya3Nw", "YWNlX21hbmFnZXJfc2F0dXMYBCACKA4yIC5tZXNzYWdlLlBhcmtzcGFjZV9t", "YW5hZ2VyX3NhdHVzEg8KB3VuaXRfaWQYBSACKAUSKAogc21hbGxfcGFya3Nw", "YWNlX3JlbWFpbmluZ19udW1iZXIYBiACKAUSKQohbWVkaXVtX3BhcmtzcGFj", "ZV9yZW1haW5pbmdfbnVtYmVyGAcgAigFEigKIGxhcmdlX3BhcmtzcGFjZV9y", "ZW1haW5pbmdfbnVtYmVyGAggAigFEigKIHRvdGFsX3BhcmtzcGFjZV9yZW1h", "aW5pbmdfbnVtYmVyGAkgAigFIkYKHVBhcmtzcGFjZV9yZWZyZXNoX3JlcXVl", "c3RfbXNnEiUKCWJhc2VfaW5mbxgBIAIoCzISLm1lc3NhZ2UuQmFzZV9pbmZv", "IqkBCh1QYXJrc3BhY2VfYWxsb2NhdGlvbl9kYXRhX21zZxIlCgliYXNlX2lu", "Zm8YASACKAsyEi5tZXNzYWdlLkJhc2VfaW5mbxItCg1lcnJvcl9tYW5hZ2Vy", "GAIgAigLMhYubWVzc2FnZS5FcnJvcl9tYW5hZ2VyEjIKEXBhcmtzcGFjZV9p", "bmZvX2V4GAMgAygLMhcubWVzc2FnZS5QYXJrc3BhY2VfaW5mbyqVAQoOVmVo", "aWNsZV9zdGF0dXMSFAoQZVZlaGljbGVfdW5rbm93bhAAEhEKDWVWZWhpY2xl", "X2lkbGUQARIWChJlVmVoaWNsZV9pbl9nYXJhZ2UQAhIUChBlVmVoaWNsZV9w", "YXJraW5nEAMSFQoRZVZlaGljbGVfZmV0Y2hpbmcQBBIVChFlVmVoaWNsZV9y", "ZXNlcnZlZBAFKlcKGkRhdGFiYXNlX2NvbnRyb2xsZXJfc3RhdHVzEg0KCUVf", "VU5LTk9XThAAEgsKB0VfUkVBRFkQARIQCgxFX0RJU0NPTk5FQ1QQAhILCgdF", "X0ZBVUxUEAMqdgoXUGFya3NwYWNlX21hbmFnZXJfc2F0dXMSHgoaZVBhcmtz", "cGFjZV9tYW5hZ2VyX3Vua25vd24QABIdChllUGFya3NwYWNlX21hbmFnZXJf", "bm9ybWFsEAESHAoYZVBhcmtzcGFjZV9tYW5hZ2VyX2ZhdWx0EAI=")); 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", "IdStruct" }, 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_manual_search_request_msg), global::Message.Parkspace_manual_search_request_msg.Parser, new[]{ "BaseInfo", "CommandKey", "CarInfo" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Message.Parkspace_manual_search_response_msg), global::Message.Parkspace_manual_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", "UnitId", "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; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::Message.ParkspaceAllocationMessageReflection.Descriptor.MessageTypes[0]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public Parkspace_allocation_request_msg() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public Parkspace_allocation_request_msg(Parkspace_allocation_request_msg other) : this() { baseInfo_ = other.baseInfo_ != null ? other.baseInfo_.Clone() : null; commandKey_ = other.commandKey_; carInfo_ = other.carInfo_ != null ? other.carInfo_.Clone() : null; idStruct_ = other.idStruct_ != null ? other.idStruct_.Clone() : null; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool HasCommandKey { get { return commandKey_ != null; } } /// Clears the value of the "command_key" field [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Message.Car_info CarInfo { get { return carInfo_; } set { carInfo_ = value; } } /// Field number for the "id_struct" field. public const int IdStructFieldNumber = 4; private global::Message.Id_struct idStruct_; /// ///终端id,优化车位分配用 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Message.Id_struct IdStruct { get { return idStruct_; } set { idStruct_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as Parkspace_allocation_request_msg); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] 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 (!object.Equals(IdStruct, other.IdStruct)) return false; return Equals(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; if (baseInfo_ != null) hash ^= BaseInfo.GetHashCode(); if (HasCommandKey) hash ^= CommandKey.GetHashCode(); if (carInfo_ != null) hash ^= CarInfo.GetHashCode(); if (idStruct_ != null) hash ^= IdStruct.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return hash; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else if (baseInfo_ != null) { output.WriteRawTag(10); output.WriteMessage(BaseInfo); } if (HasCommandKey) { output.WriteRawTag(18); output.WriteString(CommandKey); } if (carInfo_ != null) { output.WriteRawTag(26); output.WriteMessage(CarInfo); } if (idStruct_ != null) { output.WriteRawTag(34); output.WriteMessage(IdStruct); } if (_unknownFields != null) { _unknownFields.WriteTo(output); } #endif } #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { if (baseInfo_ != null) { output.WriteRawTag(10); output.WriteMessage(BaseInfo); } if (HasCommandKey) { output.WriteRawTag(18); output.WriteString(CommandKey); } if (carInfo_ != null) { output.WriteRawTag(26); output.WriteMessage(CarInfo); } if (idStruct_ != null) { output.WriteRawTag(34); output.WriteMessage(IdStruct); } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } } #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; if (baseInfo_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(BaseInfo); } if (HasCommandKey) { size += 1 + pb::CodedOutputStream.ComputeStringSize(CommandKey); } if (carInfo_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(CarInfo); } if (idStruct_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(IdStruct); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] 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.idStruct_ != null) { if (idStruct_ == null) { IdStruct = new global::Message.Id_struct(); } IdStruct.MergeFrom(other.IdStruct); } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE input.ReadRawMessage(this); #else uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { if (baseInfo_ == null) { BaseInfo = new global::Message.Base_info(); } input.ReadMessage(BaseInfo); break; } case 18: { CommandKey = input.ReadString(); break; } case 26: { if (carInfo_ == null) { CarInfo = new global::Message.Car_info(); } input.ReadMessage(CarInfo); break; } case 34: { if (idStruct_ == null) { IdStruct = new global::Message.Id_struct(); } input.ReadMessage(IdStruct); break; } } } #endif } #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 10: { if (baseInfo_ == null) { BaseInfo = new global::Message.Base_info(); } input.ReadMessage(BaseInfo); break; } case 18: { CommandKey = input.ReadString(); break; } case 26: { if (carInfo_ == null) { CarInfo = new global::Message.Car_info(); } input.ReadMessage(CarInfo); break; } case 34: { if (idStruct_ == null) { IdStruct = new global::Message.Id_struct(); } input.ReadMessage(IdStruct); 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::Message.ParkspaceAllocationMessageReflection.Descriptor.MessageTypes[1]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public Parkspace_allocation_response_msg() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool HasCommandKey { get { return commandKey_ != null; } } /// Clears the value of the "command_key" field [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool HasCarType { get { return (_hasBits0 & 1) != 0; } } /// Clears the value of the "car_type" field [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void ClearCarType() { _hasBits0 &= ~1; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as Parkspace_allocation_response_msg); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else if (baseInfo_ != null) { output.WriteRawTag(10); output.WriteMessage(BaseInfo); } if (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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { if (baseInfo_ != null) { output.WriteRawTag(10); output.WriteMessage(BaseInfo); } if (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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE input.ReadRawMessage(this); #else uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { if (baseInfo_ == null) { BaseInfo = new global::Message.Base_info(); } input.ReadMessage(BaseInfo); break; } case 18: { 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 10: { if (baseInfo_ == null) { BaseInfo = new global::Message.Base_info(); } input.ReadMessage(BaseInfo); break; } case 18: { 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::Message.ParkspaceAllocationMessageReflection.Descriptor.MessageTypes[2]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public Parkspace_search_request_msg() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool HasCommandKey { get { return commandKey_ != null; } } /// Clears the value of the "command_key" field [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Message.Car_info CarInfo { get { return carInfo_; } set { carInfo_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as Parkspace_search_request_msg); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else if (baseInfo_ != null) { output.WriteRawTag(10); output.WriteMessage(BaseInfo); } if (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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { if (baseInfo_ != null) { output.WriteRawTag(10); output.WriteMessage(BaseInfo); } if (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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE input.ReadRawMessage(this); #else uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { if (baseInfo_ == null) { BaseInfo = new global::Message.Base_info(); } input.ReadMessage(BaseInfo); break; } case 18: { 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 10: { if (baseInfo_ == null) { BaseInfo = new global::Message.Base_info(); } input.ReadMessage(BaseInfo); break; } case 18: { 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::Message.ParkspaceAllocationMessageReflection.Descriptor.MessageTypes[3]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public Parkspace_search_response_msg() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool HasCommandKey { get { return commandKey_ != null; } } /// Clears the value of the "command_key" field [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField QueryParkspaceInfoEx { get { return queryParkspaceInfoEx_; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as Parkspace_search_response_msg); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else if (baseInfo_ != null) { output.WriteRawTag(10); output.WriteMessage(BaseInfo); } if (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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { if (baseInfo_ != null) { output.WriteRawTag(10); output.WriteMessage(BaseInfo); } if (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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE input.ReadRawMessage(this); #else uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { if (baseInfo_ == null) { BaseInfo = new global::Message.Base_info(); } input.ReadMessage(BaseInfo); break; } case 18: { 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 10: { if (baseInfo_ == null) { BaseInfo = new global::Message.Base_info(); } input.ReadMessage(BaseInfo); break; } case 18: { 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 } /// ///手动查询车辆位置请求(根据车牌号查询) /// public sealed partial class Parkspace_manual_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_manual_search_request_msg()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::Message.ParkspaceAllocationMessageReflection.Descriptor.MessageTypes[4]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public Parkspace_manual_search_request_msg() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public Parkspace_manual_search_request_msg(Parkspace_manual_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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public Parkspace_manual_search_request_msg Clone() { return new Parkspace_manual_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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool HasCommandKey { get { return commandKey_ != null; } } /// Clears the value of the "command_key" field [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Message.Car_info CarInfo { get { return carInfo_; } set { carInfo_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as Parkspace_manual_search_request_msg); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(Parkspace_manual_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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else if (baseInfo_ != null) { output.WriteRawTag(10); output.WriteMessage(BaseInfo); } if (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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { if (baseInfo_ != null) { output.WriteRawTag(10); output.WriteMessage(BaseInfo); } if (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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(Parkspace_manual_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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE input.ReadRawMessage(this); #else uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { if (baseInfo_ == null) { BaseInfo = new global::Message.Base_info(); } input.ReadMessage(BaseInfo); break; } case 18: { 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 10: { if (baseInfo_ == null) { BaseInfo = new global::Message.Base_info(); } input.ReadMessage(BaseInfo); break; } case 18: { 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_manual_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_manual_search_response_msg()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::Message.ParkspaceAllocationMessageReflection.Descriptor.MessageTypes[5]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public Parkspace_manual_search_response_msg() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public Parkspace_manual_search_response_msg(Parkspace_manual_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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public Parkspace_manual_search_response_msg Clone() { return new Parkspace_manual_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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool HasCommandKey { get { return commandKey_ != null; } } /// Clears the value of the "command_key" field [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField QueryParkspaceInfoEx { get { return queryParkspaceInfoEx_; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as Parkspace_manual_search_response_msg); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(Parkspace_manual_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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else if (baseInfo_ != null) { output.WriteRawTag(10); output.WriteMessage(BaseInfo); } if (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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { if (baseInfo_ != null) { output.WriteRawTag(10); output.WriteMessage(BaseInfo); } if (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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(Parkspace_manual_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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE input.ReadRawMessage(this); #else uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { if (baseInfo_ == null) { BaseInfo = new global::Message.Base_info(); } input.ReadMessage(BaseInfo); break; } case 18: { 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 10: { if (baseInfo_ == null) { BaseInfo = new global::Message.Base_info(); } input.ReadMessage(BaseInfo); break; } case 18: { 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::Message.ParkspaceAllocationMessageReflection.Descriptor.MessageTypes[6]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public Parkspace_release_request_msg() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool HasCommandKey { get { return commandKey_ != null; } } /// Clears the value of the "command_key" field [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField ReleaseParkspaceInfoEx { get { return releaseParkspaceInfoEx_; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as Parkspace_release_request_msg); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else if (baseInfo_ != null) { output.WriteRawTag(10); output.WriteMessage(BaseInfo); } if (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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { if (baseInfo_ != null) { output.WriteRawTag(10); output.WriteMessage(BaseInfo); } if (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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE input.ReadRawMessage(this); #else uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { if (baseInfo_ == null) { BaseInfo = new global::Message.Base_info(); } input.ReadMessage(BaseInfo); break; } case 18: { CommandKey = input.ReadString(); break; } case 26: { releaseParkspaceInfoEx_.AddEntriesFrom(input, _repeated_releaseParkspaceInfoEx_codec); break; } } } #endif } #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 10: { if (baseInfo_ == null) { BaseInfo = new global::Message.Base_info(); } input.ReadMessage(BaseInfo); break; } case 18: { 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::Message.ParkspaceAllocationMessageReflection.Descriptor.MessageTypes[7]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public Parkspace_release_response_msg() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool HasCommandKey { get { return commandKey_ != null; } } /// Clears the value of the "command_key" field [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField ReleaseParkspaceInfoEx { get { return releaseParkspaceInfoEx_; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as Parkspace_release_response_msg); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else if (baseInfo_ != null) { output.WriteRawTag(10); output.WriteMessage(BaseInfo); } if (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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { if (baseInfo_ != null) { output.WriteRawTag(10); output.WriteMessage(BaseInfo); } if (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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE input.ReadRawMessage(this); #else uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { if (baseInfo_ == null) { BaseInfo = new global::Message.Base_info(); } input.ReadMessage(BaseInfo); break; } case 18: { 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 10: { if (baseInfo_ == null) { BaseInfo = new global::Message.Base_info(); } input.ReadMessage(BaseInfo); break; } case 18: { 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::Message.ParkspaceAllocationMessageReflection.Descriptor.MessageTypes[8]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public Parkspace_force_update_request_msg() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool HasCommandKey { get { return commandKey_ != null; } } /// Clears the value of the "command_key" field [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField ManualParkspaceInfoEx { get { return manualParkspaceInfoEx_; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as Parkspace_force_update_request_msg); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else if (baseInfo_ != null) { output.WriteRawTag(10); output.WriteMessage(BaseInfo); } if (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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { if (baseInfo_ != null) { output.WriteRawTag(10); output.WriteMessage(BaseInfo); } if (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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE input.ReadRawMessage(this); #else uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { if (baseInfo_ == null) { BaseInfo = new global::Message.Base_info(); } input.ReadMessage(BaseInfo); break; } case 18: { CommandKey = input.ReadString(); break; } case 26: { manualParkspaceInfoEx_.AddEntriesFrom(input, _repeated_manualParkspaceInfoEx_codec); break; } } } #endif } #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 10: { if (baseInfo_ == null) { BaseInfo = new global::Message.Base_info(); } input.ReadMessage(BaseInfo); break; } case 18: { 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::Message.ParkspaceAllocationMessageReflection.Descriptor.MessageTypes[9]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public Parkspace_force_update_response_msg() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool HasCommandKey { get { return commandKey_ != null; } } /// Clears the value of the "command_key" field [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField ManualParkspaceInfoEx { get { return manualParkspaceInfoEx_; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as Parkspace_force_update_response_msg); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else if (baseInfo_ != null) { output.WriteRawTag(10); output.WriteMessage(BaseInfo); } if (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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { if (baseInfo_ != null) { output.WriteRawTag(10); output.WriteMessage(BaseInfo); } if (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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE input.ReadRawMessage(this); #else uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { if (baseInfo_ == null) { BaseInfo = new global::Message.Base_info(); } input.ReadMessage(BaseInfo); break; } case 18: { 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 10: { if (baseInfo_ == null) { BaseInfo = new global::Message.Base_info(); } input.ReadMessage(BaseInfo); break; } case 18: { 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::Message.ParkspaceAllocationMessageReflection.Descriptor.MessageTypes[10]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public Parkspace_confirm_alloc_request_msg() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool HasCommandKey { get { return commandKey_ != null; } } /// Clears the value of the "command_key" field [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool HasCarType { get { return (_hasBits0 & 1) != 0; } } /// Clears the value of the "car_type" field [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void ClearCarType() { _hasBits0 &= ~1; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as Parkspace_confirm_alloc_request_msg); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else if (baseInfo_ != null) { output.WriteRawTag(10); output.WriteMessage(BaseInfo); } if (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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { if (baseInfo_ != null) { output.WriteRawTag(10); output.WriteMessage(BaseInfo); } if (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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE input.ReadRawMessage(this); #else uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { if (baseInfo_ == null) { BaseInfo = new global::Message.Base_info(); } input.ReadMessage(BaseInfo); break; } case 18: { 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 10: { if (baseInfo_ == null) { BaseInfo = new global::Message.Base_info(); } input.ReadMessage(BaseInfo); break; } case 18: { 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::Message.ParkspaceAllocationMessageReflection.Descriptor.MessageTypes[11]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public Parkspace_confirm_alloc_response_msg() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool HasCommandKey { get { return commandKey_ != null; } } /// Clears the value of the "command_key" field [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool HasCarType { get { return (_hasBits0 & 1) != 0; } } /// Clears the value of the "car_type" field [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void ClearCarType() { _hasBits0 &= ~1; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as Parkspace_confirm_alloc_response_msg); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else if (baseInfo_ != null) { output.WriteRawTag(10); output.WriteMessage(BaseInfo); } if (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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { if (baseInfo_ != null) { output.WriteRawTag(10); output.WriteMessage(BaseInfo); } if (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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE input.ReadRawMessage(this); #else uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { if (baseInfo_ == null) { BaseInfo = new global::Message.Base_info(); } input.ReadMessage(BaseInfo); break; } case 18: { 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 10: { if (baseInfo_ == null) { BaseInfo = new global::Message.Base_info(); } input.ReadMessage(BaseInfo); break; } case 18: { 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::Message.ParkspaceAllocationMessageReflection.Descriptor.MessageTypes[12]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public Parkspace_allocation_status_msg() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] 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_; unitId_ = other.unitId_; smallParkspaceRemainingNumber_ = other.smallParkspaceRemainingNumber_; mediumParkspaceRemainingNumber_ = other.mediumParkspaceRemainingNumber_; largeParkspaceRemainingNumber_ = other.largeParkspaceRemainingNumber_; totalParkspaceRemainingNumber_ = other.totalParkspaceRemainingNumber_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool HasDatabaseControllerStatus { get { return (_hasBits0 & 1) != 0; } } /// Clears the value of the "database_controller_status" field [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool HasParkspaceManagerSatus { get { return (_hasBits0 & 2) != 0; } } /// Clears the value of the "parkspace_manager_satus" field [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void ClearParkspaceManagerSatus() { _hasBits0 &= ~2; } /// Field number for the "unit_id" field. public const int UnitIdFieldNumber = 5; private readonly static int UnitIdDefaultValue = 0; private int unitId_; /// ///单元号 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int UnitId { get { if ((_hasBits0 & 4) != 0) { return unitId_; } else { return UnitIdDefaultValue; } } set { _hasBits0 |= 4; unitId_ = value; } } /// Gets whether the "unit_id" field is set [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool HasUnitId { get { return (_hasBits0 & 4) != 0; } } /// Clears the value of the "unit_id" field [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void ClearUnitId() { _hasBits0 &= ~4; } /// Field number for the "small_parkspace_remaining_number" field. public const int SmallParkspaceRemainingNumberFieldNumber = 6; private readonly static int SmallParkspaceRemainingNumberDefaultValue = 0; private int smallParkspaceRemainingNumber_; /// ///小型车位剩余数量 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int SmallParkspaceRemainingNumber { get { if ((_hasBits0 & 8) != 0) { return smallParkspaceRemainingNumber_; } else { return SmallParkspaceRemainingNumberDefaultValue; } } set { _hasBits0 |= 8; smallParkspaceRemainingNumber_ = value; } } /// Gets whether the "small_parkspace_remaining_number" field is set [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool HasSmallParkspaceRemainingNumber { get { return (_hasBits0 & 8) != 0; } } /// Clears the value of the "small_parkspace_remaining_number" field [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void ClearSmallParkspaceRemainingNumber() { _hasBits0 &= ~8; } /// Field number for the "medium_parkspace_remaining_number" field. public const int MediumParkspaceRemainingNumberFieldNumber = 7; private readonly static int MediumParkspaceRemainingNumberDefaultValue = 0; private int mediumParkspaceRemainingNumber_; /// ///中型车位剩余数量 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int MediumParkspaceRemainingNumber { get { if ((_hasBits0 & 16) != 0) { return mediumParkspaceRemainingNumber_; } else { return MediumParkspaceRemainingNumberDefaultValue; } } set { _hasBits0 |= 16; mediumParkspaceRemainingNumber_ = value; } } /// Gets whether the "medium_parkspace_remaining_number" field is set [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool HasMediumParkspaceRemainingNumber { get { return (_hasBits0 & 16) != 0; } } /// Clears the value of the "medium_parkspace_remaining_number" field [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void ClearMediumParkspaceRemainingNumber() { _hasBits0 &= ~16; } /// Field number for the "large_parkspace_remaining_number" field. public const int LargeParkspaceRemainingNumberFieldNumber = 8; private readonly static int LargeParkspaceRemainingNumberDefaultValue = 0; private int largeParkspaceRemainingNumber_; /// ///大型车位剩余数量 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int LargeParkspaceRemainingNumber { get { if ((_hasBits0 & 32) != 0) { return largeParkspaceRemainingNumber_; } else { return LargeParkspaceRemainingNumberDefaultValue; } } set { _hasBits0 |= 32; largeParkspaceRemainingNumber_ = value; } } /// Gets whether the "large_parkspace_remaining_number" field is set [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool HasLargeParkspaceRemainingNumber { get { return (_hasBits0 & 32) != 0; } } /// Clears the value of the "large_parkspace_remaining_number" field [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void ClearLargeParkspaceRemainingNumber() { _hasBits0 &= ~32; } /// Field number for the "total_parkspace_remaining_number" field. public const int TotalParkspaceRemainingNumberFieldNumber = 9; private readonly static int TotalParkspaceRemainingNumberDefaultValue = 0; private int totalParkspaceRemainingNumber_; /// ///所有车位剩余数量 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int TotalParkspaceRemainingNumber { get { if ((_hasBits0 & 64) != 0) { return totalParkspaceRemainingNumber_; } else { return TotalParkspaceRemainingNumberDefaultValue; } } set { _hasBits0 |= 64; totalParkspaceRemainingNumber_ = value; } } /// Gets whether the "total_parkspace_remaining_number" field is set [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool HasTotalParkspaceRemainingNumber { get { return (_hasBits0 & 64) != 0; } } /// Clears the value of the "total_parkspace_remaining_number" field [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void ClearTotalParkspaceRemainingNumber() { _hasBits0 &= ~64; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as Parkspace_allocation_status_msg); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] 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 (UnitId != other.UnitId) 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] 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 (HasUnitId) hash ^= UnitId.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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else if (baseInfo_ != null) { output.WriteRawTag(10); output.WriteMessage(BaseInfo); } if (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 (HasUnitId) { output.WriteRawTag(40); output.WriteInt32(UnitId); } if (HasSmallParkspaceRemainingNumber) { output.WriteRawTag(48); output.WriteInt32(SmallParkspaceRemainingNumber); } if (HasMediumParkspaceRemainingNumber) { output.WriteRawTag(56); output.WriteInt32(MediumParkspaceRemainingNumber); } if (HasLargeParkspaceRemainingNumber) { output.WriteRawTag(64); output.WriteInt32(LargeParkspaceRemainingNumber); } if (HasTotalParkspaceRemainingNumber) { output.WriteRawTag(72); output.WriteInt32(TotalParkspaceRemainingNumber); } if (_unknownFields != null) { _unknownFields.WriteTo(output); } #endif } #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { if (baseInfo_ != null) { output.WriteRawTag(10); output.WriteMessage(BaseInfo); } if (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 (HasUnitId) { output.WriteRawTag(40); output.WriteInt32(UnitId); } if (HasSmallParkspaceRemainingNumber) { output.WriteRawTag(48); output.WriteInt32(SmallParkspaceRemainingNumber); } if (HasMediumParkspaceRemainingNumber) { output.WriteRawTag(56); output.WriteInt32(MediumParkspaceRemainingNumber); } if (HasLargeParkspaceRemainingNumber) { output.WriteRawTag(64); output.WriteInt32(LargeParkspaceRemainingNumber); } if (HasTotalParkspaceRemainingNumber) { output.WriteRawTag(72); output.WriteInt32(TotalParkspaceRemainingNumber); } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } } #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; if (baseInfo_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(BaseInfo); } if (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 (HasUnitId) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(UnitId); } 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] 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.HasUnitId) { UnitId = other.UnitId; } 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE input.ReadRawMessage(this); #else uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { if (baseInfo_ == null) { BaseInfo = new global::Message.Base_info(); } input.ReadMessage(BaseInfo); break; } case 18: { if (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: { UnitId = input.ReadInt32(); break; } case 48: { SmallParkspaceRemainingNumber = input.ReadInt32(); break; } case 56: { MediumParkspaceRemainingNumber = input.ReadInt32(); break; } case 64: { LargeParkspaceRemainingNumber = input.ReadInt32(); break; } case 72: { TotalParkspaceRemainingNumber = input.ReadInt32(); break; } } } #endif } #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 10: { if (baseInfo_ == null) { BaseInfo = new global::Message.Base_info(); } input.ReadMessage(BaseInfo); break; } case 18: { if (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: { UnitId = input.ReadInt32(); break; } case 48: { SmallParkspaceRemainingNumber = input.ReadInt32(); break; } case 56: { MediumParkspaceRemainingNumber = input.ReadInt32(); break; } case 64: { LargeParkspaceRemainingNumber = input.ReadInt32(); break; } case 72: { 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::Message.ParkspaceAllocationMessageReflection.Descriptor.MessageTypes[13]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public Parkspace_refresh_request_msg() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Message.Base_info BaseInfo { get { return baseInfo_; } set { baseInfo_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as Parkspace_refresh_request_msg); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else if (baseInfo_ != null) { output.WriteRawTag(10); output.WriteMessage(BaseInfo); } if (_unknownFields != null) { _unknownFields.WriteTo(output); } #endif } #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { if (baseInfo_ != null) { output.WriteRawTag(10); output.WriteMessage(BaseInfo); } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } } #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; if (baseInfo_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(BaseInfo); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE input.ReadRawMessage(this); #else uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { if (baseInfo_ == null) { BaseInfo = new global::Message.Base_info(); } input.ReadMessage(BaseInfo); break; } } } #endif } #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 10: { if (baseInfo_ == null) { BaseInfo = new global::Message.Base_info(); } input.ReadMessage(BaseInfo); break; } } } } #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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::Message.ParkspaceAllocationMessageReflection.Descriptor.MessageTypes[14]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public Parkspace_allocation_data_msg() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField ParkspaceInfoEx { get { return parkspaceInfoEx_; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as Parkspace_allocation_data_msg); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else if (baseInfo_ != null) { output.WriteRawTag(10); output.WriteMessage(BaseInfo); } if (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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { if (baseInfo_ != null) { output.WriteRawTag(10); output.WriteMessage(BaseInfo); } if (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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] 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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE input.ReadRawMessage(this); #else uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { if (baseInfo_ == null) { BaseInfo = new global::Message.Base_info(); } input.ReadMessage(BaseInfo); break; } case 18: { if (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] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 10: { if (baseInfo_ == null) { BaseInfo = new global::Message.Base_info(); } input.ReadMessage(BaseInfo); break; } case 18: { if (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