< Summary

Class:DCL.ECSComponents.PBAvatarShape
Assembly:DCL.ECSComponents.ProtobufData
File(s):/tmp/workspace/unity-renderer/unity-renderer/Assets/DCLPlugins/ECS7/ProtocolBuffers/Generated/PBFiles/AvatarShape.cs
Covered lines:0
Uncovered lines:249
Coverable lines:249
Total lines:757
Line coverage:0% (0 of 249)
Covered branches:0
Total branches:0

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity NPath complexity Sequence coverage
PBAvatarShape()0%2100%
get_Descriptor()0%2100%
PBAvatarShape(...)0%56700%
Clone()0%2100%
PBAvatarShape()0%2100%
ClearName()0%2100%
ClearBodyShape()0%2100%
ClearExpressionTriggerId()0%2100%
ClearExpressionTriggerTimestamp()0%2100%
ClearStickerTriggerId()0%2100%
ClearStickerTriggerTimestamp()0%2100%
ClearTalking()0%2100%
Equals(...)0%2100%
Equals(...)0%2401500%
GetHashCode()0%1821300%
ToString()0%2100%
WriteTo(...)0%1821300%
CalculateSize()0%1821300%
MergeFrom(...)0%2721600%
MergeFrom(...)0%4202000%

File(s)

/tmp/workspace/unity-renderer/unity-renderer/Assets/DCLPlugins/ECS7/ProtocolBuffers/Generated/PBFiles/AvatarShape.cs

#LineLine coverage
 1// <auto-generated>
 2//     Generated by the protocol buffer compiler.  DO NOT EDIT!
 3//     source: AvatarShape.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 AvatarShape.proto</summary>
 15  public static partial class AvatarShapeReflection {
 16
 17    #region Descriptor
 18    /// <summary>File descriptor for AvatarShape.proto</summary>
 19    public static pbr::FileDescriptor Descriptor {
 20      get { return descriptor; }
 21    }
 22    private static pbr::FileDescriptor descriptor;
 23
 24    static AvatarShapeReflection() {
 25      byte[] descriptorData = global::System.Convert.FromBase64String(
 26          string.Concat(
 27            "ChFBdmF0YXJTaGFwZS5wcm90bxIQZGVjZW50cmFsYW5kLmVjcxoTY29tbW9u",
 28            "L0NvbG9yMy5wcm90byKtBAoNUEJBdmF0YXJTaGFwZRIKCgJpZBgBIAEoCRIR",
 29            "CgRuYW1lGAIgASgJSACIAQESFwoKYm9keV9zaGFwZRgDIAEoCUgBiAEBEiAK",
 30            "CnNraW5fY29sb3IYBCABKAsyBy5Db2xvcjNIAogBARIgCgpoYWlyX2NvbG9y",
 31            "GAUgASgLMgcuQ29sb3IzSAOIAQESHwoJZXllX2NvbG9yGAYgASgLMgcuQ29s",
 32            "b3IzSASIAQESEQoJd2VhcmFibGVzGAcgAygJEiIKFWV4cHJlc3Npb25fdHJp",
 33            "Z2dlcl9pZBgIIAEoCUgFiAEBEikKHGV4cHJlc3Npb25fdHJpZ2dlcl90aW1l",
 34            "c3RhbXAYCSABKANIBogBARIfChJzdGlja2VyX3RyaWdnZXJfaWQYCiABKAlI",
 35            "B4gBARImChlzdGlja2VyX3RyaWdnZXJfdGltZXN0YW1wGAsgASgDSAiIAQES",
 36            "FAoHdGFsa2luZxgMIAEoCEgJiAEBQgcKBV9uYW1lQg0KC19ib2R5X3NoYXBl",
 37            "Qg0KC19za2luX2NvbG9yQg0KC19oYWlyX2NvbG9yQgwKCl9leWVfY29sb3JC",
 38            "GAoWX2V4cHJlc3Npb25fdHJpZ2dlcl9pZEIfCh1fZXhwcmVzc2lvbl90cmln",
 39            "Z2VyX3RpbWVzdGFtcEIVChNfc3RpY2tlcl90cmlnZ2VyX2lkQhwKGl9zdGlj",
 40            "a2VyX3RyaWdnZXJfdGltZXN0YW1wQgoKCF90YWxraW5nQhSqAhFEQ0wuRUNT",
 41            "Q29tcG9uZW50c2IGcHJvdG8z"));
 42      descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
 43          new pbr::FileDescriptor[] { global::Color3Reflection.Descriptor, },
 44          new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
 45            new pbr::GeneratedClrTypeInfo(typeof(global::DCL.ECSComponents.PBAvatarShape), global::DCL.ECSComponents.PBA
 46          }));
 47    }
 48    #endregion
 49
 50  }
 51  #region Messages
 52  public sealed partial class PBAvatarShape : pb::IMessage<PBAvatarShape>
 53  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 54      , pb::IBufferMessage
 55  #endif
 56  {
 057    private static readonly pb::MessageParser<PBAvatarShape> _parser = new pb::MessageParser<PBAvatarShape>(() => new PB
 58    private pb::UnknownFieldSet _unknownFields;
 59    private int _hasBits0;
 60    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 61    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 062    public static pb::MessageParser<PBAvatarShape> Parser { get { return _parser; } }
 63
 64    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 65    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 66    public static pbr::MessageDescriptor Descriptor {
 067      get { return global::DCL.ECSComponents.AvatarShapeReflection.Descriptor.MessageTypes[0]; }
 68    }
 69
 70    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 71    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 72    pbr::MessageDescriptor pb::IMessage.Descriptor {
 073      get { return Descriptor; }
 74    }
 75
 76    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 77    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 078    public PBAvatarShape() {
 79      OnConstruction();
 080    }
 81
 82    partial void OnConstruction();
 83
 84    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 85    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 086    public PBAvatarShape(PBAvatarShape other) : this() {
 087      _hasBits0 = other._hasBits0;
 088      id_ = other.id_;
 089      name_ = other.name_;
 090      bodyShape_ = other.bodyShape_;
 091      skinColor_ = other.skinColor_ != null ? other.skinColor_.Clone() : null;
 092      hairColor_ = other.hairColor_ != null ? other.hairColor_.Clone() : null;
 093      eyeColor_ = other.eyeColor_ != null ? other.eyeColor_.Clone() : null;
 094      wearables_ = other.wearables_.Clone();
 095      expressionTriggerId_ = other.expressionTriggerId_;
 096      expressionTriggerTimestamp_ = other.expressionTriggerTimestamp_;
 097      stickerTriggerId_ = other.stickerTriggerId_;
 098      stickerTriggerTimestamp_ = other.stickerTriggerTimestamp_;
 099      talking_ = other.talking_;
 0100      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 0101    }
 102
 103    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 104    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 105    public PBAvatarShape Clone() {
 0106      return new PBAvatarShape(this);
 107    }
 108
 109    /// <summary>Field number for the "id" field.</summary>
 110    public const int IdFieldNumber = 1;
 0111    private string id_ = "";
 112    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 113    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 114    public string Id {
 0115      get { return id_; }
 116      set {
 0117        id_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
 0118      }
 119    }
 120
 121    /// <summary>Field number for the "name" field.</summary>
 122    public const int NameFieldNumber = 2;
 123    private string name_;
 124    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 125    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 126    public string Name {
 0127      get { return name_ ?? ""; }
 128      set {
 0129        name_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
 0130      }
 131    }
 132    /// <summary>Gets whether the "name" field is set</summary>
 133    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 134    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 135    public bool HasName {
 0136      get { return name_ != null; }
 137    }
 138    /// <summary>Clears the value of the "name" field</summary>
 139    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 140    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 141    public void ClearName() {
 0142      name_ = null;
 0143    }
 144
 145    /// <summary>Field number for the "body_shape" field.</summary>
 146    public const int BodyShapeFieldNumber = 3;
 147    private string bodyShape_;
 148    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 149    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 150    public string BodyShape {
 0151      get { return bodyShape_ ?? ""; }
 152      set {
 0153        bodyShape_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
 0154      }
 155    }
 156    /// <summary>Gets whether the "body_shape" field is set</summary>
 157    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 158    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 159    public bool HasBodyShape {
 0160      get { return bodyShape_ != null; }
 161    }
 162    /// <summary>Clears the value of the "body_shape" field</summary>
 163    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 164    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 165    public void ClearBodyShape() {
 0166      bodyShape_ = null;
 0167    }
 168
 169    /// <summary>Field number for the "skin_color" field.</summary>
 170    public const int SkinColorFieldNumber = 4;
 171    private global::Color3 skinColor_;
 172    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 173    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 174    public global::Color3 SkinColor {
 0175      get { return skinColor_; }
 176      set {
 0177        skinColor_ = value;
 0178      }
 179    }
 180
 181    /// <summary>Field number for the "hair_color" field.</summary>
 182    public const int HairColorFieldNumber = 5;
 183    private global::Color3 hairColor_;
 184    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 185    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 186    public global::Color3 HairColor {
 0187      get { return hairColor_; }
 188      set {
 0189        hairColor_ = value;
 0190      }
 191    }
 192
 193    /// <summary>Field number for the "eye_color" field.</summary>
 194    public const int EyeColorFieldNumber = 6;
 195    private global::Color3 eyeColor_;
 196    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 197    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 198    public global::Color3 EyeColor {
 0199      get { return eyeColor_; }
 200      set {
 0201        eyeColor_ = value;
 0202      }
 203    }
 204
 205    /// <summary>Field number for the "wearables" field.</summary>
 206    public const int WearablesFieldNumber = 7;
 0207    private static readonly pb::FieldCodec<string> _repeated_wearables_codec
 208        = pb::FieldCodec.ForString(58);
 0209    private readonly pbc::RepeatedField<string> wearables_ = new pbc::RepeatedField<string>();
 210    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 211    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 212    public pbc::RepeatedField<string> Wearables {
 0213      get { return wearables_; }
 214    }
 215
 216    /// <summary>Field number for the "expression_trigger_id" field.</summary>
 217    public const int ExpressionTriggerIdFieldNumber = 8;
 218    private string expressionTriggerId_;
 219    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 220    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 221    public string ExpressionTriggerId {
 0222      get { return expressionTriggerId_ ?? ""; }
 223      set {
 0224        expressionTriggerId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
 0225      }
 226    }
 227    /// <summary>Gets whether the "expression_trigger_id" field is set</summary>
 228    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 229    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 230    public bool HasExpressionTriggerId {
 0231      get { return expressionTriggerId_ != null; }
 232    }
 233    /// <summary>Clears the value of the "expression_trigger_id" field</summary>
 234    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 235    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 236    public void ClearExpressionTriggerId() {
 0237      expressionTriggerId_ = null;
 0238    }
 239
 240    /// <summary>Field number for the "expression_trigger_timestamp" field.</summary>
 241    public const int ExpressionTriggerTimestampFieldNumber = 9;
 242    private long expressionTriggerTimestamp_;
 243    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 244    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 245    public long ExpressionTriggerTimestamp {
 0246      get { if ((_hasBits0 & 1) != 0) { return expressionTriggerTimestamp_; } else { return 0L; } }
 247      set {
 0248        _hasBits0 |= 1;
 0249        expressionTriggerTimestamp_ = value;
 0250      }
 251    }
 252    /// <summary>Gets whether the "expression_trigger_timestamp" field is set</summary>
 253    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 254    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 255    public bool HasExpressionTriggerTimestamp {
 0256      get { return (_hasBits0 & 1) != 0; }
 257    }
 258    /// <summary>Clears the value of the "expression_trigger_timestamp" field</summary>
 259    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 260    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 261    public void ClearExpressionTriggerTimestamp() {
 0262      _hasBits0 &= ~1;
 0263    }
 264
 265    /// <summary>Field number for the "sticker_trigger_id" field.</summary>
 266    public const int StickerTriggerIdFieldNumber = 10;
 267    private string stickerTriggerId_;
 268    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 269    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 270    public string StickerTriggerId {
 0271      get { return stickerTriggerId_ ?? ""; }
 272      set {
 0273        stickerTriggerId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
 0274      }
 275    }
 276    /// <summary>Gets whether the "sticker_trigger_id" field is set</summary>
 277    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 278    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 279    public bool HasStickerTriggerId {
 0280      get { return stickerTriggerId_ != null; }
 281    }
 282    /// <summary>Clears the value of the "sticker_trigger_id" field</summary>
 283    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 284    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 285    public void ClearStickerTriggerId() {
 0286      stickerTriggerId_ = null;
 0287    }
 288
 289    /// <summary>Field number for the "sticker_trigger_timestamp" field.</summary>
 290    public const int StickerTriggerTimestampFieldNumber = 11;
 291    private long stickerTriggerTimestamp_;
 292    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 293    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 294    public long StickerTriggerTimestamp {
 0295      get { if ((_hasBits0 & 2) != 0) { return stickerTriggerTimestamp_; } else { return 0L; } }
 296      set {
 0297        _hasBits0 |= 2;
 0298        stickerTriggerTimestamp_ = value;
 0299      }
 300    }
 301    /// <summary>Gets whether the "sticker_trigger_timestamp" field is set</summary>
 302    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 303    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 304    public bool HasStickerTriggerTimestamp {
 0305      get { return (_hasBits0 & 2) != 0; }
 306    }
 307    /// <summary>Clears the value of the "sticker_trigger_timestamp" field</summary>
 308    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 309    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 310    public void ClearStickerTriggerTimestamp() {
 0311      _hasBits0 &= ~2;
 0312    }
 313
 314    /// <summary>Field number for the "talking" field.</summary>
 315    public const int TalkingFieldNumber = 12;
 316    private bool talking_;
 317    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 318    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 319    public bool Talking {
 0320      get { if ((_hasBits0 & 4) != 0) { return talking_; } else { return false; } }
 321      set {
 0322        _hasBits0 |= 4;
 0323        talking_ = value;
 0324      }
 325    }
 326    /// <summary>Gets whether the "talking" field is set</summary>
 327    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 328    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 329    public bool HasTalking {
 0330      get { return (_hasBits0 & 4) != 0; }
 331    }
 332    /// <summary>Clears the value of the "talking" field</summary>
 333    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 334    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 335    public void ClearTalking() {
 0336      _hasBits0 &= ~4;
 0337    }
 338
 339    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 340    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 341    public override bool Equals(object other) {
 0342      return Equals(other as PBAvatarShape);
 343    }
 344
 345    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 346    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 347    public bool Equals(PBAvatarShape other) {
 0348      if (ReferenceEquals(other, null)) {
 0349        return false;
 350      }
 0351      if (ReferenceEquals(other, this)) {
 0352        return true;
 353      }
 0354      if (Id != other.Id) return false;
 0355      if (Name != other.Name) return false;
 0356      if (BodyShape != other.BodyShape) return false;
 0357      if (!object.Equals(SkinColor, other.SkinColor)) return false;
 0358      if (!object.Equals(HairColor, other.HairColor)) return false;
 0359      if (!object.Equals(EyeColor, other.EyeColor)) return false;
 0360      if(!wearables_.Equals(other.wearables_)) return false;
 0361      if (ExpressionTriggerId != other.ExpressionTriggerId) return false;
 0362      if (ExpressionTriggerTimestamp != other.ExpressionTriggerTimestamp) return false;
 0363      if (StickerTriggerId != other.StickerTriggerId) return false;
 0364      if (StickerTriggerTimestamp != other.StickerTriggerTimestamp) return false;
 0365      if (Talking != other.Talking) return false;
 0366      return Equals(_unknownFields, other._unknownFields);
 367    }
 368
 369    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 370    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 371    public override int GetHashCode() {
 0372      int hash = 1;
 0373      if (Id.Length != 0) hash ^= Id.GetHashCode();
 0374      if (HasName) hash ^= Name.GetHashCode();
 0375      if (HasBodyShape) hash ^= BodyShape.GetHashCode();
 0376      if (skinColor_ != null) hash ^= SkinColor.GetHashCode();
 0377      if (hairColor_ != null) hash ^= HairColor.GetHashCode();
 0378      if (eyeColor_ != null) hash ^= EyeColor.GetHashCode();
 0379      hash ^= wearables_.GetHashCode();
 0380      if (HasExpressionTriggerId) hash ^= ExpressionTriggerId.GetHashCode();
 0381      if (HasExpressionTriggerTimestamp) hash ^= ExpressionTriggerTimestamp.GetHashCode();
 0382      if (HasStickerTriggerId) hash ^= StickerTriggerId.GetHashCode();
 0383      if (HasStickerTriggerTimestamp) hash ^= StickerTriggerTimestamp.GetHashCode();
 0384      if (HasTalking) hash ^= Talking.GetHashCode();
 0385      if (_unknownFields != null) {
 0386        hash ^= _unknownFields.GetHashCode();
 387      }
 0388      return hash;
 389    }
 390
 391    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 392    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 393    public override string ToString() {
 0394      return pb::JsonFormatter.ToDiagnosticString(this);
 395    }
 396
 397    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 398    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 399    public void WriteTo(pb::CodedOutputStream output) {
 400    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 401      output.WriteRawMessage(this);
 402    #else
 0403      if (Id.Length != 0) {
 0404        output.WriteRawTag(10);
 0405        output.WriteString(Id);
 406      }
 0407      if (HasName) {
 0408        output.WriteRawTag(18);
 0409        output.WriteString(Name);
 410      }
 0411      if (HasBodyShape) {
 0412        output.WriteRawTag(26);
 0413        output.WriteString(BodyShape);
 414      }
 0415      if (skinColor_ != null) {
 0416        output.WriteRawTag(34);
 0417        output.WriteMessage(SkinColor);
 418      }
 0419      if (hairColor_ != null) {
 0420        output.WriteRawTag(42);
 0421        output.WriteMessage(HairColor);
 422      }
 0423      if (eyeColor_ != null) {
 0424        output.WriteRawTag(50);
 0425        output.WriteMessage(EyeColor);
 426      }
 0427      wearables_.WriteTo(output, _repeated_wearables_codec);
 0428      if (HasExpressionTriggerId) {
 0429        output.WriteRawTag(66);
 0430        output.WriteString(ExpressionTriggerId);
 431      }
 0432      if (HasExpressionTriggerTimestamp) {
 0433        output.WriteRawTag(72);
 0434        output.WriteInt64(ExpressionTriggerTimestamp);
 435      }
 0436      if (HasStickerTriggerId) {
 0437        output.WriteRawTag(82);
 0438        output.WriteString(StickerTriggerId);
 439      }
 0440      if (HasStickerTriggerTimestamp) {
 0441        output.WriteRawTag(88);
 0442        output.WriteInt64(StickerTriggerTimestamp);
 443      }
 0444      if (HasTalking) {
 0445        output.WriteRawTag(96);
 0446        output.WriteBool(Talking);
 447      }
 0448      if (_unknownFields != null) {
 0449        _unknownFields.WriteTo(output);
 450      }
 451    #endif
 0452    }
 453
 454    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 455    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 456    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 457    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
 458      if (Id.Length != 0) {
 459        output.WriteRawTag(10);
 460        output.WriteString(Id);
 461      }
 462      if (HasName) {
 463        output.WriteRawTag(18);
 464        output.WriteString(Name);
 465      }
 466      if (HasBodyShape) {
 467        output.WriteRawTag(26);
 468        output.WriteString(BodyShape);
 469      }
 470      if (skinColor_ != null) {
 471        output.WriteRawTag(34);
 472        output.WriteMessage(SkinColor);
 473      }
 474      if (hairColor_ != null) {
 475        output.WriteRawTag(42);
 476        output.WriteMessage(HairColor);
 477      }
 478      if (eyeColor_ != null) {
 479        output.WriteRawTag(50);
 480        output.WriteMessage(EyeColor);
 481      }
 482      wearables_.WriteTo(ref output, _repeated_wearables_codec);
 483      if (HasExpressionTriggerId) {
 484        output.WriteRawTag(66);
 485        output.WriteString(ExpressionTriggerId);
 486      }
 487      if (HasExpressionTriggerTimestamp) {
 488        output.WriteRawTag(72);
 489        output.WriteInt64(ExpressionTriggerTimestamp);
 490      }
 491      if (HasStickerTriggerId) {
 492        output.WriteRawTag(82);
 493        output.WriteString(StickerTriggerId);
 494      }
 495      if (HasStickerTriggerTimestamp) {
 496        output.WriteRawTag(88);
 497        output.WriteInt64(StickerTriggerTimestamp);
 498      }
 499      if (HasTalking) {
 500        output.WriteRawTag(96);
 501        output.WriteBool(Talking);
 502      }
 503      if (_unknownFields != null) {
 504        _unknownFields.WriteTo(ref output);
 505      }
 506    }
 507    #endif
 508
 509    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 510    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 511    public int CalculateSize() {
 0512      int size = 0;
 0513      if (Id.Length != 0) {
 0514        size += 1 + pb::CodedOutputStream.ComputeStringSize(Id);
 515      }
 0516      if (HasName) {
 0517        size += 1 + pb::CodedOutputStream.ComputeStringSize(Name);
 518      }
 0519      if (HasBodyShape) {
 0520        size += 1 + pb::CodedOutputStream.ComputeStringSize(BodyShape);
 521      }
 0522      if (skinColor_ != null) {
 0523        size += 1 + pb::CodedOutputStream.ComputeMessageSize(SkinColor);
 524      }
 0525      if (hairColor_ != null) {
 0526        size += 1 + pb::CodedOutputStream.ComputeMessageSize(HairColor);
 527      }
 0528      if (eyeColor_ != null) {
 0529        size += 1 + pb::CodedOutputStream.ComputeMessageSize(EyeColor);
 530      }
 0531      size += wearables_.CalculateSize(_repeated_wearables_codec);
 0532      if (HasExpressionTriggerId) {
 0533        size += 1 + pb::CodedOutputStream.ComputeStringSize(ExpressionTriggerId);
 534      }
 0535      if (HasExpressionTriggerTimestamp) {
 0536        size += 1 + pb::CodedOutputStream.ComputeInt64Size(ExpressionTriggerTimestamp);
 537      }
 0538      if (HasStickerTriggerId) {
 0539        size += 1 + pb::CodedOutputStream.ComputeStringSize(StickerTriggerId);
 540      }
 0541      if (HasStickerTriggerTimestamp) {
 0542        size += 1 + pb::CodedOutputStream.ComputeInt64Size(StickerTriggerTimestamp);
 543      }
 0544      if (HasTalking) {
 0545        size += 1 + 1;
 546      }
 0547      if (_unknownFields != null) {
 0548        size += _unknownFields.CalculateSize();
 549      }
 0550      return size;
 551    }
 552
 553    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 554    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 555    public void MergeFrom(PBAvatarShape other) {
 0556      if (other == null) {
 0557        return;
 558      }
 0559      if (other.Id.Length != 0) {
 0560        Id = other.Id;
 561      }
 0562      if (other.HasName) {
 0563        Name = other.Name;
 564      }
 0565      if (other.HasBodyShape) {
 0566        BodyShape = other.BodyShape;
 567      }
 0568      if (other.skinColor_ != null) {
 0569        if (skinColor_ == null) {
 0570          SkinColor = new global::Color3();
 571        }
 0572        SkinColor.MergeFrom(other.SkinColor);
 573      }
 0574      if (other.hairColor_ != null) {
 0575        if (hairColor_ == null) {
 0576          HairColor = new global::Color3();
 577        }
 0578        HairColor.MergeFrom(other.HairColor);
 579      }
 0580      if (other.eyeColor_ != null) {
 0581        if (eyeColor_ == null) {
 0582          EyeColor = new global::Color3();
 583        }
 0584        EyeColor.MergeFrom(other.EyeColor);
 585      }
 0586      wearables_.Add(other.wearables_);
 0587      if (other.HasExpressionTriggerId) {
 0588        ExpressionTriggerId = other.ExpressionTriggerId;
 589      }
 0590      if (other.HasExpressionTriggerTimestamp) {
 0591        ExpressionTriggerTimestamp = other.ExpressionTriggerTimestamp;
 592      }
 0593      if (other.HasStickerTriggerId) {
 0594        StickerTriggerId = other.StickerTriggerId;
 595      }
 0596      if (other.HasStickerTriggerTimestamp) {
 0597        StickerTriggerTimestamp = other.StickerTriggerTimestamp;
 598      }
 0599      if (other.HasTalking) {
 0600        Talking = other.Talking;
 601      }
 0602      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 0603    }
 604
 605    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 606    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 607    public void MergeFrom(pb::CodedInputStream input) {
 608    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 609      input.ReadRawMessage(this);
 610    #else
 611      uint tag;
 0612      while ((tag = input.ReadTag()) != 0) {
 613        switch(tag) {
 614          default:
 0615            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 0616            break;
 617          case 10: {
 0618            Id = input.ReadString();
 0619            break;
 620          }
 621          case 18: {
 0622            Name = input.ReadString();
 0623            break;
 624          }
 625          case 26: {
 0626            BodyShape = input.ReadString();
 0627            break;
 628          }
 629          case 34: {
 0630            if (skinColor_ == null) {
 0631              SkinColor = new global::Color3();
 632            }
 0633            input.ReadMessage(SkinColor);
 0634            break;
 635          }
 636          case 42: {
 0637            if (hairColor_ == null) {
 0638              HairColor = new global::Color3();
 639            }
 0640            input.ReadMessage(HairColor);
 0641            break;
 642          }
 643          case 50: {
 0644            if (eyeColor_ == null) {
 0645              EyeColor = new global::Color3();
 646            }
 0647            input.ReadMessage(EyeColor);
 0648            break;
 649          }
 650          case 58: {
 0651            wearables_.AddEntriesFrom(input, _repeated_wearables_codec);
 0652            break;
 653          }
 654          case 66: {
 0655            ExpressionTriggerId = input.ReadString();
 0656            break;
 657          }
 658          case 72: {
 0659            ExpressionTriggerTimestamp = input.ReadInt64();
 0660            break;
 661          }
 662          case 82: {
 0663            StickerTriggerId = input.ReadString();
 0664            break;
 665          }
 666          case 88: {
 0667            StickerTriggerTimestamp = input.ReadInt64();
 0668            break;
 669          }
 670          case 96: {
 0671            Talking = input.ReadBool();
 672            break;
 673          }
 674        }
 675      }
 676    #endif
 0677    }
 678
 679    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 680    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 681    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 682    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
 683      uint tag;
 684      while ((tag = input.ReadTag()) != 0) {
 685        switch(tag) {
 686          default:
 687            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
 688            break;
 689          case 10: {
 690            Id = input.ReadString();
 691            break;
 692          }
 693          case 18: {
 694            Name = input.ReadString();
 695            break;
 696          }
 697          case 26: {
 698            BodyShape = input.ReadString();
 699            break;
 700          }
 701          case 34: {
 702            if (skinColor_ == null) {
 703              SkinColor = new global::Color3();
 704            }
 705            input.ReadMessage(SkinColor);
 706            break;
 707          }
 708          case 42: {
 709            if (hairColor_ == null) {
 710              HairColor = new global::Color3();
 711            }
 712            input.ReadMessage(HairColor);
 713            break;
 714          }
 715          case 50: {
 716            if (eyeColor_ == null) {
 717              EyeColor = new global::Color3();
 718            }
 719            input.ReadMessage(EyeColor);
 720            break;
 721          }
 722          case 58: {
 723            wearables_.AddEntriesFrom(ref input, _repeated_wearables_codec);
 724            break;
 725          }
 726          case 66: {
 727            ExpressionTriggerId = input.ReadString();
 728            break;
 729          }
 730          case 72: {
 731            ExpressionTriggerTimestamp = input.ReadInt64();
 732            break;
 733          }
 734          case 82: {
 735            StickerTriggerId = input.ReadString();
 736            break;
 737          }
 738          case 88: {
 739            StickerTriggerTimestamp = input.ReadInt64();
 740            break;
 741          }
 742          case 96: {
 743            Talking = input.ReadBool();
 744            break;
 745          }
 746        }
 747      }
 748    }
 749    #endif
 750
 751  }
 752
 753  #endregion
 754
 755}
 756
 757#endregion Designer generated code