< Summary

Class:CRDTManyMessages
Assembly:RPC.GeneratedCode
File(s):/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/WorldRuntime/KernelCommunication/RPC/GeneratedCode/Crdt.gen.cs
Covered lines:39
Uncovered lines:43
Coverable lines:82
Total lines:689
Line coverage:47.5% (39 of 82)
Covered branches:0
Total branches:0

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity NPath complexity Sequence coverage
CRDTManyMessages()0%110100%
get_Descriptor()0%110100%
CRDTManyMessages(...)0%2100%
Clone()0%2100%
CRDTManyMessages()0%110100%
Equals(...)0%2100%
Equals(...)0%42600%
GetHashCode()0%30500%
ToString()0%2100%
WriteTo(...)0%5.395075%
CalculateSize()0%5.25080%
MergeFrom(...)0%30500%
MergeFrom(...)0%7.195055.56%

File(s)

/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/WorldRuntime/KernelCommunication/RPC/GeneratedCode/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;
 12/// <summary>Holder for reflection information generated from decentraland/renderer/renderer_services/crdt.proto</summar
 13public static partial class CrdtReflection {
 14
 15  #region Descriptor
 16  /// <summary>File descriptor for decentraland/renderer/renderer_services/crdt.proto</summary>
 17  public static pbr::FileDescriptor Descriptor {
 18    get { return descriptor; }
 19  }
 20  private static pbr::FileDescriptor descriptor;
 21
 22  static CrdtReflection() {
 23    byte[] descriptorData = global::System.Convert.FromBase64String(
 24        string.Concat(
 25          "CjJkZWNlbnRyYWxhbmQvcmVuZGVyZXIvcmVuZGVyZXJfc2VydmljZXMvY3Jk",
 26          "dC5wcm90byJLChBDUkRUTWFueU1lc3NhZ2VzEhAKCHNjZW5lX2lkGAEgASgJ",
 27          "Eg8KB3BheWxvYWQYAiABKAwSFAoMc2NlbmVfbnVtYmVyGAMgASgFIg4KDENS",
 28          "RFRSZXNwb25zZSI5Cg9QdWxsQ1JEVFJlcXVlc3QSEAoIc2NlbmVfaWQYASAB",
 29          "KAkSFAoMc2NlbmVfbnVtYmVyGAMgASgFMnAKC0NSRFRTZXJ2aWNlEi4KCFNl",
 30          "bmRDcmR0EhEuQ1JEVE1hbnlNZXNzYWdlcxoNLkNSRFRSZXNwb25zZSIAEjEK",
 31          "CFB1bGxDcmR0EhAuUHVsbENSRFRSZXF1ZXN0GhEuQ1JEVE1hbnlNZXNzYWdl",
 32          "cyIAYgZwcm90bzM="));
 33    descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
 34        new pbr::FileDescriptor[] { },
 35        new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
 36          new pbr::GeneratedClrTypeInfo(typeof(global::CRDTManyMessages), global::CRDTManyMessages.Parser, new[]{ "Scene
 37          new pbr::GeneratedClrTypeInfo(typeof(global::CRDTResponse), global::CRDTResponse.Parser, null, null, null, nul
 38          new pbr::GeneratedClrTypeInfo(typeof(global::PullCRDTRequest), global::PullCRDTRequest.Parser, new[]{ "SceneId
 39        }));
 40  }
 41  #endregion
 42
 43}
 44#region Messages
 45public sealed partial class CRDTManyMessages : pb::IMessage<CRDTManyMessages>
 46#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 47    , pb::IBufferMessage
 48#endif
 49{
 650  private static readonly pb::MessageParser<CRDTManyMessages> _parser = new pb::MessageParser<CRDTManyMessages>(() => ne
 51  private pb::UnknownFieldSet _unknownFields;
 52  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 53  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 454  public static pb::MessageParser<CRDTManyMessages> Parser { get { return _parser; } }
 55
 56  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 57  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 58  public static pbr::MessageDescriptor Descriptor {
 259    get { return global::CrdtReflection.Descriptor.MessageTypes[0]; }
 60  }
 61
 62  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 63  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 64  pbr::MessageDescriptor pb::IMessage.Descriptor {
 265    get { return Descriptor; }
 66  }
 67
 68  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 69  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1270  public CRDTManyMessages() {
 71    OnConstruction();
 1272  }
 73
 74  partial void OnConstruction();
 75
 76  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 77  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 078  public CRDTManyMessages(CRDTManyMessages other) : this() {
 079    sceneId_ = other.sceneId_;
 080    payload_ = other.payload_;
 081    sceneNumber_ = other.sceneNumber_;
 082    _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 083  }
 84
 85  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 86  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 87  public CRDTManyMessages Clone() {
 088    return new CRDTManyMessages(this);
 89  }
 90
 91  /// <summary>Field number for the "scene_id" field.</summary>
 92  public const int SceneIdFieldNumber = 1;
 1293  private string sceneId_ = "";
 94  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 95  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 96  public string SceneId {
 1097    get { return sceneId_; }
 98    set {
 399      sceneId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
 3100    }
 101  }
 102
 103  /// <summary>Field number for the "payload" field.</summary>
 104  public const int PayloadFieldNumber = 2;
 12105  private pb::ByteString payload_ = pb::ByteString.Empty;
 106  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 107  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 108  public pb::ByteString Payload {
 24109    get { return payload_; }
 110    set {
 11111      payload_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
 11112    }
 113  }
 114
 115  /// <summary>Field number for the "scene_number" field.</summary>
 116  public const int SceneNumberFieldNumber = 3;
 117  private int sceneNumber_;
 118  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 119  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 120  public int SceneNumber {
 26121    get { return sceneNumber_; }
 122    set {
 10123      sceneNumber_ = value;
 10124    }
 125  }
 126
 127  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 128  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 129  public override bool Equals(object other) {
 0130    return Equals(other as CRDTManyMessages);
 131  }
 132
 133  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 134  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 135  public bool Equals(CRDTManyMessages other) {
 0136    if (ReferenceEquals(other, null)) {
 0137      return false;
 138    }
 0139    if (ReferenceEquals(other, this)) {
 0140      return true;
 141    }
 0142    if (SceneId != other.SceneId) return false;
 0143    if (Payload != other.Payload) return false;
 0144    if (SceneNumber != other.SceneNumber) return false;
 0145    return Equals(_unknownFields, other._unknownFields);
 146  }
 147
 148  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 149  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 150  public override int GetHashCode() {
 0151    int hash = 1;
 0152    if (SceneId.Length != 0) hash ^= SceneId.GetHashCode();
 0153    if (Payload.Length != 0) hash ^= Payload.GetHashCode();
 0154    if (SceneNumber != 0) hash ^= SceneNumber.GetHashCode();
 0155    if (_unknownFields != null) {
 0156      hash ^= _unknownFields.GetHashCode();
 157    }
 0158    return hash;
 159  }
 160
 161  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 162  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 163  public override string ToString() {
 0164    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
 5173    if (SceneId.Length != 0) {
 0174      output.WriteRawTag(10);
 0175      output.WriteString(SceneId);
 176    }
 5177    if (Payload.Length != 0) {
 5178      output.WriteRawTag(18);
 5179      output.WriteBytes(Payload);
 180    }
 5181    if (SceneNumber != 0) {
 5182      output.WriteRawTag(24);
 5183      output.WriteInt32(SceneNumber);
 184    }
 5185    if (_unknownFields != null) {
 0186      _unknownFields.WriteTo(output);
 187    }
 188  #endif
 5189  }
 190
 191  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 192  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 193  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 194  void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
 195    if (SceneId.Length != 0) {
 196      output.WriteRawTag(10);
 197      output.WriteString(SceneId);
 198    }
 199    if (Payload.Length != 0) {
 200      output.WriteRawTag(18);
 201      output.WriteBytes(Payload);
 202    }
 203    if (SceneNumber != 0) {
 204      output.WriteRawTag(24);
 205      output.WriteInt32(SceneNumber);
 206    }
 207    if (_unknownFields != null) {
 208      _unknownFields.WriteTo(ref output);
 209    }
 210  }
 211  #endif
 212
 213  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 214  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 215  public int CalculateSize() {
 5216    int size = 0;
 5217    if (SceneId.Length != 0) {
 0218      size += 1 + pb::CodedOutputStream.ComputeStringSize(SceneId);
 219    }
 5220    if (Payload.Length != 0) {
 5221      size += 1 + pb::CodedOutputStream.ComputeBytesSize(Payload);
 222    }
 5223    if (SceneNumber != 0) {
 5224      size += 1 + pb::CodedOutputStream.ComputeInt32Size(SceneNumber);
 225    }
 5226    if (_unknownFields != null) {
 0227      size += _unknownFields.CalculateSize();
 228    }
 5229    return size;
 230  }
 231
 232  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 233  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 234  public void MergeFrom(CRDTManyMessages other) {
 0235    if (other == null) {
 0236      return;
 237    }
 0238    if (other.SceneId.Length != 0) {
 0239      SceneId = other.SceneId;
 240    }
 0241    if (other.Payload.Length != 0) {
 0242      Payload = other.Payload;
 243    }
 0244    if (other.SceneNumber != 0) {
 0245      SceneNumber = other.SceneNumber;
 246    }
 0247    _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 0248  }
 249
 250  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 251  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 252  public void MergeFrom(pb::CodedInputStream input) {
 253  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 254    input.ReadRawMessage(this);
 255  #else
 256    uint tag;
 15257    while ((tag = input.ReadTag()) != 0) {
 258      switch(tag) {
 259        default:
 0260          _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 0261          break;
 262        case 10: {
 0263          SceneId = input.ReadString();
 0264          break;
 265        }
 266        case 18: {
 5267          Payload = input.ReadBytes();
 5268          break;
 269        }
 270        case 24: {
 5271          SceneNumber = input.ReadInt32();
 272          break;
 273        }
 274      }
 275    }
 276  #endif
 5277  }
 278
 279  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 280  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 281  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 282  void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
 283    uint tag;
 284    while ((tag = input.ReadTag()) != 0) {
 285      switch(tag) {
 286        default:
 287          _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
 288          break;
 289        case 10: {
 290          SceneId = input.ReadString();
 291          break;
 292        }
 293        case 18: {
 294          Payload = input.ReadBytes();
 295          break;
 296        }
 297        case 24: {
 298          SceneNumber = input.ReadInt32();
 299          break;
 300        }
 301      }
 302    }
 303  }
 304  #endif
 305
 306}
 307
 308public sealed partial class CRDTResponse : pb::IMessage<CRDTResponse>
 309#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 310    , pb::IBufferMessage
 311#endif
 312{
 313  private static readonly pb::MessageParser<CRDTResponse> _parser = new pb::MessageParser<CRDTResponse>(() => new CRDTRe
 314  private pb::UnknownFieldSet _unknownFields;
 315  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 316  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 317  public static pb::MessageParser<CRDTResponse> Parser { get { return _parser; } }
 318
 319  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 320  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 321  public static pbr::MessageDescriptor Descriptor {
 322    get { return global::CrdtReflection.Descriptor.MessageTypes[1]; }
 323  }
 324
 325  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 326  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 327  pbr::MessageDescriptor pb::IMessage.Descriptor {
 328    get { return Descriptor; }
 329  }
 330
 331  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 332  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 333  public CRDTResponse() {
 334    OnConstruction();
 335  }
 336
 337  partial void OnConstruction();
 338
 339  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 340  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 341  public CRDTResponse(CRDTResponse other) : this() {
 342    _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 343  }
 344
 345  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 346  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 347  public CRDTResponse Clone() {
 348    return new CRDTResponse(this);
 349  }
 350
 351  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 352  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 353  public override bool Equals(object other) {
 354    return Equals(other as CRDTResponse);
 355  }
 356
 357  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 358  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 359  public bool Equals(CRDTResponse other) {
 360    if (ReferenceEquals(other, null)) {
 361      return false;
 362    }
 363    if (ReferenceEquals(other, this)) {
 364      return true;
 365    }
 366    return Equals(_unknownFields, other._unknownFields);
 367  }
 368
 369  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 370  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 371  public override int GetHashCode() {
 372    int hash = 1;
 373    if (_unknownFields != null) {
 374      hash ^= _unknownFields.GetHashCode();
 375    }
 376    return hash;
 377  }
 378
 379  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 380  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 381  public override string ToString() {
 382    return pb::JsonFormatter.ToDiagnosticString(this);
 383  }
 384
 385  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 386  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 387  public void WriteTo(pb::CodedOutputStream output) {
 388  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 389    output.WriteRawMessage(this);
 390  #else
 391    if (_unknownFields != null) {
 392      _unknownFields.WriteTo(output);
 393    }
 394  #endif
 395  }
 396
 397  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 398  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 399  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 400  void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
 401    if (_unknownFields != null) {
 402      _unknownFields.WriteTo(ref output);
 403    }
 404  }
 405  #endif
 406
 407  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 408  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 409  public int CalculateSize() {
 410    int size = 0;
 411    if (_unknownFields != null) {
 412      size += _unknownFields.CalculateSize();
 413    }
 414    return size;
 415  }
 416
 417  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 418  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 419  public void MergeFrom(CRDTResponse other) {
 420    if (other == null) {
 421      return;
 422    }
 423    _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 424  }
 425
 426  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 427  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 428  public void MergeFrom(pb::CodedInputStream input) {
 429  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 430    input.ReadRawMessage(this);
 431  #else
 432    uint tag;
 433    while ((tag = input.ReadTag()) != 0) {
 434      switch(tag) {
 435        default:
 436          _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 437          break;
 438      }
 439    }
 440  #endif
 441  }
 442
 443  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 444  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 445  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 446  void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
 447    uint tag;
 448    while ((tag = input.ReadTag()) != 0) {
 449      switch(tag) {
 450        default:
 451          _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
 452          break;
 453      }
 454    }
 455  }
 456  #endif
 457
 458}
 459
 460public sealed partial class PullCRDTRequest : pb::IMessage<PullCRDTRequest>
 461#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 462    , pb::IBufferMessage
 463#endif
 464{
 465  private static readonly pb::MessageParser<PullCRDTRequest> _parser = new pb::MessageParser<PullCRDTRequest>(() => new 
 466  private pb::UnknownFieldSet _unknownFields;
 467  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 468  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 469  public static pb::MessageParser<PullCRDTRequest> Parser { get { return _parser; } }
 470
 471  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 472  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 473  public static pbr::MessageDescriptor Descriptor {
 474    get { return global::CrdtReflection.Descriptor.MessageTypes[2]; }
 475  }
 476
 477  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 478  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 479  pbr::MessageDescriptor pb::IMessage.Descriptor {
 480    get { return Descriptor; }
 481  }
 482
 483  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 484  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 485  public PullCRDTRequest() {
 486    OnConstruction();
 487  }
 488
 489  partial void OnConstruction();
 490
 491  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 492  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 493  public PullCRDTRequest(PullCRDTRequest other) : this() {
 494    sceneId_ = other.sceneId_;
 495    sceneNumber_ = other.sceneNumber_;
 496    _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 497  }
 498
 499  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 500  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 501  public PullCRDTRequest Clone() {
 502    return new PullCRDTRequest(this);
 503  }
 504
 505  /// <summary>Field number for the "scene_id" field.</summary>
 506  public const int SceneIdFieldNumber = 1;
 507  private string sceneId_ = "";
 508  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 509  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 510  public string SceneId {
 511    get { return sceneId_; }
 512    set {
 513      sceneId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
 514    }
 515  }
 516
 517  /// <summary>Field number for the "scene_number" field.</summary>
 518  public const int SceneNumberFieldNumber = 3;
 519  private int sceneNumber_;
 520  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 521  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 522  public int SceneNumber {
 523    get { return sceneNumber_; }
 524    set {
 525      sceneNumber_ = value;
 526    }
 527  }
 528
 529  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 530  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 531  public override bool Equals(object other) {
 532    return Equals(other as PullCRDTRequest);
 533  }
 534
 535  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 536  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 537  public bool Equals(PullCRDTRequest other) {
 538    if (ReferenceEquals(other, null)) {
 539      return false;
 540    }
 541    if (ReferenceEquals(other, this)) {
 542      return true;
 543    }
 544    if (SceneId != other.SceneId) return false;
 545    if (SceneNumber != other.SceneNumber) return false;
 546    return Equals(_unknownFields, other._unknownFields);
 547  }
 548
 549  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 550  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 551  public override int GetHashCode() {
 552    int hash = 1;
 553    if (SceneId.Length != 0) hash ^= SceneId.GetHashCode();
 554    if (SceneNumber != 0) hash ^= SceneNumber.GetHashCode();
 555    if (_unknownFields != null) {
 556      hash ^= _unknownFields.GetHashCode();
 557    }
 558    return hash;
 559  }
 560
 561  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 562  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 563  public override string ToString() {
 564    return pb::JsonFormatter.ToDiagnosticString(this);
 565  }
 566
 567  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 568  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 569  public void WriteTo(pb::CodedOutputStream output) {
 570  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 571    output.WriteRawMessage(this);
 572  #else
 573    if (SceneId.Length != 0) {
 574      output.WriteRawTag(10);
 575      output.WriteString(SceneId);
 576    }
 577    if (SceneNumber != 0) {
 578      output.WriteRawTag(24);
 579      output.WriteInt32(SceneNumber);
 580    }
 581    if (_unknownFields != null) {
 582      _unknownFields.WriteTo(output);
 583    }
 584  #endif
 585  }
 586
 587  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 588  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 589  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 590  void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
 591    if (SceneId.Length != 0) {
 592      output.WriteRawTag(10);
 593      output.WriteString(SceneId);
 594    }
 595    if (SceneNumber != 0) {
 596      output.WriteRawTag(24);
 597      output.WriteInt32(SceneNumber);
 598    }
 599    if (_unknownFields != null) {
 600      _unknownFields.WriteTo(ref output);
 601    }
 602  }
 603  #endif
 604
 605  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 606  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 607  public int CalculateSize() {
 608    int size = 0;
 609    if (SceneId.Length != 0) {
 610      size += 1 + pb::CodedOutputStream.ComputeStringSize(SceneId);
 611    }
 612    if (SceneNumber != 0) {
 613      size += 1 + pb::CodedOutputStream.ComputeInt32Size(SceneNumber);
 614    }
 615    if (_unknownFields != null) {
 616      size += _unknownFields.CalculateSize();
 617    }
 618    return size;
 619  }
 620
 621  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 622  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 623  public void MergeFrom(PullCRDTRequest other) {
 624    if (other == null) {
 625      return;
 626    }
 627    if (other.SceneId.Length != 0) {
 628      SceneId = other.SceneId;
 629    }
 630    if (other.SceneNumber != 0) {
 631      SceneNumber = other.SceneNumber;
 632    }
 633    _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 634  }
 635
 636  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 637  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 638  public void MergeFrom(pb::CodedInputStream input) {
 639  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 640    input.ReadRawMessage(this);
 641  #else
 642    uint tag;
 643    while ((tag = input.ReadTag()) != 0) {
 644      switch(tag) {
 645        default:
 646          _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 647          break;
 648        case 10: {
 649          SceneId = input.ReadString();
 650          break;
 651        }
 652        case 24: {
 653          SceneNumber = input.ReadInt32();
 654          break;
 655        }
 656      }
 657    }
 658  #endif
 659  }
 660
 661  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 662  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 663  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 664  void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
 665    uint tag;
 666    while ((tag = input.ReadTag()) != 0) {
 667      switch(tag) {
 668        default:
 669          _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
 670          break;
 671        case 10: {
 672          SceneId = input.ReadString();
 673          break;
 674        }
 675        case 24: {
 676          SceneNumber = input.ReadInt32();
 677          break;
 678        }
 679      }
 680    }
 681  }
 682  #endif
 683
 684}
 685
 686#endregion
 687
 688
 689#endregion Designer generated code