// // Generated by the protocol buffer compiler. DO NOT EDIT! // source: Honor.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 Honor.proto public static partial class HonorReflection { #region Descriptor /// File descriptor for Honor.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static HonorReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "CgtIb25vci5wcm90byK5AQoFSG9ub3ISCgoCaWQYASABKAUSDAoEbmFtZRgC", "IAEoCRIRCglpc191bmxvY2sYAyABKAgSDAoEdHlwZRgEIAEoBRIQCgh0YWJf", "dHlwZRgFIAEoBRIOCgZwYXJhbXMYBiADKAUSEAoIcHJpb3RpdHkYByABKAUS", "EAoIbWFpbl9yZXMYCCABKAkSDwoHc3ViX3JlcxgJIAEoCRIMCgRzb3J0GAog", "ASgFEhAKCGJfZ190eXBlGAsgASgFQg6qAgtOb3ZhLkNsaWVudGIGcHJvdG8z")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.Honor), global::Nova.Client.Honor.Parser, new[]{ "Id", "Name", "IsUnlock", "Type", "TabType", "Params", "Priotity", "MainRes", "SubRes", "Sort", "BGType" }, null, null, null, null) })); } #endregion } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class Honor : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Honor()); 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.HonorReflection.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 Honor() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public Honor(Honor other) : this() { id_ = other.id_; name_ = other.name_; isUnlock_ = other.isUnlock_; type_ = other.type_; tabType_ = other.tabType_; params_ = other.params_.Clone(); priotity_ = other.priotity_; mainRes_ = other.mainRes_; subRes_ = other.subRes_; sort_ = other.sort_; bGType_ = other.bGType_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public Honor Clone() { return new Honor(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 "is_unlock" field. public const int IsUnlockFieldNumber = 3; private bool isUnlock_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool IsUnlock { get { return isUnlock_; } set { isUnlock_ = value; } } /// Field number for the "type" field. public const int TypeFieldNumber = 4; private int type_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int Type { get { return type_; } set { type_ = value; } } /// Field number for the "tab_type" field. public const int TabTypeFieldNumber = 5; private int tabType_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int TabType { get { return tabType_; } set { tabType_ = value; } } /// Field number for the "params" field. public const int ParamsFieldNumber = 6; private static readonly pb::FieldCodec _repeated_params_codec = pb::FieldCodec.ForInt32(50); private readonly pbc::RepeatedField params_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField Params { get { return params_; } } /// Field number for the "priotity" field. public const int PriotityFieldNumber = 7; private int priotity_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int Priotity { get { return priotity_; } set { priotity_ = value; } } /// Field number for the "main_res" field. public const int MainResFieldNumber = 8; private string mainRes_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string MainRes { get { return mainRes_; } set { mainRes_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "sub_res" field. public const int SubResFieldNumber = 9; private string subRes_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string SubRes { get { return subRes_; } set { subRes_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "sort" field. public const int SortFieldNumber = 10; 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 "b_g_type" field. public const int BGTypeFieldNumber = 11; private int bGType_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int BGType { get { return bGType_; } set { bGType_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as Honor); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(Honor 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 (IsUnlock != other.IsUnlock) return false; if (Type != other.Type) return false; if (TabType != other.TabType) return false; if(!params_.Equals(other.params_)) return false; if (Priotity != other.Priotity) return false; if (MainRes != other.MainRes) return false; if (SubRes != other.SubRes) return false; if (Sort != other.Sort) return false; if (BGType != other.BGType) 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 (IsUnlock != false) hash ^= IsUnlock.GetHashCode(); if (Type != 0) hash ^= Type.GetHashCode(); if (TabType != 0) hash ^= TabType.GetHashCode(); hash ^= params_.GetHashCode(); if (Priotity != 0) hash ^= Priotity.GetHashCode(); if (MainRes.Length != 0) hash ^= MainRes.GetHashCode(); if (SubRes.Length != 0) hash ^= SubRes.GetHashCode(); if (Sort != 0) hash ^= Sort.GetHashCode(); if (BGType != 0) hash ^= BGType.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 (IsUnlock != false) { output.WriteRawTag(24); output.WriteBool(IsUnlock); } if (Type != 0) { output.WriteRawTag(32); output.WriteInt32(Type); } if (TabType != 0) { output.WriteRawTag(40); output.WriteInt32(TabType); } params_.WriteTo(output, _repeated_params_codec); if (Priotity != 0) { output.WriteRawTag(56); output.WriteInt32(Priotity); } if (MainRes.Length != 0) { output.WriteRawTag(66); output.WriteString(MainRes); } if (SubRes.Length != 0) { output.WriteRawTag(74); output.WriteString(SubRes); } if (Sort != 0) { output.WriteRawTag(80); output.WriteInt32(Sort); } if (BGType != 0) { output.WriteRawTag(88); output.WriteInt32(BGType); } 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 (IsUnlock != false) { output.WriteRawTag(24); output.WriteBool(IsUnlock); } if (Type != 0) { output.WriteRawTag(32); output.WriteInt32(Type); } if (TabType != 0) { output.WriteRawTag(40); output.WriteInt32(TabType); } params_.WriteTo(ref output, _repeated_params_codec); if (Priotity != 0) { output.WriteRawTag(56); output.WriteInt32(Priotity); } if (MainRes.Length != 0) { output.WriteRawTag(66); output.WriteString(MainRes); } if (SubRes.Length != 0) { output.WriteRawTag(74); output.WriteString(SubRes); } if (Sort != 0) { output.WriteRawTag(80); output.WriteInt32(Sort); } if (BGType != 0) { output.WriteRawTag(88); output.WriteInt32(BGType); } 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 (IsUnlock != false) { size += 1 + 1; } if (Type != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Type); } if (TabType != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(TabType); } size += params_.CalculateSize(_repeated_params_codec); if (Priotity != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Priotity); } if (MainRes.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(MainRes); } if (SubRes.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(SubRes); } if (Sort != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Sort); } if (BGType != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(BGType); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(Honor other) { if (other == null) { return; } if (other.Id != 0) { Id = other.Id; } if (other.Name.Length != 0) { Name = other.Name; } if (other.IsUnlock != false) { IsUnlock = other.IsUnlock; } if (other.Type != 0) { Type = other.Type; } if (other.TabType != 0) { TabType = other.TabType; } params_.Add(other.params_); if (other.Priotity != 0) { Priotity = other.Priotity; } if (other.MainRes.Length != 0) { MainRes = other.MainRes; } if (other.SubRes.Length != 0) { SubRes = other.SubRes; } if (other.Sort != 0) { Sort = other.Sort; } if (other.BGType != 0) { BGType = other.BGType; } _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: { IsUnlock = input.ReadBool(); break; } case 32: { Type = input.ReadInt32(); break; } case 40: { TabType = input.ReadInt32(); break; } case 50: case 48: { params_.AddEntriesFrom(input, _repeated_params_codec); break; } case 56: { Priotity = input.ReadInt32(); break; } case 66: { MainRes = input.ReadString(); break; } case 74: { SubRes = input.ReadString(); break; } case 80: { Sort = input.ReadInt32(); break; } case 88: { BGType = input.ReadInt32(); 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: { IsUnlock = input.ReadBool(); break; } case 32: { Type = input.ReadInt32(); break; } case 40: { TabType = input.ReadInt32(); break; } case 50: case 48: { params_.AddEntriesFrom(ref input, _repeated_params_codec); break; } case 56: { Priotity = input.ReadInt32(); break; } case 66: { MainRes = input.ReadString(); break; } case 74: { SubRes = input.ReadString(); break; } case 80: { Sort = input.ReadInt32(); break; } case 88: { BGType = input.ReadInt32(); break; } } } } #endif } #endregion } #endregion Designer generated code