340 lines
15 KiB
C#
340 lines
15 KiB
C#
// <auto-generated>
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: circuits_v2/messages/messages_state_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/messages/messages_state_data.proto</summary>
|
|
public static partial class MessagesStateDataReflection {
|
|
|
|
#region Descriptor
|
|
/// <summary>File descriptor for circuits_v2/messages/messages_state_data.proto</summary>
|
|
public static pbr::FileDescriptor Descriptor {
|
|
get { return descriptor; }
|
|
}
|
|
private static pbr::FileDescriptor descriptor;
|
|
|
|
static MessagesStateDataReflection() {
|
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
string.Concat(
|
|
"Ci5jaXJjdWl0c192Mi9tZXNzYWdlcy9tZXNzYWdlc19zdGF0ZV9kYXRhLnBy",
|
|
"b3RvEgtjaXJjdWl0c192MhouY2lyY3VpdHMvc2hhcmVkL3V0aWxpdGllcy9z",
|
|
"b2FfaWRfMzJfZGF0YS5wcm90bxolY2lyY3VpdHMvc2hhcmVkL2FwaS9pZF8x",
|
|
"MjhfZGF0YS5wcm90bxoxY2lyY3VpdHNfdjIvbWVzc2FnZXMvbWVzc2FnZV9z",
|
|
"aWduYXR1cmVfZGF0YS5wcm90byLmAQoRTWVzc2FnZXNTdGF0ZURhdGESNAoV",
|
|
"bWVzc2FnZV9zaWduYXR1cmVfaWRzGAEgASgLMhUuY2lyY3VpdHMuU09BSWQz",
|
|
"MkRhdGESJAocbWVzc2FnZV9zaWduYXR1cmVfcmVmX2NvdW50cxgCIAMoBRI9",
|
|
"ChJtZXNzYWdlX3NpZ25hdHVyZXMYAyADKAsyIS5jaXJjdWl0c192Mi5NZXNz",
|
|
"YWdlU2lnbmF0dXJlRGF0YRI2ChltZXNzYWdlX2V2ZW50X2RlZmluaXRpb25z",
|
|
"GAUgAygLMhMuY2lyY3VpdHMuSWQxMjhEYXRhQhaqAhNDaXJjdWl0c1YyLlBy",
|
|
"b3RvYnVmYgZwcm90bzM="));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { global::Circuits.Shared.Utilities.Protobuf.SoaId32DataReflection.Descriptor, global::Circuits.Shared.Api.Protobuf.Id128DataReflection.Descriptor, global::CircuitsV2.Protobuf.MessageSignatureDataReflection.Descriptor, },
|
|
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::CircuitsV2.Protobuf.MessagesStateData), global::CircuitsV2.Protobuf.MessagesStateData.Parser, new[]{ "MessageSignatureIds", "MessageSignatureRefCounts", "MessageSignatures", "MessageEventDefinitions" }, null, null, null, null)
|
|
}));
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
#region Messages
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class MessagesStateData : pb::IMessage<MessagesStateData>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<MessagesStateData> _parser = new pb::MessageParser<MessagesStateData>(() => new MessagesStateData());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<MessagesStateData> 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.MessagesStateDataReflection.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 MessagesStateData() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public MessagesStateData(MessagesStateData other) : this() {
|
|
messageSignatureIds_ = other.messageSignatureIds_ != null ? other.messageSignatureIds_.Clone() : null;
|
|
messageSignatureRefCounts_ = other.messageSignatureRefCounts_.Clone();
|
|
messageSignatures_ = other.messageSignatures_.Clone();
|
|
messageEventDefinitions_ = other.messageEventDefinitions_.Clone();
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public MessagesStateData Clone() {
|
|
return new MessagesStateData(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "message_signature_ids" field.</summary>
|
|
public const int MessageSignatureIdsFieldNumber = 1;
|
|
private global::Circuits.Shared.Utilities.Protobuf.SOAId32Data messageSignatureIds_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public global::Circuits.Shared.Utilities.Protobuf.SOAId32Data MessageSignatureIds {
|
|
get { return messageSignatureIds_; }
|
|
set {
|
|
messageSignatureIds_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "message_signature_ref_counts" field.</summary>
|
|
public const int MessageSignatureRefCountsFieldNumber = 2;
|
|
private static readonly pb::FieldCodec<int> _repeated_messageSignatureRefCounts_codec
|
|
= pb::FieldCodec.ForInt32(18);
|
|
private readonly pbc::RepeatedField<int> messageSignatureRefCounts_ = new pbc::RepeatedField<int>();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public pbc::RepeatedField<int> MessageSignatureRefCounts {
|
|
get { return messageSignatureRefCounts_; }
|
|
}
|
|
|
|
/// <summary>Field number for the "message_signatures" field.</summary>
|
|
public const int MessageSignaturesFieldNumber = 3;
|
|
private static readonly pb::FieldCodec<global::CircuitsV2.Protobuf.MessageSignatureData> _repeated_messageSignatures_codec
|
|
= pb::FieldCodec.ForMessage(26, global::CircuitsV2.Protobuf.MessageSignatureData.Parser);
|
|
private readonly pbc::RepeatedField<global::CircuitsV2.Protobuf.MessageSignatureData> messageSignatures_ = new pbc::RepeatedField<global::CircuitsV2.Protobuf.MessageSignatureData>();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public pbc::RepeatedField<global::CircuitsV2.Protobuf.MessageSignatureData> MessageSignatures {
|
|
get { return messageSignatures_; }
|
|
}
|
|
|
|
/// <summary>Field number for the "message_event_definitions" field.</summary>
|
|
public const int MessageEventDefinitionsFieldNumber = 5;
|
|
private static readonly pb::FieldCodec<global::Circuits.Shared.Api.Protobuf.Id128Data> _repeated_messageEventDefinitions_codec
|
|
= pb::FieldCodec.ForMessage(42, global::Circuits.Shared.Api.Protobuf.Id128Data.Parser);
|
|
private readonly pbc::RepeatedField<global::Circuits.Shared.Api.Protobuf.Id128Data> messageEventDefinitions_ = new pbc::RepeatedField<global::Circuits.Shared.Api.Protobuf.Id128Data>();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public pbc::RepeatedField<global::Circuits.Shared.Api.Protobuf.Id128Data> MessageEventDefinitions {
|
|
get { return messageEventDefinitions_; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as MessagesStateData);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(MessagesStateData other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (!object.Equals(MessageSignatureIds, other.MessageSignatureIds)) return false;
|
|
if(!messageSignatureRefCounts_.Equals(other.messageSignatureRefCounts_)) return false;
|
|
if(!messageSignatures_.Equals(other.messageSignatures_)) return false;
|
|
if(!messageEventDefinitions_.Equals(other.messageEventDefinitions_)) 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 (messageSignatureIds_ != null) hash ^= MessageSignatureIds.GetHashCode();
|
|
hash ^= messageSignatureRefCounts_.GetHashCode();
|
|
hash ^= messageSignatures_.GetHashCode();
|
|
hash ^= messageEventDefinitions_.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 (messageSignatureIds_ != null) {
|
|
output.WriteRawTag(10);
|
|
output.WriteMessage(MessageSignatureIds);
|
|
}
|
|
messageSignatureRefCounts_.WriteTo(output, _repeated_messageSignatureRefCounts_codec);
|
|
messageSignatures_.WriteTo(output, _repeated_messageSignatures_codec);
|
|
messageEventDefinitions_.WriteTo(output, _repeated_messageEventDefinitions_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 (messageSignatureIds_ != null) {
|
|
output.WriteRawTag(10);
|
|
output.WriteMessage(MessageSignatureIds);
|
|
}
|
|
messageSignatureRefCounts_.WriteTo(ref output, _repeated_messageSignatureRefCounts_codec);
|
|
messageSignatures_.WriteTo(ref output, _repeated_messageSignatures_codec);
|
|
messageEventDefinitions_.WriteTo(ref output, _repeated_messageEventDefinitions_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 (messageSignatureIds_ != null) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(MessageSignatureIds);
|
|
}
|
|
size += messageSignatureRefCounts_.CalculateSize(_repeated_messageSignatureRefCounts_codec);
|
|
size += messageSignatures_.CalculateSize(_repeated_messageSignatures_codec);
|
|
size += messageEventDefinitions_.CalculateSize(_repeated_messageEventDefinitions_codec);
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(MessagesStateData other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.messageSignatureIds_ != null) {
|
|
if (messageSignatureIds_ == null) {
|
|
MessageSignatureIds = new global::Circuits.Shared.Utilities.Protobuf.SOAId32Data();
|
|
}
|
|
MessageSignatureIds.MergeFrom(other.MessageSignatureIds);
|
|
}
|
|
messageSignatureRefCounts_.Add(other.messageSignatureRefCounts_);
|
|
messageSignatures_.Add(other.messageSignatures_);
|
|
messageEventDefinitions_.Add(other.messageEventDefinitions_);
|
|
_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: {
|
|
if (messageSignatureIds_ == null) {
|
|
MessageSignatureIds = new global::Circuits.Shared.Utilities.Protobuf.SOAId32Data();
|
|
}
|
|
input.ReadMessage(MessageSignatureIds);
|
|
break;
|
|
}
|
|
case 18:
|
|
case 16: {
|
|
messageSignatureRefCounts_.AddEntriesFrom(input, _repeated_messageSignatureRefCounts_codec);
|
|
break;
|
|
}
|
|
case 26: {
|
|
messageSignatures_.AddEntriesFrom(input, _repeated_messageSignatures_codec);
|
|
break;
|
|
}
|
|
case 42: {
|
|
messageEventDefinitions_.AddEntriesFrom(input, _repeated_messageEventDefinitions_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: {
|
|
if (messageSignatureIds_ == null) {
|
|
MessageSignatureIds = new global::Circuits.Shared.Utilities.Protobuf.SOAId32Data();
|
|
}
|
|
input.ReadMessage(MessageSignatureIds);
|
|
break;
|
|
}
|
|
case 18:
|
|
case 16: {
|
|
messageSignatureRefCounts_.AddEntriesFrom(ref input, _repeated_messageSignatureRefCounts_codec);
|
|
break;
|
|
}
|
|
case 26: {
|
|
messageSignatures_.AddEntriesFrom(ref input, _repeated_messageSignatures_codec);
|
|
break;
|
|
}
|
|
case 42: {
|
|
messageEventDefinitions_.AddEntriesFrom(ref input, _repeated_messageEventDefinitions_codec);
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|