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

545 lines
19 KiB
C#

// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: circuits_v2/notification/banner_notification_node_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/notification/banner_notification_node_data.proto</summary>
public static partial class BannerNotificationNodeDataReflection {
#region Descriptor
/// <summary>File descriptor for circuits_v2/notification/banner_notification_node_data.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static BannerNotificationNodeDataReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"CjxjaXJjdWl0c192Mi9ub3RpZmljYXRpb24vYmFubmVyX25vdGlmaWNhdGlv",
"bl9ub2RlX2RhdGEucHJvdG8SC2NpcmN1aXRzX3YyIv8BChpCYW5uZXJOb3Rp",
"ZmljYXRpb25Ob2RlRGF0YRIQCghwb3NpdGlvbhgBIAEoBRIYChB0aXRsZV90",
"ZXh0X2NvbG9yGAIgASgFEh4KFnRpdGxlX2JhY2tncm91bmRfY29sb3IYAyAB",
"KAUSFwoPdGl0bGVfdGV4dF9zaXplGAQgASgFEhcKD21haW5fdGV4dF9jb2xv",
"chgFIAEoBRIiChptYWluX3RleHRfYmFja2dyb3VuZF9jb2xvchgGIAEoBRIW",
"Cg5tYWluX3RleHRfc2l6ZRgHIAEoBRISCgpsZWZ0X2Vtb2ppGAggASgJEhMK",
"C3JpZ2h0X2Vtb2ppGAkgASgJQhaqAhNDaXJjdWl0c1YyLlByb3RvYnVmYgZw",
"cm90bzM="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::CircuitsV2.Protobuf.BannerNotificationNodeData), global::CircuitsV2.Protobuf.BannerNotificationNodeData.Parser, new[]{ "Position", "TitleTextColor", "TitleBackgroundColor", "TitleTextSize", "MainTextColor", "MainTextBackgroundColor", "MainTextSize", "LeftEmoji", "RightEmoji" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class BannerNotificationNodeData : pb::IMessage<BannerNotificationNodeData>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<BannerNotificationNodeData> _parser = new pb::MessageParser<BannerNotificationNodeData>(() => new BannerNotificationNodeData());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<BannerNotificationNodeData> 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.BannerNotificationNodeDataReflection.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 BannerNotificationNodeData() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public BannerNotificationNodeData(BannerNotificationNodeData other) : this() {
position_ = other.position_;
titleTextColor_ = other.titleTextColor_;
titleBackgroundColor_ = other.titleBackgroundColor_;
titleTextSize_ = other.titleTextSize_;
mainTextColor_ = other.mainTextColor_;
mainTextBackgroundColor_ = other.mainTextBackgroundColor_;
mainTextSize_ = other.mainTextSize_;
leftEmoji_ = other.leftEmoji_;
rightEmoji_ = other.rightEmoji_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public BannerNotificationNodeData Clone() {
return new BannerNotificationNodeData(this);
}
/// <summary>Field number for the "position" field.</summary>
public const int PositionFieldNumber = 1;
private int position_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int Position {
get { return position_; }
set {
position_ = value;
}
}
/// <summary>Field number for the "title_text_color" field.</summary>
public const int TitleTextColorFieldNumber = 2;
private int titleTextColor_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int TitleTextColor {
get { return titleTextColor_; }
set {
titleTextColor_ = value;
}
}
/// <summary>Field number for the "title_background_color" field.</summary>
public const int TitleBackgroundColorFieldNumber = 3;
private int titleBackgroundColor_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int TitleBackgroundColor {
get { return titleBackgroundColor_; }
set {
titleBackgroundColor_ = value;
}
}
/// <summary>Field number for the "title_text_size" field.</summary>
public const int TitleTextSizeFieldNumber = 4;
private int titleTextSize_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int TitleTextSize {
get { return titleTextSize_; }
set {
titleTextSize_ = value;
}
}
/// <summary>Field number for the "main_text_color" field.</summary>
public const int MainTextColorFieldNumber = 5;
private int mainTextColor_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int MainTextColor {
get { return mainTextColor_; }
set {
mainTextColor_ = value;
}
}
/// <summary>Field number for the "main_text_background_color" field.</summary>
public const int MainTextBackgroundColorFieldNumber = 6;
private int mainTextBackgroundColor_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int MainTextBackgroundColor {
get { return mainTextBackgroundColor_; }
set {
mainTextBackgroundColor_ = value;
}
}
/// <summary>Field number for the "main_text_size" field.</summary>
public const int MainTextSizeFieldNumber = 7;
private int mainTextSize_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int MainTextSize {
get { return mainTextSize_; }
set {
mainTextSize_ = value;
}
}
/// <summary>Field number for the "left_emoji" field.</summary>
public const int LeftEmojiFieldNumber = 8;
private string leftEmoji_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string LeftEmoji {
get { return leftEmoji_; }
set {
leftEmoji_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "right_emoji" field.</summary>
public const int RightEmojiFieldNumber = 9;
private string rightEmoji_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string RightEmoji {
get { return rightEmoji_; }
set {
rightEmoji_ = 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 BannerNotificationNodeData);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(BannerNotificationNodeData other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Position != other.Position) return false;
if (TitleTextColor != other.TitleTextColor) return false;
if (TitleBackgroundColor != other.TitleBackgroundColor) return false;
if (TitleTextSize != other.TitleTextSize) return false;
if (MainTextColor != other.MainTextColor) return false;
if (MainTextBackgroundColor != other.MainTextBackgroundColor) return false;
if (MainTextSize != other.MainTextSize) return false;
if (LeftEmoji != other.LeftEmoji) return false;
if (RightEmoji != other.RightEmoji) 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 (Position != 0) hash ^= Position.GetHashCode();
if (TitleTextColor != 0) hash ^= TitleTextColor.GetHashCode();
if (TitleBackgroundColor != 0) hash ^= TitleBackgroundColor.GetHashCode();
if (TitleTextSize != 0) hash ^= TitleTextSize.GetHashCode();
if (MainTextColor != 0) hash ^= MainTextColor.GetHashCode();
if (MainTextBackgroundColor != 0) hash ^= MainTextBackgroundColor.GetHashCode();
if (MainTextSize != 0) hash ^= MainTextSize.GetHashCode();
if (LeftEmoji.Length != 0) hash ^= LeftEmoji.GetHashCode();
if (RightEmoji.Length != 0) hash ^= RightEmoji.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 (Position != 0) {
output.WriteRawTag(8);
output.WriteInt32(Position);
}
if (TitleTextColor != 0) {
output.WriteRawTag(16);
output.WriteInt32(TitleTextColor);
}
if (TitleBackgroundColor != 0) {
output.WriteRawTag(24);
output.WriteInt32(TitleBackgroundColor);
}
if (TitleTextSize != 0) {
output.WriteRawTag(32);
output.WriteInt32(TitleTextSize);
}
if (MainTextColor != 0) {
output.WriteRawTag(40);
output.WriteInt32(MainTextColor);
}
if (MainTextBackgroundColor != 0) {
output.WriteRawTag(48);
output.WriteInt32(MainTextBackgroundColor);
}
if (MainTextSize != 0) {
output.WriteRawTag(56);
output.WriteInt32(MainTextSize);
}
if (LeftEmoji.Length != 0) {
output.WriteRawTag(66);
output.WriteString(LeftEmoji);
}
if (RightEmoji.Length != 0) {
output.WriteRawTag(74);
output.WriteString(RightEmoji);
}
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 (Position != 0) {
output.WriteRawTag(8);
output.WriteInt32(Position);
}
if (TitleTextColor != 0) {
output.WriteRawTag(16);
output.WriteInt32(TitleTextColor);
}
if (TitleBackgroundColor != 0) {
output.WriteRawTag(24);
output.WriteInt32(TitleBackgroundColor);
}
if (TitleTextSize != 0) {
output.WriteRawTag(32);
output.WriteInt32(TitleTextSize);
}
if (MainTextColor != 0) {
output.WriteRawTag(40);
output.WriteInt32(MainTextColor);
}
if (MainTextBackgroundColor != 0) {
output.WriteRawTag(48);
output.WriteInt32(MainTextBackgroundColor);
}
if (MainTextSize != 0) {
output.WriteRawTag(56);
output.WriteInt32(MainTextSize);
}
if (LeftEmoji.Length != 0) {
output.WriteRawTag(66);
output.WriteString(LeftEmoji);
}
if (RightEmoji.Length != 0) {
output.WriteRawTag(74);
output.WriteString(RightEmoji);
}
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 (Position != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Position);
}
if (TitleTextColor != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(TitleTextColor);
}
if (TitleBackgroundColor != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(TitleBackgroundColor);
}
if (TitleTextSize != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(TitleTextSize);
}
if (MainTextColor != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(MainTextColor);
}
if (MainTextBackgroundColor != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(MainTextBackgroundColor);
}
if (MainTextSize != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(MainTextSize);
}
if (LeftEmoji.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(LeftEmoji);
}
if (RightEmoji.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(RightEmoji);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(BannerNotificationNodeData other) {
if (other == null) {
return;
}
if (other.Position != 0) {
Position = other.Position;
}
if (other.TitleTextColor != 0) {
TitleTextColor = other.TitleTextColor;
}
if (other.TitleBackgroundColor != 0) {
TitleBackgroundColor = other.TitleBackgroundColor;
}
if (other.TitleTextSize != 0) {
TitleTextSize = other.TitleTextSize;
}
if (other.MainTextColor != 0) {
MainTextColor = other.MainTextColor;
}
if (other.MainTextBackgroundColor != 0) {
MainTextBackgroundColor = other.MainTextBackgroundColor;
}
if (other.MainTextSize != 0) {
MainTextSize = other.MainTextSize;
}
if (other.LeftEmoji.Length != 0) {
LeftEmoji = other.LeftEmoji;
}
if (other.RightEmoji.Length != 0) {
RightEmoji = other.RightEmoji;
}
_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: {
Position = input.ReadInt32();
break;
}
case 16: {
TitleTextColor = input.ReadInt32();
break;
}
case 24: {
TitleBackgroundColor = input.ReadInt32();
break;
}
case 32: {
TitleTextSize = input.ReadInt32();
break;
}
case 40: {
MainTextColor = input.ReadInt32();
break;
}
case 48: {
MainTextBackgroundColor = input.ReadInt32();
break;
}
case 56: {
MainTextSize = input.ReadInt32();
break;
}
case 66: {
LeftEmoji = input.ReadString();
break;
}
case 74: {
RightEmoji = 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 8: {
Position = input.ReadInt32();
break;
}
case 16: {
TitleTextColor = input.ReadInt32();
break;
}
case 24: {
TitleBackgroundColor = input.ReadInt32();
break;
}
case 32: {
TitleTextSize = input.ReadInt32();
break;
}
case 40: {
MainTextColor = input.ReadInt32();
break;
}
case 48: {
MainTextBackgroundColor = input.ReadInt32();
break;
}
case 56: {
MainTextSize = input.ReadInt32();
break;
}
case 66: {
LeftEmoji = input.ReadString();
break;
}
case 74: {
RightEmoji = input.ReadString();
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code