//
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: rec_room/persistence/remote_video_player_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/remote_video_player_data.proto
public static partial class RemoteVideoPlayerDataReflection {
#region Descriptor
/// File descriptor for rec_room/persistence/remote_video_player_data.proto
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static RemoteVideoPlayerDataReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"CjNyZWNfcm9vbS9wZXJzaXN0ZW5jZS9yZW1vdGVfdmlkZW9fcGxheWVyX2Rh",
"dGEucHJvdG8SCHJlY19yb29tIoYBChVSZW1vdGVWaWRlb1BsYXllckRhdGES",
"EQoJdmlkZW9fdXJsGAEgASgJEhQKDGF1ZGlvX3ZvbHVtZRgCIAEoAhISCgpp",
"c19sb29waW5nGAMgASgIEhkKEXVzZXNfZGlyZWN0X2F1ZGlvGAQgASgIEhUK",
"DWF1ZGlvX2NoYW5uZWwYBSABKAVCE6oCEFJlY1Jvb20uUHJvdG9idWZiBnBy",
"b3RvMw=="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::RecRoom.Protobuf.RemoteVideoPlayerData), global::RecRoom.Protobuf.RemoteVideoPlayerData.Parser, new[]{ "VideoUrl", "AudioVolume", "IsLooping", "UsesDirectAudio", "AudioChannel" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class RemoteVideoPlayerData : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RemoteVideoPlayerData());
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.RemoteVideoPlayerDataReflection.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 RemoteVideoPlayerData() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public RemoteVideoPlayerData(RemoteVideoPlayerData other) : this() {
videoUrl_ = other.videoUrl_;
audioVolume_ = other.audioVolume_;
isLooping_ = other.isLooping_;
usesDirectAudio_ = other.usesDirectAudio_;
audioChannel_ = other.audioChannel_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public RemoteVideoPlayerData Clone() {
return new RemoteVideoPlayerData(this);
}
/// Field number for the "video_url" field.
public const int VideoUrlFieldNumber = 1;
private string videoUrl_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string VideoUrl {
get { return videoUrl_; }
set {
videoUrl_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Field number for the "audio_volume" field.
public const int AudioVolumeFieldNumber = 2;
private float audioVolume_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public float AudioVolume {
get { return audioVolume_; }
set {
audioVolume_ = value;
}
}
/// Field number for the "is_looping" field.
public const int IsLoopingFieldNumber = 3;
private bool isLooping_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool IsLooping {
get { return isLooping_; }
set {
isLooping_ = value;
}
}
/// Field number for the "uses_direct_audio" field.
public const int UsesDirectAudioFieldNumber = 4;
private bool usesDirectAudio_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool UsesDirectAudio {
get { return usesDirectAudio_; }
set {
usesDirectAudio_ = value;
}
}
/// Field number for the "audio_channel" field.
public const int AudioChannelFieldNumber = 5;
private int audioChannel_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int AudioChannel {
get { return audioChannel_; }
set {
audioChannel_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as RemoteVideoPlayerData);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(RemoteVideoPlayerData other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (VideoUrl != other.VideoUrl) return false;
if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(AudioVolume, other.AudioVolume)) return false;
if (IsLooping != other.IsLooping) return false;
if (UsesDirectAudio != other.UsesDirectAudio) return false;
if (AudioChannel != other.AudioChannel) 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 (VideoUrl.Length != 0) hash ^= VideoUrl.GetHashCode();
if (AudioVolume != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(AudioVolume);
if (IsLooping != false) hash ^= IsLooping.GetHashCode();
if (UsesDirectAudio != false) hash ^= UsesDirectAudio.GetHashCode();
if (AudioChannel != 0) hash ^= AudioChannel.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 (VideoUrl.Length != 0) {
output.WriteRawTag(10);
output.WriteString(VideoUrl);
}
if (AudioVolume != 0F) {
output.WriteRawTag(21);
output.WriteFloat(AudioVolume);
}
if (IsLooping != false) {
output.WriteRawTag(24);
output.WriteBool(IsLooping);
}
if (UsesDirectAudio != false) {
output.WriteRawTag(32);
output.WriteBool(UsesDirectAudio);
}
if (AudioChannel != 0) {
output.WriteRawTag(40);
output.WriteInt32(AudioChannel);
}
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 (VideoUrl.Length != 0) {
output.WriteRawTag(10);
output.WriteString(VideoUrl);
}
if (AudioVolume != 0F) {
output.WriteRawTag(21);
output.WriteFloat(AudioVolume);
}
if (IsLooping != false) {
output.WriteRawTag(24);
output.WriteBool(IsLooping);
}
if (UsesDirectAudio != false) {
output.WriteRawTag(32);
output.WriteBool(UsesDirectAudio);
}
if (AudioChannel != 0) {
output.WriteRawTag(40);
output.WriteInt32(AudioChannel);
}
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 (VideoUrl.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(VideoUrl);
}
if (AudioVolume != 0F) {
size += 1 + 4;
}
if (IsLooping != false) {
size += 1 + 1;
}
if (UsesDirectAudio != false) {
size += 1 + 1;
}
if (AudioChannel != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(AudioChannel);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(RemoteVideoPlayerData other) {
if (other == null) {
return;
}
if (other.VideoUrl.Length != 0) {
VideoUrl = other.VideoUrl;
}
if (other.AudioVolume != 0F) {
AudioVolume = other.AudioVolume;
}
if (other.IsLooping != false) {
IsLooping = other.IsLooping;
}
if (other.UsesDirectAudio != false) {
UsesDirectAudio = other.UsesDirectAudio;
}
if (other.AudioChannel != 0) {
AudioChannel = other.AudioChannel;
}
_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: {
VideoUrl = input.ReadString();
break;
}
case 21: {
AudioVolume = input.ReadFloat();
break;
}
case 24: {
IsLooping = input.ReadBool();
break;
}
case 32: {
UsesDirectAudio = input.ReadBool();
break;
}
case 40: {
AudioChannel = input.ReadInt32();
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: {
VideoUrl = input.ReadString();
break;
}
case 21: {
AudioVolume = input.ReadFloat();
break;
}
case 24: {
IsLooping = input.ReadBool();
break;
}
case 32: {
UsesDirectAudio = input.ReadBool();
break;
}
case 40: {
AudioChannel = input.ReadInt32();
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code