// // Generated by the protocol buffer compiler. DO NOT EDIT! // source: circuits_v2/variable_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/variable_node_data.proto public static partial class VariableNodeDataReflection { #region Descriptor /// File descriptor for circuits_v2/variable_node_data.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static VariableNodeDataReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "CiRjaXJjdWl0c192Mi92YXJpYWJsZV9ub2RlX2RhdGEucHJvdG8SC2NpcmN1", "aXRzX3YyGipjaXJjdWl0cy9zdGF0aWMvZXYvY2lyY3VpdF90eXBlX2RhdGEu", "cHJvdG8aOWNpcmN1aXRzX3YyL2RlcHJlY2F0ZWQvREVQUkVDQVRFRF9jaXJj", "dWl0X3R5cGVfZGF0YS5wcm90bxogY2lyY3VpdHNfdjIvbm9kZV9kZXNjX2Rh", "dGEucHJvdG8aHWNpcmN1aXRzX3YyL21lbW9yeV90eXBlLnByb3RvIv4CChBW", "YXJpYWJsZU5vZGVEYXRhEiwKC21lbW9yeV90eXBlGAcgASgOMhcuY2lyY3Vp", "dHNfdjIuTWVtb3J5VHlwZRIMCgRuYW1lGAkgASgJEiMKG0RFUFJFQ0FURURf", "aXNfc3ltYm9saWNfbmFtZRgBIAEoCBIeChZERVBSRUNBVEVEX3N5bWJvbF9u", "YW1lGAIgASgJEkIKEURFUFJFQ0FURURfdHlwZV8xGAMgASgLMicuY2lyY3Vp", "dHNfdjIuREVQUkVDQVRFRF9DaXJjdWl0VHlwZURhdGESNwoUREVQUkVDQVRF", "RF9ub2RlX2Rlc2MYBCABKAsyGS5jaXJjdWl0c192Mi5Ob2RlRGVzY0RhdGES", "GgoSREVQUkVDQVRFRF9pc19zeW5jGAUgASgIEhoKEkRFUFJFQ0FURURfdmVy", "c2lvbhgGIAEoBRI0ChFERVBSRUNBVEVEX3R5cGVfMhgIIAEoCzIZLmNpcmN1", "aXRzLkNpcmN1aXRUeXBlRGF0YUIWqgITQ2lyY3VpdHNWMi5Qcm90b2J1ZmIG", "cHJvdG8z")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { global::Circuits.Static.EV.Protobuf.CircuitTypeDataReflection.Descriptor, global::CircuitsV2.Protobuf.DEPRECATEDCircuitTypeDataReflection.Descriptor, global::CircuitsV2.Protobuf.NodeDescDataReflection.Descriptor, global::CircuitsV2.Protobuf.MemoryTypeReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::CircuitsV2.Protobuf.VariableNodeData), global::CircuitsV2.Protobuf.VariableNodeData.Parser, new[]{ "MemoryType", "Name", "DEPRECATEDIsSymbolicName", "DEPRECATEDSymbolName", "DEPRECATEDType1", "DEPRECATEDNodeDesc", "DEPRECATEDIsSync", "DEPRECATEDVersion", "DEPRECATEDType2" }, null, null, null, null) })); } #endregion } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class VariableNodeData : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new VariableNodeData()); 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.VariableNodeDataReflection.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 VariableNodeData() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public VariableNodeData(VariableNodeData other) : this() { memoryType_ = other.memoryType_; name_ = other.name_; dEPRECATEDIsSymbolicName_ = other.dEPRECATEDIsSymbolicName_; dEPRECATEDSymbolName_ = other.dEPRECATEDSymbolName_; dEPRECATEDType1_ = other.dEPRECATEDType1_ != null ? other.dEPRECATEDType1_.Clone() : null; dEPRECATEDNodeDesc_ = other.dEPRECATEDNodeDesc_ != null ? other.dEPRECATEDNodeDesc_.Clone() : null; dEPRECATEDIsSync_ = other.dEPRECATEDIsSync_; dEPRECATEDVersion_ = other.dEPRECATEDVersion_; dEPRECATEDType2_ = other.dEPRECATEDType2_ != null ? other.dEPRECATEDType2_.Clone() : null; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public VariableNodeData Clone() { return new VariableNodeData(this); } /// Field number for the "memory_type" field. public const int MemoryTypeFieldNumber = 7; private global::CircuitsV2.Protobuf.MemoryType memoryType_ = global::CircuitsV2.Protobuf.MemoryType.Instance; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::CircuitsV2.Protobuf.MemoryType MemoryType { get { return memoryType_; } set { memoryType_ = value; } } /// Field number for the "name" field. public const int NameFieldNumber = 9; 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 "DEPRECATED_is_symbolic_name" field. public const int DEPRECATEDIsSymbolicNameFieldNumber = 1; private bool dEPRECATEDIsSymbolicName_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool DEPRECATEDIsSymbolicName { get { return dEPRECATEDIsSymbolicName_; } set { dEPRECATEDIsSymbolicName_ = value; } } /// Field number for the "DEPRECATED_symbol_name" field. public const int DEPRECATEDSymbolNameFieldNumber = 2; private string dEPRECATEDSymbolName_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string DEPRECATEDSymbolName { get { return dEPRECATEDSymbolName_; } set { dEPRECATEDSymbolName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "DEPRECATED_type_1" field. public const int DEPRECATEDType1FieldNumber = 3; private global::CircuitsV2.Protobuf.DEPRECATED_CircuitTypeData dEPRECATEDType1_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::CircuitsV2.Protobuf.DEPRECATED_CircuitTypeData DEPRECATEDType1 { get { return dEPRECATEDType1_; } set { dEPRECATEDType1_ = value; } } /// Field number for the "DEPRECATED_node_desc" field. public const int DEPRECATEDNodeDescFieldNumber = 4; private global::CircuitsV2.Protobuf.NodeDescData dEPRECATEDNodeDesc_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::CircuitsV2.Protobuf.NodeDescData DEPRECATEDNodeDesc { get { return dEPRECATEDNodeDesc_; } set { dEPRECATEDNodeDesc_ = value; } } /// Field number for the "DEPRECATED_is_sync" field. public const int DEPRECATEDIsSyncFieldNumber = 5; private bool dEPRECATEDIsSync_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool DEPRECATEDIsSync { get { return dEPRECATEDIsSync_; } set { dEPRECATEDIsSync_ = value; } } /// Field number for the "DEPRECATED_version" field. public const int DEPRECATEDVersionFieldNumber = 6; private int dEPRECATEDVersion_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int DEPRECATEDVersion { get { return dEPRECATEDVersion_; } set { dEPRECATEDVersion_ = value; } } /// Field number for the "DEPRECATED_type_2" field. public const int DEPRECATEDType2FieldNumber = 8; private global::Circuits.Static.EV.Protobuf.CircuitTypeData dEPRECATEDType2_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Circuits.Static.EV.Protobuf.CircuitTypeData DEPRECATEDType2 { get { return dEPRECATEDType2_; } set { dEPRECATEDType2_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as VariableNodeData); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(VariableNodeData other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (MemoryType != other.MemoryType) return false; if (Name != other.Name) return false; if (DEPRECATEDIsSymbolicName != other.DEPRECATEDIsSymbolicName) return false; if (DEPRECATEDSymbolName != other.DEPRECATEDSymbolName) return false; if (!object.Equals(DEPRECATEDType1, other.DEPRECATEDType1)) return false; if (!object.Equals(DEPRECATEDNodeDesc, other.DEPRECATEDNodeDesc)) return false; if (DEPRECATEDIsSync != other.DEPRECATEDIsSync) return false; if (DEPRECATEDVersion != other.DEPRECATEDVersion) return false; if (!object.Equals(DEPRECATEDType2, other.DEPRECATEDType2)) 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 (MemoryType != global::CircuitsV2.Protobuf.MemoryType.Instance) hash ^= MemoryType.GetHashCode(); if (Name.Length != 0) hash ^= Name.GetHashCode(); if (DEPRECATEDIsSymbolicName != false) hash ^= DEPRECATEDIsSymbolicName.GetHashCode(); if (DEPRECATEDSymbolName.Length != 0) hash ^= DEPRECATEDSymbolName.GetHashCode(); if (dEPRECATEDType1_ != null) hash ^= DEPRECATEDType1.GetHashCode(); if (dEPRECATEDNodeDesc_ != null) hash ^= DEPRECATEDNodeDesc.GetHashCode(); if (DEPRECATEDIsSync != false) hash ^= DEPRECATEDIsSync.GetHashCode(); if (DEPRECATEDVersion != 0) hash ^= DEPRECATEDVersion.GetHashCode(); if (dEPRECATEDType2_ != null) hash ^= DEPRECATEDType2.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 (DEPRECATEDIsSymbolicName != false) { output.WriteRawTag(8); output.WriteBool(DEPRECATEDIsSymbolicName); } if (DEPRECATEDSymbolName.Length != 0) { output.WriteRawTag(18); output.WriteString(DEPRECATEDSymbolName); } if (dEPRECATEDType1_ != null) { output.WriteRawTag(26); output.WriteMessage(DEPRECATEDType1); } if (dEPRECATEDNodeDesc_ != null) { output.WriteRawTag(34); output.WriteMessage(DEPRECATEDNodeDesc); } if (DEPRECATEDIsSync != false) { output.WriteRawTag(40); output.WriteBool(DEPRECATEDIsSync); } if (DEPRECATEDVersion != 0) { output.WriteRawTag(48); output.WriteInt32(DEPRECATEDVersion); } if (MemoryType != global::CircuitsV2.Protobuf.MemoryType.Instance) { output.WriteRawTag(56); output.WriteEnum((int) MemoryType); } if (dEPRECATEDType2_ != null) { output.WriteRawTag(66); output.WriteMessage(DEPRECATEDType2); } if (Name.Length != 0) { output.WriteRawTag(74); output.WriteString(Name); } 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 (DEPRECATEDIsSymbolicName != false) { output.WriteRawTag(8); output.WriteBool(DEPRECATEDIsSymbolicName); } if (DEPRECATEDSymbolName.Length != 0) { output.WriteRawTag(18); output.WriteString(DEPRECATEDSymbolName); } if (dEPRECATEDType1_ != null) { output.WriteRawTag(26); output.WriteMessage(DEPRECATEDType1); } if (dEPRECATEDNodeDesc_ != null) { output.WriteRawTag(34); output.WriteMessage(DEPRECATEDNodeDesc); } if (DEPRECATEDIsSync != false) { output.WriteRawTag(40); output.WriteBool(DEPRECATEDIsSync); } if (DEPRECATEDVersion != 0) { output.WriteRawTag(48); output.WriteInt32(DEPRECATEDVersion); } if (MemoryType != global::CircuitsV2.Protobuf.MemoryType.Instance) { output.WriteRawTag(56); output.WriteEnum((int) MemoryType); } if (dEPRECATEDType2_ != null) { output.WriteRawTag(66); output.WriteMessage(DEPRECATEDType2); } if (Name.Length != 0) { output.WriteRawTag(74); output.WriteString(Name); } 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 (MemoryType != global::CircuitsV2.Protobuf.MemoryType.Instance) { size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) MemoryType); } if (Name.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); } if (DEPRECATEDIsSymbolicName != false) { size += 1 + 1; } if (DEPRECATEDSymbolName.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(DEPRECATEDSymbolName); } if (dEPRECATEDType1_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(DEPRECATEDType1); } if (dEPRECATEDNodeDesc_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(DEPRECATEDNodeDesc); } if (DEPRECATEDIsSync != false) { size += 1 + 1; } if (DEPRECATEDVersion != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(DEPRECATEDVersion); } if (dEPRECATEDType2_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(DEPRECATEDType2); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(VariableNodeData other) { if (other == null) { return; } if (other.MemoryType != global::CircuitsV2.Protobuf.MemoryType.Instance) { MemoryType = other.MemoryType; } if (other.Name.Length != 0) { Name = other.Name; } if (other.DEPRECATEDIsSymbolicName != false) { DEPRECATEDIsSymbolicName = other.DEPRECATEDIsSymbolicName; } if (other.DEPRECATEDSymbolName.Length != 0) { DEPRECATEDSymbolName = other.DEPRECATEDSymbolName; } if (other.dEPRECATEDType1_ != null) { if (dEPRECATEDType1_ == null) { DEPRECATEDType1 = new global::CircuitsV2.Protobuf.DEPRECATED_CircuitTypeData(); } DEPRECATEDType1.MergeFrom(other.DEPRECATEDType1); } if (other.dEPRECATEDNodeDesc_ != null) { if (dEPRECATEDNodeDesc_ == null) { DEPRECATEDNodeDesc = new global::CircuitsV2.Protobuf.NodeDescData(); } DEPRECATEDNodeDesc.MergeFrom(other.DEPRECATEDNodeDesc); } if (other.DEPRECATEDIsSync != false) { DEPRECATEDIsSync = other.DEPRECATEDIsSync; } if (other.DEPRECATEDVersion != 0) { DEPRECATEDVersion = other.DEPRECATEDVersion; } if (other.dEPRECATEDType2_ != null) { if (dEPRECATEDType2_ == null) { DEPRECATEDType2 = new global::Circuits.Static.EV.Protobuf.CircuitTypeData(); } DEPRECATEDType2.MergeFrom(other.DEPRECATEDType2); } _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: { DEPRECATEDIsSymbolicName = input.ReadBool(); break; } case 18: { DEPRECATEDSymbolName = input.ReadString(); break; } case 26: { if (dEPRECATEDType1_ == null) { DEPRECATEDType1 = new global::CircuitsV2.Protobuf.DEPRECATED_CircuitTypeData(); } input.ReadMessage(DEPRECATEDType1); break; } case 34: { if (dEPRECATEDNodeDesc_ == null) { DEPRECATEDNodeDesc = new global::CircuitsV2.Protobuf.NodeDescData(); } input.ReadMessage(DEPRECATEDNodeDesc); break; } case 40: { DEPRECATEDIsSync = input.ReadBool(); break; } case 48: { DEPRECATEDVersion = input.ReadInt32(); break; } case 56: { MemoryType = (global::CircuitsV2.Protobuf.MemoryType) input.ReadEnum(); break; } case 66: { if (dEPRECATEDType2_ == null) { DEPRECATEDType2 = new global::Circuits.Static.EV.Protobuf.CircuitTypeData(); } input.ReadMessage(DEPRECATEDType2); break; } case 74: { Name = 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: { DEPRECATEDIsSymbolicName = input.ReadBool(); break; } case 18: { DEPRECATEDSymbolName = input.ReadString(); break; } case 26: { if (dEPRECATEDType1_ == null) { DEPRECATEDType1 = new global::CircuitsV2.Protobuf.DEPRECATED_CircuitTypeData(); } input.ReadMessage(DEPRECATEDType1); break; } case 34: { if (dEPRECATEDNodeDesc_ == null) { DEPRECATEDNodeDesc = new global::CircuitsV2.Protobuf.NodeDescData(); } input.ReadMessage(DEPRECATEDNodeDesc); break; } case 40: { DEPRECATEDIsSync = input.ReadBool(); break; } case 48: { DEPRECATEDVersion = input.ReadInt32(); break; } case 56: { MemoryType = (global::CircuitsV2.Protobuf.MemoryType) input.ReadEnum(); break; } case 66: { if (dEPRECATEDType2_ == null) { DEPRECATEDType2 = new global::Circuits.Static.EV.Protobuf.CircuitTypeData(); } input.ReadMessage(DEPRECATEDType2); break; } case 74: { Name = input.ReadString(); break; } } } } #endif } #endregion } #endregion Designer generated code