// // Generated by the protocol buffer compiler. DO NOT EDIT! // source: DailyInstanceRewardGroup.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 Nova.Client { /// Holder for reflection information generated from DailyInstanceRewardGroup.proto public static partial class DailyInstanceRewardGroupReflection { #region Descriptor /// File descriptor for DailyInstanceRewardGroup.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static DailyInstanceRewardGroupReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "Ch5EYWlseUluc3RhbmNlUmV3YXJkR3JvdXAucHJvdG8ivgEKGERhaWx5SW5z", "dGFuY2VSZXdhcmRHcm91cBIKCgJpZBgBIAEoBRIQCghncm91cF9pZBgCIAEo", "BRIZChFkYWlseV9yZXdhcmRfdHlwZRgDIAEoBRITCgtyZXdhcmRfbmFtZRgE", "IAEoCRISCgpyZXdhcmRfZGVzGAUgASgJEhMKC3Jld2FyZF9pY29uGAYgASgJ", "Eg8KB2Ryb3BfaWQYByABKAUSGgoSYmFzZV9hd2FyZF9wcmV2aWV3GAggASgJ", "Qg6qAgtOb3ZhLkNsaWVudGIGcHJvdG8z")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.DailyInstanceRewardGroup), global::Nova.Client.DailyInstanceRewardGroup.Parser, new[]{ "Id", "GroupId", "DailyRewardType", "RewardName", "RewardDes", "RewardIcon", "DropId", "BaseAwardPreview" }, null, null, null, null) })); } #endregion } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class DailyInstanceRewardGroup : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DailyInstanceRewardGroup()); 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::Nova.Client.DailyInstanceRewardGroupReflection.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 DailyInstanceRewardGroup() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public DailyInstanceRewardGroup(DailyInstanceRewardGroup other) : this() { id_ = other.id_; groupId_ = other.groupId_; dailyRewardType_ = other.dailyRewardType_; rewardName_ = other.rewardName_; rewardDes_ = other.rewardDes_; rewardIcon_ = other.rewardIcon_; dropId_ = other.dropId_; baseAwardPreview_ = other.baseAwardPreview_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public DailyInstanceRewardGroup Clone() { return new DailyInstanceRewardGroup(this); } /// Field number for the "id" field. public const int IdFieldNumber = 1; private int id_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int Id { get { return id_; } set { id_ = value; } } /// Field number for the "group_id" field. public const int GroupIdFieldNumber = 2; private int groupId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int GroupId { get { return groupId_; } set { groupId_ = value; } } /// Field number for the "daily_reward_type" field. public const int DailyRewardTypeFieldNumber = 3; private int dailyRewardType_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int DailyRewardType { get { return dailyRewardType_; } set { dailyRewardType_ = value; } } /// Field number for the "reward_name" field. public const int RewardNameFieldNumber = 4; private string rewardName_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string RewardName { get { return rewardName_; } set { rewardName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "reward_des" field. public const int RewardDesFieldNumber = 5; private string rewardDes_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string RewardDes { get { return rewardDes_; } set { rewardDes_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "reward_icon" field. public const int RewardIconFieldNumber = 6; private string rewardIcon_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string RewardIcon { get { return rewardIcon_; } set { rewardIcon_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "drop_id" field. public const int DropIdFieldNumber = 7; private int dropId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int DropId { get { return dropId_; } set { dropId_ = value; } } /// Field number for the "base_award_preview" field. public const int BaseAwardPreviewFieldNumber = 8; private string baseAwardPreview_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string BaseAwardPreview { get { return baseAwardPreview_; } set { baseAwardPreview_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as DailyInstanceRewardGroup); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(DailyInstanceRewardGroup other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (Id != other.Id) return false; if (GroupId != other.GroupId) return false; if (DailyRewardType != other.DailyRewardType) return false; if (RewardName != other.RewardName) return false; if (RewardDes != other.RewardDes) return false; if (RewardIcon != other.RewardIcon) return false; if (DropId != other.DropId) return false; if (BaseAwardPreview != other.BaseAwardPreview) 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 (Id != 0) hash ^= Id.GetHashCode(); if (GroupId != 0) hash ^= GroupId.GetHashCode(); if (DailyRewardType != 0) hash ^= DailyRewardType.GetHashCode(); if (RewardName.Length != 0) hash ^= RewardName.GetHashCode(); if (RewardDes.Length != 0) hash ^= RewardDes.GetHashCode(); if (RewardIcon.Length != 0) hash ^= RewardIcon.GetHashCode(); if (DropId != 0) hash ^= DropId.GetHashCode(); if (BaseAwardPreview.Length != 0) hash ^= BaseAwardPreview.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 (Id != 0) { output.WriteRawTag(8); output.WriteInt32(Id); } if (GroupId != 0) { output.WriteRawTag(16); output.WriteInt32(GroupId); } if (DailyRewardType != 0) { output.WriteRawTag(24); output.WriteInt32(DailyRewardType); } if (RewardName.Length != 0) { output.WriteRawTag(34); output.WriteString(RewardName); } if (RewardDes.Length != 0) { output.WriteRawTag(42); output.WriteString(RewardDes); } if (RewardIcon.Length != 0) { output.WriteRawTag(50); output.WriteString(RewardIcon); } if (DropId != 0) { output.WriteRawTag(56); output.WriteInt32(DropId); } if (BaseAwardPreview.Length != 0) { output.WriteRawTag(66); output.WriteString(BaseAwardPreview); } 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 (Id != 0) { output.WriteRawTag(8); output.WriteInt32(Id); } if (GroupId != 0) { output.WriteRawTag(16); output.WriteInt32(GroupId); } if (DailyRewardType != 0) { output.WriteRawTag(24); output.WriteInt32(DailyRewardType); } if (RewardName.Length != 0) { output.WriteRawTag(34); output.WriteString(RewardName); } if (RewardDes.Length != 0) { output.WriteRawTag(42); output.WriteString(RewardDes); } if (RewardIcon.Length != 0) { output.WriteRawTag(50); output.WriteString(RewardIcon); } if (DropId != 0) { output.WriteRawTag(56); output.WriteInt32(DropId); } if (BaseAwardPreview.Length != 0) { output.WriteRawTag(66); output.WriteString(BaseAwardPreview); } 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 (Id != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Id); } if (GroupId != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(GroupId); } if (DailyRewardType != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(DailyRewardType); } if (RewardName.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(RewardName); } if (RewardDes.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(RewardDes); } if (RewardIcon.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(RewardIcon); } if (DropId != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(DropId); } if (BaseAwardPreview.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(BaseAwardPreview); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(DailyInstanceRewardGroup other) { if (other == null) { return; } if (other.Id != 0) { Id = other.Id; } if (other.GroupId != 0) { GroupId = other.GroupId; } if (other.DailyRewardType != 0) { DailyRewardType = other.DailyRewardType; } if (other.RewardName.Length != 0) { RewardName = other.RewardName; } if (other.RewardDes.Length != 0) { RewardDes = other.RewardDes; } if (other.RewardIcon.Length != 0) { RewardIcon = other.RewardIcon; } if (other.DropId != 0) { DropId = other.DropId; } if (other.BaseAwardPreview.Length != 0) { BaseAwardPreview = other.BaseAwardPreview; } _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) { if ((tag & 7) == 4) { // Abort on any end group tag. return; } switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 8: { Id = input.ReadInt32(); break; } case 16: { GroupId = input.ReadInt32(); break; } case 24: { DailyRewardType = input.ReadInt32(); break; } case 34: { RewardName = input.ReadString(); break; } case 42: { RewardDes = input.ReadString(); break; } case 50: { RewardIcon = input.ReadString(); break; } case 56: { DropId = input.ReadInt32(); break; } case 66: { BaseAwardPreview = input.ReadString(); 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) { if ((tag & 7) == 4) { // Abort on any end group tag. return; } switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 8: { Id = input.ReadInt32(); break; } case 16: { GroupId = input.ReadInt32(); break; } case 24: { DailyRewardType = input.ReadInt32(); break; } case 34: { RewardName = input.ReadString(); break; } case 42: { RewardDes = input.ReadString(); break; } case 50: { RewardIcon = input.ReadString(); break; } case 56: { DropId = input.ReadInt32(); break; } case 66: { BaseAwardPreview = input.ReadString(); break; } } } } #endif } #endregion } #endregion Designer generated code