Files
DanhengServer-OpenSource/Proto/SyncStatus.cs
2024-12-14 19:08:41 +08:00

309 lines
13 KiB
C#

// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: SyncStatus.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 SyncStatus.proto</summary>
public static partial class SyncStatusReflection {
#region Descriptor
/// <summary>File descriptor for SyncStatus.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static SyncStatusReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"ChBTeW5jU3RhdHVzLnByb3RvGhNTZWN0aW9uU3RhdHVzLnByb3RvGhFHcm91",
"cFN0YXR1cy5wcm90byKKAQoKU3luY1N0YXR1cxImCg5zZWN0aW9uX3N0YXR1",
"cxgEIAMoCzIOLlNlY3Rpb25TdGF0dXMSKgoUbWVzc2FnZV9ncm91cF9zdGF0",
"dXMYDiADKAsyDC5Hcm91cFN0YXR1cxITCgtBUE9JUERIRU1QThgKIAMoDRIT",
"CgtKREdET0VMREhQRRgPIAMoDUIeqgIbRWdnTGluay5EYW5oZW5nU2VydmVy",
"LlByb3RvYgZwcm90bzM="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.SectionStatusReflection.Descriptor, global::EggLink.DanhengServer.Proto.GroupStatusReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.SyncStatus), global::EggLink.DanhengServer.Proto.SyncStatus.Parser, new[]{ "SectionStatus", "MessageGroupStatus", "APOIPDHEMPN", "JDGDOELDHPE" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class SyncStatus : pb::IMessage<SyncStatus>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<SyncStatus> _parser = new pb::MessageParser<SyncStatus>(() => new SyncStatus());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<SyncStatus> 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.SyncStatusReflection.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 SyncStatus() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public SyncStatus(SyncStatus other) : this() {
sectionStatus_ = other.sectionStatus_.Clone();
messageGroupStatus_ = other.messageGroupStatus_.Clone();
aPOIPDHEMPN_ = other.aPOIPDHEMPN_.Clone();
jDGDOELDHPE_ = other.jDGDOELDHPE_.Clone();
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public SyncStatus Clone() {
return new SyncStatus(this);
}
/// <summary>Field number for the "section_status" field.</summary>
public const int SectionStatusFieldNumber = 4;
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.SectionStatus> _repeated_sectionStatus_codec
= pb::FieldCodec.ForMessage(34, global::EggLink.DanhengServer.Proto.SectionStatus.Parser);
private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.SectionStatus> sectionStatus_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.SectionStatus>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.SectionStatus> SectionStatus {
get { return sectionStatus_; }
}
/// <summary>Field number for the "message_group_status" field.</summary>
public const int MessageGroupStatusFieldNumber = 14;
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.GroupStatus> _repeated_messageGroupStatus_codec
= pb::FieldCodec.ForMessage(114, global::EggLink.DanhengServer.Proto.GroupStatus.Parser);
private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.GroupStatus> messageGroupStatus_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.GroupStatus>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.GroupStatus> MessageGroupStatus {
get { return messageGroupStatus_; }
}
/// <summary>Field number for the "APOIPDHEMPN" field.</summary>
public const int APOIPDHEMPNFieldNumber = 10;
private static readonly pb::FieldCodec<uint> _repeated_aPOIPDHEMPN_codec
= pb::FieldCodec.ForUInt32(82);
private readonly pbc::RepeatedField<uint> aPOIPDHEMPN_ = new pbc::RepeatedField<uint>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<uint> APOIPDHEMPN {
get { return aPOIPDHEMPN_; }
}
/// <summary>Field number for the "JDGDOELDHPE" field.</summary>
public const int JDGDOELDHPEFieldNumber = 15;
private static readonly pb::FieldCodec<uint> _repeated_jDGDOELDHPE_codec
= pb::FieldCodec.ForUInt32(122);
private readonly pbc::RepeatedField<uint> jDGDOELDHPE_ = new pbc::RepeatedField<uint>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<uint> JDGDOELDHPE {
get { return jDGDOELDHPE_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as SyncStatus);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(SyncStatus other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if(!sectionStatus_.Equals(other.sectionStatus_)) return false;
if(!messageGroupStatus_.Equals(other.messageGroupStatus_)) return false;
if(!aPOIPDHEMPN_.Equals(other.aPOIPDHEMPN_)) return false;
if(!jDGDOELDHPE_.Equals(other.jDGDOELDHPE_)) 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;
hash ^= sectionStatus_.GetHashCode();
hash ^= messageGroupStatus_.GetHashCode();
hash ^= aPOIPDHEMPN_.GetHashCode();
hash ^= jDGDOELDHPE_.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
sectionStatus_.WriteTo(output, _repeated_sectionStatus_codec);
aPOIPDHEMPN_.WriteTo(output, _repeated_aPOIPDHEMPN_codec);
messageGroupStatus_.WriteTo(output, _repeated_messageGroupStatus_codec);
jDGDOELDHPE_.WriteTo(output, _repeated_jDGDOELDHPE_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) {
sectionStatus_.WriteTo(ref output, _repeated_sectionStatus_codec);
aPOIPDHEMPN_.WriteTo(ref output, _repeated_aPOIPDHEMPN_codec);
messageGroupStatus_.WriteTo(ref output, _repeated_messageGroupStatus_codec);
jDGDOELDHPE_.WriteTo(ref output, _repeated_jDGDOELDHPE_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;
size += sectionStatus_.CalculateSize(_repeated_sectionStatus_codec);
size += messageGroupStatus_.CalculateSize(_repeated_messageGroupStatus_codec);
size += aPOIPDHEMPN_.CalculateSize(_repeated_aPOIPDHEMPN_codec);
size += jDGDOELDHPE_.CalculateSize(_repeated_jDGDOELDHPE_codec);
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(SyncStatus other) {
if (other == null) {
return;
}
sectionStatus_.Add(other.sectionStatus_);
messageGroupStatus_.Add(other.messageGroupStatus_);
aPOIPDHEMPN_.Add(other.aPOIPDHEMPN_);
jDGDOELDHPE_.Add(other.jDGDOELDHPE_);
_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 34: {
sectionStatus_.AddEntriesFrom(input, _repeated_sectionStatus_codec);
break;
}
case 82:
case 80: {
aPOIPDHEMPN_.AddEntriesFrom(input, _repeated_aPOIPDHEMPN_codec);
break;
}
case 114: {
messageGroupStatus_.AddEntriesFrom(input, _repeated_messageGroupStatus_codec);
break;
}
case 122:
case 120: {
jDGDOELDHPE_.AddEntriesFrom(input, _repeated_jDGDOELDHPE_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) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 34: {
sectionStatus_.AddEntriesFrom(ref input, _repeated_sectionStatus_codec);
break;
}
case 82:
case 80: {
aPOIPDHEMPN_.AddEntriesFrom(ref input, _repeated_aPOIPDHEMPN_codec);
break;
}
case 114: {
messageGroupStatus_.AddEntriesFrom(ref input, _repeated_messageGroupStatus_codec);
break;
}
case 122:
case 120: {
jDGDOELDHPE_.AddEntriesFrom(ref input, _repeated_jDGDOELDHPE_codec);
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code