// <auto-generated>
//     Generated by the protocol buffer compiler.  DO NOT EDIT!
//     source: parkspace_allocation_message.proto
// </auto-generated>
#pragma warning disable 1591, 0612, 3021
#region Designer generated code

using pb = global::Google.Protobuf;
using pbc = global::Google.Protobuf.Collections;
using pbr = global::Google.Protobuf.Reflection;
using scg = global::System.Collections.Generic;
namespace Message {

  /// <summary>Holder for reflection information generated from parkspace_allocation_message.proto</summary>
  public static partial class ParkspaceAllocationMessageReflection {

    #region Descriptor
    /// <summary>File descriptor for parkspace_allocation_message.proto</summary>
    public static pbr::FileDescriptor Descriptor {
      get { return descriptor; }
    }
    private static pbr::FileDescriptor descriptor;

    static ParkspaceAllocationMessageReflection() {
      byte[] descriptorData = global::System.Convert.FromBase64String(
          string.Concat(
            "CiJwYXJrc3BhY2VfYWxsb2NhdGlvbl9tZXNzYWdlLnByb3RvEgdtZXNzYWdl",
            "GhJtZXNzYWdlX2Jhc2UucHJvdG8imAEKIFBhcmtzcGFjZV9hbGxvY2F0aW9u",
            "X3JlcXVlc3RfbXNnEiUKCWJhc2VfaW5mbxgBIAIoCzISLm1lc3NhZ2UuQmFz",
            "ZV9pbmZvEhMKC2NvbW1hbmRfa2V5GAIgAigJEiMKCGNhcl9pbmZvGAMgAigL",
            "MhEubWVzc2FnZS5DYXJfaW5mbxITCgt0ZXJtaW5hbF9pZBgEIAIoBSLFAQoh",
            "UGFya3NwYWNlX2FsbG9jYXRpb25fcmVzcG9uc2VfbXNnEiUKCWJhc2VfaW5m",
            "bxgBIAIoCzISLm1lc3NhZ2UuQmFzZV9pbmZvEhMKC2NvbW1hbmRfa2V5GAIg",
            "AigJEi0KDWVycm9yX21hbmFnZXIYAyACKAsyFi5tZXNzYWdlLkVycm9yX21h",
            "bmFnZXISNQoUYWxsb2NhdGVkX3NwYWNlX2luZm8YBCACKAsyFy5tZXNzYWdl",
            "LlBhcmtzcGFjZV9pbmZvIn8KHFBhcmtzcGFjZV9zZWFyY2hfcmVxdWVzdF9t",
            "c2cSJQoJYmFzZV9pbmZvGAEgAigLMhIubWVzc2FnZS5CYXNlX2luZm8SEwoL",
            "Y29tbWFuZF9rZXkYAiACKAkSIwoIY2FyX2luZm8YAyACKAsyES5tZXNzYWdl",
            "LkNhcl9pbmZvIrkBCh1QYXJrc3BhY2Vfc2VhcmNoX3Jlc3BvbnNlX21zZxIl",
            "CgliYXNlX2luZm8YASACKAsyEi5tZXNzYWdlLkJhc2VfaW5mbxITCgtjb21t",
            "YW5kX2tleRgCIAIoCRItCg1lcnJvcl9tYW5hZ2VyGAMgAigLMhYubWVzc2Fn",
            "ZS5FcnJvcl9tYW5hZ2VyEi0KDGNhcl9wb3NpdGlvbhgEIAEoCzIXLm1lc3Nh",
            "Z2UuUGFya3NwYWNlX2luZm8ikAEKHVBhcmtzcGFjZV9yZWxlYXNlX3JlcXVl",
            "c3RfbXNnEiUKCWJhc2VfaW5mbxgBIAIoCzISLm1lc3NhZ2UuQmFzZV9pbmZv",
            "EhMKC2NvbW1hbmRfa2V5GAIgAigJEjMKEnJlbGVhc2Vfc3BhY2VfaW5mbxgD",
            "IAIoCzIXLm1lc3NhZ2UuUGFya3NwYWNlX2luZm8iwAEKHlBhcmtzcGFjZV9y",
            "ZWxlYXNlX3Jlc3BvbnNlX21zZxIlCgliYXNlX2luZm8YASACKAsyEi5tZXNz",
            "YWdlLkJhc2VfaW5mbxITCgtjb21tYW5kX2tleRgCIAIoCRItCg1lcnJvcl9t",
            "YW5hZ2VyGAMgAigLMhYubWVzc2FnZS5FcnJvcl9tYW5hZ2VyEjMKEnJlbGVh",
            "c2Vfc3BhY2VfaW5mbxgEIAIoCzIXLm1lc3NhZ2UuUGFya3NwYWNlX2luZm8i",
            "lAEKIlBhcmtzcGFjZV9mb3JjZV91cGRhdGVfcmVxdWVzdF9tc2cSJQoJYmFz",
            "ZV9pbmZvGAEgAigLMhIubWVzc2FnZS5CYXNlX2luZm8SEwoLY29tbWFuZF9r",
            "ZXkYAiACKAkSMgoRdXBkYXRlX3NwYWNlX2luZm8YAyACKAsyFy5tZXNzYWdl",
            "LlBhcmtzcGFjZV9pbmZvIsQBCiNQYXJrc3BhY2VfZm9yY2VfdXBkYXRlX3Jl",
            "c3BvbnNlX21zZxIlCgliYXNlX2luZm8YASACKAsyEi5tZXNzYWdlLkJhc2Vf",
            "aW5mbxITCgtjb21tYW5kX2tleRgCIAIoCRItCg1lcnJvcl9tYW5hZ2VyGAMg",
            "AigLMhYubWVzc2FnZS5FcnJvcl9tYW5hZ2VyEjIKEXVwZGF0ZV9zcGFjZV9p",
            "bmZvGAQgAigLMhcubWVzc2FnZS5QYXJrc3BhY2VfaW5mbyKWAQojUGFya3Nw",
            "YWNlX2NvbmZpcm1fYWxsb2NfcmVxdWVzdF9tc2cSJQoJYmFzZV9pbmZvGAEg",
            "AigLMhIubWVzc2FnZS5CYXNlX2luZm8SEwoLY29tbWFuZF9rZXkYAiACKAkS",
            "MwoSY29uZmlybV9zcGFjZV9pbmZvGAMgAigLMhcubWVzc2FnZS5QYXJrc3Bh",
            "Y2VfaW5mbyLMAQokUGFya3NwYWNlX2NvbmZpcm1fYWxsb2NfcmVzcG9uc2Vf",
            "bXNnEiUKCWJhc2VfaW5mbxgBIAIoCzISLm1lc3NhZ2UuQmFzZV9pbmZvEhMK",
            "C2NvbW1hbmRfa2V5GAIgAigJEi0KDWVycm9yX21hbmFnZXIYAyACKAsyFi5t",
            "ZXNzYWdlLkVycm9yX21hbmFnZXISOQoYY29uZmlybV9hbGxvY19zcGFjZV9p",
            "bmZvGAQgAigLMhcubWVzc2FnZS5QYXJrc3BhY2VfaW5mbyKoAQofUGFya3Nw",
            "YWNlX2FsbG9jYXRpb25fc3RhdHVzX21zZxIlCgliYXNlX2luZm8YASACKAsy",
            "Ei5tZXNzYWdlLkJhc2VfaW5mbxItCg1lcnJvcl9tYW5hZ2VyGAIgAigLMhYu",
            "bWVzc2FnZS5FcnJvcl9tYW5hZ2VyEi8KDnBhcmtzcGFjZV9pbmZvGAMgAygL",
            "MhcubWVzc2FnZS5QYXJrc3BhY2VfaW5mbyqVAQoOVmVoaWNsZV9zdGF0dXMS",
            "EQoNZVZlaGljbGVfaWRsZRAAEhYKEmVWZWhpY2xlX2luX2dhcmFnZRABEhQK",
            "EGVWZWhpY2xlX3BhcmtpbmcQAhIVChFlVmVoaWNsZV9mZXRjaGluZxADEhUK",
            "EWVWZWhpY2xlX3Jlc2VydmVkEAQSFAoQZVZlaGljbGVfdW5rbm93bhAF"));
      descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
          new pbr::FileDescriptor[] { global::Message.MessageBaseReflection.Descriptor, },
          new pbr::GeneratedClrTypeInfo(new[] {typeof(global::Message.Vehicle_status), }, null, new pbr::GeneratedClrTypeInfo[] {
            new pbr::GeneratedClrTypeInfo(typeof(global::Message.Parkspace_allocation_request_msg), global::Message.Parkspace_allocation_request_msg.Parser, new[]{ "BaseInfo", "CommandKey", "CarInfo", "TerminalId" }, null, null, null, null),
            new pbr::GeneratedClrTypeInfo(typeof(global::Message.Parkspace_allocation_response_msg), global::Message.Parkspace_allocation_response_msg.Parser, new[]{ "BaseInfo", "CommandKey", "ErrorManager", "AllocatedSpaceInfo" }, 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", "CarPosition" }, null, null, null, null),
            new pbr::GeneratedClrTypeInfo(typeof(global::Message.Parkspace_release_request_msg), global::Message.Parkspace_release_request_msg.Parser, new[]{ "BaseInfo", "CommandKey", "ReleaseSpaceInfo" }, 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", "ReleaseSpaceInfo" }, 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", "UpdateSpaceInfo" }, 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", "UpdateSpaceInfo" }, 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", "ConfirmSpaceInfo" }, 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", "ConfirmAllocSpaceInfo" }, null, null, null, null),
            new pbr::GeneratedClrTypeInfo(typeof(global::Message.Parkspace_allocation_status_msg), global::Message.Parkspace_allocation_status_msg.Parser, new[]{ "BaseInfo", "ErrorManager", "ParkspaceInfo" }, null, null, null, null)
          }));
    }
    #endregion

  }
  #region Enums
  /// <summary>
  ///车辆状态枚举
  /// </summary>
  public enum Vehicle_status {
    /// <summary>
    ///车辆空闲
    /// </summary>
    [pbr::OriginalName("eVehicle_idle")] EVehicleIdle = 0,
    /// <summary>
    ///车辆已入库
    /// </summary>
    [pbr::OriginalName("eVehicle_in_garage")] EVehicleInGarage = 1,
    /// <summary>
    ///车辆停车中
    /// </summary>
    [pbr::OriginalName("eVehicle_parking")] EVehicleParking = 2,
    /// <summary>
    ///车辆取车中
    /// </summary>
    [pbr::OriginalName("eVehicle_fetching")] EVehicleFetching = 3,
    /// <summary>
    ///已预约未停入
    /// </summary>
    [pbr::OriginalName("eVehicle_reserved")] EVehicleReserved = 4,
    /// <summary>
    ///未知状态
    /// </summary>
    [pbr::OriginalName("eVehicle_unknown")] EVehicleUnknown = 5,
  }

  #endregion

  #region Messages
  /// <summary>
  ///1.分配车位请求
  /// </summary>
  public sealed partial class Parkspace_allocation_request_msg : pb::IMessage<Parkspace_allocation_request_msg> {
    private static readonly pb::MessageParser<Parkspace_allocation_request_msg> _parser = new pb::MessageParser<Parkspace_allocation_request_msg>(() => new Parkspace_allocation_request_msg());
    private pb::UnknownFieldSet _unknownFields;
    private int _hasBits0;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public static pb::MessageParser<Parkspace_allocation_request_msg> Parser { get { return _parser; } }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public static pbr::MessageDescriptor Descriptor {
      get { return global::Message.ParkspaceAllocationMessageReflection.Descriptor.MessageTypes[0]; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    pbr::MessageDescriptor pb::IMessage.Descriptor {
      get { return Descriptor; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public Parkspace_allocation_request_msg() {
      OnConstruction();
    }

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public Parkspace_allocation_request_msg(Parkspace_allocation_request_msg other) : this() {
      _hasBits0 = other._hasBits0;
      baseInfo_ = other.baseInfo_ != null ? other.baseInfo_.Clone() : null;
      commandKey_ = other.commandKey_;
      carInfo_ = other.carInfo_ != null ? other.carInfo_.Clone() : null;
      terminalId_ = other.terminalId_;
      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public Parkspace_allocation_request_msg Clone() {
      return new Parkspace_allocation_request_msg(this);
    }

    /// <summary>Field number for the "base_info" field.</summary>
    public const int BaseInfoFieldNumber = 1;
    private global::Message.Base_info baseInfo_;
    /// <summary>
    ///消息类型
    /// </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public global::Message.Base_info BaseInfo {
      get { return baseInfo_; }
      set {
        baseInfo_ = value;
      }
    }

    /// <summary>Field number for the "command_key" field.</summary>
    public const int CommandKeyFieldNumber = 2;
    private readonly static string CommandKeyDefaultValue = "";

    private string commandKey_;
    /// <summary>
    ///指令唯一标识符id
    /// </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public string CommandKey {
      get { return commandKey_ ?? CommandKeyDefaultValue; }
      set {
        commandKey_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
      }
    }
    /// <summary>Gets whether the "command_key" field is set</summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public bool HasCommandKey {
      get { return commandKey_ != null; }
    }
    /// <summary>Clears the value of the "command_key" field</summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public void ClearCommandKey() {
      commandKey_ = null;
    }

    /// <summary>Field number for the "car_info" field.</summary>
    public const int CarInfoFieldNumber = 3;
    private global::Message.Car_info carInfo_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public global::Message.Car_info CarInfo {
      get { return carInfo_; }
      set {
        carInfo_ = value;
      }
    }

    /// <summary>Field number for the "terminal_id" field.</summary>
    public const int TerminalIdFieldNumber = 4;
    private readonly static int TerminalIdDefaultValue = 0;

    private int terminalId_;
    /// <summary>
    ///终端id，优化车位分配用
    /// </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public int TerminalId {
      get { if ((_hasBits0 & 1) != 0) { return terminalId_; } else { return TerminalIdDefaultValue; } }
      set {
        _hasBits0 |= 1;
        terminalId_ = value;
      }
    }
    /// <summary>Gets whether the "terminal_id" field is set</summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public bool HasTerminalId {
      get { return (_hasBits0 & 1) != 0; }
    }
    /// <summary>Clears the value of the "terminal_id" field</summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public void ClearTerminalId() {
      _hasBits0 &= ~1;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public override bool Equals(object other) {
      return Equals(other as Parkspace_allocation_request_msg);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public bool Equals(Parkspace_allocation_request_msg other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if (!object.Equals(BaseInfo, other.BaseInfo)) return false;
      if (CommandKey != other.CommandKey) return false;
      if (!object.Equals(CarInfo, other.CarInfo)) return false;
      if (TerminalId != other.TerminalId) return false;
      return Equals(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public override int GetHashCode() {
      int hash = 1;
      if (baseInfo_ != null) hash ^= BaseInfo.GetHashCode();
      if (HasCommandKey) hash ^= CommandKey.GetHashCode();
      if (carInfo_ != null) hash ^= CarInfo.GetHashCode();
      if (HasTerminalId) hash ^= TerminalId.GetHashCode();
      if (_unknownFields != null) {
        hash ^= _unknownFields.GetHashCode();
      }
      return hash;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public override string ToString() {
      return pb::JsonFormatter.ToDiagnosticString(this);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public void WriteTo(pb::CodedOutputStream output) {
      if (baseInfo_ != null) {
        output.WriteRawTag(10);
        output.WriteMessage(BaseInfo);
      }
      if (HasCommandKey) {
        output.WriteRawTag(18);
        output.WriteString(CommandKey);
      }
      if (carInfo_ != null) {
        output.WriteRawTag(26);
        output.WriteMessage(CarInfo);
      }
      if (HasTerminalId) {
        output.WriteRawTag(32);
        output.WriteInt32(TerminalId);
      }
      if (_unknownFields != null) {
        _unknownFields.WriteTo(output);
      }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public int CalculateSize() {
      int size = 0;
      if (baseInfo_ != null) {
        size += 1 + pb::CodedOutputStream.ComputeMessageSize(BaseInfo);
      }
      if (HasCommandKey) {
        size += 1 + pb::CodedOutputStream.ComputeStringSize(CommandKey);
      }
      if (carInfo_ != null) {
        size += 1 + pb::CodedOutputStream.ComputeMessageSize(CarInfo);
      }
      if (HasTerminalId) {
        size += 1 + pb::CodedOutputStream.ComputeInt32Size(TerminalId);
      }
      if (_unknownFields != null) {
        size += _unknownFields.CalculateSize();
      }
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public void MergeFrom(Parkspace_allocation_request_msg other) {
      if (other == null) {
        return;
      }
      if (other.baseInfo_ != null) {
        if (baseInfo_ == null) {
          BaseInfo = new global::Message.Base_info();
        }
        BaseInfo.MergeFrom(other.BaseInfo);
      }
      if (other.HasCommandKey) {
        CommandKey = other.CommandKey;
      }
      if (other.carInfo_ != null) {
        if (carInfo_ == null) {
          CarInfo = new global::Message.Car_info();
        }
        CarInfo.MergeFrom(other.CarInfo);
      }
      if (other.HasTerminalId) {
        TerminalId = other.TerminalId;
      }
      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public void MergeFrom(pb::CodedInputStream input) {
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
            break;
          case 10: {
            if (baseInfo_ == null) {
              BaseInfo = new global::Message.Base_info();
            }
            input.ReadMessage(BaseInfo);
            break;
          }
          case 18: {
            CommandKey = input.ReadString();
            break;
          }
          case 26: {
            if (carInfo_ == null) {
              CarInfo = new global::Message.Car_info();
            }
            input.ReadMessage(CarInfo);
            break;
          }
          case 32: {
            TerminalId = input.ReadInt32();
            break;
          }
        }
      }
    }

  }

  /// <summary>
  ///分配车位反馈
  /// </summary>
  public sealed partial class Parkspace_allocation_response_msg : pb::IMessage<Parkspace_allocation_response_msg> {
    private static readonly pb::MessageParser<Parkspace_allocation_response_msg> _parser = new pb::MessageParser<Parkspace_allocation_response_msg>(() => new Parkspace_allocation_response_msg());
    private pb::UnknownFieldSet _unknownFields;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public static pb::MessageParser<Parkspace_allocation_response_msg> Parser { get { return _parser; } }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public static pbr::MessageDescriptor Descriptor {
      get { return global::Message.ParkspaceAllocationMessageReflection.Descriptor.MessageTypes[1]; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    pbr::MessageDescriptor pb::IMessage.Descriptor {
      get { return Descriptor; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public Parkspace_allocation_response_msg() {
      OnConstruction();
    }

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public Parkspace_allocation_response_msg(Parkspace_allocation_response_msg other) : this() {
      baseInfo_ = other.baseInfo_ != null ? other.baseInfo_.Clone() : null;
      commandKey_ = other.commandKey_;
      errorManager_ = other.errorManager_ != null ? other.errorManager_.Clone() : null;
      allocatedSpaceInfo_ = other.allocatedSpaceInfo_ != null ? other.allocatedSpaceInfo_.Clone() : null;
      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public Parkspace_allocation_response_msg Clone() {
      return new Parkspace_allocation_response_msg(this);
    }

    /// <summary>Field number for the "base_info" field.</summary>
    public const int BaseInfoFieldNumber = 1;
    private global::Message.Base_info baseInfo_;
    /// <summary>
    ///消息类型
    /// </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public global::Message.Base_info BaseInfo {
      get { return baseInfo_; }
      set {
        baseInfo_ = value;
      }
    }

    /// <summary>Field number for the "command_key" field.</summary>
    public const int CommandKeyFieldNumber = 2;
    private readonly static string CommandKeyDefaultValue = "";

    private string commandKey_;
    /// <summary>
    ///指令唯一标识符id
    /// </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public string CommandKey {
      get { return commandKey_ ?? CommandKeyDefaultValue; }
      set {
        commandKey_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
      }
    }
    /// <summary>Gets whether the "command_key" field is set</summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public bool HasCommandKey {
      get { return commandKey_ != null; }
    }
    /// <summary>Clears the value of the "command_key" field</summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public void ClearCommandKey() {
      commandKey_ = null;
    }

    /// <summary>Field number for the "error_manager" field.</summary>
    public const int ErrorManagerFieldNumber = 3;
    private global::Message.Error_manager errorManager_;
    /// <summary>
    ///分配成功与否标志
    /// </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public global::Message.Error_manager ErrorManager {
      get { return errorManager_; }
      set {
        errorManager_ = value;
      }
    }

    /// <summary>Field number for the "allocated_space_info" field.</summary>
    public const int AllocatedSpaceInfoFieldNumber = 4;
    private global::Message.Parkspace_info allocatedSpaceInfo_;
    /// <summary>
    ///分配车位信息
    /// </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public global::Message.Parkspace_info AllocatedSpaceInfo {
      get { return allocatedSpaceInfo_; }
      set {
        allocatedSpaceInfo_ = value;
      }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public override bool Equals(object other) {
      return Equals(other as Parkspace_allocation_response_msg);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public bool Equals(Parkspace_allocation_response_msg other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if (!object.Equals(BaseInfo, other.BaseInfo)) return false;
      if (CommandKey != other.CommandKey) return false;
      if (!object.Equals(ErrorManager, other.ErrorManager)) return false;
      if (!object.Equals(AllocatedSpaceInfo, other.AllocatedSpaceInfo)) return false;
      return Equals(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public override int GetHashCode() {
      int hash = 1;
      if (baseInfo_ != null) hash ^= BaseInfo.GetHashCode();
      if (HasCommandKey) hash ^= CommandKey.GetHashCode();
      if (errorManager_ != null) hash ^= ErrorManager.GetHashCode();
      if (allocatedSpaceInfo_ != null) hash ^= AllocatedSpaceInfo.GetHashCode();
      if (_unknownFields != null) {
        hash ^= _unknownFields.GetHashCode();
      }
      return hash;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public override string ToString() {
      return pb::JsonFormatter.ToDiagnosticString(this);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public void WriteTo(pb::CodedOutputStream output) {
      if (baseInfo_ != null) {
        output.WriteRawTag(10);
        output.WriteMessage(BaseInfo);
      }
      if (HasCommandKey) {
        output.WriteRawTag(18);
        output.WriteString(CommandKey);
      }
      if (errorManager_ != null) {
        output.WriteRawTag(26);
        output.WriteMessage(ErrorManager);
      }
      if (allocatedSpaceInfo_ != null) {
        output.WriteRawTag(34);
        output.WriteMessage(AllocatedSpaceInfo);
      }
      if (_unknownFields != null) {
        _unknownFields.WriteTo(output);
      }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public int CalculateSize() {
      int size = 0;
      if (baseInfo_ != null) {
        size += 1 + pb::CodedOutputStream.ComputeMessageSize(BaseInfo);
      }
      if (HasCommandKey) {
        size += 1 + pb::CodedOutputStream.ComputeStringSize(CommandKey);
      }
      if (errorManager_ != null) {
        size += 1 + pb::CodedOutputStream.ComputeMessageSize(ErrorManager);
      }
      if (allocatedSpaceInfo_ != null) {
        size += 1 + pb::CodedOutputStream.ComputeMessageSize(AllocatedSpaceInfo);
      }
      if (_unknownFields != null) {
        size += _unknownFields.CalculateSize();
      }
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public void MergeFrom(Parkspace_allocation_response_msg other) {
      if (other == null) {
        return;
      }
      if (other.baseInfo_ != null) {
        if (baseInfo_ == null) {
          BaseInfo = new global::Message.Base_info();
        }
        BaseInfo.MergeFrom(other.BaseInfo);
      }
      if (other.HasCommandKey) {
        CommandKey = other.CommandKey;
      }
      if (other.errorManager_ != null) {
        if (errorManager_ == null) {
          ErrorManager = new global::Message.Error_manager();
        }
        ErrorManager.MergeFrom(other.ErrorManager);
      }
      if (other.allocatedSpaceInfo_ != null) {
        if (allocatedSpaceInfo_ == null) {
          AllocatedSpaceInfo = new global::Message.Parkspace_info();
        }
        AllocatedSpaceInfo.MergeFrom(other.AllocatedSpaceInfo);
      }
      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public void MergeFrom(pb::CodedInputStream input) {
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
            break;
          case 10: {
            if (baseInfo_ == null) {
              BaseInfo = new global::Message.Base_info();
            }
            input.ReadMessage(BaseInfo);
            break;
          }
          case 18: {
            CommandKey = input.ReadString();
            break;
          }
          case 26: {
            if (errorManager_ == null) {
              ErrorManager = new global::Message.Error_manager();
            }
            input.ReadMessage(ErrorManager);
            break;
          }
          case 34: {
            if (allocatedSpaceInfo_ == null) {
              AllocatedSpaceInfo = new global::Message.Parkspace_info();
            }
            input.ReadMessage(AllocatedSpaceInfo);
            break;
          }
        }
      }
    }

  }

  /// <summary>
  ///2.查询车辆位置请求
  /// </summary>
  public sealed partial class Parkspace_search_request_msg : pb::IMessage<Parkspace_search_request_msg> {
    private static readonly pb::MessageParser<Parkspace_search_request_msg> _parser = new pb::MessageParser<Parkspace_search_request_msg>(() => new Parkspace_search_request_msg());
    private pb::UnknownFieldSet _unknownFields;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public static pb::MessageParser<Parkspace_search_request_msg> Parser { get { return _parser; } }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public static pbr::MessageDescriptor Descriptor {
      get { return global::Message.ParkspaceAllocationMessageReflection.Descriptor.MessageTypes[2]; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    pbr::MessageDescriptor pb::IMessage.Descriptor {
      get { return Descriptor; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public Parkspace_search_request_msg() {
      OnConstruction();
    }

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public Parkspace_search_request_msg(Parkspace_search_request_msg other) : this() {
      baseInfo_ = other.baseInfo_ != null ? other.baseInfo_.Clone() : null;
      commandKey_ = other.commandKey_;
      carInfo_ = other.carInfo_ != null ? other.carInfo_.Clone() : null;
      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public Parkspace_search_request_msg Clone() {
      return new Parkspace_search_request_msg(this);
    }

    /// <summary>Field number for the "base_info" field.</summary>
    public const int BaseInfoFieldNumber = 1;
    private global::Message.Base_info baseInfo_;
    /// <summary>
    ///消息类型
    /// </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public global::Message.Base_info BaseInfo {
      get { return baseInfo_; }
      set {
        baseInfo_ = value;
      }
    }

    /// <summary>Field number for the "command_key" field.</summary>
    public const int CommandKeyFieldNumber = 2;
    private readonly static string CommandKeyDefaultValue = "";

    private string commandKey_;
    /// <summary>
    ///指令唯一标识符id
    /// </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public string CommandKey {
      get { return commandKey_ ?? CommandKeyDefaultValue; }
      set {
        commandKey_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
      }
    }
    /// <summary>Gets whether the "command_key" field is set</summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public bool HasCommandKey {
      get { return commandKey_ != null; }
    }
    /// <summary>Clears the value of the "command_key" field</summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public void ClearCommandKey() {
      commandKey_ = null;
    }

    /// <summary>Field number for the "car_info" field.</summary>
    public const int CarInfoFieldNumber = 3;
    private global::Message.Car_info carInfo_;
    /// <summary>
    ///车辆凭证或号牌
    /// </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public global::Message.Car_info CarInfo {
      get { return carInfo_; }
      set {
        carInfo_ = value;
      }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public override bool Equals(object other) {
      return Equals(other as Parkspace_search_request_msg);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public bool Equals(Parkspace_search_request_msg other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if (!object.Equals(BaseInfo, other.BaseInfo)) return false;
      if (CommandKey != other.CommandKey) return false;
      if (!object.Equals(CarInfo, other.CarInfo)) return false;
      return Equals(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public override int GetHashCode() {
      int hash = 1;
      if (baseInfo_ != null) hash ^= BaseInfo.GetHashCode();
      if (HasCommandKey) hash ^= CommandKey.GetHashCode();
      if (carInfo_ != null) hash ^= CarInfo.GetHashCode();
      if (_unknownFields != null) {
        hash ^= _unknownFields.GetHashCode();
      }
      return hash;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public override string ToString() {
      return pb::JsonFormatter.ToDiagnosticString(this);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public void WriteTo(pb::CodedOutputStream output) {
      if (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);
      }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public int CalculateSize() {
      int size = 0;
      if (baseInfo_ != null) {
        size += 1 + pb::CodedOutputStream.ComputeMessageSize(BaseInfo);
      }
      if (HasCommandKey) {
        size += 1 + pb::CodedOutputStream.ComputeStringSize(CommandKey);
      }
      if (carInfo_ != null) {
        size += 1 + pb::CodedOutputStream.ComputeMessageSize(CarInfo);
      }
      if (_unknownFields != null) {
        size += _unknownFields.CalculateSize();
      }
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public void MergeFrom(Parkspace_search_request_msg other) {
      if (other == null) {
        return;
      }
      if (other.baseInfo_ != null) {
        if (baseInfo_ == null) {
          BaseInfo = new global::Message.Base_info();
        }
        BaseInfo.MergeFrom(other.BaseInfo);
      }
      if (other.HasCommandKey) {
        CommandKey = other.CommandKey;
      }
      if (other.carInfo_ != null) {
        if (carInfo_ == null) {
          CarInfo = new global::Message.Car_info();
        }
        CarInfo.MergeFrom(other.CarInfo);
      }
      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public void MergeFrom(pb::CodedInputStream input) {
      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;
          }
        }
      }
    }

  }

  /// <summary>
  ///查询车辆位置反馈
  /// </summary>
  public sealed partial class Parkspace_search_response_msg : pb::IMessage<Parkspace_search_response_msg> {
    private static readonly pb::MessageParser<Parkspace_search_response_msg> _parser = new pb::MessageParser<Parkspace_search_response_msg>(() => new Parkspace_search_response_msg());
    private pb::UnknownFieldSet _unknownFields;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public static pb::MessageParser<Parkspace_search_response_msg> Parser { get { return _parser; } }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public static pbr::MessageDescriptor Descriptor {
      get { return global::Message.ParkspaceAllocationMessageReflection.Descriptor.MessageTypes[3]; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    pbr::MessageDescriptor pb::IMessage.Descriptor {
      get { return Descriptor; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public Parkspace_search_response_msg() {
      OnConstruction();
    }

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public Parkspace_search_response_msg(Parkspace_search_response_msg other) : this() {
      baseInfo_ = other.baseInfo_ != null ? other.baseInfo_.Clone() : null;
      commandKey_ = other.commandKey_;
      errorManager_ = other.errorManager_ != null ? other.errorManager_.Clone() : null;
      carPosition_ = other.carPosition_ != null ? other.carPosition_.Clone() : null;
      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public Parkspace_search_response_msg Clone() {
      return new Parkspace_search_response_msg(this);
    }

    /// <summary>Field number for the "base_info" field.</summary>
    public const int BaseInfoFieldNumber = 1;
    private global::Message.Base_info baseInfo_;
    /// <summary>
    ///消息类型
    /// </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public global::Message.Base_info BaseInfo {
      get { return baseInfo_; }
      set {
        baseInfo_ = value;
      }
    }

    /// <summary>Field number for the "command_key" field.</summary>
    public const int CommandKeyFieldNumber = 2;
    private readonly static string CommandKeyDefaultValue = "";

    private string commandKey_;
    /// <summary>
    ///指令唯一标识符id
    /// </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public string CommandKey {
      get { return commandKey_ ?? CommandKeyDefaultValue; }
      set {
        commandKey_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
      }
    }
    /// <summary>Gets whether the "command_key" field is set</summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public bool HasCommandKey {
      get { return commandKey_ != null; }
    }
    /// <summary>Clears the value of the "command_key" field</summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public void ClearCommandKey() {
      commandKey_ = null;
    }

    /// <summary>Field number for the "error_manager" field.</summary>
    public const int ErrorManagerFieldNumber = 3;
    private global::Message.Error_manager errorManager_;
    /// <summary>
    ///分配成功与否标志
    /// </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public global::Message.Error_manager ErrorManager {
      get { return errorManager_; }
      set {
        errorManager_ = value;
      }
    }

    /// <summary>Field number for the "car_position" field.</summary>
    public const int CarPositionFieldNumber = 4;
    private global::Message.Parkspace_info carPosition_;
    /// <summary>
    ///待查询车辆存放位置
    /// </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public global::Message.Parkspace_info CarPosition {
      get { return carPosition_; }
      set {
        carPosition_ = value;
      }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public override bool Equals(object other) {
      return Equals(other as Parkspace_search_response_msg);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public bool Equals(Parkspace_search_response_msg other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if (!object.Equals(BaseInfo, other.BaseInfo)) return false;
      if (CommandKey != other.CommandKey) return false;
      if (!object.Equals(ErrorManager, other.ErrorManager)) return false;
      if (!object.Equals(CarPosition, other.CarPosition)) return false;
      return Equals(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public override int GetHashCode() {
      int hash = 1;
      if (baseInfo_ != null) hash ^= BaseInfo.GetHashCode();
      if (HasCommandKey) hash ^= CommandKey.GetHashCode();
      if (errorManager_ != null) hash ^= ErrorManager.GetHashCode();
      if (carPosition_ != null) hash ^= CarPosition.GetHashCode();
      if (_unknownFields != null) {
        hash ^= _unknownFields.GetHashCode();
      }
      return hash;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public override string ToString() {
      return pb::JsonFormatter.ToDiagnosticString(this);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public void WriteTo(pb::CodedOutputStream output) {
      if (baseInfo_ != null) {
        output.WriteRawTag(10);
        output.WriteMessage(BaseInfo);
      }
      if (HasCommandKey) {
        output.WriteRawTag(18);
        output.WriteString(CommandKey);
      }
      if (errorManager_ != null) {
        output.WriteRawTag(26);
        output.WriteMessage(ErrorManager);
      }
      if (carPosition_ != null) {
        output.WriteRawTag(34);
        output.WriteMessage(CarPosition);
      }
      if (_unknownFields != null) {
        _unknownFields.WriteTo(output);
      }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public int CalculateSize() {
      int size = 0;
      if (baseInfo_ != null) {
        size += 1 + pb::CodedOutputStream.ComputeMessageSize(BaseInfo);
      }
      if (HasCommandKey) {
        size += 1 + pb::CodedOutputStream.ComputeStringSize(CommandKey);
      }
      if (errorManager_ != null) {
        size += 1 + pb::CodedOutputStream.ComputeMessageSize(ErrorManager);
      }
      if (carPosition_ != null) {
        size += 1 + pb::CodedOutputStream.ComputeMessageSize(CarPosition);
      }
      if (_unknownFields != null) {
        size += _unknownFields.CalculateSize();
      }
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public void MergeFrom(Parkspace_search_response_msg other) {
      if (other == null) {
        return;
      }
      if (other.baseInfo_ != null) {
        if (baseInfo_ == null) {
          BaseInfo = new global::Message.Base_info();
        }
        BaseInfo.MergeFrom(other.BaseInfo);
      }
      if (other.HasCommandKey) {
        CommandKey = other.CommandKey;
      }
      if (other.errorManager_ != null) {
        if (errorManager_ == null) {
          ErrorManager = new global::Message.Error_manager();
        }
        ErrorManager.MergeFrom(other.ErrorManager);
      }
      if (other.carPosition_ != null) {
        if (carPosition_ == null) {
          CarPosition = new global::Message.Parkspace_info();
        }
        CarPosition.MergeFrom(other.CarPosition);
      }
      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public void MergeFrom(pb::CodedInputStream input) {
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
            break;
          case 10: {
            if (baseInfo_ == null) {
              BaseInfo = new global::Message.Base_info();
            }
            input.ReadMessage(BaseInfo);
            break;
          }
          case 18: {
            CommandKey = input.ReadString();
            break;
          }
          case 26: {
            if (errorManager_ == null) {
              ErrorManager = new global::Message.Error_manager();
            }
            input.ReadMessage(ErrorManager);
            break;
          }
          case 34: {
            if (carPosition_ == null) {
              CarPosition = new global::Message.Parkspace_info();
            }
            input.ReadMessage(CarPosition);
            break;
          }
        }
      }
    }

  }

  /// <summary>
  ///3.解锁车位请求
  /// </summary>
  public sealed partial class Parkspace_release_request_msg : pb::IMessage<Parkspace_release_request_msg> {
    private static readonly pb::MessageParser<Parkspace_release_request_msg> _parser = new pb::MessageParser<Parkspace_release_request_msg>(() => new Parkspace_release_request_msg());
    private pb::UnknownFieldSet _unknownFields;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public static pb::MessageParser<Parkspace_release_request_msg> Parser { get { return _parser; } }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public static pbr::MessageDescriptor Descriptor {
      get { return global::Message.ParkspaceAllocationMessageReflection.Descriptor.MessageTypes[4]; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    pbr::MessageDescriptor pb::IMessage.Descriptor {
      get { return Descriptor; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public Parkspace_release_request_msg() {
      OnConstruction();
    }

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public Parkspace_release_request_msg(Parkspace_release_request_msg other) : this() {
      baseInfo_ = other.baseInfo_ != null ? other.baseInfo_.Clone() : null;
      commandKey_ = other.commandKey_;
      releaseSpaceInfo_ = other.releaseSpaceInfo_ != null ? other.releaseSpaceInfo_.Clone() : null;
      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public Parkspace_release_request_msg Clone() {
      return new Parkspace_release_request_msg(this);
    }

    /// <summary>Field number for the "base_info" field.</summary>
    public const int BaseInfoFieldNumber = 1;
    private global::Message.Base_info baseInfo_;
    /// <summary>
    ///消息类型
    /// </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public global::Message.Base_info BaseInfo {
      get { return baseInfo_; }
      set {
        baseInfo_ = value;
      }
    }

    /// <summary>Field number for the "command_key" field.</summary>
    public const int CommandKeyFieldNumber = 2;
    private readonly static string CommandKeyDefaultValue = "";

    private string commandKey_;
    /// <summary>
    ///指令唯一标识符id
    /// </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public string CommandKey {
      get { return commandKey_ ?? CommandKeyDefaultValue; }
      set {
        commandKey_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
      }
    }
    /// <summary>Gets whether the "command_key" field is set</summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public bool HasCommandKey {
      get { return commandKey_ != null; }
    }
    /// <summary>Clears the value of the "command_key" field</summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public void ClearCommandKey() {
      commandKey_ = null;
    }

    /// <summary>Field number for the "release_space_info" field.</summary>
    public const int ReleaseSpaceInfoFieldNumber = 3;
    private global::Message.Parkspace_info releaseSpaceInfo_;
    /// <summary>
    ///待释放车位信息
    /// </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public global::Message.Parkspace_info ReleaseSpaceInfo {
      get { return releaseSpaceInfo_; }
      set {
        releaseSpaceInfo_ = value;
      }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public override bool Equals(object other) {
      return Equals(other as Parkspace_release_request_msg);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public bool Equals(Parkspace_release_request_msg other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if (!object.Equals(BaseInfo, other.BaseInfo)) return false;
      if (CommandKey != other.CommandKey) return false;
      if (!object.Equals(ReleaseSpaceInfo, other.ReleaseSpaceInfo)) return false;
      return Equals(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public override int GetHashCode() {
      int hash = 1;
      if (baseInfo_ != null) hash ^= BaseInfo.GetHashCode();
      if (HasCommandKey) hash ^= CommandKey.GetHashCode();
      if (releaseSpaceInfo_ != null) hash ^= ReleaseSpaceInfo.GetHashCode();
      if (_unknownFields != null) {
        hash ^= _unknownFields.GetHashCode();
      }
      return hash;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public override string ToString() {
      return pb::JsonFormatter.ToDiagnosticString(this);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public void WriteTo(pb::CodedOutputStream output) {
      if (baseInfo_ != null) {
        output.WriteRawTag(10);
        output.WriteMessage(BaseInfo);
      }
      if (HasCommandKey) {
        output.WriteRawTag(18);
        output.WriteString(CommandKey);
      }
      if (releaseSpaceInfo_ != null) {
        output.WriteRawTag(26);
        output.WriteMessage(ReleaseSpaceInfo);
      }
      if (_unknownFields != null) {
        _unknownFields.WriteTo(output);
      }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public int CalculateSize() {
      int size = 0;
      if (baseInfo_ != null) {
        size += 1 + pb::CodedOutputStream.ComputeMessageSize(BaseInfo);
      }
      if (HasCommandKey) {
        size += 1 + pb::CodedOutputStream.ComputeStringSize(CommandKey);
      }
      if (releaseSpaceInfo_ != null) {
        size += 1 + pb::CodedOutputStream.ComputeMessageSize(ReleaseSpaceInfo);
      }
      if (_unknownFields != null) {
        size += _unknownFields.CalculateSize();
      }
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public void MergeFrom(Parkspace_release_request_msg other) {
      if (other == null) {
        return;
      }
      if (other.baseInfo_ != null) {
        if (baseInfo_ == null) {
          BaseInfo = new global::Message.Base_info();
        }
        BaseInfo.MergeFrom(other.BaseInfo);
      }
      if (other.HasCommandKey) {
        CommandKey = other.CommandKey;
      }
      if (other.releaseSpaceInfo_ != null) {
        if (releaseSpaceInfo_ == null) {
          ReleaseSpaceInfo = new global::Message.Parkspace_info();
        }
        ReleaseSpaceInfo.MergeFrom(other.ReleaseSpaceInfo);
      }
      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public void MergeFrom(pb::CodedInputStream input) {
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
            break;
          case 10: {
            if (baseInfo_ == null) {
              BaseInfo = new global::Message.Base_info();
            }
            input.ReadMessage(BaseInfo);
            break;
          }
          case 18: {
            CommandKey = input.ReadString();
            break;
          }
          case 26: {
            if (releaseSpaceInfo_ == null) {
              ReleaseSpaceInfo = new global::Message.Parkspace_info();
            }
            input.ReadMessage(ReleaseSpaceInfo);
            break;
          }
        }
      }
    }

  }

  /// <summary>
  ///解锁车位反馈
  /// </summary>
  public sealed partial class Parkspace_release_response_msg : pb::IMessage<Parkspace_release_response_msg> {
    private static readonly pb::MessageParser<Parkspace_release_response_msg> _parser = new pb::MessageParser<Parkspace_release_response_msg>(() => new Parkspace_release_response_msg());
    private pb::UnknownFieldSet _unknownFields;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public static pb::MessageParser<Parkspace_release_response_msg> Parser { get { return _parser; } }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public static pbr::MessageDescriptor Descriptor {
      get { return global::Message.ParkspaceAllocationMessageReflection.Descriptor.MessageTypes[5]; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    pbr::MessageDescriptor pb::IMessage.Descriptor {
      get { return Descriptor; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public Parkspace_release_response_msg() {
      OnConstruction();
    }

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public Parkspace_release_response_msg(Parkspace_release_response_msg other) : this() {
      baseInfo_ = other.baseInfo_ != null ? other.baseInfo_.Clone() : null;
      commandKey_ = other.commandKey_;
      errorManager_ = other.errorManager_ != null ? other.errorManager_.Clone() : null;
      releaseSpaceInfo_ = other.releaseSpaceInfo_ != null ? other.releaseSpaceInfo_.Clone() : null;
      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public Parkspace_release_response_msg Clone() {
      return new Parkspace_release_response_msg(this);
    }

    /// <summary>Field number for the "base_info" field.</summary>
    public const int BaseInfoFieldNumber = 1;
    private global::Message.Base_info baseInfo_;
    /// <summary>
    ///消息类型
    /// </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public global::Message.Base_info BaseInfo {
      get { return baseInfo_; }
      set {
        baseInfo_ = value;
      }
    }

    /// <summary>Field number for the "command_key" field.</summary>
    public const int CommandKeyFieldNumber = 2;
    private readonly static string CommandKeyDefaultValue = "";

    private string commandKey_;
    /// <summary>
    ///指令唯一标识符id
    /// </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public string CommandKey {
      get { return commandKey_ ?? CommandKeyDefaultValue; }
      set {
        commandKey_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
      }
    }
    /// <summary>Gets whether the "command_key" field is set</summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public bool HasCommandKey {
      get { return commandKey_ != null; }
    }
    /// <summary>Clears the value of the "command_key" field</summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public void ClearCommandKey() {
      commandKey_ = null;
    }

    /// <summary>Field number for the "error_manager" field.</summary>
    public const int ErrorManagerFieldNumber = 3;
    private global::Message.Error_manager errorManager_;
    /// <summary>
    ///分配成功与否标志
    /// </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public global::Message.Error_manager ErrorManager {
      get { return errorManager_; }
      set {
        errorManager_ = value;
      }
    }

    /// <summary>Field number for the "release_space_info" field.</summary>
    public const int ReleaseSpaceInfoFieldNumber = 4;
    private global::Message.Parkspace_info releaseSpaceInfo_;
    /// <summary>
    ///待释放车位信息
    /// </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public global::Message.Parkspace_info ReleaseSpaceInfo {
      get { return releaseSpaceInfo_; }
      set {
        releaseSpaceInfo_ = value;
      }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public override bool Equals(object other) {
      return Equals(other as Parkspace_release_response_msg);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public bool Equals(Parkspace_release_response_msg other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if (!object.Equals(BaseInfo, other.BaseInfo)) return false;
      if (CommandKey != other.CommandKey) return false;
      if (!object.Equals(ErrorManager, other.ErrorManager)) return false;
      if (!object.Equals(ReleaseSpaceInfo, other.ReleaseSpaceInfo)) return false;
      return Equals(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public override int GetHashCode() {
      int hash = 1;
      if (baseInfo_ != null) hash ^= BaseInfo.GetHashCode();
      if (HasCommandKey) hash ^= CommandKey.GetHashCode();
      if (errorManager_ != null) hash ^= ErrorManager.GetHashCode();
      if (releaseSpaceInfo_ != null) hash ^= ReleaseSpaceInfo.GetHashCode();
      if (_unknownFields != null) {
        hash ^= _unknownFields.GetHashCode();
      }
      return hash;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public override string ToString() {
      return pb::JsonFormatter.ToDiagnosticString(this);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public void WriteTo(pb::CodedOutputStream output) {
      if (baseInfo_ != null) {
        output.WriteRawTag(10);
        output.WriteMessage(BaseInfo);
      }
      if (HasCommandKey) {
        output.WriteRawTag(18);
        output.WriteString(CommandKey);
      }
      if (errorManager_ != null) {
        output.WriteRawTag(26);
        output.WriteMessage(ErrorManager);
      }
      if (releaseSpaceInfo_ != null) {
        output.WriteRawTag(34);
        output.WriteMessage(ReleaseSpaceInfo);
      }
      if (_unknownFields != null) {
        _unknownFields.WriteTo(output);
      }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public int CalculateSize() {
      int size = 0;
      if (baseInfo_ != null) {
        size += 1 + pb::CodedOutputStream.ComputeMessageSize(BaseInfo);
      }
      if (HasCommandKey) {
        size += 1 + pb::CodedOutputStream.ComputeStringSize(CommandKey);
      }
      if (errorManager_ != null) {
        size += 1 + pb::CodedOutputStream.ComputeMessageSize(ErrorManager);
      }
      if (releaseSpaceInfo_ != null) {
        size += 1 + pb::CodedOutputStream.ComputeMessageSize(ReleaseSpaceInfo);
      }
      if (_unknownFields != null) {
        size += _unknownFields.CalculateSize();
      }
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public void MergeFrom(Parkspace_release_response_msg other) {
      if (other == null) {
        return;
      }
      if (other.baseInfo_ != null) {
        if (baseInfo_ == null) {
          BaseInfo = new global::Message.Base_info();
        }
        BaseInfo.MergeFrom(other.BaseInfo);
      }
      if (other.HasCommandKey) {
        CommandKey = other.CommandKey;
      }
      if (other.errorManager_ != null) {
        if (errorManager_ == null) {
          ErrorManager = new global::Message.Error_manager();
        }
        ErrorManager.MergeFrom(other.ErrorManager);
      }
      if (other.releaseSpaceInfo_ != null) {
        if (releaseSpaceInfo_ == null) {
          ReleaseSpaceInfo = new global::Message.Parkspace_info();
        }
        ReleaseSpaceInfo.MergeFrom(other.ReleaseSpaceInfo);
      }
      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public void MergeFrom(pb::CodedInputStream input) {
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
            break;
          case 10: {
            if (baseInfo_ == null) {
              BaseInfo = new global::Message.Base_info();
            }
            input.ReadMessage(BaseInfo);
            break;
          }
          case 18: {
            CommandKey = input.ReadString();
            break;
          }
          case 26: {
            if (errorManager_ == null) {
              ErrorManager = new global::Message.Error_manager();
            }
            input.ReadMessage(ErrorManager);
            break;
          }
          case 34: {
            if (releaseSpaceInfo_ == null) {
              ReleaseSpaceInfo = new global::Message.Parkspace_info();
            }
            input.ReadMessage(ReleaseSpaceInfo);
            break;
          }
        }
      }
    }

  }

  /// <summary>
  /// 4.手动操作修改车位状态
  /// </summary>
  public sealed partial class Parkspace_force_update_request_msg : pb::IMessage<Parkspace_force_update_request_msg> {
    private static readonly pb::MessageParser<Parkspace_force_update_request_msg> _parser = new pb::MessageParser<Parkspace_force_update_request_msg>(() => new Parkspace_force_update_request_msg());
    private pb::UnknownFieldSet _unknownFields;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public static pb::MessageParser<Parkspace_force_update_request_msg> Parser { get { return _parser; } }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public static pbr::MessageDescriptor Descriptor {
      get { return global::Message.ParkspaceAllocationMessageReflection.Descriptor.MessageTypes[6]; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    pbr::MessageDescriptor pb::IMessage.Descriptor {
      get { return Descriptor; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public Parkspace_force_update_request_msg() {
      OnConstruction();
    }

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public Parkspace_force_update_request_msg(Parkspace_force_update_request_msg other) : this() {
      baseInfo_ = other.baseInfo_ != null ? other.baseInfo_.Clone() : null;
      commandKey_ = other.commandKey_;
      updateSpaceInfo_ = other.updateSpaceInfo_ != null ? other.updateSpaceInfo_.Clone() : null;
      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public Parkspace_force_update_request_msg Clone() {
      return new Parkspace_force_update_request_msg(this);
    }

    /// <summary>Field number for the "base_info" field.</summary>
    public const int BaseInfoFieldNumber = 1;
    private global::Message.Base_info baseInfo_;
    /// <summary>
    ///消息类型
    /// </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public global::Message.Base_info BaseInfo {
      get { return baseInfo_; }
      set {
        baseInfo_ = value;
      }
    }

    /// <summary>Field number for the "command_key" field.</summary>
    public const int CommandKeyFieldNumber = 2;
    private readonly static string CommandKeyDefaultValue = "";

    private string commandKey_;
    /// <summary>
    ///指令唯一标识符id
    /// </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public string CommandKey {
      get { return commandKey_ ?? CommandKeyDefaultValue; }
      set {
        commandKey_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
      }
    }
    /// <summary>Gets whether the "command_key" field is set</summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public bool HasCommandKey {
      get { return commandKey_ != null; }
    }
    /// <summary>Clears the value of the "command_key" field</summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public void ClearCommandKey() {
      commandKey_ = null;
    }

    /// <summary>Field number for the "update_space_info" field.</summary>
    public const int UpdateSpaceInfoFieldNumber = 3;
    private global::Message.Parkspace_info updateSpaceInfo_;
    /// <summary>
    ///待手动修改车位信息，通过id定位
    /// </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public global::Message.Parkspace_info UpdateSpaceInfo {
      get { return updateSpaceInfo_; }
      set {
        updateSpaceInfo_ = value;
      }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public override bool Equals(object other) {
      return Equals(other as Parkspace_force_update_request_msg);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public bool Equals(Parkspace_force_update_request_msg other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if (!object.Equals(BaseInfo, other.BaseInfo)) return false;
      if (CommandKey != other.CommandKey) return false;
      if (!object.Equals(UpdateSpaceInfo, other.UpdateSpaceInfo)) return false;
      return Equals(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public override int GetHashCode() {
      int hash = 1;
      if (baseInfo_ != null) hash ^= BaseInfo.GetHashCode();
      if (HasCommandKey) hash ^= CommandKey.GetHashCode();
      if (updateSpaceInfo_ != null) hash ^= UpdateSpaceInfo.GetHashCode();
      if (_unknownFields != null) {
        hash ^= _unknownFields.GetHashCode();
      }
      return hash;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public override string ToString() {
      return pb::JsonFormatter.ToDiagnosticString(this);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public void WriteTo(pb::CodedOutputStream output) {
      if (baseInfo_ != null) {
        output.WriteRawTag(10);
        output.WriteMessage(BaseInfo);
      }
      if (HasCommandKey) {
        output.WriteRawTag(18);
        output.WriteString(CommandKey);
      }
      if (updateSpaceInfo_ != null) {
        output.WriteRawTag(26);
        output.WriteMessage(UpdateSpaceInfo);
      }
      if (_unknownFields != null) {
        _unknownFields.WriteTo(output);
      }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public int CalculateSize() {
      int size = 0;
      if (baseInfo_ != null) {
        size += 1 + pb::CodedOutputStream.ComputeMessageSize(BaseInfo);
      }
      if (HasCommandKey) {
        size += 1 + pb::CodedOutputStream.ComputeStringSize(CommandKey);
      }
      if (updateSpaceInfo_ != null) {
        size += 1 + pb::CodedOutputStream.ComputeMessageSize(UpdateSpaceInfo);
      }
      if (_unknownFields != null) {
        size += _unknownFields.CalculateSize();
      }
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public void MergeFrom(Parkspace_force_update_request_msg other) {
      if (other == null) {
        return;
      }
      if (other.baseInfo_ != null) {
        if (baseInfo_ == null) {
          BaseInfo = new global::Message.Base_info();
        }
        BaseInfo.MergeFrom(other.BaseInfo);
      }
      if (other.HasCommandKey) {
        CommandKey = other.CommandKey;
      }
      if (other.updateSpaceInfo_ != null) {
        if (updateSpaceInfo_ == null) {
          UpdateSpaceInfo = new global::Message.Parkspace_info();
        }
        UpdateSpaceInfo.MergeFrom(other.UpdateSpaceInfo);
      }
      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public void MergeFrom(pb::CodedInputStream input) {
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
            break;
          case 10: {
            if (baseInfo_ == null) {
              BaseInfo = new global::Message.Base_info();
            }
            input.ReadMessage(BaseInfo);
            break;
          }
          case 18: {
            CommandKey = input.ReadString();
            break;
          }
          case 26: {
            if (updateSpaceInfo_ == null) {
              UpdateSpaceInfo = new global::Message.Parkspace_info();
            }
            input.ReadMessage(UpdateSpaceInfo);
            break;
          }
        }
      }
    }

  }

  /// <summary>
  ///手动操作反馈
  /// </summary>
  public sealed partial class Parkspace_force_update_response_msg : pb::IMessage<Parkspace_force_update_response_msg> {
    private static readonly pb::MessageParser<Parkspace_force_update_response_msg> _parser = new pb::MessageParser<Parkspace_force_update_response_msg>(() => new Parkspace_force_update_response_msg());
    private pb::UnknownFieldSet _unknownFields;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public static pb::MessageParser<Parkspace_force_update_response_msg> Parser { get { return _parser; } }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public static pbr::MessageDescriptor Descriptor {
      get { return global::Message.ParkspaceAllocationMessageReflection.Descriptor.MessageTypes[7]; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    pbr::MessageDescriptor pb::IMessage.Descriptor {
      get { return Descriptor; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public Parkspace_force_update_response_msg() {
      OnConstruction();
    }

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public Parkspace_force_update_response_msg(Parkspace_force_update_response_msg other) : this() {
      baseInfo_ = other.baseInfo_ != null ? other.baseInfo_.Clone() : null;
      commandKey_ = other.commandKey_;
      errorManager_ = other.errorManager_ != null ? other.errorManager_.Clone() : null;
      updateSpaceInfo_ = other.updateSpaceInfo_ != null ? other.updateSpaceInfo_.Clone() : null;
      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public Parkspace_force_update_response_msg Clone() {
      return new Parkspace_force_update_response_msg(this);
    }

    /// <summary>Field number for the "base_info" field.</summary>
    public const int BaseInfoFieldNumber = 1;
    private global::Message.Base_info baseInfo_;
    /// <summary>
    ///消息类型
    /// </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public global::Message.Base_info BaseInfo {
      get { return baseInfo_; }
      set {
        baseInfo_ = value;
      }
    }

    /// <summary>Field number for the "command_key" field.</summary>
    public const int CommandKeyFieldNumber = 2;
    private readonly static string CommandKeyDefaultValue = "";

    private string commandKey_;
    /// <summary>
    ///指令唯一标识符id
    /// </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public string CommandKey {
      get { return commandKey_ ?? CommandKeyDefaultValue; }
      set {
        commandKey_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
      }
    }
    /// <summary>Gets whether the "command_key" field is set</summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public bool HasCommandKey {
      get { return commandKey_ != null; }
    }
    /// <summary>Clears the value of the "command_key" field</summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public void ClearCommandKey() {
      commandKey_ = null;
    }

    /// <summary>Field number for the "error_manager" field.</summary>
    public const int ErrorManagerFieldNumber = 3;
    private global::Message.Error_manager errorManager_;
    /// <summary>
    ///分配成功与否标志
    /// </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public global::Message.Error_manager ErrorManager {
      get { return errorManager_; }
      set {
        errorManager_ = value;
      }
    }

    /// <summary>Field number for the "update_space_info" field.</summary>
    public const int UpdateSpaceInfoFieldNumber = 4;
    private global::Message.Parkspace_info updateSpaceInfo_;
    /// <summary>
    ///已修改后的车位信息
    /// </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public global::Message.Parkspace_info UpdateSpaceInfo {
      get { return updateSpaceInfo_; }
      set {
        updateSpaceInfo_ = value;
      }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public override bool Equals(object other) {
      return Equals(other as Parkspace_force_update_response_msg);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public bool Equals(Parkspace_force_update_response_msg other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if (!object.Equals(BaseInfo, other.BaseInfo)) return false;
      if (CommandKey != other.CommandKey) return false;
      if (!object.Equals(ErrorManager, other.ErrorManager)) return false;
      if (!object.Equals(UpdateSpaceInfo, other.UpdateSpaceInfo)) return false;
      return Equals(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public override int GetHashCode() {
      int hash = 1;
      if (baseInfo_ != null) hash ^= BaseInfo.GetHashCode();
      if (HasCommandKey) hash ^= CommandKey.GetHashCode();
      if (errorManager_ != null) hash ^= ErrorManager.GetHashCode();
      if (updateSpaceInfo_ != null) hash ^= UpdateSpaceInfo.GetHashCode();
      if (_unknownFields != null) {
        hash ^= _unknownFields.GetHashCode();
      }
      return hash;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public override string ToString() {
      return pb::JsonFormatter.ToDiagnosticString(this);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public void WriteTo(pb::CodedOutputStream output) {
      if (baseInfo_ != null) {
        output.WriteRawTag(10);
        output.WriteMessage(BaseInfo);
      }
      if (HasCommandKey) {
        output.WriteRawTag(18);
        output.WriteString(CommandKey);
      }
      if (errorManager_ != null) {
        output.WriteRawTag(26);
        output.WriteMessage(ErrorManager);
      }
      if (updateSpaceInfo_ != null) {
        output.WriteRawTag(34);
        output.WriteMessage(UpdateSpaceInfo);
      }
      if (_unknownFields != null) {
        _unknownFields.WriteTo(output);
      }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public int CalculateSize() {
      int size = 0;
      if (baseInfo_ != null) {
        size += 1 + pb::CodedOutputStream.ComputeMessageSize(BaseInfo);
      }
      if (HasCommandKey) {
        size += 1 + pb::CodedOutputStream.ComputeStringSize(CommandKey);
      }
      if (errorManager_ != null) {
        size += 1 + pb::CodedOutputStream.ComputeMessageSize(ErrorManager);
      }
      if (updateSpaceInfo_ != null) {
        size += 1 + pb::CodedOutputStream.ComputeMessageSize(UpdateSpaceInfo);
      }
      if (_unknownFields != null) {
        size += _unknownFields.CalculateSize();
      }
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public void MergeFrom(Parkspace_force_update_response_msg other) {
      if (other == null) {
        return;
      }
      if (other.baseInfo_ != null) {
        if (baseInfo_ == null) {
          BaseInfo = new global::Message.Base_info();
        }
        BaseInfo.MergeFrom(other.BaseInfo);
      }
      if (other.HasCommandKey) {
        CommandKey = other.CommandKey;
      }
      if (other.errorManager_ != null) {
        if (errorManager_ == null) {
          ErrorManager = new global::Message.Error_manager();
        }
        ErrorManager.MergeFrom(other.ErrorManager);
      }
      if (other.updateSpaceInfo_ != null) {
        if (updateSpaceInfo_ == null) {
          UpdateSpaceInfo = new global::Message.Parkspace_info();
        }
        UpdateSpaceInfo.MergeFrom(other.UpdateSpaceInfo);
      }
      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public void MergeFrom(pb::CodedInputStream input) {
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
            break;
          case 10: {
            if (baseInfo_ == null) {
              BaseInfo = new global::Message.Base_info();
            }
            input.ReadMessage(BaseInfo);
            break;
          }
          case 18: {
            CommandKey = input.ReadString();
            break;
          }
          case 26: {
            if (errorManager_ == null) {
              ErrorManager = new global::Message.Error_manager();
            }
            input.ReadMessage(ErrorManager);
            break;
          }
          case 34: {
            if (updateSpaceInfo_ == null) {
              UpdateSpaceInfo = new global::Message.Parkspace_info();
            }
            input.ReadMessage(UpdateSpaceInfo);
            break;
          }
        }
      }
    }

  }

  /// <summary>
  /// 5.临时锁定车位
  /// </summary>
  public sealed partial class Parkspace_confirm_alloc_request_msg : pb::IMessage<Parkspace_confirm_alloc_request_msg> {
    private static readonly pb::MessageParser<Parkspace_confirm_alloc_request_msg> _parser = new pb::MessageParser<Parkspace_confirm_alloc_request_msg>(() => new Parkspace_confirm_alloc_request_msg());
    private pb::UnknownFieldSet _unknownFields;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public static pb::MessageParser<Parkspace_confirm_alloc_request_msg> Parser { get { return _parser; } }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public static pbr::MessageDescriptor Descriptor {
      get { return global::Message.ParkspaceAllocationMessageReflection.Descriptor.MessageTypes[8]; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    pbr::MessageDescriptor pb::IMessage.Descriptor {
      get { return Descriptor; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public Parkspace_confirm_alloc_request_msg() {
      OnConstruction();
    }

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public Parkspace_confirm_alloc_request_msg(Parkspace_confirm_alloc_request_msg other) : this() {
      baseInfo_ = other.baseInfo_ != null ? other.baseInfo_.Clone() : null;
      commandKey_ = other.commandKey_;
      confirmSpaceInfo_ = other.confirmSpaceInfo_ != null ? other.confirmSpaceInfo_.Clone() : null;
      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public Parkspace_confirm_alloc_request_msg Clone() {
      return new Parkspace_confirm_alloc_request_msg(this);
    }

    /// <summary>Field number for the "base_info" field.</summary>
    public const int BaseInfoFieldNumber = 1;
    private global::Message.Base_info baseInfo_;
    /// <summary>
    ///消息类型
    /// </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public global::Message.Base_info BaseInfo {
      get { return baseInfo_; }
      set {
        baseInfo_ = value;
      }
    }

    /// <summary>Field number for the "command_key" field.</summary>
    public const int CommandKeyFieldNumber = 2;
    private readonly static string CommandKeyDefaultValue = "";

    private string commandKey_;
    /// <summary>
    ///指令唯一标识符id
    /// </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public string CommandKey {
      get { return commandKey_ ?? CommandKeyDefaultValue; }
      set {
        commandKey_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
      }
    }
    /// <summary>Gets whether the "command_key" field is set</summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public bool HasCommandKey {
      get { return commandKey_ != null; }
    }
    /// <summary>Clears the value of the "command_key" field</summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public void ClearCommandKey() {
      commandKey_ = null;
    }

    /// <summary>Field number for the "confirm_space_info" field.</summary>
    public const int ConfirmSpaceInfoFieldNumber = 3;
    private global::Message.Parkspace_info confirmSpaceInfo_;
    /// <summary>
    ///已修改后的车位信息
    /// </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public global::Message.Parkspace_info ConfirmSpaceInfo {
      get { return confirmSpaceInfo_; }
      set {
        confirmSpaceInfo_ = value;
      }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public override bool Equals(object other) {
      return Equals(other as Parkspace_confirm_alloc_request_msg);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public bool Equals(Parkspace_confirm_alloc_request_msg other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if (!object.Equals(BaseInfo, other.BaseInfo)) return false;
      if (CommandKey != other.CommandKey) return false;
      if (!object.Equals(ConfirmSpaceInfo, other.ConfirmSpaceInfo)) return false;
      return Equals(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public override int GetHashCode() {
      int hash = 1;
      if (baseInfo_ != null) hash ^= BaseInfo.GetHashCode();
      if (HasCommandKey) hash ^= CommandKey.GetHashCode();
      if (confirmSpaceInfo_ != null) hash ^= ConfirmSpaceInfo.GetHashCode();
      if (_unknownFields != null) {
        hash ^= _unknownFields.GetHashCode();
      }
      return hash;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public override string ToString() {
      return pb::JsonFormatter.ToDiagnosticString(this);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public void WriteTo(pb::CodedOutputStream output) {
      if (baseInfo_ != null) {
        output.WriteRawTag(10);
        output.WriteMessage(BaseInfo);
      }
      if (HasCommandKey) {
        output.WriteRawTag(18);
        output.WriteString(CommandKey);
      }
      if (confirmSpaceInfo_ != null) {
        output.WriteRawTag(26);
        output.WriteMessage(ConfirmSpaceInfo);
      }
      if (_unknownFields != null) {
        _unknownFields.WriteTo(output);
      }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public int CalculateSize() {
      int size = 0;
      if (baseInfo_ != null) {
        size += 1 + pb::CodedOutputStream.ComputeMessageSize(BaseInfo);
      }
      if (HasCommandKey) {
        size += 1 + pb::CodedOutputStream.ComputeStringSize(CommandKey);
      }
      if (confirmSpaceInfo_ != null) {
        size += 1 + pb::CodedOutputStream.ComputeMessageSize(ConfirmSpaceInfo);
      }
      if (_unknownFields != null) {
        size += _unknownFields.CalculateSize();
      }
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public void MergeFrom(Parkspace_confirm_alloc_request_msg other) {
      if (other == null) {
        return;
      }
      if (other.baseInfo_ != null) {
        if (baseInfo_ == null) {
          BaseInfo = new global::Message.Base_info();
        }
        BaseInfo.MergeFrom(other.BaseInfo);
      }
      if (other.HasCommandKey) {
        CommandKey = other.CommandKey;
      }
      if (other.confirmSpaceInfo_ != null) {
        if (confirmSpaceInfo_ == null) {
          ConfirmSpaceInfo = new global::Message.Parkspace_info();
        }
        ConfirmSpaceInfo.MergeFrom(other.ConfirmSpaceInfo);
      }
      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public void MergeFrom(pb::CodedInputStream input) {
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
            break;
          case 10: {
            if (baseInfo_ == null) {
              BaseInfo = new global::Message.Base_info();
            }
            input.ReadMessage(BaseInfo);
            break;
          }
          case 18: {
            CommandKey = input.ReadString();
            break;
          }
          case 26: {
            if (confirmSpaceInfo_ == null) {
              ConfirmSpaceInfo = new global::Message.Parkspace_info();
            }
            input.ReadMessage(ConfirmSpaceInfo);
            break;
          }
        }
      }
    }

  }

  public sealed partial class Parkspace_confirm_alloc_response_msg : pb::IMessage<Parkspace_confirm_alloc_response_msg> {
    private static readonly pb::MessageParser<Parkspace_confirm_alloc_response_msg> _parser = new pb::MessageParser<Parkspace_confirm_alloc_response_msg>(() => new Parkspace_confirm_alloc_response_msg());
    private pb::UnknownFieldSet _unknownFields;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public static pb::MessageParser<Parkspace_confirm_alloc_response_msg> Parser { get { return _parser; } }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public static pbr::MessageDescriptor Descriptor {
      get { return global::Message.ParkspaceAllocationMessageReflection.Descriptor.MessageTypes[9]; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    pbr::MessageDescriptor pb::IMessage.Descriptor {
      get { return Descriptor; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public Parkspace_confirm_alloc_response_msg() {
      OnConstruction();
    }

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public Parkspace_confirm_alloc_response_msg(Parkspace_confirm_alloc_response_msg other) : this() {
      baseInfo_ = other.baseInfo_ != null ? other.baseInfo_.Clone() : null;
      commandKey_ = other.commandKey_;
      errorManager_ = other.errorManager_ != null ? other.errorManager_.Clone() : null;
      confirmAllocSpaceInfo_ = other.confirmAllocSpaceInfo_ != null ? other.confirmAllocSpaceInfo_.Clone() : null;
      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public Parkspace_confirm_alloc_response_msg Clone() {
      return new Parkspace_confirm_alloc_response_msg(this);
    }

    /// <summary>Field number for the "base_info" field.</summary>
    public const int BaseInfoFieldNumber = 1;
    private global::Message.Base_info baseInfo_;
    /// <summary>
    ///消息类型
    /// </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public global::Message.Base_info BaseInfo {
      get { return baseInfo_; }
      set {
        baseInfo_ = value;
      }
    }

    /// <summary>Field number for the "command_key" field.</summary>
    public const int CommandKeyFieldNumber = 2;
    private readonly static string CommandKeyDefaultValue = "";

    private string commandKey_;
    /// <summary>
    ///指令唯一标识符id
    /// </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public string CommandKey {
      get { return commandKey_ ?? CommandKeyDefaultValue; }
      set {
        commandKey_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
      }
    }
    /// <summary>Gets whether the "command_key" field is set</summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public bool HasCommandKey {
      get { return commandKey_ != null; }
    }
    /// <summary>Clears the value of the "command_key" field</summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public void ClearCommandKey() {
      commandKey_ = null;
    }

    /// <summary>Field number for the "error_manager" field.</summary>
    public const int ErrorManagerFieldNumber = 3;
    private global::Message.Error_manager errorManager_;
    /// <summary>
    ///分配成功与否标志
    /// </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public global::Message.Error_manager ErrorManager {
      get { return errorManager_; }
      set {
        errorManager_ = value;
      }
    }

    /// <summary>Field number for the "confirm_alloc_space_info" field.</summary>
    public const int ConfirmAllocSpaceInfoFieldNumber = 4;
    private global::Message.Parkspace_info confirmAllocSpaceInfo_;
    /// <summary>
    ///已修改后的车位信息
    /// </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public global::Message.Parkspace_info ConfirmAllocSpaceInfo {
      get { return confirmAllocSpaceInfo_; }
      set {
        confirmAllocSpaceInfo_ = value;
      }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public override bool Equals(object other) {
      return Equals(other as Parkspace_confirm_alloc_response_msg);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public bool Equals(Parkspace_confirm_alloc_response_msg other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if (!object.Equals(BaseInfo, other.BaseInfo)) return false;
      if (CommandKey != other.CommandKey) return false;
      if (!object.Equals(ErrorManager, other.ErrorManager)) return false;
      if (!object.Equals(ConfirmAllocSpaceInfo, other.ConfirmAllocSpaceInfo)) return false;
      return Equals(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public override int GetHashCode() {
      int hash = 1;
      if (baseInfo_ != null) hash ^= BaseInfo.GetHashCode();
      if (HasCommandKey) hash ^= CommandKey.GetHashCode();
      if (errorManager_ != null) hash ^= ErrorManager.GetHashCode();
      if (confirmAllocSpaceInfo_ != null) hash ^= ConfirmAllocSpaceInfo.GetHashCode();
      if (_unknownFields != null) {
        hash ^= _unknownFields.GetHashCode();
      }
      return hash;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public override string ToString() {
      return pb::JsonFormatter.ToDiagnosticString(this);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public void WriteTo(pb::CodedOutputStream output) {
      if (baseInfo_ != null) {
        output.WriteRawTag(10);
        output.WriteMessage(BaseInfo);
      }
      if (HasCommandKey) {
        output.WriteRawTag(18);
        output.WriteString(CommandKey);
      }
      if (errorManager_ != null) {
        output.WriteRawTag(26);
        output.WriteMessage(ErrorManager);
      }
      if (confirmAllocSpaceInfo_ != null) {
        output.WriteRawTag(34);
        output.WriteMessage(ConfirmAllocSpaceInfo);
      }
      if (_unknownFields != null) {
        _unknownFields.WriteTo(output);
      }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public int CalculateSize() {
      int size = 0;
      if (baseInfo_ != null) {
        size += 1 + pb::CodedOutputStream.ComputeMessageSize(BaseInfo);
      }
      if (HasCommandKey) {
        size += 1 + pb::CodedOutputStream.ComputeStringSize(CommandKey);
      }
      if (errorManager_ != null) {
        size += 1 + pb::CodedOutputStream.ComputeMessageSize(ErrorManager);
      }
      if (confirmAllocSpaceInfo_ != null) {
        size += 1 + pb::CodedOutputStream.ComputeMessageSize(ConfirmAllocSpaceInfo);
      }
      if (_unknownFields != null) {
        size += _unknownFields.CalculateSize();
      }
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public void MergeFrom(Parkspace_confirm_alloc_response_msg other) {
      if (other == null) {
        return;
      }
      if (other.baseInfo_ != null) {
        if (baseInfo_ == null) {
          BaseInfo = new global::Message.Base_info();
        }
        BaseInfo.MergeFrom(other.BaseInfo);
      }
      if (other.HasCommandKey) {
        CommandKey = other.CommandKey;
      }
      if (other.errorManager_ != null) {
        if (errorManager_ == null) {
          ErrorManager = new global::Message.Error_manager();
        }
        ErrorManager.MergeFrom(other.ErrorManager);
      }
      if (other.confirmAllocSpaceInfo_ != null) {
        if (confirmAllocSpaceInfo_ == null) {
          ConfirmAllocSpaceInfo = new global::Message.Parkspace_info();
        }
        ConfirmAllocSpaceInfo.MergeFrom(other.ConfirmAllocSpaceInfo);
      }
      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public void MergeFrom(pb::CodedInputStream input) {
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
            break;
          case 10: {
            if (baseInfo_ == null) {
              BaseInfo = new global::Message.Base_info();
            }
            input.ReadMessage(BaseInfo);
            break;
          }
          case 18: {
            CommandKey = input.ReadString();
            break;
          }
          case 26: {
            if (errorManager_ == null) {
              ErrorManager = new global::Message.Error_manager();
            }
            input.ReadMessage(ErrorManager);
            break;
          }
          case 34: {
            if (confirmAllocSpaceInfo_ == null) {
              ConfirmAllocSpaceInfo = new global::Message.Parkspace_info();
            }
            input.ReadMessage(ConfirmAllocSpaceInfo);
            break;
          }
        }
      }
    }

  }

  /// <summary>
  /// 车位心跳状态信息
  /// </summary>
  public sealed partial class Parkspace_allocation_status_msg : pb::IMessage<Parkspace_allocation_status_msg> {
    private static readonly pb::MessageParser<Parkspace_allocation_status_msg> _parser = new pb::MessageParser<Parkspace_allocation_status_msg>(() => new Parkspace_allocation_status_msg());
    private pb::UnknownFieldSet _unknownFields;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public static pb::MessageParser<Parkspace_allocation_status_msg> Parser { get { return _parser; } }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public static pbr::MessageDescriptor Descriptor {
      get { return global::Message.ParkspaceAllocationMessageReflection.Descriptor.MessageTypes[10]; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    pbr::MessageDescriptor pb::IMessage.Descriptor {
      get { return Descriptor; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public Parkspace_allocation_status_msg() {
      OnConstruction();
    }

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public Parkspace_allocation_status_msg(Parkspace_allocation_status_msg other) : this() {
      baseInfo_ = other.baseInfo_ != null ? other.baseInfo_.Clone() : null;
      errorManager_ = other.errorManager_ != null ? other.errorManager_.Clone() : null;
      parkspaceInfo_ = other.parkspaceInfo_.Clone();
      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public Parkspace_allocation_status_msg Clone() {
      return new Parkspace_allocation_status_msg(this);
    }

    /// <summary>Field number for the "base_info" field.</summary>
    public const int BaseInfoFieldNumber = 1;
    private global::Message.Base_info baseInfo_;
    /// <summary>
    ///消息类型
    /// </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public global::Message.Base_info BaseInfo {
      get { return baseInfo_; }
      set {
        baseInfo_ = value;
      }
    }

    /// <summary>Field number for the "error_manager" field.</summary>
    public const int ErrorManagerFieldNumber = 2;
    private global::Message.Error_manager errorManager_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public global::Message.Error_manager ErrorManager {
      get { return errorManager_; }
      set {
        errorManager_ = value;
      }
    }

    /// <summary>Field number for the "parkspace_info" field.</summary>
    public const int ParkspaceInfoFieldNumber = 3;
    private static readonly pb::FieldCodec<global::Message.Parkspace_info> _repeated_parkspaceInfo_codec
        = pb::FieldCodec.ForMessage(26, global::Message.Parkspace_info.Parser);
    private readonly pbc::RepeatedField<global::Message.Parkspace_info> parkspaceInfo_ = new pbc::RepeatedField<global::Message.Parkspace_info>();
    /// <summary>
    ///车位状态
    /// </summary>
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public pbc::RepeatedField<global::Message.Parkspace_info> ParkspaceInfo {
      get { return parkspaceInfo_; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public override bool Equals(object other) {
      return Equals(other as Parkspace_allocation_status_msg);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public bool Equals(Parkspace_allocation_status_msg other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if (!object.Equals(BaseInfo, other.BaseInfo)) return false;
      if (!object.Equals(ErrorManager, other.ErrorManager)) return false;
      if(!parkspaceInfo_.Equals(other.parkspaceInfo_)) return false;
      return Equals(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public override int GetHashCode() {
      int hash = 1;
      if (baseInfo_ != null) hash ^= BaseInfo.GetHashCode();
      if (errorManager_ != null) hash ^= ErrorManager.GetHashCode();
      hash ^= parkspaceInfo_.GetHashCode();
      if (_unknownFields != null) {
        hash ^= _unknownFields.GetHashCode();
      }
      return hash;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public override string ToString() {
      return pb::JsonFormatter.ToDiagnosticString(this);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public void WriteTo(pb::CodedOutputStream output) {
      if (baseInfo_ != null) {
        output.WriteRawTag(10);
        output.WriteMessage(BaseInfo);
      }
      if (errorManager_ != null) {
        output.WriteRawTag(18);
        output.WriteMessage(ErrorManager);
      }
      parkspaceInfo_.WriteTo(output, _repeated_parkspaceInfo_codec);
      if (_unknownFields != null) {
        _unknownFields.WriteTo(output);
      }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public int CalculateSize() {
      int size = 0;
      if (baseInfo_ != null) {
        size += 1 + pb::CodedOutputStream.ComputeMessageSize(BaseInfo);
      }
      if (errorManager_ != null) {
        size += 1 + pb::CodedOutputStream.ComputeMessageSize(ErrorManager);
      }
      size += parkspaceInfo_.CalculateSize(_repeated_parkspaceInfo_codec);
      if (_unknownFields != null) {
        size += _unknownFields.CalculateSize();
      }
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public void MergeFrom(Parkspace_allocation_status_msg other) {
      if (other == null) {
        return;
      }
      if (other.baseInfo_ != null) {
        if (baseInfo_ == null) {
          BaseInfo = new global::Message.Base_info();
        }
        BaseInfo.MergeFrom(other.BaseInfo);
      }
      if (other.errorManager_ != null) {
        if (errorManager_ == null) {
          ErrorManager = new global::Message.Error_manager();
        }
        ErrorManager.MergeFrom(other.ErrorManager);
      }
      parkspaceInfo_.Add(other.parkspaceInfo_);
      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public void MergeFrom(pb::CodedInputStream input) {
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
            break;
          case 10: {
            if (baseInfo_ == null) {
              BaseInfo = new global::Message.Base_info();
            }
            input.ReadMessage(BaseInfo);
            break;
          }
          case 18: {
            if (errorManager_ == null) {
              ErrorManager = new global::Message.Error_manager();
            }
            input.ReadMessage(ErrorManager);
            break;
          }
          case 26: {
            parkspaceInfo_.AddEntriesFrom(input, _repeated_parkspaceInfo_codec);
            break;
          }
        }
      }
    }

  }

  #endregion

}

#endregion Designer generated code
