mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-02 20:26:03 +08:00
423 lines
15 KiB
C#
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",
|
|
"b2R1Y3QSEwoLTE9HSkZJSlBMQkgYAiABKA0SEwoLQ0VCTElIQVBQRkgYCCAB",
|
|
"KAgSEwoLS0pMUENHTU5PTkQYDyABKAkSEwoLSUpCUEREUEpQTkQYBiABKAkS",
|
|
"JQoLQUFFQUNFRkJESksYDiABKA4yEC5Qcm9kdWN0R2lmdFR5cGUSEwoLR0hK",
|
|
"SkdIT0lNSkwYCiABKA1CHqoCG0VnZ0xpbmsuRGFuaGVuZ1NlcnZlci5Qcm90",
|
|
"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[]{ "LOGJFIJPLBH", "CEBLIHAPPFH", "KJLPCGMNOND", "IJBPDDPJPND", "AAEACEFBDJK", "GHJJGHOIMJL" }, 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() {
|
|
lOGJFIJPLBH_ = other.lOGJFIJPLBH_;
|
|
cEBLIHAPPFH_ = other.cEBLIHAPPFH_;
|
|
kJLPCGMNOND_ = other.kJLPCGMNOND_;
|
|
iJBPDDPJPND_ = other.iJBPDDPJPND_;
|
|
aAEACEFBDJK_ = other.aAEACEFBDJK_;
|
|
gHJJGHOIMJL_ = other.gHJJGHOIMJL_;
|
|
_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 "LOGJFIJPLBH" field.</summary>
|
|
public const int LOGJFIJPLBHFieldNumber = 2;
|
|
private uint lOGJFIJPLBH_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint LOGJFIJPLBH {
|
|
get { return lOGJFIJPLBH_; }
|
|
set {
|
|
lOGJFIJPLBH_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "CEBLIHAPPFH" field.</summary>
|
|
public const int CEBLIHAPPFHFieldNumber = 8;
|
|
private bool cEBLIHAPPFH_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool CEBLIHAPPFH {
|
|
get { return cEBLIHAPPFH_; }
|
|
set {
|
|
cEBLIHAPPFH_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "KJLPCGMNOND" field.</summary>
|
|
public const int KJLPCGMNONDFieldNumber = 15;
|
|
private string kJLPCGMNOND_ = "";
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public string KJLPCGMNOND {
|
|
get { return kJLPCGMNOND_; }
|
|
set {
|
|
kJLPCGMNOND_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "IJBPDDPJPND" field.</summary>
|
|
public const int IJBPDDPJPNDFieldNumber = 6;
|
|
private string iJBPDDPJPND_ = "";
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public string IJBPDDPJPND {
|
|
get { return iJBPDDPJPND_; }
|
|
set {
|
|
iJBPDDPJPND_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "AAEACEFBDJK" field.</summary>
|
|
public const int AAEACEFBDJKFieldNumber = 14;
|
|
private global::EggLink.DanhengServer.Proto.ProductGiftType aAEACEFBDJK_ = global::EggLink.DanhengServer.Proto.ProductGiftType.ProductGiftNone;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public global::EggLink.DanhengServer.Proto.ProductGiftType AAEACEFBDJK {
|
|
get { return aAEACEFBDJK_; }
|
|
set {
|
|
aAEACEFBDJK_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "GHJJGHOIMJL" field.</summary>
|
|
public const int GHJJGHOIMJLFieldNumber = 10;
|
|
private uint gHJJGHOIMJL_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint GHJJGHOIMJL {
|
|
get { return gHJJGHOIMJL_; }
|
|
set {
|
|
gHJJGHOIMJL_ = 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 (LOGJFIJPLBH != other.LOGJFIJPLBH) return false;
|
|
if (CEBLIHAPPFH != other.CEBLIHAPPFH) return false;
|
|
if (KJLPCGMNOND != other.KJLPCGMNOND) return false;
|
|
if (IJBPDDPJPND != other.IJBPDDPJPND) return false;
|
|
if (AAEACEFBDJK != other.AAEACEFBDJK) return false;
|
|
if (GHJJGHOIMJL != other.GHJJGHOIMJL) 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 (LOGJFIJPLBH != 0) hash ^= LOGJFIJPLBH.GetHashCode();
|
|
if (CEBLIHAPPFH != false) hash ^= CEBLIHAPPFH.GetHashCode();
|
|
if (KJLPCGMNOND.Length != 0) hash ^= KJLPCGMNOND.GetHashCode();
|
|
if (IJBPDDPJPND.Length != 0) hash ^= IJBPDDPJPND.GetHashCode();
|
|
if (AAEACEFBDJK != global::EggLink.DanhengServer.Proto.ProductGiftType.ProductGiftNone) hash ^= AAEACEFBDJK.GetHashCode();
|
|
if (GHJJGHOIMJL != 0) hash ^= GHJJGHOIMJL.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 (LOGJFIJPLBH != 0) {
|
|
output.WriteRawTag(16);
|
|
output.WriteUInt32(LOGJFIJPLBH);
|
|
}
|
|
if (IJBPDDPJPND.Length != 0) {
|
|
output.WriteRawTag(50);
|
|
output.WriteString(IJBPDDPJPND);
|
|
}
|
|
if (CEBLIHAPPFH != false) {
|
|
output.WriteRawTag(64);
|
|
output.WriteBool(CEBLIHAPPFH);
|
|
}
|
|
if (GHJJGHOIMJL != 0) {
|
|
output.WriteRawTag(80);
|
|
output.WriteUInt32(GHJJGHOIMJL);
|
|
}
|
|
if (AAEACEFBDJK != global::EggLink.DanhengServer.Proto.ProductGiftType.ProductGiftNone) {
|
|
output.WriteRawTag(112);
|
|
output.WriteEnum((int) AAEACEFBDJK);
|
|
}
|
|
if (KJLPCGMNOND.Length != 0) {
|
|
output.WriteRawTag(122);
|
|
output.WriteString(KJLPCGMNOND);
|
|
}
|
|
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 (LOGJFIJPLBH != 0) {
|
|
output.WriteRawTag(16);
|
|
output.WriteUInt32(LOGJFIJPLBH);
|
|
}
|
|
if (IJBPDDPJPND.Length != 0) {
|
|
output.WriteRawTag(50);
|
|
output.WriteString(IJBPDDPJPND);
|
|
}
|
|
if (CEBLIHAPPFH != false) {
|
|
output.WriteRawTag(64);
|
|
output.WriteBool(CEBLIHAPPFH);
|
|
}
|
|
if (GHJJGHOIMJL != 0) {
|
|
output.WriteRawTag(80);
|
|
output.WriteUInt32(GHJJGHOIMJL);
|
|
}
|
|
if (AAEACEFBDJK != global::EggLink.DanhengServer.Proto.ProductGiftType.ProductGiftNone) {
|
|
output.WriteRawTag(112);
|
|
output.WriteEnum((int) AAEACEFBDJK);
|
|
}
|
|
if (KJLPCGMNOND.Length != 0) {
|
|
output.WriteRawTag(122);
|
|
output.WriteString(KJLPCGMNOND);
|
|
}
|
|
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 (LOGJFIJPLBH != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(LOGJFIJPLBH);
|
|
}
|
|
if (CEBLIHAPPFH != false) {
|
|
size += 1 + 1;
|
|
}
|
|
if (KJLPCGMNOND.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(KJLPCGMNOND);
|
|
}
|
|
if (IJBPDDPJPND.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(IJBPDDPJPND);
|
|
}
|
|
if (AAEACEFBDJK != global::EggLink.DanhengServer.Proto.ProductGiftType.ProductGiftNone) {
|
|
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) AAEACEFBDJK);
|
|
}
|
|
if (GHJJGHOIMJL != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(GHJJGHOIMJL);
|
|
}
|
|
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.LOGJFIJPLBH != 0) {
|
|
LOGJFIJPLBH = other.LOGJFIJPLBH;
|
|
}
|
|
if (other.CEBLIHAPPFH != false) {
|
|
CEBLIHAPPFH = other.CEBLIHAPPFH;
|
|
}
|
|
if (other.KJLPCGMNOND.Length != 0) {
|
|
KJLPCGMNOND = other.KJLPCGMNOND;
|
|
}
|
|
if (other.IJBPDDPJPND.Length != 0) {
|
|
IJBPDDPJPND = other.IJBPDDPJPND;
|
|
}
|
|
if (other.AAEACEFBDJK != global::EggLink.DanhengServer.Proto.ProductGiftType.ProductGiftNone) {
|
|
AAEACEFBDJK = other.AAEACEFBDJK;
|
|
}
|
|
if (other.GHJJGHOIMJL != 0) {
|
|
GHJJGHOIMJL = other.GHJJGHOIMJL;
|
|
}
|
|
_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: {
|
|
LOGJFIJPLBH = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 50: {
|
|
IJBPDDPJPND = input.ReadString();
|
|
break;
|
|
}
|
|
case 64: {
|
|
CEBLIHAPPFH = input.ReadBool();
|
|
break;
|
|
}
|
|
case 80: {
|
|
GHJJGHOIMJL = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 112: {
|
|
AAEACEFBDJK = (global::EggLink.DanhengServer.Proto.ProductGiftType) input.ReadEnum();
|
|
break;
|
|
}
|
|
case 122: {
|
|
KJLPCGMNOND = 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 16: {
|
|
LOGJFIJPLBH = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 50: {
|
|
IJBPDDPJPND = input.ReadString();
|
|
break;
|
|
}
|
|
case 64: {
|
|
CEBLIHAPPFH = input.ReadBool();
|
|
break;
|
|
}
|
|
case 80: {
|
|
GHJJGHOIMJL = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 112: {
|
|
AAEACEFBDJK = (global::EggLink.DanhengServer.Proto.ProductGiftType) input.ReadEnum();
|
|
break;
|
|
}
|
|
case 122: {
|
|
KJLPCGMNOND = input.ReadString();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|