Protobuf...
This commit is contained in:
310
DEPRECATEDCircuitEventDefinitionData.cs
Normal file
310
DEPRECATEDCircuitEventDefinitionData.cs
Normal file
@@ -0,0 +1,310 @@
|
||||
// <auto-generated>
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: circuits_v2/deprecated/DEPRECATED_circuit_event_definition_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_definition_data.proto</summary>
|
||||
public static partial class DEPRECATEDCircuitEventDefinitionDataReflection {
|
||||
|
||||
#region Descriptor
|
||||
/// <summary>File descriptor for circuits_v2/deprecated/DEPRECATED_circuit_event_definition_data.proto</summary>
|
||||
public static pbr::FileDescriptor Descriptor {
|
||||
get { return descriptor; }
|
||||
}
|
||||
private static pbr::FileDescriptor descriptor;
|
||||
|
||||
static DEPRECATEDCircuitEventDefinitionDataReflection() {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"CkVjaXJjdWl0c192Mi9kZXByZWNhdGVkL0RFUFJFQ0FURURfY2lyY3VpdF9l",
|
||||
"dmVudF9kZWZpbml0aW9uX2RhdGEucHJvdG8SC2NpcmN1aXRzX3YyGkNjaXJj",
|
||||
"dWl0c192Mi9kZXByZWNhdGVkL0RFUFJFQ0FURURfY2lyY3VpdF9ldmVudF9w",
|
||||
"cm9wZXJ0eV9kYXRhLnByb3RvIpUBCiVERVBSRUNBVEVEX0NpcmN1aXRFdmVu",
|
||||
"dERlZmluaXRpb25EYXRhEhAKCGV2ZW50X2lkGAEgASgMEhIKCmV2ZW50X25h",
|
||||
"bWUYAiABKAkSRgoQZXZlbnRfcHJvcGVydGllcxgEIAMoCzIsLmNpcmN1aXRz",
|
||||
"X3YyLkRFUFJFQ0FURURfQ2lyY3VpdEV2ZW50UHJvcGVydHlCFqoCE0NpcmN1",
|
||||
"aXRzVjIuUHJvdG9idWZiBnByb3RvMw=="));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { global::CircuitsV2.Protobuf.DEPRECATEDCircuitEventPropertyDataReflection.Descriptor, },
|
||||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::CircuitsV2.Protobuf.DEPRECATED_CircuitEventDefinitionData), global::CircuitsV2.Protobuf.DEPRECATED_CircuitEventDefinitionData.Parser, new[]{ "EventId", "EventName", "EventProperties" }, null, null, null, null)
|
||||
}));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
#region Messages
|
||||
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||||
public sealed partial class DEPRECATED_CircuitEventDefinitionData : pb::IMessage<DEPRECATED_CircuitEventDefinitionData>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<DEPRECATED_CircuitEventDefinitionData> _parser = new pb::MessageParser<DEPRECATED_CircuitEventDefinitionData>(() => new DEPRECATED_CircuitEventDefinitionData());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<DEPRECATED_CircuitEventDefinitionData> 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.DEPRECATEDCircuitEventDefinitionDataReflection.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_CircuitEventDefinitionData() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public DEPRECATED_CircuitEventDefinitionData(DEPRECATED_CircuitEventDefinitionData other) : this() {
|
||||
eventId_ = other.eventId_;
|
||||
eventName_ = other.eventName_;
|
||||
eventProperties_ = other.eventProperties_.Clone();
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public DEPRECATED_CircuitEventDefinitionData Clone() {
|
||||
return new DEPRECATED_CircuitEventDefinitionData(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "event_id" field.</summary>
|
||||
public const int EventIdFieldNumber = 1;
|
||||
private pb::ByteString eventId_ = pb::ByteString.Empty;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public pb::ByteString EventId {
|
||||
get { return eventId_; }
|
||||
set {
|
||||
eventId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "event_name" field.</summary>
|
||||
public const int EventNameFieldNumber = 2;
|
||||
private string eventName_ = "";
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public string EventName {
|
||||
get { return eventName_; }
|
||||
set {
|
||||
eventName_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "event_properties" field.</summary>
|
||||
public const int EventPropertiesFieldNumber = 4;
|
||||
private static readonly pb::FieldCodec<global::CircuitsV2.Protobuf.DEPRECATED_CircuitEventProperty> _repeated_eventProperties_codec
|
||||
= pb::FieldCodec.ForMessage(34, global::CircuitsV2.Protobuf.DEPRECATED_CircuitEventProperty.Parser);
|
||||
private readonly pbc::RepeatedField<global::CircuitsV2.Protobuf.DEPRECATED_CircuitEventProperty> eventProperties_ = new pbc::RepeatedField<global::CircuitsV2.Protobuf.DEPRECATED_CircuitEventProperty>();
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public pbc::RepeatedField<global::CircuitsV2.Protobuf.DEPRECATED_CircuitEventProperty> EventProperties {
|
||||
get { return eventProperties_; }
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as DEPRECATED_CircuitEventDefinitionData);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(DEPRECATED_CircuitEventDefinitionData other) {
|
||||
if (ReferenceEquals(other, null)) {
|
||||
return false;
|
||||
}
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if (EventId != other.EventId) return false;
|
||||
if (EventName != other.EventName) return false;
|
||||
if(!eventProperties_.Equals(other.eventProperties_)) 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 (EventId.Length != 0) hash ^= EventId.GetHashCode();
|
||||
if (EventName.Length != 0) hash ^= EventName.GetHashCode();
|
||||
hash ^= eventProperties_.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 (EventId.Length != 0) {
|
||||
output.WriteRawTag(10);
|
||||
output.WriteBytes(EventId);
|
||||
}
|
||||
if (EventName.Length != 0) {
|
||||
output.WriteRawTag(18);
|
||||
output.WriteString(EventName);
|
||||
}
|
||||
eventProperties_.WriteTo(output, _repeated_eventProperties_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) {
|
||||
if (EventId.Length != 0) {
|
||||
output.WriteRawTag(10);
|
||||
output.WriteBytes(EventId);
|
||||
}
|
||||
if (EventName.Length != 0) {
|
||||
output.WriteRawTag(18);
|
||||
output.WriteString(EventName);
|
||||
}
|
||||
eventProperties_.WriteTo(ref output, _repeated_eventProperties_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;
|
||||
if (EventId.Length != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeBytesSize(EventId);
|
||||
}
|
||||
if (EventName.Length != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeStringSize(EventName);
|
||||
}
|
||||
size += eventProperties_.CalculateSize(_repeated_eventProperties_codec);
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(DEPRECATED_CircuitEventDefinitionData other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
if (other.EventId.Length != 0) {
|
||||
EventId = other.EventId;
|
||||
}
|
||||
if (other.EventName.Length != 0) {
|
||||
EventName = other.EventName;
|
||||
}
|
||||
eventProperties_.Add(other.eventProperties_);
|
||||
_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: {
|
||||
EventId = input.ReadBytes();
|
||||
break;
|
||||
}
|
||||
case 18: {
|
||||
EventName = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 34: {
|
||||
eventProperties_.AddEntriesFrom(input, _repeated_eventProperties_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: {
|
||||
EventId = input.ReadBytes();
|
||||
break;
|
||||
}
|
||||
case 18: {
|
||||
EventName = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 34: {
|
||||
eventProperties_.AddEntriesFrom(ref input, _repeated_eventProperties_codec);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion Designer generated code
|
||||
Reference in New Issue
Block a user