Files
DanhengServer-OpenSource/Proto/Product.cs
2024-10-05 22:40:41 +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",
"b2R1Y3QSEwoLRkZLS0tGSkxJUEIYCiABKAkSEwoLTE9FUEdEQ0RDQkoYCSAB",
"KA0SJQoLRU1ESUJJS0JBTUsYBiABKA4yEC5Qcm9kdWN0R2lmdFR5cGUSEwoL",
"TUVIUEFPQkNCREsYByABKA0SEwoLRkRHSE5LRENQQkkYDSABKAgSEwoLSk1M",
"TklCS1BMR0IYBCABKAlCHqoCG0VnZ0xpbmsuRGFuaGVuZ1NlcnZlci5Qcm90",
"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[]{ "FFKKKFJLIPB", "LOEPGDCDCBJ", "EMDIBIKBAMK", "MEHPAOBCBDK", "FDGHNKDCPBI", "JMLNIBKPLGB" }, 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() {
fFKKKFJLIPB_ = other.fFKKKFJLIPB_;
lOEPGDCDCBJ_ = other.lOEPGDCDCBJ_;
eMDIBIKBAMK_ = other.eMDIBIKBAMK_;
mEHPAOBCBDK_ = other.mEHPAOBCBDK_;
fDGHNKDCPBI_ = other.fDGHNKDCPBI_;
jMLNIBKPLGB_ = other.jMLNIBKPLGB_;
_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 "FFKKKFJLIPB" field.</summary>
public const int FFKKKFJLIPBFieldNumber = 10;
private string fFKKKFJLIPB_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string FFKKKFJLIPB {
get { return fFKKKFJLIPB_; }
set {
fFKKKFJLIPB_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "LOEPGDCDCBJ" field.</summary>
public const int LOEPGDCDCBJFieldNumber = 9;
private uint lOEPGDCDCBJ_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint LOEPGDCDCBJ {
get { return lOEPGDCDCBJ_; }
set {
lOEPGDCDCBJ_ = value;
}
}
/// <summary>Field number for the "EMDIBIKBAMK" field.</summary>
public const int EMDIBIKBAMKFieldNumber = 6;
private global::EggLink.DanhengServer.Proto.ProductGiftType eMDIBIKBAMK_ = global::EggLink.DanhengServer.Proto.ProductGiftType.ProductGiftNone;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::EggLink.DanhengServer.Proto.ProductGiftType EMDIBIKBAMK {
get { return eMDIBIKBAMK_; }
set {
eMDIBIKBAMK_ = value;
}
}
/// <summary>Field number for the "MEHPAOBCBDK" field.</summary>
public const int MEHPAOBCBDKFieldNumber = 7;
private uint mEHPAOBCBDK_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint MEHPAOBCBDK {
get { return mEHPAOBCBDK_; }
set {
mEHPAOBCBDK_ = value;
}
}
/// <summary>Field number for the "FDGHNKDCPBI" field.</summary>
public const int FDGHNKDCPBIFieldNumber = 13;
private bool fDGHNKDCPBI_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool FDGHNKDCPBI {
get { return fDGHNKDCPBI_; }
set {
fDGHNKDCPBI_ = value;
}
}
/// <summary>Field number for the "JMLNIBKPLGB" field.</summary>
public const int JMLNIBKPLGBFieldNumber = 4;
private string jMLNIBKPLGB_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string JMLNIBKPLGB {
get { return jMLNIBKPLGB_; }
set {
jMLNIBKPLGB_ = pb::ProtoPreconditions.CheckNotNull(value, "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 (FFKKKFJLIPB != other.FFKKKFJLIPB) return false;
if (LOEPGDCDCBJ != other.LOEPGDCDCBJ) return false;
if (EMDIBIKBAMK != other.EMDIBIKBAMK) return false;
if (MEHPAOBCBDK != other.MEHPAOBCBDK) return false;
if (FDGHNKDCPBI != other.FDGHNKDCPBI) return false;
if (JMLNIBKPLGB != other.JMLNIBKPLGB) 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 (FFKKKFJLIPB.Length != 0) hash ^= FFKKKFJLIPB.GetHashCode();
if (LOEPGDCDCBJ != 0) hash ^= LOEPGDCDCBJ.GetHashCode();
if (EMDIBIKBAMK != global::EggLink.DanhengServer.Proto.ProductGiftType.ProductGiftNone) hash ^= EMDIBIKBAMK.GetHashCode();
if (MEHPAOBCBDK != 0) hash ^= MEHPAOBCBDK.GetHashCode();
if (FDGHNKDCPBI != false) hash ^= FDGHNKDCPBI.GetHashCode();
if (JMLNIBKPLGB.Length != 0) hash ^= JMLNIBKPLGB.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 (JMLNIBKPLGB.Length != 0) {
output.WriteRawTag(34);
output.WriteString(JMLNIBKPLGB);
}
if (EMDIBIKBAMK != global::EggLink.DanhengServer.Proto.ProductGiftType.ProductGiftNone) {
output.WriteRawTag(48);
output.WriteEnum((int) EMDIBIKBAMK);
}
if (MEHPAOBCBDK != 0) {
output.WriteRawTag(56);
output.WriteUInt32(MEHPAOBCBDK);
}
if (LOEPGDCDCBJ != 0) {
output.WriteRawTag(72);
output.WriteUInt32(LOEPGDCDCBJ);
}
if (FFKKKFJLIPB.Length != 0) {
output.WriteRawTag(82);
output.WriteString(FFKKKFJLIPB);
}
if (FDGHNKDCPBI != false) {
output.WriteRawTag(104);
output.WriteBool(FDGHNKDCPBI);
}
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 (JMLNIBKPLGB.Length != 0) {
output.WriteRawTag(34);
output.WriteString(JMLNIBKPLGB);
}
if (EMDIBIKBAMK != global::EggLink.DanhengServer.Proto.ProductGiftType.ProductGiftNone) {
output.WriteRawTag(48);
output.WriteEnum((int) EMDIBIKBAMK);
}
if (MEHPAOBCBDK != 0) {
output.WriteRawTag(56);
output.WriteUInt32(MEHPAOBCBDK);
}
if (LOEPGDCDCBJ != 0) {
output.WriteRawTag(72);
output.WriteUInt32(LOEPGDCDCBJ);
}
if (FFKKKFJLIPB.Length != 0) {
output.WriteRawTag(82);
output.WriteString(FFKKKFJLIPB);
}
if (FDGHNKDCPBI != false) {
output.WriteRawTag(104);
output.WriteBool(FDGHNKDCPBI);
}
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 (FFKKKFJLIPB.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(FFKKKFJLIPB);
}
if (LOEPGDCDCBJ != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(LOEPGDCDCBJ);
}
if (EMDIBIKBAMK != global::EggLink.DanhengServer.Proto.ProductGiftType.ProductGiftNone) {
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) EMDIBIKBAMK);
}
if (MEHPAOBCBDK != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(MEHPAOBCBDK);
}
if (FDGHNKDCPBI != false) {
size += 1 + 1;
}
if (JMLNIBKPLGB.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(JMLNIBKPLGB);
}
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.FFKKKFJLIPB.Length != 0) {
FFKKKFJLIPB = other.FFKKKFJLIPB;
}
if (other.LOEPGDCDCBJ != 0) {
LOEPGDCDCBJ = other.LOEPGDCDCBJ;
}
if (other.EMDIBIKBAMK != global::EggLink.DanhengServer.Proto.ProductGiftType.ProductGiftNone) {
EMDIBIKBAMK = other.EMDIBIKBAMK;
}
if (other.MEHPAOBCBDK != 0) {
MEHPAOBCBDK = other.MEHPAOBCBDK;
}
if (other.FDGHNKDCPBI != false) {
FDGHNKDCPBI = other.FDGHNKDCPBI;
}
if (other.JMLNIBKPLGB.Length != 0) {
JMLNIBKPLGB = other.JMLNIBKPLGB;
}
_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 34: {
JMLNIBKPLGB = input.ReadString();
break;
}
case 48: {
EMDIBIKBAMK = (global::EggLink.DanhengServer.Proto.ProductGiftType) input.ReadEnum();
break;
}
case 56: {
MEHPAOBCBDK = input.ReadUInt32();
break;
}
case 72: {
LOEPGDCDCBJ = input.ReadUInt32();
break;
}
case 82: {
FFKKKFJLIPB = input.ReadString();
break;
}
case 104: {
FDGHNKDCPBI = input.ReadBool();
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 34: {
JMLNIBKPLGB = input.ReadString();
break;
}
case 48: {
EMDIBIKBAMK = (global::EggLink.DanhengServer.Proto.ProductGiftType) input.ReadEnum();
break;
}
case 56: {
MEHPAOBCBDK = input.ReadUInt32();
break;
}
case 72: {
LOEPGDCDCBJ = input.ReadUInt32();
break;
}
case 82: {
FFKKKFJLIPB = input.ReadString();
break;
}
case 104: {
FDGHNKDCPBI = input.ReadBool();
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code