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

310 lines
10 KiB
C#

// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: PlanetFesSetCustomKeyValueScRsp.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 PlanetFesSetCustomKeyValueScRsp.proto</summary>
public static partial class PlanetFesSetCustomKeyValueScRspReflection {
#region Descriptor
/// <summary>File descriptor for PlanetFesSetCustomKeyValueScRsp.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static PlanetFesSetCustomKeyValueScRspReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"CiVQbGFuZXRGZXNTZXRDdXN0b21LZXlWYWx1ZVNjUnNwLnByb3RvIk4KH1Bs",
"YW5ldEZlc1NldEN1c3RvbUtleVZhbHVlU2NSc3ASDwoHcmV0Y29kZRgHIAEo",
"DRINCgV2YWx1ZRgJIAEoDRILCgNrZXkYBCABKA1CHqoCG0VnZ0xpbmsuRGFu",
"aGVuZ1NlcnZlci5Qcm90b2IGcHJvdG8z"));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.PlanetFesSetCustomKeyValueScRsp), global::EggLink.DanhengServer.Proto.PlanetFesSetCustomKeyValueScRsp.Parser, new[]{ "Retcode", "Value", "Key" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class PlanetFesSetCustomKeyValueScRsp : pb::IMessage<PlanetFesSetCustomKeyValueScRsp>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<PlanetFesSetCustomKeyValueScRsp> _parser = new pb::MessageParser<PlanetFesSetCustomKeyValueScRsp>(() => new PlanetFesSetCustomKeyValueScRsp());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<PlanetFesSetCustomKeyValueScRsp> 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.PlanetFesSetCustomKeyValueScRspReflection.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 PlanetFesSetCustomKeyValueScRsp() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public PlanetFesSetCustomKeyValueScRsp(PlanetFesSetCustomKeyValueScRsp other) : this() {
retcode_ = other.retcode_;
value_ = other.value_;
key_ = other.key_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public PlanetFesSetCustomKeyValueScRsp Clone() {
return new PlanetFesSetCustomKeyValueScRsp(this);
}
/// <summary>Field number for the "retcode" field.</summary>
public const int RetcodeFieldNumber = 7;
private uint retcode_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint Retcode {
get { return retcode_; }
set {
retcode_ = value;
}
}
/// <summary>Field number for the "value" field.</summary>
public const int ValueFieldNumber = 9;
private uint value_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint Value {
get { return value_; }
set {
value_ = value;
}
}
/// <summary>Field number for the "key" field.</summary>
public const int KeyFieldNumber = 4;
private uint key_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint Key {
get { return key_; }
set {
key_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as PlanetFesSetCustomKeyValueScRsp);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(PlanetFesSetCustomKeyValueScRsp other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Retcode != other.Retcode) return false;
if (Value != other.Value) return false;
if (Key != other.Key) 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 (Retcode != 0) hash ^= Retcode.GetHashCode();
if (Value != 0) hash ^= Value.GetHashCode();
if (Key != 0) hash ^= Key.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 (Key != 0) {
output.WriteRawTag(32);
output.WriteUInt32(Key);
}
if (Retcode != 0) {
output.WriteRawTag(56);
output.WriteUInt32(Retcode);
}
if (Value != 0) {
output.WriteRawTag(72);
output.WriteUInt32(Value);
}
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 (Key != 0) {
output.WriteRawTag(32);
output.WriteUInt32(Key);
}
if (Retcode != 0) {
output.WriteRawTag(56);
output.WriteUInt32(Retcode);
}
if (Value != 0) {
output.WriteRawTag(72);
output.WriteUInt32(Value);
}
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 (Retcode != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Retcode);
}
if (Value != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Value);
}
if (Key != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Key);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(PlanetFesSetCustomKeyValueScRsp other) {
if (other == null) {
return;
}
if (other.Retcode != 0) {
Retcode = other.Retcode;
}
if (other.Value != 0) {
Value = other.Value;
}
if (other.Key != 0) {
Key = other.Key;
}
_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 32: {
Key = input.ReadUInt32();
break;
}
case 56: {
Retcode = input.ReadUInt32();
break;
}
case 72: {
Value = 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 32: {
Key = input.ReadUInt32();
break;
}
case 56: {
Retcode = input.ReadUInt32();
break;
}
case 72: {
Value = input.ReadUInt32();
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code