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

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

    static GetPhoneDataScRspReflection() {
      byte[] descriptorData = global::System.Convert.FromBase64String(
          string.Concat(
            "ChdHZXRQaG9uZURhdGFTY1JzcC5wcm90byLBAQoRR2V0UGhvbmVEYXRhU2NS",
            "c3ASGgoSb3duZWRfcGhvbmVfdGhlbWVzGAYgAygNEhkKEW93bmVkX3Bob25l",
            "X2Nhc2VzGAwgAygNEhcKD2N1cl9jaGF0X2J1YmJsZRgEIAEoDRIWCg5jdXJf",
            "cGhvbmVfY2FzZRgLIAEoDRIaChJvd25lZF9jaGF0X2J1YmJsZXMYCiADKA0S",
            "FwoPY3VyX3Bob25lX3RoZW1lGAMgASgNEg8KB3JldGNvZGUYDiABKA1CHqoC",
            "G0VnZ0xpbmsuRGFuaGVuZ1NlcnZlci5Qcm90b2IGcHJvdG8z"));
      descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
          new pbr::FileDescriptor[] { },
          new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
            new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.GetPhoneDataScRsp), global::EggLink.DanhengServer.Proto.GetPhoneDataScRsp.Parser, new[]{ "OwnedPhoneThemes", "OwnedPhoneCases", "CurChatBubble", "CurPhoneCase", "OwnedChatBubbles", "CurPhoneTheme", "Retcode" }, null, null, null, null)
          }));
    }
    #endregion

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

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public GetPhoneDataScRsp(GetPhoneDataScRsp other) : this() {
      ownedPhoneThemes_ = other.ownedPhoneThemes_.Clone();
      ownedPhoneCases_ = other.ownedPhoneCases_.Clone();
      curChatBubble_ = other.curChatBubble_;
      curPhoneCase_ = other.curPhoneCase_;
      ownedChatBubbles_ = other.ownedChatBubbles_.Clone();
      curPhoneTheme_ = other.curPhoneTheme_;
      retcode_ = other.retcode_;
      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
    }

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

    /// <summary>Field number for the "owned_phone_themes" field.</summary>
    public const int OwnedPhoneThemesFieldNumber = 6;
    private static readonly pb::FieldCodec<uint> _repeated_ownedPhoneThemes_codec
        = pb::FieldCodec.ForUInt32(50);
    private readonly pbc::RepeatedField<uint> ownedPhoneThemes_ = new pbc::RepeatedField<uint>();
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public pbc::RepeatedField<uint> OwnedPhoneThemes {
      get { return ownedPhoneThemes_; }
    }

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

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

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

    /// <summary>Field number for the "owned_chat_bubbles" field.</summary>
    public const int OwnedChatBubblesFieldNumber = 10;
    private static readonly pb::FieldCodec<uint> _repeated_ownedChatBubbles_codec
        = pb::FieldCodec.ForUInt32(82);
    private readonly pbc::RepeatedField<uint> ownedChatBubbles_ = new pbc::RepeatedField<uint>();
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public pbc::RepeatedField<uint> OwnedChatBubbles {
      get { return ownedChatBubbles_; }
    }

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

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

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

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool Equals(GetPhoneDataScRsp other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if(!ownedPhoneThemes_.Equals(other.ownedPhoneThemes_)) return false;
      if(!ownedPhoneCases_.Equals(other.ownedPhoneCases_)) return false;
      if (CurChatBubble != other.CurChatBubble) return false;
      if (CurPhoneCase != other.CurPhoneCase) return false;
      if(!ownedChatBubbles_.Equals(other.ownedChatBubbles_)) return false;
      if (CurPhoneTheme != other.CurPhoneTheme) return false;
      if (Retcode != other.Retcode) 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 ^= ownedPhoneThemes_.GetHashCode();
      hash ^= ownedPhoneCases_.GetHashCode();
      if (CurChatBubble != 0) hash ^= CurChatBubble.GetHashCode();
      if (CurPhoneCase != 0) hash ^= CurPhoneCase.GetHashCode();
      hash ^= ownedChatBubbles_.GetHashCode();
      if (CurPhoneTheme != 0) hash ^= CurPhoneTheme.GetHashCode();
      if (Retcode != 0) hash ^= Retcode.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 (CurPhoneTheme != 0) {
        output.WriteRawTag(24);
        output.WriteUInt32(CurPhoneTheme);
      }
      if (CurChatBubble != 0) {
        output.WriteRawTag(32);
        output.WriteUInt32(CurChatBubble);
      }
      ownedPhoneThemes_.WriteTo(output, _repeated_ownedPhoneThemes_codec);
      ownedChatBubbles_.WriteTo(output, _repeated_ownedChatBubbles_codec);
      if (CurPhoneCase != 0) {
        output.WriteRawTag(88);
        output.WriteUInt32(CurPhoneCase);
      }
      ownedPhoneCases_.WriteTo(output, _repeated_ownedPhoneCases_codec);
      if (Retcode != 0) {
        output.WriteRawTag(112);
        output.WriteUInt32(Retcode);
      }
      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 (CurPhoneTheme != 0) {
        output.WriteRawTag(24);
        output.WriteUInt32(CurPhoneTheme);
      }
      if (CurChatBubble != 0) {
        output.WriteRawTag(32);
        output.WriteUInt32(CurChatBubble);
      }
      ownedPhoneThemes_.WriteTo(ref output, _repeated_ownedPhoneThemes_codec);
      ownedChatBubbles_.WriteTo(ref output, _repeated_ownedChatBubbles_codec);
      if (CurPhoneCase != 0) {
        output.WriteRawTag(88);
        output.WriteUInt32(CurPhoneCase);
      }
      ownedPhoneCases_.WriteTo(ref output, _repeated_ownedPhoneCases_codec);
      if (Retcode != 0) {
        output.WriteRawTag(112);
        output.WriteUInt32(Retcode);
      }
      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 += ownedPhoneThemes_.CalculateSize(_repeated_ownedPhoneThemes_codec);
      size += ownedPhoneCases_.CalculateSize(_repeated_ownedPhoneCases_codec);
      if (CurChatBubble != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CurChatBubble);
      }
      if (CurPhoneCase != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CurPhoneCase);
      }
      size += ownedChatBubbles_.CalculateSize(_repeated_ownedChatBubbles_codec);
      if (CurPhoneTheme != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CurPhoneTheme);
      }
      if (Retcode != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Retcode);
      }
      if (_unknownFields != null) {
        size += _unknownFields.CalculateSize();
      }
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(GetPhoneDataScRsp other) {
      if (other == null) {
        return;
      }
      ownedPhoneThemes_.Add(other.ownedPhoneThemes_);
      ownedPhoneCases_.Add(other.ownedPhoneCases_);
      if (other.CurChatBubble != 0) {
        CurChatBubble = other.CurChatBubble;
      }
      if (other.CurPhoneCase != 0) {
        CurPhoneCase = other.CurPhoneCase;
      }
      ownedChatBubbles_.Add(other.ownedChatBubbles_);
      if (other.CurPhoneTheme != 0) {
        CurPhoneTheme = other.CurPhoneTheme;
      }
      if (other.Retcode != 0) {
        Retcode = other.Retcode;
      }
      _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 24: {
            CurPhoneTheme = input.ReadUInt32();
            break;
          }
          case 32: {
            CurChatBubble = input.ReadUInt32();
            break;
          }
          case 50:
          case 48: {
            ownedPhoneThemes_.AddEntriesFrom(input, _repeated_ownedPhoneThemes_codec);
            break;
          }
          case 82:
          case 80: {
            ownedChatBubbles_.AddEntriesFrom(input, _repeated_ownedChatBubbles_codec);
            break;
          }
          case 88: {
            CurPhoneCase = input.ReadUInt32();
            break;
          }
          case 98:
          case 96: {
            ownedPhoneCases_.AddEntriesFrom(input, _repeated_ownedPhoneCases_codec);
            break;
          }
          case 112: {
            Retcode = 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 24: {
            CurPhoneTheme = input.ReadUInt32();
            break;
          }
          case 32: {
            CurChatBubble = input.ReadUInt32();
            break;
          }
          case 50:
          case 48: {
            ownedPhoneThemes_.AddEntriesFrom(ref input, _repeated_ownedPhoneThemes_codec);
            break;
          }
          case 82:
          case 80: {
            ownedChatBubbles_.AddEntriesFrom(ref input, _repeated_ownedChatBubbles_codec);
            break;
          }
          case 88: {
            CurPhoneCase = input.ReadUInt32();
            break;
          }
          case 98:
          case 96: {
            ownedPhoneCases_.AddEntriesFrom(ref input, _repeated_ownedPhoneCases_codec);
            break;
          }
          case 112: {
            Retcode = input.ReadUInt32();
            break;
          }
        }
      }
    }
    #endif

  }

  #endregion

}

#endregion Designer generated code
