Protobuf...

This commit is contained in:
2026-05-10 13:39:01 -07:00
commit c1830ab510
421 changed files with 313428 additions and 0 deletions

416
NodeGroupData.cs Normal file
View File

@@ -0,0 +1,416 @@
// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: circuits_v2/node_group_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/node_group_data.proto</summary>
public static partial class NodeGroupDataReflection {
#region Descriptor
/// <summary>File descriptor for circuits_v2/node_group_data.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static NodeGroupDataReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"CiFjaXJjdWl0c192Mi9ub2RlX2dyb3VwX2RhdGEucHJvdG8SC2NpcmN1aXRz",
"X3YyGjdjaXJjdWl0c192Mi9kZXByZWNhdGVkL0RFUFJFQ0FURURfZGljdGlv",
"bmFyeV9kYXRhLnByb3RvGj1jaXJjdWl0c192Mi9kZXByZWNhdGVkL0RFUFJF",
"Q0FURURfa2V5ZWRfaW5wdXRfcG9ydF9kYXRhLnByb3RvGj5jaXJjdWl0c192",
"Mi9kZXByZWNhdGVkL0RFUFJFQ0FURURfa2V5ZWRfb3V0cHV0X3BvcnRfZGF0",
"YS5wcm90bxohY2lyY3VpdHNfdjIvaW5wdXRfcG9ydF9kYXRhLnByb3RvIpMD",
"Cg1Ob2RlR3JvdXBEYXRhEioKBmlucHV0cxgFIAMoCzIaLmNpcmN1aXRzX3Yy",
"LklucHV0UG9ydERhdGESGwoTZmlyc3RfaW5wdXRfaW5kaWNlcxgGIAMoBRJM",
"ChhERVBSRUNBVEVEX2lucHV0X3BvcnRzXzAYASABKAsyKi5jaXJjdWl0c192",
"Mi5ERVBSRUNBVEVEX0xpc3REaWN0aW9uYXJ5RGF0YRJNChlERVBSRUNBVEVE",
"X291dHB1dF9wb3J0c18wGAIgASgLMiouY2lyY3VpdHNfdjIuREVQUkVDQVRF",
"RF9MaXN0RGljdGlvbmFyeURhdGESTAoYREVQUkVDQVRFRF9pbnB1dF9wb3J0",
"c18xGAMgAygLMiouY2lyY3VpdHNfdjIuREVQUkVDQVRFRF9LZXllZElucHV0",
"UG9ydERhdGESTgoZREVQUkVDQVRFRF9vdXRwdXRfcG9ydHNfMRgEIAMoCzIr",
"LmNpcmN1aXRzX3YyLkRFUFJFQ0FURURfS2V5ZWRPdXRwdXRQb3J0RGF0YUIW",
"qgITQ2lyY3VpdHNWMi5Qcm90b2J1ZmIGcHJvdG8z"));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::CircuitsV2.Protobuf.DEPRECATEDDictionaryDataReflection.Descriptor, global::CircuitsV2.Protobuf.DEPRECATEDKeyedInputPortDataReflection.Descriptor, global::CircuitsV2.Protobuf.DEPRECATEDKeyedOutputPortDataReflection.Descriptor, global::CircuitsV2.Protobuf.InputPortDataReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::CircuitsV2.Protobuf.NodeGroupData), global::CircuitsV2.Protobuf.NodeGroupData.Parser, new[]{ "Inputs", "FirstInputIndices", "DEPRECATEDInputPorts0", "DEPRECATEDOutputPorts0", "DEPRECATEDInputPorts1", "DEPRECATEDOutputPorts1" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class NodeGroupData : pb::IMessage<NodeGroupData>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<NodeGroupData> _parser = new pb::MessageParser<NodeGroupData>(() => new NodeGroupData());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<NodeGroupData> 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.NodeGroupDataReflection.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 NodeGroupData() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public NodeGroupData(NodeGroupData other) : this() {
inputs_ = other.inputs_.Clone();
firstInputIndices_ = other.firstInputIndices_.Clone();
dEPRECATEDInputPorts0_ = other.dEPRECATEDInputPorts0_ != null ? other.dEPRECATEDInputPorts0_.Clone() : null;
dEPRECATEDOutputPorts0_ = other.dEPRECATEDOutputPorts0_ != null ? other.dEPRECATEDOutputPorts0_.Clone() : null;
dEPRECATEDInputPorts1_ = other.dEPRECATEDInputPorts1_.Clone();
dEPRECATEDOutputPorts1_ = other.dEPRECATEDOutputPorts1_.Clone();
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public NodeGroupData Clone() {
return new NodeGroupData(this);
}
/// <summary>Field number for the "inputs" field.</summary>
public const int InputsFieldNumber = 5;
private static readonly pb::FieldCodec<global::CircuitsV2.Protobuf.InputPortData> _repeated_inputs_codec
= pb::FieldCodec.ForMessage(42, global::CircuitsV2.Protobuf.InputPortData.Parser);
private readonly pbc::RepeatedField<global::CircuitsV2.Protobuf.InputPortData> inputs_ = new pbc::RepeatedField<global::CircuitsV2.Protobuf.InputPortData>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::CircuitsV2.Protobuf.InputPortData> Inputs {
get { return inputs_; }
}
/// <summary>Field number for the "first_input_indices" field.</summary>
public const int FirstInputIndicesFieldNumber = 6;
private static readonly pb::FieldCodec<int> _repeated_firstInputIndices_codec
= pb::FieldCodec.ForInt32(50);
private readonly pbc::RepeatedField<int> firstInputIndices_ = new pbc::RepeatedField<int>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<int> FirstInputIndices {
get { return firstInputIndices_; }
}
/// <summary>Field number for the "DEPRECATED_input_ports_0" field.</summary>
public const int DEPRECATEDInputPorts0FieldNumber = 1;
private global::CircuitsV2.Protobuf.DEPRECATED_ListDictionaryData dEPRECATEDInputPorts0_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::CircuitsV2.Protobuf.DEPRECATED_ListDictionaryData DEPRECATEDInputPorts0 {
get { return dEPRECATEDInputPorts0_; }
set {
dEPRECATEDInputPorts0_ = value;
}
}
/// <summary>Field number for the "DEPRECATED_output_ports_0" field.</summary>
public const int DEPRECATEDOutputPorts0FieldNumber = 2;
private global::CircuitsV2.Protobuf.DEPRECATED_ListDictionaryData dEPRECATEDOutputPorts0_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::CircuitsV2.Protobuf.DEPRECATED_ListDictionaryData DEPRECATEDOutputPorts0 {
get { return dEPRECATEDOutputPorts0_; }
set {
dEPRECATEDOutputPorts0_ = value;
}
}
/// <summary>Field number for the "DEPRECATED_input_ports_1" field.</summary>
public const int DEPRECATEDInputPorts1FieldNumber = 3;
private static readonly pb::FieldCodec<global::CircuitsV2.Protobuf.DEPRECATED_KeyedInputPortData> _repeated_dEPRECATEDInputPorts1_codec
= pb::FieldCodec.ForMessage(26, global::CircuitsV2.Protobuf.DEPRECATED_KeyedInputPortData.Parser);
private readonly pbc::RepeatedField<global::CircuitsV2.Protobuf.DEPRECATED_KeyedInputPortData> dEPRECATEDInputPorts1_ = new pbc::RepeatedField<global::CircuitsV2.Protobuf.DEPRECATED_KeyedInputPortData>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::CircuitsV2.Protobuf.DEPRECATED_KeyedInputPortData> DEPRECATEDInputPorts1 {
get { return dEPRECATEDInputPorts1_; }
}
/// <summary>Field number for the "DEPRECATED_output_ports_1" field.</summary>
public const int DEPRECATEDOutputPorts1FieldNumber = 4;
private static readonly pb::FieldCodec<global::CircuitsV2.Protobuf.DEPRECATED_KeyedOutputPortData> _repeated_dEPRECATEDOutputPorts1_codec
= pb::FieldCodec.ForMessage(34, global::CircuitsV2.Protobuf.DEPRECATED_KeyedOutputPortData.Parser);
private readonly pbc::RepeatedField<global::CircuitsV2.Protobuf.DEPRECATED_KeyedOutputPortData> dEPRECATEDOutputPorts1_ = new pbc::RepeatedField<global::CircuitsV2.Protobuf.DEPRECATED_KeyedOutputPortData>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::CircuitsV2.Protobuf.DEPRECATED_KeyedOutputPortData> DEPRECATEDOutputPorts1 {
get { return dEPRECATEDOutputPorts1_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as NodeGroupData);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(NodeGroupData other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if(!inputs_.Equals(other.inputs_)) return false;
if(!firstInputIndices_.Equals(other.firstInputIndices_)) return false;
if (!object.Equals(DEPRECATEDInputPorts0, other.DEPRECATEDInputPorts0)) return false;
if (!object.Equals(DEPRECATEDOutputPorts0, other.DEPRECATEDOutputPorts0)) return false;
if(!dEPRECATEDInputPorts1_.Equals(other.dEPRECATEDInputPorts1_)) return false;
if(!dEPRECATEDOutputPorts1_.Equals(other.dEPRECATEDOutputPorts1_)) 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;
hash ^= inputs_.GetHashCode();
hash ^= firstInputIndices_.GetHashCode();
if (dEPRECATEDInputPorts0_ != null) hash ^= DEPRECATEDInputPorts0.GetHashCode();
if (dEPRECATEDOutputPorts0_ != null) hash ^= DEPRECATEDOutputPorts0.GetHashCode();
hash ^= dEPRECATEDInputPorts1_.GetHashCode();
hash ^= dEPRECATEDOutputPorts1_.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 (dEPRECATEDInputPorts0_ != null) {
output.WriteRawTag(10);
output.WriteMessage(DEPRECATEDInputPorts0);
}
if (dEPRECATEDOutputPorts0_ != null) {
output.WriteRawTag(18);
output.WriteMessage(DEPRECATEDOutputPorts0);
}
dEPRECATEDInputPorts1_.WriteTo(output, _repeated_dEPRECATEDInputPorts1_codec);
dEPRECATEDOutputPorts1_.WriteTo(output, _repeated_dEPRECATEDOutputPorts1_codec);
inputs_.WriteTo(output, _repeated_inputs_codec);
firstInputIndices_.WriteTo(output, _repeated_firstInputIndices_codec);
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 (dEPRECATEDInputPorts0_ != null) {
output.WriteRawTag(10);
output.WriteMessage(DEPRECATEDInputPorts0);
}
if (dEPRECATEDOutputPorts0_ != null) {
output.WriteRawTag(18);
output.WriteMessage(DEPRECATEDOutputPorts0);
}
dEPRECATEDInputPorts1_.WriteTo(ref output, _repeated_dEPRECATEDInputPorts1_codec);
dEPRECATEDOutputPorts1_.WriteTo(ref output, _repeated_dEPRECATEDOutputPorts1_codec);
inputs_.WriteTo(ref output, _repeated_inputs_codec);
firstInputIndices_.WriteTo(ref output, _repeated_firstInputIndices_codec);
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;
size += inputs_.CalculateSize(_repeated_inputs_codec);
size += firstInputIndices_.CalculateSize(_repeated_firstInputIndices_codec);
if (dEPRECATEDInputPorts0_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(DEPRECATEDInputPorts0);
}
if (dEPRECATEDOutputPorts0_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(DEPRECATEDOutputPorts0);
}
size += dEPRECATEDInputPorts1_.CalculateSize(_repeated_dEPRECATEDInputPorts1_codec);
size += dEPRECATEDOutputPorts1_.CalculateSize(_repeated_dEPRECATEDOutputPorts1_codec);
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(NodeGroupData other) {
if (other == null) {
return;
}
inputs_.Add(other.inputs_);
firstInputIndices_.Add(other.firstInputIndices_);
if (other.dEPRECATEDInputPorts0_ != null) {
if (dEPRECATEDInputPorts0_ == null) {
DEPRECATEDInputPorts0 = new global::CircuitsV2.Protobuf.DEPRECATED_ListDictionaryData();
}
DEPRECATEDInputPorts0.MergeFrom(other.DEPRECATEDInputPorts0);
}
if (other.dEPRECATEDOutputPorts0_ != null) {
if (dEPRECATEDOutputPorts0_ == null) {
DEPRECATEDOutputPorts0 = new global::CircuitsV2.Protobuf.DEPRECATED_ListDictionaryData();
}
DEPRECATEDOutputPorts0.MergeFrom(other.DEPRECATEDOutputPorts0);
}
dEPRECATEDInputPorts1_.Add(other.dEPRECATEDInputPorts1_);
dEPRECATEDOutputPorts1_.Add(other.dEPRECATEDOutputPorts1_);
_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: {
if (dEPRECATEDInputPorts0_ == null) {
DEPRECATEDInputPorts0 = new global::CircuitsV2.Protobuf.DEPRECATED_ListDictionaryData();
}
input.ReadMessage(DEPRECATEDInputPorts0);
break;
}
case 18: {
if (dEPRECATEDOutputPorts0_ == null) {
DEPRECATEDOutputPorts0 = new global::CircuitsV2.Protobuf.DEPRECATED_ListDictionaryData();
}
input.ReadMessage(DEPRECATEDOutputPorts0);
break;
}
case 26: {
dEPRECATEDInputPorts1_.AddEntriesFrom(input, _repeated_dEPRECATEDInputPorts1_codec);
break;
}
case 34: {
dEPRECATEDOutputPorts1_.AddEntriesFrom(input, _repeated_dEPRECATEDOutputPorts1_codec);
break;
}
case 42: {
inputs_.AddEntriesFrom(input, _repeated_inputs_codec);
break;
}
case 50:
case 48: {
firstInputIndices_.AddEntriesFrom(input, _repeated_firstInputIndices_codec);
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: {
if (dEPRECATEDInputPorts0_ == null) {
DEPRECATEDInputPorts0 = new global::CircuitsV2.Protobuf.DEPRECATED_ListDictionaryData();
}
input.ReadMessage(DEPRECATEDInputPorts0);
break;
}
case 18: {
if (dEPRECATEDOutputPorts0_ == null) {
DEPRECATEDOutputPorts0 = new global::CircuitsV2.Protobuf.DEPRECATED_ListDictionaryData();
}
input.ReadMessage(DEPRECATEDOutputPorts0);
break;
}
case 26: {
dEPRECATEDInputPorts1_.AddEntriesFrom(ref input, _repeated_dEPRECATEDInputPorts1_codec);
break;
}
case 34: {
dEPRECATEDOutputPorts1_.AddEntriesFrom(ref input, _repeated_dEPRECATEDOutputPorts1_codec);
break;
}
case 42: {
inputs_.AddEntriesFrom(ref input, _repeated_inputs_codec);
break;
}
case 50:
case 48: {
firstInputIndices_.AddEntriesFrom(ref input, _repeated_firstInputIndices_codec);
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code