// // Generated by the protocol buffer compiler. DO NOT EDIT! // source: circuits_v2/comment_node_data.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 CircuitsV2.Protobuf { /// Holder for reflection information generated from circuits_v2/comment_node_data.proto public static partial class CommentNodeDataReflection { #region Descriptor /// File descriptor for circuits_v2/comment_node_data.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static CommentNodeDataReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "CiNjaXJjdWl0c192Mi9jb21tZW50X25vZGVfZGF0YS5wcm90bxILY2lyY3Vp", "dHNfdjIifgoPQ29tbWVudE5vZGVEYXRhEgwKBG5hbWUYASABKAkSFAoMY29t", "bWVudF9ib2R5GAUgASgJEhMKC2NvbG9yX2luZGV4GAMgASgFEhEKCWFsd2F5", "c19vbhgEIAEoCBIfChdERVBSRUNBVEVEX2NvbW1lbnRfYm9keRgCIAEoDEIW", "qgITQ2lyY3VpdHNWMi5Qcm90b2J1ZmIGcHJvdG8z")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::CircuitsV2.Protobuf.CommentNodeData), global::CircuitsV2.Protobuf.CommentNodeData.Parser, new[]{ "Name", "CommentBody", "ColorIndex", "AlwaysOn", "DEPRECATEDCommentBody" }, null, null, null, null) })); } #endregion } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class CommentNodeData : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CommentNodeData()); 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::CircuitsV2.Protobuf.CommentNodeDataReflection.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 CommentNodeData() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public CommentNodeData(CommentNodeData other) : this() { name_ = other.name_; commentBody_ = other.commentBody_; colorIndex_ = other.colorIndex_; alwaysOn_ = other.alwaysOn_; dEPRECATEDCommentBody_ = other.dEPRECATEDCommentBody_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public CommentNodeData Clone() { return new CommentNodeData(this); } /// Field number for the "name" field. public const int NameFieldNumber = 1; private string name_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Name { get { return name_; } set { name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "comment_body" field. public const int CommentBodyFieldNumber = 5; private string commentBody_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string CommentBody { get { return commentBody_; } set { commentBody_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "color_index" field. public const int ColorIndexFieldNumber = 3; private int colorIndex_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int ColorIndex { get { return colorIndex_; } set { colorIndex_ = value; } } /// Field number for the "always_on" field. public const int AlwaysOnFieldNumber = 4; private bool alwaysOn_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool AlwaysOn { get { return alwaysOn_; } set { alwaysOn_ = value; } } /// Field number for the "DEPRECATED_comment_body" field. public const int DEPRECATEDCommentBodyFieldNumber = 2; private pb::ByteString dEPRECATEDCommentBody_ = pb::ByteString.Empty; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pb::ByteString DEPRECATEDCommentBody { get { return dEPRECATEDCommentBody_; } set { dEPRECATEDCommentBody_ = 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 CommentNodeData); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(CommentNodeData other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (Name != other.Name) return false; if (CommentBody != other.CommentBody) return false; if (ColorIndex != other.ColorIndex) return false; if (AlwaysOn != other.AlwaysOn) return false; if (DEPRECATEDCommentBody != other.DEPRECATEDCommentBody) 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 (Name.Length != 0) hash ^= Name.GetHashCode(); if (CommentBody.Length != 0) hash ^= CommentBody.GetHashCode(); if (ColorIndex != 0) hash ^= ColorIndex.GetHashCode(); if (AlwaysOn != false) hash ^= AlwaysOn.GetHashCode(); if (DEPRECATEDCommentBody.Length != 0) hash ^= DEPRECATEDCommentBody.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 (Name.Length != 0) { output.WriteRawTag(10); output.WriteString(Name); } if (DEPRECATEDCommentBody.Length != 0) { output.WriteRawTag(18); output.WriteBytes(DEPRECATEDCommentBody); } if (ColorIndex != 0) { output.WriteRawTag(24); output.WriteInt32(ColorIndex); } if (AlwaysOn != false) { output.WriteRawTag(32); output.WriteBool(AlwaysOn); } if (CommentBody.Length != 0) { output.WriteRawTag(42); output.WriteString(CommentBody); } 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 (Name.Length != 0) { output.WriteRawTag(10); output.WriteString(Name); } if (DEPRECATEDCommentBody.Length != 0) { output.WriteRawTag(18); output.WriteBytes(DEPRECATEDCommentBody); } if (ColorIndex != 0) { output.WriteRawTag(24); output.WriteInt32(ColorIndex); } if (AlwaysOn != false) { output.WriteRawTag(32); output.WriteBool(AlwaysOn); } if (CommentBody.Length != 0) { output.WriteRawTag(42); output.WriteString(CommentBody); } 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 (Name.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); } if (CommentBody.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(CommentBody); } if (ColorIndex != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(ColorIndex); } if (AlwaysOn != false) { size += 1 + 1; } if (DEPRECATEDCommentBody.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeBytesSize(DEPRECATEDCommentBody); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(CommentNodeData other) { if (other == null) { return; } if (other.Name.Length != 0) { Name = other.Name; } if (other.CommentBody.Length != 0) { CommentBody = other.CommentBody; } if (other.ColorIndex != 0) { ColorIndex = other.ColorIndex; } if (other.AlwaysOn != false) { AlwaysOn = other.AlwaysOn; } if (other.DEPRECATEDCommentBody.Length != 0) { DEPRECATEDCommentBody = other.DEPRECATEDCommentBody; } _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 10: { Name = input.ReadString(); break; } case 18: { DEPRECATEDCommentBody = input.ReadBytes(); break; } case 24: { ColorIndex = input.ReadInt32(); break; } case 32: { AlwaysOn = input.ReadBool(); break; } case 42: { CommentBody = 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 10: { Name = input.ReadString(); break; } case 18: { DEPRECATEDCommentBody = input.ReadBytes(); break; } case 24: { ColorIndex = input.ReadInt32(); break; } case 32: { AlwaysOn = input.ReadBool(); break; } case 42: { CommentBody = input.ReadString(); break; } } } } #endif } #endregion } #endregion Designer generated code