// <auto-generated>
//     Generated by the protocol buffer compiler.  DO NOT EDIT!
//     source: GetMissionStatusScRsp.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 GetMissionStatusScRsp.proto</summary>
  public static partial class GetMissionStatusScRspReflection {

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

    static GetMissionStatusScRspReflection() {
      byte[] descriptorData = global::System.Convert.FromBase64String(
          string.Concat(
            "ChtHZXRNaXNzaW9uU3RhdHVzU2NSc3AucHJvdG8aHE1haW5NaXNzaW9uQ3Vz",
            "dG9tVmFsdWUucHJvdG8aDU1pc3Npb24ucHJvdG8inQIKFUdldE1pc3Npb25T",
            "dGF0dXNTY1JzcBIPCgdSZXRjb2RlGAEgASgNEiMKG1VuZmluaXNoZWRNYWlu",
            "TWlzc2lvbklkTGlzdBgJIAMoDRIhChlEaXNhYmxlZE1haW5NaXNzaW9uSWRM",
            "aXN0GAUgAygNEiEKGUZpbmlzaGVkTWFpbk1pc3Npb25JZExpc3QYDCADKA0S",
            "JgoUU3ViTWlzc2lvblN0YXR1c0xpc3QYAiADKAsyCC5NaXNzaW9uEisKI0N1",
            "cnZlcnNpb25GaW5pc2hlZE1haW5NaXNzaW9uSWRMaXN0GAsgAygNEjMKEk1h",
            "aW5NaXNzaW9uTWN2TGlzdBgIIAMoCzIXLk1haW5NaXNzaW9uQ3VzdG9tVmFs",
            "dWVCHqoCG0VnZ0xpbmsuRGFuaGVuZ1NlcnZlci5Qcm90b2IGcHJvdG8z"));
      descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
          new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.MainMissionCustomValueReflection.Descriptor, global::EggLink.DanhengServer.Proto.MissionReflection.Descriptor, },
          new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
            new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.GetMissionStatusScRsp), global::EggLink.DanhengServer.Proto.GetMissionStatusScRsp.Parser, new[]{ "Retcode", "UnfinishedMainMissionIdList", "DisabledMainMissionIdList", "FinishedMainMissionIdList", "SubMissionStatusList", "CurversionFinishedMainMissionIdList", "MainMissionMcvList" }, null, null, null, null)
          }));
    }
    #endregion

  }
  #region Messages
  [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
  public sealed partial class GetMissionStatusScRsp : pb::IMessage<GetMissionStatusScRsp>
  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      , pb::IBufferMessage
  #endif
  {
    private static readonly pb::MessageParser<GetMissionStatusScRsp> _parser = new pb::MessageParser<GetMissionStatusScRsp>(() => new GetMissionStatusScRsp());
    private pb::UnknownFieldSet _unknownFields;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pb::MessageParser<GetMissionStatusScRsp> 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.GetMissionStatusScRspReflection.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 GetMissionStatusScRsp() {
      OnConstruction();
    }

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public GetMissionStatusScRsp(GetMissionStatusScRsp other) : this() {
      retcode_ = other.retcode_;
      unfinishedMainMissionIdList_ = other.unfinishedMainMissionIdList_.Clone();
      disabledMainMissionIdList_ = other.disabledMainMissionIdList_.Clone();
      finishedMainMissionIdList_ = other.finishedMainMissionIdList_.Clone();
      subMissionStatusList_ = other.subMissionStatusList_.Clone();
      curversionFinishedMainMissionIdList_ = other.curversionFinishedMainMissionIdList_.Clone();
      mainMissionMcvList_ = other.mainMissionMcvList_.Clone();
      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
    }

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

    /// <summary>Field number for the "Retcode" field.</summary>
    public const int RetcodeFieldNumber = 1;
    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 "UnfinishedMainMissionIdList" field.</summary>
    public const int UnfinishedMainMissionIdListFieldNumber = 9;
    private static readonly pb::FieldCodec<uint> _repeated_unfinishedMainMissionIdList_codec
        = pb::FieldCodec.ForUInt32(74);
    private readonly pbc::RepeatedField<uint> unfinishedMainMissionIdList_ = new pbc::RepeatedField<uint>();
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public pbc::RepeatedField<uint> UnfinishedMainMissionIdList {
      get { return unfinishedMainMissionIdList_; }
    }

    /// <summary>Field number for the "DisabledMainMissionIdList" field.</summary>
    public const int DisabledMainMissionIdListFieldNumber = 5;
    private static readonly pb::FieldCodec<uint> _repeated_disabledMainMissionIdList_codec
        = pb::FieldCodec.ForUInt32(42);
    private readonly pbc::RepeatedField<uint> disabledMainMissionIdList_ = new pbc::RepeatedField<uint>();
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public pbc::RepeatedField<uint> DisabledMainMissionIdList {
      get { return disabledMainMissionIdList_; }
    }

    /// <summary>Field number for the "FinishedMainMissionIdList" field.</summary>
    public const int FinishedMainMissionIdListFieldNumber = 12;
    private static readonly pb::FieldCodec<uint> _repeated_finishedMainMissionIdList_codec
        = pb::FieldCodec.ForUInt32(98);
    private readonly pbc::RepeatedField<uint> finishedMainMissionIdList_ = new pbc::RepeatedField<uint>();
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public pbc::RepeatedField<uint> FinishedMainMissionIdList {
      get { return finishedMainMissionIdList_; }
    }

    /// <summary>Field number for the "SubMissionStatusList" field.</summary>
    public const int SubMissionStatusListFieldNumber = 2;
    private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.Mission> _repeated_subMissionStatusList_codec
        = pb::FieldCodec.ForMessage(18, global::EggLink.DanhengServer.Proto.Mission.Parser);
    private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.Mission> subMissionStatusList_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.Mission>();
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.Mission> SubMissionStatusList {
      get { return subMissionStatusList_; }
    }

    /// <summary>Field number for the "CurversionFinishedMainMissionIdList" field.</summary>
    public const int CurversionFinishedMainMissionIdListFieldNumber = 11;
    private static readonly pb::FieldCodec<uint> _repeated_curversionFinishedMainMissionIdList_codec
        = pb::FieldCodec.ForUInt32(90);
    private readonly pbc::RepeatedField<uint> curversionFinishedMainMissionIdList_ = new pbc::RepeatedField<uint>();
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public pbc::RepeatedField<uint> CurversionFinishedMainMissionIdList {
      get { return curversionFinishedMainMissionIdList_; }
    }

    /// <summary>Field number for the "MainMissionMcvList" field.</summary>
    public const int MainMissionMcvListFieldNumber = 8;
    private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.MainMissionCustomValue> _repeated_mainMissionMcvList_codec
        = pb::FieldCodec.ForMessage(66, global::EggLink.DanhengServer.Proto.MainMissionCustomValue.Parser);
    private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.MainMissionCustomValue> mainMissionMcvList_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.MainMissionCustomValue>();
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.MainMissionCustomValue> MainMissionMcvList {
      get { return mainMissionMcvList_; }
    }

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

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool Equals(GetMissionStatusScRsp other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if (Retcode != other.Retcode) return false;
      if(!unfinishedMainMissionIdList_.Equals(other.unfinishedMainMissionIdList_)) return false;
      if(!disabledMainMissionIdList_.Equals(other.disabledMainMissionIdList_)) return false;
      if(!finishedMainMissionIdList_.Equals(other.finishedMainMissionIdList_)) return false;
      if(!subMissionStatusList_.Equals(other.subMissionStatusList_)) return false;
      if(!curversionFinishedMainMissionIdList_.Equals(other.curversionFinishedMainMissionIdList_)) return false;
      if(!mainMissionMcvList_.Equals(other.mainMissionMcvList_)) 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 ^= unfinishedMainMissionIdList_.GetHashCode();
      hash ^= disabledMainMissionIdList_.GetHashCode();
      hash ^= finishedMainMissionIdList_.GetHashCode();
      hash ^= subMissionStatusList_.GetHashCode();
      hash ^= curversionFinishedMainMissionIdList_.GetHashCode();
      hash ^= mainMissionMcvList_.GetHashCode();
      if (_unknownFields != null) {
        hash ^= _unknownFields.GetHashCode();
      }
      return hash;
    }

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

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void WriteTo(pb::CodedOutputStream output) {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      output.WriteRawMessage(this);
    #else
      if (Retcode != 0) {
        output.WriteRawTag(8);
        output.WriteUInt32(Retcode);
      }
      subMissionStatusList_.WriteTo(output, _repeated_subMissionStatusList_codec);
      disabledMainMissionIdList_.WriteTo(output, _repeated_disabledMainMissionIdList_codec);
      mainMissionMcvList_.WriteTo(output, _repeated_mainMissionMcvList_codec);
      unfinishedMainMissionIdList_.WriteTo(output, _repeated_unfinishedMainMissionIdList_codec);
      curversionFinishedMainMissionIdList_.WriteTo(output, _repeated_curversionFinishedMainMissionIdList_codec);
      finishedMainMissionIdList_.WriteTo(output, _repeated_finishedMainMissionIdList_codec);
      if (_unknownFields != null) {
        _unknownFields.WriteTo(output);
      }
    #endif
    }

    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
      if (Retcode != 0) {
        output.WriteRawTag(8);
        output.WriteUInt32(Retcode);
      }
      subMissionStatusList_.WriteTo(ref output, _repeated_subMissionStatusList_codec);
      disabledMainMissionIdList_.WriteTo(ref output, _repeated_disabledMainMissionIdList_codec);
      mainMissionMcvList_.WriteTo(ref output, _repeated_mainMissionMcvList_codec);
      unfinishedMainMissionIdList_.WriteTo(ref output, _repeated_unfinishedMainMissionIdList_codec);
      curversionFinishedMainMissionIdList_.WriteTo(ref output, _repeated_curversionFinishedMainMissionIdList_codec);
      finishedMainMissionIdList_.WriteTo(ref output, _repeated_finishedMainMissionIdList_codec);
      if (_unknownFields != null) {
        _unknownFields.WriteTo(ref output);
      }
    }
    #endif

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public int CalculateSize() {
      int size = 0;
      if (Retcode != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Retcode);
      }
      size += unfinishedMainMissionIdList_.CalculateSize(_repeated_unfinishedMainMissionIdList_codec);
      size += disabledMainMissionIdList_.CalculateSize(_repeated_disabledMainMissionIdList_codec);
      size += finishedMainMissionIdList_.CalculateSize(_repeated_finishedMainMissionIdList_codec);
      size += subMissionStatusList_.CalculateSize(_repeated_subMissionStatusList_codec);
      size += curversionFinishedMainMissionIdList_.CalculateSize(_repeated_curversionFinishedMainMissionIdList_codec);
      size += mainMissionMcvList_.CalculateSize(_repeated_mainMissionMcvList_codec);
      if (_unknownFields != null) {
        size += _unknownFields.CalculateSize();
      }
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(GetMissionStatusScRsp other) {
      if (other == null) {
        return;
      }
      if (other.Retcode != 0) {
        Retcode = other.Retcode;
      }
      unfinishedMainMissionIdList_.Add(other.unfinishedMainMissionIdList_);
      disabledMainMissionIdList_.Add(other.disabledMainMissionIdList_);
      finishedMainMissionIdList_.Add(other.finishedMainMissionIdList_);
      subMissionStatusList_.Add(other.subMissionStatusList_);
      curversionFinishedMainMissionIdList_.Add(other.curversionFinishedMainMissionIdList_);
      mainMissionMcvList_.Add(other.mainMissionMcvList_);
      _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 8: {
            Retcode = input.ReadUInt32();
            break;
          }
          case 18: {
            subMissionStatusList_.AddEntriesFrom(input, _repeated_subMissionStatusList_codec);
            break;
          }
          case 42:
          case 40: {
            disabledMainMissionIdList_.AddEntriesFrom(input, _repeated_disabledMainMissionIdList_codec);
            break;
          }
          case 66: {
            mainMissionMcvList_.AddEntriesFrom(input, _repeated_mainMissionMcvList_codec);
            break;
          }
          case 74:
          case 72: {
            unfinishedMainMissionIdList_.AddEntriesFrom(input, _repeated_unfinishedMainMissionIdList_codec);
            break;
          }
          case 90:
          case 88: {
            curversionFinishedMainMissionIdList_.AddEntriesFrom(input, _repeated_curversionFinishedMainMissionIdList_codec);
            break;
          }
          case 98:
          case 96: {
            finishedMainMissionIdList_.AddEntriesFrom(input, _repeated_finishedMainMissionIdList_codec);
            break;
          }
        }
      }
    #endif
    }

    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
            break;
          case 8: {
            Retcode = input.ReadUInt32();
            break;
          }
          case 18: {
            subMissionStatusList_.AddEntriesFrom(ref input, _repeated_subMissionStatusList_codec);
            break;
          }
          case 42:
          case 40: {
            disabledMainMissionIdList_.AddEntriesFrom(ref input, _repeated_disabledMainMissionIdList_codec);
            break;
          }
          case 66: {
            mainMissionMcvList_.AddEntriesFrom(ref input, _repeated_mainMissionMcvList_codec);
            break;
          }
          case 74:
          case 72: {
            unfinishedMainMissionIdList_.AddEntriesFrom(ref input, _repeated_unfinishedMainMissionIdList_codec);
            break;
          }
          case 90:
          case 88: {
            curversionFinishedMainMissionIdList_.AddEntriesFrom(ref input, _repeated_curversionFinishedMainMissionIdList_codec);
            break;
          }
          case 98:
          case 96: {
            finishedMainMissionIdList_.AddEntriesFrom(ref input, _repeated_finishedMainMissionIdList_codec);
            break;
          }
        }
      }
    }
    #endif

  }

  #endregion

}

#endregion Designer generated code
