mirror of
https://github.com/raphaeIl/Novaria.git
synced 2025-12-15 16:04:48 +01:00
953 lines
30 KiB
C#
953 lines
30 KiB
C#
// <auto-generated>
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: MailTemplate.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 Nova.Client {
|
|
|
|
/// <summary>Holder for reflection information generated from MailTemplate.proto</summary>
|
|
public static partial class MailTemplateReflection {
|
|
|
|
#region Descriptor
|
|
/// <summary>File descriptor for MailTemplate.proto</summary>
|
|
public static pbr::FileDescriptor Descriptor {
|
|
get { return descriptor; }
|
|
}
|
|
private static pbr::FileDescriptor descriptor;
|
|
|
|
static MailTemplateReflection() {
|
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
string.Concat(
|
|
"ChJNYWlsVGVtcGxhdGUucHJvdG8i9AIKDE1haWxUZW1wbGF0ZRIKCgJpZBgB",
|
|
"IAEoBRITCgtleHBsYW5hdGlvbhgCIAEoCRIMCgRpY29uGAMgASgJEg4KBmF1",
|
|
"dGhvchgEIAEoCRIUCgxsZXR0ZXJfcGFwZXIYBSABKAkSDwoHc3ViamVjdBgG",
|
|
"IAEoCRIMCgRkZXNjGAcgASgJEgwKBHR5cGUYCCABKAUSDgoGcHJvcHMxGAkg",
|
|
"ASgFEhQKDHByb3BzX2NvdW50MRgKIAEoBRIOCgZwcm9wczIYCyABKAUSFAoM",
|
|
"cHJvcHNfY291bnQyGAwgASgFEg4KBnByb3BzMxgNIAEoBRIUCgxwcm9wc19j",
|
|
"b3VudDMYDiABKAUSDgoGcHJvcHM0GA8gASgFEhQKDHByb3BzX2NvdW50NBgQ",
|
|
"IAEoBRIOCgZwcm9wczUYESABKAUSFAoMcHJvcHNfY291bnQ1GBIgASgFEg4K",
|
|
"BnByb3BzNhgTIAEoBRIUCgxwcm9wc19jb3VudDYYFCABKAVCDqoCC05vdmEu",
|
|
"Q2xpZW50YgZwcm90bzM="));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { },
|
|
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.MailTemplate), global::Nova.Client.MailTemplate.Parser, new[]{ "Id", "Explanation", "Icon", "Author", "LetterPaper", "Subject", "Desc", "Type", "Props1", "PropsCount1", "Props2", "PropsCount2", "Props3", "PropsCount3", "Props4", "PropsCount4", "Props5", "PropsCount5", "Props6", "PropsCount6" }, null, null, null, null)
|
|
}));
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
#region Messages
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class MailTemplate : pb::IMessage<MailTemplate>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<MailTemplate> _parser = new pb::MessageParser<MailTemplate>(() => new MailTemplate());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<MailTemplate> Parser { get { return _parser; } }
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pbr::MessageDescriptor Descriptor {
|
|
get { return global::Nova.Client.MailTemplateReflection.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 MailTemplate() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public MailTemplate(MailTemplate other) : this() {
|
|
id_ = other.id_;
|
|
explanation_ = other.explanation_;
|
|
icon_ = other.icon_;
|
|
author_ = other.author_;
|
|
letterPaper_ = other.letterPaper_;
|
|
subject_ = other.subject_;
|
|
desc_ = other.desc_;
|
|
type_ = other.type_;
|
|
props1_ = other.props1_;
|
|
propsCount1_ = other.propsCount1_;
|
|
props2_ = other.props2_;
|
|
propsCount2_ = other.propsCount2_;
|
|
props3_ = other.props3_;
|
|
propsCount3_ = other.propsCount3_;
|
|
props4_ = other.props4_;
|
|
propsCount4_ = other.propsCount4_;
|
|
props5_ = other.props5_;
|
|
propsCount5_ = other.propsCount5_;
|
|
props6_ = other.props6_;
|
|
propsCount6_ = other.propsCount6_;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public MailTemplate Clone() {
|
|
return new MailTemplate(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "id" field.</summary>
|
|
public const int IdFieldNumber = 1;
|
|
private int id_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public int Id {
|
|
get { return id_; }
|
|
set {
|
|
id_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "explanation" field.</summary>
|
|
public const int ExplanationFieldNumber = 2;
|
|
private string explanation_ = "";
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public string Explanation {
|
|
get { return explanation_; }
|
|
set {
|
|
explanation_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "icon" field.</summary>
|
|
public const int IconFieldNumber = 3;
|
|
private string icon_ = "";
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public string Icon {
|
|
get { return icon_; }
|
|
set {
|
|
icon_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "author" field.</summary>
|
|
public const int AuthorFieldNumber = 4;
|
|
private string author_ = "";
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public string Author {
|
|
get { return author_; }
|
|
set {
|
|
author_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "letter_paper" field.</summary>
|
|
public const int LetterPaperFieldNumber = 5;
|
|
private string letterPaper_ = "";
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public string LetterPaper {
|
|
get { return letterPaper_; }
|
|
set {
|
|
letterPaper_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "subject" field.</summary>
|
|
public const int SubjectFieldNumber = 6;
|
|
private string subject_ = "";
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public string Subject {
|
|
get { return subject_; }
|
|
set {
|
|
subject_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "desc" field.</summary>
|
|
public const int DescFieldNumber = 7;
|
|
private string desc_ = "";
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public string Desc {
|
|
get { return desc_; }
|
|
set {
|
|
desc_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "type" field.</summary>
|
|
public const int TypeFieldNumber = 8;
|
|
private int type_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public int Type {
|
|
get { return type_; }
|
|
set {
|
|
type_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "props1" field.</summary>
|
|
public const int Props1FieldNumber = 9;
|
|
private int props1_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public int Props1 {
|
|
get { return props1_; }
|
|
set {
|
|
props1_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "props_count1" field.</summary>
|
|
public const int PropsCount1FieldNumber = 10;
|
|
private int propsCount1_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public int PropsCount1 {
|
|
get { return propsCount1_; }
|
|
set {
|
|
propsCount1_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "props2" field.</summary>
|
|
public const int Props2FieldNumber = 11;
|
|
private int props2_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public int Props2 {
|
|
get { return props2_; }
|
|
set {
|
|
props2_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "props_count2" field.</summary>
|
|
public const int PropsCount2FieldNumber = 12;
|
|
private int propsCount2_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public int PropsCount2 {
|
|
get { return propsCount2_; }
|
|
set {
|
|
propsCount2_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "props3" field.</summary>
|
|
public const int Props3FieldNumber = 13;
|
|
private int props3_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public int Props3 {
|
|
get { return props3_; }
|
|
set {
|
|
props3_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "props_count3" field.</summary>
|
|
public const int PropsCount3FieldNumber = 14;
|
|
private int propsCount3_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public int PropsCount3 {
|
|
get { return propsCount3_; }
|
|
set {
|
|
propsCount3_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "props4" field.</summary>
|
|
public const int Props4FieldNumber = 15;
|
|
private int props4_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public int Props4 {
|
|
get { return props4_; }
|
|
set {
|
|
props4_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "props_count4" field.</summary>
|
|
public const int PropsCount4FieldNumber = 16;
|
|
private int propsCount4_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public int PropsCount4 {
|
|
get { return propsCount4_; }
|
|
set {
|
|
propsCount4_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "props5" field.</summary>
|
|
public const int Props5FieldNumber = 17;
|
|
private int props5_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public int Props5 {
|
|
get { return props5_; }
|
|
set {
|
|
props5_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "props_count5" field.</summary>
|
|
public const int PropsCount5FieldNumber = 18;
|
|
private int propsCount5_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public int PropsCount5 {
|
|
get { return propsCount5_; }
|
|
set {
|
|
propsCount5_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "props6" field.</summary>
|
|
public const int Props6FieldNumber = 19;
|
|
private int props6_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public int Props6 {
|
|
get { return props6_; }
|
|
set {
|
|
props6_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "props_count6" field.</summary>
|
|
public const int PropsCount6FieldNumber = 20;
|
|
private int propsCount6_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public int PropsCount6 {
|
|
get { return propsCount6_; }
|
|
set {
|
|
propsCount6_ = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as MailTemplate);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(MailTemplate other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (Id != other.Id) return false;
|
|
if (Explanation != other.Explanation) return false;
|
|
if (Icon != other.Icon) return false;
|
|
if (Author != other.Author) return false;
|
|
if (LetterPaper != other.LetterPaper) return false;
|
|
if (Subject != other.Subject) return false;
|
|
if (Desc != other.Desc) return false;
|
|
if (Type != other.Type) return false;
|
|
if (Props1 != other.Props1) return false;
|
|
if (PropsCount1 != other.PropsCount1) return false;
|
|
if (Props2 != other.Props2) return false;
|
|
if (PropsCount2 != other.PropsCount2) return false;
|
|
if (Props3 != other.Props3) return false;
|
|
if (PropsCount3 != other.PropsCount3) return false;
|
|
if (Props4 != other.Props4) return false;
|
|
if (PropsCount4 != other.PropsCount4) return false;
|
|
if (Props5 != other.Props5) return false;
|
|
if (PropsCount5 != other.PropsCount5) return false;
|
|
if (Props6 != other.Props6) return false;
|
|
if (PropsCount6 != other.PropsCount6) 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 (Id != 0) hash ^= Id.GetHashCode();
|
|
if (Explanation.Length != 0) hash ^= Explanation.GetHashCode();
|
|
if (Icon.Length != 0) hash ^= Icon.GetHashCode();
|
|
if (Author.Length != 0) hash ^= Author.GetHashCode();
|
|
if (LetterPaper.Length != 0) hash ^= LetterPaper.GetHashCode();
|
|
if (Subject.Length != 0) hash ^= Subject.GetHashCode();
|
|
if (Desc.Length != 0) hash ^= Desc.GetHashCode();
|
|
if (Type != 0) hash ^= Type.GetHashCode();
|
|
if (Props1 != 0) hash ^= Props1.GetHashCode();
|
|
if (PropsCount1 != 0) hash ^= PropsCount1.GetHashCode();
|
|
if (Props2 != 0) hash ^= Props2.GetHashCode();
|
|
if (PropsCount2 != 0) hash ^= PropsCount2.GetHashCode();
|
|
if (Props3 != 0) hash ^= Props3.GetHashCode();
|
|
if (PropsCount3 != 0) hash ^= PropsCount3.GetHashCode();
|
|
if (Props4 != 0) hash ^= Props4.GetHashCode();
|
|
if (PropsCount4 != 0) hash ^= PropsCount4.GetHashCode();
|
|
if (Props5 != 0) hash ^= Props5.GetHashCode();
|
|
if (PropsCount5 != 0) hash ^= PropsCount5.GetHashCode();
|
|
if (Props6 != 0) hash ^= Props6.GetHashCode();
|
|
if (PropsCount6 != 0) hash ^= PropsCount6.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 (Id != 0) {
|
|
output.WriteRawTag(8);
|
|
output.WriteInt32(Id);
|
|
}
|
|
if (Explanation.Length != 0) {
|
|
output.WriteRawTag(18);
|
|
output.WriteString(Explanation);
|
|
}
|
|
if (Icon.Length != 0) {
|
|
output.WriteRawTag(26);
|
|
output.WriteString(Icon);
|
|
}
|
|
if (Author.Length != 0) {
|
|
output.WriteRawTag(34);
|
|
output.WriteString(Author);
|
|
}
|
|
if (LetterPaper.Length != 0) {
|
|
output.WriteRawTag(42);
|
|
output.WriteString(LetterPaper);
|
|
}
|
|
if (Subject.Length != 0) {
|
|
output.WriteRawTag(50);
|
|
output.WriteString(Subject);
|
|
}
|
|
if (Desc.Length != 0) {
|
|
output.WriteRawTag(58);
|
|
output.WriteString(Desc);
|
|
}
|
|
if (Type != 0) {
|
|
output.WriteRawTag(64);
|
|
output.WriteInt32(Type);
|
|
}
|
|
if (Props1 != 0) {
|
|
output.WriteRawTag(72);
|
|
output.WriteInt32(Props1);
|
|
}
|
|
if (PropsCount1 != 0) {
|
|
output.WriteRawTag(80);
|
|
output.WriteInt32(PropsCount1);
|
|
}
|
|
if (Props2 != 0) {
|
|
output.WriteRawTag(88);
|
|
output.WriteInt32(Props2);
|
|
}
|
|
if (PropsCount2 != 0) {
|
|
output.WriteRawTag(96);
|
|
output.WriteInt32(PropsCount2);
|
|
}
|
|
if (Props3 != 0) {
|
|
output.WriteRawTag(104);
|
|
output.WriteInt32(Props3);
|
|
}
|
|
if (PropsCount3 != 0) {
|
|
output.WriteRawTag(112);
|
|
output.WriteInt32(PropsCount3);
|
|
}
|
|
if (Props4 != 0) {
|
|
output.WriteRawTag(120);
|
|
output.WriteInt32(Props4);
|
|
}
|
|
if (PropsCount4 != 0) {
|
|
output.WriteRawTag(128, 1);
|
|
output.WriteInt32(PropsCount4);
|
|
}
|
|
if (Props5 != 0) {
|
|
output.WriteRawTag(136, 1);
|
|
output.WriteInt32(Props5);
|
|
}
|
|
if (PropsCount5 != 0) {
|
|
output.WriteRawTag(144, 1);
|
|
output.WriteInt32(PropsCount5);
|
|
}
|
|
if (Props6 != 0) {
|
|
output.WriteRawTag(152, 1);
|
|
output.WriteInt32(Props6);
|
|
}
|
|
if (PropsCount6 != 0) {
|
|
output.WriteRawTag(160, 1);
|
|
output.WriteInt32(PropsCount6);
|
|
}
|
|
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 (Id != 0) {
|
|
output.WriteRawTag(8);
|
|
output.WriteInt32(Id);
|
|
}
|
|
if (Explanation.Length != 0) {
|
|
output.WriteRawTag(18);
|
|
output.WriteString(Explanation);
|
|
}
|
|
if (Icon.Length != 0) {
|
|
output.WriteRawTag(26);
|
|
output.WriteString(Icon);
|
|
}
|
|
if (Author.Length != 0) {
|
|
output.WriteRawTag(34);
|
|
output.WriteString(Author);
|
|
}
|
|
if (LetterPaper.Length != 0) {
|
|
output.WriteRawTag(42);
|
|
output.WriteString(LetterPaper);
|
|
}
|
|
if (Subject.Length != 0) {
|
|
output.WriteRawTag(50);
|
|
output.WriteString(Subject);
|
|
}
|
|
if (Desc.Length != 0) {
|
|
output.WriteRawTag(58);
|
|
output.WriteString(Desc);
|
|
}
|
|
if (Type != 0) {
|
|
output.WriteRawTag(64);
|
|
output.WriteInt32(Type);
|
|
}
|
|
if (Props1 != 0) {
|
|
output.WriteRawTag(72);
|
|
output.WriteInt32(Props1);
|
|
}
|
|
if (PropsCount1 != 0) {
|
|
output.WriteRawTag(80);
|
|
output.WriteInt32(PropsCount1);
|
|
}
|
|
if (Props2 != 0) {
|
|
output.WriteRawTag(88);
|
|
output.WriteInt32(Props2);
|
|
}
|
|
if (PropsCount2 != 0) {
|
|
output.WriteRawTag(96);
|
|
output.WriteInt32(PropsCount2);
|
|
}
|
|
if (Props3 != 0) {
|
|
output.WriteRawTag(104);
|
|
output.WriteInt32(Props3);
|
|
}
|
|
if (PropsCount3 != 0) {
|
|
output.WriteRawTag(112);
|
|
output.WriteInt32(PropsCount3);
|
|
}
|
|
if (Props4 != 0) {
|
|
output.WriteRawTag(120);
|
|
output.WriteInt32(Props4);
|
|
}
|
|
if (PropsCount4 != 0) {
|
|
output.WriteRawTag(128, 1);
|
|
output.WriteInt32(PropsCount4);
|
|
}
|
|
if (Props5 != 0) {
|
|
output.WriteRawTag(136, 1);
|
|
output.WriteInt32(Props5);
|
|
}
|
|
if (PropsCount5 != 0) {
|
|
output.WriteRawTag(144, 1);
|
|
output.WriteInt32(PropsCount5);
|
|
}
|
|
if (Props6 != 0) {
|
|
output.WriteRawTag(152, 1);
|
|
output.WriteInt32(Props6);
|
|
}
|
|
if (PropsCount6 != 0) {
|
|
output.WriteRawTag(160, 1);
|
|
output.WriteInt32(PropsCount6);
|
|
}
|
|
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 (Id != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Id);
|
|
}
|
|
if (Explanation.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(Explanation);
|
|
}
|
|
if (Icon.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(Icon);
|
|
}
|
|
if (Author.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(Author);
|
|
}
|
|
if (LetterPaper.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(LetterPaper);
|
|
}
|
|
if (Subject.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(Subject);
|
|
}
|
|
if (Desc.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc);
|
|
}
|
|
if (Type != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Type);
|
|
}
|
|
if (Props1 != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Props1);
|
|
}
|
|
if (PropsCount1 != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(PropsCount1);
|
|
}
|
|
if (Props2 != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Props2);
|
|
}
|
|
if (PropsCount2 != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(PropsCount2);
|
|
}
|
|
if (Props3 != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Props3);
|
|
}
|
|
if (PropsCount3 != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(PropsCount3);
|
|
}
|
|
if (Props4 != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Props4);
|
|
}
|
|
if (PropsCount4 != 0) {
|
|
size += 2 + pb::CodedOutputStream.ComputeInt32Size(PropsCount4);
|
|
}
|
|
if (Props5 != 0) {
|
|
size += 2 + pb::CodedOutputStream.ComputeInt32Size(Props5);
|
|
}
|
|
if (PropsCount5 != 0) {
|
|
size += 2 + pb::CodedOutputStream.ComputeInt32Size(PropsCount5);
|
|
}
|
|
if (Props6 != 0) {
|
|
size += 2 + pb::CodedOutputStream.ComputeInt32Size(Props6);
|
|
}
|
|
if (PropsCount6 != 0) {
|
|
size += 2 + pb::CodedOutputStream.ComputeInt32Size(PropsCount6);
|
|
}
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(MailTemplate other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.Id != 0) {
|
|
Id = other.Id;
|
|
}
|
|
if (other.Explanation.Length != 0) {
|
|
Explanation = other.Explanation;
|
|
}
|
|
if (other.Icon.Length != 0) {
|
|
Icon = other.Icon;
|
|
}
|
|
if (other.Author.Length != 0) {
|
|
Author = other.Author;
|
|
}
|
|
if (other.LetterPaper.Length != 0) {
|
|
LetterPaper = other.LetterPaper;
|
|
}
|
|
if (other.Subject.Length != 0) {
|
|
Subject = other.Subject;
|
|
}
|
|
if (other.Desc.Length != 0) {
|
|
Desc = other.Desc;
|
|
}
|
|
if (other.Type != 0) {
|
|
Type = other.Type;
|
|
}
|
|
if (other.Props1 != 0) {
|
|
Props1 = other.Props1;
|
|
}
|
|
if (other.PropsCount1 != 0) {
|
|
PropsCount1 = other.PropsCount1;
|
|
}
|
|
if (other.Props2 != 0) {
|
|
Props2 = other.Props2;
|
|
}
|
|
if (other.PropsCount2 != 0) {
|
|
PropsCount2 = other.PropsCount2;
|
|
}
|
|
if (other.Props3 != 0) {
|
|
Props3 = other.Props3;
|
|
}
|
|
if (other.PropsCount3 != 0) {
|
|
PropsCount3 = other.PropsCount3;
|
|
}
|
|
if (other.Props4 != 0) {
|
|
Props4 = other.Props4;
|
|
}
|
|
if (other.PropsCount4 != 0) {
|
|
PropsCount4 = other.PropsCount4;
|
|
}
|
|
if (other.Props5 != 0) {
|
|
Props5 = other.Props5;
|
|
}
|
|
if (other.PropsCount5 != 0) {
|
|
PropsCount5 = other.PropsCount5;
|
|
}
|
|
if (other.Props6 != 0) {
|
|
Props6 = other.Props6;
|
|
}
|
|
if (other.PropsCount6 != 0) {
|
|
PropsCount6 = other.PropsCount6;
|
|
}
|
|
_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) {
|
|
if ((tag & 7) == 4) {
|
|
// Abort on any end group tag.
|
|
return;
|
|
}
|
|
switch(tag) {
|
|
default:
|
|
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
|
break;
|
|
case 8: {
|
|
Id = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 18: {
|
|
Explanation = input.ReadString();
|
|
break;
|
|
}
|
|
case 26: {
|
|
Icon = input.ReadString();
|
|
break;
|
|
}
|
|
case 34: {
|
|
Author = input.ReadString();
|
|
break;
|
|
}
|
|
case 42: {
|
|
LetterPaper = input.ReadString();
|
|
break;
|
|
}
|
|
case 50: {
|
|
Subject = input.ReadString();
|
|
break;
|
|
}
|
|
case 58: {
|
|
Desc = input.ReadString();
|
|
break;
|
|
}
|
|
case 64: {
|
|
Type = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 72: {
|
|
Props1 = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 80: {
|
|
PropsCount1 = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 88: {
|
|
Props2 = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 96: {
|
|
PropsCount2 = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 104: {
|
|
Props3 = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 112: {
|
|
PropsCount3 = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 120: {
|
|
Props4 = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 128: {
|
|
PropsCount4 = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 136: {
|
|
Props5 = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 144: {
|
|
PropsCount5 = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 152: {
|
|
Props6 = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 160: {
|
|
PropsCount6 = input.ReadInt32();
|
|
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) {
|
|
if ((tag & 7) == 4) {
|
|
// Abort on any end group tag.
|
|
return;
|
|
}
|
|
switch(tag) {
|
|
default:
|
|
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
|
break;
|
|
case 8: {
|
|
Id = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 18: {
|
|
Explanation = input.ReadString();
|
|
break;
|
|
}
|
|
case 26: {
|
|
Icon = input.ReadString();
|
|
break;
|
|
}
|
|
case 34: {
|
|
Author = input.ReadString();
|
|
break;
|
|
}
|
|
case 42: {
|
|
LetterPaper = input.ReadString();
|
|
break;
|
|
}
|
|
case 50: {
|
|
Subject = input.ReadString();
|
|
break;
|
|
}
|
|
case 58: {
|
|
Desc = input.ReadString();
|
|
break;
|
|
}
|
|
case 64: {
|
|
Type = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 72: {
|
|
Props1 = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 80: {
|
|
PropsCount1 = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 88: {
|
|
Props2 = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 96: {
|
|
PropsCount2 = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 104: {
|
|
Props3 = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 112: {
|
|
PropsCount3 = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 120: {
|
|
Props4 = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 128: {
|
|
PropsCount4 = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 136: {
|
|
Props5 = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 144: {
|
|
PropsCount5 = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 152: {
|
|
Props6 = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 160: {
|
|
PropsCount6 = input.ReadInt32();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|