// // Generated by the protocol buffer compiler. DO NOT EDIT! // source: circuits_v2/synchronized_event_data.proto // #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 { /// Holder for reflection information generated from circuits_v2/synchronized_event_data.proto public static partial class SynchronizedEventDataReflection { #region Descriptor /// File descriptor for circuits_v2/synchronized_event_data.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static SynchronizedEventDataReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "CiljaXJjdWl0c192Mi9zeW5jaHJvbml6ZWRfZXZlbnRfZGF0YS5wcm90bxIL", "Y2lyY3VpdHNfdjIioAEKFVN5bmNocm9uaXplZEV2ZW50RGF0YRIQCghncmFw", "aF9pZBgBIAEoDBIQCghldmVudF9pZBgCIAEoDBIMCgRkYXRhGAMgASgMEh4K", "FmVudmlyb25tZW50X25ldHdvcmtfaWQYBCABKA0SGwoTZW52aXJvbm1lbnRf", "Y29udGV4dBgFIAEoDRIYChBlbnZpcm9ubWVudF90eXBlGAYgASgNQhaqAhND", "aXJjdWl0c1YyLlByb3RvYnVmYgZwcm90bzM=")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::CircuitsV2.Protobuf.SynchronizedEventData), global::CircuitsV2.Protobuf.SynchronizedEventData.Parser, new[]{ "GraphId", "EventId", "Data", "EnvironmentNetworkId", "EnvironmentContext", "EnvironmentType" }, null, null, null, null) })); } #endregion } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class SynchronizedEventData : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SynchronizedEventData()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser 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.SynchronizedEventDataReflection.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 SynchronizedEventData() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public SynchronizedEventData(SynchronizedEventData other) : this() { graphId_ = other.graphId_; eventId_ = other.eventId_; data_ = other.data_; environmentNetworkId_ = other.environmentNetworkId_; environmentContext_ = other.environmentContext_; environmentType_ = other.environmentType_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public SynchronizedEventData Clone() { return new SynchronizedEventData(this); } /// Field number for the "graph_id" field. public const int GraphIdFieldNumber = 1; private pb::ByteString graphId_ = pb::ByteString.Empty; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pb::ByteString GraphId { get { return graphId_; } set { graphId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "event_id" field. public const int EventIdFieldNumber = 2; 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"); } } /// Field number for the "data" field. public const int DataFieldNumber = 3; private pb::ByteString data_ = pb::ByteString.Empty; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pb::ByteString Data { get { return data_; } set { data_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "environment_network_id" field. public const int EnvironmentNetworkIdFieldNumber = 4; private uint environmentNetworkId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint EnvironmentNetworkId { get { return environmentNetworkId_; } set { environmentNetworkId_ = value; } } /// Field number for the "environment_context" field. public const int EnvironmentContextFieldNumber = 5; private uint environmentContext_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint EnvironmentContext { get { return environmentContext_; } set { environmentContext_ = value; } } /// Field number for the "environment_type" field. public const int EnvironmentTypeFieldNumber = 6; private uint environmentType_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint EnvironmentType { get { return environmentType_; } set { environmentType_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as SynchronizedEventData); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(SynchronizedEventData other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (GraphId != other.GraphId) return false; if (EventId != other.EventId) return false; if (Data != other.Data) return false; if (EnvironmentNetworkId != other.EnvironmentNetworkId) return false; if (EnvironmentContext != other.EnvironmentContext) return false; if (EnvironmentType != other.EnvironmentType) 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 (GraphId.Length != 0) hash ^= GraphId.GetHashCode(); if (EventId.Length != 0) hash ^= EventId.GetHashCode(); if (Data.Length != 0) hash ^= Data.GetHashCode(); if (EnvironmentNetworkId != 0) hash ^= EnvironmentNetworkId.GetHashCode(); if (EnvironmentContext != 0) hash ^= EnvironmentContext.GetHashCode(); if (EnvironmentType != 0) hash ^= EnvironmentType.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 (GraphId.Length != 0) { output.WriteRawTag(10); output.WriteBytes(GraphId); } if (EventId.Length != 0) { output.WriteRawTag(18); output.WriteBytes(EventId); } if (Data.Length != 0) { output.WriteRawTag(26); output.WriteBytes(Data); } if (EnvironmentNetworkId != 0) { output.WriteRawTag(32); output.WriteUInt32(EnvironmentNetworkId); } if (EnvironmentContext != 0) { output.WriteRawTag(40); output.WriteUInt32(EnvironmentContext); } if (EnvironmentType != 0) { output.WriteRawTag(48); output.WriteUInt32(EnvironmentType); } 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 (GraphId.Length != 0) { output.WriteRawTag(10); output.WriteBytes(GraphId); } if (EventId.Length != 0) { output.WriteRawTag(18); output.WriteBytes(EventId); } if (Data.Length != 0) { output.WriteRawTag(26); output.WriteBytes(Data); } if (EnvironmentNetworkId != 0) { output.WriteRawTag(32); output.WriteUInt32(EnvironmentNetworkId); } if (EnvironmentContext != 0) { output.WriteRawTag(40); output.WriteUInt32(EnvironmentContext); } if (EnvironmentType != 0) { output.WriteRawTag(48); output.WriteUInt32(EnvironmentType); } 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 (GraphId.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeBytesSize(GraphId); } if (EventId.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeBytesSize(EventId); } if (Data.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeBytesSize(Data); } if (EnvironmentNetworkId != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(EnvironmentNetworkId); } if (EnvironmentContext != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(EnvironmentContext); } if (EnvironmentType != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(EnvironmentType); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(SynchronizedEventData other) { if (other == null) { return; } if (other.GraphId.Length != 0) { GraphId = other.GraphId; } if (other.EventId.Length != 0) { EventId = other.EventId; } if (other.Data.Length != 0) { Data = other.Data; } if (other.EnvironmentNetworkId != 0) { EnvironmentNetworkId = other.EnvironmentNetworkId; } if (other.EnvironmentContext != 0) { EnvironmentContext = other.EnvironmentContext; } if (other.EnvironmentType != 0) { EnvironmentType = other.EnvironmentType; } _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: { GraphId = input.ReadBytes(); break; } case 18: { EventId = input.ReadBytes(); break; } case 26: { Data = input.ReadBytes(); break; } case 32: { EnvironmentNetworkId = input.ReadUInt32(); break; } case 40: { EnvironmentContext = input.ReadUInt32(); break; } case 48: { EnvironmentType = input.ReadUInt32(); 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: { GraphId = input.ReadBytes(); break; } case 18: { EventId = input.ReadBytes(); break; } case 26: { Data = input.ReadBytes(); break; } case 32: { EnvironmentNetworkId = input.ReadUInt32(); break; } case 40: { EnvironmentContext = input.ReadUInt32(); break; } case 48: { EnvironmentType = input.ReadUInt32(); break; } } } } #endif } #endregion } #endregion Designer generated code