Protobuf...
This commit is contained in:
329
FunctionCallNodeData.cs
Normal file
329
FunctionCallNodeData.cs
Normal file
@@ -0,0 +1,329 @@
|
||||
// <auto-generated>
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: circuits_v2/function_call_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/function_call_node_data.proto</summary>
|
||||
public static partial class FunctionCallNodeDataReflection {
|
||||
|
||||
#region Descriptor
|
||||
/// <summary>File descriptor for circuits_v2/function_call_node_data.proto</summary>
|
||||
public static pbr::FileDescriptor Descriptor {
|
||||
get { return descriptor; }
|
||||
}
|
||||
private static pbr::FileDescriptor descriptor;
|
||||
|
||||
static FunctionCallNodeDataReflection() {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"CiljaXJjdWl0c192Mi9mdW5jdGlvbl9jYWxsX25vZGVfZGF0YS5wcm90bxIL",
|
||||
"Y2lyY3VpdHNfdjIaIGNpcmN1aXRzX3YyL25vZGVfZGVzY19kYXRhLnByb3Rv",
|
||||
"IpIBChRGdW5jdGlvbkNhbGxOb2RlRGF0YRIsCglub2RlX2Rlc2MYAyABKAsy",
|
||||
"GS5jaXJjdWl0c192Mi5Ob2RlRGVzY0RhdGESIwobREVQUkVDQVRFRF9mdW5j",
|
||||
"dGlvbl9kZWNsX2lkGAEgASgFEicKH0RFUFJFQ0FURURfaGFzX2Z1bmN0aW9u",
|
||||
"X2RlY2xfaWQYAiABKAhCFqoCE0NpcmN1aXRzVjIuUHJvdG9idWZiBnByb3Rv",
|
||||
"Mw=="));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { global::CircuitsV2.Protobuf.NodeDescDataReflection.Descriptor, },
|
||||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::CircuitsV2.Protobuf.FunctionCallNodeData), global::CircuitsV2.Protobuf.FunctionCallNodeData.Parser, new[]{ "NodeDesc", "DEPRECATEDFunctionDeclId", "DEPRECATEDHasFunctionDeclId" }, null, null, null, null)
|
||||
}));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
#region Messages
|
||||
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||||
public sealed partial class FunctionCallNodeData : pb::IMessage<FunctionCallNodeData>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<FunctionCallNodeData> _parser = new pb::MessageParser<FunctionCallNodeData>(() => new FunctionCallNodeData());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<FunctionCallNodeData> 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.FunctionCallNodeDataReflection.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 FunctionCallNodeData() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public FunctionCallNodeData(FunctionCallNodeData other) : this() {
|
||||
nodeDesc_ = other.nodeDesc_ != null ? other.nodeDesc_.Clone() : null;
|
||||
dEPRECATEDFunctionDeclId_ = other.dEPRECATEDFunctionDeclId_;
|
||||
dEPRECATEDHasFunctionDeclId_ = other.dEPRECATEDHasFunctionDeclId_;
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public FunctionCallNodeData Clone() {
|
||||
return new FunctionCallNodeData(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "node_desc" field.</summary>
|
||||
public const int NodeDescFieldNumber = 3;
|
||||
private global::CircuitsV2.Protobuf.NodeDescData nodeDesc_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public global::CircuitsV2.Protobuf.NodeDescData NodeDesc {
|
||||
get { return nodeDesc_; }
|
||||
set {
|
||||
nodeDesc_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "DEPRECATED_function_decl_id" field.</summary>
|
||||
public const int DEPRECATEDFunctionDeclIdFieldNumber = 1;
|
||||
private int dEPRECATEDFunctionDeclId_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int DEPRECATEDFunctionDeclId {
|
||||
get { return dEPRECATEDFunctionDeclId_; }
|
||||
set {
|
||||
dEPRECATEDFunctionDeclId_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "DEPRECATED_has_function_decl_id" field.</summary>
|
||||
public const int DEPRECATEDHasFunctionDeclIdFieldNumber = 2;
|
||||
private bool dEPRECATEDHasFunctionDeclId_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool DEPRECATEDHasFunctionDeclId {
|
||||
get { return dEPRECATEDHasFunctionDeclId_; }
|
||||
set {
|
||||
dEPRECATEDHasFunctionDeclId_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as FunctionCallNodeData);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(FunctionCallNodeData other) {
|
||||
if (ReferenceEquals(other, null)) {
|
||||
return false;
|
||||
}
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if (!object.Equals(NodeDesc, other.NodeDesc)) return false;
|
||||
if (DEPRECATEDFunctionDeclId != other.DEPRECATEDFunctionDeclId) return false;
|
||||
if (DEPRECATEDHasFunctionDeclId != other.DEPRECATEDHasFunctionDeclId) 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 (nodeDesc_ != null) hash ^= NodeDesc.GetHashCode();
|
||||
if (DEPRECATEDFunctionDeclId != 0) hash ^= DEPRECATEDFunctionDeclId.GetHashCode();
|
||||
if (DEPRECATEDHasFunctionDeclId != false) hash ^= DEPRECATEDHasFunctionDeclId.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 (DEPRECATEDFunctionDeclId != 0) {
|
||||
output.WriteRawTag(8);
|
||||
output.WriteInt32(DEPRECATEDFunctionDeclId);
|
||||
}
|
||||
if (DEPRECATEDHasFunctionDeclId != false) {
|
||||
output.WriteRawTag(16);
|
||||
output.WriteBool(DEPRECATEDHasFunctionDeclId);
|
||||
}
|
||||
if (nodeDesc_ != null) {
|
||||
output.WriteRawTag(26);
|
||||
output.WriteMessage(NodeDesc);
|
||||
}
|
||||
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 (DEPRECATEDFunctionDeclId != 0) {
|
||||
output.WriteRawTag(8);
|
||||
output.WriteInt32(DEPRECATEDFunctionDeclId);
|
||||
}
|
||||
if (DEPRECATEDHasFunctionDeclId != false) {
|
||||
output.WriteRawTag(16);
|
||||
output.WriteBool(DEPRECATEDHasFunctionDeclId);
|
||||
}
|
||||
if (nodeDesc_ != null) {
|
||||
output.WriteRawTag(26);
|
||||
output.WriteMessage(NodeDesc);
|
||||
}
|
||||
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 (nodeDesc_ != null) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeMessageSize(NodeDesc);
|
||||
}
|
||||
if (DEPRECATEDFunctionDeclId != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(DEPRECATEDFunctionDeclId);
|
||||
}
|
||||
if (DEPRECATEDHasFunctionDeclId != false) {
|
||||
size += 1 + 1;
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(FunctionCallNodeData other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
if (other.nodeDesc_ != null) {
|
||||
if (nodeDesc_ == null) {
|
||||
NodeDesc = new global::CircuitsV2.Protobuf.NodeDescData();
|
||||
}
|
||||
NodeDesc.MergeFrom(other.NodeDesc);
|
||||
}
|
||||
if (other.DEPRECATEDFunctionDeclId != 0) {
|
||||
DEPRECATEDFunctionDeclId = other.DEPRECATEDFunctionDeclId;
|
||||
}
|
||||
if (other.DEPRECATEDHasFunctionDeclId != false) {
|
||||
DEPRECATEDHasFunctionDeclId = other.DEPRECATEDHasFunctionDeclId;
|
||||
}
|
||||
_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 8: {
|
||||
DEPRECATEDFunctionDeclId = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 16: {
|
||||
DEPRECATEDHasFunctionDeclId = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
case 26: {
|
||||
if (nodeDesc_ == null) {
|
||||
NodeDesc = new global::CircuitsV2.Protobuf.NodeDescData();
|
||||
}
|
||||
input.ReadMessage(NodeDesc);
|
||||
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 8: {
|
||||
DEPRECATEDFunctionDeclId = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 16: {
|
||||
DEPRECATEDHasFunctionDeclId = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
case 26: {
|
||||
if (nodeDesc_ == null) {
|
||||
NodeDesc = new global::CircuitsV2.Protobuf.NodeDescData();
|
||||
}
|
||||
input.ReadMessage(NodeDesc);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion Designer generated code
|
||||
Reference in New Issue
Block a user