373 lines
14 KiB
C#
373 lines
14 KiB
C#
// <auto-generated>
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: circuits_v2/function_decl_inst_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/function_decl_inst_data.proto</summary>
|
|
public static partial class FunctionDeclInstDataReflection {
|
|
|
|
#region Descriptor
|
|
/// <summary>File descriptor for circuits_v2/function_decl_inst_data.proto</summary>
|
|
public static pbr::FileDescriptor Descriptor {
|
|
get { return descriptor; }
|
|
}
|
|
private static pbr::FileDescriptor descriptor;
|
|
|
|
static FunctionDeclInstDataReflection() {
|
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
string.Concat(
|
|
"CiljaXJjdWl0c192Mi9mdW5jdGlvbl9kZWNsX2luc3RfZGF0YS5wcm90bxIL",
|
|
"Y2lyY3VpdHNfdjIaLmNpcmN1aXRzL3N0YXRpYy9yZWNfcm9vbS9uYW1lZF90",
|
|
"eXBlX2RhdGEucHJvdG8ipwEKFEZ1bmN0aW9uRGVjbEluc3REYXRhEg4KBmZp",
|
|
"bHRlchgCIAEoCRInCgZpbnB1dHMYAyADKAsyFy5jaXJjdWl0cy5OYW1lZFR5",
|
|
"cGVEYXRhEigKB291dHB1dHMYBCADKAsyFy5jaXJjdWl0cy5OYW1lZFR5cGVE",
|
|
"YXRhEhMKC2Rlc2NyaXB0aW9uGAUgASgJEhcKD0RFUFJFQ0FURURfbmFtZRgB",
|
|
"IAEoCUIWqgITQ2lyY3VpdHNWMi5Qcm90b2J1ZmIGcHJvdG8z"));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { global::Circuits.Static.RecRoom.Protobuf.NamedTypeDataReflection.Descriptor, },
|
|
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::CircuitsV2.Protobuf.FunctionDeclInstData), global::CircuitsV2.Protobuf.FunctionDeclInstData.Parser, new[]{ "Filter", "Inputs", "Outputs", "Description", "DEPRECATEDName" }, null, null, null, null)
|
|
}));
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
#region Messages
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class FunctionDeclInstData : pb::IMessage<FunctionDeclInstData>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<FunctionDeclInstData> _parser = new pb::MessageParser<FunctionDeclInstData>(() => new FunctionDeclInstData());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<FunctionDeclInstData> 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.FunctionDeclInstDataReflection.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 FunctionDeclInstData() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public FunctionDeclInstData(FunctionDeclInstData other) : this() {
|
|
filter_ = other.filter_;
|
|
inputs_ = other.inputs_.Clone();
|
|
outputs_ = other.outputs_.Clone();
|
|
description_ = other.description_;
|
|
dEPRECATEDName_ = other.dEPRECATEDName_;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public FunctionDeclInstData Clone() {
|
|
return new FunctionDeclInstData(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "filter" field.</summary>
|
|
public const int FilterFieldNumber = 2;
|
|
private string filter_ = "";
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public string Filter {
|
|
get { return filter_; }
|
|
set {
|
|
filter_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "inputs" field.</summary>
|
|
public const int InputsFieldNumber = 3;
|
|
private static readonly pb::FieldCodec<global::Circuits.Static.RecRoom.Protobuf.NamedTypeData> _repeated_inputs_codec
|
|
= pb::FieldCodec.ForMessage(26, global::Circuits.Static.RecRoom.Protobuf.NamedTypeData.Parser);
|
|
private readonly pbc::RepeatedField<global::Circuits.Static.RecRoom.Protobuf.NamedTypeData> inputs_ = new pbc::RepeatedField<global::Circuits.Static.RecRoom.Protobuf.NamedTypeData>();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public pbc::RepeatedField<global::Circuits.Static.RecRoom.Protobuf.NamedTypeData> Inputs {
|
|
get { return inputs_; }
|
|
}
|
|
|
|
/// <summary>Field number for the "outputs" field.</summary>
|
|
public const int OutputsFieldNumber = 4;
|
|
private static readonly pb::FieldCodec<global::Circuits.Static.RecRoom.Protobuf.NamedTypeData> _repeated_outputs_codec
|
|
= pb::FieldCodec.ForMessage(34, global::Circuits.Static.RecRoom.Protobuf.NamedTypeData.Parser);
|
|
private readonly pbc::RepeatedField<global::Circuits.Static.RecRoom.Protobuf.NamedTypeData> outputs_ = new pbc::RepeatedField<global::Circuits.Static.RecRoom.Protobuf.NamedTypeData>();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public pbc::RepeatedField<global::Circuits.Static.RecRoom.Protobuf.NamedTypeData> Outputs {
|
|
get { return outputs_; }
|
|
}
|
|
|
|
/// <summary>Field number for the "description" field.</summary>
|
|
public const int DescriptionFieldNumber = 5;
|
|
private string description_ = "";
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public string Description {
|
|
get { return description_; }
|
|
set {
|
|
description_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "DEPRECATED_name" field.</summary>
|
|
public const int DEPRECATEDNameFieldNumber = 1;
|
|
private string dEPRECATEDName_ = "";
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public string DEPRECATEDName {
|
|
get { return dEPRECATEDName_; }
|
|
set {
|
|
dEPRECATEDName_ = 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 FunctionDeclInstData);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(FunctionDeclInstData other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (Filter != other.Filter) return false;
|
|
if(!inputs_.Equals(other.inputs_)) return false;
|
|
if(!outputs_.Equals(other.outputs_)) return false;
|
|
if (Description != other.Description) return false;
|
|
if (DEPRECATEDName != other.DEPRECATEDName) 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 (Filter.Length != 0) hash ^= Filter.GetHashCode();
|
|
hash ^= inputs_.GetHashCode();
|
|
hash ^= outputs_.GetHashCode();
|
|
if (Description.Length != 0) hash ^= Description.GetHashCode();
|
|
if (DEPRECATEDName.Length != 0) hash ^= DEPRECATEDName.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 (DEPRECATEDName.Length != 0) {
|
|
output.WriteRawTag(10);
|
|
output.WriteString(DEPRECATEDName);
|
|
}
|
|
if (Filter.Length != 0) {
|
|
output.WriteRawTag(18);
|
|
output.WriteString(Filter);
|
|
}
|
|
inputs_.WriteTo(output, _repeated_inputs_codec);
|
|
outputs_.WriteTo(output, _repeated_outputs_codec);
|
|
if (Description.Length != 0) {
|
|
output.WriteRawTag(42);
|
|
output.WriteString(Description);
|
|
}
|
|
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 (DEPRECATEDName.Length != 0) {
|
|
output.WriteRawTag(10);
|
|
output.WriteString(DEPRECATEDName);
|
|
}
|
|
if (Filter.Length != 0) {
|
|
output.WriteRawTag(18);
|
|
output.WriteString(Filter);
|
|
}
|
|
inputs_.WriteTo(ref output, _repeated_inputs_codec);
|
|
outputs_.WriteTo(ref output, _repeated_outputs_codec);
|
|
if (Description.Length != 0) {
|
|
output.WriteRawTag(42);
|
|
output.WriteString(Description);
|
|
}
|
|
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 (Filter.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(Filter);
|
|
}
|
|
size += inputs_.CalculateSize(_repeated_inputs_codec);
|
|
size += outputs_.CalculateSize(_repeated_outputs_codec);
|
|
if (Description.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(Description);
|
|
}
|
|
if (DEPRECATEDName.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(DEPRECATEDName);
|
|
}
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(FunctionDeclInstData other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.Filter.Length != 0) {
|
|
Filter = other.Filter;
|
|
}
|
|
inputs_.Add(other.inputs_);
|
|
outputs_.Add(other.outputs_);
|
|
if (other.Description.Length != 0) {
|
|
Description = other.Description;
|
|
}
|
|
if (other.DEPRECATEDName.Length != 0) {
|
|
DEPRECATEDName = other.DEPRECATEDName;
|
|
}
|
|
_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: {
|
|
DEPRECATEDName = input.ReadString();
|
|
break;
|
|
}
|
|
case 18: {
|
|
Filter = input.ReadString();
|
|
break;
|
|
}
|
|
case 26: {
|
|
inputs_.AddEntriesFrom(input, _repeated_inputs_codec);
|
|
break;
|
|
}
|
|
case 34: {
|
|
outputs_.AddEntriesFrom(input, _repeated_outputs_codec);
|
|
break;
|
|
}
|
|
case 42: {
|
|
Description = 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 10: {
|
|
DEPRECATEDName = input.ReadString();
|
|
break;
|
|
}
|
|
case 18: {
|
|
Filter = input.ReadString();
|
|
break;
|
|
}
|
|
case 26: {
|
|
inputs_.AddEntriesFrom(ref input, _repeated_inputs_codec);
|
|
break;
|
|
}
|
|
case 34: {
|
|
outputs_.AddEntriesFrom(ref input, _repeated_outputs_codec);
|
|
break;
|
|
}
|
|
case 42: {
|
|
Description = input.ReadString();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|