< Summary

Class:DCL.ECSComponents.UiInputReflection
Assembly:Decentraland.Protocol.GeneratedCode
File(s):/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/DecentralandProtocol/UiInput.gen.cs
Covered lines:0
Uncovered lines:4
Coverable lines:4
Total lines:589
Line coverage:0% (0 of 4)
Covered branches:0
Total branches:0
Covered methods:0
Total methods:2
Method coverage:0% (0 of 2)

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity NPath complexity Sequence coverage
UiInputReflection()0%2100%

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 {
 020      get { return descriptor; }
 21    }
 22    private static pbr::FileDescriptor descriptor;
 23
 24    static UiInputReflection() {
 025      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"));
 041      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          }));
 046    }
 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  {
 56    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)]
 61    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 {
 66      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 {
 72      get { return Descriptor; }
 73    }
 74
 75    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 76    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 77    public PBUiInput() {
 78      OnConstruction();
 79    }
 80
 81    partial void OnConstruction();
 82
 83    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 84    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 85    public PBUiInput(PBUiInput other) : this() {
 86      _hasBits0 = other._hasBits0;
 87      placeholder_ = other.placeholder_;
 88      color_ = other.color_ != null ? other.color_.Clone() : null;
 89      placeholderColor_ = other.placeholderColor_ != null ? other.placeholderColor_.Clone() : null;
 90      disabled_ = other.disabled_;
 91      textAlign_ = other.textAlign_;
 92      font_ = other.font_;
 93      fontSize_ = other.fontSize_;
 94      value_ = other.value_;
 95      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 96    }
 97
 98    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 99    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 100    public PBUiInput Clone() {
 101      return new PBUiInput(this);
 102    }
 103
 104    /// <summary>Field number for the "placeholder" field.</summary>
 105    public const int PlaceholderFieldNumber = 1;
 106    private string placeholder_ = "";
 107    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 108    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 109    public string Placeholder {
 110      get { return placeholder_; }
 111      set {
 112        placeholder_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
 113      }
 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 {
 125      get { return color_; }
 126      set {
 127        color_ = value;
 128      }
 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 {
 140      get { return placeholderColor_; }
 141      set {
 142        placeholderColor_ = value;
 143      }
 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 {
 152      get { return disabled_; }
 153      set {
 154        disabled_ = value;
 155      }
 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 {
 167      get { if ((_hasBits0 & 1) != 0) { return textAlign_; } else { return global::DCL.ECSComponents.TextAlignMode.TamTo
 168      set {
 169        _hasBits0 |= 1;
 170        textAlign_ = value;
 171      }
 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 {
 177      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() {
 183      _hasBits0 &= ~1;
 184    }
 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 {
 195      get { if ((_hasBits0 & 2) != 0) { return font_; } else { return global::DCL.ECSComponents.Font.FSansSerif; } }
 196      set {
 197        _hasBits0 |= 2;
 198        font_ = value;
 199      }
 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 {
 205      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() {
 211      _hasBits0 &= ~2;
 212    }
 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 {
 223      get { if ((_hasBits0 & 4) != 0) { return fontSize_; } else { return 0; } }
 224      set {
 225        _hasBits0 |= 4;
 226        fontSize_ = value;
 227      }
 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 {
 233      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() {
 239      _hasBits0 &= ~4;
 240    }
 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 {
 248      get { return value_ ?? ""; }
 249      set {
 250        value_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
 251      }
 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 {
 257      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() {
 263      value_ = null;
 264    }
 265
 266    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 267    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 268    public override bool Equals(object other) {
 269      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) {
 275      if (ReferenceEquals(other, null)) {
 276        return false;
 277      }
 278      if (ReferenceEquals(other, this)) {
 279        return true;
 280      }
 281      if (Placeholder != other.Placeholder) return false;
 282      if (!object.Equals(Color, other.Color)) return false;
 283      if (!object.Equals(PlaceholderColor, other.PlaceholderColor)) return false;
 284      if (Disabled != other.Disabled) return false;
 285      if (TextAlign != other.TextAlign) return false;
 286      if (Font != other.Font) return false;
 287      if (FontSize != other.FontSize) return false;
 288      if (Value != other.Value) return false;
 289      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() {
 295      int hash = 1;
 296      if (Placeholder.Length != 0) hash ^= Placeholder.GetHashCode();
 297      if (color_ != null) hash ^= Color.GetHashCode();
 298      if (placeholderColor_ != null) hash ^= PlaceholderColor.GetHashCode();
 299      if (Disabled != false) hash ^= Disabled.GetHashCode();
 300      if (HasTextAlign) hash ^= TextAlign.GetHashCode();
 301      if (HasFont) hash ^= Font.GetHashCode();
 302      if (HasFontSize) hash ^= FontSize.GetHashCode();
 303      if (HasValue) hash ^= Value.GetHashCode();
 304      if (_unknownFields != null) {
 305        hash ^= _unknownFields.GetHashCode();
 306      }
 307      return hash;
 308    }
 309
 310    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 311    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 312    public override string ToString() {
 313      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
 322      if (Placeholder.Length != 0) {
 323        output.WriteRawTag(10);
 324        output.WriteString(Placeholder);
 325      }
 326      if (color_ != null) {
 327        output.WriteRawTag(18);
 328        output.WriteMessage(Color);
 329      }
 330      if (placeholderColor_ != null) {
 331        output.WriteRawTag(26);
 332        output.WriteMessage(PlaceholderColor);
 333      }
 334      if (Disabled != false) {
 335        output.WriteRawTag(32);
 336        output.WriteBool(Disabled);
 337      }
 338      if (HasTextAlign) {
 339        output.WriteRawTag(80);
 340        output.WriteEnum((int) TextAlign);
 341      }
 342      if (HasFont) {
 343        output.WriteRawTag(88);
 344        output.WriteEnum((int) Font);
 345      }
 346      if (HasFontSize) {
 347        output.WriteRawTag(96);
 348        output.WriteInt32(FontSize);
 349      }
 350      if (HasValue) {
 351        output.WriteRawTag(106);
 352        output.WriteString(Value);
 353      }
 354      if (_unknownFields != null) {
 355        _unknownFields.WriteTo(output);
 356      }
 357    #endif
 358    }
 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() {
 405      int size = 0;
 406      if (Placeholder.Length != 0) {
 407        size += 1 + pb::CodedOutputStream.ComputeStringSize(Placeholder);
 408      }
 409      if (color_ != null) {
 410        size += 1 + pb::CodedOutputStream.ComputeMessageSize(Color);
 411      }
 412      if (placeholderColor_ != null) {
 413        size += 1 + pb::CodedOutputStream.ComputeMessageSize(PlaceholderColor);
 414      }
 415      if (Disabled != false) {
 416        size += 1 + 1;
 417      }
 418      if (HasTextAlign) {
 419        size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) TextAlign);
 420      }
 421      if (HasFont) {
 422        size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Font);
 423      }
 424      if (HasFontSize) {
 425        size += 1 + pb::CodedOutputStream.ComputeInt32Size(FontSize);
 426      }
 427      if (HasValue) {
 428        size += 1 + pb::CodedOutputStream.ComputeStringSize(Value);
 429      }
 430      if (_unknownFields != null) {
 431        size += _unknownFields.CalculateSize();
 432      }
 433      return size;
 434    }
 435
 436    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 437    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 438    public void MergeFrom(PBUiInput other) {
 439      if (other == null) {
 440        return;
 441      }
 442      if (other.Placeholder.Length != 0) {
 443        Placeholder = other.Placeholder;
 444      }
 445      if (other.color_ != null) {
 446        if (color_ == null) {
 447          Color = new global::Decentraland.Common.Color4();
 448        }
 449        Color.MergeFrom(other.Color);
 450      }
 451      if (other.placeholderColor_ != null) {
 452        if (placeholderColor_ == null) {
 453          PlaceholderColor = new global::Decentraland.Common.Color4();
 454        }
 455        PlaceholderColor.MergeFrom(other.PlaceholderColor);
 456      }
 457      if (other.Disabled != false) {
 458        Disabled = other.Disabled;
 459      }
 460      if (other.HasTextAlign) {
 461        TextAlign = other.TextAlign;
 462      }
 463      if (other.HasFont) {
 464        Font = other.Font;
 465      }
 466      if (other.HasFontSize) {
 467        FontSize = other.FontSize;
 468      }
 469      if (other.HasValue) {
 470        Value = other.Value;
 471      }
 472      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 473    }
 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;
 482      while ((tag = input.ReadTag()) != 0) {
 483        switch(tag) {
 484          default:
 485            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 486            break;
 487          case 10: {
 488            Placeholder = input.ReadString();
 489            break;
 490          }
 491          case 18: {
 492            if (color_ == null) {
 493              Color = new global::Decentraland.Common.Color4();
 494            }
 495            input.ReadMessage(Color);
 496            break;
 497          }
 498          case 26: {
 499            if (placeholderColor_ == null) {
 500              PlaceholderColor = new global::Decentraland.Common.Color4();
 501            }
 502            input.ReadMessage(PlaceholderColor);
 503            break;
 504          }
 505          case 32: {
 506            Disabled = input.ReadBool();
 507            break;
 508          }
 509          case 80: {
 510            TextAlign = (global::DCL.ECSComponents.TextAlignMode) input.ReadEnum();
 511            break;
 512          }
 513          case 88: {
 514            Font = (global::DCL.ECSComponents.Font) input.ReadEnum();
 515            break;
 516          }
 517          case 96: {
 518            FontSize = input.ReadInt32();
 519            break;
 520          }
 521          case 106: {
 522            Value = input.ReadString();
 523            break;
 524          }
 525        }
 526      }
 527    #endif
 528    }
 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

Methods/Properties

Descriptor()
UiInputReflection()