// // Generated by the protocol buffer compiler. DO NOT EDIT! // source: Shop.proto // #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 { /// Holder for reflection information generated from Shop.proto public static partial class ShopReflection { #region Descriptor /// File descriptor for Shop.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static ShopReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "CgpTaG9wLnByb3RvGgtHb29kcy5wcm90byKXAQoEU2hvcBIRCglCZWdpblRp", "bWUYASABKAMSGQoJR29vZHNMaXN0GAYgAygLMgYuR29vZHMSDwoHQ2l0eUV4", "cBgEIAEoDRIPCgdFbmRUaW1lGA8gASgDEg4KBlNob3BJZBgJIAEoDRIRCglD", "aXR5TGV2ZWwYCCABKA0SHAoUQ2l0eVRha2VuTGV2ZWxSZXdhcmQYDiABKARC", "HqoCG0VnZ0xpbmsuRGFuaGVuZ1NlcnZlci5Qcm90b2IGcHJvdG8z")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.GoodsReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.Shop), global::EggLink.DanhengServer.Proto.Shop.Parser, new[]{ "BeginTime", "GoodsList", "CityExp", "EndTime", "ShopId", "CityLevel", "CityTakenLevelReward" }, null, null, null, null) })); } #endregion } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class Shop : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Shop()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser 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.ShopReflection.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 Shop() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public Shop(Shop other) : this() { beginTime_ = other.beginTime_; goodsList_ = other.goodsList_.Clone(); cityExp_ = other.cityExp_; endTime_ = other.endTime_; shopId_ = other.shopId_; cityLevel_ = other.cityLevel_; cityTakenLevelReward_ = other.cityTakenLevelReward_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public Shop Clone() { return new Shop(this); } /// Field number for the "BeginTime" field. public const int BeginTimeFieldNumber = 1; private long beginTime_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public long BeginTime { get { return beginTime_; } set { beginTime_ = value; } } /// Field number for the "GoodsList" field. public const int GoodsListFieldNumber = 6; private static readonly pb::FieldCodec _repeated_goodsList_codec = pb::FieldCodec.ForMessage(50, global::EggLink.DanhengServer.Proto.Goods.Parser); private readonly pbc::RepeatedField goodsList_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField GoodsList { get { return goodsList_; } } /// Field number for the "CityExp" field. public const int CityExpFieldNumber = 4; private uint cityExp_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint CityExp { get { return cityExp_; } set { cityExp_ = value; } } /// Field number for the "EndTime" field. public const int EndTimeFieldNumber = 15; private long endTime_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public long EndTime { get { return endTime_; } set { endTime_ = value; } } /// Field number for the "ShopId" field. public const int ShopIdFieldNumber = 9; private uint shopId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint ShopId { get { return shopId_; } set { shopId_ = value; } } /// Field number for the "CityLevel" field. public const int CityLevelFieldNumber = 8; private uint cityLevel_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint CityLevel { get { return cityLevel_; } set { cityLevel_ = value; } } /// Field number for the "CityTakenLevelReward" field. public const int CityTakenLevelRewardFieldNumber = 14; private ulong cityTakenLevelReward_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public ulong CityTakenLevelReward { get { return cityTakenLevelReward_; } set { cityTakenLevelReward_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as Shop); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(Shop other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (BeginTime != other.BeginTime) return false; if(!goodsList_.Equals(other.goodsList_)) return false; if (CityExp != other.CityExp) return false; if (EndTime != other.EndTime) return false; if (ShopId != other.ShopId) return false; if (CityLevel != other.CityLevel) return false; if (CityTakenLevelReward != other.CityTakenLevelReward) 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 (BeginTime != 0L) hash ^= BeginTime.GetHashCode(); hash ^= goodsList_.GetHashCode(); if (CityExp != 0) hash ^= CityExp.GetHashCode(); if (EndTime != 0L) hash ^= EndTime.GetHashCode(); if (ShopId != 0) hash ^= ShopId.GetHashCode(); if (CityLevel != 0) hash ^= CityLevel.GetHashCode(); if (CityTakenLevelReward != 0UL) hash ^= CityTakenLevelReward.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 (BeginTime != 0L) { output.WriteRawTag(8); output.WriteInt64(BeginTime); } if (CityExp != 0) { output.WriteRawTag(32); output.WriteUInt32(CityExp); } goodsList_.WriteTo(output, _repeated_goodsList_codec); if (CityLevel != 0) { output.WriteRawTag(64); output.WriteUInt32(CityLevel); } if (ShopId != 0) { output.WriteRawTag(72); output.WriteUInt32(ShopId); } if (CityTakenLevelReward != 0UL) { output.WriteRawTag(112); output.WriteUInt64(CityTakenLevelReward); } if (EndTime != 0L) { output.WriteRawTag(120); output.WriteInt64(EndTime); } 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 (BeginTime != 0L) { output.WriteRawTag(8); output.WriteInt64(BeginTime); } if (CityExp != 0) { output.WriteRawTag(32); output.WriteUInt32(CityExp); } goodsList_.WriteTo(ref output, _repeated_goodsList_codec); if (CityLevel != 0) { output.WriteRawTag(64); output.WriteUInt32(CityLevel); } if (ShopId != 0) { output.WriteRawTag(72); output.WriteUInt32(ShopId); } if (CityTakenLevelReward != 0UL) { output.WriteRawTag(112); output.WriteUInt64(CityTakenLevelReward); } if (EndTime != 0L) { output.WriteRawTag(120); output.WriteInt64(EndTime); } 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 (BeginTime != 0L) { size += 1 + pb::CodedOutputStream.ComputeInt64Size(BeginTime); } size += goodsList_.CalculateSize(_repeated_goodsList_codec); if (CityExp != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CityExp); } if (EndTime != 0L) { size += 1 + pb::CodedOutputStream.ComputeInt64Size(EndTime); } if (ShopId != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ShopId); } if (CityLevel != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CityLevel); } if (CityTakenLevelReward != 0UL) { size += 1 + pb::CodedOutputStream.ComputeUInt64Size(CityTakenLevelReward); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(Shop other) { if (other == null) { return; } if (other.BeginTime != 0L) { BeginTime = other.BeginTime; } goodsList_.Add(other.goodsList_); if (other.CityExp != 0) { CityExp = other.CityExp; } if (other.EndTime != 0L) { EndTime = other.EndTime; } if (other.ShopId != 0) { ShopId = other.ShopId; } if (other.CityLevel != 0) { CityLevel = other.CityLevel; } if (other.CityTakenLevelReward != 0UL) { CityTakenLevelReward = other.CityTakenLevelReward; } _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: { BeginTime = input.ReadInt64(); break; } case 32: { CityExp = input.ReadUInt32(); break; } case 50: { goodsList_.AddEntriesFrom(input, _repeated_goodsList_codec); break; } case 64: { CityLevel = input.ReadUInt32(); break; } case 72: { ShopId = input.ReadUInt32(); break; } case 112: { CityTakenLevelReward = input.ReadUInt64(); break; } case 120: { EndTime = input.ReadInt64(); 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: { BeginTime = input.ReadInt64(); break; } case 32: { CityExp = input.ReadUInt32(); break; } case 50: { goodsList_.AddEntriesFrom(ref input, _repeated_goodsList_codec); break; } case 64: { CityLevel = input.ReadUInt32(); break; } case 72: { ShopId = input.ReadUInt32(); break; } case 112: { CityTakenLevelReward = input.ReadUInt64(); break; } case 120: { EndTime = input.ReadInt64(); break; } } } } #endif } #endregion } #endregion Designer generated code