// <auto-generated>
//     Generated by the protocol buffer compiler.  DO NOT EDIT!
//     source: circuits_v2/room_assets_state_data.proto
// </auto-generated>
#pragma warning disable 1591, 0612, 3021, 8981
#region Designer generated code

using pb = global::Google.Protobuf;
using pbc = global::Google.Protobuf.Collections;
using pbr = global::Google.Protobuf.Reflection;
using scg = global::System.Collections.Generic;
namespace CircuitsV2.Protobuf {

  /// <summary>Holder for reflection information generated from circuits_v2/room_assets_state_data.proto</summary>
  public static partial class RoomAssetsStateDataReflection {

    #region Descriptor
    /// <summary>File descriptor for circuits_v2/room_assets_state_data.proto</summary>
    public static pbr::FileDescriptor Descriptor {
      get { return descriptor; }
    }
    private static pbr::FileDescriptor descriptor;

    static RoomAssetsStateDataReflection() {
      byte[] descriptorData = global::System.Convert.FromBase64String(
          string.Concat(
            "CihjaXJjdWl0c192Mi9yb29tX2Fzc2V0c19zdGF0ZV9kYXRhLnByb3RvEgtj",
            "aXJjdWl0c192MhouY2lyY3VpdHMvc2hhcmVkL3V0aWxpdGllcy9zb2FfaWRf",
            "MzJfZGF0YS5wcm90bxolY2lyY3VpdHMvc2hhcmVkL2FwaS9pZF8xMjhfZGF0",
            "YS5wcm90bxoUY29yZS9ndWlkX2RhdGEucHJvdG8ixAIKE1Jvb21Bc3NldHNT",
            "dGF0ZURhdGESMAoRYXNzZXRfZGVmaW5pdGlvbnMYASABKAsyFS5jaXJjdWl0",
            "cy5TT0FJZDMyRGF0YRItChBhc3NldF9vcmlnaW5faWRzGAIgAygLMhMuY2ly",
            "Y3VpdHMuSWQxMjhEYXRhEhMKC2Fzc2V0X2tpbmRzGAMgAygFEhkKEWFzc2V0",
            "X2lkX2pvaW5faWRzGAQgAygFEi4KD2Fzc2V0X2lkXzMyX2lkcxgFIAEoCzIV",
            "LmNpcmN1aXRzLlNPQUlkMzJEYXRhEhQKDGFzc2V0X2lkXzMycxgGIAMoBRIv",
            "ChBhc3NldF9pZF8xMjhfaWRzGAcgASgLMhUuY2lyY3VpdHMuU09BSWQzMkRh",
            "dGESJQoNYXNzZXRfaWRfMTI4cxgIIAMoCzIOLmNvcmUuR3VpZERhdGFCFqoC",
            "E0NpcmN1aXRzVjIuUHJvdG9idWZiBnByb3RvMw=="));
      descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
          new pbr::FileDescriptor[] { global::Circuits.Shared.Utilities.Protobuf.SoaId32DataReflection.Descriptor, global::Circuits.Shared.Api.Protobuf.Id128DataReflection.Descriptor, global::RecRoom.Protobuf.Core.GuidDataReflection.Descriptor, },
          new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
            new pbr::GeneratedClrTypeInfo(typeof(global::CircuitsV2.Protobuf.RoomAssetsStateData), global::CircuitsV2.Protobuf.RoomAssetsStateData.Parser, new[]{ "AssetDefinitions", "AssetOriginIds", "AssetKinds", "AssetIdJoinIds", "AssetId32Ids", "AssetId32S", "AssetId128Ids", "AssetId128S" }, null, null, null, null)
          }));
    }
    #endregion

  }
  #region Messages
  [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
  public sealed partial class RoomAssetsStateData : pb::IMessage<RoomAssetsStateData>
  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      , pb::IBufferMessage
  #endif
  {
    private static readonly pb::MessageParser<RoomAssetsStateData> _parser = new pb::MessageParser<RoomAssetsStateData>(() => new RoomAssetsStateData());
    private pb::UnknownFieldSet _unknownFields;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pb::MessageParser<RoomAssetsStateData> 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.RoomAssetsStateDataReflection.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 RoomAssetsStateData() {
      OnConstruction();
    }

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public RoomAssetsStateData(RoomAssetsStateData other) : this() {
      assetDefinitions_ = other.assetDefinitions_ != null ? other.assetDefinitions_.Clone() : null;
      assetOriginIds_ = other.assetOriginIds_.Clone();
      assetKinds_ = other.assetKinds_.Clone();
      assetIdJoinIds_ = other.assetIdJoinIds_.Clone();
      assetId32Ids_ = other.assetId32Ids_ != null ? other.assetId32Ids_.Clone() : null;
      assetId32S_ = other.assetId32S_.Clone();
      assetId128Ids_ = other.assetId128Ids_ != null ? other.assetId128Ids_.Clone() : null;
      assetId128S_ = other.assetId128S_.Clone();
      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public RoomAssetsStateData Clone() {
      return new RoomAssetsStateData(this);
    }

    /// <summary>Field number for the "asset_definitions" field.</summary>
    public const int AssetDefinitionsFieldNumber = 1;
    private global::Circuits.Shared.Utilities.Protobuf.SOAId32Data assetDefinitions_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::Circuits.Shared.Utilities.Protobuf.SOAId32Data AssetDefinitions {
      get { return assetDefinitions_; }
      set {
        assetDefinitions_ = value;
      }
    }

    /// <summary>Field number for the "asset_origin_ids" field.</summary>
    public const int AssetOriginIdsFieldNumber = 2;
    private static readonly pb::FieldCodec<global::Circuits.Shared.Api.Protobuf.Id128Data> _repeated_assetOriginIds_codec
        = pb::FieldCodec.ForMessage(18, global::Circuits.Shared.Api.Protobuf.Id128Data.Parser);
    private readonly pbc::RepeatedField<global::Circuits.Shared.Api.Protobuf.Id128Data> assetOriginIds_ = new pbc::RepeatedField<global::Circuits.Shared.Api.Protobuf.Id128Data>();
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public pbc::RepeatedField<global::Circuits.Shared.Api.Protobuf.Id128Data> AssetOriginIds {
      get { return assetOriginIds_; }
    }

    /// <summary>Field number for the "asset_kinds" field.</summary>
    public const int AssetKindsFieldNumber = 3;
    private static readonly pb::FieldCodec<int> _repeated_assetKinds_codec
        = pb::FieldCodec.ForInt32(26);
    private readonly pbc::RepeatedField<int> assetKinds_ = new pbc::RepeatedField<int>();
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public pbc::RepeatedField<int> AssetKinds {
      get { return assetKinds_; }
    }

    /// <summary>Field number for the "asset_id_join_ids" field.</summary>
    public const int AssetIdJoinIdsFieldNumber = 4;
    private static readonly pb::FieldCodec<int> _repeated_assetIdJoinIds_codec
        = pb::FieldCodec.ForInt32(34);
    private readonly pbc::RepeatedField<int> assetIdJoinIds_ = new pbc::RepeatedField<int>();
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public pbc::RepeatedField<int> AssetIdJoinIds {
      get { return assetIdJoinIds_; }
    }

    /// <summary>Field number for the "asset_id_32_ids" field.</summary>
    public const int AssetId32IdsFieldNumber = 5;
    private global::Circuits.Shared.Utilities.Protobuf.SOAId32Data assetId32Ids_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::Circuits.Shared.Utilities.Protobuf.SOAId32Data AssetId32Ids {
      get { return assetId32Ids_; }
      set {
        assetId32Ids_ = value;
      }
    }

    /// <summary>Field number for the "asset_id_32s" field.</summary>
    public const int AssetId32SFieldNumber = 6;
    private static readonly pb::FieldCodec<int> _repeated_assetId32S_codec
        = pb::FieldCodec.ForInt32(50);
    private readonly pbc::RepeatedField<int> assetId32S_ = new pbc::RepeatedField<int>();
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public pbc::RepeatedField<int> AssetId32S {
      get { return assetId32S_; }
    }

    /// <summary>Field number for the "asset_id_128_ids" field.</summary>
    public const int AssetId128IdsFieldNumber = 7;
    private global::Circuits.Shared.Utilities.Protobuf.SOAId32Data assetId128Ids_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::Circuits.Shared.Utilities.Protobuf.SOAId32Data AssetId128Ids {
      get { return assetId128Ids_; }
      set {
        assetId128Ids_ = value;
      }
    }

    /// <summary>Field number for the "asset_id_128s" field.</summary>
    public const int AssetId128SFieldNumber = 8;
    private static readonly pb::FieldCodec<global::RecRoom.Protobuf.Core.GuidData> _repeated_assetId128S_codec
        = pb::FieldCodec.ForMessage(66, global::RecRoom.Protobuf.Core.GuidData.Parser);
    private readonly pbc::RepeatedField<global::RecRoom.Protobuf.Core.GuidData> assetId128S_ = new pbc::RepeatedField<global::RecRoom.Protobuf.Core.GuidData>();
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public pbc::RepeatedField<global::RecRoom.Protobuf.Core.GuidData> AssetId128S {
      get { return assetId128S_; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override bool Equals(object other) {
      return Equals(other as RoomAssetsStateData);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool Equals(RoomAssetsStateData other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if (!object.Equals(AssetDefinitions, other.AssetDefinitions)) return false;
      if(!assetOriginIds_.Equals(other.assetOriginIds_)) return false;
      if(!assetKinds_.Equals(other.assetKinds_)) return false;
      if(!assetIdJoinIds_.Equals(other.assetIdJoinIds_)) return false;
      if (!object.Equals(AssetId32Ids, other.AssetId32Ids)) return false;
      if(!assetId32S_.Equals(other.assetId32S_)) return false;
      if (!object.Equals(AssetId128Ids, other.AssetId128Ids)) return false;
      if(!assetId128S_.Equals(other.assetId128S_)) 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 (assetDefinitions_ != null) hash ^= AssetDefinitions.GetHashCode();
      hash ^= assetOriginIds_.GetHashCode();
      hash ^= assetKinds_.GetHashCode();
      hash ^= assetIdJoinIds_.GetHashCode();
      if (assetId32Ids_ != null) hash ^= AssetId32Ids.GetHashCode();
      hash ^= assetId32S_.GetHashCode();
      if (assetId128Ids_ != null) hash ^= AssetId128Ids.GetHashCode();
      hash ^= assetId128S_.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 (assetDefinitions_ != null) {
        output.WriteRawTag(10);
        output.WriteMessage(AssetDefinitions);
      }
      assetOriginIds_.WriteTo(output, _repeated_assetOriginIds_codec);
      assetKinds_.WriteTo(output, _repeated_assetKinds_codec);
      assetIdJoinIds_.WriteTo(output, _repeated_assetIdJoinIds_codec);
      if (assetId32Ids_ != null) {
        output.WriteRawTag(42);
        output.WriteMessage(AssetId32Ids);
      }
      assetId32S_.WriteTo(output, _repeated_assetId32S_codec);
      if (assetId128Ids_ != null) {
        output.WriteRawTag(58);
        output.WriteMessage(AssetId128Ids);
      }
      assetId128S_.WriteTo(output, _repeated_assetId128S_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 (assetDefinitions_ != null) {
        output.WriteRawTag(10);
        output.WriteMessage(AssetDefinitions);
      }
      assetOriginIds_.WriteTo(ref output, _repeated_assetOriginIds_codec);
      assetKinds_.WriteTo(ref output, _repeated_assetKinds_codec);
      assetIdJoinIds_.WriteTo(ref output, _repeated_assetIdJoinIds_codec);
      if (assetId32Ids_ != null) {
        output.WriteRawTag(42);
        output.WriteMessage(AssetId32Ids);
      }
      assetId32S_.WriteTo(ref output, _repeated_assetId32S_codec);
      if (assetId128Ids_ != null) {
        output.WriteRawTag(58);
        output.WriteMessage(AssetId128Ids);
      }
      assetId128S_.WriteTo(ref output, _repeated_assetId128S_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 (assetDefinitions_ != null) {
        size += 1 + pb::CodedOutputStream.ComputeMessageSize(AssetDefinitions);
      }
      size += assetOriginIds_.CalculateSize(_repeated_assetOriginIds_codec);
      size += assetKinds_.CalculateSize(_repeated_assetKinds_codec);
      size += assetIdJoinIds_.CalculateSize(_repeated_assetIdJoinIds_codec);
      if (assetId32Ids_ != null) {
        size += 1 + pb::CodedOutputStream.ComputeMessageSize(AssetId32Ids);
      }
      size += assetId32S_.CalculateSize(_repeated_assetId32S_codec);
      if (assetId128Ids_ != null) {
        size += 1 + pb::CodedOutputStream.ComputeMessageSize(AssetId128Ids);
      }
      size += assetId128S_.CalculateSize(_repeated_assetId128S_codec);
      if (_unknownFields != null) {
        size += _unknownFields.CalculateSize();
      }
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(RoomAssetsStateData other) {
      if (other == null) {
        return;
      }
      if (other.assetDefinitions_ != null) {
        if (assetDefinitions_ == null) {
          AssetDefinitions = new global::Circuits.Shared.Utilities.Protobuf.SOAId32Data();
        }
        AssetDefinitions.MergeFrom(other.AssetDefinitions);
      }
      assetOriginIds_.Add(other.assetOriginIds_);
      assetKinds_.Add(other.assetKinds_);
      assetIdJoinIds_.Add(other.assetIdJoinIds_);
      if (other.assetId32Ids_ != null) {
        if (assetId32Ids_ == null) {
          AssetId32Ids = new global::Circuits.Shared.Utilities.Protobuf.SOAId32Data();
        }
        AssetId32Ids.MergeFrom(other.AssetId32Ids);
      }
      assetId32S_.Add(other.assetId32S_);
      if (other.assetId128Ids_ != null) {
        if (assetId128Ids_ == null) {
          AssetId128Ids = new global::Circuits.Shared.Utilities.Protobuf.SOAId32Data();
        }
        AssetId128Ids.MergeFrom(other.AssetId128Ids);
      }
      assetId128S_.Add(other.assetId128S_);
      _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 (assetDefinitions_ == null) {
              AssetDefinitions = new global::Circuits.Shared.Utilities.Protobuf.SOAId32Data();
            }
            input.ReadMessage(AssetDefinitions);
            break;
          }
          case 18: {
            assetOriginIds_.AddEntriesFrom(input, _repeated_assetOriginIds_codec);
            break;
          }
          case 26:
          case 24: {
            assetKinds_.AddEntriesFrom(input, _repeated_assetKinds_codec);
            break;
          }
          case 34:
          case 32: {
            assetIdJoinIds_.AddEntriesFrom(input, _repeated_assetIdJoinIds_codec);
            break;
          }
          case 42: {
            if (assetId32Ids_ == null) {
              AssetId32Ids = new global::Circuits.Shared.Utilities.Protobuf.SOAId32Data();
            }
            input.ReadMessage(AssetId32Ids);
            break;
          }
          case 50:
          case 48: {
            assetId32S_.AddEntriesFrom(input, _repeated_assetId32S_codec);
            break;
          }
          case 58: {
            if (assetId128Ids_ == null) {
              AssetId128Ids = new global::Circuits.Shared.Utilities.Protobuf.SOAId32Data();
            }
            input.ReadMessage(AssetId128Ids);
            break;
          }
          case 66: {
            assetId128S_.AddEntriesFrom(input, _repeated_assetId128S_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 (assetDefinitions_ == null) {
              AssetDefinitions = new global::Circuits.Shared.Utilities.Protobuf.SOAId32Data();
            }
            input.ReadMessage(AssetDefinitions);
            break;
          }
          case 18: {
            assetOriginIds_.AddEntriesFrom(ref input, _repeated_assetOriginIds_codec);
            break;
          }
          case 26:
          case 24: {
            assetKinds_.AddEntriesFrom(ref input, _repeated_assetKinds_codec);
            break;
          }
          case 34:
          case 32: {
            assetIdJoinIds_.AddEntriesFrom(ref input, _repeated_assetIdJoinIds_codec);
            break;
          }
          case 42: {
            if (assetId32Ids_ == null) {
              AssetId32Ids = new global::Circuits.Shared.Utilities.Protobuf.SOAId32Data();
            }
            input.ReadMessage(AssetId32Ids);
            break;
          }
          case 50:
          case 48: {
            assetId32S_.AddEntriesFrom(ref input, _repeated_assetId32S_codec);
            break;
          }
          case 58: {
            if (assetId128Ids_ == null) {
              AssetId128Ids = new global::Circuits.Shared.Utilities.Protobuf.SOAId32Data();
            }
            input.ReadMessage(AssetId128Ids);
            break;
          }
          case 66: {
            assetId128S_.AddEntriesFrom(ref input, _repeated_assetId128S_codec);
            break;
          }
        }
      }
    }
    #endif

  }

  #endregion

}

#endregion Designer generated code
