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

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

    static SwitchHandDataScRspReflection() {
      byte[] descriptorData = global::System.Convert.FromBase64String(
          string.Concat(
            "ChlTd2l0Y2hIYW5kRGF0YVNjUnNwLnByb3RvGg5IYW5kSW5mby5wcm90byJ1",
            "ChNTd2l0Y2hIYW5kRGF0YVNjUnNwEhMKC0FCT0pKQU5ERk5PGAYgASgNEhMK",
            "C0RMTkdISERNSkpNGAggASgNEg8KB3JldGNvZGUYASABKA0SIwoQdGFyZ2V0",
            "X2hhbmRfaW5mbxgMIAMoCzIJLkhhbmRJbmZvQh6qAhtFZ2dMaW5rLkRhbmhl",
            "bmdTZXJ2ZXIuUHJvdG9iBnByb3RvMw=="));
      descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
          new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.HandInfoReflection.Descriptor, },
          new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
            new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.SwitchHandDataScRsp), global::EggLink.DanhengServer.Proto.SwitchHandDataScRsp.Parser, new[]{ "ABOJJANDFNO", "DLNGHHDMJJM", "Retcode", "TargetHandInfo" }, null, null, null, null)
          }));
    }
    #endregion

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

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public SwitchHandDataScRsp(SwitchHandDataScRsp other) : this() {
      aBOJJANDFNO_ = other.aBOJJANDFNO_;
      dLNGHHDMJJM_ = other.dLNGHHDMJJM_;
      retcode_ = other.retcode_;
      targetHandInfo_ = other.targetHandInfo_.Clone();
      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
    }

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

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

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

    /// <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 "target_hand_info" field.</summary>
    public const int TargetHandInfoFieldNumber = 12;
    private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.HandInfo> _repeated_targetHandInfo_codec
        = pb::FieldCodec.ForMessage(98, global::EggLink.DanhengServer.Proto.HandInfo.Parser);
    private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.HandInfo> targetHandInfo_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.HandInfo>();
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.HandInfo> TargetHandInfo {
      get { return targetHandInfo_; }
    }

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

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool Equals(SwitchHandDataScRsp other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if (ABOJJANDFNO != other.ABOJJANDFNO) return false;
      if (DLNGHHDMJJM != other.DLNGHHDMJJM) return false;
      if (Retcode != other.Retcode) return false;
      if(!targetHandInfo_.Equals(other.targetHandInfo_)) 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 (ABOJJANDFNO != 0) hash ^= ABOJJANDFNO.GetHashCode();
      if (DLNGHHDMJJM != 0) hash ^= DLNGHHDMJJM.GetHashCode();
      if (Retcode != 0) hash ^= Retcode.GetHashCode();
      hash ^= targetHandInfo_.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);
      }
      if (ABOJJANDFNO != 0) {
        output.WriteRawTag(48);
        output.WriteUInt32(ABOJJANDFNO);
      }
      if (DLNGHHDMJJM != 0) {
        output.WriteRawTag(64);
        output.WriteUInt32(DLNGHHDMJJM);
      }
      targetHandInfo_.WriteTo(output, _repeated_targetHandInfo_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);
      }
      if (ABOJJANDFNO != 0) {
        output.WriteRawTag(48);
        output.WriteUInt32(ABOJJANDFNO);
      }
      if (DLNGHHDMJJM != 0) {
        output.WriteRawTag(64);
        output.WriteUInt32(DLNGHHDMJJM);
      }
      targetHandInfo_.WriteTo(ref output, _repeated_targetHandInfo_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 (ABOJJANDFNO != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ABOJJANDFNO);
      }
      if (DLNGHHDMJJM != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(DLNGHHDMJJM);
      }
      if (Retcode != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Retcode);
      }
      size += targetHandInfo_.CalculateSize(_repeated_targetHandInfo_codec);
      if (_unknownFields != null) {
        size += _unknownFields.CalculateSize();
      }
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(SwitchHandDataScRsp other) {
      if (other == null) {
        return;
      }
      if (other.ABOJJANDFNO != 0) {
        ABOJJANDFNO = other.ABOJJANDFNO;
      }
      if (other.DLNGHHDMJJM != 0) {
        DLNGHHDMJJM = other.DLNGHHDMJJM;
      }
      if (other.Retcode != 0) {
        Retcode = other.Retcode;
      }
      targetHandInfo_.Add(other.targetHandInfo_);
      _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 48: {
            ABOJJANDFNO = input.ReadUInt32();
            break;
          }
          case 64: {
            DLNGHHDMJJM = input.ReadUInt32();
            break;
          }
          case 98: {
            targetHandInfo_.AddEntriesFrom(input, _repeated_targetHandInfo_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 48: {
            ABOJJANDFNO = input.ReadUInt32();
            break;
          }
          case 64: {
            DLNGHHDMJJM = input.ReadUInt32();
            break;
          }
          case 98: {
            targetHandInfo_.AddEntriesFrom(ref input, _repeated_targetHandInfo_codec);
            break;
          }
        }
      }
    }
    #endif

  }

  #endregion

}

#endregion Designer generated code
