Files
DanhengServer-OpenSource/Proto/Product.cs

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",
"b2R1Y3QSJQoLS05GT0tPQU9HSkgYCSABKA4yEC5Qcm9kdWN0R2lmdFR5cGUS",
"EwoLSkdPRkVOUE9KSkkYDSABKAkSEwoLSkJFRkVBSENKRE0YCyABKA0SEwoL",
"UERMSUdJQUdKTEoYAyABKAkSEwoLUE5GTUZMRUhLRkcYAiABKA0SEwoLQUZJ",
"UEFKQk1CR0wYCCABKAhCHqoCG0VnZ0xpbmsuRGFuaGVuZ1NlcnZlci5Qcm90",
"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[]{ "KNFOKOAOGJH", "JGOFENPOJJI", "JBEFEAHCJDM", "PDLIGIAGJLJ", "PNFMFLEHKFG", "AFIPAJBMBGL" }, 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() {
kNFOKOAOGJH_ = other.kNFOKOAOGJH_;
jGOFENPOJJI_ = other.jGOFENPOJJI_;
jBEFEAHCJDM_ = other.jBEFEAHCJDM_;
pDLIGIAGJLJ_ = other.pDLIGIAGJLJ_;
pNFMFLEHKFG_ = other.pNFMFLEHKFG_;
aFIPAJBMBGL_ = other.aFIPAJBMBGL_;
_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 "KNFOKOAOGJH" field.</summary>
public const int KNFOKOAOGJHFieldNumber = 9;
private global::EggLink.DanhengServer.Proto.ProductGiftType kNFOKOAOGJH_ = global::EggLink.DanhengServer.Proto.ProductGiftType.ProductGiftNone;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::EggLink.DanhengServer.Proto.ProductGiftType KNFOKOAOGJH {
get { return kNFOKOAOGJH_; }
set {
kNFOKOAOGJH_ = value;
}
}
/// <summary>Field number for the "JGOFENPOJJI" field.</summary>
public const int JGOFENPOJJIFieldNumber = 13;
private string jGOFENPOJJI_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string JGOFENPOJJI {
get { return jGOFENPOJJI_; }
set {
jGOFENPOJJI_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "JBEFEAHCJDM" field.</summary>
public const int JBEFEAHCJDMFieldNumber = 11;
private uint jBEFEAHCJDM_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint JBEFEAHCJDM {
get { return jBEFEAHCJDM_; }
set {
jBEFEAHCJDM_ = value;
}
}
/// <summary>Field number for the "PDLIGIAGJLJ" field.</summary>
public const int PDLIGIAGJLJFieldNumber = 3;
private string pDLIGIAGJLJ_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string PDLIGIAGJLJ {
get { return pDLIGIAGJLJ_; }
set {
pDLIGIAGJLJ_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "PNFMFLEHKFG" field.</summary>
public const int PNFMFLEHKFGFieldNumber = 2;
private uint pNFMFLEHKFG_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint PNFMFLEHKFG {
get { return pNFMFLEHKFG_; }
set {
pNFMFLEHKFG_ = value;
}
}
/// <summary>Field number for the "AFIPAJBMBGL" field.</summary>
public const int AFIPAJBMBGLFieldNumber = 8;
private bool aFIPAJBMBGL_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool AFIPAJBMBGL {
get { return aFIPAJBMBGL_; }
set {
aFIPAJBMBGL_ = 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 (KNFOKOAOGJH != other.KNFOKOAOGJH) return false;
if (JGOFENPOJJI != other.JGOFENPOJJI) return false;
if (JBEFEAHCJDM != other.JBEFEAHCJDM) return false;
if (PDLIGIAGJLJ != other.PDLIGIAGJLJ) return false;
if (PNFMFLEHKFG != other.PNFMFLEHKFG) return false;
if (AFIPAJBMBGL != other.AFIPAJBMBGL) 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 (KNFOKOAOGJH != global::EggLink.DanhengServer.Proto.ProductGiftType.ProductGiftNone) hash ^= KNFOKOAOGJH.GetHashCode();
if (JGOFENPOJJI.Length != 0) hash ^= JGOFENPOJJI.GetHashCode();
if (JBEFEAHCJDM != 0) hash ^= JBEFEAHCJDM.GetHashCode();
if (PDLIGIAGJLJ.Length != 0) hash ^= PDLIGIAGJLJ.GetHashCode();
if (PNFMFLEHKFG != 0) hash ^= PNFMFLEHKFG.GetHashCode();
if (AFIPAJBMBGL != false) hash ^= AFIPAJBMBGL.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 (PNFMFLEHKFG != 0) {
output.WriteRawTag(16);
output.WriteUInt32(PNFMFLEHKFG);
}
if (PDLIGIAGJLJ.Length != 0) {
output.WriteRawTag(26);
output.WriteString(PDLIGIAGJLJ);
}
if (AFIPAJBMBGL != false) {
output.WriteRawTag(64);
output.WriteBool(AFIPAJBMBGL);
}
if (KNFOKOAOGJH != global::EggLink.DanhengServer.Proto.ProductGiftType.ProductGiftNone) {
output.WriteRawTag(72);
output.WriteEnum((int) KNFOKOAOGJH);
}
if (JBEFEAHCJDM != 0) {
output.WriteRawTag(88);
output.WriteUInt32(JBEFEAHCJDM);
}
if (JGOFENPOJJI.Length != 0) {
output.WriteRawTag(106);
output.WriteString(JGOFENPOJJI);
}
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 (PNFMFLEHKFG != 0) {
output.WriteRawTag(16);
output.WriteUInt32(PNFMFLEHKFG);
}
if (PDLIGIAGJLJ.Length != 0) {
output.WriteRawTag(26);
output.WriteString(PDLIGIAGJLJ);
}
if (AFIPAJBMBGL != false) {
output.WriteRawTag(64);
output.WriteBool(AFIPAJBMBGL);
}
if (KNFOKOAOGJH != global::EggLink.DanhengServer.Proto.ProductGiftType.ProductGiftNone) {
output.WriteRawTag(72);
output.WriteEnum((int) KNFOKOAOGJH);
}
if (JBEFEAHCJDM != 0) {
output.WriteRawTag(88);
output.WriteUInt32(JBEFEAHCJDM);
}
if (JGOFENPOJJI.Length != 0) {
output.WriteRawTag(106);
output.WriteString(JGOFENPOJJI);
}
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 (KNFOKOAOGJH != global::EggLink.DanhengServer.Proto.ProductGiftType.ProductGiftNone) {
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) KNFOKOAOGJH);
}
if (JGOFENPOJJI.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(JGOFENPOJJI);
}
if (JBEFEAHCJDM != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(JBEFEAHCJDM);
}
if (PDLIGIAGJLJ.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(PDLIGIAGJLJ);
}
if (PNFMFLEHKFG != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(PNFMFLEHKFG);
}
if (AFIPAJBMBGL != 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.KNFOKOAOGJH != global::EggLink.DanhengServer.Proto.ProductGiftType.ProductGiftNone) {
KNFOKOAOGJH = other.KNFOKOAOGJH;
}
if (other.JGOFENPOJJI.Length != 0) {
JGOFENPOJJI = other.JGOFENPOJJI;
}
if (other.JBEFEAHCJDM != 0) {
JBEFEAHCJDM = other.JBEFEAHCJDM;
}
if (other.PDLIGIAGJLJ.Length != 0) {
PDLIGIAGJLJ = other.PDLIGIAGJLJ;
}
if (other.PNFMFLEHKFG != 0) {
PNFMFLEHKFG = other.PNFMFLEHKFG;
}
if (other.AFIPAJBMBGL != false) {
AFIPAJBMBGL = other.AFIPAJBMBGL;
}
_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: {
PNFMFLEHKFG = input.ReadUInt32();
break;
}
case 26: {
PDLIGIAGJLJ = input.ReadString();
break;
}
case 64: {
AFIPAJBMBGL = input.ReadBool();
break;
}
case 72: {
KNFOKOAOGJH = (global::EggLink.DanhengServer.Proto.ProductGiftType) input.ReadEnum();
break;
}
case 88: {
JBEFEAHCJDM = input.ReadUInt32();
break;
}
case 106: {
JGOFENPOJJI = 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: {
PNFMFLEHKFG = input.ReadUInt32();
break;
}
case 26: {
PDLIGIAGJLJ = input.ReadString();
break;
}
case 64: {
AFIPAJBMBGL = input.ReadBool();
break;
}
case 72: {
KNFOKOAOGJH = (global::EggLink.DanhengServer.Proto.ProductGiftType) input.ReadEnum();
break;
}
case 88: {
JBEFEAHCJDM = input.ReadUInt32();
break;
}
case 106: {
JGOFENPOJJI = input.ReadString();
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code