Files
RecRoom.Protobuf/GraphNodeData.cs
2026-05-10 13:39:01 -07:00

775 lines
35 KiB
C#

// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: circuits_v2/graph_node_data.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 CircuitsV2.Protobuf {
/// <summary>Holder for reflection information generated from circuits_v2/graph_node_data.proto</summary>
public static partial class GraphNodeDataReflection {
#region Descriptor
/// <summary>File descriptor for circuits_v2/graph_node_data.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static GraphNodeDataReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"CiFjaXJjdWl0c192Mi9ncmFwaF9ub2RlX2RhdGEucHJvdG8SC2NpcmN1aXRz",
"X3YyGhRjb3JlL2d1aWRfZGF0YS5wcm90bxo3Y2lyY3VpdHNfdjIvZGVwcmVj",
"YXRlZC9ERVBSRUNBVEVEX2RpY3Rpb25hcnlfZGF0YS5wcm90bxo9Y2lyY3Vp",
"dHNfdjIvZGVwcmVjYXRlZC9ERVBSRUNBVEVEX2tleWVkX2lucHV0X25vZGVf",
"ZGF0YS5wcm90bxo8Y2lyY3VpdHNfdjIvZGVwcmVjYXRlZC9ERVBSRUNBVEVE",
"X2tleWVkX25vZGVfZGVzY19kYXRhLnByb3RvGj5jaXJjdWl0c192Mi9kZXBy",
"ZWNhdGVkL0RFUFJFQ0FURURfa2V5ZWRfb3V0cHV0X25vZGVfZGF0YS5wcm90",
"bxogY2lyY3VpdHNfdjIvbm9kZV9kZXNjX2RhdGEucHJvdG8i9wYKDUdyYXBo",
"Tm9kZURhdGESJgoOaW5uZXJfZ3JhcGhfaWQYDSABKAsyDi5jb3JlLkd1aWRE",
"YXRhEiEKCWluX2J1c19pZBgOIAEoCzIOLmNvcmUuR3VpZERhdGESIgoKb3V0",
"X2J1c19pZBgPIAEoCzIOLmNvcmUuR3VpZERhdGESLQoKbm9kZV9kZXNjcxgM",
"IAMoCzIZLmNpcmN1aXRzX3YyLk5vZGVEZXNjRGF0YRIhChlERVBSRUNBVEVE",
"X2lubmVyX2dyYXBoX2lkGAEgASgMEkgKGERFUFJFQ0FURURfaW5wdXRfbm9k",
"ZXNfMBgCIAEoCzImLmNpcmN1aXRzX3YyLkRFUFJFQ0FURURfRGljdGlvbmFy",
"eURhdGESSQoZREVQUkVDQVRFRF9vdXRwdXRfbm9kZXNfMBgDIAEoCzImLmNp",
"cmN1aXRzX3YyLkRFUFJFQ0FURURfRGljdGlvbmFyeURhdGESSwoXREVQUkVD",
"QVRFRF9ub2RlX2Rlc2NzXzAYBCABKAsyKi5jaXJjdWl0c192Mi5ERVBSRUNB",
"VEVEX0xpc3REaWN0aW9uYXJ5RGF0YRJMChhERVBSRUNBVEVEX2lucHV0X25v",
"ZGVzXzEYBSADKAsyKi5jaXJjdWl0c192Mi5ERVBSRUNBVEVEX0tleWVkSW5w",
"dXROb2RlRGF0YRJOChlERVBSRUNBVEVEX291dHB1dF9ub2Rlc18xGAYgAygL",
"MisuY2lyY3VpdHNfdjIuREVQUkVDQVRFRF9LZXllZE91dHB1dE5vZGVEYXRh",
"EkoKF0RFUFJFQ0FURURfbm9kZV9kZXNjc18xGAcgAygLMikuY2lyY3VpdHNf",
"djIuREVQUkVDQVRFRF9LZXllZE5vZGVEZXNjRGF0YRJMChhERVBSRUNBVEVE",
"X2luX2J1c19ncm91cHMYCCADKAsyKi5jaXJjdWl0c192Mi5ERVBSRUNBVEVE",
"X0tleWVkSW5wdXROb2RlRGF0YRJOChlERVBSRUNBVEVEX291dF9idXNfZ3Jv",
"dXBzGAkgAygLMisuY2lyY3VpdHNfdjIuREVQUkVDQVRFRF9LZXllZE91dHB1",
"dE5vZGVEYXRhEhwKFERFUFJFQ0FURURfaW5fYnVzX2lkGAogASgMEh0KFURF",
"UFJFQ0FURURfb3V0X2J1c19pZBgLIAEoDEIWqgITQ2lyY3VpdHNWMi5Qcm90",
"b2J1ZmIGcHJvdG8z"));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::RecRoom.Protobuf.Core.GuidDataReflection.Descriptor, global::CircuitsV2.Protobuf.DEPRECATEDDictionaryDataReflection.Descriptor, global::CircuitsV2.Protobuf.DEPRECATEDKeyedInputNodeDataReflection.Descriptor, global::CircuitsV2.Protobuf.DEPRECATEDKeyedNodeDescDataReflection.Descriptor, global::CircuitsV2.Protobuf.DEPRECATEDKeyedOutputNodeDataReflection.Descriptor, global::CircuitsV2.Protobuf.NodeDescDataReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::CircuitsV2.Protobuf.GraphNodeData), global::CircuitsV2.Protobuf.GraphNodeData.Parser, new[]{ "InnerGraphId", "InBusId", "OutBusId", "NodeDescs", "DEPRECATEDInnerGraphId", "DEPRECATEDInputNodes0", "DEPRECATEDOutputNodes0", "DEPRECATEDNodeDescs0", "DEPRECATEDInputNodes1", "DEPRECATEDOutputNodes1", "DEPRECATEDNodeDescs1", "DEPRECATEDInBusGroups", "DEPRECATEDOutBusGroups", "DEPRECATEDInBusId", "DEPRECATEDOutBusId" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class GraphNodeData : pb::IMessage<GraphNodeData>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<GraphNodeData> _parser = new pb::MessageParser<GraphNodeData>(() => new GraphNodeData());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<GraphNodeData> 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.GraphNodeDataReflection.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 GraphNodeData() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public GraphNodeData(GraphNodeData other) : this() {
innerGraphId_ = other.innerGraphId_ != null ? other.innerGraphId_.Clone() : null;
inBusId_ = other.inBusId_ != null ? other.inBusId_.Clone() : null;
outBusId_ = other.outBusId_ != null ? other.outBusId_.Clone() : null;
nodeDescs_ = other.nodeDescs_.Clone();
dEPRECATEDInnerGraphId_ = other.dEPRECATEDInnerGraphId_;
dEPRECATEDInputNodes0_ = other.dEPRECATEDInputNodes0_ != null ? other.dEPRECATEDInputNodes0_.Clone() : null;
dEPRECATEDOutputNodes0_ = other.dEPRECATEDOutputNodes0_ != null ? other.dEPRECATEDOutputNodes0_.Clone() : null;
dEPRECATEDNodeDescs0_ = other.dEPRECATEDNodeDescs0_ != null ? other.dEPRECATEDNodeDescs0_.Clone() : null;
dEPRECATEDInputNodes1_ = other.dEPRECATEDInputNodes1_.Clone();
dEPRECATEDOutputNodes1_ = other.dEPRECATEDOutputNodes1_.Clone();
dEPRECATEDNodeDescs1_ = other.dEPRECATEDNodeDescs1_.Clone();
dEPRECATEDInBusGroups_ = other.dEPRECATEDInBusGroups_.Clone();
dEPRECATEDOutBusGroups_ = other.dEPRECATEDOutBusGroups_.Clone();
dEPRECATEDInBusId_ = other.dEPRECATEDInBusId_;
dEPRECATEDOutBusId_ = other.dEPRECATEDOutBusId_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public GraphNodeData Clone() {
return new GraphNodeData(this);
}
/// <summary>Field number for the "inner_graph_id" field.</summary>
public const int InnerGraphIdFieldNumber = 13;
private global::RecRoom.Protobuf.Core.GuidData innerGraphId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::RecRoom.Protobuf.Core.GuidData InnerGraphId {
get { return innerGraphId_; }
set {
innerGraphId_ = value;
}
}
/// <summary>Field number for the "in_bus_id" field.</summary>
public const int InBusIdFieldNumber = 14;
private global::RecRoom.Protobuf.Core.GuidData inBusId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::RecRoom.Protobuf.Core.GuidData InBusId {
get { return inBusId_; }
set {
inBusId_ = value;
}
}
/// <summary>Field number for the "out_bus_id" field.</summary>
public const int OutBusIdFieldNumber = 15;
private global::RecRoom.Protobuf.Core.GuidData outBusId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::RecRoom.Protobuf.Core.GuidData OutBusId {
get { return outBusId_; }
set {
outBusId_ = value;
}
}
/// <summary>Field number for the "node_descs" field.</summary>
public const int NodeDescsFieldNumber = 12;
private static readonly pb::FieldCodec<global::CircuitsV2.Protobuf.NodeDescData> _repeated_nodeDescs_codec
= pb::FieldCodec.ForMessage(98, global::CircuitsV2.Protobuf.NodeDescData.Parser);
private readonly pbc::RepeatedField<global::CircuitsV2.Protobuf.NodeDescData> nodeDescs_ = new pbc::RepeatedField<global::CircuitsV2.Protobuf.NodeDescData>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::CircuitsV2.Protobuf.NodeDescData> NodeDescs {
get { return nodeDescs_; }
}
/// <summary>Field number for the "DEPRECATED_inner_graph_id" field.</summary>
public const int DEPRECATEDInnerGraphIdFieldNumber = 1;
private pb::ByteString dEPRECATEDInnerGraphId_ = pb::ByteString.Empty;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pb::ByteString DEPRECATEDInnerGraphId {
get { return dEPRECATEDInnerGraphId_; }
set {
dEPRECATEDInnerGraphId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "DEPRECATED_input_nodes_0" field.</summary>
public const int DEPRECATEDInputNodes0FieldNumber = 2;
private global::CircuitsV2.Protobuf.DEPRECATED_DictionaryData dEPRECATEDInputNodes0_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::CircuitsV2.Protobuf.DEPRECATED_DictionaryData DEPRECATEDInputNodes0 {
get { return dEPRECATEDInputNodes0_; }
set {
dEPRECATEDInputNodes0_ = value;
}
}
/// <summary>Field number for the "DEPRECATED_output_nodes_0" field.</summary>
public const int DEPRECATEDOutputNodes0FieldNumber = 3;
private global::CircuitsV2.Protobuf.DEPRECATED_DictionaryData dEPRECATEDOutputNodes0_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::CircuitsV2.Protobuf.DEPRECATED_DictionaryData DEPRECATEDOutputNodes0 {
get { return dEPRECATEDOutputNodes0_; }
set {
dEPRECATEDOutputNodes0_ = value;
}
}
/// <summary>Field number for the "DEPRECATED_node_descs_0" field.</summary>
public const int DEPRECATEDNodeDescs0FieldNumber = 4;
private global::CircuitsV2.Protobuf.DEPRECATED_ListDictionaryData dEPRECATEDNodeDescs0_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::CircuitsV2.Protobuf.DEPRECATED_ListDictionaryData DEPRECATEDNodeDescs0 {
get { return dEPRECATEDNodeDescs0_; }
set {
dEPRECATEDNodeDescs0_ = value;
}
}
/// <summary>Field number for the "DEPRECATED_input_nodes_1" field.</summary>
public const int DEPRECATEDInputNodes1FieldNumber = 5;
private static readonly pb::FieldCodec<global::CircuitsV2.Protobuf.DEPRECATED_KeyedInputNodeData> _repeated_dEPRECATEDInputNodes1_codec
= pb::FieldCodec.ForMessage(42, global::CircuitsV2.Protobuf.DEPRECATED_KeyedInputNodeData.Parser);
private readonly pbc::RepeatedField<global::CircuitsV2.Protobuf.DEPRECATED_KeyedInputNodeData> dEPRECATEDInputNodes1_ = new pbc::RepeatedField<global::CircuitsV2.Protobuf.DEPRECATED_KeyedInputNodeData>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::CircuitsV2.Protobuf.DEPRECATED_KeyedInputNodeData> DEPRECATEDInputNodes1 {
get { return dEPRECATEDInputNodes1_; }
}
/// <summary>Field number for the "DEPRECATED_output_nodes_1" field.</summary>
public const int DEPRECATEDOutputNodes1FieldNumber = 6;
private static readonly pb::FieldCodec<global::CircuitsV2.Protobuf.DEPRECATED_KeyedOutputNodeData> _repeated_dEPRECATEDOutputNodes1_codec
= pb::FieldCodec.ForMessage(50, global::CircuitsV2.Protobuf.DEPRECATED_KeyedOutputNodeData.Parser);
private readonly pbc::RepeatedField<global::CircuitsV2.Protobuf.DEPRECATED_KeyedOutputNodeData> dEPRECATEDOutputNodes1_ = new pbc::RepeatedField<global::CircuitsV2.Protobuf.DEPRECATED_KeyedOutputNodeData>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::CircuitsV2.Protobuf.DEPRECATED_KeyedOutputNodeData> DEPRECATEDOutputNodes1 {
get { return dEPRECATEDOutputNodes1_; }
}
/// <summary>Field number for the "DEPRECATED_node_descs_1" field.</summary>
public const int DEPRECATEDNodeDescs1FieldNumber = 7;
private static readonly pb::FieldCodec<global::CircuitsV2.Protobuf.DEPRECATED_KeyedNodeDescData> _repeated_dEPRECATEDNodeDescs1_codec
= pb::FieldCodec.ForMessage(58, global::CircuitsV2.Protobuf.DEPRECATED_KeyedNodeDescData.Parser);
private readonly pbc::RepeatedField<global::CircuitsV2.Protobuf.DEPRECATED_KeyedNodeDescData> dEPRECATEDNodeDescs1_ = new pbc::RepeatedField<global::CircuitsV2.Protobuf.DEPRECATED_KeyedNodeDescData>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::CircuitsV2.Protobuf.DEPRECATED_KeyedNodeDescData> DEPRECATEDNodeDescs1 {
get { return dEPRECATEDNodeDescs1_; }
}
/// <summary>Field number for the "DEPRECATED_in_bus_groups" field.</summary>
public const int DEPRECATEDInBusGroupsFieldNumber = 8;
private static readonly pb::FieldCodec<global::CircuitsV2.Protobuf.DEPRECATED_KeyedInputNodeData> _repeated_dEPRECATEDInBusGroups_codec
= pb::FieldCodec.ForMessage(66, global::CircuitsV2.Protobuf.DEPRECATED_KeyedInputNodeData.Parser);
private readonly pbc::RepeatedField<global::CircuitsV2.Protobuf.DEPRECATED_KeyedInputNodeData> dEPRECATEDInBusGroups_ = new pbc::RepeatedField<global::CircuitsV2.Protobuf.DEPRECATED_KeyedInputNodeData>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::CircuitsV2.Protobuf.DEPRECATED_KeyedInputNodeData> DEPRECATEDInBusGroups {
get { return dEPRECATEDInBusGroups_; }
}
/// <summary>Field number for the "DEPRECATED_out_bus_groups" field.</summary>
public const int DEPRECATEDOutBusGroupsFieldNumber = 9;
private static readonly pb::FieldCodec<global::CircuitsV2.Protobuf.DEPRECATED_KeyedOutputNodeData> _repeated_dEPRECATEDOutBusGroups_codec
= pb::FieldCodec.ForMessage(74, global::CircuitsV2.Protobuf.DEPRECATED_KeyedOutputNodeData.Parser);
private readonly pbc::RepeatedField<global::CircuitsV2.Protobuf.DEPRECATED_KeyedOutputNodeData> dEPRECATEDOutBusGroups_ = new pbc::RepeatedField<global::CircuitsV2.Protobuf.DEPRECATED_KeyedOutputNodeData>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::CircuitsV2.Protobuf.DEPRECATED_KeyedOutputNodeData> DEPRECATEDOutBusGroups {
get { return dEPRECATEDOutBusGroups_; }
}
/// <summary>Field number for the "DEPRECATED_in_bus_id" field.</summary>
public const int DEPRECATEDInBusIdFieldNumber = 10;
private pb::ByteString dEPRECATEDInBusId_ = pb::ByteString.Empty;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pb::ByteString DEPRECATEDInBusId {
get { return dEPRECATEDInBusId_; }
set {
dEPRECATEDInBusId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "DEPRECATED_out_bus_id" field.</summary>
public const int DEPRECATEDOutBusIdFieldNumber = 11;
private pb::ByteString dEPRECATEDOutBusId_ = pb::ByteString.Empty;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pb::ByteString DEPRECATEDOutBusId {
get { return dEPRECATEDOutBusId_; }
set {
dEPRECATEDOutBusId_ = 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 GraphNodeData);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(GraphNodeData other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (!object.Equals(InnerGraphId, other.InnerGraphId)) return false;
if (!object.Equals(InBusId, other.InBusId)) return false;
if (!object.Equals(OutBusId, other.OutBusId)) return false;
if(!nodeDescs_.Equals(other.nodeDescs_)) return false;
if (DEPRECATEDInnerGraphId != other.DEPRECATEDInnerGraphId) return false;
if (!object.Equals(DEPRECATEDInputNodes0, other.DEPRECATEDInputNodes0)) return false;
if (!object.Equals(DEPRECATEDOutputNodes0, other.DEPRECATEDOutputNodes0)) return false;
if (!object.Equals(DEPRECATEDNodeDescs0, other.DEPRECATEDNodeDescs0)) return false;
if(!dEPRECATEDInputNodes1_.Equals(other.dEPRECATEDInputNodes1_)) return false;
if(!dEPRECATEDOutputNodes1_.Equals(other.dEPRECATEDOutputNodes1_)) return false;
if(!dEPRECATEDNodeDescs1_.Equals(other.dEPRECATEDNodeDescs1_)) return false;
if(!dEPRECATEDInBusGroups_.Equals(other.dEPRECATEDInBusGroups_)) return false;
if(!dEPRECATEDOutBusGroups_.Equals(other.dEPRECATEDOutBusGroups_)) return false;
if (DEPRECATEDInBusId != other.DEPRECATEDInBusId) return false;
if (DEPRECATEDOutBusId != other.DEPRECATEDOutBusId) 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 (innerGraphId_ != null) hash ^= InnerGraphId.GetHashCode();
if (inBusId_ != null) hash ^= InBusId.GetHashCode();
if (outBusId_ != null) hash ^= OutBusId.GetHashCode();
hash ^= nodeDescs_.GetHashCode();
if (DEPRECATEDInnerGraphId.Length != 0) hash ^= DEPRECATEDInnerGraphId.GetHashCode();
if (dEPRECATEDInputNodes0_ != null) hash ^= DEPRECATEDInputNodes0.GetHashCode();
if (dEPRECATEDOutputNodes0_ != null) hash ^= DEPRECATEDOutputNodes0.GetHashCode();
if (dEPRECATEDNodeDescs0_ != null) hash ^= DEPRECATEDNodeDescs0.GetHashCode();
hash ^= dEPRECATEDInputNodes1_.GetHashCode();
hash ^= dEPRECATEDOutputNodes1_.GetHashCode();
hash ^= dEPRECATEDNodeDescs1_.GetHashCode();
hash ^= dEPRECATEDInBusGroups_.GetHashCode();
hash ^= dEPRECATEDOutBusGroups_.GetHashCode();
if (DEPRECATEDInBusId.Length != 0) hash ^= DEPRECATEDInBusId.GetHashCode();
if (DEPRECATEDOutBusId.Length != 0) hash ^= DEPRECATEDOutBusId.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 (DEPRECATEDInnerGraphId.Length != 0) {
output.WriteRawTag(10);
output.WriteBytes(DEPRECATEDInnerGraphId);
}
if (dEPRECATEDInputNodes0_ != null) {
output.WriteRawTag(18);
output.WriteMessage(DEPRECATEDInputNodes0);
}
if (dEPRECATEDOutputNodes0_ != null) {
output.WriteRawTag(26);
output.WriteMessage(DEPRECATEDOutputNodes0);
}
if (dEPRECATEDNodeDescs0_ != null) {
output.WriteRawTag(34);
output.WriteMessage(DEPRECATEDNodeDescs0);
}
dEPRECATEDInputNodes1_.WriteTo(output, _repeated_dEPRECATEDInputNodes1_codec);
dEPRECATEDOutputNodes1_.WriteTo(output, _repeated_dEPRECATEDOutputNodes1_codec);
dEPRECATEDNodeDescs1_.WriteTo(output, _repeated_dEPRECATEDNodeDescs1_codec);
dEPRECATEDInBusGroups_.WriteTo(output, _repeated_dEPRECATEDInBusGroups_codec);
dEPRECATEDOutBusGroups_.WriteTo(output, _repeated_dEPRECATEDOutBusGroups_codec);
if (DEPRECATEDInBusId.Length != 0) {
output.WriteRawTag(82);
output.WriteBytes(DEPRECATEDInBusId);
}
if (DEPRECATEDOutBusId.Length != 0) {
output.WriteRawTag(90);
output.WriteBytes(DEPRECATEDOutBusId);
}
nodeDescs_.WriteTo(output, _repeated_nodeDescs_codec);
if (innerGraphId_ != null) {
output.WriteRawTag(106);
output.WriteMessage(InnerGraphId);
}
if (inBusId_ != null) {
output.WriteRawTag(114);
output.WriteMessage(InBusId);
}
if (outBusId_ != null) {
output.WriteRawTag(122);
output.WriteMessage(OutBusId);
}
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 (DEPRECATEDInnerGraphId.Length != 0) {
output.WriteRawTag(10);
output.WriteBytes(DEPRECATEDInnerGraphId);
}
if (dEPRECATEDInputNodes0_ != null) {
output.WriteRawTag(18);
output.WriteMessage(DEPRECATEDInputNodes0);
}
if (dEPRECATEDOutputNodes0_ != null) {
output.WriteRawTag(26);
output.WriteMessage(DEPRECATEDOutputNodes0);
}
if (dEPRECATEDNodeDescs0_ != null) {
output.WriteRawTag(34);
output.WriteMessage(DEPRECATEDNodeDescs0);
}
dEPRECATEDInputNodes1_.WriteTo(ref output, _repeated_dEPRECATEDInputNodes1_codec);
dEPRECATEDOutputNodes1_.WriteTo(ref output, _repeated_dEPRECATEDOutputNodes1_codec);
dEPRECATEDNodeDescs1_.WriteTo(ref output, _repeated_dEPRECATEDNodeDescs1_codec);
dEPRECATEDInBusGroups_.WriteTo(ref output, _repeated_dEPRECATEDInBusGroups_codec);
dEPRECATEDOutBusGroups_.WriteTo(ref output, _repeated_dEPRECATEDOutBusGroups_codec);
if (DEPRECATEDInBusId.Length != 0) {
output.WriteRawTag(82);
output.WriteBytes(DEPRECATEDInBusId);
}
if (DEPRECATEDOutBusId.Length != 0) {
output.WriteRawTag(90);
output.WriteBytes(DEPRECATEDOutBusId);
}
nodeDescs_.WriteTo(ref output, _repeated_nodeDescs_codec);
if (innerGraphId_ != null) {
output.WriteRawTag(106);
output.WriteMessage(InnerGraphId);
}
if (inBusId_ != null) {
output.WriteRawTag(114);
output.WriteMessage(InBusId);
}
if (outBusId_ != null) {
output.WriteRawTag(122);
output.WriteMessage(OutBusId);
}
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 (innerGraphId_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(InnerGraphId);
}
if (inBusId_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(InBusId);
}
if (outBusId_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(OutBusId);
}
size += nodeDescs_.CalculateSize(_repeated_nodeDescs_codec);
if (DEPRECATEDInnerGraphId.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeBytesSize(DEPRECATEDInnerGraphId);
}
if (dEPRECATEDInputNodes0_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(DEPRECATEDInputNodes0);
}
if (dEPRECATEDOutputNodes0_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(DEPRECATEDOutputNodes0);
}
if (dEPRECATEDNodeDescs0_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(DEPRECATEDNodeDescs0);
}
size += dEPRECATEDInputNodes1_.CalculateSize(_repeated_dEPRECATEDInputNodes1_codec);
size += dEPRECATEDOutputNodes1_.CalculateSize(_repeated_dEPRECATEDOutputNodes1_codec);
size += dEPRECATEDNodeDescs1_.CalculateSize(_repeated_dEPRECATEDNodeDescs1_codec);
size += dEPRECATEDInBusGroups_.CalculateSize(_repeated_dEPRECATEDInBusGroups_codec);
size += dEPRECATEDOutBusGroups_.CalculateSize(_repeated_dEPRECATEDOutBusGroups_codec);
if (DEPRECATEDInBusId.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeBytesSize(DEPRECATEDInBusId);
}
if (DEPRECATEDOutBusId.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeBytesSize(DEPRECATEDOutBusId);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(GraphNodeData other) {
if (other == null) {
return;
}
if (other.innerGraphId_ != null) {
if (innerGraphId_ == null) {
InnerGraphId = new global::RecRoom.Protobuf.Core.GuidData();
}
InnerGraphId.MergeFrom(other.InnerGraphId);
}
if (other.inBusId_ != null) {
if (inBusId_ == null) {
InBusId = new global::RecRoom.Protobuf.Core.GuidData();
}
InBusId.MergeFrom(other.InBusId);
}
if (other.outBusId_ != null) {
if (outBusId_ == null) {
OutBusId = new global::RecRoom.Protobuf.Core.GuidData();
}
OutBusId.MergeFrom(other.OutBusId);
}
nodeDescs_.Add(other.nodeDescs_);
if (other.DEPRECATEDInnerGraphId.Length != 0) {
DEPRECATEDInnerGraphId = other.DEPRECATEDInnerGraphId;
}
if (other.dEPRECATEDInputNodes0_ != null) {
if (dEPRECATEDInputNodes0_ == null) {
DEPRECATEDInputNodes0 = new global::CircuitsV2.Protobuf.DEPRECATED_DictionaryData();
}
DEPRECATEDInputNodes0.MergeFrom(other.DEPRECATEDInputNodes0);
}
if (other.dEPRECATEDOutputNodes0_ != null) {
if (dEPRECATEDOutputNodes0_ == null) {
DEPRECATEDOutputNodes0 = new global::CircuitsV2.Protobuf.DEPRECATED_DictionaryData();
}
DEPRECATEDOutputNodes0.MergeFrom(other.DEPRECATEDOutputNodes0);
}
if (other.dEPRECATEDNodeDescs0_ != null) {
if (dEPRECATEDNodeDescs0_ == null) {
DEPRECATEDNodeDescs0 = new global::CircuitsV2.Protobuf.DEPRECATED_ListDictionaryData();
}
DEPRECATEDNodeDescs0.MergeFrom(other.DEPRECATEDNodeDescs0);
}
dEPRECATEDInputNodes1_.Add(other.dEPRECATEDInputNodes1_);
dEPRECATEDOutputNodes1_.Add(other.dEPRECATEDOutputNodes1_);
dEPRECATEDNodeDescs1_.Add(other.dEPRECATEDNodeDescs1_);
dEPRECATEDInBusGroups_.Add(other.dEPRECATEDInBusGroups_);
dEPRECATEDOutBusGroups_.Add(other.dEPRECATEDOutBusGroups_);
if (other.DEPRECATEDInBusId.Length != 0) {
DEPRECATEDInBusId = other.DEPRECATEDInBusId;
}
if (other.DEPRECATEDOutBusId.Length != 0) {
DEPRECATEDOutBusId = other.DEPRECATEDOutBusId;
}
_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: {
DEPRECATEDInnerGraphId = input.ReadBytes();
break;
}
case 18: {
if (dEPRECATEDInputNodes0_ == null) {
DEPRECATEDInputNodes0 = new global::CircuitsV2.Protobuf.DEPRECATED_DictionaryData();
}
input.ReadMessage(DEPRECATEDInputNodes0);
break;
}
case 26: {
if (dEPRECATEDOutputNodes0_ == null) {
DEPRECATEDOutputNodes0 = new global::CircuitsV2.Protobuf.DEPRECATED_DictionaryData();
}
input.ReadMessage(DEPRECATEDOutputNodes0);
break;
}
case 34: {
if (dEPRECATEDNodeDescs0_ == null) {
DEPRECATEDNodeDescs0 = new global::CircuitsV2.Protobuf.DEPRECATED_ListDictionaryData();
}
input.ReadMessage(DEPRECATEDNodeDescs0);
break;
}
case 42: {
dEPRECATEDInputNodes1_.AddEntriesFrom(input, _repeated_dEPRECATEDInputNodes1_codec);
break;
}
case 50: {
dEPRECATEDOutputNodes1_.AddEntriesFrom(input, _repeated_dEPRECATEDOutputNodes1_codec);
break;
}
case 58: {
dEPRECATEDNodeDescs1_.AddEntriesFrom(input, _repeated_dEPRECATEDNodeDescs1_codec);
break;
}
case 66: {
dEPRECATEDInBusGroups_.AddEntriesFrom(input, _repeated_dEPRECATEDInBusGroups_codec);
break;
}
case 74: {
dEPRECATEDOutBusGroups_.AddEntriesFrom(input, _repeated_dEPRECATEDOutBusGroups_codec);
break;
}
case 82: {
DEPRECATEDInBusId = input.ReadBytes();
break;
}
case 90: {
DEPRECATEDOutBusId = input.ReadBytes();
break;
}
case 98: {
nodeDescs_.AddEntriesFrom(input, _repeated_nodeDescs_codec);
break;
}
case 106: {
if (innerGraphId_ == null) {
InnerGraphId = new global::RecRoom.Protobuf.Core.GuidData();
}
input.ReadMessage(InnerGraphId);
break;
}
case 114: {
if (inBusId_ == null) {
InBusId = new global::RecRoom.Protobuf.Core.GuidData();
}
input.ReadMessage(InBusId);
break;
}
case 122: {
if (outBusId_ == null) {
OutBusId = new global::RecRoom.Protobuf.Core.GuidData();
}
input.ReadMessage(OutBusId);
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: {
DEPRECATEDInnerGraphId = input.ReadBytes();
break;
}
case 18: {
if (dEPRECATEDInputNodes0_ == null) {
DEPRECATEDInputNodes0 = new global::CircuitsV2.Protobuf.DEPRECATED_DictionaryData();
}
input.ReadMessage(DEPRECATEDInputNodes0);
break;
}
case 26: {
if (dEPRECATEDOutputNodes0_ == null) {
DEPRECATEDOutputNodes0 = new global::CircuitsV2.Protobuf.DEPRECATED_DictionaryData();
}
input.ReadMessage(DEPRECATEDOutputNodes0);
break;
}
case 34: {
if (dEPRECATEDNodeDescs0_ == null) {
DEPRECATEDNodeDescs0 = new global::CircuitsV2.Protobuf.DEPRECATED_ListDictionaryData();
}
input.ReadMessage(DEPRECATEDNodeDescs0);
break;
}
case 42: {
dEPRECATEDInputNodes1_.AddEntriesFrom(ref input, _repeated_dEPRECATEDInputNodes1_codec);
break;
}
case 50: {
dEPRECATEDOutputNodes1_.AddEntriesFrom(ref input, _repeated_dEPRECATEDOutputNodes1_codec);
break;
}
case 58: {
dEPRECATEDNodeDescs1_.AddEntriesFrom(ref input, _repeated_dEPRECATEDNodeDescs1_codec);
break;
}
case 66: {
dEPRECATEDInBusGroups_.AddEntriesFrom(ref input, _repeated_dEPRECATEDInBusGroups_codec);
break;
}
case 74: {
dEPRECATEDOutBusGroups_.AddEntriesFrom(ref input, _repeated_dEPRECATEDOutBusGroups_codec);
break;
}
case 82: {
DEPRECATEDInBusId = input.ReadBytes();
break;
}
case 90: {
DEPRECATEDOutBusId = input.ReadBytes();
break;
}
case 98: {
nodeDescs_.AddEntriesFrom(ref input, _repeated_nodeDescs_codec);
break;
}
case 106: {
if (innerGraphId_ == null) {
InnerGraphId = new global::RecRoom.Protobuf.Core.GuidData();
}
input.ReadMessage(InnerGraphId);
break;
}
case 114: {
if (inBusId_ == null) {
InBusId = new global::RecRoom.Protobuf.Core.GuidData();
}
input.ReadMessage(InBusId);
break;
}
case 122: {
if (outBusId_ == null) {
OutBusId = new global::RecRoom.Protobuf.Core.GuidData();
}
input.ReadMessage(OutBusId);
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code