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

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

    static SetGrowthTargetAvatarCsReqReflection() {
      byte[] descriptorData = global::System.Convert.FromBase64String(
          string.Concat(
            "CiBTZXRHcm93dGhUYXJnZXRBdmF0YXJDc1JlcS5wcm90bxoXR3Jvd3RoVGFy",
            "Z2V0U3RhdGUucHJvdG8aG0dyb3d0aFRhcnRnZXRGdW5jVHlwZS5wcm90byKh",
            "AQoaU2V0R3Jvd3RoVGFyZ2V0QXZhdGFyQ3NSZXESNwoXZ3Jvd3RoX3Rhcmdl",
            "dF90eXBlX2xpc3QYAyADKA4yFi5Hcm93dGhUYXJ0Z2V0RnVuY1R5cGUSEQoJ",
            "YXZhdGFyX2lkGAYgASgNEiIKBnNvdXJjZRgJIAEoDjISLkdyb3d0aFRhcmdl",
            "dFN0YXRlEhMKC0lETk1FS05ITFBPGAwgASgNQh6qAhtFZ2dMaW5rLkRhbmhl",
            "bmdTZXJ2ZXIuUHJvdG9iBnByb3RvMw=="));
      descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
          new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.GrowthTargetStateReflection.Descriptor, global::EggLink.DanhengServer.Proto.GrowthTartgetFuncTypeReflection.Descriptor, },
          new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
            new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.SetGrowthTargetAvatarCsReq), global::EggLink.DanhengServer.Proto.SetGrowthTargetAvatarCsReq.Parser, new[]{ "GrowthTargetTypeList", "AvatarId", "Source", "IDNMEKNHLPO" }, null, null, null, null)
          }));
    }
    #endregion

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

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public SetGrowthTargetAvatarCsReq(SetGrowthTargetAvatarCsReq other) : this() {
      growthTargetTypeList_ = other.growthTargetTypeList_.Clone();
      avatarId_ = other.avatarId_;
      source_ = other.source_;
      iDNMEKNHLPO_ = other.iDNMEKNHLPO_;
      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
    }

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

    /// <summary>Field number for the "growth_target_type_list" field.</summary>
    public const int GrowthTargetTypeListFieldNumber = 3;
    private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.GrowthTartgetFuncType> _repeated_growthTargetTypeList_codec
        = pb::FieldCodec.ForEnum(26, x => (int) x, x => (global::EggLink.DanhengServer.Proto.GrowthTartgetFuncType) x);
    private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.GrowthTartgetFuncType> growthTargetTypeList_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.GrowthTartgetFuncType>();
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.GrowthTartgetFuncType> GrowthTargetTypeList {
      get { return growthTargetTypeList_; }
    }

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

    /// <summary>Field number for the "source" field.</summary>
    public const int SourceFieldNumber = 9;
    private global::EggLink.DanhengServer.Proto.GrowthTargetState source_ = global::EggLink.DanhengServer.Proto.GrowthTargetState.GrowthTargetAvatarNone;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::EggLink.DanhengServer.Proto.GrowthTargetState Source {
      get { return source_; }
      set {
        source_ = value;
      }
    }

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

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

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool Equals(SetGrowthTargetAvatarCsReq other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if(!growthTargetTypeList_.Equals(other.growthTargetTypeList_)) return false;
      if (AvatarId != other.AvatarId) return false;
      if (Source != other.Source) return false;
      if (IDNMEKNHLPO != other.IDNMEKNHLPO) 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;
      hash ^= growthTargetTypeList_.GetHashCode();
      if (AvatarId != 0) hash ^= AvatarId.GetHashCode();
      if (Source != global::EggLink.DanhengServer.Proto.GrowthTargetState.GrowthTargetAvatarNone) hash ^= Source.GetHashCode();
      if (IDNMEKNHLPO != 0) hash ^= IDNMEKNHLPO.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
      growthTargetTypeList_.WriteTo(output, _repeated_growthTargetTypeList_codec);
      if (AvatarId != 0) {
        output.WriteRawTag(48);
        output.WriteUInt32(AvatarId);
      }
      if (Source != global::EggLink.DanhengServer.Proto.GrowthTargetState.GrowthTargetAvatarNone) {
        output.WriteRawTag(72);
        output.WriteEnum((int) Source);
      }
      if (IDNMEKNHLPO != 0) {
        output.WriteRawTag(96);
        output.WriteUInt32(IDNMEKNHLPO);
      }
      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) {
      growthTargetTypeList_.WriteTo(ref output, _repeated_growthTargetTypeList_codec);
      if (AvatarId != 0) {
        output.WriteRawTag(48);
        output.WriteUInt32(AvatarId);
      }
      if (Source != global::EggLink.DanhengServer.Proto.GrowthTargetState.GrowthTargetAvatarNone) {
        output.WriteRawTag(72);
        output.WriteEnum((int) Source);
      }
      if (IDNMEKNHLPO != 0) {
        output.WriteRawTag(96);
        output.WriteUInt32(IDNMEKNHLPO);
      }
      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;
      size += growthTargetTypeList_.CalculateSize(_repeated_growthTargetTypeList_codec);
      if (AvatarId != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(AvatarId);
      }
      if (Source != global::EggLink.DanhengServer.Proto.GrowthTargetState.GrowthTargetAvatarNone) {
        size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Source);
      }
      if (IDNMEKNHLPO != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(IDNMEKNHLPO);
      }
      if (_unknownFields != null) {
        size += _unknownFields.CalculateSize();
      }
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(SetGrowthTargetAvatarCsReq other) {
      if (other == null) {
        return;
      }
      growthTargetTypeList_.Add(other.growthTargetTypeList_);
      if (other.AvatarId != 0) {
        AvatarId = other.AvatarId;
      }
      if (other.Source != global::EggLink.DanhengServer.Proto.GrowthTargetState.GrowthTargetAvatarNone) {
        Source = other.Source;
      }
      if (other.IDNMEKNHLPO != 0) {
        IDNMEKNHLPO = other.IDNMEKNHLPO;
      }
      _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 26:
          case 24: {
            growthTargetTypeList_.AddEntriesFrom(input, _repeated_growthTargetTypeList_codec);
            break;
          }
          case 48: {
            AvatarId = input.ReadUInt32();
            break;
          }
          case 72: {
            Source = (global::EggLink.DanhengServer.Proto.GrowthTargetState) input.ReadEnum();
            break;
          }
          case 96: {
            IDNMEKNHLPO = 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 26:
          case 24: {
            growthTargetTypeList_.AddEntriesFrom(ref input, _repeated_growthTargetTypeList_codec);
            break;
          }
          case 48: {
            AvatarId = input.ReadUInt32();
            break;
          }
          case 72: {
            Source = (global::EggLink.DanhengServer.Proto.GrowthTargetState) input.ReadEnum();
            break;
          }
          case 96: {
            IDNMEKNHLPO = input.ReadUInt32();
            break;
          }
        }
      }
    }
    #endif

  }

  #endregion

}

#endregion Designer generated code
