Files
DanhengServer-OpenSource/Proto/ChallengeStoryStatistics.cs
2024-12-07 14:00:38 +08:00

283 lines
10 KiB
C#

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