Files
DanhengServer-OpenSource/Common/Proto/QueryProductInfoScRsp.cs
2024-03-31 17:06:46 +08:00

375 lines
14 KiB
C#

// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: QueryProductInfoScRsp.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 QueryProductInfoScRsp.proto</summary>
public static partial class QueryProductInfoScRspReflection {
#region Descriptor
/// <summary>File descriptor for QueryProductInfoScRsp.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static QueryProductInfoScRspReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"ChtRdWVyeVByb2R1Y3RJbmZvU2NSc3AucHJvdG8aDVByb2R1Y3QucHJvdG8i",
"lAEKFVF1ZXJ5UHJvZHVjdEluZm9TY1JzcBITCgtLQk9EQUFDUE1HUBgIIAEo",
"DRITCgtIQkpOQUhFTk5HQhgEIAEoDRIPCgdyZXRjb2RlGAIgASgNEiAKGG1v",
"bnRoX2NhcmRfb3V0X2RhdGVfdGltZRgGIAEoBBIeCgxwcm9kdWN0X2xpc3QY",
"ByADKAsyCC5Qcm9kdWN0Qh6qAhtFZ2dMaW5rLkRhbmhlbmdTZXJ2ZXIuUHJv",
"dG9iBnByb3RvMw=="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.ProductReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.QueryProductInfoScRsp), global::EggLink.DanhengServer.Proto.QueryProductInfoScRsp.Parser, new[]{ "KBODAACPMGP", "HBJNAHENNGB", "Retcode", "MonthCardOutDateTime", "ProductList" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class QueryProductInfoScRsp : pb::IMessage<QueryProductInfoScRsp>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<QueryProductInfoScRsp> _parser = new pb::MessageParser<QueryProductInfoScRsp>(() => new QueryProductInfoScRsp());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<QueryProductInfoScRsp> 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.QueryProductInfoScRspReflection.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 QueryProductInfoScRsp() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public QueryProductInfoScRsp(QueryProductInfoScRsp other) : this() {
kBODAACPMGP_ = other.kBODAACPMGP_;
hBJNAHENNGB_ = other.hBJNAHENNGB_;
retcode_ = other.retcode_;
monthCardOutDateTime_ = other.monthCardOutDateTime_;
productList_ = other.productList_.Clone();
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public QueryProductInfoScRsp Clone() {
return new QueryProductInfoScRsp(this);
}
/// <summary>Field number for the "KBODAACPMGP" field.</summary>
public const int KBODAACPMGPFieldNumber = 8;
private uint kBODAACPMGP_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint KBODAACPMGP {
get { return kBODAACPMGP_; }
set {
kBODAACPMGP_ = value;
}
}
/// <summary>Field number for the "HBJNAHENNGB" field.</summary>
public const int HBJNAHENNGBFieldNumber = 4;
private uint hBJNAHENNGB_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint HBJNAHENNGB {
get { return hBJNAHENNGB_; }
set {
hBJNAHENNGB_ = value;
}
}
/// <summary>Field number for the "retcode" field.</summary>
public const int RetcodeFieldNumber = 2;
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 "month_card_out_date_time" field.</summary>
public const int MonthCardOutDateTimeFieldNumber = 6;
private ulong monthCardOutDateTime_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public ulong MonthCardOutDateTime {
get { return monthCardOutDateTime_; }
set {
monthCardOutDateTime_ = value;
}
}
/// <summary>Field number for the "product_list" field.</summary>
public const int ProductListFieldNumber = 7;
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.Product> _repeated_productList_codec
= pb::FieldCodec.ForMessage(58, global::EggLink.DanhengServer.Proto.Product.Parser);
private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.Product> productList_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.Product>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.Product> ProductList {
get { return productList_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as QueryProductInfoScRsp);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(QueryProductInfoScRsp other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (KBODAACPMGP != other.KBODAACPMGP) return false;
if (HBJNAHENNGB != other.HBJNAHENNGB) return false;
if (Retcode != other.Retcode) return false;
if (MonthCardOutDateTime != other.MonthCardOutDateTime) return false;
if(!productList_.Equals(other.productList_)) 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 (KBODAACPMGP != 0) hash ^= KBODAACPMGP.GetHashCode();
if (HBJNAHENNGB != 0) hash ^= HBJNAHENNGB.GetHashCode();
if (Retcode != 0) hash ^= Retcode.GetHashCode();
if (MonthCardOutDateTime != 0UL) hash ^= MonthCardOutDateTime.GetHashCode();
hash ^= productList_.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 (Retcode != 0) {
output.WriteRawTag(16);
output.WriteUInt32(Retcode);
}
if (HBJNAHENNGB != 0) {
output.WriteRawTag(32);
output.WriteUInt32(HBJNAHENNGB);
}
if (MonthCardOutDateTime != 0UL) {
output.WriteRawTag(48);
output.WriteUInt64(MonthCardOutDateTime);
}
productList_.WriteTo(output, _repeated_productList_codec);
if (KBODAACPMGP != 0) {
output.WriteRawTag(64);
output.WriteUInt32(KBODAACPMGP);
}
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 (Retcode != 0) {
output.WriteRawTag(16);
output.WriteUInt32(Retcode);
}
if (HBJNAHENNGB != 0) {
output.WriteRawTag(32);
output.WriteUInt32(HBJNAHENNGB);
}
if (MonthCardOutDateTime != 0UL) {
output.WriteRawTag(48);
output.WriteUInt64(MonthCardOutDateTime);
}
productList_.WriteTo(ref output, _repeated_productList_codec);
if (KBODAACPMGP != 0) {
output.WriteRawTag(64);
output.WriteUInt32(KBODAACPMGP);
}
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 (KBODAACPMGP != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(KBODAACPMGP);
}
if (HBJNAHENNGB != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(HBJNAHENNGB);
}
if (Retcode != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Retcode);
}
if (MonthCardOutDateTime != 0UL) {
size += 1 + pb::CodedOutputStream.ComputeUInt64Size(MonthCardOutDateTime);
}
size += productList_.CalculateSize(_repeated_productList_codec);
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(QueryProductInfoScRsp other) {
if (other == null) {
return;
}
if (other.KBODAACPMGP != 0) {
KBODAACPMGP = other.KBODAACPMGP;
}
if (other.HBJNAHENNGB != 0) {
HBJNAHENNGB = other.HBJNAHENNGB;
}
if (other.Retcode != 0) {
Retcode = other.Retcode;
}
if (other.MonthCardOutDateTime != 0UL) {
MonthCardOutDateTime = other.MonthCardOutDateTime;
}
productList_.Add(other.productList_);
_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: {
Retcode = input.ReadUInt32();
break;
}
case 32: {
HBJNAHENNGB = input.ReadUInt32();
break;
}
case 48: {
MonthCardOutDateTime = input.ReadUInt64();
break;
}
case 58: {
productList_.AddEntriesFrom(input, _repeated_productList_codec);
break;
}
case 64: {
KBODAACPMGP = 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: {
Retcode = input.ReadUInt32();
break;
}
case 32: {
HBJNAHENNGB = input.ReadUInt32();
break;
}
case 48: {
MonthCardOutDateTime = input.ReadUInt64();
break;
}
case 58: {
productList_.AddEntriesFrom(ref input, _repeated_productList_codec);
break;
}
case 64: {
KBODAACPMGP = input.ReadUInt32();
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code