From a19b825f4a1838bac766af0f073e3debb4cf4546 Mon Sep 17 00:00:00 2001 From: Yan Pitangui Date: Mon, 22 Apr 2024 11:03:45 -0300 Subject: [PATCH] Generate Protobuf C# objects automatically in MSBuild (#7063) * Added proto reference to each project and removed manually generated files * Removed protobuf target as it would not be used anymore * Remove manually generated files * Make proto generated types internal * upgrading MNTR --------- Co-authored-by: Aaron Stannard --- build.fsx | 45 - src/Directory.Build.props | 3 +- .../Akka.Cluster.Metrics.csproj | 9 + .../Proto/ClusterMetricsMessages.g.cs | 2734 ------- .../Serialization/Proto/generate.bat | 1 - .../Akka.Cluster.Tools.csproj | 11 + .../Proto/ClusterClientMessages.g.cs | 229 - .../Proto/DistributedPubSubMessages.g.cs | 2202 ------ .../Akka.DistributedData.csproj | 9 + .../Proto/ReplicatedDataMessages.g.cs | 6836 ---------------- .../Proto/ReplicatorMessages.g.cs | 6970 ----------------- src/core/Akka.Cluster/Akka.Cluster.csproj | 10 + .../Serialization/Proto/ClusterMessages.g.cs | 4719 ----------- .../Serialization/Proto/ReliableDelivery.g.cs | 3021 ------- .../Akka.Persistence/Akka.Persistence.csproj | 9 + .../Serialization/Proto/Persistence.g.cs | 1966 ----- .../Akka.Remote.TestKit.csproj | 9 + .../Proto/TestConductorProtocol.g.cs | 1568 ---- src/core/Akka.Remote/Akka.Remote.csproj | 11 + .../Serialization/Proto/ContainerFormats.g.cs | 2751 ------- .../Proto/SystemMessageFormats.g.cs | 1701 ---- .../Serialization/Proto/WireFormats.g.cs | 4877 ------------ src/core/Akka.Streams/Akka.Streams.csproj | 9 + .../Proto/StreamRefMessages.g.cs | 2205 ------ src/protobuf/WireFormats.proto | 3 +- 25 files changed, 81 insertions(+), 41827 deletions(-) delete mode 100644 src/contrib/cluster/Akka.Cluster.Metrics/Serialization/Proto/ClusterMetricsMessages.g.cs delete mode 100644 src/contrib/cluster/Akka.Cluster.Metrics/Serialization/Proto/generate.bat delete mode 100644 src/contrib/cluster/Akka.Cluster.Tools/Client/Serialization/Proto/ClusterClientMessages.g.cs delete mode 100644 src/contrib/cluster/Akka.Cluster.Tools/PublishSubscribe/Serialization/Proto/DistributedPubSubMessages.g.cs delete mode 100644 src/contrib/cluster/Akka.DistributedData/Serialization/Proto/ReplicatedDataMessages.g.cs delete mode 100644 src/contrib/cluster/Akka.DistributedData/Serialization/Proto/ReplicatorMessages.g.cs delete mode 100644 src/core/Akka.Cluster/Serialization/Proto/ClusterMessages.g.cs delete mode 100644 src/core/Akka.Cluster/Serialization/Proto/ReliableDelivery.g.cs delete mode 100644 src/core/Akka.Persistence/Serialization/Proto/Persistence.g.cs delete mode 100644 src/core/Akka.Remote.TestKit/Proto/TestConductorProtocol.g.cs delete mode 100644 src/core/Akka.Remote/Serialization/Proto/ContainerFormats.g.cs delete mode 100644 src/core/Akka.Remote/Serialization/Proto/SystemMessageFormats.g.cs delete mode 100644 src/core/Akka.Remote/Serialization/Proto/WireFormats.g.cs delete mode 100644 src/core/Akka.Streams/Serialization/Proto/StreamRefMessages.g.cs diff --git a/build.fsx b/build.fsx index 92e056c9796..582db6fc49a 100644 --- a/build.fsx +++ b/build.fsx @@ -426,51 +426,6 @@ Target "PublishNuget" (fun _ -> printfn "%s" exn.Message ) -//-------------------------------------------------------------------------------- -// Serialization -//-------------------------------------------------------------------------------- -Target "Protobuf" <| fun _ -> - - let protocPath = - if isWindows then findToolInSubPath "protoc.exe" "tools/Google.Protobuf.Tools/tools/windows_x64" - elif isMacOS then findToolInSubPath "protoc" "tools/Google.Protobuf.Tools/tools/macosx_x64" - else findToolInSubPath "protoc" "tools/Google.Protobuf.Tools/tools/linux_x64" - - let protoFiles = [ - ("WireFormats.proto", "/src/core/Akka.Remote/Serialization/Proto/"); - ("ContainerFormats.proto", "/src/core/Akka.Remote/Serialization/Proto/"); - ("SystemMessageFormats.proto", "/src/core/Akka.Remote/Serialization/Proto/"); - ("ClusterMessages.proto", "/src/core/Akka.Cluster/Serialization/Proto/"); - ("ClusterClientMessages.proto", "/src/contrib/cluster/Akka.Cluster.Tools/Client/Serialization/Proto/"); - ("DistributedPubSubMessages.proto", "/src/contrib/cluster/Akka.Cluster.Tools/PublishSubscribe/Serialization/Proto/"); - ("ClusterShardingMessages.proto", "/src/contrib/cluster/Akka.Cluster.Sharding/Serialization/Proto/"); - ("ReliableDelivery.proto", "/src/core/Akka.Cluster/Serialization/Proto/"); - ("TestConductorProtocol.proto", "/src/core/Akka.Remote.TestKit/Proto/"); - ("Persistence.proto", "/src/core/Akka.Persistence/Serialization/Proto/"); - ("StreamRefMessages.proto", "/src/core/Akka.Streams/Serialization/Proto/"); - ("ReplicatorMessages.proto", "/src/contrib/cluster/Akka.DistributedData/Serialization/Proto/"); - ("ReplicatedDataMessages.proto", "/src/contrib/cluster/Akka.DistributedData/Serialization/Proto/"); ] - - printfn "Using proto.exe: %s" protocPath - - let runProtobuf assembly = - let protoName, destinationPath = assembly - let args = StringBuilder() - |> append (sprintf "-I=%s" (__SOURCE_DIRECTORY__ @@ "/src/protobuf/") ) - |> append (sprintf "-I=%s" (__SOURCE_DIRECTORY__ @@ "/src/protobuf/common") ) - |> append (sprintf "--csharp_out=internal_access:%s" (__SOURCE_DIRECTORY__ @@ destinationPath)) - |> append "--csharp_opt=file_extension=.g.cs" - |> append (__SOURCE_DIRECTORY__ @@ "/src/protobuf" @@ protoName) - |> toText - - let result = ExecProcess(fun info -> - info.FileName <- protocPath - info.WorkingDirectory <- (Path.GetDirectoryName (FullName protocPath)) - info.Arguments <- args) (System.TimeSpan.FromMinutes 45.0) (* Reasonably long-running task. *) - if result <> 0 then failwithf "protoc failed. %s %s" protocPath args - - protoFiles |> Seq.iter (runProtobuf) - //-------------------------------------------------------------------------------- // Documentation //-------------------------------------------------------------------------------- diff --git a/src/Directory.Build.props b/src/Directory.Build.props index 55ff70a1adf..e776a8c8008 100644 --- a/src/Directory.Build.props +++ b/src/Directory.Build.props @@ -25,6 +25,7 @@ [13.0.1,) 2.0.1 3.26.1 + 2.60.0 0.13.12 net8.0 6.0.5 @@ -36,7 +37,7 @@ 2.16.6 2.0.3 6.0.1 - 1.5.18 + 1.5.19 [6.0.*,) [6.0.*,) 0.2.4 diff --git a/src/contrib/cluster/Akka.Cluster.Metrics/Akka.Cluster.Metrics.csproj b/src/contrib/cluster/Akka.Cluster.Metrics/Akka.Cluster.Metrics.csproj index a8e4188ae8b..834524940d8 100644 --- a/src/contrib/cluster/Akka.Cluster.Metrics/Akka.Cluster.Metrics.csproj +++ b/src/contrib/cluster/Akka.Cluster.Metrics/Akka.Cluster.Metrics.csproj @@ -20,6 +20,15 @@ + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + + + + diff --git a/src/contrib/cluster/Akka.Cluster.Metrics/Serialization/Proto/ClusterMetricsMessages.g.cs b/src/contrib/cluster/Akka.Cluster.Metrics/Serialization/Proto/ClusterMetricsMessages.g.cs deleted file mode 100644 index 4cf34139214..00000000000 --- a/src/contrib/cluster/Akka.Cluster.Metrics/Serialization/Proto/ClusterMetricsMessages.g.cs +++ /dev/null @@ -1,2734 +0,0 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: ClusterMetricsMessages.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 Akka.Cluster.Metrics.Serialization.Proto { - - /// Holder for reflection information generated from ClusterMetricsMessages.proto - internal static partial class ClusterMetricsMessagesReflection { - - #region Descriptor - /// File descriptor for ClusterMetricsMessages.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static ClusterMetricsMessagesReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChxDbHVzdGVyTWV0cmljc01lc3NhZ2VzLnByb3RvImIKFU1ldHJpY3NHb3Nz", - "aXBFbnZlbG9wZRIaCgRmcm9tGAEgASgLMgwuQWRkcmVzc0RhdGESHgoGZ29z", - "c2lwGAIgASgLMg4uTWV0cmljc0dvc3NpcBINCgVyZXBseRgDIAEoCCJuCg1N", - "ZXRyaWNzR29zc2lwEiIKDGFsbEFkZHJlc3NlcxgBIAMoCzIMLkFkZHJlc3NE", - "YXRhEhYKDmFsbE1ldHJpY05hbWVzGAIgAygJEiEKC25vZGVNZXRyaWNzGAMg", - "AygLMgwuTm9kZU1ldHJpY3MimAMKC05vZGVNZXRyaWNzEhQKDGFkZHJlc3NJ", - "bmRleBgBIAEoBRIRCgl0aW1lc3RhbXAYAiABKAMSJAoHbWV0cmljcxgDIAMo", - "CzITLk5vZGVNZXRyaWNzLk1ldHJpYxplCgZOdW1iZXISJQoEdHlwZRgBIAEo", - "DjIXLk5vZGVNZXRyaWNzLk51bWJlclR5cGUSDwoHdmFsdWUzMhgCIAEoDRIP", - "Cgd2YWx1ZTY0GAMgASgEEhIKCnNlcmlhbGl6ZWQYBCABKAwaJAoERVdNQRIN", - "CgV2YWx1ZRgBIAEoARINCgVhbHBoYRgCIAEoARphCgZNZXRyaWMSEQoJbmFt", - "ZUluZGV4GAEgASgFEiMKBm51bWJlchgCIAEoCzITLk5vZGVNZXRyaWNzLk51", - "bWJlchIfCgRld21hGAMgASgLMhEuTm9kZU1ldHJpY3MuRVdNQSJKCgpOdW1i", - "ZXJUeXBlEg4KClNlcmlhbGl6ZWQQABIKCgZEb3VibGUQARIJCgVGbG9hdBAC", - "EgsKB0ludGVnZXIQAxIICgRMb25nEAQiTwoLQWRkcmVzc0RhdGESDgoGc3lz", - "dGVtGAEgASgJEhAKCGhvc3RuYW1lGAIgASgJEgwKBHBvcnQYAyABKA0SEAoI", - "cHJvdG9jb2wYBCABKAkikgEKGUFkYXB0aXZlTG9hZEJhbGFuY2luZ1Bvb2wS", - "KQoPbWV0cmljc1NlbGVjdG9yGAEgASgLMhAuTWV0cmljc1NlbGVjdG9yEhUK", - "DW5yT2ZJbnN0YW5jZXMYAiABKA0SGAoQcm91dGVyRGlzcGF0Y2hlchgDIAEo", - "CRIZChF1c2VQb29sRGlzcGF0Y2hlchgEIAEoCCJHCg9NZXRyaWNzU2VsZWN0", - "b3ISFAoMc2VyaWFsaXplcklkGAEgASgNEhAKCG1hbmlmZXN0GAIgASgJEgwK", - "BGRhdGEYAyABKAwiOQoSTWl4TWV0cmljc1NlbGVjdG9yEiMKCXNlbGVjdG9y", - "cxgBIAMoCzIQLk1ldHJpY3NTZWxlY3RvckItSAGqAihBa2thLkNsdXN0ZXIu", - "TWV0cmljcy5TZXJpYWxpemF0aW9uLlByb3RvYgZwcm90bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Akka.Cluster.Metrics.Serialization.Proto.MetricsGossipEnvelope), global::Akka.Cluster.Metrics.Serialization.Proto.MetricsGossipEnvelope.Parser, new[]{ "From", "Gossip", "Reply" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Akka.Cluster.Metrics.Serialization.Proto.MetricsGossip), global::Akka.Cluster.Metrics.Serialization.Proto.MetricsGossip.Parser, new[]{ "AllAddresses", "AllMetricNames", "NodeMetrics" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Akka.Cluster.Metrics.Serialization.Proto.NodeMetrics), global::Akka.Cluster.Metrics.Serialization.Proto.NodeMetrics.Parser, new[]{ "AddressIndex", "Timestamp", "Metrics" }, null, new[]{ typeof(global::Akka.Cluster.Metrics.Serialization.Proto.NodeMetrics.Types.NumberType) }, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Akka.Cluster.Metrics.Serialization.Proto.NodeMetrics.Types.Number), global::Akka.Cluster.Metrics.Serialization.Proto.NodeMetrics.Types.Number.Parser, new[]{ "Type", "Value32", "Value64", "Serialized" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Akka.Cluster.Metrics.Serialization.Proto.NodeMetrics.Types.EWMA), global::Akka.Cluster.Metrics.Serialization.Proto.NodeMetrics.Types.EWMA.Parser, new[]{ "Value", "Alpha" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Akka.Cluster.Metrics.Serialization.Proto.NodeMetrics.Types.Metric), global::Akka.Cluster.Metrics.Serialization.Proto.NodeMetrics.Types.Metric.Parser, new[]{ "NameIndex", "Number", "Ewma" }, null, null, null, null)}), - new pbr::GeneratedClrTypeInfo(typeof(global::Akka.Cluster.Metrics.Serialization.Proto.AddressData), global::Akka.Cluster.Metrics.Serialization.Proto.AddressData.Parser, new[]{ "System", "Hostname", "Port", "Protocol" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Akka.Cluster.Metrics.Serialization.Proto.AdaptiveLoadBalancingPool), global::Akka.Cluster.Metrics.Serialization.Proto.AdaptiveLoadBalancingPool.Parser, new[]{ "MetricsSelector", "NrOfInstances", "RouterDispatcher", "UsePoolDispatcher" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Akka.Cluster.Metrics.Serialization.Proto.MetricsSelector), global::Akka.Cluster.Metrics.Serialization.Proto.MetricsSelector.Parser, new[]{ "SerializerId", "Manifest", "Data" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Akka.Cluster.Metrics.Serialization.Proto.MixMetricsSelector), global::Akka.Cluster.Metrics.Serialization.Proto.MixMetricsSelector.Parser, new[]{ "Selectors" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - /// - ///* - /// Metrics Gossip Envelope - /// - internal sealed partial class MetricsGossipEnvelope : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new MetricsGossipEnvelope()); - 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::Akka.Cluster.Metrics.Serialization.Proto.ClusterMetricsMessagesReflection.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 MetricsGossipEnvelope() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public MetricsGossipEnvelope(MetricsGossipEnvelope other) : this() { - from_ = other.from_ != null ? other.from_.Clone() : null; - gossip_ = other.gossip_ != null ? other.gossip_.Clone() : null; - reply_ = other.reply_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public MetricsGossipEnvelope Clone() { - return new MetricsGossipEnvelope(this); - } - - /// Field number for the "from" field. - public const int FromFieldNumber = 1; - private global::Akka.Cluster.Metrics.Serialization.Proto.AddressData from_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.Cluster.Metrics.Serialization.Proto.AddressData From { - get { return from_; } - set { - from_ = value; - } - } - - /// Field number for the "gossip" field. - public const int GossipFieldNumber = 2; - private global::Akka.Cluster.Metrics.Serialization.Proto.MetricsGossip gossip_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.Cluster.Metrics.Serialization.Proto.MetricsGossip Gossip { - get { return gossip_; } - set { - gossip_ = value; - } - } - - /// Field number for the "reply" field. - public const int ReplyFieldNumber = 3; - private bool reply_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Reply { - get { return reply_; } - set { - reply_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as MetricsGossipEnvelope); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(MetricsGossipEnvelope other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (!object.Equals(From, other.From)) return false; - if (!object.Equals(Gossip, other.Gossip)) return false; - if (Reply != other.Reply) 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 (from_ != null) hash ^= From.GetHashCode(); - if (gossip_ != null) hash ^= Gossip.GetHashCode(); - if (Reply != false) hash ^= Reply.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 (from_ != null) { - output.WriteRawTag(10); - output.WriteMessage(From); - } - if (gossip_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Gossip); - } - if (Reply != false) { - output.WriteRawTag(24); - output.WriteBool(Reply); - } - 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 (from_ != null) { - output.WriteRawTag(10); - output.WriteMessage(From); - } - if (gossip_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Gossip); - } - if (Reply != false) { - output.WriteRawTag(24); - output.WriteBool(Reply); - } - 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 (from_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(From); - } - if (gossip_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Gossip); - } - if (Reply != false) { - size += 1 + 1; - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(MetricsGossipEnvelope other) { - if (other == null) { - return; - } - if (other.from_ != null) { - if (from_ == null) { - From = new global::Akka.Cluster.Metrics.Serialization.Proto.AddressData(); - } - From.MergeFrom(other.From); - } - if (other.gossip_ != null) { - if (gossip_ == null) { - Gossip = new global::Akka.Cluster.Metrics.Serialization.Proto.MetricsGossip(); - } - Gossip.MergeFrom(other.Gossip); - } - if (other.Reply != false) { - Reply = other.Reply; - } - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - if (from_ == null) { - From = new global::Akka.Cluster.Metrics.Serialization.Proto.AddressData(); - } - input.ReadMessage(From); - break; - } - case 18: { - if (gossip_ == null) { - Gossip = new global::Akka.Cluster.Metrics.Serialization.Proto.MetricsGossip(); - } - input.ReadMessage(Gossip); - break; - } - case 24: { - Reply = input.ReadBool(); - 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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - if (from_ == null) { - From = new global::Akka.Cluster.Metrics.Serialization.Proto.AddressData(); - } - input.ReadMessage(From); - break; - } - case 18: { - if (gossip_ == null) { - Gossip = new global::Akka.Cluster.Metrics.Serialization.Proto.MetricsGossip(); - } - input.ReadMessage(Gossip); - break; - } - case 24: { - Reply = input.ReadBool(); - break; - } - } - } - } - #endif - - } - - /// - ///* - /// Metrics Gossip - /// - internal sealed partial class MetricsGossip : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new MetricsGossip()); - 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::Akka.Cluster.Metrics.Serialization.Proto.ClusterMetricsMessagesReflection.Descriptor.MessageTypes[1]; } - } - - [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 MetricsGossip() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public MetricsGossip(MetricsGossip other) : this() { - allAddresses_ = other.allAddresses_.Clone(); - allMetricNames_ = other.allMetricNames_.Clone(); - nodeMetrics_ = other.nodeMetrics_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public MetricsGossip Clone() { - return new MetricsGossip(this); - } - - /// Field number for the "allAddresses" field. - public const int AllAddressesFieldNumber = 1; - private static readonly pb::FieldCodec _repeated_allAddresses_codec - = pb::FieldCodec.ForMessage(10, global::Akka.Cluster.Metrics.Serialization.Proto.AddressData.Parser); - private readonly pbc::RepeatedField allAddresses_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField AllAddresses { - get { return allAddresses_; } - } - - /// Field number for the "allMetricNames" field. - public const int AllMetricNamesFieldNumber = 2; - private static readonly pb::FieldCodec _repeated_allMetricNames_codec - = pb::FieldCodec.ForString(18); - private readonly pbc::RepeatedField allMetricNames_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField AllMetricNames { - get { return allMetricNames_; } - } - - /// Field number for the "nodeMetrics" field. - public const int NodeMetricsFieldNumber = 3; - private static readonly pb::FieldCodec _repeated_nodeMetrics_codec - = pb::FieldCodec.ForMessage(26, global::Akka.Cluster.Metrics.Serialization.Proto.NodeMetrics.Parser); - private readonly pbc::RepeatedField nodeMetrics_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField NodeMetrics { - get { return nodeMetrics_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as MetricsGossip); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(MetricsGossip other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!allAddresses_.Equals(other.allAddresses_)) return false; - if(!allMetricNames_.Equals(other.allMetricNames_)) return false; - if(!nodeMetrics_.Equals(other.nodeMetrics_)) 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; - hash ^= allAddresses_.GetHashCode(); - hash ^= allMetricNames_.GetHashCode(); - hash ^= nodeMetrics_.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 - allAddresses_.WriteTo(output, _repeated_allAddresses_codec); - allMetricNames_.WriteTo(output, _repeated_allMetricNames_codec); - nodeMetrics_.WriteTo(output, _repeated_nodeMetrics_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) { - allAddresses_.WriteTo(ref output, _repeated_allAddresses_codec); - allMetricNames_.WriteTo(ref output, _repeated_allMetricNames_codec); - nodeMetrics_.WriteTo(ref output, _repeated_nodeMetrics_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; - size += allAddresses_.CalculateSize(_repeated_allAddresses_codec); - size += allMetricNames_.CalculateSize(_repeated_allMetricNames_codec); - size += nodeMetrics_.CalculateSize(_repeated_nodeMetrics_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(MetricsGossip other) { - if (other == null) { - return; - } - allAddresses_.Add(other.allAddresses_); - allMetricNames_.Add(other.allMetricNames_); - nodeMetrics_.Add(other.nodeMetrics_); - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - allAddresses_.AddEntriesFrom(input, _repeated_allAddresses_codec); - break; - } - case 18: { - allMetricNames_.AddEntriesFrom(input, _repeated_allMetricNames_codec); - break; - } - case 26: { - nodeMetrics_.AddEntriesFrom(input, _repeated_nodeMetrics_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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - allAddresses_.AddEntriesFrom(ref input, _repeated_allAddresses_codec); - break; - } - case 18: { - allMetricNames_.AddEntriesFrom(ref input, _repeated_allMetricNames_codec); - break; - } - case 26: { - nodeMetrics_.AddEntriesFrom(ref input, _repeated_nodeMetrics_codec); - break; - } - } - } - } - #endif - - } - - /// - ///* - /// Node Metrics - /// - internal sealed partial class NodeMetrics : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new NodeMetrics()); - 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::Akka.Cluster.Metrics.Serialization.Proto.ClusterMetricsMessagesReflection.Descriptor.MessageTypes[2]; } - } - - [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 NodeMetrics() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public NodeMetrics(NodeMetrics other) : this() { - addressIndex_ = other.addressIndex_; - timestamp_ = other.timestamp_; - metrics_ = other.metrics_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public NodeMetrics Clone() { - return new NodeMetrics(this); - } - - /// Field number for the "addressIndex" field. - public const int AddressIndexFieldNumber = 1; - private int addressIndex_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int AddressIndex { - get { return addressIndex_; } - set { - addressIndex_ = value; - } - } - - /// Field number for the "timestamp" field. - public const int TimestampFieldNumber = 2; - private long timestamp_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public long Timestamp { - get { return timestamp_; } - set { - timestamp_ = value; - } - } - - /// Field number for the "metrics" field. - public const int MetricsFieldNumber = 3; - private static readonly pb::FieldCodec _repeated_metrics_codec - = pb::FieldCodec.ForMessage(26, global::Akka.Cluster.Metrics.Serialization.Proto.NodeMetrics.Types.Metric.Parser); - private readonly pbc::RepeatedField metrics_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField Metrics { - get { return metrics_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as NodeMetrics); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(NodeMetrics other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (AddressIndex != other.AddressIndex) return false; - if (Timestamp != other.Timestamp) return false; - if(!metrics_.Equals(other.metrics_)) 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 (AddressIndex != 0) hash ^= AddressIndex.GetHashCode(); - if (Timestamp != 0L) hash ^= Timestamp.GetHashCode(); - hash ^= metrics_.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 (AddressIndex != 0) { - output.WriteRawTag(8); - output.WriteInt32(AddressIndex); - } - if (Timestamp != 0L) { - output.WriteRawTag(16); - output.WriteInt64(Timestamp); - } - metrics_.WriteTo(output, _repeated_metrics_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 (AddressIndex != 0) { - output.WriteRawTag(8); - output.WriteInt32(AddressIndex); - } - if (Timestamp != 0L) { - output.WriteRawTag(16); - output.WriteInt64(Timestamp); - } - metrics_.WriteTo(ref output, _repeated_metrics_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 (AddressIndex != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(AddressIndex); - } - if (Timestamp != 0L) { - size += 1 + pb::CodedOutputStream.ComputeInt64Size(Timestamp); - } - size += metrics_.CalculateSize(_repeated_metrics_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(NodeMetrics other) { - if (other == null) { - return; - } - if (other.AddressIndex != 0) { - AddressIndex = other.AddressIndex; - } - if (other.Timestamp != 0L) { - Timestamp = other.Timestamp; - } - metrics_.Add(other.metrics_); - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 8: { - AddressIndex = input.ReadInt32(); - break; - } - case 16: { - Timestamp = input.ReadInt64(); - break; - } - case 26: { - metrics_.AddEntriesFrom(input, _repeated_metrics_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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 8: { - AddressIndex = input.ReadInt32(); - break; - } - case 16: { - Timestamp = input.ReadInt64(); - break; - } - case 26: { - metrics_.AddEntriesFrom(ref input, _repeated_metrics_codec); - break; - } - } - } - } - #endif - - #region Nested types - /// Container for nested types declared in the NodeMetrics message type. - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static partial class Types { - internal enum NumberType { - [pbr::OriginalName("Serialized")] Serialized = 0, - [pbr::OriginalName("Double")] Double = 1, - [pbr::OriginalName("Float")] Float = 2, - [pbr::OriginalName("Integer")] Integer = 3, - [pbr::OriginalName("Long")] Long = 4, - } - - internal sealed partial class Number : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Number()); - 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::Akka.Cluster.Metrics.Serialization.Proto.NodeMetrics.Descriptor.NestedTypes[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 Number() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Number(Number other) : this() { - type_ = other.type_; - value32_ = other.value32_; - value64_ = other.value64_; - serialized_ = other.serialized_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Number Clone() { - return new Number(this); - } - - /// Field number for the "type" field. - public const int TypeFieldNumber = 1; - private global::Akka.Cluster.Metrics.Serialization.Proto.NodeMetrics.Types.NumberType type_ = global::Akka.Cluster.Metrics.Serialization.Proto.NodeMetrics.Types.NumberType.Serialized; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.Cluster.Metrics.Serialization.Proto.NodeMetrics.Types.NumberType Type { - get { return type_; } - set { - type_ = value; - } - } - - /// Field number for the "value32" field. - public const int Value32FieldNumber = 2; - private uint value32_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public uint Value32 { - get { return value32_; } - set { - value32_ = value; - } - } - - /// Field number for the "value64" field. - public const int Value64FieldNumber = 3; - private ulong value64_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ulong Value64 { - get { return value64_; } - set { - value64_ = value; - } - } - - /// Field number for the "serialized" field. - public const int SerializedFieldNumber = 4; - private pb::ByteString serialized_ = pb::ByteString.Empty; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pb::ByteString Serialized { - get { return serialized_; } - set { - serialized_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as Number); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(Number other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Type != other.Type) return false; - if (Value32 != other.Value32) return false; - if (Value64 != other.Value64) return false; - if (Serialized != other.Serialized) 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 (Type != global::Akka.Cluster.Metrics.Serialization.Proto.NodeMetrics.Types.NumberType.Serialized) hash ^= Type.GetHashCode(); - if (Value32 != 0) hash ^= Value32.GetHashCode(); - if (Value64 != 0UL) hash ^= Value64.GetHashCode(); - if (Serialized.Length != 0) hash ^= Serialized.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 (Type != global::Akka.Cluster.Metrics.Serialization.Proto.NodeMetrics.Types.NumberType.Serialized) { - output.WriteRawTag(8); - output.WriteEnum((int) Type); - } - if (Value32 != 0) { - output.WriteRawTag(16); - output.WriteUInt32(Value32); - } - if (Value64 != 0UL) { - output.WriteRawTag(24); - output.WriteUInt64(Value64); - } - if (Serialized.Length != 0) { - output.WriteRawTag(34); - output.WriteBytes(Serialized); - } - 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 (Type != global::Akka.Cluster.Metrics.Serialization.Proto.NodeMetrics.Types.NumberType.Serialized) { - output.WriteRawTag(8); - output.WriteEnum((int) Type); - } - if (Value32 != 0) { - output.WriteRawTag(16); - output.WriteUInt32(Value32); - } - if (Value64 != 0UL) { - output.WriteRawTag(24); - output.WriteUInt64(Value64); - } - if (Serialized.Length != 0) { - output.WriteRawTag(34); - output.WriteBytes(Serialized); - } - 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 (Type != global::Akka.Cluster.Metrics.Serialization.Proto.NodeMetrics.Types.NumberType.Serialized) { - size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Type); - } - if (Value32 != 0) { - size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Value32); - } - if (Value64 != 0UL) { - size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Value64); - } - if (Serialized.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeBytesSize(Serialized); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(Number other) { - if (other == null) { - return; - } - if (other.Type != global::Akka.Cluster.Metrics.Serialization.Proto.NodeMetrics.Types.NumberType.Serialized) { - Type = other.Type; - } - if (other.Value32 != 0) { - Value32 = other.Value32; - } - if (other.Value64 != 0UL) { - Value64 = other.Value64; - } - if (other.Serialized.Length != 0) { - Serialized = other.Serialized; - } - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 8: { - Type = (global::Akka.Cluster.Metrics.Serialization.Proto.NodeMetrics.Types.NumberType) input.ReadEnum(); - break; - } - case 16: { - Value32 = input.ReadUInt32(); - break; - } - case 24: { - Value64 = input.ReadUInt64(); - break; - } - case 34: { - Serialized = input.ReadBytes(); - 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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 8: { - Type = (global::Akka.Cluster.Metrics.Serialization.Proto.NodeMetrics.Types.NumberType) input.ReadEnum(); - break; - } - case 16: { - Value32 = input.ReadUInt32(); - break; - } - case 24: { - Value64 = input.ReadUInt64(); - break; - } - case 34: { - Serialized = input.ReadBytes(); - break; - } - } - } - } - #endif - - } - - internal sealed partial class EWMA : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new EWMA()); - 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::Akka.Cluster.Metrics.Serialization.Proto.NodeMetrics.Descriptor.NestedTypes[1]; } - } - - [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 EWMA() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public EWMA(EWMA other) : this() { - value_ = other.value_; - alpha_ = other.alpha_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public EWMA Clone() { - return new EWMA(this); - } - - /// Field number for the "value" field. - public const int ValueFieldNumber = 1; - private double value_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public double Value { - get { return value_; } - set { - value_ = value; - } - } - - /// Field number for the "alpha" field. - public const int AlphaFieldNumber = 2; - private double alpha_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public double Alpha { - get { return alpha_; } - set { - alpha_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as EWMA); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(EWMA other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(Value, other.Value)) return false; - if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(Alpha, other.Alpha)) 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 (Value != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(Value); - if (Alpha != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(Alpha); - 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 (Value != 0D) { - output.WriteRawTag(9); - output.WriteDouble(Value); - } - if (Alpha != 0D) { - output.WriteRawTag(17); - output.WriteDouble(Alpha); - } - 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 (Value != 0D) { - output.WriteRawTag(9); - output.WriteDouble(Value); - } - if (Alpha != 0D) { - output.WriteRawTag(17); - output.WriteDouble(Alpha); - } - 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 (Value != 0D) { - size += 1 + 8; - } - if (Alpha != 0D) { - size += 1 + 8; - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(EWMA other) { - if (other == null) { - return; - } - if (other.Value != 0D) { - Value = other.Value; - } - if (other.Alpha != 0D) { - Alpha = other.Alpha; - } - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 9: { - Value = input.ReadDouble(); - break; - } - case 17: { - Alpha = input.ReadDouble(); - 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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 9: { - Value = input.ReadDouble(); - break; - } - case 17: { - Alpha = input.ReadDouble(); - break; - } - } - } - } - #endif - - } - - internal sealed partial class Metric : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Metric()); - 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::Akka.Cluster.Metrics.Serialization.Proto.NodeMetrics.Descriptor.NestedTypes[2]; } - } - - [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 Metric() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Metric(Metric other) : this() { - nameIndex_ = other.nameIndex_; - number_ = other.number_ != null ? other.number_.Clone() : null; - ewma_ = other.ewma_ != null ? other.ewma_.Clone() : null; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Metric Clone() { - return new Metric(this); - } - - /// Field number for the "nameIndex" field. - public const int NameIndexFieldNumber = 1; - private int nameIndex_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int NameIndex { - get { return nameIndex_; } - set { - nameIndex_ = value; - } - } - - /// Field number for the "number" field. - public const int NumberFieldNumber = 2; - private global::Akka.Cluster.Metrics.Serialization.Proto.NodeMetrics.Types.Number number_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.Cluster.Metrics.Serialization.Proto.NodeMetrics.Types.Number Number { - get { return number_; } - set { - number_ = value; - } - } - - /// Field number for the "ewma" field. - public const int EwmaFieldNumber = 3; - private global::Akka.Cluster.Metrics.Serialization.Proto.NodeMetrics.Types.EWMA ewma_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.Cluster.Metrics.Serialization.Proto.NodeMetrics.Types.EWMA Ewma { - get { return ewma_; } - set { - ewma_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as Metric); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(Metric other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (NameIndex != other.NameIndex) return false; - if (!object.Equals(Number, other.Number)) return false; - if (!object.Equals(Ewma, other.Ewma)) 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 (NameIndex != 0) hash ^= NameIndex.GetHashCode(); - if (number_ != null) hash ^= Number.GetHashCode(); - if (ewma_ != null) hash ^= Ewma.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 (NameIndex != 0) { - output.WriteRawTag(8); - output.WriteInt32(NameIndex); - } - if (number_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Number); - } - if (ewma_ != null) { - output.WriteRawTag(26); - output.WriteMessage(Ewma); - } - 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 (NameIndex != 0) { - output.WriteRawTag(8); - output.WriteInt32(NameIndex); - } - if (number_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Number); - } - if (ewma_ != null) { - output.WriteRawTag(26); - output.WriteMessage(Ewma); - } - 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 (NameIndex != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(NameIndex); - } - if (number_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Number); - } - if (ewma_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Ewma); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(Metric other) { - if (other == null) { - return; - } - if (other.NameIndex != 0) { - NameIndex = other.NameIndex; - } - if (other.number_ != null) { - if (number_ == null) { - Number = new global::Akka.Cluster.Metrics.Serialization.Proto.NodeMetrics.Types.Number(); - } - Number.MergeFrom(other.Number); - } - if (other.ewma_ != null) { - if (ewma_ == null) { - Ewma = new global::Akka.Cluster.Metrics.Serialization.Proto.NodeMetrics.Types.EWMA(); - } - Ewma.MergeFrom(other.Ewma); - } - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 8: { - NameIndex = input.ReadInt32(); - break; - } - case 18: { - if (number_ == null) { - Number = new global::Akka.Cluster.Metrics.Serialization.Proto.NodeMetrics.Types.Number(); - } - input.ReadMessage(Number); - break; - } - case 26: { - if (ewma_ == null) { - Ewma = new global::Akka.Cluster.Metrics.Serialization.Proto.NodeMetrics.Types.EWMA(); - } - input.ReadMessage(Ewma); - 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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 8: { - NameIndex = input.ReadInt32(); - break; - } - case 18: { - if (number_ == null) { - Number = new global::Akka.Cluster.Metrics.Serialization.Proto.NodeMetrics.Types.Number(); - } - input.ReadMessage(Number); - break; - } - case 26: { - if (ewma_ == null) { - Ewma = new global::Akka.Cluster.Metrics.Serialization.Proto.NodeMetrics.Types.EWMA(); - } - input.ReadMessage(Ewma); - break; - } - } - } - } - #endif - - } - - } - #endregion - - } - - /// - ///* - /// Defines a remote address. - /// - internal sealed partial class AddressData : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AddressData()); - 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::Akka.Cluster.Metrics.Serialization.Proto.ClusterMetricsMessagesReflection.Descriptor.MessageTypes[3]; } - } - - [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 AddressData() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public AddressData(AddressData other) : this() { - system_ = other.system_; - hostname_ = other.hostname_; - port_ = other.port_; - protocol_ = other.protocol_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public AddressData Clone() { - return new AddressData(this); - } - - /// Field number for the "system" field. - public const int SystemFieldNumber = 1; - private string system_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string System { - get { return system_; } - set { - system_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "hostname" field. - public const int HostnameFieldNumber = 2; - private string hostname_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Hostname { - get { return hostname_; } - set { - hostname_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "port" field. - public const int PortFieldNumber = 3; - private uint port_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public uint Port { - get { return port_; } - set { - port_ = value; - } - } - - /// Field number for the "protocol" field. - public const int ProtocolFieldNumber = 4; - private string protocol_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Protocol { - get { return protocol_; } - set { - protocol_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as AddressData); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(AddressData other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (System != other.System) return false; - if (Hostname != other.Hostname) return false; - if (Port != other.Port) return false; - if (Protocol != other.Protocol) 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 (System.Length != 0) hash ^= System.GetHashCode(); - if (Hostname.Length != 0) hash ^= Hostname.GetHashCode(); - if (Port != 0) hash ^= Port.GetHashCode(); - if (Protocol.Length != 0) hash ^= Protocol.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 (System.Length != 0) { - output.WriteRawTag(10); - output.WriteString(System); - } - if (Hostname.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Hostname); - } - if (Port != 0) { - output.WriteRawTag(24); - output.WriteUInt32(Port); - } - if (Protocol.Length != 0) { - output.WriteRawTag(34); - output.WriteString(Protocol); - } - 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 (System.Length != 0) { - output.WriteRawTag(10); - output.WriteString(System); - } - if (Hostname.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Hostname); - } - if (Port != 0) { - output.WriteRawTag(24); - output.WriteUInt32(Port); - } - if (Protocol.Length != 0) { - output.WriteRawTag(34); - output.WriteString(Protocol); - } - 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 (System.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(System); - } - if (Hostname.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Hostname); - } - if (Port != 0) { - size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Port); - } - if (Protocol.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Protocol); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(AddressData other) { - if (other == null) { - return; - } - if (other.System.Length != 0) { - System = other.System; - } - if (other.Hostname.Length != 0) { - Hostname = other.Hostname; - } - if (other.Port != 0) { - Port = other.Port; - } - if (other.Protocol.Length != 0) { - Protocol = other.Protocol; - } - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - System = input.ReadString(); - break; - } - case 18: { - Hostname = input.ReadString(); - break; - } - case 24: { - Port = input.ReadUInt32(); - break; - } - case 34: { - Protocol = input.ReadString(); - 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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - System = input.ReadString(); - break; - } - case 18: { - Hostname = input.ReadString(); - break; - } - case 24: { - Port = input.ReadUInt32(); - break; - } - case 34: { - Protocol = input.ReadString(); - break; - } - } - } - } - #endif - - } - - internal sealed partial class AdaptiveLoadBalancingPool : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AdaptiveLoadBalancingPool()); - 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::Akka.Cluster.Metrics.Serialization.Proto.ClusterMetricsMessagesReflection.Descriptor.MessageTypes[4]; } - } - - [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 AdaptiveLoadBalancingPool() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public AdaptiveLoadBalancingPool(AdaptiveLoadBalancingPool other) : this() { - metricsSelector_ = other.metricsSelector_ != null ? other.metricsSelector_.Clone() : null; - nrOfInstances_ = other.nrOfInstances_; - routerDispatcher_ = other.routerDispatcher_; - usePoolDispatcher_ = other.usePoolDispatcher_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public AdaptiveLoadBalancingPool Clone() { - return new AdaptiveLoadBalancingPool(this); - } - - /// Field number for the "metricsSelector" field. - public const int MetricsSelectorFieldNumber = 1; - private global::Akka.Cluster.Metrics.Serialization.Proto.MetricsSelector metricsSelector_; - /// - /// omitted if default - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.Cluster.Metrics.Serialization.Proto.MetricsSelector MetricsSelector { - get { return metricsSelector_; } - set { - metricsSelector_ = value; - } - } - - /// Field number for the "nrOfInstances" field. - public const int NrOfInstancesFieldNumber = 2; - private uint nrOfInstances_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public uint NrOfInstances { - get { return nrOfInstances_; } - set { - nrOfInstances_ = value; - } - } - - /// Field number for the "routerDispatcher" field. - public const int RouterDispatcherFieldNumber = 3; - private string routerDispatcher_ = ""; - /// - /// omitted if default - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string RouterDispatcher { - get { return routerDispatcher_; } - set { - routerDispatcher_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "usePoolDispatcher" field. - public const int UsePoolDispatcherFieldNumber = 4; - private bool usePoolDispatcher_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool UsePoolDispatcher { - get { return usePoolDispatcher_; } - set { - usePoolDispatcher_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as AdaptiveLoadBalancingPool); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(AdaptiveLoadBalancingPool other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (!object.Equals(MetricsSelector, other.MetricsSelector)) return false; - if (NrOfInstances != other.NrOfInstances) return false; - if (RouterDispatcher != other.RouterDispatcher) return false; - if (UsePoolDispatcher != other.UsePoolDispatcher) 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 (metricsSelector_ != null) hash ^= MetricsSelector.GetHashCode(); - if (NrOfInstances != 0) hash ^= NrOfInstances.GetHashCode(); - if (RouterDispatcher.Length != 0) hash ^= RouterDispatcher.GetHashCode(); - if (UsePoolDispatcher != false) hash ^= UsePoolDispatcher.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 (metricsSelector_ != null) { - output.WriteRawTag(10); - output.WriteMessage(MetricsSelector); - } - if (NrOfInstances != 0) { - output.WriteRawTag(16); - output.WriteUInt32(NrOfInstances); - } - if (RouterDispatcher.Length != 0) { - output.WriteRawTag(26); - output.WriteString(RouterDispatcher); - } - if (UsePoolDispatcher != false) { - output.WriteRawTag(32); - output.WriteBool(UsePoolDispatcher); - } - 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 (metricsSelector_ != null) { - output.WriteRawTag(10); - output.WriteMessage(MetricsSelector); - } - if (NrOfInstances != 0) { - output.WriteRawTag(16); - output.WriteUInt32(NrOfInstances); - } - if (RouterDispatcher.Length != 0) { - output.WriteRawTag(26); - output.WriteString(RouterDispatcher); - } - if (UsePoolDispatcher != false) { - output.WriteRawTag(32); - output.WriteBool(UsePoolDispatcher); - } - 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 (metricsSelector_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(MetricsSelector); - } - if (NrOfInstances != 0) { - size += 1 + pb::CodedOutputStream.ComputeUInt32Size(NrOfInstances); - } - if (RouterDispatcher.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(RouterDispatcher); - } - if (UsePoolDispatcher != false) { - size += 1 + 1; - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(AdaptiveLoadBalancingPool other) { - if (other == null) { - return; - } - if (other.metricsSelector_ != null) { - if (metricsSelector_ == null) { - MetricsSelector = new global::Akka.Cluster.Metrics.Serialization.Proto.MetricsSelector(); - } - MetricsSelector.MergeFrom(other.MetricsSelector); - } - if (other.NrOfInstances != 0) { - NrOfInstances = other.NrOfInstances; - } - if (other.RouterDispatcher.Length != 0) { - RouterDispatcher = other.RouterDispatcher; - } - if (other.UsePoolDispatcher != false) { - UsePoolDispatcher = other.UsePoolDispatcher; - } - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - if (metricsSelector_ == null) { - MetricsSelector = new global::Akka.Cluster.Metrics.Serialization.Proto.MetricsSelector(); - } - input.ReadMessage(MetricsSelector); - break; - } - case 16: { - NrOfInstances = input.ReadUInt32(); - break; - } - case 26: { - RouterDispatcher = input.ReadString(); - break; - } - case 32: { - UsePoolDispatcher = input.ReadBool(); - 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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - if (metricsSelector_ == null) { - MetricsSelector = new global::Akka.Cluster.Metrics.Serialization.Proto.MetricsSelector(); - } - input.ReadMessage(MetricsSelector); - break; - } - case 16: { - NrOfInstances = input.ReadUInt32(); - break; - } - case 26: { - RouterDispatcher = input.ReadString(); - break; - } - case 32: { - UsePoolDispatcher = input.ReadBool(); - break; - } - } - } - } - #endif - - } - - /// - /// couldn't figure out how to import Payload - /// - internal sealed partial class MetricsSelector : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new MetricsSelector()); - 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::Akka.Cluster.Metrics.Serialization.Proto.ClusterMetricsMessagesReflection.Descriptor.MessageTypes[5]; } - } - - [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 MetricsSelector() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public MetricsSelector(MetricsSelector other) : this() { - serializerId_ = other.serializerId_; - manifest_ = other.manifest_; - data_ = other.data_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public MetricsSelector Clone() { - return new MetricsSelector(this); - } - - /// Field number for the "serializerId" field. - public const int SerializerIdFieldNumber = 1; - private uint serializerId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public uint SerializerId { - get { return serializerId_; } - set { - serializerId_ = value; - } - } - - /// Field number for the "manifest" field. - public const int ManifestFieldNumber = 2; - private string manifest_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Manifest { - get { return manifest_; } - set { - manifest_ = 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"); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as MetricsSelector); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(MetricsSelector other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (SerializerId != other.SerializerId) return false; - if (Manifest != other.Manifest) return false; - if (Data != other.Data) 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 (SerializerId != 0) hash ^= SerializerId.GetHashCode(); - if (Manifest.Length != 0) hash ^= Manifest.GetHashCode(); - if (Data.Length != 0) hash ^= Data.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 (SerializerId != 0) { - output.WriteRawTag(8); - output.WriteUInt32(SerializerId); - } - if (Manifest.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Manifest); - } - if (Data.Length != 0) { - output.WriteRawTag(26); - output.WriteBytes(Data); - } - 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 (SerializerId != 0) { - output.WriteRawTag(8); - output.WriteUInt32(SerializerId); - } - if (Manifest.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Manifest); - } - if (Data.Length != 0) { - output.WriteRawTag(26); - output.WriteBytes(Data); - } - 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 (SerializerId != 0) { - size += 1 + pb::CodedOutputStream.ComputeUInt32Size(SerializerId); - } - if (Manifest.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Manifest); - } - if (Data.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeBytesSize(Data); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(MetricsSelector other) { - if (other == null) { - return; - } - if (other.SerializerId != 0) { - SerializerId = other.SerializerId; - } - if (other.Manifest.Length != 0) { - Manifest = other.Manifest; - } - if (other.Data.Length != 0) { - Data = other.Data; - } - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 8: { - SerializerId = input.ReadUInt32(); - break; - } - case 18: { - Manifest = input.ReadString(); - break; - } - case 26: { - Data = input.ReadBytes(); - 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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 8: { - SerializerId = input.ReadUInt32(); - break; - } - case 18: { - Manifest = input.ReadString(); - break; - } - case 26: { - Data = input.ReadBytes(); - break; - } - } - } - } - #endif - - } - - internal sealed partial class MixMetricsSelector : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new MixMetricsSelector()); - 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::Akka.Cluster.Metrics.Serialization.Proto.ClusterMetricsMessagesReflection.Descriptor.MessageTypes[6]; } - } - - [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 MixMetricsSelector() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public MixMetricsSelector(MixMetricsSelector other) : this() { - selectors_ = other.selectors_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public MixMetricsSelector Clone() { - return new MixMetricsSelector(this); - } - - /// Field number for the "selectors" field. - public const int SelectorsFieldNumber = 1; - private static readonly pb::FieldCodec _repeated_selectors_codec - = pb::FieldCodec.ForMessage(10, global::Akka.Cluster.Metrics.Serialization.Proto.MetricsSelector.Parser); - private readonly pbc::RepeatedField selectors_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField Selectors { - get { return selectors_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as MixMetricsSelector); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(MixMetricsSelector other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!selectors_.Equals(other.selectors_)) 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; - hash ^= selectors_.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 - selectors_.WriteTo(output, _repeated_selectors_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) { - selectors_.WriteTo(ref output, _repeated_selectors_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; - size += selectors_.CalculateSize(_repeated_selectors_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(MixMetricsSelector other) { - if (other == null) { - return; - } - selectors_.Add(other.selectors_); - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - selectors_.AddEntriesFrom(input, _repeated_selectors_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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - selectors_.AddEntriesFrom(ref input, _repeated_selectors_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/src/contrib/cluster/Akka.Cluster.Metrics/Serialization/Proto/generate.bat b/src/contrib/cluster/Akka.Cluster.Metrics/Serialization/Proto/generate.bat deleted file mode 100644 index d4b6e8b384d..00000000000 --- a/src/contrib/cluster/Akka.Cluster.Metrics/Serialization/Proto/generate.bat +++ /dev/null @@ -1 +0,0 @@ -..\..\..\..\..\..\tools\Google.Protobuf.Tools\tools\windows_x64\protoc.exe --csharp_out=internal_access:. --csharp_opt=file_extension=.g.cs --proto_path=. ClusterMetricsMessages.proto \ No newline at end of file diff --git a/src/contrib/cluster/Akka.Cluster.Tools/Akka.Cluster.Tools.csproj b/src/contrib/cluster/Akka.Cluster.Tools/Akka.Cluster.Tools.csproj index a62dfd90478..2d9908dcc6c 100644 --- a/src/contrib/cluster/Akka.Cluster.Tools/Akka.Cluster.Tools.csproj +++ b/src/contrib/cluster/Akka.Cluster.Tools/Akka.Cluster.Tools.csproj @@ -11,6 +11,17 @@ + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + + + + + + diff --git a/src/contrib/cluster/Akka.Cluster.Tools/Client/Serialization/Proto/ClusterClientMessages.g.cs b/src/contrib/cluster/Akka.Cluster.Tools/Client/Serialization/Proto/ClusterClientMessages.g.cs deleted file mode 100644 index d77347db8a9..00000000000 --- a/src/contrib/cluster/Akka.Cluster.Tools/Client/Serialization/Proto/ClusterClientMessages.g.cs +++ /dev/null @@ -1,229 +0,0 @@ -//----------------------------------------------------------------------- -// -// Copyright (C) 2009-2023 Lightbend Inc. -// Copyright (C) 2013-2023 .NET Foundation -// -//----------------------------------------------------------------------- - -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: ClusterClientMessages.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 Akka.Cluster.Tools.Client.Serialization.Proto.Msg { - - /// Holder for reflection information generated from ClusterClientMessages.proto - internal static partial class ClusterClientMessagesReflection { - - #region Descriptor - /// File descriptor for ClusterClientMessages.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static ClusterClientMessagesReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChtDbHVzdGVyQ2xpZW50TWVzc2FnZXMucHJvdG8SMUFra2EuQ2x1c3Rlci5U", - "b29scy5DbGllbnQuU2VyaWFsaXphdGlvbi5Qcm90by5Nc2ciIQoIQ29udGFj", - "dHMSFQoNY29udGFjdFBvaW50cxgBIAMoCWIGcHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Akka.Cluster.Tools.Client.Serialization.Proto.Msg.Contacts), global::Akka.Cluster.Tools.Client.Serialization.Proto.Msg.Contacts.Parser, new[]{ "ContactPoints" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - internal sealed partial class Contacts : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Contacts()); - 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::Akka.Cluster.Tools.Client.Serialization.Proto.Msg.ClusterClientMessagesReflection.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 Contacts() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Contacts(Contacts other) : this() { - contactPoints_ = other.contactPoints_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Contacts Clone() { - return new Contacts(this); - } - - /// Field number for the "contactPoints" field. - public const int ContactPointsFieldNumber = 1; - private static readonly pb::FieldCodec _repeated_contactPoints_codec - = pb::FieldCodec.ForString(10); - private readonly pbc::RepeatedField contactPoints_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField ContactPoints { - get { return contactPoints_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as Contacts); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(Contacts other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!contactPoints_.Equals(other.contactPoints_)) 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; - hash ^= contactPoints_.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 - contactPoints_.WriteTo(output, _repeated_contactPoints_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) { - contactPoints_.WriteTo(ref output, _repeated_contactPoints_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; - size += contactPoints_.CalculateSize(_repeated_contactPoints_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(Contacts other) { - if (other == null) { - return; - } - contactPoints_.Add(other.contactPoints_); - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - contactPoints_.AddEntriesFrom(input, _repeated_contactPoints_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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - contactPoints_.AddEntriesFrom(ref input, _repeated_contactPoints_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/src/contrib/cluster/Akka.Cluster.Tools/PublishSubscribe/Serialization/Proto/DistributedPubSubMessages.g.cs b/src/contrib/cluster/Akka.Cluster.Tools/PublishSubscribe/Serialization/Proto/DistributedPubSubMessages.g.cs deleted file mode 100644 index 75bcef35c59..00000000000 --- a/src/contrib/cluster/Akka.Cluster.Tools/PublishSubscribe/Serialization/Proto/DistributedPubSubMessages.g.cs +++ /dev/null @@ -1,2202 +0,0 @@ -//----------------------------------------------------------------------- -// -// Copyright (C) 2009-2023 Lightbend Inc. -// Copyright (C) 2013-2023 .NET Foundation -// -//----------------------------------------------------------------------- - -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: DistributedPubSubMessages.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 Akka.Cluster.Tools.PublishSubscribe.Serialization.Proto.Msg { - - /// Holder for reflection information generated from DistributedPubSubMessages.proto - internal static partial class DistributedPubSubMessagesReflection { - - #region Descriptor - /// File descriptor for DistributedPubSubMessages.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static DistributedPubSubMessagesReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Ch9EaXN0cmlidXRlZFB1YlN1Yk1lc3NhZ2VzLnByb3RvEjtBa2thLkNsdXN0", - "ZXIuVG9vbHMuUHVibGlzaFN1YnNjcmliZS5TZXJpYWxpemF0aW9uLlByb3Rv", - "Lk1zZxoWQ29udGFpbmVyRm9ybWF0cy5wcm90byLfAQoGU3RhdHVzEl0KCHZl", - "cnNpb25zGAEgAygLMksuQWtrYS5DbHVzdGVyLlRvb2xzLlB1Ymxpc2hTdWJz", - "Y3JpYmUuU2VyaWFsaXphdGlvbi5Qcm90by5Nc2cuU3RhdHVzLlZlcnNpb24S", - "FQoNcmVwbHlUb1N0YXR1cxgCIAEoCBpfCgdWZXJzaW9uEkEKB2FkZHJlc3MY", - "ASABKAsyMC5Ba2thLlJlbW90ZS5TZXJpYWxpemF0aW9uLlByb3RvLk1zZy5B", - "ZGRyZXNzRGF0YRIRCgl0aW1lc3RhbXAYAiABKAMi1gMKBURlbHRhEloKB2J1", - "Y2tldHMYASADKAsySS5Ba2thLkNsdXN0ZXIuVG9vbHMuUHVibGlzaFN1YnNj", - "cmliZS5TZXJpYWxpemF0aW9uLlByb3RvLk1zZy5EZWx0YS5CdWNrZXQaKwoL", - "VmFsdWVIb2xkZXISDwoHdmVyc2lvbhgBIAEoAxILCgNyZWYYAiABKAkawwIK", - "BkJ1Y2tldBI/CgVvd25lchgBIAEoCzIwLkFra2EuUmVtb3RlLlNlcmlhbGl6", - "YXRpb24uUHJvdG8uTXNnLkFkZHJlc3NEYXRhEg8KB3ZlcnNpb24YAiABKAMS", - "ZwoHY29udGVudBgDIAMoCzJWLkFra2EuQ2x1c3Rlci5Ub29scy5QdWJsaXNo", - "U3Vic2NyaWJlLlNlcmlhbGl6YXRpb24uUHJvdG8uTXNnLkRlbHRhLkJ1Y2tl", - "dC5Db250ZW50RW50cnkafgoMQ29udGVudEVudHJ5EgsKA2tleRgBIAEoCRJd", - "CgV2YWx1ZRgCIAEoCzJOLkFra2EuQ2x1c3Rlci5Ub29scy5QdWJsaXNoU3Vi", - "c2NyaWJlLlNlcmlhbGl6YXRpb24uUHJvdG8uTXNnLkRlbHRhLlZhbHVlSG9s", - "ZGVyOgI4ASJqCgRTZW5kEgwKBHBhdGgYASABKAkSFQoNbG9jYWxBZmZpbml0", - "eRgCIAEoCBI9CgdwYXlsb2FkGAMgASgLMiwuQWtrYS5SZW1vdGUuU2VyaWFs", - "aXphdGlvbi5Qcm90by5Nc2cuUGF5bG9hZCJsCglTZW5kVG9BbGwSDAoEcGF0", - "aBgBIAEoCRISCgphbGxCdXRTZWxmGAIgASgIEj0KB3BheWxvYWQYAyABKAsy", - "LC5Ba2thLlJlbW90ZS5TZXJpYWxpemF0aW9uLlByb3RvLk1zZy5QYXlsb2Fk", - "IlcKB1B1Ymxpc2gSDQoFdG9waWMYASABKAkSPQoHcGF5bG9hZBgDIAEoCzIs", - "LkFra2EuUmVtb3RlLlNlcmlhbGl6YXRpb24uUHJvdG8uTXNnLlBheWxvYWQi", - "VAoTU2VuZFRvT25lU3Vic2NyaWJlchI9CgdwYXlsb2FkGAEgASgLMiwuQWtr", - "YS5SZW1vdGUuU2VyaWFsaXphdGlvbi5Qcm90by5Nc2cuUGF5bG9hZGIGcHJv", - "dG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Akka.Remote.Serialization.Proto.Msg.ContainerFormatsReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Akka.Cluster.Tools.PublishSubscribe.Serialization.Proto.Msg.Status), global::Akka.Cluster.Tools.PublishSubscribe.Serialization.Proto.Msg.Status.Parser, new[]{ "Versions", "ReplyToStatus" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Akka.Cluster.Tools.PublishSubscribe.Serialization.Proto.Msg.Status.Types.Version), global::Akka.Cluster.Tools.PublishSubscribe.Serialization.Proto.Msg.Status.Types.Version.Parser, new[]{ "Address", "Timestamp" }, null, null, null, null)}), - new pbr::GeneratedClrTypeInfo(typeof(global::Akka.Cluster.Tools.PublishSubscribe.Serialization.Proto.Msg.Delta), global::Akka.Cluster.Tools.PublishSubscribe.Serialization.Proto.Msg.Delta.Parser, new[]{ "Buckets" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Akka.Cluster.Tools.PublishSubscribe.Serialization.Proto.Msg.Delta.Types.ValueHolder), global::Akka.Cluster.Tools.PublishSubscribe.Serialization.Proto.Msg.Delta.Types.ValueHolder.Parser, new[]{ "Version", "Ref" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Akka.Cluster.Tools.PublishSubscribe.Serialization.Proto.Msg.Delta.Types.Bucket), global::Akka.Cluster.Tools.PublishSubscribe.Serialization.Proto.Msg.Delta.Types.Bucket.Parser, new[]{ "Owner", "Version", "Content" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { null, })}), - new pbr::GeneratedClrTypeInfo(typeof(global::Akka.Cluster.Tools.PublishSubscribe.Serialization.Proto.Msg.Send), global::Akka.Cluster.Tools.PublishSubscribe.Serialization.Proto.Msg.Send.Parser, new[]{ "Path", "LocalAffinity", "Payload" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Akka.Cluster.Tools.PublishSubscribe.Serialization.Proto.Msg.SendToAll), global::Akka.Cluster.Tools.PublishSubscribe.Serialization.Proto.Msg.SendToAll.Parser, new[]{ "Path", "AllButSelf", "Payload" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Akka.Cluster.Tools.PublishSubscribe.Serialization.Proto.Msg.Publish), global::Akka.Cluster.Tools.PublishSubscribe.Serialization.Proto.Msg.Publish.Parser, new[]{ "Topic", "Payload" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Akka.Cluster.Tools.PublishSubscribe.Serialization.Proto.Msg.SendToOneSubscriber), global::Akka.Cluster.Tools.PublishSubscribe.Serialization.Proto.Msg.SendToOneSubscriber.Parser, new[]{ "Payload" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - internal sealed partial class Status : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Status()); - 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::Akka.Cluster.Tools.PublishSubscribe.Serialization.Proto.Msg.DistributedPubSubMessagesReflection.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 Status() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Status(Status other) : this() { - versions_ = other.versions_.Clone(); - replyToStatus_ = other.replyToStatus_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Status Clone() { - return new Status(this); - } - - /// Field number for the "versions" field. - public const int VersionsFieldNumber = 1; - private static readonly pb::FieldCodec _repeated_versions_codec - = pb::FieldCodec.ForMessage(10, global::Akka.Cluster.Tools.PublishSubscribe.Serialization.Proto.Msg.Status.Types.Version.Parser); - private readonly pbc::RepeatedField versions_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField Versions { - get { return versions_; } - } - - /// Field number for the "replyToStatus" field. - public const int ReplyToStatusFieldNumber = 2; - private bool replyToStatus_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool ReplyToStatus { - get { return replyToStatus_; } - set { - replyToStatus_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as Status); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(Status other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!versions_.Equals(other.versions_)) return false; - if (ReplyToStatus != other.ReplyToStatus) 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; - hash ^= versions_.GetHashCode(); - if (ReplyToStatus != false) hash ^= ReplyToStatus.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 - versions_.WriteTo(output, _repeated_versions_codec); - if (ReplyToStatus != false) { - output.WriteRawTag(16); - output.WriteBool(ReplyToStatus); - } - 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) { - versions_.WriteTo(ref output, _repeated_versions_codec); - if (ReplyToStatus != false) { - output.WriteRawTag(16); - output.WriteBool(ReplyToStatus); - } - 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; - size += versions_.CalculateSize(_repeated_versions_codec); - if (ReplyToStatus != false) { - size += 1 + 1; - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(Status other) { - if (other == null) { - return; - } - versions_.Add(other.versions_); - if (other.ReplyToStatus != false) { - ReplyToStatus = other.ReplyToStatus; - } - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - versions_.AddEntriesFrom(input, _repeated_versions_codec); - break; - } - case 16: { - ReplyToStatus = input.ReadBool(); - 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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - versions_.AddEntriesFrom(ref input, _repeated_versions_codec); - break; - } - case 16: { - ReplyToStatus = input.ReadBool(); - break; - } - } - } - } - #endif - - #region Nested types - /// Container for nested types declared in the Status message type. - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static partial class Types { - internal sealed partial class Version : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Version()); - 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::Akka.Cluster.Tools.PublishSubscribe.Serialization.Proto.Msg.Status.Descriptor.NestedTypes[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 Version() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Version(Version other) : this() { - address_ = other.address_ != null ? other.address_.Clone() : null; - timestamp_ = other.timestamp_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Version Clone() { - return new Version(this); - } - - /// Field number for the "address" field. - public const int AddressFieldNumber = 1; - private global::Akka.Remote.Serialization.Proto.Msg.AddressData address_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.Remote.Serialization.Proto.Msg.AddressData Address { - get { return address_; } - set { - address_ = value; - } - } - - /// Field number for the "timestamp" field. - public const int TimestampFieldNumber = 2; - private long timestamp_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public long Timestamp { - get { return timestamp_; } - set { - timestamp_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as Version); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(Version other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (!object.Equals(Address, other.Address)) return false; - if (Timestamp != other.Timestamp) 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 (address_ != null) hash ^= Address.GetHashCode(); - if (Timestamp != 0L) hash ^= Timestamp.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 (address_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Address); - } - if (Timestamp != 0L) { - output.WriteRawTag(16); - output.WriteInt64(Timestamp); - } - 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 (address_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Address); - } - if (Timestamp != 0L) { - output.WriteRawTag(16); - output.WriteInt64(Timestamp); - } - 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 (address_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Address); - } - if (Timestamp != 0L) { - size += 1 + pb::CodedOutputStream.ComputeInt64Size(Timestamp); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(Version other) { - if (other == null) { - return; - } - if (other.address_ != null) { - if (address_ == null) { - Address = new global::Akka.Remote.Serialization.Proto.Msg.AddressData(); - } - Address.MergeFrom(other.Address); - } - if (other.Timestamp != 0L) { - Timestamp = other.Timestamp; - } - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - if (address_ == null) { - Address = new global::Akka.Remote.Serialization.Proto.Msg.AddressData(); - } - input.ReadMessage(Address); - break; - } - case 16: { - Timestamp = input.ReadInt64(); - 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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - if (address_ == null) { - Address = new global::Akka.Remote.Serialization.Proto.Msg.AddressData(); - } - input.ReadMessage(Address); - break; - } - case 16: { - Timestamp = input.ReadInt64(); - break; - } - } - } - } - #endif - - } - - } - #endregion - - } - - internal sealed partial class Delta : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Delta()); - 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::Akka.Cluster.Tools.PublishSubscribe.Serialization.Proto.Msg.DistributedPubSubMessagesReflection.Descriptor.MessageTypes[1]; } - } - - [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 Delta() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Delta(Delta other) : this() { - buckets_ = other.buckets_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Delta Clone() { - return new Delta(this); - } - - /// Field number for the "buckets" field. - public const int BucketsFieldNumber = 1; - private static readonly pb::FieldCodec _repeated_buckets_codec - = pb::FieldCodec.ForMessage(10, global::Akka.Cluster.Tools.PublishSubscribe.Serialization.Proto.Msg.Delta.Types.Bucket.Parser); - private readonly pbc::RepeatedField buckets_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField Buckets { - get { return buckets_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as Delta); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(Delta other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!buckets_.Equals(other.buckets_)) 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; - hash ^= buckets_.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 - buckets_.WriteTo(output, _repeated_buckets_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) { - buckets_.WriteTo(ref output, _repeated_buckets_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; - size += buckets_.CalculateSize(_repeated_buckets_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(Delta other) { - if (other == null) { - return; - } - buckets_.Add(other.buckets_); - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - buckets_.AddEntriesFrom(input, _repeated_buckets_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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - buckets_.AddEntriesFrom(ref input, _repeated_buckets_codec); - break; - } - } - } - } - #endif - - #region Nested types - /// Container for nested types declared in the Delta message type. - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static partial class Types { - internal sealed partial class ValueHolder : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ValueHolder()); - 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::Akka.Cluster.Tools.PublishSubscribe.Serialization.Proto.Msg.Delta.Descriptor.NestedTypes[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 ValueHolder() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ValueHolder(ValueHolder other) : this() { - version_ = other.version_; - ref_ = other.ref_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ValueHolder Clone() { - return new ValueHolder(this); - } - - /// Field number for the "version" field. - public const int VersionFieldNumber = 1; - private long version_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public long Version { - get { return version_; } - set { - version_ = value; - } - } - - /// Field number for the "ref" field. - public const int RefFieldNumber = 2; - private string ref_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Ref { - get { return ref_; } - set { - ref_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ValueHolder); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ValueHolder other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Version != other.Version) return false; - if (Ref != other.Ref) 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 (Version != 0L) hash ^= Version.GetHashCode(); - if (Ref.Length != 0) hash ^= Ref.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 (Version != 0L) { - output.WriteRawTag(8); - output.WriteInt64(Version); - } - if (Ref.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Ref); - } - 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 (Version != 0L) { - output.WriteRawTag(8); - output.WriteInt64(Version); - } - if (Ref.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Ref); - } - 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 (Version != 0L) { - size += 1 + pb::CodedOutputStream.ComputeInt64Size(Version); - } - if (Ref.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Ref); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ValueHolder other) { - if (other == null) { - return; - } - if (other.Version != 0L) { - Version = other.Version; - } - if (other.Ref.Length != 0) { - Ref = other.Ref; - } - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 8: { - Version = input.ReadInt64(); - break; - } - case 18: { - Ref = input.ReadString(); - 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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 8: { - Version = input.ReadInt64(); - break; - } - case 18: { - Ref = input.ReadString(); - break; - } - } - } - } - #endif - - } - - internal sealed partial class Bucket : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Bucket()); - 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::Akka.Cluster.Tools.PublishSubscribe.Serialization.Proto.Msg.Delta.Descriptor.NestedTypes[1]; } - } - - [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 Bucket() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Bucket(Bucket other) : this() { - owner_ = other.owner_ != null ? other.owner_.Clone() : null; - version_ = other.version_; - content_ = other.content_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Bucket Clone() { - return new Bucket(this); - } - - /// Field number for the "owner" field. - public const int OwnerFieldNumber = 1; - private global::Akka.Remote.Serialization.Proto.Msg.AddressData owner_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.Remote.Serialization.Proto.Msg.AddressData Owner { - get { return owner_; } - set { - owner_ = value; - } - } - - /// Field number for the "version" field. - public const int VersionFieldNumber = 2; - private long version_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public long Version { - get { return version_; } - set { - version_ = value; - } - } - - /// Field number for the "content" field. - public const int ContentFieldNumber = 3; - private static readonly pbc::MapField.Codec _map_content_codec - = new pbc::MapField.Codec(pb::FieldCodec.ForString(10, ""), pb::FieldCodec.ForMessage(18, global::Akka.Cluster.Tools.PublishSubscribe.Serialization.Proto.Msg.Delta.Types.ValueHolder.Parser), 26); - private readonly pbc::MapField content_ = new pbc::MapField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::MapField Content { - get { return content_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as Bucket); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(Bucket other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (!object.Equals(Owner, other.Owner)) return false; - if (Version != other.Version) return false; - if (!Content.Equals(other.Content)) 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 (owner_ != null) hash ^= Owner.GetHashCode(); - if (Version != 0L) hash ^= Version.GetHashCode(); - hash ^= Content.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 (owner_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Owner); - } - if (Version != 0L) { - output.WriteRawTag(16); - output.WriteInt64(Version); - } - content_.WriteTo(output, _map_content_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 (owner_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Owner); - } - if (Version != 0L) { - output.WriteRawTag(16); - output.WriteInt64(Version); - } - content_.WriteTo(ref output, _map_content_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 (owner_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Owner); - } - if (Version != 0L) { - size += 1 + pb::CodedOutputStream.ComputeInt64Size(Version); - } - size += content_.CalculateSize(_map_content_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(Bucket other) { - if (other == null) { - return; - } - if (other.owner_ != null) { - if (owner_ == null) { - Owner = new global::Akka.Remote.Serialization.Proto.Msg.AddressData(); - } - Owner.MergeFrom(other.Owner); - } - if (other.Version != 0L) { - Version = other.Version; - } - content_.Add(other.content_); - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - if (owner_ == null) { - Owner = new global::Akka.Remote.Serialization.Proto.Msg.AddressData(); - } - input.ReadMessage(Owner); - break; - } - case 16: { - Version = input.ReadInt64(); - break; - } - case 26: { - content_.AddEntriesFrom(input, _map_content_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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - if (owner_ == null) { - Owner = new global::Akka.Remote.Serialization.Proto.Msg.AddressData(); - } - input.ReadMessage(Owner); - break; - } - case 16: { - Version = input.ReadInt64(); - break; - } - case 26: { - content_.AddEntriesFrom(ref input, _map_content_codec); - break; - } - } - } - } - #endif - - } - - } - #endregion - - } - - /// - /// Send normally local, but it is also used by the ClusterClient. - /// - internal sealed partial class Send : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Send()); - 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::Akka.Cluster.Tools.PublishSubscribe.Serialization.Proto.Msg.DistributedPubSubMessagesReflection.Descriptor.MessageTypes[2]; } - } - - [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 Send() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Send(Send other) : this() { - path_ = other.path_; - localAffinity_ = other.localAffinity_; - payload_ = other.payload_ != null ? other.payload_.Clone() : null; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Send Clone() { - return new Send(this); - } - - /// Field number for the "path" field. - public const int PathFieldNumber = 1; - private string path_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Path { - get { return path_; } - set { - path_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "localAffinity" field. - public const int LocalAffinityFieldNumber = 2; - private bool localAffinity_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool LocalAffinity { - get { return localAffinity_; } - set { - localAffinity_ = value; - } - } - - /// Field number for the "payload" field. - public const int PayloadFieldNumber = 3; - private global::Akka.Remote.Serialization.Proto.Msg.Payload payload_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.Remote.Serialization.Proto.Msg.Payload Payload { - get { return payload_; } - set { - payload_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as Send); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(Send other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Path != other.Path) return false; - if (LocalAffinity != other.LocalAffinity) return false; - if (!object.Equals(Payload, other.Payload)) 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 (Path.Length != 0) hash ^= Path.GetHashCode(); - if (LocalAffinity != false) hash ^= LocalAffinity.GetHashCode(); - if (payload_ != null) hash ^= Payload.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 (Path.Length != 0) { - output.WriteRawTag(10); - output.WriteString(Path); - } - if (LocalAffinity != false) { - output.WriteRawTag(16); - output.WriteBool(LocalAffinity); - } - if (payload_ != null) { - output.WriteRawTag(26); - output.WriteMessage(Payload); - } - 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 (Path.Length != 0) { - output.WriteRawTag(10); - output.WriteString(Path); - } - if (LocalAffinity != false) { - output.WriteRawTag(16); - output.WriteBool(LocalAffinity); - } - if (payload_ != null) { - output.WriteRawTag(26); - output.WriteMessage(Payload); - } - 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 (Path.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Path); - } - if (LocalAffinity != false) { - size += 1 + 1; - } - if (payload_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Payload); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(Send other) { - if (other == null) { - return; - } - if (other.Path.Length != 0) { - Path = other.Path; - } - if (other.LocalAffinity != false) { - LocalAffinity = other.LocalAffinity; - } - if (other.payload_ != null) { - if (payload_ == null) { - Payload = new global::Akka.Remote.Serialization.Proto.Msg.Payload(); - } - Payload.MergeFrom(other.Payload); - } - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - Path = input.ReadString(); - break; - } - case 16: { - LocalAffinity = input.ReadBool(); - break; - } - case 26: { - if (payload_ == null) { - Payload = new global::Akka.Remote.Serialization.Proto.Msg.Payload(); - } - input.ReadMessage(Payload); - 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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - Path = input.ReadString(); - break; - } - case 16: { - LocalAffinity = input.ReadBool(); - break; - } - case 26: { - if (payload_ == null) { - Payload = new global::Akka.Remote.Serialization.Proto.Msg.Payload(); - } - input.ReadMessage(Payload); - break; - } - } - } - } - #endif - - } - - /// - /// SendToAll normally local, but it is also used by the ClusterClient. - /// - internal sealed partial class SendToAll : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SendToAll()); - 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::Akka.Cluster.Tools.PublishSubscribe.Serialization.Proto.Msg.DistributedPubSubMessagesReflection.Descriptor.MessageTypes[3]; } - } - - [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 SendToAll() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public SendToAll(SendToAll other) : this() { - path_ = other.path_; - allButSelf_ = other.allButSelf_; - payload_ = other.payload_ != null ? other.payload_.Clone() : null; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public SendToAll Clone() { - return new SendToAll(this); - } - - /// Field number for the "path" field. - public const int PathFieldNumber = 1; - private string path_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Path { - get { return path_; } - set { - path_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "allButSelf" field. - public const int AllButSelfFieldNumber = 2; - private bool allButSelf_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool AllButSelf { - get { return allButSelf_; } - set { - allButSelf_ = value; - } - } - - /// Field number for the "payload" field. - public const int PayloadFieldNumber = 3; - private global::Akka.Remote.Serialization.Proto.Msg.Payload payload_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.Remote.Serialization.Proto.Msg.Payload Payload { - get { return payload_; } - set { - payload_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as SendToAll); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(SendToAll other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Path != other.Path) return false; - if (AllButSelf != other.AllButSelf) return false; - if (!object.Equals(Payload, other.Payload)) 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 (Path.Length != 0) hash ^= Path.GetHashCode(); - if (AllButSelf != false) hash ^= AllButSelf.GetHashCode(); - if (payload_ != null) hash ^= Payload.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 (Path.Length != 0) { - output.WriteRawTag(10); - output.WriteString(Path); - } - if (AllButSelf != false) { - output.WriteRawTag(16); - output.WriteBool(AllButSelf); - } - if (payload_ != null) { - output.WriteRawTag(26); - output.WriteMessage(Payload); - } - 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 (Path.Length != 0) { - output.WriteRawTag(10); - output.WriteString(Path); - } - if (AllButSelf != false) { - output.WriteRawTag(16); - output.WriteBool(AllButSelf); - } - if (payload_ != null) { - output.WriteRawTag(26); - output.WriteMessage(Payload); - } - 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 (Path.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Path); - } - if (AllButSelf != false) { - size += 1 + 1; - } - if (payload_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Payload); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(SendToAll other) { - if (other == null) { - return; - } - if (other.Path.Length != 0) { - Path = other.Path; - } - if (other.AllButSelf != false) { - AllButSelf = other.AllButSelf; - } - if (other.payload_ != null) { - if (payload_ == null) { - Payload = new global::Akka.Remote.Serialization.Proto.Msg.Payload(); - } - Payload.MergeFrom(other.Payload); - } - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - Path = input.ReadString(); - break; - } - case 16: { - AllButSelf = input.ReadBool(); - break; - } - case 26: { - if (payload_ == null) { - Payload = new global::Akka.Remote.Serialization.Proto.Msg.Payload(); - } - input.ReadMessage(Payload); - 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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - Path = input.ReadString(); - break; - } - case 16: { - AllButSelf = input.ReadBool(); - break; - } - case 26: { - if (payload_ == null) { - Payload = new global::Akka.Remote.Serialization.Proto.Msg.Payload(); - } - input.ReadMessage(Payload); - break; - } - } - } - } - #endif - - } - - /// - /// Publish normally local, but it is also used by the ClusterClient. - /// - internal sealed partial class Publish : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Publish()); - 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::Akka.Cluster.Tools.PublishSubscribe.Serialization.Proto.Msg.DistributedPubSubMessagesReflection.Descriptor.MessageTypes[4]; } - } - - [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 Publish() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Publish(Publish other) : this() { - topic_ = other.topic_; - payload_ = other.payload_ != null ? other.payload_.Clone() : null; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Publish Clone() { - return new Publish(this); - } - - /// Field number for the "topic" field. - public const int TopicFieldNumber = 1; - private string topic_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Topic { - get { return topic_; } - set { - topic_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "payload" field. - public const int PayloadFieldNumber = 3; - private global::Akka.Remote.Serialization.Proto.Msg.Payload payload_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.Remote.Serialization.Proto.Msg.Payload Payload { - get { return payload_; } - set { - payload_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as Publish); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(Publish other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Topic != other.Topic) return false; - if (!object.Equals(Payload, other.Payload)) 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 (Topic.Length != 0) hash ^= Topic.GetHashCode(); - if (payload_ != null) hash ^= Payload.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 (Topic.Length != 0) { - output.WriteRawTag(10); - output.WriteString(Topic); - } - if (payload_ != null) { - output.WriteRawTag(26); - output.WriteMessage(Payload); - } - 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 (Topic.Length != 0) { - output.WriteRawTag(10); - output.WriteString(Topic); - } - if (payload_ != null) { - output.WriteRawTag(26); - output.WriteMessage(Payload); - } - 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 (Topic.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Topic); - } - if (payload_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Payload); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(Publish other) { - if (other == null) { - return; - } - if (other.Topic.Length != 0) { - Topic = other.Topic; - } - if (other.payload_ != null) { - if (payload_ == null) { - Payload = new global::Akka.Remote.Serialization.Proto.Msg.Payload(); - } - Payload.MergeFrom(other.Payload); - } - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - Topic = input.ReadString(); - break; - } - case 26: { - if (payload_ == null) { - Payload = new global::Akka.Remote.Serialization.Proto.Msg.Payload(); - } - input.ReadMessage(Payload); - 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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - Topic = input.ReadString(); - break; - } - case 26: { - if (payload_ == null) { - Payload = new global::Akka.Remote.Serialization.Proto.Msg.Payload(); - } - input.ReadMessage(Payload); - break; - } - } - } - } - #endif - - } - - /// - /// Send a message to only one subscriber of a group. - /// - internal sealed partial class SendToOneSubscriber : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SendToOneSubscriber()); - 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::Akka.Cluster.Tools.PublishSubscribe.Serialization.Proto.Msg.DistributedPubSubMessagesReflection.Descriptor.MessageTypes[5]; } - } - - [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 SendToOneSubscriber() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public SendToOneSubscriber(SendToOneSubscriber other) : this() { - payload_ = other.payload_ != null ? other.payload_.Clone() : null; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public SendToOneSubscriber Clone() { - return new SendToOneSubscriber(this); - } - - /// Field number for the "payload" field. - public const int PayloadFieldNumber = 1; - private global::Akka.Remote.Serialization.Proto.Msg.Payload payload_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.Remote.Serialization.Proto.Msg.Payload Payload { - get { return payload_; } - set { - payload_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as SendToOneSubscriber); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(SendToOneSubscriber other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (!object.Equals(Payload, other.Payload)) 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 (payload_ != null) hash ^= Payload.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 (payload_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Payload); - } - 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 (payload_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Payload); - } - 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 (payload_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Payload); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(SendToOneSubscriber other) { - if (other == null) { - return; - } - if (other.payload_ != null) { - if (payload_ == null) { - Payload = new global::Akka.Remote.Serialization.Proto.Msg.Payload(); - } - Payload.MergeFrom(other.Payload); - } - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - if (payload_ == null) { - Payload = new global::Akka.Remote.Serialization.Proto.Msg.Payload(); - } - input.ReadMessage(Payload); - 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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - if (payload_ == null) { - Payload = new global::Akka.Remote.Serialization.Proto.Msg.Payload(); - } - input.ReadMessage(Payload); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/src/contrib/cluster/Akka.DistributedData/Akka.DistributedData.csproj b/src/contrib/cluster/Akka.DistributedData/Akka.DistributedData.csproj index 0e24754ba21..94a55478eb8 100644 --- a/src/contrib/cluster/Akka.DistributedData/Akka.DistributedData.csproj +++ b/src/contrib/cluster/Akka.DistributedData/Akka.DistributedData.csproj @@ -14,6 +14,15 @@ + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + + + + diff --git a/src/contrib/cluster/Akka.DistributedData/Serialization/Proto/ReplicatedDataMessages.g.cs b/src/contrib/cluster/Akka.DistributedData/Serialization/Proto/ReplicatedDataMessages.g.cs deleted file mode 100644 index a81dcd9a2ab..00000000000 --- a/src/contrib/cluster/Akka.DistributedData/Serialization/Proto/ReplicatedDataMessages.g.cs +++ /dev/null @@ -1,6836 +0,0 @@ -//----------------------------------------------------------------------- -// -// Copyright (C) 2009-2023 Lightbend Inc. -// Copyright (C) 2013-2023 .NET Foundation -// -//----------------------------------------------------------------------- - -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: ReplicatedDataMessages.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 Akka.DistributedData.Serialization.Proto.Msg { - - /// Holder for reflection information generated from ReplicatedDataMessages.proto - internal static partial class ReplicatedDataMessagesReflection { - - #region Descriptor - /// File descriptor for ReplicatedDataMessages.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static ReplicatedDataMessagesReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChxSZXBsaWNhdGVkRGF0YU1lc3NhZ2VzLnByb3RvEixBa2thLkRpc3RyaWJ1", - "dGVkRGF0YS5TZXJpYWxpemF0aW9uLlByb3RvLk1zZxoYUmVwbGljYXRvck1l", - "c3NhZ2VzLnByb3RvImcKDlR5cGVEZXNjcmlwdG9yEkMKBHR5cGUYASABKA4y", - "NS5Ba2thLkRpc3RyaWJ1dGVkRGF0YS5TZXJpYWxpemF0aW9uLlByb3RvLk1z", - "Zy5WYWxUeXBlEhAKCFR5cGVOYW1lGAIgASgJIo4CCgRHU2V0EhYKDnN0cmlu", - "Z0VsZW1lbnRzGAEgAygJEk4KCHR5cGVJbmZvGAIgASgLMjwuQWtrYS5EaXN0", - "cmlidXRlZERhdGEuU2VyaWFsaXphdGlvbi5Qcm90by5Nc2cuVHlwZURlc2Ny", - "aXB0b3ISFwoLaW50RWxlbWVudHMYAyADKBFCAhABEhgKDGxvbmdFbGVtZW50", - "cxgEIAMoEkICEAESUQoNb3RoZXJFbGVtZW50cxgFIAMoCzI6LkFra2EuRGlz", - "dHJpYnV0ZWREYXRhLlNlcmlhbGl6YXRpb24uUHJvdG8uTXNnLk90aGVyTWVz", - "c2FnZRIYChBhY3RvclJlZkVsZW1lbnRzGAYgAygJIqgDCgVPUlNldBJMCgd2", - "dmVjdG9yGAEgASgLMjsuQWtrYS5EaXN0cmlidXRlZERhdGEuU2VyaWFsaXph", - "dGlvbi5Qcm90by5Nc2cuVmVyc2lvblZlY3RvchJOCgh0eXBlSW5mbxgCIAEo", - "CzI8LkFra2EuRGlzdHJpYnV0ZWREYXRhLlNlcmlhbGl6YXRpb24uUHJvdG8u", - "TXNnLlR5cGVEZXNjcmlwdG9yEkkKBGRvdHMYAyADKAsyOy5Ba2thLkRpc3Ry", - "aWJ1dGVkRGF0YS5TZXJpYWxpemF0aW9uLlByb3RvLk1zZy5WZXJzaW9uVmVj", - "dG9yEhYKDnN0cmluZ0VsZW1lbnRzGAQgAygJEhcKC2ludEVsZW1lbnRzGAUg", - "AygRQgIQARIYCgxsb25nRWxlbWVudHMYBiADKBJCAhABElEKDW90aGVyRWxl", - "bWVudHMYByADKAsyOi5Ba2thLkRpc3RyaWJ1dGVkRGF0YS5TZXJpYWxpemF0", - "aW9uLlByb3RvLk1zZy5PdGhlck1lc3NhZ2USGAoQYWN0b3JSZWZFbGVtZW50", - "cxgIIAMoCSLZAgoPT1JTZXREZWx0YUdyb3VwElQKB2VudHJpZXMYASADKAsy", - "Qy5Ba2thLkRpc3RyaWJ1dGVkRGF0YS5TZXJpYWxpemF0aW9uLlByb3RvLk1z", - "Zy5PUlNldERlbHRhR3JvdXAuRW50cnkSTgoIdHlwZUluZm8YAiABKAsyPC5B", - "a2thLkRpc3RyaWJ1dGVkRGF0YS5TZXJpYWxpemF0aW9uLlByb3RvLk1zZy5U", - "eXBlRGVzY3JpcHRvchqfAQoFRW50cnkSTQoJb3BlcmF0aW9uGAEgASgOMjou", - "QWtrYS5EaXN0cmlidXRlZERhdGEuU2VyaWFsaXphdGlvbi5Qcm90by5Nc2cu", - "T1JTZXREZWx0YU9wEkcKCnVuZGVybHlpbmcYAiABKAsyMy5Ba2thLkRpc3Ry", - "aWJ1dGVkRGF0YS5TZXJpYWxpemF0aW9uLlByb3RvLk1zZy5PUlNldCIXCgRG", - "bGFnEg8KB2VuYWJsZWQYASABKAgihgIKC0xXV1JlZ2lzdGVyEhEKCXRpbWVz", - "dGFtcBgBIAEoEhJJCgRub2RlGAIgASgLMjsuQWtrYS5EaXN0cmlidXRlZERh", - "dGEuU2VyaWFsaXphdGlvbi5Qcm90by5Nc2cuVW5pcXVlQWRkcmVzcxJJCgVz", - "dGF0ZRgDIAEoCzI6LkFra2EuRGlzdHJpYnV0ZWREYXRhLlNlcmlhbGl6YXRp", - "b24uUHJvdG8uTXNnLk90aGVyTWVzc2FnZRJOCgh0eXBlSW5mbxgEIAEoCzI8", - "LkFra2EuRGlzdHJpYnV0ZWREYXRhLlNlcmlhbGl6YXRpb24uUHJvdG8uTXNn", - "LlR5cGVEZXNjcmlwdG9yIrwBCghHQ291bnRlchJNCgdlbnRyaWVzGAEgAygL", - "MjwuQWtrYS5EaXN0cmlidXRlZERhdGEuU2VyaWFsaXphdGlvbi5Qcm90by5N", - "c2cuR0NvdW50ZXIuRW50cnkaYQoFRW50cnkSSQoEbm9kZRgBIAEoCzI7LkFr", - "a2EuRGlzdHJpYnV0ZWREYXRhLlNlcmlhbGl6YXRpb24uUHJvdG8uTXNnLlVu", - "aXF1ZUFkZHJlc3MSDQoFdmFsdWUYAiABKAwiowEKCVBOQ291bnRlchJKCgpp", - "bmNyZW1lbnRzGAEgASgLMjYuQWtrYS5EaXN0cmlidXRlZERhdGEuU2VyaWFs", - "aXphdGlvbi5Qcm90by5Nc2cuR0NvdW50ZXISSgoKZGVjcmVtZW50cxgCIAEo", - "CzI2LkFra2EuRGlzdHJpYnV0ZWREYXRhLlNlcmlhbGl6YXRpb24uUHJvdG8u", - "TXNnLkdDb3VudGVyIsIDCgVPUk1hcBJBCgRrZXlzGAEgASgLMjMuQWtrYS5E", - "aXN0cmlidXRlZERhdGEuU2VyaWFsaXphdGlvbi5Qcm90by5Nc2cuT1JTZXQS", - "SgoHZW50cmllcxgCIAMoCzI5LkFra2EuRGlzdHJpYnV0ZWREYXRhLlNlcmlh", - "bGl6YXRpb24uUHJvdG8uTXNnLk9STWFwLkVudHJ5ElMKDXZhbHVlVHlwZUlu", - "Zm8YBCABKAsyPC5Ba2thLkRpc3RyaWJ1dGVkRGF0YS5TZXJpYWxpemF0aW9u", - "LlByb3RvLk1zZy5UeXBlRGVzY3JpcHRvchrUAQoFRW50cnkSEQoJc3RyaW5n", - "S2V5GAEgASgJEkkKBXZhbHVlGAIgASgLMjouQWtrYS5EaXN0cmlidXRlZERh", - "dGEuU2VyaWFsaXphdGlvbi5Qcm90by5Nc2cuT3RoZXJNZXNzYWdlEg4KBmlu", - "dEtleRgDIAEoERIPCgdsb25nS2V5GAQgASgSEkwKCG90aGVyS2V5GAUgASgL", - "MjouQWtrYS5EaXN0cmlidXRlZERhdGEuU2VyaWFsaXphdGlvbi5Qcm90by5N", - "c2cuT3RoZXJNZXNzYWdlIvcFCg9PUk1hcERlbHRhR3JvdXASVAoHZW50cmll", - "cxgBIAMoCzJDLkFra2EuRGlzdHJpYnV0ZWREYXRhLlNlcmlhbGl6YXRpb24u", - "UHJvdG8uTXNnLk9STWFwRGVsdGFHcm91cC5FbnRyeRJRCgtrZXlUeXBlSW5m", - "bxgCIAEoCzI8LkFra2EuRGlzdHJpYnV0ZWREYXRhLlNlcmlhbGl6YXRpb24u", - "UHJvdG8uTXNnLlR5cGVEZXNjcmlwdG9yElMKDXZhbHVlVHlwZUluZm8YAyAB", - "KAsyPC5Ba2thLkRpc3RyaWJ1dGVkRGF0YS5TZXJpYWxpemF0aW9uLlByb3Rv", - "Lk1zZy5UeXBlRGVzY3JpcHRvchrXAQoITWFwRW50cnkSEQoJc3RyaW5nS2V5", - "GAEgASgJEkkKBXZhbHVlGAIgASgLMjouQWtrYS5EaXN0cmlidXRlZERhdGEu", - "U2VyaWFsaXphdGlvbi5Qcm90by5Nc2cuT3RoZXJNZXNzYWdlEg4KBmludEtl", - "eRgDIAEoERIPCgdsb25nS2V5GAQgASgSEkwKCG90aGVyS2V5GAUgASgLMjou", - "QWtrYS5EaXN0cmlidXRlZERhdGEuU2VyaWFsaXphdGlvbi5Qcm90by5Nc2cu", - "T3RoZXJNZXNzYWdlGosCCgVFbnRyeRJNCglvcGVyYXRpb24YASABKA4yOi5B", - "a2thLkRpc3RyaWJ1dGVkRGF0YS5TZXJpYWxpemF0aW9uLlByb3RvLk1zZy5P", - "Uk1hcERlbHRhT3ASRwoKdW5kZXJseWluZxgCIAEoCzIzLkFra2EuRGlzdHJp", - "YnV0ZWREYXRhLlNlcmlhbGl6YXRpb24uUHJvdG8uTXNnLk9SU2V0Eg8KB3pl", - "cm9UYWcYAyABKBESWQoJZW50cnlEYXRhGAQgAygLMkYuQWtrYS5EaXN0cmli", - "dXRlZERhdGEuU2VyaWFsaXphdGlvbi5Qcm90by5Nc2cuT1JNYXBEZWx0YUdy", - "b3VwLk1hcEVudHJ5IngKD09STXVsdGlNYXBEZWx0YRJMCgVkZWx0YRgBIAEo", - "CzI9LkFra2EuRGlzdHJpYnV0ZWREYXRhLlNlcmlhbGl6YXRpb24uUHJvdG8u", - "TXNnLk9STWFwRGVsdGFHcm91cBIXCg93aXRoVmFsdWVEZWx0YXMYAiABKAgi", - "wwMKBkxXV01hcBJBCgRrZXlzGAEgASgLMjMuQWtrYS5EaXN0cmlidXRlZERh", - "dGEuU2VyaWFsaXphdGlvbi5Qcm90by5Nc2cuT1JTZXQSSwoHZW50cmllcxgC", - "IAMoCzI6LkFra2EuRGlzdHJpYnV0ZWREYXRhLlNlcmlhbGl6YXRpb24uUHJv", - "dG8uTXNnLkxXV01hcC5FbnRyeRJTCg12YWx1ZVR5cGVJbmZvGAMgASgLMjwu", - "QWtrYS5EaXN0cmlidXRlZERhdGEuU2VyaWFsaXphdGlvbi5Qcm90by5Nc2cu", - "VHlwZURlc2NyaXB0b3Ia0wEKBUVudHJ5EhEKCXN0cmluZ0tleRgBIAEoCRJI", - "CgV2YWx1ZRgCIAEoCzI5LkFra2EuRGlzdHJpYnV0ZWREYXRhLlNlcmlhbGl6", - "YXRpb24uUHJvdG8uTXNnLkxXV1JlZ2lzdGVyEg4KBmludEtleRgDIAEoERIP", - "Cgdsb25nS2V5GAQgASgSEkwKCG90aGVyS2V5GAUgASgLMjouQWtrYS5EaXN0", - "cmlidXRlZERhdGEuU2VyaWFsaXphdGlvbi5Qcm90by5Nc2cuT3RoZXJNZXNz", - "YWdlIvgCCgxQTkNvdW50ZXJNYXASQQoEa2V5cxgBIAEoCzIzLkFra2EuRGlz", - "dHJpYnV0ZWREYXRhLlNlcmlhbGl6YXRpb24uUHJvdG8uTXNnLk9SU2V0ElEK", - "B2VudHJpZXMYAiADKAsyQC5Ba2thLkRpc3RyaWJ1dGVkRGF0YS5TZXJpYWxp", - "emF0aW9uLlByb3RvLk1zZy5QTkNvdW50ZXJNYXAuRW50cnka0QEKBUVudHJ5", - "EhEKCXN0cmluZ0tleRgBIAEoCRJGCgV2YWx1ZRgCIAEoCzI3LkFra2EuRGlz", - "dHJpYnV0ZWREYXRhLlNlcmlhbGl6YXRpb24uUHJvdG8uTXNnLlBOQ291bnRl", - "chIOCgZpbnRLZXkYAyABKBESDwoHbG9uZ0tleRgEIAEoEhJMCghvdGhlcktl", - "eRgFIAEoCzI6LkFra2EuRGlzdHJpYnV0ZWREYXRhLlNlcmlhbGl6YXRpb24u", - "UHJvdG8uTXNnLk90aGVyTWVzc2FnZSLeAwoKT1JNdWx0aU1hcBJBCgRrZXlz", - "GAEgASgLMjMuQWtrYS5EaXN0cmlidXRlZERhdGEuU2VyaWFsaXphdGlvbi5Q", - "cm90by5Nc2cuT1JTZXQSTwoHZW50cmllcxgCIAMoCzI+LkFra2EuRGlzdHJp", - "YnV0ZWREYXRhLlNlcmlhbGl6YXRpb24uUHJvdG8uTXNnLk9STXVsdGlNYXAu", - "RW50cnkSFwoPd2l0aFZhbHVlRGVsdGFzGAMgASgIElMKDXZhbHVlVHlwZUlu", - "Zm8YBCABKAsyPC5Ba2thLkRpc3RyaWJ1dGVkRGF0YS5TZXJpYWxpemF0aW9u", - "LlByb3RvLk1zZy5UeXBlRGVzY3JpcHRvchrNAQoFRW50cnkSEQoJc3RyaW5n", - "S2V5GAEgASgJEkIKBXZhbHVlGAIgASgLMjMuQWtrYS5EaXN0cmlidXRlZERh", - "dGEuU2VyaWFsaXphdGlvbi5Qcm90by5Nc2cuT1JTZXQSDgoGaW50S2V5GAMg", - "ASgREg8KB2xvbmdLZXkYBCABKBISTAoIb3RoZXJLZXkYBSABKAsyOi5Ba2th", - "LkRpc3RyaWJ1dGVkRGF0YS5TZXJpYWxpemF0aW9uLlByb3RvLk1zZy5PdGhl", - "ck1lc3NhZ2UihAIKA0tleRINCgVrZXlJZBgBIAEoCRJGCgdrZXlUeXBlGAIg", - "ASgOMjUuQWtrYS5EaXN0cmlidXRlZERhdGEuU2VyaWFsaXphdGlvbi5Qcm90", - "by5Nc2cuS2V5VHlwZRJRCgtrZXlUeXBlSW5mbxgDIAEoCzI8LkFra2EuRGlz", - "dHJpYnV0ZWREYXRhLlNlcmlhbGl6YXRpb24uUHJvdG8uTXNnLlR5cGVEZXNj", - "cmlwdG9yElMKDXZhbHVlVHlwZUluZm8YBCABKAsyPC5Ba2thLkRpc3RyaWJ1", - "dGVkRGF0YS5TZXJpYWxpemF0aW9uLlByb3RvLk1zZy5UeXBlRGVzY3JpcHRv", - "cipBCgdWYWxUeXBlEgcKA0ludBAAEggKBExvbmcQARIKCgZTdHJpbmcQAhIM", - "CghBY3RvclJlZhADEgkKBU90aGVyEAQqLQoMT1JTZXREZWx0YU9wEgcKA0Fk", - "ZBAAEgoKBlJlbW92ZRABEggKBEZ1bGwQAipSCgxPUk1hcERlbHRhT3ASDAoI", - "T1JNYXBQdXQQABIPCgtPUk1hcFJlbW92ZRABEhIKDk9STWFwUmVtb3ZlS2V5", - "EAISDwoLT1JNYXBVcGRhdGUQAyqtAQoHS2V5VHlwZRIMCghPUlNldEtleRAA", - "EgsKB0dTZXRLZXkQARIPCgtHQ291bnRlcktleRACEhAKDFBOQ291bnRlcktl", - "eRADEgsKB0ZsYWdLZXkQBBISCg5MV1dSZWdpc3RlcktleRAFEgwKCE9STWFw", - "S2V5EAYSDQoJTFdXTWFwS2V5EAcSEwoPUE5Db3VudGVyTWFwS2V5EAgSEQoN", - "T1JNdWx0aU1hcEtleRAJQgJIAWIGcHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Akka.DistributedData.Serialization.Proto.Msg.ReplicatorMessagesReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(new[] {typeof(global::Akka.DistributedData.Serialization.Proto.Msg.ValType), typeof(global::Akka.DistributedData.Serialization.Proto.Msg.ORSetDeltaOp), typeof(global::Akka.DistributedData.Serialization.Proto.Msg.ORMapDeltaOp), typeof(global::Akka.DistributedData.Serialization.Proto.Msg.KeyType), }, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Akka.DistributedData.Serialization.Proto.Msg.TypeDescriptor), global::Akka.DistributedData.Serialization.Proto.Msg.TypeDescriptor.Parser, new[]{ "Type", "TypeName" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Akka.DistributedData.Serialization.Proto.Msg.GSet), global::Akka.DistributedData.Serialization.Proto.Msg.GSet.Parser, new[]{ "StringElements", "TypeInfo", "IntElements", "LongElements", "OtherElements", "ActorRefElements" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Akka.DistributedData.Serialization.Proto.Msg.ORSet), global::Akka.DistributedData.Serialization.Proto.Msg.ORSet.Parser, new[]{ "Vvector", "TypeInfo", "Dots", "StringElements", "IntElements", "LongElements", "OtherElements", "ActorRefElements" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Akka.DistributedData.Serialization.Proto.Msg.ORSetDeltaGroup), global::Akka.DistributedData.Serialization.Proto.Msg.ORSetDeltaGroup.Parser, new[]{ "Entries", "TypeInfo" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Akka.DistributedData.Serialization.Proto.Msg.ORSetDeltaGroup.Types.Entry), global::Akka.DistributedData.Serialization.Proto.Msg.ORSetDeltaGroup.Types.Entry.Parser, new[]{ "Operation", "Underlying" }, null, null, null, null)}), - new pbr::GeneratedClrTypeInfo(typeof(global::Akka.DistributedData.Serialization.Proto.Msg.Flag), global::Akka.DistributedData.Serialization.Proto.Msg.Flag.Parser, new[]{ "Enabled" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Akka.DistributedData.Serialization.Proto.Msg.LWWRegister), global::Akka.DistributedData.Serialization.Proto.Msg.LWWRegister.Parser, new[]{ "Timestamp", "Node", "State", "TypeInfo" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Akka.DistributedData.Serialization.Proto.Msg.GCounter), global::Akka.DistributedData.Serialization.Proto.Msg.GCounter.Parser, new[]{ "Entries" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Akka.DistributedData.Serialization.Proto.Msg.GCounter.Types.Entry), global::Akka.DistributedData.Serialization.Proto.Msg.GCounter.Types.Entry.Parser, new[]{ "Node", "Value" }, null, null, null, null)}), - new pbr::GeneratedClrTypeInfo(typeof(global::Akka.DistributedData.Serialization.Proto.Msg.PNCounter), global::Akka.DistributedData.Serialization.Proto.Msg.PNCounter.Parser, new[]{ "Increments", "Decrements" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Akka.DistributedData.Serialization.Proto.Msg.ORMap), global::Akka.DistributedData.Serialization.Proto.Msg.ORMap.Parser, new[]{ "Keys", "Entries", "ValueTypeInfo" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Akka.DistributedData.Serialization.Proto.Msg.ORMap.Types.Entry), global::Akka.DistributedData.Serialization.Proto.Msg.ORMap.Types.Entry.Parser, new[]{ "StringKey", "Value", "IntKey", "LongKey", "OtherKey" }, null, null, null, null)}), - new pbr::GeneratedClrTypeInfo(typeof(global::Akka.DistributedData.Serialization.Proto.Msg.ORMapDeltaGroup), global::Akka.DistributedData.Serialization.Proto.Msg.ORMapDeltaGroup.Parser, new[]{ "Entries", "KeyTypeInfo", "ValueTypeInfo" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Akka.DistributedData.Serialization.Proto.Msg.ORMapDeltaGroup.Types.MapEntry), global::Akka.DistributedData.Serialization.Proto.Msg.ORMapDeltaGroup.Types.MapEntry.Parser, new[]{ "StringKey", "Value", "IntKey", "LongKey", "OtherKey" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Akka.DistributedData.Serialization.Proto.Msg.ORMapDeltaGroup.Types.Entry), global::Akka.DistributedData.Serialization.Proto.Msg.ORMapDeltaGroup.Types.Entry.Parser, new[]{ "Operation", "Underlying", "ZeroTag", "EntryData" }, null, null, null, null)}), - new pbr::GeneratedClrTypeInfo(typeof(global::Akka.DistributedData.Serialization.Proto.Msg.ORMultiMapDelta), global::Akka.DistributedData.Serialization.Proto.Msg.ORMultiMapDelta.Parser, new[]{ "Delta", "WithValueDeltas" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Akka.DistributedData.Serialization.Proto.Msg.LWWMap), global::Akka.DistributedData.Serialization.Proto.Msg.LWWMap.Parser, new[]{ "Keys", "Entries", "ValueTypeInfo" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Akka.DistributedData.Serialization.Proto.Msg.LWWMap.Types.Entry), global::Akka.DistributedData.Serialization.Proto.Msg.LWWMap.Types.Entry.Parser, new[]{ "StringKey", "Value", "IntKey", "LongKey", "OtherKey" }, null, null, null, null)}), - new pbr::GeneratedClrTypeInfo(typeof(global::Akka.DistributedData.Serialization.Proto.Msg.PNCounterMap), global::Akka.DistributedData.Serialization.Proto.Msg.PNCounterMap.Parser, new[]{ "Keys", "Entries" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Akka.DistributedData.Serialization.Proto.Msg.PNCounterMap.Types.Entry), global::Akka.DistributedData.Serialization.Proto.Msg.PNCounterMap.Types.Entry.Parser, new[]{ "StringKey", "Value", "IntKey", "LongKey", "OtherKey" }, null, null, null, null)}), - new pbr::GeneratedClrTypeInfo(typeof(global::Akka.DistributedData.Serialization.Proto.Msg.ORMultiMap), global::Akka.DistributedData.Serialization.Proto.Msg.ORMultiMap.Parser, new[]{ "Keys", "Entries", "WithValueDeltas", "ValueTypeInfo" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Akka.DistributedData.Serialization.Proto.Msg.ORMultiMap.Types.Entry), global::Akka.DistributedData.Serialization.Proto.Msg.ORMultiMap.Types.Entry.Parser, new[]{ "StringKey", "Value", "IntKey", "LongKey", "OtherKey" }, null, null, null, null)}), - new pbr::GeneratedClrTypeInfo(typeof(global::Akka.DistributedData.Serialization.Proto.Msg.Key), global::Akka.DistributedData.Serialization.Proto.Msg.Key.Parser, new[]{ "KeyId", "KeyType", "KeyTypeInfo", "ValueTypeInfo" }, null, null, null, null) - })); - } - #endregion - - } - #region Enums - internal enum ValType { - [pbr::OriginalName("Int")] Int = 0, - [pbr::OriginalName("Long")] Long = 1, - [pbr::OriginalName("String")] String = 2, - [pbr::OriginalName("ActorRef")] ActorRef = 3, - [pbr::OriginalName("Other")] Other = 4, - } - - internal enum ORSetDeltaOp { - [pbr::OriginalName("Add")] Add = 0, - [pbr::OriginalName("Remove")] Remove = 1, - [pbr::OriginalName("Full")] Full = 2, - } - - internal enum ORMapDeltaOp { - [pbr::OriginalName("ORMapPut")] OrmapPut = 0, - [pbr::OriginalName("ORMapRemove")] OrmapRemove = 1, - [pbr::OriginalName("ORMapRemoveKey")] OrmapRemoveKey = 2, - [pbr::OriginalName("ORMapUpdate")] OrmapUpdate = 3, - } - - internal enum KeyType { - [pbr::OriginalName("ORSetKey")] OrsetKey = 0, - [pbr::OriginalName("GSetKey")] GsetKey = 1, - [pbr::OriginalName("GCounterKey")] GcounterKey = 2, - [pbr::OriginalName("PNCounterKey")] PncounterKey = 3, - [pbr::OriginalName("FlagKey")] FlagKey = 4, - [pbr::OriginalName("LWWRegisterKey")] LwwregisterKey = 5, - [pbr::OriginalName("ORMapKey")] OrmapKey = 6, - [pbr::OriginalName("LWWMapKey")] LwwmapKey = 7, - [pbr::OriginalName("PNCounterMapKey")] PncounterMapKey = 8, - [pbr::OriginalName("ORMultiMapKey")] OrmultiMapKey = 9, - } - - #endregion - - #region Messages - internal sealed partial class TypeDescriptor : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new TypeDescriptor()); - 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::Akka.DistributedData.Serialization.Proto.Msg.ReplicatedDataMessagesReflection.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 TypeDescriptor() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public TypeDescriptor(TypeDescriptor other) : this() { - type_ = other.type_; - typeName_ = other.typeName_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public TypeDescriptor Clone() { - return new TypeDescriptor(this); - } - - /// Field number for the "type" field. - public const int TypeFieldNumber = 1; - private global::Akka.DistributedData.Serialization.Proto.Msg.ValType type_ = global::Akka.DistributedData.Serialization.Proto.Msg.ValType.Int; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.DistributedData.Serialization.Proto.Msg.ValType Type { - get { return type_; } - set { - type_ = value; - } - } - - /// Field number for the "TypeName" field. - public const int TypeNameFieldNumber = 2; - private string typeName_ = ""; - /// - /// used when ValType.Other is selected - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string TypeName { - get { return typeName_; } - set { - typeName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as TypeDescriptor); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(TypeDescriptor other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Type != other.Type) return false; - if (TypeName != other.TypeName) 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 (Type != global::Akka.DistributedData.Serialization.Proto.Msg.ValType.Int) hash ^= Type.GetHashCode(); - if (TypeName.Length != 0) hash ^= TypeName.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 (Type != global::Akka.DistributedData.Serialization.Proto.Msg.ValType.Int) { - output.WriteRawTag(8); - output.WriteEnum((int) Type); - } - if (TypeName.Length != 0) { - output.WriteRawTag(18); - output.WriteString(TypeName); - } - 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 (Type != global::Akka.DistributedData.Serialization.Proto.Msg.ValType.Int) { - output.WriteRawTag(8); - output.WriteEnum((int) Type); - } - if (TypeName.Length != 0) { - output.WriteRawTag(18); - output.WriteString(TypeName); - } - 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 (Type != global::Akka.DistributedData.Serialization.Proto.Msg.ValType.Int) { - size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Type); - } - if (TypeName.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(TypeName); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(TypeDescriptor other) { - if (other == null) { - return; - } - if (other.Type != global::Akka.DistributedData.Serialization.Proto.Msg.ValType.Int) { - Type = other.Type; - } - if (other.TypeName.Length != 0) { - TypeName = other.TypeName; - } - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 8: { - Type = (global::Akka.DistributedData.Serialization.Proto.Msg.ValType) input.ReadEnum(); - break; - } - case 18: { - TypeName = input.ReadString(); - 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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 8: { - Type = (global::Akka.DistributedData.Serialization.Proto.Msg.ValType) input.ReadEnum(); - break; - } - case 18: { - TypeName = input.ReadString(); - break; - } - } - } - } - #endif - - } - - internal sealed partial class GSet : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GSet()); - 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::Akka.DistributedData.Serialization.Proto.Msg.ReplicatedDataMessagesReflection.Descriptor.MessageTypes[1]; } - } - - [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 GSet() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public GSet(GSet other) : this() { - stringElements_ = other.stringElements_.Clone(); - typeInfo_ = other.typeInfo_ != null ? other.typeInfo_.Clone() : null; - intElements_ = other.intElements_.Clone(); - longElements_ = other.longElements_.Clone(); - otherElements_ = other.otherElements_.Clone(); - actorRefElements_ = other.actorRefElements_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public GSet Clone() { - return new GSet(this); - } - - /// Field number for the "stringElements" field. - public const int StringElementsFieldNumber = 1; - private static readonly pb::FieldCodec _repeated_stringElements_codec - = pb::FieldCodec.ForString(10); - private readonly pbc::RepeatedField stringElements_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField StringElements { - get { return stringElements_; } - } - - /// Field number for the "typeInfo" field. - public const int TypeInfoFieldNumber = 2; - private global::Akka.DistributedData.Serialization.Proto.Msg.TypeDescriptor typeInfo_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.DistributedData.Serialization.Proto.Msg.TypeDescriptor TypeInfo { - get { return typeInfo_; } - set { - typeInfo_ = value; - } - } - - /// Field number for the "intElements" field. - public const int IntElementsFieldNumber = 3; - private static readonly pb::FieldCodec _repeated_intElements_codec - = pb::FieldCodec.ForSInt32(26); - private readonly pbc::RepeatedField intElements_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField IntElements { - get { return intElements_; } - } - - /// Field number for the "longElements" field. - public const int LongElementsFieldNumber = 4; - private static readonly pb::FieldCodec _repeated_longElements_codec - = pb::FieldCodec.ForSInt64(34); - private readonly pbc::RepeatedField longElements_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField LongElements { - get { return longElements_; } - } - - /// Field number for the "otherElements" field. - public const int OtherElementsFieldNumber = 5; - private static readonly pb::FieldCodec _repeated_otherElements_codec - = pb::FieldCodec.ForMessage(42, global::Akka.DistributedData.Serialization.Proto.Msg.OtherMessage.Parser); - private readonly pbc::RepeatedField otherElements_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField OtherElements { - get { return otherElements_; } - } - - /// Field number for the "actorRefElements" field. - public const int ActorRefElementsFieldNumber = 6; - private static readonly pb::FieldCodec _repeated_actorRefElements_codec - = pb::FieldCodec.ForString(50); - private readonly pbc::RepeatedField actorRefElements_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField ActorRefElements { - get { return actorRefElements_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as GSet); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(GSet other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!stringElements_.Equals(other.stringElements_)) return false; - if (!object.Equals(TypeInfo, other.TypeInfo)) return false; - if(!intElements_.Equals(other.intElements_)) return false; - if(!longElements_.Equals(other.longElements_)) return false; - if(!otherElements_.Equals(other.otherElements_)) return false; - if(!actorRefElements_.Equals(other.actorRefElements_)) 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; - hash ^= stringElements_.GetHashCode(); - if (typeInfo_ != null) hash ^= TypeInfo.GetHashCode(); - hash ^= intElements_.GetHashCode(); - hash ^= longElements_.GetHashCode(); - hash ^= otherElements_.GetHashCode(); - hash ^= actorRefElements_.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 - stringElements_.WriteTo(output, _repeated_stringElements_codec); - if (typeInfo_ != null) { - output.WriteRawTag(18); - output.WriteMessage(TypeInfo); - } - intElements_.WriteTo(output, _repeated_intElements_codec); - longElements_.WriteTo(output, _repeated_longElements_codec); - otherElements_.WriteTo(output, _repeated_otherElements_codec); - actorRefElements_.WriteTo(output, _repeated_actorRefElements_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) { - stringElements_.WriteTo(ref output, _repeated_stringElements_codec); - if (typeInfo_ != null) { - output.WriteRawTag(18); - output.WriteMessage(TypeInfo); - } - intElements_.WriteTo(ref output, _repeated_intElements_codec); - longElements_.WriteTo(ref output, _repeated_longElements_codec); - otherElements_.WriteTo(ref output, _repeated_otherElements_codec); - actorRefElements_.WriteTo(ref output, _repeated_actorRefElements_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; - size += stringElements_.CalculateSize(_repeated_stringElements_codec); - if (typeInfo_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(TypeInfo); - } - size += intElements_.CalculateSize(_repeated_intElements_codec); - size += longElements_.CalculateSize(_repeated_longElements_codec); - size += otherElements_.CalculateSize(_repeated_otherElements_codec); - size += actorRefElements_.CalculateSize(_repeated_actorRefElements_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(GSet other) { - if (other == null) { - return; - } - stringElements_.Add(other.stringElements_); - if (other.typeInfo_ != null) { - if (typeInfo_ == null) { - TypeInfo = new global::Akka.DistributedData.Serialization.Proto.Msg.TypeDescriptor(); - } - TypeInfo.MergeFrom(other.TypeInfo); - } - intElements_.Add(other.intElements_); - longElements_.Add(other.longElements_); - otherElements_.Add(other.otherElements_); - actorRefElements_.Add(other.actorRefElements_); - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - stringElements_.AddEntriesFrom(input, _repeated_stringElements_codec); - break; - } - case 18: { - if (typeInfo_ == null) { - TypeInfo = new global::Akka.DistributedData.Serialization.Proto.Msg.TypeDescriptor(); - } - input.ReadMessage(TypeInfo); - break; - } - case 26: - case 24: { - intElements_.AddEntriesFrom(input, _repeated_intElements_codec); - break; - } - case 34: - case 32: { - longElements_.AddEntriesFrom(input, _repeated_longElements_codec); - break; - } - case 42: { - otherElements_.AddEntriesFrom(input, _repeated_otherElements_codec); - break; - } - case 50: { - actorRefElements_.AddEntriesFrom(input, _repeated_actorRefElements_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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - stringElements_.AddEntriesFrom(ref input, _repeated_stringElements_codec); - break; - } - case 18: { - if (typeInfo_ == null) { - TypeInfo = new global::Akka.DistributedData.Serialization.Proto.Msg.TypeDescriptor(); - } - input.ReadMessage(TypeInfo); - break; - } - case 26: - case 24: { - intElements_.AddEntriesFrom(ref input, _repeated_intElements_codec); - break; - } - case 34: - case 32: { - longElements_.AddEntriesFrom(ref input, _repeated_longElements_codec); - break; - } - case 42: { - otherElements_.AddEntriesFrom(ref input, _repeated_otherElements_codec); - break; - } - case 50: { - actorRefElements_.AddEntriesFrom(ref input, _repeated_actorRefElements_codec); - break; - } - } - } - } - #endif - - } - - internal sealed partial class ORSet : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ORSet()); - 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::Akka.DistributedData.Serialization.Proto.Msg.ReplicatedDataMessagesReflection.Descriptor.MessageTypes[2]; } - } - - [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 ORSet() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ORSet(ORSet other) : this() { - vvector_ = other.vvector_ != null ? other.vvector_.Clone() : null; - typeInfo_ = other.typeInfo_ != null ? other.typeInfo_.Clone() : null; - dots_ = other.dots_.Clone(); - stringElements_ = other.stringElements_.Clone(); - intElements_ = other.intElements_.Clone(); - longElements_ = other.longElements_.Clone(); - otherElements_ = other.otherElements_.Clone(); - actorRefElements_ = other.actorRefElements_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ORSet Clone() { - return new ORSet(this); - } - - /// Field number for the "vvector" field. - public const int VvectorFieldNumber = 1; - private global::Akka.DistributedData.Serialization.Proto.Msg.VersionVector vvector_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.DistributedData.Serialization.Proto.Msg.VersionVector Vvector { - get { return vvector_; } - set { - vvector_ = value; - } - } - - /// Field number for the "typeInfo" field. - public const int TypeInfoFieldNumber = 2; - private global::Akka.DistributedData.Serialization.Proto.Msg.TypeDescriptor typeInfo_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.DistributedData.Serialization.Proto.Msg.TypeDescriptor TypeInfo { - get { return typeInfo_; } - set { - typeInfo_ = value; - } - } - - /// Field number for the "dots" field. - public const int DotsFieldNumber = 3; - private static readonly pb::FieldCodec _repeated_dots_codec - = pb::FieldCodec.ForMessage(26, global::Akka.DistributedData.Serialization.Proto.Msg.VersionVector.Parser); - private readonly pbc::RepeatedField dots_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField Dots { - get { return dots_; } - } - - /// Field number for the "stringElements" field. - public const int StringElementsFieldNumber = 4; - private static readonly pb::FieldCodec _repeated_stringElements_codec - = pb::FieldCodec.ForString(34); - private readonly pbc::RepeatedField stringElements_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField StringElements { - get { return stringElements_; } - } - - /// Field number for the "intElements" field. - public const int IntElementsFieldNumber = 5; - private static readonly pb::FieldCodec _repeated_intElements_codec - = pb::FieldCodec.ForSInt32(42); - private readonly pbc::RepeatedField intElements_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField IntElements { - get { return intElements_; } - } - - /// Field number for the "longElements" field. - public const int LongElementsFieldNumber = 6; - private static readonly pb::FieldCodec _repeated_longElements_codec - = pb::FieldCodec.ForSInt64(50); - private readonly pbc::RepeatedField longElements_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField LongElements { - get { return longElements_; } - } - - /// Field number for the "otherElements" field. - public const int OtherElementsFieldNumber = 7; - private static readonly pb::FieldCodec _repeated_otherElements_codec - = pb::FieldCodec.ForMessage(58, global::Akka.DistributedData.Serialization.Proto.Msg.OtherMessage.Parser); - private readonly pbc::RepeatedField otherElements_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField OtherElements { - get { return otherElements_; } - } - - /// Field number for the "actorRefElements" field. - public const int ActorRefElementsFieldNumber = 8; - private static readonly pb::FieldCodec _repeated_actorRefElements_codec - = pb::FieldCodec.ForString(66); - private readonly pbc::RepeatedField actorRefElements_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField ActorRefElements { - get { return actorRefElements_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ORSet); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ORSet other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (!object.Equals(Vvector, other.Vvector)) return false; - if (!object.Equals(TypeInfo, other.TypeInfo)) return false; - if(!dots_.Equals(other.dots_)) return false; - if(!stringElements_.Equals(other.stringElements_)) return false; - if(!intElements_.Equals(other.intElements_)) return false; - if(!longElements_.Equals(other.longElements_)) return false; - if(!otherElements_.Equals(other.otherElements_)) return false; - if(!actorRefElements_.Equals(other.actorRefElements_)) 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 (vvector_ != null) hash ^= Vvector.GetHashCode(); - if (typeInfo_ != null) hash ^= TypeInfo.GetHashCode(); - hash ^= dots_.GetHashCode(); - hash ^= stringElements_.GetHashCode(); - hash ^= intElements_.GetHashCode(); - hash ^= longElements_.GetHashCode(); - hash ^= otherElements_.GetHashCode(); - hash ^= actorRefElements_.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 (vvector_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Vvector); - } - if (typeInfo_ != null) { - output.WriteRawTag(18); - output.WriteMessage(TypeInfo); - } - dots_.WriteTo(output, _repeated_dots_codec); - stringElements_.WriteTo(output, _repeated_stringElements_codec); - intElements_.WriteTo(output, _repeated_intElements_codec); - longElements_.WriteTo(output, _repeated_longElements_codec); - otherElements_.WriteTo(output, _repeated_otherElements_codec); - actorRefElements_.WriteTo(output, _repeated_actorRefElements_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 (vvector_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Vvector); - } - if (typeInfo_ != null) { - output.WriteRawTag(18); - output.WriteMessage(TypeInfo); - } - dots_.WriteTo(ref output, _repeated_dots_codec); - stringElements_.WriteTo(ref output, _repeated_stringElements_codec); - intElements_.WriteTo(ref output, _repeated_intElements_codec); - longElements_.WriteTo(ref output, _repeated_longElements_codec); - otherElements_.WriteTo(ref output, _repeated_otherElements_codec); - actorRefElements_.WriteTo(ref output, _repeated_actorRefElements_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 (vvector_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Vvector); - } - if (typeInfo_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(TypeInfo); - } - size += dots_.CalculateSize(_repeated_dots_codec); - size += stringElements_.CalculateSize(_repeated_stringElements_codec); - size += intElements_.CalculateSize(_repeated_intElements_codec); - size += longElements_.CalculateSize(_repeated_longElements_codec); - size += otherElements_.CalculateSize(_repeated_otherElements_codec); - size += actorRefElements_.CalculateSize(_repeated_actorRefElements_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ORSet other) { - if (other == null) { - return; - } - if (other.vvector_ != null) { - if (vvector_ == null) { - Vvector = new global::Akka.DistributedData.Serialization.Proto.Msg.VersionVector(); - } - Vvector.MergeFrom(other.Vvector); - } - if (other.typeInfo_ != null) { - if (typeInfo_ == null) { - TypeInfo = new global::Akka.DistributedData.Serialization.Proto.Msg.TypeDescriptor(); - } - TypeInfo.MergeFrom(other.TypeInfo); - } - dots_.Add(other.dots_); - stringElements_.Add(other.stringElements_); - intElements_.Add(other.intElements_); - longElements_.Add(other.longElements_); - otherElements_.Add(other.otherElements_); - actorRefElements_.Add(other.actorRefElements_); - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - if (vvector_ == null) { - Vvector = new global::Akka.DistributedData.Serialization.Proto.Msg.VersionVector(); - } - input.ReadMessage(Vvector); - break; - } - case 18: { - if (typeInfo_ == null) { - TypeInfo = new global::Akka.DistributedData.Serialization.Proto.Msg.TypeDescriptor(); - } - input.ReadMessage(TypeInfo); - break; - } - case 26: { - dots_.AddEntriesFrom(input, _repeated_dots_codec); - break; - } - case 34: { - stringElements_.AddEntriesFrom(input, _repeated_stringElements_codec); - break; - } - case 42: - case 40: { - intElements_.AddEntriesFrom(input, _repeated_intElements_codec); - break; - } - case 50: - case 48: { - longElements_.AddEntriesFrom(input, _repeated_longElements_codec); - break; - } - case 58: { - otherElements_.AddEntriesFrom(input, _repeated_otherElements_codec); - break; - } - case 66: { - actorRefElements_.AddEntriesFrom(input, _repeated_actorRefElements_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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - if (vvector_ == null) { - Vvector = new global::Akka.DistributedData.Serialization.Proto.Msg.VersionVector(); - } - input.ReadMessage(Vvector); - break; - } - case 18: { - if (typeInfo_ == null) { - TypeInfo = new global::Akka.DistributedData.Serialization.Proto.Msg.TypeDescriptor(); - } - input.ReadMessage(TypeInfo); - break; - } - case 26: { - dots_.AddEntriesFrom(ref input, _repeated_dots_codec); - break; - } - case 34: { - stringElements_.AddEntriesFrom(ref input, _repeated_stringElements_codec); - break; - } - case 42: - case 40: { - intElements_.AddEntriesFrom(ref input, _repeated_intElements_codec); - break; - } - case 50: - case 48: { - longElements_.AddEntriesFrom(ref input, _repeated_longElements_codec); - break; - } - case 58: { - otherElements_.AddEntriesFrom(ref input, _repeated_otherElements_codec); - break; - } - case 66: { - actorRefElements_.AddEntriesFrom(ref input, _repeated_actorRefElements_codec); - break; - } - } - } - } - #endif - - } - - internal sealed partial class ORSetDeltaGroup : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ORSetDeltaGroup()); - 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::Akka.DistributedData.Serialization.Proto.Msg.ReplicatedDataMessagesReflection.Descriptor.MessageTypes[3]; } - } - - [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 ORSetDeltaGroup() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ORSetDeltaGroup(ORSetDeltaGroup other) : this() { - entries_ = other.entries_.Clone(); - typeInfo_ = other.typeInfo_ != null ? other.typeInfo_.Clone() : null; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ORSetDeltaGroup Clone() { - return new ORSetDeltaGroup(this); - } - - /// Field number for the "entries" field. - public const int EntriesFieldNumber = 1; - private static readonly pb::FieldCodec _repeated_entries_codec - = pb::FieldCodec.ForMessage(10, global::Akka.DistributedData.Serialization.Proto.Msg.ORSetDeltaGroup.Types.Entry.Parser); - private readonly pbc::RepeatedField entries_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField Entries { - get { return entries_; } - } - - /// Field number for the "typeInfo" field. - public const int TypeInfoFieldNumber = 2; - private global::Akka.DistributedData.Serialization.Proto.Msg.TypeDescriptor typeInfo_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.DistributedData.Serialization.Proto.Msg.TypeDescriptor TypeInfo { - get { return typeInfo_; } - set { - typeInfo_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ORSetDeltaGroup); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ORSetDeltaGroup other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!entries_.Equals(other.entries_)) return false; - if (!object.Equals(TypeInfo, other.TypeInfo)) 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; - hash ^= entries_.GetHashCode(); - if (typeInfo_ != null) hash ^= TypeInfo.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 - entries_.WriteTo(output, _repeated_entries_codec); - if (typeInfo_ != null) { - output.WriteRawTag(18); - output.WriteMessage(TypeInfo); - } - 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) { - entries_.WriteTo(ref output, _repeated_entries_codec); - if (typeInfo_ != null) { - output.WriteRawTag(18); - output.WriteMessage(TypeInfo); - } - 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; - size += entries_.CalculateSize(_repeated_entries_codec); - if (typeInfo_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(TypeInfo); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ORSetDeltaGroup other) { - if (other == null) { - return; - } - entries_.Add(other.entries_); - if (other.typeInfo_ != null) { - if (typeInfo_ == null) { - TypeInfo = new global::Akka.DistributedData.Serialization.Proto.Msg.TypeDescriptor(); - } - TypeInfo.MergeFrom(other.TypeInfo); - } - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - entries_.AddEntriesFrom(input, _repeated_entries_codec); - break; - } - case 18: { - if (typeInfo_ == null) { - TypeInfo = new global::Akka.DistributedData.Serialization.Proto.Msg.TypeDescriptor(); - } - input.ReadMessage(TypeInfo); - 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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - entries_.AddEntriesFrom(ref input, _repeated_entries_codec); - break; - } - case 18: { - if (typeInfo_ == null) { - TypeInfo = new global::Akka.DistributedData.Serialization.Proto.Msg.TypeDescriptor(); - } - input.ReadMessage(TypeInfo); - break; - } - } - } - } - #endif - - #region Nested types - /// Container for nested types declared in the ORSetDeltaGroup message type. - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static partial class Types { - internal sealed partial class Entry : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Entry()); - 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::Akka.DistributedData.Serialization.Proto.Msg.ORSetDeltaGroup.Descriptor.NestedTypes[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 Entry() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Entry(Entry other) : this() { - operation_ = other.operation_; - underlying_ = other.underlying_ != null ? other.underlying_.Clone() : null; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Entry Clone() { - return new Entry(this); - } - - /// Field number for the "operation" field. - public const int OperationFieldNumber = 1; - private global::Akka.DistributedData.Serialization.Proto.Msg.ORSetDeltaOp operation_ = global::Akka.DistributedData.Serialization.Proto.Msg.ORSetDeltaOp.Add; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.DistributedData.Serialization.Proto.Msg.ORSetDeltaOp Operation { - get { return operation_; } - set { - operation_ = value; - } - } - - /// Field number for the "underlying" field. - public const int UnderlyingFieldNumber = 2; - private global::Akka.DistributedData.Serialization.Proto.Msg.ORSet underlying_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.DistributedData.Serialization.Proto.Msg.ORSet Underlying { - get { return underlying_; } - set { - underlying_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as Entry); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(Entry other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Operation != other.Operation) return false; - if (!object.Equals(Underlying, other.Underlying)) 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 (Operation != global::Akka.DistributedData.Serialization.Proto.Msg.ORSetDeltaOp.Add) hash ^= Operation.GetHashCode(); - if (underlying_ != null) hash ^= Underlying.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 (Operation != global::Akka.DistributedData.Serialization.Proto.Msg.ORSetDeltaOp.Add) { - output.WriteRawTag(8); - output.WriteEnum((int) Operation); - } - if (underlying_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Underlying); - } - 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 (Operation != global::Akka.DistributedData.Serialization.Proto.Msg.ORSetDeltaOp.Add) { - output.WriteRawTag(8); - output.WriteEnum((int) Operation); - } - if (underlying_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Underlying); - } - 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 (Operation != global::Akka.DistributedData.Serialization.Proto.Msg.ORSetDeltaOp.Add) { - size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Operation); - } - if (underlying_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Underlying); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(Entry other) { - if (other == null) { - return; - } - if (other.Operation != global::Akka.DistributedData.Serialization.Proto.Msg.ORSetDeltaOp.Add) { - Operation = other.Operation; - } - if (other.underlying_ != null) { - if (underlying_ == null) { - Underlying = new global::Akka.DistributedData.Serialization.Proto.Msg.ORSet(); - } - Underlying.MergeFrom(other.Underlying); - } - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 8: { - Operation = (global::Akka.DistributedData.Serialization.Proto.Msg.ORSetDeltaOp) input.ReadEnum(); - break; - } - case 18: { - if (underlying_ == null) { - Underlying = new global::Akka.DistributedData.Serialization.Proto.Msg.ORSet(); - } - input.ReadMessage(Underlying); - 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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 8: { - Operation = (global::Akka.DistributedData.Serialization.Proto.Msg.ORSetDeltaOp) input.ReadEnum(); - break; - } - case 18: { - if (underlying_ == null) { - Underlying = new global::Akka.DistributedData.Serialization.Proto.Msg.ORSet(); - } - input.ReadMessage(Underlying); - break; - } - } - } - } - #endif - - } - - } - #endregion - - } - - internal sealed partial class Flag : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Flag()); - 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::Akka.DistributedData.Serialization.Proto.Msg.ReplicatedDataMessagesReflection.Descriptor.MessageTypes[4]; } - } - - [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 Flag() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Flag(Flag other) : this() { - enabled_ = other.enabled_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Flag Clone() { - return new Flag(this); - } - - /// Field number for the "enabled" field. - public const int EnabledFieldNumber = 1; - private bool enabled_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Enabled { - get { return enabled_; } - set { - enabled_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as Flag); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(Flag other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Enabled != other.Enabled) 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 (Enabled != false) hash ^= Enabled.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 (Enabled != false) { - output.WriteRawTag(8); - output.WriteBool(Enabled); - } - 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 (Enabled != false) { - output.WriteRawTag(8); - output.WriteBool(Enabled); - } - 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 (Enabled != false) { - size += 1 + 1; - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(Flag other) { - if (other == null) { - return; - } - if (other.Enabled != false) { - Enabled = other.Enabled; - } - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 8: { - Enabled = input.ReadBool(); - 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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 8: { - Enabled = input.ReadBool(); - break; - } - } - } - } - #endif - - } - - internal sealed partial class LWWRegister : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new LWWRegister()); - 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::Akka.DistributedData.Serialization.Proto.Msg.ReplicatedDataMessagesReflection.Descriptor.MessageTypes[5]; } - } - - [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 LWWRegister() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public LWWRegister(LWWRegister other) : this() { - timestamp_ = other.timestamp_; - node_ = other.node_ != null ? other.node_.Clone() : null; - state_ = other.state_ != null ? other.state_.Clone() : null; - typeInfo_ = other.typeInfo_ != null ? other.typeInfo_.Clone() : null; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public LWWRegister Clone() { - return new LWWRegister(this); - } - - /// Field number for the "timestamp" field. - public const int TimestampFieldNumber = 1; - private long timestamp_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public long Timestamp { - get { return timestamp_; } - set { - timestamp_ = value; - } - } - - /// Field number for the "node" field. - public const int NodeFieldNumber = 2; - private global::Akka.DistributedData.Serialization.Proto.Msg.UniqueAddress node_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.DistributedData.Serialization.Proto.Msg.UniqueAddress Node { - get { return node_; } - set { - node_ = value; - } - } - - /// Field number for the "state" field. - public const int StateFieldNumber = 3; - private global::Akka.DistributedData.Serialization.Proto.Msg.OtherMessage state_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.DistributedData.Serialization.Proto.Msg.OtherMessage State { - get { return state_; } - set { - state_ = value; - } - } - - /// Field number for the "typeInfo" field. - public const int TypeInfoFieldNumber = 4; - private global::Akka.DistributedData.Serialization.Proto.Msg.TypeDescriptor typeInfo_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.DistributedData.Serialization.Proto.Msg.TypeDescriptor TypeInfo { - get { return typeInfo_; } - set { - typeInfo_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as LWWRegister); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(LWWRegister other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Timestamp != other.Timestamp) return false; - if (!object.Equals(Node, other.Node)) return false; - if (!object.Equals(State, other.State)) return false; - if (!object.Equals(TypeInfo, other.TypeInfo)) 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 (Timestamp != 0L) hash ^= Timestamp.GetHashCode(); - if (node_ != null) hash ^= Node.GetHashCode(); - if (state_ != null) hash ^= State.GetHashCode(); - if (typeInfo_ != null) hash ^= TypeInfo.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 (Timestamp != 0L) { - output.WriteRawTag(8); - output.WriteSInt64(Timestamp); - } - if (node_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Node); - } - if (state_ != null) { - output.WriteRawTag(26); - output.WriteMessage(State); - } - if (typeInfo_ != null) { - output.WriteRawTag(34); - output.WriteMessage(TypeInfo); - } - 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 (Timestamp != 0L) { - output.WriteRawTag(8); - output.WriteSInt64(Timestamp); - } - if (node_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Node); - } - if (state_ != null) { - output.WriteRawTag(26); - output.WriteMessage(State); - } - if (typeInfo_ != null) { - output.WriteRawTag(34); - output.WriteMessage(TypeInfo); - } - 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 (Timestamp != 0L) { - size += 1 + pb::CodedOutputStream.ComputeSInt64Size(Timestamp); - } - if (node_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Node); - } - if (state_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(State); - } - if (typeInfo_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(TypeInfo); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(LWWRegister other) { - if (other == null) { - return; - } - if (other.Timestamp != 0L) { - Timestamp = other.Timestamp; - } - if (other.node_ != null) { - if (node_ == null) { - Node = new global::Akka.DistributedData.Serialization.Proto.Msg.UniqueAddress(); - } - Node.MergeFrom(other.Node); - } - if (other.state_ != null) { - if (state_ == null) { - State = new global::Akka.DistributedData.Serialization.Proto.Msg.OtherMessage(); - } - State.MergeFrom(other.State); - } - if (other.typeInfo_ != null) { - if (typeInfo_ == null) { - TypeInfo = new global::Akka.DistributedData.Serialization.Proto.Msg.TypeDescriptor(); - } - TypeInfo.MergeFrom(other.TypeInfo); - } - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 8: { - Timestamp = input.ReadSInt64(); - break; - } - case 18: { - if (node_ == null) { - Node = new global::Akka.DistributedData.Serialization.Proto.Msg.UniqueAddress(); - } - input.ReadMessage(Node); - break; - } - case 26: { - if (state_ == null) { - State = new global::Akka.DistributedData.Serialization.Proto.Msg.OtherMessage(); - } - input.ReadMessage(State); - break; - } - case 34: { - if (typeInfo_ == null) { - TypeInfo = new global::Akka.DistributedData.Serialization.Proto.Msg.TypeDescriptor(); - } - input.ReadMessage(TypeInfo); - 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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 8: { - Timestamp = input.ReadSInt64(); - break; - } - case 18: { - if (node_ == null) { - Node = new global::Akka.DistributedData.Serialization.Proto.Msg.UniqueAddress(); - } - input.ReadMessage(Node); - break; - } - case 26: { - if (state_ == null) { - State = new global::Akka.DistributedData.Serialization.Proto.Msg.OtherMessage(); - } - input.ReadMessage(State); - break; - } - case 34: { - if (typeInfo_ == null) { - TypeInfo = new global::Akka.DistributedData.Serialization.Proto.Msg.TypeDescriptor(); - } - input.ReadMessage(TypeInfo); - break; - } - } - } - } - #endif - - } - - internal sealed partial class GCounter : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GCounter()); - 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::Akka.DistributedData.Serialization.Proto.Msg.ReplicatedDataMessagesReflection.Descriptor.MessageTypes[6]; } - } - - [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 GCounter() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public GCounter(GCounter other) : this() { - entries_ = other.entries_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public GCounter Clone() { - return new GCounter(this); - } - - /// Field number for the "entries" field. - public const int EntriesFieldNumber = 1; - private static readonly pb::FieldCodec _repeated_entries_codec - = pb::FieldCodec.ForMessage(10, global::Akka.DistributedData.Serialization.Proto.Msg.GCounter.Types.Entry.Parser); - private readonly pbc::RepeatedField entries_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField Entries { - get { return entries_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as GCounter); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(GCounter other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!entries_.Equals(other.entries_)) 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; - hash ^= entries_.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 - entries_.WriteTo(output, _repeated_entries_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) { - entries_.WriteTo(ref output, _repeated_entries_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; - size += entries_.CalculateSize(_repeated_entries_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(GCounter other) { - if (other == null) { - return; - } - entries_.Add(other.entries_); - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - entries_.AddEntriesFrom(input, _repeated_entries_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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - entries_.AddEntriesFrom(ref input, _repeated_entries_codec); - break; - } - } - } - } - #endif - - #region Nested types - /// Container for nested types declared in the GCounter message type. - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static partial class Types { - internal sealed partial class Entry : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Entry()); - 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::Akka.DistributedData.Serialization.Proto.Msg.GCounter.Descriptor.NestedTypes[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 Entry() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Entry(Entry other) : this() { - node_ = other.node_ != null ? other.node_.Clone() : null; - value_ = other.value_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Entry Clone() { - return new Entry(this); - } - - /// Field number for the "node" field. - public const int NodeFieldNumber = 1; - private global::Akka.DistributedData.Serialization.Proto.Msg.UniqueAddress node_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.DistributedData.Serialization.Proto.Msg.UniqueAddress Node { - get { return node_; } - set { - node_ = value; - } - } - - /// Field number for the "value" field. - public const int ValueFieldNumber = 2; - private pb::ByteString value_ = pb::ByteString.Empty; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pb::ByteString Value { - get { return value_; } - set { - value_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as Entry); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(Entry other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (!object.Equals(Node, other.Node)) return false; - if (Value != other.Value) 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 (node_ != null) hash ^= Node.GetHashCode(); - if (Value.Length != 0) hash ^= Value.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 (node_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Node); - } - if (Value.Length != 0) { - output.WriteRawTag(18); - output.WriteBytes(Value); - } - 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 (node_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Node); - } - if (Value.Length != 0) { - output.WriteRawTag(18); - output.WriteBytes(Value); - } - 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 (node_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Node); - } - if (Value.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeBytesSize(Value); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(Entry other) { - if (other == null) { - return; - } - if (other.node_ != null) { - if (node_ == null) { - Node = new global::Akka.DistributedData.Serialization.Proto.Msg.UniqueAddress(); - } - Node.MergeFrom(other.Node); - } - if (other.Value.Length != 0) { - Value = other.Value; - } - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - if (node_ == null) { - Node = new global::Akka.DistributedData.Serialization.Proto.Msg.UniqueAddress(); - } - input.ReadMessage(Node); - break; - } - case 18: { - Value = input.ReadBytes(); - 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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - if (node_ == null) { - Node = new global::Akka.DistributedData.Serialization.Proto.Msg.UniqueAddress(); - } - input.ReadMessage(Node); - break; - } - case 18: { - Value = input.ReadBytes(); - break; - } - } - } - } - #endif - - } - - } - #endregion - - } - - internal sealed partial class PNCounter : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new PNCounter()); - 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::Akka.DistributedData.Serialization.Proto.Msg.ReplicatedDataMessagesReflection.Descriptor.MessageTypes[7]; } - } - - [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 PNCounter() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public PNCounter(PNCounter other) : this() { - increments_ = other.increments_ != null ? other.increments_.Clone() : null; - decrements_ = other.decrements_ != null ? other.decrements_.Clone() : null; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public PNCounter Clone() { - return new PNCounter(this); - } - - /// Field number for the "increments" field. - public const int IncrementsFieldNumber = 1; - private global::Akka.DistributedData.Serialization.Proto.Msg.GCounter increments_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.DistributedData.Serialization.Proto.Msg.GCounter Increments { - get { return increments_; } - set { - increments_ = value; - } - } - - /// Field number for the "decrements" field. - public const int DecrementsFieldNumber = 2; - private global::Akka.DistributedData.Serialization.Proto.Msg.GCounter decrements_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.DistributedData.Serialization.Proto.Msg.GCounter Decrements { - get { return decrements_; } - set { - decrements_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as PNCounter); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(PNCounter other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (!object.Equals(Increments, other.Increments)) return false; - if (!object.Equals(Decrements, other.Decrements)) 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 (increments_ != null) hash ^= Increments.GetHashCode(); - if (decrements_ != null) hash ^= Decrements.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 (increments_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Increments); - } - if (decrements_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Decrements); - } - 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 (increments_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Increments); - } - if (decrements_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Decrements); - } - 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 (increments_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Increments); - } - if (decrements_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Decrements); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(PNCounter other) { - if (other == null) { - return; - } - if (other.increments_ != null) { - if (increments_ == null) { - Increments = new global::Akka.DistributedData.Serialization.Proto.Msg.GCounter(); - } - Increments.MergeFrom(other.Increments); - } - if (other.decrements_ != null) { - if (decrements_ == null) { - Decrements = new global::Akka.DistributedData.Serialization.Proto.Msg.GCounter(); - } - Decrements.MergeFrom(other.Decrements); - } - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - if (increments_ == null) { - Increments = new global::Akka.DistributedData.Serialization.Proto.Msg.GCounter(); - } - input.ReadMessage(Increments); - break; - } - case 18: { - if (decrements_ == null) { - Decrements = new global::Akka.DistributedData.Serialization.Proto.Msg.GCounter(); - } - input.ReadMessage(Decrements); - 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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - if (increments_ == null) { - Increments = new global::Akka.DistributedData.Serialization.Proto.Msg.GCounter(); - } - input.ReadMessage(Increments); - break; - } - case 18: { - if (decrements_ == null) { - Decrements = new global::Akka.DistributedData.Serialization.Proto.Msg.GCounter(); - } - input.ReadMessage(Decrements); - break; - } - } - } - } - #endif - - } - - internal sealed partial class ORMap : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ORMap()); - 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::Akka.DistributedData.Serialization.Proto.Msg.ReplicatedDataMessagesReflection.Descriptor.MessageTypes[8]; } - } - - [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 ORMap() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ORMap(ORMap other) : this() { - keys_ = other.keys_ != null ? other.keys_.Clone() : null; - entries_ = other.entries_.Clone(); - valueTypeInfo_ = other.valueTypeInfo_ != null ? other.valueTypeInfo_.Clone() : null; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ORMap Clone() { - return new ORMap(this); - } - - /// Field number for the "keys" field. - public const int KeysFieldNumber = 1; - private global::Akka.DistributedData.Serialization.Proto.Msg.ORSet keys_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.DistributedData.Serialization.Proto.Msg.ORSet Keys { - get { return keys_; } - set { - keys_ = value; - } - } - - /// Field number for the "entries" field. - public const int EntriesFieldNumber = 2; - private static readonly pb::FieldCodec _repeated_entries_codec - = pb::FieldCodec.ForMessage(18, global::Akka.DistributedData.Serialization.Proto.Msg.ORMap.Types.Entry.Parser); - private readonly pbc::RepeatedField entries_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField Entries { - get { return entries_; } - } - - /// Field number for the "valueTypeInfo" field. - public const int ValueTypeInfoFieldNumber = 4; - private global::Akka.DistributedData.Serialization.Proto.Msg.TypeDescriptor valueTypeInfo_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.DistributedData.Serialization.Proto.Msg.TypeDescriptor ValueTypeInfo { - get { return valueTypeInfo_; } - set { - valueTypeInfo_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ORMap); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ORMap other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (!object.Equals(Keys, other.Keys)) return false; - if(!entries_.Equals(other.entries_)) return false; - if (!object.Equals(ValueTypeInfo, other.ValueTypeInfo)) 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 (keys_ != null) hash ^= Keys.GetHashCode(); - hash ^= entries_.GetHashCode(); - if (valueTypeInfo_ != null) hash ^= ValueTypeInfo.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 (keys_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Keys); - } - entries_.WriteTo(output, _repeated_entries_codec); - if (valueTypeInfo_ != null) { - output.WriteRawTag(34); - output.WriteMessage(ValueTypeInfo); - } - 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 (keys_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Keys); - } - entries_.WriteTo(ref output, _repeated_entries_codec); - if (valueTypeInfo_ != null) { - output.WriteRawTag(34); - output.WriteMessage(ValueTypeInfo); - } - 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 (keys_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Keys); - } - size += entries_.CalculateSize(_repeated_entries_codec); - if (valueTypeInfo_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(ValueTypeInfo); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ORMap other) { - if (other == null) { - return; - } - if (other.keys_ != null) { - if (keys_ == null) { - Keys = new global::Akka.DistributedData.Serialization.Proto.Msg.ORSet(); - } - Keys.MergeFrom(other.Keys); - } - entries_.Add(other.entries_); - if (other.valueTypeInfo_ != null) { - if (valueTypeInfo_ == null) { - ValueTypeInfo = new global::Akka.DistributedData.Serialization.Proto.Msg.TypeDescriptor(); - } - ValueTypeInfo.MergeFrom(other.ValueTypeInfo); - } - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - if (keys_ == null) { - Keys = new global::Akka.DistributedData.Serialization.Proto.Msg.ORSet(); - } - input.ReadMessage(Keys); - break; - } - case 18: { - entries_.AddEntriesFrom(input, _repeated_entries_codec); - break; - } - case 34: { - if (valueTypeInfo_ == null) { - ValueTypeInfo = new global::Akka.DistributedData.Serialization.Proto.Msg.TypeDescriptor(); - } - input.ReadMessage(ValueTypeInfo); - 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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - if (keys_ == null) { - Keys = new global::Akka.DistributedData.Serialization.Proto.Msg.ORSet(); - } - input.ReadMessage(Keys); - break; - } - case 18: { - entries_.AddEntriesFrom(ref input, _repeated_entries_codec); - break; - } - case 34: { - if (valueTypeInfo_ == null) { - ValueTypeInfo = new global::Akka.DistributedData.Serialization.Proto.Msg.TypeDescriptor(); - } - input.ReadMessage(ValueTypeInfo); - break; - } - } - } - } - #endif - - #region Nested types - /// Container for nested types declared in the ORMap message type. - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static partial class Types { - internal sealed partial class Entry : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Entry()); - 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::Akka.DistributedData.Serialization.Proto.Msg.ORMap.Descriptor.NestedTypes[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 Entry() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Entry(Entry other) : this() { - stringKey_ = other.stringKey_; - value_ = other.value_ != null ? other.value_.Clone() : null; - intKey_ = other.intKey_; - longKey_ = other.longKey_; - otherKey_ = other.otherKey_ != null ? other.otherKey_.Clone() : null; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Entry Clone() { - return new Entry(this); - } - - /// Field number for the "stringKey" field. - public const int StringKeyFieldNumber = 1; - private string stringKey_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string StringKey { - get { return stringKey_; } - set { - stringKey_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "value" field. - public const int ValueFieldNumber = 2; - private global::Akka.DistributedData.Serialization.Proto.Msg.OtherMessage value_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.DistributedData.Serialization.Proto.Msg.OtherMessage Value { - get { return value_; } - set { - value_ = value; - } - } - - /// Field number for the "intKey" field. - public const int IntKeyFieldNumber = 3; - private int intKey_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int IntKey { - get { return intKey_; } - set { - intKey_ = value; - } - } - - /// Field number for the "longKey" field. - public const int LongKeyFieldNumber = 4; - private long longKey_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public long LongKey { - get { return longKey_; } - set { - longKey_ = value; - } - } - - /// Field number for the "otherKey" field. - public const int OtherKeyFieldNumber = 5; - private global::Akka.DistributedData.Serialization.Proto.Msg.OtherMessage otherKey_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.DistributedData.Serialization.Proto.Msg.OtherMessage OtherKey { - get { return otherKey_; } - set { - otherKey_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as Entry); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(Entry other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (StringKey != other.StringKey) return false; - if (!object.Equals(Value, other.Value)) return false; - if (IntKey != other.IntKey) return false; - if (LongKey != other.LongKey) return false; - if (!object.Equals(OtherKey, other.OtherKey)) 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 (StringKey.Length != 0) hash ^= StringKey.GetHashCode(); - if (value_ != null) hash ^= Value.GetHashCode(); - if (IntKey != 0) hash ^= IntKey.GetHashCode(); - if (LongKey != 0L) hash ^= LongKey.GetHashCode(); - if (otherKey_ != null) hash ^= OtherKey.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 (StringKey.Length != 0) { - output.WriteRawTag(10); - output.WriteString(StringKey); - } - if (value_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Value); - } - if (IntKey != 0) { - output.WriteRawTag(24); - output.WriteSInt32(IntKey); - } - if (LongKey != 0L) { - output.WriteRawTag(32); - output.WriteSInt64(LongKey); - } - if (otherKey_ != null) { - output.WriteRawTag(42); - output.WriteMessage(OtherKey); - } - 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 (StringKey.Length != 0) { - output.WriteRawTag(10); - output.WriteString(StringKey); - } - if (value_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Value); - } - if (IntKey != 0) { - output.WriteRawTag(24); - output.WriteSInt32(IntKey); - } - if (LongKey != 0L) { - output.WriteRawTag(32); - output.WriteSInt64(LongKey); - } - if (otherKey_ != null) { - output.WriteRawTag(42); - output.WriteMessage(OtherKey); - } - 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 (StringKey.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(StringKey); - } - if (value_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Value); - } - if (IntKey != 0) { - size += 1 + pb::CodedOutputStream.ComputeSInt32Size(IntKey); - } - if (LongKey != 0L) { - size += 1 + pb::CodedOutputStream.ComputeSInt64Size(LongKey); - } - if (otherKey_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(OtherKey); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(Entry other) { - if (other == null) { - return; - } - if (other.StringKey.Length != 0) { - StringKey = other.StringKey; - } - if (other.value_ != null) { - if (value_ == null) { - Value = new global::Akka.DistributedData.Serialization.Proto.Msg.OtherMessage(); - } - Value.MergeFrom(other.Value); - } - if (other.IntKey != 0) { - IntKey = other.IntKey; - } - if (other.LongKey != 0L) { - LongKey = other.LongKey; - } - if (other.otherKey_ != null) { - if (otherKey_ == null) { - OtherKey = new global::Akka.DistributedData.Serialization.Proto.Msg.OtherMessage(); - } - OtherKey.MergeFrom(other.OtherKey); - } - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - StringKey = input.ReadString(); - break; - } - case 18: { - if (value_ == null) { - Value = new global::Akka.DistributedData.Serialization.Proto.Msg.OtherMessage(); - } - input.ReadMessage(Value); - break; - } - case 24: { - IntKey = input.ReadSInt32(); - break; - } - case 32: { - LongKey = input.ReadSInt64(); - break; - } - case 42: { - if (otherKey_ == null) { - OtherKey = new global::Akka.DistributedData.Serialization.Proto.Msg.OtherMessage(); - } - input.ReadMessage(OtherKey); - 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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - StringKey = input.ReadString(); - break; - } - case 18: { - if (value_ == null) { - Value = new global::Akka.DistributedData.Serialization.Proto.Msg.OtherMessage(); - } - input.ReadMessage(Value); - break; - } - case 24: { - IntKey = input.ReadSInt32(); - break; - } - case 32: { - LongKey = input.ReadSInt64(); - break; - } - case 42: { - if (otherKey_ == null) { - OtherKey = new global::Akka.DistributedData.Serialization.Proto.Msg.OtherMessage(); - } - input.ReadMessage(OtherKey); - break; - } - } - } - } - #endif - - } - - } - #endregion - - } - - internal sealed partial class ORMapDeltaGroup : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ORMapDeltaGroup()); - 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::Akka.DistributedData.Serialization.Proto.Msg.ReplicatedDataMessagesReflection.Descriptor.MessageTypes[9]; } - } - - [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 ORMapDeltaGroup() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ORMapDeltaGroup(ORMapDeltaGroup other) : this() { - entries_ = other.entries_.Clone(); - keyTypeInfo_ = other.keyTypeInfo_ != null ? other.keyTypeInfo_.Clone() : null; - valueTypeInfo_ = other.valueTypeInfo_ != null ? other.valueTypeInfo_.Clone() : null; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ORMapDeltaGroup Clone() { - return new ORMapDeltaGroup(this); - } - - /// Field number for the "entries" field. - public const int EntriesFieldNumber = 1; - private static readonly pb::FieldCodec _repeated_entries_codec - = pb::FieldCodec.ForMessage(10, global::Akka.DistributedData.Serialization.Proto.Msg.ORMapDeltaGroup.Types.Entry.Parser); - private readonly pbc::RepeatedField entries_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField Entries { - get { return entries_; } - } - - /// Field number for the "keyTypeInfo" field. - public const int KeyTypeInfoFieldNumber = 2; - private global::Akka.DistributedData.Serialization.Proto.Msg.TypeDescriptor keyTypeInfo_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.DistributedData.Serialization.Proto.Msg.TypeDescriptor KeyTypeInfo { - get { return keyTypeInfo_; } - set { - keyTypeInfo_ = value; - } - } - - /// Field number for the "valueTypeInfo" field. - public const int ValueTypeInfoFieldNumber = 3; - private global::Akka.DistributedData.Serialization.Proto.Msg.TypeDescriptor valueTypeInfo_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.DistributedData.Serialization.Proto.Msg.TypeDescriptor ValueTypeInfo { - get { return valueTypeInfo_; } - set { - valueTypeInfo_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ORMapDeltaGroup); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ORMapDeltaGroup other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!entries_.Equals(other.entries_)) return false; - if (!object.Equals(KeyTypeInfo, other.KeyTypeInfo)) return false; - if (!object.Equals(ValueTypeInfo, other.ValueTypeInfo)) 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; - hash ^= entries_.GetHashCode(); - if (keyTypeInfo_ != null) hash ^= KeyTypeInfo.GetHashCode(); - if (valueTypeInfo_ != null) hash ^= ValueTypeInfo.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 - entries_.WriteTo(output, _repeated_entries_codec); - if (keyTypeInfo_ != null) { - output.WriteRawTag(18); - output.WriteMessage(KeyTypeInfo); - } - if (valueTypeInfo_ != null) { - output.WriteRawTag(26); - output.WriteMessage(ValueTypeInfo); - } - 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) { - entries_.WriteTo(ref output, _repeated_entries_codec); - if (keyTypeInfo_ != null) { - output.WriteRawTag(18); - output.WriteMessage(KeyTypeInfo); - } - if (valueTypeInfo_ != null) { - output.WriteRawTag(26); - output.WriteMessage(ValueTypeInfo); - } - 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; - size += entries_.CalculateSize(_repeated_entries_codec); - if (keyTypeInfo_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(KeyTypeInfo); - } - if (valueTypeInfo_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(ValueTypeInfo); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ORMapDeltaGroup other) { - if (other == null) { - return; - } - entries_.Add(other.entries_); - if (other.keyTypeInfo_ != null) { - if (keyTypeInfo_ == null) { - KeyTypeInfo = new global::Akka.DistributedData.Serialization.Proto.Msg.TypeDescriptor(); - } - KeyTypeInfo.MergeFrom(other.KeyTypeInfo); - } - if (other.valueTypeInfo_ != null) { - if (valueTypeInfo_ == null) { - ValueTypeInfo = new global::Akka.DistributedData.Serialization.Proto.Msg.TypeDescriptor(); - } - ValueTypeInfo.MergeFrom(other.ValueTypeInfo); - } - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - entries_.AddEntriesFrom(input, _repeated_entries_codec); - break; - } - case 18: { - if (keyTypeInfo_ == null) { - KeyTypeInfo = new global::Akka.DistributedData.Serialization.Proto.Msg.TypeDescriptor(); - } - input.ReadMessage(KeyTypeInfo); - break; - } - case 26: { - if (valueTypeInfo_ == null) { - ValueTypeInfo = new global::Akka.DistributedData.Serialization.Proto.Msg.TypeDescriptor(); - } - input.ReadMessage(ValueTypeInfo); - 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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - entries_.AddEntriesFrom(ref input, _repeated_entries_codec); - break; - } - case 18: { - if (keyTypeInfo_ == null) { - KeyTypeInfo = new global::Akka.DistributedData.Serialization.Proto.Msg.TypeDescriptor(); - } - input.ReadMessage(KeyTypeInfo); - break; - } - case 26: { - if (valueTypeInfo_ == null) { - ValueTypeInfo = new global::Akka.DistributedData.Serialization.Proto.Msg.TypeDescriptor(); - } - input.ReadMessage(ValueTypeInfo); - break; - } - } - } - } - #endif - - #region Nested types - /// Container for nested types declared in the ORMapDeltaGroup message type. - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static partial class Types { - internal sealed partial class MapEntry : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new MapEntry()); - 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::Akka.DistributedData.Serialization.Proto.Msg.ORMapDeltaGroup.Descriptor.NestedTypes[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 MapEntry() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public MapEntry(MapEntry other) : this() { - stringKey_ = other.stringKey_; - value_ = other.value_ != null ? other.value_.Clone() : null; - intKey_ = other.intKey_; - longKey_ = other.longKey_; - otherKey_ = other.otherKey_ != null ? other.otherKey_.Clone() : null; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public MapEntry Clone() { - return new MapEntry(this); - } - - /// Field number for the "stringKey" field. - public const int StringKeyFieldNumber = 1; - private string stringKey_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string StringKey { - get { return stringKey_; } - set { - stringKey_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "value" field. - public const int ValueFieldNumber = 2; - private global::Akka.DistributedData.Serialization.Proto.Msg.OtherMessage value_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.DistributedData.Serialization.Proto.Msg.OtherMessage Value { - get { return value_; } - set { - value_ = value; - } - } - - /// Field number for the "intKey" field. - public const int IntKeyFieldNumber = 3; - private int intKey_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int IntKey { - get { return intKey_; } - set { - intKey_ = value; - } - } - - /// Field number for the "longKey" field. - public const int LongKeyFieldNumber = 4; - private long longKey_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public long LongKey { - get { return longKey_; } - set { - longKey_ = value; - } - } - - /// Field number for the "otherKey" field. - public const int OtherKeyFieldNumber = 5; - private global::Akka.DistributedData.Serialization.Proto.Msg.OtherMessage otherKey_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.DistributedData.Serialization.Proto.Msg.OtherMessage OtherKey { - get { return otherKey_; } - set { - otherKey_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as MapEntry); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(MapEntry other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (StringKey != other.StringKey) return false; - if (!object.Equals(Value, other.Value)) return false; - if (IntKey != other.IntKey) return false; - if (LongKey != other.LongKey) return false; - if (!object.Equals(OtherKey, other.OtherKey)) 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 (StringKey.Length != 0) hash ^= StringKey.GetHashCode(); - if (value_ != null) hash ^= Value.GetHashCode(); - if (IntKey != 0) hash ^= IntKey.GetHashCode(); - if (LongKey != 0L) hash ^= LongKey.GetHashCode(); - if (otherKey_ != null) hash ^= OtherKey.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 (StringKey.Length != 0) { - output.WriteRawTag(10); - output.WriteString(StringKey); - } - if (value_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Value); - } - if (IntKey != 0) { - output.WriteRawTag(24); - output.WriteSInt32(IntKey); - } - if (LongKey != 0L) { - output.WriteRawTag(32); - output.WriteSInt64(LongKey); - } - if (otherKey_ != null) { - output.WriteRawTag(42); - output.WriteMessage(OtherKey); - } - 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 (StringKey.Length != 0) { - output.WriteRawTag(10); - output.WriteString(StringKey); - } - if (value_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Value); - } - if (IntKey != 0) { - output.WriteRawTag(24); - output.WriteSInt32(IntKey); - } - if (LongKey != 0L) { - output.WriteRawTag(32); - output.WriteSInt64(LongKey); - } - if (otherKey_ != null) { - output.WriteRawTag(42); - output.WriteMessage(OtherKey); - } - 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 (StringKey.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(StringKey); - } - if (value_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Value); - } - if (IntKey != 0) { - size += 1 + pb::CodedOutputStream.ComputeSInt32Size(IntKey); - } - if (LongKey != 0L) { - size += 1 + pb::CodedOutputStream.ComputeSInt64Size(LongKey); - } - if (otherKey_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(OtherKey); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(MapEntry other) { - if (other == null) { - return; - } - if (other.StringKey.Length != 0) { - StringKey = other.StringKey; - } - if (other.value_ != null) { - if (value_ == null) { - Value = new global::Akka.DistributedData.Serialization.Proto.Msg.OtherMessage(); - } - Value.MergeFrom(other.Value); - } - if (other.IntKey != 0) { - IntKey = other.IntKey; - } - if (other.LongKey != 0L) { - LongKey = other.LongKey; - } - if (other.otherKey_ != null) { - if (otherKey_ == null) { - OtherKey = new global::Akka.DistributedData.Serialization.Proto.Msg.OtherMessage(); - } - OtherKey.MergeFrom(other.OtherKey); - } - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - StringKey = input.ReadString(); - break; - } - case 18: { - if (value_ == null) { - Value = new global::Akka.DistributedData.Serialization.Proto.Msg.OtherMessage(); - } - input.ReadMessage(Value); - break; - } - case 24: { - IntKey = input.ReadSInt32(); - break; - } - case 32: { - LongKey = input.ReadSInt64(); - break; - } - case 42: { - if (otherKey_ == null) { - OtherKey = new global::Akka.DistributedData.Serialization.Proto.Msg.OtherMessage(); - } - input.ReadMessage(OtherKey); - 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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - StringKey = input.ReadString(); - break; - } - case 18: { - if (value_ == null) { - Value = new global::Akka.DistributedData.Serialization.Proto.Msg.OtherMessage(); - } - input.ReadMessage(Value); - break; - } - case 24: { - IntKey = input.ReadSInt32(); - break; - } - case 32: { - LongKey = input.ReadSInt64(); - break; - } - case 42: { - if (otherKey_ == null) { - OtherKey = new global::Akka.DistributedData.Serialization.Proto.Msg.OtherMessage(); - } - input.ReadMessage(OtherKey); - break; - } - } - } - } - #endif - - } - - internal sealed partial class Entry : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Entry()); - 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::Akka.DistributedData.Serialization.Proto.Msg.ORMapDeltaGroup.Descriptor.NestedTypes[1]; } - } - - [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 Entry() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Entry(Entry other) : this() { - operation_ = other.operation_; - underlying_ = other.underlying_ != null ? other.underlying_.Clone() : null; - zeroTag_ = other.zeroTag_; - entryData_ = other.entryData_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Entry Clone() { - return new Entry(this); - } - - /// Field number for the "operation" field. - public const int OperationFieldNumber = 1; - private global::Akka.DistributedData.Serialization.Proto.Msg.ORMapDeltaOp operation_ = global::Akka.DistributedData.Serialization.Proto.Msg.ORMapDeltaOp.OrmapPut; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.DistributedData.Serialization.Proto.Msg.ORMapDeltaOp Operation { - get { return operation_; } - set { - operation_ = value; - } - } - - /// Field number for the "underlying" field. - public const int UnderlyingFieldNumber = 2; - private global::Akka.DistributedData.Serialization.Proto.Msg.ORSet underlying_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.DistributedData.Serialization.Proto.Msg.ORSet Underlying { - get { return underlying_; } - set { - underlying_ = value; - } - } - - /// Field number for the "zeroTag" field. - public const int ZeroTagFieldNumber = 3; - private int zeroTag_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ZeroTag { - get { return zeroTag_; } - set { - zeroTag_ = value; - } - } - - /// Field number for the "entryData" field. - public const int EntryDataFieldNumber = 4; - private static readonly pb::FieldCodec _repeated_entryData_codec - = pb::FieldCodec.ForMessage(34, global::Akka.DistributedData.Serialization.Proto.Msg.ORMapDeltaGroup.Types.MapEntry.Parser); - private readonly pbc::RepeatedField entryData_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField EntryData { - get { return entryData_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as Entry); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(Entry other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Operation != other.Operation) return false; - if (!object.Equals(Underlying, other.Underlying)) return false; - if (ZeroTag != other.ZeroTag) return false; - if(!entryData_.Equals(other.entryData_)) 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 (Operation != global::Akka.DistributedData.Serialization.Proto.Msg.ORMapDeltaOp.OrmapPut) hash ^= Operation.GetHashCode(); - if (underlying_ != null) hash ^= Underlying.GetHashCode(); - if (ZeroTag != 0) hash ^= ZeroTag.GetHashCode(); - hash ^= entryData_.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 (Operation != global::Akka.DistributedData.Serialization.Proto.Msg.ORMapDeltaOp.OrmapPut) { - output.WriteRawTag(8); - output.WriteEnum((int) Operation); - } - if (underlying_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Underlying); - } - if (ZeroTag != 0) { - output.WriteRawTag(24); - output.WriteSInt32(ZeroTag); - } - entryData_.WriteTo(output, _repeated_entryData_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 (Operation != global::Akka.DistributedData.Serialization.Proto.Msg.ORMapDeltaOp.OrmapPut) { - output.WriteRawTag(8); - output.WriteEnum((int) Operation); - } - if (underlying_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Underlying); - } - if (ZeroTag != 0) { - output.WriteRawTag(24); - output.WriteSInt32(ZeroTag); - } - entryData_.WriteTo(ref output, _repeated_entryData_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 (Operation != global::Akka.DistributedData.Serialization.Proto.Msg.ORMapDeltaOp.OrmapPut) { - size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Operation); - } - if (underlying_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Underlying); - } - if (ZeroTag != 0) { - size += 1 + pb::CodedOutputStream.ComputeSInt32Size(ZeroTag); - } - size += entryData_.CalculateSize(_repeated_entryData_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(Entry other) { - if (other == null) { - return; - } - if (other.Operation != global::Akka.DistributedData.Serialization.Proto.Msg.ORMapDeltaOp.OrmapPut) { - Operation = other.Operation; - } - if (other.underlying_ != null) { - if (underlying_ == null) { - Underlying = new global::Akka.DistributedData.Serialization.Proto.Msg.ORSet(); - } - Underlying.MergeFrom(other.Underlying); - } - if (other.ZeroTag != 0) { - ZeroTag = other.ZeroTag; - } - entryData_.Add(other.entryData_); - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 8: { - Operation = (global::Akka.DistributedData.Serialization.Proto.Msg.ORMapDeltaOp) input.ReadEnum(); - break; - } - case 18: { - if (underlying_ == null) { - Underlying = new global::Akka.DistributedData.Serialization.Proto.Msg.ORSet(); - } - input.ReadMessage(Underlying); - break; - } - case 24: { - ZeroTag = input.ReadSInt32(); - break; - } - case 34: { - entryData_.AddEntriesFrom(input, _repeated_entryData_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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 8: { - Operation = (global::Akka.DistributedData.Serialization.Proto.Msg.ORMapDeltaOp) input.ReadEnum(); - break; - } - case 18: { - if (underlying_ == null) { - Underlying = new global::Akka.DistributedData.Serialization.Proto.Msg.ORSet(); - } - input.ReadMessage(Underlying); - break; - } - case 24: { - ZeroTag = input.ReadSInt32(); - break; - } - case 34: { - entryData_.AddEntriesFrom(ref input, _repeated_entryData_codec); - break; - } - } - } - } - #endif - - } - - } - #endregion - - } - - internal sealed partial class ORMultiMapDelta : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ORMultiMapDelta()); - 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::Akka.DistributedData.Serialization.Proto.Msg.ReplicatedDataMessagesReflection.Descriptor.MessageTypes[10]; } - } - - [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 ORMultiMapDelta() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ORMultiMapDelta(ORMultiMapDelta other) : this() { - delta_ = other.delta_ != null ? other.delta_.Clone() : null; - withValueDeltas_ = other.withValueDeltas_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ORMultiMapDelta Clone() { - return new ORMultiMapDelta(this); - } - - /// Field number for the "delta" field. - public const int DeltaFieldNumber = 1; - private global::Akka.DistributedData.Serialization.Proto.Msg.ORMapDeltaGroup delta_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.DistributedData.Serialization.Proto.Msg.ORMapDeltaGroup Delta { - get { return delta_; } - set { - delta_ = value; - } - } - - /// Field number for the "withValueDeltas" field. - public const int WithValueDeltasFieldNumber = 2; - private bool withValueDeltas_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool WithValueDeltas { - get { return withValueDeltas_; } - set { - withValueDeltas_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ORMultiMapDelta); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ORMultiMapDelta other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (!object.Equals(Delta, other.Delta)) return false; - if (WithValueDeltas != other.WithValueDeltas) 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 (delta_ != null) hash ^= Delta.GetHashCode(); - if (WithValueDeltas != false) hash ^= WithValueDeltas.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 (delta_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Delta); - } - if (WithValueDeltas != false) { - output.WriteRawTag(16); - output.WriteBool(WithValueDeltas); - } - 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 (delta_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Delta); - } - if (WithValueDeltas != false) { - output.WriteRawTag(16); - output.WriteBool(WithValueDeltas); - } - 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 (delta_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Delta); - } - if (WithValueDeltas != false) { - size += 1 + 1; - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ORMultiMapDelta other) { - if (other == null) { - return; - } - if (other.delta_ != null) { - if (delta_ == null) { - Delta = new global::Akka.DistributedData.Serialization.Proto.Msg.ORMapDeltaGroup(); - } - Delta.MergeFrom(other.Delta); - } - if (other.WithValueDeltas != false) { - WithValueDeltas = other.WithValueDeltas; - } - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - if (delta_ == null) { - Delta = new global::Akka.DistributedData.Serialization.Proto.Msg.ORMapDeltaGroup(); - } - input.ReadMessage(Delta); - break; - } - case 16: { - WithValueDeltas = input.ReadBool(); - 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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - if (delta_ == null) { - Delta = new global::Akka.DistributedData.Serialization.Proto.Msg.ORMapDeltaGroup(); - } - input.ReadMessage(Delta); - break; - } - case 16: { - WithValueDeltas = input.ReadBool(); - break; - } - } - } - } - #endif - - } - - internal sealed partial class LWWMap : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new LWWMap()); - 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::Akka.DistributedData.Serialization.Proto.Msg.ReplicatedDataMessagesReflection.Descriptor.MessageTypes[11]; } - } - - [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 LWWMap() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public LWWMap(LWWMap other) : this() { - keys_ = other.keys_ != null ? other.keys_.Clone() : null; - entries_ = other.entries_.Clone(); - valueTypeInfo_ = other.valueTypeInfo_ != null ? other.valueTypeInfo_.Clone() : null; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public LWWMap Clone() { - return new LWWMap(this); - } - - /// Field number for the "keys" field. - public const int KeysFieldNumber = 1; - private global::Akka.DistributedData.Serialization.Proto.Msg.ORSet keys_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.DistributedData.Serialization.Proto.Msg.ORSet Keys { - get { return keys_; } - set { - keys_ = value; - } - } - - /// Field number for the "entries" field. - public const int EntriesFieldNumber = 2; - private static readonly pb::FieldCodec _repeated_entries_codec - = pb::FieldCodec.ForMessage(18, global::Akka.DistributedData.Serialization.Proto.Msg.LWWMap.Types.Entry.Parser); - private readonly pbc::RepeatedField entries_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField Entries { - get { return entries_; } - } - - /// Field number for the "valueTypeInfo" field. - public const int ValueTypeInfoFieldNumber = 3; - private global::Akka.DistributedData.Serialization.Proto.Msg.TypeDescriptor valueTypeInfo_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.DistributedData.Serialization.Proto.Msg.TypeDescriptor ValueTypeInfo { - get { return valueTypeInfo_; } - set { - valueTypeInfo_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as LWWMap); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(LWWMap other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (!object.Equals(Keys, other.Keys)) return false; - if(!entries_.Equals(other.entries_)) return false; - if (!object.Equals(ValueTypeInfo, other.ValueTypeInfo)) 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 (keys_ != null) hash ^= Keys.GetHashCode(); - hash ^= entries_.GetHashCode(); - if (valueTypeInfo_ != null) hash ^= ValueTypeInfo.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 (keys_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Keys); - } - entries_.WriteTo(output, _repeated_entries_codec); - if (valueTypeInfo_ != null) { - output.WriteRawTag(26); - output.WriteMessage(ValueTypeInfo); - } - 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 (keys_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Keys); - } - entries_.WriteTo(ref output, _repeated_entries_codec); - if (valueTypeInfo_ != null) { - output.WriteRawTag(26); - output.WriteMessage(ValueTypeInfo); - } - 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 (keys_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Keys); - } - size += entries_.CalculateSize(_repeated_entries_codec); - if (valueTypeInfo_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(ValueTypeInfo); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(LWWMap other) { - if (other == null) { - return; - } - if (other.keys_ != null) { - if (keys_ == null) { - Keys = new global::Akka.DistributedData.Serialization.Proto.Msg.ORSet(); - } - Keys.MergeFrom(other.Keys); - } - entries_.Add(other.entries_); - if (other.valueTypeInfo_ != null) { - if (valueTypeInfo_ == null) { - ValueTypeInfo = new global::Akka.DistributedData.Serialization.Proto.Msg.TypeDescriptor(); - } - ValueTypeInfo.MergeFrom(other.ValueTypeInfo); - } - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - if (keys_ == null) { - Keys = new global::Akka.DistributedData.Serialization.Proto.Msg.ORSet(); - } - input.ReadMessage(Keys); - break; - } - case 18: { - entries_.AddEntriesFrom(input, _repeated_entries_codec); - break; - } - case 26: { - if (valueTypeInfo_ == null) { - ValueTypeInfo = new global::Akka.DistributedData.Serialization.Proto.Msg.TypeDescriptor(); - } - input.ReadMessage(ValueTypeInfo); - 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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - if (keys_ == null) { - Keys = new global::Akka.DistributedData.Serialization.Proto.Msg.ORSet(); - } - input.ReadMessage(Keys); - break; - } - case 18: { - entries_.AddEntriesFrom(ref input, _repeated_entries_codec); - break; - } - case 26: { - if (valueTypeInfo_ == null) { - ValueTypeInfo = new global::Akka.DistributedData.Serialization.Proto.Msg.TypeDescriptor(); - } - input.ReadMessage(ValueTypeInfo); - break; - } - } - } - } - #endif - - #region Nested types - /// Container for nested types declared in the LWWMap message type. - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static partial class Types { - internal sealed partial class Entry : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Entry()); - 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::Akka.DistributedData.Serialization.Proto.Msg.LWWMap.Descriptor.NestedTypes[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 Entry() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Entry(Entry other) : this() { - stringKey_ = other.stringKey_; - value_ = other.value_ != null ? other.value_.Clone() : null; - intKey_ = other.intKey_; - longKey_ = other.longKey_; - otherKey_ = other.otherKey_ != null ? other.otherKey_.Clone() : null; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Entry Clone() { - return new Entry(this); - } - - /// Field number for the "stringKey" field. - public const int StringKeyFieldNumber = 1; - private string stringKey_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string StringKey { - get { return stringKey_; } - set { - stringKey_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "value" field. - public const int ValueFieldNumber = 2; - private global::Akka.DistributedData.Serialization.Proto.Msg.LWWRegister value_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.DistributedData.Serialization.Proto.Msg.LWWRegister Value { - get { return value_; } - set { - value_ = value; - } - } - - /// Field number for the "intKey" field. - public const int IntKeyFieldNumber = 3; - private int intKey_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int IntKey { - get { return intKey_; } - set { - intKey_ = value; - } - } - - /// Field number for the "longKey" field. - public const int LongKeyFieldNumber = 4; - private long longKey_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public long LongKey { - get { return longKey_; } - set { - longKey_ = value; - } - } - - /// Field number for the "otherKey" field. - public const int OtherKeyFieldNumber = 5; - private global::Akka.DistributedData.Serialization.Proto.Msg.OtherMessage otherKey_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.DistributedData.Serialization.Proto.Msg.OtherMessage OtherKey { - get { return otherKey_; } - set { - otherKey_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as Entry); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(Entry other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (StringKey != other.StringKey) return false; - if (!object.Equals(Value, other.Value)) return false; - if (IntKey != other.IntKey) return false; - if (LongKey != other.LongKey) return false; - if (!object.Equals(OtherKey, other.OtherKey)) 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 (StringKey.Length != 0) hash ^= StringKey.GetHashCode(); - if (value_ != null) hash ^= Value.GetHashCode(); - if (IntKey != 0) hash ^= IntKey.GetHashCode(); - if (LongKey != 0L) hash ^= LongKey.GetHashCode(); - if (otherKey_ != null) hash ^= OtherKey.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 (StringKey.Length != 0) { - output.WriteRawTag(10); - output.WriteString(StringKey); - } - if (value_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Value); - } - if (IntKey != 0) { - output.WriteRawTag(24); - output.WriteSInt32(IntKey); - } - if (LongKey != 0L) { - output.WriteRawTag(32); - output.WriteSInt64(LongKey); - } - if (otherKey_ != null) { - output.WriteRawTag(42); - output.WriteMessage(OtherKey); - } - 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 (StringKey.Length != 0) { - output.WriteRawTag(10); - output.WriteString(StringKey); - } - if (value_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Value); - } - if (IntKey != 0) { - output.WriteRawTag(24); - output.WriteSInt32(IntKey); - } - if (LongKey != 0L) { - output.WriteRawTag(32); - output.WriteSInt64(LongKey); - } - if (otherKey_ != null) { - output.WriteRawTag(42); - output.WriteMessage(OtherKey); - } - 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 (StringKey.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(StringKey); - } - if (value_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Value); - } - if (IntKey != 0) { - size += 1 + pb::CodedOutputStream.ComputeSInt32Size(IntKey); - } - if (LongKey != 0L) { - size += 1 + pb::CodedOutputStream.ComputeSInt64Size(LongKey); - } - if (otherKey_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(OtherKey); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(Entry other) { - if (other == null) { - return; - } - if (other.StringKey.Length != 0) { - StringKey = other.StringKey; - } - if (other.value_ != null) { - if (value_ == null) { - Value = new global::Akka.DistributedData.Serialization.Proto.Msg.LWWRegister(); - } - Value.MergeFrom(other.Value); - } - if (other.IntKey != 0) { - IntKey = other.IntKey; - } - if (other.LongKey != 0L) { - LongKey = other.LongKey; - } - if (other.otherKey_ != null) { - if (otherKey_ == null) { - OtherKey = new global::Akka.DistributedData.Serialization.Proto.Msg.OtherMessage(); - } - OtherKey.MergeFrom(other.OtherKey); - } - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - StringKey = input.ReadString(); - break; - } - case 18: { - if (value_ == null) { - Value = new global::Akka.DistributedData.Serialization.Proto.Msg.LWWRegister(); - } - input.ReadMessage(Value); - break; - } - case 24: { - IntKey = input.ReadSInt32(); - break; - } - case 32: { - LongKey = input.ReadSInt64(); - break; - } - case 42: { - if (otherKey_ == null) { - OtherKey = new global::Akka.DistributedData.Serialization.Proto.Msg.OtherMessage(); - } - input.ReadMessage(OtherKey); - 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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - StringKey = input.ReadString(); - break; - } - case 18: { - if (value_ == null) { - Value = new global::Akka.DistributedData.Serialization.Proto.Msg.LWWRegister(); - } - input.ReadMessage(Value); - break; - } - case 24: { - IntKey = input.ReadSInt32(); - break; - } - case 32: { - LongKey = input.ReadSInt64(); - break; - } - case 42: { - if (otherKey_ == null) { - OtherKey = new global::Akka.DistributedData.Serialization.Proto.Msg.OtherMessage(); - } - input.ReadMessage(OtherKey); - break; - } - } - } - } - #endif - - } - - } - #endregion - - } - - internal sealed partial class PNCounterMap : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new PNCounterMap()); - 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::Akka.DistributedData.Serialization.Proto.Msg.ReplicatedDataMessagesReflection.Descriptor.MessageTypes[12]; } - } - - [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 PNCounterMap() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public PNCounterMap(PNCounterMap other) : this() { - keys_ = other.keys_ != null ? other.keys_.Clone() : null; - entries_ = other.entries_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public PNCounterMap Clone() { - return new PNCounterMap(this); - } - - /// Field number for the "keys" field. - public const int KeysFieldNumber = 1; - private global::Akka.DistributedData.Serialization.Proto.Msg.ORSet keys_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.DistributedData.Serialization.Proto.Msg.ORSet Keys { - get { return keys_; } - set { - keys_ = value; - } - } - - /// Field number for the "entries" field. - public const int EntriesFieldNumber = 2; - private static readonly pb::FieldCodec _repeated_entries_codec - = pb::FieldCodec.ForMessage(18, global::Akka.DistributedData.Serialization.Proto.Msg.PNCounterMap.Types.Entry.Parser); - private readonly pbc::RepeatedField entries_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField Entries { - get { return entries_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as PNCounterMap); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(PNCounterMap other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (!object.Equals(Keys, other.Keys)) return false; - if(!entries_.Equals(other.entries_)) 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 (keys_ != null) hash ^= Keys.GetHashCode(); - hash ^= entries_.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 (keys_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Keys); - } - entries_.WriteTo(output, _repeated_entries_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 (keys_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Keys); - } - entries_.WriteTo(ref output, _repeated_entries_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 (keys_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Keys); - } - size += entries_.CalculateSize(_repeated_entries_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(PNCounterMap other) { - if (other == null) { - return; - } - if (other.keys_ != null) { - if (keys_ == null) { - Keys = new global::Akka.DistributedData.Serialization.Proto.Msg.ORSet(); - } - Keys.MergeFrom(other.Keys); - } - entries_.Add(other.entries_); - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - if (keys_ == null) { - Keys = new global::Akka.DistributedData.Serialization.Proto.Msg.ORSet(); - } - input.ReadMessage(Keys); - break; - } - case 18: { - entries_.AddEntriesFrom(input, _repeated_entries_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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - if (keys_ == null) { - Keys = new global::Akka.DistributedData.Serialization.Proto.Msg.ORSet(); - } - input.ReadMessage(Keys); - break; - } - case 18: { - entries_.AddEntriesFrom(ref input, _repeated_entries_codec); - break; - } - } - } - } - #endif - - #region Nested types - /// Container for nested types declared in the PNCounterMap message type. - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static partial class Types { - internal sealed partial class Entry : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Entry()); - 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::Akka.DistributedData.Serialization.Proto.Msg.PNCounterMap.Descriptor.NestedTypes[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 Entry() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Entry(Entry other) : this() { - stringKey_ = other.stringKey_; - value_ = other.value_ != null ? other.value_.Clone() : null; - intKey_ = other.intKey_; - longKey_ = other.longKey_; - otherKey_ = other.otherKey_ != null ? other.otherKey_.Clone() : null; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Entry Clone() { - return new Entry(this); - } - - /// Field number for the "stringKey" field. - public const int StringKeyFieldNumber = 1; - private string stringKey_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string StringKey { - get { return stringKey_; } - set { - stringKey_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "value" field. - public const int ValueFieldNumber = 2; - private global::Akka.DistributedData.Serialization.Proto.Msg.PNCounter value_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.DistributedData.Serialization.Proto.Msg.PNCounter Value { - get { return value_; } - set { - value_ = value; - } - } - - /// Field number for the "intKey" field. - public const int IntKeyFieldNumber = 3; - private int intKey_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int IntKey { - get { return intKey_; } - set { - intKey_ = value; - } - } - - /// Field number for the "longKey" field. - public const int LongKeyFieldNumber = 4; - private long longKey_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public long LongKey { - get { return longKey_; } - set { - longKey_ = value; - } - } - - /// Field number for the "otherKey" field. - public const int OtherKeyFieldNumber = 5; - private global::Akka.DistributedData.Serialization.Proto.Msg.OtherMessage otherKey_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.DistributedData.Serialization.Proto.Msg.OtherMessage OtherKey { - get { return otherKey_; } - set { - otherKey_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as Entry); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(Entry other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (StringKey != other.StringKey) return false; - if (!object.Equals(Value, other.Value)) return false; - if (IntKey != other.IntKey) return false; - if (LongKey != other.LongKey) return false; - if (!object.Equals(OtherKey, other.OtherKey)) 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 (StringKey.Length != 0) hash ^= StringKey.GetHashCode(); - if (value_ != null) hash ^= Value.GetHashCode(); - if (IntKey != 0) hash ^= IntKey.GetHashCode(); - if (LongKey != 0L) hash ^= LongKey.GetHashCode(); - if (otherKey_ != null) hash ^= OtherKey.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 (StringKey.Length != 0) { - output.WriteRawTag(10); - output.WriteString(StringKey); - } - if (value_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Value); - } - if (IntKey != 0) { - output.WriteRawTag(24); - output.WriteSInt32(IntKey); - } - if (LongKey != 0L) { - output.WriteRawTag(32); - output.WriteSInt64(LongKey); - } - if (otherKey_ != null) { - output.WriteRawTag(42); - output.WriteMessage(OtherKey); - } - 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 (StringKey.Length != 0) { - output.WriteRawTag(10); - output.WriteString(StringKey); - } - if (value_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Value); - } - if (IntKey != 0) { - output.WriteRawTag(24); - output.WriteSInt32(IntKey); - } - if (LongKey != 0L) { - output.WriteRawTag(32); - output.WriteSInt64(LongKey); - } - if (otherKey_ != null) { - output.WriteRawTag(42); - output.WriteMessage(OtherKey); - } - 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 (StringKey.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(StringKey); - } - if (value_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Value); - } - if (IntKey != 0) { - size += 1 + pb::CodedOutputStream.ComputeSInt32Size(IntKey); - } - if (LongKey != 0L) { - size += 1 + pb::CodedOutputStream.ComputeSInt64Size(LongKey); - } - if (otherKey_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(OtherKey); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(Entry other) { - if (other == null) { - return; - } - if (other.StringKey.Length != 0) { - StringKey = other.StringKey; - } - if (other.value_ != null) { - if (value_ == null) { - Value = new global::Akka.DistributedData.Serialization.Proto.Msg.PNCounter(); - } - Value.MergeFrom(other.Value); - } - if (other.IntKey != 0) { - IntKey = other.IntKey; - } - if (other.LongKey != 0L) { - LongKey = other.LongKey; - } - if (other.otherKey_ != null) { - if (otherKey_ == null) { - OtherKey = new global::Akka.DistributedData.Serialization.Proto.Msg.OtherMessage(); - } - OtherKey.MergeFrom(other.OtherKey); - } - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - StringKey = input.ReadString(); - break; - } - case 18: { - if (value_ == null) { - Value = new global::Akka.DistributedData.Serialization.Proto.Msg.PNCounter(); - } - input.ReadMessage(Value); - break; - } - case 24: { - IntKey = input.ReadSInt32(); - break; - } - case 32: { - LongKey = input.ReadSInt64(); - break; - } - case 42: { - if (otherKey_ == null) { - OtherKey = new global::Akka.DistributedData.Serialization.Proto.Msg.OtherMessage(); - } - input.ReadMessage(OtherKey); - 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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - StringKey = input.ReadString(); - break; - } - case 18: { - if (value_ == null) { - Value = new global::Akka.DistributedData.Serialization.Proto.Msg.PNCounter(); - } - input.ReadMessage(Value); - break; - } - case 24: { - IntKey = input.ReadSInt32(); - break; - } - case 32: { - LongKey = input.ReadSInt64(); - break; - } - case 42: { - if (otherKey_ == null) { - OtherKey = new global::Akka.DistributedData.Serialization.Proto.Msg.OtherMessage(); - } - input.ReadMessage(OtherKey); - break; - } - } - } - } - #endif - - } - - } - #endregion - - } - - internal sealed partial class ORMultiMap : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ORMultiMap()); - 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::Akka.DistributedData.Serialization.Proto.Msg.ReplicatedDataMessagesReflection.Descriptor.MessageTypes[13]; } - } - - [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 ORMultiMap() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ORMultiMap(ORMultiMap other) : this() { - keys_ = other.keys_ != null ? other.keys_.Clone() : null; - entries_ = other.entries_.Clone(); - withValueDeltas_ = other.withValueDeltas_; - valueTypeInfo_ = other.valueTypeInfo_ != null ? other.valueTypeInfo_.Clone() : null; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ORMultiMap Clone() { - return new ORMultiMap(this); - } - - /// Field number for the "keys" field. - public const int KeysFieldNumber = 1; - private global::Akka.DistributedData.Serialization.Proto.Msg.ORSet keys_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.DistributedData.Serialization.Proto.Msg.ORSet Keys { - get { return keys_; } - set { - keys_ = value; - } - } - - /// Field number for the "entries" field. - public const int EntriesFieldNumber = 2; - private static readonly pb::FieldCodec _repeated_entries_codec - = pb::FieldCodec.ForMessage(18, global::Akka.DistributedData.Serialization.Proto.Msg.ORMultiMap.Types.Entry.Parser); - private readonly pbc::RepeatedField entries_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField Entries { - get { return entries_; } - } - - /// Field number for the "withValueDeltas" field. - public const int WithValueDeltasFieldNumber = 3; - private bool withValueDeltas_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool WithValueDeltas { - get { return withValueDeltas_; } - set { - withValueDeltas_ = value; - } - } - - /// Field number for the "valueTypeInfo" field. - public const int ValueTypeInfoFieldNumber = 4; - private global::Akka.DistributedData.Serialization.Proto.Msg.TypeDescriptor valueTypeInfo_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.DistributedData.Serialization.Proto.Msg.TypeDescriptor ValueTypeInfo { - get { return valueTypeInfo_; } - set { - valueTypeInfo_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ORMultiMap); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ORMultiMap other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (!object.Equals(Keys, other.Keys)) return false; - if(!entries_.Equals(other.entries_)) return false; - if (WithValueDeltas != other.WithValueDeltas) return false; - if (!object.Equals(ValueTypeInfo, other.ValueTypeInfo)) 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 (keys_ != null) hash ^= Keys.GetHashCode(); - hash ^= entries_.GetHashCode(); - if (WithValueDeltas != false) hash ^= WithValueDeltas.GetHashCode(); - if (valueTypeInfo_ != null) hash ^= ValueTypeInfo.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 (keys_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Keys); - } - entries_.WriteTo(output, _repeated_entries_codec); - if (WithValueDeltas != false) { - output.WriteRawTag(24); - output.WriteBool(WithValueDeltas); - } - if (valueTypeInfo_ != null) { - output.WriteRawTag(34); - output.WriteMessage(ValueTypeInfo); - } - 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 (keys_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Keys); - } - entries_.WriteTo(ref output, _repeated_entries_codec); - if (WithValueDeltas != false) { - output.WriteRawTag(24); - output.WriteBool(WithValueDeltas); - } - if (valueTypeInfo_ != null) { - output.WriteRawTag(34); - output.WriteMessage(ValueTypeInfo); - } - 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 (keys_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Keys); - } - size += entries_.CalculateSize(_repeated_entries_codec); - if (WithValueDeltas != false) { - size += 1 + 1; - } - if (valueTypeInfo_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(ValueTypeInfo); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ORMultiMap other) { - if (other == null) { - return; - } - if (other.keys_ != null) { - if (keys_ == null) { - Keys = new global::Akka.DistributedData.Serialization.Proto.Msg.ORSet(); - } - Keys.MergeFrom(other.Keys); - } - entries_.Add(other.entries_); - if (other.WithValueDeltas != false) { - WithValueDeltas = other.WithValueDeltas; - } - if (other.valueTypeInfo_ != null) { - if (valueTypeInfo_ == null) { - ValueTypeInfo = new global::Akka.DistributedData.Serialization.Proto.Msg.TypeDescriptor(); - } - ValueTypeInfo.MergeFrom(other.ValueTypeInfo); - } - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - if (keys_ == null) { - Keys = new global::Akka.DistributedData.Serialization.Proto.Msg.ORSet(); - } - input.ReadMessage(Keys); - break; - } - case 18: { - entries_.AddEntriesFrom(input, _repeated_entries_codec); - break; - } - case 24: { - WithValueDeltas = input.ReadBool(); - break; - } - case 34: { - if (valueTypeInfo_ == null) { - ValueTypeInfo = new global::Akka.DistributedData.Serialization.Proto.Msg.TypeDescriptor(); - } - input.ReadMessage(ValueTypeInfo); - 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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - if (keys_ == null) { - Keys = new global::Akka.DistributedData.Serialization.Proto.Msg.ORSet(); - } - input.ReadMessage(Keys); - break; - } - case 18: { - entries_.AddEntriesFrom(ref input, _repeated_entries_codec); - break; - } - case 24: { - WithValueDeltas = input.ReadBool(); - break; - } - case 34: { - if (valueTypeInfo_ == null) { - ValueTypeInfo = new global::Akka.DistributedData.Serialization.Proto.Msg.TypeDescriptor(); - } - input.ReadMessage(ValueTypeInfo); - break; - } - } - } - } - #endif - - #region Nested types - /// Container for nested types declared in the ORMultiMap message type. - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static partial class Types { - internal sealed partial class Entry : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Entry()); - 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::Akka.DistributedData.Serialization.Proto.Msg.ORMultiMap.Descriptor.NestedTypes[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 Entry() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Entry(Entry other) : this() { - stringKey_ = other.stringKey_; - value_ = other.value_ != null ? other.value_.Clone() : null; - intKey_ = other.intKey_; - longKey_ = other.longKey_; - otherKey_ = other.otherKey_ != null ? other.otherKey_.Clone() : null; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Entry Clone() { - return new Entry(this); - } - - /// Field number for the "stringKey" field. - public const int StringKeyFieldNumber = 1; - private string stringKey_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string StringKey { - get { return stringKey_; } - set { - stringKey_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "value" field. - public const int ValueFieldNumber = 2; - private global::Akka.DistributedData.Serialization.Proto.Msg.ORSet value_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.DistributedData.Serialization.Proto.Msg.ORSet Value { - get { return value_; } - set { - value_ = value; - } - } - - /// Field number for the "intKey" field. - public const int IntKeyFieldNumber = 3; - private int intKey_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int IntKey { - get { return intKey_; } - set { - intKey_ = value; - } - } - - /// Field number for the "longKey" field. - public const int LongKeyFieldNumber = 4; - private long longKey_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public long LongKey { - get { return longKey_; } - set { - longKey_ = value; - } - } - - /// Field number for the "otherKey" field. - public const int OtherKeyFieldNumber = 5; - private global::Akka.DistributedData.Serialization.Proto.Msg.OtherMessage otherKey_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.DistributedData.Serialization.Proto.Msg.OtherMessage OtherKey { - get { return otherKey_; } - set { - otherKey_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as Entry); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(Entry other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (StringKey != other.StringKey) return false; - if (!object.Equals(Value, other.Value)) return false; - if (IntKey != other.IntKey) return false; - if (LongKey != other.LongKey) return false; - if (!object.Equals(OtherKey, other.OtherKey)) 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 (StringKey.Length != 0) hash ^= StringKey.GetHashCode(); - if (value_ != null) hash ^= Value.GetHashCode(); - if (IntKey != 0) hash ^= IntKey.GetHashCode(); - if (LongKey != 0L) hash ^= LongKey.GetHashCode(); - if (otherKey_ != null) hash ^= OtherKey.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 (StringKey.Length != 0) { - output.WriteRawTag(10); - output.WriteString(StringKey); - } - if (value_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Value); - } - if (IntKey != 0) { - output.WriteRawTag(24); - output.WriteSInt32(IntKey); - } - if (LongKey != 0L) { - output.WriteRawTag(32); - output.WriteSInt64(LongKey); - } - if (otherKey_ != null) { - output.WriteRawTag(42); - output.WriteMessage(OtherKey); - } - 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 (StringKey.Length != 0) { - output.WriteRawTag(10); - output.WriteString(StringKey); - } - if (value_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Value); - } - if (IntKey != 0) { - output.WriteRawTag(24); - output.WriteSInt32(IntKey); - } - if (LongKey != 0L) { - output.WriteRawTag(32); - output.WriteSInt64(LongKey); - } - if (otherKey_ != null) { - output.WriteRawTag(42); - output.WriteMessage(OtherKey); - } - 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 (StringKey.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(StringKey); - } - if (value_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Value); - } - if (IntKey != 0) { - size += 1 + pb::CodedOutputStream.ComputeSInt32Size(IntKey); - } - if (LongKey != 0L) { - size += 1 + pb::CodedOutputStream.ComputeSInt64Size(LongKey); - } - if (otherKey_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(OtherKey); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(Entry other) { - if (other == null) { - return; - } - if (other.StringKey.Length != 0) { - StringKey = other.StringKey; - } - if (other.value_ != null) { - if (value_ == null) { - Value = new global::Akka.DistributedData.Serialization.Proto.Msg.ORSet(); - } - Value.MergeFrom(other.Value); - } - if (other.IntKey != 0) { - IntKey = other.IntKey; - } - if (other.LongKey != 0L) { - LongKey = other.LongKey; - } - if (other.otherKey_ != null) { - if (otherKey_ == null) { - OtherKey = new global::Akka.DistributedData.Serialization.Proto.Msg.OtherMessage(); - } - OtherKey.MergeFrom(other.OtherKey); - } - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - StringKey = input.ReadString(); - break; - } - case 18: { - if (value_ == null) { - Value = new global::Akka.DistributedData.Serialization.Proto.Msg.ORSet(); - } - input.ReadMessage(Value); - break; - } - case 24: { - IntKey = input.ReadSInt32(); - break; - } - case 32: { - LongKey = input.ReadSInt64(); - break; - } - case 42: { - if (otherKey_ == null) { - OtherKey = new global::Akka.DistributedData.Serialization.Proto.Msg.OtherMessage(); - } - input.ReadMessage(OtherKey); - 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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - StringKey = input.ReadString(); - break; - } - case 18: { - if (value_ == null) { - Value = new global::Akka.DistributedData.Serialization.Proto.Msg.ORSet(); - } - input.ReadMessage(Value); - break; - } - case 24: { - IntKey = input.ReadSInt32(); - break; - } - case 32: { - LongKey = input.ReadSInt64(); - break; - } - case 42: { - if (otherKey_ == null) { - OtherKey = new global::Akka.DistributedData.Serialization.Proto.Msg.OtherMessage(); - } - input.ReadMessage(OtherKey); - break; - } - } - } - } - #endif - - } - - } - #endregion - - } - - internal sealed partial class Key : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Key()); - 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::Akka.DistributedData.Serialization.Proto.Msg.ReplicatedDataMessagesReflection.Descriptor.MessageTypes[14]; } - } - - [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 Key() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Key(Key other) : this() { - keyId_ = other.keyId_; - keyType_ = other.keyType_; - keyTypeInfo_ = other.keyTypeInfo_ != null ? other.keyTypeInfo_.Clone() : null; - valueTypeInfo_ = other.valueTypeInfo_ != null ? other.valueTypeInfo_.Clone() : null; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Key Clone() { - return new Key(this); - } - - /// Field number for the "keyId" field. - public const int KeyIdFieldNumber = 1; - private string keyId_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string KeyId { - get { return keyId_; } - set { - keyId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "keyType" field. - public const int KeyTypeFieldNumber = 2; - private global::Akka.DistributedData.Serialization.Proto.Msg.KeyType keyType_ = global::Akka.DistributedData.Serialization.Proto.Msg.KeyType.OrsetKey; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.DistributedData.Serialization.Proto.Msg.KeyType KeyType { - get { return keyType_; } - set { - keyType_ = value; - } - } - - /// Field number for the "keyTypeInfo" field. - public const int KeyTypeInfoFieldNumber = 3; - private global::Akka.DistributedData.Serialization.Proto.Msg.TypeDescriptor keyTypeInfo_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.DistributedData.Serialization.Proto.Msg.TypeDescriptor KeyTypeInfo { - get { return keyTypeInfo_; } - set { - keyTypeInfo_ = value; - } - } - - /// Field number for the "valueTypeInfo" field. - public const int ValueTypeInfoFieldNumber = 4; - private global::Akka.DistributedData.Serialization.Proto.Msg.TypeDescriptor valueTypeInfo_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.DistributedData.Serialization.Proto.Msg.TypeDescriptor ValueTypeInfo { - get { return valueTypeInfo_; } - set { - valueTypeInfo_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as Key); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(Key other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (KeyId != other.KeyId) return false; - if (KeyType != other.KeyType) return false; - if (!object.Equals(KeyTypeInfo, other.KeyTypeInfo)) return false; - if (!object.Equals(ValueTypeInfo, other.ValueTypeInfo)) 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 (KeyId.Length != 0) hash ^= KeyId.GetHashCode(); - if (KeyType != global::Akka.DistributedData.Serialization.Proto.Msg.KeyType.OrsetKey) hash ^= KeyType.GetHashCode(); - if (keyTypeInfo_ != null) hash ^= KeyTypeInfo.GetHashCode(); - if (valueTypeInfo_ != null) hash ^= ValueTypeInfo.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 (KeyId.Length != 0) { - output.WriteRawTag(10); - output.WriteString(KeyId); - } - if (KeyType != global::Akka.DistributedData.Serialization.Proto.Msg.KeyType.OrsetKey) { - output.WriteRawTag(16); - output.WriteEnum((int) KeyType); - } - if (keyTypeInfo_ != null) { - output.WriteRawTag(26); - output.WriteMessage(KeyTypeInfo); - } - if (valueTypeInfo_ != null) { - output.WriteRawTag(34); - output.WriteMessage(ValueTypeInfo); - } - 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 (KeyId.Length != 0) { - output.WriteRawTag(10); - output.WriteString(KeyId); - } - if (KeyType != global::Akka.DistributedData.Serialization.Proto.Msg.KeyType.OrsetKey) { - output.WriteRawTag(16); - output.WriteEnum((int) KeyType); - } - if (keyTypeInfo_ != null) { - output.WriteRawTag(26); - output.WriteMessage(KeyTypeInfo); - } - if (valueTypeInfo_ != null) { - output.WriteRawTag(34); - output.WriteMessage(ValueTypeInfo); - } - 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 (KeyId.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(KeyId); - } - if (KeyType != global::Akka.DistributedData.Serialization.Proto.Msg.KeyType.OrsetKey) { - size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) KeyType); - } - if (keyTypeInfo_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(KeyTypeInfo); - } - if (valueTypeInfo_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(ValueTypeInfo); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(Key other) { - if (other == null) { - return; - } - if (other.KeyId.Length != 0) { - KeyId = other.KeyId; - } - if (other.KeyType != global::Akka.DistributedData.Serialization.Proto.Msg.KeyType.OrsetKey) { - KeyType = other.KeyType; - } - if (other.keyTypeInfo_ != null) { - if (keyTypeInfo_ == null) { - KeyTypeInfo = new global::Akka.DistributedData.Serialization.Proto.Msg.TypeDescriptor(); - } - KeyTypeInfo.MergeFrom(other.KeyTypeInfo); - } - if (other.valueTypeInfo_ != null) { - if (valueTypeInfo_ == null) { - ValueTypeInfo = new global::Akka.DistributedData.Serialization.Proto.Msg.TypeDescriptor(); - } - ValueTypeInfo.MergeFrom(other.ValueTypeInfo); - } - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - KeyId = input.ReadString(); - break; - } - case 16: { - KeyType = (global::Akka.DistributedData.Serialization.Proto.Msg.KeyType) input.ReadEnum(); - break; - } - case 26: { - if (keyTypeInfo_ == null) { - KeyTypeInfo = new global::Akka.DistributedData.Serialization.Proto.Msg.TypeDescriptor(); - } - input.ReadMessage(KeyTypeInfo); - break; - } - case 34: { - if (valueTypeInfo_ == null) { - ValueTypeInfo = new global::Akka.DistributedData.Serialization.Proto.Msg.TypeDescriptor(); - } - input.ReadMessage(ValueTypeInfo); - 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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - KeyId = input.ReadString(); - break; - } - case 16: { - KeyType = (global::Akka.DistributedData.Serialization.Proto.Msg.KeyType) input.ReadEnum(); - break; - } - case 26: { - if (keyTypeInfo_ == null) { - KeyTypeInfo = new global::Akka.DistributedData.Serialization.Proto.Msg.TypeDescriptor(); - } - input.ReadMessage(KeyTypeInfo); - break; - } - case 34: { - if (valueTypeInfo_ == null) { - ValueTypeInfo = new global::Akka.DistributedData.Serialization.Proto.Msg.TypeDescriptor(); - } - input.ReadMessage(ValueTypeInfo); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/src/contrib/cluster/Akka.DistributedData/Serialization/Proto/ReplicatorMessages.g.cs b/src/contrib/cluster/Akka.DistributedData/Serialization/Proto/ReplicatorMessages.g.cs deleted file mode 100644 index c30d84ade07..00000000000 --- a/src/contrib/cluster/Akka.DistributedData/Serialization/Proto/ReplicatorMessages.g.cs +++ /dev/null @@ -1,6970 +0,0 @@ -//----------------------------------------------------------------------- -// -// Copyright (C) 2009-2023 Lightbend Inc. -// Copyright (C) 2013-2023 .NET Foundation -// -//----------------------------------------------------------------------- - -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: ReplicatorMessages.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 Akka.DistributedData.Serialization.Proto.Msg { - - /// Holder for reflection information generated from ReplicatorMessages.proto - internal static partial class ReplicatorMessagesReflection { - - #region Descriptor - /// File descriptor for ReplicatorMessages.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static ReplicatorMessagesReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChhSZXBsaWNhdG9yTWVzc2FnZXMucHJvdG8SLEFra2EuRGlzdHJpYnV0ZWRE", - "YXRhLlNlcmlhbGl6YXRpb24uUHJvdG8uTXNnIrsCCgNHZXQSRwoDa2V5GAEg", - "ASgLMjouQWtrYS5EaXN0cmlidXRlZERhdGEuU2VyaWFsaXphdGlvbi5Qcm90", - "by5Nc2cuT3RoZXJNZXNzYWdlEhMKC2NvbnNpc3RlbmN5GAIgASgREg8KB3Rp", - "bWVvdXQYAyABKA0SSwoHcmVxdWVzdBgEIAEoCzI6LkFra2EuRGlzdHJpYnV0", - "ZWREYXRhLlNlcmlhbGl6YXRpb24uUHJvdG8uTXNnLk90aGVyTWVzc2FnZRIZ", - "ChFjb25zaXN0ZW5jeU1pbkNhcBgFIAEoBRIgChhoYXNDb25zaXN0ZW5jeUFk", - "ZGl0aW9uYWwYBiABKAgSHQoVY29uc2lzdGVuY3lBZGRpdGlvbmFsGAcgASgF", - "EhwKFGhhc0NvbnNpc3RlbmN5TWluQ2FwGAggASgIIuwBCgpHZXRTdWNjZXNz", - "EkcKA2tleRgBIAEoCzI6LkFra2EuRGlzdHJpYnV0ZWREYXRhLlNlcmlhbGl6", - "YXRpb24uUHJvdG8uTXNnLk90aGVyTWVzc2FnZRJICgRkYXRhGAIgASgLMjou", - "QWtrYS5EaXN0cmlidXRlZERhdGEuU2VyaWFsaXphdGlvbi5Qcm90by5Nc2cu", - "T3RoZXJNZXNzYWdlEksKB3JlcXVlc3QYBCABKAsyOi5Ba2thLkRpc3RyaWJ1", - "dGVkRGF0YS5TZXJpYWxpemF0aW9uLlByb3RvLk1zZy5PdGhlck1lc3NhZ2Ui", - "oAEKCE5vdEZvdW5kEkcKA2tleRgBIAEoCzI6LkFra2EuRGlzdHJpYnV0ZWRE", - "YXRhLlNlcmlhbGl6YXRpb24uUHJvdG8uTXNnLk90aGVyTWVzc2FnZRJLCgdy", - "ZXF1ZXN0GAIgASgLMjouQWtrYS5EaXN0cmlidXRlZERhdGEuU2VyaWFsaXph", - "dGlvbi5Qcm90by5Nc2cuT3RoZXJNZXNzYWdlIqIBCgpHZXRGYWlsdXJlEkcK", - "A2tleRgBIAEoCzI6LkFra2EuRGlzdHJpYnV0ZWREYXRhLlNlcmlhbGl6YXRp", - "b24uUHJvdG8uTXNnLk90aGVyTWVzc2FnZRJLCgdyZXF1ZXN0GAIgASgLMjou", - "QWtrYS5EaXN0cmlidXRlZERhdGEuU2VyaWFsaXphdGlvbi5Qcm90by5Nc2cu", - "T3RoZXJNZXNzYWdlImEKCVN1YnNjcmliZRJHCgNrZXkYASABKAsyOi5Ba2th", - "LkRpc3RyaWJ1dGVkRGF0YS5TZXJpYWxpemF0aW9uLlByb3RvLk1zZy5PdGhl", - "ck1lc3NhZ2USCwoDcmVmGAIgASgJImMKC1Vuc3Vic2NyaWJlEkcKA2tleRgB", - "IAEoCzI6LkFra2EuRGlzdHJpYnV0ZWREYXRhLlNlcmlhbGl6YXRpb24uUHJv", - "dG8uTXNnLk90aGVyTWVzc2FnZRILCgNyZWYYAiABKAkinAEKB0NoYW5nZWQS", - "RwoDa2V5GAEgASgLMjouQWtrYS5EaXN0cmlidXRlZERhdGEuU2VyaWFsaXph", - "dGlvbi5Qcm90by5Nc2cuT3RoZXJNZXNzYWdlEkgKBGRhdGEYAiABKAsyOi5B", - "a2thLkRpc3RyaWJ1dGVkRGF0YS5TZXJpYWxpemF0aW9uLlByb3RvLk1zZy5P", - "dGhlck1lc3NhZ2UisQEKBVdyaXRlEgsKA2tleRgBIAEoCRJMCghlbnZlbG9w", - "ZRgCIAEoCzI6LkFra2EuRGlzdHJpYnV0ZWREYXRhLlNlcmlhbGl6YXRpb24u", - "UHJvdG8uTXNnLkRhdGFFbnZlbG9wZRJNCghmcm9tTm9kZRgDIAEoCzI7LkFr", - "a2EuRGlzdHJpYnV0ZWREYXRhLlNlcmlhbGl6YXRpb24uUHJvdG8uTXNnLlVu", - "aXF1ZUFkZHJlc3MiBwoFRW1wdHkiYgoEUmVhZBILCgNrZXkYASABKAkSTQoI", - "ZnJvbU5vZGUYAiABKAsyOy5Ba2thLkRpc3RyaWJ1dGVkRGF0YS5TZXJpYWxp", - "emF0aW9uLlByb3RvLk1zZy5VbmlxdWVBZGRyZXNzIloKClJlYWRSZXN1bHQS", - "TAoIZW52ZWxvcGUYASABKAsyOi5Ba2thLkRpc3RyaWJ1dGVkRGF0YS5TZXJp", - "YWxpemF0aW9uLlByb3RvLk1zZy5EYXRhRW52ZWxvcGUirQQKDERhdGFFbnZl", - "bG9wZRJICgRkYXRhGAEgASgLMjouQWtrYS5EaXN0cmlidXRlZERhdGEuU2Vy", - "aWFsaXphdGlvbi5Qcm90by5Nc2cuT3RoZXJNZXNzYWdlElgKB3BydW5pbmcY", - "AiADKAsyRy5Ba2thLkRpc3RyaWJ1dGVkRGF0YS5TZXJpYWxpemF0aW9uLlBy", - "b3RvLk1zZy5EYXRhRW52ZWxvcGUuUHJ1bmluZ0VudHJ5ElIKDWRlbHRhVmVy", - "c2lvbnMYAyABKAsyOy5Ba2thLkRpc3RyaWJ1dGVkRGF0YS5TZXJpYWxpemF0", - "aW9uLlByb3RvLk1zZy5WZXJzaW9uVmVjdG9yGqQCCgxQcnVuaW5nRW50cnkS", - "UwoOcmVtb3ZlZEFkZHJlc3MYASABKAsyOy5Ba2thLkRpc3RyaWJ1dGVkRGF0", - "YS5TZXJpYWxpemF0aW9uLlByb3RvLk1zZy5VbmlxdWVBZGRyZXNzElEKDG93", - "bmVyQWRkcmVzcxgCIAEoCzI7LkFra2EuRGlzdHJpYnV0ZWREYXRhLlNlcmlh", - "bGl6YXRpb24uUHJvdG8uTXNnLlVuaXF1ZUFkZHJlc3MSEQoJcGVyZm9ybWVk", - "GAMgASgIEkMKBHNlZW4YBCADKAsyNS5Ba2thLkRpc3RyaWJ1dGVkRGF0YS5T", - "ZXJpYWxpemF0aW9uLlByb3RvLk1zZy5BZGRyZXNzEhQKDG9ic29sZXRlVGlt", - "ZRgFIAEoEiL7AQoGU3RhdHVzEg0KBWNodW5rGAEgASgNEhEKCXRvdENodW5r", - "cxgCIAEoDRJLCgdlbnRyaWVzGAMgAygLMjouQWtrYS5EaXN0cmlidXRlZERh", - "dGEuU2VyaWFsaXphdGlvbi5Qcm90by5Nc2cuU3RhdHVzLkVudHJ5EhMKC3Rv", - "U3lzdGVtVWlkGAQgASgQEhUKDWZyb21TeXN0ZW1VaWQYBSABKBASFgoOaGFz", - "VG9TeXN0ZW1VaWQYBiABKAgSGAoQaGFzRnJvbVN5c3RlbVVpZBgHIAEoCBok", - "CgVFbnRyeRILCgNrZXkYASABKAkSDgoGZGlnZXN0GAIgASgMIqkCCgZHb3Nz", - "aXASEAoIc2VuZEJhY2sYASABKAgSSwoHZW50cmllcxgCIAMoCzI6LkFra2Eu", - "RGlzdHJpYnV0ZWREYXRhLlNlcmlhbGl6YXRpb24uUHJvdG8uTXNnLkdvc3Np", - "cC5FbnRyeRITCgt0b1N5c3RlbVVpZBgDIAEoEBIVCg1mcm9tU3lzdGVtVWlk", - "GAQgASgQEhYKDmhhc1RvU3lzdGVtVWlkGAUgASgIEhgKEGhhc0Zyb21TeXN0", - "ZW1VaWQYBiABKAgaYgoFRW50cnkSCwoDa2V5GAEgASgJEkwKCGVudmVsb3Bl", - "GAIgASgLMjouQWtrYS5EaXN0cmlidXRlZERhdGEuU2VyaWFsaXphdGlvbi5Q", - "cm90by5Nc2cuRGF0YUVudmVsb3BlItACChBEZWx0YVByb3BhZ2F0aW9uEk0K", - "CGZyb21Ob2RlGAEgASgLMjsuQWtrYS5EaXN0cmlidXRlZERhdGEuU2VyaWFs", - "aXphdGlvbi5Qcm90by5Nc2cuVW5pcXVlQWRkcmVzcxJVCgdlbnRyaWVzGAIg", - "AygLMkQuQWtrYS5EaXN0cmlidXRlZERhdGEuU2VyaWFsaXphdGlvbi5Qcm90", - "by5Nc2cuRGVsdGFQcm9wYWdhdGlvbi5FbnRyeRINCgVyZXBseRgDIAEoCBqG", - "AQoFRW50cnkSCwoDa2V5GAEgASgJEkwKCGVudmVsb3BlGAIgASgLMjouQWtr", - "YS5EaXN0cmlidXRlZERhdGEuU2VyaWFsaXphdGlvbi5Qcm90by5Nc2cuRGF0", - "YUVudmVsb3BlEhEKCWZyb21TZXFOchgDIAEoAxIPCgd0b1NlcU5yGAQgASgD", - "ImQKDVVuaXF1ZUFkZHJlc3MSRgoHYWRkcmVzcxgBIAEoCzI1LkFra2EuRGlz", - "dHJpYnV0ZWREYXRhLlNlcmlhbGl6YXRpb24uUHJvdG8uTXNnLkFkZHJlc3MS", - "CwoDdWlkGAIgASgDIikKB0FkZHJlc3MSEAoIaG9zdG5hbWUYASABKAkSDAoE", - "cG9ydBgCIAEoBSLIAQoNVmVyc2lvblZlY3RvchJSCgdlbnRyaWVzGAEgAygL", - "MkEuQWtrYS5EaXN0cmlidXRlZERhdGEuU2VyaWFsaXphdGlvbi5Qcm90by5N", - "c2cuVmVyc2lvblZlY3Rvci5FbnRyeRpjCgVFbnRyeRJJCgRub2RlGAEgASgL", - "MjsuQWtrYS5EaXN0cmlidXRlZERhdGEuU2VyaWFsaXphdGlvbi5Qcm90by5N", - "c2cuVW5pcXVlQWRkcmVzcxIPCgd2ZXJzaW9uGAIgASgDIlYKDE90aGVyTWVz", - "c2FnZRIXCg9lbmNsb3NlZE1lc3NhZ2UYASABKAwSFAoMc2VyaWFsaXplcklk", - "GAIgASgFEhcKD21lc3NhZ2VNYW5pZmVzdBgEIAEoDCIeCgpTdHJpbmdHU2V0", - "EhAKCGVsZW1lbnRzGAEgAygJIrkBChNEdXJhYmxlRGF0YUVudmVsb3BlEkgK", - "BGRhdGEYASABKAsyOi5Ba2thLkRpc3RyaWJ1dGVkRGF0YS5TZXJpYWxpemF0", - "aW9uLlByb3RvLk1zZy5PdGhlck1lc3NhZ2USWAoHcHJ1bmluZxgCIAMoCzJH", - "LkFra2EuRGlzdHJpYnV0ZWREYXRhLlNlcmlhbGl6YXRpb24uUHJvdG8uTXNn", - "LkRhdGFFbnZlbG9wZS5QcnVuaW5nRW50cnlCAkgBYgZwcm90bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Akka.DistributedData.Serialization.Proto.Msg.Get), global::Akka.DistributedData.Serialization.Proto.Msg.Get.Parser, new[]{ "Key", "Consistency", "Timeout", "Request", "ConsistencyMinCap", "HasConsistencyAdditional", "ConsistencyAdditional", "HasConsistencyMinCap" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Akka.DistributedData.Serialization.Proto.Msg.GetSuccess), global::Akka.DistributedData.Serialization.Proto.Msg.GetSuccess.Parser, new[]{ "Key", "Data", "Request" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Akka.DistributedData.Serialization.Proto.Msg.NotFound), global::Akka.DistributedData.Serialization.Proto.Msg.NotFound.Parser, new[]{ "Key", "Request" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Akka.DistributedData.Serialization.Proto.Msg.GetFailure), global::Akka.DistributedData.Serialization.Proto.Msg.GetFailure.Parser, new[]{ "Key", "Request" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Akka.DistributedData.Serialization.Proto.Msg.Subscribe), global::Akka.DistributedData.Serialization.Proto.Msg.Subscribe.Parser, new[]{ "Key", "Ref" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Akka.DistributedData.Serialization.Proto.Msg.Unsubscribe), global::Akka.DistributedData.Serialization.Proto.Msg.Unsubscribe.Parser, new[]{ "Key", "Ref" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Akka.DistributedData.Serialization.Proto.Msg.Changed), global::Akka.DistributedData.Serialization.Proto.Msg.Changed.Parser, new[]{ "Key", "Data" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Akka.DistributedData.Serialization.Proto.Msg.Write), global::Akka.DistributedData.Serialization.Proto.Msg.Write.Parser, new[]{ "Key", "Envelope", "FromNode" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Akka.DistributedData.Serialization.Proto.Msg.Empty), global::Akka.DistributedData.Serialization.Proto.Msg.Empty.Parser, null, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Akka.DistributedData.Serialization.Proto.Msg.Read), global::Akka.DistributedData.Serialization.Proto.Msg.Read.Parser, new[]{ "Key", "FromNode" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Akka.DistributedData.Serialization.Proto.Msg.ReadResult), global::Akka.DistributedData.Serialization.Proto.Msg.ReadResult.Parser, new[]{ "Envelope" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Akka.DistributedData.Serialization.Proto.Msg.DataEnvelope), global::Akka.DistributedData.Serialization.Proto.Msg.DataEnvelope.Parser, new[]{ "Data", "Pruning", "DeltaVersions" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Akka.DistributedData.Serialization.Proto.Msg.DataEnvelope.Types.PruningEntry), global::Akka.DistributedData.Serialization.Proto.Msg.DataEnvelope.Types.PruningEntry.Parser, new[]{ "RemovedAddress", "OwnerAddress", "Performed", "Seen", "ObsoleteTime" }, null, null, null, null)}), - new pbr::GeneratedClrTypeInfo(typeof(global::Akka.DistributedData.Serialization.Proto.Msg.Status), global::Akka.DistributedData.Serialization.Proto.Msg.Status.Parser, new[]{ "Chunk", "TotChunks", "Entries", "ToSystemUid", "FromSystemUid", "HasToSystemUid", "HasFromSystemUid" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Akka.DistributedData.Serialization.Proto.Msg.Status.Types.Entry), global::Akka.DistributedData.Serialization.Proto.Msg.Status.Types.Entry.Parser, new[]{ "Key", "Digest" }, null, null, null, null)}), - new pbr::GeneratedClrTypeInfo(typeof(global::Akka.DistributedData.Serialization.Proto.Msg.Gossip), global::Akka.DistributedData.Serialization.Proto.Msg.Gossip.Parser, new[]{ "SendBack", "Entries", "ToSystemUid", "FromSystemUid", "HasToSystemUid", "HasFromSystemUid" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Akka.DistributedData.Serialization.Proto.Msg.Gossip.Types.Entry), global::Akka.DistributedData.Serialization.Proto.Msg.Gossip.Types.Entry.Parser, new[]{ "Key", "Envelope" }, null, null, null, null)}), - new pbr::GeneratedClrTypeInfo(typeof(global::Akka.DistributedData.Serialization.Proto.Msg.DeltaPropagation), global::Akka.DistributedData.Serialization.Proto.Msg.DeltaPropagation.Parser, new[]{ "FromNode", "Entries", "Reply" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Akka.DistributedData.Serialization.Proto.Msg.DeltaPropagation.Types.Entry), global::Akka.DistributedData.Serialization.Proto.Msg.DeltaPropagation.Types.Entry.Parser, new[]{ "Key", "Envelope", "FromSeqNr", "ToSeqNr" }, null, null, null, null)}), - new pbr::GeneratedClrTypeInfo(typeof(global::Akka.DistributedData.Serialization.Proto.Msg.UniqueAddress), global::Akka.DistributedData.Serialization.Proto.Msg.UniqueAddress.Parser, new[]{ "Address", "Uid" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Akka.DistributedData.Serialization.Proto.Msg.Address), global::Akka.DistributedData.Serialization.Proto.Msg.Address.Parser, new[]{ "Hostname", "Port" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Akka.DistributedData.Serialization.Proto.Msg.VersionVector), global::Akka.DistributedData.Serialization.Proto.Msg.VersionVector.Parser, new[]{ "Entries" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Akka.DistributedData.Serialization.Proto.Msg.VersionVector.Types.Entry), global::Akka.DistributedData.Serialization.Proto.Msg.VersionVector.Types.Entry.Parser, new[]{ "Node", "Version" }, null, null, null, null)}), - new pbr::GeneratedClrTypeInfo(typeof(global::Akka.DistributedData.Serialization.Proto.Msg.OtherMessage), global::Akka.DistributedData.Serialization.Proto.Msg.OtherMessage.Parser, new[]{ "EnclosedMessage", "SerializerId", "MessageManifest" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Akka.DistributedData.Serialization.Proto.Msg.StringGSet), global::Akka.DistributedData.Serialization.Proto.Msg.StringGSet.Parser, new[]{ "Elements" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Akka.DistributedData.Serialization.Proto.Msg.DurableDataEnvelope), global::Akka.DistributedData.Serialization.Proto.Msg.DurableDataEnvelope.Parser, new[]{ "Data", "Pruning" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - internal sealed partial class Get : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Get()); - 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::Akka.DistributedData.Serialization.Proto.Msg.ReplicatorMessagesReflection.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 Get() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Get(Get other) : this() { - key_ = other.key_ != null ? other.key_.Clone() : null; - consistency_ = other.consistency_; - timeout_ = other.timeout_; - request_ = other.request_ != null ? other.request_.Clone() : null; - consistencyMinCap_ = other.consistencyMinCap_; - hasConsistencyAdditional_ = other.hasConsistencyAdditional_; - consistencyAdditional_ = other.consistencyAdditional_; - hasConsistencyMinCap_ = other.hasConsistencyMinCap_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Get Clone() { - return new Get(this); - } - - /// Field number for the "key" field. - public const int KeyFieldNumber = 1; - private global::Akka.DistributedData.Serialization.Proto.Msg.OtherMessage key_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.DistributedData.Serialization.Proto.Msg.OtherMessage Key { - get { return key_; } - set { - key_ = value; - } - } - - /// Field number for the "consistency" field. - public const int ConsistencyFieldNumber = 2; - private int consistency_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Consistency { - get { return consistency_; } - set { - consistency_ = value; - } - } - - /// Field number for the "timeout" field. - public const int TimeoutFieldNumber = 3; - private uint timeout_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public uint Timeout { - get { return timeout_; } - set { - timeout_ = value; - } - } - - /// Field number for the "request" field. - public const int RequestFieldNumber = 4; - private global::Akka.DistributedData.Serialization.Proto.Msg.OtherMessage request_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.DistributedData.Serialization.Proto.Msg.OtherMessage Request { - get { return request_; } - set { - request_ = value; - } - } - - /// Field number for the "consistencyMinCap" field. - public const int ConsistencyMinCapFieldNumber = 5; - private int consistencyMinCap_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ConsistencyMinCap { - get { return consistencyMinCap_; } - set { - consistencyMinCap_ = value; - } - } - - /// Field number for the "hasConsistencyAdditional" field. - public const int HasConsistencyAdditionalFieldNumber = 6; - private bool hasConsistencyAdditional_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasConsistencyAdditional { - get { return hasConsistencyAdditional_; } - set { - hasConsistencyAdditional_ = value; - } - } - - /// Field number for the "consistencyAdditional" field. - public const int ConsistencyAdditionalFieldNumber = 7; - private int consistencyAdditional_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ConsistencyAdditional { - get { return consistencyAdditional_; } - set { - consistencyAdditional_ = value; - } - } - - /// Field number for the "hasConsistencyMinCap" field. - public const int HasConsistencyMinCapFieldNumber = 8; - private bool hasConsistencyMinCap_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasConsistencyMinCap { - get { return hasConsistencyMinCap_; } - set { - hasConsistencyMinCap_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as Get); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(Get other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (!object.Equals(Key, other.Key)) return false; - if (Consistency != other.Consistency) return false; - if (Timeout != other.Timeout) return false; - if (!object.Equals(Request, other.Request)) return false; - if (ConsistencyMinCap != other.ConsistencyMinCap) return false; - if (HasConsistencyAdditional != other.HasConsistencyAdditional) return false; - if (ConsistencyAdditional != other.ConsistencyAdditional) return false; - if (HasConsistencyMinCap != other.HasConsistencyMinCap) 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 (key_ != null) hash ^= Key.GetHashCode(); - if (Consistency != 0) hash ^= Consistency.GetHashCode(); - if (Timeout != 0) hash ^= Timeout.GetHashCode(); - if (request_ != null) hash ^= Request.GetHashCode(); - if (ConsistencyMinCap != 0) hash ^= ConsistencyMinCap.GetHashCode(); - if (HasConsistencyAdditional != false) hash ^= HasConsistencyAdditional.GetHashCode(); - if (ConsistencyAdditional != 0) hash ^= ConsistencyAdditional.GetHashCode(); - if (HasConsistencyMinCap != false) hash ^= HasConsistencyMinCap.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 (key_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Key); - } - if (Consistency != 0) { - output.WriteRawTag(16); - output.WriteSInt32(Consistency); - } - if (Timeout != 0) { - output.WriteRawTag(24); - output.WriteUInt32(Timeout); - } - if (request_ != null) { - output.WriteRawTag(34); - output.WriteMessage(Request); - } - if (ConsistencyMinCap != 0) { - output.WriteRawTag(40); - output.WriteInt32(ConsistencyMinCap); - } - if (HasConsistencyAdditional != false) { - output.WriteRawTag(48); - output.WriteBool(HasConsistencyAdditional); - } - if (ConsistencyAdditional != 0) { - output.WriteRawTag(56); - output.WriteInt32(ConsistencyAdditional); - } - if (HasConsistencyMinCap != false) { - output.WriteRawTag(64); - output.WriteBool(HasConsistencyMinCap); - } - 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 (key_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Key); - } - if (Consistency != 0) { - output.WriteRawTag(16); - output.WriteSInt32(Consistency); - } - if (Timeout != 0) { - output.WriteRawTag(24); - output.WriteUInt32(Timeout); - } - if (request_ != null) { - output.WriteRawTag(34); - output.WriteMessage(Request); - } - if (ConsistencyMinCap != 0) { - output.WriteRawTag(40); - output.WriteInt32(ConsistencyMinCap); - } - if (HasConsistencyAdditional != false) { - output.WriteRawTag(48); - output.WriteBool(HasConsistencyAdditional); - } - if (ConsistencyAdditional != 0) { - output.WriteRawTag(56); - output.WriteInt32(ConsistencyAdditional); - } - if (HasConsistencyMinCap != false) { - output.WriteRawTag(64); - output.WriteBool(HasConsistencyMinCap); - } - 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 (key_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Key); - } - if (Consistency != 0) { - size += 1 + pb::CodedOutputStream.ComputeSInt32Size(Consistency); - } - if (Timeout != 0) { - size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Timeout); - } - if (request_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Request); - } - if (ConsistencyMinCap != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(ConsistencyMinCap); - } - if (HasConsistencyAdditional != false) { - size += 1 + 1; - } - if (ConsistencyAdditional != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(ConsistencyAdditional); - } - if (HasConsistencyMinCap != false) { - size += 1 + 1; - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(Get other) { - if (other == null) { - return; - } - if (other.key_ != null) { - if (key_ == null) { - Key = new global::Akka.DistributedData.Serialization.Proto.Msg.OtherMessage(); - } - Key.MergeFrom(other.Key); - } - if (other.Consistency != 0) { - Consistency = other.Consistency; - } - if (other.Timeout != 0) { - Timeout = other.Timeout; - } - if (other.request_ != null) { - if (request_ == null) { - Request = new global::Akka.DistributedData.Serialization.Proto.Msg.OtherMessage(); - } - Request.MergeFrom(other.Request); - } - if (other.ConsistencyMinCap != 0) { - ConsistencyMinCap = other.ConsistencyMinCap; - } - if (other.HasConsistencyAdditional != false) { - HasConsistencyAdditional = other.HasConsistencyAdditional; - } - if (other.ConsistencyAdditional != 0) { - ConsistencyAdditional = other.ConsistencyAdditional; - } - if (other.HasConsistencyMinCap != false) { - HasConsistencyMinCap = other.HasConsistencyMinCap; - } - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - if (key_ == null) { - Key = new global::Akka.DistributedData.Serialization.Proto.Msg.OtherMessage(); - } - input.ReadMessage(Key); - break; - } - case 16: { - Consistency = input.ReadSInt32(); - break; - } - case 24: { - Timeout = input.ReadUInt32(); - break; - } - case 34: { - if (request_ == null) { - Request = new global::Akka.DistributedData.Serialization.Proto.Msg.OtherMessage(); - } - input.ReadMessage(Request); - break; - } - case 40: { - ConsistencyMinCap = input.ReadInt32(); - break; - } - case 48: { - HasConsistencyAdditional = input.ReadBool(); - break; - } - case 56: { - ConsistencyAdditional = input.ReadInt32(); - break; - } - case 64: { - HasConsistencyMinCap = input.ReadBool(); - 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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - if (key_ == null) { - Key = new global::Akka.DistributedData.Serialization.Proto.Msg.OtherMessage(); - } - input.ReadMessage(Key); - break; - } - case 16: { - Consistency = input.ReadSInt32(); - break; - } - case 24: { - Timeout = input.ReadUInt32(); - break; - } - case 34: { - if (request_ == null) { - Request = new global::Akka.DistributedData.Serialization.Proto.Msg.OtherMessage(); - } - input.ReadMessage(Request); - break; - } - case 40: { - ConsistencyMinCap = input.ReadInt32(); - break; - } - case 48: { - HasConsistencyAdditional = input.ReadBool(); - break; - } - case 56: { - ConsistencyAdditional = input.ReadInt32(); - break; - } - case 64: { - HasConsistencyMinCap = input.ReadBool(); - break; - } - } - } - } - #endif - - } - - internal sealed partial class GetSuccess : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetSuccess()); - 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::Akka.DistributedData.Serialization.Proto.Msg.ReplicatorMessagesReflection.Descriptor.MessageTypes[1]; } - } - - [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 GetSuccess() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public GetSuccess(GetSuccess other) : this() { - key_ = other.key_ != null ? other.key_.Clone() : null; - data_ = other.data_ != null ? other.data_.Clone() : null; - request_ = other.request_ != null ? other.request_.Clone() : null; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public GetSuccess Clone() { - return new GetSuccess(this); - } - - /// Field number for the "key" field. - public const int KeyFieldNumber = 1; - private global::Akka.DistributedData.Serialization.Proto.Msg.OtherMessage key_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.DistributedData.Serialization.Proto.Msg.OtherMessage Key { - get { return key_; } - set { - key_ = value; - } - } - - /// Field number for the "data" field. - public const int DataFieldNumber = 2; - private global::Akka.DistributedData.Serialization.Proto.Msg.OtherMessage data_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.DistributedData.Serialization.Proto.Msg.OtherMessage Data { - get { return data_; } - set { - data_ = value; - } - } - - /// Field number for the "request" field. - public const int RequestFieldNumber = 4; - private global::Akka.DistributedData.Serialization.Proto.Msg.OtherMessage request_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.DistributedData.Serialization.Proto.Msg.OtherMessage Request { - get { return request_; } - set { - request_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as GetSuccess); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(GetSuccess other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (!object.Equals(Key, other.Key)) return false; - if (!object.Equals(Data, other.Data)) return false; - if (!object.Equals(Request, other.Request)) 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 (key_ != null) hash ^= Key.GetHashCode(); - if (data_ != null) hash ^= Data.GetHashCode(); - if (request_ != null) hash ^= Request.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 (key_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Key); - } - if (data_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Data); - } - if (request_ != null) { - output.WriteRawTag(34); - output.WriteMessage(Request); - } - 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 (key_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Key); - } - if (data_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Data); - } - if (request_ != null) { - output.WriteRawTag(34); - output.WriteMessage(Request); - } - 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 (key_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Key); - } - if (data_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Data); - } - if (request_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Request); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(GetSuccess other) { - if (other == null) { - return; - } - if (other.key_ != null) { - if (key_ == null) { - Key = new global::Akka.DistributedData.Serialization.Proto.Msg.OtherMessage(); - } - Key.MergeFrom(other.Key); - } - if (other.data_ != null) { - if (data_ == null) { - Data = new global::Akka.DistributedData.Serialization.Proto.Msg.OtherMessage(); - } - Data.MergeFrom(other.Data); - } - if (other.request_ != null) { - if (request_ == null) { - Request = new global::Akka.DistributedData.Serialization.Proto.Msg.OtherMessage(); - } - Request.MergeFrom(other.Request); - } - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - if (key_ == null) { - Key = new global::Akka.DistributedData.Serialization.Proto.Msg.OtherMessage(); - } - input.ReadMessage(Key); - break; - } - case 18: { - if (data_ == null) { - Data = new global::Akka.DistributedData.Serialization.Proto.Msg.OtherMessage(); - } - input.ReadMessage(Data); - break; - } - case 34: { - if (request_ == null) { - Request = new global::Akka.DistributedData.Serialization.Proto.Msg.OtherMessage(); - } - input.ReadMessage(Request); - 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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - if (key_ == null) { - Key = new global::Akka.DistributedData.Serialization.Proto.Msg.OtherMessage(); - } - input.ReadMessage(Key); - break; - } - case 18: { - if (data_ == null) { - Data = new global::Akka.DistributedData.Serialization.Proto.Msg.OtherMessage(); - } - input.ReadMessage(Data); - break; - } - case 34: { - if (request_ == null) { - Request = new global::Akka.DistributedData.Serialization.Proto.Msg.OtherMessage(); - } - input.ReadMessage(Request); - break; - } - } - } - } - #endif - - } - - internal sealed partial class NotFound : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new NotFound()); - 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::Akka.DistributedData.Serialization.Proto.Msg.ReplicatorMessagesReflection.Descriptor.MessageTypes[2]; } - } - - [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 NotFound() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public NotFound(NotFound other) : this() { - key_ = other.key_ != null ? other.key_.Clone() : null; - request_ = other.request_ != null ? other.request_.Clone() : null; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public NotFound Clone() { - return new NotFound(this); - } - - /// Field number for the "key" field. - public const int KeyFieldNumber = 1; - private global::Akka.DistributedData.Serialization.Proto.Msg.OtherMessage key_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.DistributedData.Serialization.Proto.Msg.OtherMessage Key { - get { return key_; } - set { - key_ = value; - } - } - - /// Field number for the "request" field. - public const int RequestFieldNumber = 2; - private global::Akka.DistributedData.Serialization.Proto.Msg.OtherMessage request_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.DistributedData.Serialization.Proto.Msg.OtherMessage Request { - get { return request_; } - set { - request_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as NotFound); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(NotFound other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (!object.Equals(Key, other.Key)) return false; - if (!object.Equals(Request, other.Request)) 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 (key_ != null) hash ^= Key.GetHashCode(); - if (request_ != null) hash ^= Request.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 (key_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Key); - } - if (request_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Request); - } - 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 (key_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Key); - } - if (request_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Request); - } - 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 (key_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Key); - } - if (request_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Request); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(NotFound other) { - if (other == null) { - return; - } - if (other.key_ != null) { - if (key_ == null) { - Key = new global::Akka.DistributedData.Serialization.Proto.Msg.OtherMessage(); - } - Key.MergeFrom(other.Key); - } - if (other.request_ != null) { - if (request_ == null) { - Request = new global::Akka.DistributedData.Serialization.Proto.Msg.OtherMessage(); - } - Request.MergeFrom(other.Request); - } - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - if (key_ == null) { - Key = new global::Akka.DistributedData.Serialization.Proto.Msg.OtherMessage(); - } - input.ReadMessage(Key); - break; - } - case 18: { - if (request_ == null) { - Request = new global::Akka.DistributedData.Serialization.Proto.Msg.OtherMessage(); - } - input.ReadMessage(Request); - 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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - if (key_ == null) { - Key = new global::Akka.DistributedData.Serialization.Proto.Msg.OtherMessage(); - } - input.ReadMessage(Key); - break; - } - case 18: { - if (request_ == null) { - Request = new global::Akka.DistributedData.Serialization.Proto.Msg.OtherMessage(); - } - input.ReadMessage(Request); - break; - } - } - } - } - #endif - - } - - internal sealed partial class GetFailure : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetFailure()); - 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::Akka.DistributedData.Serialization.Proto.Msg.ReplicatorMessagesReflection.Descriptor.MessageTypes[3]; } - } - - [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 GetFailure() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public GetFailure(GetFailure other) : this() { - key_ = other.key_ != null ? other.key_.Clone() : null; - request_ = other.request_ != null ? other.request_.Clone() : null; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public GetFailure Clone() { - return new GetFailure(this); - } - - /// Field number for the "key" field. - public const int KeyFieldNumber = 1; - private global::Akka.DistributedData.Serialization.Proto.Msg.OtherMessage key_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.DistributedData.Serialization.Proto.Msg.OtherMessage Key { - get { return key_; } - set { - key_ = value; - } - } - - /// Field number for the "request" field. - public const int RequestFieldNumber = 2; - private global::Akka.DistributedData.Serialization.Proto.Msg.OtherMessage request_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.DistributedData.Serialization.Proto.Msg.OtherMessage Request { - get { return request_; } - set { - request_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as GetFailure); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(GetFailure other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (!object.Equals(Key, other.Key)) return false; - if (!object.Equals(Request, other.Request)) 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 (key_ != null) hash ^= Key.GetHashCode(); - if (request_ != null) hash ^= Request.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 (key_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Key); - } - if (request_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Request); - } - 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 (key_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Key); - } - if (request_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Request); - } - 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 (key_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Key); - } - if (request_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Request); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(GetFailure other) { - if (other == null) { - return; - } - if (other.key_ != null) { - if (key_ == null) { - Key = new global::Akka.DistributedData.Serialization.Proto.Msg.OtherMessage(); - } - Key.MergeFrom(other.Key); - } - if (other.request_ != null) { - if (request_ == null) { - Request = new global::Akka.DistributedData.Serialization.Proto.Msg.OtherMessage(); - } - Request.MergeFrom(other.Request); - } - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - if (key_ == null) { - Key = new global::Akka.DistributedData.Serialization.Proto.Msg.OtherMessage(); - } - input.ReadMessage(Key); - break; - } - case 18: { - if (request_ == null) { - Request = new global::Akka.DistributedData.Serialization.Proto.Msg.OtherMessage(); - } - input.ReadMessage(Request); - 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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - if (key_ == null) { - Key = new global::Akka.DistributedData.Serialization.Proto.Msg.OtherMessage(); - } - input.ReadMessage(Key); - break; - } - case 18: { - if (request_ == null) { - Request = new global::Akka.DistributedData.Serialization.Proto.Msg.OtherMessage(); - } - input.ReadMessage(Request); - break; - } - } - } - } - #endif - - } - - internal sealed partial class Subscribe : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Subscribe()); - 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::Akka.DistributedData.Serialization.Proto.Msg.ReplicatorMessagesReflection.Descriptor.MessageTypes[4]; } - } - - [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 Subscribe() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Subscribe(Subscribe other) : this() { - key_ = other.key_ != null ? other.key_.Clone() : null; - ref_ = other.ref_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Subscribe Clone() { - return new Subscribe(this); - } - - /// Field number for the "key" field. - public const int KeyFieldNumber = 1; - private global::Akka.DistributedData.Serialization.Proto.Msg.OtherMessage key_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.DistributedData.Serialization.Proto.Msg.OtherMessage Key { - get { return key_; } - set { - key_ = value; - } - } - - /// Field number for the "ref" field. - public const int RefFieldNumber = 2; - private string ref_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Ref { - get { return ref_; } - set { - ref_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as Subscribe); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(Subscribe other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (!object.Equals(Key, other.Key)) return false; - if (Ref != other.Ref) 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 (key_ != null) hash ^= Key.GetHashCode(); - if (Ref.Length != 0) hash ^= Ref.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 (key_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Key); - } - if (Ref.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Ref); - } - 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 (key_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Key); - } - if (Ref.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Ref); - } - 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 (key_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Key); - } - if (Ref.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Ref); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(Subscribe other) { - if (other == null) { - return; - } - if (other.key_ != null) { - if (key_ == null) { - Key = new global::Akka.DistributedData.Serialization.Proto.Msg.OtherMessage(); - } - Key.MergeFrom(other.Key); - } - if (other.Ref.Length != 0) { - Ref = other.Ref; - } - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - if (key_ == null) { - Key = new global::Akka.DistributedData.Serialization.Proto.Msg.OtherMessage(); - } - input.ReadMessage(Key); - break; - } - case 18: { - Ref = input.ReadString(); - 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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - if (key_ == null) { - Key = new global::Akka.DistributedData.Serialization.Proto.Msg.OtherMessage(); - } - input.ReadMessage(Key); - break; - } - case 18: { - Ref = input.ReadString(); - break; - } - } - } - } - #endif - - } - - internal sealed partial class Unsubscribe : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Unsubscribe()); - 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::Akka.DistributedData.Serialization.Proto.Msg.ReplicatorMessagesReflection.Descriptor.MessageTypes[5]; } - } - - [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 Unsubscribe() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Unsubscribe(Unsubscribe other) : this() { - key_ = other.key_ != null ? other.key_.Clone() : null; - ref_ = other.ref_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Unsubscribe Clone() { - return new Unsubscribe(this); - } - - /// Field number for the "key" field. - public const int KeyFieldNumber = 1; - private global::Akka.DistributedData.Serialization.Proto.Msg.OtherMessage key_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.DistributedData.Serialization.Proto.Msg.OtherMessage Key { - get { return key_; } - set { - key_ = value; - } - } - - /// Field number for the "ref" field. - public const int RefFieldNumber = 2; - private string ref_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Ref { - get { return ref_; } - set { - ref_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as Unsubscribe); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(Unsubscribe other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (!object.Equals(Key, other.Key)) return false; - if (Ref != other.Ref) 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 (key_ != null) hash ^= Key.GetHashCode(); - if (Ref.Length != 0) hash ^= Ref.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 (key_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Key); - } - if (Ref.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Ref); - } - 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 (key_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Key); - } - if (Ref.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Ref); - } - 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 (key_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Key); - } - if (Ref.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Ref); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(Unsubscribe other) { - if (other == null) { - return; - } - if (other.key_ != null) { - if (key_ == null) { - Key = new global::Akka.DistributedData.Serialization.Proto.Msg.OtherMessage(); - } - Key.MergeFrom(other.Key); - } - if (other.Ref.Length != 0) { - Ref = other.Ref; - } - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - if (key_ == null) { - Key = new global::Akka.DistributedData.Serialization.Proto.Msg.OtherMessage(); - } - input.ReadMessage(Key); - break; - } - case 18: { - Ref = input.ReadString(); - 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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - if (key_ == null) { - Key = new global::Akka.DistributedData.Serialization.Proto.Msg.OtherMessage(); - } - input.ReadMessage(Key); - break; - } - case 18: { - Ref = input.ReadString(); - break; - } - } - } - } - #endif - - } - - internal sealed partial class Changed : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Changed()); - 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::Akka.DistributedData.Serialization.Proto.Msg.ReplicatorMessagesReflection.Descriptor.MessageTypes[6]; } - } - - [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 Changed() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Changed(Changed other) : this() { - key_ = other.key_ != null ? other.key_.Clone() : null; - data_ = other.data_ != null ? other.data_.Clone() : null; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Changed Clone() { - return new Changed(this); - } - - /// Field number for the "key" field. - public const int KeyFieldNumber = 1; - private global::Akka.DistributedData.Serialization.Proto.Msg.OtherMessage key_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.DistributedData.Serialization.Proto.Msg.OtherMessage Key { - get { return key_; } - set { - key_ = value; - } - } - - /// Field number for the "data" field. - public const int DataFieldNumber = 2; - private global::Akka.DistributedData.Serialization.Proto.Msg.OtherMessage data_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.DistributedData.Serialization.Proto.Msg.OtherMessage Data { - get { return data_; } - set { - data_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as Changed); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(Changed other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (!object.Equals(Key, other.Key)) return false; - if (!object.Equals(Data, other.Data)) 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 (key_ != null) hash ^= Key.GetHashCode(); - if (data_ != null) hash ^= Data.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 (key_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Key); - } - if (data_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Data); - } - 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 (key_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Key); - } - if (data_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Data); - } - 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 (key_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Key); - } - if (data_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Data); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(Changed other) { - if (other == null) { - return; - } - if (other.key_ != null) { - if (key_ == null) { - Key = new global::Akka.DistributedData.Serialization.Proto.Msg.OtherMessage(); - } - Key.MergeFrom(other.Key); - } - if (other.data_ != null) { - if (data_ == null) { - Data = new global::Akka.DistributedData.Serialization.Proto.Msg.OtherMessage(); - } - Data.MergeFrom(other.Data); - } - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - if (key_ == null) { - Key = new global::Akka.DistributedData.Serialization.Proto.Msg.OtherMessage(); - } - input.ReadMessage(Key); - break; - } - case 18: { - if (data_ == null) { - Data = new global::Akka.DistributedData.Serialization.Proto.Msg.OtherMessage(); - } - input.ReadMessage(Data); - 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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - if (key_ == null) { - Key = new global::Akka.DistributedData.Serialization.Proto.Msg.OtherMessage(); - } - input.ReadMessage(Key); - break; - } - case 18: { - if (data_ == null) { - Data = new global::Akka.DistributedData.Serialization.Proto.Msg.OtherMessage(); - } - input.ReadMessage(Data); - break; - } - } - } - } - #endif - - } - - internal sealed partial class Write : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Write()); - 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::Akka.DistributedData.Serialization.Proto.Msg.ReplicatorMessagesReflection.Descriptor.MessageTypes[7]; } - } - - [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 Write() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Write(Write other) : this() { - key_ = other.key_; - envelope_ = other.envelope_ != null ? other.envelope_.Clone() : null; - fromNode_ = other.fromNode_ != null ? other.fromNode_.Clone() : null; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Write Clone() { - return new Write(this); - } - - /// Field number for the "key" field. - public const int KeyFieldNumber = 1; - private string key_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Key { - get { return key_; } - set { - key_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "envelope" field. - public const int EnvelopeFieldNumber = 2; - private global::Akka.DistributedData.Serialization.Proto.Msg.DataEnvelope envelope_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.DistributedData.Serialization.Proto.Msg.DataEnvelope Envelope { - get { return envelope_; } - set { - envelope_ = value; - } - } - - /// Field number for the "fromNode" field. - public const int FromNodeFieldNumber = 3; - private global::Akka.DistributedData.Serialization.Proto.Msg.UniqueAddress fromNode_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.DistributedData.Serialization.Proto.Msg.UniqueAddress FromNode { - get { return fromNode_; } - set { - fromNode_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as Write); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(Write other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Key != other.Key) return false; - if (!object.Equals(Envelope, other.Envelope)) return false; - if (!object.Equals(FromNode, other.FromNode)) 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 (Key.Length != 0) hash ^= Key.GetHashCode(); - if (envelope_ != null) hash ^= Envelope.GetHashCode(); - if (fromNode_ != null) hash ^= FromNode.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 (Key.Length != 0) { - output.WriteRawTag(10); - output.WriteString(Key); - } - if (envelope_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Envelope); - } - if (fromNode_ != null) { - output.WriteRawTag(26); - output.WriteMessage(FromNode); - } - 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 (Key.Length != 0) { - output.WriteRawTag(10); - output.WriteString(Key); - } - if (envelope_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Envelope); - } - if (fromNode_ != null) { - output.WriteRawTag(26); - output.WriteMessage(FromNode); - } - 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 (Key.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Key); - } - if (envelope_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Envelope); - } - if (fromNode_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(FromNode); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(Write other) { - if (other == null) { - return; - } - if (other.Key.Length != 0) { - Key = other.Key; - } - if (other.envelope_ != null) { - if (envelope_ == null) { - Envelope = new global::Akka.DistributedData.Serialization.Proto.Msg.DataEnvelope(); - } - Envelope.MergeFrom(other.Envelope); - } - if (other.fromNode_ != null) { - if (fromNode_ == null) { - FromNode = new global::Akka.DistributedData.Serialization.Proto.Msg.UniqueAddress(); - } - FromNode.MergeFrom(other.FromNode); - } - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - Key = input.ReadString(); - break; - } - case 18: { - if (envelope_ == null) { - Envelope = new global::Akka.DistributedData.Serialization.Proto.Msg.DataEnvelope(); - } - input.ReadMessage(Envelope); - break; - } - case 26: { - if (fromNode_ == null) { - FromNode = new global::Akka.DistributedData.Serialization.Proto.Msg.UniqueAddress(); - } - input.ReadMessage(FromNode); - 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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - Key = input.ReadString(); - break; - } - case 18: { - if (envelope_ == null) { - Envelope = new global::Akka.DistributedData.Serialization.Proto.Msg.DataEnvelope(); - } - input.ReadMessage(Envelope); - break; - } - case 26: { - if (fromNode_ == null) { - FromNode = new global::Akka.DistributedData.Serialization.Proto.Msg.UniqueAddress(); - } - input.ReadMessage(FromNode); - break; - } - } - } - } - #endif - - } - - internal sealed partial class Empty : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Empty()); - 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::Akka.DistributedData.Serialization.Proto.Msg.ReplicatorMessagesReflection.Descriptor.MessageTypes[8]; } - } - - [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 Empty() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Empty(Empty other) : this() { - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Empty Clone() { - return new Empty(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as Empty); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(Empty other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - 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 (_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 (_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 (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(Empty other) { - if (other == null) { - return; - } - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - 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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - } - } - } - #endif - - } - - internal sealed partial class Read : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Read()); - 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::Akka.DistributedData.Serialization.Proto.Msg.ReplicatorMessagesReflection.Descriptor.MessageTypes[9]; } - } - - [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 Read() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Read(Read other) : this() { - key_ = other.key_; - fromNode_ = other.fromNode_ != null ? other.fromNode_.Clone() : null; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Read Clone() { - return new Read(this); - } - - /// Field number for the "key" field. - public const int KeyFieldNumber = 1; - private string key_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Key { - get { return key_; } - set { - key_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "fromNode" field. - public const int FromNodeFieldNumber = 2; - private global::Akka.DistributedData.Serialization.Proto.Msg.UniqueAddress fromNode_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.DistributedData.Serialization.Proto.Msg.UniqueAddress FromNode { - get { return fromNode_; } - set { - fromNode_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as Read); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(Read other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Key != other.Key) return false; - if (!object.Equals(FromNode, other.FromNode)) 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 (Key.Length != 0) hash ^= Key.GetHashCode(); - if (fromNode_ != null) hash ^= FromNode.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 (Key.Length != 0) { - output.WriteRawTag(10); - output.WriteString(Key); - } - if (fromNode_ != null) { - output.WriteRawTag(18); - output.WriteMessage(FromNode); - } - 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 (Key.Length != 0) { - output.WriteRawTag(10); - output.WriteString(Key); - } - if (fromNode_ != null) { - output.WriteRawTag(18); - output.WriteMessage(FromNode); - } - 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 (Key.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Key); - } - if (fromNode_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(FromNode); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(Read other) { - if (other == null) { - return; - } - if (other.Key.Length != 0) { - Key = other.Key; - } - if (other.fromNode_ != null) { - if (fromNode_ == null) { - FromNode = new global::Akka.DistributedData.Serialization.Proto.Msg.UniqueAddress(); - } - FromNode.MergeFrom(other.FromNode); - } - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - Key = input.ReadString(); - break; - } - case 18: { - if (fromNode_ == null) { - FromNode = new global::Akka.DistributedData.Serialization.Proto.Msg.UniqueAddress(); - } - input.ReadMessage(FromNode); - 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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - Key = input.ReadString(); - break; - } - case 18: { - if (fromNode_ == null) { - FromNode = new global::Akka.DistributedData.Serialization.Proto.Msg.UniqueAddress(); - } - input.ReadMessage(FromNode); - break; - } - } - } - } - #endif - - } - - internal sealed partial class ReadResult : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ReadResult()); - 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::Akka.DistributedData.Serialization.Proto.Msg.ReplicatorMessagesReflection.Descriptor.MessageTypes[10]; } - } - - [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 ReadResult() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ReadResult(ReadResult other) : this() { - envelope_ = other.envelope_ != null ? other.envelope_.Clone() : null; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ReadResult Clone() { - return new ReadResult(this); - } - - /// Field number for the "envelope" field. - public const int EnvelopeFieldNumber = 1; - private global::Akka.DistributedData.Serialization.Proto.Msg.DataEnvelope envelope_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.DistributedData.Serialization.Proto.Msg.DataEnvelope Envelope { - get { return envelope_; } - set { - envelope_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ReadResult); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ReadResult other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (!object.Equals(Envelope, other.Envelope)) 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 (envelope_ != null) hash ^= Envelope.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 (envelope_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Envelope); - } - 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 (envelope_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Envelope); - } - 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 (envelope_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Envelope); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ReadResult other) { - if (other == null) { - return; - } - if (other.envelope_ != null) { - if (envelope_ == null) { - Envelope = new global::Akka.DistributedData.Serialization.Proto.Msg.DataEnvelope(); - } - Envelope.MergeFrom(other.Envelope); - } - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - if (envelope_ == null) { - Envelope = new global::Akka.DistributedData.Serialization.Proto.Msg.DataEnvelope(); - } - input.ReadMessage(Envelope); - 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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - if (envelope_ == null) { - Envelope = new global::Akka.DistributedData.Serialization.Proto.Msg.DataEnvelope(); - } - input.ReadMessage(Envelope); - break; - } - } - } - } - #endif - - } - - internal sealed partial class DataEnvelope : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DataEnvelope()); - 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::Akka.DistributedData.Serialization.Proto.Msg.ReplicatorMessagesReflection.Descriptor.MessageTypes[11]; } - } - - [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 DataEnvelope() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public DataEnvelope(DataEnvelope other) : this() { - data_ = other.data_ != null ? other.data_.Clone() : null; - pruning_ = other.pruning_.Clone(); - deltaVersions_ = other.deltaVersions_ != null ? other.deltaVersions_.Clone() : null; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public DataEnvelope Clone() { - return new DataEnvelope(this); - } - - /// Field number for the "data" field. - public const int DataFieldNumber = 1; - private global::Akka.DistributedData.Serialization.Proto.Msg.OtherMessage data_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.DistributedData.Serialization.Proto.Msg.OtherMessage Data { - get { return data_; } - set { - data_ = value; - } - } - - /// Field number for the "pruning" field. - public const int PruningFieldNumber = 2; - private static readonly pb::FieldCodec _repeated_pruning_codec - = pb::FieldCodec.ForMessage(18, global::Akka.DistributedData.Serialization.Proto.Msg.DataEnvelope.Types.PruningEntry.Parser); - private readonly pbc::RepeatedField pruning_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField Pruning { - get { return pruning_; } - } - - /// Field number for the "deltaVersions" field. - public const int DeltaVersionsFieldNumber = 3; - private global::Akka.DistributedData.Serialization.Proto.Msg.VersionVector deltaVersions_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.DistributedData.Serialization.Proto.Msg.VersionVector DeltaVersions { - get { return deltaVersions_; } - set { - deltaVersions_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as DataEnvelope); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(DataEnvelope other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (!object.Equals(Data, other.Data)) return false; - if(!pruning_.Equals(other.pruning_)) return false; - if (!object.Equals(DeltaVersions, other.DeltaVersions)) 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 (data_ != null) hash ^= Data.GetHashCode(); - hash ^= pruning_.GetHashCode(); - if (deltaVersions_ != null) hash ^= DeltaVersions.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 (data_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Data); - } - pruning_.WriteTo(output, _repeated_pruning_codec); - if (deltaVersions_ != null) { - output.WriteRawTag(26); - output.WriteMessage(DeltaVersions); - } - 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 (data_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Data); - } - pruning_.WriteTo(ref output, _repeated_pruning_codec); - if (deltaVersions_ != null) { - output.WriteRawTag(26); - output.WriteMessage(DeltaVersions); - } - 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 (data_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Data); - } - size += pruning_.CalculateSize(_repeated_pruning_codec); - if (deltaVersions_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(DeltaVersions); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(DataEnvelope other) { - if (other == null) { - return; - } - if (other.data_ != null) { - if (data_ == null) { - Data = new global::Akka.DistributedData.Serialization.Proto.Msg.OtherMessage(); - } - Data.MergeFrom(other.Data); - } - pruning_.Add(other.pruning_); - if (other.deltaVersions_ != null) { - if (deltaVersions_ == null) { - DeltaVersions = new global::Akka.DistributedData.Serialization.Proto.Msg.VersionVector(); - } - DeltaVersions.MergeFrom(other.DeltaVersions); - } - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - if (data_ == null) { - Data = new global::Akka.DistributedData.Serialization.Proto.Msg.OtherMessage(); - } - input.ReadMessage(Data); - break; - } - case 18: { - pruning_.AddEntriesFrom(input, _repeated_pruning_codec); - break; - } - case 26: { - if (deltaVersions_ == null) { - DeltaVersions = new global::Akka.DistributedData.Serialization.Proto.Msg.VersionVector(); - } - input.ReadMessage(DeltaVersions); - 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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - if (data_ == null) { - Data = new global::Akka.DistributedData.Serialization.Proto.Msg.OtherMessage(); - } - input.ReadMessage(Data); - break; - } - case 18: { - pruning_.AddEntriesFrom(ref input, _repeated_pruning_codec); - break; - } - case 26: { - if (deltaVersions_ == null) { - DeltaVersions = new global::Akka.DistributedData.Serialization.Proto.Msg.VersionVector(); - } - input.ReadMessage(DeltaVersions); - break; - } - } - } - } - #endif - - #region Nested types - /// Container for nested types declared in the DataEnvelope message type. - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static partial class Types { - internal sealed partial class PruningEntry : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new PruningEntry()); - 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::Akka.DistributedData.Serialization.Proto.Msg.DataEnvelope.Descriptor.NestedTypes[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 PruningEntry() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public PruningEntry(PruningEntry other) : this() { - removedAddress_ = other.removedAddress_ != null ? other.removedAddress_.Clone() : null; - ownerAddress_ = other.ownerAddress_ != null ? other.ownerAddress_.Clone() : null; - performed_ = other.performed_; - seen_ = other.seen_.Clone(); - obsoleteTime_ = other.obsoleteTime_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public PruningEntry Clone() { - return new PruningEntry(this); - } - - /// Field number for the "removedAddress" field. - public const int RemovedAddressFieldNumber = 1; - private global::Akka.DistributedData.Serialization.Proto.Msg.UniqueAddress removedAddress_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.DistributedData.Serialization.Proto.Msg.UniqueAddress RemovedAddress { - get { return removedAddress_; } - set { - removedAddress_ = value; - } - } - - /// Field number for the "ownerAddress" field. - public const int OwnerAddressFieldNumber = 2; - private global::Akka.DistributedData.Serialization.Proto.Msg.UniqueAddress ownerAddress_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.DistributedData.Serialization.Proto.Msg.UniqueAddress OwnerAddress { - get { return ownerAddress_; } - set { - ownerAddress_ = value; - } - } - - /// Field number for the "performed" field. - public const int PerformedFieldNumber = 3; - private bool performed_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Performed { - get { return performed_; } - set { - performed_ = value; - } - } - - /// Field number for the "seen" field. - public const int SeenFieldNumber = 4; - private static readonly pb::FieldCodec _repeated_seen_codec - = pb::FieldCodec.ForMessage(34, global::Akka.DistributedData.Serialization.Proto.Msg.Address.Parser); - private readonly pbc::RepeatedField seen_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField Seen { - get { return seen_; } - } - - /// Field number for the "obsoleteTime" field. - public const int ObsoleteTimeFieldNumber = 5; - private long obsoleteTime_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public long ObsoleteTime { - get { return obsoleteTime_; } - set { - obsoleteTime_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as PruningEntry); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(PruningEntry other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (!object.Equals(RemovedAddress, other.RemovedAddress)) return false; - if (!object.Equals(OwnerAddress, other.OwnerAddress)) return false; - if (Performed != other.Performed) return false; - if(!seen_.Equals(other.seen_)) return false; - if (ObsoleteTime != other.ObsoleteTime) 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 (removedAddress_ != null) hash ^= RemovedAddress.GetHashCode(); - if (ownerAddress_ != null) hash ^= OwnerAddress.GetHashCode(); - if (Performed != false) hash ^= Performed.GetHashCode(); - hash ^= seen_.GetHashCode(); - if (ObsoleteTime != 0L) hash ^= ObsoleteTime.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 (removedAddress_ != null) { - output.WriteRawTag(10); - output.WriteMessage(RemovedAddress); - } - if (ownerAddress_ != null) { - output.WriteRawTag(18); - output.WriteMessage(OwnerAddress); - } - if (Performed != false) { - output.WriteRawTag(24); - output.WriteBool(Performed); - } - seen_.WriteTo(output, _repeated_seen_codec); - if (ObsoleteTime != 0L) { - output.WriteRawTag(40); - output.WriteSInt64(ObsoleteTime); - } - 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 (removedAddress_ != null) { - output.WriteRawTag(10); - output.WriteMessage(RemovedAddress); - } - if (ownerAddress_ != null) { - output.WriteRawTag(18); - output.WriteMessage(OwnerAddress); - } - if (Performed != false) { - output.WriteRawTag(24); - output.WriteBool(Performed); - } - seen_.WriteTo(ref output, _repeated_seen_codec); - if (ObsoleteTime != 0L) { - output.WriteRawTag(40); - output.WriteSInt64(ObsoleteTime); - } - 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 (removedAddress_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(RemovedAddress); - } - if (ownerAddress_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(OwnerAddress); - } - if (Performed != false) { - size += 1 + 1; - } - size += seen_.CalculateSize(_repeated_seen_codec); - if (ObsoleteTime != 0L) { - size += 1 + pb::CodedOutputStream.ComputeSInt64Size(ObsoleteTime); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(PruningEntry other) { - if (other == null) { - return; - } - if (other.removedAddress_ != null) { - if (removedAddress_ == null) { - RemovedAddress = new global::Akka.DistributedData.Serialization.Proto.Msg.UniqueAddress(); - } - RemovedAddress.MergeFrom(other.RemovedAddress); - } - if (other.ownerAddress_ != null) { - if (ownerAddress_ == null) { - OwnerAddress = new global::Akka.DistributedData.Serialization.Proto.Msg.UniqueAddress(); - } - OwnerAddress.MergeFrom(other.OwnerAddress); - } - if (other.Performed != false) { - Performed = other.Performed; - } - seen_.Add(other.seen_); - if (other.ObsoleteTime != 0L) { - ObsoleteTime = other.ObsoleteTime; - } - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - if (removedAddress_ == null) { - RemovedAddress = new global::Akka.DistributedData.Serialization.Proto.Msg.UniqueAddress(); - } - input.ReadMessage(RemovedAddress); - break; - } - case 18: { - if (ownerAddress_ == null) { - OwnerAddress = new global::Akka.DistributedData.Serialization.Proto.Msg.UniqueAddress(); - } - input.ReadMessage(OwnerAddress); - break; - } - case 24: { - Performed = input.ReadBool(); - break; - } - case 34: { - seen_.AddEntriesFrom(input, _repeated_seen_codec); - break; - } - case 40: { - ObsoleteTime = input.ReadSInt64(); - 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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - if (removedAddress_ == null) { - RemovedAddress = new global::Akka.DistributedData.Serialization.Proto.Msg.UniqueAddress(); - } - input.ReadMessage(RemovedAddress); - break; - } - case 18: { - if (ownerAddress_ == null) { - OwnerAddress = new global::Akka.DistributedData.Serialization.Proto.Msg.UniqueAddress(); - } - input.ReadMessage(OwnerAddress); - break; - } - case 24: { - Performed = input.ReadBool(); - break; - } - case 34: { - seen_.AddEntriesFrom(ref input, _repeated_seen_codec); - break; - } - case 40: { - ObsoleteTime = input.ReadSInt64(); - break; - } - } - } - } - #endif - - } - - } - #endregion - - } - - internal sealed partial class Status : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Status()); - 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::Akka.DistributedData.Serialization.Proto.Msg.ReplicatorMessagesReflection.Descriptor.MessageTypes[12]; } - } - - [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 Status() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Status(Status other) : this() { - chunk_ = other.chunk_; - totChunks_ = other.totChunks_; - entries_ = other.entries_.Clone(); - toSystemUid_ = other.toSystemUid_; - fromSystemUid_ = other.fromSystemUid_; - hasToSystemUid_ = other.hasToSystemUid_; - hasFromSystemUid_ = other.hasFromSystemUid_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Status Clone() { - return new Status(this); - } - - /// Field number for the "chunk" field. - public const int ChunkFieldNumber = 1; - private uint chunk_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public uint Chunk { - get { return chunk_; } - set { - chunk_ = value; - } - } - - /// Field number for the "totChunks" field. - public const int TotChunksFieldNumber = 2; - private uint totChunks_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public uint TotChunks { - get { return totChunks_; } - set { - totChunks_ = value; - } - } - - /// Field number for the "entries" field. - public const int EntriesFieldNumber = 3; - private static readonly pb::FieldCodec _repeated_entries_codec - = pb::FieldCodec.ForMessage(26, global::Akka.DistributedData.Serialization.Proto.Msg.Status.Types.Entry.Parser); - private readonly pbc::RepeatedField entries_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField Entries { - get { return entries_; } - } - - /// Field number for the "toSystemUid" field. - public const int ToSystemUidFieldNumber = 4; - private long toSystemUid_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public long ToSystemUid { - get { return toSystemUid_; } - set { - toSystemUid_ = value; - } - } - - /// Field number for the "fromSystemUid" field. - public const int FromSystemUidFieldNumber = 5; - private long fromSystemUid_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public long FromSystemUid { - get { return fromSystemUid_; } - set { - fromSystemUid_ = value; - } - } - - /// Field number for the "hasToSystemUid" field. - public const int HasToSystemUidFieldNumber = 6; - private bool hasToSystemUid_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasToSystemUid { - get { return hasToSystemUid_; } - set { - hasToSystemUid_ = value; - } - } - - /// Field number for the "hasFromSystemUid" field. - public const int HasFromSystemUidFieldNumber = 7; - private bool hasFromSystemUid_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasFromSystemUid { - get { return hasFromSystemUid_; } - set { - hasFromSystemUid_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as Status); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(Status other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Chunk != other.Chunk) return false; - if (TotChunks != other.TotChunks) return false; - if(!entries_.Equals(other.entries_)) return false; - if (ToSystemUid != other.ToSystemUid) return false; - if (FromSystemUid != other.FromSystemUid) return false; - if (HasToSystemUid != other.HasToSystemUid) return false; - if (HasFromSystemUid != other.HasFromSystemUid) 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 (Chunk != 0) hash ^= Chunk.GetHashCode(); - if (TotChunks != 0) hash ^= TotChunks.GetHashCode(); - hash ^= entries_.GetHashCode(); - if (ToSystemUid != 0L) hash ^= ToSystemUid.GetHashCode(); - if (FromSystemUid != 0L) hash ^= FromSystemUid.GetHashCode(); - if (HasToSystemUid != false) hash ^= HasToSystemUid.GetHashCode(); - if (HasFromSystemUid != false) hash ^= HasFromSystemUid.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 (Chunk != 0) { - output.WriteRawTag(8); - output.WriteUInt32(Chunk); - } - if (TotChunks != 0) { - output.WriteRawTag(16); - output.WriteUInt32(TotChunks); - } - entries_.WriteTo(output, _repeated_entries_codec); - if (ToSystemUid != 0L) { - output.WriteRawTag(33); - output.WriteSFixed64(ToSystemUid); - } - if (FromSystemUid != 0L) { - output.WriteRawTag(41); - output.WriteSFixed64(FromSystemUid); - } - if (HasToSystemUid != false) { - output.WriteRawTag(48); - output.WriteBool(HasToSystemUid); - } - if (HasFromSystemUid != false) { - output.WriteRawTag(56); - output.WriteBool(HasFromSystemUid); - } - 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 (Chunk != 0) { - output.WriteRawTag(8); - output.WriteUInt32(Chunk); - } - if (TotChunks != 0) { - output.WriteRawTag(16); - output.WriteUInt32(TotChunks); - } - entries_.WriteTo(ref output, _repeated_entries_codec); - if (ToSystemUid != 0L) { - output.WriteRawTag(33); - output.WriteSFixed64(ToSystemUid); - } - if (FromSystemUid != 0L) { - output.WriteRawTag(41); - output.WriteSFixed64(FromSystemUid); - } - if (HasToSystemUid != false) { - output.WriteRawTag(48); - output.WriteBool(HasToSystemUid); - } - if (HasFromSystemUid != false) { - output.WriteRawTag(56); - output.WriteBool(HasFromSystemUid); - } - 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 (Chunk != 0) { - size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Chunk); - } - if (TotChunks != 0) { - size += 1 + pb::CodedOutputStream.ComputeUInt32Size(TotChunks); - } - size += entries_.CalculateSize(_repeated_entries_codec); - if (ToSystemUid != 0L) { - size += 1 + 8; - } - if (FromSystemUid != 0L) { - size += 1 + 8; - } - if (HasToSystemUid != false) { - size += 1 + 1; - } - if (HasFromSystemUid != false) { - size += 1 + 1; - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(Status other) { - if (other == null) { - return; - } - if (other.Chunk != 0) { - Chunk = other.Chunk; - } - if (other.TotChunks != 0) { - TotChunks = other.TotChunks; - } - entries_.Add(other.entries_); - if (other.ToSystemUid != 0L) { - ToSystemUid = other.ToSystemUid; - } - if (other.FromSystemUid != 0L) { - FromSystemUid = other.FromSystemUid; - } - if (other.HasToSystemUid != false) { - HasToSystemUid = other.HasToSystemUid; - } - if (other.HasFromSystemUid != false) { - HasFromSystemUid = other.HasFromSystemUid; - } - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 8: { - Chunk = input.ReadUInt32(); - break; - } - case 16: { - TotChunks = input.ReadUInt32(); - break; - } - case 26: { - entries_.AddEntriesFrom(input, _repeated_entries_codec); - break; - } - case 33: { - ToSystemUid = input.ReadSFixed64(); - break; - } - case 41: { - FromSystemUid = input.ReadSFixed64(); - break; - } - case 48: { - HasToSystemUid = input.ReadBool(); - break; - } - case 56: { - HasFromSystemUid = input.ReadBool(); - 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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 8: { - Chunk = input.ReadUInt32(); - break; - } - case 16: { - TotChunks = input.ReadUInt32(); - break; - } - case 26: { - entries_.AddEntriesFrom(ref input, _repeated_entries_codec); - break; - } - case 33: { - ToSystemUid = input.ReadSFixed64(); - break; - } - case 41: { - FromSystemUid = input.ReadSFixed64(); - break; - } - case 48: { - HasToSystemUid = input.ReadBool(); - break; - } - case 56: { - HasFromSystemUid = input.ReadBool(); - break; - } - } - } - } - #endif - - #region Nested types - /// Container for nested types declared in the Status message type. - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static partial class Types { - internal sealed partial class Entry : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Entry()); - 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::Akka.DistributedData.Serialization.Proto.Msg.Status.Descriptor.NestedTypes[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 Entry() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Entry(Entry other) : this() { - key_ = other.key_; - digest_ = other.digest_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Entry Clone() { - return new Entry(this); - } - - /// Field number for the "key" field. - public const int KeyFieldNumber = 1; - private string key_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Key { - get { return key_; } - set { - key_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "digest" field. - public const int DigestFieldNumber = 2; - private pb::ByteString digest_ = pb::ByteString.Empty; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pb::ByteString Digest { - get { return digest_; } - set { - digest_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as Entry); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(Entry other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Key != other.Key) return false; - if (Digest != other.Digest) 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 (Key.Length != 0) hash ^= Key.GetHashCode(); - if (Digest.Length != 0) hash ^= Digest.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 (Key.Length != 0) { - output.WriteRawTag(10); - output.WriteString(Key); - } - if (Digest.Length != 0) { - output.WriteRawTag(18); - output.WriteBytes(Digest); - } - 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 (Key.Length != 0) { - output.WriteRawTag(10); - output.WriteString(Key); - } - if (Digest.Length != 0) { - output.WriteRawTag(18); - output.WriteBytes(Digest); - } - 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 (Key.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Key); - } - if (Digest.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeBytesSize(Digest); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(Entry other) { - if (other == null) { - return; - } - if (other.Key.Length != 0) { - Key = other.Key; - } - if (other.Digest.Length != 0) { - Digest = other.Digest; - } - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - Key = input.ReadString(); - break; - } - case 18: { - Digest = input.ReadBytes(); - 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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - Key = input.ReadString(); - break; - } - case 18: { - Digest = input.ReadBytes(); - break; - } - } - } - } - #endif - - } - - } - #endregion - - } - - internal sealed partial class Gossip : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Gossip()); - 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::Akka.DistributedData.Serialization.Proto.Msg.ReplicatorMessagesReflection.Descriptor.MessageTypes[13]; } - } - - [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 Gossip() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Gossip(Gossip other) : this() { - sendBack_ = other.sendBack_; - entries_ = other.entries_.Clone(); - toSystemUid_ = other.toSystemUid_; - fromSystemUid_ = other.fromSystemUid_; - hasToSystemUid_ = other.hasToSystemUid_; - hasFromSystemUid_ = other.hasFromSystemUid_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Gossip Clone() { - return new Gossip(this); - } - - /// Field number for the "sendBack" field. - public const int SendBackFieldNumber = 1; - private bool sendBack_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool SendBack { - get { return sendBack_; } - set { - sendBack_ = value; - } - } - - /// Field number for the "entries" field. - public const int EntriesFieldNumber = 2; - private static readonly pb::FieldCodec _repeated_entries_codec - = pb::FieldCodec.ForMessage(18, global::Akka.DistributedData.Serialization.Proto.Msg.Gossip.Types.Entry.Parser); - private readonly pbc::RepeatedField entries_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField Entries { - get { return entries_; } - } - - /// Field number for the "toSystemUid" field. - public const int ToSystemUidFieldNumber = 3; - private long toSystemUid_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public long ToSystemUid { - get { return toSystemUid_; } - set { - toSystemUid_ = value; - } - } - - /// Field number for the "fromSystemUid" field. - public const int FromSystemUidFieldNumber = 4; - private long fromSystemUid_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public long FromSystemUid { - get { return fromSystemUid_; } - set { - fromSystemUid_ = value; - } - } - - /// Field number for the "hasToSystemUid" field. - public const int HasToSystemUidFieldNumber = 5; - private bool hasToSystemUid_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasToSystemUid { - get { return hasToSystemUid_; } - set { - hasToSystemUid_ = value; - } - } - - /// Field number for the "hasFromSystemUid" field. - public const int HasFromSystemUidFieldNumber = 6; - private bool hasFromSystemUid_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasFromSystemUid { - get { return hasFromSystemUid_; } - set { - hasFromSystemUid_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as Gossip); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(Gossip other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (SendBack != other.SendBack) return false; - if(!entries_.Equals(other.entries_)) return false; - if (ToSystemUid != other.ToSystemUid) return false; - if (FromSystemUid != other.FromSystemUid) return false; - if (HasToSystemUid != other.HasToSystemUid) return false; - if (HasFromSystemUid != other.HasFromSystemUid) 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 (SendBack != false) hash ^= SendBack.GetHashCode(); - hash ^= entries_.GetHashCode(); - if (ToSystemUid != 0L) hash ^= ToSystemUid.GetHashCode(); - if (FromSystemUid != 0L) hash ^= FromSystemUid.GetHashCode(); - if (HasToSystemUid != false) hash ^= HasToSystemUid.GetHashCode(); - if (HasFromSystemUid != false) hash ^= HasFromSystemUid.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 (SendBack != false) { - output.WriteRawTag(8); - output.WriteBool(SendBack); - } - entries_.WriteTo(output, _repeated_entries_codec); - if (ToSystemUid != 0L) { - output.WriteRawTag(25); - output.WriteSFixed64(ToSystemUid); - } - if (FromSystemUid != 0L) { - output.WriteRawTag(33); - output.WriteSFixed64(FromSystemUid); - } - if (HasToSystemUid != false) { - output.WriteRawTag(40); - output.WriteBool(HasToSystemUid); - } - if (HasFromSystemUid != false) { - output.WriteRawTag(48); - output.WriteBool(HasFromSystemUid); - } - 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 (SendBack != false) { - output.WriteRawTag(8); - output.WriteBool(SendBack); - } - entries_.WriteTo(ref output, _repeated_entries_codec); - if (ToSystemUid != 0L) { - output.WriteRawTag(25); - output.WriteSFixed64(ToSystemUid); - } - if (FromSystemUid != 0L) { - output.WriteRawTag(33); - output.WriteSFixed64(FromSystemUid); - } - if (HasToSystemUid != false) { - output.WriteRawTag(40); - output.WriteBool(HasToSystemUid); - } - if (HasFromSystemUid != false) { - output.WriteRawTag(48); - output.WriteBool(HasFromSystemUid); - } - 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 (SendBack != false) { - size += 1 + 1; - } - size += entries_.CalculateSize(_repeated_entries_codec); - if (ToSystemUid != 0L) { - size += 1 + 8; - } - if (FromSystemUid != 0L) { - size += 1 + 8; - } - if (HasToSystemUid != false) { - size += 1 + 1; - } - if (HasFromSystemUid != false) { - size += 1 + 1; - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(Gossip other) { - if (other == null) { - return; - } - if (other.SendBack != false) { - SendBack = other.SendBack; - } - entries_.Add(other.entries_); - if (other.ToSystemUid != 0L) { - ToSystemUid = other.ToSystemUid; - } - if (other.FromSystemUid != 0L) { - FromSystemUid = other.FromSystemUid; - } - if (other.HasToSystemUid != false) { - HasToSystemUid = other.HasToSystemUid; - } - if (other.HasFromSystemUid != false) { - HasFromSystemUid = other.HasFromSystemUid; - } - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 8: { - SendBack = input.ReadBool(); - break; - } - case 18: { - entries_.AddEntriesFrom(input, _repeated_entries_codec); - break; - } - case 25: { - ToSystemUid = input.ReadSFixed64(); - break; - } - case 33: { - FromSystemUid = input.ReadSFixed64(); - break; - } - case 40: { - HasToSystemUid = input.ReadBool(); - break; - } - case 48: { - HasFromSystemUid = input.ReadBool(); - 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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 8: { - SendBack = input.ReadBool(); - break; - } - case 18: { - entries_.AddEntriesFrom(ref input, _repeated_entries_codec); - break; - } - case 25: { - ToSystemUid = input.ReadSFixed64(); - break; - } - case 33: { - FromSystemUid = input.ReadSFixed64(); - break; - } - case 40: { - HasToSystemUid = input.ReadBool(); - break; - } - case 48: { - HasFromSystemUid = input.ReadBool(); - break; - } - } - } - } - #endif - - #region Nested types - /// Container for nested types declared in the Gossip message type. - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static partial class Types { - internal sealed partial class Entry : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Entry()); - 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::Akka.DistributedData.Serialization.Proto.Msg.Gossip.Descriptor.NestedTypes[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 Entry() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Entry(Entry other) : this() { - key_ = other.key_; - envelope_ = other.envelope_ != null ? other.envelope_.Clone() : null; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Entry Clone() { - return new Entry(this); - } - - /// Field number for the "key" field. - public const int KeyFieldNumber = 1; - private string key_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Key { - get { return key_; } - set { - key_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "envelope" field. - public const int EnvelopeFieldNumber = 2; - private global::Akka.DistributedData.Serialization.Proto.Msg.DataEnvelope envelope_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.DistributedData.Serialization.Proto.Msg.DataEnvelope Envelope { - get { return envelope_; } - set { - envelope_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as Entry); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(Entry other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Key != other.Key) return false; - if (!object.Equals(Envelope, other.Envelope)) 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 (Key.Length != 0) hash ^= Key.GetHashCode(); - if (envelope_ != null) hash ^= Envelope.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 (Key.Length != 0) { - output.WriteRawTag(10); - output.WriteString(Key); - } - if (envelope_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Envelope); - } - 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 (Key.Length != 0) { - output.WriteRawTag(10); - output.WriteString(Key); - } - if (envelope_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Envelope); - } - 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 (Key.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Key); - } - if (envelope_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Envelope); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(Entry other) { - if (other == null) { - return; - } - if (other.Key.Length != 0) { - Key = other.Key; - } - if (other.envelope_ != null) { - if (envelope_ == null) { - Envelope = new global::Akka.DistributedData.Serialization.Proto.Msg.DataEnvelope(); - } - Envelope.MergeFrom(other.Envelope); - } - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - Key = input.ReadString(); - break; - } - case 18: { - if (envelope_ == null) { - Envelope = new global::Akka.DistributedData.Serialization.Proto.Msg.DataEnvelope(); - } - input.ReadMessage(Envelope); - 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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - Key = input.ReadString(); - break; - } - case 18: { - if (envelope_ == null) { - Envelope = new global::Akka.DistributedData.Serialization.Proto.Msg.DataEnvelope(); - } - input.ReadMessage(Envelope); - break; - } - } - } - } - #endif - - } - - } - #endregion - - } - - internal sealed partial class DeltaPropagation : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DeltaPropagation()); - 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::Akka.DistributedData.Serialization.Proto.Msg.ReplicatorMessagesReflection.Descriptor.MessageTypes[14]; } - } - - [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 DeltaPropagation() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public DeltaPropagation(DeltaPropagation other) : this() { - fromNode_ = other.fromNode_ != null ? other.fromNode_.Clone() : null; - entries_ = other.entries_.Clone(); - reply_ = other.reply_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public DeltaPropagation Clone() { - return new DeltaPropagation(this); - } - - /// Field number for the "fromNode" field. - public const int FromNodeFieldNumber = 1; - private global::Akka.DistributedData.Serialization.Proto.Msg.UniqueAddress fromNode_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.DistributedData.Serialization.Proto.Msg.UniqueAddress FromNode { - get { return fromNode_; } - set { - fromNode_ = value; - } - } - - /// Field number for the "entries" field. - public const int EntriesFieldNumber = 2; - private static readonly pb::FieldCodec _repeated_entries_codec - = pb::FieldCodec.ForMessage(18, global::Akka.DistributedData.Serialization.Proto.Msg.DeltaPropagation.Types.Entry.Parser); - private readonly pbc::RepeatedField entries_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField Entries { - get { return entries_; } - } - - /// Field number for the "reply" field. - public const int ReplyFieldNumber = 3; - private bool reply_; - /// - /// no reply if not set - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Reply { - get { return reply_; } - set { - reply_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as DeltaPropagation); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(DeltaPropagation other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (!object.Equals(FromNode, other.FromNode)) return false; - if(!entries_.Equals(other.entries_)) return false; - if (Reply != other.Reply) 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 (fromNode_ != null) hash ^= FromNode.GetHashCode(); - hash ^= entries_.GetHashCode(); - if (Reply != false) hash ^= Reply.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 (fromNode_ != null) { - output.WriteRawTag(10); - output.WriteMessage(FromNode); - } - entries_.WriteTo(output, _repeated_entries_codec); - if (Reply != false) { - output.WriteRawTag(24); - output.WriteBool(Reply); - } - 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 (fromNode_ != null) { - output.WriteRawTag(10); - output.WriteMessage(FromNode); - } - entries_.WriteTo(ref output, _repeated_entries_codec); - if (Reply != false) { - output.WriteRawTag(24); - output.WriteBool(Reply); - } - 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 (fromNode_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(FromNode); - } - size += entries_.CalculateSize(_repeated_entries_codec); - if (Reply != false) { - size += 1 + 1; - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(DeltaPropagation other) { - if (other == null) { - return; - } - if (other.fromNode_ != null) { - if (fromNode_ == null) { - FromNode = new global::Akka.DistributedData.Serialization.Proto.Msg.UniqueAddress(); - } - FromNode.MergeFrom(other.FromNode); - } - entries_.Add(other.entries_); - if (other.Reply != false) { - Reply = other.Reply; - } - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - if (fromNode_ == null) { - FromNode = new global::Akka.DistributedData.Serialization.Proto.Msg.UniqueAddress(); - } - input.ReadMessage(FromNode); - break; - } - case 18: { - entries_.AddEntriesFrom(input, _repeated_entries_codec); - break; - } - case 24: { - Reply = input.ReadBool(); - 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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - if (fromNode_ == null) { - FromNode = new global::Akka.DistributedData.Serialization.Proto.Msg.UniqueAddress(); - } - input.ReadMessage(FromNode); - break; - } - case 18: { - entries_.AddEntriesFrom(ref input, _repeated_entries_codec); - break; - } - case 24: { - Reply = input.ReadBool(); - break; - } - } - } - } - #endif - - #region Nested types - /// Container for nested types declared in the DeltaPropagation message type. - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static partial class Types { - internal sealed partial class Entry : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Entry()); - 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::Akka.DistributedData.Serialization.Proto.Msg.DeltaPropagation.Descriptor.NestedTypes[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 Entry() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Entry(Entry other) : this() { - key_ = other.key_; - envelope_ = other.envelope_ != null ? other.envelope_.Clone() : null; - fromSeqNr_ = other.fromSeqNr_; - toSeqNr_ = other.toSeqNr_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Entry Clone() { - return new Entry(this); - } - - /// Field number for the "key" field. - public const int KeyFieldNumber = 1; - private string key_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Key { - get { return key_; } - set { - key_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "envelope" field. - public const int EnvelopeFieldNumber = 2; - private global::Akka.DistributedData.Serialization.Proto.Msg.DataEnvelope envelope_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.DistributedData.Serialization.Proto.Msg.DataEnvelope Envelope { - get { return envelope_; } - set { - envelope_ = value; - } - } - - /// Field number for the "fromSeqNr" field. - public const int FromSeqNrFieldNumber = 3; - private long fromSeqNr_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public long FromSeqNr { - get { return fromSeqNr_; } - set { - fromSeqNr_ = value; - } - } - - /// Field number for the "toSeqNr" field. - public const int ToSeqNrFieldNumber = 4; - private long toSeqNr_; - /// - /// if not set then same as fromSequenceNr - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public long ToSeqNr { - get { return toSeqNr_; } - set { - toSeqNr_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as Entry); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(Entry other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Key != other.Key) return false; - if (!object.Equals(Envelope, other.Envelope)) return false; - if (FromSeqNr != other.FromSeqNr) return false; - if (ToSeqNr != other.ToSeqNr) 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 (Key.Length != 0) hash ^= Key.GetHashCode(); - if (envelope_ != null) hash ^= Envelope.GetHashCode(); - if (FromSeqNr != 0L) hash ^= FromSeqNr.GetHashCode(); - if (ToSeqNr != 0L) hash ^= ToSeqNr.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 (Key.Length != 0) { - output.WriteRawTag(10); - output.WriteString(Key); - } - if (envelope_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Envelope); - } - if (FromSeqNr != 0L) { - output.WriteRawTag(24); - output.WriteInt64(FromSeqNr); - } - if (ToSeqNr != 0L) { - output.WriteRawTag(32); - output.WriteInt64(ToSeqNr); - } - 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 (Key.Length != 0) { - output.WriteRawTag(10); - output.WriteString(Key); - } - if (envelope_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Envelope); - } - if (FromSeqNr != 0L) { - output.WriteRawTag(24); - output.WriteInt64(FromSeqNr); - } - if (ToSeqNr != 0L) { - output.WriteRawTag(32); - output.WriteInt64(ToSeqNr); - } - 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 (Key.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Key); - } - if (envelope_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Envelope); - } - if (FromSeqNr != 0L) { - size += 1 + pb::CodedOutputStream.ComputeInt64Size(FromSeqNr); - } - if (ToSeqNr != 0L) { - size += 1 + pb::CodedOutputStream.ComputeInt64Size(ToSeqNr); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(Entry other) { - if (other == null) { - return; - } - if (other.Key.Length != 0) { - Key = other.Key; - } - if (other.envelope_ != null) { - if (envelope_ == null) { - Envelope = new global::Akka.DistributedData.Serialization.Proto.Msg.DataEnvelope(); - } - Envelope.MergeFrom(other.Envelope); - } - if (other.FromSeqNr != 0L) { - FromSeqNr = other.FromSeqNr; - } - if (other.ToSeqNr != 0L) { - ToSeqNr = other.ToSeqNr; - } - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - Key = input.ReadString(); - break; - } - case 18: { - if (envelope_ == null) { - Envelope = new global::Akka.DistributedData.Serialization.Proto.Msg.DataEnvelope(); - } - input.ReadMessage(Envelope); - break; - } - case 24: { - FromSeqNr = input.ReadInt64(); - break; - } - case 32: { - ToSeqNr = input.ReadInt64(); - 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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - Key = input.ReadString(); - break; - } - case 18: { - if (envelope_ == null) { - Envelope = new global::Akka.DistributedData.Serialization.Proto.Msg.DataEnvelope(); - } - input.ReadMessage(Envelope); - break; - } - case 24: { - FromSeqNr = input.ReadInt64(); - break; - } - case 32: { - ToSeqNr = input.ReadInt64(); - break; - } - } - } - } - #endif - - } - - } - #endregion - - } - - internal sealed partial class UniqueAddress : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UniqueAddress()); - 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::Akka.DistributedData.Serialization.Proto.Msg.ReplicatorMessagesReflection.Descriptor.MessageTypes[15]; } - } - - [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 UniqueAddress() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public UniqueAddress(UniqueAddress other) : this() { - address_ = other.address_ != null ? other.address_.Clone() : null; - uid_ = other.uid_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public UniqueAddress Clone() { - return new UniqueAddress(this); - } - - /// Field number for the "address" field. - public const int AddressFieldNumber = 1; - private global::Akka.DistributedData.Serialization.Proto.Msg.Address address_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.DistributedData.Serialization.Proto.Msg.Address Address { - get { return address_; } - set { - address_ = value; - } - } - - /// Field number for the "uid" field. - public const int UidFieldNumber = 2; - private long uid_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public long Uid { - get { return uid_; } - set { - uid_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as UniqueAddress); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(UniqueAddress other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (!object.Equals(Address, other.Address)) return false; - if (Uid != other.Uid) 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 (address_ != null) hash ^= Address.GetHashCode(); - if (Uid != 0L) hash ^= Uid.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 (address_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Address); - } - if (Uid != 0L) { - output.WriteRawTag(16); - output.WriteInt64(Uid); - } - 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 (address_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Address); - } - if (Uid != 0L) { - output.WriteRawTag(16); - output.WriteInt64(Uid); - } - 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 (address_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Address); - } - if (Uid != 0L) { - size += 1 + pb::CodedOutputStream.ComputeInt64Size(Uid); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(UniqueAddress other) { - if (other == null) { - return; - } - if (other.address_ != null) { - if (address_ == null) { - Address = new global::Akka.DistributedData.Serialization.Proto.Msg.Address(); - } - Address.MergeFrom(other.Address); - } - if (other.Uid != 0L) { - Uid = other.Uid; - } - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - if (address_ == null) { - Address = new global::Akka.DistributedData.Serialization.Proto.Msg.Address(); - } - input.ReadMessage(Address); - break; - } - case 16: { - Uid = input.ReadInt64(); - 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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - if (address_ == null) { - Address = new global::Akka.DistributedData.Serialization.Proto.Msg.Address(); - } - input.ReadMessage(Address); - break; - } - case 16: { - Uid = input.ReadInt64(); - break; - } - } - } - } - #endif - - } - - internal sealed partial class Address : pb::IMessage
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser
_parser = new pb::MessageParser
(() => new Address()); - 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::Akka.DistributedData.Serialization.Proto.Msg.ReplicatorMessagesReflection.Descriptor.MessageTypes[16]; } - } - - [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 Address() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Address(Address other) : this() { - hostname_ = other.hostname_; - port_ = other.port_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Address Clone() { - return new Address(this); - } - - /// Field number for the "hostname" field. - public const int HostnameFieldNumber = 1; - private string hostname_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Hostname { - get { return hostname_; } - set { - hostname_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "port" field. - public const int PortFieldNumber = 2; - private int port_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Port { - get { return port_; } - set { - port_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as Address); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(Address other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Hostname != other.Hostname) return false; - if (Port != other.Port) 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 (Hostname.Length != 0) hash ^= Hostname.GetHashCode(); - if (Port != 0) hash ^= Port.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 (Hostname.Length != 0) { - output.WriteRawTag(10); - output.WriteString(Hostname); - } - if (Port != 0) { - output.WriteRawTag(16); - output.WriteInt32(Port); - } - 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 (Hostname.Length != 0) { - output.WriteRawTag(10); - output.WriteString(Hostname); - } - if (Port != 0) { - output.WriteRawTag(16); - output.WriteInt32(Port); - } - 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 (Hostname.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Hostname); - } - if (Port != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Port); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(Address other) { - if (other == null) { - return; - } - if (other.Hostname.Length != 0) { - Hostname = other.Hostname; - } - if (other.Port != 0) { - Port = other.Port; - } - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - Hostname = input.ReadString(); - break; - } - case 16: { - Port = input.ReadInt32(); - 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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - Hostname = input.ReadString(); - break; - } - case 16: { - Port = input.ReadInt32(); - break; - } - } - } - } - #endif - - } - - internal sealed partial class VersionVector : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new VersionVector()); - 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::Akka.DistributedData.Serialization.Proto.Msg.ReplicatorMessagesReflection.Descriptor.MessageTypes[17]; } - } - - [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 VersionVector() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public VersionVector(VersionVector other) : this() { - entries_ = other.entries_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public VersionVector Clone() { - return new VersionVector(this); - } - - /// Field number for the "entries" field. - public const int EntriesFieldNumber = 1; - private static readonly pb::FieldCodec _repeated_entries_codec - = pb::FieldCodec.ForMessage(10, global::Akka.DistributedData.Serialization.Proto.Msg.VersionVector.Types.Entry.Parser); - private readonly pbc::RepeatedField entries_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField Entries { - get { return entries_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as VersionVector); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(VersionVector other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!entries_.Equals(other.entries_)) 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; - hash ^= entries_.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 - entries_.WriteTo(output, _repeated_entries_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) { - entries_.WriteTo(ref output, _repeated_entries_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; - size += entries_.CalculateSize(_repeated_entries_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(VersionVector other) { - if (other == null) { - return; - } - entries_.Add(other.entries_); - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - entries_.AddEntriesFrom(input, _repeated_entries_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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - entries_.AddEntriesFrom(ref input, _repeated_entries_codec); - break; - } - } - } - } - #endif - - #region Nested types - /// Container for nested types declared in the VersionVector message type. - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static partial class Types { - internal sealed partial class Entry : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Entry()); - 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::Akka.DistributedData.Serialization.Proto.Msg.VersionVector.Descriptor.NestedTypes[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 Entry() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Entry(Entry other) : this() { - node_ = other.node_ != null ? other.node_.Clone() : null; - version_ = other.version_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Entry Clone() { - return new Entry(this); - } - - /// Field number for the "node" field. - public const int NodeFieldNumber = 1; - private global::Akka.DistributedData.Serialization.Proto.Msg.UniqueAddress node_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.DistributedData.Serialization.Proto.Msg.UniqueAddress Node { - get { return node_; } - set { - node_ = value; - } - } - - /// Field number for the "version" field. - public const int VersionFieldNumber = 2; - private long version_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public long Version { - get { return version_; } - set { - version_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as Entry); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(Entry other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (!object.Equals(Node, other.Node)) return false; - if (Version != other.Version) 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 (node_ != null) hash ^= Node.GetHashCode(); - if (Version != 0L) hash ^= Version.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 (node_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Node); - } - if (Version != 0L) { - output.WriteRawTag(16); - output.WriteInt64(Version); - } - 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 (node_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Node); - } - if (Version != 0L) { - output.WriteRawTag(16); - output.WriteInt64(Version); - } - 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 (node_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Node); - } - if (Version != 0L) { - size += 1 + pb::CodedOutputStream.ComputeInt64Size(Version); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(Entry other) { - if (other == null) { - return; - } - if (other.node_ != null) { - if (node_ == null) { - Node = new global::Akka.DistributedData.Serialization.Proto.Msg.UniqueAddress(); - } - Node.MergeFrom(other.Node); - } - if (other.Version != 0L) { - Version = other.Version; - } - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - if (node_ == null) { - Node = new global::Akka.DistributedData.Serialization.Proto.Msg.UniqueAddress(); - } - input.ReadMessage(Node); - break; - } - case 16: { - Version = input.ReadInt64(); - 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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - if (node_ == null) { - Node = new global::Akka.DistributedData.Serialization.Proto.Msg.UniqueAddress(); - } - input.ReadMessage(Node); - break; - } - case 16: { - Version = input.ReadInt64(); - break; - } - } - } - } - #endif - - } - - } - #endregion - - } - - internal sealed partial class OtherMessage : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new OtherMessage()); - 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::Akka.DistributedData.Serialization.Proto.Msg.ReplicatorMessagesReflection.Descriptor.MessageTypes[18]; } - } - - [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 OtherMessage() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public OtherMessage(OtherMessage other) : this() { - enclosedMessage_ = other.enclosedMessage_; - serializerId_ = other.serializerId_; - messageManifest_ = other.messageManifest_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public OtherMessage Clone() { - return new OtherMessage(this); - } - - /// Field number for the "enclosedMessage" field. - public const int EnclosedMessageFieldNumber = 1; - private pb::ByteString enclosedMessage_ = pb::ByteString.Empty; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pb::ByteString EnclosedMessage { - get { return enclosedMessage_; } - set { - enclosedMessage_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "serializerId" field. - public const int SerializerIdFieldNumber = 2; - private int serializerId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int SerializerId { - get { return serializerId_; } - set { - serializerId_ = value; - } - } - - /// Field number for the "messageManifest" field. - public const int MessageManifestFieldNumber = 4; - private pb::ByteString messageManifest_ = pb::ByteString.Empty; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pb::ByteString MessageManifest { - get { return messageManifest_; } - set { - messageManifest_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as OtherMessage); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(OtherMessage other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (EnclosedMessage != other.EnclosedMessage) return false; - if (SerializerId != other.SerializerId) return false; - if (MessageManifest != other.MessageManifest) 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 (EnclosedMessage.Length != 0) hash ^= EnclosedMessage.GetHashCode(); - if (SerializerId != 0) hash ^= SerializerId.GetHashCode(); - if (MessageManifest.Length != 0) hash ^= MessageManifest.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 (EnclosedMessage.Length != 0) { - output.WriteRawTag(10); - output.WriteBytes(EnclosedMessage); - } - if (SerializerId != 0) { - output.WriteRawTag(16); - output.WriteInt32(SerializerId); - } - if (MessageManifest.Length != 0) { - output.WriteRawTag(34); - output.WriteBytes(MessageManifest); - } - 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 (EnclosedMessage.Length != 0) { - output.WriteRawTag(10); - output.WriteBytes(EnclosedMessage); - } - if (SerializerId != 0) { - output.WriteRawTag(16); - output.WriteInt32(SerializerId); - } - if (MessageManifest.Length != 0) { - output.WriteRawTag(34); - output.WriteBytes(MessageManifest); - } - 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 (EnclosedMessage.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeBytesSize(EnclosedMessage); - } - if (SerializerId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(SerializerId); - } - if (MessageManifest.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeBytesSize(MessageManifest); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(OtherMessage other) { - if (other == null) { - return; - } - if (other.EnclosedMessage.Length != 0) { - EnclosedMessage = other.EnclosedMessage; - } - if (other.SerializerId != 0) { - SerializerId = other.SerializerId; - } - if (other.MessageManifest.Length != 0) { - MessageManifest = other.MessageManifest; - } - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - EnclosedMessage = input.ReadBytes(); - break; - } - case 16: { - SerializerId = input.ReadInt32(); - break; - } - case 34: { - MessageManifest = input.ReadBytes(); - 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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - EnclosedMessage = input.ReadBytes(); - break; - } - case 16: { - SerializerId = input.ReadInt32(); - break; - } - case 34: { - MessageManifest = input.ReadBytes(); - break; - } - } - } - } - #endif - - } - - internal sealed partial class StringGSet : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new StringGSet()); - 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::Akka.DistributedData.Serialization.Proto.Msg.ReplicatorMessagesReflection.Descriptor.MessageTypes[19]; } - } - - [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 StringGSet() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public StringGSet(StringGSet other) : this() { - elements_ = other.elements_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public StringGSet Clone() { - return new StringGSet(this); - } - - /// Field number for the "elements" field. - public const int ElementsFieldNumber = 1; - private static readonly pb::FieldCodec _repeated_elements_codec - = pb::FieldCodec.ForString(10); - private readonly pbc::RepeatedField elements_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField Elements { - get { return elements_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as StringGSet); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(StringGSet other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!elements_.Equals(other.elements_)) 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; - hash ^= elements_.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 - elements_.WriteTo(output, _repeated_elements_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) { - elements_.WriteTo(ref output, _repeated_elements_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; - size += elements_.CalculateSize(_repeated_elements_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(StringGSet other) { - if (other == null) { - return; - } - elements_.Add(other.elements_); - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - elements_.AddEntriesFrom(input, _repeated_elements_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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - elements_.AddEntriesFrom(ref input, _repeated_elements_codec); - break; - } - } - } - } - #endif - - } - - internal sealed partial class DurableDataEnvelope : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DurableDataEnvelope()); - 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::Akka.DistributedData.Serialization.Proto.Msg.ReplicatorMessagesReflection.Descriptor.MessageTypes[20]; } - } - - [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 DurableDataEnvelope() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public DurableDataEnvelope(DurableDataEnvelope other) : this() { - data_ = other.data_ != null ? other.data_.Clone() : null; - pruning_ = other.pruning_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public DurableDataEnvelope Clone() { - return new DurableDataEnvelope(this); - } - - /// Field number for the "data" field. - public const int DataFieldNumber = 1; - private global::Akka.DistributedData.Serialization.Proto.Msg.OtherMessage data_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.DistributedData.Serialization.Proto.Msg.OtherMessage Data { - get { return data_; } - set { - data_ = value; - } - } - - /// Field number for the "pruning" field. - public const int PruningFieldNumber = 2; - private static readonly pb::FieldCodec _repeated_pruning_codec - = pb::FieldCodec.ForMessage(18, global::Akka.DistributedData.Serialization.Proto.Msg.DataEnvelope.Types.PruningEntry.Parser); - private readonly pbc::RepeatedField pruning_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField Pruning { - get { return pruning_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as DurableDataEnvelope); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(DurableDataEnvelope other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (!object.Equals(Data, other.Data)) return false; - if(!pruning_.Equals(other.pruning_)) 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 (data_ != null) hash ^= Data.GetHashCode(); - hash ^= pruning_.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 (data_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Data); - } - pruning_.WriteTo(output, _repeated_pruning_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 (data_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Data); - } - pruning_.WriteTo(ref output, _repeated_pruning_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 (data_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Data); - } - size += pruning_.CalculateSize(_repeated_pruning_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(DurableDataEnvelope other) { - if (other == null) { - return; - } - if (other.data_ != null) { - if (data_ == null) { - Data = new global::Akka.DistributedData.Serialization.Proto.Msg.OtherMessage(); - } - Data.MergeFrom(other.Data); - } - pruning_.Add(other.pruning_); - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - if (data_ == null) { - Data = new global::Akka.DistributedData.Serialization.Proto.Msg.OtherMessage(); - } - input.ReadMessage(Data); - break; - } - case 18: { - pruning_.AddEntriesFrom(input, _repeated_pruning_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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - if (data_ == null) { - Data = new global::Akka.DistributedData.Serialization.Proto.Msg.OtherMessage(); - } - input.ReadMessage(Data); - break; - } - case 18: { - pruning_.AddEntriesFrom(ref input, _repeated_pruning_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/src/core/Akka.Cluster/Akka.Cluster.csproj b/src/core/Akka.Cluster/Akka.Cluster.csproj index f8d453d2055..d72adaa2a58 100644 --- a/src/core/Akka.Cluster/Akka.Cluster.csproj +++ b/src/core/Akka.Cluster/Akka.Cluster.csproj @@ -11,6 +11,16 @@ + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + + + + + diff --git a/src/core/Akka.Cluster/Serialization/Proto/ClusterMessages.g.cs b/src/core/Akka.Cluster/Serialization/Proto/ClusterMessages.g.cs deleted file mode 100644 index 91e952a471a..00000000000 --- a/src/core/Akka.Cluster/Serialization/Proto/ClusterMessages.g.cs +++ /dev/null @@ -1,4719 +0,0 @@ -//----------------------------------------------------------------------- -// -// Copyright (C) 2009-2023 Lightbend Inc. -// Copyright (C) 2013-2023 .NET Foundation -// -//----------------------------------------------------------------------- - -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: ClusterMessages.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 Akka.Cluster.Serialization.Proto.Msg { - - /// Holder for reflection information generated from ClusterMessages.proto - internal static partial class ClusterMessagesReflection { - - #region Descriptor - /// File descriptor for ClusterMessages.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static ClusterMessagesReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChVDbHVzdGVyTWVzc2FnZXMucHJvdG8SJEFra2EuQ2x1c3Rlci5TZXJpYWxp", - "emF0aW9uLlByb3RvLk1zZxoWQ29udGFpbmVyRm9ybWF0cy5wcm90byJsCgRK", - "b2luEkEKBG5vZGUYASABKAsyMy5Ba2thLkNsdXN0ZXIuU2VyaWFsaXphdGlv", - "bi5Qcm90by5Nc2cuVW5pcXVlQWRkcmVzcxINCgVyb2xlcxgCIAMoCRISCgph", - "cHBWZXJzaW9uGAMgASgJIooBCgdXZWxjb21lEkEKBGZyb20YASABKAsyMy5B", - "a2thLkNsdXN0ZXIuU2VyaWFsaXphdGlvbi5Qcm90by5Nc2cuVW5pcXVlQWRk", - "cmVzcxI8CgZnb3NzaXAYAiABKAsyLC5Ba2thLkNsdXN0ZXIuU2VyaWFsaXph", - "dGlvbi5Qcm90by5Nc2cuR29zc2lwInUKCUhlYXJ0YmVhdBI+CgRmcm9tGAEg", - "ASgLMjAuQWtrYS5SZW1vdGUuU2VyaWFsaXphdGlvbi5Qcm90by5Nc2cuQWRk", - "cmVzc0RhdGESEgoKc2VxdWVuY2VOchgCIAEoAxIUCgxjcmVhdGlvblRpbWUY", - "AyABKBIigAEKEUhlYXJ0QmVhdFJlc3BvbnNlEkEKBGZyb20YASABKAsyMy5B", - "a2thLkNsdXN0ZXIuU2VyaWFsaXphdGlvbi5Qcm90by5Nc2cuVW5pcXVlQWRk", - "cmVzcxISCgpzZXF1ZW5jZU5yGAIgASgDEhQKDGNyZWF0aW9uVGltZRgDIAEo", - "AyKuAQoOR29zc2lwRW52ZWxvcGUSQQoEZnJvbRgBIAEoCzIzLkFra2EuQ2x1", - "c3Rlci5TZXJpYWxpemF0aW9uLlByb3RvLk1zZy5VbmlxdWVBZGRyZXNzEj8K", - "AnRvGAIgASgLMjMuQWtrYS5DbHVzdGVyLlNlcmlhbGl6YXRpb24uUHJvdG8u", - "TXNnLlVuaXF1ZUFkZHJlc3MSGAoQc2VyaWFsaXplZEdvc3NpcBgDIAEoDCKo", - "AQoMR29zc2lwU3RhdHVzEkEKBGZyb20YASABKAsyMy5Ba2thLkNsdXN0ZXIu", - "U2VyaWFsaXphdGlvbi5Qcm90by5Nc2cuVW5pcXVlQWRkcmVzcxIRCglhbGxI", - "YXNoZXMYAiADKAkSQgoHdmVyc2lvbhgDIAEoCzIxLkFra2EuQ2x1c3Rlci5T", - "ZXJpYWxpemF0aW9uLlByb3RvLk1zZy5WZWN0b3JDbG9jayLbAgoGR29zc2lw", - "EkkKDGFsbEFkZHJlc3NlcxgBIAMoCzIzLkFra2EuQ2x1c3Rlci5TZXJpYWxp", - "emF0aW9uLlByb3RvLk1zZy5VbmlxdWVBZGRyZXNzEhAKCGFsbFJvbGVzGAIg", - "AygJEhEKCWFsbEhhc2hlcxgDIAMoCRI9CgdtZW1iZXJzGAQgAygLMiwuQWtr", - "YS5DbHVzdGVyLlNlcmlhbGl6YXRpb24uUHJvdG8uTXNnLk1lbWJlchJGCghv", - "dmVydmlldxgFIAEoCzI0LkFra2EuQ2x1c3Rlci5TZXJpYWxpemF0aW9uLlBy", - "b3RvLk1zZy5Hb3NzaXBPdmVydmlldxJCCgd2ZXJzaW9uGAYgASgLMjEuQWtr", - "YS5DbHVzdGVyLlNlcmlhbGl6YXRpb24uUHJvdG8uTXNnLlZlY3RvckNsb2Nr", - "EhYKDmFsbEFwcFZlcnNpb25zGAggAygJIngKDkdvc3NpcE92ZXJ2aWV3EgwK", - "BHNlZW4YASADKAUSWAoUb2JzZXJ2ZXJSZWFjaGFiaWxpdHkYAiADKAsyOi5B", - "a2thLkNsdXN0ZXIuU2VyaWFsaXphdGlvbi5Qcm90by5Nc2cuT2JzZXJ2ZXJS", - "ZWFjaGFiaWxpdHkilQEKFE9ic2VydmVyUmVhY2hhYmlsaXR5EhQKDGFkZHJl", - "c3NJbmRleBgBIAEoBRIPCgd2ZXJzaW9uGAQgASgDElYKE3N1YmplY3RSZWFj", - "aGFiaWxpdHkYAiADKAsyOS5Ba2thLkNsdXN0ZXIuU2VyaWFsaXphdGlvbi5Q", - "cm90by5Nc2cuU3ViamVjdFJlYWNoYWJpbGl0eSLgAQoTU3ViamVjdFJlYWNo", - "YWJpbGl0eRIUCgxhZGRyZXNzSW5kZXgYASABKAUSXAoGc3RhdHVzGAMgASgO", - "MkwuQWtrYS5DbHVzdGVyLlNlcmlhbGl6YXRpb24uUHJvdG8uTXNnLlN1Ympl", - "Y3RSZWFjaGFiaWxpdHkuUmVhY2hhYmlsaXR5U3RhdHVzEg8KB3ZlcnNpb24Y", - "BCABKAMiRAoSUmVhY2hhYmlsaXR5U3RhdHVzEg0KCVJlYWNoYWJsZRAAEg8K", - "C1VucmVhY2hhYmxlEAESDgoKVGVybWluYXRlZBACIpICCgZNZW1iZXISFAoM", - "YWRkcmVzc0luZGV4GAEgASgFEhAKCHVwTnVtYmVyGAIgASgFEkkKBnN0YXR1", - "cxgDIAEoDjI5LkFra2EuQ2x1c3Rlci5TZXJpYWxpemF0aW9uLlByb3RvLk1z", - "Zy5NZW1iZXIuTWVtYmVyU3RhdHVzEhgKDHJvbGVzSW5kZXhlcxgEIAMoBUIC", - "EAESFwoPYXBwVmVyc2lvbkluZGV4GAUgASgFImIKDE1lbWJlclN0YXR1cxIL", - "CgdKb2luaW5nEAASBgoCVXAQARILCgdMZWF2aW5nEAISCwoHRXhpdGluZxAD", - "EggKBERvd24QBBILCgdSZW1vdmVkEAUSDAoIV2Vha2x5VXAQBiKeAQoLVmVj", - "dG9yQ2xvY2sSEQoJdGltZXN0YW1wGAEgASgDEksKCHZlcnNpb25zGAIgAygL", - "MjkuQWtrYS5DbHVzdGVyLlNlcmlhbGl6YXRpb24uUHJvdG8uTXNnLlZlY3Rv", - "ckNsb2NrLlZlcnNpb24aLwoHVmVyc2lvbhIRCgloYXNoSW5kZXgYASABKAUS", - "EQoJdGltZXN0YW1wGAIgASgDIl8KDVVuaXF1ZUFkZHJlc3MSQQoHYWRkcmVz", - "cxgBIAEoCzIwLkFra2EuUmVtb3RlLlNlcmlhbGl6YXRpb24uUHJvdG8uTXNn", - "LkFkZHJlc3NEYXRhEgsKA3VpZBgCIAEoDSKgAQoRQ2x1c3RlclJvdXRlclBv", - "b2wSOAoEcG9vbBgBIAEoCzIqLkFra2EuQ2x1c3Rlci5TZXJpYWxpemF0aW9u", - "LlByb3RvLk1zZy5Qb29sElEKCHNldHRpbmdzGAIgASgLMj8uQWtrYS5DbHVz", - "dGVyLlNlcmlhbGl6YXRpb24uUHJvdG8uTXNnLkNsdXN0ZXJSb3V0ZXJQb29s", - "U2V0dGluZ3MiPAoEUG9vbBIUCgxzZXJpYWxpemVySWQYASABKA0SEAoIbWFu", - "aWZlc3QYAiABKAkSDAoEZGF0YRgDIAEoDCJ8ChlDbHVzdGVyUm91dGVyUG9v", - "bFNldHRpbmdzEhYKDnRvdGFsSW5zdGFuY2VzGAEgASgNEhsKE21heEluc3Rh", - "bmNlc1Blck5vZGUYAiABKA0SGQoRYWxsb3dMb2NhbFJvdXRlZXMYAyABKAgS", - "DwoHdXNlUm9sZRgEIAEoCWIGcHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Akka.Remote.Serialization.Proto.Msg.ContainerFormatsReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Akka.Cluster.Serialization.Proto.Msg.Join), global::Akka.Cluster.Serialization.Proto.Msg.Join.Parser, new[]{ "Node", "Roles", "AppVersion" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Akka.Cluster.Serialization.Proto.Msg.Welcome), global::Akka.Cluster.Serialization.Proto.Msg.Welcome.Parser, new[]{ "From", "Gossip" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Akka.Cluster.Serialization.Proto.Msg.Heartbeat), global::Akka.Cluster.Serialization.Proto.Msg.Heartbeat.Parser, new[]{ "From", "SequenceNr", "CreationTime" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Akka.Cluster.Serialization.Proto.Msg.HeartBeatResponse), global::Akka.Cluster.Serialization.Proto.Msg.HeartBeatResponse.Parser, new[]{ "From", "SequenceNr", "CreationTime" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Akka.Cluster.Serialization.Proto.Msg.GossipEnvelope), global::Akka.Cluster.Serialization.Proto.Msg.GossipEnvelope.Parser, new[]{ "From", "To", "SerializedGossip" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Akka.Cluster.Serialization.Proto.Msg.GossipStatus), global::Akka.Cluster.Serialization.Proto.Msg.GossipStatus.Parser, new[]{ "From", "AllHashes", "Version" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Akka.Cluster.Serialization.Proto.Msg.Gossip), global::Akka.Cluster.Serialization.Proto.Msg.Gossip.Parser, new[]{ "AllAddresses", "AllRoles", "AllHashes", "Members", "Overview", "Version", "AllAppVersions" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Akka.Cluster.Serialization.Proto.Msg.GossipOverview), global::Akka.Cluster.Serialization.Proto.Msg.GossipOverview.Parser, new[]{ "Seen", "ObserverReachability" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Akka.Cluster.Serialization.Proto.Msg.ObserverReachability), global::Akka.Cluster.Serialization.Proto.Msg.ObserverReachability.Parser, new[]{ "AddressIndex", "Version", "SubjectReachability" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Akka.Cluster.Serialization.Proto.Msg.SubjectReachability), global::Akka.Cluster.Serialization.Proto.Msg.SubjectReachability.Parser, new[]{ "AddressIndex", "Status", "Version" }, null, new[]{ typeof(global::Akka.Cluster.Serialization.Proto.Msg.SubjectReachability.Types.ReachabilityStatus) }, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Akka.Cluster.Serialization.Proto.Msg.Member), global::Akka.Cluster.Serialization.Proto.Msg.Member.Parser, new[]{ "AddressIndex", "UpNumber", "Status", "RolesIndexes", "AppVersionIndex" }, null, new[]{ typeof(global::Akka.Cluster.Serialization.Proto.Msg.Member.Types.MemberStatus) }, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Akka.Cluster.Serialization.Proto.Msg.VectorClock), global::Akka.Cluster.Serialization.Proto.Msg.VectorClock.Parser, new[]{ "Timestamp", "Versions" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Akka.Cluster.Serialization.Proto.Msg.VectorClock.Types.Version), global::Akka.Cluster.Serialization.Proto.Msg.VectorClock.Types.Version.Parser, new[]{ "HashIndex", "Timestamp" }, null, null, null, null)}), - new pbr::GeneratedClrTypeInfo(typeof(global::Akka.Cluster.Serialization.Proto.Msg.UniqueAddress), global::Akka.Cluster.Serialization.Proto.Msg.UniqueAddress.Parser, new[]{ "Address", "Uid" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Akka.Cluster.Serialization.Proto.Msg.ClusterRouterPool), global::Akka.Cluster.Serialization.Proto.Msg.ClusterRouterPool.Parser, new[]{ "Pool", "Settings" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Akka.Cluster.Serialization.Proto.Msg.Pool), global::Akka.Cluster.Serialization.Proto.Msg.Pool.Parser, new[]{ "SerializerId", "Manifest", "Data" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Akka.Cluster.Serialization.Proto.Msg.ClusterRouterPoolSettings), global::Akka.Cluster.Serialization.Proto.Msg.ClusterRouterPoolSettings.Parser, new[]{ "TotalInstances", "MaxInstancesPerNode", "AllowLocalRoutees", "UseRole" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - /// - /// Join - /// - internal sealed partial class Join : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Join()); - 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::Akka.Cluster.Serialization.Proto.Msg.ClusterMessagesReflection.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 Join() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Join(Join other) : this() { - node_ = other.node_ != null ? other.node_.Clone() : null; - roles_ = other.roles_.Clone(); - appVersion_ = other.appVersion_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Join Clone() { - return new Join(this); - } - - /// Field number for the "node" field. - public const int NodeFieldNumber = 1; - private global::Akka.Cluster.Serialization.Proto.Msg.UniqueAddress node_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.Cluster.Serialization.Proto.Msg.UniqueAddress Node { - get { return node_; } - set { - node_ = value; - } - } - - /// Field number for the "roles" field. - public const int RolesFieldNumber = 2; - private static readonly pb::FieldCodec _repeated_roles_codec - = pb::FieldCodec.ForString(18); - private readonly pbc::RepeatedField roles_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField Roles { - get { return roles_; } - } - - /// Field number for the "appVersion" field. - public const int AppVersionFieldNumber = 3; - private string appVersion_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string AppVersion { - get { return appVersion_; } - set { - appVersion_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as Join); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(Join other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (!object.Equals(Node, other.Node)) return false; - if(!roles_.Equals(other.roles_)) return false; - if (AppVersion != other.AppVersion) 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 (node_ != null) hash ^= Node.GetHashCode(); - hash ^= roles_.GetHashCode(); - if (AppVersion.Length != 0) hash ^= AppVersion.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 (node_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Node); - } - roles_.WriteTo(output, _repeated_roles_codec); - if (AppVersion.Length != 0) { - output.WriteRawTag(26); - output.WriteString(AppVersion); - } - 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 (node_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Node); - } - roles_.WriteTo(ref output, _repeated_roles_codec); - if (AppVersion.Length != 0) { - output.WriteRawTag(26); - output.WriteString(AppVersion); - } - 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 (node_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Node); - } - size += roles_.CalculateSize(_repeated_roles_codec); - if (AppVersion.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(AppVersion); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(Join other) { - if (other == null) { - return; - } - if (other.node_ != null) { - if (node_ == null) { - Node = new global::Akka.Cluster.Serialization.Proto.Msg.UniqueAddress(); - } - Node.MergeFrom(other.Node); - } - roles_.Add(other.roles_); - if (other.AppVersion.Length != 0) { - AppVersion = other.AppVersion; - } - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - if (node_ == null) { - Node = new global::Akka.Cluster.Serialization.Proto.Msg.UniqueAddress(); - } - input.ReadMessage(Node); - break; - } - case 18: { - roles_.AddEntriesFrom(input, _repeated_roles_codec); - break; - } - case 26: { - AppVersion = input.ReadString(); - 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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - if (node_ == null) { - Node = new global::Akka.Cluster.Serialization.Proto.Msg.UniqueAddress(); - } - input.ReadMessage(Node); - break; - } - case 18: { - roles_.AddEntriesFrom(ref input, _repeated_roles_codec); - break; - } - case 26: { - AppVersion = input.ReadString(); - break; - } - } - } - } - #endif - - } - - /// - /// Welcome, reply to Join - /// - internal sealed partial class Welcome : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Welcome()); - 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::Akka.Cluster.Serialization.Proto.Msg.ClusterMessagesReflection.Descriptor.MessageTypes[1]; } - } - - [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 Welcome() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Welcome(Welcome other) : this() { - from_ = other.from_ != null ? other.from_.Clone() : null; - gossip_ = other.gossip_ != null ? other.gossip_.Clone() : null; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Welcome Clone() { - return new Welcome(this); - } - - /// Field number for the "from" field. - public const int FromFieldNumber = 1; - private global::Akka.Cluster.Serialization.Proto.Msg.UniqueAddress from_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.Cluster.Serialization.Proto.Msg.UniqueAddress From { - get { return from_; } - set { - from_ = value; - } - } - - /// Field number for the "gossip" field. - public const int GossipFieldNumber = 2; - private global::Akka.Cluster.Serialization.Proto.Msg.Gossip gossip_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.Cluster.Serialization.Proto.Msg.Gossip Gossip { - get { return gossip_; } - set { - gossip_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as Welcome); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(Welcome other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (!object.Equals(From, other.From)) return false; - if (!object.Equals(Gossip, other.Gossip)) 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 (from_ != null) hash ^= From.GetHashCode(); - if (gossip_ != null) hash ^= Gossip.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 (from_ != null) { - output.WriteRawTag(10); - output.WriteMessage(From); - } - if (gossip_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Gossip); - } - 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 (from_ != null) { - output.WriteRawTag(10); - output.WriteMessage(From); - } - if (gossip_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Gossip); - } - 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 (from_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(From); - } - if (gossip_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Gossip); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(Welcome other) { - if (other == null) { - return; - } - if (other.from_ != null) { - if (from_ == null) { - From = new global::Akka.Cluster.Serialization.Proto.Msg.UniqueAddress(); - } - From.MergeFrom(other.From); - } - if (other.gossip_ != null) { - if (gossip_ == null) { - Gossip = new global::Akka.Cluster.Serialization.Proto.Msg.Gossip(); - } - Gossip.MergeFrom(other.Gossip); - } - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - if (from_ == null) { - From = new global::Akka.Cluster.Serialization.Proto.Msg.UniqueAddress(); - } - input.ReadMessage(From); - break; - } - case 18: { - if (gossip_ == null) { - Gossip = new global::Akka.Cluster.Serialization.Proto.Msg.Gossip(); - } - input.ReadMessage(Gossip); - 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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - if (from_ == null) { - From = new global::Akka.Cluster.Serialization.Proto.Msg.UniqueAddress(); - } - input.ReadMessage(From); - break; - } - case 18: { - if (gossip_ == null) { - Gossip = new global::Akka.Cluster.Serialization.Proto.Msg.Gossip(); - } - input.ReadMessage(Gossip); - break; - } - } - } - } - #endif - - } - - /// - ///* - /// Prior to version 1.4.19 - /// Heartbeat - /// Sends an Address - /// Version 1.4.19 can deserialize this message but does not send it - /// - internal sealed partial class Heartbeat : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Heartbeat()); - 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::Akka.Cluster.Serialization.Proto.Msg.ClusterMessagesReflection.Descriptor.MessageTypes[2]; } - } - - [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 Heartbeat() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Heartbeat(Heartbeat other) : this() { - from_ = other.from_ != null ? other.from_.Clone() : null; - sequenceNr_ = other.sequenceNr_; - creationTime_ = other.creationTime_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Heartbeat Clone() { - return new Heartbeat(this); - } - - /// Field number for the "from" field. - public const int FromFieldNumber = 1; - private global::Akka.Remote.Serialization.Proto.Msg.AddressData from_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.Remote.Serialization.Proto.Msg.AddressData From { - get { return from_; } - set { - from_ = value; - } - } - - /// Field number for the "sequenceNr" field. - public const int SequenceNrFieldNumber = 2; - private long sequenceNr_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public long SequenceNr { - get { return sequenceNr_; } - set { - sequenceNr_ = value; - } - } - - /// Field number for the "creationTime" field. - public const int CreationTimeFieldNumber = 3; - private long creationTime_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public long CreationTime { - get { return creationTime_; } - set { - creationTime_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as Heartbeat); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(Heartbeat other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (!object.Equals(From, other.From)) return false; - if (SequenceNr != other.SequenceNr) return false; - if (CreationTime != other.CreationTime) 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 (from_ != null) hash ^= From.GetHashCode(); - if (SequenceNr != 0L) hash ^= SequenceNr.GetHashCode(); - if (CreationTime != 0L) hash ^= CreationTime.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 (from_ != null) { - output.WriteRawTag(10); - output.WriteMessage(From); - } - if (SequenceNr != 0L) { - output.WriteRawTag(16); - output.WriteInt64(SequenceNr); - } - if (CreationTime != 0L) { - output.WriteRawTag(24); - output.WriteSInt64(CreationTime); - } - 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 (from_ != null) { - output.WriteRawTag(10); - output.WriteMessage(From); - } - if (SequenceNr != 0L) { - output.WriteRawTag(16); - output.WriteInt64(SequenceNr); - } - if (CreationTime != 0L) { - output.WriteRawTag(24); - output.WriteSInt64(CreationTime); - } - 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 (from_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(From); - } - if (SequenceNr != 0L) { - size += 1 + pb::CodedOutputStream.ComputeInt64Size(SequenceNr); - } - if (CreationTime != 0L) { - size += 1 + pb::CodedOutputStream.ComputeSInt64Size(CreationTime); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(Heartbeat other) { - if (other == null) { - return; - } - if (other.from_ != null) { - if (from_ == null) { - From = new global::Akka.Remote.Serialization.Proto.Msg.AddressData(); - } - From.MergeFrom(other.From); - } - if (other.SequenceNr != 0L) { - SequenceNr = other.SequenceNr; - } - if (other.CreationTime != 0L) { - CreationTime = other.CreationTime; - } - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - if (from_ == null) { - From = new global::Akka.Remote.Serialization.Proto.Msg.AddressData(); - } - input.ReadMessage(From); - break; - } - case 16: { - SequenceNr = input.ReadInt64(); - break; - } - case 24: { - CreationTime = input.ReadSInt64(); - 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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - if (from_ == null) { - From = new global::Akka.Remote.Serialization.Proto.Msg.AddressData(); - } - input.ReadMessage(From); - break; - } - case 16: { - SequenceNr = input.ReadInt64(); - break; - } - case 24: { - CreationTime = input.ReadSInt64(); - break; - } - } - } - } - #endif - - } - - /// - ///* - /// Prior to version 1.4.19 - /// HeartbeatRsp - /// Sends an UniqueAddress - /// Version 1.4.19 can deserialize this message but does not send it - /// - internal sealed partial class HeartBeatResponse : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new HeartBeatResponse()); - 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::Akka.Cluster.Serialization.Proto.Msg.ClusterMessagesReflection.Descriptor.MessageTypes[3]; } - } - - [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 HeartBeatResponse() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public HeartBeatResponse(HeartBeatResponse other) : this() { - from_ = other.from_ != null ? other.from_.Clone() : null; - sequenceNr_ = other.sequenceNr_; - creationTime_ = other.creationTime_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public HeartBeatResponse Clone() { - return new HeartBeatResponse(this); - } - - /// Field number for the "from" field. - public const int FromFieldNumber = 1; - private global::Akka.Cluster.Serialization.Proto.Msg.UniqueAddress from_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.Cluster.Serialization.Proto.Msg.UniqueAddress From { - get { return from_; } - set { - from_ = value; - } - } - - /// Field number for the "sequenceNr" field. - public const int SequenceNrFieldNumber = 2; - private long sequenceNr_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public long SequenceNr { - get { return sequenceNr_; } - set { - sequenceNr_ = value; - } - } - - /// Field number for the "creationTime" field. - public const int CreationTimeFieldNumber = 3; - private long creationTime_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public long CreationTime { - get { return creationTime_; } - set { - creationTime_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as HeartBeatResponse); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(HeartBeatResponse other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (!object.Equals(From, other.From)) return false; - if (SequenceNr != other.SequenceNr) return false; - if (CreationTime != other.CreationTime) 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 (from_ != null) hash ^= From.GetHashCode(); - if (SequenceNr != 0L) hash ^= SequenceNr.GetHashCode(); - if (CreationTime != 0L) hash ^= CreationTime.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 (from_ != null) { - output.WriteRawTag(10); - output.WriteMessage(From); - } - if (SequenceNr != 0L) { - output.WriteRawTag(16); - output.WriteInt64(SequenceNr); - } - if (CreationTime != 0L) { - output.WriteRawTag(24); - output.WriteInt64(CreationTime); - } - 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 (from_ != null) { - output.WriteRawTag(10); - output.WriteMessage(From); - } - if (SequenceNr != 0L) { - output.WriteRawTag(16); - output.WriteInt64(SequenceNr); - } - if (CreationTime != 0L) { - output.WriteRawTag(24); - output.WriteInt64(CreationTime); - } - 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 (from_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(From); - } - if (SequenceNr != 0L) { - size += 1 + pb::CodedOutputStream.ComputeInt64Size(SequenceNr); - } - if (CreationTime != 0L) { - size += 1 + pb::CodedOutputStream.ComputeInt64Size(CreationTime); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(HeartBeatResponse other) { - if (other == null) { - return; - } - if (other.from_ != null) { - if (from_ == null) { - From = new global::Akka.Cluster.Serialization.Proto.Msg.UniqueAddress(); - } - From.MergeFrom(other.From); - } - if (other.SequenceNr != 0L) { - SequenceNr = other.SequenceNr; - } - if (other.CreationTime != 0L) { - CreationTime = other.CreationTime; - } - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - if (from_ == null) { - From = new global::Akka.Cluster.Serialization.Proto.Msg.UniqueAddress(); - } - input.ReadMessage(From); - break; - } - case 16: { - SequenceNr = input.ReadInt64(); - break; - } - case 24: { - CreationTime = input.ReadInt64(); - 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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - if (from_ == null) { - From = new global::Akka.Cluster.Serialization.Proto.Msg.UniqueAddress(); - } - input.ReadMessage(From); - break; - } - case 16: { - SequenceNr = input.ReadInt64(); - break; - } - case 24: { - CreationTime = input.ReadInt64(); - break; - } - } - } - } - #endif - - } - - /// - /// Gossip Envelope - /// - internal sealed partial class GossipEnvelope : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GossipEnvelope()); - 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::Akka.Cluster.Serialization.Proto.Msg.ClusterMessagesReflection.Descriptor.MessageTypes[4]; } - } - - [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 GossipEnvelope() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public GossipEnvelope(GossipEnvelope other) : this() { - from_ = other.from_ != null ? other.from_.Clone() : null; - to_ = other.to_ != null ? other.to_.Clone() : null; - serializedGossip_ = other.serializedGossip_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public GossipEnvelope Clone() { - return new GossipEnvelope(this); - } - - /// Field number for the "from" field. - public const int FromFieldNumber = 1; - private global::Akka.Cluster.Serialization.Proto.Msg.UniqueAddress from_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.Cluster.Serialization.Proto.Msg.UniqueAddress From { - get { return from_; } - set { - from_ = value; - } - } - - /// Field number for the "to" field. - public const int ToFieldNumber = 2; - private global::Akka.Cluster.Serialization.Proto.Msg.UniqueAddress to_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.Cluster.Serialization.Proto.Msg.UniqueAddress To { - get { return to_; } - set { - to_ = value; - } - } - - /// Field number for the "serializedGossip" field. - public const int SerializedGossipFieldNumber = 3; - private pb::ByteString serializedGossip_ = pb::ByteString.Empty; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pb::ByteString SerializedGossip { - get { return serializedGossip_; } - set { - serializedGossip_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as GossipEnvelope); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(GossipEnvelope other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (!object.Equals(From, other.From)) return false; - if (!object.Equals(To, other.To)) return false; - if (SerializedGossip != other.SerializedGossip) 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 (from_ != null) hash ^= From.GetHashCode(); - if (to_ != null) hash ^= To.GetHashCode(); - if (SerializedGossip.Length != 0) hash ^= SerializedGossip.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 (from_ != null) { - output.WriteRawTag(10); - output.WriteMessage(From); - } - if (to_ != null) { - output.WriteRawTag(18); - output.WriteMessage(To); - } - if (SerializedGossip.Length != 0) { - output.WriteRawTag(26); - output.WriteBytes(SerializedGossip); - } - 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 (from_ != null) { - output.WriteRawTag(10); - output.WriteMessage(From); - } - if (to_ != null) { - output.WriteRawTag(18); - output.WriteMessage(To); - } - if (SerializedGossip.Length != 0) { - output.WriteRawTag(26); - output.WriteBytes(SerializedGossip); - } - 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 (from_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(From); - } - if (to_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(To); - } - if (SerializedGossip.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeBytesSize(SerializedGossip); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(GossipEnvelope other) { - if (other == null) { - return; - } - if (other.from_ != null) { - if (from_ == null) { - From = new global::Akka.Cluster.Serialization.Proto.Msg.UniqueAddress(); - } - From.MergeFrom(other.From); - } - if (other.to_ != null) { - if (to_ == null) { - To = new global::Akka.Cluster.Serialization.Proto.Msg.UniqueAddress(); - } - To.MergeFrom(other.To); - } - if (other.SerializedGossip.Length != 0) { - SerializedGossip = other.SerializedGossip; - } - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - if (from_ == null) { - From = new global::Akka.Cluster.Serialization.Proto.Msg.UniqueAddress(); - } - input.ReadMessage(From); - break; - } - case 18: { - if (to_ == null) { - To = new global::Akka.Cluster.Serialization.Proto.Msg.UniqueAddress(); - } - input.ReadMessage(To); - break; - } - case 26: { - SerializedGossip = input.ReadBytes(); - 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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - if (from_ == null) { - From = new global::Akka.Cluster.Serialization.Proto.Msg.UniqueAddress(); - } - input.ReadMessage(From); - break; - } - case 18: { - if (to_ == null) { - To = new global::Akka.Cluster.Serialization.Proto.Msg.UniqueAddress(); - } - input.ReadMessage(To); - break; - } - case 26: { - SerializedGossip = input.ReadBytes(); - break; - } - } - } - } - #endif - - } - - /// - /// Gossip Status - /// - internal sealed partial class GossipStatus : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GossipStatus()); - 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::Akka.Cluster.Serialization.Proto.Msg.ClusterMessagesReflection.Descriptor.MessageTypes[5]; } - } - - [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 GossipStatus() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public GossipStatus(GossipStatus other) : this() { - from_ = other.from_ != null ? other.from_.Clone() : null; - allHashes_ = other.allHashes_.Clone(); - version_ = other.version_ != null ? other.version_.Clone() : null; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public GossipStatus Clone() { - return new GossipStatus(this); - } - - /// Field number for the "from" field. - public const int FromFieldNumber = 1; - private global::Akka.Cluster.Serialization.Proto.Msg.UniqueAddress from_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.Cluster.Serialization.Proto.Msg.UniqueAddress From { - get { return from_; } - set { - from_ = value; - } - } - - /// Field number for the "allHashes" field. - public const int AllHashesFieldNumber = 2; - private static readonly pb::FieldCodec _repeated_allHashes_codec - = pb::FieldCodec.ForString(18); - private readonly pbc::RepeatedField allHashes_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField AllHashes { - get { return allHashes_; } - } - - /// Field number for the "version" field. - public const int VersionFieldNumber = 3; - private global::Akka.Cluster.Serialization.Proto.Msg.VectorClock version_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.Cluster.Serialization.Proto.Msg.VectorClock Version { - get { return version_; } - set { - version_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as GossipStatus); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(GossipStatus other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (!object.Equals(From, other.From)) return false; - if(!allHashes_.Equals(other.allHashes_)) return false; - if (!object.Equals(Version, other.Version)) 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 (from_ != null) hash ^= From.GetHashCode(); - hash ^= allHashes_.GetHashCode(); - if (version_ != null) hash ^= Version.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 (from_ != null) { - output.WriteRawTag(10); - output.WriteMessage(From); - } - allHashes_.WriteTo(output, _repeated_allHashes_codec); - if (version_ != null) { - output.WriteRawTag(26); - output.WriteMessage(Version); - } - 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 (from_ != null) { - output.WriteRawTag(10); - output.WriteMessage(From); - } - allHashes_.WriteTo(ref output, _repeated_allHashes_codec); - if (version_ != null) { - output.WriteRawTag(26); - output.WriteMessage(Version); - } - 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 (from_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(From); - } - size += allHashes_.CalculateSize(_repeated_allHashes_codec); - if (version_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Version); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(GossipStatus other) { - if (other == null) { - return; - } - if (other.from_ != null) { - if (from_ == null) { - From = new global::Akka.Cluster.Serialization.Proto.Msg.UniqueAddress(); - } - From.MergeFrom(other.From); - } - allHashes_.Add(other.allHashes_); - if (other.version_ != null) { - if (version_ == null) { - Version = new global::Akka.Cluster.Serialization.Proto.Msg.VectorClock(); - } - Version.MergeFrom(other.Version); - } - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - if (from_ == null) { - From = new global::Akka.Cluster.Serialization.Proto.Msg.UniqueAddress(); - } - input.ReadMessage(From); - break; - } - case 18: { - allHashes_.AddEntriesFrom(input, _repeated_allHashes_codec); - break; - } - case 26: { - if (version_ == null) { - Version = new global::Akka.Cluster.Serialization.Proto.Msg.VectorClock(); - } - input.ReadMessage(Version); - 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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - if (from_ == null) { - From = new global::Akka.Cluster.Serialization.Proto.Msg.UniqueAddress(); - } - input.ReadMessage(From); - break; - } - case 18: { - allHashes_.AddEntriesFrom(ref input, _repeated_allHashes_codec); - break; - } - case 26: { - if (version_ == null) { - Version = new global::Akka.Cluster.Serialization.Proto.Msg.VectorClock(); - } - input.ReadMessage(Version); - break; - } - } - } - } - #endif - - } - - /// - /// Gossip - /// - internal sealed partial class Gossip : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Gossip()); - 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::Akka.Cluster.Serialization.Proto.Msg.ClusterMessagesReflection.Descriptor.MessageTypes[6]; } - } - - [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 Gossip() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Gossip(Gossip other) : this() { - allAddresses_ = other.allAddresses_.Clone(); - allRoles_ = other.allRoles_.Clone(); - allHashes_ = other.allHashes_.Clone(); - members_ = other.members_.Clone(); - overview_ = other.overview_ != null ? other.overview_.Clone() : null; - version_ = other.version_ != null ? other.version_.Clone() : null; - allAppVersions_ = other.allAppVersions_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Gossip Clone() { - return new Gossip(this); - } - - /// Field number for the "allAddresses" field. - public const int AllAddressesFieldNumber = 1; - private static readonly pb::FieldCodec _repeated_allAddresses_codec - = pb::FieldCodec.ForMessage(10, global::Akka.Cluster.Serialization.Proto.Msg.UniqueAddress.Parser); - private readonly pbc::RepeatedField allAddresses_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField AllAddresses { - get { return allAddresses_; } - } - - /// Field number for the "allRoles" field. - public const int AllRolesFieldNumber = 2; - private static readonly pb::FieldCodec _repeated_allRoles_codec - = pb::FieldCodec.ForString(18); - private readonly pbc::RepeatedField allRoles_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField AllRoles { - get { return allRoles_; } - } - - /// Field number for the "allHashes" field. - public const int AllHashesFieldNumber = 3; - private static readonly pb::FieldCodec _repeated_allHashes_codec - = pb::FieldCodec.ForString(26); - private readonly pbc::RepeatedField allHashes_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField AllHashes { - get { return allHashes_; } - } - - /// Field number for the "members" field. - public const int MembersFieldNumber = 4; - private static readonly pb::FieldCodec _repeated_members_codec - = pb::FieldCodec.ForMessage(34, global::Akka.Cluster.Serialization.Proto.Msg.Member.Parser); - private readonly pbc::RepeatedField members_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField Members { - get { return members_; } - } - - /// Field number for the "overview" field. - public const int OverviewFieldNumber = 5; - private global::Akka.Cluster.Serialization.Proto.Msg.GossipOverview overview_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.Cluster.Serialization.Proto.Msg.GossipOverview Overview { - get { return overview_; } - set { - overview_ = value; - } - } - - /// Field number for the "version" field. - public const int VersionFieldNumber = 6; - private global::Akka.Cluster.Serialization.Proto.Msg.VectorClock version_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.Cluster.Serialization.Proto.Msg.VectorClock Version { - get { return version_; } - set { - version_ = value; - } - } - - /// Field number for the "allAppVersions" field. - public const int AllAppVersionsFieldNumber = 8; - private static readonly pb::FieldCodec _repeated_allAppVersions_codec - = pb::FieldCodec.ForString(66); - private readonly pbc::RepeatedField allAppVersions_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField AllAppVersions { - get { return allAppVersions_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as Gossip); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(Gossip other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!allAddresses_.Equals(other.allAddresses_)) return false; - if(!allRoles_.Equals(other.allRoles_)) return false; - if(!allHashes_.Equals(other.allHashes_)) return false; - if(!members_.Equals(other.members_)) return false; - if (!object.Equals(Overview, other.Overview)) return false; - if (!object.Equals(Version, other.Version)) return false; - if(!allAppVersions_.Equals(other.allAppVersions_)) 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; - hash ^= allAddresses_.GetHashCode(); - hash ^= allRoles_.GetHashCode(); - hash ^= allHashes_.GetHashCode(); - hash ^= members_.GetHashCode(); - if (overview_ != null) hash ^= Overview.GetHashCode(); - if (version_ != null) hash ^= Version.GetHashCode(); - hash ^= allAppVersions_.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 - allAddresses_.WriteTo(output, _repeated_allAddresses_codec); - allRoles_.WriteTo(output, _repeated_allRoles_codec); - allHashes_.WriteTo(output, _repeated_allHashes_codec); - members_.WriteTo(output, _repeated_members_codec); - if (overview_ != null) { - output.WriteRawTag(42); - output.WriteMessage(Overview); - } - if (version_ != null) { - output.WriteRawTag(50); - output.WriteMessage(Version); - } - allAppVersions_.WriteTo(output, _repeated_allAppVersions_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) { - allAddresses_.WriteTo(ref output, _repeated_allAddresses_codec); - allRoles_.WriteTo(ref output, _repeated_allRoles_codec); - allHashes_.WriteTo(ref output, _repeated_allHashes_codec); - members_.WriteTo(ref output, _repeated_members_codec); - if (overview_ != null) { - output.WriteRawTag(42); - output.WriteMessage(Overview); - } - if (version_ != null) { - output.WriteRawTag(50); - output.WriteMessage(Version); - } - allAppVersions_.WriteTo(ref output, _repeated_allAppVersions_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; - size += allAddresses_.CalculateSize(_repeated_allAddresses_codec); - size += allRoles_.CalculateSize(_repeated_allRoles_codec); - size += allHashes_.CalculateSize(_repeated_allHashes_codec); - size += members_.CalculateSize(_repeated_members_codec); - if (overview_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Overview); - } - if (version_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Version); - } - size += allAppVersions_.CalculateSize(_repeated_allAppVersions_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(Gossip other) { - if (other == null) { - return; - } - allAddresses_.Add(other.allAddresses_); - allRoles_.Add(other.allRoles_); - allHashes_.Add(other.allHashes_); - members_.Add(other.members_); - if (other.overview_ != null) { - if (overview_ == null) { - Overview = new global::Akka.Cluster.Serialization.Proto.Msg.GossipOverview(); - } - Overview.MergeFrom(other.Overview); - } - if (other.version_ != null) { - if (version_ == null) { - Version = new global::Akka.Cluster.Serialization.Proto.Msg.VectorClock(); - } - Version.MergeFrom(other.Version); - } - allAppVersions_.Add(other.allAppVersions_); - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - allAddresses_.AddEntriesFrom(input, _repeated_allAddresses_codec); - break; - } - case 18: { - allRoles_.AddEntriesFrom(input, _repeated_allRoles_codec); - break; - } - case 26: { - allHashes_.AddEntriesFrom(input, _repeated_allHashes_codec); - break; - } - case 34: { - members_.AddEntriesFrom(input, _repeated_members_codec); - break; - } - case 42: { - if (overview_ == null) { - Overview = new global::Akka.Cluster.Serialization.Proto.Msg.GossipOverview(); - } - input.ReadMessage(Overview); - break; - } - case 50: { - if (version_ == null) { - Version = new global::Akka.Cluster.Serialization.Proto.Msg.VectorClock(); - } - input.ReadMessage(Version); - break; - } - case 66: { - allAppVersions_.AddEntriesFrom(input, _repeated_allAppVersions_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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - allAddresses_.AddEntriesFrom(ref input, _repeated_allAddresses_codec); - break; - } - case 18: { - allRoles_.AddEntriesFrom(ref input, _repeated_allRoles_codec); - break; - } - case 26: { - allHashes_.AddEntriesFrom(ref input, _repeated_allHashes_codec); - break; - } - case 34: { - members_.AddEntriesFrom(ref input, _repeated_members_codec); - break; - } - case 42: { - if (overview_ == null) { - Overview = new global::Akka.Cluster.Serialization.Proto.Msg.GossipOverview(); - } - input.ReadMessage(Overview); - break; - } - case 50: { - if (version_ == null) { - Version = new global::Akka.Cluster.Serialization.Proto.Msg.VectorClock(); - } - input.ReadMessage(Version); - break; - } - case 66: { - allAppVersions_.AddEntriesFrom(ref input, _repeated_allAppVersions_codec); - break; - } - } - } - } - #endif - - } - - /// - /// Gossip Overview - /// - internal sealed partial class GossipOverview : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GossipOverview()); - 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::Akka.Cluster.Serialization.Proto.Msg.ClusterMessagesReflection.Descriptor.MessageTypes[7]; } - } - - [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 GossipOverview() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public GossipOverview(GossipOverview other) : this() { - seen_ = other.seen_.Clone(); - observerReachability_ = other.observerReachability_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public GossipOverview Clone() { - return new GossipOverview(this); - } - - /// Field number for the "seen" field. - public const int SeenFieldNumber = 1; - private static readonly pb::FieldCodec _repeated_seen_codec - = pb::FieldCodec.ForInt32(10); - private readonly pbc::RepeatedField seen_ = new pbc::RepeatedField(); - /// - /// This is the address indexes for the nodes that have seen this gossip - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField Seen { - get { return seen_; } - } - - /// Field number for the "observerReachability" field. - public const int ObserverReachabilityFieldNumber = 2; - private static readonly pb::FieldCodec _repeated_observerReachability_codec - = pb::FieldCodec.ForMessage(18, global::Akka.Cluster.Serialization.Proto.Msg.ObserverReachability.Parser); - private readonly pbc::RepeatedField observerReachability_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField ObserverReachability { - get { return observerReachability_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as GossipOverview); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(GossipOverview other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!seen_.Equals(other.seen_)) return false; - if(!observerReachability_.Equals(other.observerReachability_)) 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; - hash ^= seen_.GetHashCode(); - hash ^= observerReachability_.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 - seen_.WriteTo(output, _repeated_seen_codec); - observerReachability_.WriteTo(output, _repeated_observerReachability_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) { - seen_.WriteTo(ref output, _repeated_seen_codec); - observerReachability_.WriteTo(ref output, _repeated_observerReachability_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; - size += seen_.CalculateSize(_repeated_seen_codec); - size += observerReachability_.CalculateSize(_repeated_observerReachability_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(GossipOverview other) { - if (other == null) { - return; - } - seen_.Add(other.seen_); - observerReachability_.Add(other.observerReachability_); - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: - case 8: { - seen_.AddEntriesFrom(input, _repeated_seen_codec); - break; - } - case 18: { - observerReachability_.AddEntriesFrom(input, _repeated_observerReachability_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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: - case 8: { - seen_.AddEntriesFrom(ref input, _repeated_seen_codec); - break; - } - case 18: { - observerReachability_.AddEntriesFrom(ref input, _repeated_observerReachability_codec); - break; - } - } - } - } - #endif - - } - - /// - /// Reachability - /// - internal sealed partial class ObserverReachability : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ObserverReachability()); - 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::Akka.Cluster.Serialization.Proto.Msg.ClusterMessagesReflection.Descriptor.MessageTypes[8]; } - } - - [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 ObserverReachability() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ObserverReachability(ObserverReachability other) : this() { - addressIndex_ = other.addressIndex_; - version_ = other.version_; - subjectReachability_ = other.subjectReachability_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ObserverReachability Clone() { - return new ObserverReachability(this); - } - - /// Field number for the "addressIndex" field. - public const int AddressIndexFieldNumber = 1; - private int addressIndex_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int AddressIndex { - get { return addressIndex_; } - set { - addressIndex_ = value; - } - } - - /// Field number for the "version" field. - public const int VersionFieldNumber = 4; - private long version_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public long Version { - get { return version_; } - set { - version_ = value; - } - } - - /// Field number for the "subjectReachability" field. - public const int SubjectReachabilityFieldNumber = 2; - private static readonly pb::FieldCodec _repeated_subjectReachability_codec - = pb::FieldCodec.ForMessage(18, global::Akka.Cluster.Serialization.Proto.Msg.SubjectReachability.Parser); - private readonly pbc::RepeatedField subjectReachability_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField SubjectReachability { - get { return subjectReachability_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ObserverReachability); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ObserverReachability other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (AddressIndex != other.AddressIndex) return false; - if (Version != other.Version) return false; - if(!subjectReachability_.Equals(other.subjectReachability_)) 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 (AddressIndex != 0) hash ^= AddressIndex.GetHashCode(); - if (Version != 0L) hash ^= Version.GetHashCode(); - hash ^= subjectReachability_.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 (AddressIndex != 0) { - output.WriteRawTag(8); - output.WriteInt32(AddressIndex); - } - subjectReachability_.WriteTo(output, _repeated_subjectReachability_codec); - if (Version != 0L) { - output.WriteRawTag(32); - output.WriteInt64(Version); - } - 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 (AddressIndex != 0) { - output.WriteRawTag(8); - output.WriteInt32(AddressIndex); - } - subjectReachability_.WriteTo(ref output, _repeated_subjectReachability_codec); - if (Version != 0L) { - output.WriteRawTag(32); - output.WriteInt64(Version); - } - 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 (AddressIndex != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(AddressIndex); - } - if (Version != 0L) { - size += 1 + pb::CodedOutputStream.ComputeInt64Size(Version); - } - size += subjectReachability_.CalculateSize(_repeated_subjectReachability_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ObserverReachability other) { - if (other == null) { - return; - } - if (other.AddressIndex != 0) { - AddressIndex = other.AddressIndex; - } - if (other.Version != 0L) { - Version = other.Version; - } - subjectReachability_.Add(other.subjectReachability_); - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 8: { - AddressIndex = input.ReadInt32(); - break; - } - case 18: { - subjectReachability_.AddEntriesFrom(input, _repeated_subjectReachability_codec); - break; - } - case 32: { - Version = input.ReadInt64(); - 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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 8: { - AddressIndex = input.ReadInt32(); - break; - } - case 18: { - subjectReachability_.AddEntriesFrom(ref input, _repeated_subjectReachability_codec); - break; - } - case 32: { - Version = input.ReadInt64(); - break; - } - } - } - } - #endif - - } - - internal sealed partial class SubjectReachability : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SubjectReachability()); - 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::Akka.Cluster.Serialization.Proto.Msg.ClusterMessagesReflection.Descriptor.MessageTypes[9]; } - } - - [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 SubjectReachability() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public SubjectReachability(SubjectReachability other) : this() { - addressIndex_ = other.addressIndex_; - status_ = other.status_; - version_ = other.version_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public SubjectReachability Clone() { - return new SubjectReachability(this); - } - - /// Field number for the "addressIndex" field. - public const int AddressIndexFieldNumber = 1; - private int addressIndex_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int AddressIndex { - get { return addressIndex_; } - set { - addressIndex_ = value; - } - } - - /// Field number for the "status" field. - public const int StatusFieldNumber = 3; - private global::Akka.Cluster.Serialization.Proto.Msg.SubjectReachability.Types.ReachabilityStatus status_ = global::Akka.Cluster.Serialization.Proto.Msg.SubjectReachability.Types.ReachabilityStatus.Reachable; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.Cluster.Serialization.Proto.Msg.SubjectReachability.Types.ReachabilityStatus Status { - get { return status_; } - set { - status_ = value; - } - } - - /// Field number for the "version" field. - public const int VersionFieldNumber = 4; - private long version_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public long Version { - get { return version_; } - set { - version_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as SubjectReachability); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(SubjectReachability other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (AddressIndex != other.AddressIndex) return false; - if (Status != other.Status) return false; - if (Version != other.Version) 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 (AddressIndex != 0) hash ^= AddressIndex.GetHashCode(); - if (Status != global::Akka.Cluster.Serialization.Proto.Msg.SubjectReachability.Types.ReachabilityStatus.Reachable) hash ^= Status.GetHashCode(); - if (Version != 0L) hash ^= Version.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 (AddressIndex != 0) { - output.WriteRawTag(8); - output.WriteInt32(AddressIndex); - } - if (Status != global::Akka.Cluster.Serialization.Proto.Msg.SubjectReachability.Types.ReachabilityStatus.Reachable) { - output.WriteRawTag(24); - output.WriteEnum((int) Status); - } - if (Version != 0L) { - output.WriteRawTag(32); - output.WriteInt64(Version); - } - 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 (AddressIndex != 0) { - output.WriteRawTag(8); - output.WriteInt32(AddressIndex); - } - if (Status != global::Akka.Cluster.Serialization.Proto.Msg.SubjectReachability.Types.ReachabilityStatus.Reachable) { - output.WriteRawTag(24); - output.WriteEnum((int) Status); - } - if (Version != 0L) { - output.WriteRawTag(32); - output.WriteInt64(Version); - } - 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 (AddressIndex != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(AddressIndex); - } - if (Status != global::Akka.Cluster.Serialization.Proto.Msg.SubjectReachability.Types.ReachabilityStatus.Reachable) { - size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Status); - } - if (Version != 0L) { - size += 1 + pb::CodedOutputStream.ComputeInt64Size(Version); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(SubjectReachability other) { - if (other == null) { - return; - } - if (other.AddressIndex != 0) { - AddressIndex = other.AddressIndex; - } - if (other.Status != global::Akka.Cluster.Serialization.Proto.Msg.SubjectReachability.Types.ReachabilityStatus.Reachable) { - Status = other.Status; - } - if (other.Version != 0L) { - Version = other.Version; - } - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 8: { - AddressIndex = input.ReadInt32(); - break; - } - case 24: { - Status = (global::Akka.Cluster.Serialization.Proto.Msg.SubjectReachability.Types.ReachabilityStatus) input.ReadEnum(); - break; - } - case 32: { - Version = input.ReadInt64(); - 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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 8: { - AddressIndex = input.ReadInt32(); - break; - } - case 24: { - Status = (global::Akka.Cluster.Serialization.Proto.Msg.SubjectReachability.Types.ReachabilityStatus) input.ReadEnum(); - break; - } - case 32: { - Version = input.ReadInt64(); - break; - } - } - } - } - #endif - - #region Nested types - /// Container for nested types declared in the SubjectReachability message type. - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static partial class Types { - internal enum ReachabilityStatus { - [pbr::OriginalName("Reachable")] Reachable = 0, - [pbr::OriginalName("Unreachable")] Unreachable = 1, - [pbr::OriginalName("Terminated")] Terminated = 2, - } - - } - #endregion - - } - - /// - /// Member - /// - internal sealed partial class Member : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Member()); - 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::Akka.Cluster.Serialization.Proto.Msg.ClusterMessagesReflection.Descriptor.MessageTypes[10]; } - } - - [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 Member() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Member(Member other) : this() { - addressIndex_ = other.addressIndex_; - upNumber_ = other.upNumber_; - status_ = other.status_; - rolesIndexes_ = other.rolesIndexes_.Clone(); - appVersionIndex_ = other.appVersionIndex_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Member Clone() { - return new Member(this); - } - - /// Field number for the "addressIndex" field. - public const int AddressIndexFieldNumber = 1; - private int addressIndex_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int AddressIndex { - get { return addressIndex_; } - set { - addressIndex_ = value; - } - } - - /// Field number for the "upNumber" field. - public const int UpNumberFieldNumber = 2; - private int upNumber_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int UpNumber { - get { return upNumber_; } - set { - upNumber_ = value; - } - } - - /// Field number for the "status" field. - public const int StatusFieldNumber = 3; - private global::Akka.Cluster.Serialization.Proto.Msg.Member.Types.MemberStatus status_ = global::Akka.Cluster.Serialization.Proto.Msg.Member.Types.MemberStatus.Joining; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.Cluster.Serialization.Proto.Msg.Member.Types.MemberStatus Status { - get { return status_; } - set { - status_ = value; - } - } - - /// Field number for the "rolesIndexes" field. - public const int RolesIndexesFieldNumber = 4; - private static readonly pb::FieldCodec _repeated_rolesIndexes_codec - = pb::FieldCodec.ForInt32(34); - private readonly pbc::RepeatedField rolesIndexes_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField RolesIndexes { - get { return rolesIndexes_; } - } - - /// Field number for the "appVersionIndex" field. - public const int AppVersionIndexFieldNumber = 5; - private int appVersionIndex_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int AppVersionIndex { - get { return appVersionIndex_; } - set { - appVersionIndex_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as Member); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(Member other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (AddressIndex != other.AddressIndex) return false; - if (UpNumber != other.UpNumber) return false; - if (Status != other.Status) return false; - if(!rolesIndexes_.Equals(other.rolesIndexes_)) return false; - if (AppVersionIndex != other.AppVersionIndex) 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 (AddressIndex != 0) hash ^= AddressIndex.GetHashCode(); - if (UpNumber != 0) hash ^= UpNumber.GetHashCode(); - if (Status != global::Akka.Cluster.Serialization.Proto.Msg.Member.Types.MemberStatus.Joining) hash ^= Status.GetHashCode(); - hash ^= rolesIndexes_.GetHashCode(); - if (AppVersionIndex != 0) hash ^= AppVersionIndex.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 (AddressIndex != 0) { - output.WriteRawTag(8); - output.WriteInt32(AddressIndex); - } - if (UpNumber != 0) { - output.WriteRawTag(16); - output.WriteInt32(UpNumber); - } - if (Status != global::Akka.Cluster.Serialization.Proto.Msg.Member.Types.MemberStatus.Joining) { - output.WriteRawTag(24); - output.WriteEnum((int) Status); - } - rolesIndexes_.WriteTo(output, _repeated_rolesIndexes_codec); - if (AppVersionIndex != 0) { - output.WriteRawTag(40); - output.WriteInt32(AppVersionIndex); - } - 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 (AddressIndex != 0) { - output.WriteRawTag(8); - output.WriteInt32(AddressIndex); - } - if (UpNumber != 0) { - output.WriteRawTag(16); - output.WriteInt32(UpNumber); - } - if (Status != global::Akka.Cluster.Serialization.Proto.Msg.Member.Types.MemberStatus.Joining) { - output.WriteRawTag(24); - output.WriteEnum((int) Status); - } - rolesIndexes_.WriteTo(ref output, _repeated_rolesIndexes_codec); - if (AppVersionIndex != 0) { - output.WriteRawTag(40); - output.WriteInt32(AppVersionIndex); - } - 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 (AddressIndex != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(AddressIndex); - } - if (UpNumber != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(UpNumber); - } - if (Status != global::Akka.Cluster.Serialization.Proto.Msg.Member.Types.MemberStatus.Joining) { - size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Status); - } - size += rolesIndexes_.CalculateSize(_repeated_rolesIndexes_codec); - if (AppVersionIndex != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(AppVersionIndex); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(Member other) { - if (other == null) { - return; - } - if (other.AddressIndex != 0) { - AddressIndex = other.AddressIndex; - } - if (other.UpNumber != 0) { - UpNumber = other.UpNumber; - } - if (other.Status != global::Akka.Cluster.Serialization.Proto.Msg.Member.Types.MemberStatus.Joining) { - Status = other.Status; - } - rolesIndexes_.Add(other.rolesIndexes_); - if (other.AppVersionIndex != 0) { - AppVersionIndex = other.AppVersionIndex; - } - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 8: { - AddressIndex = input.ReadInt32(); - break; - } - case 16: { - UpNumber = input.ReadInt32(); - break; - } - case 24: { - Status = (global::Akka.Cluster.Serialization.Proto.Msg.Member.Types.MemberStatus) input.ReadEnum(); - break; - } - case 34: - case 32: { - rolesIndexes_.AddEntriesFrom(input, _repeated_rolesIndexes_codec); - break; - } - case 40: { - AppVersionIndex = input.ReadInt32(); - 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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 8: { - AddressIndex = input.ReadInt32(); - break; - } - case 16: { - UpNumber = input.ReadInt32(); - break; - } - case 24: { - Status = (global::Akka.Cluster.Serialization.Proto.Msg.Member.Types.MemberStatus) input.ReadEnum(); - break; - } - case 34: - case 32: { - rolesIndexes_.AddEntriesFrom(ref input, _repeated_rolesIndexes_codec); - break; - } - case 40: { - AppVersionIndex = input.ReadInt32(); - break; - } - } - } - } - #endif - - #region Nested types - /// Container for nested types declared in the Member message type. - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static partial class Types { - internal enum MemberStatus { - [pbr::OriginalName("Joining")] Joining = 0, - [pbr::OriginalName("Up")] Up = 1, - [pbr::OriginalName("Leaving")] Leaving = 2, - [pbr::OriginalName("Exiting")] Exiting = 3, - [pbr::OriginalName("Down")] Down = 4, - [pbr::OriginalName("Removed")] Removed = 5, - [pbr::OriginalName("WeaklyUp")] WeaklyUp = 6, - } - - } - #endregion - - } - - /// - /// Vector Clock - /// - internal sealed partial class VectorClock : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new VectorClock()); - 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::Akka.Cluster.Serialization.Proto.Msg.ClusterMessagesReflection.Descriptor.MessageTypes[11]; } - } - - [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 VectorClock() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public VectorClock(VectorClock other) : this() { - timestamp_ = other.timestamp_; - versions_ = other.versions_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public VectorClock Clone() { - return new VectorClock(this); - } - - /// Field number for the "timestamp" field. - public const int TimestampFieldNumber = 1; - private long timestamp_; - /// - /// the timestamp could be removed but left for test data compatibility - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public long Timestamp { - get { return timestamp_; } - set { - timestamp_ = value; - } - } - - /// Field number for the "versions" field. - public const int VersionsFieldNumber = 2; - private static readonly pb::FieldCodec _repeated_versions_codec - = pb::FieldCodec.ForMessage(18, global::Akka.Cluster.Serialization.Proto.Msg.VectorClock.Types.Version.Parser); - private readonly pbc::RepeatedField versions_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField Versions { - get { return versions_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as VectorClock); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(VectorClock other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Timestamp != other.Timestamp) return false; - if(!versions_.Equals(other.versions_)) 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 (Timestamp != 0L) hash ^= Timestamp.GetHashCode(); - hash ^= versions_.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 (Timestamp != 0L) { - output.WriteRawTag(8); - output.WriteInt64(Timestamp); - } - versions_.WriteTo(output, _repeated_versions_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 (Timestamp != 0L) { - output.WriteRawTag(8); - output.WriteInt64(Timestamp); - } - versions_.WriteTo(ref output, _repeated_versions_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 (Timestamp != 0L) { - size += 1 + pb::CodedOutputStream.ComputeInt64Size(Timestamp); - } - size += versions_.CalculateSize(_repeated_versions_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(VectorClock other) { - if (other == null) { - return; - } - if (other.Timestamp != 0L) { - Timestamp = other.Timestamp; - } - versions_.Add(other.versions_); - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 8: { - Timestamp = input.ReadInt64(); - break; - } - case 18: { - versions_.AddEntriesFrom(input, _repeated_versions_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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 8: { - Timestamp = input.ReadInt64(); - break; - } - case 18: { - versions_.AddEntriesFrom(ref input, _repeated_versions_codec); - break; - } - } - } - } - #endif - - #region Nested types - /// Container for nested types declared in the VectorClock message type. - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static partial class Types { - internal sealed partial class Version : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Version()); - 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::Akka.Cluster.Serialization.Proto.Msg.VectorClock.Descriptor.NestedTypes[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 Version() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Version(Version other) : this() { - hashIndex_ = other.hashIndex_; - timestamp_ = other.timestamp_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Version Clone() { - return new Version(this); - } - - /// Field number for the "hashIndex" field. - public const int HashIndexFieldNumber = 1; - private int hashIndex_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int HashIndex { - get { return hashIndex_; } - set { - hashIndex_ = value; - } - } - - /// Field number for the "timestamp" field. - public const int TimestampFieldNumber = 2; - private long timestamp_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public long Timestamp { - get { return timestamp_; } - set { - timestamp_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as Version); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(Version other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (HashIndex != other.HashIndex) return false; - if (Timestamp != other.Timestamp) 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 (HashIndex != 0) hash ^= HashIndex.GetHashCode(); - if (Timestamp != 0L) hash ^= Timestamp.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 (HashIndex != 0) { - output.WriteRawTag(8); - output.WriteInt32(HashIndex); - } - if (Timestamp != 0L) { - output.WriteRawTag(16); - output.WriteInt64(Timestamp); - } - 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 (HashIndex != 0) { - output.WriteRawTag(8); - output.WriteInt32(HashIndex); - } - if (Timestamp != 0L) { - output.WriteRawTag(16); - output.WriteInt64(Timestamp); - } - 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 (HashIndex != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(HashIndex); - } - if (Timestamp != 0L) { - size += 1 + pb::CodedOutputStream.ComputeInt64Size(Timestamp); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(Version other) { - if (other == null) { - return; - } - if (other.HashIndex != 0) { - HashIndex = other.HashIndex; - } - if (other.Timestamp != 0L) { - Timestamp = other.Timestamp; - } - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 8: { - HashIndex = input.ReadInt32(); - break; - } - case 16: { - Timestamp = input.ReadInt64(); - 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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 8: { - HashIndex = input.ReadInt32(); - break; - } - case 16: { - Timestamp = input.ReadInt64(); - break; - } - } - } - } - #endif - - } - - } - #endregion - - } - - /// - /// Defines a remote address with uid. - /// - internal sealed partial class UniqueAddress : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UniqueAddress()); - 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::Akka.Cluster.Serialization.Proto.Msg.ClusterMessagesReflection.Descriptor.MessageTypes[12]; } - } - - [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 UniqueAddress() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public UniqueAddress(UniqueAddress other) : this() { - address_ = other.address_ != null ? other.address_.Clone() : null; - uid_ = other.uid_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public UniqueAddress Clone() { - return new UniqueAddress(this); - } - - /// Field number for the "address" field. - public const int AddressFieldNumber = 1; - private global::Akka.Remote.Serialization.Proto.Msg.AddressData address_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.Remote.Serialization.Proto.Msg.AddressData Address { - get { return address_; } - set { - address_ = value; - } - } - - /// Field number for the "uid" field. - public const int UidFieldNumber = 2; - private uint uid_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public uint Uid { - get { return uid_; } - set { - uid_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as UniqueAddress); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(UniqueAddress other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (!object.Equals(Address, other.Address)) return false; - if (Uid != other.Uid) 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 (address_ != null) hash ^= Address.GetHashCode(); - if (Uid != 0) hash ^= Uid.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 (address_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Address); - } - if (Uid != 0) { - output.WriteRawTag(16); - output.WriteUInt32(Uid); - } - 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 (address_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Address); - } - if (Uid != 0) { - output.WriteRawTag(16); - output.WriteUInt32(Uid); - } - 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 (address_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Address); - } - if (Uid != 0) { - size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Uid); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(UniqueAddress other) { - if (other == null) { - return; - } - if (other.address_ != null) { - if (address_ == null) { - Address = new global::Akka.Remote.Serialization.Proto.Msg.AddressData(); - } - Address.MergeFrom(other.Address); - } - if (other.Uid != 0) { - Uid = other.Uid; - } - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - if (address_ == null) { - Address = new global::Akka.Remote.Serialization.Proto.Msg.AddressData(); - } - input.ReadMessage(Address); - break; - } - case 16: { - Uid = 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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - if (address_ == null) { - Address = new global::Akka.Remote.Serialization.Proto.Msg.AddressData(); - } - input.ReadMessage(Address); - break; - } - case 16: { - Uid = input.ReadUInt32(); - break; - } - } - } - } - #endif - - } - - internal sealed partial class ClusterRouterPool : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ClusterRouterPool()); - 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::Akka.Cluster.Serialization.Proto.Msg.ClusterMessagesReflection.Descriptor.MessageTypes[13]; } - } - - [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 ClusterRouterPool() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ClusterRouterPool(ClusterRouterPool other) : this() { - pool_ = other.pool_ != null ? other.pool_.Clone() : null; - settings_ = other.settings_ != null ? other.settings_.Clone() : null; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ClusterRouterPool Clone() { - return new ClusterRouterPool(this); - } - - /// Field number for the "pool" field. - public const int PoolFieldNumber = 1; - private global::Akka.Cluster.Serialization.Proto.Msg.Pool pool_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.Cluster.Serialization.Proto.Msg.Pool Pool { - get { return pool_; } - set { - pool_ = value; - } - } - - /// Field number for the "settings" field. - public const int SettingsFieldNumber = 2; - private global::Akka.Cluster.Serialization.Proto.Msg.ClusterRouterPoolSettings settings_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.Cluster.Serialization.Proto.Msg.ClusterRouterPoolSettings Settings { - get { return settings_; } - set { - settings_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ClusterRouterPool); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ClusterRouterPool other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (!object.Equals(Pool, other.Pool)) return false; - if (!object.Equals(Settings, other.Settings)) 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 (pool_ != null) hash ^= Pool.GetHashCode(); - if (settings_ != null) hash ^= Settings.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 (pool_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Pool); - } - if (settings_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Settings); - } - 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 (pool_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Pool); - } - if (settings_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Settings); - } - 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 (pool_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Pool); - } - if (settings_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Settings); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ClusterRouterPool other) { - if (other == null) { - return; - } - if (other.pool_ != null) { - if (pool_ == null) { - Pool = new global::Akka.Cluster.Serialization.Proto.Msg.Pool(); - } - Pool.MergeFrom(other.Pool); - } - if (other.settings_ != null) { - if (settings_ == null) { - Settings = new global::Akka.Cluster.Serialization.Proto.Msg.ClusterRouterPoolSettings(); - } - Settings.MergeFrom(other.Settings); - } - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - if (pool_ == null) { - Pool = new global::Akka.Cluster.Serialization.Proto.Msg.Pool(); - } - input.ReadMessage(Pool); - break; - } - case 18: { - if (settings_ == null) { - Settings = new global::Akka.Cluster.Serialization.Proto.Msg.ClusterRouterPoolSettings(); - } - input.ReadMessage(Settings); - 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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - if (pool_ == null) { - Pool = new global::Akka.Cluster.Serialization.Proto.Msg.Pool(); - } - input.ReadMessage(Pool); - break; - } - case 18: { - if (settings_ == null) { - Settings = new global::Akka.Cluster.Serialization.Proto.Msg.ClusterRouterPoolSettings(); - } - input.ReadMessage(Settings); - break; - } - } - } - } - #endif - - } - - internal sealed partial class Pool : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Pool()); - 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::Akka.Cluster.Serialization.Proto.Msg.ClusterMessagesReflection.Descriptor.MessageTypes[14]; } - } - - [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 Pool() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Pool(Pool other) : this() { - serializerId_ = other.serializerId_; - manifest_ = other.manifest_; - data_ = other.data_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Pool Clone() { - return new Pool(this); - } - - /// Field number for the "serializerId" field. - public const int SerializerIdFieldNumber = 1; - private uint serializerId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public uint SerializerId { - get { return serializerId_; } - set { - serializerId_ = value; - } - } - - /// Field number for the "manifest" field. - public const int ManifestFieldNumber = 2; - private string manifest_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Manifest { - get { return manifest_; } - set { - manifest_ = 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"); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as Pool); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(Pool other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (SerializerId != other.SerializerId) return false; - if (Manifest != other.Manifest) return false; - if (Data != other.Data) 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 (SerializerId != 0) hash ^= SerializerId.GetHashCode(); - if (Manifest.Length != 0) hash ^= Manifest.GetHashCode(); - if (Data.Length != 0) hash ^= Data.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 (SerializerId != 0) { - output.WriteRawTag(8); - output.WriteUInt32(SerializerId); - } - if (Manifest.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Manifest); - } - if (Data.Length != 0) { - output.WriteRawTag(26); - output.WriteBytes(Data); - } - 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 (SerializerId != 0) { - output.WriteRawTag(8); - output.WriteUInt32(SerializerId); - } - if (Manifest.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Manifest); - } - if (Data.Length != 0) { - output.WriteRawTag(26); - output.WriteBytes(Data); - } - 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 (SerializerId != 0) { - size += 1 + pb::CodedOutputStream.ComputeUInt32Size(SerializerId); - } - if (Manifest.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Manifest); - } - if (Data.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeBytesSize(Data); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(Pool other) { - if (other == null) { - return; - } - if (other.SerializerId != 0) { - SerializerId = other.SerializerId; - } - if (other.Manifest.Length != 0) { - Manifest = other.Manifest; - } - if (other.Data.Length != 0) { - Data = other.Data; - } - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 8: { - SerializerId = input.ReadUInt32(); - break; - } - case 18: { - Manifest = input.ReadString(); - break; - } - case 26: { - Data = input.ReadBytes(); - 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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 8: { - SerializerId = input.ReadUInt32(); - break; - } - case 18: { - Manifest = input.ReadString(); - break; - } - case 26: { - Data = input.ReadBytes(); - break; - } - } - } - } - #endif - - } - - internal sealed partial class ClusterRouterPoolSettings : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ClusterRouterPoolSettings()); - 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::Akka.Cluster.Serialization.Proto.Msg.ClusterMessagesReflection.Descriptor.MessageTypes[15]; } - } - - [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 ClusterRouterPoolSettings() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ClusterRouterPoolSettings(ClusterRouterPoolSettings other) : this() { - totalInstances_ = other.totalInstances_; - maxInstancesPerNode_ = other.maxInstancesPerNode_; - allowLocalRoutees_ = other.allowLocalRoutees_; - useRole_ = other.useRole_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ClusterRouterPoolSettings Clone() { - return new ClusterRouterPoolSettings(this); - } - - /// Field number for the "totalInstances" field. - public const int TotalInstancesFieldNumber = 1; - private uint totalInstances_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public uint TotalInstances { - get { return totalInstances_; } - set { - totalInstances_ = value; - } - } - - /// Field number for the "maxInstancesPerNode" field. - public const int MaxInstancesPerNodeFieldNumber = 2; - private uint maxInstancesPerNode_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public uint MaxInstancesPerNode { - get { return maxInstancesPerNode_; } - set { - maxInstancesPerNode_ = value; - } - } - - /// Field number for the "allowLocalRoutees" field. - public const int AllowLocalRouteesFieldNumber = 3; - private bool allowLocalRoutees_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool AllowLocalRoutees { - get { return allowLocalRoutees_; } - set { - allowLocalRoutees_ = value; - } - } - - /// Field number for the "useRole" field. - public const int UseRoleFieldNumber = 4; - private string useRole_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string UseRole { - get { return useRole_; } - set { - useRole_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ClusterRouterPoolSettings); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ClusterRouterPoolSettings other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (TotalInstances != other.TotalInstances) return false; - if (MaxInstancesPerNode != other.MaxInstancesPerNode) return false; - if (AllowLocalRoutees != other.AllowLocalRoutees) return false; - if (UseRole != other.UseRole) 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 (TotalInstances != 0) hash ^= TotalInstances.GetHashCode(); - if (MaxInstancesPerNode != 0) hash ^= MaxInstancesPerNode.GetHashCode(); - if (AllowLocalRoutees != false) hash ^= AllowLocalRoutees.GetHashCode(); - if (UseRole.Length != 0) hash ^= UseRole.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 (TotalInstances != 0) { - output.WriteRawTag(8); - output.WriteUInt32(TotalInstances); - } - if (MaxInstancesPerNode != 0) { - output.WriteRawTag(16); - output.WriteUInt32(MaxInstancesPerNode); - } - if (AllowLocalRoutees != false) { - output.WriteRawTag(24); - output.WriteBool(AllowLocalRoutees); - } - if (UseRole.Length != 0) { - output.WriteRawTag(34); - output.WriteString(UseRole); - } - 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 (TotalInstances != 0) { - output.WriteRawTag(8); - output.WriteUInt32(TotalInstances); - } - if (MaxInstancesPerNode != 0) { - output.WriteRawTag(16); - output.WriteUInt32(MaxInstancesPerNode); - } - if (AllowLocalRoutees != false) { - output.WriteRawTag(24); - output.WriteBool(AllowLocalRoutees); - } - if (UseRole.Length != 0) { - output.WriteRawTag(34); - output.WriteString(UseRole); - } - 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 (TotalInstances != 0) { - size += 1 + pb::CodedOutputStream.ComputeUInt32Size(TotalInstances); - } - if (MaxInstancesPerNode != 0) { - size += 1 + pb::CodedOutputStream.ComputeUInt32Size(MaxInstancesPerNode); - } - if (AllowLocalRoutees != false) { - size += 1 + 1; - } - if (UseRole.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(UseRole); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ClusterRouterPoolSettings other) { - if (other == null) { - return; - } - if (other.TotalInstances != 0) { - TotalInstances = other.TotalInstances; - } - if (other.MaxInstancesPerNode != 0) { - MaxInstancesPerNode = other.MaxInstancesPerNode; - } - if (other.AllowLocalRoutees != false) { - AllowLocalRoutees = other.AllowLocalRoutees; - } - if (other.UseRole.Length != 0) { - UseRole = other.UseRole; - } - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 8: { - TotalInstances = input.ReadUInt32(); - break; - } - case 16: { - MaxInstancesPerNode = input.ReadUInt32(); - break; - } - case 24: { - AllowLocalRoutees = input.ReadBool(); - break; - } - case 34: { - UseRole = input.ReadString(); - 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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 8: { - TotalInstances = input.ReadUInt32(); - break; - } - case 16: { - MaxInstancesPerNode = input.ReadUInt32(); - break; - } - case 24: { - AllowLocalRoutees = input.ReadBool(); - break; - } - case 34: { - UseRole = input.ReadString(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/src/core/Akka.Cluster/Serialization/Proto/ReliableDelivery.g.cs b/src/core/Akka.Cluster/Serialization/Proto/ReliableDelivery.g.cs deleted file mode 100644 index f28b29bf9ce..00000000000 --- a/src/core/Akka.Cluster/Serialization/Proto/ReliableDelivery.g.cs +++ /dev/null @@ -1,3021 +0,0 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: ReliableDelivery.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 Akka.Cluster.Serialization.Proto.Msg { - - /// Holder for reflection information generated from ReliableDelivery.proto - internal static partial class ReliableDeliveryReflection { - - #region Descriptor - /// File descriptor for ReliableDelivery.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static ReliableDeliveryReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChZSZWxpYWJsZURlbGl2ZXJ5LnByb3RvEiRBa2thLkNsdXN0ZXIuU2VyaWFs", - "aXphdGlvbi5Qcm90by5Nc2caFkNvbnRhaW5lckZvcm1hdHMucHJvdG8iIgoO", - "VHlwZURlc2NyaXB0b3ISEAoIdHlwZU5hbWUYASABKAkirwIKEFNlcXVlbmNl", - "ZE1lc3NhZ2USEgoKcHJvZHVjZXJJZBgBIAEoCRINCgVzZXFOchgCIAEoAxIN", - "CgVmaXJzdBgDIAEoCBILCgNhY2sYBCABKAgSHQoVcHJvZHVjZXJDb250cm9s", - "bGVyUmVmGAUgASgJEj0KB21lc3NhZ2UYBiABKAsyLC5Ba2thLlJlbW90ZS5T", - "ZXJpYWxpemF0aW9uLlByb3RvLk1zZy5QYXlsb2FkEhIKCmZpcnN0Q2h1bmsY", - "ByABKAgSEQoJbGFzdENodW5rGAggASgIEkYKCHR5cGVJbmZvGAkgASgLMjQu", - "QWtrYS5DbHVzdGVyLlNlcmlhbGl6YXRpb24uUHJvdG8uTXNnLlR5cGVEZXNj", - "cmlwdG9yEg8KB2lzQ2h1bmsYCiABKAgieQoQUmVnaXN0ZXJDb25zdW1lchId", - "ChVjb25zdW1lckNvbnRyb2xsZXJSZWYYASABKAkSRgoIdHlwZUluZm8YAiAB", - "KAsyNC5Ba2thLkNsdXN0ZXIuU2VyaWFsaXphdGlvbi5Qcm90by5Nc2cuVHlw", - "ZURlc2NyaXB0b3IiZgoHUmVxdWVzdBIWCg5jb25maXJtZWRTZXFOchgBIAEo", - "AxIYChByZXF1ZXN0VXBUb1NlcU5yGAIgASgDEhUKDXN1cHBvcnRSZXNlbmQY", - "AyABKAgSEgoKdmlhVGltZW91dBgEIAEoCCIbCgZSZXNlbmQSEQoJZnJvbVNl", - "cU5yGAEgASgDIh0KA0FjaxIWCg5jb25maXJtZWRTZXFOchgBIAEoAyKQAgoF", - "U3RhdGUSFAoMY3VycmVudFNlcU5yGAEgASgDEh0KFWhpZ2hlc3RDb25maXJt", - "ZWRTZXFOchgCIAEoAxJCCgljb25maXJtZWQYAyADKAsyLy5Ba2thLkNsdXN0", - "ZXIuU2VyaWFsaXphdGlvbi5Qcm90by5Nc2cuQ29uZmlybWVkEkYKC3VuY29u", - "ZmlybWVkGAQgAygLMjEuQWtrYS5DbHVzdGVyLlNlcmlhbGl6YXRpb24uUHJv", - "dG8uTXNnLk1lc3NhZ2VTZW50EkYKCHR5cGVJbmZvGAUgASgLMjQuQWtrYS5D", - "bHVzdGVyLlNlcmlhbGl6YXRpb24uUHJvdG8uTXNnLlR5cGVEZXNjcmlwdG9y", - "IkAKCUNvbmZpcm1lZBINCgVzZXFOchgBIAEoAxIRCglxdWFsaWZpZXIYAiAB", - "KAkSEQoJdGltZXN0YW1wGAMgASgDIo4CCgtNZXNzYWdlU2VudBINCgVzZXFO", - "chgBIAEoAxIRCglxdWFsaWZpZXIYAiABKAkSCwoDYWNrGAMgASgIEhEKCXRp", - "bWVzdGFtcBgEIAEoAxI9CgdtZXNzYWdlGAUgASgLMiwuQWtrYS5SZW1vdGUu", - "U2VyaWFsaXphdGlvbi5Qcm90by5Nc2cuUGF5bG9hZBISCgpmaXJzdENodW5r", - "GAYgASgIEhEKCWxhc3RDaHVuaxgHIAEoCBJGCgh0eXBlSW5mbxgIIAEoCzI0", - "LkFra2EuQ2x1c3Rlci5TZXJpYWxpemF0aW9uLlByb3RvLk1zZy5UeXBlRGVz", - "Y3JpcHRvchIPCgdpc0NodW5rGAkgASgIIh0KB0NsZWFudXASEgoKcXVhbGlm", - "aWVycxgBIAMoCUICSAFiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Akka.Remote.Serialization.Proto.Msg.ContainerFormatsReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Akka.Cluster.Serialization.Proto.Msg.TypeDescriptor), global::Akka.Cluster.Serialization.Proto.Msg.TypeDescriptor.Parser, new[]{ "TypeName" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Akka.Cluster.Serialization.Proto.Msg.SequencedMessage), global::Akka.Cluster.Serialization.Proto.Msg.SequencedMessage.Parser, new[]{ "ProducerId", "SeqNr", "First", "Ack", "ProducerControllerRef", "Message", "FirstChunk", "LastChunk", "TypeInfo", "IsChunk" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Akka.Cluster.Serialization.Proto.Msg.RegisterConsumer), global::Akka.Cluster.Serialization.Proto.Msg.RegisterConsumer.Parser, new[]{ "ConsumerControllerRef", "TypeInfo" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Akka.Cluster.Serialization.Proto.Msg.Request), global::Akka.Cluster.Serialization.Proto.Msg.Request.Parser, new[]{ "ConfirmedSeqNr", "RequestUpToSeqNr", "SupportResend", "ViaTimeout" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Akka.Cluster.Serialization.Proto.Msg.Resend), global::Akka.Cluster.Serialization.Proto.Msg.Resend.Parser, new[]{ "FromSeqNr" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Akka.Cluster.Serialization.Proto.Msg.Ack), global::Akka.Cluster.Serialization.Proto.Msg.Ack.Parser, new[]{ "ConfirmedSeqNr" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Akka.Cluster.Serialization.Proto.Msg.State), global::Akka.Cluster.Serialization.Proto.Msg.State.Parser, new[]{ "CurrentSeqNr", "HighestConfirmedSeqNr", "Confirmed", "Unconfirmed", "TypeInfo" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Akka.Cluster.Serialization.Proto.Msg.Confirmed), global::Akka.Cluster.Serialization.Proto.Msg.Confirmed.Parser, new[]{ "SeqNr", "Qualifier", "Timestamp" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Akka.Cluster.Serialization.Proto.Msg.MessageSent), global::Akka.Cluster.Serialization.Proto.Msg.MessageSent.Parser, new[]{ "SeqNr", "Qualifier", "Ack", "Timestamp", "Message", "FirstChunk", "LastChunk", "TypeInfo", "IsChunk" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Akka.Cluster.Serialization.Proto.Msg.Cleanup), global::Akka.Cluster.Serialization.Proto.Msg.Cleanup.Parser, new[]{ "Qualifiers" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - /// - /// used to help instantiate back into generics - /// - internal sealed partial class TypeDescriptor : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new TypeDescriptor()); - 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::Akka.Cluster.Serialization.Proto.Msg.ReliableDeliveryReflection.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 TypeDescriptor() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public TypeDescriptor(TypeDescriptor other) : this() { - typeName_ = other.typeName_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public TypeDescriptor Clone() { - return new TypeDescriptor(this); - } - - /// Field number for the "typeName" field. - public const int TypeNameFieldNumber = 1; - private string typeName_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string TypeName { - get { return typeName_; } - set { - typeName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as TypeDescriptor); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(TypeDescriptor other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (TypeName != other.TypeName) 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 (TypeName.Length != 0) hash ^= TypeName.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 (TypeName.Length != 0) { - output.WriteRawTag(10); - output.WriteString(TypeName); - } - 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 (TypeName.Length != 0) { - output.WriteRawTag(10); - output.WriteString(TypeName); - } - 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 (TypeName.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(TypeName); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(TypeDescriptor other) { - if (other == null) { - return; - } - if (other.TypeName.Length != 0) { - TypeName = other.TypeName; - } - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - TypeName = input.ReadString(); - 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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - TypeName = input.ReadString(); - break; - } - } - } - } - #endif - - } - - /// - /// ConsumerController - /// - internal sealed partial class SequencedMessage : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SequencedMessage()); - 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::Akka.Cluster.Serialization.Proto.Msg.ReliableDeliveryReflection.Descriptor.MessageTypes[1]; } - } - - [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 SequencedMessage() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public SequencedMessage(SequencedMessage other) : this() { - producerId_ = other.producerId_; - seqNr_ = other.seqNr_; - first_ = other.first_; - ack_ = other.ack_; - producerControllerRef_ = other.producerControllerRef_; - message_ = other.message_ != null ? other.message_.Clone() : null; - firstChunk_ = other.firstChunk_; - lastChunk_ = other.lastChunk_; - typeInfo_ = other.typeInfo_ != null ? other.typeInfo_.Clone() : null; - isChunk_ = other.isChunk_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public SequencedMessage Clone() { - return new SequencedMessage(this); - } - - /// Field number for the "producerId" field. - public const int ProducerIdFieldNumber = 1; - private string producerId_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string ProducerId { - get { return producerId_; } - set { - producerId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "seqNr" field. - public const int SeqNrFieldNumber = 2; - private long seqNr_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public long SeqNr { - get { return seqNr_; } - set { - seqNr_ = value; - } - } - - /// Field number for the "first" field. - public const int FirstFieldNumber = 3; - private bool first_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool First { - get { return first_; } - set { - first_ = value; - } - } - - /// Field number for the "ack" field. - public const int AckFieldNumber = 4; - private bool ack_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Ack { - get { return ack_; } - set { - ack_ = value; - } - } - - /// Field number for the "producerControllerRef" field. - public const int ProducerControllerRefFieldNumber = 5; - private string producerControllerRef_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string ProducerControllerRef { - get { return producerControllerRef_; } - set { - producerControllerRef_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "message" field. - public const int MessageFieldNumber = 6; - private global::Akka.Remote.Serialization.Proto.Msg.Payload message_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.Remote.Serialization.Proto.Msg.Payload Message { - get { return message_; } - set { - message_ = value; - } - } - - /// Field number for the "firstChunk" field. - public const int FirstChunkFieldNumber = 7; - private bool firstChunk_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool FirstChunk { - get { return firstChunk_; } - set { - firstChunk_ = value; - } - } - - /// Field number for the "lastChunk" field. - public const int LastChunkFieldNumber = 8; - private bool lastChunk_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool LastChunk { - get { return lastChunk_; } - set { - lastChunk_ = value; - } - } - - /// Field number for the "typeInfo" field. - public const int TypeInfoFieldNumber = 9; - private global::Akka.Cluster.Serialization.Proto.Msg.TypeDescriptor typeInfo_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.Cluster.Serialization.Proto.Msg.TypeDescriptor TypeInfo { - get { return typeInfo_; } - set { - typeInfo_ = value; - } - } - - /// Field number for the "isChunk" field. - public const int IsChunkFieldNumber = 10; - private bool isChunk_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool IsChunk { - get { return isChunk_; } - set { - isChunk_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as SequencedMessage); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(SequencedMessage other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (ProducerId != other.ProducerId) return false; - if (SeqNr != other.SeqNr) return false; - if (First != other.First) return false; - if (Ack != other.Ack) return false; - if (ProducerControllerRef != other.ProducerControllerRef) return false; - if (!object.Equals(Message, other.Message)) return false; - if (FirstChunk != other.FirstChunk) return false; - if (LastChunk != other.LastChunk) return false; - if (!object.Equals(TypeInfo, other.TypeInfo)) return false; - if (IsChunk != other.IsChunk) 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 (ProducerId.Length != 0) hash ^= ProducerId.GetHashCode(); - if (SeqNr != 0L) hash ^= SeqNr.GetHashCode(); - if (First != false) hash ^= First.GetHashCode(); - if (Ack != false) hash ^= Ack.GetHashCode(); - if (ProducerControllerRef.Length != 0) hash ^= ProducerControllerRef.GetHashCode(); - if (message_ != null) hash ^= Message.GetHashCode(); - if (FirstChunk != false) hash ^= FirstChunk.GetHashCode(); - if (LastChunk != false) hash ^= LastChunk.GetHashCode(); - if (typeInfo_ != null) hash ^= TypeInfo.GetHashCode(); - if (IsChunk != false) hash ^= IsChunk.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 (ProducerId.Length != 0) { - output.WriteRawTag(10); - output.WriteString(ProducerId); - } - if (SeqNr != 0L) { - output.WriteRawTag(16); - output.WriteInt64(SeqNr); - } - if (First != false) { - output.WriteRawTag(24); - output.WriteBool(First); - } - if (Ack != false) { - output.WriteRawTag(32); - output.WriteBool(Ack); - } - if (ProducerControllerRef.Length != 0) { - output.WriteRawTag(42); - output.WriteString(ProducerControllerRef); - } - if (message_ != null) { - output.WriteRawTag(50); - output.WriteMessage(Message); - } - if (FirstChunk != false) { - output.WriteRawTag(56); - output.WriteBool(FirstChunk); - } - if (LastChunk != false) { - output.WriteRawTag(64); - output.WriteBool(LastChunk); - } - if (typeInfo_ != null) { - output.WriteRawTag(74); - output.WriteMessage(TypeInfo); - } - if (IsChunk != false) { - output.WriteRawTag(80); - output.WriteBool(IsChunk); - } - 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 (ProducerId.Length != 0) { - output.WriteRawTag(10); - output.WriteString(ProducerId); - } - if (SeqNr != 0L) { - output.WriteRawTag(16); - output.WriteInt64(SeqNr); - } - if (First != false) { - output.WriteRawTag(24); - output.WriteBool(First); - } - if (Ack != false) { - output.WriteRawTag(32); - output.WriteBool(Ack); - } - if (ProducerControllerRef.Length != 0) { - output.WriteRawTag(42); - output.WriteString(ProducerControllerRef); - } - if (message_ != null) { - output.WriteRawTag(50); - output.WriteMessage(Message); - } - if (FirstChunk != false) { - output.WriteRawTag(56); - output.WriteBool(FirstChunk); - } - if (LastChunk != false) { - output.WriteRawTag(64); - output.WriteBool(LastChunk); - } - if (typeInfo_ != null) { - output.WriteRawTag(74); - output.WriteMessage(TypeInfo); - } - if (IsChunk != false) { - output.WriteRawTag(80); - output.WriteBool(IsChunk); - } - 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 (ProducerId.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(ProducerId); - } - if (SeqNr != 0L) { - size += 1 + pb::CodedOutputStream.ComputeInt64Size(SeqNr); - } - if (First != false) { - size += 1 + 1; - } - if (Ack != false) { - size += 1 + 1; - } - if (ProducerControllerRef.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(ProducerControllerRef); - } - if (message_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Message); - } - if (FirstChunk != false) { - size += 1 + 1; - } - if (LastChunk != false) { - size += 1 + 1; - } - if (typeInfo_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(TypeInfo); - } - if (IsChunk != false) { - size += 1 + 1; - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(SequencedMessage other) { - if (other == null) { - return; - } - if (other.ProducerId.Length != 0) { - ProducerId = other.ProducerId; - } - if (other.SeqNr != 0L) { - SeqNr = other.SeqNr; - } - if (other.First != false) { - First = other.First; - } - if (other.Ack != false) { - Ack = other.Ack; - } - if (other.ProducerControllerRef.Length != 0) { - ProducerControllerRef = other.ProducerControllerRef; - } - if (other.message_ != null) { - if (message_ == null) { - Message = new global::Akka.Remote.Serialization.Proto.Msg.Payload(); - } - Message.MergeFrom(other.Message); - } - if (other.FirstChunk != false) { - FirstChunk = other.FirstChunk; - } - if (other.LastChunk != false) { - LastChunk = other.LastChunk; - } - if (other.typeInfo_ != null) { - if (typeInfo_ == null) { - TypeInfo = new global::Akka.Cluster.Serialization.Proto.Msg.TypeDescriptor(); - } - TypeInfo.MergeFrom(other.TypeInfo); - } - if (other.IsChunk != false) { - IsChunk = other.IsChunk; - } - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - ProducerId = input.ReadString(); - break; - } - case 16: { - SeqNr = input.ReadInt64(); - break; - } - case 24: { - First = input.ReadBool(); - break; - } - case 32: { - Ack = input.ReadBool(); - break; - } - case 42: { - ProducerControllerRef = input.ReadString(); - break; - } - case 50: { - if (message_ == null) { - Message = new global::Akka.Remote.Serialization.Proto.Msg.Payload(); - } - input.ReadMessage(Message); - break; - } - case 56: { - FirstChunk = input.ReadBool(); - break; - } - case 64: { - LastChunk = input.ReadBool(); - break; - } - case 74: { - if (typeInfo_ == null) { - TypeInfo = new global::Akka.Cluster.Serialization.Proto.Msg.TypeDescriptor(); - } - input.ReadMessage(TypeInfo); - break; - } - case 80: { - IsChunk = input.ReadBool(); - 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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - ProducerId = input.ReadString(); - break; - } - case 16: { - SeqNr = input.ReadInt64(); - break; - } - case 24: { - First = input.ReadBool(); - break; - } - case 32: { - Ack = input.ReadBool(); - break; - } - case 42: { - ProducerControllerRef = input.ReadString(); - break; - } - case 50: { - if (message_ == null) { - Message = new global::Akka.Remote.Serialization.Proto.Msg.Payload(); - } - input.ReadMessage(Message); - break; - } - case 56: { - FirstChunk = input.ReadBool(); - break; - } - case 64: { - LastChunk = input.ReadBool(); - break; - } - case 74: { - if (typeInfo_ == null) { - TypeInfo = new global::Akka.Cluster.Serialization.Proto.Msg.TypeDescriptor(); - } - input.ReadMessage(TypeInfo); - break; - } - case 80: { - IsChunk = input.ReadBool(); - break; - } - } - } - } - #endif - - } - - /// - /// ProducerController - /// - internal sealed partial class RegisterConsumer : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RegisterConsumer()); - 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::Akka.Cluster.Serialization.Proto.Msg.ReliableDeliveryReflection.Descriptor.MessageTypes[2]; } - } - - [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 RegisterConsumer() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public RegisterConsumer(RegisterConsumer other) : this() { - consumerControllerRef_ = other.consumerControllerRef_; - typeInfo_ = other.typeInfo_ != null ? other.typeInfo_.Clone() : null; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public RegisterConsumer Clone() { - return new RegisterConsumer(this); - } - - /// Field number for the "consumerControllerRef" field. - public const int ConsumerControllerRefFieldNumber = 1; - private string consumerControllerRef_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string ConsumerControllerRef { - get { return consumerControllerRef_; } - set { - consumerControllerRef_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "typeInfo" field. - public const int TypeInfoFieldNumber = 2; - private global::Akka.Cluster.Serialization.Proto.Msg.TypeDescriptor typeInfo_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.Cluster.Serialization.Proto.Msg.TypeDescriptor TypeInfo { - get { return typeInfo_; } - set { - typeInfo_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as RegisterConsumer); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(RegisterConsumer other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (ConsumerControllerRef != other.ConsumerControllerRef) return false; - if (!object.Equals(TypeInfo, other.TypeInfo)) 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 (ConsumerControllerRef.Length != 0) hash ^= ConsumerControllerRef.GetHashCode(); - if (typeInfo_ != null) hash ^= TypeInfo.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 (ConsumerControllerRef.Length != 0) { - output.WriteRawTag(10); - output.WriteString(ConsumerControllerRef); - } - if (typeInfo_ != null) { - output.WriteRawTag(18); - output.WriteMessage(TypeInfo); - } - 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 (ConsumerControllerRef.Length != 0) { - output.WriteRawTag(10); - output.WriteString(ConsumerControllerRef); - } - if (typeInfo_ != null) { - output.WriteRawTag(18); - output.WriteMessage(TypeInfo); - } - 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 (ConsumerControllerRef.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(ConsumerControllerRef); - } - if (typeInfo_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(TypeInfo); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(RegisterConsumer other) { - if (other == null) { - return; - } - if (other.ConsumerControllerRef.Length != 0) { - ConsumerControllerRef = other.ConsumerControllerRef; - } - if (other.typeInfo_ != null) { - if (typeInfo_ == null) { - TypeInfo = new global::Akka.Cluster.Serialization.Proto.Msg.TypeDescriptor(); - } - TypeInfo.MergeFrom(other.TypeInfo); - } - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - ConsumerControllerRef = input.ReadString(); - break; - } - case 18: { - if (typeInfo_ == null) { - TypeInfo = new global::Akka.Cluster.Serialization.Proto.Msg.TypeDescriptor(); - } - input.ReadMessage(TypeInfo); - 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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - ConsumerControllerRef = input.ReadString(); - break; - } - case 18: { - if (typeInfo_ == null) { - TypeInfo = new global::Akka.Cluster.Serialization.Proto.Msg.TypeDescriptor(); - } - input.ReadMessage(TypeInfo); - break; - } - } - } - } - #endif - - } - - /// - /// ProducerController - /// - internal sealed partial class Request : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Request()); - 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::Akka.Cluster.Serialization.Proto.Msg.ReliableDeliveryReflection.Descriptor.MessageTypes[3]; } - } - - [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 Request() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Request(Request other) : this() { - confirmedSeqNr_ = other.confirmedSeqNr_; - requestUpToSeqNr_ = other.requestUpToSeqNr_; - supportResend_ = other.supportResend_; - viaTimeout_ = other.viaTimeout_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Request Clone() { - return new Request(this); - } - - /// Field number for the "confirmedSeqNr" field. - public const int ConfirmedSeqNrFieldNumber = 1; - private long confirmedSeqNr_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public long ConfirmedSeqNr { - get { return confirmedSeqNr_; } - set { - confirmedSeqNr_ = value; - } - } - - /// Field number for the "requestUpToSeqNr" field. - public const int RequestUpToSeqNrFieldNumber = 2; - private long requestUpToSeqNr_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public long RequestUpToSeqNr { - get { return requestUpToSeqNr_; } - set { - requestUpToSeqNr_ = value; - } - } - - /// Field number for the "supportResend" field. - public const int SupportResendFieldNumber = 3; - private bool supportResend_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool SupportResend { - get { return supportResend_; } - set { - supportResend_ = value; - } - } - - /// Field number for the "viaTimeout" field. - public const int ViaTimeoutFieldNumber = 4; - private bool viaTimeout_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool ViaTimeout { - get { return viaTimeout_; } - set { - viaTimeout_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as Request); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(Request other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (ConfirmedSeqNr != other.ConfirmedSeqNr) return false; - if (RequestUpToSeqNr != other.RequestUpToSeqNr) return false; - if (SupportResend != other.SupportResend) return false; - if (ViaTimeout != other.ViaTimeout) 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 (ConfirmedSeqNr != 0L) hash ^= ConfirmedSeqNr.GetHashCode(); - if (RequestUpToSeqNr != 0L) hash ^= RequestUpToSeqNr.GetHashCode(); - if (SupportResend != false) hash ^= SupportResend.GetHashCode(); - if (ViaTimeout != false) hash ^= ViaTimeout.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 (ConfirmedSeqNr != 0L) { - output.WriteRawTag(8); - output.WriteInt64(ConfirmedSeqNr); - } - if (RequestUpToSeqNr != 0L) { - output.WriteRawTag(16); - output.WriteInt64(RequestUpToSeqNr); - } - if (SupportResend != false) { - output.WriteRawTag(24); - output.WriteBool(SupportResend); - } - if (ViaTimeout != false) { - output.WriteRawTag(32); - output.WriteBool(ViaTimeout); - } - 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 (ConfirmedSeqNr != 0L) { - output.WriteRawTag(8); - output.WriteInt64(ConfirmedSeqNr); - } - if (RequestUpToSeqNr != 0L) { - output.WriteRawTag(16); - output.WriteInt64(RequestUpToSeqNr); - } - if (SupportResend != false) { - output.WriteRawTag(24); - output.WriteBool(SupportResend); - } - if (ViaTimeout != false) { - output.WriteRawTag(32); - output.WriteBool(ViaTimeout); - } - 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 (ConfirmedSeqNr != 0L) { - size += 1 + pb::CodedOutputStream.ComputeInt64Size(ConfirmedSeqNr); - } - if (RequestUpToSeqNr != 0L) { - size += 1 + pb::CodedOutputStream.ComputeInt64Size(RequestUpToSeqNr); - } - if (SupportResend != false) { - size += 1 + 1; - } - if (ViaTimeout != false) { - size += 1 + 1; - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(Request other) { - if (other == null) { - return; - } - if (other.ConfirmedSeqNr != 0L) { - ConfirmedSeqNr = other.ConfirmedSeqNr; - } - if (other.RequestUpToSeqNr != 0L) { - RequestUpToSeqNr = other.RequestUpToSeqNr; - } - if (other.SupportResend != false) { - SupportResend = other.SupportResend; - } - if (other.ViaTimeout != false) { - ViaTimeout = other.ViaTimeout; - } - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 8: { - ConfirmedSeqNr = input.ReadInt64(); - break; - } - case 16: { - RequestUpToSeqNr = input.ReadInt64(); - break; - } - case 24: { - SupportResend = input.ReadBool(); - break; - } - case 32: { - ViaTimeout = input.ReadBool(); - 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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 8: { - ConfirmedSeqNr = input.ReadInt64(); - break; - } - case 16: { - RequestUpToSeqNr = input.ReadInt64(); - break; - } - case 24: { - SupportResend = input.ReadBool(); - break; - } - case 32: { - ViaTimeout = input.ReadBool(); - break; - } - } - } - } - #endif - - } - - /// - /// ProducerController - /// - internal sealed partial class Resend : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Resend()); - 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::Akka.Cluster.Serialization.Proto.Msg.ReliableDeliveryReflection.Descriptor.MessageTypes[4]; } - } - - [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 Resend() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Resend(Resend other) : this() { - fromSeqNr_ = other.fromSeqNr_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Resend Clone() { - return new Resend(this); - } - - /// Field number for the "fromSeqNr" field. - public const int FromSeqNrFieldNumber = 1; - private long fromSeqNr_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public long FromSeqNr { - get { return fromSeqNr_; } - set { - fromSeqNr_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as Resend); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(Resend other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (FromSeqNr != other.FromSeqNr) 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 (FromSeqNr != 0L) hash ^= FromSeqNr.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 (FromSeqNr != 0L) { - output.WriteRawTag(8); - output.WriteInt64(FromSeqNr); - } - 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 (FromSeqNr != 0L) { - output.WriteRawTag(8); - output.WriteInt64(FromSeqNr); - } - 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 (FromSeqNr != 0L) { - size += 1 + pb::CodedOutputStream.ComputeInt64Size(FromSeqNr); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(Resend other) { - if (other == null) { - return; - } - if (other.FromSeqNr != 0L) { - FromSeqNr = other.FromSeqNr; - } - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 8: { - FromSeqNr = input.ReadInt64(); - 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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 8: { - FromSeqNr = input.ReadInt64(); - break; - } - } - } - } - #endif - - } - - /// - /// ProducerController - /// - internal sealed partial class Ack : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Ack()); - 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::Akka.Cluster.Serialization.Proto.Msg.ReliableDeliveryReflection.Descriptor.MessageTypes[5]; } - } - - [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 Ack() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Ack(Ack other) : this() { - confirmedSeqNr_ = other.confirmedSeqNr_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Ack Clone() { - return new Ack(this); - } - - /// Field number for the "confirmedSeqNr" field. - public const int ConfirmedSeqNrFieldNumber = 1; - private long confirmedSeqNr_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public long ConfirmedSeqNr { - get { return confirmedSeqNr_; } - set { - confirmedSeqNr_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as Ack); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(Ack other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (ConfirmedSeqNr != other.ConfirmedSeqNr) 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 (ConfirmedSeqNr != 0L) hash ^= ConfirmedSeqNr.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 (ConfirmedSeqNr != 0L) { - output.WriteRawTag(8); - output.WriteInt64(ConfirmedSeqNr); - } - 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 (ConfirmedSeqNr != 0L) { - output.WriteRawTag(8); - output.WriteInt64(ConfirmedSeqNr); - } - 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 (ConfirmedSeqNr != 0L) { - size += 1 + pb::CodedOutputStream.ComputeInt64Size(ConfirmedSeqNr); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(Ack other) { - if (other == null) { - return; - } - if (other.ConfirmedSeqNr != 0L) { - ConfirmedSeqNr = other.ConfirmedSeqNr; - } - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 8: { - ConfirmedSeqNr = input.ReadInt64(); - 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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 8: { - ConfirmedSeqNr = input.ReadInt64(); - break; - } - } - } - } - #endif - - } - - /// - /// DurableProducerQueue - /// - internal sealed partial class State : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new State()); - 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::Akka.Cluster.Serialization.Proto.Msg.ReliableDeliveryReflection.Descriptor.MessageTypes[6]; } - } - - [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 State() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public State(State other) : this() { - currentSeqNr_ = other.currentSeqNr_; - highestConfirmedSeqNr_ = other.highestConfirmedSeqNr_; - confirmed_ = other.confirmed_.Clone(); - unconfirmed_ = other.unconfirmed_.Clone(); - typeInfo_ = other.typeInfo_ != null ? other.typeInfo_.Clone() : null; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public State Clone() { - return new State(this); - } - - /// Field number for the "currentSeqNr" field. - public const int CurrentSeqNrFieldNumber = 1; - private long currentSeqNr_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public long CurrentSeqNr { - get { return currentSeqNr_; } - set { - currentSeqNr_ = value; - } - } - - /// Field number for the "highestConfirmedSeqNr" field. - public const int HighestConfirmedSeqNrFieldNumber = 2; - private long highestConfirmedSeqNr_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public long HighestConfirmedSeqNr { - get { return highestConfirmedSeqNr_; } - set { - highestConfirmedSeqNr_ = value; - } - } - - /// Field number for the "confirmed" field. - public const int ConfirmedFieldNumber = 3; - private static readonly pb::FieldCodec _repeated_confirmed_codec - = pb::FieldCodec.ForMessage(26, global::Akka.Cluster.Serialization.Proto.Msg.Confirmed.Parser); - private readonly pbc::RepeatedField confirmed_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField Confirmed { - get { return confirmed_; } - } - - /// Field number for the "unconfirmed" field. - public const int UnconfirmedFieldNumber = 4; - private static readonly pb::FieldCodec _repeated_unconfirmed_codec - = pb::FieldCodec.ForMessage(34, global::Akka.Cluster.Serialization.Proto.Msg.MessageSent.Parser); - private readonly pbc::RepeatedField unconfirmed_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField Unconfirmed { - get { return unconfirmed_; } - } - - /// Field number for the "typeInfo" field. - public const int TypeInfoFieldNumber = 5; - private global::Akka.Cluster.Serialization.Proto.Msg.TypeDescriptor typeInfo_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.Cluster.Serialization.Proto.Msg.TypeDescriptor TypeInfo { - get { return typeInfo_; } - set { - typeInfo_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as State); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(State other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (CurrentSeqNr != other.CurrentSeqNr) return false; - if (HighestConfirmedSeqNr != other.HighestConfirmedSeqNr) return false; - if(!confirmed_.Equals(other.confirmed_)) return false; - if(!unconfirmed_.Equals(other.unconfirmed_)) return false; - if (!object.Equals(TypeInfo, other.TypeInfo)) 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 (CurrentSeqNr != 0L) hash ^= CurrentSeqNr.GetHashCode(); - if (HighestConfirmedSeqNr != 0L) hash ^= HighestConfirmedSeqNr.GetHashCode(); - hash ^= confirmed_.GetHashCode(); - hash ^= unconfirmed_.GetHashCode(); - if (typeInfo_ != null) hash ^= TypeInfo.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 (CurrentSeqNr != 0L) { - output.WriteRawTag(8); - output.WriteInt64(CurrentSeqNr); - } - if (HighestConfirmedSeqNr != 0L) { - output.WriteRawTag(16); - output.WriteInt64(HighestConfirmedSeqNr); - } - confirmed_.WriteTo(output, _repeated_confirmed_codec); - unconfirmed_.WriteTo(output, _repeated_unconfirmed_codec); - if (typeInfo_ != null) { - output.WriteRawTag(42); - output.WriteMessage(TypeInfo); - } - 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 (CurrentSeqNr != 0L) { - output.WriteRawTag(8); - output.WriteInt64(CurrentSeqNr); - } - if (HighestConfirmedSeqNr != 0L) { - output.WriteRawTag(16); - output.WriteInt64(HighestConfirmedSeqNr); - } - confirmed_.WriteTo(ref output, _repeated_confirmed_codec); - unconfirmed_.WriteTo(ref output, _repeated_unconfirmed_codec); - if (typeInfo_ != null) { - output.WriteRawTag(42); - output.WriteMessage(TypeInfo); - } - 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 (CurrentSeqNr != 0L) { - size += 1 + pb::CodedOutputStream.ComputeInt64Size(CurrentSeqNr); - } - if (HighestConfirmedSeqNr != 0L) { - size += 1 + pb::CodedOutputStream.ComputeInt64Size(HighestConfirmedSeqNr); - } - size += confirmed_.CalculateSize(_repeated_confirmed_codec); - size += unconfirmed_.CalculateSize(_repeated_unconfirmed_codec); - if (typeInfo_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(TypeInfo); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(State other) { - if (other == null) { - return; - } - if (other.CurrentSeqNr != 0L) { - CurrentSeqNr = other.CurrentSeqNr; - } - if (other.HighestConfirmedSeqNr != 0L) { - HighestConfirmedSeqNr = other.HighestConfirmedSeqNr; - } - confirmed_.Add(other.confirmed_); - unconfirmed_.Add(other.unconfirmed_); - if (other.typeInfo_ != null) { - if (typeInfo_ == null) { - TypeInfo = new global::Akka.Cluster.Serialization.Proto.Msg.TypeDescriptor(); - } - TypeInfo.MergeFrom(other.TypeInfo); - } - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 8: { - CurrentSeqNr = input.ReadInt64(); - break; - } - case 16: { - HighestConfirmedSeqNr = input.ReadInt64(); - break; - } - case 26: { - confirmed_.AddEntriesFrom(input, _repeated_confirmed_codec); - break; - } - case 34: { - unconfirmed_.AddEntriesFrom(input, _repeated_unconfirmed_codec); - break; - } - case 42: { - if (typeInfo_ == null) { - TypeInfo = new global::Akka.Cluster.Serialization.Proto.Msg.TypeDescriptor(); - } - input.ReadMessage(TypeInfo); - 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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 8: { - CurrentSeqNr = input.ReadInt64(); - break; - } - case 16: { - HighestConfirmedSeqNr = input.ReadInt64(); - break; - } - case 26: { - confirmed_.AddEntriesFrom(ref input, _repeated_confirmed_codec); - break; - } - case 34: { - unconfirmed_.AddEntriesFrom(ref input, _repeated_unconfirmed_codec); - break; - } - case 42: { - if (typeInfo_ == null) { - TypeInfo = new global::Akka.Cluster.Serialization.Proto.Msg.TypeDescriptor(); - } - input.ReadMessage(TypeInfo); - break; - } - } - } - } - #endif - - } - - /// - /// DurableProducerQueue - /// - internal sealed partial class Confirmed : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Confirmed()); - 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::Akka.Cluster.Serialization.Proto.Msg.ReliableDeliveryReflection.Descriptor.MessageTypes[7]; } - } - - [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 Confirmed() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Confirmed(Confirmed other) : this() { - seqNr_ = other.seqNr_; - qualifier_ = other.qualifier_; - timestamp_ = other.timestamp_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Confirmed Clone() { - return new Confirmed(this); - } - - /// Field number for the "seqNr" field. - public const int SeqNrFieldNumber = 1; - private long seqNr_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public long SeqNr { - get { return seqNr_; } - set { - seqNr_ = value; - } - } - - /// Field number for the "qualifier" field. - public const int QualifierFieldNumber = 2; - private string qualifier_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Qualifier { - get { return qualifier_; } - set { - qualifier_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "timestamp" field. - public const int TimestampFieldNumber = 3; - private long timestamp_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public long Timestamp { - get { return timestamp_; } - set { - timestamp_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as Confirmed); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(Confirmed other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (SeqNr != other.SeqNr) return false; - if (Qualifier != other.Qualifier) return false; - if (Timestamp != other.Timestamp) 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 (SeqNr != 0L) hash ^= SeqNr.GetHashCode(); - if (Qualifier.Length != 0) hash ^= Qualifier.GetHashCode(); - if (Timestamp != 0L) hash ^= Timestamp.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 (SeqNr != 0L) { - output.WriteRawTag(8); - output.WriteInt64(SeqNr); - } - if (Qualifier.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Qualifier); - } - if (Timestamp != 0L) { - output.WriteRawTag(24); - output.WriteInt64(Timestamp); - } - 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 (SeqNr != 0L) { - output.WriteRawTag(8); - output.WriteInt64(SeqNr); - } - if (Qualifier.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Qualifier); - } - if (Timestamp != 0L) { - output.WriteRawTag(24); - output.WriteInt64(Timestamp); - } - 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 (SeqNr != 0L) { - size += 1 + pb::CodedOutputStream.ComputeInt64Size(SeqNr); - } - if (Qualifier.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Qualifier); - } - if (Timestamp != 0L) { - size += 1 + pb::CodedOutputStream.ComputeInt64Size(Timestamp); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(Confirmed other) { - if (other == null) { - return; - } - if (other.SeqNr != 0L) { - SeqNr = other.SeqNr; - } - if (other.Qualifier.Length != 0) { - Qualifier = other.Qualifier; - } - if (other.Timestamp != 0L) { - Timestamp = other.Timestamp; - } - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 8: { - SeqNr = input.ReadInt64(); - break; - } - case 18: { - Qualifier = input.ReadString(); - break; - } - case 24: { - Timestamp = input.ReadInt64(); - 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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 8: { - SeqNr = input.ReadInt64(); - break; - } - case 18: { - Qualifier = input.ReadString(); - break; - } - case 24: { - Timestamp = input.ReadInt64(); - break; - } - } - } - } - #endif - - } - - /// - /// DurableProducerQueue - /// - internal sealed partial class MessageSent : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new MessageSent()); - 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::Akka.Cluster.Serialization.Proto.Msg.ReliableDeliveryReflection.Descriptor.MessageTypes[8]; } - } - - [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 MessageSent() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public MessageSent(MessageSent other) : this() { - seqNr_ = other.seqNr_; - qualifier_ = other.qualifier_; - ack_ = other.ack_; - timestamp_ = other.timestamp_; - message_ = other.message_ != null ? other.message_.Clone() : null; - firstChunk_ = other.firstChunk_; - lastChunk_ = other.lastChunk_; - typeInfo_ = other.typeInfo_ != null ? other.typeInfo_.Clone() : null; - isChunk_ = other.isChunk_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public MessageSent Clone() { - return new MessageSent(this); - } - - /// Field number for the "seqNr" field. - public const int SeqNrFieldNumber = 1; - private long seqNr_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public long SeqNr { - get { return seqNr_; } - set { - seqNr_ = value; - } - } - - /// Field number for the "qualifier" field. - public const int QualifierFieldNumber = 2; - private string qualifier_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Qualifier { - get { return qualifier_; } - set { - qualifier_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "ack" field. - public const int AckFieldNumber = 3; - private bool ack_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Ack { - get { return ack_; } - set { - ack_ = value; - } - } - - /// Field number for the "timestamp" field. - public const int TimestampFieldNumber = 4; - private long timestamp_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public long Timestamp { - get { return timestamp_; } - set { - timestamp_ = value; - } - } - - /// Field number for the "message" field. - public const int MessageFieldNumber = 5; - private global::Akka.Remote.Serialization.Proto.Msg.Payload message_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.Remote.Serialization.Proto.Msg.Payload Message { - get { return message_; } - set { - message_ = value; - } - } - - /// Field number for the "firstChunk" field. - public const int FirstChunkFieldNumber = 6; - private bool firstChunk_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool FirstChunk { - get { return firstChunk_; } - set { - firstChunk_ = value; - } - } - - /// Field number for the "lastChunk" field. - public const int LastChunkFieldNumber = 7; - private bool lastChunk_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool LastChunk { - get { return lastChunk_; } - set { - lastChunk_ = value; - } - } - - /// Field number for the "typeInfo" field. - public const int TypeInfoFieldNumber = 8; - private global::Akka.Cluster.Serialization.Proto.Msg.TypeDescriptor typeInfo_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.Cluster.Serialization.Proto.Msg.TypeDescriptor TypeInfo { - get { return typeInfo_; } - set { - typeInfo_ = value; - } - } - - /// Field number for the "isChunk" field. - public const int IsChunkFieldNumber = 9; - private bool isChunk_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool IsChunk { - get { return isChunk_; } - set { - isChunk_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as MessageSent); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(MessageSent other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (SeqNr != other.SeqNr) return false; - if (Qualifier != other.Qualifier) return false; - if (Ack != other.Ack) return false; - if (Timestamp != other.Timestamp) return false; - if (!object.Equals(Message, other.Message)) return false; - if (FirstChunk != other.FirstChunk) return false; - if (LastChunk != other.LastChunk) return false; - if (!object.Equals(TypeInfo, other.TypeInfo)) return false; - if (IsChunk != other.IsChunk) 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 (SeqNr != 0L) hash ^= SeqNr.GetHashCode(); - if (Qualifier.Length != 0) hash ^= Qualifier.GetHashCode(); - if (Ack != false) hash ^= Ack.GetHashCode(); - if (Timestamp != 0L) hash ^= Timestamp.GetHashCode(); - if (message_ != null) hash ^= Message.GetHashCode(); - if (FirstChunk != false) hash ^= FirstChunk.GetHashCode(); - if (LastChunk != false) hash ^= LastChunk.GetHashCode(); - if (typeInfo_ != null) hash ^= TypeInfo.GetHashCode(); - if (IsChunk != false) hash ^= IsChunk.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 (SeqNr != 0L) { - output.WriteRawTag(8); - output.WriteInt64(SeqNr); - } - if (Qualifier.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Qualifier); - } - if (Ack != false) { - output.WriteRawTag(24); - output.WriteBool(Ack); - } - if (Timestamp != 0L) { - output.WriteRawTag(32); - output.WriteInt64(Timestamp); - } - if (message_ != null) { - output.WriteRawTag(42); - output.WriteMessage(Message); - } - if (FirstChunk != false) { - output.WriteRawTag(48); - output.WriteBool(FirstChunk); - } - if (LastChunk != false) { - output.WriteRawTag(56); - output.WriteBool(LastChunk); - } - if (typeInfo_ != null) { - output.WriteRawTag(66); - output.WriteMessage(TypeInfo); - } - if (IsChunk != false) { - output.WriteRawTag(72); - output.WriteBool(IsChunk); - } - 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 (SeqNr != 0L) { - output.WriteRawTag(8); - output.WriteInt64(SeqNr); - } - if (Qualifier.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Qualifier); - } - if (Ack != false) { - output.WriteRawTag(24); - output.WriteBool(Ack); - } - if (Timestamp != 0L) { - output.WriteRawTag(32); - output.WriteInt64(Timestamp); - } - if (message_ != null) { - output.WriteRawTag(42); - output.WriteMessage(Message); - } - if (FirstChunk != false) { - output.WriteRawTag(48); - output.WriteBool(FirstChunk); - } - if (LastChunk != false) { - output.WriteRawTag(56); - output.WriteBool(LastChunk); - } - if (typeInfo_ != null) { - output.WriteRawTag(66); - output.WriteMessage(TypeInfo); - } - if (IsChunk != false) { - output.WriteRawTag(72); - output.WriteBool(IsChunk); - } - 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 (SeqNr != 0L) { - size += 1 + pb::CodedOutputStream.ComputeInt64Size(SeqNr); - } - if (Qualifier.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Qualifier); - } - if (Ack != false) { - size += 1 + 1; - } - if (Timestamp != 0L) { - size += 1 + pb::CodedOutputStream.ComputeInt64Size(Timestamp); - } - if (message_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Message); - } - if (FirstChunk != false) { - size += 1 + 1; - } - if (LastChunk != false) { - size += 1 + 1; - } - if (typeInfo_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(TypeInfo); - } - if (IsChunk != false) { - size += 1 + 1; - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(MessageSent other) { - if (other == null) { - return; - } - if (other.SeqNr != 0L) { - SeqNr = other.SeqNr; - } - if (other.Qualifier.Length != 0) { - Qualifier = other.Qualifier; - } - if (other.Ack != false) { - Ack = other.Ack; - } - if (other.Timestamp != 0L) { - Timestamp = other.Timestamp; - } - if (other.message_ != null) { - if (message_ == null) { - Message = new global::Akka.Remote.Serialization.Proto.Msg.Payload(); - } - Message.MergeFrom(other.Message); - } - if (other.FirstChunk != false) { - FirstChunk = other.FirstChunk; - } - if (other.LastChunk != false) { - LastChunk = other.LastChunk; - } - if (other.typeInfo_ != null) { - if (typeInfo_ == null) { - TypeInfo = new global::Akka.Cluster.Serialization.Proto.Msg.TypeDescriptor(); - } - TypeInfo.MergeFrom(other.TypeInfo); - } - if (other.IsChunk != false) { - IsChunk = other.IsChunk; - } - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 8: { - SeqNr = input.ReadInt64(); - break; - } - case 18: { - Qualifier = input.ReadString(); - break; - } - case 24: { - Ack = input.ReadBool(); - break; - } - case 32: { - Timestamp = input.ReadInt64(); - break; - } - case 42: { - if (message_ == null) { - Message = new global::Akka.Remote.Serialization.Proto.Msg.Payload(); - } - input.ReadMessage(Message); - break; - } - case 48: { - FirstChunk = input.ReadBool(); - break; - } - case 56: { - LastChunk = input.ReadBool(); - break; - } - case 66: { - if (typeInfo_ == null) { - TypeInfo = new global::Akka.Cluster.Serialization.Proto.Msg.TypeDescriptor(); - } - input.ReadMessage(TypeInfo); - break; - } - case 72: { - IsChunk = input.ReadBool(); - 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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 8: { - SeqNr = input.ReadInt64(); - break; - } - case 18: { - Qualifier = input.ReadString(); - break; - } - case 24: { - Ack = input.ReadBool(); - break; - } - case 32: { - Timestamp = input.ReadInt64(); - break; - } - case 42: { - if (message_ == null) { - Message = new global::Akka.Remote.Serialization.Proto.Msg.Payload(); - } - input.ReadMessage(Message); - break; - } - case 48: { - FirstChunk = input.ReadBool(); - break; - } - case 56: { - LastChunk = input.ReadBool(); - break; - } - case 66: { - if (typeInfo_ == null) { - TypeInfo = new global::Akka.Cluster.Serialization.Proto.Msg.TypeDescriptor(); - } - input.ReadMessage(TypeInfo); - break; - } - case 72: { - IsChunk = input.ReadBool(); - break; - } - } - } - } - #endif - - } - - /// - /// DurableProducerQueue - /// - internal sealed partial class Cleanup : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Cleanup()); - 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::Akka.Cluster.Serialization.Proto.Msg.ReliableDeliveryReflection.Descriptor.MessageTypes[9]; } - } - - [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 Cleanup() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Cleanup(Cleanup other) : this() { - qualifiers_ = other.qualifiers_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Cleanup Clone() { - return new Cleanup(this); - } - - /// Field number for the "qualifiers" field. - public const int QualifiersFieldNumber = 1; - private static readonly pb::FieldCodec _repeated_qualifiers_codec - = pb::FieldCodec.ForString(10); - private readonly pbc::RepeatedField qualifiers_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField Qualifiers { - get { return qualifiers_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as Cleanup); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(Cleanup other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!qualifiers_.Equals(other.qualifiers_)) 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; - hash ^= qualifiers_.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 - qualifiers_.WriteTo(output, _repeated_qualifiers_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) { - qualifiers_.WriteTo(ref output, _repeated_qualifiers_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; - size += qualifiers_.CalculateSize(_repeated_qualifiers_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(Cleanup other) { - if (other == null) { - return; - } - qualifiers_.Add(other.qualifiers_); - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - qualifiers_.AddEntriesFrom(input, _repeated_qualifiers_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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - qualifiers_.AddEntriesFrom(ref input, _repeated_qualifiers_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/src/core/Akka.Persistence/Akka.Persistence.csproj b/src/core/Akka.Persistence/Akka.Persistence.csproj index 8230a55e3b5..c7ce31740ef 100644 --- a/src/core/Akka.Persistence/Akka.Persistence.csproj +++ b/src/core/Akka.Persistence/Akka.Persistence.csproj @@ -11,5 +11,14 @@ + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + + + + diff --git a/src/core/Akka.Persistence/Serialization/Proto/Persistence.g.cs b/src/core/Akka.Persistence/Serialization/Proto/Persistence.g.cs deleted file mode 100644 index caeddf87d5c..00000000000 --- a/src/core/Akka.Persistence/Serialization/Proto/Persistence.g.cs +++ /dev/null @@ -1,1966 +0,0 @@ -//----------------------------------------------------------------------- -// -// Copyright (C) 2009-2023 Lightbend Inc. -// Copyright (C) 2013-2023 .NET Foundation -// -//----------------------------------------------------------------------- - -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: Persistence.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 Akka.Persistence.Serialization.Proto.Msg { - - /// Holder for reflection information generated from Persistence.proto - internal static partial class PersistenceReflection { - - #region Descriptor - /// File descriptor for Persistence.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static PersistenceReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChFQZXJzaXN0ZW5jZS5wcm90bxIoQWtrYS5QZXJzaXN0ZW5jZS5TZXJpYWxp", - "emF0aW9uLlByb3RvLk1zZyLmAQoRUGVyc2lzdGVudE1lc3NhZ2USTAoHcGF5", - "bG9hZBgBIAEoCzI7LkFra2EuUGVyc2lzdGVuY2UuU2VyaWFsaXphdGlvbi5Q", - "cm90by5Nc2cuUGVyc2lzdGVudFBheWxvYWQSEgoKc2VxdWVuY2VOchgCIAEo", - "AxIVCg1wZXJzaXN0ZW5jZUlkGAMgASgJEg8KB2RlbGV0ZWQYBCABKAgSDgoG", - "c2VuZGVyGAsgASgJEhAKCG1hbmlmZXN0GAwgASgJEhIKCndyaXRlckd1aWQY", - "DSABKAkSEQoJdGltZXN0YW1wGA4gASgSIlMKEVBlcnNpc3RlbnRQYXlsb2Fk", - "EhQKDHNlcmlhbGl6ZXJJZBgBIAEoBRIPCgdwYXlsb2FkGAIgASgMEhcKD3Bh", - "eWxvYWRNYW5pZmVzdBgDIAEoDCJbCgtBdG9taWNXcml0ZRJMCgdwYXlsb2Fk", - "GAEgAygLMjsuQWtrYS5QZXJzaXN0ZW5jZS5TZXJpYWxpemF0aW9uLlByb3Rv", - "Lk1zZy5QZXJzaXN0ZW50TWVzc2FnZSKMAQoTVW5jb25maXJtZWREZWxpdmVy", - "eRISCgpkZWxpdmVyeUlkGAEgASgDEhMKC2Rlc3RpbmF0aW9uGAIgASgJEkwK", - "B3BheWxvYWQYAyABKAsyOy5Ba2thLlBlcnNpc3RlbmNlLlNlcmlhbGl6YXRp", - "b24uUHJvdG8uTXNnLlBlcnNpc3RlbnRQYXlsb2FkIpYBChtBdExlYXN0T25j", - "ZURlbGl2ZXJ5U25hcHNob3QSGQoRY3VycmVudERlbGl2ZXJ5SWQYASABKAMS", - "XAoVdW5jb25maXJtZWREZWxpdmVyaWVzGAIgAygLMj0uQWtrYS5QZXJzaXN0", - "ZW5jZS5TZXJpYWxpemF0aW9uLlByb3RvLk1zZy5VbmNvbmZpcm1lZERlbGl2", - "ZXJ5IkwKGlBlcnNpc3RlbnRTdGF0ZUNoYW5nZUV2ZW50EhcKD3N0YXRlSWRl", - "bnRpZmllchgBIAEoCRIVCg10aW1lb3V0TWlsbGlzGAIgASgDIpIBChVQZXJz", - "aXN0ZW50RlNNU25hcHNob3QSFwoPc3RhdGVJZGVudGlmaWVyGAEgASgJEkkK", - "BGRhdGEYAiABKAsyOy5Ba2thLlBlcnNpc3RlbmNlLlNlcmlhbGl6YXRpb24u", - "UHJvdG8uTXNnLlBlcnNpc3RlbnRQYXlsb2FkEhUKDXRpbWVvdXRNaWxsaXMY", - "AyABKANiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Akka.Persistence.Serialization.Proto.Msg.PersistentMessage), global::Akka.Persistence.Serialization.Proto.Msg.PersistentMessage.Parser, new[]{ "Payload", "SequenceNr", "PersistenceId", "Deleted", "Sender", "Manifest", "WriterGuid", "Timestamp" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Akka.Persistence.Serialization.Proto.Msg.PersistentPayload), global::Akka.Persistence.Serialization.Proto.Msg.PersistentPayload.Parser, new[]{ "SerializerId", "Payload", "PayloadManifest" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Akka.Persistence.Serialization.Proto.Msg.AtomicWrite), global::Akka.Persistence.Serialization.Proto.Msg.AtomicWrite.Parser, new[]{ "Payload" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Akka.Persistence.Serialization.Proto.Msg.UnconfirmedDelivery), global::Akka.Persistence.Serialization.Proto.Msg.UnconfirmedDelivery.Parser, new[]{ "DeliveryId", "Destination", "Payload" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Akka.Persistence.Serialization.Proto.Msg.AtLeastOnceDeliverySnapshot), global::Akka.Persistence.Serialization.Proto.Msg.AtLeastOnceDeliverySnapshot.Parser, new[]{ "CurrentDeliveryId", "UnconfirmedDeliveries" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Akka.Persistence.Serialization.Proto.Msg.PersistentStateChangeEvent), global::Akka.Persistence.Serialization.Proto.Msg.PersistentStateChangeEvent.Parser, new[]{ "StateIdentifier", "TimeoutMillis" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Akka.Persistence.Serialization.Proto.Msg.PersistentFSMSnapshot), global::Akka.Persistence.Serialization.Proto.Msg.PersistentFSMSnapshot.Parser, new[]{ "StateIdentifier", "Data", "TimeoutMillis" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - internal sealed partial class PersistentMessage : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new PersistentMessage()); - 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::Akka.Persistence.Serialization.Proto.Msg.PersistenceReflection.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 PersistentMessage() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public PersistentMessage(PersistentMessage other) : this() { - payload_ = other.payload_ != null ? other.payload_.Clone() : null; - sequenceNr_ = other.sequenceNr_; - persistenceId_ = other.persistenceId_; - deleted_ = other.deleted_; - sender_ = other.sender_; - manifest_ = other.manifest_; - writerGuid_ = other.writerGuid_; - timestamp_ = other.timestamp_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public PersistentMessage Clone() { - return new PersistentMessage(this); - } - - /// Field number for the "payload" field. - public const int PayloadFieldNumber = 1; - private global::Akka.Persistence.Serialization.Proto.Msg.PersistentPayload payload_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.Persistence.Serialization.Proto.Msg.PersistentPayload Payload { - get { return payload_; } - set { - payload_ = value; - } - } - - /// Field number for the "sequenceNr" field. - public const int SequenceNrFieldNumber = 2; - private long sequenceNr_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public long SequenceNr { - get { return sequenceNr_; } - set { - sequenceNr_ = value; - } - } - - /// Field number for the "persistenceId" field. - public const int PersistenceIdFieldNumber = 3; - private string persistenceId_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string PersistenceId { - get { return persistenceId_; } - set { - persistenceId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "deleted" field. - public const int DeletedFieldNumber = 4; - private bool deleted_; - /// - /// not used in new records from 2.4 - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Deleted { - get { return deleted_; } - set { - deleted_ = value; - } - } - - /// Field number for the "sender" field. - public const int SenderFieldNumber = 11; - private string sender_ = ""; - /// - /// not stored in journal, needed for remote serialization - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Sender { - get { return sender_; } - set { - sender_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "manifest" field. - public const int ManifestFieldNumber = 12; - private string manifest_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Manifest { - get { return manifest_; } - set { - manifest_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "writerGuid" field. - public const int WriterGuidFieldNumber = 13; - private string writerGuid_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string WriterGuid { - get { return writerGuid_; } - set { - writerGuid_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "timestamp" field. - public const int TimestampFieldNumber = 14; - private long timestamp_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public long Timestamp { - get { return timestamp_; } - set { - timestamp_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as PersistentMessage); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(PersistentMessage other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (!object.Equals(Payload, other.Payload)) return false; - if (SequenceNr != other.SequenceNr) return false; - if (PersistenceId != other.PersistenceId) return false; - if (Deleted != other.Deleted) return false; - if (Sender != other.Sender) return false; - if (Manifest != other.Manifest) return false; - if (WriterGuid != other.WriterGuid) return false; - if (Timestamp != other.Timestamp) 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 (payload_ != null) hash ^= Payload.GetHashCode(); - if (SequenceNr != 0L) hash ^= SequenceNr.GetHashCode(); - if (PersistenceId.Length != 0) hash ^= PersistenceId.GetHashCode(); - if (Deleted != false) hash ^= Deleted.GetHashCode(); - if (Sender.Length != 0) hash ^= Sender.GetHashCode(); - if (Manifest.Length != 0) hash ^= Manifest.GetHashCode(); - if (WriterGuid.Length != 0) hash ^= WriterGuid.GetHashCode(); - if (Timestamp != 0L) hash ^= Timestamp.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 (payload_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Payload); - } - if (SequenceNr != 0L) { - output.WriteRawTag(16); - output.WriteInt64(SequenceNr); - } - if (PersistenceId.Length != 0) { - output.WriteRawTag(26); - output.WriteString(PersistenceId); - } - if (Deleted != false) { - output.WriteRawTag(32); - output.WriteBool(Deleted); - } - if (Sender.Length != 0) { - output.WriteRawTag(90); - output.WriteString(Sender); - } - if (Manifest.Length != 0) { - output.WriteRawTag(98); - output.WriteString(Manifest); - } - if (WriterGuid.Length != 0) { - output.WriteRawTag(106); - output.WriteString(WriterGuid); - } - if (Timestamp != 0L) { - output.WriteRawTag(112); - output.WriteSInt64(Timestamp); - } - 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 (payload_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Payload); - } - if (SequenceNr != 0L) { - output.WriteRawTag(16); - output.WriteInt64(SequenceNr); - } - if (PersistenceId.Length != 0) { - output.WriteRawTag(26); - output.WriteString(PersistenceId); - } - if (Deleted != false) { - output.WriteRawTag(32); - output.WriteBool(Deleted); - } - if (Sender.Length != 0) { - output.WriteRawTag(90); - output.WriteString(Sender); - } - if (Manifest.Length != 0) { - output.WriteRawTag(98); - output.WriteString(Manifest); - } - if (WriterGuid.Length != 0) { - output.WriteRawTag(106); - output.WriteString(WriterGuid); - } - if (Timestamp != 0L) { - output.WriteRawTag(112); - output.WriteSInt64(Timestamp); - } - 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 (payload_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Payload); - } - if (SequenceNr != 0L) { - size += 1 + pb::CodedOutputStream.ComputeInt64Size(SequenceNr); - } - if (PersistenceId.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(PersistenceId); - } - if (Deleted != false) { - size += 1 + 1; - } - if (Sender.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Sender); - } - if (Manifest.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Manifest); - } - if (WriterGuid.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(WriterGuid); - } - if (Timestamp != 0L) { - size += 1 + pb::CodedOutputStream.ComputeSInt64Size(Timestamp); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(PersistentMessage other) { - if (other == null) { - return; - } - if (other.payload_ != null) { - if (payload_ == null) { - Payload = new global::Akka.Persistence.Serialization.Proto.Msg.PersistentPayload(); - } - Payload.MergeFrom(other.Payload); - } - if (other.SequenceNr != 0L) { - SequenceNr = other.SequenceNr; - } - if (other.PersistenceId.Length != 0) { - PersistenceId = other.PersistenceId; - } - if (other.Deleted != false) { - Deleted = other.Deleted; - } - if (other.Sender.Length != 0) { - Sender = other.Sender; - } - if (other.Manifest.Length != 0) { - Manifest = other.Manifest; - } - if (other.WriterGuid.Length != 0) { - WriterGuid = other.WriterGuid; - } - if (other.Timestamp != 0L) { - Timestamp = other.Timestamp; - } - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - if (payload_ == null) { - Payload = new global::Akka.Persistence.Serialization.Proto.Msg.PersistentPayload(); - } - input.ReadMessage(Payload); - break; - } - case 16: { - SequenceNr = input.ReadInt64(); - break; - } - case 26: { - PersistenceId = input.ReadString(); - break; - } - case 32: { - Deleted = input.ReadBool(); - break; - } - case 90: { - Sender = input.ReadString(); - break; - } - case 98: { - Manifest = input.ReadString(); - break; - } - case 106: { - WriterGuid = input.ReadString(); - break; - } - case 112: { - Timestamp = input.ReadSInt64(); - 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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - if (payload_ == null) { - Payload = new global::Akka.Persistence.Serialization.Proto.Msg.PersistentPayload(); - } - input.ReadMessage(Payload); - break; - } - case 16: { - SequenceNr = input.ReadInt64(); - break; - } - case 26: { - PersistenceId = input.ReadString(); - break; - } - case 32: { - Deleted = input.ReadBool(); - break; - } - case 90: { - Sender = input.ReadString(); - break; - } - case 98: { - Manifest = input.ReadString(); - break; - } - case 106: { - WriterGuid = input.ReadString(); - break; - } - case 112: { - Timestamp = input.ReadSInt64(); - break; - } - } - } - } - #endif - - } - - internal sealed partial class PersistentPayload : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new PersistentPayload()); - 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::Akka.Persistence.Serialization.Proto.Msg.PersistenceReflection.Descriptor.MessageTypes[1]; } - } - - [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 PersistentPayload() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public PersistentPayload(PersistentPayload other) : this() { - serializerId_ = other.serializerId_; - payload_ = other.payload_; - payloadManifest_ = other.payloadManifest_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public PersistentPayload Clone() { - return new PersistentPayload(this); - } - - /// Field number for the "serializerId" field. - public const int SerializerIdFieldNumber = 1; - private int serializerId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int SerializerId { - get { return serializerId_; } - set { - serializerId_ = value; - } - } - - /// Field number for the "payload" field. - public const int PayloadFieldNumber = 2; - private pb::ByteString payload_ = pb::ByteString.Empty; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pb::ByteString Payload { - get { return payload_; } - set { - payload_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "payloadManifest" field. - public const int PayloadManifestFieldNumber = 3; - private pb::ByteString payloadManifest_ = pb::ByteString.Empty; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pb::ByteString PayloadManifest { - get { return payloadManifest_; } - set { - payloadManifest_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as PersistentPayload); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(PersistentPayload other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (SerializerId != other.SerializerId) return false; - if (Payload != other.Payload) return false; - if (PayloadManifest != other.PayloadManifest) 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 (SerializerId != 0) hash ^= SerializerId.GetHashCode(); - if (Payload.Length != 0) hash ^= Payload.GetHashCode(); - if (PayloadManifest.Length != 0) hash ^= PayloadManifest.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 (SerializerId != 0) { - output.WriteRawTag(8); - output.WriteInt32(SerializerId); - } - if (Payload.Length != 0) { - output.WriteRawTag(18); - output.WriteBytes(Payload); - } - if (PayloadManifest.Length != 0) { - output.WriteRawTag(26); - output.WriteBytes(PayloadManifest); - } - 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 (SerializerId != 0) { - output.WriteRawTag(8); - output.WriteInt32(SerializerId); - } - if (Payload.Length != 0) { - output.WriteRawTag(18); - output.WriteBytes(Payload); - } - if (PayloadManifest.Length != 0) { - output.WriteRawTag(26); - output.WriteBytes(PayloadManifest); - } - 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 (SerializerId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(SerializerId); - } - if (Payload.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeBytesSize(Payload); - } - if (PayloadManifest.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeBytesSize(PayloadManifest); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(PersistentPayload other) { - if (other == null) { - return; - } - if (other.SerializerId != 0) { - SerializerId = other.SerializerId; - } - if (other.Payload.Length != 0) { - Payload = other.Payload; - } - if (other.PayloadManifest.Length != 0) { - PayloadManifest = other.PayloadManifest; - } - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 8: { - SerializerId = input.ReadInt32(); - break; - } - case 18: { - Payload = input.ReadBytes(); - break; - } - case 26: { - PayloadManifest = input.ReadBytes(); - 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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 8: { - SerializerId = input.ReadInt32(); - break; - } - case 18: { - Payload = input.ReadBytes(); - break; - } - case 26: { - PayloadManifest = input.ReadBytes(); - break; - } - } - } - } - #endif - - } - - internal sealed partial class AtomicWrite : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AtomicWrite()); - 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::Akka.Persistence.Serialization.Proto.Msg.PersistenceReflection.Descriptor.MessageTypes[2]; } - } - - [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 AtomicWrite() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public AtomicWrite(AtomicWrite other) : this() { - payload_ = other.payload_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public AtomicWrite Clone() { - return new AtomicWrite(this); - } - - /// Field number for the "payload" field. - public const int PayloadFieldNumber = 1; - private static readonly pb::FieldCodec _repeated_payload_codec - = pb::FieldCodec.ForMessage(10, global::Akka.Persistence.Serialization.Proto.Msg.PersistentMessage.Parser); - private readonly pbc::RepeatedField payload_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField Payload { - get { return payload_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as AtomicWrite); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(AtomicWrite other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!payload_.Equals(other.payload_)) 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; - hash ^= payload_.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 - payload_.WriteTo(output, _repeated_payload_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) { - payload_.WriteTo(ref output, _repeated_payload_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; - size += payload_.CalculateSize(_repeated_payload_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(AtomicWrite other) { - if (other == null) { - return; - } - payload_.Add(other.payload_); - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - payload_.AddEntriesFrom(input, _repeated_payload_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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - payload_.AddEntriesFrom(ref input, _repeated_payload_codec); - break; - } - } - } - } - #endif - - } - - internal sealed partial class UnconfirmedDelivery : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UnconfirmedDelivery()); - 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::Akka.Persistence.Serialization.Proto.Msg.PersistenceReflection.Descriptor.MessageTypes[3]; } - } - - [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 UnconfirmedDelivery() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public UnconfirmedDelivery(UnconfirmedDelivery other) : this() { - deliveryId_ = other.deliveryId_; - destination_ = other.destination_; - payload_ = other.payload_ != null ? other.payload_.Clone() : null; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public UnconfirmedDelivery Clone() { - return new UnconfirmedDelivery(this); - } - - /// Field number for the "deliveryId" field. - public const int DeliveryIdFieldNumber = 1; - private long deliveryId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public long DeliveryId { - get { return deliveryId_; } - set { - deliveryId_ = value; - } - } - - /// Field number for the "destination" field. - public const int DestinationFieldNumber = 2; - private string destination_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Destination { - get { return destination_; } - set { - destination_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "payload" field. - public const int PayloadFieldNumber = 3; - private global::Akka.Persistence.Serialization.Proto.Msg.PersistentPayload payload_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.Persistence.Serialization.Proto.Msg.PersistentPayload Payload { - get { return payload_; } - set { - payload_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as UnconfirmedDelivery); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(UnconfirmedDelivery other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (DeliveryId != other.DeliveryId) return false; - if (Destination != other.Destination) return false; - if (!object.Equals(Payload, other.Payload)) 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 (DeliveryId != 0L) hash ^= DeliveryId.GetHashCode(); - if (Destination.Length != 0) hash ^= Destination.GetHashCode(); - if (payload_ != null) hash ^= Payload.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 (DeliveryId != 0L) { - output.WriteRawTag(8); - output.WriteInt64(DeliveryId); - } - if (Destination.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Destination); - } - if (payload_ != null) { - output.WriteRawTag(26); - output.WriteMessage(Payload); - } - 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 (DeliveryId != 0L) { - output.WriteRawTag(8); - output.WriteInt64(DeliveryId); - } - if (Destination.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Destination); - } - if (payload_ != null) { - output.WriteRawTag(26); - output.WriteMessage(Payload); - } - 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 (DeliveryId != 0L) { - size += 1 + pb::CodedOutputStream.ComputeInt64Size(DeliveryId); - } - if (Destination.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Destination); - } - if (payload_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Payload); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(UnconfirmedDelivery other) { - if (other == null) { - return; - } - if (other.DeliveryId != 0L) { - DeliveryId = other.DeliveryId; - } - if (other.Destination.Length != 0) { - Destination = other.Destination; - } - if (other.payload_ != null) { - if (payload_ == null) { - Payload = new global::Akka.Persistence.Serialization.Proto.Msg.PersistentPayload(); - } - Payload.MergeFrom(other.Payload); - } - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 8: { - DeliveryId = input.ReadInt64(); - break; - } - case 18: { - Destination = input.ReadString(); - break; - } - case 26: { - if (payload_ == null) { - Payload = new global::Akka.Persistence.Serialization.Proto.Msg.PersistentPayload(); - } - input.ReadMessage(Payload); - 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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 8: { - DeliveryId = input.ReadInt64(); - break; - } - case 18: { - Destination = input.ReadString(); - break; - } - case 26: { - if (payload_ == null) { - Payload = new global::Akka.Persistence.Serialization.Proto.Msg.PersistentPayload(); - } - input.ReadMessage(Payload); - break; - } - } - } - } - #endif - - } - - internal sealed partial class AtLeastOnceDeliverySnapshot : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AtLeastOnceDeliverySnapshot()); - 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::Akka.Persistence.Serialization.Proto.Msg.PersistenceReflection.Descriptor.MessageTypes[4]; } - } - - [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 AtLeastOnceDeliverySnapshot() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public AtLeastOnceDeliverySnapshot(AtLeastOnceDeliverySnapshot other) : this() { - currentDeliveryId_ = other.currentDeliveryId_; - unconfirmedDeliveries_ = other.unconfirmedDeliveries_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public AtLeastOnceDeliverySnapshot Clone() { - return new AtLeastOnceDeliverySnapshot(this); - } - - /// Field number for the "currentDeliveryId" field. - public const int CurrentDeliveryIdFieldNumber = 1; - private long currentDeliveryId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public long CurrentDeliveryId { - get { return currentDeliveryId_; } - set { - currentDeliveryId_ = value; - } - } - - /// Field number for the "unconfirmedDeliveries" field. - public const int UnconfirmedDeliveriesFieldNumber = 2; - private static readonly pb::FieldCodec _repeated_unconfirmedDeliveries_codec - = pb::FieldCodec.ForMessage(18, global::Akka.Persistence.Serialization.Proto.Msg.UnconfirmedDelivery.Parser); - private readonly pbc::RepeatedField unconfirmedDeliveries_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField UnconfirmedDeliveries { - get { return unconfirmedDeliveries_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as AtLeastOnceDeliverySnapshot); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(AtLeastOnceDeliverySnapshot other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (CurrentDeliveryId != other.CurrentDeliveryId) return false; - if(!unconfirmedDeliveries_.Equals(other.unconfirmedDeliveries_)) 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 (CurrentDeliveryId != 0L) hash ^= CurrentDeliveryId.GetHashCode(); - hash ^= unconfirmedDeliveries_.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 (CurrentDeliveryId != 0L) { - output.WriteRawTag(8); - output.WriteInt64(CurrentDeliveryId); - } - unconfirmedDeliveries_.WriteTo(output, _repeated_unconfirmedDeliveries_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 (CurrentDeliveryId != 0L) { - output.WriteRawTag(8); - output.WriteInt64(CurrentDeliveryId); - } - unconfirmedDeliveries_.WriteTo(ref output, _repeated_unconfirmedDeliveries_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 (CurrentDeliveryId != 0L) { - size += 1 + pb::CodedOutputStream.ComputeInt64Size(CurrentDeliveryId); - } - size += unconfirmedDeliveries_.CalculateSize(_repeated_unconfirmedDeliveries_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(AtLeastOnceDeliverySnapshot other) { - if (other == null) { - return; - } - if (other.CurrentDeliveryId != 0L) { - CurrentDeliveryId = other.CurrentDeliveryId; - } - unconfirmedDeliveries_.Add(other.unconfirmedDeliveries_); - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 8: { - CurrentDeliveryId = input.ReadInt64(); - break; - } - case 18: { - unconfirmedDeliveries_.AddEntriesFrom(input, _repeated_unconfirmedDeliveries_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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 8: { - CurrentDeliveryId = input.ReadInt64(); - break; - } - case 18: { - unconfirmedDeliveries_.AddEntriesFrom(ref input, _repeated_unconfirmedDeliveries_codec); - break; - } - } - } - } - #endif - - } - - internal sealed partial class PersistentStateChangeEvent : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new PersistentStateChangeEvent()); - 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::Akka.Persistence.Serialization.Proto.Msg.PersistenceReflection.Descriptor.MessageTypes[5]; } - } - - [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 PersistentStateChangeEvent() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public PersistentStateChangeEvent(PersistentStateChangeEvent other) : this() { - stateIdentifier_ = other.stateIdentifier_; - timeoutMillis_ = other.timeoutMillis_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public PersistentStateChangeEvent Clone() { - return new PersistentStateChangeEvent(this); - } - - /// Field number for the "stateIdentifier" field. - public const int StateIdentifierFieldNumber = 1; - private string stateIdentifier_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string StateIdentifier { - get { return stateIdentifier_; } - set { - stateIdentifier_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "timeoutMillis" field. - public const int TimeoutMillisFieldNumber = 2; - private long timeoutMillis_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public long TimeoutMillis { - get { return timeoutMillis_; } - set { - timeoutMillis_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as PersistentStateChangeEvent); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(PersistentStateChangeEvent other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (StateIdentifier != other.StateIdentifier) return false; - if (TimeoutMillis != other.TimeoutMillis) 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 (StateIdentifier.Length != 0) hash ^= StateIdentifier.GetHashCode(); - if (TimeoutMillis != 0L) hash ^= TimeoutMillis.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 (StateIdentifier.Length != 0) { - output.WriteRawTag(10); - output.WriteString(StateIdentifier); - } - if (TimeoutMillis != 0L) { - output.WriteRawTag(16); - output.WriteInt64(TimeoutMillis); - } - 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 (StateIdentifier.Length != 0) { - output.WriteRawTag(10); - output.WriteString(StateIdentifier); - } - if (TimeoutMillis != 0L) { - output.WriteRawTag(16); - output.WriteInt64(TimeoutMillis); - } - 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 (StateIdentifier.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(StateIdentifier); - } - if (TimeoutMillis != 0L) { - size += 1 + pb::CodedOutputStream.ComputeInt64Size(TimeoutMillis); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(PersistentStateChangeEvent other) { - if (other == null) { - return; - } - if (other.StateIdentifier.Length != 0) { - StateIdentifier = other.StateIdentifier; - } - if (other.TimeoutMillis != 0L) { - TimeoutMillis = other.TimeoutMillis; - } - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - StateIdentifier = input.ReadString(); - break; - } - case 16: { - TimeoutMillis = input.ReadInt64(); - 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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - StateIdentifier = input.ReadString(); - break; - } - case 16: { - TimeoutMillis = input.ReadInt64(); - break; - } - } - } - } - #endif - - } - - internal sealed partial class PersistentFSMSnapshot : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new PersistentFSMSnapshot()); - 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::Akka.Persistence.Serialization.Proto.Msg.PersistenceReflection.Descriptor.MessageTypes[6]; } - } - - [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 PersistentFSMSnapshot() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public PersistentFSMSnapshot(PersistentFSMSnapshot other) : this() { - stateIdentifier_ = other.stateIdentifier_; - data_ = other.data_ != null ? other.data_.Clone() : null; - timeoutMillis_ = other.timeoutMillis_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public PersistentFSMSnapshot Clone() { - return new PersistentFSMSnapshot(this); - } - - /// Field number for the "stateIdentifier" field. - public const int StateIdentifierFieldNumber = 1; - private string stateIdentifier_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string StateIdentifier { - get { return stateIdentifier_; } - set { - stateIdentifier_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "data" field. - public const int DataFieldNumber = 2; - private global::Akka.Persistence.Serialization.Proto.Msg.PersistentPayload data_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.Persistence.Serialization.Proto.Msg.PersistentPayload Data { - get { return data_; } - set { - data_ = value; - } - } - - /// Field number for the "timeoutMillis" field. - public const int TimeoutMillisFieldNumber = 3; - private long timeoutMillis_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public long TimeoutMillis { - get { return timeoutMillis_; } - set { - timeoutMillis_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as PersistentFSMSnapshot); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(PersistentFSMSnapshot other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (StateIdentifier != other.StateIdentifier) return false; - if (!object.Equals(Data, other.Data)) return false; - if (TimeoutMillis != other.TimeoutMillis) 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 (StateIdentifier.Length != 0) hash ^= StateIdentifier.GetHashCode(); - if (data_ != null) hash ^= Data.GetHashCode(); - if (TimeoutMillis != 0L) hash ^= TimeoutMillis.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 (StateIdentifier.Length != 0) { - output.WriteRawTag(10); - output.WriteString(StateIdentifier); - } - if (data_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Data); - } - if (TimeoutMillis != 0L) { - output.WriteRawTag(24); - output.WriteInt64(TimeoutMillis); - } - 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 (StateIdentifier.Length != 0) { - output.WriteRawTag(10); - output.WriteString(StateIdentifier); - } - if (data_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Data); - } - if (TimeoutMillis != 0L) { - output.WriteRawTag(24); - output.WriteInt64(TimeoutMillis); - } - 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 (StateIdentifier.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(StateIdentifier); - } - if (data_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Data); - } - if (TimeoutMillis != 0L) { - size += 1 + pb::CodedOutputStream.ComputeInt64Size(TimeoutMillis); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(PersistentFSMSnapshot other) { - if (other == null) { - return; - } - if (other.StateIdentifier.Length != 0) { - StateIdentifier = other.StateIdentifier; - } - if (other.data_ != null) { - if (data_ == null) { - Data = new global::Akka.Persistence.Serialization.Proto.Msg.PersistentPayload(); - } - Data.MergeFrom(other.Data); - } - if (other.TimeoutMillis != 0L) { - TimeoutMillis = other.TimeoutMillis; - } - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - StateIdentifier = input.ReadString(); - break; - } - case 18: { - if (data_ == null) { - Data = new global::Akka.Persistence.Serialization.Proto.Msg.PersistentPayload(); - } - input.ReadMessage(Data); - break; - } - case 24: { - TimeoutMillis = input.ReadInt64(); - 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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - StateIdentifier = input.ReadString(); - break; - } - case 18: { - if (data_ == null) { - Data = new global::Akka.Persistence.Serialization.Proto.Msg.PersistentPayload(); - } - input.ReadMessage(Data); - break; - } - case 24: { - TimeoutMillis = input.ReadInt64(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/src/core/Akka.Remote.TestKit/Akka.Remote.TestKit.csproj b/src/core/Akka.Remote.TestKit/Akka.Remote.TestKit.csproj index 26dcb780de3..f059017905b 100644 --- a/src/core/Akka.Remote.TestKit/Akka.Remote.TestKit.csproj +++ b/src/core/Akka.Remote.TestKit/Akka.Remote.TestKit.csproj @@ -15,6 +15,15 @@ + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + + + + diff --git a/src/core/Akka.Remote.TestKit/Proto/TestConductorProtocol.g.cs b/src/core/Akka.Remote.TestKit/Proto/TestConductorProtocol.g.cs deleted file mode 100644 index a676d5038e4..00000000000 --- a/src/core/Akka.Remote.TestKit/Proto/TestConductorProtocol.g.cs +++ /dev/null @@ -1,1568 +0,0 @@ -//----------------------------------------------------------------------- -// -// Copyright (C) 2009-2023 Lightbend Inc. -// Copyright (C) 2013-2023 .NET Foundation -// -//----------------------------------------------------------------------- - -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: TestConductorProtocol.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 Akka.Remote.TestKit.Proto.Msg { - - /// Holder for reflection information generated from TestConductorProtocol.proto - internal static partial class TestConductorProtocolReflection { - - #region Descriptor - /// File descriptor for TestConductorProtocol.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TestConductorProtocolReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChtUZXN0Q29uZHVjdG9yUHJvdG9jb2wucHJvdG8SHUFra2EuUmVtb3RlLlRl", - "c3RLaXQuUHJvdG8uTXNnGhZDb250YWluZXJGb3JtYXRzLnByb3RvIoYCCgdX", - "cmFwcGVyEjMKBWhlbGxvGAEgASgLMiQuQWtrYS5SZW1vdGUuVGVzdEtpdC5Q", - "cm90by5Nc2cuSGVsbG8SPAoHYmFycmllchgCIAEoCzIrLkFra2EuUmVtb3Rl", - "LlRlc3RLaXQuUHJvdG8uTXNnLkVudGVyQmFycmllchI9CgdmYWlsdXJlGAMg", - "ASgLMiwuQWtrYS5SZW1vdGUuVGVzdEtpdC5Qcm90by5Nc2cuSW5qZWN0RmFp", - "bHVyZRIMCgRkb25lGAQgASgJEjsKBGFkZHIYBSABKAsyLS5Ba2thLlJlbW90", - "ZS5UZXN0S2l0LlByb3RvLk1zZy5BZGRyZXNzUmVxdWVzdCJYCgVIZWxsbxIM", - "CgRuYW1lGAEgASgJEkEKB2FkZHJlc3MYAiABKAsyMC5Ba2thLlJlbW90ZS5T", - "ZXJpYWxpemF0aW9uLlByb3RvLk1zZy5BZGRyZXNzRGF0YSKtAQoMRW50ZXJC", - "YXJyaWVyEgwKBG5hbWUYASABKAkSQQoCb3AYAiABKA4yNS5Ba2thLlJlbW90", - "ZS5UZXN0S2l0LlByb3RvLk1zZy5FbnRlckJhcnJpZXIuQmFycmllck9wEg8K", - "B3RpbWVvdXQYAyABKAMiOwoJQmFycmllck9wEgkKBUVudGVyEAASCAoERmFp", - "bBABEg0KCVN1Y2NlZWRlZBACEgoKBkZhaWxlZBADIl4KDkFkZHJlc3NSZXF1", - "ZXN0EgwKBG5vZGUYASABKAkSPgoEYWRkchgCIAEoCzIwLkFra2EuUmVtb3Rl", - "LlNlcmlhbGl6YXRpb24uUHJvdG8uTXNnLkFkZHJlc3NEYXRhIpkDCg1Jbmpl", - "Y3RGYWlsdXJlEkYKB2ZhaWx1cmUYASABKA4yNS5Ba2thLlJlbW90ZS5UZXN0", - "S2l0LlByb3RvLk1zZy5JbmplY3RGYWlsdXJlLkZhaWxUeXBlEkkKCWRpcmVj", - "dGlvbhgCIAEoDjI2LkFra2EuUmVtb3RlLlRlc3RLaXQuUHJvdG8uTXNnLklu", - "amVjdEZhaWx1cmUuRGlyZWN0aW9uEkEKB2FkZHJlc3MYAyABKAsyMC5Ba2th", - "LlJlbW90ZS5TZXJpYWxpemF0aW9uLlByb3RvLk1zZy5BZGRyZXNzRGF0YRIQ", - "CghyYXRlTUJpdBgGIAEoAhIRCglleGl0VmFsdWUYByABKAUiXwoIRmFpbFR5", - "cGUSDAoIVGhyb3R0bGUQABIOCgpEaXNjb25uZWN0EAESCQoFQWJvcnQQAhII", - "CgRFeGl0EAMSDAoIU2h1dGRvd24QBBISCg5TaHV0ZG93bkFicnVwdBAFIiwK", - "CURpcmVjdGlvbhIICgRTZW5kEAASCwoHUmVjZWl2ZRABEggKBEJvdGgQAmIG", - "cHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Akka.Remote.Serialization.Proto.Msg.ContainerFormatsReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Akka.Remote.TestKit.Proto.Msg.Wrapper), global::Akka.Remote.TestKit.Proto.Msg.Wrapper.Parser, new[]{ "Hello", "Barrier", "Failure", "Done", "Addr" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Akka.Remote.TestKit.Proto.Msg.Hello), global::Akka.Remote.TestKit.Proto.Msg.Hello.Parser, new[]{ "Name", "Address" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Akka.Remote.TestKit.Proto.Msg.EnterBarrier), global::Akka.Remote.TestKit.Proto.Msg.EnterBarrier.Parser, new[]{ "Name", "Op", "Timeout" }, null, new[]{ typeof(global::Akka.Remote.TestKit.Proto.Msg.EnterBarrier.Types.BarrierOp) }, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Akka.Remote.TestKit.Proto.Msg.AddressRequest), global::Akka.Remote.TestKit.Proto.Msg.AddressRequest.Parser, new[]{ "Node", "Addr" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Akka.Remote.TestKit.Proto.Msg.InjectFailure), global::Akka.Remote.TestKit.Proto.Msg.InjectFailure.Parser, new[]{ "Failure", "Direction", "Address", "RateMBit", "ExitValue" }, null, new[]{ typeof(global::Akka.Remote.TestKit.Proto.Msg.InjectFailure.Types.FailType), typeof(global::Akka.Remote.TestKit.Proto.Msg.InjectFailure.Types.Direction) }, null, null) - })); - } - #endregion - - } - #region Messages - internal sealed partial class Wrapper : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Wrapper()); - 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::Akka.Remote.TestKit.Proto.Msg.TestConductorProtocolReflection.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 Wrapper() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Wrapper(Wrapper other) : this() { - hello_ = other.hello_ != null ? other.hello_.Clone() : null; - barrier_ = other.barrier_ != null ? other.barrier_.Clone() : null; - failure_ = other.failure_ != null ? other.failure_.Clone() : null; - done_ = other.done_; - addr_ = other.addr_ != null ? other.addr_.Clone() : null; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Wrapper Clone() { - return new Wrapper(this); - } - - /// Field number for the "hello" field. - public const int HelloFieldNumber = 1; - private global::Akka.Remote.TestKit.Proto.Msg.Hello hello_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.Remote.TestKit.Proto.Msg.Hello Hello { - get { return hello_; } - set { - hello_ = value; - } - } - - /// Field number for the "barrier" field. - public const int BarrierFieldNumber = 2; - private global::Akka.Remote.TestKit.Proto.Msg.EnterBarrier barrier_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.Remote.TestKit.Proto.Msg.EnterBarrier Barrier { - get { return barrier_; } - set { - barrier_ = value; - } - } - - /// Field number for the "failure" field. - public const int FailureFieldNumber = 3; - private global::Akka.Remote.TestKit.Proto.Msg.InjectFailure failure_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.Remote.TestKit.Proto.Msg.InjectFailure Failure { - get { return failure_; } - set { - failure_ = value; - } - } - - /// Field number for the "done" field. - public const int DoneFieldNumber = 4; - private string done_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Done { - get { return done_; } - set { - done_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "addr" field. - public const int AddrFieldNumber = 5; - private global::Akka.Remote.TestKit.Proto.Msg.AddressRequest addr_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.Remote.TestKit.Proto.Msg.AddressRequest Addr { - get { return addr_; } - set { - addr_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as Wrapper); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(Wrapper other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (!object.Equals(Hello, other.Hello)) return false; - if (!object.Equals(Barrier, other.Barrier)) return false; - if (!object.Equals(Failure, other.Failure)) return false; - if (Done != other.Done) return false; - if (!object.Equals(Addr, other.Addr)) 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 (hello_ != null) hash ^= Hello.GetHashCode(); - if (barrier_ != null) hash ^= Barrier.GetHashCode(); - if (failure_ != null) hash ^= Failure.GetHashCode(); - if (Done.Length != 0) hash ^= Done.GetHashCode(); - if (addr_ != null) hash ^= Addr.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 (hello_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Hello); - } - if (barrier_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Barrier); - } - if (failure_ != null) { - output.WriteRawTag(26); - output.WriteMessage(Failure); - } - if (Done.Length != 0) { - output.WriteRawTag(34); - output.WriteString(Done); - } - if (addr_ != null) { - output.WriteRawTag(42); - output.WriteMessage(Addr); - } - 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 (hello_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Hello); - } - if (barrier_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Barrier); - } - if (failure_ != null) { - output.WriteRawTag(26); - output.WriteMessage(Failure); - } - if (Done.Length != 0) { - output.WriteRawTag(34); - output.WriteString(Done); - } - if (addr_ != null) { - output.WriteRawTag(42); - output.WriteMessage(Addr); - } - 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 (hello_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Hello); - } - if (barrier_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Barrier); - } - if (failure_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Failure); - } - if (Done.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Done); - } - if (addr_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Addr); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(Wrapper other) { - if (other == null) { - return; - } - if (other.hello_ != null) { - if (hello_ == null) { - Hello = new global::Akka.Remote.TestKit.Proto.Msg.Hello(); - } - Hello.MergeFrom(other.Hello); - } - if (other.barrier_ != null) { - if (barrier_ == null) { - Barrier = new global::Akka.Remote.TestKit.Proto.Msg.EnterBarrier(); - } - Barrier.MergeFrom(other.Barrier); - } - if (other.failure_ != null) { - if (failure_ == null) { - Failure = new global::Akka.Remote.TestKit.Proto.Msg.InjectFailure(); - } - Failure.MergeFrom(other.Failure); - } - if (other.Done.Length != 0) { - Done = other.Done; - } - if (other.addr_ != null) { - if (addr_ == null) { - Addr = new global::Akka.Remote.TestKit.Proto.Msg.AddressRequest(); - } - Addr.MergeFrom(other.Addr); - } - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - if (hello_ == null) { - Hello = new global::Akka.Remote.TestKit.Proto.Msg.Hello(); - } - input.ReadMessage(Hello); - break; - } - case 18: { - if (barrier_ == null) { - Barrier = new global::Akka.Remote.TestKit.Proto.Msg.EnterBarrier(); - } - input.ReadMessage(Barrier); - break; - } - case 26: { - if (failure_ == null) { - Failure = new global::Akka.Remote.TestKit.Proto.Msg.InjectFailure(); - } - input.ReadMessage(Failure); - break; - } - case 34: { - Done = input.ReadString(); - break; - } - case 42: { - if (addr_ == null) { - Addr = new global::Akka.Remote.TestKit.Proto.Msg.AddressRequest(); - } - input.ReadMessage(Addr); - 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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - if (hello_ == null) { - Hello = new global::Akka.Remote.TestKit.Proto.Msg.Hello(); - } - input.ReadMessage(Hello); - break; - } - case 18: { - if (barrier_ == null) { - Barrier = new global::Akka.Remote.TestKit.Proto.Msg.EnterBarrier(); - } - input.ReadMessage(Barrier); - break; - } - case 26: { - if (failure_ == null) { - Failure = new global::Akka.Remote.TestKit.Proto.Msg.InjectFailure(); - } - input.ReadMessage(Failure); - break; - } - case 34: { - Done = input.ReadString(); - break; - } - case 42: { - if (addr_ == null) { - Addr = new global::Akka.Remote.TestKit.Proto.Msg.AddressRequest(); - } - input.ReadMessage(Addr); - break; - } - } - } - } - #endif - - } - - internal sealed partial class Hello : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Hello()); - 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::Akka.Remote.TestKit.Proto.Msg.TestConductorProtocolReflection.Descriptor.MessageTypes[1]; } - } - - [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 Hello() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Hello(Hello other) : this() { - name_ = other.name_; - address_ = other.address_ != null ? other.address_.Clone() : null; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Hello Clone() { - return new Hello(this); - } - - /// Field number for the "name" field. - public const int NameFieldNumber = 1; - 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"); - } - } - - /// Field number for the "address" field. - public const int AddressFieldNumber = 2; - private global::Akka.Remote.Serialization.Proto.Msg.AddressData address_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.Remote.Serialization.Proto.Msg.AddressData Address { - get { return address_; } - set { - address_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as Hello); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(Hello other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Name != other.Name) return false; - if (!object.Equals(Address, other.Address)) 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 (address_ != null) hash ^= Address.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 (Name.Length != 0) { - output.WriteRawTag(10); - output.WriteString(Name); - } - if (address_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Address); - } - 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 (Name.Length != 0) { - output.WriteRawTag(10); - output.WriteString(Name); - } - if (address_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Address); - } - 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 (address_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Address); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(Hello other) { - if (other == null) { - return; - } - if (other.Name.Length != 0) { - Name = other.Name; - } - if (other.address_ != null) { - if (address_ == null) { - Address = new global::Akka.Remote.Serialization.Proto.Msg.AddressData(); - } - Address.MergeFrom(other.Address); - } - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - Name = input.ReadString(); - break; - } - case 18: { - if (address_ == null) { - Address = new global::Akka.Remote.Serialization.Proto.Msg.AddressData(); - } - input.ReadMessage(Address); - 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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - Name = input.ReadString(); - break; - } - case 18: { - if (address_ == null) { - Address = new global::Akka.Remote.Serialization.Proto.Msg.AddressData(); - } - input.ReadMessage(Address); - break; - } - } - } - } - #endif - - } - - internal sealed partial class EnterBarrier : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new EnterBarrier()); - 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::Akka.Remote.TestKit.Proto.Msg.TestConductorProtocolReflection.Descriptor.MessageTypes[2]; } - } - - [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 EnterBarrier() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public EnterBarrier(EnterBarrier other) : this() { - name_ = other.name_; - op_ = other.op_; - timeout_ = other.timeout_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public EnterBarrier Clone() { - return new EnterBarrier(this); - } - - /// Field number for the "name" field. - public const int NameFieldNumber = 1; - 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"); - } - } - - /// Field number for the "op" field. - public const int OpFieldNumber = 2; - private global::Akka.Remote.TestKit.Proto.Msg.EnterBarrier.Types.BarrierOp op_ = global::Akka.Remote.TestKit.Proto.Msg.EnterBarrier.Types.BarrierOp.Enter; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.Remote.TestKit.Proto.Msg.EnterBarrier.Types.BarrierOp Op { - get { return op_; } - set { - op_ = value; - } - } - - /// Field number for the "timeout" field. - public const int TimeoutFieldNumber = 3; - private long timeout_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public long Timeout { - get { return timeout_; } - set { - timeout_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as EnterBarrier); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(EnterBarrier other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Name != other.Name) return false; - if (Op != other.Op) return false; - if (Timeout != other.Timeout) 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 (Op != global::Akka.Remote.TestKit.Proto.Msg.EnterBarrier.Types.BarrierOp.Enter) hash ^= Op.GetHashCode(); - if (Timeout != 0L) hash ^= Timeout.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 (Name.Length != 0) { - output.WriteRawTag(10); - output.WriteString(Name); - } - if (Op != global::Akka.Remote.TestKit.Proto.Msg.EnterBarrier.Types.BarrierOp.Enter) { - output.WriteRawTag(16); - output.WriteEnum((int) Op); - } - if (Timeout != 0L) { - output.WriteRawTag(24); - output.WriteInt64(Timeout); - } - 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 (Name.Length != 0) { - output.WriteRawTag(10); - output.WriteString(Name); - } - if (Op != global::Akka.Remote.TestKit.Proto.Msg.EnterBarrier.Types.BarrierOp.Enter) { - output.WriteRawTag(16); - output.WriteEnum((int) Op); - } - if (Timeout != 0L) { - output.WriteRawTag(24); - output.WriteInt64(Timeout); - } - 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 (Op != global::Akka.Remote.TestKit.Proto.Msg.EnterBarrier.Types.BarrierOp.Enter) { - size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Op); - } - if (Timeout != 0L) { - size += 1 + pb::CodedOutputStream.ComputeInt64Size(Timeout); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(EnterBarrier other) { - if (other == null) { - return; - } - if (other.Name.Length != 0) { - Name = other.Name; - } - if (other.Op != global::Akka.Remote.TestKit.Proto.Msg.EnterBarrier.Types.BarrierOp.Enter) { - Op = other.Op; - } - if (other.Timeout != 0L) { - Timeout = other.Timeout; - } - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - Name = input.ReadString(); - break; - } - case 16: { - Op = (global::Akka.Remote.TestKit.Proto.Msg.EnterBarrier.Types.BarrierOp) input.ReadEnum(); - break; - } - case 24: { - Timeout = input.ReadInt64(); - 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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - Name = input.ReadString(); - break; - } - case 16: { - Op = (global::Akka.Remote.TestKit.Proto.Msg.EnterBarrier.Types.BarrierOp) input.ReadEnum(); - break; - } - case 24: { - Timeout = input.ReadInt64(); - break; - } - } - } - } - #endif - - #region Nested types - /// Container for nested types declared in the EnterBarrier message type. - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static partial class Types { - internal enum BarrierOp { - [pbr::OriginalName("Enter")] Enter = 0, - [pbr::OriginalName("Fail")] Fail = 1, - [pbr::OriginalName("Succeeded")] Succeeded = 2, - [pbr::OriginalName("Failed")] Failed = 3, - } - - } - #endregion - - } - - internal sealed partial class AddressRequest : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AddressRequest()); - 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::Akka.Remote.TestKit.Proto.Msg.TestConductorProtocolReflection.Descriptor.MessageTypes[3]; } - } - - [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 AddressRequest() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public AddressRequest(AddressRequest other) : this() { - node_ = other.node_; - addr_ = other.addr_ != null ? other.addr_.Clone() : null; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public AddressRequest Clone() { - return new AddressRequest(this); - } - - /// Field number for the "node" field. - public const int NodeFieldNumber = 1; - private string node_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Node { - get { return node_; } - set { - node_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "addr" field. - public const int AddrFieldNumber = 2; - private global::Akka.Remote.Serialization.Proto.Msg.AddressData addr_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.Remote.Serialization.Proto.Msg.AddressData Addr { - get { return addr_; } - set { - addr_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as AddressRequest); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(AddressRequest other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Node != other.Node) return false; - if (!object.Equals(Addr, other.Addr)) 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 (Node.Length != 0) hash ^= Node.GetHashCode(); - if (addr_ != null) hash ^= Addr.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 (Node.Length != 0) { - output.WriteRawTag(10); - output.WriteString(Node); - } - if (addr_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Addr); - } - 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 (Node.Length != 0) { - output.WriteRawTag(10); - output.WriteString(Node); - } - if (addr_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Addr); - } - 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 (Node.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Node); - } - if (addr_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Addr); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(AddressRequest other) { - if (other == null) { - return; - } - if (other.Node.Length != 0) { - Node = other.Node; - } - if (other.addr_ != null) { - if (addr_ == null) { - Addr = new global::Akka.Remote.Serialization.Proto.Msg.AddressData(); - } - Addr.MergeFrom(other.Addr); - } - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - Node = input.ReadString(); - break; - } - case 18: { - if (addr_ == null) { - Addr = new global::Akka.Remote.Serialization.Proto.Msg.AddressData(); - } - input.ReadMessage(Addr); - 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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - Node = input.ReadString(); - break; - } - case 18: { - if (addr_ == null) { - Addr = new global::Akka.Remote.Serialization.Proto.Msg.AddressData(); - } - input.ReadMessage(Addr); - break; - } - } - } - } - #endif - - } - - internal sealed partial class InjectFailure : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new InjectFailure()); - 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::Akka.Remote.TestKit.Proto.Msg.TestConductorProtocolReflection.Descriptor.MessageTypes[4]; } - } - - [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 InjectFailure() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public InjectFailure(InjectFailure other) : this() { - failure_ = other.failure_; - direction_ = other.direction_; - address_ = other.address_ != null ? other.address_.Clone() : null; - rateMBit_ = other.rateMBit_; - exitValue_ = other.exitValue_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public InjectFailure Clone() { - return new InjectFailure(this); - } - - /// Field number for the "failure" field. - public const int FailureFieldNumber = 1; - private global::Akka.Remote.TestKit.Proto.Msg.InjectFailure.Types.FailType failure_ = global::Akka.Remote.TestKit.Proto.Msg.InjectFailure.Types.FailType.Throttle; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.Remote.TestKit.Proto.Msg.InjectFailure.Types.FailType Failure { - get { return failure_; } - set { - failure_ = value; - } - } - - /// Field number for the "direction" field. - public const int DirectionFieldNumber = 2; - private global::Akka.Remote.TestKit.Proto.Msg.InjectFailure.Types.Direction direction_ = global::Akka.Remote.TestKit.Proto.Msg.InjectFailure.Types.Direction.Send; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.Remote.TestKit.Proto.Msg.InjectFailure.Types.Direction Direction { - get { return direction_; } - set { - direction_ = value; - } - } - - /// Field number for the "address" field. - public const int AddressFieldNumber = 3; - private global::Akka.Remote.Serialization.Proto.Msg.AddressData address_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.Remote.Serialization.Proto.Msg.AddressData Address { - get { return address_; } - set { - address_ = value; - } - } - - /// Field number for the "rateMBit" field. - public const int RateMBitFieldNumber = 6; - private float rateMBit_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public float RateMBit { - get { return rateMBit_; } - set { - rateMBit_ = value; - } - } - - /// Field number for the "exitValue" field. - public const int ExitValueFieldNumber = 7; - private int exitValue_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ExitValue { - get { return exitValue_; } - set { - exitValue_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as InjectFailure); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(InjectFailure other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Failure != other.Failure) return false; - if (Direction != other.Direction) return false; - if (!object.Equals(Address, other.Address)) return false; - if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(RateMBit, other.RateMBit)) return false; - if (ExitValue != other.ExitValue) 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 (Failure != global::Akka.Remote.TestKit.Proto.Msg.InjectFailure.Types.FailType.Throttle) hash ^= Failure.GetHashCode(); - if (Direction != global::Akka.Remote.TestKit.Proto.Msg.InjectFailure.Types.Direction.Send) hash ^= Direction.GetHashCode(); - if (address_ != null) hash ^= Address.GetHashCode(); - if (RateMBit != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(RateMBit); - if (ExitValue != 0) hash ^= ExitValue.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 (Failure != global::Akka.Remote.TestKit.Proto.Msg.InjectFailure.Types.FailType.Throttle) { - output.WriteRawTag(8); - output.WriteEnum((int) Failure); - } - if (Direction != global::Akka.Remote.TestKit.Proto.Msg.InjectFailure.Types.Direction.Send) { - output.WriteRawTag(16); - output.WriteEnum((int) Direction); - } - if (address_ != null) { - output.WriteRawTag(26); - output.WriteMessage(Address); - } - if (RateMBit != 0F) { - output.WriteRawTag(53); - output.WriteFloat(RateMBit); - } - if (ExitValue != 0) { - output.WriteRawTag(56); - output.WriteInt32(ExitValue); - } - 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 (Failure != global::Akka.Remote.TestKit.Proto.Msg.InjectFailure.Types.FailType.Throttle) { - output.WriteRawTag(8); - output.WriteEnum((int) Failure); - } - if (Direction != global::Akka.Remote.TestKit.Proto.Msg.InjectFailure.Types.Direction.Send) { - output.WriteRawTag(16); - output.WriteEnum((int) Direction); - } - if (address_ != null) { - output.WriteRawTag(26); - output.WriteMessage(Address); - } - if (RateMBit != 0F) { - output.WriteRawTag(53); - output.WriteFloat(RateMBit); - } - if (ExitValue != 0) { - output.WriteRawTag(56); - output.WriteInt32(ExitValue); - } - 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 (Failure != global::Akka.Remote.TestKit.Proto.Msg.InjectFailure.Types.FailType.Throttle) { - size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Failure); - } - if (Direction != global::Akka.Remote.TestKit.Proto.Msg.InjectFailure.Types.Direction.Send) { - size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Direction); - } - if (address_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Address); - } - if (RateMBit != 0F) { - size += 1 + 4; - } - if (ExitValue != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(ExitValue); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(InjectFailure other) { - if (other == null) { - return; - } - if (other.Failure != global::Akka.Remote.TestKit.Proto.Msg.InjectFailure.Types.FailType.Throttle) { - Failure = other.Failure; - } - if (other.Direction != global::Akka.Remote.TestKit.Proto.Msg.InjectFailure.Types.Direction.Send) { - Direction = other.Direction; - } - if (other.address_ != null) { - if (address_ == null) { - Address = new global::Akka.Remote.Serialization.Proto.Msg.AddressData(); - } - Address.MergeFrom(other.Address); - } - if (other.RateMBit != 0F) { - RateMBit = other.RateMBit; - } - if (other.ExitValue != 0) { - ExitValue = other.ExitValue; - } - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 8: { - Failure = (global::Akka.Remote.TestKit.Proto.Msg.InjectFailure.Types.FailType) input.ReadEnum(); - break; - } - case 16: { - Direction = (global::Akka.Remote.TestKit.Proto.Msg.InjectFailure.Types.Direction) input.ReadEnum(); - break; - } - case 26: { - if (address_ == null) { - Address = new global::Akka.Remote.Serialization.Proto.Msg.AddressData(); - } - input.ReadMessage(Address); - break; - } - case 53: { - RateMBit = input.ReadFloat(); - break; - } - case 56: { - ExitValue = input.ReadInt32(); - 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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 8: { - Failure = (global::Akka.Remote.TestKit.Proto.Msg.InjectFailure.Types.FailType) input.ReadEnum(); - break; - } - case 16: { - Direction = (global::Akka.Remote.TestKit.Proto.Msg.InjectFailure.Types.Direction) input.ReadEnum(); - break; - } - case 26: { - if (address_ == null) { - Address = new global::Akka.Remote.Serialization.Proto.Msg.AddressData(); - } - input.ReadMessage(Address); - break; - } - case 53: { - RateMBit = input.ReadFloat(); - break; - } - case 56: { - ExitValue = input.ReadInt32(); - break; - } - } - } - } - #endif - - #region Nested types - /// Container for nested types declared in the InjectFailure message type. - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static partial class Types { - internal enum FailType { - [pbr::OriginalName("Throttle")] Throttle = 0, - [pbr::OriginalName("Disconnect")] Disconnect = 1, - [pbr::OriginalName("Abort")] Abort = 2, - [pbr::OriginalName("Exit")] Exit = 3, - [pbr::OriginalName("Shutdown")] Shutdown = 4, - [pbr::OriginalName("ShutdownAbrupt")] ShutdownAbrupt = 5, - } - - internal enum Direction { - [pbr::OriginalName("Send")] Send = 0, - [pbr::OriginalName("Receive")] Receive = 1, - [pbr::OriginalName("Both")] Both = 2, - } - - } - #endregion - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/src/core/Akka.Remote/Akka.Remote.csproj b/src/core/Akka.Remote/Akka.Remote.csproj index 66508aa2f4a..9a89f8f9a89 100644 --- a/src/core/Akka.Remote/Akka.Remote.csproj +++ b/src/core/Akka.Remote/Akka.Remote.csproj @@ -12,7 +12,18 @@ + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + + + + + + True diff --git a/src/core/Akka.Remote/Serialization/Proto/ContainerFormats.g.cs b/src/core/Akka.Remote/Serialization/Proto/ContainerFormats.g.cs deleted file mode 100644 index 9a995aa2279..00000000000 --- a/src/core/Akka.Remote/Serialization/Proto/ContainerFormats.g.cs +++ /dev/null @@ -1,2751 +0,0 @@ -//----------------------------------------------------------------------- -// -// Copyright (C) 2009-2023 Lightbend Inc. -// Copyright (C) 2013-2023 .NET Foundation -// -//----------------------------------------------------------------------- - -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: ContainerFormats.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 Akka.Remote.Serialization.Proto.Msg { - - /// Holder for reflection information generated from ContainerFormats.proto - internal static partial class ContainerFormatsReflection { - - #region Descriptor - /// File descriptor for ContainerFormats.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static ContainerFormatsReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChZDb250YWluZXJGb3JtYXRzLnByb3RvEiNBa2thLlJlbW90ZS5TZXJpYWxp", - "emF0aW9uLlByb3RvLk1zZyKTAQoRU2VsZWN0aW9uRW52ZWxvcGUSPQoHcGF5", - "bG9hZBgBIAEoCzIsLkFra2EuUmVtb3RlLlNlcmlhbGl6YXRpb24uUHJvdG8u", - "TXNnLlBheWxvYWQSPwoHcGF0dGVybhgCIAMoCzIuLkFra2EuUmVtb3RlLlNl", - "cmlhbGl6YXRpb24uUHJvdG8uTXNnLlNlbGVjdGlvbiKzAQoJU2VsZWN0aW9u", - "EkgKBHR5cGUYASABKA4yOi5Ba2thLlJlbW90ZS5TZXJpYWxpemF0aW9uLlBy", - "b3RvLk1zZy5TZWxlY3Rpb24uUGF0dGVyblR5cGUSDwoHbWF0Y2hlchgCIAEo", - "CSJLCgtQYXR0ZXJuVHlwZRINCglOT19QQVRFUk4QABIKCgZQQVJFTlQQARIO", - "CgpDSElMRF9OQU1FEAISEQoNQ0hJTERfUEFUVEVSThADIhwKDEFjdG9yUmVm", - "RGF0YRIMCgRwYXRoGAEgASgJIk8KC0FkZHJlc3NEYXRhEg4KBnN5c3RlbRgB", - "IAEoCRIQCghob3N0bmFtZRgCIAEoCRIMCgRwb3J0GAMgASgNEhAKCHByb3Rv", - "Y29sGAQgASgJIkkKB1BheWxvYWQSDwoHbWVzc2FnZRgBIAEoDBIUCgxzZXJp", - "YWxpemVySWQYAiABKAUSFwoPbWVzc2FnZU1hbmlmZXN0GAMgASgMIksKCElk", - "ZW50aWZ5Ej8KCW1lc3NhZ2VJZBgBIAEoCzIsLkFra2EuUmVtb3RlLlNlcmlh", - "bGl6YXRpb24uUHJvdG8uTXNnLlBheWxvYWQiYgoNQWN0b3JJZGVudGl0eRJD", - "Cg1jb3JyZWxhdGlvbklkGAEgASgLMiwuQWtrYS5SZW1vdGUuU2VyaWFsaXph", - "dGlvbi5Qcm90by5Nc2cuUGF5bG9hZBIMCgRwYXRoGAIgASgJIi0KHlJlbW90", - "ZVdhdGNoZXJIZWFydGJlYXRSZXNwb25zZRILCgN1aWQYASABKAQi4QIKDUV4", - "Y2VwdGlvbkRhdGESEAoIdHlwZU5hbWUYASABKAkSDwoHbWVzc2FnZRgCIAEo", - "CRISCgpzdGFja1RyYWNlGAMgASgJEg4KBnNvdXJjZRgEIAEoCRJKCg5pbm5l", - "ckV4Y2VwdGlvbhgFIAEoCzIyLkFra2EuUmVtb3RlLlNlcmlhbGl6YXRpb24u", - "UHJvdG8uTXNnLkV4Y2VwdGlvbkRhdGESWgoMY3VzdG9tRmllbGRzGAYgAygL", - "MkQuQWtrYS5SZW1vdGUuU2VyaWFsaXphdGlvbi5Qcm90by5Nc2cuRXhjZXB0", - "aW9uRGF0YS5DdXN0b21GaWVsZHNFbnRyeRphChFDdXN0b21GaWVsZHNFbnRy", - "eRILCgNrZXkYASABKAkSOwoFdmFsdWUYAiABKAsyLC5Ba2thLlJlbW90ZS5T", - "ZXJpYWxpemF0aW9uLlByb3RvLk1zZy5QYXlsb2FkOgI4ASJNCg1TdGF0dXNT", - "dWNjZXNzEjwKBnN0YXR1cxgBIAEoCzIsLkFra2EuUmVtb3RlLlNlcmlhbGl6", - "YXRpb24uUHJvdG8uTXNnLlBheWxvYWQijwEKDVN0YXR1c0ZhaWx1cmUSQQoF", - "Y2F1c2UYASABKAsyMi5Ba2thLlJlbW90ZS5TZXJpYWxpemF0aW9uLlByb3Rv", - "Lk1zZy5FeGNlcHRpb25EYXRhEjsKBXN0YXRlGAIgASgLMiwuQWtrYS5SZW1v", - "dGUuU2VyaWFsaXphdGlvbi5Qcm90by5Nc2cuUGF5bG9hZGIGcHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Akka.Remote.Serialization.Proto.Msg.SelectionEnvelope), global::Akka.Remote.Serialization.Proto.Msg.SelectionEnvelope.Parser, new[]{ "Payload", "Pattern" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Akka.Remote.Serialization.Proto.Msg.Selection), global::Akka.Remote.Serialization.Proto.Msg.Selection.Parser, new[]{ "Type", "Matcher" }, null, new[]{ typeof(global::Akka.Remote.Serialization.Proto.Msg.Selection.Types.PatternType) }, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Akka.Remote.Serialization.Proto.Msg.ActorRefData), global::Akka.Remote.Serialization.Proto.Msg.ActorRefData.Parser, new[]{ "Path" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Akka.Remote.Serialization.Proto.Msg.AddressData), global::Akka.Remote.Serialization.Proto.Msg.AddressData.Parser, new[]{ "System", "Hostname", "Port", "Protocol" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Akka.Remote.Serialization.Proto.Msg.Payload), global::Akka.Remote.Serialization.Proto.Msg.Payload.Parser, new[]{ "Message", "SerializerId", "MessageManifest" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Akka.Remote.Serialization.Proto.Msg.Identify), global::Akka.Remote.Serialization.Proto.Msg.Identify.Parser, new[]{ "MessageId" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Akka.Remote.Serialization.Proto.Msg.ActorIdentity), global::Akka.Remote.Serialization.Proto.Msg.ActorIdentity.Parser, new[]{ "CorrelationId", "Path" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Akka.Remote.Serialization.Proto.Msg.RemoteWatcherHeartbeatResponse), global::Akka.Remote.Serialization.Proto.Msg.RemoteWatcherHeartbeatResponse.Parser, new[]{ "Uid" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Akka.Remote.Serialization.Proto.Msg.ExceptionData), global::Akka.Remote.Serialization.Proto.Msg.ExceptionData.Parser, new[]{ "TypeName", "Message", "StackTrace", "Source", "InnerException", "CustomFields" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { null, }), - new pbr::GeneratedClrTypeInfo(typeof(global::Akka.Remote.Serialization.Proto.Msg.StatusSuccess), global::Akka.Remote.Serialization.Proto.Msg.StatusSuccess.Parser, new[]{ "Status" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Akka.Remote.Serialization.Proto.Msg.StatusFailure), global::Akka.Remote.Serialization.Proto.Msg.StatusFailure.Parser, new[]{ "Cause", "State" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - internal sealed partial class SelectionEnvelope : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SelectionEnvelope()); - 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::Akka.Remote.Serialization.Proto.Msg.ContainerFormatsReflection.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 SelectionEnvelope() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public SelectionEnvelope(SelectionEnvelope other) : this() { - payload_ = other.payload_ != null ? other.payload_.Clone() : null; - pattern_ = other.pattern_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public SelectionEnvelope Clone() { - return new SelectionEnvelope(this); - } - - /// Field number for the "payload" field. - public const int PayloadFieldNumber = 1; - private global::Akka.Remote.Serialization.Proto.Msg.Payload payload_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.Remote.Serialization.Proto.Msg.Payload Payload { - get { return payload_; } - set { - payload_ = value; - } - } - - /// Field number for the "pattern" field. - public const int PatternFieldNumber = 2; - private static readonly pb::FieldCodec _repeated_pattern_codec - = pb::FieldCodec.ForMessage(18, global::Akka.Remote.Serialization.Proto.Msg.Selection.Parser); - private readonly pbc::RepeatedField pattern_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField Pattern { - get { return pattern_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as SelectionEnvelope); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(SelectionEnvelope other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (!object.Equals(Payload, other.Payload)) return false; - if(!pattern_.Equals(other.pattern_)) 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 (payload_ != null) hash ^= Payload.GetHashCode(); - hash ^= pattern_.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 (payload_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Payload); - } - pattern_.WriteTo(output, _repeated_pattern_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 (payload_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Payload); - } - pattern_.WriteTo(ref output, _repeated_pattern_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 (payload_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Payload); - } - size += pattern_.CalculateSize(_repeated_pattern_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(SelectionEnvelope other) { - if (other == null) { - return; - } - if (other.payload_ != null) { - if (payload_ == null) { - Payload = new global::Akka.Remote.Serialization.Proto.Msg.Payload(); - } - Payload.MergeFrom(other.Payload); - } - pattern_.Add(other.pattern_); - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - if (payload_ == null) { - Payload = new global::Akka.Remote.Serialization.Proto.Msg.Payload(); - } - input.ReadMessage(Payload); - break; - } - case 18: { - pattern_.AddEntriesFrom(input, _repeated_pattern_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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - if (payload_ == null) { - Payload = new global::Akka.Remote.Serialization.Proto.Msg.Payload(); - } - input.ReadMessage(Payload); - break; - } - case 18: { - pattern_.AddEntriesFrom(ref input, _repeated_pattern_codec); - break; - } - } - } - } - #endif - - } - - internal sealed partial class Selection : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Selection()); - 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::Akka.Remote.Serialization.Proto.Msg.ContainerFormatsReflection.Descriptor.MessageTypes[1]; } - } - - [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 Selection() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Selection(Selection other) : this() { - type_ = other.type_; - matcher_ = other.matcher_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Selection Clone() { - return new Selection(this); - } - - /// Field number for the "type" field. - public const int TypeFieldNumber = 1; - private global::Akka.Remote.Serialization.Proto.Msg.Selection.Types.PatternType type_ = global::Akka.Remote.Serialization.Proto.Msg.Selection.Types.PatternType.NoPatern; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.Remote.Serialization.Proto.Msg.Selection.Types.PatternType Type { - get { return type_; } - set { - type_ = value; - } - } - - /// Field number for the "matcher" field. - public const int MatcherFieldNumber = 2; - private string matcher_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Matcher { - get { return matcher_; } - set { - matcher_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as Selection); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(Selection other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Type != other.Type) return false; - if (Matcher != other.Matcher) 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 (Type != global::Akka.Remote.Serialization.Proto.Msg.Selection.Types.PatternType.NoPatern) hash ^= Type.GetHashCode(); - if (Matcher.Length != 0) hash ^= Matcher.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 (Type != global::Akka.Remote.Serialization.Proto.Msg.Selection.Types.PatternType.NoPatern) { - output.WriteRawTag(8); - output.WriteEnum((int) Type); - } - if (Matcher.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Matcher); - } - 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 (Type != global::Akka.Remote.Serialization.Proto.Msg.Selection.Types.PatternType.NoPatern) { - output.WriteRawTag(8); - output.WriteEnum((int) Type); - } - if (Matcher.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Matcher); - } - 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 (Type != global::Akka.Remote.Serialization.Proto.Msg.Selection.Types.PatternType.NoPatern) { - size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Type); - } - if (Matcher.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Matcher); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(Selection other) { - if (other == null) { - return; - } - if (other.Type != global::Akka.Remote.Serialization.Proto.Msg.Selection.Types.PatternType.NoPatern) { - Type = other.Type; - } - if (other.Matcher.Length != 0) { - Matcher = other.Matcher; - } - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 8: { - Type = (global::Akka.Remote.Serialization.Proto.Msg.Selection.Types.PatternType) input.ReadEnum(); - break; - } - case 18: { - Matcher = input.ReadString(); - 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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 8: { - Type = (global::Akka.Remote.Serialization.Proto.Msg.Selection.Types.PatternType) input.ReadEnum(); - break; - } - case 18: { - Matcher = input.ReadString(); - break; - } - } - } - } - #endif - - #region Nested types - /// Container for nested types declared in the Selection message type. - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static partial class Types { - internal enum PatternType { - [pbr::OriginalName("NO_PATERN")] NoPatern = 0, - [pbr::OriginalName("PARENT")] Parent = 1, - [pbr::OriginalName("CHILD_NAME")] ChildName = 2, - [pbr::OriginalName("CHILD_PATTERN")] ChildPattern = 3, - } - - } - #endregion - - } - - /// - /// Defines a remote ActorRef that "remembers" and uses its original Actor instance on the original node. - /// - internal sealed partial class ActorRefData : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ActorRefData()); - 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::Akka.Remote.Serialization.Proto.Msg.ContainerFormatsReflection.Descriptor.MessageTypes[2]; } - } - - [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 ActorRefData() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ActorRefData(ActorRefData other) : this() { - path_ = other.path_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ActorRefData Clone() { - return new ActorRefData(this); - } - - /// Field number for the "path" field. - public const int PathFieldNumber = 1; - private string path_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Path { - get { return path_; } - set { - path_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ActorRefData); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ActorRefData other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Path != other.Path) 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 (Path.Length != 0) hash ^= Path.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 (Path.Length != 0) { - output.WriteRawTag(10); - output.WriteString(Path); - } - 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 (Path.Length != 0) { - output.WriteRawTag(10); - output.WriteString(Path); - } - 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 (Path.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Path); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ActorRefData other) { - if (other == null) { - return; - } - if (other.Path.Length != 0) { - Path = other.Path; - } - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - Path = input.ReadString(); - 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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - Path = input.ReadString(); - break; - } - } - } - } - #endif - - } - - /// - /// Defines a remote address. - /// - internal sealed partial class AddressData : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AddressData()); - 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::Akka.Remote.Serialization.Proto.Msg.ContainerFormatsReflection.Descriptor.MessageTypes[3]; } - } - - [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 AddressData() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public AddressData(AddressData other) : this() { - system_ = other.system_; - hostname_ = other.hostname_; - port_ = other.port_; - protocol_ = other.protocol_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public AddressData Clone() { - return new AddressData(this); - } - - /// Field number for the "system" field. - public const int SystemFieldNumber = 1; - private string system_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string System { - get { return system_; } - set { - system_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "hostname" field. - public const int HostnameFieldNumber = 2; - private string hostname_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Hostname { - get { return hostname_; } - set { - hostname_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "port" field. - public const int PortFieldNumber = 3; - private uint port_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public uint Port { - get { return port_; } - set { - port_ = value; - } - } - - /// Field number for the "protocol" field. - public const int ProtocolFieldNumber = 4; - private string protocol_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Protocol { - get { return protocol_; } - set { - protocol_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as AddressData); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(AddressData other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (System != other.System) return false; - if (Hostname != other.Hostname) return false; - if (Port != other.Port) return false; - if (Protocol != other.Protocol) 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 (System.Length != 0) hash ^= System.GetHashCode(); - if (Hostname.Length != 0) hash ^= Hostname.GetHashCode(); - if (Port != 0) hash ^= Port.GetHashCode(); - if (Protocol.Length != 0) hash ^= Protocol.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 (System.Length != 0) { - output.WriteRawTag(10); - output.WriteString(System); - } - if (Hostname.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Hostname); - } - if (Port != 0) { - output.WriteRawTag(24); - output.WriteUInt32(Port); - } - if (Protocol.Length != 0) { - output.WriteRawTag(34); - output.WriteString(Protocol); - } - 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 (System.Length != 0) { - output.WriteRawTag(10); - output.WriteString(System); - } - if (Hostname.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Hostname); - } - if (Port != 0) { - output.WriteRawTag(24); - output.WriteUInt32(Port); - } - if (Protocol.Length != 0) { - output.WriteRawTag(34); - output.WriteString(Protocol); - } - 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 (System.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(System); - } - if (Hostname.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Hostname); - } - if (Port != 0) { - size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Port); - } - if (Protocol.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Protocol); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(AddressData other) { - if (other == null) { - return; - } - if (other.System.Length != 0) { - System = other.System; - } - if (other.Hostname.Length != 0) { - Hostname = other.Hostname; - } - if (other.Port != 0) { - Port = other.Port; - } - if (other.Protocol.Length != 0) { - Protocol = other.Protocol; - } - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - System = input.ReadString(); - break; - } - case 18: { - Hostname = input.ReadString(); - break; - } - case 24: { - Port = input.ReadUInt32(); - break; - } - case 34: { - Protocol = input.ReadString(); - 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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - System = input.ReadString(); - break; - } - case 18: { - Hostname = input.ReadString(); - break; - } - case 24: { - Port = input.ReadUInt32(); - break; - } - case 34: { - Protocol = input.ReadString(); - break; - } - } - } - } - #endif - - } - - /// - /// Defines a payload. - /// - internal sealed partial class Payload : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Payload()); - 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::Akka.Remote.Serialization.Proto.Msg.ContainerFormatsReflection.Descriptor.MessageTypes[4]; } - } - - [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 Payload() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Payload(Payload other) : this() { - message_ = other.message_; - serializerId_ = other.serializerId_; - messageManifest_ = other.messageManifest_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Payload Clone() { - return new Payload(this); - } - - /// Field number for the "message" field. - public const int MessageFieldNumber = 1; - private pb::ByteString message_ = pb::ByteString.Empty; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pb::ByteString Message { - get { return message_; } - set { - message_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "serializerId" field. - public const int SerializerIdFieldNumber = 2; - private int serializerId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int SerializerId { - get { return serializerId_; } - set { - serializerId_ = value; - } - } - - /// Field number for the "messageManifest" field. - public const int MessageManifestFieldNumber = 3; - private pb::ByteString messageManifest_ = pb::ByteString.Empty; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pb::ByteString MessageManifest { - get { return messageManifest_; } - set { - messageManifest_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as Payload); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(Payload other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Message != other.Message) return false; - if (SerializerId != other.SerializerId) return false; - if (MessageManifest != other.MessageManifest) 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 (Message.Length != 0) hash ^= Message.GetHashCode(); - if (SerializerId != 0) hash ^= SerializerId.GetHashCode(); - if (MessageManifest.Length != 0) hash ^= MessageManifest.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 (Message.Length != 0) { - output.WriteRawTag(10); - output.WriteBytes(Message); - } - if (SerializerId != 0) { - output.WriteRawTag(16); - output.WriteInt32(SerializerId); - } - if (MessageManifest.Length != 0) { - output.WriteRawTag(26); - output.WriteBytes(MessageManifest); - } - 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 (Message.Length != 0) { - output.WriteRawTag(10); - output.WriteBytes(Message); - } - if (SerializerId != 0) { - output.WriteRawTag(16); - output.WriteInt32(SerializerId); - } - if (MessageManifest.Length != 0) { - output.WriteRawTag(26); - output.WriteBytes(MessageManifest); - } - 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 (Message.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeBytesSize(Message); - } - if (SerializerId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(SerializerId); - } - if (MessageManifest.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeBytesSize(MessageManifest); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(Payload other) { - if (other == null) { - return; - } - if (other.Message.Length != 0) { - Message = other.Message; - } - if (other.SerializerId != 0) { - SerializerId = other.SerializerId; - } - if (other.MessageManifest.Length != 0) { - MessageManifest = other.MessageManifest; - } - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - Message = input.ReadBytes(); - break; - } - case 16: { - SerializerId = input.ReadInt32(); - break; - } - case 26: { - MessageManifest = input.ReadBytes(); - 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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - Message = input.ReadBytes(); - break; - } - case 16: { - SerializerId = input.ReadInt32(); - break; - } - case 26: { - MessageManifest = input.ReadBytes(); - break; - } - } - } - } - #endif - - } - - internal sealed partial class Identify : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Identify()); - 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::Akka.Remote.Serialization.Proto.Msg.ContainerFormatsReflection.Descriptor.MessageTypes[5]; } - } - - [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 Identify() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Identify(Identify other) : this() { - messageId_ = other.messageId_ != null ? other.messageId_.Clone() : null; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Identify Clone() { - return new Identify(this); - } - - /// Field number for the "messageId" field. - public const int MessageIdFieldNumber = 1; - private global::Akka.Remote.Serialization.Proto.Msg.Payload messageId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.Remote.Serialization.Proto.Msg.Payload MessageId { - get { return messageId_; } - set { - messageId_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as Identify); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(Identify other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (!object.Equals(MessageId, other.MessageId)) 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 (messageId_ != null) hash ^= MessageId.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 (messageId_ != null) { - output.WriteRawTag(10); - output.WriteMessage(MessageId); - } - 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 (messageId_ != null) { - output.WriteRawTag(10); - output.WriteMessage(MessageId); - } - 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 (messageId_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(MessageId); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(Identify other) { - if (other == null) { - return; - } - if (other.messageId_ != null) { - if (messageId_ == null) { - MessageId = new global::Akka.Remote.Serialization.Proto.Msg.Payload(); - } - MessageId.MergeFrom(other.MessageId); - } - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - if (messageId_ == null) { - MessageId = new global::Akka.Remote.Serialization.Proto.Msg.Payload(); - } - input.ReadMessage(MessageId); - 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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - if (messageId_ == null) { - MessageId = new global::Akka.Remote.Serialization.Proto.Msg.Payload(); - } - input.ReadMessage(MessageId); - break; - } - } - } - } - #endif - - } - - internal sealed partial class ActorIdentity : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ActorIdentity()); - 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::Akka.Remote.Serialization.Proto.Msg.ContainerFormatsReflection.Descriptor.MessageTypes[6]; } - } - - [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 ActorIdentity() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ActorIdentity(ActorIdentity other) : this() { - correlationId_ = other.correlationId_ != null ? other.correlationId_.Clone() : null; - path_ = other.path_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ActorIdentity Clone() { - return new ActorIdentity(this); - } - - /// Field number for the "correlationId" field. - public const int CorrelationIdFieldNumber = 1; - private global::Akka.Remote.Serialization.Proto.Msg.Payload correlationId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.Remote.Serialization.Proto.Msg.Payload CorrelationId { - get { return correlationId_; } - set { - correlationId_ = value; - } - } - - /// Field number for the "path" field. - public const int PathFieldNumber = 2; - private string path_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Path { - get { return path_; } - set { - path_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ActorIdentity); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ActorIdentity other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (!object.Equals(CorrelationId, other.CorrelationId)) return false; - if (Path != other.Path) 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 (correlationId_ != null) hash ^= CorrelationId.GetHashCode(); - if (Path.Length != 0) hash ^= Path.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 (correlationId_ != null) { - output.WriteRawTag(10); - output.WriteMessage(CorrelationId); - } - if (Path.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Path); - } - 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 (correlationId_ != null) { - output.WriteRawTag(10); - output.WriteMessage(CorrelationId); - } - if (Path.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Path); - } - 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 (correlationId_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(CorrelationId); - } - if (Path.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Path); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ActorIdentity other) { - if (other == null) { - return; - } - if (other.correlationId_ != null) { - if (correlationId_ == null) { - CorrelationId = new global::Akka.Remote.Serialization.Proto.Msg.Payload(); - } - CorrelationId.MergeFrom(other.CorrelationId); - } - if (other.Path.Length != 0) { - Path = other.Path; - } - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - if (correlationId_ == null) { - CorrelationId = new global::Akka.Remote.Serialization.Proto.Msg.Payload(); - } - input.ReadMessage(CorrelationId); - break; - } - case 18: { - Path = input.ReadString(); - 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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - if (correlationId_ == null) { - CorrelationId = new global::Akka.Remote.Serialization.Proto.Msg.Payload(); - } - input.ReadMessage(CorrelationId); - break; - } - case 18: { - Path = input.ReadString(); - break; - } - } - } - } - #endif - - } - - internal sealed partial class RemoteWatcherHeartbeatResponse : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RemoteWatcherHeartbeatResponse()); - 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::Akka.Remote.Serialization.Proto.Msg.ContainerFormatsReflection.Descriptor.MessageTypes[7]; } - } - - [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 RemoteWatcherHeartbeatResponse() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public RemoteWatcherHeartbeatResponse(RemoteWatcherHeartbeatResponse other) : this() { - uid_ = other.uid_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public RemoteWatcherHeartbeatResponse Clone() { - return new RemoteWatcherHeartbeatResponse(this); - } - - /// Field number for the "uid" field. - public const int UidFieldNumber = 1; - private ulong uid_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ulong Uid { - get { return uid_; } - set { - uid_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as RemoteWatcherHeartbeatResponse); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(RemoteWatcherHeartbeatResponse other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Uid != other.Uid) 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 (Uid != 0UL) hash ^= Uid.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 (Uid != 0UL) { - output.WriteRawTag(8); - output.WriteUInt64(Uid); - } - 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 (Uid != 0UL) { - output.WriteRawTag(8); - output.WriteUInt64(Uid); - } - 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 (Uid != 0UL) { - size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Uid); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(RemoteWatcherHeartbeatResponse other) { - if (other == null) { - return; - } - if (other.Uid != 0UL) { - Uid = other.Uid; - } - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 8: { - Uid = input.ReadUInt64(); - 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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 8: { - Uid = input.ReadUInt64(); - break; - } - } - } - } - #endif - - } - - internal sealed partial class ExceptionData : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ExceptionData()); - 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::Akka.Remote.Serialization.Proto.Msg.ContainerFormatsReflection.Descriptor.MessageTypes[8]; } - } - - [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 ExceptionData() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ExceptionData(ExceptionData other) : this() { - typeName_ = other.typeName_; - message_ = other.message_; - stackTrace_ = other.stackTrace_; - source_ = other.source_; - innerException_ = other.innerException_ != null ? other.innerException_.Clone() : null; - customFields_ = other.customFields_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ExceptionData Clone() { - return new ExceptionData(this); - } - - /// Field number for the "typeName" field. - public const int TypeNameFieldNumber = 1; - private string typeName_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string TypeName { - get { return typeName_; } - set { - typeName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "message" field. - public const int MessageFieldNumber = 2; - private string message_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Message { - get { return message_; } - set { - message_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "stackTrace" field. - public const int StackTraceFieldNumber = 3; - private string stackTrace_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string StackTrace { - get { return stackTrace_; } - set { - stackTrace_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "source" field. - public const int SourceFieldNumber = 4; - private string source_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Source { - get { return source_; } - set { - source_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "innerException" field. - public const int InnerExceptionFieldNumber = 5; - private global::Akka.Remote.Serialization.Proto.Msg.ExceptionData innerException_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.Remote.Serialization.Proto.Msg.ExceptionData InnerException { - get { return innerException_; } - set { - innerException_ = value; - } - } - - /// Field number for the "customFields" field. - public const int CustomFieldsFieldNumber = 6; - private static readonly pbc::MapField.Codec _map_customFields_codec - = new pbc::MapField.Codec(pb::FieldCodec.ForString(10, ""), pb::FieldCodec.ForMessage(18, global::Akka.Remote.Serialization.Proto.Msg.Payload.Parser), 50); - private readonly pbc::MapField customFields_ = new pbc::MapField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::MapField CustomFields { - get { return customFields_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ExceptionData); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ExceptionData other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (TypeName != other.TypeName) return false; - if (Message != other.Message) return false; - if (StackTrace != other.StackTrace) return false; - if (Source != other.Source) return false; - if (!object.Equals(InnerException, other.InnerException)) return false; - if (!CustomFields.Equals(other.CustomFields)) 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 (TypeName.Length != 0) hash ^= TypeName.GetHashCode(); - if (Message.Length != 0) hash ^= Message.GetHashCode(); - if (StackTrace.Length != 0) hash ^= StackTrace.GetHashCode(); - if (Source.Length != 0) hash ^= Source.GetHashCode(); - if (innerException_ != null) hash ^= InnerException.GetHashCode(); - hash ^= CustomFields.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 (TypeName.Length != 0) { - output.WriteRawTag(10); - output.WriteString(TypeName); - } - if (Message.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Message); - } - if (StackTrace.Length != 0) { - output.WriteRawTag(26); - output.WriteString(StackTrace); - } - if (Source.Length != 0) { - output.WriteRawTag(34); - output.WriteString(Source); - } - if (innerException_ != null) { - output.WriteRawTag(42); - output.WriteMessage(InnerException); - } - customFields_.WriteTo(output, _map_customFields_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 (TypeName.Length != 0) { - output.WriteRawTag(10); - output.WriteString(TypeName); - } - if (Message.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Message); - } - if (StackTrace.Length != 0) { - output.WriteRawTag(26); - output.WriteString(StackTrace); - } - if (Source.Length != 0) { - output.WriteRawTag(34); - output.WriteString(Source); - } - if (innerException_ != null) { - output.WriteRawTag(42); - output.WriteMessage(InnerException); - } - customFields_.WriteTo(ref output, _map_customFields_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 (TypeName.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(TypeName); - } - if (Message.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Message); - } - if (StackTrace.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(StackTrace); - } - if (Source.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Source); - } - if (innerException_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(InnerException); - } - size += customFields_.CalculateSize(_map_customFields_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ExceptionData other) { - if (other == null) { - return; - } - if (other.TypeName.Length != 0) { - TypeName = other.TypeName; - } - if (other.Message.Length != 0) { - Message = other.Message; - } - if (other.StackTrace.Length != 0) { - StackTrace = other.StackTrace; - } - if (other.Source.Length != 0) { - Source = other.Source; - } - if (other.innerException_ != null) { - if (innerException_ == null) { - InnerException = new global::Akka.Remote.Serialization.Proto.Msg.ExceptionData(); - } - InnerException.MergeFrom(other.InnerException); - } - customFields_.Add(other.customFields_); - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - TypeName = input.ReadString(); - break; - } - case 18: { - Message = input.ReadString(); - break; - } - case 26: { - StackTrace = input.ReadString(); - break; - } - case 34: { - Source = input.ReadString(); - break; - } - case 42: { - if (innerException_ == null) { - InnerException = new global::Akka.Remote.Serialization.Proto.Msg.ExceptionData(); - } - input.ReadMessage(InnerException); - break; - } - case 50: { - customFields_.AddEntriesFrom(input, _map_customFields_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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - TypeName = input.ReadString(); - break; - } - case 18: { - Message = input.ReadString(); - break; - } - case 26: { - StackTrace = input.ReadString(); - break; - } - case 34: { - Source = input.ReadString(); - break; - } - case 42: { - if (innerException_ == null) { - InnerException = new global::Akka.Remote.Serialization.Proto.Msg.ExceptionData(); - } - input.ReadMessage(InnerException); - break; - } - case 50: { - customFields_.AddEntriesFrom(ref input, _map_customFields_codec); - break; - } - } - } - } - #endif - - } - - internal sealed partial class StatusSuccess : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new StatusSuccess()); - 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::Akka.Remote.Serialization.Proto.Msg.ContainerFormatsReflection.Descriptor.MessageTypes[9]; } - } - - [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 StatusSuccess() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public StatusSuccess(StatusSuccess other) : this() { - status_ = other.status_ != null ? other.status_.Clone() : null; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public StatusSuccess Clone() { - return new StatusSuccess(this); - } - - /// Field number for the "status" field. - public const int StatusFieldNumber = 1; - private global::Akka.Remote.Serialization.Proto.Msg.Payload status_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.Remote.Serialization.Proto.Msg.Payload Status { - get { return status_; } - set { - status_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as StatusSuccess); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(StatusSuccess other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (!object.Equals(Status, other.Status)) 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 (status_ != null) hash ^= Status.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 (status_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Status); - } - 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 (status_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Status); - } - 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 (status_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Status); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(StatusSuccess other) { - if (other == null) { - return; - } - if (other.status_ != null) { - if (status_ == null) { - Status = new global::Akka.Remote.Serialization.Proto.Msg.Payload(); - } - Status.MergeFrom(other.Status); - } - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - if (status_ == null) { - Status = new global::Akka.Remote.Serialization.Proto.Msg.Payload(); - } - input.ReadMessage(Status); - 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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - if (status_ == null) { - Status = new global::Akka.Remote.Serialization.Proto.Msg.Payload(); - } - input.ReadMessage(Status); - break; - } - } - } - } - #endif - - } - - internal sealed partial class StatusFailure : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new StatusFailure()); - 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::Akka.Remote.Serialization.Proto.Msg.ContainerFormatsReflection.Descriptor.MessageTypes[10]; } - } - - [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 StatusFailure() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public StatusFailure(StatusFailure other) : this() { - cause_ = other.cause_ != null ? other.cause_.Clone() : null; - state_ = other.state_ != null ? other.state_.Clone() : null; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public StatusFailure Clone() { - return new StatusFailure(this); - } - - /// Field number for the "cause" field. - public const int CauseFieldNumber = 1; - private global::Akka.Remote.Serialization.Proto.Msg.ExceptionData cause_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.Remote.Serialization.Proto.Msg.ExceptionData Cause { - get { return cause_; } - set { - cause_ = value; - } - } - - /// Field number for the "state" field. - public const int StateFieldNumber = 2; - private global::Akka.Remote.Serialization.Proto.Msg.Payload state_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.Remote.Serialization.Proto.Msg.Payload State { - get { return state_; } - set { - state_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as StatusFailure); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(StatusFailure other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (!object.Equals(Cause, other.Cause)) return false; - if (!object.Equals(State, other.State)) 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 (cause_ != null) hash ^= Cause.GetHashCode(); - if (state_ != null) hash ^= State.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 (cause_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Cause); - } - if (state_ != null) { - output.WriteRawTag(18); - output.WriteMessage(State); - } - 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 (cause_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Cause); - } - if (state_ != null) { - output.WriteRawTag(18); - output.WriteMessage(State); - } - 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 (cause_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Cause); - } - if (state_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(State); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(StatusFailure other) { - if (other == null) { - return; - } - if (other.cause_ != null) { - if (cause_ == null) { - Cause = new global::Akka.Remote.Serialization.Proto.Msg.ExceptionData(); - } - Cause.MergeFrom(other.Cause); - } - if (other.state_ != null) { - if (state_ == null) { - State = new global::Akka.Remote.Serialization.Proto.Msg.Payload(); - } - State.MergeFrom(other.State); - } - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - if (cause_ == null) { - Cause = new global::Akka.Remote.Serialization.Proto.Msg.ExceptionData(); - } - input.ReadMessage(Cause); - break; - } - case 18: { - if (state_ == null) { - State = new global::Akka.Remote.Serialization.Proto.Msg.Payload(); - } - input.ReadMessage(State); - 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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - if (cause_ == null) { - Cause = new global::Akka.Remote.Serialization.Proto.Msg.ExceptionData(); - } - input.ReadMessage(Cause); - break; - } - case 18: { - if (state_ == null) { - State = new global::Akka.Remote.Serialization.Proto.Msg.Payload(); - } - input.ReadMessage(State); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/src/core/Akka.Remote/Serialization/Proto/SystemMessageFormats.g.cs b/src/core/Akka.Remote/Serialization/Proto/SystemMessageFormats.g.cs deleted file mode 100644 index 22c589dc1a9..00000000000 --- a/src/core/Akka.Remote/Serialization/Proto/SystemMessageFormats.g.cs +++ /dev/null @@ -1,1701 +0,0 @@ -//----------------------------------------------------------------------- -// -// Copyright (C) 2009-2023 Lightbend Inc. -// Copyright (C) 2013-2023 .NET Foundation -// -//----------------------------------------------------------------------- - -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: SystemMessageFormats.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 Akka.Remote.Serialization.Proto.Msg { - - /// Holder for reflection information generated from SystemMessageFormats.proto - internal static partial class SystemMessageFormatsReflection { - - #region Descriptor - /// File descriptor for SystemMessageFormats.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static SystemMessageFormatsReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChpTeXN0ZW1NZXNzYWdlRm9ybWF0cy5wcm90bxIjQWtrYS5SZW1vdGUuU2Vy", - "aWFsaXphdGlvbi5Qcm90by5Nc2caFkNvbnRhaW5lckZvcm1hdHMucHJvdG8i", - "TwoKQ3JlYXRlRGF0YRJBCgVjYXVzZRgBIAEoCzIyLkFra2EuUmVtb3RlLlNl", - "cmlhbGl6YXRpb24uUHJvdG8uTXNnLkV4Y2VwdGlvbkRhdGEiUQoMUmVjcmVh", - "dGVEYXRhEkEKBWNhdXNlGAEgASgLMjIuQWtrYS5SZW1vdGUuU2VyaWFsaXph", - "dGlvbi5Qcm90by5Nc2cuRXhjZXB0aW9uRGF0YSJPCgpSZXN1bWVEYXRhEkEK", - "BWNhdXNlGAEgASgLMjIuQWtrYS5SZW1vdGUuU2VyaWFsaXphdGlvbi5Qcm90", - "by5Nc2cuRXhjZXB0aW9uRGF0YSJgCg1TdXBlcnZpc2VEYXRhEkAKBWNoaWxk", - "GAEgASgLMjEuQWtrYS5SZW1vdGUuU2VyaWFsaXphdGlvbi5Qcm90by5Nc2cu", - "QWN0b3JSZWZEYXRhEg0KBWFzeW5jGAIgASgIIpMBCglXYXRjaERhdGESQgoH", - "d2F0Y2hlZRgBIAEoCzIxLkFra2EuUmVtb3RlLlNlcmlhbGl6YXRpb24uUHJv", - "dG8uTXNnLkFjdG9yUmVmRGF0YRJCCgd3YXRjaGVyGAIgASgLMjEuQWtrYS5S", - "ZW1vdGUuU2VyaWFsaXphdGlvbi5Qcm90by5Nc2cuQWN0b3JSZWZEYXRhIp4B", - "CgpGYWlsZWREYXRhEkAKBWNoaWxkGAEgASgLMjEuQWtrYS5SZW1vdGUuU2Vy", - "aWFsaXphdGlvbi5Qcm90by5Nc2cuQWN0b3JSZWZEYXRhEkEKBWNhdXNlGAIg", - "ASgLMjIuQWtrYS5SZW1vdGUuU2VyaWFsaXphdGlvbi5Qcm90by5Nc2cuRXhj", - "ZXB0aW9uRGF0YRILCgN1aWQYAyABKAQilQEKGkRlYXRoV2F0Y2hOb3RpZmlj", - "YXRpb25EYXRhEkAKBWFjdG9yGAEgASgLMjEuQWtrYS5SZW1vdGUuU2VyaWFs", - "aXphdGlvbi5Qcm90by5Nc2cuQWN0b3JSZWZEYXRhEhoKEmV4aXN0ZW5jZUNv", - "bmZpcm1lZBgCIAEoCBIZChFhZGRyZXNzVGVybWluYXRlZBgDIAEoCGIGcHJv", - "dG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Akka.Remote.Serialization.Proto.Msg.ContainerFormatsReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Akka.Remote.Serialization.Proto.Msg.CreateData), global::Akka.Remote.Serialization.Proto.Msg.CreateData.Parser, new[]{ "Cause" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Akka.Remote.Serialization.Proto.Msg.RecreateData), global::Akka.Remote.Serialization.Proto.Msg.RecreateData.Parser, new[]{ "Cause" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Akka.Remote.Serialization.Proto.Msg.ResumeData), global::Akka.Remote.Serialization.Proto.Msg.ResumeData.Parser, new[]{ "Cause" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Akka.Remote.Serialization.Proto.Msg.SuperviseData), global::Akka.Remote.Serialization.Proto.Msg.SuperviseData.Parser, new[]{ "Child", "Async" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Akka.Remote.Serialization.Proto.Msg.WatchData), global::Akka.Remote.Serialization.Proto.Msg.WatchData.Parser, new[]{ "Watchee", "Watcher" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Akka.Remote.Serialization.Proto.Msg.FailedData), global::Akka.Remote.Serialization.Proto.Msg.FailedData.Parser, new[]{ "Child", "Cause", "Uid" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Akka.Remote.Serialization.Proto.Msg.DeathWatchNotificationData), global::Akka.Remote.Serialization.Proto.Msg.DeathWatchNotificationData.Parser, new[]{ "Actor", "ExistenceConfirmed", "AddressTerminated" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - internal sealed partial class CreateData : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CreateData()); - 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::Akka.Remote.Serialization.Proto.Msg.SystemMessageFormatsReflection.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 CreateData() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public CreateData(CreateData other) : this() { - cause_ = other.cause_ != null ? other.cause_.Clone() : null; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public CreateData Clone() { - return new CreateData(this); - } - - /// Field number for the "cause" field. - public const int CauseFieldNumber = 1; - private global::Akka.Remote.Serialization.Proto.Msg.ExceptionData cause_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.Remote.Serialization.Proto.Msg.ExceptionData Cause { - get { return cause_; } - set { - cause_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as CreateData); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(CreateData other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (!object.Equals(Cause, other.Cause)) 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 (cause_ != null) hash ^= Cause.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 (cause_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Cause); - } - 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 (cause_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Cause); - } - 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 (cause_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Cause); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(CreateData other) { - if (other == null) { - return; - } - if (other.cause_ != null) { - if (cause_ == null) { - Cause = new global::Akka.Remote.Serialization.Proto.Msg.ExceptionData(); - } - Cause.MergeFrom(other.Cause); - } - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - if (cause_ == null) { - Cause = new global::Akka.Remote.Serialization.Proto.Msg.ExceptionData(); - } - input.ReadMessage(Cause); - 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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - if (cause_ == null) { - Cause = new global::Akka.Remote.Serialization.Proto.Msg.ExceptionData(); - } - input.ReadMessage(Cause); - break; - } - } - } - } - #endif - - } - - internal sealed partial class RecreateData : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RecreateData()); - 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::Akka.Remote.Serialization.Proto.Msg.SystemMessageFormatsReflection.Descriptor.MessageTypes[1]; } - } - - [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 RecreateData() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public RecreateData(RecreateData other) : this() { - cause_ = other.cause_ != null ? other.cause_.Clone() : null; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public RecreateData Clone() { - return new RecreateData(this); - } - - /// Field number for the "cause" field. - public const int CauseFieldNumber = 1; - private global::Akka.Remote.Serialization.Proto.Msg.ExceptionData cause_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.Remote.Serialization.Proto.Msg.ExceptionData Cause { - get { return cause_; } - set { - cause_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as RecreateData); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(RecreateData other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (!object.Equals(Cause, other.Cause)) 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 (cause_ != null) hash ^= Cause.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 (cause_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Cause); - } - 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 (cause_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Cause); - } - 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 (cause_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Cause); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(RecreateData other) { - if (other == null) { - return; - } - if (other.cause_ != null) { - if (cause_ == null) { - Cause = new global::Akka.Remote.Serialization.Proto.Msg.ExceptionData(); - } - Cause.MergeFrom(other.Cause); - } - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - if (cause_ == null) { - Cause = new global::Akka.Remote.Serialization.Proto.Msg.ExceptionData(); - } - input.ReadMessage(Cause); - 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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - if (cause_ == null) { - Cause = new global::Akka.Remote.Serialization.Proto.Msg.ExceptionData(); - } - input.ReadMessage(Cause); - break; - } - } - } - } - #endif - - } - - internal sealed partial class ResumeData : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ResumeData()); - 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::Akka.Remote.Serialization.Proto.Msg.SystemMessageFormatsReflection.Descriptor.MessageTypes[2]; } - } - - [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 ResumeData() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ResumeData(ResumeData other) : this() { - cause_ = other.cause_ != null ? other.cause_.Clone() : null; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ResumeData Clone() { - return new ResumeData(this); - } - - /// Field number for the "cause" field. - public const int CauseFieldNumber = 1; - private global::Akka.Remote.Serialization.Proto.Msg.ExceptionData cause_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.Remote.Serialization.Proto.Msg.ExceptionData Cause { - get { return cause_; } - set { - cause_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ResumeData); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ResumeData other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (!object.Equals(Cause, other.Cause)) 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 (cause_ != null) hash ^= Cause.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 (cause_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Cause); - } - 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 (cause_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Cause); - } - 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 (cause_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Cause); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ResumeData other) { - if (other == null) { - return; - } - if (other.cause_ != null) { - if (cause_ == null) { - Cause = new global::Akka.Remote.Serialization.Proto.Msg.ExceptionData(); - } - Cause.MergeFrom(other.Cause); - } - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - if (cause_ == null) { - Cause = new global::Akka.Remote.Serialization.Proto.Msg.ExceptionData(); - } - input.ReadMessage(Cause); - 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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - if (cause_ == null) { - Cause = new global::Akka.Remote.Serialization.Proto.Msg.ExceptionData(); - } - input.ReadMessage(Cause); - break; - } - } - } - } - #endif - - } - - internal sealed partial class SuperviseData : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SuperviseData()); - 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::Akka.Remote.Serialization.Proto.Msg.SystemMessageFormatsReflection.Descriptor.MessageTypes[3]; } - } - - [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 SuperviseData() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public SuperviseData(SuperviseData other) : this() { - child_ = other.child_ != null ? other.child_.Clone() : null; - async_ = other.async_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public SuperviseData Clone() { - return new SuperviseData(this); - } - - /// Field number for the "child" field. - public const int ChildFieldNumber = 1; - private global::Akka.Remote.Serialization.Proto.Msg.ActorRefData child_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.Remote.Serialization.Proto.Msg.ActorRefData Child { - get { return child_; } - set { - child_ = value; - } - } - - /// Field number for the "async" field. - public const int AsyncFieldNumber = 2; - private bool async_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Async { - get { return async_; } - set { - async_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as SuperviseData); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(SuperviseData other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (!object.Equals(Child, other.Child)) return false; - if (Async != other.Async) 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 (child_ != null) hash ^= Child.GetHashCode(); - if (Async != false) hash ^= Async.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 (child_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Child); - } - if (Async != false) { - output.WriteRawTag(16); - output.WriteBool(Async); - } - 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 (child_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Child); - } - if (Async != false) { - output.WriteRawTag(16); - output.WriteBool(Async); - } - 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 (child_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Child); - } - if (Async != false) { - size += 1 + 1; - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(SuperviseData other) { - if (other == null) { - return; - } - if (other.child_ != null) { - if (child_ == null) { - Child = new global::Akka.Remote.Serialization.Proto.Msg.ActorRefData(); - } - Child.MergeFrom(other.Child); - } - if (other.Async != false) { - Async = other.Async; - } - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - if (child_ == null) { - Child = new global::Akka.Remote.Serialization.Proto.Msg.ActorRefData(); - } - input.ReadMessage(Child); - break; - } - case 16: { - Async = input.ReadBool(); - 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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - if (child_ == null) { - Child = new global::Akka.Remote.Serialization.Proto.Msg.ActorRefData(); - } - input.ReadMessage(Child); - break; - } - case 16: { - Async = input.ReadBool(); - break; - } - } - } - } - #endif - - } - - internal sealed partial class WatchData : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new WatchData()); - 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::Akka.Remote.Serialization.Proto.Msg.SystemMessageFormatsReflection.Descriptor.MessageTypes[4]; } - } - - [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 WatchData() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public WatchData(WatchData other) : this() { - watchee_ = other.watchee_ != null ? other.watchee_.Clone() : null; - watcher_ = other.watcher_ != null ? other.watcher_.Clone() : null; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public WatchData Clone() { - return new WatchData(this); - } - - /// Field number for the "watchee" field. - public const int WatcheeFieldNumber = 1; - private global::Akka.Remote.Serialization.Proto.Msg.ActorRefData watchee_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.Remote.Serialization.Proto.Msg.ActorRefData Watchee { - get { return watchee_; } - set { - watchee_ = value; - } - } - - /// Field number for the "watcher" field. - public const int WatcherFieldNumber = 2; - private global::Akka.Remote.Serialization.Proto.Msg.ActorRefData watcher_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.Remote.Serialization.Proto.Msg.ActorRefData Watcher { - get { return watcher_; } - set { - watcher_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as WatchData); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(WatchData other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (!object.Equals(Watchee, other.Watchee)) return false; - if (!object.Equals(Watcher, other.Watcher)) 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 (watchee_ != null) hash ^= Watchee.GetHashCode(); - if (watcher_ != null) hash ^= Watcher.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 (watchee_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Watchee); - } - if (watcher_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Watcher); - } - 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 (watchee_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Watchee); - } - if (watcher_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Watcher); - } - 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 (watchee_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Watchee); - } - if (watcher_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Watcher); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(WatchData other) { - if (other == null) { - return; - } - if (other.watchee_ != null) { - if (watchee_ == null) { - Watchee = new global::Akka.Remote.Serialization.Proto.Msg.ActorRefData(); - } - Watchee.MergeFrom(other.Watchee); - } - if (other.watcher_ != null) { - if (watcher_ == null) { - Watcher = new global::Akka.Remote.Serialization.Proto.Msg.ActorRefData(); - } - Watcher.MergeFrom(other.Watcher); - } - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - if (watchee_ == null) { - Watchee = new global::Akka.Remote.Serialization.Proto.Msg.ActorRefData(); - } - input.ReadMessage(Watchee); - break; - } - case 18: { - if (watcher_ == null) { - Watcher = new global::Akka.Remote.Serialization.Proto.Msg.ActorRefData(); - } - input.ReadMessage(Watcher); - 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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - if (watchee_ == null) { - Watchee = new global::Akka.Remote.Serialization.Proto.Msg.ActorRefData(); - } - input.ReadMessage(Watchee); - break; - } - case 18: { - if (watcher_ == null) { - Watcher = new global::Akka.Remote.Serialization.Proto.Msg.ActorRefData(); - } - input.ReadMessage(Watcher); - break; - } - } - } - } - #endif - - } - - internal sealed partial class FailedData : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FailedData()); - 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::Akka.Remote.Serialization.Proto.Msg.SystemMessageFormatsReflection.Descriptor.MessageTypes[5]; } - } - - [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 FailedData() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public FailedData(FailedData other) : this() { - child_ = other.child_ != null ? other.child_.Clone() : null; - cause_ = other.cause_ != null ? other.cause_.Clone() : null; - uid_ = other.uid_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public FailedData Clone() { - return new FailedData(this); - } - - /// Field number for the "child" field. - public const int ChildFieldNumber = 1; - private global::Akka.Remote.Serialization.Proto.Msg.ActorRefData child_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.Remote.Serialization.Proto.Msg.ActorRefData Child { - get { return child_; } - set { - child_ = value; - } - } - - /// Field number for the "cause" field. - public const int CauseFieldNumber = 2; - private global::Akka.Remote.Serialization.Proto.Msg.ExceptionData cause_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.Remote.Serialization.Proto.Msg.ExceptionData Cause { - get { return cause_; } - set { - cause_ = value; - } - } - - /// Field number for the "uid" field. - public const int UidFieldNumber = 3; - private ulong uid_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ulong Uid { - get { return uid_; } - set { - uid_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as FailedData); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(FailedData other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (!object.Equals(Child, other.Child)) return false; - if (!object.Equals(Cause, other.Cause)) return false; - if (Uid != other.Uid) 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 (child_ != null) hash ^= Child.GetHashCode(); - if (cause_ != null) hash ^= Cause.GetHashCode(); - if (Uid != 0UL) hash ^= Uid.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 (child_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Child); - } - if (cause_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Cause); - } - if (Uid != 0UL) { - output.WriteRawTag(24); - output.WriteUInt64(Uid); - } - 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 (child_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Child); - } - if (cause_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Cause); - } - if (Uid != 0UL) { - output.WriteRawTag(24); - output.WriteUInt64(Uid); - } - 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 (child_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Child); - } - if (cause_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Cause); - } - if (Uid != 0UL) { - size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Uid); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(FailedData other) { - if (other == null) { - return; - } - if (other.child_ != null) { - if (child_ == null) { - Child = new global::Akka.Remote.Serialization.Proto.Msg.ActorRefData(); - } - Child.MergeFrom(other.Child); - } - if (other.cause_ != null) { - if (cause_ == null) { - Cause = new global::Akka.Remote.Serialization.Proto.Msg.ExceptionData(); - } - Cause.MergeFrom(other.Cause); - } - if (other.Uid != 0UL) { - Uid = other.Uid; - } - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - if (child_ == null) { - Child = new global::Akka.Remote.Serialization.Proto.Msg.ActorRefData(); - } - input.ReadMessage(Child); - break; - } - case 18: { - if (cause_ == null) { - Cause = new global::Akka.Remote.Serialization.Proto.Msg.ExceptionData(); - } - input.ReadMessage(Cause); - break; - } - case 24: { - Uid = input.ReadUInt64(); - 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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - if (child_ == null) { - Child = new global::Akka.Remote.Serialization.Proto.Msg.ActorRefData(); - } - input.ReadMessage(Child); - break; - } - case 18: { - if (cause_ == null) { - Cause = new global::Akka.Remote.Serialization.Proto.Msg.ExceptionData(); - } - input.ReadMessage(Cause); - break; - } - case 24: { - Uid = input.ReadUInt64(); - break; - } - } - } - } - #endif - - } - - internal sealed partial class DeathWatchNotificationData : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DeathWatchNotificationData()); - 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::Akka.Remote.Serialization.Proto.Msg.SystemMessageFormatsReflection.Descriptor.MessageTypes[6]; } - } - - [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 DeathWatchNotificationData() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public DeathWatchNotificationData(DeathWatchNotificationData other) : this() { - actor_ = other.actor_ != null ? other.actor_.Clone() : null; - existenceConfirmed_ = other.existenceConfirmed_; - addressTerminated_ = other.addressTerminated_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public DeathWatchNotificationData Clone() { - return new DeathWatchNotificationData(this); - } - - /// Field number for the "actor" field. - public const int ActorFieldNumber = 1; - private global::Akka.Remote.Serialization.Proto.Msg.ActorRefData actor_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.Remote.Serialization.Proto.Msg.ActorRefData Actor { - get { return actor_; } - set { - actor_ = value; - } - } - - /// Field number for the "existenceConfirmed" field. - public const int ExistenceConfirmedFieldNumber = 2; - private bool existenceConfirmed_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool ExistenceConfirmed { - get { return existenceConfirmed_; } - set { - existenceConfirmed_ = value; - } - } - - /// Field number for the "addressTerminated" field. - public const int AddressTerminatedFieldNumber = 3; - private bool addressTerminated_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool AddressTerminated { - get { return addressTerminated_; } - set { - addressTerminated_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as DeathWatchNotificationData); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(DeathWatchNotificationData other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (!object.Equals(Actor, other.Actor)) return false; - if (ExistenceConfirmed != other.ExistenceConfirmed) return false; - if (AddressTerminated != other.AddressTerminated) 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 (actor_ != null) hash ^= Actor.GetHashCode(); - if (ExistenceConfirmed != false) hash ^= ExistenceConfirmed.GetHashCode(); - if (AddressTerminated != false) hash ^= AddressTerminated.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 (actor_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Actor); - } - if (ExistenceConfirmed != false) { - output.WriteRawTag(16); - output.WriteBool(ExistenceConfirmed); - } - if (AddressTerminated != false) { - output.WriteRawTag(24); - output.WriteBool(AddressTerminated); - } - 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 (actor_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Actor); - } - if (ExistenceConfirmed != false) { - output.WriteRawTag(16); - output.WriteBool(ExistenceConfirmed); - } - if (AddressTerminated != false) { - output.WriteRawTag(24); - output.WriteBool(AddressTerminated); - } - 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 (actor_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Actor); - } - if (ExistenceConfirmed != false) { - size += 1 + 1; - } - if (AddressTerminated != false) { - size += 1 + 1; - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(DeathWatchNotificationData other) { - if (other == null) { - return; - } - if (other.actor_ != null) { - if (actor_ == null) { - Actor = new global::Akka.Remote.Serialization.Proto.Msg.ActorRefData(); - } - Actor.MergeFrom(other.Actor); - } - if (other.ExistenceConfirmed != false) { - ExistenceConfirmed = other.ExistenceConfirmed; - } - if (other.AddressTerminated != false) { - AddressTerminated = other.AddressTerminated; - } - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - if (actor_ == null) { - Actor = new global::Akka.Remote.Serialization.Proto.Msg.ActorRefData(); - } - input.ReadMessage(Actor); - break; - } - case 16: { - ExistenceConfirmed = input.ReadBool(); - break; - } - case 24: { - AddressTerminated = input.ReadBool(); - 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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - if (actor_ == null) { - Actor = new global::Akka.Remote.Serialization.Proto.Msg.ActorRefData(); - } - input.ReadMessage(Actor); - break; - } - case 16: { - ExistenceConfirmed = input.ReadBool(); - break; - } - case 24: { - AddressTerminated = input.ReadBool(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/src/core/Akka.Remote/Serialization/Proto/WireFormats.g.cs b/src/core/Akka.Remote/Serialization/Proto/WireFormats.g.cs deleted file mode 100644 index f4e80c1a6d4..00000000000 --- a/src/core/Akka.Remote/Serialization/Proto/WireFormats.g.cs +++ /dev/null @@ -1,4877 +0,0 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: WireFormats.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 Akka.Remote.Serialization.Proto.Msg { - - /// Holder for reflection information generated from WireFormats.proto - internal static partial class WireFormatsReflection { - - #region Descriptor - /// File descriptor for WireFormats.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static WireFormatsReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChFXaXJlRm9ybWF0cy5wcm90bxIjQWtrYS5SZW1vdGUuU2VyaWFsaXphdGlv", - "bi5Qcm90by5Nc2caFkNvbnRhaW5lckZvcm1hdHMucHJvdG8aDmR1cmF0aW9u", - "LnByb3RvIqcBChdBY2tBbmRFbnZlbG9wZUNvbnRhaW5lchJFCgNhY2sYASAB", - "KAsyOC5Ba2thLlJlbW90ZS5TZXJpYWxpemF0aW9uLlByb3RvLk1zZy5BY2tu", - "b3dsZWRnZW1lbnRJbmZvEkUKCGVudmVsb3BlGAIgASgLMjMuQWtrYS5SZW1v", - "dGUuU2VyaWFsaXphdGlvbi5Qcm90by5Nc2cuUmVtb3RlRW52ZWxvcGUi5QEK", - "DlJlbW90ZUVudmVsb3BlEkQKCXJlY2lwaWVudBgBIAEoCzIxLkFra2EuUmVt", - "b3RlLlNlcmlhbGl6YXRpb24uUHJvdG8uTXNnLkFjdG9yUmVmRGF0YRI9Cgdt", - "ZXNzYWdlGAIgASgLMiwuQWtrYS5SZW1vdGUuU2VyaWFsaXphdGlvbi5Qcm90", - "by5Nc2cuUGF5bG9hZBJBCgZzZW5kZXIYBCABKAsyMS5Ba2thLlJlbW90ZS5T", - "ZXJpYWxpemF0aW9uLlByb3RvLk1zZy5BY3RvclJlZkRhdGESCwoDc2VxGAUg", - "ASgGIjsKE0Fja25vd2xlZGdlbWVudEluZm8SFQoNY3VtdWxhdGl2ZUFjaxgB", - "IAEoBhINCgVuYWNrcxgCIAMoBiLqAQoTRGFlbW9uTXNnQ3JlYXRlRGF0YRI9", - "CgVwcm9wcxgBIAEoCzIuLkFra2EuUmVtb3RlLlNlcmlhbGl6YXRpb24uUHJv", - "dG8uTXNnLlByb3BzRGF0YRI/CgZkZXBsb3kYAiABKAsyLy5Ba2thLlJlbW90", - "ZS5TZXJpYWxpemF0aW9uLlByb3RvLk1zZy5EZXBsb3lEYXRhEgwKBHBhdGgY", - "AyABKAkSRQoKc3VwZXJ2aXNvchgEIAEoCzIxLkFra2EuUmVtb3RlLlNlcmlh", - "bGl6YXRpb24uUHJvdG8uTXNnLkFjdG9yUmVmRGF0YSKoAQoJUHJvcHNEYXRh", - "Ej8KBmRlcGxveRgCIAEoCzIvLkFra2EuUmVtb3RlLlNlcmlhbGl6YXRpb24u", - "UHJvdG8uTXNnLkRlcGxveURhdGESDQoFY2xhenoYAyABKAkSDAoEYXJncxgE", - "IAMoDBIRCgltYW5pZmVzdHMYBSADKAkSFQoNc2VyaWFsaXplcklkcxgGIAMo", - "BRITCgtoYXNNYW5pZmVzdBgHIAMoCCKgAgoKRGVwbG95RGF0YRIMCgRwYXRo", - "GAEgASgJEg4KBmNvbmZpZxgCIAEoDBIUCgxyb3V0ZXJDb25maWcYAyABKAwS", - "DQoFc2NvcGUYBCABKAwSEgoKZGlzcGF0Y2hlchgFIAEoCRIZChFzY29wZVNl", - "cmlhbGl6ZXJJZBgGIAEoBRIVCg1zY29wZU1hbmlmZXN0GAcgASgJEhoKEmNv", - "bmZpZ1NlcmlhbGl6ZXJJZBgIIAEoBRIWCg5jb25maWdNYW5pZmVzdBgJIAEo", - "CRIgChhyb3V0ZXJDb25maWdTZXJpYWxpemVySWQYCiABKAUSHAoUcm91dGVy", - "Q29uZmlnTWFuaWZlc3QYCyABKAkSFQoNc3Rhc2hDYXBhY2l0eRgMIAEoBSJ0", - "ChNBa2thUHJvdG9jb2xNZXNzYWdlEg8KB3BheWxvYWQYASABKAwSTAoLaW5z", - "dHJ1Y3Rpb24YAiABKAsyNy5Ba2thLlJlbW90ZS5TZXJpYWxpemF0aW9uLlBy", - "b3RvLk1zZy5Ba2thQ29udHJvbE1lc3NhZ2UiqgEKEkFra2FDb250cm9sTWVz", - "c2FnZRJFCgtjb21tYW5kVHlwZRgBIAEoDjIwLkFra2EuUmVtb3RlLlNlcmlh", - "bGl6YXRpb24uUHJvdG8uTXNnLkNvbW1hbmRUeXBlEk0KDWhhbmRzaGFrZUlu", - "Zm8YAiABKAsyNi5Ba2thLlJlbW90ZS5TZXJpYWxpemF0aW9uLlByb3RvLk1z", - "Zy5Ba2thSGFuZHNoYWtlSW5mbyJyChFBa2thSGFuZHNoYWtlSW5mbxJACgZv", - "cmlnaW4YASABKAsyMC5Ba2thLlJlbW90ZS5TZXJpYWxpemF0aW9uLlByb3Rv", - "Lk1zZy5BZGRyZXNzRGF0YRILCgN1aWQYAiABKAYSDgoGY29va2llGAMgASgJ", - "Ik0KC1JlbW90ZVNjb3BlEj4KBG5vZGUYASABKAsyMC5Ba2thLlJlbW90ZS5T", - "ZXJpYWxpemF0aW9uLlByb3RvLk1zZy5BZGRyZXNzRGF0YSKxAQoORGVmYXVs", - "dFJlc2l6ZXISEgoKbG93ZXJCb3VuZBgBIAEoDRISCgp1cHBlckJvdW5kGAIg", - "ASgNEhkKEXByZXNzdXJlVGhyZXNob2xkGAMgASgNEhIKCnJhbXB1cFJhdGUY", - "BCABKAESGAoQYmFja29mZlRocmVzaG9sZBgFIAEoARITCgtiYWNrb2ZmUmF0", - "ZRgGIAEoARIZChFtZXNzYWdlc1BlclJlc2l6ZRgHIAEoDSJlCgpGcm9tQ29u", - "ZmlnEj0KB3Jlc2l6ZXIYASABKAsyLC5Ba2thLlJlbW90ZS5TZXJpYWxpemF0", - "aW9uLlByb3RvLk1zZy5QYXlsb2FkEhgKEHJvdXRlckRpc3BhdGNoZXIYAiAB", - "KAkinwEKEkdlbmVyaWNSb3V0aW5nUG9vbBIVCg1uck9mSW5zdGFuY2VzGAEg", - "ASgNEhgKEHJvdXRlckRpc3BhdGNoZXIYAiABKAkSGQoRdXNlUG9vbERpc3Bh", - "dGNoZXIYAyABKAgSPQoHcmVzaXplchgEIAEoCzIsLkFra2EuUmVtb3RlLlNl", - "cmlhbGl6YXRpb24uUHJvdG8uTXNnLlBheWxvYWQiiAEKEVNjYXR0ZXJHYXRo", - "ZXJQb29sEkgKB2dlbmVyaWMYASABKAsyNy5Ba2thLlJlbW90ZS5TZXJpYWxp", - "emF0aW9uLlByb3RvLk1zZy5HZW5lcmljUm91dGluZ1Bvb2wSKQoGd2l0aGlu", - "GAIgASgLMhkuZ29vZ2xlLnByb3RvYnVmLkR1cmF0aW9uIrQBChBUYWlsQ2hv", - "cHBpbmdQb29sEkgKB2dlbmVyaWMYASABKAsyNy5Ba2thLlJlbW90ZS5TZXJp", - "YWxpemF0aW9uLlByb3RvLk1zZy5HZW5lcmljUm91dGluZ1Bvb2wSKQoGd2l0", - "aGluGAIgASgLMhkuZ29vZ2xlLnByb3RvYnVmLkR1cmF0aW9uEisKCGludGVy", - "dmFsGAMgASgLMhkuZ29vZ2xlLnByb3RvYnVmLkR1cmF0aW9uIpIBChJSZW1v", - "dGVSb3V0ZXJDb25maWcSOwoFbG9jYWwYASABKAsyLC5Ba2thLlJlbW90ZS5T", - "ZXJpYWxpemF0aW9uLlByb3RvLk1zZy5QYXlsb2FkEj8KBW5vZGVzGAIgAygL", - "MjAuQWtrYS5SZW1vdGUuU2VyaWFsaXphdGlvbi5Qcm90by5Nc2cuQWRkcmVz", - "c0RhdGEqhQEKC0NvbW1hbmRUeXBlEggKBE5PTkUQABINCglBU1NPQ0lBVEUQ", - "ARIQCgxESVNBU1NPQ0lBVEUQAhINCglIRUFSVEJFQVQQAxIeChpESVNBU1NP", - "Q0lBVEVfU0hVVFRJTkdfRE9XThAEEhwKGERJU0FTU09DSUFURV9RVUFSQU5U", - "SU5FRBAFYgZwcm90bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Akka.Remote.Serialization.Proto.Msg.ContainerFormatsReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.DurationReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(new[] {typeof(global::Akka.Remote.Serialization.Proto.Msg.CommandType), }, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Akka.Remote.Serialization.Proto.Msg.AckAndEnvelopeContainer), global::Akka.Remote.Serialization.Proto.Msg.AckAndEnvelopeContainer.Parser, new[]{ "Ack", "Envelope" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Akka.Remote.Serialization.Proto.Msg.RemoteEnvelope), global::Akka.Remote.Serialization.Proto.Msg.RemoteEnvelope.Parser, new[]{ "Recipient", "Message", "Sender", "Seq" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Akka.Remote.Serialization.Proto.Msg.AcknowledgementInfo), global::Akka.Remote.Serialization.Proto.Msg.AcknowledgementInfo.Parser, new[]{ "CumulativeAck", "Nacks" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Akka.Remote.Serialization.Proto.Msg.DaemonMsgCreateData), global::Akka.Remote.Serialization.Proto.Msg.DaemonMsgCreateData.Parser, new[]{ "Props", "Deploy", "Path", "Supervisor" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Akka.Remote.Serialization.Proto.Msg.PropsData), global::Akka.Remote.Serialization.Proto.Msg.PropsData.Parser, new[]{ "Deploy", "Clazz", "Args", "Manifests", "SerializerIds", "HasManifest" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Akka.Remote.Serialization.Proto.Msg.DeployData), global::Akka.Remote.Serialization.Proto.Msg.DeployData.Parser, new[]{ "Path", "Config", "RouterConfig", "Scope", "Dispatcher", "ScopeSerializerId", "ScopeManifest", "ConfigSerializerId", "ConfigManifest", "RouterConfigSerializerId", "RouterConfigManifest", "StashCapacity" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Akka.Remote.Serialization.Proto.Msg.AkkaProtocolMessage), global::Akka.Remote.Serialization.Proto.Msg.AkkaProtocolMessage.Parser, new[]{ "Payload", "Instruction" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Akka.Remote.Serialization.Proto.Msg.AkkaControlMessage), global::Akka.Remote.Serialization.Proto.Msg.AkkaControlMessage.Parser, new[]{ "CommandType", "HandshakeInfo" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Akka.Remote.Serialization.Proto.Msg.AkkaHandshakeInfo), global::Akka.Remote.Serialization.Proto.Msg.AkkaHandshakeInfo.Parser, new[]{ "Origin", "Uid", "Cookie" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Akka.Remote.Serialization.Proto.Msg.RemoteScope), global::Akka.Remote.Serialization.Proto.Msg.RemoteScope.Parser, new[]{ "Node" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Akka.Remote.Serialization.Proto.Msg.DefaultResizer), global::Akka.Remote.Serialization.Proto.Msg.DefaultResizer.Parser, new[]{ "LowerBound", "UpperBound", "PressureThreshold", "RampupRate", "BackoffThreshold", "BackoffRate", "MessagesPerResize" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Akka.Remote.Serialization.Proto.Msg.FromConfig), global::Akka.Remote.Serialization.Proto.Msg.FromConfig.Parser, new[]{ "Resizer", "RouterDispatcher" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Akka.Remote.Serialization.Proto.Msg.GenericRoutingPool), global::Akka.Remote.Serialization.Proto.Msg.GenericRoutingPool.Parser, new[]{ "NrOfInstances", "RouterDispatcher", "UsePoolDispatcher", "Resizer" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Akka.Remote.Serialization.Proto.Msg.ScatterGatherPool), global::Akka.Remote.Serialization.Proto.Msg.ScatterGatherPool.Parser, new[]{ "Generic", "Within" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Akka.Remote.Serialization.Proto.Msg.TailChoppingPool), global::Akka.Remote.Serialization.Proto.Msg.TailChoppingPool.Parser, new[]{ "Generic", "Within", "Interval" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Akka.Remote.Serialization.Proto.Msg.RemoteRouterConfig), global::Akka.Remote.Serialization.Proto.Msg.RemoteRouterConfig.Parser, new[]{ "Local", "Nodes" }, null, null, null, null) - })); - } - #endregion - - } - #region Enums - /// - /// Defines the type of the AkkaControlMessage command type - /// - internal enum CommandType { - [pbr::OriginalName("NONE")] None = 0, - [pbr::OriginalName("ASSOCIATE")] Associate = 1, - [pbr::OriginalName("DISASSOCIATE")] Disassociate = 2, - [pbr::OriginalName("HEARTBEAT")] Heartbeat = 3, - /// - /// Remote system is going down and will not accepts new connections - /// - [pbr::OriginalName("DISASSOCIATE_SHUTTING_DOWN")] DisassociateShuttingDown = 4, - /// - /// Remote system refused the association since the current system is quarantined - /// - [pbr::OriginalName("DISASSOCIATE_QUARANTINED")] DisassociateQuarantined = 5, - } - - #endregion - - #region Messages - internal sealed partial class AckAndEnvelopeContainer : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AckAndEnvelopeContainer()); - 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::Akka.Remote.Serialization.Proto.Msg.WireFormatsReflection.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 AckAndEnvelopeContainer() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public AckAndEnvelopeContainer(AckAndEnvelopeContainer other) : this() { - ack_ = other.ack_ != null ? other.ack_.Clone() : null; - envelope_ = other.envelope_ != null ? other.envelope_.Clone() : null; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public AckAndEnvelopeContainer Clone() { - return new AckAndEnvelopeContainer(this); - } - - /// Field number for the "ack" field. - public const int AckFieldNumber = 1; - private global::Akka.Remote.Serialization.Proto.Msg.AcknowledgementInfo ack_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.Remote.Serialization.Proto.Msg.AcknowledgementInfo Ack { - get { return ack_; } - set { - ack_ = value; - } - } - - /// Field number for the "envelope" field. - public const int EnvelopeFieldNumber = 2; - private global::Akka.Remote.Serialization.Proto.Msg.RemoteEnvelope envelope_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.Remote.Serialization.Proto.Msg.RemoteEnvelope Envelope { - get { return envelope_; } - set { - envelope_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as AckAndEnvelopeContainer); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(AckAndEnvelopeContainer other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (!object.Equals(Ack, other.Ack)) return false; - if (!object.Equals(Envelope, other.Envelope)) 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 (ack_ != null) hash ^= Ack.GetHashCode(); - if (envelope_ != null) hash ^= Envelope.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 (ack_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Ack); - } - if (envelope_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Envelope); - } - 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 (ack_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Ack); - } - if (envelope_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Envelope); - } - 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 (ack_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Ack); - } - if (envelope_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Envelope); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(AckAndEnvelopeContainer other) { - if (other == null) { - return; - } - if (other.ack_ != null) { - if (ack_ == null) { - Ack = new global::Akka.Remote.Serialization.Proto.Msg.AcknowledgementInfo(); - } - Ack.MergeFrom(other.Ack); - } - if (other.envelope_ != null) { - if (envelope_ == null) { - Envelope = new global::Akka.Remote.Serialization.Proto.Msg.RemoteEnvelope(); - } - Envelope.MergeFrom(other.Envelope); - } - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - if (ack_ == null) { - Ack = new global::Akka.Remote.Serialization.Proto.Msg.AcknowledgementInfo(); - } - input.ReadMessage(Ack); - break; - } - case 18: { - if (envelope_ == null) { - Envelope = new global::Akka.Remote.Serialization.Proto.Msg.RemoteEnvelope(); - } - input.ReadMessage(Envelope); - 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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - if (ack_ == null) { - Ack = new global::Akka.Remote.Serialization.Proto.Msg.AcknowledgementInfo(); - } - input.ReadMessage(Ack); - break; - } - case 18: { - if (envelope_ == null) { - Envelope = new global::Akka.Remote.Serialization.Proto.Msg.RemoteEnvelope(); - } - input.ReadMessage(Envelope); - break; - } - } - } - } - #endif - - } - - /// - /// Defines a remote message. - /// - internal sealed partial class RemoteEnvelope : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RemoteEnvelope()); - 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::Akka.Remote.Serialization.Proto.Msg.WireFormatsReflection.Descriptor.MessageTypes[1]; } - } - - [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 RemoteEnvelope() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public RemoteEnvelope(RemoteEnvelope other) : this() { - recipient_ = other.recipient_ != null ? other.recipient_.Clone() : null; - message_ = other.message_ != null ? other.message_.Clone() : null; - sender_ = other.sender_ != null ? other.sender_.Clone() : null; - seq_ = other.seq_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public RemoteEnvelope Clone() { - return new RemoteEnvelope(this); - } - - /// Field number for the "recipient" field. - public const int RecipientFieldNumber = 1; - private global::Akka.Remote.Serialization.Proto.Msg.ActorRefData recipient_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.Remote.Serialization.Proto.Msg.ActorRefData Recipient { - get { return recipient_; } - set { - recipient_ = value; - } - } - - /// Field number for the "message" field. - public const int MessageFieldNumber = 2; - private global::Akka.Remote.Serialization.Proto.Msg.Payload message_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.Remote.Serialization.Proto.Msg.Payload Message { - get { return message_; } - set { - message_ = value; - } - } - - /// Field number for the "sender" field. - public const int SenderFieldNumber = 4; - private global::Akka.Remote.Serialization.Proto.Msg.ActorRefData sender_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.Remote.Serialization.Proto.Msg.ActorRefData Sender { - get { return sender_; } - set { - sender_ = value; - } - } - - /// Field number for the "seq" field. - public const int SeqFieldNumber = 5; - private ulong seq_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ulong Seq { - get { return seq_; } - set { - seq_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as RemoteEnvelope); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(RemoteEnvelope other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (!object.Equals(Recipient, other.Recipient)) return false; - if (!object.Equals(Message, other.Message)) return false; - if (!object.Equals(Sender, other.Sender)) return false; - if (Seq != other.Seq) 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 (recipient_ != null) hash ^= Recipient.GetHashCode(); - if (message_ != null) hash ^= Message.GetHashCode(); - if (sender_ != null) hash ^= Sender.GetHashCode(); - if (Seq != 0UL) hash ^= Seq.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 (recipient_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Recipient); - } - if (message_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Message); - } - if (sender_ != null) { - output.WriteRawTag(34); - output.WriteMessage(Sender); - } - if (Seq != 0UL) { - output.WriteRawTag(41); - output.WriteFixed64(Seq); - } - 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 (recipient_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Recipient); - } - if (message_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Message); - } - if (sender_ != null) { - output.WriteRawTag(34); - output.WriteMessage(Sender); - } - if (Seq != 0UL) { - output.WriteRawTag(41); - output.WriteFixed64(Seq); - } - 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 (recipient_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Recipient); - } - if (message_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Message); - } - if (sender_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Sender); - } - if (Seq != 0UL) { - size += 1 + 8; - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(RemoteEnvelope other) { - if (other == null) { - return; - } - if (other.recipient_ != null) { - if (recipient_ == null) { - Recipient = new global::Akka.Remote.Serialization.Proto.Msg.ActorRefData(); - } - Recipient.MergeFrom(other.Recipient); - } - if (other.message_ != null) { - if (message_ == null) { - Message = new global::Akka.Remote.Serialization.Proto.Msg.Payload(); - } - Message.MergeFrom(other.Message); - } - if (other.sender_ != null) { - if (sender_ == null) { - Sender = new global::Akka.Remote.Serialization.Proto.Msg.ActorRefData(); - } - Sender.MergeFrom(other.Sender); - } - if (other.Seq != 0UL) { - Seq = other.Seq; - } - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - if (recipient_ == null) { - Recipient = new global::Akka.Remote.Serialization.Proto.Msg.ActorRefData(); - } - input.ReadMessage(Recipient); - break; - } - case 18: { - if (message_ == null) { - Message = new global::Akka.Remote.Serialization.Proto.Msg.Payload(); - } - input.ReadMessage(Message); - break; - } - case 34: { - if (sender_ == null) { - Sender = new global::Akka.Remote.Serialization.Proto.Msg.ActorRefData(); - } - input.ReadMessage(Sender); - break; - } - case 41: { - Seq = input.ReadFixed64(); - 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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - if (recipient_ == null) { - Recipient = new global::Akka.Remote.Serialization.Proto.Msg.ActorRefData(); - } - input.ReadMessage(Recipient); - break; - } - case 18: { - if (message_ == null) { - Message = new global::Akka.Remote.Serialization.Proto.Msg.Payload(); - } - input.ReadMessage(Message); - break; - } - case 34: { - if (sender_ == null) { - Sender = new global::Akka.Remote.Serialization.Proto.Msg.ActorRefData(); - } - input.ReadMessage(Sender); - break; - } - case 41: { - Seq = input.ReadFixed64(); - break; - } - } - } - } - #endif - - } - - internal sealed partial class AcknowledgementInfo : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AcknowledgementInfo()); - 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::Akka.Remote.Serialization.Proto.Msg.WireFormatsReflection.Descriptor.MessageTypes[2]; } - } - - [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 AcknowledgementInfo() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public AcknowledgementInfo(AcknowledgementInfo other) : this() { - cumulativeAck_ = other.cumulativeAck_; - nacks_ = other.nacks_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public AcknowledgementInfo Clone() { - return new AcknowledgementInfo(this); - } - - /// Field number for the "cumulativeAck" field. - public const int CumulativeAckFieldNumber = 1; - private ulong cumulativeAck_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ulong CumulativeAck { - get { return cumulativeAck_; } - set { - cumulativeAck_ = value; - } - } - - /// Field number for the "nacks" field. - public const int NacksFieldNumber = 2; - private static readonly pb::FieldCodec _repeated_nacks_codec - = pb::FieldCodec.ForFixed64(18); - private readonly pbc::RepeatedField nacks_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField Nacks { - get { return nacks_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as AcknowledgementInfo); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(AcknowledgementInfo other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (CumulativeAck != other.CumulativeAck) return false; - if(!nacks_.Equals(other.nacks_)) 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 (CumulativeAck != 0UL) hash ^= CumulativeAck.GetHashCode(); - hash ^= nacks_.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 (CumulativeAck != 0UL) { - output.WriteRawTag(9); - output.WriteFixed64(CumulativeAck); - } - nacks_.WriteTo(output, _repeated_nacks_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 (CumulativeAck != 0UL) { - output.WriteRawTag(9); - output.WriteFixed64(CumulativeAck); - } - nacks_.WriteTo(ref output, _repeated_nacks_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 (CumulativeAck != 0UL) { - size += 1 + 8; - } - size += nacks_.CalculateSize(_repeated_nacks_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(AcknowledgementInfo other) { - if (other == null) { - return; - } - if (other.CumulativeAck != 0UL) { - CumulativeAck = other.CumulativeAck; - } - nacks_.Add(other.nacks_); - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 9: { - CumulativeAck = input.ReadFixed64(); - break; - } - case 18: - case 17: { - nacks_.AddEntriesFrom(input, _repeated_nacks_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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 9: { - CumulativeAck = input.ReadFixed64(); - break; - } - case 18: - case 17: { - nacks_.AddEntriesFrom(ref input, _repeated_nacks_codec); - break; - } - } - } - } - #endif - - } - - /// - /// Defines Akka.Remote.DaemonMsgCreate - /// - internal sealed partial class DaemonMsgCreateData : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DaemonMsgCreateData()); - 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::Akka.Remote.Serialization.Proto.Msg.WireFormatsReflection.Descriptor.MessageTypes[3]; } - } - - [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 DaemonMsgCreateData() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public DaemonMsgCreateData(DaemonMsgCreateData other) : this() { - props_ = other.props_ != null ? other.props_.Clone() : null; - deploy_ = other.deploy_ != null ? other.deploy_.Clone() : null; - path_ = other.path_; - supervisor_ = other.supervisor_ != null ? other.supervisor_.Clone() : null; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public DaemonMsgCreateData Clone() { - return new DaemonMsgCreateData(this); - } - - /// Field number for the "props" field. - public const int PropsFieldNumber = 1; - private global::Akka.Remote.Serialization.Proto.Msg.PropsData props_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.Remote.Serialization.Proto.Msg.PropsData Props { - get { return props_; } - set { - props_ = value; - } - } - - /// Field number for the "deploy" field. - public const int DeployFieldNumber = 2; - private global::Akka.Remote.Serialization.Proto.Msg.DeployData deploy_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.Remote.Serialization.Proto.Msg.DeployData Deploy { - get { return deploy_; } - set { - deploy_ = value; - } - } - - /// Field number for the "path" field. - public const int PathFieldNumber = 3; - private string path_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Path { - get { return path_; } - set { - path_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "supervisor" field. - public const int SupervisorFieldNumber = 4; - private global::Akka.Remote.Serialization.Proto.Msg.ActorRefData supervisor_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.Remote.Serialization.Proto.Msg.ActorRefData Supervisor { - get { return supervisor_; } - set { - supervisor_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as DaemonMsgCreateData); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(DaemonMsgCreateData other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (!object.Equals(Props, other.Props)) return false; - if (!object.Equals(Deploy, other.Deploy)) return false; - if (Path != other.Path) return false; - if (!object.Equals(Supervisor, other.Supervisor)) 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 (props_ != null) hash ^= Props.GetHashCode(); - if (deploy_ != null) hash ^= Deploy.GetHashCode(); - if (Path.Length != 0) hash ^= Path.GetHashCode(); - if (supervisor_ != null) hash ^= Supervisor.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 (props_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Props); - } - if (deploy_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Deploy); - } - if (Path.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Path); - } - if (supervisor_ != null) { - output.WriteRawTag(34); - output.WriteMessage(Supervisor); - } - 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 (props_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Props); - } - if (deploy_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Deploy); - } - if (Path.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Path); - } - if (supervisor_ != null) { - output.WriteRawTag(34); - output.WriteMessage(Supervisor); - } - 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 (props_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Props); - } - if (deploy_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Deploy); - } - if (Path.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Path); - } - if (supervisor_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Supervisor); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(DaemonMsgCreateData other) { - if (other == null) { - return; - } - if (other.props_ != null) { - if (props_ == null) { - Props = new global::Akka.Remote.Serialization.Proto.Msg.PropsData(); - } - Props.MergeFrom(other.Props); - } - if (other.deploy_ != null) { - if (deploy_ == null) { - Deploy = new global::Akka.Remote.Serialization.Proto.Msg.DeployData(); - } - Deploy.MergeFrom(other.Deploy); - } - if (other.Path.Length != 0) { - Path = other.Path; - } - if (other.supervisor_ != null) { - if (supervisor_ == null) { - Supervisor = new global::Akka.Remote.Serialization.Proto.Msg.ActorRefData(); - } - Supervisor.MergeFrom(other.Supervisor); - } - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - if (props_ == null) { - Props = new global::Akka.Remote.Serialization.Proto.Msg.PropsData(); - } - input.ReadMessage(Props); - break; - } - case 18: { - if (deploy_ == null) { - Deploy = new global::Akka.Remote.Serialization.Proto.Msg.DeployData(); - } - input.ReadMessage(Deploy); - break; - } - case 26: { - Path = input.ReadString(); - break; - } - case 34: { - if (supervisor_ == null) { - Supervisor = new global::Akka.Remote.Serialization.Proto.Msg.ActorRefData(); - } - input.ReadMessage(Supervisor); - 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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - if (props_ == null) { - Props = new global::Akka.Remote.Serialization.Proto.Msg.PropsData(); - } - input.ReadMessage(Props); - break; - } - case 18: { - if (deploy_ == null) { - Deploy = new global::Akka.Remote.Serialization.Proto.Msg.DeployData(); - } - input.ReadMessage(Deploy); - break; - } - case 26: { - Path = input.ReadString(); - break; - } - case 34: { - if (supervisor_ == null) { - Supervisor = new global::Akka.Remote.Serialization.Proto.Msg.ActorRefData(); - } - input.ReadMessage(Supervisor); - break; - } - } - } - } - #endif - - } - - /// - /// Serialization of Akka.Actor.Props - /// - internal sealed partial class PropsData : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new PropsData()); - 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::Akka.Remote.Serialization.Proto.Msg.WireFormatsReflection.Descriptor.MessageTypes[4]; } - } - - [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 PropsData() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public PropsData(PropsData other) : this() { - deploy_ = other.deploy_ != null ? other.deploy_.Clone() : null; - clazz_ = other.clazz_; - args_ = other.args_.Clone(); - manifests_ = other.manifests_.Clone(); - serializerIds_ = other.serializerIds_.Clone(); - hasManifest_ = other.hasManifest_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public PropsData Clone() { - return new PropsData(this); - } - - /// Field number for the "deploy" field. - public const int DeployFieldNumber = 2; - private global::Akka.Remote.Serialization.Proto.Msg.DeployData deploy_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.Remote.Serialization.Proto.Msg.DeployData Deploy { - get { return deploy_; } - set { - deploy_ = value; - } - } - - /// Field number for the "clazz" field. - public const int ClazzFieldNumber = 3; - private string clazz_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Clazz { - get { return clazz_; } - set { - clazz_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "args" field. - public const int ArgsFieldNumber = 4; - private static readonly pb::FieldCodec _repeated_args_codec - = pb::FieldCodec.ForBytes(34); - private readonly pbc::RepeatedField args_ = new pbc::RepeatedField(); - /// - /// serialized props parameters - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField Args { - get { return args_; } - } - - /// Field number for the "manifests" field. - public const int ManifestsFieldNumber = 5; - private static readonly pb::FieldCodec _repeated_manifests_codec - = pb::FieldCodec.ForString(42); - private readonly pbc::RepeatedField manifests_ = new pbc::RepeatedField(); - /// - /// contains string manifest for each arg - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField Manifests { - get { return manifests_; } - } - - /// Field number for the "serializerIds" field. - public const int SerializerIdsFieldNumber = 6; - private static readonly pb::FieldCodec _repeated_serializerIds_codec - = pb::FieldCodec.ForInt32(50); - private readonly pbc::RepeatedField serializerIds_ = new pbc::RepeatedField(); - /// - /// serializer id for each arg - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField SerializerIds { - get { return serializerIds_; } - } - - /// Field number for the "hasManifest" field. - public const int HasManifestFieldNumber = 7; - private static readonly pb::FieldCodec _repeated_hasManifest_codec - = pb::FieldCodec.ForBool(58); - private readonly pbc::RepeatedField hasManifest_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField HasManifest { - get { return hasManifest_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as PropsData); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(PropsData other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (!object.Equals(Deploy, other.Deploy)) return false; - if (Clazz != other.Clazz) return false; - if(!args_.Equals(other.args_)) return false; - if(!manifests_.Equals(other.manifests_)) return false; - if(!serializerIds_.Equals(other.serializerIds_)) return false; - if(!hasManifest_.Equals(other.hasManifest_)) 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 (deploy_ != null) hash ^= Deploy.GetHashCode(); - if (Clazz.Length != 0) hash ^= Clazz.GetHashCode(); - hash ^= args_.GetHashCode(); - hash ^= manifests_.GetHashCode(); - hash ^= serializerIds_.GetHashCode(); - hash ^= hasManifest_.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 (deploy_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Deploy); - } - if (Clazz.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Clazz); - } - args_.WriteTo(output, _repeated_args_codec); - manifests_.WriteTo(output, _repeated_manifests_codec); - serializerIds_.WriteTo(output, _repeated_serializerIds_codec); - hasManifest_.WriteTo(output, _repeated_hasManifest_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 (deploy_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Deploy); - } - if (Clazz.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Clazz); - } - args_.WriteTo(ref output, _repeated_args_codec); - manifests_.WriteTo(ref output, _repeated_manifests_codec); - serializerIds_.WriteTo(ref output, _repeated_serializerIds_codec); - hasManifest_.WriteTo(ref output, _repeated_hasManifest_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 (deploy_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Deploy); - } - if (Clazz.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Clazz); - } - size += args_.CalculateSize(_repeated_args_codec); - size += manifests_.CalculateSize(_repeated_manifests_codec); - size += serializerIds_.CalculateSize(_repeated_serializerIds_codec); - size += hasManifest_.CalculateSize(_repeated_hasManifest_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(PropsData other) { - if (other == null) { - return; - } - if (other.deploy_ != null) { - if (deploy_ == null) { - Deploy = new global::Akka.Remote.Serialization.Proto.Msg.DeployData(); - } - Deploy.MergeFrom(other.Deploy); - } - if (other.Clazz.Length != 0) { - Clazz = other.Clazz; - } - args_.Add(other.args_); - manifests_.Add(other.manifests_); - serializerIds_.Add(other.serializerIds_); - hasManifest_.Add(other.hasManifest_); - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 18: { - if (deploy_ == null) { - Deploy = new global::Akka.Remote.Serialization.Proto.Msg.DeployData(); - } - input.ReadMessage(Deploy); - break; - } - case 26: { - Clazz = input.ReadString(); - break; - } - case 34: { - args_.AddEntriesFrom(input, _repeated_args_codec); - break; - } - case 42: { - manifests_.AddEntriesFrom(input, _repeated_manifests_codec); - break; - } - case 50: - case 48: { - serializerIds_.AddEntriesFrom(input, _repeated_serializerIds_codec); - break; - } - case 58: - case 56: { - hasManifest_.AddEntriesFrom(input, _repeated_hasManifest_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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 18: { - if (deploy_ == null) { - Deploy = new global::Akka.Remote.Serialization.Proto.Msg.DeployData(); - } - input.ReadMessage(Deploy); - break; - } - case 26: { - Clazz = input.ReadString(); - break; - } - case 34: { - args_.AddEntriesFrom(ref input, _repeated_args_codec); - break; - } - case 42: { - manifests_.AddEntriesFrom(ref input, _repeated_manifests_codec); - break; - } - case 50: - case 48: { - serializerIds_.AddEntriesFrom(ref input, _repeated_serializerIds_codec); - break; - } - case 58: - case 56: { - hasManifest_.AddEntriesFrom(ref input, _repeated_hasManifest_codec); - break; - } - } - } - } - #endif - - } - - /// - /// Serialization of akka.actor.Deploy - /// - internal sealed partial class DeployData : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DeployData()); - 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::Akka.Remote.Serialization.Proto.Msg.WireFormatsReflection.Descriptor.MessageTypes[5]; } - } - - [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 DeployData() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public DeployData(DeployData other) : this() { - path_ = other.path_; - config_ = other.config_; - routerConfig_ = other.routerConfig_; - scope_ = other.scope_; - dispatcher_ = other.dispatcher_; - scopeSerializerId_ = other.scopeSerializerId_; - scopeManifest_ = other.scopeManifest_; - configSerializerId_ = other.configSerializerId_; - configManifest_ = other.configManifest_; - routerConfigSerializerId_ = other.routerConfigSerializerId_; - routerConfigManifest_ = other.routerConfigManifest_; - stashCapacity_ = other.stashCapacity_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public DeployData Clone() { - return new DeployData(this); - } - - /// Field number for the "path" field. - public const int PathFieldNumber = 1; - private string path_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Path { - get { return path_; } - set { - path_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "config" field. - public const int ConfigFieldNumber = 2; - private pb::ByteString config_ = pb::ByteString.Empty; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pb::ByteString Config { - get { return config_; } - set { - config_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "routerConfig" field. - public const int RouterConfigFieldNumber = 3; - private pb::ByteString routerConfig_ = pb::ByteString.Empty; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pb::ByteString RouterConfig { - get { return routerConfig_; } - set { - routerConfig_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "scope" field. - public const int ScopeFieldNumber = 4; - private pb::ByteString scope_ = pb::ByteString.Empty; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pb::ByteString Scope { - get { return scope_; } - set { - scope_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "dispatcher" field. - public const int DispatcherFieldNumber = 5; - private string dispatcher_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Dispatcher { - get { return dispatcher_; } - set { - dispatcher_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "scopeSerializerId" field. - public const int ScopeSerializerIdFieldNumber = 6; - private int scopeSerializerId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ScopeSerializerId { - get { return scopeSerializerId_; } - set { - scopeSerializerId_ = value; - } - } - - /// Field number for the "scopeManifest" field. - public const int ScopeManifestFieldNumber = 7; - private string scopeManifest_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string ScopeManifest { - get { return scopeManifest_; } - set { - scopeManifest_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "configSerializerId" field. - public const int ConfigSerializerIdFieldNumber = 8; - private int configSerializerId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ConfigSerializerId { - get { return configSerializerId_; } - set { - configSerializerId_ = value; - } - } - - /// Field number for the "configManifest" field. - public const int ConfigManifestFieldNumber = 9; - private string configManifest_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string ConfigManifest { - get { return configManifest_; } - set { - configManifest_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "routerConfigSerializerId" field. - public const int RouterConfigSerializerIdFieldNumber = 10; - private int routerConfigSerializerId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int RouterConfigSerializerId { - get { return routerConfigSerializerId_; } - set { - routerConfigSerializerId_ = value; - } - } - - /// Field number for the "routerConfigManifest" field. - public const int RouterConfigManifestFieldNumber = 11; - private string routerConfigManifest_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string RouterConfigManifest { - get { return routerConfigManifest_; } - set { - routerConfigManifest_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "stashCapacity" field. - public const int StashCapacityFieldNumber = 12; - private int stashCapacity_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int StashCapacity { - get { return stashCapacity_; } - set { - stashCapacity_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as DeployData); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(DeployData other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Path != other.Path) return false; - if (Config != other.Config) return false; - if (RouterConfig != other.RouterConfig) return false; - if (Scope != other.Scope) return false; - if (Dispatcher != other.Dispatcher) return false; - if (ScopeSerializerId != other.ScopeSerializerId) return false; - if (ScopeManifest != other.ScopeManifest) return false; - if (ConfigSerializerId != other.ConfigSerializerId) return false; - if (ConfigManifest != other.ConfigManifest) return false; - if (RouterConfigSerializerId != other.RouterConfigSerializerId) return false; - if (RouterConfigManifest != other.RouterConfigManifest) return false; - if (StashCapacity != other.StashCapacity) 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 (Path.Length != 0) hash ^= Path.GetHashCode(); - if (Config.Length != 0) hash ^= Config.GetHashCode(); - if (RouterConfig.Length != 0) hash ^= RouterConfig.GetHashCode(); - if (Scope.Length != 0) hash ^= Scope.GetHashCode(); - if (Dispatcher.Length != 0) hash ^= Dispatcher.GetHashCode(); - if (ScopeSerializerId != 0) hash ^= ScopeSerializerId.GetHashCode(); - if (ScopeManifest.Length != 0) hash ^= ScopeManifest.GetHashCode(); - if (ConfigSerializerId != 0) hash ^= ConfigSerializerId.GetHashCode(); - if (ConfigManifest.Length != 0) hash ^= ConfigManifest.GetHashCode(); - if (RouterConfigSerializerId != 0) hash ^= RouterConfigSerializerId.GetHashCode(); - if (RouterConfigManifest.Length != 0) hash ^= RouterConfigManifest.GetHashCode(); - if (StashCapacity != 0) hash ^= StashCapacity.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 (Path.Length != 0) { - output.WriteRawTag(10); - output.WriteString(Path); - } - if (Config.Length != 0) { - output.WriteRawTag(18); - output.WriteBytes(Config); - } - if (RouterConfig.Length != 0) { - output.WriteRawTag(26); - output.WriteBytes(RouterConfig); - } - if (Scope.Length != 0) { - output.WriteRawTag(34); - output.WriteBytes(Scope); - } - if (Dispatcher.Length != 0) { - output.WriteRawTag(42); - output.WriteString(Dispatcher); - } - if (ScopeSerializerId != 0) { - output.WriteRawTag(48); - output.WriteInt32(ScopeSerializerId); - } - if (ScopeManifest.Length != 0) { - output.WriteRawTag(58); - output.WriteString(ScopeManifest); - } - if (ConfigSerializerId != 0) { - output.WriteRawTag(64); - output.WriteInt32(ConfigSerializerId); - } - if (ConfigManifest.Length != 0) { - output.WriteRawTag(74); - output.WriteString(ConfigManifest); - } - if (RouterConfigSerializerId != 0) { - output.WriteRawTag(80); - output.WriteInt32(RouterConfigSerializerId); - } - if (RouterConfigManifest.Length != 0) { - output.WriteRawTag(90); - output.WriteString(RouterConfigManifest); - } - if (StashCapacity != 0) { - output.WriteRawTag(96); - output.WriteInt32(StashCapacity); - } - 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 (Path.Length != 0) { - output.WriteRawTag(10); - output.WriteString(Path); - } - if (Config.Length != 0) { - output.WriteRawTag(18); - output.WriteBytes(Config); - } - if (RouterConfig.Length != 0) { - output.WriteRawTag(26); - output.WriteBytes(RouterConfig); - } - if (Scope.Length != 0) { - output.WriteRawTag(34); - output.WriteBytes(Scope); - } - if (Dispatcher.Length != 0) { - output.WriteRawTag(42); - output.WriteString(Dispatcher); - } - if (ScopeSerializerId != 0) { - output.WriteRawTag(48); - output.WriteInt32(ScopeSerializerId); - } - if (ScopeManifest.Length != 0) { - output.WriteRawTag(58); - output.WriteString(ScopeManifest); - } - if (ConfigSerializerId != 0) { - output.WriteRawTag(64); - output.WriteInt32(ConfigSerializerId); - } - if (ConfigManifest.Length != 0) { - output.WriteRawTag(74); - output.WriteString(ConfigManifest); - } - if (RouterConfigSerializerId != 0) { - output.WriteRawTag(80); - output.WriteInt32(RouterConfigSerializerId); - } - if (RouterConfigManifest.Length != 0) { - output.WriteRawTag(90); - output.WriteString(RouterConfigManifest); - } - if (StashCapacity != 0) { - output.WriteRawTag(96); - output.WriteInt32(StashCapacity); - } - 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 (Path.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Path); - } - if (Config.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeBytesSize(Config); - } - if (RouterConfig.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeBytesSize(RouterConfig); - } - if (Scope.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeBytesSize(Scope); - } - if (Dispatcher.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Dispatcher); - } - if (ScopeSerializerId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(ScopeSerializerId); - } - if (ScopeManifest.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(ScopeManifest); - } - if (ConfigSerializerId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(ConfigSerializerId); - } - if (ConfigManifest.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(ConfigManifest); - } - if (RouterConfigSerializerId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(RouterConfigSerializerId); - } - if (RouterConfigManifest.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(RouterConfigManifest); - } - if (StashCapacity != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(StashCapacity); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(DeployData other) { - if (other == null) { - return; - } - if (other.Path.Length != 0) { - Path = other.Path; - } - if (other.Config.Length != 0) { - Config = other.Config; - } - if (other.RouterConfig.Length != 0) { - RouterConfig = other.RouterConfig; - } - if (other.Scope.Length != 0) { - Scope = other.Scope; - } - if (other.Dispatcher.Length != 0) { - Dispatcher = other.Dispatcher; - } - if (other.ScopeSerializerId != 0) { - ScopeSerializerId = other.ScopeSerializerId; - } - if (other.ScopeManifest.Length != 0) { - ScopeManifest = other.ScopeManifest; - } - if (other.ConfigSerializerId != 0) { - ConfigSerializerId = other.ConfigSerializerId; - } - if (other.ConfigManifest.Length != 0) { - ConfigManifest = other.ConfigManifest; - } - if (other.RouterConfigSerializerId != 0) { - RouterConfigSerializerId = other.RouterConfigSerializerId; - } - if (other.RouterConfigManifest.Length != 0) { - RouterConfigManifest = other.RouterConfigManifest; - } - if (other.StashCapacity != 0) { - StashCapacity = other.StashCapacity; - } - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - Path = input.ReadString(); - break; - } - case 18: { - Config = input.ReadBytes(); - break; - } - case 26: { - RouterConfig = input.ReadBytes(); - break; - } - case 34: { - Scope = input.ReadBytes(); - break; - } - case 42: { - Dispatcher = input.ReadString(); - break; - } - case 48: { - ScopeSerializerId = input.ReadInt32(); - break; - } - case 58: { - ScopeManifest = input.ReadString(); - break; - } - case 64: { - ConfigSerializerId = input.ReadInt32(); - break; - } - case 74: { - ConfigManifest = input.ReadString(); - break; - } - case 80: { - RouterConfigSerializerId = input.ReadInt32(); - break; - } - case 90: { - RouterConfigManifest = input.ReadString(); - break; - } - case 96: { - StashCapacity = input.ReadInt32(); - 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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - Path = input.ReadString(); - break; - } - case 18: { - Config = input.ReadBytes(); - break; - } - case 26: { - RouterConfig = input.ReadBytes(); - break; - } - case 34: { - Scope = input.ReadBytes(); - break; - } - case 42: { - Dispatcher = input.ReadString(); - break; - } - case 48: { - ScopeSerializerId = input.ReadInt32(); - break; - } - case 58: { - ScopeManifest = input.ReadString(); - break; - } - case 64: { - ConfigSerializerId = input.ReadInt32(); - break; - } - case 74: { - ConfigManifest = input.ReadString(); - break; - } - case 80: { - RouterConfigSerializerId = input.ReadInt32(); - break; - } - case 90: { - RouterConfigManifest = input.ReadString(); - break; - } - case 96: { - StashCapacity = input.ReadInt32(); - break; - } - } - } - } - #endif - - } - - /// - /// Message format of Akka Protocol. Message contains either a payload or an instruction. - /// - internal sealed partial class AkkaProtocolMessage : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AkkaProtocolMessage()); - 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::Akka.Remote.Serialization.Proto.Msg.WireFormatsReflection.Descriptor.MessageTypes[6]; } - } - - [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 AkkaProtocolMessage() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public AkkaProtocolMessage(AkkaProtocolMessage other) : this() { - payload_ = other.payload_; - instruction_ = other.instruction_ != null ? other.instruction_.Clone() : null; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public AkkaProtocolMessage Clone() { - return new AkkaProtocolMessage(this); - } - - /// Field number for the "payload" field. - public const int PayloadFieldNumber = 1; - private pb::ByteString payload_ = pb::ByteString.Empty; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pb::ByteString Payload { - get { return payload_; } - set { - payload_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "instruction" field. - public const int InstructionFieldNumber = 2; - private global::Akka.Remote.Serialization.Proto.Msg.AkkaControlMessage instruction_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.Remote.Serialization.Proto.Msg.AkkaControlMessage Instruction { - get { return instruction_; } - set { - instruction_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as AkkaProtocolMessage); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(AkkaProtocolMessage other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Payload != other.Payload) return false; - if (!object.Equals(Instruction, other.Instruction)) 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 (Payload.Length != 0) hash ^= Payload.GetHashCode(); - if (instruction_ != null) hash ^= Instruction.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 (Payload.Length != 0) { - output.WriteRawTag(10); - output.WriteBytes(Payload); - } - if (instruction_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Instruction); - } - 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 (Payload.Length != 0) { - output.WriteRawTag(10); - output.WriteBytes(Payload); - } - if (instruction_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Instruction); - } - 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 (Payload.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeBytesSize(Payload); - } - if (instruction_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Instruction); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(AkkaProtocolMessage other) { - if (other == null) { - return; - } - if (other.Payload.Length != 0) { - Payload = other.Payload; - } - if (other.instruction_ != null) { - if (instruction_ == null) { - Instruction = new global::Akka.Remote.Serialization.Proto.Msg.AkkaControlMessage(); - } - Instruction.MergeFrom(other.Instruction); - } - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - Payload = input.ReadBytes(); - break; - } - case 18: { - if (instruction_ == null) { - Instruction = new global::Akka.Remote.Serialization.Proto.Msg.AkkaControlMessage(); - } - input.ReadMessage(Instruction); - 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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - Payload = input.ReadBytes(); - break; - } - case 18: { - if (instruction_ == null) { - Instruction = new global::Akka.Remote.Serialization.Proto.Msg.AkkaControlMessage(); - } - input.ReadMessage(Instruction); - break; - } - } - } - } - #endif - - } - - /// - /// Defines some control messages for the remoting - /// - internal sealed partial class AkkaControlMessage : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AkkaControlMessage()); - 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::Akka.Remote.Serialization.Proto.Msg.WireFormatsReflection.Descriptor.MessageTypes[7]; } - } - - [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 AkkaControlMessage() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public AkkaControlMessage(AkkaControlMessage other) : this() { - commandType_ = other.commandType_; - handshakeInfo_ = other.handshakeInfo_ != null ? other.handshakeInfo_.Clone() : null; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public AkkaControlMessage Clone() { - return new AkkaControlMessage(this); - } - - /// Field number for the "commandType" field. - public const int CommandTypeFieldNumber = 1; - private global::Akka.Remote.Serialization.Proto.Msg.CommandType commandType_ = global::Akka.Remote.Serialization.Proto.Msg.CommandType.None; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.Remote.Serialization.Proto.Msg.CommandType CommandType { - get { return commandType_; } - set { - commandType_ = value; - } - } - - /// Field number for the "handshakeInfo" field. - public const int HandshakeInfoFieldNumber = 2; - private global::Akka.Remote.Serialization.Proto.Msg.AkkaHandshakeInfo handshakeInfo_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.Remote.Serialization.Proto.Msg.AkkaHandshakeInfo HandshakeInfo { - get { return handshakeInfo_; } - set { - handshakeInfo_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as AkkaControlMessage); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(AkkaControlMessage other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (CommandType != other.CommandType) return false; - if (!object.Equals(HandshakeInfo, other.HandshakeInfo)) 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 (CommandType != global::Akka.Remote.Serialization.Proto.Msg.CommandType.None) hash ^= CommandType.GetHashCode(); - if (handshakeInfo_ != null) hash ^= HandshakeInfo.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 (CommandType != global::Akka.Remote.Serialization.Proto.Msg.CommandType.None) { - output.WriteRawTag(8); - output.WriteEnum((int) CommandType); - } - if (handshakeInfo_ != null) { - output.WriteRawTag(18); - output.WriteMessage(HandshakeInfo); - } - 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 (CommandType != global::Akka.Remote.Serialization.Proto.Msg.CommandType.None) { - output.WriteRawTag(8); - output.WriteEnum((int) CommandType); - } - if (handshakeInfo_ != null) { - output.WriteRawTag(18); - output.WriteMessage(HandshakeInfo); - } - 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 (CommandType != global::Akka.Remote.Serialization.Proto.Msg.CommandType.None) { - size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) CommandType); - } - if (handshakeInfo_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(HandshakeInfo); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(AkkaControlMessage other) { - if (other == null) { - return; - } - if (other.CommandType != global::Akka.Remote.Serialization.Proto.Msg.CommandType.None) { - CommandType = other.CommandType; - } - if (other.handshakeInfo_ != null) { - if (handshakeInfo_ == null) { - HandshakeInfo = new global::Akka.Remote.Serialization.Proto.Msg.AkkaHandshakeInfo(); - } - HandshakeInfo.MergeFrom(other.HandshakeInfo); - } - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 8: { - CommandType = (global::Akka.Remote.Serialization.Proto.Msg.CommandType) input.ReadEnum(); - break; - } - case 18: { - if (handshakeInfo_ == null) { - HandshakeInfo = new global::Akka.Remote.Serialization.Proto.Msg.AkkaHandshakeInfo(); - } - input.ReadMessage(HandshakeInfo); - 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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 8: { - CommandType = (global::Akka.Remote.Serialization.Proto.Msg.CommandType) input.ReadEnum(); - break; - } - case 18: { - if (handshakeInfo_ == null) { - HandshakeInfo = new global::Akka.Remote.Serialization.Proto.Msg.AkkaHandshakeInfo(); - } - input.ReadMessage(HandshakeInfo); - break; - } - } - } - } - #endif - - } - - internal sealed partial class AkkaHandshakeInfo : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AkkaHandshakeInfo()); - 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::Akka.Remote.Serialization.Proto.Msg.WireFormatsReflection.Descriptor.MessageTypes[8]; } - } - - [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 AkkaHandshakeInfo() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public AkkaHandshakeInfo(AkkaHandshakeInfo other) : this() { - origin_ = other.origin_ != null ? other.origin_.Clone() : null; - uid_ = other.uid_; - cookie_ = other.cookie_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public AkkaHandshakeInfo Clone() { - return new AkkaHandshakeInfo(this); - } - - /// Field number for the "origin" field. - public const int OriginFieldNumber = 1; - private global::Akka.Remote.Serialization.Proto.Msg.AddressData origin_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.Remote.Serialization.Proto.Msg.AddressData Origin { - get { return origin_; } - set { - origin_ = value; - } - } - - /// Field number for the "uid" field. - public const int UidFieldNumber = 2; - private ulong uid_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ulong Uid { - get { return uid_; } - set { - uid_ = value; - } - } - - /// Field number for the "cookie" field. - public const int CookieFieldNumber = 3; - private string cookie_ = ""; - /// - /// not used - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Cookie { - get { return cookie_; } - set { - cookie_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as AkkaHandshakeInfo); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(AkkaHandshakeInfo other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (!object.Equals(Origin, other.Origin)) return false; - if (Uid != other.Uid) return false; - if (Cookie != other.Cookie) 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 (origin_ != null) hash ^= Origin.GetHashCode(); - if (Uid != 0UL) hash ^= Uid.GetHashCode(); - if (Cookie.Length != 0) hash ^= Cookie.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 (origin_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Origin); - } - if (Uid != 0UL) { - output.WriteRawTag(17); - output.WriteFixed64(Uid); - } - if (Cookie.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Cookie); - } - 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 (origin_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Origin); - } - if (Uid != 0UL) { - output.WriteRawTag(17); - output.WriteFixed64(Uid); - } - if (Cookie.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Cookie); - } - 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 (origin_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Origin); - } - if (Uid != 0UL) { - size += 1 + 8; - } - if (Cookie.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Cookie); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(AkkaHandshakeInfo other) { - if (other == null) { - return; - } - if (other.origin_ != null) { - if (origin_ == null) { - Origin = new global::Akka.Remote.Serialization.Proto.Msg.AddressData(); - } - Origin.MergeFrom(other.Origin); - } - if (other.Uid != 0UL) { - Uid = other.Uid; - } - if (other.Cookie.Length != 0) { - Cookie = other.Cookie; - } - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - if (origin_ == null) { - Origin = new global::Akka.Remote.Serialization.Proto.Msg.AddressData(); - } - input.ReadMessage(Origin); - break; - } - case 17: { - Uid = input.ReadFixed64(); - break; - } - case 26: { - Cookie = input.ReadString(); - 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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - if (origin_ == null) { - Origin = new global::Akka.Remote.Serialization.Proto.Msg.AddressData(); - } - input.ReadMessage(Origin); - break; - } - case 17: { - Uid = input.ReadFixed64(); - break; - } - case 26: { - Cookie = input.ReadString(); - break; - } - } - } - } - #endif - - } - - internal sealed partial class RemoteScope : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RemoteScope()); - 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::Akka.Remote.Serialization.Proto.Msg.WireFormatsReflection.Descriptor.MessageTypes[9]; } - } - - [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 RemoteScope() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public RemoteScope(RemoteScope other) : this() { - node_ = other.node_ != null ? other.node_.Clone() : null; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public RemoteScope Clone() { - return new RemoteScope(this); - } - - /// Field number for the "node" field. - public const int NodeFieldNumber = 1; - private global::Akka.Remote.Serialization.Proto.Msg.AddressData node_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.Remote.Serialization.Proto.Msg.AddressData Node { - get { return node_; } - set { - node_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as RemoteScope); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(RemoteScope other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (!object.Equals(Node, other.Node)) 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 (node_ != null) hash ^= Node.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 (node_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Node); - } - 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 (node_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Node); - } - 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 (node_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Node); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(RemoteScope other) { - if (other == null) { - return; - } - if (other.node_ != null) { - if (node_ == null) { - Node = new global::Akka.Remote.Serialization.Proto.Msg.AddressData(); - } - Node.MergeFrom(other.Node); - } - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - if (node_ == null) { - Node = new global::Akka.Remote.Serialization.Proto.Msg.AddressData(); - } - input.ReadMessage(Node); - 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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - if (node_ == null) { - Node = new global::Akka.Remote.Serialization.Proto.Msg.AddressData(); - } - input.ReadMessage(Node); - break; - } - } - } - } - #endif - - } - - internal sealed partial class DefaultResizer : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DefaultResizer()); - 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::Akka.Remote.Serialization.Proto.Msg.WireFormatsReflection.Descriptor.MessageTypes[10]; } - } - - [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 DefaultResizer() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public DefaultResizer(DefaultResizer other) : this() { - lowerBound_ = other.lowerBound_; - upperBound_ = other.upperBound_; - pressureThreshold_ = other.pressureThreshold_; - rampupRate_ = other.rampupRate_; - backoffThreshold_ = other.backoffThreshold_; - backoffRate_ = other.backoffRate_; - messagesPerResize_ = other.messagesPerResize_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public DefaultResizer Clone() { - return new DefaultResizer(this); - } - - /// Field number for the "lowerBound" field. - public const int LowerBoundFieldNumber = 1; - private uint lowerBound_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public uint LowerBound { - get { return lowerBound_; } - set { - lowerBound_ = value; - } - } - - /// Field number for the "upperBound" field. - public const int UpperBoundFieldNumber = 2; - private uint upperBound_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public uint UpperBound { - get { return upperBound_; } - set { - upperBound_ = value; - } - } - - /// Field number for the "pressureThreshold" field. - public const int PressureThresholdFieldNumber = 3; - private uint pressureThreshold_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public uint PressureThreshold { - get { return pressureThreshold_; } - set { - pressureThreshold_ = value; - } - } - - /// Field number for the "rampupRate" field. - public const int RampupRateFieldNumber = 4; - private double rampupRate_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public double RampupRate { - get { return rampupRate_; } - set { - rampupRate_ = value; - } - } - - /// Field number for the "backoffThreshold" field. - public const int BackoffThresholdFieldNumber = 5; - private double backoffThreshold_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public double BackoffThreshold { - get { return backoffThreshold_; } - set { - backoffThreshold_ = value; - } - } - - /// Field number for the "backoffRate" field. - public const int BackoffRateFieldNumber = 6; - private double backoffRate_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public double BackoffRate { - get { return backoffRate_; } - set { - backoffRate_ = value; - } - } - - /// Field number for the "messagesPerResize" field. - public const int MessagesPerResizeFieldNumber = 7; - private uint messagesPerResize_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public uint MessagesPerResize { - get { return messagesPerResize_; } - set { - messagesPerResize_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as DefaultResizer); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(DefaultResizer other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (LowerBound != other.LowerBound) return false; - if (UpperBound != other.UpperBound) return false; - if (PressureThreshold != other.PressureThreshold) return false; - if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(RampupRate, other.RampupRate)) return false; - if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(BackoffThreshold, other.BackoffThreshold)) return false; - if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(BackoffRate, other.BackoffRate)) return false; - if (MessagesPerResize != other.MessagesPerResize) 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 (LowerBound != 0) hash ^= LowerBound.GetHashCode(); - if (UpperBound != 0) hash ^= UpperBound.GetHashCode(); - if (PressureThreshold != 0) hash ^= PressureThreshold.GetHashCode(); - if (RampupRate != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(RampupRate); - if (BackoffThreshold != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(BackoffThreshold); - if (BackoffRate != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(BackoffRate); - if (MessagesPerResize != 0) hash ^= MessagesPerResize.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 (LowerBound != 0) { - output.WriteRawTag(8); - output.WriteUInt32(LowerBound); - } - if (UpperBound != 0) { - output.WriteRawTag(16); - output.WriteUInt32(UpperBound); - } - if (PressureThreshold != 0) { - output.WriteRawTag(24); - output.WriteUInt32(PressureThreshold); - } - if (RampupRate != 0D) { - output.WriteRawTag(33); - output.WriteDouble(RampupRate); - } - if (BackoffThreshold != 0D) { - output.WriteRawTag(41); - output.WriteDouble(BackoffThreshold); - } - if (BackoffRate != 0D) { - output.WriteRawTag(49); - output.WriteDouble(BackoffRate); - } - if (MessagesPerResize != 0) { - output.WriteRawTag(56); - output.WriteUInt32(MessagesPerResize); - } - 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 (LowerBound != 0) { - output.WriteRawTag(8); - output.WriteUInt32(LowerBound); - } - if (UpperBound != 0) { - output.WriteRawTag(16); - output.WriteUInt32(UpperBound); - } - if (PressureThreshold != 0) { - output.WriteRawTag(24); - output.WriteUInt32(PressureThreshold); - } - if (RampupRate != 0D) { - output.WriteRawTag(33); - output.WriteDouble(RampupRate); - } - if (BackoffThreshold != 0D) { - output.WriteRawTag(41); - output.WriteDouble(BackoffThreshold); - } - if (BackoffRate != 0D) { - output.WriteRawTag(49); - output.WriteDouble(BackoffRate); - } - if (MessagesPerResize != 0) { - output.WriteRawTag(56); - output.WriteUInt32(MessagesPerResize); - } - 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 (LowerBound != 0) { - size += 1 + pb::CodedOutputStream.ComputeUInt32Size(LowerBound); - } - if (UpperBound != 0) { - size += 1 + pb::CodedOutputStream.ComputeUInt32Size(UpperBound); - } - if (PressureThreshold != 0) { - size += 1 + pb::CodedOutputStream.ComputeUInt32Size(PressureThreshold); - } - if (RampupRate != 0D) { - size += 1 + 8; - } - if (BackoffThreshold != 0D) { - size += 1 + 8; - } - if (BackoffRate != 0D) { - size += 1 + 8; - } - if (MessagesPerResize != 0) { - size += 1 + pb::CodedOutputStream.ComputeUInt32Size(MessagesPerResize); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(DefaultResizer other) { - if (other == null) { - return; - } - if (other.LowerBound != 0) { - LowerBound = other.LowerBound; - } - if (other.UpperBound != 0) { - UpperBound = other.UpperBound; - } - if (other.PressureThreshold != 0) { - PressureThreshold = other.PressureThreshold; - } - if (other.RampupRate != 0D) { - RampupRate = other.RampupRate; - } - if (other.BackoffThreshold != 0D) { - BackoffThreshold = other.BackoffThreshold; - } - if (other.BackoffRate != 0D) { - BackoffRate = other.BackoffRate; - } - if (other.MessagesPerResize != 0) { - MessagesPerResize = other.MessagesPerResize; - } - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 8: { - LowerBound = input.ReadUInt32(); - break; - } - case 16: { - UpperBound = input.ReadUInt32(); - break; - } - case 24: { - PressureThreshold = input.ReadUInt32(); - break; - } - case 33: { - RampupRate = input.ReadDouble(); - break; - } - case 41: { - BackoffThreshold = input.ReadDouble(); - break; - } - case 49: { - BackoffRate = input.ReadDouble(); - break; - } - case 56: { - MessagesPerResize = 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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 8: { - LowerBound = input.ReadUInt32(); - break; - } - case 16: { - UpperBound = input.ReadUInt32(); - break; - } - case 24: { - PressureThreshold = input.ReadUInt32(); - break; - } - case 33: { - RampupRate = input.ReadDouble(); - break; - } - case 41: { - BackoffThreshold = input.ReadDouble(); - break; - } - case 49: { - BackoffRate = input.ReadDouble(); - break; - } - case 56: { - MessagesPerResize = input.ReadUInt32(); - break; - } - } - } - } - #endif - - } - - internal sealed partial class FromConfig : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FromConfig()); - 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::Akka.Remote.Serialization.Proto.Msg.WireFormatsReflection.Descriptor.MessageTypes[11]; } - } - - [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 FromConfig() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public FromConfig(FromConfig other) : this() { - resizer_ = other.resizer_ != null ? other.resizer_.Clone() : null; - routerDispatcher_ = other.routerDispatcher_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public FromConfig Clone() { - return new FromConfig(this); - } - - /// Field number for the "resizer" field. - public const int ResizerFieldNumber = 1; - private global::Akka.Remote.Serialization.Proto.Msg.Payload resizer_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.Remote.Serialization.Proto.Msg.Payload Resizer { - get { return resizer_; } - set { - resizer_ = value; - } - } - - /// Field number for the "routerDispatcher" field. - public const int RouterDispatcherFieldNumber = 2; - private string routerDispatcher_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string RouterDispatcher { - get { return routerDispatcher_; } - set { - routerDispatcher_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as FromConfig); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(FromConfig other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (!object.Equals(Resizer, other.Resizer)) return false; - if (RouterDispatcher != other.RouterDispatcher) 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 (resizer_ != null) hash ^= Resizer.GetHashCode(); - if (RouterDispatcher.Length != 0) hash ^= RouterDispatcher.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 (resizer_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Resizer); - } - if (RouterDispatcher.Length != 0) { - output.WriteRawTag(18); - output.WriteString(RouterDispatcher); - } - 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 (resizer_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Resizer); - } - if (RouterDispatcher.Length != 0) { - output.WriteRawTag(18); - output.WriteString(RouterDispatcher); - } - 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 (resizer_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Resizer); - } - if (RouterDispatcher.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(RouterDispatcher); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(FromConfig other) { - if (other == null) { - return; - } - if (other.resizer_ != null) { - if (resizer_ == null) { - Resizer = new global::Akka.Remote.Serialization.Proto.Msg.Payload(); - } - Resizer.MergeFrom(other.Resizer); - } - if (other.RouterDispatcher.Length != 0) { - RouterDispatcher = other.RouterDispatcher; - } - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - if (resizer_ == null) { - Resizer = new global::Akka.Remote.Serialization.Proto.Msg.Payload(); - } - input.ReadMessage(Resizer); - break; - } - case 18: { - RouterDispatcher = input.ReadString(); - 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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - if (resizer_ == null) { - Resizer = new global::Akka.Remote.Serialization.Proto.Msg.Payload(); - } - input.ReadMessage(Resizer); - break; - } - case 18: { - RouterDispatcher = input.ReadString(); - break; - } - } - } - } - #endif - - } - - internal sealed partial class GenericRoutingPool : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GenericRoutingPool()); - 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::Akka.Remote.Serialization.Proto.Msg.WireFormatsReflection.Descriptor.MessageTypes[12]; } - } - - [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 GenericRoutingPool() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public GenericRoutingPool(GenericRoutingPool other) : this() { - nrOfInstances_ = other.nrOfInstances_; - routerDispatcher_ = other.routerDispatcher_; - usePoolDispatcher_ = other.usePoolDispatcher_; - resizer_ = other.resizer_ != null ? other.resizer_.Clone() : null; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public GenericRoutingPool Clone() { - return new GenericRoutingPool(this); - } - - /// Field number for the "nrOfInstances" field. - public const int NrOfInstancesFieldNumber = 1; - private uint nrOfInstances_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public uint NrOfInstances { - get { return nrOfInstances_; } - set { - nrOfInstances_ = value; - } - } - - /// Field number for the "routerDispatcher" field. - public const int RouterDispatcherFieldNumber = 2; - private string routerDispatcher_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string RouterDispatcher { - get { return routerDispatcher_; } - set { - routerDispatcher_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "usePoolDispatcher" field. - public const int UsePoolDispatcherFieldNumber = 3; - private bool usePoolDispatcher_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool UsePoolDispatcher { - get { return usePoolDispatcher_; } - set { - usePoolDispatcher_ = value; - } - } - - /// Field number for the "resizer" field. - public const int ResizerFieldNumber = 4; - private global::Akka.Remote.Serialization.Proto.Msg.Payload resizer_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.Remote.Serialization.Proto.Msg.Payload Resizer { - get { return resizer_; } - set { - resizer_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as GenericRoutingPool); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(GenericRoutingPool other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (NrOfInstances != other.NrOfInstances) return false; - if (RouterDispatcher != other.RouterDispatcher) return false; - if (UsePoolDispatcher != other.UsePoolDispatcher) return false; - if (!object.Equals(Resizer, other.Resizer)) 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 (NrOfInstances != 0) hash ^= NrOfInstances.GetHashCode(); - if (RouterDispatcher.Length != 0) hash ^= RouterDispatcher.GetHashCode(); - if (UsePoolDispatcher != false) hash ^= UsePoolDispatcher.GetHashCode(); - if (resizer_ != null) hash ^= Resizer.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 (NrOfInstances != 0) { - output.WriteRawTag(8); - output.WriteUInt32(NrOfInstances); - } - if (RouterDispatcher.Length != 0) { - output.WriteRawTag(18); - output.WriteString(RouterDispatcher); - } - if (UsePoolDispatcher != false) { - output.WriteRawTag(24); - output.WriteBool(UsePoolDispatcher); - } - if (resizer_ != null) { - output.WriteRawTag(34); - output.WriteMessage(Resizer); - } - 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 (NrOfInstances != 0) { - output.WriteRawTag(8); - output.WriteUInt32(NrOfInstances); - } - if (RouterDispatcher.Length != 0) { - output.WriteRawTag(18); - output.WriteString(RouterDispatcher); - } - if (UsePoolDispatcher != false) { - output.WriteRawTag(24); - output.WriteBool(UsePoolDispatcher); - } - if (resizer_ != null) { - output.WriteRawTag(34); - output.WriteMessage(Resizer); - } - 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 (NrOfInstances != 0) { - size += 1 + pb::CodedOutputStream.ComputeUInt32Size(NrOfInstances); - } - if (RouterDispatcher.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(RouterDispatcher); - } - if (UsePoolDispatcher != false) { - size += 1 + 1; - } - if (resizer_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Resizer); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(GenericRoutingPool other) { - if (other == null) { - return; - } - if (other.NrOfInstances != 0) { - NrOfInstances = other.NrOfInstances; - } - if (other.RouterDispatcher.Length != 0) { - RouterDispatcher = other.RouterDispatcher; - } - if (other.UsePoolDispatcher != false) { - UsePoolDispatcher = other.UsePoolDispatcher; - } - if (other.resizer_ != null) { - if (resizer_ == null) { - Resizer = new global::Akka.Remote.Serialization.Proto.Msg.Payload(); - } - Resizer.MergeFrom(other.Resizer); - } - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 8: { - NrOfInstances = input.ReadUInt32(); - break; - } - case 18: { - RouterDispatcher = input.ReadString(); - break; - } - case 24: { - UsePoolDispatcher = input.ReadBool(); - break; - } - case 34: { - if (resizer_ == null) { - Resizer = new global::Akka.Remote.Serialization.Proto.Msg.Payload(); - } - input.ReadMessage(Resizer); - 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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 8: { - NrOfInstances = input.ReadUInt32(); - break; - } - case 18: { - RouterDispatcher = input.ReadString(); - break; - } - case 24: { - UsePoolDispatcher = input.ReadBool(); - break; - } - case 34: { - if (resizer_ == null) { - Resizer = new global::Akka.Remote.Serialization.Proto.Msg.Payload(); - } - input.ReadMessage(Resizer); - break; - } - } - } - } - #endif - - } - - internal sealed partial class ScatterGatherPool : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ScatterGatherPool()); - 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::Akka.Remote.Serialization.Proto.Msg.WireFormatsReflection.Descriptor.MessageTypes[13]; } - } - - [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 ScatterGatherPool() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ScatterGatherPool(ScatterGatherPool other) : this() { - generic_ = other.generic_ != null ? other.generic_.Clone() : null; - within_ = other.within_ != null ? other.within_.Clone() : null; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ScatterGatherPool Clone() { - return new ScatterGatherPool(this); - } - - /// Field number for the "generic" field. - public const int GenericFieldNumber = 1; - private global::Akka.Remote.Serialization.Proto.Msg.GenericRoutingPool generic_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.Remote.Serialization.Proto.Msg.GenericRoutingPool Generic { - get { return generic_; } - set { - generic_ = value; - } - } - - /// Field number for the "within" field. - public const int WithinFieldNumber = 2; - private global::Google.Protobuf.WellKnownTypes.Duration within_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Google.Protobuf.WellKnownTypes.Duration Within { - get { return within_; } - set { - within_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ScatterGatherPool); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ScatterGatherPool other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (!object.Equals(Generic, other.Generic)) return false; - if (!object.Equals(Within, other.Within)) 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 (generic_ != null) hash ^= Generic.GetHashCode(); - if (within_ != null) hash ^= Within.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 (generic_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Generic); - } - if (within_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Within); - } - 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 (generic_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Generic); - } - if (within_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Within); - } - 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 (generic_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Generic); - } - if (within_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Within); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ScatterGatherPool other) { - if (other == null) { - return; - } - if (other.generic_ != null) { - if (generic_ == null) { - Generic = new global::Akka.Remote.Serialization.Proto.Msg.GenericRoutingPool(); - } - Generic.MergeFrom(other.Generic); - } - if (other.within_ != null) { - if (within_ == null) { - Within = new global::Google.Protobuf.WellKnownTypes.Duration(); - } - Within.MergeFrom(other.Within); - } - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - if (generic_ == null) { - Generic = new global::Akka.Remote.Serialization.Proto.Msg.GenericRoutingPool(); - } - input.ReadMessage(Generic); - break; - } - case 18: { - if (within_ == null) { - Within = new global::Google.Protobuf.WellKnownTypes.Duration(); - } - input.ReadMessage(Within); - 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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - if (generic_ == null) { - Generic = new global::Akka.Remote.Serialization.Proto.Msg.GenericRoutingPool(); - } - input.ReadMessage(Generic); - break; - } - case 18: { - if (within_ == null) { - Within = new global::Google.Protobuf.WellKnownTypes.Duration(); - } - input.ReadMessage(Within); - break; - } - } - } - } - #endif - - } - - internal sealed partial class TailChoppingPool : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new TailChoppingPool()); - 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::Akka.Remote.Serialization.Proto.Msg.WireFormatsReflection.Descriptor.MessageTypes[14]; } - } - - [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 TailChoppingPool() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public TailChoppingPool(TailChoppingPool other) : this() { - generic_ = other.generic_ != null ? other.generic_.Clone() : null; - within_ = other.within_ != null ? other.within_.Clone() : null; - interval_ = other.interval_ != null ? other.interval_.Clone() : null; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public TailChoppingPool Clone() { - return new TailChoppingPool(this); - } - - /// Field number for the "generic" field. - public const int GenericFieldNumber = 1; - private global::Akka.Remote.Serialization.Proto.Msg.GenericRoutingPool generic_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.Remote.Serialization.Proto.Msg.GenericRoutingPool Generic { - get { return generic_; } - set { - generic_ = value; - } - } - - /// Field number for the "within" field. - public const int WithinFieldNumber = 2; - private global::Google.Protobuf.WellKnownTypes.Duration within_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Google.Protobuf.WellKnownTypes.Duration Within { - get { return within_; } - set { - within_ = value; - } - } - - /// Field number for the "interval" field. - public const int IntervalFieldNumber = 3; - private global::Google.Protobuf.WellKnownTypes.Duration interval_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Google.Protobuf.WellKnownTypes.Duration Interval { - get { return interval_; } - set { - interval_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as TailChoppingPool); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(TailChoppingPool other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (!object.Equals(Generic, other.Generic)) return false; - if (!object.Equals(Within, other.Within)) return false; - if (!object.Equals(Interval, other.Interval)) 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 (generic_ != null) hash ^= Generic.GetHashCode(); - if (within_ != null) hash ^= Within.GetHashCode(); - if (interval_ != null) hash ^= Interval.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 (generic_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Generic); - } - if (within_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Within); - } - if (interval_ != null) { - output.WriteRawTag(26); - output.WriteMessage(Interval); - } - 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 (generic_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Generic); - } - if (within_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Within); - } - if (interval_ != null) { - output.WriteRawTag(26); - output.WriteMessage(Interval); - } - 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 (generic_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Generic); - } - if (within_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Within); - } - if (interval_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Interval); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(TailChoppingPool other) { - if (other == null) { - return; - } - if (other.generic_ != null) { - if (generic_ == null) { - Generic = new global::Akka.Remote.Serialization.Proto.Msg.GenericRoutingPool(); - } - Generic.MergeFrom(other.Generic); - } - if (other.within_ != null) { - if (within_ == null) { - Within = new global::Google.Protobuf.WellKnownTypes.Duration(); - } - Within.MergeFrom(other.Within); - } - if (other.interval_ != null) { - if (interval_ == null) { - Interval = new global::Google.Protobuf.WellKnownTypes.Duration(); - } - Interval.MergeFrom(other.Interval); - } - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - if (generic_ == null) { - Generic = new global::Akka.Remote.Serialization.Proto.Msg.GenericRoutingPool(); - } - input.ReadMessage(Generic); - break; - } - case 18: { - if (within_ == null) { - Within = new global::Google.Protobuf.WellKnownTypes.Duration(); - } - input.ReadMessage(Within); - break; - } - case 26: { - if (interval_ == null) { - Interval = new global::Google.Protobuf.WellKnownTypes.Duration(); - } - input.ReadMessage(Interval); - 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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - if (generic_ == null) { - Generic = new global::Akka.Remote.Serialization.Proto.Msg.GenericRoutingPool(); - } - input.ReadMessage(Generic); - break; - } - case 18: { - if (within_ == null) { - Within = new global::Google.Protobuf.WellKnownTypes.Duration(); - } - input.ReadMessage(Within); - break; - } - case 26: { - if (interval_ == null) { - Interval = new global::Google.Protobuf.WellKnownTypes.Duration(); - } - input.ReadMessage(Interval); - break; - } - } - } - } - #endif - - } - - internal sealed partial class RemoteRouterConfig : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RemoteRouterConfig()); - 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::Akka.Remote.Serialization.Proto.Msg.WireFormatsReflection.Descriptor.MessageTypes[15]; } - } - - [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 RemoteRouterConfig() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public RemoteRouterConfig(RemoteRouterConfig other) : this() { - local_ = other.local_ != null ? other.local_.Clone() : null; - nodes_ = other.nodes_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public RemoteRouterConfig Clone() { - return new RemoteRouterConfig(this); - } - - /// Field number for the "local" field. - public const int LocalFieldNumber = 1; - private global::Akka.Remote.Serialization.Proto.Msg.Payload local_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.Remote.Serialization.Proto.Msg.Payload Local { - get { return local_; } - set { - local_ = value; - } - } - - /// Field number for the "nodes" field. - public const int NodesFieldNumber = 2; - private static readonly pb::FieldCodec _repeated_nodes_codec - = pb::FieldCodec.ForMessage(18, global::Akka.Remote.Serialization.Proto.Msg.AddressData.Parser); - private readonly pbc::RepeatedField nodes_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField Nodes { - get { return nodes_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as RemoteRouterConfig); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(RemoteRouterConfig other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (!object.Equals(Local, other.Local)) return false; - if(!nodes_.Equals(other.nodes_)) 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 (local_ != null) hash ^= Local.GetHashCode(); - hash ^= nodes_.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 (local_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Local); - } - nodes_.WriteTo(output, _repeated_nodes_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 (local_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Local); - } - nodes_.WriteTo(ref output, _repeated_nodes_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 (local_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Local); - } - size += nodes_.CalculateSize(_repeated_nodes_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(RemoteRouterConfig other) { - if (other == null) { - return; - } - if (other.local_ != null) { - if (local_ == null) { - Local = new global::Akka.Remote.Serialization.Proto.Msg.Payload(); - } - Local.MergeFrom(other.Local); - } - nodes_.Add(other.nodes_); - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - if (local_ == null) { - Local = new global::Akka.Remote.Serialization.Proto.Msg.Payload(); - } - input.ReadMessage(Local); - break; - } - case 18: { - nodes_.AddEntriesFrom(input, _repeated_nodes_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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - if (local_ == null) { - Local = new global::Akka.Remote.Serialization.Proto.Msg.Payload(); - } - input.ReadMessage(Local); - break; - } - case 18: { - nodes_.AddEntriesFrom(ref input, _repeated_nodes_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/src/core/Akka.Streams/Akka.Streams.csproj b/src/core/Akka.Streams/Akka.Streams.csproj index 68d310f9d76..d6670c863d9 100644 --- a/src/core/Akka.Streams/Akka.Streams.csproj +++ b/src/core/Akka.Streams/Akka.Streams.csproj @@ -64,5 +64,14 @@ + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + + + + diff --git a/src/core/Akka.Streams/Serialization/Proto/StreamRefMessages.g.cs b/src/core/Akka.Streams/Serialization/Proto/StreamRefMessages.g.cs deleted file mode 100644 index 8f6ffbba2d7..00000000000 --- a/src/core/Akka.Streams/Serialization/Proto/StreamRefMessages.g.cs +++ /dev/null @@ -1,2205 +0,0 @@ -//----------------------------------------------------------------------- -// -// Copyright (C) 2009-2023 Lightbend Inc. -// Copyright (C) 2013-2023 .NET Foundation -// -//----------------------------------------------------------------------- - -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: StreamRefMessages.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 Akka.Streams.Serialization.Proto.Msg { - - /// Holder for reflection information generated from StreamRefMessages.proto - internal static partial class StreamRefMessagesReflection { - - #region Descriptor - /// File descriptor for StreamRefMessages.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static StreamRefMessagesReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChdTdHJlYW1SZWZNZXNzYWdlcy5wcm90bxIkQWtrYS5TdHJlYW1zLlNlcmlh", - "bGl6YXRpb24uUHJvdG8uTXNnIh0KCUV2ZW50VHlwZRIQCgh0eXBlTmFtZRgB", - "IAEoCSKQAQoHU2lua1JlZhJBCgl0YXJnZXRSZWYYASABKAsyLi5Ba2thLlN0", - "cmVhbXMuU2VyaWFsaXphdGlvbi5Qcm90by5Nc2cuQWN0b3JSZWYSQgoJZXZl", - "bnRUeXBlGAIgASgLMi8uQWtrYS5TdHJlYW1zLlNlcmlhbGl6YXRpb24uUHJv", - "dG8uTXNnLkV2ZW50VHlwZSKSAQoJU291cmNlUmVmEkEKCW9yaWdpblJlZhgB", - "IAEoCzIuLkFra2EuU3RyZWFtcy5TZXJpYWxpemF0aW9uLlByb3RvLk1zZy5B", - "Y3RvclJlZhJCCglldmVudFR5cGUYAiABKAsyLy5Ba2thLlN0cmVhbXMuU2Vy", - "aWFsaXphdGlvbi5Qcm90by5Nc2cuRXZlbnRUeXBlIhgKCEFjdG9yUmVmEgwK", - "BHBhdGgYASABKAkiUQoHUGF5bG9hZBIXCg9lbmNsb3NlZE1lc3NhZ2UYASAB", - "KAwSFAoMc2VyaWFsaXplcklkGAIgASgFEhcKD21lc3NhZ2VNYW5pZmVzdBgD", - "IAEoDCJZChRPblN1YnNjcmliZUhhbmRzaGFrZRJBCgl0YXJnZXRSZWYYASAB", - "KAsyLi5Ba2thLlN0cmVhbXMuU2VyaWFsaXphdGlvbi5Qcm90by5Nc2cuQWN0", - "b3JSZWYiIQoQQ3VtdWxhdGl2ZURlbWFuZBINCgVzZXFOchgBIAEoAyJgCg9T", - "ZXF1ZW5jZWRPbk5leHQSDQoFc2VxTnIYASABKAMSPgoHcGF5bG9hZBgCIAEo", - "CzItLkFra2EuU3RyZWFtcy5TZXJpYWxpemF0aW9uLlByb3RvLk1zZy5QYXls", - "b2FkIiQKE1JlbW90ZVN0cmVhbUZhaWx1cmUSDQoFY2F1c2UYASABKAwiJgoV", - "UmVtb3RlU3RyZWFtQ29tcGxldGVkEg0KBXNlcU5yGAEgASgDQgJIAWIGcHJv", - "dG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Akka.Streams.Serialization.Proto.Msg.EventType), global::Akka.Streams.Serialization.Proto.Msg.EventType.Parser, new[]{ "TypeName" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Akka.Streams.Serialization.Proto.Msg.SinkRef), global::Akka.Streams.Serialization.Proto.Msg.SinkRef.Parser, new[]{ "TargetRef", "EventType" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Akka.Streams.Serialization.Proto.Msg.SourceRef), global::Akka.Streams.Serialization.Proto.Msg.SourceRef.Parser, new[]{ "OriginRef", "EventType" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Akka.Streams.Serialization.Proto.Msg.ActorRef), global::Akka.Streams.Serialization.Proto.Msg.ActorRef.Parser, new[]{ "Path" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Akka.Streams.Serialization.Proto.Msg.Payload), global::Akka.Streams.Serialization.Proto.Msg.Payload.Parser, new[]{ "EnclosedMessage", "SerializerId", "MessageManifest" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Akka.Streams.Serialization.Proto.Msg.OnSubscribeHandshake), global::Akka.Streams.Serialization.Proto.Msg.OnSubscribeHandshake.Parser, new[]{ "TargetRef" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Akka.Streams.Serialization.Proto.Msg.CumulativeDemand), global::Akka.Streams.Serialization.Proto.Msg.CumulativeDemand.Parser, new[]{ "SeqNr" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Akka.Streams.Serialization.Proto.Msg.SequencedOnNext), global::Akka.Streams.Serialization.Proto.Msg.SequencedOnNext.Parser, new[]{ "SeqNr", "Payload" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Akka.Streams.Serialization.Proto.Msg.RemoteStreamFailure), global::Akka.Streams.Serialization.Proto.Msg.RemoteStreamFailure.Parser, new[]{ "Cause" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Akka.Streams.Serialization.Proto.Msg.RemoteStreamCompleted), global::Akka.Streams.Serialization.Proto.Msg.RemoteStreamCompleted.Parser, new[]{ "SeqNr" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - internal sealed partial class EventType : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new EventType()); - 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::Akka.Streams.Serialization.Proto.Msg.StreamRefMessagesReflection.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 EventType() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public EventType(EventType other) : this() { - typeName_ = other.typeName_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public EventType Clone() { - return new EventType(this); - } - - /// Field number for the "typeName" field. - public const int TypeNameFieldNumber = 1; - private string typeName_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string TypeName { - get { return typeName_; } - set { - typeName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as EventType); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(EventType other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (TypeName != other.TypeName) 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 (TypeName.Length != 0) hash ^= TypeName.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 (TypeName.Length != 0) { - output.WriteRawTag(10); - output.WriteString(TypeName); - } - 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 (TypeName.Length != 0) { - output.WriteRawTag(10); - output.WriteString(TypeName); - } - 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 (TypeName.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(TypeName); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(EventType other) { - if (other == null) { - return; - } - if (other.TypeName.Length != 0) { - TypeName = other.TypeName; - } - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - TypeName = input.ReadString(); - 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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - TypeName = input.ReadString(); - break; - } - } - } - } - #endif - - } - - internal sealed partial class SinkRef : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SinkRef()); - 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::Akka.Streams.Serialization.Proto.Msg.StreamRefMessagesReflection.Descriptor.MessageTypes[1]; } - } - - [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 SinkRef() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public SinkRef(SinkRef other) : this() { - targetRef_ = other.targetRef_ != null ? other.targetRef_.Clone() : null; - eventType_ = other.eventType_ != null ? other.eventType_.Clone() : null; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public SinkRef Clone() { - return new SinkRef(this); - } - - /// Field number for the "targetRef" field. - public const int TargetRefFieldNumber = 1; - private global::Akka.Streams.Serialization.Proto.Msg.ActorRef targetRef_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.Streams.Serialization.Proto.Msg.ActorRef TargetRef { - get { return targetRef_; } - set { - targetRef_ = value; - } - } - - /// Field number for the "eventType" field. - public const int EventTypeFieldNumber = 2; - private global::Akka.Streams.Serialization.Proto.Msg.EventType eventType_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.Streams.Serialization.Proto.Msg.EventType EventType { - get { return eventType_; } - set { - eventType_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as SinkRef); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(SinkRef other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (!object.Equals(TargetRef, other.TargetRef)) return false; - if (!object.Equals(EventType, other.EventType)) 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 (targetRef_ != null) hash ^= TargetRef.GetHashCode(); - if (eventType_ != null) hash ^= EventType.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 (targetRef_ != null) { - output.WriteRawTag(10); - output.WriteMessage(TargetRef); - } - if (eventType_ != null) { - output.WriteRawTag(18); - output.WriteMessage(EventType); - } - 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 (targetRef_ != null) { - output.WriteRawTag(10); - output.WriteMessage(TargetRef); - } - if (eventType_ != null) { - output.WriteRawTag(18); - output.WriteMessage(EventType); - } - 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 (targetRef_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(TargetRef); - } - if (eventType_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(EventType); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(SinkRef other) { - if (other == null) { - return; - } - if (other.targetRef_ != null) { - if (targetRef_ == null) { - TargetRef = new global::Akka.Streams.Serialization.Proto.Msg.ActorRef(); - } - TargetRef.MergeFrom(other.TargetRef); - } - if (other.eventType_ != null) { - if (eventType_ == null) { - EventType = new global::Akka.Streams.Serialization.Proto.Msg.EventType(); - } - EventType.MergeFrom(other.EventType); - } - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - if (targetRef_ == null) { - TargetRef = new global::Akka.Streams.Serialization.Proto.Msg.ActorRef(); - } - input.ReadMessage(TargetRef); - break; - } - case 18: { - if (eventType_ == null) { - EventType = new global::Akka.Streams.Serialization.Proto.Msg.EventType(); - } - input.ReadMessage(EventType); - 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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - if (targetRef_ == null) { - TargetRef = new global::Akka.Streams.Serialization.Proto.Msg.ActorRef(); - } - input.ReadMessage(TargetRef); - break; - } - case 18: { - if (eventType_ == null) { - EventType = new global::Akka.Streams.Serialization.Proto.Msg.EventType(); - } - input.ReadMessage(EventType); - break; - } - } - } - } - #endif - - } - - internal sealed partial class SourceRef : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SourceRef()); - 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::Akka.Streams.Serialization.Proto.Msg.StreamRefMessagesReflection.Descriptor.MessageTypes[2]; } - } - - [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 SourceRef() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public SourceRef(SourceRef other) : this() { - originRef_ = other.originRef_ != null ? other.originRef_.Clone() : null; - eventType_ = other.eventType_ != null ? other.eventType_.Clone() : null; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public SourceRef Clone() { - return new SourceRef(this); - } - - /// Field number for the "originRef" field. - public const int OriginRefFieldNumber = 1; - private global::Akka.Streams.Serialization.Proto.Msg.ActorRef originRef_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.Streams.Serialization.Proto.Msg.ActorRef OriginRef { - get { return originRef_; } - set { - originRef_ = value; - } - } - - /// Field number for the "eventType" field. - public const int EventTypeFieldNumber = 2; - private global::Akka.Streams.Serialization.Proto.Msg.EventType eventType_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.Streams.Serialization.Proto.Msg.EventType EventType { - get { return eventType_; } - set { - eventType_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as SourceRef); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(SourceRef other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (!object.Equals(OriginRef, other.OriginRef)) return false; - if (!object.Equals(EventType, other.EventType)) 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 (originRef_ != null) hash ^= OriginRef.GetHashCode(); - if (eventType_ != null) hash ^= EventType.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 (originRef_ != null) { - output.WriteRawTag(10); - output.WriteMessage(OriginRef); - } - if (eventType_ != null) { - output.WriteRawTag(18); - output.WriteMessage(EventType); - } - 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 (originRef_ != null) { - output.WriteRawTag(10); - output.WriteMessage(OriginRef); - } - if (eventType_ != null) { - output.WriteRawTag(18); - output.WriteMessage(EventType); - } - 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 (originRef_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(OriginRef); - } - if (eventType_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(EventType); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(SourceRef other) { - if (other == null) { - return; - } - if (other.originRef_ != null) { - if (originRef_ == null) { - OriginRef = new global::Akka.Streams.Serialization.Proto.Msg.ActorRef(); - } - OriginRef.MergeFrom(other.OriginRef); - } - if (other.eventType_ != null) { - if (eventType_ == null) { - EventType = new global::Akka.Streams.Serialization.Proto.Msg.EventType(); - } - EventType.MergeFrom(other.EventType); - } - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - if (originRef_ == null) { - OriginRef = new global::Akka.Streams.Serialization.Proto.Msg.ActorRef(); - } - input.ReadMessage(OriginRef); - break; - } - case 18: { - if (eventType_ == null) { - EventType = new global::Akka.Streams.Serialization.Proto.Msg.EventType(); - } - input.ReadMessage(EventType); - 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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - if (originRef_ == null) { - OriginRef = new global::Akka.Streams.Serialization.Proto.Msg.ActorRef(); - } - input.ReadMessage(OriginRef); - break; - } - case 18: { - if (eventType_ == null) { - EventType = new global::Akka.Streams.Serialization.Proto.Msg.EventType(); - } - input.ReadMessage(EventType); - break; - } - } - } - } - #endif - - } - - internal sealed partial class ActorRef : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ActorRef()); - 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::Akka.Streams.Serialization.Proto.Msg.StreamRefMessagesReflection.Descriptor.MessageTypes[3]; } - } - - [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 ActorRef() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ActorRef(ActorRef other) : this() { - path_ = other.path_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ActorRef Clone() { - return new ActorRef(this); - } - - /// Field number for the "path" field. - public const int PathFieldNumber = 1; - private string path_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Path { - get { return path_; } - set { - path_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ActorRef); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ActorRef other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Path != other.Path) 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 (Path.Length != 0) hash ^= Path.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 (Path.Length != 0) { - output.WriteRawTag(10); - output.WriteString(Path); - } - 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 (Path.Length != 0) { - output.WriteRawTag(10); - output.WriteString(Path); - } - 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 (Path.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Path); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ActorRef other) { - if (other == null) { - return; - } - if (other.Path.Length != 0) { - Path = other.Path; - } - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - Path = input.ReadString(); - 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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - Path = input.ReadString(); - break; - } - } - } - } - #endif - - } - - internal sealed partial class Payload : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Payload()); - 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::Akka.Streams.Serialization.Proto.Msg.StreamRefMessagesReflection.Descriptor.MessageTypes[4]; } - } - - [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 Payload() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Payload(Payload other) : this() { - enclosedMessage_ = other.enclosedMessage_; - serializerId_ = other.serializerId_; - messageManifest_ = other.messageManifest_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Payload Clone() { - return new Payload(this); - } - - /// Field number for the "enclosedMessage" field. - public const int EnclosedMessageFieldNumber = 1; - private pb::ByteString enclosedMessage_ = pb::ByteString.Empty; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pb::ByteString EnclosedMessage { - get { return enclosedMessage_; } - set { - enclosedMessage_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "serializerId" field. - public const int SerializerIdFieldNumber = 2; - private int serializerId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int SerializerId { - get { return serializerId_; } - set { - serializerId_ = value; - } - } - - /// Field number for the "messageManifest" field. - public const int MessageManifestFieldNumber = 3; - private pb::ByteString messageManifest_ = pb::ByteString.Empty; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pb::ByteString MessageManifest { - get { return messageManifest_; } - set { - messageManifest_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as Payload); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(Payload other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (EnclosedMessage != other.EnclosedMessage) return false; - if (SerializerId != other.SerializerId) return false; - if (MessageManifest != other.MessageManifest) 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 (EnclosedMessage.Length != 0) hash ^= EnclosedMessage.GetHashCode(); - if (SerializerId != 0) hash ^= SerializerId.GetHashCode(); - if (MessageManifest.Length != 0) hash ^= MessageManifest.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 (EnclosedMessage.Length != 0) { - output.WriteRawTag(10); - output.WriteBytes(EnclosedMessage); - } - if (SerializerId != 0) { - output.WriteRawTag(16); - output.WriteInt32(SerializerId); - } - if (MessageManifest.Length != 0) { - output.WriteRawTag(26); - output.WriteBytes(MessageManifest); - } - 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 (EnclosedMessage.Length != 0) { - output.WriteRawTag(10); - output.WriteBytes(EnclosedMessage); - } - if (SerializerId != 0) { - output.WriteRawTag(16); - output.WriteInt32(SerializerId); - } - if (MessageManifest.Length != 0) { - output.WriteRawTag(26); - output.WriteBytes(MessageManifest); - } - 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 (EnclosedMessage.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeBytesSize(EnclosedMessage); - } - if (SerializerId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(SerializerId); - } - if (MessageManifest.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeBytesSize(MessageManifest); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(Payload other) { - if (other == null) { - return; - } - if (other.EnclosedMessage.Length != 0) { - EnclosedMessage = other.EnclosedMessage; - } - if (other.SerializerId != 0) { - SerializerId = other.SerializerId; - } - if (other.MessageManifest.Length != 0) { - MessageManifest = other.MessageManifest; - } - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - EnclosedMessage = input.ReadBytes(); - break; - } - case 16: { - SerializerId = input.ReadInt32(); - break; - } - case 26: { - MessageManifest = input.ReadBytes(); - 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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - EnclosedMessage = input.ReadBytes(); - break; - } - case 16: { - SerializerId = input.ReadInt32(); - break; - } - case 26: { - MessageManifest = input.ReadBytes(); - break; - } - } - } - } - #endif - - } - - internal sealed partial class OnSubscribeHandshake : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new OnSubscribeHandshake()); - 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::Akka.Streams.Serialization.Proto.Msg.StreamRefMessagesReflection.Descriptor.MessageTypes[5]; } - } - - [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 OnSubscribeHandshake() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public OnSubscribeHandshake(OnSubscribeHandshake other) : this() { - targetRef_ = other.targetRef_ != null ? other.targetRef_.Clone() : null; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public OnSubscribeHandshake Clone() { - return new OnSubscribeHandshake(this); - } - - /// Field number for the "targetRef" field. - public const int TargetRefFieldNumber = 1; - private global::Akka.Streams.Serialization.Proto.Msg.ActorRef targetRef_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.Streams.Serialization.Proto.Msg.ActorRef TargetRef { - get { return targetRef_; } - set { - targetRef_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as OnSubscribeHandshake); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(OnSubscribeHandshake other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (!object.Equals(TargetRef, other.TargetRef)) 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 (targetRef_ != null) hash ^= TargetRef.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 (targetRef_ != null) { - output.WriteRawTag(10); - output.WriteMessage(TargetRef); - } - 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 (targetRef_ != null) { - output.WriteRawTag(10); - output.WriteMessage(TargetRef); - } - 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 (targetRef_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(TargetRef); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(OnSubscribeHandshake other) { - if (other == null) { - return; - } - if (other.targetRef_ != null) { - if (targetRef_ == null) { - TargetRef = new global::Akka.Streams.Serialization.Proto.Msg.ActorRef(); - } - TargetRef.MergeFrom(other.TargetRef); - } - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - if (targetRef_ == null) { - TargetRef = new global::Akka.Streams.Serialization.Proto.Msg.ActorRef(); - } - input.ReadMessage(TargetRef); - 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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - if (targetRef_ == null) { - TargetRef = new global::Akka.Streams.Serialization.Proto.Msg.ActorRef(); - } - input.ReadMessage(TargetRef); - break; - } - } - } - } - #endif - - } - - internal sealed partial class CumulativeDemand : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CumulativeDemand()); - 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::Akka.Streams.Serialization.Proto.Msg.StreamRefMessagesReflection.Descriptor.MessageTypes[6]; } - } - - [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 CumulativeDemand() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public CumulativeDemand(CumulativeDemand other) : this() { - seqNr_ = other.seqNr_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public CumulativeDemand Clone() { - return new CumulativeDemand(this); - } - - /// Field number for the "seqNr" field. - public const int SeqNrFieldNumber = 1; - private long seqNr_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public long SeqNr { - get { return seqNr_; } - set { - seqNr_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as CumulativeDemand); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(CumulativeDemand other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (SeqNr != other.SeqNr) 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 (SeqNr != 0L) hash ^= SeqNr.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 (SeqNr != 0L) { - output.WriteRawTag(8); - output.WriteInt64(SeqNr); - } - 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 (SeqNr != 0L) { - output.WriteRawTag(8); - output.WriteInt64(SeqNr); - } - 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 (SeqNr != 0L) { - size += 1 + pb::CodedOutputStream.ComputeInt64Size(SeqNr); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(CumulativeDemand other) { - if (other == null) { - return; - } - if (other.SeqNr != 0L) { - SeqNr = other.SeqNr; - } - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 8: { - SeqNr = input.ReadInt64(); - 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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 8: { - SeqNr = input.ReadInt64(); - break; - } - } - } - } - #endif - - } - - internal sealed partial class SequencedOnNext : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SequencedOnNext()); - 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::Akka.Streams.Serialization.Proto.Msg.StreamRefMessagesReflection.Descriptor.MessageTypes[7]; } - } - - [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 SequencedOnNext() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public SequencedOnNext(SequencedOnNext other) : this() { - seqNr_ = other.seqNr_; - payload_ = other.payload_ != null ? other.payload_.Clone() : null; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public SequencedOnNext Clone() { - return new SequencedOnNext(this); - } - - /// Field number for the "seqNr" field. - public const int SeqNrFieldNumber = 1; - private long seqNr_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public long SeqNr { - get { return seqNr_; } - set { - seqNr_ = value; - } - } - - /// Field number for the "payload" field. - public const int PayloadFieldNumber = 2; - private global::Akka.Streams.Serialization.Proto.Msg.Payload payload_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Akka.Streams.Serialization.Proto.Msg.Payload Payload { - get { return payload_; } - set { - payload_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as SequencedOnNext); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(SequencedOnNext other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (SeqNr != other.SeqNr) return false; - if (!object.Equals(Payload, other.Payload)) 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 (SeqNr != 0L) hash ^= SeqNr.GetHashCode(); - if (payload_ != null) hash ^= Payload.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 (SeqNr != 0L) { - output.WriteRawTag(8); - output.WriteInt64(SeqNr); - } - if (payload_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Payload); - } - 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 (SeqNr != 0L) { - output.WriteRawTag(8); - output.WriteInt64(SeqNr); - } - if (payload_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Payload); - } - 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 (SeqNr != 0L) { - size += 1 + pb::CodedOutputStream.ComputeInt64Size(SeqNr); - } - if (payload_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Payload); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(SequencedOnNext other) { - if (other == null) { - return; - } - if (other.SeqNr != 0L) { - SeqNr = other.SeqNr; - } - if (other.payload_ != null) { - if (payload_ == null) { - Payload = new global::Akka.Streams.Serialization.Proto.Msg.Payload(); - } - Payload.MergeFrom(other.Payload); - } - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 8: { - SeqNr = input.ReadInt64(); - break; - } - case 18: { - if (payload_ == null) { - Payload = new global::Akka.Streams.Serialization.Proto.Msg.Payload(); - } - input.ReadMessage(Payload); - 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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 8: { - SeqNr = input.ReadInt64(); - break; - } - case 18: { - if (payload_ == null) { - Payload = new global::Akka.Streams.Serialization.Proto.Msg.Payload(); - } - input.ReadMessage(Payload); - break; - } - } - } - } - #endif - - } - - internal sealed partial class RemoteStreamFailure : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RemoteStreamFailure()); - 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::Akka.Streams.Serialization.Proto.Msg.StreamRefMessagesReflection.Descriptor.MessageTypes[8]; } - } - - [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 RemoteStreamFailure() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public RemoteStreamFailure(RemoteStreamFailure other) : this() { - cause_ = other.cause_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public RemoteStreamFailure Clone() { - return new RemoteStreamFailure(this); - } - - /// Field number for the "cause" field. - public const int CauseFieldNumber = 1; - private pb::ByteString cause_ = pb::ByteString.Empty; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pb::ByteString Cause { - get { return cause_; } - set { - cause_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as RemoteStreamFailure); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(RemoteStreamFailure other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Cause != other.Cause) 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 (Cause.Length != 0) hash ^= Cause.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 (Cause.Length != 0) { - output.WriteRawTag(10); - output.WriteBytes(Cause); - } - 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 (Cause.Length != 0) { - output.WriteRawTag(10); - output.WriteBytes(Cause); - } - 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 (Cause.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeBytesSize(Cause); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(RemoteStreamFailure other) { - if (other == null) { - return; - } - if (other.Cause.Length != 0) { - Cause = other.Cause; - } - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - Cause = input.ReadBytes(); - 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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - Cause = input.ReadBytes(); - break; - } - } - } - } - #endif - - } - - internal sealed partial class RemoteStreamCompleted : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RemoteStreamCompleted()); - 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::Akka.Streams.Serialization.Proto.Msg.StreamRefMessagesReflection.Descriptor.MessageTypes[9]; } - } - - [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 RemoteStreamCompleted() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public RemoteStreamCompleted(RemoteStreamCompleted other) : this() { - seqNr_ = other.seqNr_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public RemoteStreamCompleted Clone() { - return new RemoteStreamCompleted(this); - } - - /// Field number for the "seqNr" field. - public const int SeqNrFieldNumber = 1; - private long seqNr_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public long SeqNr { - get { return seqNr_; } - set { - seqNr_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as RemoteStreamCompleted); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(RemoteStreamCompleted other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (SeqNr != other.SeqNr) 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 (SeqNr != 0L) hash ^= SeqNr.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 (SeqNr != 0L) { - output.WriteRawTag(8); - output.WriteInt64(SeqNr); - } - 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 (SeqNr != 0L) { - output.WriteRawTag(8); - output.WriteInt64(SeqNr); - } - 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 (SeqNr != 0L) { - size += 1 + pb::CodedOutputStream.ComputeInt64Size(SeqNr); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(RemoteStreamCompleted other) { - if (other == null) { - return; - } - if (other.SeqNr != 0L) { - SeqNr = other.SeqNr; - } - _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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 8: { - SeqNr = input.ReadInt64(); - 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) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 8: { - SeqNr = input.ReadInt64(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/src/protobuf/WireFormats.proto b/src/protobuf/WireFormats.proto index 16fe23ead32..5de30f88998 100644 --- a/src/protobuf/WireFormats.proto +++ b/src/protobuf/WireFormats.proto @@ -6,7 +6,8 @@ syntax = "proto3"; package Akka.Remote.Serialization.Proto.Msg; import 'ContainerFormats.proto'; -import 'duration.proto'; +import "google/protobuf/duration.proto"; + /****************************************** * Remoting message formats