// // Generated by the protocol buffer compiler. DO NOT EDIT! // source: circuits_v2/control_panel_root_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/control_panel_root_data.proto public static partial class ControlPanelRootDataReflection { #region Descriptor /// File descriptor for circuits_v2/control_panel_root_data.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static ControlPanelRootDataReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "CiljaXJjdWl0c192Mi9jb250cm9sX3BhbmVsX3Jvb3RfZGF0YS5wcm90bxIL", "Y2lyY3VpdHNfdjIaLmNpcmN1aXRzX3YyL2NpcmN1aXRfZ2xvYmFsX2VudGl0", "aWVzX2RhdGEucHJvdG8aJGNpcmN1aXRzX3YyL2NpcmN1aXRfZ3JhcGhfZGF0", "YS5wcm90bxojY2lyY3VpdHNfdjIvY2lyY3VpdF9ub2RlX2RhdGEucHJvdG8a", "L2NpcmN1aXRzX3YyL2NpcmN1aXRfc2VyaWFsaXphdGlvbl92ZXJzaW9uLnBy", "b3RvIoICChRDb250cm9sUGFuZWxSb290RGF0YRI5Cgd2ZXJzaW9uGAEgASgO", "MiguY2lyY3VpdHNfdjIuQ2lyY3VpdFNlcmlhbGl6YXRpb25WZXJzaW9uEjUK", "DmdyYXBoX3RlbXBsYXRlGAIgASgLMh0uY2lyY3VpdHNfdjIuQ2lyY3VpdEdy", "YXBoRGF0YRI4CghlbnRpdGllcxgEIAEoCzImLmNpcmN1aXRzX3YyLkNpcmN1", "aXRHbG9iYWxFbnRpdGllc0RhdGESPgoYREVQUkVDQVRFRF9ub2RlX3RlbXBs", "YXRlGAMgASgLMhwuY2lyY3VpdHNfdjIuQ2lyY3VpdE5vZGVEYXRhQhaqAhND", "aXJjdWl0c1YyLlByb3RvYnVmYgZwcm90bzM=")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { global::CircuitsV2.Protobuf.CircuitGlobalEntitiesDataReflection.Descriptor, global::CircuitsV2.Protobuf.CircuitGraphDataReflection.Descriptor, global::CircuitsV2.Protobuf.CircuitNodeDataReflection.Descriptor, global::CircuitsV2.Protobuf.CircuitSerializationVersionReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::CircuitsV2.Protobuf.ControlPanelRootData), global::CircuitsV2.Protobuf.ControlPanelRootData.Parser, new[]{ "Version", "GraphTemplate", "Entities", "DEPRECATEDNodeTemplate" }, null, null, null, null) })); } #endregion } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class ControlPanelRootData : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ControlPanelRootData()); 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.ControlPanelRootDataReflection.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 ControlPanelRootData() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public ControlPanelRootData(ControlPanelRootData other) : this() { version_ = other.version_; graphTemplate_ = other.graphTemplate_ != null ? other.graphTemplate_.Clone() : null; entities_ = other.entities_ != null ? other.entities_.Clone() : null; dEPRECATEDNodeTemplate_ = other.dEPRECATEDNodeTemplate_ != null ? other.dEPRECATEDNodeTemplate_.Clone() : null; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public ControlPanelRootData Clone() { return new ControlPanelRootData(this); } /// Field number for the "version" field. public const int VersionFieldNumber = 1; private global::CircuitsV2.Protobuf.CircuitSerializationVersion version_ = global::CircuitsV2.Protobuf.CircuitSerializationVersion.V0New; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::CircuitsV2.Protobuf.CircuitSerializationVersion Version { get { return version_; } set { version_ = value; } } /// Field number for the "graph_template" field. public const int GraphTemplateFieldNumber = 2; private global::CircuitsV2.Protobuf.CircuitGraphData graphTemplate_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::CircuitsV2.Protobuf.CircuitGraphData GraphTemplate { get { return graphTemplate_; } set { graphTemplate_ = value; } } /// Field number for the "entities" field. public const int EntitiesFieldNumber = 4; private global::CircuitsV2.Protobuf.CircuitGlobalEntitiesData entities_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::CircuitsV2.Protobuf.CircuitGlobalEntitiesData Entities { get { return entities_; } set { entities_ = value; } } /// Field number for the "DEPRECATED_node_template" field. public const int DEPRECATEDNodeTemplateFieldNumber = 3; private global::CircuitsV2.Protobuf.CircuitNodeData dEPRECATEDNodeTemplate_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::CircuitsV2.Protobuf.CircuitNodeData DEPRECATEDNodeTemplate { get { return dEPRECATEDNodeTemplate_; } set { dEPRECATEDNodeTemplate_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as ControlPanelRootData); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(ControlPanelRootData other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (Version != other.Version) return false; if (!object.Equals(GraphTemplate, other.GraphTemplate)) return false; if (!object.Equals(Entities, other.Entities)) return false; if (!object.Equals(DEPRECATEDNodeTemplate, other.DEPRECATEDNodeTemplate)) 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 (Version != global::CircuitsV2.Protobuf.CircuitSerializationVersion.V0New) hash ^= Version.GetHashCode(); if (graphTemplate_ != null) hash ^= GraphTemplate.GetHashCode(); if (entities_ != null) hash ^= Entities.GetHashCode(); if (dEPRECATEDNodeTemplate_ != null) hash ^= DEPRECATEDNodeTemplate.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 (Version != global::CircuitsV2.Protobuf.CircuitSerializationVersion.V0New) { output.WriteRawTag(8); output.WriteEnum((int) Version); } if (graphTemplate_ != null) { output.WriteRawTag(18); output.WriteMessage(GraphTemplate); } if (dEPRECATEDNodeTemplate_ != null) { output.WriteRawTag(26); output.WriteMessage(DEPRECATEDNodeTemplate); } if (entities_ != null) { output.WriteRawTag(34); output.WriteMessage(Entities); } 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 (Version != global::CircuitsV2.Protobuf.CircuitSerializationVersion.V0New) { output.WriteRawTag(8); output.WriteEnum((int) Version); } if (graphTemplate_ != null) { output.WriteRawTag(18); output.WriteMessage(GraphTemplate); } if (dEPRECATEDNodeTemplate_ != null) { output.WriteRawTag(26); output.WriteMessage(DEPRECATEDNodeTemplate); } if (entities_ != null) { output.WriteRawTag(34); output.WriteMessage(Entities); } 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 (Version != global::CircuitsV2.Protobuf.CircuitSerializationVersion.V0New) { size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Version); } if (graphTemplate_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(GraphTemplate); } if (entities_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(Entities); } if (dEPRECATEDNodeTemplate_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(DEPRECATEDNodeTemplate); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(ControlPanelRootData other) { if (other == null) { return; } if (other.Version != global::CircuitsV2.Protobuf.CircuitSerializationVersion.V0New) { Version = other.Version; } if (other.graphTemplate_ != null) { if (graphTemplate_ == null) { GraphTemplate = new global::CircuitsV2.Protobuf.CircuitGraphData(); } GraphTemplate.MergeFrom(other.GraphTemplate); } if (other.entities_ != null) { if (entities_ == null) { Entities = new global::CircuitsV2.Protobuf.CircuitGlobalEntitiesData(); } Entities.MergeFrom(other.Entities); } if (other.dEPRECATEDNodeTemplate_ != null) { if (dEPRECATEDNodeTemplate_ == null) { DEPRECATEDNodeTemplate = new global::CircuitsV2.Protobuf.CircuitNodeData(); } DEPRECATEDNodeTemplate.MergeFrom(other.DEPRECATEDNodeTemplate); } _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: { Version = (global::CircuitsV2.Protobuf.CircuitSerializationVersion) input.ReadEnum(); break; } case 18: { if (graphTemplate_ == null) { GraphTemplate = new global::CircuitsV2.Protobuf.CircuitGraphData(); } input.ReadMessage(GraphTemplate); break; } case 26: { if (dEPRECATEDNodeTemplate_ == null) { DEPRECATEDNodeTemplate = new global::CircuitsV2.Protobuf.CircuitNodeData(); } input.ReadMessage(DEPRECATEDNodeTemplate); break; } case 34: { if (entities_ == null) { Entities = new global::CircuitsV2.Protobuf.CircuitGlobalEntitiesData(); } input.ReadMessage(Entities); 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: { Version = (global::CircuitsV2.Protobuf.CircuitSerializationVersion) input.ReadEnum(); break; } case 18: { if (graphTemplate_ == null) { GraphTemplate = new global::CircuitsV2.Protobuf.CircuitGraphData(); } input.ReadMessage(GraphTemplate); break; } case 26: { if (dEPRECATEDNodeTemplate_ == null) { DEPRECATEDNodeTemplate = new global::CircuitsV2.Protobuf.CircuitNodeData(); } input.ReadMessage(DEPRECATEDNodeTemplate); break; } case 34: { if (entities_ == null) { Entities = new global::CircuitsV2.Protobuf.CircuitGlobalEntitiesData(); } input.ReadMessage(Entities); break; } } } } #endif } #endregion } #endregion Designer generated code