Files
DanhengServer-OpenSource/Proto/ChallengeStatistics.cs
StopWuyu 5382b58874 Pam Skin
2024-10-27 15:47:59 +08:00

283 lines
10 KiB
C#

// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: ChallengeStatistics.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 ChallengeStatistics.proto</summary>
public static partial class ChallengeStatisticsReflection {
#region Descriptor
/// <summary>File descriptor for ChallengeStatistics.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static ChallengeStatisticsReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"ChlDaGFsbGVuZ2VTdGF0aXN0aWNzLnByb3RvGh1DaGFsbGVuZ2VTdGFnZVRl",
"cnRpbmdnaS5wcm90byJbChNDaGFsbGVuZ2VTdGF0aXN0aWNzEhEKCXJlY29y",
"ZF9pZBgJIAEoDRIxCg9zdGFnZV90ZXJ0aW5nZ2kYASABKAsyGC5DaGFsbGVu",
"Z2VTdGFnZVRlcnRpbmdnaUIeqgIbRWdnTGluay5EYW5oZW5nU2VydmVyLlBy",
"b3RvYgZwcm90bzM="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.ChallengeStageTertinggiReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.ChallengeStatistics), global::EggLink.DanhengServer.Proto.ChallengeStatistics.Parser, new[]{ "RecordId", "StageTertinggi" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class ChallengeStatistics : pb::IMessage<ChallengeStatistics>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<ChallengeStatistics> _parser = new pb::MessageParser<ChallengeStatistics>(() => new ChallengeStatistics());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<ChallengeStatistics> 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.ChallengeStatisticsReflection.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 ChallengeStatistics() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public ChallengeStatistics(ChallengeStatistics other) : this() {
recordId_ = other.recordId_;
stageTertinggi_ = other.stageTertinggi_ != null ? other.stageTertinggi_.Clone() : null;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public ChallengeStatistics Clone() {
return new ChallengeStatistics(this);
}
/// <summary>Field number for the "record_id" field.</summary>
public const int RecordIdFieldNumber = 9;
private uint recordId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint RecordId {
get { return recordId_; }
set {
recordId_ = value;
}
}
/// <summary>Field number for the "stage_tertinggi" field.</summary>
public const int StageTertinggiFieldNumber = 1;
private global::EggLink.DanhengServer.Proto.ChallengeStageTertinggi stageTertinggi_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::EggLink.DanhengServer.Proto.ChallengeStageTertinggi StageTertinggi {
get { return stageTertinggi_; }
set {
stageTertinggi_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as ChallengeStatistics);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(ChallengeStatistics other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (RecordId != other.RecordId) return false;
if (!object.Equals(StageTertinggi, other.StageTertinggi)) 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 (RecordId != 0) hash ^= RecordId.GetHashCode();
if (stageTertinggi_ != null) hash ^= StageTertinggi.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 (stageTertinggi_ != null) {
output.WriteRawTag(10);
output.WriteMessage(StageTertinggi);
}
if (RecordId != 0) {
output.WriteRawTag(72);
output.WriteUInt32(RecordId);
}
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 (stageTertinggi_ != null) {
output.WriteRawTag(10);
output.WriteMessage(StageTertinggi);
}
if (RecordId != 0) {
output.WriteRawTag(72);
output.WriteUInt32(RecordId);
}
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 (RecordId != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(RecordId);
}
if (stageTertinggi_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(StageTertinggi);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(ChallengeStatistics other) {
if (other == null) {
return;
}
if (other.RecordId != 0) {
RecordId = other.RecordId;
}
if (other.stageTertinggi_ != null) {
if (stageTertinggi_ == null) {
StageTertinggi = new global::EggLink.DanhengServer.Proto.ChallengeStageTertinggi();
}
StageTertinggi.MergeFrom(other.StageTertinggi);
}
_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: {
if (stageTertinggi_ == null) {
StageTertinggi = new global::EggLink.DanhengServer.Proto.ChallengeStageTertinggi();
}
input.ReadMessage(StageTertinggi);
break;
}
case 72: {
RecordId = input.ReadUInt32();
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: {
if (stageTertinggi_ == null) {
StageTertinggi = new global::EggLink.DanhengServer.Proto.ChallengeStageTertinggi();
}
input.ReadMessage(StageTertinggi);
break;
}
case 72: {
RecordId = input.ReadUInt32();
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code