// // Generated by the protocol buffer compiler. DO NOT EDIT! // source: circuits_v2/notification/reward_notification_node_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 CircuitsV2.Protobuf { /// Holder for reflection information generated from circuits_v2/notification/reward_notification_node_data.proto public static partial class RewardNotificationNodeDataReflection { #region Descriptor /// File descriptor for circuits_v2/notification/reward_notification_node_data.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static RewardNotificationNodeDataReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "CjxjaXJjdWl0c192Mi9ub3RpZmljYXRpb24vcmV3YXJkX25vdGlmaWNhdGlv", "bl9ub2RlX2RhdGEucHJvdG8SC2NpcmN1aXRzX3YyIpQCChpSZXdhcmROb3Rp", "ZmljYXRpb25Ob2RlRGF0YRIYChBiYWNrZ3JvdW5kX2NvbG9yGAEgASgFEhgK", "EHRpdGxlX3RleHRfY29sb3IYAiABKAUSFwoPdGl0bGVfdGV4dF9zaXplGAMg", "ASgFEh4KFmRlc2NyaXB0aW9uX3RleHRfY29sb3IYBCABKAUSHQoVZGVzY3Jp", "cHRpb25fdGV4dF9zaXplGAUgASgFEhoKEnNob3dfY29udGVudHNfdGV4dBgG", "IAEoCBIbChNjb250ZW50c190ZXh0X2NvbG9yGAcgASgFEh0KFWNvbnRlbnRz", "X2Rpc3BsYXlfbW9kZRgIIAEoBRISCgpzaG93X2ltYWdlGAkgASgIQhaqAhND", "aXJjdWl0c1YyLlByb3RvYnVmYgZwcm90bzM=")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::CircuitsV2.Protobuf.RewardNotificationNodeData), global::CircuitsV2.Protobuf.RewardNotificationNodeData.Parser, new[]{ "BackgroundColor", "TitleTextColor", "TitleTextSize", "DescriptionTextColor", "DescriptionTextSize", "ShowContentsText", "ContentsTextColor", "ContentsDisplayMode", "ShowImage" }, null, null, null, null) })); } #endregion } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class RewardNotificationNodeData : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RewardNotificationNodeData()); 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::CircuitsV2.Protobuf.RewardNotificationNodeDataReflection.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 RewardNotificationNodeData() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public RewardNotificationNodeData(RewardNotificationNodeData other) : this() { backgroundColor_ = other.backgroundColor_; titleTextColor_ = other.titleTextColor_; titleTextSize_ = other.titleTextSize_; descriptionTextColor_ = other.descriptionTextColor_; descriptionTextSize_ = other.descriptionTextSize_; showContentsText_ = other.showContentsText_; contentsTextColor_ = other.contentsTextColor_; contentsDisplayMode_ = other.contentsDisplayMode_; showImage_ = other.showImage_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public RewardNotificationNodeData Clone() { return new RewardNotificationNodeData(this); } /// Field number for the "background_color" field. public const int BackgroundColorFieldNumber = 1; private int backgroundColor_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int BackgroundColor { get { return backgroundColor_; } set { backgroundColor_ = value; } } /// Field number for the "title_text_color" field. 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; } } /// Field number for the "title_text_size" field. public const int TitleTextSizeFieldNumber = 3; private int titleTextSize_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int TitleTextSize { get { return titleTextSize_; } set { titleTextSize_ = value; } } /// Field number for the "description_text_color" field. public const int DescriptionTextColorFieldNumber = 4; private int descriptionTextColor_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int DescriptionTextColor { get { return descriptionTextColor_; } set { descriptionTextColor_ = value; } } /// Field number for the "description_text_size" field. public const int DescriptionTextSizeFieldNumber = 5; private int descriptionTextSize_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int DescriptionTextSize { get { return descriptionTextSize_; } set { descriptionTextSize_ = value; } } /// Field number for the "show_contents_text" field. public const int ShowContentsTextFieldNumber = 6; private bool showContentsText_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool ShowContentsText { get { return showContentsText_; } set { showContentsText_ = value; } } /// Field number for the "contents_text_color" field. public const int ContentsTextColorFieldNumber = 7; private int contentsTextColor_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int ContentsTextColor { get { return contentsTextColor_; } set { contentsTextColor_ = value; } } /// Field number for the "contents_display_mode" field. public const int ContentsDisplayModeFieldNumber = 8; private int contentsDisplayMode_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int ContentsDisplayMode { get { return contentsDisplayMode_; } set { contentsDisplayMode_ = value; } } /// Field number for the "show_image" field. public const int ShowImageFieldNumber = 9; private bool showImage_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool ShowImage { get { return showImage_; } set { showImage_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as RewardNotificationNodeData); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(RewardNotificationNodeData other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (BackgroundColor != other.BackgroundColor) return false; if (TitleTextColor != other.TitleTextColor) return false; if (TitleTextSize != other.TitleTextSize) return false; if (DescriptionTextColor != other.DescriptionTextColor) return false; if (DescriptionTextSize != other.DescriptionTextSize) return false; if (ShowContentsText != other.ShowContentsText) return false; if (ContentsTextColor != other.ContentsTextColor) return false; if (ContentsDisplayMode != other.ContentsDisplayMode) return false; if (ShowImage != other.ShowImage) 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 (BackgroundColor != 0) hash ^= BackgroundColor.GetHashCode(); if (TitleTextColor != 0) hash ^= TitleTextColor.GetHashCode(); if (TitleTextSize != 0) hash ^= TitleTextSize.GetHashCode(); if (DescriptionTextColor != 0) hash ^= DescriptionTextColor.GetHashCode(); if (DescriptionTextSize != 0) hash ^= DescriptionTextSize.GetHashCode(); if (ShowContentsText != false) hash ^= ShowContentsText.GetHashCode(); if (ContentsTextColor != 0) hash ^= ContentsTextColor.GetHashCode(); if (ContentsDisplayMode != 0) hash ^= ContentsDisplayMode.GetHashCode(); if (ShowImage != false) hash ^= ShowImage.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 (BackgroundColor != 0) { output.WriteRawTag(8); output.WriteInt32(BackgroundColor); } if (TitleTextColor != 0) { output.WriteRawTag(16); output.WriteInt32(TitleTextColor); } if (TitleTextSize != 0) { output.WriteRawTag(24); output.WriteInt32(TitleTextSize); } if (DescriptionTextColor != 0) { output.WriteRawTag(32); output.WriteInt32(DescriptionTextColor); } if (DescriptionTextSize != 0) { output.WriteRawTag(40); output.WriteInt32(DescriptionTextSize); } if (ShowContentsText != false) { output.WriteRawTag(48); output.WriteBool(ShowContentsText); } if (ContentsTextColor != 0) { output.WriteRawTag(56); output.WriteInt32(ContentsTextColor); } if (ContentsDisplayMode != 0) { output.WriteRawTag(64); output.WriteInt32(ContentsDisplayMode); } if (ShowImage != false) { output.WriteRawTag(72); output.WriteBool(ShowImage); } 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 (BackgroundColor != 0) { output.WriteRawTag(8); output.WriteInt32(BackgroundColor); } if (TitleTextColor != 0) { output.WriteRawTag(16); output.WriteInt32(TitleTextColor); } if (TitleTextSize != 0) { output.WriteRawTag(24); output.WriteInt32(TitleTextSize); } if (DescriptionTextColor != 0) { output.WriteRawTag(32); output.WriteInt32(DescriptionTextColor); } if (DescriptionTextSize != 0) { output.WriteRawTag(40); output.WriteInt32(DescriptionTextSize); } if (ShowContentsText != false) { output.WriteRawTag(48); output.WriteBool(ShowContentsText); } if (ContentsTextColor != 0) { output.WriteRawTag(56); output.WriteInt32(ContentsTextColor); } if (ContentsDisplayMode != 0) { output.WriteRawTag(64); output.WriteInt32(ContentsDisplayMode); } if (ShowImage != false) { output.WriteRawTag(72); output.WriteBool(ShowImage); } 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 (BackgroundColor != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(BackgroundColor); } if (TitleTextColor != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(TitleTextColor); } if (TitleTextSize != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(TitleTextSize); } if (DescriptionTextColor != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(DescriptionTextColor); } if (DescriptionTextSize != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(DescriptionTextSize); } if (ShowContentsText != false) { size += 1 + 1; } if (ContentsTextColor != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(ContentsTextColor); } if (ContentsDisplayMode != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(ContentsDisplayMode); } if (ShowImage != 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(RewardNotificationNodeData other) { if (other == null) { return; } if (other.BackgroundColor != 0) { BackgroundColor = other.BackgroundColor; } if (other.TitleTextColor != 0) { TitleTextColor = other.TitleTextColor; } if (other.TitleTextSize != 0) { TitleTextSize = other.TitleTextSize; } if (other.DescriptionTextColor != 0) { DescriptionTextColor = other.DescriptionTextColor; } if (other.DescriptionTextSize != 0) { DescriptionTextSize = other.DescriptionTextSize; } if (other.ShowContentsText != false) { ShowContentsText = other.ShowContentsText; } if (other.ContentsTextColor != 0) { ContentsTextColor = other.ContentsTextColor; } if (other.ContentsDisplayMode != 0) { ContentsDisplayMode = other.ContentsDisplayMode; } if (other.ShowImage != false) { ShowImage = other.ShowImage; } _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: { BackgroundColor = input.ReadInt32(); break; } case 16: { TitleTextColor = input.ReadInt32(); break; } case 24: { TitleTextSize = input.ReadInt32(); break; } case 32: { DescriptionTextColor = input.ReadInt32(); break; } case 40: { DescriptionTextSize = input.ReadInt32(); break; } case 48: { ShowContentsText = input.ReadBool(); break; } case 56: { ContentsTextColor = input.ReadInt32(); break; } case 64: { ContentsDisplayMode = input.ReadInt32(); break; } case 72: { ShowImage = 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: { BackgroundColor = input.ReadInt32(); break; } case 16: { TitleTextColor = input.ReadInt32(); break; } case 24: { TitleTextSize = input.ReadInt32(); break; } case 32: { DescriptionTextColor = input.ReadInt32(); break; } case 40: { DescriptionTextSize = input.ReadInt32(); break; } case 48: { ShowContentsText = input.ReadBool(); break; } case 56: { ContentsTextColor = input.ReadInt32(); break; } case 64: { ContentsDisplayMode = input.ReadInt32(); break; } case 72: { ShowImage = input.ReadBool(); break; } } } } #endif } #endregion } #endregion Designer generated code