Protobuf...

This commit is contained in:
2026-05-10 13:39:01 -07:00
commit c1830ab510
421 changed files with 313428 additions and 0 deletions

415
EntityDefinitionData.cs Normal file
View File

@@ -0,0 +1,415 @@
// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: circuits_v2/entity_definition_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/entity_definition_data.proto</summary>
public static partial class EntityDefinitionDataReflection {
#region Descriptor
/// <summary>File descriptor for circuits_v2/entity_definition_data.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static EntityDefinitionDataReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"CihjaXJjdWl0c192Mi9lbnRpdHlfZGVmaW5pdGlvbl9kYXRhLnByb3RvEgtj",
"aXJjdWl0c192MhovY2lyY3VpdHNfdjIvdGVzdF9pbnRlZ2VyX2VudGl0eV9j",
"b3JlX2RhdGEucHJvdG8aM2NpcmN1aXRzX3YyL3Rlc3RfaW50ZWdlcl9lbnRp",
"dHlfcHJvdmlkZXJfZGF0YS5wcm90byLbAQoURW50aXR5RGVmaW5pdGlvbkRh",
"dGESCwoDaWR4GAEgASgFEhQKDGNvbnRleHRJbmRleBgCIAEoBRINCgVzY29w",
"ZRgDIAEoBRJDChN0ZXN0X2ludGVnZXJfZW50aXR5GBAgASgLMiYuY2lyY3Vp",
"dHNfdjIuVGVzdEludGVnZXJFbnRpdHlDb3JlRGF0YRJMChh0ZXN0X2ludGVn",
"ZXJfZW50aXR5X2RhdGEYESABKAsyKi5jaXJjdWl0c192Mi5UZXN0SW50ZWdl",
"ckVudGl0eVByb3ZpZGVyRGF0YUIWqgITQ2lyY3VpdHNWMi5Qcm90b2J1ZmIG",
"cHJvdG8z"));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::CircuitsV2.Protobuf.TestIntegerEntityCoreDataReflection.Descriptor, global::CircuitsV2.Protobuf.TestIntegerEntityProviderDataReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::CircuitsV2.Protobuf.EntityDefinitionData), global::CircuitsV2.Protobuf.EntityDefinitionData.Parser, new[]{ "Idx", "ContextIndex", "Scope", "TestIntegerEntity", "TestIntegerEntityData" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class EntityDefinitionData : pb::IMessage<EntityDefinitionData>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<EntityDefinitionData> _parser = new pb::MessageParser<EntityDefinitionData>(() => new EntityDefinitionData());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<EntityDefinitionData> 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.EntityDefinitionDataReflection.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 EntityDefinitionData() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public EntityDefinitionData(EntityDefinitionData other) : this() {
idx_ = other.idx_;
contextIndex_ = other.contextIndex_;
scope_ = other.scope_;
testIntegerEntity_ = other.testIntegerEntity_ != null ? other.testIntegerEntity_.Clone() : null;
testIntegerEntityData_ = other.testIntegerEntityData_ != null ? other.testIntegerEntityData_.Clone() : null;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public EntityDefinitionData Clone() {
return new EntityDefinitionData(this);
}
/// <summary>Field number for the "idx" field.</summary>
public const int IdxFieldNumber = 1;
private int idx_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int Idx {
get { return idx_; }
set {
idx_ = value;
}
}
/// <summary>Field number for the "contextIndex" field.</summary>
public const int ContextIndexFieldNumber = 2;
private int contextIndex_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int ContextIndex {
get { return contextIndex_; }
set {
contextIndex_ = value;
}
}
/// <summary>Field number for the "scope" field.</summary>
public const int ScopeFieldNumber = 3;
private int scope_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int Scope {
get { return scope_; }
set {
scope_ = value;
}
}
/// <summary>Field number for the "test_integer_entity" field.</summary>
public const int TestIntegerEntityFieldNumber = 16;
private global::CircuitsV2.Protobuf.TestIntegerEntityCoreData testIntegerEntity_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::CircuitsV2.Protobuf.TestIntegerEntityCoreData TestIntegerEntity {
get { return testIntegerEntity_; }
set {
testIntegerEntity_ = value;
}
}
/// <summary>Field number for the "test_integer_entity_data" field.</summary>
public const int TestIntegerEntityDataFieldNumber = 17;
private global::CircuitsV2.Protobuf.TestIntegerEntityProviderData testIntegerEntityData_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::CircuitsV2.Protobuf.TestIntegerEntityProviderData TestIntegerEntityData {
get { return testIntegerEntityData_; }
set {
testIntegerEntityData_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as EntityDefinitionData);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(EntityDefinitionData other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Idx != other.Idx) return false;
if (ContextIndex != other.ContextIndex) return false;
if (Scope != other.Scope) return false;
if (!object.Equals(TestIntegerEntity, other.TestIntegerEntity)) return false;
if (!object.Equals(TestIntegerEntityData, other.TestIntegerEntityData)) 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 (Idx != 0) hash ^= Idx.GetHashCode();
if (ContextIndex != 0) hash ^= ContextIndex.GetHashCode();
if (Scope != 0) hash ^= Scope.GetHashCode();
if (testIntegerEntity_ != null) hash ^= TestIntegerEntity.GetHashCode();
if (testIntegerEntityData_ != null) hash ^= TestIntegerEntityData.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 (Idx != 0) {
output.WriteRawTag(8);
output.WriteInt32(Idx);
}
if (ContextIndex != 0) {
output.WriteRawTag(16);
output.WriteInt32(ContextIndex);
}
if (Scope != 0) {
output.WriteRawTag(24);
output.WriteInt32(Scope);
}
if (testIntegerEntity_ != null) {
output.WriteRawTag(130, 1);
output.WriteMessage(TestIntegerEntity);
}
if (testIntegerEntityData_ != null) {
output.WriteRawTag(138, 1);
output.WriteMessage(TestIntegerEntityData);
}
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 (Idx != 0) {
output.WriteRawTag(8);
output.WriteInt32(Idx);
}
if (ContextIndex != 0) {
output.WriteRawTag(16);
output.WriteInt32(ContextIndex);
}
if (Scope != 0) {
output.WriteRawTag(24);
output.WriteInt32(Scope);
}
if (testIntegerEntity_ != null) {
output.WriteRawTag(130, 1);
output.WriteMessage(TestIntegerEntity);
}
if (testIntegerEntityData_ != null) {
output.WriteRawTag(138, 1);
output.WriteMessage(TestIntegerEntityData);
}
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 (Idx != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Idx);
}
if (ContextIndex != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(ContextIndex);
}
if (Scope != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Scope);
}
if (testIntegerEntity_ != null) {
size += 2 + pb::CodedOutputStream.ComputeMessageSize(TestIntegerEntity);
}
if (testIntegerEntityData_ != null) {
size += 2 + pb::CodedOutputStream.ComputeMessageSize(TestIntegerEntityData);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(EntityDefinitionData other) {
if (other == null) {
return;
}
if (other.Idx != 0) {
Idx = other.Idx;
}
if (other.ContextIndex != 0) {
ContextIndex = other.ContextIndex;
}
if (other.Scope != 0) {
Scope = other.Scope;
}
if (other.testIntegerEntity_ != null) {
if (testIntegerEntity_ == null) {
TestIntegerEntity = new global::CircuitsV2.Protobuf.TestIntegerEntityCoreData();
}
TestIntegerEntity.MergeFrom(other.TestIntegerEntity);
}
if (other.testIntegerEntityData_ != null) {
if (testIntegerEntityData_ == null) {
TestIntegerEntityData = new global::CircuitsV2.Protobuf.TestIntegerEntityProviderData();
}
TestIntegerEntityData.MergeFrom(other.TestIntegerEntityData);
}
_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: {
Idx = input.ReadInt32();
break;
}
case 16: {
ContextIndex = input.ReadInt32();
break;
}
case 24: {
Scope = input.ReadInt32();
break;
}
case 130: {
if (testIntegerEntity_ == null) {
TestIntegerEntity = new global::CircuitsV2.Protobuf.TestIntegerEntityCoreData();
}
input.ReadMessage(TestIntegerEntity);
break;
}
case 138: {
if (testIntegerEntityData_ == null) {
TestIntegerEntityData = new global::CircuitsV2.Protobuf.TestIntegerEntityProviderData();
}
input.ReadMessage(TestIntegerEntityData);
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: {
Idx = input.ReadInt32();
break;
}
case 16: {
ContextIndex = input.ReadInt32();
break;
}
case 24: {
Scope = input.ReadInt32();
break;
}
case 130: {
if (testIntegerEntity_ == null) {
TestIntegerEntity = new global::CircuitsV2.Protobuf.TestIntegerEntityCoreData();
}
input.ReadMessage(TestIntegerEntity);
break;
}
case 138: {
if (testIntegerEntityData_ == null) {
TestIntegerEntityData = new global::CircuitsV2.Protobuf.TestIntegerEntityProviderData();
}
input.ReadMessage(TestIntegerEntityData);
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code