Files
DanhengServer-OpenSource/Proto/TakeMailAttachmentScRsp.cs
2025-11-15 22:21:46 +08:00

338 lines
13 KiB
C#

// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: TakeMailAttachmentScRsp.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 TakeMailAttachmentScRsp.proto</summary>
public static partial class TakeMailAttachmentScRspReflection {
#region Descriptor
/// <summary>File descriptor for TakeMailAttachmentScRsp.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static TakeMailAttachmentScRspReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"Ch1UYWtlTWFpbEF0dGFjaG1lbnRTY1JzcC5wcm90bxoOSXRlbUxpc3QucHJv",
"dG8aHkNsaWVudE1haWxBdHRhY2htZW50SXRlbS5wcm90byKSAQoXVGFrZU1h",
"aWxBdHRhY2htZW50U2NSc3ASDwoHUmV0Y29kZRgFIAEoDRIvCgxGYWlsTWFp",
"bExpc3QYDyADKAsyGS5DbGllbnRNYWlsQXR0YWNobWVudEl0ZW0SFgoOU3Vj",
"Y01haWxJZExpc3QYASADKA0SHQoKQXR0YWNobWVudBgMIAEoCzIJLkl0ZW1M",
"aXN0Qh6qAhtFZ2dMaW5rLkRhbmhlbmdTZXJ2ZXIuUHJvdG9iBnByb3RvMw=="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.ItemListReflection.Descriptor, global::EggLink.DanhengServer.Proto.ClientMailAttachmentItemReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.TakeMailAttachmentScRsp), global::EggLink.DanhengServer.Proto.TakeMailAttachmentScRsp.Parser, new[]{ "Retcode", "FailMailList", "SuccMailIdList", "Attachment" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class TakeMailAttachmentScRsp : pb::IMessage<TakeMailAttachmentScRsp>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<TakeMailAttachmentScRsp> _parser = new pb::MessageParser<TakeMailAttachmentScRsp>(() => new TakeMailAttachmentScRsp());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<TakeMailAttachmentScRsp> 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.TakeMailAttachmentScRspReflection.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 TakeMailAttachmentScRsp() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public TakeMailAttachmentScRsp(TakeMailAttachmentScRsp other) : this() {
retcode_ = other.retcode_;
failMailList_ = other.failMailList_.Clone();
succMailIdList_ = other.succMailIdList_.Clone();
attachment_ = other.attachment_ != null ? other.attachment_.Clone() : null;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public TakeMailAttachmentScRsp Clone() {
return new TakeMailAttachmentScRsp(this);
}
/// <summary>Field number for the "Retcode" field.</summary>
public const int RetcodeFieldNumber = 5;
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 "FailMailList" field.</summary>
public const int FailMailListFieldNumber = 15;
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.ClientMailAttachmentItem> _repeated_failMailList_codec
= pb::FieldCodec.ForMessage(122, global::EggLink.DanhengServer.Proto.ClientMailAttachmentItem.Parser);
private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.ClientMailAttachmentItem> failMailList_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.ClientMailAttachmentItem>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.ClientMailAttachmentItem> FailMailList {
get { return failMailList_; }
}
/// <summary>Field number for the "SuccMailIdList" field.</summary>
public const int SuccMailIdListFieldNumber = 1;
private static readonly pb::FieldCodec<uint> _repeated_succMailIdList_codec
= pb::FieldCodec.ForUInt32(10);
private readonly pbc::RepeatedField<uint> succMailIdList_ = new pbc::RepeatedField<uint>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<uint> SuccMailIdList {
get { return succMailIdList_; }
}
/// <summary>Field number for the "Attachment" field.</summary>
public const int AttachmentFieldNumber = 12;
private global::EggLink.DanhengServer.Proto.ItemList attachment_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::EggLink.DanhengServer.Proto.ItemList Attachment {
get { return attachment_; }
set {
attachment_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as TakeMailAttachmentScRsp);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(TakeMailAttachmentScRsp other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Retcode != other.Retcode) return false;
if(!failMailList_.Equals(other.failMailList_)) return false;
if(!succMailIdList_.Equals(other.succMailIdList_)) return false;
if (!object.Equals(Attachment, other.Attachment)) 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 (Retcode != 0) hash ^= Retcode.GetHashCode();
hash ^= failMailList_.GetHashCode();
hash ^= succMailIdList_.GetHashCode();
if (attachment_ != null) hash ^= Attachment.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
succMailIdList_.WriteTo(output, _repeated_succMailIdList_codec);
if (Retcode != 0) {
output.WriteRawTag(40);
output.WriteUInt32(Retcode);
}
if (attachment_ != null) {
output.WriteRawTag(98);
output.WriteMessage(Attachment);
}
failMailList_.WriteTo(output, _repeated_failMailList_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) {
succMailIdList_.WriteTo(ref output, _repeated_succMailIdList_codec);
if (Retcode != 0) {
output.WriteRawTag(40);
output.WriteUInt32(Retcode);
}
if (attachment_ != null) {
output.WriteRawTag(98);
output.WriteMessage(Attachment);
}
failMailList_.WriteTo(ref output, _repeated_failMailList_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 (Retcode != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Retcode);
}
size += failMailList_.CalculateSize(_repeated_failMailList_codec);
size += succMailIdList_.CalculateSize(_repeated_succMailIdList_codec);
if (attachment_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Attachment);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(TakeMailAttachmentScRsp other) {
if (other == null) {
return;
}
if (other.Retcode != 0) {
Retcode = other.Retcode;
}
failMailList_.Add(other.failMailList_);
succMailIdList_.Add(other.succMailIdList_);
if (other.attachment_ != null) {
if (attachment_ == null) {
Attachment = new global::EggLink.DanhengServer.Proto.ItemList();
}
Attachment.MergeFrom(other.Attachment);
}
_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 10:
case 8: {
succMailIdList_.AddEntriesFrom(input, _repeated_succMailIdList_codec);
break;
}
case 40: {
Retcode = input.ReadUInt32();
break;
}
case 98: {
if (attachment_ == null) {
Attachment = new global::EggLink.DanhengServer.Proto.ItemList();
}
input.ReadMessage(Attachment);
break;
}
case 122: {
failMailList_.AddEntriesFrom(input, _repeated_failMailList_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 10:
case 8: {
succMailIdList_.AddEntriesFrom(ref input, _repeated_succMailIdList_codec);
break;
}
case 40: {
Retcode = input.ReadUInt32();
break;
}
case 98: {
if (attachment_ == null) {
Attachment = new global::EggLink.DanhengServer.Proto.ItemList();
}
input.ReadMessage(Attachment);
break;
}
case 122: {
failMailList_.AddEntriesFrom(ref input, _repeated_failMailList_codec);
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code