351 lines
13 KiB
C#
351 lines
13 KiB
C#
// <auto-generated>
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: circuits/static/core/graph_system/graph_sys_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 Circuits.Static.Core.GraphSystem.Protobuf {
|
|
|
|
/// <summary>Holder for reflection information generated from circuits/static/core/graph_system/graph_sys_data.proto</summary>
|
|
public static partial class GraphSysDataReflection {
|
|
|
|
#region Descriptor
|
|
/// <summary>File descriptor for circuits/static/core/graph_system/graph_sys_data.proto</summary>
|
|
public static pbr::FileDescriptor Descriptor {
|
|
get { return descriptor; }
|
|
}
|
|
private static pbr::FileDescriptor descriptor;
|
|
|
|
static GraphSysDataReflection() {
|
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
string.Concat(
|
|
"CjZjaXJjdWl0cy9zdGF0aWMvY29yZS9ncmFwaF9zeXN0ZW0vZ3JhcGhfc3lz",
|
|
"X2RhdGEucHJvdG8SCGNpcmN1aXRzGjNjaXJjdWl0cy9zdGF0aWMvY29yZS9n",
|
|
"cmFwaF9zeXN0ZW0vaW5wdXRzX2RhdGEucHJvdG8aMmNpcmN1aXRzL3N0YXRp",
|
|
"Yy9jb3JlL2dyYXBoX3N5c3RlbS9ub2Rlc19kYXRhLnByb3RvGjRjaXJjdWl0",
|
|
"cy9zdGF0aWMvY29yZS9ncmFwaF9zeXN0ZW0vb3V0cHV0c19kYXRhLnByb3Rv",
|
|
"IoABCgxHcmFwaFN5c0RhdGESJAoGaW5wdXRzGAEgASgLMhQuY2lyY3VpdHMu",
|
|
"SW5wdXRzRGF0YRImCgdvdXRwdXRzGAIgASgLMhUuY2lyY3VpdHMuT3V0cHV0",
|
|
"c0RhdGESIgoFbm9kZXMYAyABKAsyEy5jaXJjdWl0cy5Ob2Rlc0RhdGFCLKoC",
|
|
"KUNpcmN1aXRzLlN0YXRpYy5Db3JlLkdyYXBoU3lzdGVtLlByb3RvYnVmYgZw",
|
|
"cm90bzM="));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { global::Circuits.Static.Core.GraphSystem.Protobuf.InputsDataReflection.Descriptor, global::Circuits.Static.Core.GraphSystem.Protobuf.NodesDataReflection.Descriptor, global::Circuits.Static.Core.GraphSystem.Protobuf.OutputsDataReflection.Descriptor, },
|
|
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::Circuits.Static.Core.GraphSystem.Protobuf.GraphSysData), global::Circuits.Static.Core.GraphSystem.Protobuf.GraphSysData.Parser, new[]{ "Inputs", "Outputs", "Nodes" }, null, null, null, null)
|
|
}));
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
#region Messages
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class GraphSysData : pb::IMessage<GraphSysData>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<GraphSysData> _parser = new pb::MessageParser<GraphSysData>(() => new GraphSysData());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<GraphSysData> Parser { get { return _parser; } }
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pbr::MessageDescriptor Descriptor {
|
|
get { return global::Circuits.Static.Core.GraphSystem.Protobuf.GraphSysDataReflection.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 GraphSysData() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public GraphSysData(GraphSysData other) : this() {
|
|
inputs_ = other.inputs_ != null ? other.inputs_.Clone() : null;
|
|
outputs_ = other.outputs_ != null ? other.outputs_.Clone() : null;
|
|
nodes_ = other.nodes_ != null ? other.nodes_.Clone() : null;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public GraphSysData Clone() {
|
|
return new GraphSysData(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "inputs" field.</summary>
|
|
public const int InputsFieldNumber = 1;
|
|
private global::Circuits.Static.Core.GraphSystem.Protobuf.InputsData inputs_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public global::Circuits.Static.Core.GraphSystem.Protobuf.InputsData Inputs {
|
|
get { return inputs_; }
|
|
set {
|
|
inputs_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "outputs" field.</summary>
|
|
public const int OutputsFieldNumber = 2;
|
|
private global::Circuits.Static.Core.GraphSystem.Protobuf.OutputsData outputs_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public global::Circuits.Static.Core.GraphSystem.Protobuf.OutputsData Outputs {
|
|
get { return outputs_; }
|
|
set {
|
|
outputs_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "nodes" field.</summary>
|
|
public const int NodesFieldNumber = 3;
|
|
private global::Circuits.Static.Core.GraphSystem.Protobuf.NodesData nodes_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public global::Circuits.Static.Core.GraphSystem.Protobuf.NodesData Nodes {
|
|
get { return nodes_; }
|
|
set {
|
|
nodes_ = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as GraphSysData);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(GraphSysData other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (!object.Equals(Inputs, other.Inputs)) return false;
|
|
if (!object.Equals(Outputs, other.Outputs)) return false;
|
|
if (!object.Equals(Nodes, other.Nodes)) 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 (inputs_ != null) hash ^= Inputs.GetHashCode();
|
|
if (outputs_ != null) hash ^= Outputs.GetHashCode();
|
|
if (nodes_ != null) hash ^= Nodes.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 (inputs_ != null) {
|
|
output.WriteRawTag(10);
|
|
output.WriteMessage(Inputs);
|
|
}
|
|
if (outputs_ != null) {
|
|
output.WriteRawTag(18);
|
|
output.WriteMessage(Outputs);
|
|
}
|
|
if (nodes_ != null) {
|
|
output.WriteRawTag(26);
|
|
output.WriteMessage(Nodes);
|
|
}
|
|
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 (inputs_ != null) {
|
|
output.WriteRawTag(10);
|
|
output.WriteMessage(Inputs);
|
|
}
|
|
if (outputs_ != null) {
|
|
output.WriteRawTag(18);
|
|
output.WriteMessage(Outputs);
|
|
}
|
|
if (nodes_ != null) {
|
|
output.WriteRawTag(26);
|
|
output.WriteMessage(Nodes);
|
|
}
|
|
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 (inputs_ != null) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Inputs);
|
|
}
|
|
if (outputs_ != null) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Outputs);
|
|
}
|
|
if (nodes_ != null) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Nodes);
|
|
}
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(GraphSysData other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.inputs_ != null) {
|
|
if (inputs_ == null) {
|
|
Inputs = new global::Circuits.Static.Core.GraphSystem.Protobuf.InputsData();
|
|
}
|
|
Inputs.MergeFrom(other.Inputs);
|
|
}
|
|
if (other.outputs_ != null) {
|
|
if (outputs_ == null) {
|
|
Outputs = new global::Circuits.Static.Core.GraphSystem.Protobuf.OutputsData();
|
|
}
|
|
Outputs.MergeFrom(other.Outputs);
|
|
}
|
|
if (other.nodes_ != null) {
|
|
if (nodes_ == null) {
|
|
Nodes = new global::Circuits.Static.Core.GraphSystem.Protobuf.NodesData();
|
|
}
|
|
Nodes.MergeFrom(other.Nodes);
|
|
}
|
|
_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 (inputs_ == null) {
|
|
Inputs = new global::Circuits.Static.Core.GraphSystem.Protobuf.InputsData();
|
|
}
|
|
input.ReadMessage(Inputs);
|
|
break;
|
|
}
|
|
case 18: {
|
|
if (outputs_ == null) {
|
|
Outputs = new global::Circuits.Static.Core.GraphSystem.Protobuf.OutputsData();
|
|
}
|
|
input.ReadMessage(Outputs);
|
|
break;
|
|
}
|
|
case 26: {
|
|
if (nodes_ == null) {
|
|
Nodes = new global::Circuits.Static.Core.GraphSystem.Protobuf.NodesData();
|
|
}
|
|
input.ReadMessage(Nodes);
|
|
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 (inputs_ == null) {
|
|
Inputs = new global::Circuits.Static.Core.GraphSystem.Protobuf.InputsData();
|
|
}
|
|
input.ReadMessage(Inputs);
|
|
break;
|
|
}
|
|
case 18: {
|
|
if (outputs_ == null) {
|
|
Outputs = new global::Circuits.Static.Core.GraphSystem.Protobuf.OutputsData();
|
|
}
|
|
input.ReadMessage(Outputs);
|
|
break;
|
|
}
|
|
case 26: {
|
|
if (nodes_ == null) {
|
|
Nodes = new global::Circuits.Static.Core.GraphSystem.Protobuf.NodesData();
|
|
}
|
|
input.ReadMessage(Nodes);
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|