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

235 lines
9.1 KiB
C#

// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: circuits_v2/data_table/data_table_registry_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/data_table/data_table_registry_data.proto</summary>
public static partial class DataTableRegistryDataReflection {
#region Descriptor
/// <summary>File descriptor for circuits_v2/data_table/data_table_registry_data.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static DataTableRegistryDataReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"CjVjaXJjdWl0c192Mi9kYXRhX3RhYmxlL2RhdGFfdGFibGVfcmVnaXN0cnlf",
"ZGF0YS5wcm90bxILY2lyY3VpdHNfdjIaO2NpcmN1aXRzX3YyL2RhdGFfdGFi",
"bGUvZGF0YV90YWJsZV9yZWdpc3RyeV9lbnRyeV9kYXRhLnByb3RvIlUKFURh",
"dGFUYWJsZVJlZ2lzdHJ5RGF0YRI8CgtkYXRhX3RhYmxlcxgBIAMoCzInLmNp",
"cmN1aXRzX3YyLkRhdGFUYWJsZVJlZ2lzdHJ5RW50cnlEYXRhQhaqAhNDaXJj",
"dWl0c1YyLlByb3RvYnVmYgZwcm90bzM="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::CircuitsV2.Protobuf.DataTableRegistryEntryDataReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::CircuitsV2.Protobuf.DataTableRegistryData), global::CircuitsV2.Protobuf.DataTableRegistryData.Parser, new[]{ "DataTables" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class DataTableRegistryData : pb::IMessage<DataTableRegistryData>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<DataTableRegistryData> _parser = new pb::MessageParser<DataTableRegistryData>(() => new DataTableRegistryData());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<DataTableRegistryData> 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.DataTableRegistryDataReflection.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 DataTableRegistryData() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public DataTableRegistryData(DataTableRegistryData other) : this() {
dataTables_ = other.dataTables_.Clone();
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public DataTableRegistryData Clone() {
return new DataTableRegistryData(this);
}
/// <summary>Field number for the "data_tables" field.</summary>
public const int DataTablesFieldNumber = 1;
private static readonly pb::FieldCodec<global::CircuitsV2.Protobuf.DataTableRegistryEntryData> _repeated_dataTables_codec
= pb::FieldCodec.ForMessage(10, global::CircuitsV2.Protobuf.DataTableRegistryEntryData.Parser);
private readonly pbc::RepeatedField<global::CircuitsV2.Protobuf.DataTableRegistryEntryData> dataTables_ = new pbc::RepeatedField<global::CircuitsV2.Protobuf.DataTableRegistryEntryData>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::CircuitsV2.Protobuf.DataTableRegistryEntryData> DataTables {
get { return dataTables_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as DataTableRegistryData);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(DataTableRegistryData other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if(!dataTables_.Equals(other.dataTables_)) 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;
hash ^= dataTables_.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
dataTables_.WriteTo(output, _repeated_dataTables_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) {
dataTables_.WriteTo(ref output, _repeated_dataTables_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;
size += dataTables_.CalculateSize(_repeated_dataTables_codec);
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(DataTableRegistryData other) {
if (other == null) {
return;
}
dataTables_.Add(other.dataTables_);
_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: {
dataTables_.AddEntriesFrom(input, _repeated_dataTables_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: {
dataTables_.AddEntriesFrom(ref input, _repeated_dataTables_codec);
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code