< Summary

Class:TransportReflection
Assembly:RPC.GeneratedCode
File(s):/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/WorldRuntime/KernelCommunication/RPC/GeneratedCode/Transport.gen.cs
Covered lines:4
Uncovered lines:0
Coverable lines:4
Total lines:231
Line coverage:100% (4 of 4)
Covered branches:0
Total branches:0

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity NPath complexity Sequence coverage
TransportReflection()0%110100%

File(s)

/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/WorldRuntime/KernelCommunication/RPC/GeneratedCode/Transport.gen.cs

#LineLine coverage
 1// <auto-generated>
 2//     Generated by the protocol buffer compiler.  DO NOT EDIT!
 3//     source: decentraland/renderer/renderer_services/transport.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;
 12/// <summary>Holder for reflection information generated from decentraland/renderer/renderer_services/transport.proto</s
 13public static partial class TransportReflection {
 14
 15  #region Descriptor
 16  /// <summary>File descriptor for decentraland/renderer/renderer_services/transport.proto</summary>
 17  public static pbr::FileDescriptor Descriptor {
 418    get { return descriptor; }
 19  }
 20  private static pbr::FileDescriptor descriptor;
 21
 22  static TransportReflection() {
 123    byte[] descriptorData = global::System.Convert.FromBase64String(
 24        string.Concat(
 25          "CjdkZWNlbnRyYWxhbmQvcmVuZGVyZXIvcmVuZGVyZXJfc2VydmljZXMvdHJh",
 26          "bnNwb3J0LnByb3RvIhoKB1BheWxvYWQSDwoHcGF5bG9hZBgBIAEoDDJDChBU",
 27          "cmFuc3BvcnRTZXJ2aWNlEi8KE09wZW5UcmFuc3BvcnRTdHJlYW0SCC5QYXls",
 28          "b2FkGgguUGF5bG9hZCIAKAEwAWIGcHJvdG8z"));
 129    descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
 30        new pbr::FileDescriptor[] { },
 31        new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
 32          new pbr::GeneratedClrTypeInfo(typeof(global::Payload), global::Payload.Parser, new[]{ "Payload_" }, null, null
 33        }));
 134  }
 35  #endregion
 36
 37}
 38#region Messages
 39public sealed partial class Payload : pb::IMessage<Payload>
 40#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 41    , pb::IBufferMessage
 42#endif
 43{
 44  private static readonly pb::MessageParser<Payload> _parser = new pb::MessageParser<Payload>(() => new Payload());
 45  private pb::UnknownFieldSet _unknownFields;
 46  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 47  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 48  public static pb::MessageParser<Payload> Parser { get { return _parser; } }
 49
 50  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 51  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 52  public static pbr::MessageDescriptor Descriptor {
 53    get { return global::TransportReflection.Descriptor.MessageTypes[0]; }
 54  }
 55
 56  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 57  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 58  pbr::MessageDescriptor pb::IMessage.Descriptor {
 59    get { return Descriptor; }
 60  }
 61
 62  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 63  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 64  public Payload() {
 65    OnConstruction();
 66  }
 67
 68  partial void OnConstruction();
 69
 70  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 71  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 72  public Payload(Payload other) : this() {
 73    payload_ = other.payload_;
 74    _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 75  }
 76
 77  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 78  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 79  public Payload Clone() {
 80    return new Payload(this);
 81  }
 82
 83  /// <summary>Field number for the "payload" field.</summary>
 84  public const int Payload_FieldNumber = 1;
 85  private pb::ByteString payload_ = pb::ByteString.Empty;
 86  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 87  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 88  public pb::ByteString Payload_ {
 89    get { return payload_; }
 90    set {
 91      payload_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
 92    }
 93  }
 94
 95  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 96  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 97  public override bool Equals(object other) {
 98    return Equals(other as Payload);
 99  }
 100
 101  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 102  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 103  public bool Equals(Payload other) {
 104    if (ReferenceEquals(other, null)) {
 105      return false;
 106    }
 107    if (ReferenceEquals(other, this)) {
 108      return true;
 109    }
 110    if (Payload_ != other.Payload_) return false;
 111    return Equals(_unknownFields, other._unknownFields);
 112  }
 113
 114  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 115  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 116  public override int GetHashCode() {
 117    int hash = 1;
 118    if (Payload_.Length != 0) hash ^= Payload_.GetHashCode();
 119    if (_unknownFields != null) {
 120      hash ^= _unknownFields.GetHashCode();
 121    }
 122    return hash;
 123  }
 124
 125  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 126  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 127  public override string ToString() {
 128    return pb::JsonFormatter.ToDiagnosticString(this);
 129  }
 130
 131  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 132  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 133  public void WriteTo(pb::CodedOutputStream output) {
 134  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 135    output.WriteRawMessage(this);
 136  #else
 137    if (Payload_.Length != 0) {
 138      output.WriteRawTag(10);
 139      output.WriteBytes(Payload_);
 140    }
 141    if (_unknownFields != null) {
 142      _unknownFields.WriteTo(output);
 143    }
 144  #endif
 145  }
 146
 147  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 148  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 149  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 150  void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
 151    if (Payload_.Length != 0) {
 152      output.WriteRawTag(10);
 153      output.WriteBytes(Payload_);
 154    }
 155    if (_unknownFields != null) {
 156      _unknownFields.WriteTo(ref output);
 157    }
 158  }
 159  #endif
 160
 161  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 162  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 163  public int CalculateSize() {
 164    int size = 0;
 165    if (Payload_.Length != 0) {
 166      size += 1 + pb::CodedOutputStream.ComputeBytesSize(Payload_);
 167    }
 168    if (_unknownFields != null) {
 169      size += _unknownFields.CalculateSize();
 170    }
 171    return size;
 172  }
 173
 174  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 175  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 176  public void MergeFrom(Payload other) {
 177    if (other == null) {
 178      return;
 179    }
 180    if (other.Payload_.Length != 0) {
 181      Payload_ = other.Payload_;
 182    }
 183    _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 184  }
 185
 186  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 187  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 188  public void MergeFrom(pb::CodedInputStream input) {
 189  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 190    input.ReadRawMessage(this);
 191  #else
 192    uint tag;
 193    while ((tag = input.ReadTag()) != 0) {
 194      switch(tag) {
 195        default:
 196          _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 197          break;
 198        case 10: {
 199          Payload_ = input.ReadBytes();
 200          break;
 201        }
 202      }
 203    }
 204  #endif
 205  }
 206
 207  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 208  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 209  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 210  void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
 211    uint tag;
 212    while ((tag = input.ReadTag()) != 0) {
 213      switch(tag) {
 214        default:
 215          _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
 216          break;
 217        case 10: {
 218          Payload_ = input.ReadBytes();
 219          break;
 220        }
 221      }
 222    }
 223  }
 224  #endif
 225
 226}
 227
 228#endregion
 229
 230
 231#endregion Designer generated code

Methods/Properties

Descriptor()
TransportReflection()