// // Generated by the protocol buffer compiler. DO NOT EDIT! // source: Note.proto // #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 { /// Holder for reflection information generated from Note.proto public static partial class NoteReflection { #region Descriptor /// File descriptor for Note.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static NoteReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "CgpOb3RlLnByb3RvIs4BCgROb3RlEgoKAmlkGAEgASgFEg0KBW5vdGVfGAIg", "ASgFEg4KBnN0eWxlMRgDIAEoCRIOCgZzdHlsZTIYBCABKAkSDgoGc3R5bGUz", "GAUgASgJEg4KBnN0eWxlNBgGIAEoCRIOCgZzdHlsZTUYByABKAkSDgoGc3R5", "bGU2GAggASgJEg4KBnN0eWxlNxgJIAEoCRIOCgZzdHlsZTgYCiABKAkSDQoF", "Y29sb3IYCyABKAkSDQoFbmFtZTEYDCABKAkSDQoFbmFtZTIYDSABKAlCDqoC", "C05vdmEuQ2xpZW50YgZwcm90bzM=")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.Note), global::Nova.Client.Note.Parser, new[]{ "Id", "Note_", "Style1", "Style2", "Style3", "Style4", "Style5", "Style6", "Style7", "Style8", "Color", "Name1", "Name2" }, null, null, null, null) })); } #endregion } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class Note : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Note()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser 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.NoteReflection.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 Note() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public Note(Note other) : this() { id_ = other.id_; note_ = other.note_; style1_ = other.style1_; style2_ = other.style2_; style3_ = other.style3_; style4_ = other.style4_; style5_ = other.style5_; style6_ = other.style6_; style7_ = other.style7_; style8_ = other.style8_; color_ = other.color_; name1_ = other.name1_; name2_ = other.name2_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public Note Clone() { return new Note(this); } /// Field number for the "id" field. 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; } } /// Field number for the "note_" field. public const int Note_FieldNumber = 2; private int note_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int Note_ { get { return note_; } set { note_ = value; } } /// Field number for the "style1" field. public const int Style1FieldNumber = 3; private string style1_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Style1 { get { return style1_; } set { style1_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "style2" field. public const int Style2FieldNumber = 4; private string style2_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Style2 { get { return style2_; } set { style2_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "style3" field. public const int Style3FieldNumber = 5; private string style3_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Style3 { get { return style3_; } set { style3_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "style4" field. public const int Style4FieldNumber = 6; private string style4_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Style4 { get { return style4_; } set { style4_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "style5" field. public const int Style5FieldNumber = 7; private string style5_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Style5 { get { return style5_; } set { style5_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "style6" field. public const int Style6FieldNumber = 8; private string style6_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Style6 { get { return style6_; } set { style6_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "style7" field. public const int Style7FieldNumber = 9; private string style7_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Style7 { get { return style7_; } set { style7_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "style8" field. public const int Style8FieldNumber = 10; private string style8_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Style8 { get { return style8_; } set { style8_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "color" field. public const int ColorFieldNumber = 11; private string color_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Color { get { return color_; } set { color_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "name1" field. public const int Name1FieldNumber = 12; private string name1_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Name1 { get { return name1_; } set { name1_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "name2" field. public const int Name2FieldNumber = 13; private string name2_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Name2 { get { return name2_; } set { name2_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as Note); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(Note other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (Id != other.Id) return false; if (Note_ != other.Note_) return false; if (Style1 != other.Style1) return false; if (Style2 != other.Style2) return false; if (Style3 != other.Style3) return false; if (Style4 != other.Style4) return false; if (Style5 != other.Style5) return false; if (Style6 != other.Style6) return false; if (Style7 != other.Style7) return false; if (Style8 != other.Style8) return false; if (Color != other.Color) return false; if (Name1 != other.Name1) return false; if (Name2 != other.Name2) 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 (Note_ != 0) hash ^= Note_.GetHashCode(); if (Style1.Length != 0) hash ^= Style1.GetHashCode(); if (Style2.Length != 0) hash ^= Style2.GetHashCode(); if (Style3.Length != 0) hash ^= Style3.GetHashCode(); if (Style4.Length != 0) hash ^= Style4.GetHashCode(); if (Style5.Length != 0) hash ^= Style5.GetHashCode(); if (Style6.Length != 0) hash ^= Style6.GetHashCode(); if (Style7.Length != 0) hash ^= Style7.GetHashCode(); if (Style8.Length != 0) hash ^= Style8.GetHashCode(); if (Color.Length != 0) hash ^= Color.GetHashCode(); if (Name1.Length != 0) hash ^= Name1.GetHashCode(); if (Name2.Length != 0) hash ^= Name2.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 (Note_ != 0) { output.WriteRawTag(16); output.WriteInt32(Note_); } if (Style1.Length != 0) { output.WriteRawTag(26); output.WriteString(Style1); } if (Style2.Length != 0) { output.WriteRawTag(34); output.WriteString(Style2); } if (Style3.Length != 0) { output.WriteRawTag(42); output.WriteString(Style3); } if (Style4.Length != 0) { output.WriteRawTag(50); output.WriteString(Style4); } if (Style5.Length != 0) { output.WriteRawTag(58); output.WriteString(Style5); } if (Style6.Length != 0) { output.WriteRawTag(66); output.WriteString(Style6); } if (Style7.Length != 0) { output.WriteRawTag(74); output.WriteString(Style7); } if (Style8.Length != 0) { output.WriteRawTag(82); output.WriteString(Style8); } if (Color.Length != 0) { output.WriteRawTag(90); output.WriteString(Color); } if (Name1.Length != 0) { output.WriteRawTag(98); output.WriteString(Name1); } if (Name2.Length != 0) { output.WriteRawTag(106); output.WriteString(Name2); } 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 (Note_ != 0) { output.WriteRawTag(16); output.WriteInt32(Note_); } if (Style1.Length != 0) { output.WriteRawTag(26); output.WriteString(Style1); } if (Style2.Length != 0) { output.WriteRawTag(34); output.WriteString(Style2); } if (Style3.Length != 0) { output.WriteRawTag(42); output.WriteString(Style3); } if (Style4.Length != 0) { output.WriteRawTag(50); output.WriteString(Style4); } if (Style5.Length != 0) { output.WriteRawTag(58); output.WriteString(Style5); } if (Style6.Length != 0) { output.WriteRawTag(66); output.WriteString(Style6); } if (Style7.Length != 0) { output.WriteRawTag(74); output.WriteString(Style7); } if (Style8.Length != 0) { output.WriteRawTag(82); output.WriteString(Style8); } if (Color.Length != 0) { output.WriteRawTag(90); output.WriteString(Color); } if (Name1.Length != 0) { output.WriteRawTag(98); output.WriteString(Name1); } if (Name2.Length != 0) { output.WriteRawTag(106); output.WriteString(Name2); } 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 (Note_ != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Note_); } if (Style1.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Style1); } if (Style2.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Style2); } if (Style3.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Style3); } if (Style4.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Style4); } if (Style5.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Style5); } if (Style6.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Style6); } if (Style7.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Style7); } if (Style8.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Style8); } if (Color.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Color); } if (Name1.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Name1); } if (Name2.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Name2); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(Note other) { if (other == null) { return; } if (other.Id != 0) { Id = other.Id; } if (other.Note_ != 0) { Note_ = other.Note_; } if (other.Style1.Length != 0) { Style1 = other.Style1; } if (other.Style2.Length != 0) { Style2 = other.Style2; } if (other.Style3.Length != 0) { Style3 = other.Style3; } if (other.Style4.Length != 0) { Style4 = other.Style4; } if (other.Style5.Length != 0) { Style5 = other.Style5; } if (other.Style6.Length != 0) { Style6 = other.Style6; } if (other.Style7.Length != 0) { Style7 = other.Style7; } if (other.Style8.Length != 0) { Style8 = other.Style8; } if (other.Color.Length != 0) { Color = other.Color; } if (other.Name1.Length != 0) { Name1 = other.Name1; } if (other.Name2.Length != 0) { Name2 = other.Name2; } _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 16: { Note_ = input.ReadInt32(); break; } case 26: { Style1 = input.ReadString(); break; } case 34: { Style2 = input.ReadString(); break; } case 42: { Style3 = input.ReadString(); break; } case 50: { Style4 = input.ReadString(); break; } case 58: { Style5 = input.ReadString(); break; } case 66: { Style6 = input.ReadString(); break; } case 74: { Style7 = input.ReadString(); break; } case 82: { Style8 = input.ReadString(); break; } case 90: { Color = input.ReadString(); break; } case 98: { Name1 = input.ReadString(); break; } case 106: { Name2 = input.ReadString(); 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 16: { Note_ = input.ReadInt32(); break; } case 26: { Style1 = input.ReadString(); break; } case 34: { Style2 = input.ReadString(); break; } case 42: { Style3 = input.ReadString(); break; } case 50: { Style4 = input.ReadString(); break; } case 58: { Style5 = input.ReadString(); break; } case 66: { Style6 = input.ReadString(); break; } case 74: { Style7 = input.ReadString(); break; } case 82: { Style8 = input.ReadString(); break; } case 90: { Color = input.ReadString(); break; } case 98: { Name1 = input.ReadString(); break; } case 106: { Name2 = input.ReadString(); break; } } } } #endif } #endregion } #endregion Designer generated code