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

393 lines
13 KiB
C#

// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: rec_room/persistence/text_screen_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/text_screen_data.proto</summary>
public static partial class TextScreenDataReflection {
#region Descriptor
/// <summary>File descriptor for rec_room/persistence/text_screen_data.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static TextScreenDataReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"CityZWNfcm9vbS9wZXJzaXN0ZW5jZS90ZXh0X3NjcmVlbl9kYXRhLnByb3Rv",
"EghyZWNfcm9vbSJ5Cg5UZXh0U2NyZWVuRGF0YRINCgVtdXRlZBgBIAEoCBIQ",
"CghjaGFubmVscxgCIAEoBRIXCg9zaG93X3RpbWVzdGFtcHMYAyABKAgSFwoP",
"c2hvd19lcnJvcl9sb2dzGAQgASgIEhQKDHN5bmNfY29udGVudBgFIAEoCEIT",
"qgIQUmVjUm9vbS5Qcm90b2J1ZmIGcHJvdG8z"));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::RecRoom.Protobuf.TextScreenData), global::RecRoom.Protobuf.TextScreenData.Parser, new[]{ "Muted", "Channels", "ShowTimestamps", "ShowErrorLogs", "SyncContent" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class TextScreenData : pb::IMessage<TextScreenData>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<TextScreenData> _parser = new pb::MessageParser<TextScreenData>(() => new TextScreenData());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<TextScreenData> 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.TextScreenDataReflection.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 TextScreenData() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public TextScreenData(TextScreenData other) : this() {
muted_ = other.muted_;
channels_ = other.channels_;
showTimestamps_ = other.showTimestamps_;
showErrorLogs_ = other.showErrorLogs_;
syncContent_ = other.syncContent_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public TextScreenData Clone() {
return new TextScreenData(this);
}
/// <summary>Field number for the "muted" field.</summary>
public const int MutedFieldNumber = 1;
private bool muted_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Muted {
get { return muted_; }
set {
muted_ = value;
}
}
/// <summary>Field number for the "channels" field.</summary>
public const int ChannelsFieldNumber = 2;
private int channels_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int Channels {
get { return channels_; }
set {
channels_ = value;
}
}
/// <summary>Field number for the "show_timestamps" field.</summary>
public const int ShowTimestampsFieldNumber = 3;
private bool showTimestamps_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool ShowTimestamps {
get { return showTimestamps_; }
set {
showTimestamps_ = value;
}
}
/// <summary>Field number for the "show_error_logs" field.</summary>
public const int ShowErrorLogsFieldNumber = 4;
private bool showErrorLogs_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool ShowErrorLogs {
get { return showErrorLogs_; }
set {
showErrorLogs_ = value;
}
}
/// <summary>Field number for the "sync_content" field.</summary>
public const int SyncContentFieldNumber = 5;
private bool syncContent_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool SyncContent {
get { return syncContent_; }
set {
syncContent_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as TextScreenData);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(TextScreenData other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Muted != other.Muted) return false;
if (Channels != other.Channels) return false;
if (ShowTimestamps != other.ShowTimestamps) return false;
if (ShowErrorLogs != other.ShowErrorLogs) return false;
if (SyncContent != other.SyncContent) 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 (Muted != false) hash ^= Muted.GetHashCode();
if (Channels != 0) hash ^= Channels.GetHashCode();
if (ShowTimestamps != false) hash ^= ShowTimestamps.GetHashCode();
if (ShowErrorLogs != false) hash ^= ShowErrorLogs.GetHashCode();
if (SyncContent != false) hash ^= SyncContent.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 (Muted != false) {
output.WriteRawTag(8);
output.WriteBool(Muted);
}
if (Channels != 0) {
output.WriteRawTag(16);
output.WriteInt32(Channels);
}
if (ShowTimestamps != false) {
output.WriteRawTag(24);
output.WriteBool(ShowTimestamps);
}
if (ShowErrorLogs != false) {
output.WriteRawTag(32);
output.WriteBool(ShowErrorLogs);
}
if (SyncContent != false) {
output.WriteRawTag(40);
output.WriteBool(SyncContent);
}
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 (Muted != false) {
output.WriteRawTag(8);
output.WriteBool(Muted);
}
if (Channels != 0) {
output.WriteRawTag(16);
output.WriteInt32(Channels);
}
if (ShowTimestamps != false) {
output.WriteRawTag(24);
output.WriteBool(ShowTimestamps);
}
if (ShowErrorLogs != false) {
output.WriteRawTag(32);
output.WriteBool(ShowErrorLogs);
}
if (SyncContent != false) {
output.WriteRawTag(40);
output.WriteBool(SyncContent);
}
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 (Muted != false) {
size += 1 + 1;
}
if (Channels != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Channels);
}
if (ShowTimestamps != false) {
size += 1 + 1;
}
if (ShowErrorLogs != false) {
size += 1 + 1;
}
if (SyncContent != 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(TextScreenData other) {
if (other == null) {
return;
}
if (other.Muted != false) {
Muted = other.Muted;
}
if (other.Channels != 0) {
Channels = other.Channels;
}
if (other.ShowTimestamps != false) {
ShowTimestamps = other.ShowTimestamps;
}
if (other.ShowErrorLogs != false) {
ShowErrorLogs = other.ShowErrorLogs;
}
if (other.SyncContent != false) {
SyncContent = other.SyncContent;
}
_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: {
Muted = input.ReadBool();
break;
}
case 16: {
Channels = input.ReadInt32();
break;
}
case 24: {
ShowTimestamps = input.ReadBool();
break;
}
case 32: {
ShowErrorLogs = input.ReadBool();
break;
}
case 40: {
SyncContent = 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 8: {
Muted = input.ReadBool();
break;
}
case 16: {
Channels = input.ReadInt32();
break;
}
case 24: {
ShowTimestamps = input.ReadBool();
break;
}
case 32: {
ShowErrorLogs = input.ReadBool();
break;
}
case 40: {
SyncContent = input.ReadBool();
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code