548 lines
25 KiB
C#
548 lines
25 KiB
C#
// <auto-generated>
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: circuits_v2/node_desc_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_desc_data.proto</summary>
|
|
public static partial class NodeDescDataReflection {
|
|
|
|
#region Descriptor
|
|
/// <summary>File descriptor for circuits_v2/node_desc_data.proto</summary>
|
|
public static pbr::FileDescriptor Descriptor {
|
|
get { return descriptor; }
|
|
}
|
|
private static pbr::FileDescriptor descriptor;
|
|
|
|
static NodeDescDataReflection() {
|
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
string.Concat(
|
|
"CiBjaXJjdWl0c192Mi9ub2RlX2Rlc2NfZGF0YS5wcm90bxILY2lyY3VpdHNf",
|
|
"djIaKmNpcmN1aXRzL3N0YXRpYy9ldi9jaXJjdWl0X3R5cGVfZGF0YS5wcm90",
|
|
"bxo5Y2lyY3VpdHNfdjIvZGVwcmVjYXRlZC9ERVBSRUNBVEVEX2NpcmN1aXRf",
|
|
"dHlwZV9kYXRhLnByb3RvGjdjaXJjdWl0c192Mi9kZXByZWNhdGVkL0RFUFJF",
|
|
"Q0FURURfZGljdGlvbmFyeV9kYXRhLnByb3RvGj1jaXJjdWl0c192Mi9kZXBy",
|
|
"ZWNhdGVkL0RFUFJFQ0FURURfa2V5ZWRfaW5wdXRfZGVzY19kYXRhLnByb3Rv",
|
|
"Gj5jaXJjdWl0c192Mi9kZXByZWNhdGVkL0RFUFJFQ0FURURfa2V5ZWRfb3V0",
|
|
"cHV0X2Rlc2NfZGF0YS5wcm90bxohY2lyY3VpdHNfdjIvaW5wdXRfZGVzY19k",
|
|
"YXRhLnByb3RvGiJjaXJjdWl0c192Mi9vdXRwdXRfZGVzY19kYXRhLnByb3Rv",
|
|
"IrUECgxOb2RlRGVzY0RhdGESDAoEbmFtZRgCIAEoCRIyCg90eXBlX3BhcmFt",
|
|
"ZXRlcnMYCiADKAsyGS5jaXJjdWl0cy5DaXJjdWl0VHlwZURhdGESKgoGaW5w",
|
|
"dXRzGAggAygLMhouY2lyY3VpdHNfdjIuSW5wdXREZXNjRGF0YRIsCgdvdXRw",
|
|
"dXRzGAkgAygLMhsuY2lyY3VpdHNfdjIuT3V0cHV0RGVzY0RhdGESFQoNREVQ",
|
|
"UkVDQVRFRF9pZBgBIAEoDBJLChpERVBSRUNBVEVEX3R5cGVfcGFyYW1ldGVy",
|
|
"cxgDIAMoCzInLmNpcmN1aXRzX3YyLkRFUFJFQ0FURURfQ2lyY3VpdFR5cGVE",
|
|
"YXRhEkcKE0RFUFJFQ0FURURfaW5wdXRzXzAYBCABKAsyKi5jaXJjdWl0c192",
|
|
"Mi5ERVBSRUNBVEVEX0xpc3REaWN0aW9uYXJ5RGF0YRJIChRERVBSRUNBVEVE",
|
|
"X291dHB1dHNfMBgFIAEoCzIqLmNpcmN1aXRzX3YyLkRFUFJFQ0FURURfTGlz",
|
|
"dERpY3Rpb25hcnlEYXRhEkcKE0RFUFJFQ0FURURfaW5wdXRzXzEYBiADKAsy",
|
|
"Ki5jaXJjdWl0c192Mi5ERVBSRUNBVEVEX0tleWVkSW5wdXREZXNjRGF0YRJJ",
|
|
"ChRERVBSRUNBVEVEX291dHB1dHNfMRgHIAMoCzIrLmNpcmN1aXRzX3YyLkRF",
|
|
"UFJFQ0FURURfS2V5ZWRPdXRwdXREZXNjRGF0YUIWqgITQ2lyY3VpdHNWMi5Q",
|
|
"cm90b2J1ZmIGcHJvdG8z"));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { global::Circuits.Static.EV.Protobuf.CircuitTypeDataReflection.Descriptor, global::CircuitsV2.Protobuf.DEPRECATEDCircuitTypeDataReflection.Descriptor, global::CircuitsV2.Protobuf.DEPRECATEDDictionaryDataReflection.Descriptor, global::CircuitsV2.Protobuf.DEPRECATEDKeyedInputDescDataReflection.Descriptor, global::CircuitsV2.Protobuf.DEPRECATEDKeyedOutputDescDataReflection.Descriptor, global::CircuitsV2.Protobuf.InputDescDataReflection.Descriptor, global::CircuitsV2.Protobuf.OutputDescDataReflection.Descriptor, },
|
|
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::CircuitsV2.Protobuf.NodeDescData), global::CircuitsV2.Protobuf.NodeDescData.Parser, new[]{ "Name", "TypeParameters", "Inputs", "Outputs", "DEPRECATEDId", "DEPRECATEDTypeParameters", "DEPRECATEDInputs0", "DEPRECATEDOutputs0", "DEPRECATEDInputs1", "DEPRECATEDOutputs1" }, null, null, null, null)
|
|
}));
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
#region Messages
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class NodeDescData : pb::IMessage<NodeDescData>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<NodeDescData> _parser = new pb::MessageParser<NodeDescData>(() => new NodeDescData());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<NodeDescData> 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.NodeDescDataReflection.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 NodeDescData() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public NodeDescData(NodeDescData other) : this() {
|
|
name_ = other.name_;
|
|
typeParameters_ = other.typeParameters_.Clone();
|
|
inputs_ = other.inputs_.Clone();
|
|
outputs_ = other.outputs_.Clone();
|
|
dEPRECATEDId_ = other.dEPRECATEDId_;
|
|
dEPRECATEDTypeParameters_ = other.dEPRECATEDTypeParameters_.Clone();
|
|
dEPRECATEDInputs0_ = other.dEPRECATEDInputs0_ != null ? other.dEPRECATEDInputs0_.Clone() : null;
|
|
dEPRECATEDOutputs0_ = other.dEPRECATEDOutputs0_ != null ? other.dEPRECATEDOutputs0_.Clone() : null;
|
|
dEPRECATEDInputs1_ = other.dEPRECATEDInputs1_.Clone();
|
|
dEPRECATEDOutputs1_ = other.dEPRECATEDOutputs1_.Clone();
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public NodeDescData Clone() {
|
|
return new NodeDescData(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "name" field.</summary>
|
|
public const int NameFieldNumber = 2;
|
|
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");
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "type_parameters" field.</summary>
|
|
public const int TypeParametersFieldNumber = 10;
|
|
private static readonly pb::FieldCodec<global::Circuits.Static.EV.Protobuf.CircuitTypeData> _repeated_typeParameters_codec
|
|
= pb::FieldCodec.ForMessage(82, global::Circuits.Static.EV.Protobuf.CircuitTypeData.Parser);
|
|
private readonly pbc::RepeatedField<global::Circuits.Static.EV.Protobuf.CircuitTypeData> typeParameters_ = new pbc::RepeatedField<global::Circuits.Static.EV.Protobuf.CircuitTypeData>();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public pbc::RepeatedField<global::Circuits.Static.EV.Protobuf.CircuitTypeData> TypeParameters {
|
|
get { return typeParameters_; }
|
|
}
|
|
|
|
/// <summary>Field number for the "inputs" field.</summary>
|
|
public const int InputsFieldNumber = 8;
|
|
private static readonly pb::FieldCodec<global::CircuitsV2.Protobuf.InputDescData> _repeated_inputs_codec
|
|
= pb::FieldCodec.ForMessage(66, global::CircuitsV2.Protobuf.InputDescData.Parser);
|
|
private readonly pbc::RepeatedField<global::CircuitsV2.Protobuf.InputDescData> inputs_ = new pbc::RepeatedField<global::CircuitsV2.Protobuf.InputDescData>();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public pbc::RepeatedField<global::CircuitsV2.Protobuf.InputDescData> Inputs {
|
|
get { return inputs_; }
|
|
}
|
|
|
|
/// <summary>Field number for the "outputs" field.</summary>
|
|
public const int OutputsFieldNumber = 9;
|
|
private static readonly pb::FieldCodec<global::CircuitsV2.Protobuf.OutputDescData> _repeated_outputs_codec
|
|
= pb::FieldCodec.ForMessage(74, global::CircuitsV2.Protobuf.OutputDescData.Parser);
|
|
private readonly pbc::RepeatedField<global::CircuitsV2.Protobuf.OutputDescData> outputs_ = new pbc::RepeatedField<global::CircuitsV2.Protobuf.OutputDescData>();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public pbc::RepeatedField<global::CircuitsV2.Protobuf.OutputDescData> Outputs {
|
|
get { return outputs_; }
|
|
}
|
|
|
|
/// <summary>Field number for the "DEPRECATED_id" field.</summary>
|
|
public const int DEPRECATEDIdFieldNumber = 1;
|
|
private pb::ByteString dEPRECATEDId_ = pb::ByteString.Empty;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public pb::ByteString DEPRECATEDId {
|
|
get { return dEPRECATEDId_; }
|
|
set {
|
|
dEPRECATEDId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "DEPRECATED_type_parameters" field.</summary>
|
|
public const int DEPRECATEDTypeParametersFieldNumber = 3;
|
|
private static readonly pb::FieldCodec<global::CircuitsV2.Protobuf.DEPRECATED_CircuitTypeData> _repeated_dEPRECATEDTypeParameters_codec
|
|
= pb::FieldCodec.ForMessage(26, global::CircuitsV2.Protobuf.DEPRECATED_CircuitTypeData.Parser);
|
|
private readonly pbc::RepeatedField<global::CircuitsV2.Protobuf.DEPRECATED_CircuitTypeData> dEPRECATEDTypeParameters_ = new pbc::RepeatedField<global::CircuitsV2.Protobuf.DEPRECATED_CircuitTypeData>();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public pbc::RepeatedField<global::CircuitsV2.Protobuf.DEPRECATED_CircuitTypeData> DEPRECATEDTypeParameters {
|
|
get { return dEPRECATEDTypeParameters_; }
|
|
}
|
|
|
|
/// <summary>Field number for the "DEPRECATED_inputs_0" field.</summary>
|
|
public const int DEPRECATEDInputs0FieldNumber = 4;
|
|
private global::CircuitsV2.Protobuf.DEPRECATED_ListDictionaryData dEPRECATEDInputs0_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public global::CircuitsV2.Protobuf.DEPRECATED_ListDictionaryData DEPRECATEDInputs0 {
|
|
get { return dEPRECATEDInputs0_; }
|
|
set {
|
|
dEPRECATEDInputs0_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "DEPRECATED_outputs_0" field.</summary>
|
|
public const int DEPRECATEDOutputs0FieldNumber = 5;
|
|
private global::CircuitsV2.Protobuf.DEPRECATED_ListDictionaryData dEPRECATEDOutputs0_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public global::CircuitsV2.Protobuf.DEPRECATED_ListDictionaryData DEPRECATEDOutputs0 {
|
|
get { return dEPRECATEDOutputs0_; }
|
|
set {
|
|
dEPRECATEDOutputs0_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "DEPRECATED_inputs_1" field.</summary>
|
|
public const int DEPRECATEDInputs1FieldNumber = 6;
|
|
private static readonly pb::FieldCodec<global::CircuitsV2.Protobuf.DEPRECATED_KeyedInputDescData> _repeated_dEPRECATEDInputs1_codec
|
|
= pb::FieldCodec.ForMessage(50, global::CircuitsV2.Protobuf.DEPRECATED_KeyedInputDescData.Parser);
|
|
private readonly pbc::RepeatedField<global::CircuitsV2.Protobuf.DEPRECATED_KeyedInputDescData> dEPRECATEDInputs1_ = new pbc::RepeatedField<global::CircuitsV2.Protobuf.DEPRECATED_KeyedInputDescData>();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public pbc::RepeatedField<global::CircuitsV2.Protobuf.DEPRECATED_KeyedInputDescData> DEPRECATEDInputs1 {
|
|
get { return dEPRECATEDInputs1_; }
|
|
}
|
|
|
|
/// <summary>Field number for the "DEPRECATED_outputs_1" field.</summary>
|
|
public const int DEPRECATEDOutputs1FieldNumber = 7;
|
|
private static readonly pb::FieldCodec<global::CircuitsV2.Protobuf.DEPRECATED_KeyedOutputDescData> _repeated_dEPRECATEDOutputs1_codec
|
|
= pb::FieldCodec.ForMessage(58, global::CircuitsV2.Protobuf.DEPRECATED_KeyedOutputDescData.Parser);
|
|
private readonly pbc::RepeatedField<global::CircuitsV2.Protobuf.DEPRECATED_KeyedOutputDescData> dEPRECATEDOutputs1_ = new pbc::RepeatedField<global::CircuitsV2.Protobuf.DEPRECATED_KeyedOutputDescData>();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public pbc::RepeatedField<global::CircuitsV2.Protobuf.DEPRECATED_KeyedOutputDescData> DEPRECATEDOutputs1 {
|
|
get { return dEPRECATEDOutputs1_; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as NodeDescData);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(NodeDescData other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (Name != other.Name) return false;
|
|
if(!typeParameters_.Equals(other.typeParameters_)) return false;
|
|
if(!inputs_.Equals(other.inputs_)) return false;
|
|
if(!outputs_.Equals(other.outputs_)) return false;
|
|
if (DEPRECATEDId != other.DEPRECATEDId) return false;
|
|
if(!dEPRECATEDTypeParameters_.Equals(other.dEPRECATEDTypeParameters_)) return false;
|
|
if (!object.Equals(DEPRECATEDInputs0, other.DEPRECATEDInputs0)) return false;
|
|
if (!object.Equals(DEPRECATEDOutputs0, other.DEPRECATEDOutputs0)) return false;
|
|
if(!dEPRECATEDInputs1_.Equals(other.dEPRECATEDInputs1_)) return false;
|
|
if(!dEPRECATEDOutputs1_.Equals(other.dEPRECATEDOutputs1_)) 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();
|
|
hash ^= typeParameters_.GetHashCode();
|
|
hash ^= inputs_.GetHashCode();
|
|
hash ^= outputs_.GetHashCode();
|
|
if (DEPRECATEDId.Length != 0) hash ^= DEPRECATEDId.GetHashCode();
|
|
hash ^= dEPRECATEDTypeParameters_.GetHashCode();
|
|
if (dEPRECATEDInputs0_ != null) hash ^= DEPRECATEDInputs0.GetHashCode();
|
|
if (dEPRECATEDOutputs0_ != null) hash ^= DEPRECATEDOutputs0.GetHashCode();
|
|
hash ^= dEPRECATEDInputs1_.GetHashCode();
|
|
hash ^= dEPRECATEDOutputs1_.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 (DEPRECATEDId.Length != 0) {
|
|
output.WriteRawTag(10);
|
|
output.WriteBytes(DEPRECATEDId);
|
|
}
|
|
if (Name.Length != 0) {
|
|
output.WriteRawTag(18);
|
|
output.WriteString(Name);
|
|
}
|
|
dEPRECATEDTypeParameters_.WriteTo(output, _repeated_dEPRECATEDTypeParameters_codec);
|
|
if (dEPRECATEDInputs0_ != null) {
|
|
output.WriteRawTag(34);
|
|
output.WriteMessage(DEPRECATEDInputs0);
|
|
}
|
|
if (dEPRECATEDOutputs0_ != null) {
|
|
output.WriteRawTag(42);
|
|
output.WriteMessage(DEPRECATEDOutputs0);
|
|
}
|
|
dEPRECATEDInputs1_.WriteTo(output, _repeated_dEPRECATEDInputs1_codec);
|
|
dEPRECATEDOutputs1_.WriteTo(output, _repeated_dEPRECATEDOutputs1_codec);
|
|
inputs_.WriteTo(output, _repeated_inputs_codec);
|
|
outputs_.WriteTo(output, _repeated_outputs_codec);
|
|
typeParameters_.WriteTo(output, _repeated_typeParameters_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 (DEPRECATEDId.Length != 0) {
|
|
output.WriteRawTag(10);
|
|
output.WriteBytes(DEPRECATEDId);
|
|
}
|
|
if (Name.Length != 0) {
|
|
output.WriteRawTag(18);
|
|
output.WriteString(Name);
|
|
}
|
|
dEPRECATEDTypeParameters_.WriteTo(ref output, _repeated_dEPRECATEDTypeParameters_codec);
|
|
if (dEPRECATEDInputs0_ != null) {
|
|
output.WriteRawTag(34);
|
|
output.WriteMessage(DEPRECATEDInputs0);
|
|
}
|
|
if (dEPRECATEDOutputs0_ != null) {
|
|
output.WriteRawTag(42);
|
|
output.WriteMessage(DEPRECATEDOutputs0);
|
|
}
|
|
dEPRECATEDInputs1_.WriteTo(ref output, _repeated_dEPRECATEDInputs1_codec);
|
|
dEPRECATEDOutputs1_.WriteTo(ref output, _repeated_dEPRECATEDOutputs1_codec);
|
|
inputs_.WriteTo(ref output, _repeated_inputs_codec);
|
|
outputs_.WriteTo(ref output, _repeated_outputs_codec);
|
|
typeParameters_.WriteTo(ref output, _repeated_typeParameters_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;
|
|
if (Name.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(Name);
|
|
}
|
|
size += typeParameters_.CalculateSize(_repeated_typeParameters_codec);
|
|
size += inputs_.CalculateSize(_repeated_inputs_codec);
|
|
size += outputs_.CalculateSize(_repeated_outputs_codec);
|
|
if (DEPRECATEDId.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeBytesSize(DEPRECATEDId);
|
|
}
|
|
size += dEPRECATEDTypeParameters_.CalculateSize(_repeated_dEPRECATEDTypeParameters_codec);
|
|
if (dEPRECATEDInputs0_ != null) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(DEPRECATEDInputs0);
|
|
}
|
|
if (dEPRECATEDOutputs0_ != null) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(DEPRECATEDOutputs0);
|
|
}
|
|
size += dEPRECATEDInputs1_.CalculateSize(_repeated_dEPRECATEDInputs1_codec);
|
|
size += dEPRECATEDOutputs1_.CalculateSize(_repeated_dEPRECATEDOutputs1_codec);
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(NodeDescData other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.Name.Length != 0) {
|
|
Name = other.Name;
|
|
}
|
|
typeParameters_.Add(other.typeParameters_);
|
|
inputs_.Add(other.inputs_);
|
|
outputs_.Add(other.outputs_);
|
|
if (other.DEPRECATEDId.Length != 0) {
|
|
DEPRECATEDId = other.DEPRECATEDId;
|
|
}
|
|
dEPRECATEDTypeParameters_.Add(other.dEPRECATEDTypeParameters_);
|
|
if (other.dEPRECATEDInputs0_ != null) {
|
|
if (dEPRECATEDInputs0_ == null) {
|
|
DEPRECATEDInputs0 = new global::CircuitsV2.Protobuf.DEPRECATED_ListDictionaryData();
|
|
}
|
|
DEPRECATEDInputs0.MergeFrom(other.DEPRECATEDInputs0);
|
|
}
|
|
if (other.dEPRECATEDOutputs0_ != null) {
|
|
if (dEPRECATEDOutputs0_ == null) {
|
|
DEPRECATEDOutputs0 = new global::CircuitsV2.Protobuf.DEPRECATED_ListDictionaryData();
|
|
}
|
|
DEPRECATEDOutputs0.MergeFrom(other.DEPRECATEDOutputs0);
|
|
}
|
|
dEPRECATEDInputs1_.Add(other.dEPRECATEDInputs1_);
|
|
dEPRECATEDOutputs1_.Add(other.dEPRECATEDOutputs1_);
|
|
_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: {
|
|
DEPRECATEDId = input.ReadBytes();
|
|
break;
|
|
}
|
|
case 18: {
|
|
Name = input.ReadString();
|
|
break;
|
|
}
|
|
case 26: {
|
|
dEPRECATEDTypeParameters_.AddEntriesFrom(input, _repeated_dEPRECATEDTypeParameters_codec);
|
|
break;
|
|
}
|
|
case 34: {
|
|
if (dEPRECATEDInputs0_ == null) {
|
|
DEPRECATEDInputs0 = new global::CircuitsV2.Protobuf.DEPRECATED_ListDictionaryData();
|
|
}
|
|
input.ReadMessage(DEPRECATEDInputs0);
|
|
break;
|
|
}
|
|
case 42: {
|
|
if (dEPRECATEDOutputs0_ == null) {
|
|
DEPRECATEDOutputs0 = new global::CircuitsV2.Protobuf.DEPRECATED_ListDictionaryData();
|
|
}
|
|
input.ReadMessage(DEPRECATEDOutputs0);
|
|
break;
|
|
}
|
|
case 50: {
|
|
dEPRECATEDInputs1_.AddEntriesFrom(input, _repeated_dEPRECATEDInputs1_codec);
|
|
break;
|
|
}
|
|
case 58: {
|
|
dEPRECATEDOutputs1_.AddEntriesFrom(input, _repeated_dEPRECATEDOutputs1_codec);
|
|
break;
|
|
}
|
|
case 66: {
|
|
inputs_.AddEntriesFrom(input, _repeated_inputs_codec);
|
|
break;
|
|
}
|
|
case 74: {
|
|
outputs_.AddEntriesFrom(input, _repeated_outputs_codec);
|
|
break;
|
|
}
|
|
case 82: {
|
|
typeParameters_.AddEntriesFrom(input, _repeated_typeParameters_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: {
|
|
DEPRECATEDId = input.ReadBytes();
|
|
break;
|
|
}
|
|
case 18: {
|
|
Name = input.ReadString();
|
|
break;
|
|
}
|
|
case 26: {
|
|
dEPRECATEDTypeParameters_.AddEntriesFrom(ref input, _repeated_dEPRECATEDTypeParameters_codec);
|
|
break;
|
|
}
|
|
case 34: {
|
|
if (dEPRECATEDInputs0_ == null) {
|
|
DEPRECATEDInputs0 = new global::CircuitsV2.Protobuf.DEPRECATED_ListDictionaryData();
|
|
}
|
|
input.ReadMessage(DEPRECATEDInputs0);
|
|
break;
|
|
}
|
|
case 42: {
|
|
if (dEPRECATEDOutputs0_ == null) {
|
|
DEPRECATEDOutputs0 = new global::CircuitsV2.Protobuf.DEPRECATED_ListDictionaryData();
|
|
}
|
|
input.ReadMessage(DEPRECATEDOutputs0);
|
|
break;
|
|
}
|
|
case 50: {
|
|
dEPRECATEDInputs1_.AddEntriesFrom(ref input, _repeated_dEPRECATEDInputs1_codec);
|
|
break;
|
|
}
|
|
case 58: {
|
|
dEPRECATEDOutputs1_.AddEntriesFrom(ref input, _repeated_dEPRECATEDOutputs1_codec);
|
|
break;
|
|
}
|
|
case 66: {
|
|
inputs_.AddEntriesFrom(ref input, _repeated_inputs_codec);
|
|
break;
|
|
}
|
|
case 74: {
|
|
outputs_.AddEntriesFrom(ref input, _repeated_outputs_codec);
|
|
break;
|
|
}
|
|
case 82: {
|
|
typeParameters_.AddEntriesFrom(ref input, _repeated_typeParameters_codec);
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|