< Summary

Class:Decentraland.Common.Sdk.UserData
Assembly:Decentraland.Protocol.GeneratedCode
File(s):/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/DecentralandProtocol/UserData.gen.cs
Covered lines:0
Uncovered lines:134
Coverable lines:134
Total lines:1047
Line coverage:0% (0 of 134)
Covered branches:0
Total branches:0

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity NPath complexity Sequence coverage
UserData()0%2100%
get_Descriptor()0%2100%
UserData(...)0%12300%
Clone()0%2100%
UserData()0%2100%
ClearPublicKey()0%2100%
Equals(...)0%2100%
Equals(...)0%90900%
GetHashCode()0%72800%
ToString()0%2100%
WriteTo(...)0%72800%
CalculateSize()0%72800%
MergeFrom(...)0%90900%
MergeFrom(...)0%1101000%

File(s)

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

#LineLine coverage
 1// <auto-generated>
 2//     Generated by the protocol buffer compiler.  DO NOT EDIT!
 3//     source: decentraland/common/sdk/user_data.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 Decentraland.Common.Sdk {
 13
 14  /// <summary>Holder for reflection information generated from decentraland/common/sdk/user_data.proto</summary>
 15  public static partial class UserDataReflection {
 16
 17    #region Descriptor
 18    /// <summary>File descriptor for decentraland/common/sdk/user_data.proto</summary>
 19    public static pbr::FileDescriptor Descriptor {
 20      get { return descriptor; }
 21    }
 22    private static pbr::FileDescriptor descriptor;
 23
 24    static UserDataReflection() {
 25      byte[] descriptorData = global::System.Convert.FromBase64String(
 26          string.Concat(
 27            "CidkZWNlbnRyYWxhbmQvY29tbW9uL3Nkay91c2VyX2RhdGEucHJvdG8SF2Rl",
 28            "Y2VudHJhbGFuZC5jb21tb24uc2RrIioKCVNuYXBzaG90cxIPCgdmYWNlMjU2",
 29            "GAEgASgJEgwKBGJvZHkYAiABKAkirAEKEUF2YXRhckZvclVzZXJEYXRhEhIK",
 30            "CmJvZHlfc2hhcGUYASABKAkSEgoKc2tpbl9jb2xvchgCIAEoCRISCgpoYWly",
 31            "X2NvbG9yGAMgASgJEhEKCWV5ZV9jb2xvchgEIAEoCRIRCgl3ZWFyYWJsZXMY",
 32            "BSADKAkSNQoJc25hcHNob3RzGAYgASgLMiIuZGVjZW50cmFsYW5kLmNvbW1v",
 33            "bi5zZGsuU25hcHNob3RzIsIBCghVc2VyRGF0YRIUCgxkaXNwbGF5X25hbWUY",
 34            "ASABKAkSFwoKcHVibGljX2tleRgCIAEoCUgAiAEBEhoKEmhhc19jb25uZWN0",
 35            "ZWRfd2ViMxgDIAEoCBIPCgd1c2VyX2lkGAQgASgJEg8KB3ZlcnNpb24YBSAB",
 36            "KAUSOgoGYXZhdGFyGAYgASgLMiouZGVjZW50cmFsYW5kLmNvbW1vbi5zZGsu",
 37            "QXZhdGFyRm9yVXNlckRhdGFCDQoLX3B1YmxpY19rZXliBnByb3RvMw=="));
 38      descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
 39          new pbr::FileDescriptor[] { },
 40          new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
 41            new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Common.Sdk.Snapshots), global::Decentraland.Common
 42            new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Common.Sdk.AvatarForUserData), global::Decentralan
 43            new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Common.Sdk.UserData), global::Decentraland.Common.
 44          }));
 45    }
 46    #endregion
 47
 48  }
 49  #region Messages
 50  public sealed partial class Snapshots : pb::IMessage<Snapshots>
 51  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 52      , pb::IBufferMessage
 53  #endif
 54  {
 55    private static readonly pb::MessageParser<Snapshots> _parser = new pb::MessageParser<Snapshots>(() => new Snapshots(
 56    private pb::UnknownFieldSet _unknownFields;
 57    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 58    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 59    public static pb::MessageParser<Snapshots> Parser { get { return _parser; } }
 60
 61    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 62    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 63    public static pbr::MessageDescriptor Descriptor {
 64      get { return global::Decentraland.Common.Sdk.UserDataReflection.Descriptor.MessageTypes[0]; }
 65    }
 66
 67    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 68    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 69    pbr::MessageDescriptor pb::IMessage.Descriptor {
 70      get { return Descriptor; }
 71    }
 72
 73    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 74    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 75    public Snapshots() {
 76      OnConstruction();
 77    }
 78
 79    partial void OnConstruction();
 80
 81    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 82    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 83    public Snapshots(Snapshots other) : this() {
 84      face256_ = other.face256_;
 85      body_ = other.body_;
 86      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 87    }
 88
 89    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 90    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 91    public Snapshots Clone() {
 92      return new Snapshots(this);
 93    }
 94
 95    /// <summary>Field number for the "face256" field.</summary>
 96    public const int Face256FieldNumber = 1;
 97    private string face256_ = "";
 98    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 99    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 100    public string Face256 {
 101      get { return face256_; }
 102      set {
 103        face256_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
 104      }
 105    }
 106
 107    /// <summary>Field number for the "body" field.</summary>
 108    public const int BodyFieldNumber = 2;
 109    private string body_ = "";
 110    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 111    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 112    public string Body {
 113      get { return body_; }
 114      set {
 115        body_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
 116      }
 117    }
 118
 119    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 120    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 121    public override bool Equals(object other) {
 122      return Equals(other as Snapshots);
 123    }
 124
 125    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 126    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 127    public bool Equals(Snapshots other) {
 128      if (ReferenceEquals(other, null)) {
 129        return false;
 130      }
 131      if (ReferenceEquals(other, this)) {
 132        return true;
 133      }
 134      if (Face256 != other.Face256) return false;
 135      if (Body != other.Body) return false;
 136      return Equals(_unknownFields, other._unknownFields);
 137    }
 138
 139    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 140    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 141    public override int GetHashCode() {
 142      int hash = 1;
 143      if (Face256.Length != 0) hash ^= Face256.GetHashCode();
 144      if (Body.Length != 0) hash ^= Body.GetHashCode();
 145      if (_unknownFields != null) {
 146        hash ^= _unknownFields.GetHashCode();
 147      }
 148      return hash;
 149    }
 150
 151    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 152    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 153    public override string ToString() {
 154      return pb::JsonFormatter.ToDiagnosticString(this);
 155    }
 156
 157    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 158    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 159    public void WriteTo(pb::CodedOutputStream output) {
 160    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 161      output.WriteRawMessage(this);
 162    #else
 163      if (Face256.Length != 0) {
 164        output.WriteRawTag(10);
 165        output.WriteString(Face256);
 166      }
 167      if (Body.Length != 0) {
 168        output.WriteRawTag(18);
 169        output.WriteString(Body);
 170      }
 171      if (_unknownFields != null) {
 172        _unknownFields.WriteTo(output);
 173      }
 174    #endif
 175    }
 176
 177    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 178    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 179    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 180    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
 181      if (Face256.Length != 0) {
 182        output.WriteRawTag(10);
 183        output.WriteString(Face256);
 184      }
 185      if (Body.Length != 0) {
 186        output.WriteRawTag(18);
 187        output.WriteString(Body);
 188      }
 189      if (_unknownFields != null) {
 190        _unknownFields.WriteTo(ref output);
 191      }
 192    }
 193    #endif
 194
 195    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 196    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 197    public int CalculateSize() {
 198      int size = 0;
 199      if (Face256.Length != 0) {
 200        size += 1 + pb::CodedOutputStream.ComputeStringSize(Face256);
 201      }
 202      if (Body.Length != 0) {
 203        size += 1 + pb::CodedOutputStream.ComputeStringSize(Body);
 204      }
 205      if (_unknownFields != null) {
 206        size += _unknownFields.CalculateSize();
 207      }
 208      return size;
 209    }
 210
 211    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 212    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 213    public void MergeFrom(Snapshots other) {
 214      if (other == null) {
 215        return;
 216      }
 217      if (other.Face256.Length != 0) {
 218        Face256 = other.Face256;
 219      }
 220      if (other.Body.Length != 0) {
 221        Body = other.Body;
 222      }
 223      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 224    }
 225
 226    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 227    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 228    public void MergeFrom(pb::CodedInputStream input) {
 229    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 230      input.ReadRawMessage(this);
 231    #else
 232      uint tag;
 233      while ((tag = input.ReadTag()) != 0) {
 234        switch(tag) {
 235          default:
 236            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 237            break;
 238          case 10: {
 239            Face256 = input.ReadString();
 240            break;
 241          }
 242          case 18: {
 243            Body = input.ReadString();
 244            break;
 245          }
 246        }
 247      }
 248    #endif
 249    }
 250
 251    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 252    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 253    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 254    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
 255      uint tag;
 256      while ((tag = input.ReadTag()) != 0) {
 257        switch(tag) {
 258          default:
 259            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
 260            break;
 261          case 10: {
 262            Face256 = input.ReadString();
 263            break;
 264          }
 265          case 18: {
 266            Body = input.ReadString();
 267            break;
 268          }
 269        }
 270      }
 271    }
 272    #endif
 273
 274  }
 275
 276  public sealed partial class AvatarForUserData : pb::IMessage<AvatarForUserData>
 277  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 278      , pb::IBufferMessage
 279  #endif
 280  {
 281    private static readonly pb::MessageParser<AvatarForUserData> _parser = new pb::MessageParser<AvatarForUserData>(() =
 282    private pb::UnknownFieldSet _unknownFields;
 283    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 284    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 285    public static pb::MessageParser<AvatarForUserData> Parser { get { return _parser; } }
 286
 287    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 288    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 289    public static pbr::MessageDescriptor Descriptor {
 290      get { return global::Decentraland.Common.Sdk.UserDataReflection.Descriptor.MessageTypes[1]; }
 291    }
 292
 293    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 294    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 295    pbr::MessageDescriptor pb::IMessage.Descriptor {
 296      get { return Descriptor; }
 297    }
 298
 299    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 300    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 301    public AvatarForUserData() {
 302      OnConstruction();
 303    }
 304
 305    partial void OnConstruction();
 306
 307    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 308    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 309    public AvatarForUserData(AvatarForUserData other) : this() {
 310      bodyShape_ = other.bodyShape_;
 311      skinColor_ = other.skinColor_;
 312      hairColor_ = other.hairColor_;
 313      eyeColor_ = other.eyeColor_;
 314      wearables_ = other.wearables_.Clone();
 315      snapshots_ = other.snapshots_ != null ? other.snapshots_.Clone() : null;
 316      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 317    }
 318
 319    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 320    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 321    public AvatarForUserData Clone() {
 322      return new AvatarForUserData(this);
 323    }
 324
 325    /// <summary>Field number for the "body_shape" field.</summary>
 326    public const int BodyShapeFieldNumber = 1;
 327    private string bodyShape_ = "";
 328    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 329    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 330    public string BodyShape {
 331      get { return bodyShape_; }
 332      set {
 333        bodyShape_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
 334      }
 335    }
 336
 337    /// <summary>Field number for the "skin_color" field.</summary>
 338    public const int SkinColorFieldNumber = 2;
 339    private string skinColor_ = "";
 340    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 341    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 342    public string SkinColor {
 343      get { return skinColor_; }
 344      set {
 345        skinColor_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
 346      }
 347    }
 348
 349    /// <summary>Field number for the "hair_color" field.</summary>
 350    public const int HairColorFieldNumber = 3;
 351    private string hairColor_ = "";
 352    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 353    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 354    public string HairColor {
 355      get { return hairColor_; }
 356      set {
 357        hairColor_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
 358      }
 359    }
 360
 361    /// <summary>Field number for the "eye_color" field.</summary>
 362    public const int EyeColorFieldNumber = 4;
 363    private string eyeColor_ = "";
 364    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 365    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 366    public string EyeColor {
 367      get { return eyeColor_; }
 368      set {
 369        eyeColor_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
 370      }
 371    }
 372
 373    /// <summary>Field number for the "wearables" field.</summary>
 374    public const int WearablesFieldNumber = 5;
 375    private static readonly pb::FieldCodec<string> _repeated_wearables_codec
 376        = pb::FieldCodec.ForString(42);
 377    private readonly pbc::RepeatedField<string> wearables_ = new pbc::RepeatedField<string>();
 378    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 379    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 380    public pbc::RepeatedField<string> Wearables {
 381      get { return wearables_; }
 382    }
 383
 384    /// <summary>Field number for the "snapshots" field.</summary>
 385    public const int SnapshotsFieldNumber = 6;
 386    private global::Decentraland.Common.Sdk.Snapshots snapshots_;
 387    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 388    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 389    public global::Decentraland.Common.Sdk.Snapshots Snapshots {
 390      get { return snapshots_; }
 391      set {
 392        snapshots_ = value;
 393      }
 394    }
 395
 396    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 397    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 398    public override bool Equals(object other) {
 399      return Equals(other as AvatarForUserData);
 400    }
 401
 402    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 403    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 404    public bool Equals(AvatarForUserData other) {
 405      if (ReferenceEquals(other, null)) {
 406        return false;
 407      }
 408      if (ReferenceEquals(other, this)) {
 409        return true;
 410      }
 411      if (BodyShape != other.BodyShape) return false;
 412      if (SkinColor != other.SkinColor) return false;
 413      if (HairColor != other.HairColor) return false;
 414      if (EyeColor != other.EyeColor) return false;
 415      if(!wearables_.Equals(other.wearables_)) return false;
 416      if (!object.Equals(Snapshots, other.Snapshots)) return false;
 417      return Equals(_unknownFields, other._unknownFields);
 418    }
 419
 420    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 421    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 422    public override int GetHashCode() {
 423      int hash = 1;
 424      if (BodyShape.Length != 0) hash ^= BodyShape.GetHashCode();
 425      if (SkinColor.Length != 0) hash ^= SkinColor.GetHashCode();
 426      if (HairColor.Length != 0) hash ^= HairColor.GetHashCode();
 427      if (EyeColor.Length != 0) hash ^= EyeColor.GetHashCode();
 428      hash ^= wearables_.GetHashCode();
 429      if (snapshots_ != null) hash ^= Snapshots.GetHashCode();
 430      if (_unknownFields != null) {
 431        hash ^= _unknownFields.GetHashCode();
 432      }
 433      return hash;
 434    }
 435
 436    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 437    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 438    public override string ToString() {
 439      return pb::JsonFormatter.ToDiagnosticString(this);
 440    }
 441
 442    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 443    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 444    public void WriteTo(pb::CodedOutputStream output) {
 445    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 446      output.WriteRawMessage(this);
 447    #else
 448      if (BodyShape.Length != 0) {
 449        output.WriteRawTag(10);
 450        output.WriteString(BodyShape);
 451      }
 452      if (SkinColor.Length != 0) {
 453        output.WriteRawTag(18);
 454        output.WriteString(SkinColor);
 455      }
 456      if (HairColor.Length != 0) {
 457        output.WriteRawTag(26);
 458        output.WriteString(HairColor);
 459      }
 460      if (EyeColor.Length != 0) {
 461        output.WriteRawTag(34);
 462        output.WriteString(EyeColor);
 463      }
 464      wearables_.WriteTo(output, _repeated_wearables_codec);
 465      if (snapshots_ != null) {
 466        output.WriteRawTag(50);
 467        output.WriteMessage(Snapshots);
 468      }
 469      if (_unknownFields != null) {
 470        _unknownFields.WriteTo(output);
 471      }
 472    #endif
 473    }
 474
 475    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 476    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 477    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 478    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
 479      if (BodyShape.Length != 0) {
 480        output.WriteRawTag(10);
 481        output.WriteString(BodyShape);
 482      }
 483      if (SkinColor.Length != 0) {
 484        output.WriteRawTag(18);
 485        output.WriteString(SkinColor);
 486      }
 487      if (HairColor.Length != 0) {
 488        output.WriteRawTag(26);
 489        output.WriteString(HairColor);
 490      }
 491      if (EyeColor.Length != 0) {
 492        output.WriteRawTag(34);
 493        output.WriteString(EyeColor);
 494      }
 495      wearables_.WriteTo(ref output, _repeated_wearables_codec);
 496      if (snapshots_ != null) {
 497        output.WriteRawTag(50);
 498        output.WriteMessage(Snapshots);
 499      }
 500      if (_unknownFields != null) {
 501        _unknownFields.WriteTo(ref output);
 502      }
 503    }
 504    #endif
 505
 506    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 507    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 508    public int CalculateSize() {
 509      int size = 0;
 510      if (BodyShape.Length != 0) {
 511        size += 1 + pb::CodedOutputStream.ComputeStringSize(BodyShape);
 512      }
 513      if (SkinColor.Length != 0) {
 514        size += 1 + pb::CodedOutputStream.ComputeStringSize(SkinColor);
 515      }
 516      if (HairColor.Length != 0) {
 517        size += 1 + pb::CodedOutputStream.ComputeStringSize(HairColor);
 518      }
 519      if (EyeColor.Length != 0) {
 520        size += 1 + pb::CodedOutputStream.ComputeStringSize(EyeColor);
 521      }
 522      size += wearables_.CalculateSize(_repeated_wearables_codec);
 523      if (snapshots_ != null) {
 524        size += 1 + pb::CodedOutputStream.ComputeMessageSize(Snapshots);
 525      }
 526      if (_unknownFields != null) {
 527        size += _unknownFields.CalculateSize();
 528      }
 529      return size;
 530    }
 531
 532    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 533    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 534    public void MergeFrom(AvatarForUserData other) {
 535      if (other == null) {
 536        return;
 537      }
 538      if (other.BodyShape.Length != 0) {
 539        BodyShape = other.BodyShape;
 540      }
 541      if (other.SkinColor.Length != 0) {
 542        SkinColor = other.SkinColor;
 543      }
 544      if (other.HairColor.Length != 0) {
 545        HairColor = other.HairColor;
 546      }
 547      if (other.EyeColor.Length != 0) {
 548        EyeColor = other.EyeColor;
 549      }
 550      wearables_.Add(other.wearables_);
 551      if (other.snapshots_ != null) {
 552        if (snapshots_ == null) {
 553          Snapshots = new global::Decentraland.Common.Sdk.Snapshots();
 554        }
 555        Snapshots.MergeFrom(other.Snapshots);
 556      }
 557      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 558    }
 559
 560    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 561    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 562    public void MergeFrom(pb::CodedInputStream input) {
 563    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 564      input.ReadRawMessage(this);
 565    #else
 566      uint tag;
 567      while ((tag = input.ReadTag()) != 0) {
 568        switch(tag) {
 569          default:
 570            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 571            break;
 572          case 10: {
 573            BodyShape = input.ReadString();
 574            break;
 575          }
 576          case 18: {
 577            SkinColor = input.ReadString();
 578            break;
 579          }
 580          case 26: {
 581            HairColor = input.ReadString();
 582            break;
 583          }
 584          case 34: {
 585            EyeColor = input.ReadString();
 586            break;
 587          }
 588          case 42: {
 589            wearables_.AddEntriesFrom(input, _repeated_wearables_codec);
 590            break;
 591          }
 592          case 50: {
 593            if (snapshots_ == null) {
 594              Snapshots = new global::Decentraland.Common.Sdk.Snapshots();
 595            }
 596            input.ReadMessage(Snapshots);
 597            break;
 598          }
 599        }
 600      }
 601    #endif
 602    }
 603
 604    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 605    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 606    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 607    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
 608      uint tag;
 609      while ((tag = input.ReadTag()) != 0) {
 610        switch(tag) {
 611          default:
 612            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
 613            break;
 614          case 10: {
 615            BodyShape = input.ReadString();
 616            break;
 617          }
 618          case 18: {
 619            SkinColor = input.ReadString();
 620            break;
 621          }
 622          case 26: {
 623            HairColor = input.ReadString();
 624            break;
 625          }
 626          case 34: {
 627            EyeColor = input.ReadString();
 628            break;
 629          }
 630          case 42: {
 631            wearables_.AddEntriesFrom(ref input, _repeated_wearables_codec);
 632            break;
 633          }
 634          case 50: {
 635            if (snapshots_ == null) {
 636              Snapshots = new global::Decentraland.Common.Sdk.Snapshots();
 637            }
 638            input.ReadMessage(Snapshots);
 639            break;
 640          }
 641        }
 642      }
 643    }
 644    #endif
 645
 646  }
 647
 648  public sealed partial class UserData : pb::IMessage<UserData>
 649  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 650      , pb::IBufferMessage
 651  #endif
 652  {
 0653    private static readonly pb::MessageParser<UserData> _parser = new pb::MessageParser<UserData>(() => new UserData());
 654    private pb::UnknownFieldSet _unknownFields;
 655    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 656    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 0657    public static pb::MessageParser<UserData> Parser { get { return _parser; } }
 658
 659    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 660    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 661    public static pbr::MessageDescriptor Descriptor {
 0662      get { return global::Decentraland.Common.Sdk.UserDataReflection.Descriptor.MessageTypes[2]; }
 663    }
 664
 665    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 666    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 667    pbr::MessageDescriptor pb::IMessage.Descriptor {
 0668      get { return Descriptor; }
 669    }
 670
 671    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 672    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 0673    public UserData() {
 674      OnConstruction();
 0675    }
 676
 677    partial void OnConstruction();
 678
 679    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 680    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 0681    public UserData(UserData other) : this() {
 0682      displayName_ = other.displayName_;
 0683      publicKey_ = other.publicKey_;
 0684      hasConnectedWeb3_ = other.hasConnectedWeb3_;
 0685      userId_ = other.userId_;
 0686      version_ = other.version_;
 0687      avatar_ = other.avatar_ != null ? other.avatar_.Clone() : null;
 0688      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 0689    }
 690
 691    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 692    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 693    public UserData Clone() {
 0694      return new UserData(this);
 695    }
 696
 697    /// <summary>Field number for the "display_name" field.</summary>
 698    public const int DisplayNameFieldNumber = 1;
 0699    private string displayName_ = "";
 700    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 701    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 702    public string DisplayName {
 0703      get { return displayName_; }
 704      set {
 0705        displayName_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
 0706      }
 707    }
 708
 709    /// <summary>Field number for the "public_key" field.</summary>
 710    public const int PublicKeyFieldNumber = 2;
 711    private string publicKey_;
 712    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 713    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 714    public string PublicKey {
 0715      get { return publicKey_ ?? ""; }
 716      set {
 0717        publicKey_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
 0718      }
 719    }
 720    /// <summary>Gets whether the "public_key" field is set</summary>
 721    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 722    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 723    public bool HasPublicKey {
 0724      get { return publicKey_ != null; }
 725    }
 726    /// <summary>Clears the value of the "public_key" field</summary>
 727    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 728    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 729    public void ClearPublicKey() {
 0730      publicKey_ = null;
 0731    }
 732
 733    /// <summary>Field number for the "has_connected_web3" field.</summary>
 734    public const int HasConnectedWeb3FieldNumber = 3;
 735    private bool hasConnectedWeb3_;
 736    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 737    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 738    public bool HasConnectedWeb3 {
 0739      get { return hasConnectedWeb3_; }
 740      set {
 0741        hasConnectedWeb3_ = value;
 0742      }
 743    }
 744
 745    /// <summary>Field number for the "user_id" field.</summary>
 746    public const int UserIdFieldNumber = 4;
 0747    private string userId_ = "";
 748    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 749    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 750    public string UserId {
 0751      get { return userId_; }
 752      set {
 0753        userId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
 0754      }
 755    }
 756
 757    /// <summary>Field number for the "version" field.</summary>
 758    public const int VersionFieldNumber = 5;
 759    private int version_;
 760    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 761    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 762    public int Version {
 0763      get { return version_; }
 764      set {
 0765        version_ = value;
 0766      }
 767    }
 768
 769    /// <summary>Field number for the "avatar" field.</summary>
 770    public const int AvatarFieldNumber = 6;
 771    private global::Decentraland.Common.Sdk.AvatarForUserData avatar_;
 772    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 773    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 774    public global::Decentraland.Common.Sdk.AvatarForUserData Avatar {
 0775      get { return avatar_; }
 776      set {
 0777        avatar_ = value;
 0778      }
 779    }
 780
 781    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 782    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 783    public override bool Equals(object other) {
 0784      return Equals(other as UserData);
 785    }
 786
 787    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 788    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 789    public bool Equals(UserData other) {
 0790      if (ReferenceEquals(other, null)) {
 0791        return false;
 792      }
 0793      if (ReferenceEquals(other, this)) {
 0794        return true;
 795      }
 0796      if (DisplayName != other.DisplayName) return false;
 0797      if (PublicKey != other.PublicKey) return false;
 0798      if (HasConnectedWeb3 != other.HasConnectedWeb3) return false;
 0799      if (UserId != other.UserId) return false;
 0800      if (Version != other.Version) return false;
 0801      if (!object.Equals(Avatar, other.Avatar)) return false;
 0802      return Equals(_unknownFields, other._unknownFields);
 803    }
 804
 805    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 806    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 807    public override int GetHashCode() {
 0808      int hash = 1;
 0809      if (DisplayName.Length != 0) hash ^= DisplayName.GetHashCode();
 0810      if (HasPublicKey) hash ^= PublicKey.GetHashCode();
 0811      if (HasConnectedWeb3 != false) hash ^= HasConnectedWeb3.GetHashCode();
 0812      if (UserId.Length != 0) hash ^= UserId.GetHashCode();
 0813      if (Version != 0) hash ^= Version.GetHashCode();
 0814      if (avatar_ != null) hash ^= Avatar.GetHashCode();
 0815      if (_unknownFields != null) {
 0816        hash ^= _unknownFields.GetHashCode();
 817      }
 0818      return hash;
 819    }
 820
 821    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 822    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 823    public override string ToString() {
 0824      return pb::JsonFormatter.ToDiagnosticString(this);
 825    }
 826
 827    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 828    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 829    public void WriteTo(pb::CodedOutputStream output) {
 830    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 831      output.WriteRawMessage(this);
 832    #else
 0833      if (DisplayName.Length != 0) {
 0834        output.WriteRawTag(10);
 0835        output.WriteString(DisplayName);
 836      }
 0837      if (HasPublicKey) {
 0838        output.WriteRawTag(18);
 0839        output.WriteString(PublicKey);
 840      }
 0841      if (HasConnectedWeb3 != false) {
 0842        output.WriteRawTag(24);
 0843        output.WriteBool(HasConnectedWeb3);
 844      }
 0845      if (UserId.Length != 0) {
 0846        output.WriteRawTag(34);
 0847        output.WriteString(UserId);
 848      }
 0849      if (Version != 0) {
 0850        output.WriteRawTag(40);
 0851        output.WriteInt32(Version);
 852      }
 0853      if (avatar_ != null) {
 0854        output.WriteRawTag(50);
 0855        output.WriteMessage(Avatar);
 856      }
 0857      if (_unknownFields != null) {
 0858        _unknownFields.WriteTo(output);
 859      }
 860    #endif
 0861    }
 862
 863    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 864    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 865    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 866    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
 867      if (DisplayName.Length != 0) {
 868        output.WriteRawTag(10);
 869        output.WriteString(DisplayName);
 870      }
 871      if (HasPublicKey) {
 872        output.WriteRawTag(18);
 873        output.WriteString(PublicKey);
 874      }
 875      if (HasConnectedWeb3 != false) {
 876        output.WriteRawTag(24);
 877        output.WriteBool(HasConnectedWeb3);
 878      }
 879      if (UserId.Length != 0) {
 880        output.WriteRawTag(34);
 881        output.WriteString(UserId);
 882      }
 883      if (Version != 0) {
 884        output.WriteRawTag(40);
 885        output.WriteInt32(Version);
 886      }
 887      if (avatar_ != null) {
 888        output.WriteRawTag(50);
 889        output.WriteMessage(Avatar);
 890      }
 891      if (_unknownFields != null) {
 892        _unknownFields.WriteTo(ref output);
 893      }
 894    }
 895    #endif
 896
 897    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 898    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 899    public int CalculateSize() {
 0900      int size = 0;
 0901      if (DisplayName.Length != 0) {
 0902        size += 1 + pb::CodedOutputStream.ComputeStringSize(DisplayName);
 903      }
 0904      if (HasPublicKey) {
 0905        size += 1 + pb::CodedOutputStream.ComputeStringSize(PublicKey);
 906      }
 0907      if (HasConnectedWeb3 != false) {
 0908        size += 1 + 1;
 909      }
 0910      if (UserId.Length != 0) {
 0911        size += 1 + pb::CodedOutputStream.ComputeStringSize(UserId);
 912      }
 0913      if (Version != 0) {
 0914        size += 1 + pb::CodedOutputStream.ComputeInt32Size(Version);
 915      }
 0916      if (avatar_ != null) {
 0917        size += 1 + pb::CodedOutputStream.ComputeMessageSize(Avatar);
 918      }
 0919      if (_unknownFields != null) {
 0920        size += _unknownFields.CalculateSize();
 921      }
 0922      return size;
 923    }
 924
 925    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 926    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 927    public void MergeFrom(UserData other) {
 0928      if (other == null) {
 0929        return;
 930      }
 0931      if (other.DisplayName.Length != 0) {
 0932        DisplayName = other.DisplayName;
 933      }
 0934      if (other.HasPublicKey) {
 0935        PublicKey = other.PublicKey;
 936      }
 0937      if (other.HasConnectedWeb3 != false) {
 0938        HasConnectedWeb3 = other.HasConnectedWeb3;
 939      }
 0940      if (other.UserId.Length != 0) {
 0941        UserId = other.UserId;
 942      }
 0943      if (other.Version != 0) {
 0944        Version = other.Version;
 945      }
 0946      if (other.avatar_ != null) {
 0947        if (avatar_ == null) {
 0948          Avatar = new global::Decentraland.Common.Sdk.AvatarForUserData();
 949        }
 0950        Avatar.MergeFrom(other.Avatar);
 951      }
 0952      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 0953    }
 954
 955    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 956    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 957    public void MergeFrom(pb::CodedInputStream input) {
 958    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 959      input.ReadRawMessage(this);
 960    #else
 961      uint tag;
 0962      while ((tag = input.ReadTag()) != 0) {
 963        switch(tag) {
 964          default:
 0965            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 0966            break;
 967          case 10: {
 0968            DisplayName = input.ReadString();
 0969            break;
 970          }
 971          case 18: {
 0972            PublicKey = input.ReadString();
 0973            break;
 974          }
 975          case 24: {
 0976            HasConnectedWeb3 = input.ReadBool();
 0977            break;
 978          }
 979          case 34: {
 0980            UserId = input.ReadString();
 0981            break;
 982          }
 983          case 40: {
 0984            Version = input.ReadInt32();
 0985            break;
 986          }
 987          case 50: {
 0988            if (avatar_ == null) {
 0989              Avatar = new global::Decentraland.Common.Sdk.AvatarForUserData();
 990            }
 0991            input.ReadMessage(Avatar);
 992            break;
 993          }
 994        }
 995      }
 996    #endif
 0997    }
 998
 999    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 1000    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1001    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1002    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
 1003      uint tag;
 1004      while ((tag = input.ReadTag()) != 0) {
 1005        switch(tag) {
 1006          default:
 1007            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
 1008            break;
 1009          case 10: {
 1010            DisplayName = input.ReadString();
 1011            break;
 1012          }
 1013          case 18: {
 1014            PublicKey = input.ReadString();
 1015            break;
 1016          }
 1017          case 24: {
 1018            HasConnectedWeb3 = input.ReadBool();
 1019            break;
 1020          }
 1021          case 34: {
 1022            UserId = input.ReadString();
 1023            break;
 1024          }
 1025          case 40: {
 1026            Version = input.ReadInt32();
 1027            break;
 1028          }
 1029          case 50: {
 1030            if (avatar_ == null) {
 1031              Avatar = new global::Decentraland.Common.Sdk.AvatarForUserData();
 1032            }
 1033            input.ReadMessage(Avatar);
 1034            break;
 1035          }
 1036        }
 1037      }
 1038    }
 1039    #endif
 1040
 1041  }
 1042
 1043  #endregion
 1044
 1045}
 1046
 1047#endregion Designer generated code