// // Generated by the protocol buffer compiler. DO NOT EDIT! // source: Agent.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 Agent.proto public static partial class AgentReflection { #region Descriptor /// File descriptor for Agent.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static AgentReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "CgtBZ2VudC5wcm90byKNBAoFQWdlbnQSCgoCaWQYASABKAUSCwoDdGFiGAIg", "ASgFEgwKBG5vdGUYAyABKAkSDAoEbmFtZRgEIAEoCRIMCgRkZXNjGAUgASgJ", "EhEKCWNvbnNpZ25vchgGIAEoCRIUCgxyZWZyZXNoX3R5cGUYByABKAUSEwoL", "bWVtYmVyX3R5cGUYCCABKAUSDQoFbGV2ZWwYCSABKAUSEwoLYnVpbGRfc2Nv", "cmUYCiABKAUSFAoMbWVtYmVyX2xpbWl0GAsgASgFEgwKBHRhZ3MYDCADKAUS", "EgoKZXh0cmFfdGFncxgNIAMoBRIZChF1bmxvY2tfY29uZGl0aW9ucxgOIAEo", "CRIMCgRzb3J0GA8gASgFEg0KBXRpbWUxGBAgASgFEhcKD3Jld2FyZF9wcmV2", "aWV3MRgRIAEoCRIWCg5ib251c19wcmV2aWV3MRgSIAEoCRINCgV0aW1lMhgT", "IAEoBRIXCg9yZXdhcmRfcHJldmlldzIYFCABKAkSFgoOYm9udXNfcHJldmll", "dzIYFSABKAkSDQoFdGltZTMYFiABKAUSFwoPcmV3YXJkX3ByZXZpZXczGBcg", "ASgJEhYKDmJvbnVzX3ByZXZpZXczGBggASgJEg0KBXRpbWU0GBkgASgFEhcK", "D3Jld2FyZF9wcmV2aWV3NBgaIAEoCRIWCg5ib251c19wcmV2aWV3NBgbIAEo", "CUIOqgILTm92YS5DbGllbnRiBnByb3RvMw==")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.Agent), global::Nova.Client.Agent.Parser, new[]{ "Id", "Tab", "Note", "Name", "Desc", "Consignor", "RefreshType", "MemberType", "Level", "BuildScore", "MemberLimit", "Tags", "ExtraTags", "UnlockConditions", "Sort", "Time1", "RewardPreview1", "BonusPreview1", "Time2", "RewardPreview2", "BonusPreview2", "Time3", "RewardPreview3", "BonusPreview3", "Time4", "RewardPreview4", "BonusPreview4" }, null, null, null, null) })); } #endregion } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class Agent : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Agent()); 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.AgentReflection.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 Agent() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public Agent(Agent other) : this() { id_ = other.id_; tab_ = other.tab_; note_ = other.note_; name_ = other.name_; desc_ = other.desc_; consignor_ = other.consignor_; refreshType_ = other.refreshType_; memberType_ = other.memberType_; level_ = other.level_; buildScore_ = other.buildScore_; memberLimit_ = other.memberLimit_; tags_ = other.tags_.Clone(); extraTags_ = other.extraTags_.Clone(); unlockConditions_ = other.unlockConditions_; sort_ = other.sort_; time1_ = other.time1_; rewardPreview1_ = other.rewardPreview1_; bonusPreview1_ = other.bonusPreview1_; time2_ = other.time2_; rewardPreview2_ = other.rewardPreview2_; bonusPreview2_ = other.bonusPreview2_; time3_ = other.time3_; rewardPreview3_ = other.rewardPreview3_; bonusPreview3_ = other.bonusPreview3_; time4_ = other.time4_; rewardPreview4_ = other.rewardPreview4_; bonusPreview4_ = other.bonusPreview4_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public Agent Clone() { return new Agent(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 "tab" field. public const int TabFieldNumber = 2; private int tab_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int Tab { get { return tab_; } set { tab_ = value; } } /// Field number for the "note" field. public const int NoteFieldNumber = 3; private string note_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Note { get { return note_; } set { note_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "name" field. public const int NameFieldNumber = 4; 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 "desc" field. public const int DescFieldNumber = 5; private string desc_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Desc { get { return desc_; } set { desc_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "consignor" field. public const int ConsignorFieldNumber = 6; private string consignor_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Consignor { get { return consignor_; } set { consignor_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "refresh_type" field. public const int RefreshTypeFieldNumber = 7; private int refreshType_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int RefreshType { get { return refreshType_; } set { refreshType_ = value; } } /// Field number for the "member_type" field. public const int MemberTypeFieldNumber = 8; private int memberType_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int MemberType { get { return memberType_; } set { memberType_ = value; } } /// Field number for the "level" field. public const int LevelFieldNumber = 9; private int level_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int Level { get { return level_; } set { level_ = value; } } /// Field number for the "build_score" field. public const int BuildScoreFieldNumber = 10; private int buildScore_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int BuildScore { get { return buildScore_; } set { buildScore_ = value; } } /// Field number for the "member_limit" field. public const int MemberLimitFieldNumber = 11; private int memberLimit_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int MemberLimit { get { return memberLimit_; } set { memberLimit_ = value; } } /// Field number for the "tags" field. public const int TagsFieldNumber = 12; private static readonly pb::FieldCodec _repeated_tags_codec = pb::FieldCodec.ForInt32(98); private readonly pbc::RepeatedField tags_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField Tags { get { return tags_; } } /// Field number for the "extra_tags" field. public const int ExtraTagsFieldNumber = 13; private static readonly pb::FieldCodec _repeated_extraTags_codec = pb::FieldCodec.ForInt32(106); private readonly pbc::RepeatedField extraTags_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField ExtraTags { get { return extraTags_; } } /// Field number for the "unlock_conditions" field. public const int UnlockConditionsFieldNumber = 14; private string unlockConditions_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string UnlockConditions { get { return unlockConditions_; } set { unlockConditions_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "sort" field. public const int SortFieldNumber = 15; private int sort_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int Sort { get { return sort_; } set { sort_ = value; } } /// Field number for the "time1" field. public const int Time1FieldNumber = 16; private int time1_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int Time1 { get { return time1_; } set { time1_ = value; } } /// Field number for the "reward_preview1" field. public const int RewardPreview1FieldNumber = 17; private string rewardPreview1_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string RewardPreview1 { get { return rewardPreview1_; } set { rewardPreview1_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "bonus_preview1" field. public const int BonusPreview1FieldNumber = 18; private string bonusPreview1_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string BonusPreview1 { get { return bonusPreview1_; } set { bonusPreview1_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "time2" field. public const int Time2FieldNumber = 19; private int time2_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int Time2 { get { return time2_; } set { time2_ = value; } } /// Field number for the "reward_preview2" field. public const int RewardPreview2FieldNumber = 20; private string rewardPreview2_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string RewardPreview2 { get { return rewardPreview2_; } set { rewardPreview2_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "bonus_preview2" field. public const int BonusPreview2FieldNumber = 21; private string bonusPreview2_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string BonusPreview2 { get { return bonusPreview2_; } set { bonusPreview2_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "time3" field. public const int Time3FieldNumber = 22; private int time3_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int Time3 { get { return time3_; } set { time3_ = value; } } /// Field number for the "reward_preview3" field. public const int RewardPreview3FieldNumber = 23; private string rewardPreview3_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string RewardPreview3 { get { return rewardPreview3_; } set { rewardPreview3_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "bonus_preview3" field. public const int BonusPreview3FieldNumber = 24; private string bonusPreview3_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string BonusPreview3 { get { return bonusPreview3_; } set { bonusPreview3_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "time4" field. public const int Time4FieldNumber = 25; private int time4_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int Time4 { get { return time4_; } set { time4_ = value; } } /// Field number for the "reward_preview4" field. public const int RewardPreview4FieldNumber = 26; private string rewardPreview4_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string RewardPreview4 { get { return rewardPreview4_; } set { rewardPreview4_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "bonus_preview4" field. public const int BonusPreview4FieldNumber = 27; private string bonusPreview4_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string BonusPreview4 { get { return bonusPreview4_; } set { bonusPreview4_ = 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 Agent); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(Agent other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (Id != other.Id) return false; if (Tab != other.Tab) return false; if (Note != other.Note) return false; if (Name != other.Name) return false; if (Desc != other.Desc) return false; if (Consignor != other.Consignor) return false; if (RefreshType != other.RefreshType) return false; if (MemberType != other.MemberType) return false; if (Level != other.Level) return false; if (BuildScore != other.BuildScore) return false; if (MemberLimit != other.MemberLimit) return false; if(!tags_.Equals(other.tags_)) return false; if(!extraTags_.Equals(other.extraTags_)) return false; if (UnlockConditions != other.UnlockConditions) return false; if (Sort != other.Sort) return false; if (Time1 != other.Time1) return false; if (RewardPreview1 != other.RewardPreview1) return false; if (BonusPreview1 != other.BonusPreview1) return false; if (Time2 != other.Time2) return false; if (RewardPreview2 != other.RewardPreview2) return false; if (BonusPreview2 != other.BonusPreview2) return false; if (Time3 != other.Time3) return false; if (RewardPreview3 != other.RewardPreview3) return false; if (BonusPreview3 != other.BonusPreview3) return false; if (Time4 != other.Time4) return false; if (RewardPreview4 != other.RewardPreview4) return false; if (BonusPreview4 != other.BonusPreview4) 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 (Tab != 0) hash ^= Tab.GetHashCode(); if (Note.Length != 0) hash ^= Note.GetHashCode(); if (Name.Length != 0) hash ^= Name.GetHashCode(); if (Desc.Length != 0) hash ^= Desc.GetHashCode(); if (Consignor.Length != 0) hash ^= Consignor.GetHashCode(); if (RefreshType != 0) hash ^= RefreshType.GetHashCode(); if (MemberType != 0) hash ^= MemberType.GetHashCode(); if (Level != 0) hash ^= Level.GetHashCode(); if (BuildScore != 0) hash ^= BuildScore.GetHashCode(); if (MemberLimit != 0) hash ^= MemberLimit.GetHashCode(); hash ^= tags_.GetHashCode(); hash ^= extraTags_.GetHashCode(); if (UnlockConditions.Length != 0) hash ^= UnlockConditions.GetHashCode(); if (Sort != 0) hash ^= Sort.GetHashCode(); if (Time1 != 0) hash ^= Time1.GetHashCode(); if (RewardPreview1.Length != 0) hash ^= RewardPreview1.GetHashCode(); if (BonusPreview1.Length != 0) hash ^= BonusPreview1.GetHashCode(); if (Time2 != 0) hash ^= Time2.GetHashCode(); if (RewardPreview2.Length != 0) hash ^= RewardPreview2.GetHashCode(); if (BonusPreview2.Length != 0) hash ^= BonusPreview2.GetHashCode(); if (Time3 != 0) hash ^= Time3.GetHashCode(); if (RewardPreview3.Length != 0) hash ^= RewardPreview3.GetHashCode(); if (BonusPreview3.Length != 0) hash ^= BonusPreview3.GetHashCode(); if (Time4 != 0) hash ^= Time4.GetHashCode(); if (RewardPreview4.Length != 0) hash ^= RewardPreview4.GetHashCode(); if (BonusPreview4.Length != 0) hash ^= BonusPreview4.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 (Tab != 0) { output.WriteRawTag(16); output.WriteInt32(Tab); } if (Note.Length != 0) { output.WriteRawTag(26); output.WriteString(Note); } if (Name.Length != 0) { output.WriteRawTag(34); output.WriteString(Name); } if (Desc.Length != 0) { output.WriteRawTag(42); output.WriteString(Desc); } if (Consignor.Length != 0) { output.WriteRawTag(50); output.WriteString(Consignor); } if (RefreshType != 0) { output.WriteRawTag(56); output.WriteInt32(RefreshType); } if (MemberType != 0) { output.WriteRawTag(64); output.WriteInt32(MemberType); } if (Level != 0) { output.WriteRawTag(72); output.WriteInt32(Level); } if (BuildScore != 0) { output.WriteRawTag(80); output.WriteInt32(BuildScore); } if (MemberLimit != 0) { output.WriteRawTag(88); output.WriteInt32(MemberLimit); } tags_.WriteTo(output, _repeated_tags_codec); extraTags_.WriteTo(output, _repeated_extraTags_codec); if (UnlockConditions.Length != 0) { output.WriteRawTag(114); output.WriteString(UnlockConditions); } if (Sort != 0) { output.WriteRawTag(120); output.WriteInt32(Sort); } if (Time1 != 0) { output.WriteRawTag(128, 1); output.WriteInt32(Time1); } if (RewardPreview1.Length != 0) { output.WriteRawTag(138, 1); output.WriteString(RewardPreview1); } if (BonusPreview1.Length != 0) { output.WriteRawTag(146, 1); output.WriteString(BonusPreview1); } if (Time2 != 0) { output.WriteRawTag(152, 1); output.WriteInt32(Time2); } if (RewardPreview2.Length != 0) { output.WriteRawTag(162, 1); output.WriteString(RewardPreview2); } if (BonusPreview2.Length != 0) { output.WriteRawTag(170, 1); output.WriteString(BonusPreview2); } if (Time3 != 0) { output.WriteRawTag(176, 1); output.WriteInt32(Time3); } if (RewardPreview3.Length != 0) { output.WriteRawTag(186, 1); output.WriteString(RewardPreview3); } if (BonusPreview3.Length != 0) { output.WriteRawTag(194, 1); output.WriteString(BonusPreview3); } if (Time4 != 0) { output.WriteRawTag(200, 1); output.WriteInt32(Time4); } if (RewardPreview4.Length != 0) { output.WriteRawTag(210, 1); output.WriteString(RewardPreview4); } if (BonusPreview4.Length != 0) { output.WriteRawTag(218, 1); output.WriteString(BonusPreview4); } 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 (Tab != 0) { output.WriteRawTag(16); output.WriteInt32(Tab); } if (Note.Length != 0) { output.WriteRawTag(26); output.WriteString(Note); } if (Name.Length != 0) { output.WriteRawTag(34); output.WriteString(Name); } if (Desc.Length != 0) { output.WriteRawTag(42); output.WriteString(Desc); } if (Consignor.Length != 0) { output.WriteRawTag(50); output.WriteString(Consignor); } if (RefreshType != 0) { output.WriteRawTag(56); output.WriteInt32(RefreshType); } if (MemberType != 0) { output.WriteRawTag(64); output.WriteInt32(MemberType); } if (Level != 0) { output.WriteRawTag(72); output.WriteInt32(Level); } if (BuildScore != 0) { output.WriteRawTag(80); output.WriteInt32(BuildScore); } if (MemberLimit != 0) { output.WriteRawTag(88); output.WriteInt32(MemberLimit); } tags_.WriteTo(ref output, _repeated_tags_codec); extraTags_.WriteTo(ref output, _repeated_extraTags_codec); if (UnlockConditions.Length != 0) { output.WriteRawTag(114); output.WriteString(UnlockConditions); } if (Sort != 0) { output.WriteRawTag(120); output.WriteInt32(Sort); } if (Time1 != 0) { output.WriteRawTag(128, 1); output.WriteInt32(Time1); } if (RewardPreview1.Length != 0) { output.WriteRawTag(138, 1); output.WriteString(RewardPreview1); } if (BonusPreview1.Length != 0) { output.WriteRawTag(146, 1); output.WriteString(BonusPreview1); } if (Time2 != 0) { output.WriteRawTag(152, 1); output.WriteInt32(Time2); } if (RewardPreview2.Length != 0) { output.WriteRawTag(162, 1); output.WriteString(RewardPreview2); } if (BonusPreview2.Length != 0) { output.WriteRawTag(170, 1); output.WriteString(BonusPreview2); } if (Time3 != 0) { output.WriteRawTag(176, 1); output.WriteInt32(Time3); } if (RewardPreview3.Length != 0) { output.WriteRawTag(186, 1); output.WriteString(RewardPreview3); } if (BonusPreview3.Length != 0) { output.WriteRawTag(194, 1); output.WriteString(BonusPreview3); } if (Time4 != 0) { output.WriteRawTag(200, 1); output.WriteInt32(Time4); } if (RewardPreview4.Length != 0) { output.WriteRawTag(210, 1); output.WriteString(RewardPreview4); } if (BonusPreview4.Length != 0) { output.WriteRawTag(218, 1); output.WriteString(BonusPreview4); } 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 (Tab != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Tab); } if (Note.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Note); } if (Name.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); } if (Desc.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc); } if (Consignor.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Consignor); } if (RefreshType != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(RefreshType); } if (MemberType != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(MemberType); } if (Level != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Level); } if (BuildScore != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(BuildScore); } if (MemberLimit != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(MemberLimit); } size += tags_.CalculateSize(_repeated_tags_codec); size += extraTags_.CalculateSize(_repeated_extraTags_codec); if (UnlockConditions.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(UnlockConditions); } if (Sort != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Sort); } if (Time1 != 0) { size += 2 + pb::CodedOutputStream.ComputeInt32Size(Time1); } if (RewardPreview1.Length != 0) { size += 2 + pb::CodedOutputStream.ComputeStringSize(RewardPreview1); } if (BonusPreview1.Length != 0) { size += 2 + pb::CodedOutputStream.ComputeStringSize(BonusPreview1); } if (Time2 != 0) { size += 2 + pb::CodedOutputStream.ComputeInt32Size(Time2); } if (RewardPreview2.Length != 0) { size += 2 + pb::CodedOutputStream.ComputeStringSize(RewardPreview2); } if (BonusPreview2.Length != 0) { size += 2 + pb::CodedOutputStream.ComputeStringSize(BonusPreview2); } if (Time3 != 0) { size += 2 + pb::CodedOutputStream.ComputeInt32Size(Time3); } if (RewardPreview3.Length != 0) { size += 2 + pb::CodedOutputStream.ComputeStringSize(RewardPreview3); } if (BonusPreview3.Length != 0) { size += 2 + pb::CodedOutputStream.ComputeStringSize(BonusPreview3); } if (Time4 != 0) { size += 2 + pb::CodedOutputStream.ComputeInt32Size(Time4); } if (RewardPreview4.Length != 0) { size += 2 + pb::CodedOutputStream.ComputeStringSize(RewardPreview4); } if (BonusPreview4.Length != 0) { size += 2 + pb::CodedOutputStream.ComputeStringSize(BonusPreview4); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(Agent other) { if (other == null) { return; } if (other.Id != 0) { Id = other.Id; } if (other.Tab != 0) { Tab = other.Tab; } if (other.Note.Length != 0) { Note = other.Note; } if (other.Name.Length != 0) { Name = other.Name; } if (other.Desc.Length != 0) { Desc = other.Desc; } if (other.Consignor.Length != 0) { Consignor = other.Consignor; } if (other.RefreshType != 0) { RefreshType = other.RefreshType; } if (other.MemberType != 0) { MemberType = other.MemberType; } if (other.Level != 0) { Level = other.Level; } if (other.BuildScore != 0) { BuildScore = other.BuildScore; } if (other.MemberLimit != 0) { MemberLimit = other.MemberLimit; } tags_.Add(other.tags_); extraTags_.Add(other.extraTags_); if (other.UnlockConditions.Length != 0) { UnlockConditions = other.UnlockConditions; } if (other.Sort != 0) { Sort = other.Sort; } if (other.Time1 != 0) { Time1 = other.Time1; } if (other.RewardPreview1.Length != 0) { RewardPreview1 = other.RewardPreview1; } if (other.BonusPreview1.Length != 0) { BonusPreview1 = other.BonusPreview1; } if (other.Time2 != 0) { Time2 = other.Time2; } if (other.RewardPreview2.Length != 0) { RewardPreview2 = other.RewardPreview2; } if (other.BonusPreview2.Length != 0) { BonusPreview2 = other.BonusPreview2; } if (other.Time3 != 0) { Time3 = other.Time3; } if (other.RewardPreview3.Length != 0) { RewardPreview3 = other.RewardPreview3; } if (other.BonusPreview3.Length != 0) { BonusPreview3 = other.BonusPreview3; } if (other.Time4 != 0) { Time4 = other.Time4; } if (other.RewardPreview4.Length != 0) { RewardPreview4 = other.RewardPreview4; } if (other.BonusPreview4.Length != 0) { BonusPreview4 = other.BonusPreview4; } _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: { Tab = input.ReadInt32(); break; } case 26: { Note = input.ReadString(); break; } case 34: { Name = input.ReadString(); break; } case 42: { Desc = input.ReadString(); break; } case 50: { Consignor = input.ReadString(); break; } case 56: { RefreshType = input.ReadInt32(); break; } case 64: { MemberType = input.ReadInt32(); break; } case 72: { Level = input.ReadInt32(); break; } case 80: { BuildScore = input.ReadInt32(); break; } case 88: { MemberLimit = input.ReadInt32(); break; } case 98: case 96: { tags_.AddEntriesFrom(input, _repeated_tags_codec); break; } case 106: case 104: { extraTags_.AddEntriesFrom(input, _repeated_extraTags_codec); break; } case 114: { UnlockConditions = input.ReadString(); break; } case 120: { Sort = input.ReadInt32(); break; } case 128: { Time1 = input.ReadInt32(); break; } case 138: { RewardPreview1 = input.ReadString(); break; } case 146: { BonusPreview1 = input.ReadString(); break; } case 152: { Time2 = input.ReadInt32(); break; } case 162: { RewardPreview2 = input.ReadString(); break; } case 170: { BonusPreview2 = input.ReadString(); break; } case 176: { Time3 = input.ReadInt32(); break; } case 186: { RewardPreview3 = input.ReadString(); break; } case 194: { BonusPreview3 = input.ReadString(); break; } case 200: { Time4 = input.ReadInt32(); break; } case 210: { RewardPreview4 = input.ReadString(); break; } case 218: { BonusPreview4 = 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: { Tab = input.ReadInt32(); break; } case 26: { Note = input.ReadString(); break; } case 34: { Name = input.ReadString(); break; } case 42: { Desc = input.ReadString(); break; } case 50: { Consignor = input.ReadString(); break; } case 56: { RefreshType = input.ReadInt32(); break; } case 64: { MemberType = input.ReadInt32(); break; } case 72: { Level = input.ReadInt32(); break; } case 80: { BuildScore = input.ReadInt32(); break; } case 88: { MemberLimit = input.ReadInt32(); break; } case 98: case 96: { tags_.AddEntriesFrom(ref input, _repeated_tags_codec); break; } case 106: case 104: { extraTags_.AddEntriesFrom(ref input, _repeated_extraTags_codec); break; } case 114: { UnlockConditions = input.ReadString(); break; } case 120: { Sort = input.ReadInt32(); break; } case 128: { Time1 = input.ReadInt32(); break; } case 138: { RewardPreview1 = input.ReadString(); break; } case 146: { BonusPreview1 = input.ReadString(); break; } case 152: { Time2 = input.ReadInt32(); break; } case 162: { RewardPreview2 = input.ReadString(); break; } case 170: { BonusPreview2 = input.ReadString(); break; } case 176: { Time3 = input.ReadInt32(); break; } case 186: { RewardPreview3 = input.ReadString(); break; } case 194: { BonusPreview3 = input.ReadString(); break; } case 200: { Time4 = input.ReadInt32(); break; } case 210: { RewardPreview4 = input.ReadString(); break; } case 218: { BonusPreview4 = input.ReadString(); break; } } } } #endif } #endregion } #endregion Designer generated code