Files
RecRoom.Protobuf/CloneSpawnRequestData.cs
2026-05-10 13:39:01 -07:00

308 lines
12 KiB
C#

// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: rec_room/creation_transient/clone_spawn_request_data.proto
// </auto-generated>
#pragma warning disable 1591, 0612, 3021, 8981
#region Designer generated code
using pb = global::Google.Protobuf;
using pbc = global::Google.Protobuf.Collections;
using pbr = global::Google.Protobuf.Reflection;
using scg = global::System.Collections.Generic;
namespace RecRoom.Creation.Protobuf {
/// <summary>Holder for reflection information generated from rec_room/creation_transient/clone_spawn_request_data.proto</summary>
public static partial class CloneSpawnRequestDataReflection {
#region Descriptor
/// <summary>File descriptor for rec_room/creation_transient/clone_spawn_request_data.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static CloneSpawnRequestDataReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"CjpyZWNfcm9vbS9jcmVhdGlvbl90cmFuc2llbnQvY2xvbmVfc3Bhd25fcmVx",
"dWVzdF9kYXRhLnByb3RvEghjcmVhdGlvbiJhChVDbG9uZVNwYXduUmVxdWVz",
"dERhdGESGwoTb2JqZWN0X2lkc190b19jbG9uZRgBIAMoDBIYChBjaXJjdWl0",
"X2dyYXBoX2lkGAIgASgMEhEKCXBhcmVudF9pZBgDIAEoDEIcqgIZUmVjUm9v",
"bS5DcmVhdGlvbi5Qcm90b2J1ZmIGcHJvdG8z"));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::RecRoom.Creation.Protobuf.CloneSpawnRequestData), global::RecRoom.Creation.Protobuf.CloneSpawnRequestData.Parser, new[]{ "ObjectIdsToClone", "CircuitGraphId", "ParentId" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class CloneSpawnRequestData : pb::IMessage<CloneSpawnRequestData>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<CloneSpawnRequestData> _parser = new pb::MessageParser<CloneSpawnRequestData>(() => new CloneSpawnRequestData());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<CloneSpawnRequestData> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::RecRoom.Creation.Protobuf.CloneSpawnRequestDataReflection.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 CloneSpawnRequestData() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public CloneSpawnRequestData(CloneSpawnRequestData other) : this() {
objectIdsToClone_ = other.objectIdsToClone_.Clone();
circuitGraphId_ = other.circuitGraphId_;
parentId_ = other.parentId_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public CloneSpawnRequestData Clone() {
return new CloneSpawnRequestData(this);
}
/// <summary>Field number for the "object_ids_to_clone" field.</summary>
public const int ObjectIdsToCloneFieldNumber = 1;
private static readonly pb::FieldCodec<pb::ByteString> _repeated_objectIdsToClone_codec
= pb::FieldCodec.ForBytes(10);
private readonly pbc::RepeatedField<pb::ByteString> objectIdsToClone_ = new pbc::RepeatedField<pb::ByteString>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<pb::ByteString> ObjectIdsToClone {
get { return objectIdsToClone_; }
}
/// <summary>Field number for the "circuit_graph_id" field.</summary>
public const int CircuitGraphIdFieldNumber = 2;
private pb::ByteString circuitGraphId_ = pb::ByteString.Empty;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pb::ByteString CircuitGraphId {
get { return circuitGraphId_; }
set {
circuitGraphId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "parent_id" field.</summary>
public const int ParentIdFieldNumber = 3;
private pb::ByteString parentId_ = pb::ByteString.Empty;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pb::ByteString ParentId {
get { return parentId_; }
set {
parentId_ = 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 CloneSpawnRequestData);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(CloneSpawnRequestData other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if(!objectIdsToClone_.Equals(other.objectIdsToClone_)) return false;
if (CircuitGraphId != other.CircuitGraphId) return false;
if (ParentId != other.ParentId) 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 ^= objectIdsToClone_.GetHashCode();
if (CircuitGraphId.Length != 0) hash ^= CircuitGraphId.GetHashCode();
if (ParentId.Length != 0) hash ^= ParentId.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
objectIdsToClone_.WriteTo(output, _repeated_objectIdsToClone_codec);
if (CircuitGraphId.Length != 0) {
output.WriteRawTag(18);
output.WriteBytes(CircuitGraphId);
}
if (ParentId.Length != 0) {
output.WriteRawTag(26);
output.WriteBytes(ParentId);
}
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) {
objectIdsToClone_.WriteTo(ref output, _repeated_objectIdsToClone_codec);
if (CircuitGraphId.Length != 0) {
output.WriteRawTag(18);
output.WriteBytes(CircuitGraphId);
}
if (ParentId.Length != 0) {
output.WriteRawTag(26);
output.WriteBytes(ParentId);
}
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 += objectIdsToClone_.CalculateSize(_repeated_objectIdsToClone_codec);
if (CircuitGraphId.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeBytesSize(CircuitGraphId);
}
if (ParentId.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeBytesSize(ParentId);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(CloneSpawnRequestData other) {
if (other == null) {
return;
}
objectIdsToClone_.Add(other.objectIdsToClone_);
if (other.CircuitGraphId.Length != 0) {
CircuitGraphId = other.CircuitGraphId;
}
if (other.ParentId.Length != 0) {
ParentId = other.ParentId;
}
_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: {
objectIdsToClone_.AddEntriesFrom(input, _repeated_objectIdsToClone_codec);
break;
}
case 18: {
CircuitGraphId = input.ReadBytes();
break;
}
case 26: {
ParentId = 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) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 10: {
objectIdsToClone_.AddEntriesFrom(ref input, _repeated_objectIdsToClone_codec);
break;
}
case 18: {
CircuitGraphId = input.ReadBytes();
break;
}
case 26: {
ParentId = input.ReadBytes();
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code