432 lines
16 KiB
C#
432 lines
16 KiB
C#
// <auto-generated>
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: circuits_v2/circuit_signal_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/circuit_signal_data.proto</summary>
|
|
public static partial class CircuitSignalDataReflection {
|
|
|
|
#region Descriptor
|
|
/// <summary>File descriptor for circuits_v2/circuit_signal_data.proto</summary>
|
|
public static pbr::FileDescriptor Descriptor {
|
|
get { return descriptor; }
|
|
}
|
|
private static pbr::FileDescriptor descriptor;
|
|
|
|
static CircuitSignalDataReflection() {
|
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
string.Concat(
|
|
"CiVjaXJjdWl0c192Mi9jaXJjdWl0X3NpZ25hbF9kYXRhLnByb3RvEgtjaXJj",
|
|
"dWl0c192MiLLAQoRQ2lyY3VpdFNpZ25hbERhdGESFQoNYmFja2luZ19ieXRl",
|
|
"cxgGIAEoDBIWCg5iYWNraW5nX3N0cmluZxgFIAEoCRIcChRERVBSRUNBVEVE",
|
|
"X3R5cGVfa2luZBgBIAEoBRIfChdERVBSRUNBVEVEX2JhY2tpbmdfYm9vbBgC",
|
|
"IAEoCBIgChhERVBSRUNBVEVEX2JhY2tpbmdfZmxvYXQYBCABKAISJgoeREVQ",
|
|
"UkVDQVRFRF9pbnQzMl9iYWNraW5nX2J5dGVzGAMgASgFQhaqAhNDaXJjdWl0",
|
|
"c1YyLlByb3RvYnVmYgZwcm90bzM="));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { },
|
|
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::CircuitsV2.Protobuf.CircuitSignalData), global::CircuitsV2.Protobuf.CircuitSignalData.Parser, new[]{ "BackingBytes", "BackingString", "DEPRECATEDTypeKind", "DEPRECATEDBackingBool", "DEPRECATEDBackingFloat", "DEPRECATEDInt32BackingBytes" }, null, null, null, null)
|
|
}));
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
#region Messages
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class CircuitSignalData : pb::IMessage<CircuitSignalData>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<CircuitSignalData> _parser = new pb::MessageParser<CircuitSignalData>(() => new CircuitSignalData());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<CircuitSignalData> 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.CircuitSignalDataReflection.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 CircuitSignalData() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public CircuitSignalData(CircuitSignalData other) : this() {
|
|
backingBytes_ = other.backingBytes_;
|
|
backingString_ = other.backingString_;
|
|
dEPRECATEDTypeKind_ = other.dEPRECATEDTypeKind_;
|
|
dEPRECATEDBackingBool_ = other.dEPRECATEDBackingBool_;
|
|
dEPRECATEDBackingFloat_ = other.dEPRECATEDBackingFloat_;
|
|
dEPRECATEDInt32BackingBytes_ = other.dEPRECATEDInt32BackingBytes_;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public CircuitSignalData Clone() {
|
|
return new CircuitSignalData(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "backing_bytes" field.</summary>
|
|
public const int BackingBytesFieldNumber = 6;
|
|
private pb::ByteString backingBytes_ = pb::ByteString.Empty;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public pb::ByteString BackingBytes {
|
|
get { return backingBytes_; }
|
|
set {
|
|
backingBytes_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "backing_string" field.</summary>
|
|
public const int BackingStringFieldNumber = 5;
|
|
private string backingString_ = "";
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public string BackingString {
|
|
get { return backingString_; }
|
|
set {
|
|
backingString_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "DEPRECATED_type_kind" field.</summary>
|
|
public const int DEPRECATEDTypeKindFieldNumber = 1;
|
|
private int dEPRECATEDTypeKind_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public int DEPRECATEDTypeKind {
|
|
get { return dEPRECATEDTypeKind_; }
|
|
set {
|
|
dEPRECATEDTypeKind_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "DEPRECATED_backing_bool" field.</summary>
|
|
public const int DEPRECATEDBackingBoolFieldNumber = 2;
|
|
private bool dEPRECATEDBackingBool_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool DEPRECATEDBackingBool {
|
|
get { return dEPRECATEDBackingBool_; }
|
|
set {
|
|
dEPRECATEDBackingBool_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "DEPRECATED_backing_float" field.</summary>
|
|
public const int DEPRECATEDBackingFloatFieldNumber = 4;
|
|
private float dEPRECATEDBackingFloat_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public float DEPRECATEDBackingFloat {
|
|
get { return dEPRECATEDBackingFloat_; }
|
|
set {
|
|
dEPRECATEDBackingFloat_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "DEPRECATED_int32_backing_bytes" field.</summary>
|
|
public const int DEPRECATEDInt32BackingBytesFieldNumber = 3;
|
|
private int dEPRECATEDInt32BackingBytes_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public int DEPRECATEDInt32BackingBytes {
|
|
get { return dEPRECATEDInt32BackingBytes_; }
|
|
set {
|
|
dEPRECATEDInt32BackingBytes_ = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as CircuitSignalData);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(CircuitSignalData other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (BackingBytes != other.BackingBytes) return false;
|
|
if (BackingString != other.BackingString) return false;
|
|
if (DEPRECATEDTypeKind != other.DEPRECATEDTypeKind) return false;
|
|
if (DEPRECATEDBackingBool != other.DEPRECATEDBackingBool) return false;
|
|
if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(DEPRECATEDBackingFloat, other.DEPRECATEDBackingFloat)) return false;
|
|
if (DEPRECATEDInt32BackingBytes != other.DEPRECATEDInt32BackingBytes) 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 (BackingBytes.Length != 0) hash ^= BackingBytes.GetHashCode();
|
|
if (BackingString.Length != 0) hash ^= BackingString.GetHashCode();
|
|
if (DEPRECATEDTypeKind != 0) hash ^= DEPRECATEDTypeKind.GetHashCode();
|
|
if (DEPRECATEDBackingBool != false) hash ^= DEPRECATEDBackingBool.GetHashCode();
|
|
if (DEPRECATEDBackingFloat != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(DEPRECATEDBackingFloat);
|
|
if (DEPRECATEDInt32BackingBytes != 0) hash ^= DEPRECATEDInt32BackingBytes.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 (DEPRECATEDTypeKind != 0) {
|
|
output.WriteRawTag(8);
|
|
output.WriteInt32(DEPRECATEDTypeKind);
|
|
}
|
|
if (DEPRECATEDBackingBool != false) {
|
|
output.WriteRawTag(16);
|
|
output.WriteBool(DEPRECATEDBackingBool);
|
|
}
|
|
if (DEPRECATEDInt32BackingBytes != 0) {
|
|
output.WriteRawTag(24);
|
|
output.WriteInt32(DEPRECATEDInt32BackingBytes);
|
|
}
|
|
if (DEPRECATEDBackingFloat != 0F) {
|
|
output.WriteRawTag(37);
|
|
output.WriteFloat(DEPRECATEDBackingFloat);
|
|
}
|
|
if (BackingString.Length != 0) {
|
|
output.WriteRawTag(42);
|
|
output.WriteString(BackingString);
|
|
}
|
|
if (BackingBytes.Length != 0) {
|
|
output.WriteRawTag(50);
|
|
output.WriteBytes(BackingBytes);
|
|
}
|
|
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 (DEPRECATEDTypeKind != 0) {
|
|
output.WriteRawTag(8);
|
|
output.WriteInt32(DEPRECATEDTypeKind);
|
|
}
|
|
if (DEPRECATEDBackingBool != false) {
|
|
output.WriteRawTag(16);
|
|
output.WriteBool(DEPRECATEDBackingBool);
|
|
}
|
|
if (DEPRECATEDInt32BackingBytes != 0) {
|
|
output.WriteRawTag(24);
|
|
output.WriteInt32(DEPRECATEDInt32BackingBytes);
|
|
}
|
|
if (DEPRECATEDBackingFloat != 0F) {
|
|
output.WriteRawTag(37);
|
|
output.WriteFloat(DEPRECATEDBackingFloat);
|
|
}
|
|
if (BackingString.Length != 0) {
|
|
output.WriteRawTag(42);
|
|
output.WriteString(BackingString);
|
|
}
|
|
if (BackingBytes.Length != 0) {
|
|
output.WriteRawTag(50);
|
|
output.WriteBytes(BackingBytes);
|
|
}
|
|
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 (BackingBytes.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeBytesSize(BackingBytes);
|
|
}
|
|
if (BackingString.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(BackingString);
|
|
}
|
|
if (DEPRECATEDTypeKind != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(DEPRECATEDTypeKind);
|
|
}
|
|
if (DEPRECATEDBackingBool != false) {
|
|
size += 1 + 1;
|
|
}
|
|
if (DEPRECATEDBackingFloat != 0F) {
|
|
size += 1 + 4;
|
|
}
|
|
if (DEPRECATEDInt32BackingBytes != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(DEPRECATEDInt32BackingBytes);
|
|
}
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(CircuitSignalData other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.BackingBytes.Length != 0) {
|
|
BackingBytes = other.BackingBytes;
|
|
}
|
|
if (other.BackingString.Length != 0) {
|
|
BackingString = other.BackingString;
|
|
}
|
|
if (other.DEPRECATEDTypeKind != 0) {
|
|
DEPRECATEDTypeKind = other.DEPRECATEDTypeKind;
|
|
}
|
|
if (other.DEPRECATEDBackingBool != false) {
|
|
DEPRECATEDBackingBool = other.DEPRECATEDBackingBool;
|
|
}
|
|
if (other.DEPRECATEDBackingFloat != 0F) {
|
|
DEPRECATEDBackingFloat = other.DEPRECATEDBackingFloat;
|
|
}
|
|
if (other.DEPRECATEDInt32BackingBytes != 0) {
|
|
DEPRECATEDInt32BackingBytes = other.DEPRECATEDInt32BackingBytes;
|
|
}
|
|
_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: {
|
|
DEPRECATEDTypeKind = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 16: {
|
|
DEPRECATEDBackingBool = input.ReadBool();
|
|
break;
|
|
}
|
|
case 24: {
|
|
DEPRECATEDInt32BackingBytes = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 37: {
|
|
DEPRECATEDBackingFloat = input.ReadFloat();
|
|
break;
|
|
}
|
|
case 42: {
|
|
BackingString = input.ReadString();
|
|
break;
|
|
}
|
|
case 50: {
|
|
BackingBytes = input.ReadBytes();
|
|
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: {
|
|
DEPRECATEDTypeKind = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 16: {
|
|
DEPRECATEDBackingBool = input.ReadBool();
|
|
break;
|
|
}
|
|
case 24: {
|
|
DEPRECATEDInt32BackingBytes = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 37: {
|
|
DEPRECATEDBackingFloat = input.ReadFloat();
|
|
break;
|
|
}
|
|
case 42: {
|
|
BackingString = input.ReadString();
|
|
break;
|
|
}
|
|
case 50: {
|
|
BackingBytes = input.ReadBytes();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|