mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-03 04:36:03 +08:00
375 lines
14 KiB
C#
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",
|
|
"lAEKFVF1ZXJ5UHJvZHVjdEluZm9TY1JzcBITCgtDTUdIRE1QRUFLTxgKIAEo",
|
|
"DRIgChhtb250aF9jYXJkX291dF9kYXRlX3RpbWUYDCABKAQSHgoMcHJvZHVj",
|
|
"dF9saXN0GA8gAygLMgguUHJvZHVjdBITCgtPRE5GSUFBSEtDSRgOIAEoDRIP",
|
|
"CgdyZXRjb2RlGAkgASgNQh6qAhtFZ2dMaW5rLkRhbmhlbmdTZXJ2ZXIuUHJv",
|
|
"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[]{ "CMGHDMPEAKO", "MonthCardOutDateTime", "ProductList", "ODNFIAAHKCI", "Retcode" }, 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() {
|
|
cMGHDMPEAKO_ = other.cMGHDMPEAKO_;
|
|
monthCardOutDateTime_ = other.monthCardOutDateTime_;
|
|
productList_ = other.productList_.Clone();
|
|
oDNFIAAHKCI_ = other.oDNFIAAHKCI_;
|
|
retcode_ = other.retcode_;
|
|
_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 "CMGHDMPEAKO" field.</summary>
|
|
public const int CMGHDMPEAKOFieldNumber = 10;
|
|
private uint cMGHDMPEAKO_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint CMGHDMPEAKO {
|
|
get { return cMGHDMPEAKO_; }
|
|
set {
|
|
cMGHDMPEAKO_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "month_card_out_date_time" field.</summary>
|
|
public const int MonthCardOutDateTimeFieldNumber = 12;
|
|
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 = 15;
|
|
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.Product> _repeated_productList_codec
|
|
= pb::FieldCodec.ForMessage(122, 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_; }
|
|
}
|
|
|
|
/// <summary>Field number for the "ODNFIAAHKCI" field.</summary>
|
|
public const int ODNFIAAHKCIFieldNumber = 14;
|
|
private uint oDNFIAAHKCI_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint ODNFIAAHKCI {
|
|
get { return oDNFIAAHKCI_; }
|
|
set {
|
|
oDNFIAAHKCI_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "retcode" field.</summary>
|
|
public const int RetcodeFieldNumber = 9;
|
|
private uint retcode_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint Retcode {
|
|
get { return retcode_; }
|
|
set {
|
|
retcode_ = value;
|
|
}
|
|
}
|
|
|
|
[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 (CMGHDMPEAKO != other.CMGHDMPEAKO) return false;
|
|
if (MonthCardOutDateTime != other.MonthCardOutDateTime) return false;
|
|
if(!productList_.Equals(other.productList_)) return false;
|
|
if (ODNFIAAHKCI != other.ODNFIAAHKCI) return false;
|
|
if (Retcode != other.Retcode) 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 (CMGHDMPEAKO != 0) hash ^= CMGHDMPEAKO.GetHashCode();
|
|
if (MonthCardOutDateTime != 0UL) hash ^= MonthCardOutDateTime.GetHashCode();
|
|
hash ^= productList_.GetHashCode();
|
|
if (ODNFIAAHKCI != 0) hash ^= ODNFIAAHKCI.GetHashCode();
|
|
if (Retcode != 0) hash ^= Retcode.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(72);
|
|
output.WriteUInt32(Retcode);
|
|
}
|
|
if (CMGHDMPEAKO != 0) {
|
|
output.WriteRawTag(80);
|
|
output.WriteUInt32(CMGHDMPEAKO);
|
|
}
|
|
if (MonthCardOutDateTime != 0UL) {
|
|
output.WriteRawTag(96);
|
|
output.WriteUInt64(MonthCardOutDateTime);
|
|
}
|
|
if (ODNFIAAHKCI != 0) {
|
|
output.WriteRawTag(112);
|
|
output.WriteUInt32(ODNFIAAHKCI);
|
|
}
|
|
productList_.WriteTo(output, _repeated_productList_codec);
|
|
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(72);
|
|
output.WriteUInt32(Retcode);
|
|
}
|
|
if (CMGHDMPEAKO != 0) {
|
|
output.WriteRawTag(80);
|
|
output.WriteUInt32(CMGHDMPEAKO);
|
|
}
|
|
if (MonthCardOutDateTime != 0UL) {
|
|
output.WriteRawTag(96);
|
|
output.WriteUInt64(MonthCardOutDateTime);
|
|
}
|
|
if (ODNFIAAHKCI != 0) {
|
|
output.WriteRawTag(112);
|
|
output.WriteUInt32(ODNFIAAHKCI);
|
|
}
|
|
productList_.WriteTo(ref output, _repeated_productList_codec);
|
|
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 (CMGHDMPEAKO != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CMGHDMPEAKO);
|
|
}
|
|
if (MonthCardOutDateTime != 0UL) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt64Size(MonthCardOutDateTime);
|
|
}
|
|
size += productList_.CalculateSize(_repeated_productList_codec);
|
|
if (ODNFIAAHKCI != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ODNFIAAHKCI);
|
|
}
|
|
if (Retcode != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Retcode);
|
|
}
|
|
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.CMGHDMPEAKO != 0) {
|
|
CMGHDMPEAKO = other.CMGHDMPEAKO;
|
|
}
|
|
if (other.MonthCardOutDateTime != 0UL) {
|
|
MonthCardOutDateTime = other.MonthCardOutDateTime;
|
|
}
|
|
productList_.Add(other.productList_);
|
|
if (other.ODNFIAAHKCI != 0) {
|
|
ODNFIAAHKCI = other.ODNFIAAHKCI;
|
|
}
|
|
if (other.Retcode != 0) {
|
|
Retcode = other.Retcode;
|
|
}
|
|
_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 72: {
|
|
Retcode = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 80: {
|
|
CMGHDMPEAKO = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 96: {
|
|
MonthCardOutDateTime = input.ReadUInt64();
|
|
break;
|
|
}
|
|
case 112: {
|
|
ODNFIAAHKCI = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 122: {
|
|
productList_.AddEntriesFrom(input, _repeated_productList_codec);
|
|
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 72: {
|
|
Retcode = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 80: {
|
|
CMGHDMPEAKO = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 96: {
|
|
MonthCardOutDateTime = input.ReadUInt64();
|
|
break;
|
|
}
|
|
case 112: {
|
|
ODNFIAAHKCI = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 122: {
|
|
productList_.AddEntriesFrom(ref input, _repeated_productList_codec);
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|