Files
RecRoom.Protobuf/StudioFunctionNodeData.cs
2026-05-10 13:39:01 -07:00

292 lines
11 KiB
C#

// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: circuits_v2/studio_functions/studio_function_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/studio_functions/studio_function_node_data.proto</summary>
public static partial class StudioFunctionNodeDataReflection {
#region Descriptor
/// <summary>File descriptor for circuits_v2/studio_functions/studio_function_node_data.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static StudioFunctionNodeDataReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"CjxjaXJjdWl0c192Mi9zdHVkaW9fZnVuY3Rpb25zL3N0dWRpb19mdW5jdGlv",
"bl9ub2RlX2RhdGEucHJvdG8SC2NpcmN1aXRzX3YyGiBjaXJjdWl0c192Mi9u",
"b2RlX2Rlc2NfZGF0YS5wcm90byJmChZTdHVkaW9GdW5jdGlvbk5vZGVEYXRh",
"EhMKC2Z1bmN0aW9uX2lkGAEgASgFEjcKFERFUFJFQ0FURURfbm9kZV9kZXNj",
"GAIgASgLMhkuY2lyY3VpdHNfdjIuTm9kZURlc2NEYXRhQhaqAhNDaXJjdWl0",
"c1YyLlByb3RvYnVmYgZwcm90bzM="));
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.StudioFunctionNodeData), global::CircuitsV2.Protobuf.StudioFunctionNodeData.Parser, new[]{ "FunctionId", "DEPRECATEDNodeDesc" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class StudioFunctionNodeData : pb::IMessage<StudioFunctionNodeData>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<StudioFunctionNodeData> _parser = new pb::MessageParser<StudioFunctionNodeData>(() => new StudioFunctionNodeData());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<StudioFunctionNodeData> 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.StudioFunctionNodeDataReflection.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 StudioFunctionNodeData() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public StudioFunctionNodeData(StudioFunctionNodeData other) : this() {
functionId_ = other.functionId_;
dEPRECATEDNodeDesc_ = other.dEPRECATEDNodeDesc_ != null ? other.dEPRECATEDNodeDesc_.Clone() : null;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public StudioFunctionNodeData Clone() {
return new StudioFunctionNodeData(this);
}
/// <summary>Field number for the "function_id" field.</summary>
public const int FunctionIdFieldNumber = 1;
private int functionId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int FunctionId {
get { return functionId_; }
set {
functionId_ = value;
}
}
/// <summary>Field number for the "DEPRECATED_node_desc" field.</summary>
public const int DEPRECATEDNodeDescFieldNumber = 2;
private global::CircuitsV2.Protobuf.NodeDescData dEPRECATEDNodeDesc_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::CircuitsV2.Protobuf.NodeDescData DEPRECATEDNodeDesc {
get { return dEPRECATEDNodeDesc_; }
set {
dEPRECATEDNodeDesc_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as StudioFunctionNodeData);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(StudioFunctionNodeData other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (FunctionId != other.FunctionId) return false;
if (!object.Equals(DEPRECATEDNodeDesc, other.DEPRECATEDNodeDesc)) 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 (FunctionId != 0) hash ^= FunctionId.GetHashCode();
if (dEPRECATEDNodeDesc_ != null) hash ^= DEPRECATEDNodeDesc.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 (FunctionId != 0) {
output.WriteRawTag(8);
output.WriteInt32(FunctionId);
}
if (dEPRECATEDNodeDesc_ != null) {
output.WriteRawTag(18);
output.WriteMessage(DEPRECATEDNodeDesc);
}
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 (FunctionId != 0) {
output.WriteRawTag(8);
output.WriteInt32(FunctionId);
}
if (dEPRECATEDNodeDesc_ != null) {
output.WriteRawTag(18);
output.WriteMessage(DEPRECATEDNodeDesc);
}
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 (FunctionId != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(FunctionId);
}
if (dEPRECATEDNodeDesc_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(DEPRECATEDNodeDesc);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(StudioFunctionNodeData other) {
if (other == null) {
return;
}
if (other.FunctionId != 0) {
FunctionId = other.FunctionId;
}
if (other.dEPRECATEDNodeDesc_ != null) {
if (dEPRECATEDNodeDesc_ == null) {
DEPRECATEDNodeDesc = new global::CircuitsV2.Protobuf.NodeDescData();
}
DEPRECATEDNodeDesc.MergeFrom(other.DEPRECATEDNodeDesc);
}
_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: {
FunctionId = input.ReadInt32();
break;
}
case 18: {
if (dEPRECATEDNodeDesc_ == null) {
DEPRECATEDNodeDesc = new global::CircuitsV2.Protobuf.NodeDescData();
}
input.ReadMessage(DEPRECATEDNodeDesc);
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: {
FunctionId = input.ReadInt32();
break;
}
case 18: {
if (dEPRECATEDNodeDesc_ == null) {
DEPRECATEDNodeDesc = new global::CircuitsV2.Protobuf.NodeDescData();
}
input.ReadMessage(DEPRECATEDNodeDesc);
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code