< Summary

Class:Decentraland.Renderer.RendererServices.CrdtReflection
Assembly:Decentraland.Protocol.GeneratedCode
File(s):/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/DecentralandProtocol/Crdt.gen.cs
Covered lines:4
Uncovered lines:0
Coverable lines:4
Total lines:700
Line coverage:100% (4 of 4)
Covered branches:0
Total branches:0

Metrics

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

File(s)

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

#LineLine coverage
 1// <auto-generated>
 2//     Generated by the protocol buffer compiler.  DO NOT EDIT!
 3//     source: decentraland/renderer/renderer_services/crdt.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.RendererServices {
 13
 14  /// <summary>Holder for reflection information generated from decentraland/renderer/renderer_services/crdt.proto</summ
 15  public static partial class CrdtReflection {
 16
 17    #region Descriptor
 18    /// <summary>File descriptor for decentraland/renderer/renderer_services/crdt.proto</summary>
 19    public static pbr::FileDescriptor Descriptor {
 720      get { return descriptor; }
 21    }
 22    private static pbr::FileDescriptor descriptor;
 23
 24    static CrdtReflection() {
 125      byte[] descriptorData = global::System.Convert.FromBase64String(
 26          string.Concat(
 27            "CjJkZWNlbnRyYWxhbmQvcmVuZGVyZXIvcmVuZGVyZXJfc2VydmljZXMvY3Jk",
 28            "dC5wcm90bxInZGVjZW50cmFsYW5kLnJlbmRlcmVyLnJlbmRlcmVyX3NlcnZp",
 29            "Y2VzIk8KEENSRFRNYW55TWVzc2FnZXMSEAoIc2NlbmVfaWQYASABKAkSDwoH",
 30            "cGF5bG9hZBgCIAEoDBIUCgxzY2VuZV9udW1iZXIYAyABKAU6AhgBIhIKDENS",
 31            "RFRSZXNwb25zZToCGAEiPQoPUHVsbENSRFRSZXF1ZXN0EhAKCHNjZW5lX2lk",
 32            "GAEgASgJEhQKDHNjZW5lX251bWJlchgDIAEoBToCGAEymAIKC0NSRFRTZXJ2",
 33            "aWNlEoEBCghTZW5kQ3JkdBI5LmRlY2VudHJhbGFuZC5yZW5kZXJlci5yZW5k",
 34            "ZXJlcl9zZXJ2aWNlcy5DUkRUTWFueU1lc3NhZ2VzGjUuZGVjZW50cmFsYW5k",
 35            "LnJlbmRlcmVyLnJlbmRlcmVyX3NlcnZpY2VzLkNSRFRSZXNwb25zZSIDiAIB",
 36            "EoQBCghQdWxsQ3JkdBI4LmRlY2VudHJhbGFuZC5yZW5kZXJlci5yZW5kZXJl",
 37            "cl9zZXJ2aWNlcy5QdWxsQ1JEVFJlcXVlc3QaOS5kZWNlbnRyYWxhbmQucmVu",
 38            "ZGVyZXIucmVuZGVyZXJfc2VydmljZXMuQ1JEVE1hbnlNZXNzYWdlcyIDiAIB",
 39            "YgZwcm90bzM="));
 140      descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
 41          new pbr::FileDescriptor[] { },
 42          new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
 43            new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Renderer.RendererServices.CRDTManyMessages), globa
 44            new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Renderer.RendererServices.CRDTResponse), global::D
 45            new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Renderer.RendererServices.PullCRDTRequest), global
 46          }));
 147    }
 48    #endregion
 49
 50  }
 51  #region Messages
 52  [global::System.ObsoleteAttribute]
 53  public sealed partial class CRDTManyMessages : pb::IMessage<CRDTManyMessages>
 54  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 55      , pb::IBufferMessage
 56  #endif
 57  {
 58    private static readonly pb::MessageParser<CRDTManyMessages> _parser = new pb::MessageParser<CRDTManyMessages>(() => 
 59    private pb::UnknownFieldSet _unknownFields;
 60    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 61    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 62    public static pb::MessageParser<CRDTManyMessages> Parser { get { return _parser; } }
 63
 64    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 65    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 66    public static pbr::MessageDescriptor Descriptor {
 67      get { return global::Decentraland.Renderer.RendererServices.CrdtReflection.Descriptor.MessageTypes[0]; }
 68    }
 69
 70    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 71    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 72    pbr::MessageDescriptor pb::IMessage.Descriptor {
 73      get { return Descriptor; }
 74    }
 75
 76    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 77    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 78    public CRDTManyMessages() {
 79      OnConstruction();
 80    }
 81
 82    partial void OnConstruction();
 83
 84    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 85    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 86    public CRDTManyMessages(CRDTManyMessages other) : this() {
 87      sceneId_ = other.sceneId_;
 88      payload_ = other.payload_;
 89      sceneNumber_ = other.sceneNumber_;
 90      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 91    }
 92
 93    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 94    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 95    public CRDTManyMessages Clone() {
 96      return new CRDTManyMessages(this);
 97    }
 98
 99    /// <summary>Field number for the "scene_id" field.</summary>
 100    public const int SceneIdFieldNumber = 1;
 101    private string sceneId_ = "";
 102    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 103    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 104    public string SceneId {
 105      get { return sceneId_; }
 106      set {
 107        sceneId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
 108      }
 109    }
 110
 111    /// <summary>Field number for the "payload" field.</summary>
 112    public const int PayloadFieldNumber = 2;
 113    private pb::ByteString payload_ = pb::ByteString.Empty;
 114    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 115    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 116    public pb::ByteString Payload {
 117      get { return payload_; }
 118      set {
 119        payload_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
 120      }
 121    }
 122
 123    /// <summary>Field number for the "scene_number" field.</summary>
 124    public const int SceneNumberFieldNumber = 3;
 125    private int sceneNumber_;
 126    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 127    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 128    public int SceneNumber {
 129      get { return sceneNumber_; }
 130      set {
 131        sceneNumber_ = value;
 132      }
 133    }
 134
 135    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 136    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 137    public override bool Equals(object other) {
 138      return Equals(other as CRDTManyMessages);
 139    }
 140
 141    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 142    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 143    public bool Equals(CRDTManyMessages other) {
 144      if (ReferenceEquals(other, null)) {
 145        return false;
 146      }
 147      if (ReferenceEquals(other, this)) {
 148        return true;
 149      }
 150      if (SceneId != other.SceneId) return false;
 151      if (Payload != other.Payload) return false;
 152      if (SceneNumber != other.SceneNumber) return false;
 153      return Equals(_unknownFields, other._unknownFields);
 154    }
 155
 156    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 157    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 158    public override int GetHashCode() {
 159      int hash = 1;
 160      if (SceneId.Length != 0) hash ^= SceneId.GetHashCode();
 161      if (Payload.Length != 0) hash ^= Payload.GetHashCode();
 162      if (SceneNumber != 0) hash ^= SceneNumber.GetHashCode();
 163      if (_unknownFields != null) {
 164        hash ^= _unknownFields.GetHashCode();
 165      }
 166      return hash;
 167    }
 168
 169    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 170    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 171    public override string ToString() {
 172      return pb::JsonFormatter.ToDiagnosticString(this);
 173    }
 174
 175    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 176    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 177    public void WriteTo(pb::CodedOutputStream output) {
 178    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 179      output.WriteRawMessage(this);
 180    #else
 181      if (SceneId.Length != 0) {
 182        output.WriteRawTag(10);
 183        output.WriteString(SceneId);
 184      }
 185      if (Payload.Length != 0) {
 186        output.WriteRawTag(18);
 187        output.WriteBytes(Payload);
 188      }
 189      if (SceneNumber != 0) {
 190        output.WriteRawTag(24);
 191        output.WriteInt32(SceneNumber);
 192      }
 193      if (_unknownFields != null) {
 194        _unknownFields.WriteTo(output);
 195      }
 196    #endif
 197    }
 198
 199    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 200    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 201    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 202    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
 203      if (SceneId.Length != 0) {
 204        output.WriteRawTag(10);
 205        output.WriteString(SceneId);
 206      }
 207      if (Payload.Length != 0) {
 208        output.WriteRawTag(18);
 209        output.WriteBytes(Payload);
 210      }
 211      if (SceneNumber != 0) {
 212        output.WriteRawTag(24);
 213        output.WriteInt32(SceneNumber);
 214      }
 215      if (_unknownFields != null) {
 216        _unknownFields.WriteTo(ref output);
 217      }
 218    }
 219    #endif
 220
 221    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 222    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 223    public int CalculateSize() {
 224      int size = 0;
 225      if (SceneId.Length != 0) {
 226        size += 1 + pb::CodedOutputStream.ComputeStringSize(SceneId);
 227      }
 228      if (Payload.Length != 0) {
 229        size += 1 + pb::CodedOutputStream.ComputeBytesSize(Payload);
 230      }
 231      if (SceneNumber != 0) {
 232        size += 1 + pb::CodedOutputStream.ComputeInt32Size(SceneNumber);
 233      }
 234      if (_unknownFields != null) {
 235        size += _unknownFields.CalculateSize();
 236      }
 237      return size;
 238    }
 239
 240    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 241    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 242    public void MergeFrom(CRDTManyMessages other) {
 243      if (other == null) {
 244        return;
 245      }
 246      if (other.SceneId.Length != 0) {
 247        SceneId = other.SceneId;
 248      }
 249      if (other.Payload.Length != 0) {
 250        Payload = other.Payload;
 251      }
 252      if (other.SceneNumber != 0) {
 253        SceneNumber = other.SceneNumber;
 254      }
 255      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 256    }
 257
 258    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 259    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 260    public void MergeFrom(pb::CodedInputStream input) {
 261    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 262      input.ReadRawMessage(this);
 263    #else
 264      uint tag;
 265      while ((tag = input.ReadTag()) != 0) {
 266        switch(tag) {
 267          default:
 268            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 269            break;
 270          case 10: {
 271            SceneId = input.ReadString();
 272            break;
 273          }
 274          case 18: {
 275            Payload = input.ReadBytes();
 276            break;
 277          }
 278          case 24: {
 279            SceneNumber = input.ReadInt32();
 280            break;
 281          }
 282        }
 283      }
 284    #endif
 285    }
 286
 287    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 288    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 289    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 290    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
 291      uint tag;
 292      while ((tag = input.ReadTag()) != 0) {
 293        switch(tag) {
 294          default:
 295            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
 296            break;
 297          case 10: {
 298            SceneId = input.ReadString();
 299            break;
 300          }
 301          case 18: {
 302            Payload = input.ReadBytes();
 303            break;
 304          }
 305          case 24: {
 306            SceneNumber = input.ReadInt32();
 307            break;
 308          }
 309        }
 310      }
 311    }
 312    #endif
 313
 314  }
 315
 316  [global::System.ObsoleteAttribute]
 317  public sealed partial class CRDTResponse : pb::IMessage<CRDTResponse>
 318  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 319      , pb::IBufferMessage
 320  #endif
 321  {
 322    private static readonly pb::MessageParser<CRDTResponse> _parser = new pb::MessageParser<CRDTResponse>(() => new CRDT
 323    private pb::UnknownFieldSet _unknownFields;
 324    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 325    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 326    public static pb::MessageParser<CRDTResponse> Parser { get { return _parser; } }
 327
 328    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 329    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 330    public static pbr::MessageDescriptor Descriptor {
 331      get { return global::Decentraland.Renderer.RendererServices.CrdtReflection.Descriptor.MessageTypes[1]; }
 332    }
 333
 334    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 335    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 336    pbr::MessageDescriptor pb::IMessage.Descriptor {
 337      get { return Descriptor; }
 338    }
 339
 340    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 341    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 342    public CRDTResponse() {
 343      OnConstruction();
 344    }
 345
 346    partial void OnConstruction();
 347
 348    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 349    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 350    public CRDTResponse(CRDTResponse other) : this() {
 351      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 352    }
 353
 354    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 355    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 356    public CRDTResponse Clone() {
 357      return new CRDTResponse(this);
 358    }
 359
 360    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 361    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 362    public override bool Equals(object other) {
 363      return Equals(other as CRDTResponse);
 364    }
 365
 366    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 367    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 368    public bool Equals(CRDTResponse other) {
 369      if (ReferenceEquals(other, null)) {
 370        return false;
 371      }
 372      if (ReferenceEquals(other, this)) {
 373        return true;
 374      }
 375      return Equals(_unknownFields, other._unknownFields);
 376    }
 377
 378    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 379    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 380    public override int GetHashCode() {
 381      int hash = 1;
 382      if (_unknownFields != null) {
 383        hash ^= _unknownFields.GetHashCode();
 384      }
 385      return hash;
 386    }
 387
 388    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 389    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 390    public override string ToString() {
 391      return pb::JsonFormatter.ToDiagnosticString(this);
 392    }
 393
 394    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 395    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 396    public void WriteTo(pb::CodedOutputStream output) {
 397    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 398      output.WriteRawMessage(this);
 399    #else
 400      if (_unknownFields != null) {
 401        _unknownFields.WriteTo(output);
 402      }
 403    #endif
 404    }
 405
 406    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 407    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 408    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 409    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
 410      if (_unknownFields != null) {
 411        _unknownFields.WriteTo(ref output);
 412      }
 413    }
 414    #endif
 415
 416    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 417    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 418    public int CalculateSize() {
 419      int size = 0;
 420      if (_unknownFields != null) {
 421        size += _unknownFields.CalculateSize();
 422      }
 423      return size;
 424    }
 425
 426    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 427    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 428    public void MergeFrom(CRDTResponse other) {
 429      if (other == null) {
 430        return;
 431      }
 432      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 433    }
 434
 435    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 436    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 437    public void MergeFrom(pb::CodedInputStream input) {
 438    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 439      input.ReadRawMessage(this);
 440    #else
 441      uint tag;
 442      while ((tag = input.ReadTag()) != 0) {
 443        switch(tag) {
 444          default:
 445            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 446            break;
 447        }
 448      }
 449    #endif
 450    }
 451
 452    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 453    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 454    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 455    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
 456      uint tag;
 457      while ((tag = input.ReadTag()) != 0) {
 458        switch(tag) {
 459          default:
 460            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
 461            break;
 462        }
 463      }
 464    }
 465    #endif
 466
 467  }
 468
 469  [global::System.ObsoleteAttribute]
 470  public sealed partial class PullCRDTRequest : pb::IMessage<PullCRDTRequest>
 471  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 472      , pb::IBufferMessage
 473  #endif
 474  {
 475    private static readonly pb::MessageParser<PullCRDTRequest> _parser = new pb::MessageParser<PullCRDTRequest>(() => ne
 476    private pb::UnknownFieldSet _unknownFields;
 477    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 478    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 479    public static pb::MessageParser<PullCRDTRequest> Parser { get { return _parser; } }
 480
 481    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 482    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 483    public static pbr::MessageDescriptor Descriptor {
 484      get { return global::Decentraland.Renderer.RendererServices.CrdtReflection.Descriptor.MessageTypes[2]; }
 485    }
 486
 487    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 488    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 489    pbr::MessageDescriptor pb::IMessage.Descriptor {
 490      get { return Descriptor; }
 491    }
 492
 493    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 494    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 495    public PullCRDTRequest() {
 496      OnConstruction();
 497    }
 498
 499    partial void OnConstruction();
 500
 501    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 502    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 503    public PullCRDTRequest(PullCRDTRequest other) : this() {
 504      sceneId_ = other.sceneId_;
 505      sceneNumber_ = other.sceneNumber_;
 506      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 507    }
 508
 509    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 510    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 511    public PullCRDTRequest Clone() {
 512      return new PullCRDTRequest(this);
 513    }
 514
 515    /// <summary>Field number for the "scene_id" field.</summary>
 516    public const int SceneIdFieldNumber = 1;
 517    private string sceneId_ = "";
 518    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 519    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 520    public string SceneId {
 521      get { return sceneId_; }
 522      set {
 523        sceneId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
 524      }
 525    }
 526
 527    /// <summary>Field number for the "scene_number" field.</summary>
 528    public const int SceneNumberFieldNumber = 3;
 529    private int sceneNumber_;
 530    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 531    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 532    public int SceneNumber {
 533      get { return sceneNumber_; }
 534      set {
 535        sceneNumber_ = value;
 536      }
 537    }
 538
 539    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 540    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 541    public override bool Equals(object other) {
 542      return Equals(other as PullCRDTRequest);
 543    }
 544
 545    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 546    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 547    public bool Equals(PullCRDTRequest other) {
 548      if (ReferenceEquals(other, null)) {
 549        return false;
 550      }
 551      if (ReferenceEquals(other, this)) {
 552        return true;
 553      }
 554      if (SceneId != other.SceneId) return false;
 555      if (SceneNumber != other.SceneNumber) return false;
 556      return Equals(_unknownFields, other._unknownFields);
 557    }
 558
 559    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 560    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 561    public override int GetHashCode() {
 562      int hash = 1;
 563      if (SceneId.Length != 0) hash ^= SceneId.GetHashCode();
 564      if (SceneNumber != 0) hash ^= SceneNumber.GetHashCode();
 565      if (_unknownFields != null) {
 566        hash ^= _unknownFields.GetHashCode();
 567      }
 568      return hash;
 569    }
 570
 571    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 572    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 573    public override string ToString() {
 574      return pb::JsonFormatter.ToDiagnosticString(this);
 575    }
 576
 577    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 578    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 579    public void WriteTo(pb::CodedOutputStream output) {
 580    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 581      output.WriteRawMessage(this);
 582    #else
 583      if (SceneId.Length != 0) {
 584        output.WriteRawTag(10);
 585        output.WriteString(SceneId);
 586      }
 587      if (SceneNumber != 0) {
 588        output.WriteRawTag(24);
 589        output.WriteInt32(SceneNumber);
 590      }
 591      if (_unknownFields != null) {
 592        _unknownFields.WriteTo(output);
 593      }
 594    #endif
 595    }
 596
 597    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 598    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 599    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 600    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
 601      if (SceneId.Length != 0) {
 602        output.WriteRawTag(10);
 603        output.WriteString(SceneId);
 604      }
 605      if (SceneNumber != 0) {
 606        output.WriteRawTag(24);
 607        output.WriteInt32(SceneNumber);
 608      }
 609      if (_unknownFields != null) {
 610        _unknownFields.WriteTo(ref output);
 611      }
 612    }
 613    #endif
 614
 615    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 616    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 617    public int CalculateSize() {
 618      int size = 0;
 619      if (SceneId.Length != 0) {
 620        size += 1 + pb::CodedOutputStream.ComputeStringSize(SceneId);
 621      }
 622      if (SceneNumber != 0) {
 623        size += 1 + pb::CodedOutputStream.ComputeInt32Size(SceneNumber);
 624      }
 625      if (_unknownFields != null) {
 626        size += _unknownFields.CalculateSize();
 627      }
 628      return size;
 629    }
 630
 631    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 632    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 633    public void MergeFrom(PullCRDTRequest other) {
 634      if (other == null) {
 635        return;
 636      }
 637      if (other.SceneId.Length != 0) {
 638        SceneId = other.SceneId;
 639      }
 640      if (other.SceneNumber != 0) {
 641        SceneNumber = other.SceneNumber;
 642      }
 643      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 644    }
 645
 646    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 647    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 648    public void MergeFrom(pb::CodedInputStream input) {
 649    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 650      input.ReadRawMessage(this);
 651    #else
 652      uint tag;
 653      while ((tag = input.ReadTag()) != 0) {
 654        switch(tag) {
 655          default:
 656            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 657            break;
 658          case 10: {
 659            SceneId = input.ReadString();
 660            break;
 661          }
 662          case 24: {
 663            SceneNumber = input.ReadInt32();
 664            break;
 665          }
 666        }
 667      }
 668    #endif
 669    }
 670
 671    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 672    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 673    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 674    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
 675      uint tag;
 676      while ((tag = input.ReadTag()) != 0) {
 677        switch(tag) {
 678          default:
 679            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
 680            break;
 681          case 10: {
 682            SceneId = input.ReadString();
 683            break;
 684          }
 685          case 24: {
 686            SceneNumber = input.ReadInt32();
 687            break;
 688          }
 689        }
 690      }
 691    }
 692    #endif
 693
 694  }
 695
 696  #endregion
 697
 698}
 699
 700#endregion Designer generated code

Methods/Properties

Descriptor()
CrdtReflection()