Files
DanhengServer-OpenSource/Proto/ModifyRelicFilterPlanScRsp.cs
2025-04-15 16:44:46 +08:00

501 lines
18 KiB
C#

// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: ModifyRelicFilterPlanScRsp.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 ModifyRelicFilterPlanScRsp.proto</summary>
public static partial class ModifyRelicFilterPlanScRspReflection {
#region Descriptor
/// <summary>File descriptor for ModifyRelicFilterPlanScRsp.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static ModifyRelicFilterPlanScRspReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"CiBNb2RpZnlSZWxpY0ZpbHRlclBsYW5TY1JzcC5wcm90bxodUmVsaWNGaWx0",
"ZXJQbGFuU2V0dGluZ3MucHJvdG8aGVJlbGljRmlsdGVyUGxhbkljb24ucHJv",
"dG8iygEKGk1vZGlmeVJlbGljRmlsdGVyUGxhblNjUnNwEg4KBE5hbWUYDyAB",
"KAlIABIkCgRJY29uGAIgASgLMhQuUmVsaWNGaWx0ZXJQbGFuSWNvbkgAEiwK",
"CFNldHRpbmdzGA4gASgLMhguUmVsaWNGaWx0ZXJQbGFuU2V0dGluZ3NIABIX",
"Cg9VcGRhdGVUaW1lc3RhbXAYCiABKAMSEQoJU2xvdEluZGV4GAcgASgNEg8K",
"B1JldGNvZGUYCyABKA1CCwoJaW5mb0Nhc2VfQh6qAhtFZ2dMaW5rLkRhbmhl",
"bmdTZXJ2ZXIuUHJvdG9iBnByb3RvMw=="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.RelicFilterPlanSettingsReflection.Descriptor, global::EggLink.DanhengServer.Proto.RelicFilterPlanIconReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.ModifyRelicFilterPlanScRsp), global::EggLink.DanhengServer.Proto.ModifyRelicFilterPlanScRsp.Parser, new[]{ "Name", "Icon", "Settings", "UpdateTimestamp", "SlotIndex", "Retcode" }, new[]{ "InfoCase" }, null, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class ModifyRelicFilterPlanScRsp : pb::IMessage<ModifyRelicFilterPlanScRsp>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<ModifyRelicFilterPlanScRsp> _parser = new pb::MessageParser<ModifyRelicFilterPlanScRsp>(() => new ModifyRelicFilterPlanScRsp());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<ModifyRelicFilterPlanScRsp> 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.ModifyRelicFilterPlanScRspReflection.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 ModifyRelicFilterPlanScRsp() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public ModifyRelicFilterPlanScRsp(ModifyRelicFilterPlanScRsp other) : this() {
updateTimestamp_ = other.updateTimestamp_;
slotIndex_ = other.slotIndex_;
retcode_ = other.retcode_;
switch (other.InfoCaseCase) {
case InfoCaseOneofCase.Name:
Name = other.Name;
break;
case InfoCaseOneofCase.Icon:
Icon = other.Icon.Clone();
break;
case InfoCaseOneofCase.Settings:
Settings = other.Settings.Clone();
break;
}
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public ModifyRelicFilterPlanScRsp Clone() {
return new ModifyRelicFilterPlanScRsp(this);
}
/// <summary>Field number for the "Name" field.</summary>
public const int NameFieldNumber = 15;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string Name {
get { return HasName ? (string) infoCase_ : ""; }
set {
infoCase_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
infoCaseCase_ = InfoCaseOneofCase.Name;
}
}
/// <summary>Gets whether the "Name" field is set</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool HasName {
get { return infoCaseCase_ == InfoCaseOneofCase.Name; }
}
/// <summary> Clears the value of the oneof if it's currently set to "Name" </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void ClearName() {
if (HasName) {
ClearInfoCase();
}
}
/// <summary>Field number for the "Icon" field.</summary>
public const int IconFieldNumber = 2;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::EggLink.DanhengServer.Proto.RelicFilterPlanIcon Icon {
get { return infoCaseCase_ == InfoCaseOneofCase.Icon ? (global::EggLink.DanhengServer.Proto.RelicFilterPlanIcon) infoCase_ : null; }
set {
infoCase_ = value;
infoCaseCase_ = value == null ? InfoCaseOneofCase.None : InfoCaseOneofCase.Icon;
}
}
/// <summary>Field number for the "Settings" field.</summary>
public const int SettingsFieldNumber = 14;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::EggLink.DanhengServer.Proto.RelicFilterPlanSettings Settings {
get { return infoCaseCase_ == InfoCaseOneofCase.Settings ? (global::EggLink.DanhengServer.Proto.RelicFilterPlanSettings) infoCase_ : null; }
set {
infoCase_ = value;
infoCaseCase_ = value == null ? InfoCaseOneofCase.None : InfoCaseOneofCase.Settings;
}
}
/// <summary>Field number for the "UpdateTimestamp" field.</summary>
public const int UpdateTimestampFieldNumber = 10;
private long updateTimestamp_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public long UpdateTimestamp {
get { return updateTimestamp_; }
set {
updateTimestamp_ = value;
}
}
/// <summary>Field number for the "SlotIndex" field.</summary>
public const int SlotIndexFieldNumber = 7;
private uint slotIndex_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint SlotIndex {
get { return slotIndex_; }
set {
slotIndex_ = value;
}
}
/// <summary>Field number for the "Retcode" field.</summary>
public const int RetcodeFieldNumber = 11;
private uint retcode_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint Retcode {
get { return retcode_; }
set {
retcode_ = value;
}
}
private object infoCase_;
/// <summary>Enum of possible cases for the "infoCase_" oneof.</summary>
public enum InfoCaseOneofCase {
None = 0,
Name = 15,
Icon = 2,
Settings = 14,
}
private InfoCaseOneofCase infoCaseCase_ = InfoCaseOneofCase.None;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public InfoCaseOneofCase InfoCaseCase {
get { return infoCaseCase_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void ClearInfoCase() {
infoCaseCase_ = InfoCaseOneofCase.None;
infoCase_ = null;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as ModifyRelicFilterPlanScRsp);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(ModifyRelicFilterPlanScRsp other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Name != other.Name) return false;
if (!object.Equals(Icon, other.Icon)) return false;
if (!object.Equals(Settings, other.Settings)) return false;
if (UpdateTimestamp != other.UpdateTimestamp) return false;
if (SlotIndex != other.SlotIndex) return false;
if (Retcode != other.Retcode) return false;
if (InfoCaseCase != other.InfoCaseCase) 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 (HasName) hash ^= Name.GetHashCode();
if (infoCaseCase_ == InfoCaseOneofCase.Icon) hash ^= Icon.GetHashCode();
if (infoCaseCase_ == InfoCaseOneofCase.Settings) hash ^= Settings.GetHashCode();
if (UpdateTimestamp != 0L) hash ^= UpdateTimestamp.GetHashCode();
if (SlotIndex != 0) hash ^= SlotIndex.GetHashCode();
if (Retcode != 0) hash ^= Retcode.GetHashCode();
hash ^= (int) infoCaseCase_;
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 (infoCaseCase_ == InfoCaseOneofCase.Icon) {
output.WriteRawTag(18);
output.WriteMessage(Icon);
}
if (SlotIndex != 0) {
output.WriteRawTag(56);
output.WriteUInt32(SlotIndex);
}
if (UpdateTimestamp != 0L) {
output.WriteRawTag(80);
output.WriteInt64(UpdateTimestamp);
}
if (Retcode != 0) {
output.WriteRawTag(88);
output.WriteUInt32(Retcode);
}
if (infoCaseCase_ == InfoCaseOneofCase.Settings) {
output.WriteRawTag(114);
output.WriteMessage(Settings);
}
if (HasName) {
output.WriteRawTag(122);
output.WriteString(Name);
}
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 (infoCaseCase_ == InfoCaseOneofCase.Icon) {
output.WriteRawTag(18);
output.WriteMessage(Icon);
}
if (SlotIndex != 0) {
output.WriteRawTag(56);
output.WriteUInt32(SlotIndex);
}
if (UpdateTimestamp != 0L) {
output.WriteRawTag(80);
output.WriteInt64(UpdateTimestamp);
}
if (Retcode != 0) {
output.WriteRawTag(88);
output.WriteUInt32(Retcode);
}
if (infoCaseCase_ == InfoCaseOneofCase.Settings) {
output.WriteRawTag(114);
output.WriteMessage(Settings);
}
if (HasName) {
output.WriteRawTag(122);
output.WriteString(Name);
}
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 (HasName) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Name);
}
if (infoCaseCase_ == InfoCaseOneofCase.Icon) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Icon);
}
if (infoCaseCase_ == InfoCaseOneofCase.Settings) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Settings);
}
if (UpdateTimestamp != 0L) {
size += 1 + pb::CodedOutputStream.ComputeInt64Size(UpdateTimestamp);
}
if (SlotIndex != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(SlotIndex);
}
if (Retcode != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Retcode);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(ModifyRelicFilterPlanScRsp other) {
if (other == null) {
return;
}
if (other.UpdateTimestamp != 0L) {
UpdateTimestamp = other.UpdateTimestamp;
}
if (other.SlotIndex != 0) {
SlotIndex = other.SlotIndex;
}
if (other.Retcode != 0) {
Retcode = other.Retcode;
}
switch (other.InfoCaseCase) {
case InfoCaseOneofCase.Name:
Name = other.Name;
break;
case InfoCaseOneofCase.Icon:
if (Icon == null) {
Icon = new global::EggLink.DanhengServer.Proto.RelicFilterPlanIcon();
}
Icon.MergeFrom(other.Icon);
break;
case InfoCaseOneofCase.Settings:
if (Settings == null) {
Settings = new global::EggLink.DanhengServer.Proto.RelicFilterPlanSettings();
}
Settings.MergeFrom(other.Settings);
break;
}
_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 18: {
global::EggLink.DanhengServer.Proto.RelicFilterPlanIcon subBuilder = new global::EggLink.DanhengServer.Proto.RelicFilterPlanIcon();
if (infoCaseCase_ == InfoCaseOneofCase.Icon) {
subBuilder.MergeFrom(Icon);
}
input.ReadMessage(subBuilder);
Icon = subBuilder;
break;
}
case 56: {
SlotIndex = input.ReadUInt32();
break;
}
case 80: {
UpdateTimestamp = input.ReadInt64();
break;
}
case 88: {
Retcode = input.ReadUInt32();
break;
}
case 114: {
global::EggLink.DanhengServer.Proto.RelicFilterPlanSettings subBuilder = new global::EggLink.DanhengServer.Proto.RelicFilterPlanSettings();
if (infoCaseCase_ == InfoCaseOneofCase.Settings) {
subBuilder.MergeFrom(Settings);
}
input.ReadMessage(subBuilder);
Settings = subBuilder;
break;
}
case 122: {
Name = 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 18: {
global::EggLink.DanhengServer.Proto.RelicFilterPlanIcon subBuilder = new global::EggLink.DanhengServer.Proto.RelicFilterPlanIcon();
if (infoCaseCase_ == InfoCaseOneofCase.Icon) {
subBuilder.MergeFrom(Icon);
}
input.ReadMessage(subBuilder);
Icon = subBuilder;
break;
}
case 56: {
SlotIndex = input.ReadUInt32();
break;
}
case 80: {
UpdateTimestamp = input.ReadInt64();
break;
}
case 88: {
Retcode = input.ReadUInt32();
break;
}
case 114: {
global::EggLink.DanhengServer.Proto.RelicFilterPlanSettings subBuilder = new global::EggLink.DanhengServer.Proto.RelicFilterPlanSettings();
if (infoCaseCase_ == InfoCaseOneofCase.Settings) {
subBuilder.MergeFrom(Settings);
}
input.ReadMessage(subBuilder);
Settings = subBuilder;
break;
}
case 122: {
Name = input.ReadString();
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code