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

376
OutputDescData.cs Normal file
View File

@@ -0,0 +1,376 @@
// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: circuits_v2/output_desc_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/output_desc_data.proto</summary>
public static partial class OutputDescDataReflection {
#region Descriptor
/// <summary>File descriptor for circuits_v2/output_desc_data.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static OutputDescDataReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"CiJjaXJjdWl0c192Mi9vdXRwdXRfZGVzY19kYXRhLnByb3RvEgtjaXJjdWl0",
"c192MhoqY2lyY3VpdHMvc3RhdGljL2V2L2NpcmN1aXRfdHlwZV9kYXRhLnBy",
"b3RvGjljaXJjdWl0c192Mi9kZXByZWNhdGVkL0RFUFJFQ0FURURfY2lyY3Vp",
"dF90eXBlX2RhdGEucHJvdG8ioAEKDk91dHB1dERlc2NEYXRhEgwKBG5hbWUY",
"AiABKAkSJwoEdHlwZRgEIAEoCzIZLmNpcmN1aXRzLkNpcmN1aXRUeXBlRGF0",
"YRIVCg1ERVBSRUNBVEVEX2lkGAEgASgMEkAKD0RFUFJFQ0FURURfdHlwZRgD",
"IAEoCzInLmNpcmN1aXRzX3YyLkRFUFJFQ0FURURfQ2lyY3VpdFR5cGVEYXRh",
"QhaqAhNDaXJjdWl0c1YyLlByb3RvYnVmYgZwcm90bzM="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::Circuits.Static.EV.Protobuf.CircuitTypeDataReflection.Descriptor, global::CircuitsV2.Protobuf.DEPRECATEDCircuitTypeDataReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::CircuitsV2.Protobuf.OutputDescData), global::CircuitsV2.Protobuf.OutputDescData.Parser, new[]{ "Name", "Type", "DEPRECATEDId", "DEPRECATEDType" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class OutputDescData : pb::IMessage<OutputDescData>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<OutputDescData> _parser = new pb::MessageParser<OutputDescData>(() => new OutputDescData());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<OutputDescData> 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.OutputDescDataReflection.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 OutputDescData() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public OutputDescData(OutputDescData other) : this() {
name_ = other.name_;
type_ = other.type_ != null ? other.type_.Clone() : null;
dEPRECATEDId_ = other.dEPRECATEDId_;
dEPRECATEDType_ = other.dEPRECATEDType_ != null ? other.dEPRECATEDType_.Clone() : null;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public OutputDescData Clone() {
return new OutputDescData(this);
}
/// <summary>Field number for the "name" field.</summary>
public const int NameFieldNumber = 2;
private string name_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string Name {
get { return name_; }
set {
name_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "type" field.</summary>
public const int TypeFieldNumber = 4;
private global::Circuits.Static.EV.Protobuf.CircuitTypeData type_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::Circuits.Static.EV.Protobuf.CircuitTypeData Type {
get { return type_; }
set {
type_ = value;
}
}
/// <summary>Field number for the "DEPRECATED_id" field.</summary>
public const int DEPRECATEDIdFieldNumber = 1;
private pb::ByteString dEPRECATEDId_ = pb::ByteString.Empty;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pb::ByteString DEPRECATEDId {
get { return dEPRECATEDId_; }
set {
dEPRECATEDId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "DEPRECATED_type" field.</summary>
public const int DEPRECATEDTypeFieldNumber = 3;
private global::CircuitsV2.Protobuf.DEPRECATED_CircuitTypeData dEPRECATEDType_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::CircuitsV2.Protobuf.DEPRECATED_CircuitTypeData DEPRECATEDType {
get { return dEPRECATEDType_; }
set {
dEPRECATEDType_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as OutputDescData);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(OutputDescData other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Name != other.Name) return false;
if (!object.Equals(Type, other.Type)) return false;
if (DEPRECATEDId != other.DEPRECATEDId) return false;
if (!object.Equals(DEPRECATEDType, other.DEPRECATEDType)) 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 (Name.Length != 0) hash ^= Name.GetHashCode();
if (type_ != null) hash ^= Type.GetHashCode();
if (DEPRECATEDId.Length != 0) hash ^= DEPRECATEDId.GetHashCode();
if (dEPRECATEDType_ != null) hash ^= DEPRECATEDType.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 (DEPRECATEDId.Length != 0) {
output.WriteRawTag(10);
output.WriteBytes(DEPRECATEDId);
}
if (Name.Length != 0) {
output.WriteRawTag(18);
output.WriteString(Name);
}
if (dEPRECATEDType_ != null) {
output.WriteRawTag(26);
output.WriteMessage(DEPRECATEDType);
}
if (type_ != null) {
output.WriteRawTag(34);
output.WriteMessage(Type);
}
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 (DEPRECATEDId.Length != 0) {
output.WriteRawTag(10);
output.WriteBytes(DEPRECATEDId);
}
if (Name.Length != 0) {
output.WriteRawTag(18);
output.WriteString(Name);
}
if (dEPRECATEDType_ != null) {
output.WriteRawTag(26);
output.WriteMessage(DEPRECATEDType);
}
if (type_ != null) {
output.WriteRawTag(34);
output.WriteMessage(Type);
}
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 (Name.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Name);
}
if (type_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Type);
}
if (DEPRECATEDId.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeBytesSize(DEPRECATEDId);
}
if (dEPRECATEDType_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(DEPRECATEDType);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(OutputDescData other) {
if (other == null) {
return;
}
if (other.Name.Length != 0) {
Name = other.Name;
}
if (other.type_ != null) {
if (type_ == null) {
Type = new global::Circuits.Static.EV.Protobuf.CircuitTypeData();
}
Type.MergeFrom(other.Type);
}
if (other.DEPRECATEDId.Length != 0) {
DEPRECATEDId = other.DEPRECATEDId;
}
if (other.dEPRECATEDType_ != null) {
if (dEPRECATEDType_ == null) {
DEPRECATEDType = new global::CircuitsV2.Protobuf.DEPRECATED_CircuitTypeData();
}
DEPRECATEDType.MergeFrom(other.DEPRECATEDType);
}
_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: {
DEPRECATEDId = input.ReadBytes();
break;
}
case 18: {
Name = input.ReadString();
break;
}
case 26: {
if (dEPRECATEDType_ == null) {
DEPRECATEDType = new global::CircuitsV2.Protobuf.DEPRECATED_CircuitTypeData();
}
input.ReadMessage(DEPRECATEDType);
break;
}
case 34: {
if (type_ == null) {
Type = new global::Circuits.Static.EV.Protobuf.CircuitTypeData();
}
input.ReadMessage(Type);
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: {
DEPRECATEDId = input.ReadBytes();
break;
}
case 18: {
Name = input.ReadString();
break;
}
case 26: {
if (dEPRECATEDType_ == null) {
DEPRECATEDType = new global::CircuitsV2.Protobuf.DEPRECATED_CircuitTypeData();
}
input.ReadMessage(DEPRECATEDType);
break;
}
case 34: {
if (type_ == null) {
Type = new global::Circuits.Static.EV.Protobuf.CircuitTypeData();
}
input.ReadMessage(Type);
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code