// // Generated by the protocol buffer compiler. DO NOT EDIT! // source: Define_ProgramVersion.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; /// Holder for reflection information generated from Define_ProgramVersion.proto public static partial class DefineProgramVersionReflection { #region Descriptor /// File descriptor for Define_ProgramVersion.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static DefineProgramVersionReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "ChtEZWZpbmVfUHJvZ3JhbVZlcnNpb24ucHJvdG8aE0RlZmluZV9Db21tb24u", "cHJvdG8ikAEKFENsaWVudFByb2dyYW1WZXJzaW9uEhkKEW1ldGFTY2hlbWFW", "ZXJzaW9uGAEgASgEEhcKD21ldGFEYXRhVmVyc2lvbhgCIAEoBBIVCg1wYWNr", "ZXRWZXJzaW9uGAMgASgEEhQKDGxvZ2ljVmVyc2lvbhgEIAEoBBIXCg9yZXNv", "dXJjZVZlcnNpb24YBSABKAQiTQoMTG9naWNWZXJzaW9uEg0KBW1ham9yGAEg", "ASgFEg0KBW1pbm9yGAIgASgFEg0KBWJ1aWxkGAMgASgFEhAKCHJldmlzaW9u", "GAQgASgFIs8BChRTZXJ2ZXJQcm9ncmFtVmVyc2lvbhIZChFtZXRhU2NoZW1h", "VmVyc2lvbhgBIAEoBBIXCg9tZXRhRGF0YVZlcnNpb24YAiABKAQSFwoPZGJT", "Y2hlbWFWZXJzaW9uGAMgASgEEhUKDXBhY2tldFZlcnNpb24YBCABKAQSIwoM", "bG9naWNWZXJzaW9uGAUgASgLMg0uTG9naWNWZXJzaW9uEhcKD3Jlc291cmNl", "VmVyc2lvbhgGIAEoBBIVCg1jb25maWdWZXJzaW9uGAcgASgEQi8KK2NvbS5j", "YWxpdmVyc2UuYWRtaW4uZG9tYWluLlJhYmJpdE1xLm1lc3NhZ2VQAWIGcHJv", "dG8z")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { global::DefineCommonReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::ClientProgramVersion), global::ClientProgramVersion.Parser, new[]{ "MetaSchemaVersion", "MetaDataVersion", "PacketVersion", "LogicVersion", "ResourceVersion" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::LogicVersion), global::LogicVersion.Parser, new[]{ "Major", "Minor", "Build", "Revision" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::ServerProgramVersion), global::ServerProgramVersion.Parser, new[]{ "MetaSchemaVersion", "MetaDataVersion", "DbSchemaVersion", "PacketVersion", "LogicVersion", "ResourceVersion", "ConfigVersion" }, null, null, null, null) })); } #endregion } #region Messages /// /// 클라이언트 프로그램 버전 정보 /// [global::System.SerializableAttribute] public sealed partial class ClientProgramVersion : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ClientProgramVersion()); 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::DefineProgramVersionReflection.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 ClientProgramVersion() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public ClientProgramVersion(ClientProgramVersion other) : this() { metaSchemaVersion_ = other.metaSchemaVersion_; metaDataVersion_ = other.metaDataVersion_; packetVersion_ = other.packetVersion_; logicVersion_ = other.logicVersion_; resourceVersion_ = other.resourceVersion_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public ClientProgramVersion Clone() { return new ClientProgramVersion(this); } /// Field number for the "metaSchemaVersion" field. public const int MetaSchemaVersionFieldNumber = 1; private ulong metaSchemaVersion_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public ulong MetaSchemaVersion { get { return metaSchemaVersion_; } set { metaSchemaVersion_ = value; } } /// Field number for the "metaDataVersion" field. public const int MetaDataVersionFieldNumber = 2; private ulong metaDataVersion_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public ulong MetaDataVersion { get { return metaDataVersion_; } set { metaDataVersion_ = value; } } /// Field number for the "packetVersion" field. public const int PacketVersionFieldNumber = 3; private ulong packetVersion_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public ulong PacketVersion { get { return packetVersion_; } set { packetVersion_ = value; } } /// Field number for the "logicVersion" field. public const int LogicVersionFieldNumber = 4; private ulong logicVersion_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public ulong LogicVersion { get { return logicVersion_; } set { logicVersion_ = value; } } /// Field number for the "resourceVersion" field. public const int ResourceVersionFieldNumber = 5; private ulong resourceVersion_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public ulong ResourceVersion { get { return resourceVersion_; } set { resourceVersion_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as ClientProgramVersion); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(ClientProgramVersion other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (MetaSchemaVersion != other.MetaSchemaVersion) return false; if (MetaDataVersion != other.MetaDataVersion) return false; if (PacketVersion != other.PacketVersion) return false; if (LogicVersion != other.LogicVersion) return false; if (ResourceVersion != other.ResourceVersion) 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 (MetaSchemaVersion != 0UL) hash ^= MetaSchemaVersion.GetHashCode(); if (MetaDataVersion != 0UL) hash ^= MetaDataVersion.GetHashCode(); if (PacketVersion != 0UL) hash ^= PacketVersion.GetHashCode(); if (LogicVersion != 0UL) hash ^= LogicVersion.GetHashCode(); if (ResourceVersion != 0UL) hash ^= ResourceVersion.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 (MetaSchemaVersion != 0UL) { output.WriteRawTag(8); output.WriteUInt64(MetaSchemaVersion); } if (MetaDataVersion != 0UL) { output.WriteRawTag(16); output.WriteUInt64(MetaDataVersion); } if (PacketVersion != 0UL) { output.WriteRawTag(24); output.WriteUInt64(PacketVersion); } if (LogicVersion != 0UL) { output.WriteRawTag(32); output.WriteUInt64(LogicVersion); } if (ResourceVersion != 0UL) { output.WriteRawTag(40); output.WriteUInt64(ResourceVersion); } 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 (MetaSchemaVersion != 0UL) { output.WriteRawTag(8); output.WriteUInt64(MetaSchemaVersion); } if (MetaDataVersion != 0UL) { output.WriteRawTag(16); output.WriteUInt64(MetaDataVersion); } if (PacketVersion != 0UL) { output.WriteRawTag(24); output.WriteUInt64(PacketVersion); } if (LogicVersion != 0UL) { output.WriteRawTag(32); output.WriteUInt64(LogicVersion); } if (ResourceVersion != 0UL) { output.WriteRawTag(40); output.WriteUInt64(ResourceVersion); } 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 (MetaSchemaVersion != 0UL) { size += 1 + pb::CodedOutputStream.ComputeUInt64Size(MetaSchemaVersion); } if (MetaDataVersion != 0UL) { size += 1 + pb::CodedOutputStream.ComputeUInt64Size(MetaDataVersion); } if (PacketVersion != 0UL) { size += 1 + pb::CodedOutputStream.ComputeUInt64Size(PacketVersion); } if (LogicVersion != 0UL) { size += 1 + pb::CodedOutputStream.ComputeUInt64Size(LogicVersion); } if (ResourceVersion != 0UL) { size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ResourceVersion); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(ClientProgramVersion other) { if (other == null) { return; } if (other.MetaSchemaVersion != 0UL) { MetaSchemaVersion = other.MetaSchemaVersion; } if (other.MetaDataVersion != 0UL) { MetaDataVersion = other.MetaDataVersion; } if (other.PacketVersion != 0UL) { PacketVersion = other.PacketVersion; } if (other.LogicVersion != 0UL) { LogicVersion = other.LogicVersion; } if (other.ResourceVersion != 0UL) { ResourceVersion = other.ResourceVersion; } _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: { MetaSchemaVersion = input.ReadUInt64(); break; } case 16: { MetaDataVersion = input.ReadUInt64(); break; } case 24: { PacketVersion = input.ReadUInt64(); break; } case 32: { LogicVersion = input.ReadUInt64(); break; } case 40: { ResourceVersion = input.ReadUInt64(); 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: { MetaSchemaVersion = input.ReadUInt64(); break; } case 16: { MetaDataVersion = input.ReadUInt64(); break; } case 24: { PacketVersion = input.ReadUInt64(); break; } case 32: { LogicVersion = input.ReadUInt64(); break; } case 40: { ResourceVersion = input.ReadUInt64(); break; } } } } #endif } /// /// CLR Assembly Version 정보를 담는다 !!! /// [global::System.SerializableAttribute] public sealed partial class LogicVersion : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new LogicVersion()); 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::DefineProgramVersionReflection.Descriptor.MessageTypes[1]; } } [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 LogicVersion() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public LogicVersion(LogicVersion other) : this() { major_ = other.major_; minor_ = other.minor_; build_ = other.build_; revision_ = other.revision_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public LogicVersion Clone() { return new LogicVersion(this); } /// Field number for the "major" field. public const int MajorFieldNumber = 1; private int major_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int Major { get { return major_; } set { major_ = value; } } /// Field number for the "minor" field. public const int MinorFieldNumber = 2; private int minor_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int Minor { get { return minor_; } set { minor_ = value; } } /// Field number for the "build" field. public const int BuildFieldNumber = 3; private int build_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int Build { get { return build_; } set { build_ = value; } } /// Field number for the "revision" field. public const int RevisionFieldNumber = 4; private int revision_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int Revision { get { return revision_; } set { revision_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as LogicVersion); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(LogicVersion other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (Major != other.Major) return false; if (Minor != other.Minor) return false; if (Build != other.Build) return false; if (Revision != other.Revision) 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 (Major != 0) hash ^= Major.GetHashCode(); if (Minor != 0) hash ^= Minor.GetHashCode(); if (Build != 0) hash ^= Build.GetHashCode(); if (Revision != 0) hash ^= Revision.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 (Major != 0) { output.WriteRawTag(8); output.WriteInt32(Major); } if (Minor != 0) { output.WriteRawTag(16); output.WriteInt32(Minor); } if (Build != 0) { output.WriteRawTag(24); output.WriteInt32(Build); } if (Revision != 0) { output.WriteRawTag(32); output.WriteInt32(Revision); } 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 (Major != 0) { output.WriteRawTag(8); output.WriteInt32(Major); } if (Minor != 0) { output.WriteRawTag(16); output.WriteInt32(Minor); } if (Build != 0) { output.WriteRawTag(24); output.WriteInt32(Build); } if (Revision != 0) { output.WriteRawTag(32); output.WriteInt32(Revision); } 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 (Major != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Major); } if (Minor != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Minor); } if (Build != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Build); } if (Revision != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Revision); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(LogicVersion other) { if (other == null) { return; } if (other.Major != 0) { Major = other.Major; } if (other.Minor != 0) { Minor = other.Minor; } if (other.Build != 0) { Build = other.Build; } if (other.Revision != 0) { Revision = other.Revision; } _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: { Major = input.ReadInt32(); break; } case 16: { Minor = input.ReadInt32(); break; } case 24: { Build = input.ReadInt32(); break; } case 32: { Revision = 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) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 8: { Major = input.ReadInt32(); break; } case 16: { Minor = input.ReadInt32(); break; } case 24: { Build = input.ReadInt32(); break; } case 32: { Revision = input.ReadInt32(); break; } } } } #endif } [global::System.SerializableAttribute] public sealed partial class ServerProgramVersion : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ServerProgramVersion()); 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::DefineProgramVersionReflection.Descriptor.MessageTypes[2]; } } [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 ServerProgramVersion() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public ServerProgramVersion(ServerProgramVersion other) : this() { metaSchemaVersion_ = other.metaSchemaVersion_; metaDataVersion_ = other.metaDataVersion_; dbSchemaVersion_ = other.dbSchemaVersion_; packetVersion_ = other.packetVersion_; logicVersion_ = other.logicVersion_ != null ? other.logicVersion_.Clone() : null; resourceVersion_ = other.resourceVersion_; configVersion_ = other.configVersion_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public ServerProgramVersion Clone() { return new ServerProgramVersion(this); } /// Field number for the "metaSchemaVersion" field. public const int MetaSchemaVersionFieldNumber = 1; private ulong metaSchemaVersion_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public ulong MetaSchemaVersion { get { return metaSchemaVersion_; } set { metaSchemaVersion_ = value; } } /// Field number for the "metaDataVersion" field. public const int MetaDataVersionFieldNumber = 2; private ulong metaDataVersion_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public ulong MetaDataVersion { get { return metaDataVersion_; } set { metaDataVersion_ = value; } } /// Field number for the "dbSchemaVersion" field. public const int DbSchemaVersionFieldNumber = 3; private ulong dbSchemaVersion_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public ulong DbSchemaVersion { get { return dbSchemaVersion_; } set { dbSchemaVersion_ = value; } } /// Field number for the "packetVersion" field. public const int PacketVersionFieldNumber = 4; private ulong packetVersion_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public ulong PacketVersion { get { return packetVersion_; } set { packetVersion_ = value; } } /// Field number for the "logicVersion" field. public const int LogicVersionFieldNumber = 5; private global::LogicVersion logicVersion_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::LogicVersion LogicVersion { get { return logicVersion_; } set { logicVersion_ = value; } } /// Field number for the "resourceVersion" field. public const int ResourceVersionFieldNumber = 6; private ulong resourceVersion_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public ulong ResourceVersion { get { return resourceVersion_; } set { resourceVersion_ = value; } } /// Field number for the "configVersion" field. public const int ConfigVersionFieldNumber = 7; private ulong configVersion_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public ulong ConfigVersion { get { return configVersion_; } set { configVersion_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as ServerProgramVersion); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(ServerProgramVersion other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (MetaSchemaVersion != other.MetaSchemaVersion) return false; if (MetaDataVersion != other.MetaDataVersion) return false; if (DbSchemaVersion != other.DbSchemaVersion) return false; if (PacketVersion != other.PacketVersion) return false; if (!object.Equals(LogicVersion, other.LogicVersion)) return false; if (ResourceVersion != other.ResourceVersion) return false; if (ConfigVersion != other.ConfigVersion) 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 (MetaSchemaVersion != 0UL) hash ^= MetaSchemaVersion.GetHashCode(); if (MetaDataVersion != 0UL) hash ^= MetaDataVersion.GetHashCode(); if (DbSchemaVersion != 0UL) hash ^= DbSchemaVersion.GetHashCode(); if (PacketVersion != 0UL) hash ^= PacketVersion.GetHashCode(); if (logicVersion_ != null) hash ^= LogicVersion.GetHashCode(); if (ResourceVersion != 0UL) hash ^= ResourceVersion.GetHashCode(); if (ConfigVersion != 0UL) hash ^= ConfigVersion.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 (MetaSchemaVersion != 0UL) { output.WriteRawTag(8); output.WriteUInt64(MetaSchemaVersion); } if (MetaDataVersion != 0UL) { output.WriteRawTag(16); output.WriteUInt64(MetaDataVersion); } if (DbSchemaVersion != 0UL) { output.WriteRawTag(24); output.WriteUInt64(DbSchemaVersion); } if (PacketVersion != 0UL) { output.WriteRawTag(32); output.WriteUInt64(PacketVersion); } if (logicVersion_ != null) { output.WriteRawTag(42); output.WriteMessage(LogicVersion); } if (ResourceVersion != 0UL) { output.WriteRawTag(48); output.WriteUInt64(ResourceVersion); } if (ConfigVersion != 0UL) { output.WriteRawTag(56); output.WriteUInt64(ConfigVersion); } 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 (MetaSchemaVersion != 0UL) { output.WriteRawTag(8); output.WriteUInt64(MetaSchemaVersion); } if (MetaDataVersion != 0UL) { output.WriteRawTag(16); output.WriteUInt64(MetaDataVersion); } if (DbSchemaVersion != 0UL) { output.WriteRawTag(24); output.WriteUInt64(DbSchemaVersion); } if (PacketVersion != 0UL) { output.WriteRawTag(32); output.WriteUInt64(PacketVersion); } if (logicVersion_ != null) { output.WriteRawTag(42); output.WriteMessage(LogicVersion); } if (ResourceVersion != 0UL) { output.WriteRawTag(48); output.WriteUInt64(ResourceVersion); } if (ConfigVersion != 0UL) { output.WriteRawTag(56); output.WriteUInt64(ConfigVersion); } 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 (MetaSchemaVersion != 0UL) { size += 1 + pb::CodedOutputStream.ComputeUInt64Size(MetaSchemaVersion); } if (MetaDataVersion != 0UL) { size += 1 + pb::CodedOutputStream.ComputeUInt64Size(MetaDataVersion); } if (DbSchemaVersion != 0UL) { size += 1 + pb::CodedOutputStream.ComputeUInt64Size(DbSchemaVersion); } if (PacketVersion != 0UL) { size += 1 + pb::CodedOutputStream.ComputeUInt64Size(PacketVersion); } if (logicVersion_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(LogicVersion); } if (ResourceVersion != 0UL) { size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ResourceVersion); } if (ConfigVersion != 0UL) { size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ConfigVersion); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(ServerProgramVersion other) { if (other == null) { return; } if (other.MetaSchemaVersion != 0UL) { MetaSchemaVersion = other.MetaSchemaVersion; } if (other.MetaDataVersion != 0UL) { MetaDataVersion = other.MetaDataVersion; } if (other.DbSchemaVersion != 0UL) { DbSchemaVersion = other.DbSchemaVersion; } if (other.PacketVersion != 0UL) { PacketVersion = other.PacketVersion; } if (other.logicVersion_ != null) { if (logicVersion_ == null) { LogicVersion = new global::LogicVersion(); } LogicVersion.MergeFrom(other.LogicVersion); } if (other.ResourceVersion != 0UL) { ResourceVersion = other.ResourceVersion; } if (other.ConfigVersion != 0UL) { ConfigVersion = other.ConfigVersion; } _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: { MetaSchemaVersion = input.ReadUInt64(); break; } case 16: { MetaDataVersion = input.ReadUInt64(); break; } case 24: { DbSchemaVersion = input.ReadUInt64(); break; } case 32: { PacketVersion = input.ReadUInt64(); break; } case 42: { if (logicVersion_ == null) { LogicVersion = new global::LogicVersion(); } input.ReadMessage(LogicVersion); break; } case 48: { ResourceVersion = input.ReadUInt64(); break; } case 56: { ConfigVersion = input.ReadUInt64(); 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: { MetaSchemaVersion = input.ReadUInt64(); break; } case 16: { MetaDataVersion = input.ReadUInt64(); break; } case 24: { DbSchemaVersion = input.ReadUInt64(); break; } case 32: { PacketVersion = input.ReadUInt64(); break; } case 42: { if (logicVersion_ == null) { LogicVersion = new global::LogicVersion(); } input.ReadMessage(LogicVersion); break; } case 48: { ResourceVersion = input.ReadUInt64(); break; } case 56: { ConfigVersion = input.ReadUInt64(); break; } } } } #endif } #endregion #endregion Designer generated code