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

423 lines
15 KiB
C#

// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: Product.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 Product.proto</summary>
public static partial class ProductReflection {
#region Descriptor
/// <summary>File descriptor for Product.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static ProductReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"Cg1Qcm9kdWN0LnByb3RvGhVQcm9kdWN0R2lmdFR5cGUucHJvdG8imQEKB1By",
"b2R1Y3QSEwoLTUtNSUdJTUdNS0sYDCABKA0SEwoLUEZCR0lISUZJQk8YAyAB",
"KAkSJQoLQk5LUE5NS0VJSE4YAiABKA4yEC5Qcm9kdWN0R2lmdFR5cGUSEwoL",
"QUhCSUtMUENLTEkYCCABKAkSEwoLQ0xJRU1OTUVERkYYBiABKA0SEwoLT0RC",
"UEtDREhHRkYYByABKAhCHqoCG0VnZ0xpbmsuRGFuaGVuZ1NlcnZlci5Qcm90",
"b2IGcHJvdG8z"));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.ProductGiftTypeReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.Product), global::EggLink.DanhengServer.Proto.Product.Parser, new[]{ "MKMIGIMGMKK", "PFBGIHIFIBO", "BNKPNMKEIHN", "AHBIKLPCKLI", "CLIEMNMEDFF", "ODBPKCDHGFF" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class Product : pb::IMessage<Product>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<Product> _parser = new pb::MessageParser<Product>(() => new Product());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<Product> 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.ProductReflection.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 Product() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public Product(Product other) : this() {
mKMIGIMGMKK_ = other.mKMIGIMGMKK_;
pFBGIHIFIBO_ = other.pFBGIHIFIBO_;
bNKPNMKEIHN_ = other.bNKPNMKEIHN_;
aHBIKLPCKLI_ = other.aHBIKLPCKLI_;
cLIEMNMEDFF_ = other.cLIEMNMEDFF_;
oDBPKCDHGFF_ = other.oDBPKCDHGFF_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public Product Clone() {
return new Product(this);
}
/// <summary>Field number for the "MKMIGIMGMKK" field.</summary>
public const int MKMIGIMGMKKFieldNumber = 12;
private uint mKMIGIMGMKK_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint MKMIGIMGMKK {
get { return mKMIGIMGMKK_; }
set {
mKMIGIMGMKK_ = value;
}
}
/// <summary>Field number for the "PFBGIHIFIBO" field.</summary>
public const int PFBGIHIFIBOFieldNumber = 3;
private string pFBGIHIFIBO_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string PFBGIHIFIBO {
get { return pFBGIHIFIBO_; }
set {
pFBGIHIFIBO_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "BNKPNMKEIHN" field.</summary>
public const int BNKPNMKEIHNFieldNumber = 2;
private global::EggLink.DanhengServer.Proto.ProductGiftType bNKPNMKEIHN_ = global::EggLink.DanhengServer.Proto.ProductGiftType.ProductGiftNone;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::EggLink.DanhengServer.Proto.ProductGiftType BNKPNMKEIHN {
get { return bNKPNMKEIHN_; }
set {
bNKPNMKEIHN_ = value;
}
}
/// <summary>Field number for the "AHBIKLPCKLI" field.</summary>
public const int AHBIKLPCKLIFieldNumber = 8;
private string aHBIKLPCKLI_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string AHBIKLPCKLI {
get { return aHBIKLPCKLI_; }
set {
aHBIKLPCKLI_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "CLIEMNMEDFF" field.</summary>
public const int CLIEMNMEDFFFieldNumber = 6;
private uint cLIEMNMEDFF_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint CLIEMNMEDFF {
get { return cLIEMNMEDFF_; }
set {
cLIEMNMEDFF_ = value;
}
}
/// <summary>Field number for the "ODBPKCDHGFF" field.</summary>
public const int ODBPKCDHGFFFieldNumber = 7;
private bool oDBPKCDHGFF_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool ODBPKCDHGFF {
get { return oDBPKCDHGFF_; }
set {
oDBPKCDHGFF_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as Product);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(Product other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (MKMIGIMGMKK != other.MKMIGIMGMKK) return false;
if (PFBGIHIFIBO != other.PFBGIHIFIBO) return false;
if (BNKPNMKEIHN != other.BNKPNMKEIHN) return false;
if (AHBIKLPCKLI != other.AHBIKLPCKLI) return false;
if (CLIEMNMEDFF != other.CLIEMNMEDFF) return false;
if (ODBPKCDHGFF != other.ODBPKCDHGFF) 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 (MKMIGIMGMKK != 0) hash ^= MKMIGIMGMKK.GetHashCode();
if (PFBGIHIFIBO.Length != 0) hash ^= PFBGIHIFIBO.GetHashCode();
if (BNKPNMKEIHN != global::EggLink.DanhengServer.Proto.ProductGiftType.ProductGiftNone) hash ^= BNKPNMKEIHN.GetHashCode();
if (AHBIKLPCKLI.Length != 0) hash ^= AHBIKLPCKLI.GetHashCode();
if (CLIEMNMEDFF != 0) hash ^= CLIEMNMEDFF.GetHashCode();
if (ODBPKCDHGFF != false) hash ^= ODBPKCDHGFF.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 (BNKPNMKEIHN != global::EggLink.DanhengServer.Proto.ProductGiftType.ProductGiftNone) {
output.WriteRawTag(16);
output.WriteEnum((int) BNKPNMKEIHN);
}
if (PFBGIHIFIBO.Length != 0) {
output.WriteRawTag(26);
output.WriteString(PFBGIHIFIBO);
}
if (CLIEMNMEDFF != 0) {
output.WriteRawTag(48);
output.WriteUInt32(CLIEMNMEDFF);
}
if (ODBPKCDHGFF != false) {
output.WriteRawTag(56);
output.WriteBool(ODBPKCDHGFF);
}
if (AHBIKLPCKLI.Length != 0) {
output.WriteRawTag(66);
output.WriteString(AHBIKLPCKLI);
}
if (MKMIGIMGMKK != 0) {
output.WriteRawTag(96);
output.WriteUInt32(MKMIGIMGMKK);
}
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 (BNKPNMKEIHN != global::EggLink.DanhengServer.Proto.ProductGiftType.ProductGiftNone) {
output.WriteRawTag(16);
output.WriteEnum((int) BNKPNMKEIHN);
}
if (PFBGIHIFIBO.Length != 0) {
output.WriteRawTag(26);
output.WriteString(PFBGIHIFIBO);
}
if (CLIEMNMEDFF != 0) {
output.WriteRawTag(48);
output.WriteUInt32(CLIEMNMEDFF);
}
if (ODBPKCDHGFF != false) {
output.WriteRawTag(56);
output.WriteBool(ODBPKCDHGFF);
}
if (AHBIKLPCKLI.Length != 0) {
output.WriteRawTag(66);
output.WriteString(AHBIKLPCKLI);
}
if (MKMIGIMGMKK != 0) {
output.WriteRawTag(96);
output.WriteUInt32(MKMIGIMGMKK);
}
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 (MKMIGIMGMKK != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(MKMIGIMGMKK);
}
if (PFBGIHIFIBO.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(PFBGIHIFIBO);
}
if (BNKPNMKEIHN != global::EggLink.DanhengServer.Proto.ProductGiftType.ProductGiftNone) {
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) BNKPNMKEIHN);
}
if (AHBIKLPCKLI.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(AHBIKLPCKLI);
}
if (CLIEMNMEDFF != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CLIEMNMEDFF);
}
if (ODBPKCDHGFF != false) {
size += 1 + 1;
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(Product other) {
if (other == null) {
return;
}
if (other.MKMIGIMGMKK != 0) {
MKMIGIMGMKK = other.MKMIGIMGMKK;
}
if (other.PFBGIHIFIBO.Length != 0) {
PFBGIHIFIBO = other.PFBGIHIFIBO;
}
if (other.BNKPNMKEIHN != global::EggLink.DanhengServer.Proto.ProductGiftType.ProductGiftNone) {
BNKPNMKEIHN = other.BNKPNMKEIHN;
}
if (other.AHBIKLPCKLI.Length != 0) {
AHBIKLPCKLI = other.AHBIKLPCKLI;
}
if (other.CLIEMNMEDFF != 0) {
CLIEMNMEDFF = other.CLIEMNMEDFF;
}
if (other.ODBPKCDHGFF != false) {
ODBPKCDHGFF = other.ODBPKCDHGFF;
}
_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 16: {
BNKPNMKEIHN = (global::EggLink.DanhengServer.Proto.ProductGiftType) input.ReadEnum();
break;
}
case 26: {
PFBGIHIFIBO = input.ReadString();
break;
}
case 48: {
CLIEMNMEDFF = input.ReadUInt32();
break;
}
case 56: {
ODBPKCDHGFF = input.ReadBool();
break;
}
case 66: {
AHBIKLPCKLI = input.ReadString();
break;
}
case 96: {
MKMIGIMGMKK = 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 16: {
BNKPNMKEIHN = (global::EggLink.DanhengServer.Proto.ProductGiftType) input.ReadEnum();
break;
}
case 26: {
PFBGIHIFIBO = input.ReadString();
break;
}
case 48: {
CLIEMNMEDFF = input.ReadUInt32();
break;
}
case 56: {
ODBPKCDHGFF = input.ReadBool();
break;
}
case 66: {
AHBIKLPCKLI = input.ReadString();
break;
}
case 96: {
MKMIGIMGMKK = input.ReadUInt32();
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code