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

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

    static GridFightShopSyncInfoReflection() {
      byte[] descriptorData = global::System.Convert.FromBase64String(
          string.Concat(
            "ChtHcmlkRmlnaHRTaG9wU3luY0luZm8ucHJvdG8aHEdyaWRGaWdodFNob3BH",
            "b29kc0luZm8ucHJvdG8aIUdyaWRGaWdodFNob3BSYW5kb21SdWxlSW5mby5w",
            "cm90byLgAQoVR3JpZEZpZ2h0U2hvcFN5bmNJbmZvEkEKG2dyaWRfZmlnaHRf",
            "c2hvcF9yYW5kb21fcnVsZRgMIAEoCzIcLkdyaWRGaWdodFNob3BSYW5kb21S",
            "dWxlSW5mbxIWCg5zaG9wX2lzX2xvY2tlZBgIIAEoCBIwCg9zaG9wX2dvb2Rz",
            "X2xpc3QYDiADKAsyFy5HcmlkRmlnaHRTaG9wR29vZHNJbmZvEh8KF3Nob3Bf",
            "ZnJlZV9yZWZyZXNoX2NvdW50GAogASgNEhkKEXNob3BfcmVmcmVzaF9jb3N0",
            "GAcgASgNQh6qAhtFZ2dMaW5rLkRhbmhlbmdTZXJ2ZXIuUHJvdG9iBnByb3Rv",
            "Mw=="));
      descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
          new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.GridFightShopGoodsInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.GridFightShopRandomRuleInfoReflection.Descriptor, },
          new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
            new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.GridFightShopSyncInfo), global::EggLink.DanhengServer.Proto.GridFightShopSyncInfo.Parser, new[]{ "GridFightShopRandomRule", "ShopIsLocked", "ShopGoodsList", "ShopFreeRefreshCount", "ShopRefreshCost" }, null, null, null, null)
          }));
    }
    #endregion

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

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public GridFightShopSyncInfo(GridFightShopSyncInfo other) : this() {
      gridFightShopRandomRule_ = other.gridFightShopRandomRule_ != null ? other.gridFightShopRandomRule_.Clone() : null;
      shopIsLocked_ = other.shopIsLocked_;
      shopGoodsList_ = other.shopGoodsList_.Clone();
      shopFreeRefreshCount_ = other.shopFreeRefreshCount_;
      shopRefreshCost_ = other.shopRefreshCost_;
      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
    }

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

    /// <summary>Field number for the "grid_fight_shop_random_rule" field.</summary>
    public const int GridFightShopRandomRuleFieldNumber = 12;
    private global::EggLink.DanhengServer.Proto.GridFightShopRandomRuleInfo gridFightShopRandomRule_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::EggLink.DanhengServer.Proto.GridFightShopRandomRuleInfo GridFightShopRandomRule {
      get { return gridFightShopRandomRule_; }
      set {
        gridFightShopRandomRule_ = value;
      }
    }

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

    /// <summary>Field number for the "shop_goods_list" field.</summary>
    public const int ShopGoodsListFieldNumber = 14;
    private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.GridFightShopGoodsInfo> _repeated_shopGoodsList_codec
        = pb::FieldCodec.ForMessage(114, global::EggLink.DanhengServer.Proto.GridFightShopGoodsInfo.Parser);
    private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.GridFightShopGoodsInfo> shopGoodsList_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.GridFightShopGoodsInfo>();
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.GridFightShopGoodsInfo> ShopGoodsList {
      get { return shopGoodsList_; }
    }

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

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

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

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool Equals(GridFightShopSyncInfo other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if (!object.Equals(GridFightShopRandomRule, other.GridFightShopRandomRule)) return false;
      if (ShopIsLocked != other.ShopIsLocked) return false;
      if(!shopGoodsList_.Equals(other.shopGoodsList_)) return false;
      if (ShopFreeRefreshCount != other.ShopFreeRefreshCount) return false;
      if (ShopRefreshCost != other.ShopRefreshCost) 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 (gridFightShopRandomRule_ != null) hash ^= GridFightShopRandomRule.GetHashCode();
      if (ShopIsLocked != false) hash ^= ShopIsLocked.GetHashCode();
      hash ^= shopGoodsList_.GetHashCode();
      if (ShopFreeRefreshCount != 0) hash ^= ShopFreeRefreshCount.GetHashCode();
      if (ShopRefreshCost != 0) hash ^= ShopRefreshCost.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 (ShopRefreshCost != 0) {
        output.WriteRawTag(56);
        output.WriteUInt32(ShopRefreshCost);
      }
      if (ShopIsLocked != false) {
        output.WriteRawTag(64);
        output.WriteBool(ShopIsLocked);
      }
      if (ShopFreeRefreshCount != 0) {
        output.WriteRawTag(80);
        output.WriteUInt32(ShopFreeRefreshCount);
      }
      if (gridFightShopRandomRule_ != null) {
        output.WriteRawTag(98);
        output.WriteMessage(GridFightShopRandomRule);
      }
      shopGoodsList_.WriteTo(output, _repeated_shopGoodsList_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 (ShopRefreshCost != 0) {
        output.WriteRawTag(56);
        output.WriteUInt32(ShopRefreshCost);
      }
      if (ShopIsLocked != false) {
        output.WriteRawTag(64);
        output.WriteBool(ShopIsLocked);
      }
      if (ShopFreeRefreshCount != 0) {
        output.WriteRawTag(80);
        output.WriteUInt32(ShopFreeRefreshCount);
      }
      if (gridFightShopRandomRule_ != null) {
        output.WriteRawTag(98);
        output.WriteMessage(GridFightShopRandomRule);
      }
      shopGoodsList_.WriteTo(ref output, _repeated_shopGoodsList_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 (gridFightShopRandomRule_ != null) {
        size += 1 + pb::CodedOutputStream.ComputeMessageSize(GridFightShopRandomRule);
      }
      if (ShopIsLocked != false) {
        size += 1 + 1;
      }
      size += shopGoodsList_.CalculateSize(_repeated_shopGoodsList_codec);
      if (ShopFreeRefreshCount != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ShopFreeRefreshCount);
      }
      if (ShopRefreshCost != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ShopRefreshCost);
      }
      if (_unknownFields != null) {
        size += _unknownFields.CalculateSize();
      }
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(GridFightShopSyncInfo other) {
      if (other == null) {
        return;
      }
      if (other.gridFightShopRandomRule_ != null) {
        if (gridFightShopRandomRule_ == null) {
          GridFightShopRandomRule = new global::EggLink.DanhengServer.Proto.GridFightShopRandomRuleInfo();
        }
        GridFightShopRandomRule.MergeFrom(other.GridFightShopRandomRule);
      }
      if (other.ShopIsLocked != false) {
        ShopIsLocked = other.ShopIsLocked;
      }
      shopGoodsList_.Add(other.shopGoodsList_);
      if (other.ShopFreeRefreshCount != 0) {
        ShopFreeRefreshCount = other.ShopFreeRefreshCount;
      }
      if (other.ShopRefreshCost != 0) {
        ShopRefreshCost = other.ShopRefreshCost;
      }
      _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 56: {
            ShopRefreshCost = input.ReadUInt32();
            break;
          }
          case 64: {
            ShopIsLocked = input.ReadBool();
            break;
          }
          case 80: {
            ShopFreeRefreshCount = input.ReadUInt32();
            break;
          }
          case 98: {
            if (gridFightShopRandomRule_ == null) {
              GridFightShopRandomRule = new global::EggLink.DanhengServer.Proto.GridFightShopRandomRuleInfo();
            }
            input.ReadMessage(GridFightShopRandomRule);
            break;
          }
          case 114: {
            shopGoodsList_.AddEntriesFrom(input, _repeated_shopGoodsList_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 56: {
            ShopRefreshCost = input.ReadUInt32();
            break;
          }
          case 64: {
            ShopIsLocked = input.ReadBool();
            break;
          }
          case 80: {
            ShopFreeRefreshCount = input.ReadUInt32();
            break;
          }
          case 98: {
            if (gridFightShopRandomRule_ == null) {
              GridFightShopRandomRule = new global::EggLink.DanhengServer.Proto.GridFightShopRandomRuleInfo();
            }
            input.ReadMessage(GridFightShopRandomRule);
            break;
          }
          case 114: {
            shopGoodsList_.AddEntriesFrom(ref input, _repeated_shopGoodsList_codec);
            break;
          }
        }
      }
    }
    #endif

  }

  #endregion

}

#endregion Designer generated code
