// <auto-generated>
//     Generated by the protocol buffer compiler.  DO NOT EDIT!
//     source: rec_room/persistence/audio_sampler_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.Protobuf {

  /// <summary>Holder for reflection information generated from rec_room/persistence/audio_sampler_data.proto</summary>
  public static partial class AudioSamplerDataReflection {

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

    static AudioSamplerDataReflection() {
      byte[] descriptorData = global::System.Convert.FromBase64String(
          string.Concat(
            "Ci1yZWNfcm9vbS9wZXJzaXN0ZW5jZS9hdWRpb19zYW1wbGVyX2RhdGEucHJv",
            "dG8SCHJlY19yb29tGiByZWNfcm9vbS9hdWRpb19zdHJlYW1fZGF0YS5wcm90",
            "byJrChRBdWRpb1NhbXBsZXJCbG9iRGF0YRISCgpjcmVhdG9yX2lkGAEgASgF",
            "EhAKCGR1cmF0aW9uGAIgASgCEi0KCmF1ZGlvX2RhdGEYAyABKAsyGS5yZWNf",
            "cm9vbS5BdWRpb1N0cmVhbURhdGEiogEKG0F1ZGlvU2FtcGxlclBlcnNpc3Rl",
            "bmNlRGF0YRIRCglibG9iX25hbWUYASABKAkSFAoMdXNlXzJkX2F1ZGlvGAMg",
            "ASgIEg8KB2NoYW5uZWwYBCABKAUSFAoMc3RhcnRfb2Zmc2V0GAUgASgCEhIK",
            "CmVuZF9vZmZzZXQYBiABKAISHwoXaW50ZXJydXB0X2N1cnJlbnRfc291bmQY",
            "ByABKAhCE6oCEFJlY1Jvb20uUHJvdG9idWZiBnByb3RvMw=="));
      descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
          new pbr::FileDescriptor[] { global::RecRoom.Protobuf.AudioStreamDataReflection.Descriptor, },
          new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
            new pbr::GeneratedClrTypeInfo(typeof(global::RecRoom.Protobuf.AudioSamplerBlobData), global::RecRoom.Protobuf.AudioSamplerBlobData.Parser, new[]{ "CreatorId", "Duration", "AudioData" }, null, null, null, null),
            new pbr::GeneratedClrTypeInfo(typeof(global::RecRoom.Protobuf.AudioSamplerPersistenceData), global::RecRoom.Protobuf.AudioSamplerPersistenceData.Parser, new[]{ "BlobName", "Use2DAudio", "Channel", "StartOffset", "EndOffset", "InterruptCurrentSound" }, null, null, null, null)
          }));
    }
    #endregion

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

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public AudioSamplerBlobData(AudioSamplerBlobData other) : this() {
      creatorId_ = other.creatorId_;
      duration_ = other.duration_;
      audioData_ = other.audioData_ != null ? other.audioData_.Clone() : null;
      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
    }

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

    /// <summary>Field number for the "creator_id" field.</summary>
    public const int CreatorIdFieldNumber = 1;
    private int creatorId_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public int CreatorId {
      get { return creatorId_; }
      set {
        creatorId_ = value;
      }
    }

    /// <summary>Field number for the "duration" field.</summary>
    public const int DurationFieldNumber = 2;
    private float duration_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public float Duration {
      get { return duration_; }
      set {
        duration_ = value;
      }
    }

    /// <summary>Field number for the "audio_data" field.</summary>
    public const int AudioDataFieldNumber = 3;
    private global::RecRoom.Protobuf.AudioStreamData audioData_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::RecRoom.Protobuf.AudioStreamData AudioData {
      get { return audioData_; }
      set {
        audioData_ = value;
      }
    }

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

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool Equals(AudioSamplerBlobData other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if (CreatorId != other.CreatorId) return false;
      if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Duration, other.Duration)) return false;
      if (!object.Equals(AudioData, other.AudioData)) 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 (CreatorId != 0) hash ^= CreatorId.GetHashCode();
      if (Duration != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Duration);
      if (audioData_ != null) hash ^= AudioData.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 (CreatorId != 0) {
        output.WriteRawTag(8);
        output.WriteInt32(CreatorId);
      }
      if (Duration != 0F) {
        output.WriteRawTag(21);
        output.WriteFloat(Duration);
      }
      if (audioData_ != null) {
        output.WriteRawTag(26);
        output.WriteMessage(AudioData);
      }
      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 (CreatorId != 0) {
        output.WriteRawTag(8);
        output.WriteInt32(CreatorId);
      }
      if (Duration != 0F) {
        output.WriteRawTag(21);
        output.WriteFloat(Duration);
      }
      if (audioData_ != null) {
        output.WriteRawTag(26);
        output.WriteMessage(AudioData);
      }
      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 (CreatorId != 0) {
        size += 1 + pb::CodedOutputStream.ComputeInt32Size(CreatorId);
      }
      if (Duration != 0F) {
        size += 1 + 4;
      }
      if (audioData_ != null) {
        size += 1 + pb::CodedOutputStream.ComputeMessageSize(AudioData);
      }
      if (_unknownFields != null) {
        size += _unknownFields.CalculateSize();
      }
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(AudioSamplerBlobData other) {
      if (other == null) {
        return;
      }
      if (other.CreatorId != 0) {
        CreatorId = other.CreatorId;
      }
      if (other.Duration != 0F) {
        Duration = other.Duration;
      }
      if (other.audioData_ != null) {
        if (audioData_ == null) {
          AudioData = new global::RecRoom.Protobuf.AudioStreamData();
        }
        AudioData.MergeFrom(other.AudioData);
      }
      _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 8: {
            CreatorId = input.ReadInt32();
            break;
          }
          case 21: {
            Duration = input.ReadFloat();
            break;
          }
          case 26: {
            if (audioData_ == null) {
              AudioData = new global::RecRoom.Protobuf.AudioStreamData();
            }
            input.ReadMessage(AudioData);
            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 8: {
            CreatorId = input.ReadInt32();
            break;
          }
          case 21: {
            Duration = input.ReadFloat();
            break;
          }
          case 26: {
            if (audioData_ == null) {
              AudioData = new global::RecRoom.Protobuf.AudioStreamData();
            }
            input.ReadMessage(AudioData);
            break;
          }
        }
      }
    }
    #endif

  }

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

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public AudioSamplerPersistenceData(AudioSamplerPersistenceData other) : this() {
      blobName_ = other.blobName_;
      use2DAudio_ = other.use2DAudio_;
      channel_ = other.channel_;
      startOffset_ = other.startOffset_;
      endOffset_ = other.endOffset_;
      interruptCurrentSound_ = other.interruptCurrentSound_;
      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
    }

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

    /// <summary>Field number for the "blob_name" field.</summary>
    public const int BlobNameFieldNumber = 1;
    private string blobName_ = "";
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public string BlobName {
      get { return blobName_; }
      set {
        blobName_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
      }
    }

    /// <summary>Field number for the "use_2d_audio" field.</summary>
    public const int Use2DAudioFieldNumber = 3;
    private bool use2DAudio_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool Use2DAudio {
      get { return use2DAudio_; }
      set {
        use2DAudio_ = value;
      }
    }

    /// <summary>Field number for the "channel" field.</summary>
    public const int ChannelFieldNumber = 4;
    private int channel_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public int Channel {
      get { return channel_; }
      set {
        channel_ = value;
      }
    }

    /// <summary>Field number for the "start_offset" field.</summary>
    public const int StartOffsetFieldNumber = 5;
    private float startOffset_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public float StartOffset {
      get { return startOffset_; }
      set {
        startOffset_ = value;
      }
    }

    /// <summary>Field number for the "end_offset" field.</summary>
    public const int EndOffsetFieldNumber = 6;
    private float endOffset_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public float EndOffset {
      get { return endOffset_; }
      set {
        endOffset_ = value;
      }
    }

    /// <summary>Field number for the "interrupt_current_sound" field.</summary>
    public const int InterruptCurrentSoundFieldNumber = 7;
    private bool interruptCurrentSound_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool InterruptCurrentSound {
      get { return interruptCurrentSound_; }
      set {
        interruptCurrentSound_ = value;
      }
    }

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

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool Equals(AudioSamplerPersistenceData other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if (BlobName != other.BlobName) return false;
      if (Use2DAudio != other.Use2DAudio) return false;
      if (Channel != other.Channel) return false;
      if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(StartOffset, other.StartOffset)) return false;
      if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(EndOffset, other.EndOffset)) return false;
      if (InterruptCurrentSound != other.InterruptCurrentSound) 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 (BlobName.Length != 0) hash ^= BlobName.GetHashCode();
      if (Use2DAudio != false) hash ^= Use2DAudio.GetHashCode();
      if (Channel != 0) hash ^= Channel.GetHashCode();
      if (StartOffset != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(StartOffset);
      if (EndOffset != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(EndOffset);
      if (InterruptCurrentSound != false) hash ^= InterruptCurrentSound.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 (BlobName.Length != 0) {
        output.WriteRawTag(10);
        output.WriteString(BlobName);
      }
      if (Use2DAudio != false) {
        output.WriteRawTag(24);
        output.WriteBool(Use2DAudio);
      }
      if (Channel != 0) {
        output.WriteRawTag(32);
        output.WriteInt32(Channel);
      }
      if (StartOffset != 0F) {
        output.WriteRawTag(45);
        output.WriteFloat(StartOffset);
      }
      if (EndOffset != 0F) {
        output.WriteRawTag(53);
        output.WriteFloat(EndOffset);
      }
      if (InterruptCurrentSound != false) {
        output.WriteRawTag(56);
        output.WriteBool(InterruptCurrentSound);
      }
      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 (BlobName.Length != 0) {
        output.WriteRawTag(10);
        output.WriteString(BlobName);
      }
      if (Use2DAudio != false) {
        output.WriteRawTag(24);
        output.WriteBool(Use2DAudio);
      }
      if (Channel != 0) {
        output.WriteRawTag(32);
        output.WriteInt32(Channel);
      }
      if (StartOffset != 0F) {
        output.WriteRawTag(45);
        output.WriteFloat(StartOffset);
      }
      if (EndOffset != 0F) {
        output.WriteRawTag(53);
        output.WriteFloat(EndOffset);
      }
      if (InterruptCurrentSound != false) {
        output.WriteRawTag(56);
        output.WriteBool(InterruptCurrentSound);
      }
      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 (BlobName.Length != 0) {
        size += 1 + pb::CodedOutputStream.ComputeStringSize(BlobName);
      }
      if (Use2DAudio != false) {
        size += 1 + 1;
      }
      if (Channel != 0) {
        size += 1 + pb::CodedOutputStream.ComputeInt32Size(Channel);
      }
      if (StartOffset != 0F) {
        size += 1 + 4;
      }
      if (EndOffset != 0F) {
        size += 1 + 4;
      }
      if (InterruptCurrentSound != 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(AudioSamplerPersistenceData other) {
      if (other == null) {
        return;
      }
      if (other.BlobName.Length != 0) {
        BlobName = other.BlobName;
      }
      if (other.Use2DAudio != false) {
        Use2DAudio = other.Use2DAudio;
      }
      if (other.Channel != 0) {
        Channel = other.Channel;
      }
      if (other.StartOffset != 0F) {
        StartOffset = other.StartOffset;
      }
      if (other.EndOffset != 0F) {
        EndOffset = other.EndOffset;
      }
      if (other.InterruptCurrentSound != false) {
        InterruptCurrentSound = other.InterruptCurrentSound;
      }
      _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: {
            BlobName = input.ReadString();
            break;
          }
          case 24: {
            Use2DAudio = input.ReadBool();
            break;
          }
          case 32: {
            Channel = input.ReadInt32();
            break;
          }
          case 45: {
            StartOffset = input.ReadFloat();
            break;
          }
          case 53: {
            EndOffset = input.ReadFloat();
            break;
          }
          case 56: {
            InterruptCurrentSound = 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) {
      if ((tag & 7) == 4) {
        // Abort on any end group tag.
        return;
      }
      switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
            break;
          case 10: {
            BlobName = input.ReadString();
            break;
          }
          case 24: {
            Use2DAudio = input.ReadBool();
            break;
          }
          case 32: {
            Channel = input.ReadInt32();
            break;
          }
          case 45: {
            StartOffset = input.ReadFloat();
            break;
          }
          case 53: {
            EndOffset = input.ReadFloat();
            break;
          }
          case 56: {
            InterruptCurrentSound = input.ReadBool();
            break;
          }
        }
      }
    }
    #endif

  }

  #endregion

}

#endregion Designer generated code
