< Summary

Class:DCL.ECSComponents.UiInputResultReflection
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:4
Coverable lines:4
Total lines:290
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
UiInputResultReflection()0%2100%

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 {
 020      get { return descriptor; }
 21    }
 22    private static pbr::FileDescriptor descriptor;
 23
 24    static UiInputResultReflection() {
 025      byte[] descriptorData = global::System.Convert.FromBase64String(
 26          string.Concat(
 27            "CjFkZWNlbnRyYWxhbmQvc2RrL2NvbXBvbmVudHMvdWlfaW5wdXRfcmVzdWx0",
 28            "LnByb3RvEhtkZWNlbnRyYWxhbmQuc2RrLmNvbXBvbmVudHMiRgoPUEJVaUlu",
 29            "cHV0UmVzdWx0Eg0KBXZhbHVlGAEgASgJEhYKCWlzX3N1Ym1pdBgCIAEoCEgA",
 30            "iAEBQgwKCl9pc19zdWJtaXRCFKoCEURDTC5FQ1NDb21wb25lbnRzYgZwcm90",
 31            "bzM="));
 032      descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
 33          new pbr::FileDescriptor[] { },
 34          new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
 35            new pbr::GeneratedClrTypeInfo(typeof(global::DCL.ECSComponents.PBUiInputResult), global::DCL.ECSComponents.P
 36          }));
 037    }
 38    #endregion
 39
 40  }
 41  #region Messages
 42  public sealed partial class PBUiInputResult : pb::IMessage<PBUiInputResult>
 43  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 44      , pb::IBufferMessage
 45  #endif
 46  {
 47    private static readonly pb::MessageParser<PBUiInputResult> _parser = new pb::MessageParser<PBUiInputResult>(() => ne
 48    private pb::UnknownFieldSet _unknownFields;
 49    private int _hasBits0;
 50    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 51    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 52    public static pb::MessageParser<PBUiInputResult> Parser { get { return _parser; } }
 53
 54    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 55    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 56    public static pbr::MessageDescriptor Descriptor {
 57      get { return global::DCL.ECSComponents.UiInputResultReflection.Descriptor.MessageTypes[0]; }
 58    }
 59
 60    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 61    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 62    pbr::MessageDescriptor pb::IMessage.Descriptor {
 63      get { return Descriptor; }
 64    }
 65
 66    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 67    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 68    public PBUiInputResult() {
 69      OnConstruction();
 70    }
 71
 72    partial void OnConstruction();
 73
 74    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 75    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 76    public PBUiInputResult(PBUiInputResult other) : this() {
 77      _hasBits0 = other._hasBits0;
 78      value_ = other.value_;
 79      isSubmit_ = other.isSubmit_;
 80      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 81    }
 82
 83    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 84    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 85    public PBUiInputResult Clone() {
 86      return new PBUiInputResult(this);
 87    }
 88
 89    /// <summary>Field number for the "value" field.</summary>
 90    public const int ValueFieldNumber = 1;
 91    private string value_ = "";
 92    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 93    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 94    public string Value {
 95      get { return value_; }
 96      set {
 97        value_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
 98      }
 99    }
 100
 101    /// <summary>Field number for the "is_submit" field.</summary>
 102    public const int IsSubmitFieldNumber = 2;
 103    private bool isSubmit_;
 104    /// <summary>
 105    /// default: false
 106    /// </summary>
 107    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 108    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 109    public bool IsSubmit {
 110      get { if ((_hasBits0 & 1) != 0) { return isSubmit_; } else { return false; } }
 111      set {
 112        _hasBits0 |= 1;
 113        isSubmit_ = value;
 114      }
 115    }
 116    /// <summary>Gets whether the "is_submit" field is set</summary>
 117    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 118    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 119    public bool HasIsSubmit {
 120      get { return (_hasBits0 & 1) != 0; }
 121    }
 122    /// <summary>Clears the value of the "is_submit" field</summary>
 123    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 124    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 125    public void ClearIsSubmit() {
 126      _hasBits0 &= ~1;
 127    }
 128
 129    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 130    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 131    public override bool Equals(object other) {
 132      return Equals(other as PBUiInputResult);
 133    }
 134
 135    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 136    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 137    public bool Equals(PBUiInputResult other) {
 138      if (ReferenceEquals(other, null)) {
 139        return false;
 140      }
 141      if (ReferenceEquals(other, this)) {
 142        return true;
 143      }
 144      if (Value != other.Value) return false;
 145      if (IsSubmit != other.IsSubmit) return false;
 146      return Equals(_unknownFields, other._unknownFields);
 147    }
 148
 149    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 150    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 151    public override int GetHashCode() {
 152      int hash = 1;
 153      if (Value.Length != 0) hash ^= Value.GetHashCode();
 154      if (HasIsSubmit) hash ^= IsSubmit.GetHashCode();
 155      if (_unknownFields != null) {
 156        hash ^= _unknownFields.GetHashCode();
 157      }
 158      return hash;
 159    }
 160
 161    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 162    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 163    public override string ToString() {
 164      return pb::JsonFormatter.ToDiagnosticString(this);
 165    }
 166
 167    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 168    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 169    public void WriteTo(pb::CodedOutputStream output) {
 170    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 171      output.WriteRawMessage(this);
 172    #else
 173      if (Value.Length != 0) {
 174        output.WriteRawTag(10);
 175        output.WriteString(Value);
 176      }
 177      if (HasIsSubmit) {
 178        output.WriteRawTag(16);
 179        output.WriteBool(IsSubmit);
 180      }
 181      if (_unknownFields != null) {
 182        _unknownFields.WriteTo(output);
 183      }
 184    #endif
 185    }
 186
 187    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 188    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 189    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 190    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
 191      if (Value.Length != 0) {
 192        output.WriteRawTag(10);
 193        output.WriteString(Value);
 194      }
 195      if (HasIsSubmit) {
 196        output.WriteRawTag(16);
 197        output.WriteBool(IsSubmit);
 198      }
 199      if (_unknownFields != null) {
 200        _unknownFields.WriteTo(ref output);
 201      }
 202    }
 203    #endif
 204
 205    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 206    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 207    public int CalculateSize() {
 208      int size = 0;
 209      if (Value.Length != 0) {
 210        size += 1 + pb::CodedOutputStream.ComputeStringSize(Value);
 211      }
 212      if (HasIsSubmit) {
 213        size += 1 + 1;
 214      }
 215      if (_unknownFields != null) {
 216        size += _unknownFields.CalculateSize();
 217      }
 218      return size;
 219    }
 220
 221    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 222    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 223    public void MergeFrom(PBUiInputResult other) {
 224      if (other == null) {
 225        return;
 226      }
 227      if (other.Value.Length != 0) {
 228        Value = other.Value;
 229      }
 230      if (other.HasIsSubmit) {
 231        IsSubmit = other.IsSubmit;
 232      }
 233      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 234    }
 235
 236    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 237    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 238    public void MergeFrom(pb::CodedInputStream input) {
 239    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 240      input.ReadRawMessage(this);
 241    #else
 242      uint tag;
 243      while ((tag = input.ReadTag()) != 0) {
 244        switch(tag) {
 245          default:
 246            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 247            break;
 248          case 10: {
 249            Value = input.ReadString();
 250            break;
 251          }
 252          case 16: {
 253            IsSubmit = input.ReadBool();
 254            break;
 255          }
 256        }
 257      }
 258    #endif
 259    }
 260
 261    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 262    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 263    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 264    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
 265      uint tag;
 266      while ((tag = input.ReadTag()) != 0) {
 267        switch(tag) {
 268          default:
 269            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
 270            break;
 271          case 10: {
 272            Value = input.ReadString();
 273            break;
 274          }
 275          case 16: {
 276            IsSubmit = input.ReadBool();
 277            break;
 278          }
 279        }
 280      }
 281    }
 282    #endif
 283
 284  }
 285
 286  #endregion
 287
 288}
 289
 290#endregion Designer generated code