// <auto-generated>
//     Generated by the protocol buffer compiler.  DO NOT EDIT!
//     source: TrainPartyBuildDiyScRsp.proto
// </auto-generated>
#pragma warning disable 1591, 0612, 3021, 8981
#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 EggLink.DanhengServer.Proto {

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

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

    static TrainPartyBuildDiyScRspReflection() {
      byte[] descriptorData = global::System.Convert.FromBase64String(
          string.Concat(
            "Ch1UcmFpblBhcnR5QnVpbGREaXlTY1JzcC5wcm90bxoVQXJlYUR5bmFtaWNJ",
            "bmZvLnByb3RvGhFDSUtPSEpOQUdPTi5wcm90byKjAQoXVHJhaW5QYXJ0eUJ1",
            "aWxkRGl5U2NSc3ASDwoHcmV0Y29kZRgJIAEoDRIpChN1cGRhdGVfZHluYW1p",
            "Y19saXN0GAsgAygLMgwuQ0lLT0hKTkFHT04SEwoLR0FOSEtMTlBBUEkYDCAB",
            "KAgSDwoHYXJlYV9pZBgNIAEoDRImCgxkeW5hbWljX2luZm8YBSADKAsyEC5B",
            "cmVhRHluYW1pY0luZm9CHqoCG0VnZ0xpbmsuRGFuaGVuZ1NlcnZlci5Qcm90",
            "b2IGcHJvdG8z"));
      descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
          new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.AreaDynamicInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.CIKOHJNAGONReflection.Descriptor, },
          new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
            new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.TrainPartyBuildDiyScRsp), global::EggLink.DanhengServer.Proto.TrainPartyBuildDiyScRsp.Parser, new[]{ "Retcode", "UpdateDynamicList", "GANHKLNPAPI", "AreaId", "DynamicInfo" }, null, null, null, null)
          }));
    }
    #endregion

  }
  #region Messages
  [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
  public sealed partial class TrainPartyBuildDiyScRsp : pb::IMessage<TrainPartyBuildDiyScRsp>
  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      , pb::IBufferMessage
  #endif
  {
    private static readonly pb::MessageParser<TrainPartyBuildDiyScRsp> _parser = new pb::MessageParser<TrainPartyBuildDiyScRsp>(() => new TrainPartyBuildDiyScRsp());
    private pb::UnknownFieldSet _unknownFields;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pb::MessageParser<TrainPartyBuildDiyScRsp> Parser { get { return _parser; } }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pbr::MessageDescriptor Descriptor {
      get { return global::EggLink.DanhengServer.Proto.TrainPartyBuildDiyScRspReflection.Descriptor.MessageTypes[0]; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    pbr::MessageDescriptor pb::IMessage.Descriptor {
      get { return Descriptor; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public TrainPartyBuildDiyScRsp() {
      OnConstruction();
    }

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public TrainPartyBuildDiyScRsp(TrainPartyBuildDiyScRsp other) : this() {
      retcode_ = other.retcode_;
      updateDynamicList_ = other.updateDynamicList_.Clone();
      gANHKLNPAPI_ = other.gANHKLNPAPI_;
      areaId_ = other.areaId_;
      dynamicInfo_ = other.dynamicInfo_.Clone();
      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public TrainPartyBuildDiyScRsp Clone() {
      return new TrainPartyBuildDiyScRsp(this);
    }

    /// <summary>Field number for the "retcode" field.</summary>
    public const int RetcodeFieldNumber = 9;
    private uint retcode_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public uint Retcode {
      get { return retcode_; }
      set {
        retcode_ = value;
      }
    }

    /// <summary>Field number for the "update_dynamic_list" field.</summary>
    public const int UpdateDynamicListFieldNumber = 11;
    private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.CIKOHJNAGON> _repeated_updateDynamicList_codec
        = pb::FieldCodec.ForMessage(90, global::EggLink.DanhengServer.Proto.CIKOHJNAGON.Parser);
    private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.CIKOHJNAGON> updateDynamicList_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.CIKOHJNAGON>();
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.CIKOHJNAGON> UpdateDynamicList {
      get { return updateDynamicList_; }
    }

    /// <summary>Field number for the "GANHKLNPAPI" field.</summary>
    public const int GANHKLNPAPIFieldNumber = 12;
    private bool gANHKLNPAPI_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool GANHKLNPAPI {
      get { return gANHKLNPAPI_; }
      set {
        gANHKLNPAPI_ = value;
      }
    }

    /// <summary>Field number for the "area_id" field.</summary>
    public const int AreaIdFieldNumber = 13;
    private uint areaId_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public uint AreaId {
      get { return areaId_; }
      set {
        areaId_ = value;
      }
    }

    /// <summary>Field number for the "dynamic_info" field.</summary>
    public const int DynamicInfoFieldNumber = 5;
    private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.AreaDynamicInfo> _repeated_dynamicInfo_codec
        = pb::FieldCodec.ForMessage(42, global::EggLink.DanhengServer.Proto.AreaDynamicInfo.Parser);
    private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.AreaDynamicInfo> dynamicInfo_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.AreaDynamicInfo>();
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.AreaDynamicInfo> DynamicInfo {
      get { return dynamicInfo_; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override bool Equals(object other) {
      return Equals(other as TrainPartyBuildDiyScRsp);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool Equals(TrainPartyBuildDiyScRsp other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if (Retcode != other.Retcode) return false;
      if(!updateDynamicList_.Equals(other.updateDynamicList_)) return false;
      if (GANHKLNPAPI != other.GANHKLNPAPI) return false;
      if (AreaId != other.AreaId) return false;
      if(!dynamicInfo_.Equals(other.dynamicInfo_)) return false;
      return Equals(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override int GetHashCode() {
      int hash = 1;
      if (Retcode != 0) hash ^= Retcode.GetHashCode();
      hash ^= updateDynamicList_.GetHashCode();
      if (GANHKLNPAPI != false) hash ^= GANHKLNPAPI.GetHashCode();
      if (AreaId != 0) hash ^= AreaId.GetHashCode();
      hash ^= dynamicInfo_.GetHashCode();
      if (_unknownFields != null) {
        hash ^= _unknownFields.GetHashCode();
      }
      return hash;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override string ToString() {
      return pb::JsonFormatter.ToDiagnosticString(this);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void WriteTo(pb::CodedOutputStream output) {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      output.WriteRawMessage(this);
    #else
      dynamicInfo_.WriteTo(output, _repeated_dynamicInfo_codec);
      if (Retcode != 0) {
        output.WriteRawTag(72);
        output.WriteUInt32(Retcode);
      }
      updateDynamicList_.WriteTo(output, _repeated_updateDynamicList_codec);
      if (GANHKLNPAPI != false) {
        output.WriteRawTag(96);
        output.WriteBool(GANHKLNPAPI);
      }
      if (AreaId != 0) {
        output.WriteRawTag(104);
        output.WriteUInt32(AreaId);
      }
      if (_unknownFields != null) {
        _unknownFields.WriteTo(output);
      }
    #endif
    }

    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
      dynamicInfo_.WriteTo(ref output, _repeated_dynamicInfo_codec);
      if (Retcode != 0) {
        output.WriteRawTag(72);
        output.WriteUInt32(Retcode);
      }
      updateDynamicList_.WriteTo(ref output, _repeated_updateDynamicList_codec);
      if (GANHKLNPAPI != false) {
        output.WriteRawTag(96);
        output.WriteBool(GANHKLNPAPI);
      }
      if (AreaId != 0) {
        output.WriteRawTag(104);
        output.WriteUInt32(AreaId);
      }
      if (_unknownFields != null) {
        _unknownFields.WriteTo(ref output);
      }
    }
    #endif

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public int CalculateSize() {
      int size = 0;
      if (Retcode != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Retcode);
      }
      size += updateDynamicList_.CalculateSize(_repeated_updateDynamicList_codec);
      if (GANHKLNPAPI != false) {
        size += 1 + 1;
      }
      if (AreaId != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(AreaId);
      }
      size += dynamicInfo_.CalculateSize(_repeated_dynamicInfo_codec);
      if (_unknownFields != null) {
        size += _unknownFields.CalculateSize();
      }
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(TrainPartyBuildDiyScRsp other) {
      if (other == null) {
        return;
      }
      if (other.Retcode != 0) {
        Retcode = other.Retcode;
      }
      updateDynamicList_.Add(other.updateDynamicList_);
      if (other.GANHKLNPAPI != false) {
        GANHKLNPAPI = other.GANHKLNPAPI;
      }
      if (other.AreaId != 0) {
        AreaId = other.AreaId;
      }
      dynamicInfo_.Add(other.dynamicInfo_);
      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(pb::CodedInputStream input) {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      input.ReadRawMessage(this);
    #else
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
            break;
          case 42: {
            dynamicInfo_.AddEntriesFrom(input, _repeated_dynamicInfo_codec);
            break;
          }
          case 72: {
            Retcode = input.ReadUInt32();
            break;
          }
          case 90: {
            updateDynamicList_.AddEntriesFrom(input, _repeated_updateDynamicList_codec);
            break;
          }
          case 96: {
            GANHKLNPAPI = input.ReadBool();
            break;
          }
          case 104: {
            AreaId = input.ReadUInt32();
            break;
          }
        }
      }
    #endif
    }

    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
            break;
          case 42: {
            dynamicInfo_.AddEntriesFrom(ref input, _repeated_dynamicInfo_codec);
            break;
          }
          case 72: {
            Retcode = input.ReadUInt32();
            break;
          }
          case 90: {
            updateDynamicList_.AddEntriesFrom(ref input, _repeated_updateDynamicList_codec);
            break;
          }
          case 96: {
            GANHKLNPAPI = input.ReadBool();
            break;
          }
          case 104: {
            AreaId = input.ReadUInt32();
            break;
          }
        }
      }
    }
    #endif

  }

  #endregion

}

#endregion Designer generated code
