< Summary

Class:DCL.ECSComponents.PBUiInput
Assembly:Decentraland.Protocol.GeneratedCode
File(s):/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/DecentralandProtocol/UiInput.gen.cs
Covered lines:31
Uncovered lines:149
Coverable lines:180
Total lines:589
Line coverage:17.2% (31 of 180)
Covered branches:0
Total branches:0
Covered methods:20
Total methods:39
Method coverage:51.2% (20 of 39)

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity NPath complexity Sequence coverage
PBUiInput()0%110100%
get_Descriptor()0%2100%
PBUiInput(...)0%30500%
Clone()0%2100%
PBUiInput()0%110100%
ClearTextAlign()0%2100%
ClearFont()0%2100%
ClearFontSize()0%2100%
ClearValue()0%2100%
Equals(...)0%2100%
Equals(...)0%1321100%
GetHashCode()0%1101000%
ToString()0%2100%
WriteTo(...)0%1101000%
CalculateSize()0%1101000%
MergeFrom(...)0%1561200%
MergeFrom(...)0%2401500%

File(s)

/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/DecentralandProtocol/UiInput.gen.cs

#LineLine coverage
 1// <auto-generated>
 2//     Generated by the protocol buffer compiler.  DO NOT EDIT!
 3//     source: decentraland/sdk/components/ui_input.proto
 4// </auto-generated>
 5#pragma warning disable 1591, 0612, 3021
 6#region Designer generated code
 7
 8using pb = global::Google.Protobuf;
 9using pbc = global::Google.Protobuf.Collections;
 10using pbr = global::Google.Protobuf.Reflection;
 11using scg = global::System.Collections.Generic;
 12namespace DCL.ECSComponents {
 13
 14  /// <summary>Holder for reflection information generated from decentraland/sdk/components/ui_input.proto</summary>
 15  public static partial class UiInputReflection {
 16
 17    #region Descriptor
 18    /// <summary>File descriptor for decentraland/sdk/components/ui_input.proto</summary>
 19    public static pbr::FileDescriptor Descriptor {
 20      get { return descriptor; }
 21    }
 22    private static pbr::FileDescriptor descriptor;
 23
 24    static UiInputReflection() {
 25      byte[] descriptorData = global::System.Convert.FromBase64String(
 26          string.Concat(
 27            "CipkZWNlbnRyYWxhbmQvc2RrL2NvbXBvbmVudHMvdWlfaW5wdXQucHJvdG8S",
 28            "G2RlY2VudHJhbGFuZC5zZGsuY29tcG9uZW50cxogZGVjZW50cmFsYW5kL2Nv",
 29            "bW1vbi9jb2xvcnMucHJvdG8aLmRlY2VudHJhbGFuZC9zZGsvY29tcG9uZW50",
 30            "cy9jb21tb24vdGV4dHMucHJvdG8ipQMKCVBCVWlJbnB1dBITCgtwbGFjZWhv",
 31            "bGRlchgBIAEoCRIvCgVjb2xvchgCIAEoCzIbLmRlY2VudHJhbGFuZC5jb21t",
 32            "b24uQ29sb3I0SACIAQESOwoRcGxhY2Vob2xkZXJfY29sb3IYAyABKAsyGy5k",
 33            "ZWNlbnRyYWxhbmQuY29tbW9uLkNvbG9yNEgBiAEBEhAKCGRpc2FibGVkGAQg",
 34            "ASgIEkoKCnRleHRfYWxpZ24YCiABKA4yMS5kZWNlbnRyYWxhbmQuc2RrLmNv",
 35            "bXBvbmVudHMuY29tbW9uLlRleHRBbGlnbk1vZGVIAogBARI7CgRmb250GAsg",
 36            "ASgOMiguZGVjZW50cmFsYW5kLnNkay5jb21wb25lbnRzLmNvbW1vbi5Gb250",
 37            "SAOIAQESFgoJZm9udF9zaXplGAwgASgFSASIAQESEgoFdmFsdWUYDSABKAlI",
 38            "BYgBAUIICgZfY29sb3JCFAoSX3BsYWNlaG9sZGVyX2NvbG9yQg0KC190ZXh0",
 39            "X2FsaWduQgcKBV9mb250QgwKCl9mb250X3NpemVCCAoGX3ZhbHVlQhSqAhFE",
 40            "Q0wuRUNTQ29tcG9uZW50c2IGcHJvdG8z"));
 41      descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
 42          new pbr::FileDescriptor[] { global::Decentraland.Common.ColorsReflection.Descriptor, global::DCL.ECSComponents
 43          new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
 44            new pbr::GeneratedClrTypeInfo(typeof(global::DCL.ECSComponents.PBUiInput), global::DCL.ECSComponents.PBUiInp
 45          }));
 46    }
 47    #endregion
 48
 49  }
 50  #region Messages
 51  public sealed partial class PBUiInput : pb::IMessage<PBUiInput>
 52  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 53      , pb::IBufferMessage
 54  #endif
 55  {
 156    private static readonly pb::MessageParser<PBUiInput> _parser = new pb::MessageParser<PBUiInput>(() => new PBUiInput(
 57    private pb::UnknownFieldSet _unknownFields;
 58    private int _hasBits0;
 59    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 60    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 061    public static pb::MessageParser<PBUiInput> Parser { get { return _parser; } }
 62
 63    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 64    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 65    public static pbr::MessageDescriptor Descriptor {
 066      get { return global::DCL.ECSComponents.UiInputReflection.Descriptor.MessageTypes[0]; }
 67    }
 68
 69    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 70    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 71    pbr::MessageDescriptor pb::IMessage.Descriptor {
 072      get { return Descriptor; }
 73    }
 74
 75    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 76    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 477    public PBUiInput() {
 78      OnConstruction();
 479    }
 80
 81    partial void OnConstruction();
 82
 83    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 84    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 085    public PBUiInput(PBUiInput other) : this() {
 086      _hasBits0 = other._hasBits0;
 087      placeholder_ = other.placeholder_;
 088      color_ = other.color_ != null ? other.color_.Clone() : null;
 089      placeholderColor_ = other.placeholderColor_ != null ? other.placeholderColor_.Clone() : null;
 090      disabled_ = other.disabled_;
 091      textAlign_ = other.textAlign_;
 092      font_ = other.font_;
 093      fontSize_ = other.fontSize_;
 094      value_ = other.value_;
 095      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 096    }
 97
 98    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 99    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 100    public PBUiInput Clone() {
 0101      return new PBUiInput(this);
 102    }
 103
 104    /// <summary>Field number for the "placeholder" field.</summary>
 105    public const int PlaceholderFieldNumber = 1;
 4106    private string placeholder_ = "";
 107    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 108    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 109    public string Placeholder {
 4110      get { return placeholder_; }
 111      set {
 4112        placeholder_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
 4113      }
 114    }
 115
 116    /// <summary>Field number for the "color" field.</summary>
 117    public const int ColorFieldNumber = 2;
 118    private global::Decentraland.Common.Color4 color_;
 119    /// <summary>
 120    /// default=(0.0,0.0,0.0,1.0)
 121    /// </summary>
 122    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 123    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 124    public global::Decentraland.Common.Color4 Color {
 4125      get { return color_; }
 126      set {
 4127        color_ = value;
 4128      }
 129    }
 130
 131    /// <summary>Field number for the "placeholder_color" field.</summary>
 132    public const int PlaceholderColorFieldNumber = 3;
 133    private global::Decentraland.Common.Color4 placeholderColor_;
 134    /// <summary>
 135    /// default=(0.3,0.3,0.3,1.0)
 136    /// </summary>
 137    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 138    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 139    public global::Decentraland.Common.Color4 PlaceholderColor {
 4140      get { return placeholderColor_; }
 141      set {
 4142        placeholderColor_ = value;
 4143      }
 144    }
 145
 146    /// <summary>Field number for the "disabled" field.</summary>
 147    public const int DisabledFieldNumber = 4;
 148    private bool disabled_;
 149    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 150    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 151    public bool Disabled {
 4152      get { return disabled_; }
 153      set {
 4154        disabled_ = value;
 4155      }
 156    }
 157
 158    /// <summary>Field number for the "text_align" field.</summary>
 159    public const int TextAlignFieldNumber = 10;
 160    private global::DCL.ECSComponents.TextAlignMode textAlign_;
 161    /// <summary>
 162    /// default='center'
 163    /// </summary>
 164    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 165    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 166    public global::DCL.ECSComponents.TextAlignMode TextAlign {
 8167      get { if ((_hasBits0 & 1) != 0) { return textAlign_; } else { return global::DCL.ECSComponents.TextAlignMode.TamTo
 168      set {
 4169        _hasBits0 |= 1;
 4170        textAlign_ = value;
 4171      }
 172    }
 173    /// <summary>Gets whether the "text_align" field is set</summary>
 174    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 175    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 176    public bool HasTextAlign {
 4177      get { return (_hasBits0 & 1) != 0; }
 178    }
 179    /// <summary>Clears the value of the "text_align" field</summary>
 180    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 181    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 182    public void ClearTextAlign() {
 0183      _hasBits0 &= ~1;
 0184    }
 185
 186    /// <summary>Field number for the "font" field.</summary>
 187    public const int FontFieldNumber = 11;
 188    private global::DCL.ECSComponents.Font font_;
 189    /// <summary>
 190    /// default=0
 191    /// </summary>
 192    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 193    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 194    public global::DCL.ECSComponents.Font Font {
 0195      get { if ((_hasBits0 & 2) != 0) { return font_; } else { return global::DCL.ECSComponents.Font.FSansSerif; } }
 196      set {
 0197        _hasBits0 |= 2;
 0198        font_ = value;
 0199      }
 200    }
 201    /// <summary>Gets whether the "font" field is set</summary>
 202    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 203    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 204    public bool HasFont {
 4205      get { return (_hasBits0 & 2) != 0; }
 206    }
 207    /// <summary>Clears the value of the "font" field</summary>
 208    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 209    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 210    public void ClearFont() {
 0211      _hasBits0 &= ~2;
 0212    }
 213
 214    /// <summary>Field number for the "font_size" field.</summary>
 215    public const int FontSizeFieldNumber = 12;
 216    private int fontSize_;
 217    /// <summary>
 218    /// default=10
 219    /// </summary>
 220    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 221    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 222    public int FontSize {
 8223      get { if ((_hasBits0 & 4) != 0) { return fontSize_; } else { return 0; } }
 224      set {
 4225        _hasBits0 |= 4;
 4226        fontSize_ = value;
 4227      }
 228    }
 229    /// <summary>Gets whether the "font_size" field is set</summary>
 230    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 231    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 232    public bool HasFontSize {
 4233      get { return (_hasBits0 & 4) != 0; }
 234    }
 235    /// <summary>Clears the value of the "font_size" field</summary>
 236    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 237    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 238    public void ClearFontSize() {
 0239      _hasBits0 &= ~4;
 0240    }
 241
 242    /// <summary>Field number for the "value" field.</summary>
 243    public const int ValueFieldNumber = 13;
 244    private string value_;
 245    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 246    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 247    public string Value {
 1248      get { return value_ ?? ""; }
 249      set {
 1250        value_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
 1251      }
 252    }
 253    /// <summary>Gets whether the "value" field is set</summary>
 254    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 255    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 256    public bool HasValue {
 4257      get { return value_ != null; }
 258    }
 259    /// <summary>Clears the value of the "value" field</summary>
 260    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 261    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 262    public void ClearValue() {
 0263      value_ = null;
 0264    }
 265
 266    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 267    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 268    public override bool Equals(object other) {
 0269      return Equals(other as PBUiInput);
 270    }
 271
 272    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 273    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 274    public bool Equals(PBUiInput other) {
 0275      if (ReferenceEquals(other, null)) {
 0276        return false;
 277      }
 0278      if (ReferenceEquals(other, this)) {
 0279        return true;
 280      }
 0281      if (Placeholder != other.Placeholder) return false;
 0282      if (!object.Equals(Color, other.Color)) return false;
 0283      if (!object.Equals(PlaceholderColor, other.PlaceholderColor)) return false;
 0284      if (Disabled != other.Disabled) return false;
 0285      if (TextAlign != other.TextAlign) return false;
 0286      if (Font != other.Font) return false;
 0287      if (FontSize != other.FontSize) return false;
 0288      if (Value != other.Value) return false;
 0289      return Equals(_unknownFields, other._unknownFields);
 290    }
 291
 292    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 293    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 294    public override int GetHashCode() {
 0295      int hash = 1;
 0296      if (Placeholder.Length != 0) hash ^= Placeholder.GetHashCode();
 0297      if (color_ != null) hash ^= Color.GetHashCode();
 0298      if (placeholderColor_ != null) hash ^= PlaceholderColor.GetHashCode();
 0299      if (Disabled != false) hash ^= Disabled.GetHashCode();
 0300      if (HasTextAlign) hash ^= TextAlign.GetHashCode();
 0301      if (HasFont) hash ^= Font.GetHashCode();
 0302      if (HasFontSize) hash ^= FontSize.GetHashCode();
 0303      if (HasValue) hash ^= Value.GetHashCode();
 0304      if (_unknownFields != null) {
 0305        hash ^= _unknownFields.GetHashCode();
 306      }
 0307      return hash;
 308    }
 309
 310    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 311    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 312    public override string ToString() {
 0313      return pb::JsonFormatter.ToDiagnosticString(this);
 314    }
 315
 316    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 317    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 318    public void WriteTo(pb::CodedOutputStream output) {
 319    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 320      output.WriteRawMessage(this);
 321    #else
 0322      if (Placeholder.Length != 0) {
 0323        output.WriteRawTag(10);
 0324        output.WriteString(Placeholder);
 325      }
 0326      if (color_ != null) {
 0327        output.WriteRawTag(18);
 0328        output.WriteMessage(Color);
 329      }
 0330      if (placeholderColor_ != null) {
 0331        output.WriteRawTag(26);
 0332        output.WriteMessage(PlaceholderColor);
 333      }
 0334      if (Disabled != false) {
 0335        output.WriteRawTag(32);
 0336        output.WriteBool(Disabled);
 337      }
 0338      if (HasTextAlign) {
 0339        output.WriteRawTag(80);
 0340        output.WriteEnum((int) TextAlign);
 341      }
 0342      if (HasFont) {
 0343        output.WriteRawTag(88);
 0344        output.WriteEnum((int) Font);
 345      }
 0346      if (HasFontSize) {
 0347        output.WriteRawTag(96);
 0348        output.WriteInt32(FontSize);
 349      }
 0350      if (HasValue) {
 0351        output.WriteRawTag(106);
 0352        output.WriteString(Value);
 353      }
 0354      if (_unknownFields != null) {
 0355        _unknownFields.WriteTo(output);
 356      }
 357    #endif
 0358    }
 359
 360    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 361    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 362    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 363    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
 364      if (Placeholder.Length != 0) {
 365        output.WriteRawTag(10);
 366        output.WriteString(Placeholder);
 367      }
 368      if (color_ != null) {
 369        output.WriteRawTag(18);
 370        output.WriteMessage(Color);
 371      }
 372      if (placeholderColor_ != null) {
 373        output.WriteRawTag(26);
 374        output.WriteMessage(PlaceholderColor);
 375      }
 376      if (Disabled != false) {
 377        output.WriteRawTag(32);
 378        output.WriteBool(Disabled);
 379      }
 380      if (HasTextAlign) {
 381        output.WriteRawTag(80);
 382        output.WriteEnum((int) TextAlign);
 383      }
 384      if (HasFont) {
 385        output.WriteRawTag(88);
 386        output.WriteEnum((int) Font);
 387      }
 388      if (HasFontSize) {
 389        output.WriteRawTag(96);
 390        output.WriteInt32(FontSize);
 391      }
 392      if (HasValue) {
 393        output.WriteRawTag(106);
 394        output.WriteString(Value);
 395      }
 396      if (_unknownFields != null) {
 397        _unknownFields.WriteTo(ref output);
 398      }
 399    }
 400    #endif
 401
 402    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 403    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 404    public int CalculateSize() {
 0405      int size = 0;
 0406      if (Placeholder.Length != 0) {
 0407        size += 1 + pb::CodedOutputStream.ComputeStringSize(Placeholder);
 408      }
 0409      if (color_ != null) {
 0410        size += 1 + pb::CodedOutputStream.ComputeMessageSize(Color);
 411      }
 0412      if (placeholderColor_ != null) {
 0413        size += 1 + pb::CodedOutputStream.ComputeMessageSize(PlaceholderColor);
 414      }
 0415      if (Disabled != false) {
 0416        size += 1 + 1;
 417      }
 0418      if (HasTextAlign) {
 0419        size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) TextAlign);
 420      }
 0421      if (HasFont) {
 0422        size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Font);
 423      }
 0424      if (HasFontSize) {
 0425        size += 1 + pb::CodedOutputStream.ComputeInt32Size(FontSize);
 426      }
 0427      if (HasValue) {
 0428        size += 1 + pb::CodedOutputStream.ComputeStringSize(Value);
 429      }
 0430      if (_unknownFields != null) {
 0431        size += _unknownFields.CalculateSize();
 432      }
 0433      return size;
 434    }
 435
 436    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 437    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 438    public void MergeFrom(PBUiInput other) {
 0439      if (other == null) {
 0440        return;
 441      }
 0442      if (other.Placeholder.Length != 0) {
 0443        Placeholder = other.Placeholder;
 444      }
 0445      if (other.color_ != null) {
 0446        if (color_ == null) {
 0447          Color = new global::Decentraland.Common.Color4();
 448        }
 0449        Color.MergeFrom(other.Color);
 450      }
 0451      if (other.placeholderColor_ != null) {
 0452        if (placeholderColor_ == null) {
 0453          PlaceholderColor = new global::Decentraland.Common.Color4();
 454        }
 0455        PlaceholderColor.MergeFrom(other.PlaceholderColor);
 456      }
 0457      if (other.Disabled != false) {
 0458        Disabled = other.Disabled;
 459      }
 0460      if (other.HasTextAlign) {
 0461        TextAlign = other.TextAlign;
 462      }
 0463      if (other.HasFont) {
 0464        Font = other.Font;
 465      }
 0466      if (other.HasFontSize) {
 0467        FontSize = other.FontSize;
 468      }
 0469      if (other.HasValue) {
 0470        Value = other.Value;
 471      }
 0472      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 0473    }
 474
 475    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 476    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 477    public void MergeFrom(pb::CodedInputStream input) {
 478    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 479      input.ReadRawMessage(this);
 480    #else
 481      uint tag;
 0482      while ((tag = input.ReadTag()) != 0) {
 483        switch(tag) {
 484          default:
 0485            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 0486            break;
 487          case 10: {
 0488            Placeholder = input.ReadString();
 0489            break;
 490          }
 491          case 18: {
 0492            if (color_ == null) {
 0493              Color = new global::Decentraland.Common.Color4();
 494            }
 0495            input.ReadMessage(Color);
 0496            break;
 497          }
 498          case 26: {
 0499            if (placeholderColor_ == null) {
 0500              PlaceholderColor = new global::Decentraland.Common.Color4();
 501            }
 0502            input.ReadMessage(PlaceholderColor);
 0503            break;
 504          }
 505          case 32: {
 0506            Disabled = input.ReadBool();
 0507            break;
 508          }
 509          case 80: {
 0510            TextAlign = (global::DCL.ECSComponents.TextAlignMode) input.ReadEnum();
 0511            break;
 512          }
 513          case 88: {
 0514            Font = (global::DCL.ECSComponents.Font) input.ReadEnum();
 0515            break;
 516          }
 517          case 96: {
 0518            FontSize = input.ReadInt32();
 0519            break;
 520          }
 521          case 106: {
 0522            Value = input.ReadString();
 523            break;
 524          }
 525        }
 526      }
 527    #endif
 0528    }
 529
 530    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 531    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 532    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 533    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
 534      uint tag;
 535      while ((tag = input.ReadTag()) != 0) {
 536        switch(tag) {
 537          default:
 538            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
 539            break;
 540          case 10: {
 541            Placeholder = input.ReadString();
 542            break;
 543          }
 544          case 18: {
 545            if (color_ == null) {
 546              Color = new global::Decentraland.Common.Color4();
 547            }
 548            input.ReadMessage(Color);
 549            break;
 550          }
 551          case 26: {
 552            if (placeholderColor_ == null) {
 553              PlaceholderColor = new global::Decentraland.Common.Color4();
 554            }
 555            input.ReadMessage(PlaceholderColor);
 556            break;
 557          }
 558          case 32: {
 559            Disabled = input.ReadBool();
 560            break;
 561          }
 562          case 80: {
 563            TextAlign = (global::DCL.ECSComponents.TextAlignMode) input.ReadEnum();
 564            break;
 565          }
 566          case 88: {
 567            Font = (global::DCL.ECSComponents.Font) input.ReadEnum();
 568            break;
 569          }
 570          case 96: {
 571            FontSize = input.ReadInt32();
 572            break;
 573          }
 574          case 106: {
 575            Value = input.ReadString();
 576            break;
 577          }
 578        }
 579      }
 580    }
 581    #endif
 582
 583  }
 584
 585  #endregion
 586
 587}
 588
 589#endregion Designer generated code