mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-03 04:36:03 +08:00
401 lines
14 KiB
C#
401 lines
14 KiB
C#
// <auto-generated>
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: GetMailScRsp.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 GetMailScRsp.proto</summary>
|
|
public static partial class GetMailScRspReflection {
|
|
|
|
#region Descriptor
|
|
/// <summary>File descriptor for GetMailScRsp.proto</summary>
|
|
public static pbr::FileDescriptor Descriptor {
|
|
get { return descriptor; }
|
|
}
|
|
private static pbr::FileDescriptor descriptor;
|
|
|
|
static GetMailScRspReflection() {
|
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
string.Concat(
|
|
"ChJHZXRNYWlsU2NSc3AucHJvdG8aEENsaWVudE1haWwucHJvdG8ikwEKDEdl",
|
|
"dE1haWxTY1JzcBINCgVJc0VuZBgLIAEoCBIjCg5Ob3RpY2VNYWlsTGlzdBgG",
|
|
"IAMoCzILLkNsaWVudE1haWwSDwoHUmV0Y29kZRgPIAEoDRIQCghUb3RhbE51",
|
|
"bRgBIAEoDRINCgVTdGFydBgIIAEoDRIdCghNYWlsTGlzdBgOIAMoCzILLkNs",
|
|
"aWVudE1haWxCHqoCG0VnZ0xpbmsuRGFuaGVuZ1NlcnZlci5Qcm90b2IGcHJv",
|
|
"dG8z"));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.ClientMailReflection.Descriptor, },
|
|
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.GetMailScRsp), global::EggLink.DanhengServer.Proto.GetMailScRsp.Parser, new[]{ "IsEnd", "NoticeMailList", "Retcode", "TotalNum", "Start", "MailList" }, null, null, null, null)
|
|
}));
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
#region Messages
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class GetMailScRsp : pb::IMessage<GetMailScRsp>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<GetMailScRsp> _parser = new pb::MessageParser<GetMailScRsp>(() => new GetMailScRsp());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<GetMailScRsp> 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.GetMailScRspReflection.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 GetMailScRsp() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public GetMailScRsp(GetMailScRsp other) : this() {
|
|
isEnd_ = other.isEnd_;
|
|
noticeMailList_ = other.noticeMailList_.Clone();
|
|
retcode_ = other.retcode_;
|
|
totalNum_ = other.totalNum_;
|
|
start_ = other.start_;
|
|
mailList_ = other.mailList_.Clone();
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public GetMailScRsp Clone() {
|
|
return new GetMailScRsp(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "IsEnd" field.</summary>
|
|
public const int IsEndFieldNumber = 11;
|
|
private bool isEnd_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool IsEnd {
|
|
get { return isEnd_; }
|
|
set {
|
|
isEnd_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "NoticeMailList" field.</summary>
|
|
public const int NoticeMailListFieldNumber = 6;
|
|
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.ClientMail> _repeated_noticeMailList_codec
|
|
= pb::FieldCodec.ForMessage(50, global::EggLink.DanhengServer.Proto.ClientMail.Parser);
|
|
private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.ClientMail> noticeMailList_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.ClientMail>();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.ClientMail> NoticeMailList {
|
|
get { return noticeMailList_; }
|
|
}
|
|
|
|
/// <summary>Field number for the "Retcode" field.</summary>
|
|
public const int RetcodeFieldNumber = 15;
|
|
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 "TotalNum" field.</summary>
|
|
public const int TotalNumFieldNumber = 1;
|
|
private uint totalNum_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint TotalNum {
|
|
get { return totalNum_; }
|
|
set {
|
|
totalNum_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "Start" field.</summary>
|
|
public const int StartFieldNumber = 8;
|
|
private uint start_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint Start {
|
|
get { return start_; }
|
|
set {
|
|
start_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "MailList" field.</summary>
|
|
public const int MailListFieldNumber = 14;
|
|
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.ClientMail> _repeated_mailList_codec
|
|
= pb::FieldCodec.ForMessage(114, global::EggLink.DanhengServer.Proto.ClientMail.Parser);
|
|
private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.ClientMail> mailList_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.ClientMail>();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.ClientMail> MailList {
|
|
get { return mailList_; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as GetMailScRsp);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(GetMailScRsp other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (IsEnd != other.IsEnd) return false;
|
|
if(!noticeMailList_.Equals(other.noticeMailList_)) return false;
|
|
if (Retcode != other.Retcode) return false;
|
|
if (TotalNum != other.TotalNum) return false;
|
|
if (Start != other.Start) return false;
|
|
if(!mailList_.Equals(other.mailList_)) 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 (IsEnd != false) hash ^= IsEnd.GetHashCode();
|
|
hash ^= noticeMailList_.GetHashCode();
|
|
if (Retcode != 0) hash ^= Retcode.GetHashCode();
|
|
if (TotalNum != 0) hash ^= TotalNum.GetHashCode();
|
|
if (Start != 0) hash ^= Start.GetHashCode();
|
|
hash ^= mailList_.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 (TotalNum != 0) {
|
|
output.WriteRawTag(8);
|
|
output.WriteUInt32(TotalNum);
|
|
}
|
|
noticeMailList_.WriteTo(output, _repeated_noticeMailList_codec);
|
|
if (Start != 0) {
|
|
output.WriteRawTag(64);
|
|
output.WriteUInt32(Start);
|
|
}
|
|
if (IsEnd != false) {
|
|
output.WriteRawTag(88);
|
|
output.WriteBool(IsEnd);
|
|
}
|
|
mailList_.WriteTo(output, _repeated_mailList_codec);
|
|
if (Retcode != 0) {
|
|
output.WriteRawTag(120);
|
|
output.WriteUInt32(Retcode);
|
|
}
|
|
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 (TotalNum != 0) {
|
|
output.WriteRawTag(8);
|
|
output.WriteUInt32(TotalNum);
|
|
}
|
|
noticeMailList_.WriteTo(ref output, _repeated_noticeMailList_codec);
|
|
if (Start != 0) {
|
|
output.WriteRawTag(64);
|
|
output.WriteUInt32(Start);
|
|
}
|
|
if (IsEnd != false) {
|
|
output.WriteRawTag(88);
|
|
output.WriteBool(IsEnd);
|
|
}
|
|
mailList_.WriteTo(ref output, _repeated_mailList_codec);
|
|
if (Retcode != 0) {
|
|
output.WriteRawTag(120);
|
|
output.WriteUInt32(Retcode);
|
|
}
|
|
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 (IsEnd != false) {
|
|
size += 1 + 1;
|
|
}
|
|
size += noticeMailList_.CalculateSize(_repeated_noticeMailList_codec);
|
|
if (Retcode != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Retcode);
|
|
}
|
|
if (TotalNum != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(TotalNum);
|
|
}
|
|
if (Start != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Start);
|
|
}
|
|
size += mailList_.CalculateSize(_repeated_mailList_codec);
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(GetMailScRsp other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.IsEnd != false) {
|
|
IsEnd = other.IsEnd;
|
|
}
|
|
noticeMailList_.Add(other.noticeMailList_);
|
|
if (other.Retcode != 0) {
|
|
Retcode = other.Retcode;
|
|
}
|
|
if (other.TotalNum != 0) {
|
|
TotalNum = other.TotalNum;
|
|
}
|
|
if (other.Start != 0) {
|
|
Start = other.Start;
|
|
}
|
|
mailList_.Add(other.mailList_);
|
|
_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 8: {
|
|
TotalNum = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 50: {
|
|
noticeMailList_.AddEntriesFrom(input, _repeated_noticeMailList_codec);
|
|
break;
|
|
}
|
|
case 64: {
|
|
Start = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 88: {
|
|
IsEnd = input.ReadBool();
|
|
break;
|
|
}
|
|
case 114: {
|
|
mailList_.AddEntriesFrom(input, _repeated_mailList_codec);
|
|
break;
|
|
}
|
|
case 120: {
|
|
Retcode = 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 8: {
|
|
TotalNum = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 50: {
|
|
noticeMailList_.AddEntriesFrom(ref input, _repeated_noticeMailList_codec);
|
|
break;
|
|
}
|
|
case 64: {
|
|
Start = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 88: {
|
|
IsEnd = input.ReadBool();
|
|
break;
|
|
}
|
|
case 114: {
|
|
mailList_.AddEntriesFrom(ref input, _repeated_mailList_codec);
|
|
break;
|
|
}
|
|
case 120: {
|
|
Retcode = input.ReadUInt32();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|