< Summary

Class:Decentraland.Renderer.KernelServices.SignRequestReflection
Assembly:Decentraland.Protocol.GeneratedCode
File(s):/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/DecentralandProtocol/SignRequest.gen.cs
Covered lines:0
Uncovered lines:4
Coverable lines:4
Total lines:995
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
SignRequestReflection()0%2100%

File(s)

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

#LineLine coverage
 1// <auto-generated>
 2//     Generated by the protocol buffer compiler.  DO NOT EDIT!
 3//     source: decentraland/renderer/kernel_services/sign_request.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.Renderer.KernelServices {
 13
 14  /// <summary>Holder for reflection information generated from decentraland/renderer/kernel_services/sign_request.proto
 15  public static partial class SignRequestReflection {
 16
 17    #region Descriptor
 18    /// <summary>File descriptor for decentraland/renderer/kernel_services/sign_request.proto</summary>
 19    public static pbr::FileDescriptor Descriptor {
 020      get { return descriptor; }
 21    }
 22    private static pbr::FileDescriptor descriptor;
 23
 24    static SignRequestReflection() {
 025      byte[] descriptorData = global::System.Convert.FromBase64String(
 26          string.Concat(
 27            "CjhkZWNlbnRyYWxhbmQvcmVuZGVyZXIva2VybmVsX3NlcnZpY2VzL3NpZ25f",
 28            "cmVxdWVzdC5wcm90bxIlZGVjZW50cmFsYW5kLnJlbmRlcmVyLmtlcm5lbF9z",
 29            "ZXJ2aWNlcyJLChBTaWduQm9keVJlc3BvbnNlEhIKCmF1dGhfY2hhaW4YASAD",
 30            "KAkSEQoJdGltZXN0YW1wGAIgASgEEhAKCG1ldGFkYXRhGAMgASgJInYKD1Np",
 31            "Z25Cb2R5UmVxdWVzdBJECgZtZXRob2QYASABKA4yNC5kZWNlbnRyYWxhbmQu",
 32            "cmVuZGVyZXIua2VybmVsX3NlcnZpY2VzLlJlcXVlc3RNZXRob2QSCwoDdXJs",
 33            "GAIgASgJEhAKCG1ldGFkYXRhGAMgASgJIrcBChdHZXRTaWduZWRIZWFkZXJz",
 34            "UmVxdWVzdBILCgN1cmwYASABKAkSXgoIbWV0YWRhdGEYAiADKAsyTC5kZWNl",
 35            "bnRyYWxhbmQucmVuZGVyZXIua2VybmVsX3NlcnZpY2VzLkdldFNpZ25lZEhl",
 36            "YWRlcnNSZXF1ZXN0Lk1ldGFkYXRhRW50cnkaLwoNTWV0YWRhdGFFbnRyeRIL",
 37            "CgNrZXkYASABKAkSDQoFdmFsdWUYAiABKAk6AjgBIisKGEdldFNpZ25lZEhl",
 38            "YWRlcnNSZXNwb25zZRIPCgdtZXNzYWdlGAEgASgJKkIKDVJlcXVlc3RNZXRo",
 39            "b2QSBwoDR0VUEAASCAoEUE9TVBABEgcKA1BVVBACEgkKBVBBVENIEAMSCgoG",
 40            "REVMRVRFEAQyvQIKGFNpZ25SZXF1ZXN0S2VybmVsU2VydmljZRKIAQoTR2V0",
 41            "UmVxdWVzdFNpZ25hdHVyZRI2LmRlY2VudHJhbGFuZC5yZW5kZXJlci5rZXJu",
 42            "ZWxfc2VydmljZXMuU2lnbkJvZHlSZXF1ZXN0GjcuZGVjZW50cmFsYW5kLnJl",
 43            "bmRlcmVyLmtlcm5lbF9zZXJ2aWNlcy5TaWduQm9keVJlc3BvbnNlIgASlQEK",
 44            "EEdldFNpZ25lZEhlYWRlcnMSPi5kZWNlbnRyYWxhbmQucmVuZGVyZXIua2Vy",
 45            "bmVsX3NlcnZpY2VzLkdldFNpZ25lZEhlYWRlcnNSZXF1ZXN0Gj8uZGVjZW50",
 46            "cmFsYW5kLnJlbmRlcmVyLmtlcm5lbF9zZXJ2aWNlcy5HZXRTaWduZWRIZWFk",
 47            "ZXJzUmVzcG9uc2UiAGIGcHJvdG8z"));
 048      descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
 49          new pbr::FileDescriptor[] { },
 50          new pbr::GeneratedClrTypeInfo(new[] {typeof(global::Decentraland.Renderer.KernelServices.RequestMethod), }, nu
 51            new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Renderer.KernelServices.SignBodyResponse), global:
 52            new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Renderer.KernelServices.SignBodyRequest), global::
 53            new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Renderer.KernelServices.GetSignedHeadersRequest), 
 54            new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Renderer.KernelServices.GetSignedHeadersResponse),
 55          }));
 056    }
 57    #endregion
 58
 59  }
 60  #region Enums
 61  public enum RequestMethod {
 62    [pbr::OriginalName("GET")] Get = 0,
 63    [pbr::OriginalName("POST")] Post = 1,
 64    [pbr::OriginalName("PUT")] Put = 2,
 65    [pbr::OriginalName("PATCH")] Patch = 3,
 66    [pbr::OriginalName("DELETE")] Delete = 4,
 67  }
 68
 69  #endregion
 70
 71  #region Messages
 72  public sealed partial class SignBodyResponse : pb::IMessage<SignBodyResponse>
 73  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 74      , pb::IBufferMessage
 75  #endif
 76  {
 77    private static readonly pb::MessageParser<SignBodyResponse> _parser = new pb::MessageParser<SignBodyResponse>(() => 
 78    private pb::UnknownFieldSet _unknownFields;
 79    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 80    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 81    public static pb::MessageParser<SignBodyResponse> Parser { get { return _parser; } }
 82
 83    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 84    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 85    public static pbr::MessageDescriptor Descriptor {
 86      get { return global::Decentraland.Renderer.KernelServices.SignRequestReflection.Descriptor.MessageTypes[0]; }
 87    }
 88
 89    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 90    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 91    pbr::MessageDescriptor pb::IMessage.Descriptor {
 92      get { return Descriptor; }
 93    }
 94
 95    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 96    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 97    public SignBodyResponse() {
 98      OnConstruction();
 99    }
 100
 101    partial void OnConstruction();
 102
 103    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 104    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 105    public SignBodyResponse(SignBodyResponse other) : this() {
 106      authChain_ = other.authChain_.Clone();
 107      timestamp_ = other.timestamp_;
 108      metadata_ = other.metadata_;
 109      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 110    }
 111
 112    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 113    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 114    public SignBodyResponse Clone() {
 115      return new SignBodyResponse(this);
 116    }
 117
 118    /// <summary>Field number for the "auth_chain" field.</summary>
 119    public const int AuthChainFieldNumber = 1;
 120    private static readonly pb::FieldCodec<string> _repeated_authChain_codec
 121        = pb::FieldCodec.ForString(10);
 122    private readonly pbc::RepeatedField<string> authChain_ = new pbc::RepeatedField<string>();
 123    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 124    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 125    public pbc::RepeatedField<string> AuthChain {
 126      get { return authChain_; }
 127    }
 128
 129    /// <summary>Field number for the "timestamp" field.</summary>
 130    public const int TimestampFieldNumber = 2;
 131    private ulong timestamp_;
 132    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 133    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 134    public ulong Timestamp {
 135      get { return timestamp_; }
 136      set {
 137        timestamp_ = value;
 138      }
 139    }
 140
 141    /// <summary>Field number for the "metadata" field.</summary>
 142    public const int MetadataFieldNumber = 3;
 143    private string metadata_ = "";
 144    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 145    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 146    public string Metadata {
 147      get { return metadata_; }
 148      set {
 149        metadata_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
 150      }
 151    }
 152
 153    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 154    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 155    public override bool Equals(object other) {
 156      return Equals(other as SignBodyResponse);
 157    }
 158
 159    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 160    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 161    public bool Equals(SignBodyResponse other) {
 162      if (ReferenceEquals(other, null)) {
 163        return false;
 164      }
 165      if (ReferenceEquals(other, this)) {
 166        return true;
 167      }
 168      if(!authChain_.Equals(other.authChain_)) return false;
 169      if (Timestamp != other.Timestamp) return false;
 170      if (Metadata != other.Metadata) return false;
 171      return Equals(_unknownFields, other._unknownFields);
 172    }
 173
 174    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 175    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 176    public override int GetHashCode() {
 177      int hash = 1;
 178      hash ^= authChain_.GetHashCode();
 179      if (Timestamp != 0UL) hash ^= Timestamp.GetHashCode();
 180      if (Metadata.Length != 0) hash ^= Metadata.GetHashCode();
 181      if (_unknownFields != null) {
 182        hash ^= _unknownFields.GetHashCode();
 183      }
 184      return hash;
 185    }
 186
 187    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 188    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 189    public override string ToString() {
 190      return pb::JsonFormatter.ToDiagnosticString(this);
 191    }
 192
 193    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 194    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 195    public void WriteTo(pb::CodedOutputStream output) {
 196    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 197      output.WriteRawMessage(this);
 198    #else
 199      authChain_.WriteTo(output, _repeated_authChain_codec);
 200      if (Timestamp != 0UL) {
 201        output.WriteRawTag(16);
 202        output.WriteUInt64(Timestamp);
 203      }
 204      if (Metadata.Length != 0) {
 205        output.WriteRawTag(26);
 206        output.WriteString(Metadata);
 207      }
 208      if (_unknownFields != null) {
 209        _unknownFields.WriteTo(output);
 210      }
 211    #endif
 212    }
 213
 214    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 215    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 216    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 217    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
 218      authChain_.WriteTo(ref output, _repeated_authChain_codec);
 219      if (Timestamp != 0UL) {
 220        output.WriteRawTag(16);
 221        output.WriteUInt64(Timestamp);
 222      }
 223      if (Metadata.Length != 0) {
 224        output.WriteRawTag(26);
 225        output.WriteString(Metadata);
 226      }
 227      if (_unknownFields != null) {
 228        _unknownFields.WriteTo(ref output);
 229      }
 230    }
 231    #endif
 232
 233    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 234    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 235    public int CalculateSize() {
 236      int size = 0;
 237      size += authChain_.CalculateSize(_repeated_authChain_codec);
 238      if (Timestamp != 0UL) {
 239        size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Timestamp);
 240      }
 241      if (Metadata.Length != 0) {
 242        size += 1 + pb::CodedOutputStream.ComputeStringSize(Metadata);
 243      }
 244      if (_unknownFields != null) {
 245        size += _unknownFields.CalculateSize();
 246      }
 247      return size;
 248    }
 249
 250    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 251    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 252    public void MergeFrom(SignBodyResponse other) {
 253      if (other == null) {
 254        return;
 255      }
 256      authChain_.Add(other.authChain_);
 257      if (other.Timestamp != 0UL) {
 258        Timestamp = other.Timestamp;
 259      }
 260      if (other.Metadata.Length != 0) {
 261        Metadata = other.Metadata;
 262      }
 263      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 264    }
 265
 266    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 267    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 268    public void MergeFrom(pb::CodedInputStream input) {
 269    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 270      input.ReadRawMessage(this);
 271    #else
 272      uint tag;
 273      while ((tag = input.ReadTag()) != 0) {
 274        switch(tag) {
 275          default:
 276            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 277            break;
 278          case 10: {
 279            authChain_.AddEntriesFrom(input, _repeated_authChain_codec);
 280            break;
 281          }
 282          case 16: {
 283            Timestamp = input.ReadUInt64();
 284            break;
 285          }
 286          case 26: {
 287            Metadata = input.ReadString();
 288            break;
 289          }
 290        }
 291      }
 292    #endif
 293    }
 294
 295    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 296    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 297    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 298    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
 299      uint tag;
 300      while ((tag = input.ReadTag()) != 0) {
 301        switch(tag) {
 302          default:
 303            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
 304            break;
 305          case 10: {
 306            authChain_.AddEntriesFrom(ref input, _repeated_authChain_codec);
 307            break;
 308          }
 309          case 16: {
 310            Timestamp = input.ReadUInt64();
 311            break;
 312          }
 313          case 26: {
 314            Metadata = input.ReadString();
 315            break;
 316          }
 317        }
 318      }
 319    }
 320    #endif
 321
 322  }
 323
 324  public sealed partial class SignBodyRequest : pb::IMessage<SignBodyRequest>
 325  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 326      , pb::IBufferMessage
 327  #endif
 328  {
 329    private static readonly pb::MessageParser<SignBodyRequest> _parser = new pb::MessageParser<SignBodyRequest>(() => ne
 330    private pb::UnknownFieldSet _unknownFields;
 331    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 332    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 333    public static pb::MessageParser<SignBodyRequest> Parser { get { return _parser; } }
 334
 335    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 336    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 337    public static pbr::MessageDescriptor Descriptor {
 338      get { return global::Decentraland.Renderer.KernelServices.SignRequestReflection.Descriptor.MessageTypes[1]; }
 339    }
 340
 341    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 342    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 343    pbr::MessageDescriptor pb::IMessage.Descriptor {
 344      get { return Descriptor; }
 345    }
 346
 347    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 348    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 349    public SignBodyRequest() {
 350      OnConstruction();
 351    }
 352
 353    partial void OnConstruction();
 354
 355    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 356    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 357    public SignBodyRequest(SignBodyRequest other) : this() {
 358      method_ = other.method_;
 359      url_ = other.url_;
 360      metadata_ = other.metadata_;
 361      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 362    }
 363
 364    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 365    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 366    public SignBodyRequest Clone() {
 367      return new SignBodyRequest(this);
 368    }
 369
 370    /// <summary>Field number for the "method" field.</summary>
 371    public const int MethodFieldNumber = 1;
 372    private global::Decentraland.Renderer.KernelServices.RequestMethod method_ = global::Decentraland.Renderer.KernelSer
 373    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 374    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 375    public global::Decentraland.Renderer.KernelServices.RequestMethod Method {
 376      get { return method_; }
 377      set {
 378        method_ = value;
 379      }
 380    }
 381
 382    /// <summary>Field number for the "url" field.</summary>
 383    public const int UrlFieldNumber = 2;
 384    private string url_ = "";
 385    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 386    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 387    public string Url {
 388      get { return url_; }
 389      set {
 390        url_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
 391      }
 392    }
 393
 394    /// <summary>Field number for the "metadata" field.</summary>
 395    public const int MetadataFieldNumber = 3;
 396    private string metadata_ = "";
 397    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 398    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 399    public string Metadata {
 400      get { return metadata_; }
 401      set {
 402        metadata_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
 403      }
 404    }
 405
 406    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 407    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 408    public override bool Equals(object other) {
 409      return Equals(other as SignBodyRequest);
 410    }
 411
 412    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 413    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 414    public bool Equals(SignBodyRequest other) {
 415      if (ReferenceEquals(other, null)) {
 416        return false;
 417      }
 418      if (ReferenceEquals(other, this)) {
 419        return true;
 420      }
 421      if (Method != other.Method) return false;
 422      if (Url != other.Url) return false;
 423      if (Metadata != other.Metadata) return false;
 424      return Equals(_unknownFields, other._unknownFields);
 425    }
 426
 427    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 428    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 429    public override int GetHashCode() {
 430      int hash = 1;
 431      if (Method != global::Decentraland.Renderer.KernelServices.RequestMethod.Get) hash ^= Method.GetHashCode();
 432      if (Url.Length != 0) hash ^= Url.GetHashCode();
 433      if (Metadata.Length != 0) hash ^= Metadata.GetHashCode();
 434      if (_unknownFields != null) {
 435        hash ^= _unknownFields.GetHashCode();
 436      }
 437      return hash;
 438    }
 439
 440    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 441    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 442    public override string ToString() {
 443      return pb::JsonFormatter.ToDiagnosticString(this);
 444    }
 445
 446    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 447    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 448    public void WriteTo(pb::CodedOutputStream output) {
 449    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 450      output.WriteRawMessage(this);
 451    #else
 452      if (Method != global::Decentraland.Renderer.KernelServices.RequestMethod.Get) {
 453        output.WriteRawTag(8);
 454        output.WriteEnum((int) Method);
 455      }
 456      if (Url.Length != 0) {
 457        output.WriteRawTag(18);
 458        output.WriteString(Url);
 459      }
 460      if (Metadata.Length != 0) {
 461        output.WriteRawTag(26);
 462        output.WriteString(Metadata);
 463      }
 464      if (_unknownFields != null) {
 465        _unknownFields.WriteTo(output);
 466      }
 467    #endif
 468    }
 469
 470    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 471    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 472    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 473    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
 474      if (Method != global::Decentraland.Renderer.KernelServices.RequestMethod.Get) {
 475        output.WriteRawTag(8);
 476        output.WriteEnum((int) Method);
 477      }
 478      if (Url.Length != 0) {
 479        output.WriteRawTag(18);
 480        output.WriteString(Url);
 481      }
 482      if (Metadata.Length != 0) {
 483        output.WriteRawTag(26);
 484        output.WriteString(Metadata);
 485      }
 486      if (_unknownFields != null) {
 487        _unknownFields.WriteTo(ref output);
 488      }
 489    }
 490    #endif
 491
 492    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 493    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 494    public int CalculateSize() {
 495      int size = 0;
 496      if (Method != global::Decentraland.Renderer.KernelServices.RequestMethod.Get) {
 497        size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Method);
 498      }
 499      if (Url.Length != 0) {
 500        size += 1 + pb::CodedOutputStream.ComputeStringSize(Url);
 501      }
 502      if (Metadata.Length != 0) {
 503        size += 1 + pb::CodedOutputStream.ComputeStringSize(Metadata);
 504      }
 505      if (_unknownFields != null) {
 506        size += _unknownFields.CalculateSize();
 507      }
 508      return size;
 509    }
 510
 511    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 512    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 513    public void MergeFrom(SignBodyRequest other) {
 514      if (other == null) {
 515        return;
 516      }
 517      if (other.Method != global::Decentraland.Renderer.KernelServices.RequestMethod.Get) {
 518        Method = other.Method;
 519      }
 520      if (other.Url.Length != 0) {
 521        Url = other.Url;
 522      }
 523      if (other.Metadata.Length != 0) {
 524        Metadata = other.Metadata;
 525      }
 526      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 527    }
 528
 529    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 530    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 531    public void MergeFrom(pb::CodedInputStream input) {
 532    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 533      input.ReadRawMessage(this);
 534    #else
 535      uint tag;
 536      while ((tag = input.ReadTag()) != 0) {
 537        switch(tag) {
 538          default:
 539            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 540            break;
 541          case 8: {
 542            Method = (global::Decentraland.Renderer.KernelServices.RequestMethod) input.ReadEnum();
 543            break;
 544          }
 545          case 18: {
 546            Url = input.ReadString();
 547            break;
 548          }
 549          case 26: {
 550            Metadata = input.ReadString();
 551            break;
 552          }
 553        }
 554      }
 555    #endif
 556    }
 557
 558    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 559    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 560    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 561    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
 562      uint tag;
 563      while ((tag = input.ReadTag()) != 0) {
 564        switch(tag) {
 565          default:
 566            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
 567            break;
 568          case 8: {
 569            Method = (global::Decentraland.Renderer.KernelServices.RequestMethod) input.ReadEnum();
 570            break;
 571          }
 572          case 18: {
 573            Url = input.ReadString();
 574            break;
 575          }
 576          case 26: {
 577            Metadata = input.ReadString();
 578            break;
 579          }
 580        }
 581      }
 582    }
 583    #endif
 584
 585  }
 586
 587  public sealed partial class GetSignedHeadersRequest : pb::IMessage<GetSignedHeadersRequest>
 588  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 589      , pb::IBufferMessage
 590  #endif
 591  {
 592    private static readonly pb::MessageParser<GetSignedHeadersRequest> _parser = new pb::MessageParser<GetSignedHeadersR
 593    private pb::UnknownFieldSet _unknownFields;
 594    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 595    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 596    public static pb::MessageParser<GetSignedHeadersRequest> Parser { get { return _parser; } }
 597
 598    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 599    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 600    public static pbr::MessageDescriptor Descriptor {
 601      get { return global::Decentraland.Renderer.KernelServices.SignRequestReflection.Descriptor.MessageTypes[2]; }
 602    }
 603
 604    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 605    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 606    pbr::MessageDescriptor pb::IMessage.Descriptor {
 607      get { return Descriptor; }
 608    }
 609
 610    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 611    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 612    public GetSignedHeadersRequest() {
 613      OnConstruction();
 614    }
 615
 616    partial void OnConstruction();
 617
 618    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 619    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 620    public GetSignedHeadersRequest(GetSignedHeadersRequest other) : this() {
 621      url_ = other.url_;
 622      metadata_ = other.metadata_.Clone();
 623      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 624    }
 625
 626    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 627    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 628    public GetSignedHeadersRequest Clone() {
 629      return new GetSignedHeadersRequest(this);
 630    }
 631
 632    /// <summary>Field number for the "url" field.</summary>
 633    public const int UrlFieldNumber = 1;
 634    private string url_ = "";
 635    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 636    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 637    public string Url {
 638      get { return url_; }
 639      set {
 640        url_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
 641      }
 642    }
 643
 644    /// <summary>Field number for the "metadata" field.</summary>
 645    public const int MetadataFieldNumber = 2;
 646    private static readonly pbc::MapField<string, string>.Codec _map_metadata_codec
 647        = new pbc::MapField<string, string>.Codec(pb::FieldCodec.ForString(10, ""), pb::FieldCodec.ForString(18, ""), 18
 648    private readonly pbc::MapField<string, string> metadata_ = new pbc::MapField<string, string>();
 649    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 650    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 651    public pbc::MapField<string, string> Metadata {
 652      get { return metadata_; }
 653    }
 654
 655    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 656    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 657    public override bool Equals(object other) {
 658      return Equals(other as GetSignedHeadersRequest);
 659    }
 660
 661    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 662    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 663    public bool Equals(GetSignedHeadersRequest other) {
 664      if (ReferenceEquals(other, null)) {
 665        return false;
 666      }
 667      if (ReferenceEquals(other, this)) {
 668        return true;
 669      }
 670      if (Url != other.Url) return false;
 671      if (!Metadata.Equals(other.Metadata)) return false;
 672      return Equals(_unknownFields, other._unknownFields);
 673    }
 674
 675    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 676    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 677    public override int GetHashCode() {
 678      int hash = 1;
 679      if (Url.Length != 0) hash ^= Url.GetHashCode();
 680      hash ^= Metadata.GetHashCode();
 681      if (_unknownFields != null) {
 682        hash ^= _unknownFields.GetHashCode();
 683      }
 684      return hash;
 685    }
 686
 687    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 688    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 689    public override string ToString() {
 690      return pb::JsonFormatter.ToDiagnosticString(this);
 691    }
 692
 693    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 694    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 695    public void WriteTo(pb::CodedOutputStream output) {
 696    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 697      output.WriteRawMessage(this);
 698    #else
 699      if (Url.Length != 0) {
 700        output.WriteRawTag(10);
 701        output.WriteString(Url);
 702      }
 703      metadata_.WriteTo(output, _map_metadata_codec);
 704      if (_unknownFields != null) {
 705        _unknownFields.WriteTo(output);
 706      }
 707    #endif
 708    }
 709
 710    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 711    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 712    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 713    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
 714      if (Url.Length != 0) {
 715        output.WriteRawTag(10);
 716        output.WriteString(Url);
 717      }
 718      metadata_.WriteTo(ref output, _map_metadata_codec);
 719      if (_unknownFields != null) {
 720        _unknownFields.WriteTo(ref output);
 721      }
 722    }
 723    #endif
 724
 725    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 726    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 727    public int CalculateSize() {
 728      int size = 0;
 729      if (Url.Length != 0) {
 730        size += 1 + pb::CodedOutputStream.ComputeStringSize(Url);
 731      }
 732      size += metadata_.CalculateSize(_map_metadata_codec);
 733      if (_unknownFields != null) {
 734        size += _unknownFields.CalculateSize();
 735      }
 736      return size;
 737    }
 738
 739    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 740    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 741    public void MergeFrom(GetSignedHeadersRequest other) {
 742      if (other == null) {
 743        return;
 744      }
 745      if (other.Url.Length != 0) {
 746        Url = other.Url;
 747      }
 748      metadata_.Add(other.metadata_);
 749      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 750    }
 751
 752    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 753    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 754    public void MergeFrom(pb::CodedInputStream input) {
 755    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 756      input.ReadRawMessage(this);
 757    #else
 758      uint tag;
 759      while ((tag = input.ReadTag()) != 0) {
 760        switch(tag) {
 761          default:
 762            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 763            break;
 764          case 10: {
 765            Url = input.ReadString();
 766            break;
 767          }
 768          case 18: {
 769            metadata_.AddEntriesFrom(input, _map_metadata_codec);
 770            break;
 771          }
 772        }
 773      }
 774    #endif
 775    }
 776
 777    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 778    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 779    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 780    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
 781      uint tag;
 782      while ((tag = input.ReadTag()) != 0) {
 783        switch(tag) {
 784          default:
 785            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
 786            break;
 787          case 10: {
 788            Url = input.ReadString();
 789            break;
 790          }
 791          case 18: {
 792            metadata_.AddEntriesFrom(ref input, _map_metadata_codec);
 793            break;
 794          }
 795        }
 796      }
 797    }
 798    #endif
 799
 800  }
 801
 802  public sealed partial class GetSignedHeadersResponse : pb::IMessage<GetSignedHeadersResponse>
 803  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 804      , pb::IBufferMessage
 805  #endif
 806  {
 807    private static readonly pb::MessageParser<GetSignedHeadersResponse> _parser = new pb::MessageParser<GetSignedHeaders
 808    private pb::UnknownFieldSet _unknownFields;
 809    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 810    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 811    public static pb::MessageParser<GetSignedHeadersResponse> Parser { get { return _parser; } }
 812
 813    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 814    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 815    public static pbr::MessageDescriptor Descriptor {
 816      get { return global::Decentraland.Renderer.KernelServices.SignRequestReflection.Descriptor.MessageTypes[3]; }
 817    }
 818
 819    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 820    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 821    pbr::MessageDescriptor pb::IMessage.Descriptor {
 822      get { return Descriptor; }
 823    }
 824
 825    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 826    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 827    public GetSignedHeadersResponse() {
 828      OnConstruction();
 829    }
 830
 831    partial void OnConstruction();
 832
 833    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 834    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 835    public GetSignedHeadersResponse(GetSignedHeadersResponse other) : this() {
 836      message_ = other.message_;
 837      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 838    }
 839
 840    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 841    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 842    public GetSignedHeadersResponse Clone() {
 843      return new GetSignedHeadersResponse(this);
 844    }
 845
 846    /// <summary>Field number for the "message" field.</summary>
 847    public const int MessageFieldNumber = 1;
 848    private string message_ = "";
 849    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 850    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 851    public string Message {
 852      get { return message_; }
 853      set {
 854        message_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
 855      }
 856    }
 857
 858    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 859    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 860    public override bool Equals(object other) {
 861      return Equals(other as GetSignedHeadersResponse);
 862    }
 863
 864    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 865    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 866    public bool Equals(GetSignedHeadersResponse other) {
 867      if (ReferenceEquals(other, null)) {
 868        return false;
 869      }
 870      if (ReferenceEquals(other, this)) {
 871        return true;
 872      }
 873      if (Message != other.Message) return false;
 874      return Equals(_unknownFields, other._unknownFields);
 875    }
 876
 877    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 878    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 879    public override int GetHashCode() {
 880      int hash = 1;
 881      if (Message.Length != 0) hash ^= Message.GetHashCode();
 882      if (_unknownFields != null) {
 883        hash ^= _unknownFields.GetHashCode();
 884      }
 885      return hash;
 886    }
 887
 888    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 889    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 890    public override string ToString() {
 891      return pb::JsonFormatter.ToDiagnosticString(this);
 892    }
 893
 894    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 895    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 896    public void WriteTo(pb::CodedOutputStream output) {
 897    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 898      output.WriteRawMessage(this);
 899    #else
 900      if (Message.Length != 0) {
 901        output.WriteRawTag(10);
 902        output.WriteString(Message);
 903      }
 904      if (_unknownFields != null) {
 905        _unknownFields.WriteTo(output);
 906      }
 907    #endif
 908    }
 909
 910    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 911    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 912    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 913    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
 914      if (Message.Length != 0) {
 915        output.WriteRawTag(10);
 916        output.WriteString(Message);
 917      }
 918      if (_unknownFields != null) {
 919        _unknownFields.WriteTo(ref output);
 920      }
 921    }
 922    #endif
 923
 924    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 925    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 926    public int CalculateSize() {
 927      int size = 0;
 928      if (Message.Length != 0) {
 929        size += 1 + pb::CodedOutputStream.ComputeStringSize(Message);
 930      }
 931      if (_unknownFields != null) {
 932        size += _unknownFields.CalculateSize();
 933      }
 934      return size;
 935    }
 936
 937    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 938    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 939    public void MergeFrom(GetSignedHeadersResponse other) {
 940      if (other == null) {
 941        return;
 942      }
 943      if (other.Message.Length != 0) {
 944        Message = other.Message;
 945      }
 946      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 947    }
 948
 949    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 950    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 951    public void MergeFrom(pb::CodedInputStream input) {
 952    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 953      input.ReadRawMessage(this);
 954    #else
 955      uint tag;
 956      while ((tag = input.ReadTag()) != 0) {
 957        switch(tag) {
 958          default:
 959            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 960            break;
 961          case 10: {
 962            Message = input.ReadString();
 963            break;
 964          }
 965        }
 966      }
 967    #endif
 968    }
 969
 970    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 971    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 972    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 973    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
 974      uint tag;
 975      while ((tag = input.ReadTag()) != 0) {
 976        switch(tag) {
 977          default:
 978            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
 979            break;
 980          case 10: {
 981            Message = input.ReadString();
 982            break;
 983          }
 984        }
 985      }
 986    }
 987    #endif
 988
 989  }
 990
 991  #endregion
 992
 993}
 994
 995#endregion Designer generated code