< Summary

Class:DCL.ECSComponents.PBUiInputResult
Assembly:Decentraland.Protocol.GeneratedCode
File(s):/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/DecentralandProtocol/UiInputResult.gen.cs
Covered lines:0
Uncovered lines:51
Coverable lines:51
Total lines:234
Line coverage:0% (0 of 51)
Covered branches:0
Total branches:0

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity NPath complexity Sequence coverage
PBUiInputResult()0%2100%
get_Descriptor()0%2100%
PBUiInputResult(...)0%2100%
Clone()0%2100%
PBUiInputResult()0%2100%
Equals(...)0%2100%
Equals(...)0%20400%
GetHashCode()0%12300%
ToString()0%2100%
WriteTo(...)0%12300%
CalculateSize()0%12300%
MergeFrom(...)0%12300%
MergeFrom(...)0%12300%

File(s)

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

#LineLine coverage
 1// <auto-generated>
 2//     Generated by the protocol buffer compiler.  DO NOT EDIT!
 3//     source: decentraland/sdk/components/ui_input_result.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_result.proto</summa
 15  public static partial class UiInputResultReflection {
 16
 17    #region Descriptor
 18    /// <summary>File descriptor for decentraland/sdk/components/ui_input_result.proto</summary>
 19    public static pbr::FileDescriptor Descriptor {
 20      get { return descriptor; }
 21    }
 22    private static pbr::FileDescriptor descriptor;
 23
 24    static UiInputResultReflection() {
 25      byte[] descriptorData = global::System.Convert.FromBase64String(
 26          string.Concat(
 27            "CjFkZWNlbnRyYWxhbmQvc2RrL2NvbXBvbmVudHMvdWlfaW5wdXRfcmVzdWx0",
 28            "LnByb3RvEhtkZWNlbnRyYWxhbmQuc2RrLmNvbXBvbmVudHMiIAoPUEJVaUlu",
 29            "cHV0UmVzdWx0Eg0KBXZhbHVlGAEgASgJQhSqAhFEQ0wuRUNTQ29tcG9uZW50",
 30            "c2IGcHJvdG8z"));
 31      descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
 32          new pbr::FileDescriptor[] { },
 33          new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
 34            new pbr::GeneratedClrTypeInfo(typeof(global::DCL.ECSComponents.PBUiInputResult), global::DCL.ECSComponents.P
 35          }));
 36    }
 37    #endregion
 38
 39  }
 40  #region Messages
 41  public sealed partial class PBUiInputResult : pb::IMessage<PBUiInputResult>
 42  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 43      , pb::IBufferMessage
 44  #endif
 45  {
 046    private static readonly pb::MessageParser<PBUiInputResult> _parser = new pb::MessageParser<PBUiInputResult>(() => ne
 47    private pb::UnknownFieldSet _unknownFields;
 48    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 49    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 050    public static pb::MessageParser<PBUiInputResult> Parser { get { return _parser; } }
 51
 52    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 53    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 54    public static pbr::MessageDescriptor Descriptor {
 055      get { return global::DCL.ECSComponents.UiInputResultReflection.Descriptor.MessageTypes[0]; }
 56    }
 57
 58    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 59    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 60    pbr::MessageDescriptor pb::IMessage.Descriptor {
 061      get { return Descriptor; }
 62    }
 63
 64    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 65    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 066    public PBUiInputResult() {
 67      OnConstruction();
 068    }
 69
 70    partial void OnConstruction();
 71
 72    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 73    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 074    public PBUiInputResult(PBUiInputResult other) : this() {
 075      value_ = other.value_;
 076      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 077    }
 78
 79    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 80    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 81    public PBUiInputResult Clone() {
 082      return new PBUiInputResult(this);
 83    }
 84
 85    /// <summary>Field number for the "value" field.</summary>
 86    public const int ValueFieldNumber = 1;
 087    private string value_ = "";
 88    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 89    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 90    public string Value {
 091      get { return value_; }
 92      set {
 093        value_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
 094      }
 95    }
 96
 97    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 98    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 99    public override bool Equals(object other) {
 0100      return Equals(other as PBUiInputResult);
 101    }
 102
 103    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 104    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 105    public bool Equals(PBUiInputResult other) {
 0106      if (ReferenceEquals(other, null)) {
 0107        return false;
 108      }
 0109      if (ReferenceEquals(other, this)) {
 0110        return true;
 111      }
 0112      if (Value != other.Value) return false;
 0113      return Equals(_unknownFields, other._unknownFields);
 114    }
 115
 116    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 117    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 118    public override int GetHashCode() {
 0119      int hash = 1;
 0120      if (Value.Length != 0) hash ^= Value.GetHashCode();
 0121      if (_unknownFields != null) {
 0122        hash ^= _unknownFields.GetHashCode();
 123      }
 0124      return hash;
 125    }
 126
 127    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 128    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 129    public override string ToString() {
 0130      return pb::JsonFormatter.ToDiagnosticString(this);
 131    }
 132
 133    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 134    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 135    public void WriteTo(pb::CodedOutputStream output) {
 136    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 137      output.WriteRawMessage(this);
 138    #else
 0139      if (Value.Length != 0) {
 0140        output.WriteRawTag(10);
 0141        output.WriteString(Value);
 142      }
 0143      if (_unknownFields != null) {
 0144        _unknownFields.WriteTo(output);
 145      }
 146    #endif
 0147    }
 148
 149    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 150    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 151    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 152    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
 153      if (Value.Length != 0) {
 154        output.WriteRawTag(10);
 155        output.WriteString(Value);
 156      }
 157      if (_unknownFields != null) {
 158        _unknownFields.WriteTo(ref output);
 159      }
 160    }
 161    #endif
 162
 163    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 164    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 165    public int CalculateSize() {
 0166      int size = 0;
 0167      if (Value.Length != 0) {
 0168        size += 1 + pb::CodedOutputStream.ComputeStringSize(Value);
 169      }
 0170      if (_unknownFields != null) {
 0171        size += _unknownFields.CalculateSize();
 172      }
 0173      return size;
 174    }
 175
 176    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 177    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 178    public void MergeFrom(PBUiInputResult other) {
 0179      if (other == null) {
 0180        return;
 181      }
 0182      if (other.Value.Length != 0) {
 0183        Value = other.Value;
 184      }
 0185      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 0186    }
 187
 188    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 189    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 190    public void MergeFrom(pb::CodedInputStream input) {
 191    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 192      input.ReadRawMessage(this);
 193    #else
 194      uint tag;
 0195      while ((tag = input.ReadTag()) != 0) {
 196        switch(tag) {
 197          default:
 0198            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 0199            break;
 200          case 10: {
 0201            Value = input.ReadString();
 202            break;
 203          }
 204        }
 205      }
 206    #endif
 0207    }
 208
 209    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 210    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 211    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 212    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
 213      uint tag;
 214      while ((tag = input.ReadTag()) != 0) {
 215        switch(tag) {
 216          default:
 217            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
 218            break;
 219          case 10: {
 220            Value = input.ReadString();
 221            break;
 222          }
 223        }
 224      }
 225    }
 226    #endif
 227
 228  }
 229
 230  #endregion
 231
 232}
 233
 234#endregion Designer generated code