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

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

    static QueryProductInfoScRspReflection() {
      byte[] descriptorData = global::System.Convert.FromBase64String(
          string.Concat(
            "ChtRdWVyeVByb2R1Y3RJbmZvU2NSc3AucHJvdG8aDVByb2R1Y3QucHJvdG8i",
            "lAEKFVF1ZXJ5UHJvZHVjdEluZm9TY1JzcBIeCgxwcm9kdWN0X2xpc3QYCCAD",
            "KAsyCC5Qcm9kdWN0EiAKGG1vbnRoX2NhcmRfb3V0X2RhdGVfdGltZRgPIAEo",
            "BBITCgtPRE5GSUFBSEtDSRgBIAEoDRIPCgdyZXRjb2RlGAsgASgNEhMKC0NN",
            "R0hETVBFQUtPGA4gASgNQh6qAhtFZ2dMaW5rLkRhbmhlbmdTZXJ2ZXIuUHJv",
            "dG9iBnByb3RvMw=="));
      descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
          new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.ProductReflection.Descriptor, },
          new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
            new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.QueryProductInfoScRsp), global::EggLink.DanhengServer.Proto.QueryProductInfoScRsp.Parser, new[]{ "ProductList", "MonthCardOutDateTime", "ODNFIAAHKCI", "Retcode", "CMGHDMPEAKO" }, null, null, null, null)
          }));
    }
    #endregion

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

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public QueryProductInfoScRsp(QueryProductInfoScRsp other) : this() {
      productList_ = other.productList_.Clone();
      monthCardOutDateTime_ = other.monthCardOutDateTime_;
      oDNFIAAHKCI_ = other.oDNFIAAHKCI_;
      retcode_ = other.retcode_;
      cMGHDMPEAKO_ = other.cMGHDMPEAKO_;
      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
    }

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

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

    /// <summary>Field number for the "month_card_out_date_time" field.</summary>
    public const int MonthCardOutDateTimeFieldNumber = 15;
    private ulong monthCardOutDateTime_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public ulong MonthCardOutDateTime {
      get { return monthCardOutDateTime_; }
      set {
        monthCardOutDateTime_ = value;
      }
    }

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

    /// <summary>Field number for the "retcode" field.</summary>
    public const int RetcodeFieldNumber = 11;
    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 "CMGHDMPEAKO" field.</summary>
    public const int CMGHDMPEAKOFieldNumber = 14;
    private uint cMGHDMPEAKO_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public uint CMGHDMPEAKO {
      get { return cMGHDMPEAKO_; }
      set {
        cMGHDMPEAKO_ = value;
      }
    }

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

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool Equals(QueryProductInfoScRsp other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if(!productList_.Equals(other.productList_)) return false;
      if (MonthCardOutDateTime != other.MonthCardOutDateTime) return false;
      if (ODNFIAAHKCI != other.ODNFIAAHKCI) return false;
      if (Retcode != other.Retcode) return false;
      if (CMGHDMPEAKO != other.CMGHDMPEAKO) 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 ^= productList_.GetHashCode();
      if (MonthCardOutDateTime != 0UL) hash ^= MonthCardOutDateTime.GetHashCode();
      if (ODNFIAAHKCI != 0) hash ^= ODNFIAAHKCI.GetHashCode();
      if (Retcode != 0) hash ^= Retcode.GetHashCode();
      if (CMGHDMPEAKO != 0) hash ^= CMGHDMPEAKO.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 (ODNFIAAHKCI != 0) {
        output.WriteRawTag(8);
        output.WriteUInt32(ODNFIAAHKCI);
      }
      productList_.WriteTo(output, _repeated_productList_codec);
      if (Retcode != 0) {
        output.WriteRawTag(88);
        output.WriteUInt32(Retcode);
      }
      if (CMGHDMPEAKO != 0) {
        output.WriteRawTag(112);
        output.WriteUInt32(CMGHDMPEAKO);
      }
      if (MonthCardOutDateTime != 0UL) {
        output.WriteRawTag(120);
        output.WriteUInt64(MonthCardOutDateTime);
      }
      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 (ODNFIAAHKCI != 0) {
        output.WriteRawTag(8);
        output.WriteUInt32(ODNFIAAHKCI);
      }
      productList_.WriteTo(ref output, _repeated_productList_codec);
      if (Retcode != 0) {
        output.WriteRawTag(88);
        output.WriteUInt32(Retcode);
      }
      if (CMGHDMPEAKO != 0) {
        output.WriteRawTag(112);
        output.WriteUInt32(CMGHDMPEAKO);
      }
      if (MonthCardOutDateTime != 0UL) {
        output.WriteRawTag(120);
        output.WriteUInt64(MonthCardOutDateTime);
      }
      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 += productList_.CalculateSize(_repeated_productList_codec);
      if (MonthCardOutDateTime != 0UL) {
        size += 1 + pb::CodedOutputStream.ComputeUInt64Size(MonthCardOutDateTime);
      }
      if (ODNFIAAHKCI != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ODNFIAAHKCI);
      }
      if (Retcode != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Retcode);
      }
      if (CMGHDMPEAKO != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CMGHDMPEAKO);
      }
      if (_unknownFields != null) {
        size += _unknownFields.CalculateSize();
      }
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(QueryProductInfoScRsp other) {
      if (other == null) {
        return;
      }
      productList_.Add(other.productList_);
      if (other.MonthCardOutDateTime != 0UL) {
        MonthCardOutDateTime = other.MonthCardOutDateTime;
      }
      if (other.ODNFIAAHKCI != 0) {
        ODNFIAAHKCI = other.ODNFIAAHKCI;
      }
      if (other.Retcode != 0) {
        Retcode = other.Retcode;
      }
      if (other.CMGHDMPEAKO != 0) {
        CMGHDMPEAKO = other.CMGHDMPEAKO;
      }
      _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: {
            ODNFIAAHKCI = input.ReadUInt32();
            break;
          }
          case 66: {
            productList_.AddEntriesFrom(input, _repeated_productList_codec);
            break;
          }
          case 88: {
            Retcode = input.ReadUInt32();
            break;
          }
          case 112: {
            CMGHDMPEAKO = input.ReadUInt32();
            break;
          }
          case 120: {
            MonthCardOutDateTime = input.ReadUInt64();
            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: {
            ODNFIAAHKCI = input.ReadUInt32();
            break;
          }
          case 66: {
            productList_.AddEntriesFrom(ref input, _repeated_productList_codec);
            break;
          }
          case 88: {
            Retcode = input.ReadUInt32();
            break;
          }
          case 112: {
            CMGHDMPEAKO = input.ReadUInt32();
            break;
          }
          case 120: {
            MonthCardOutDateTime = input.ReadUInt64();
            break;
          }
        }
      }
    }
    #endif

  }

  #endregion

}

#endregion Designer generated code
