Files
DanhengServer-OpenSource/Proto/ServerLogScNotify.cs
2025-06-06 17:50:07 +08:00

349 lines
13 KiB
C#

// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: ServerLogScNotify.proto
// </auto-generated>
#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 EggLink.DanhengServer.Proto {
/// <summary>Holder for reflection information generated from ServerLogScNotify.proto</summary>
public static partial class ServerLogScNotifyReflection {
#region Descriptor
/// <summary>File descriptor for ServerLogScNotify.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static ServerLogScNotifyReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"ChdTZXJ2ZXJMb2dTY05vdGlmeS5wcm90bxoSU2VydmVyTG9nVGFnLnByb3Rv",
"GhRTZXJ2ZXJMb2dMZXZlbC5wcm90byJ5ChFTZXJ2ZXJMb2dTY05vdGlmeRIT",
"CgtMQ1BMTEdOSk5BShgBIAEoCRITCgtIS0xJR0NISElFRxgGIAEoCRIeCgVs",
"ZXZlbBgCIAEoDjIPLlNlcnZlckxvZ0xldmVsEhoKA3RhZxgFIAEoDjINLlNl",
"cnZlckxvZ1RhZ0IeqgIbRWdnTGluay5EYW5oZW5nU2VydmVyLlByb3RvYgZw",
"cm90bzM="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.ServerLogTagReflection.Descriptor, global::EggLink.DanhengServer.Proto.ServerLogLevelReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.ServerLogScNotify), global::EggLink.DanhengServer.Proto.ServerLogScNotify.Parser, new[]{ "LCPLLGNJNAJ", "HKLIGCHHIEG", "Level", "Tag" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class ServerLogScNotify : pb::IMessage<ServerLogScNotify>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<ServerLogScNotify> _parser = new pb::MessageParser<ServerLogScNotify>(() => new ServerLogScNotify());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<ServerLogScNotify> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::EggLink.DanhengServer.Proto.ServerLogScNotifyReflection.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 ServerLogScNotify() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public ServerLogScNotify(ServerLogScNotify other) : this() {
lCPLLGNJNAJ_ = other.lCPLLGNJNAJ_;
hKLIGCHHIEG_ = other.hKLIGCHHIEG_;
level_ = other.level_;
tag_ = other.tag_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public ServerLogScNotify Clone() {
return new ServerLogScNotify(this);
}
/// <summary>Field number for the "LCPLLGNJNAJ" field.</summary>
public const int LCPLLGNJNAJFieldNumber = 1;
private string lCPLLGNJNAJ_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string LCPLLGNJNAJ {
get { return lCPLLGNJNAJ_; }
set {
lCPLLGNJNAJ_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "HKLIGCHHIEG" field.</summary>
public const int HKLIGCHHIEGFieldNumber = 6;
private string hKLIGCHHIEG_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string HKLIGCHHIEG {
get { return hKLIGCHHIEG_; }
set {
hKLIGCHHIEG_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "level" field.</summary>
public const int LevelFieldNumber = 2;
private global::EggLink.DanhengServer.Proto.ServerLogLevel level_ = global::EggLink.DanhengServer.Proto.ServerLogLevel.None;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::EggLink.DanhengServer.Proto.ServerLogLevel Level {
get { return level_; }
set {
level_ = value;
}
}
/// <summary>Field number for the "tag" field.</summary>
public const int TagFieldNumber = 5;
private global::EggLink.DanhengServer.Proto.ServerLogTag tag_ = global::EggLink.DanhengServer.Proto.ServerLogTag.Default;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::EggLink.DanhengServer.Proto.ServerLogTag Tag {
get { return tag_; }
set {
tag_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as ServerLogScNotify);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(ServerLogScNotify other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (LCPLLGNJNAJ != other.LCPLLGNJNAJ) return false;
if (HKLIGCHHIEG != other.HKLIGCHHIEG) return false;
if (Level != other.Level) return false;
if (Tag != other.Tag) 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 (LCPLLGNJNAJ.Length != 0) hash ^= LCPLLGNJNAJ.GetHashCode();
if (HKLIGCHHIEG.Length != 0) hash ^= HKLIGCHHIEG.GetHashCode();
if (Level != global::EggLink.DanhengServer.Proto.ServerLogLevel.None) hash ^= Level.GetHashCode();
if (Tag != global::EggLink.DanhengServer.Proto.ServerLogTag.Default) hash ^= Tag.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 (LCPLLGNJNAJ.Length != 0) {
output.WriteRawTag(10);
output.WriteString(LCPLLGNJNAJ);
}
if (Level != global::EggLink.DanhengServer.Proto.ServerLogLevel.None) {
output.WriteRawTag(16);
output.WriteEnum((int) Level);
}
if (Tag != global::EggLink.DanhengServer.Proto.ServerLogTag.Default) {
output.WriteRawTag(40);
output.WriteEnum((int) Tag);
}
if (HKLIGCHHIEG.Length != 0) {
output.WriteRawTag(50);
output.WriteString(HKLIGCHHIEG);
}
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 (LCPLLGNJNAJ.Length != 0) {
output.WriteRawTag(10);
output.WriteString(LCPLLGNJNAJ);
}
if (Level != global::EggLink.DanhengServer.Proto.ServerLogLevel.None) {
output.WriteRawTag(16);
output.WriteEnum((int) Level);
}
if (Tag != global::EggLink.DanhengServer.Proto.ServerLogTag.Default) {
output.WriteRawTag(40);
output.WriteEnum((int) Tag);
}
if (HKLIGCHHIEG.Length != 0) {
output.WriteRawTag(50);
output.WriteString(HKLIGCHHIEG);
}
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 (LCPLLGNJNAJ.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(LCPLLGNJNAJ);
}
if (HKLIGCHHIEG.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(HKLIGCHHIEG);
}
if (Level != global::EggLink.DanhengServer.Proto.ServerLogLevel.None) {
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Level);
}
if (Tag != global::EggLink.DanhengServer.Proto.ServerLogTag.Default) {
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Tag);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(ServerLogScNotify other) {
if (other == null) {
return;
}
if (other.LCPLLGNJNAJ.Length != 0) {
LCPLLGNJNAJ = other.LCPLLGNJNAJ;
}
if (other.HKLIGCHHIEG.Length != 0) {
HKLIGCHHIEG = other.HKLIGCHHIEG;
}
if (other.Level != global::EggLink.DanhengServer.Proto.ServerLogLevel.None) {
Level = other.Level;
}
if (other.Tag != global::EggLink.DanhengServer.Proto.ServerLogTag.Default) {
Tag = other.Tag;
}
_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 10: {
LCPLLGNJNAJ = input.ReadString();
break;
}
case 16: {
Level = (global::EggLink.DanhengServer.Proto.ServerLogLevel) input.ReadEnum();
break;
}
case 40: {
Tag = (global::EggLink.DanhengServer.Proto.ServerLogTag) input.ReadEnum();
break;
}
case 50: {
HKLIGCHHIEG = 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) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 10: {
LCPLLGNJNAJ = input.ReadString();
break;
}
case 16: {
Level = (global::EggLink.DanhengServer.Proto.ServerLogLevel) input.ReadEnum();
break;
}
case 40: {
Tag = (global::EggLink.DanhengServer.Proto.ServerLogTag) input.ReadEnum();
break;
}
case 50: {
HKLIGCHHIEG = input.ReadString();
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code