//
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: circuits_v2/replicator_registry_data.proto
//
#pragma warning disable 1591, 0612, 3021, 8981
#region Designer generated code
using pb = global::Google.Protobuf;
using pbc = global::Google.Protobuf.Collections;
using pbr = global::Google.Protobuf.Reflection;
using scg = global::System.Collections.Generic;
namespace CircuitsV2.Protobuf {
/// Holder for reflection information generated from circuits_v2/replicator_registry_data.proto
public static partial class ReplicatorRegistryDataReflection {
#region Descriptor
/// File descriptor for circuits_v2/replicator_registry_data.proto
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static ReplicatorRegistryDataReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"CipjaXJjdWl0c192Mi9yZXBsaWNhdG9yX3JlZ2lzdHJ5X2RhdGEucHJvdG8S",
"C2NpcmN1aXRzX3YyGhRjb3JlL2d1aWRfZGF0YS5wcm90byJeChZSZXBsaWNh",
"dG9yUmVnaXN0cnlEYXRhEkQKEnJlcGxpY2F0b3JfZW50cmllcxgBIAMoCzIo",
"LmNpcmN1aXRzX3YyLlJlcGxpY2F0b3JSZWdpc3RyeUVudHJ5RGF0YSKJAgob",
"UmVwbGljYXRvclJlZ2lzdHJ5RW50cnlEYXRhEjEKGXJlcGxpY2F0b3JfcGVy",
"c2lzdGVuY2VfaWQYASABKAsyDi5jb3JlLkd1aWREYXRhEhcKD3RhcmdldF9n",
"cmFwaF9pZBgFIAEoBRIXCg9yZXNlcnZlZF9jb3BpZXMYAyABKAUSPwoVcmVw",
"bGljYXRlZF9ncmFwaF9kYXRhGAQgAygLMiAuY2lyY3VpdHNfdjIuUmVwbGlj",
"YXRlZEdyYXBoRGF0YRIQCghyZXZpc2lvbhgGIAEoDRIyChpERVBSRUNBVEVE",
"X3RhcmdldF9ncmFwaF9pZBgCIAEoCzIOLmNvcmUuR3VpZERhdGEiYwoTUmVw",
"bGljYXRlZEdyYXBoRGF0YRIlCg1iYXNlX2dyYXBoX2lkGAEgASgLMg4uY29y",
"ZS5HdWlkRGF0YRIlCg1zdWJfZ3JhcGhfaWRzGAIgAygLMg4uY29yZS5HdWlk",
"RGF0YUIWqgITQ2lyY3VpdHNWMi5Qcm90b2J1ZmIGcHJvdG8z"));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::RecRoom.Protobuf.Core.GuidDataReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::CircuitsV2.Protobuf.ReplicatorRegistryData), global::CircuitsV2.Protobuf.ReplicatorRegistryData.Parser, new[]{ "ReplicatorEntries" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::CircuitsV2.Protobuf.ReplicatorRegistryEntryData), global::CircuitsV2.Protobuf.ReplicatorRegistryEntryData.Parser, new[]{ "ReplicatorPersistenceId", "TargetGraphId", "ReservedCopies", "ReplicatedGraphData", "Revision", "DEPRECATEDTargetGraphId" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::CircuitsV2.Protobuf.ReplicatedGraphData), global::CircuitsV2.Protobuf.ReplicatedGraphData.Parser, new[]{ "BaseGraphId", "SubGraphIds" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class ReplicatorRegistryData : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ReplicatorRegistryData());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::CircuitsV2.Protobuf.ReplicatorRegistryDataReflection.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 ReplicatorRegistryData() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public ReplicatorRegistryData(ReplicatorRegistryData other) : this() {
replicatorEntries_ = other.replicatorEntries_.Clone();
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public ReplicatorRegistryData Clone() {
return new ReplicatorRegistryData(this);
}
/// Field number for the "replicator_entries" field.
public const int ReplicatorEntriesFieldNumber = 1;
private static readonly pb::FieldCodec _repeated_replicatorEntries_codec
= pb::FieldCodec.ForMessage(10, global::CircuitsV2.Protobuf.ReplicatorRegistryEntryData.Parser);
private readonly pbc::RepeatedField replicatorEntries_ = new pbc::RepeatedField();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField ReplicatorEntries {
get { return replicatorEntries_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as ReplicatorRegistryData);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(ReplicatorRegistryData other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if(!replicatorEntries_.Equals(other.replicatorEntries_)) 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 ^= replicatorEntries_.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
replicatorEntries_.WriteTo(output, _repeated_replicatorEntries_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) {
replicatorEntries_.WriteTo(ref output, _repeated_replicatorEntries_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 += replicatorEntries_.CalculateSize(_repeated_replicatorEntries_codec);
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(ReplicatorRegistryData other) {
if (other == null) {
return;
}
replicatorEntries_.Add(other.replicatorEntries_);
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(pb::CodedInputStream input) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
input.ReadRawMessage(this);
#else
uint tag;
while ((tag = input.ReadTag()) != 0) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 10: {
replicatorEntries_.AddEntriesFrom(input, _repeated_replicatorEntries_codec);
break;
}
}
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 10: {
replicatorEntries_.AddEntriesFrom(ref input, _repeated_replicatorEntries_codec);
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class ReplicatorRegistryEntryData : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ReplicatorRegistryEntryData());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::CircuitsV2.Protobuf.ReplicatorRegistryDataReflection.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 ReplicatorRegistryEntryData() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public ReplicatorRegistryEntryData(ReplicatorRegistryEntryData other) : this() {
replicatorPersistenceId_ = other.replicatorPersistenceId_ != null ? other.replicatorPersistenceId_.Clone() : null;
targetGraphId_ = other.targetGraphId_;
reservedCopies_ = other.reservedCopies_;
replicatedGraphData_ = other.replicatedGraphData_.Clone();
revision_ = other.revision_;
dEPRECATEDTargetGraphId_ = other.dEPRECATEDTargetGraphId_ != null ? other.dEPRECATEDTargetGraphId_.Clone() : null;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public ReplicatorRegistryEntryData Clone() {
return new ReplicatorRegistryEntryData(this);
}
/// Field number for the "replicator_persistence_id" field.
public const int ReplicatorPersistenceIdFieldNumber = 1;
private global::RecRoom.Protobuf.Core.GuidData replicatorPersistenceId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::RecRoom.Protobuf.Core.GuidData ReplicatorPersistenceId {
get { return replicatorPersistenceId_; }
set {
replicatorPersistenceId_ = value;
}
}
/// Field number for the "target_graph_id" field.
public const int TargetGraphIdFieldNumber = 5;
private int targetGraphId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int TargetGraphId {
get { return targetGraphId_; }
set {
targetGraphId_ = value;
}
}
/// Field number for the "reserved_copies" field.
public const int ReservedCopiesFieldNumber = 3;
private int reservedCopies_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int ReservedCopies {
get { return reservedCopies_; }
set {
reservedCopies_ = value;
}
}
/// Field number for the "replicated_graph_data" field.
public const int ReplicatedGraphDataFieldNumber = 4;
private static readonly pb::FieldCodec _repeated_replicatedGraphData_codec
= pb::FieldCodec.ForMessage(34, global::CircuitsV2.Protobuf.ReplicatedGraphData.Parser);
private readonly pbc::RepeatedField replicatedGraphData_ = new pbc::RepeatedField();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField ReplicatedGraphData {
get { return replicatedGraphData_; }
}
/// Field number for the "revision" field.
public const int RevisionFieldNumber = 6;
private uint revision_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint Revision {
get { return revision_; }
set {
revision_ = value;
}
}
/// Field number for the "DEPRECATED_target_graph_id" field.
public const int DEPRECATEDTargetGraphIdFieldNumber = 2;
private global::RecRoom.Protobuf.Core.GuidData dEPRECATEDTargetGraphId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::RecRoom.Protobuf.Core.GuidData DEPRECATEDTargetGraphId {
get { return dEPRECATEDTargetGraphId_; }
set {
dEPRECATEDTargetGraphId_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as ReplicatorRegistryEntryData);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(ReplicatorRegistryEntryData other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (!object.Equals(ReplicatorPersistenceId, other.ReplicatorPersistenceId)) return false;
if (TargetGraphId != other.TargetGraphId) return false;
if (ReservedCopies != other.ReservedCopies) return false;
if(!replicatedGraphData_.Equals(other.replicatedGraphData_)) return false;
if (Revision != other.Revision) return false;
if (!object.Equals(DEPRECATEDTargetGraphId, other.DEPRECATEDTargetGraphId)) 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 (replicatorPersistenceId_ != null) hash ^= ReplicatorPersistenceId.GetHashCode();
if (TargetGraphId != 0) hash ^= TargetGraphId.GetHashCode();
if (ReservedCopies != 0) hash ^= ReservedCopies.GetHashCode();
hash ^= replicatedGraphData_.GetHashCode();
if (Revision != 0) hash ^= Revision.GetHashCode();
if (dEPRECATEDTargetGraphId_ != null) hash ^= DEPRECATEDTargetGraphId.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 (replicatorPersistenceId_ != null) {
output.WriteRawTag(10);
output.WriteMessage(ReplicatorPersistenceId);
}
if (dEPRECATEDTargetGraphId_ != null) {
output.WriteRawTag(18);
output.WriteMessage(DEPRECATEDTargetGraphId);
}
if (ReservedCopies != 0) {
output.WriteRawTag(24);
output.WriteInt32(ReservedCopies);
}
replicatedGraphData_.WriteTo(output, _repeated_replicatedGraphData_codec);
if (TargetGraphId != 0) {
output.WriteRawTag(40);
output.WriteInt32(TargetGraphId);
}
if (Revision != 0) {
output.WriteRawTag(48);
output.WriteUInt32(Revision);
}
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 (replicatorPersistenceId_ != null) {
output.WriteRawTag(10);
output.WriteMessage(ReplicatorPersistenceId);
}
if (dEPRECATEDTargetGraphId_ != null) {
output.WriteRawTag(18);
output.WriteMessage(DEPRECATEDTargetGraphId);
}
if (ReservedCopies != 0) {
output.WriteRawTag(24);
output.WriteInt32(ReservedCopies);
}
replicatedGraphData_.WriteTo(ref output, _repeated_replicatedGraphData_codec);
if (TargetGraphId != 0) {
output.WriteRawTag(40);
output.WriteInt32(TargetGraphId);
}
if (Revision != 0) {
output.WriteRawTag(48);
output.WriteUInt32(Revision);
}
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 (replicatorPersistenceId_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(ReplicatorPersistenceId);
}
if (TargetGraphId != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(TargetGraphId);
}
if (ReservedCopies != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(ReservedCopies);
}
size += replicatedGraphData_.CalculateSize(_repeated_replicatedGraphData_codec);
if (Revision != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Revision);
}
if (dEPRECATEDTargetGraphId_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(DEPRECATEDTargetGraphId);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(ReplicatorRegistryEntryData other) {
if (other == null) {
return;
}
if (other.replicatorPersistenceId_ != null) {
if (replicatorPersistenceId_ == null) {
ReplicatorPersistenceId = new global::RecRoom.Protobuf.Core.GuidData();
}
ReplicatorPersistenceId.MergeFrom(other.ReplicatorPersistenceId);
}
if (other.TargetGraphId != 0) {
TargetGraphId = other.TargetGraphId;
}
if (other.ReservedCopies != 0) {
ReservedCopies = other.ReservedCopies;
}
replicatedGraphData_.Add(other.replicatedGraphData_);
if (other.Revision != 0) {
Revision = other.Revision;
}
if (other.dEPRECATEDTargetGraphId_ != null) {
if (dEPRECATEDTargetGraphId_ == null) {
DEPRECATEDTargetGraphId = new global::RecRoom.Protobuf.Core.GuidData();
}
DEPRECATEDTargetGraphId.MergeFrom(other.DEPRECATEDTargetGraphId);
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(pb::CodedInputStream input) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
input.ReadRawMessage(this);
#else
uint tag;
while ((tag = input.ReadTag()) != 0) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 10: {
if (replicatorPersistenceId_ == null) {
ReplicatorPersistenceId = new global::RecRoom.Protobuf.Core.GuidData();
}
input.ReadMessage(ReplicatorPersistenceId);
break;
}
case 18: {
if (dEPRECATEDTargetGraphId_ == null) {
DEPRECATEDTargetGraphId = new global::RecRoom.Protobuf.Core.GuidData();
}
input.ReadMessage(DEPRECATEDTargetGraphId);
break;
}
case 24: {
ReservedCopies = input.ReadInt32();
break;
}
case 34: {
replicatedGraphData_.AddEntriesFrom(input, _repeated_replicatedGraphData_codec);
break;
}
case 40: {
TargetGraphId = input.ReadInt32();
break;
}
case 48: {
Revision = input.ReadUInt32();
break;
}
}
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 10: {
if (replicatorPersistenceId_ == null) {
ReplicatorPersistenceId = new global::RecRoom.Protobuf.Core.GuidData();
}
input.ReadMessage(ReplicatorPersistenceId);
break;
}
case 18: {
if (dEPRECATEDTargetGraphId_ == null) {
DEPRECATEDTargetGraphId = new global::RecRoom.Protobuf.Core.GuidData();
}
input.ReadMessage(DEPRECATEDTargetGraphId);
break;
}
case 24: {
ReservedCopies = input.ReadInt32();
break;
}
case 34: {
replicatedGraphData_.AddEntriesFrom(ref input, _repeated_replicatedGraphData_codec);
break;
}
case 40: {
TargetGraphId = input.ReadInt32();
break;
}
case 48: {
Revision = input.ReadUInt32();
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class ReplicatedGraphData : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ReplicatedGraphData());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::CircuitsV2.Protobuf.ReplicatorRegistryDataReflection.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 ReplicatedGraphData() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public ReplicatedGraphData(ReplicatedGraphData other) : this() {
baseGraphId_ = other.baseGraphId_ != null ? other.baseGraphId_.Clone() : null;
subGraphIds_ = other.subGraphIds_.Clone();
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public ReplicatedGraphData Clone() {
return new ReplicatedGraphData(this);
}
/// Field number for the "base_graph_id" field.
public const int BaseGraphIdFieldNumber = 1;
private global::RecRoom.Protobuf.Core.GuidData baseGraphId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::RecRoom.Protobuf.Core.GuidData BaseGraphId {
get { return baseGraphId_; }
set {
baseGraphId_ = value;
}
}
/// Field number for the "sub_graph_ids" field.
public const int SubGraphIdsFieldNumber = 2;
private static readonly pb::FieldCodec _repeated_subGraphIds_codec
= pb::FieldCodec.ForMessage(18, global::RecRoom.Protobuf.Core.GuidData.Parser);
private readonly pbc::RepeatedField subGraphIds_ = new pbc::RepeatedField();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField SubGraphIds {
get { return subGraphIds_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as ReplicatedGraphData);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(ReplicatedGraphData other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (!object.Equals(BaseGraphId, other.BaseGraphId)) return false;
if(!subGraphIds_.Equals(other.subGraphIds_)) 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 (baseGraphId_ != null) hash ^= BaseGraphId.GetHashCode();
hash ^= subGraphIds_.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 (baseGraphId_ != null) {
output.WriteRawTag(10);
output.WriteMessage(BaseGraphId);
}
subGraphIds_.WriteTo(output, _repeated_subGraphIds_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 (baseGraphId_ != null) {
output.WriteRawTag(10);
output.WriteMessage(BaseGraphId);
}
subGraphIds_.WriteTo(ref output, _repeated_subGraphIds_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 (baseGraphId_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(BaseGraphId);
}
size += subGraphIds_.CalculateSize(_repeated_subGraphIds_codec);
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(ReplicatedGraphData other) {
if (other == null) {
return;
}
if (other.baseGraphId_ != null) {
if (baseGraphId_ == null) {
BaseGraphId = new global::RecRoom.Protobuf.Core.GuidData();
}
BaseGraphId.MergeFrom(other.BaseGraphId);
}
subGraphIds_.Add(other.subGraphIds_);
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(pb::CodedInputStream input) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
input.ReadRawMessage(this);
#else
uint tag;
while ((tag = input.ReadTag()) != 0) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 10: {
if (baseGraphId_ == null) {
BaseGraphId = new global::RecRoom.Protobuf.Core.GuidData();
}
input.ReadMessage(BaseGraphId);
break;
}
case 18: {
subGraphIds_.AddEntriesFrom(input, _repeated_subGraphIds_codec);
break;
}
}
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 10: {
if (baseGraphId_ == null) {
BaseGraphId = new global::RecRoom.Protobuf.Core.GuidData();
}
input.ReadMessage(BaseGraphId);
break;
}
case 18: {
subGraphIds_.AddEntriesFrom(ref input, _repeated_subGraphIds_codec);
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code