//
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: rec_room/persistence/autosave_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 RecRoom.Protobuf {
/// Holder for reflection information generated from rec_room/persistence/autosave_data.proto
public static partial class AutosaveDataReflection {
#region Descriptor
/// File descriptor for rec_room/persistence/autosave_data.proto
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static AutosaveDataReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"CihyZWNfcm9vbS9wZXJzaXN0ZW5jZS9hdXRvc2F2ZV9kYXRhLnByb3RvEghy",
"ZWNfcm9vbSKpAQoMQXV0b3NhdmVEYXRhEhwKFHJlZmVyZW5jZWRfZmlsZW5h",
"bWVzGAEgAygJEi4KJmxlZ2FjeV9hZGRpdGlvbmFsX3JlZmVyZW5jZWRfZmls",
"ZW5hbWVzGAIgAygJEhUKDWludmVudGlvbl9pZHMYAyADKAMSHAoUaW52ZW50",
"aW9uX3JlZmVyZW5jZXMYBCADKAUSFgoOdW5pdHlfYXNzZXRfaWQYBSABKAlC",
"E6oCEFJlY1Jvb20uUHJvdG9idWZiBnByb3RvMw=="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::RecRoom.Protobuf.AutosaveData), global::RecRoom.Protobuf.AutosaveData.Parser, new[]{ "ReferencedFilenames", "LegacyAdditionalReferencedFilenames", "InventionIds", "InventionReferences", "UnityAssetId" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class AutosaveData : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AutosaveData());
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::RecRoom.Protobuf.AutosaveDataReflection.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 AutosaveData() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public AutosaveData(AutosaveData other) : this() {
referencedFilenames_ = other.referencedFilenames_.Clone();
legacyAdditionalReferencedFilenames_ = other.legacyAdditionalReferencedFilenames_.Clone();
inventionIds_ = other.inventionIds_.Clone();
inventionReferences_ = other.inventionReferences_.Clone();
unityAssetId_ = other.unityAssetId_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public AutosaveData Clone() {
return new AutosaveData(this);
}
/// Field number for the "referenced_filenames" field.
public const int ReferencedFilenamesFieldNumber = 1;
private static readonly pb::FieldCodec _repeated_referencedFilenames_codec
= pb::FieldCodec.ForString(10);
private readonly pbc::RepeatedField referencedFilenames_ = new pbc::RepeatedField();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField ReferencedFilenames {
get { return referencedFilenames_; }
}
/// Field number for the "legacy_additional_referenced_filenames" field.
public const int LegacyAdditionalReferencedFilenamesFieldNumber = 2;
private static readonly pb::FieldCodec _repeated_legacyAdditionalReferencedFilenames_codec
= pb::FieldCodec.ForString(18);
private readonly pbc::RepeatedField legacyAdditionalReferencedFilenames_ = new pbc::RepeatedField();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField LegacyAdditionalReferencedFilenames {
get { return legacyAdditionalReferencedFilenames_; }
}
/// Field number for the "invention_ids" field.
public const int InventionIdsFieldNumber = 3;
private static readonly pb::FieldCodec _repeated_inventionIds_codec
= pb::FieldCodec.ForInt64(26);
private readonly pbc::RepeatedField inventionIds_ = new pbc::RepeatedField();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField InventionIds {
get { return inventionIds_; }
}
/// Field number for the "invention_references" field.
public const int InventionReferencesFieldNumber = 4;
private static readonly pb::FieldCodec _repeated_inventionReferences_codec
= pb::FieldCodec.ForInt32(34);
private readonly pbc::RepeatedField inventionReferences_ = new pbc::RepeatedField();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField InventionReferences {
get { return inventionReferences_; }
}
/// Field number for the "unity_asset_id" field.
public const int UnityAssetIdFieldNumber = 5;
private string unityAssetId_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string UnityAssetId {
get { return unityAssetId_; }
set {
unityAssetId_ = 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 AutosaveData);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(AutosaveData other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if(!referencedFilenames_.Equals(other.referencedFilenames_)) return false;
if(!legacyAdditionalReferencedFilenames_.Equals(other.legacyAdditionalReferencedFilenames_)) return false;
if(!inventionIds_.Equals(other.inventionIds_)) return false;
if(!inventionReferences_.Equals(other.inventionReferences_)) return false;
if (UnityAssetId != other.UnityAssetId) 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 ^= referencedFilenames_.GetHashCode();
hash ^= legacyAdditionalReferencedFilenames_.GetHashCode();
hash ^= inventionIds_.GetHashCode();
hash ^= inventionReferences_.GetHashCode();
if (UnityAssetId.Length != 0) hash ^= UnityAssetId.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
referencedFilenames_.WriteTo(output, _repeated_referencedFilenames_codec);
legacyAdditionalReferencedFilenames_.WriteTo(output, _repeated_legacyAdditionalReferencedFilenames_codec);
inventionIds_.WriteTo(output, _repeated_inventionIds_codec);
inventionReferences_.WriteTo(output, _repeated_inventionReferences_codec);
if (UnityAssetId.Length != 0) {
output.WriteRawTag(42);
output.WriteString(UnityAssetId);
}
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) {
referencedFilenames_.WriteTo(ref output, _repeated_referencedFilenames_codec);
legacyAdditionalReferencedFilenames_.WriteTo(ref output, _repeated_legacyAdditionalReferencedFilenames_codec);
inventionIds_.WriteTo(ref output, _repeated_inventionIds_codec);
inventionReferences_.WriteTo(ref output, _repeated_inventionReferences_codec);
if (UnityAssetId.Length != 0) {
output.WriteRawTag(42);
output.WriteString(UnityAssetId);
}
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 += referencedFilenames_.CalculateSize(_repeated_referencedFilenames_codec);
size += legacyAdditionalReferencedFilenames_.CalculateSize(_repeated_legacyAdditionalReferencedFilenames_codec);
size += inventionIds_.CalculateSize(_repeated_inventionIds_codec);
size += inventionReferences_.CalculateSize(_repeated_inventionReferences_codec);
if (UnityAssetId.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(UnityAssetId);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(AutosaveData other) {
if (other == null) {
return;
}
referencedFilenames_.Add(other.referencedFilenames_);
legacyAdditionalReferencedFilenames_.Add(other.legacyAdditionalReferencedFilenames_);
inventionIds_.Add(other.inventionIds_);
inventionReferences_.Add(other.inventionReferences_);
if (other.UnityAssetId.Length != 0) {
UnityAssetId = other.UnityAssetId;
}
_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: {
referencedFilenames_.AddEntriesFrom(input, _repeated_referencedFilenames_codec);
break;
}
case 18: {
legacyAdditionalReferencedFilenames_.AddEntriesFrom(input, _repeated_legacyAdditionalReferencedFilenames_codec);
break;
}
case 26:
case 24: {
inventionIds_.AddEntriesFrom(input, _repeated_inventionIds_codec);
break;
}
case 34:
case 32: {
inventionReferences_.AddEntriesFrom(input, _repeated_inventionReferences_codec);
break;
}
case 42: {
UnityAssetId = 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) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 10: {
referencedFilenames_.AddEntriesFrom(ref input, _repeated_referencedFilenames_codec);
break;
}
case 18: {
legacyAdditionalReferencedFilenames_.AddEntriesFrom(ref input, _repeated_legacyAdditionalReferencedFilenames_codec);
break;
}
case 26:
case 24: {
inventionIds_.AddEntriesFrom(ref input, _repeated_inventionIds_codec);
break;
}
case 34:
case 32: {
inventionReferences_.AddEntriesFrom(ref input, _repeated_inventionReferences_codec);
break;
}
case 42: {
UnityAssetId = input.ReadString();
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code