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

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

    static BHGBOOJEOPFReflection() {
      byte[] descriptorData = global::System.Convert.FromBase64String(
          string.Concat(
            "ChFCSEdCT09KRU9QRi5wcm90byJfCgtCSEdCT09KRU9QRhIPCgdjYXJkX2lk",
            "GAEgASgNEhUKDWRpc3BsYXlfdmFsdWUYAiABKAESEwoLUE1GSE1CQ0ZDUEUY",
            "AyABKAgSEwoLc3dpdGNoX2xpc3QYBCADKAFCHqoCG0VnZ0xpbmsuRGFuaGVu",
            "Z1NlcnZlci5Qcm90b2IGcHJvdG8z"));
      descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
          new pbr::FileDescriptor[] { },
          new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
            new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.BHGBOOJEOPF), global::EggLink.DanhengServer.Proto.BHGBOOJEOPF.Parser, new[]{ "CardId", "DisplayValue", "PMFHMBCFCPE", "SwitchList" }, null, null, null, null)
          }));
    }
    #endregion

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

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public BHGBOOJEOPF(BHGBOOJEOPF other) : this() {
      cardId_ = other.cardId_;
      displayValue_ = other.displayValue_;
      pMFHMBCFCPE_ = other.pMFHMBCFCPE_;
      switchList_ = other.switchList_.Clone();
      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
    }

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

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

    /// <summary>Field number for the "display_value" field.</summary>
    public const int DisplayValueFieldNumber = 2;
    private double displayValue_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public double DisplayValue {
      get { return displayValue_; }
      set {
        displayValue_ = value;
      }
    }

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

    /// <summary>Field number for the "switch_list" field.</summary>
    public const int SwitchListFieldNumber = 4;
    private static readonly pb::FieldCodec<double> _repeated_switchList_codec
        = pb::FieldCodec.ForDouble(34);
    private readonly pbc::RepeatedField<double> switchList_ = new pbc::RepeatedField<double>();
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public pbc::RepeatedField<double> SwitchList {
      get { return switchList_; }
    }

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

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool Equals(BHGBOOJEOPF other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if (CardId != other.CardId) return false;
      if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(DisplayValue, other.DisplayValue)) return false;
      if (PMFHMBCFCPE != other.PMFHMBCFCPE) return false;
      if(!switchList_.Equals(other.switchList_)) 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 (CardId != 0) hash ^= CardId.GetHashCode();
      if (DisplayValue != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(DisplayValue);
      if (PMFHMBCFCPE != false) hash ^= PMFHMBCFCPE.GetHashCode();
      hash ^= switchList_.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 (CardId != 0) {
        output.WriteRawTag(8);
        output.WriteUInt32(CardId);
      }
      if (DisplayValue != 0D) {
        output.WriteRawTag(17);
        output.WriteDouble(DisplayValue);
      }
      if (PMFHMBCFCPE != false) {
        output.WriteRawTag(24);
        output.WriteBool(PMFHMBCFCPE);
      }
      switchList_.WriteTo(output, _repeated_switchList_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 (CardId != 0) {
        output.WriteRawTag(8);
        output.WriteUInt32(CardId);
      }
      if (DisplayValue != 0D) {
        output.WriteRawTag(17);
        output.WriteDouble(DisplayValue);
      }
      if (PMFHMBCFCPE != false) {
        output.WriteRawTag(24);
        output.WriteBool(PMFHMBCFCPE);
      }
      switchList_.WriteTo(ref output, _repeated_switchList_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 (CardId != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CardId);
      }
      if (DisplayValue != 0D) {
        size += 1 + 8;
      }
      if (PMFHMBCFCPE != false) {
        size += 1 + 1;
      }
      size += switchList_.CalculateSize(_repeated_switchList_codec);
      if (_unknownFields != null) {
        size += _unknownFields.CalculateSize();
      }
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(BHGBOOJEOPF other) {
      if (other == null) {
        return;
      }
      if (other.CardId != 0) {
        CardId = other.CardId;
      }
      if (other.DisplayValue != 0D) {
        DisplayValue = other.DisplayValue;
      }
      if (other.PMFHMBCFCPE != false) {
        PMFHMBCFCPE = other.PMFHMBCFCPE;
      }
      switchList_.Add(other.switchList_);
      _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: {
            CardId = input.ReadUInt32();
            break;
          }
          case 17: {
            DisplayValue = input.ReadDouble();
            break;
          }
          case 24: {
            PMFHMBCFCPE = input.ReadBool();
            break;
          }
          case 34:
          case 33: {
            switchList_.AddEntriesFrom(input, _repeated_switchList_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: {
            CardId = input.ReadUInt32();
            break;
          }
          case 17: {
            DisplayValue = input.ReadDouble();
            break;
          }
          case 24: {
            PMFHMBCFCPE = input.ReadBool();
            break;
          }
          case 34:
          case 33: {
            switchList_.AddEntriesFrom(ref input, _repeated_switchList_codec);
            break;
          }
        }
      }
    }
    #endif

  }

  #endregion

}

#endregion Designer generated code
