Protobuf...
This commit is contained in:
284
StudioFunctionRegistrationData.cs
Normal file
284
StudioFunctionRegistrationData.cs
Normal file
@@ -0,0 +1,284 @@
|
||||
// <auto-generated>
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: circuits_v2/studio_functions/studio_function_registration_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_registration_data.proto</summary>
|
||||
public static partial class StudioFunctionRegistrationDataReflection {
|
||||
|
||||
#region Descriptor
|
||||
/// <summary>File descriptor for circuits_v2/studio_functions/studio_function_registration_data.proto</summary>
|
||||
public static pbr::FileDescriptor Descriptor {
|
||||
get { return descriptor; }
|
||||
}
|
||||
private static pbr::FileDescriptor descriptor;
|
||||
|
||||
static StudioFunctionRegistrationDataReflection() {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"CkRjaXJjdWl0c192Mi9zdHVkaW9fZnVuY3Rpb25zL3N0dWRpb19mdW5jdGlv",
|
||||
"bl9yZWdpc3RyYXRpb25fZGF0YS5wcm90bxILY2lyY3VpdHNfdjIaQmNpcmN1",
|
||||
"aXRzX3YyL3N0dWRpb19mdW5jdGlvbnMvc3R1ZGlvX2Z1bmN0aW9uX2RlZmlu",
|
||||
"aXRpb25fZGF0YS5wcm90bxpBY2lyY3VpdHNfdjIvc3R1ZGlvX2Z1bmN0aW9u",
|
||||
"cy9zdHVkaW9fZnVuY3Rpb25fc2lnbmF0dXJlX2RhdGEucHJvdG8inQEKHlN0",
|
||||
"dWRpb0Z1bmN0aW9uUmVnaXN0cmF0aW9uRGF0YRI7CglzaWduYXR1cmUYASAB",
|
||||
"KAsyKC5jaXJjdWl0c192Mi5TdHVkaW9GdW5jdGlvblNpZ25hdHVyZURhdGES",
|
||||
"PgoLZGVmaW5pdGlvbnMYAiADKAsyKS5jaXJjdWl0c192Mi5TdHVkaW9GdW5j",
|
||||
"dGlvbkRlZmluaXRpb25EYXRhQhaqAhNDaXJjdWl0c1YyLlByb3RvYnVmYgZw",
|
||||
"cm90bzM="));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { global::CircuitsV2.Protobuf.StudioFunctionDefinitionDataReflection.Descriptor, global::CircuitsV2.Protobuf.StudioFunctionSignatureDataReflection.Descriptor, },
|
||||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::CircuitsV2.Protobuf.StudioFunctionRegistrationData), global::CircuitsV2.Protobuf.StudioFunctionRegistrationData.Parser, new[]{ "Signature", "Definitions" }, null, null, null, null)
|
||||
}));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
#region Messages
|
||||
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||||
public sealed partial class StudioFunctionRegistrationData : pb::IMessage<StudioFunctionRegistrationData>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<StudioFunctionRegistrationData> _parser = new pb::MessageParser<StudioFunctionRegistrationData>(() => new StudioFunctionRegistrationData());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<StudioFunctionRegistrationData> 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.StudioFunctionRegistrationDataReflection.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 StudioFunctionRegistrationData() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public StudioFunctionRegistrationData(StudioFunctionRegistrationData other) : this() {
|
||||
signature_ = other.signature_ != null ? other.signature_.Clone() : null;
|
||||
definitions_ = other.definitions_.Clone();
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public StudioFunctionRegistrationData Clone() {
|
||||
return new StudioFunctionRegistrationData(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "signature" field.</summary>
|
||||
public const int SignatureFieldNumber = 1;
|
||||
private global::CircuitsV2.Protobuf.StudioFunctionSignatureData signature_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public global::CircuitsV2.Protobuf.StudioFunctionSignatureData Signature {
|
||||
get { return signature_; }
|
||||
set {
|
||||
signature_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "definitions" field.</summary>
|
||||
public const int DefinitionsFieldNumber = 2;
|
||||
private static readonly pb::FieldCodec<global::CircuitsV2.Protobuf.StudioFunctionDefinitionData> _repeated_definitions_codec
|
||||
= pb::FieldCodec.ForMessage(18, global::CircuitsV2.Protobuf.StudioFunctionDefinitionData.Parser);
|
||||
private readonly pbc::RepeatedField<global::CircuitsV2.Protobuf.StudioFunctionDefinitionData> definitions_ = new pbc::RepeatedField<global::CircuitsV2.Protobuf.StudioFunctionDefinitionData>();
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public pbc::RepeatedField<global::CircuitsV2.Protobuf.StudioFunctionDefinitionData> Definitions {
|
||||
get { return definitions_; }
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as StudioFunctionRegistrationData);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(StudioFunctionRegistrationData other) {
|
||||
if (ReferenceEquals(other, null)) {
|
||||
return false;
|
||||
}
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if (!object.Equals(Signature, other.Signature)) return false;
|
||||
if(!definitions_.Equals(other.definitions_)) 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 (signature_ != null) hash ^= Signature.GetHashCode();
|
||||
hash ^= definitions_.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 (signature_ != null) {
|
||||
output.WriteRawTag(10);
|
||||
output.WriteMessage(Signature);
|
||||
}
|
||||
definitions_.WriteTo(output, _repeated_definitions_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 (signature_ != null) {
|
||||
output.WriteRawTag(10);
|
||||
output.WriteMessage(Signature);
|
||||
}
|
||||
definitions_.WriteTo(ref output, _repeated_definitions_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 (signature_ != null) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Signature);
|
||||
}
|
||||
size += definitions_.CalculateSize(_repeated_definitions_codec);
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(StudioFunctionRegistrationData other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
if (other.signature_ != null) {
|
||||
if (signature_ == null) {
|
||||
Signature = new global::CircuitsV2.Protobuf.StudioFunctionSignatureData();
|
||||
}
|
||||
Signature.MergeFrom(other.Signature);
|
||||
}
|
||||
definitions_.Add(other.definitions_);
|
||||
_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 (signature_ == null) {
|
||||
Signature = new global::CircuitsV2.Protobuf.StudioFunctionSignatureData();
|
||||
}
|
||||
input.ReadMessage(Signature);
|
||||
break;
|
||||
}
|
||||
case 18: {
|
||||
definitions_.AddEntriesFrom(input, _repeated_definitions_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: {
|
||||
if (signature_ == null) {
|
||||
Signature = new global::CircuitsV2.Protobuf.StudioFunctionSignatureData();
|
||||
}
|
||||
input.ReadMessage(Signature);
|
||||
break;
|
||||
}
|
||||
case 18: {
|
||||
definitions_.AddEntriesFrom(ref input, _repeated_definitions_codec);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion Designer generated code
|
||||
Reference in New Issue
Block a user