Protobuf...
This commit is contained in:
340
DEPRECATEDCircuitEventPropertyData.cs
Normal file
340
DEPRECATEDCircuitEventPropertyData.cs
Normal file
@@ -0,0 +1,340 @@
|
||||
// <auto-generated>
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: circuits_v2/deprecated/DEPRECATED_circuit_event_property_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/deprecated/DEPRECATED_circuit_event_property_data.proto</summary>
|
||||
public static partial class DEPRECATEDCircuitEventPropertyDataReflection {
|
||||
|
||||
#region Descriptor
|
||||
/// <summary>File descriptor for circuits_v2/deprecated/DEPRECATED_circuit_event_property_data.proto</summary>
|
||||
public static pbr::FileDescriptor Descriptor {
|
||||
get { return descriptor; }
|
||||
}
|
||||
private static pbr::FileDescriptor descriptor;
|
||||
|
||||
static DEPRECATEDCircuitEventPropertyDataReflection() {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"CkNjaXJjdWl0c192Mi9kZXByZWNhdGVkL0RFUFJFQ0FURURfY2lyY3VpdF9l",
|
||||
"dmVudF9wcm9wZXJ0eV9kYXRhLnByb3RvEgtjaXJjdWl0c192MhoqY2lyY3Vp",
|
||||
"dHMvc3RhdGljL2V2L2NpcmN1aXRfdHlwZV9kYXRhLnByb3RvGjljaXJjdWl0",
|
||||
"c192Mi9kZXByZWNhdGVkL0RFUFJFQ0FURURfY2lyY3VpdF90eXBlX2RhdGEu",
|
||||
"cHJvdG8itQEKH0RFUFJFQ0FURURfQ2lyY3VpdEV2ZW50UHJvcGVydHkSFQoN",
|
||||
"cHJvcGVydHlfbmFtZRgBIAEoCRIwCg1wcm9wZXJ0eV90eXBlGAMgASgLMhku",
|
||||
"Y2lyY3VpdHMuQ2lyY3VpdFR5cGVEYXRhEkkKGERFUFJFQ0FURURfcHJvcGVy",
|
||||
"dHlfdHlwZRgCIAEoCzInLmNpcmN1aXRzX3YyLkRFUFJFQ0FURURfQ2lyY3Vp",
|
||||
"dFR5cGVEYXRhQhaqAhNDaXJjdWl0c1YyLlByb3RvYnVmYgZwcm90bzM="));
|
||||
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.DEPRECATED_CircuitEventProperty), global::CircuitsV2.Protobuf.DEPRECATED_CircuitEventProperty.Parser, new[]{ "PropertyName", "PropertyType", "DEPRECATEDPropertyType" }, null, null, null, null)
|
||||
}));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
#region Messages
|
||||
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||||
public sealed partial class DEPRECATED_CircuitEventProperty : pb::IMessage<DEPRECATED_CircuitEventProperty>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<DEPRECATED_CircuitEventProperty> _parser = new pb::MessageParser<DEPRECATED_CircuitEventProperty>(() => new DEPRECATED_CircuitEventProperty());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<DEPRECATED_CircuitEventProperty> 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.DEPRECATEDCircuitEventPropertyDataReflection.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 DEPRECATED_CircuitEventProperty() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public DEPRECATED_CircuitEventProperty(DEPRECATED_CircuitEventProperty other) : this() {
|
||||
propertyName_ = other.propertyName_;
|
||||
propertyType_ = other.propertyType_ != null ? other.propertyType_.Clone() : null;
|
||||
dEPRECATEDPropertyType_ = other.dEPRECATEDPropertyType_ != null ? other.dEPRECATEDPropertyType_.Clone() : null;
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public DEPRECATED_CircuitEventProperty Clone() {
|
||||
return new DEPRECATED_CircuitEventProperty(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "property_name" field.</summary>
|
||||
public const int PropertyNameFieldNumber = 1;
|
||||
private string propertyName_ = "";
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public string PropertyName {
|
||||
get { return propertyName_; }
|
||||
set {
|
||||
propertyName_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "property_type" field.</summary>
|
||||
public const int PropertyTypeFieldNumber = 3;
|
||||
private global::Circuits.Static.EV.Protobuf.CircuitTypeData propertyType_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public global::Circuits.Static.EV.Protobuf.CircuitTypeData PropertyType {
|
||||
get { return propertyType_; }
|
||||
set {
|
||||
propertyType_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "DEPRECATED_property_type" field.</summary>
|
||||
public const int DEPRECATEDPropertyTypeFieldNumber = 2;
|
||||
private global::CircuitsV2.Protobuf.DEPRECATED_CircuitTypeData dEPRECATEDPropertyType_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public global::CircuitsV2.Protobuf.DEPRECATED_CircuitTypeData DEPRECATEDPropertyType {
|
||||
get { return dEPRECATEDPropertyType_; }
|
||||
set {
|
||||
dEPRECATEDPropertyType_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as DEPRECATED_CircuitEventProperty);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(DEPRECATED_CircuitEventProperty other) {
|
||||
if (ReferenceEquals(other, null)) {
|
||||
return false;
|
||||
}
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if (PropertyName != other.PropertyName) return false;
|
||||
if (!object.Equals(PropertyType, other.PropertyType)) return false;
|
||||
if (!object.Equals(DEPRECATEDPropertyType, other.DEPRECATEDPropertyType)) 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 (PropertyName.Length != 0) hash ^= PropertyName.GetHashCode();
|
||||
if (propertyType_ != null) hash ^= PropertyType.GetHashCode();
|
||||
if (dEPRECATEDPropertyType_ != null) hash ^= DEPRECATEDPropertyType.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 (PropertyName.Length != 0) {
|
||||
output.WriteRawTag(10);
|
||||
output.WriteString(PropertyName);
|
||||
}
|
||||
if (dEPRECATEDPropertyType_ != null) {
|
||||
output.WriteRawTag(18);
|
||||
output.WriteMessage(DEPRECATEDPropertyType);
|
||||
}
|
||||
if (propertyType_ != null) {
|
||||
output.WriteRawTag(26);
|
||||
output.WriteMessage(PropertyType);
|
||||
}
|
||||
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 (PropertyName.Length != 0) {
|
||||
output.WriteRawTag(10);
|
||||
output.WriteString(PropertyName);
|
||||
}
|
||||
if (dEPRECATEDPropertyType_ != null) {
|
||||
output.WriteRawTag(18);
|
||||
output.WriteMessage(DEPRECATEDPropertyType);
|
||||
}
|
||||
if (propertyType_ != null) {
|
||||
output.WriteRawTag(26);
|
||||
output.WriteMessage(PropertyType);
|
||||
}
|
||||
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 (PropertyName.Length != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeStringSize(PropertyName);
|
||||
}
|
||||
if (propertyType_ != null) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeMessageSize(PropertyType);
|
||||
}
|
||||
if (dEPRECATEDPropertyType_ != null) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeMessageSize(DEPRECATEDPropertyType);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(DEPRECATED_CircuitEventProperty other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
if (other.PropertyName.Length != 0) {
|
||||
PropertyName = other.PropertyName;
|
||||
}
|
||||
if (other.propertyType_ != null) {
|
||||
if (propertyType_ == null) {
|
||||
PropertyType = new global::Circuits.Static.EV.Protobuf.CircuitTypeData();
|
||||
}
|
||||
PropertyType.MergeFrom(other.PropertyType);
|
||||
}
|
||||
if (other.dEPRECATEDPropertyType_ != null) {
|
||||
if (dEPRECATEDPropertyType_ == null) {
|
||||
DEPRECATEDPropertyType = new global::CircuitsV2.Protobuf.DEPRECATED_CircuitTypeData();
|
||||
}
|
||||
DEPRECATEDPropertyType.MergeFrom(other.DEPRECATEDPropertyType);
|
||||
}
|
||||
_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: {
|
||||
PropertyName = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 18: {
|
||||
if (dEPRECATEDPropertyType_ == null) {
|
||||
DEPRECATEDPropertyType = new global::CircuitsV2.Protobuf.DEPRECATED_CircuitTypeData();
|
||||
}
|
||||
input.ReadMessage(DEPRECATEDPropertyType);
|
||||
break;
|
||||
}
|
||||
case 26: {
|
||||
if (propertyType_ == null) {
|
||||
PropertyType = new global::Circuits.Static.EV.Protobuf.CircuitTypeData();
|
||||
}
|
||||
input.ReadMessage(PropertyType);
|
||||
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: {
|
||||
PropertyName = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 18: {
|
||||
if (dEPRECATEDPropertyType_ == null) {
|
||||
DEPRECATEDPropertyType = new global::CircuitsV2.Protobuf.DEPRECATED_CircuitTypeData();
|
||||
}
|
||||
input.ReadMessage(DEPRECATEDPropertyType);
|
||||
break;
|
||||
}
|
||||
case 26: {
|
||||
if (propertyType_ == null) {
|
||||
PropertyType = new global::Circuits.Static.EV.Protobuf.CircuitTypeData();
|
||||
}
|
||||
input.ReadMessage(PropertyType);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion Designer generated code
|
||||
Reference in New Issue
Block a user