Protobuf...
This commit is contained in:
537
InputDescData.cs
Normal file
537
InputDescData.cs
Normal file
@@ -0,0 +1,537 @@
|
||||
// <auto-generated>
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: circuits_v2/input_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/input_desc_data.proto</summary>
|
||||
public static partial class InputDescDataReflection {
|
||||
|
||||
#region Descriptor
|
||||
/// <summary>File descriptor for circuits_v2/input_desc_data.proto</summary>
|
||||
public static pbr::FileDescriptor Descriptor {
|
||||
get { return descriptor; }
|
||||
}
|
||||
private static pbr::FileDescriptor descriptor;
|
||||
|
||||
static InputDescDataReflection() {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"CiFjaXJjdWl0c192Mi9pbnB1dF9kZXNjX2RhdGEucHJvdG8SC2NpcmN1aXRz",
|
||||
"X3YyGipjaXJjdWl0cy9zdGF0aWMvZXYvY2lyY3VpdF90eXBlX2RhdGEucHJv",
|
||||
"dG8aOWNpcmN1aXRzX3YyL2RlcHJlY2F0ZWQvREVQUkVDQVRFRF9jaXJjdWl0",
|
||||
"X3R5cGVfZGF0YS5wcm90bxolY2lyY3VpdHNfdjIvY2lyY3VpdF9zaWduYWxf",
|
||||
"ZGF0YS5wcm90byKQAgoNSW5wdXREZXNjRGF0YRIMCgRuYW1lGAIgASgJEicK",
|
||||
"BHR5cGUYCCABKAsyGS5jaXJjdWl0cy5DaXJjdWl0VHlwZURhdGESNQoNZGVm",
|
||||
"YXVsdF92YWx1ZRgEIAEoCzIeLmNpcmN1aXRzX3YyLkNpcmN1aXRTaWduYWxE",
|
||||
"YXRhEhYKDmRlZmF1bHRfYW1vdW50GAUgASgFEg8KB21pbmltdW0YBiABKAUS",
|
||||
"DwoHbWF4aW11bRgHIAEoBRIVCg1ERVBSRUNBVEVEX2lkGAEgASgMEkAKD0RF",
|
||||
"UFJFQ0FURURfdHlwZRgDIAEoCzInLmNpcmN1aXRzX3YyLkRFUFJFQ0FURURf",
|
||||
"Q2lyY3VpdFR5cGVEYXRhQhaqAhNDaXJjdWl0c1YyLlByb3RvYnVmYgZwcm90",
|
||||
"bzM="));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { global::Circuits.Static.EV.Protobuf.CircuitTypeDataReflection.Descriptor, global::CircuitsV2.Protobuf.DEPRECATEDCircuitTypeDataReflection.Descriptor, global::CircuitsV2.Protobuf.CircuitSignalDataReflection.Descriptor, },
|
||||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::CircuitsV2.Protobuf.InputDescData), global::CircuitsV2.Protobuf.InputDescData.Parser, new[]{ "Name", "Type", "DefaultValue", "DefaultAmount", "Minimum", "Maximum", "DEPRECATEDId", "DEPRECATEDType" }, null, null, null, null)
|
||||
}));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
#region Messages
|
||||
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||||
public sealed partial class InputDescData : pb::IMessage<InputDescData>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<InputDescData> _parser = new pb::MessageParser<InputDescData>(() => new InputDescData());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<InputDescData> 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.InputDescDataReflection.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 InputDescData() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public InputDescData(InputDescData other) : this() {
|
||||
name_ = other.name_;
|
||||
type_ = other.type_ != null ? other.type_.Clone() : null;
|
||||
defaultValue_ = other.defaultValue_ != null ? other.defaultValue_.Clone() : null;
|
||||
defaultAmount_ = other.defaultAmount_;
|
||||
minimum_ = other.minimum_;
|
||||
maximum_ = other.maximum_;
|
||||
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 InputDescData Clone() {
|
||||
return new InputDescData(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 = 8;
|
||||
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 "default_value" field.</summary>
|
||||
public const int DefaultValueFieldNumber = 4;
|
||||
private global::CircuitsV2.Protobuf.CircuitSignalData defaultValue_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public global::CircuitsV2.Protobuf.CircuitSignalData DefaultValue {
|
||||
get { return defaultValue_; }
|
||||
set {
|
||||
defaultValue_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "default_amount" field.</summary>
|
||||
public const int DefaultAmountFieldNumber = 5;
|
||||
private int defaultAmount_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int DefaultAmount {
|
||||
get { return defaultAmount_; }
|
||||
set {
|
||||
defaultAmount_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "minimum" field.</summary>
|
||||
public const int MinimumFieldNumber = 6;
|
||||
private int minimum_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int Minimum {
|
||||
get { return minimum_; }
|
||||
set {
|
||||
minimum_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "maximum" field.</summary>
|
||||
public const int MaximumFieldNumber = 7;
|
||||
private int maximum_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int Maximum {
|
||||
get { return maximum_; }
|
||||
set {
|
||||
maximum_ = 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 InputDescData);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(InputDescData 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 (!object.Equals(DefaultValue, other.DefaultValue)) return false;
|
||||
if (DefaultAmount != other.DefaultAmount) return false;
|
||||
if (Minimum != other.Minimum) return false;
|
||||
if (Maximum != other.Maximum) 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 (defaultValue_ != null) hash ^= DefaultValue.GetHashCode();
|
||||
if (DefaultAmount != 0) hash ^= DefaultAmount.GetHashCode();
|
||||
if (Minimum != 0) hash ^= Minimum.GetHashCode();
|
||||
if (Maximum != 0) hash ^= Maximum.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 (defaultValue_ != null) {
|
||||
output.WriteRawTag(34);
|
||||
output.WriteMessage(DefaultValue);
|
||||
}
|
||||
if (DefaultAmount != 0) {
|
||||
output.WriteRawTag(40);
|
||||
output.WriteInt32(DefaultAmount);
|
||||
}
|
||||
if (Minimum != 0) {
|
||||
output.WriteRawTag(48);
|
||||
output.WriteInt32(Minimum);
|
||||
}
|
||||
if (Maximum != 0) {
|
||||
output.WriteRawTag(56);
|
||||
output.WriteInt32(Maximum);
|
||||
}
|
||||
if (type_ != null) {
|
||||
output.WriteRawTag(66);
|
||||
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 (defaultValue_ != null) {
|
||||
output.WriteRawTag(34);
|
||||
output.WriteMessage(DefaultValue);
|
||||
}
|
||||
if (DefaultAmount != 0) {
|
||||
output.WriteRawTag(40);
|
||||
output.WriteInt32(DefaultAmount);
|
||||
}
|
||||
if (Minimum != 0) {
|
||||
output.WriteRawTag(48);
|
||||
output.WriteInt32(Minimum);
|
||||
}
|
||||
if (Maximum != 0) {
|
||||
output.WriteRawTag(56);
|
||||
output.WriteInt32(Maximum);
|
||||
}
|
||||
if (type_ != null) {
|
||||
output.WriteRawTag(66);
|
||||
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 (defaultValue_ != null) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeMessageSize(DefaultValue);
|
||||
}
|
||||
if (DefaultAmount != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(DefaultAmount);
|
||||
}
|
||||
if (Minimum != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Minimum);
|
||||
}
|
||||
if (Maximum != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Maximum);
|
||||
}
|
||||
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(InputDescData 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.defaultValue_ != null) {
|
||||
if (defaultValue_ == null) {
|
||||
DefaultValue = new global::CircuitsV2.Protobuf.CircuitSignalData();
|
||||
}
|
||||
DefaultValue.MergeFrom(other.DefaultValue);
|
||||
}
|
||||
if (other.DefaultAmount != 0) {
|
||||
DefaultAmount = other.DefaultAmount;
|
||||
}
|
||||
if (other.Minimum != 0) {
|
||||
Minimum = other.Minimum;
|
||||
}
|
||||
if (other.Maximum != 0) {
|
||||
Maximum = other.Maximum;
|
||||
}
|
||||
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 (defaultValue_ == null) {
|
||||
DefaultValue = new global::CircuitsV2.Protobuf.CircuitSignalData();
|
||||
}
|
||||
input.ReadMessage(DefaultValue);
|
||||
break;
|
||||
}
|
||||
case 40: {
|
||||
DefaultAmount = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 48: {
|
||||
Minimum = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 56: {
|
||||
Maximum = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 66: {
|
||||
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 (defaultValue_ == null) {
|
||||
DefaultValue = new global::CircuitsV2.Protobuf.CircuitSignalData();
|
||||
}
|
||||
input.ReadMessage(DefaultValue);
|
||||
break;
|
||||
}
|
||||
case 40: {
|
||||
DefaultAmount = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 48: {
|
||||
Minimum = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 56: {
|
||||
Maximum = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 66: {
|
||||
if (type_ == null) {
|
||||
Type = new global::Circuits.Static.EV.Protobuf.CircuitTypeData();
|
||||
}
|
||||
input.ReadMessage(Type);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion Designer generated code
|
||||
Reference in New Issue
Block a user