// // Generated by the protocol buffer compiler. DO NOT EDIT! // source: TravelerDuelBoss.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 TravelerDuelBoss.proto public static partial class TravelerDuelBossReflection { #region Descriptor /// File descriptor for TravelerDuelBoss.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static TravelerDuelBossReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "ChZUcmF2ZWxlckR1ZWxCb3NzLnByb3RvIpEBChBUcmF2ZWxlckR1ZWxCb3Nz", "EgoKAmlkGAEgASgFEgwKBG5hbWUYAiABKAkSHwoXdHJhdmVsZXJfZHVlbF9i", "b3NzX3R5cGUYAyABKAUSDwoHZXBpc29kZRgEIAEoCRINCgVpbWFnZRgFIAEo", "CRINCgVjb3ZlchgGIAEoCRITCgtzaG93X3Jld2FyZBgHIAMoBUIOqgILTm92", "YS5DbGllbnRiBnByb3RvMw==")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.TravelerDuelBoss), global::Nova.Client.TravelerDuelBoss.Parser, new[]{ "Id", "Name", "TravelerDuelBossType", "Episode", "Image", "Cover", "ShowReward" }, null, null, null, null) })); } #endregion } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class TravelerDuelBoss : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new TravelerDuelBoss()); 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.TravelerDuelBossReflection.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 TravelerDuelBoss() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public TravelerDuelBoss(TravelerDuelBoss other) : this() { id_ = other.id_; name_ = other.name_; travelerDuelBossType_ = other.travelerDuelBossType_; episode_ = other.episode_; image_ = other.image_; cover_ = other.cover_; showReward_ = other.showReward_.Clone(); _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public TravelerDuelBoss Clone() { return new TravelerDuelBoss(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 "name" field. public const int NameFieldNumber = 2; private string name_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Name { get { return name_; } set { name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "traveler_duel_boss_type" field. public const int TravelerDuelBossTypeFieldNumber = 3; private int travelerDuelBossType_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int TravelerDuelBossType { get { return travelerDuelBossType_; } set { travelerDuelBossType_ = value; } } /// Field number for the "episode" field. public const int EpisodeFieldNumber = 4; private string episode_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Episode { get { return episode_; } set { episode_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "image" field. public const int ImageFieldNumber = 5; private string image_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Image { get { return image_; } set { image_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "cover" field. public const int CoverFieldNumber = 6; private string cover_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Cover { get { return cover_; } set { cover_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "show_reward" field. public const int ShowRewardFieldNumber = 7; private static readonly pb::FieldCodec _repeated_showReward_codec = pb::FieldCodec.ForInt32(58); private readonly pbc::RepeatedField showReward_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField ShowReward { get { return showReward_; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as TravelerDuelBoss); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(TravelerDuelBoss other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (Id != other.Id) return false; if (Name != other.Name) return false; if (TravelerDuelBossType != other.TravelerDuelBossType) return false; if (Episode != other.Episode) return false; if (Image != other.Image) return false; if (Cover != other.Cover) return false; if(!showReward_.Equals(other.showReward_)) 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 (Name.Length != 0) hash ^= Name.GetHashCode(); if (TravelerDuelBossType != 0) hash ^= TravelerDuelBossType.GetHashCode(); if (Episode.Length != 0) hash ^= Episode.GetHashCode(); if (Image.Length != 0) hash ^= Image.GetHashCode(); if (Cover.Length != 0) hash ^= Cover.GetHashCode(); hash ^= showReward_.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 (Name.Length != 0) { output.WriteRawTag(18); output.WriteString(Name); } if (TravelerDuelBossType != 0) { output.WriteRawTag(24); output.WriteInt32(TravelerDuelBossType); } if (Episode.Length != 0) { output.WriteRawTag(34); output.WriteString(Episode); } if (Image.Length != 0) { output.WriteRawTag(42); output.WriteString(Image); } if (Cover.Length != 0) { output.WriteRawTag(50); output.WriteString(Cover); } showReward_.WriteTo(output, _repeated_showReward_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 (Id != 0) { output.WriteRawTag(8); output.WriteInt32(Id); } if (Name.Length != 0) { output.WriteRawTag(18); output.WriteString(Name); } if (TravelerDuelBossType != 0) { output.WriteRawTag(24); output.WriteInt32(TravelerDuelBossType); } if (Episode.Length != 0) { output.WriteRawTag(34); output.WriteString(Episode); } if (Image.Length != 0) { output.WriteRawTag(42); output.WriteString(Image); } if (Cover.Length != 0) { output.WriteRawTag(50); output.WriteString(Cover); } showReward_.WriteTo(ref output, _repeated_showReward_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 (Id != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Id); } if (Name.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); } if (TravelerDuelBossType != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(TravelerDuelBossType); } if (Episode.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Episode); } if (Image.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Image); } if (Cover.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Cover); } size += showReward_.CalculateSize(_repeated_showReward_codec); if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(TravelerDuelBoss other) { if (other == null) { return; } if (other.Id != 0) { Id = other.Id; } if (other.Name.Length != 0) { Name = other.Name; } if (other.TravelerDuelBossType != 0) { TravelerDuelBossType = other.TravelerDuelBossType; } if (other.Episode.Length != 0) { Episode = other.Episode; } if (other.Image.Length != 0) { Image = other.Image; } if (other.Cover.Length != 0) { Cover = other.Cover; } showReward_.Add(other.showReward_); _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 18: { Name = input.ReadString(); break; } case 24: { TravelerDuelBossType = input.ReadInt32(); break; } case 34: { Episode = input.ReadString(); break; } case 42: { Image = input.ReadString(); break; } case 50: { Cover = input.ReadString(); break; } case 58: case 56: { showReward_.AddEntriesFrom(input, _repeated_showReward_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) { 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 18: { Name = input.ReadString(); break; } case 24: { TravelerDuelBossType = input.ReadInt32(); break; } case 34: { Episode = input.ReadString(); break; } case 42: { Image = input.ReadString(); break; } case 50: { Cover = input.ReadString(); break; } case 58: case 56: { showReward_.AddEntriesFrom(ref input, _repeated_showReward_codec); break; } } } } #endif } #endregion } #endregion Designer generated code