< Summary

Class:CRDTManyMessages
Assembly:RPC.GeneratedCode
File(s):/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/WorldRuntime/KernelCommunication/RPC/GeneratedCode/Protocol.gen.cs
Covered lines:34
Uncovered lines:48
Coverable lines:82
Total lines:688
Line coverage:41.4% (34 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%5.935066.67%

File(s)

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

#LineLine coverage
 1// <auto-generated>
 2//     Generated by the protocol buffer compiler.  DO NOT EDIT!
 3//     source: protocol.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 protocol.proto</summary>
 13public static partial class ProtocolReflection {
 14
 15  #region Descriptor
 16  /// <summary>File descriptor for protocol.proto</summary>
 17  public static pbr::FileDescriptor Descriptor {
 18    get { return descriptor; }
 19  }
 20  private static pbr::FileDescriptor descriptor;
 21
 22  static ProtocolReflection() {
 23    byte[] descriptorData = global::System.Convert.FromBase64String(
 24        string.Concat(
 25          "Cg5wcm90b2NvbC5wcm90byJLChBDUkRUTWFueU1lc3NhZ2VzEhAKCHNjZW5l",
 26          "X2lkGAEgASgJEg8KB3BheWxvYWQYAiABKAwSFAoMc2NlbmVfbnVtYmVyGAMg",
 27          "ASgFIg4KDENSRFRSZXNwb25zZSI5Cg9QdWxsQ1JEVFJlcXVlc3QSEAoIc2Nl",
 28          "bmVfaWQYASABKAkSFAoMc2NlbmVfbnVtYmVyGAMgASgFMnAKC0NSRFRTZXJ2",
 29          "aWNlEi4KCFNlbmRDcmR0EhEuQ1JEVE1hbnlNZXNzYWdlcxoNLkNSRFRSZXNw",
 30          "b25zZSIAEjEKCFB1bGxDcmR0EhAuUHVsbENSRFRSZXF1ZXN0GhEuQ1JEVE1h",
 31          "bnlNZXNzYWdlcyIAYgZwcm90bzM="));
 32    descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
 33        new pbr::FileDescriptor[] { },
 34        new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
 35          new pbr::GeneratedClrTypeInfo(typeof(global::CRDTManyMessages), global::CRDTManyMessages.Parser, new[]{ "Scene
 36          new pbr::GeneratedClrTypeInfo(typeof(global::CRDTResponse), global::CRDTResponse.Parser, null, null, null, nul
 37          new pbr::GeneratedClrTypeInfo(typeof(global::PullCRDTRequest), global::PullCRDTRequest.Parser, new[]{ "SceneId
 38        }));
 39  }
 40  #endregion
 41
 42}
 43#region Messages
 44public sealed partial class CRDTManyMessages : pb::IMessage<CRDTManyMessages>
 45#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 46    , pb::IBufferMessage
 47#endif
 48{
 449  private static readonly pb::MessageParser<CRDTManyMessages> _parser = new pb::MessageParser<CRDTManyMessages>(() => ne
 50  private pb::UnknownFieldSet _unknownFields;
 51  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 52  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 053  public static pb::MessageParser<CRDTManyMessages> Parser { get { return _parser; } }
 54
 55  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 56  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 57  public static pbr::MessageDescriptor Descriptor {
 258    get { return global::ProtocolReflection.Descriptor.MessageTypes[0]; }
 59  }
 60
 61  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 62  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 63  pbr::MessageDescriptor pb::IMessage.Descriptor {
 264    get { return Descriptor; }
 65  }
 66
 67  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 68  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 869  public CRDTManyMessages() {
 70    OnConstruction();
 871  }
 72
 73  partial void OnConstruction();
 74
 75  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 76  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 077  public CRDTManyMessages(CRDTManyMessages other) : this() {
 078    sceneId_ = other.sceneId_;
 079    payload_ = other.payload_;
 080    sceneNumber_ = other.sceneNumber_;
 081    _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 082  }
 83
 84  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 85  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 86  public CRDTManyMessages Clone() {
 087    return new CRDTManyMessages(this);
 88  }
 89
 90  /// <summary>Field number for the "scene_id" field.</summary>
 91  public const int SceneIdFieldNumber = 1;
 892  private string sceneId_ = "";
 93  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 94  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 95  public string SceneId {
 096    get { return sceneId_; }
 97    set {
 298      sceneId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
 299    }
 100  }
 101
 102  /// <summary>Field number for the "payload" field.</summary>
 103  public const int PayloadFieldNumber = 2;
 8104  private pb::ByteString payload_ = pb::ByteString.Empty;
 105  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 106  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 107  public pb::ByteString Payload {
 0108    get { return payload_; }
 109    set {
 2110      payload_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
 2111    }
 112  }
 113
 114  /// <summary>Field number for the "scene_number" field.</summary>
 115  public const int SceneNumberFieldNumber = 3;
 116  private int sceneNumber_;
 117  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 118  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 119  public int SceneNumber {
 0120    get { return sceneNumber_; }
 121    set {
 0122      sceneNumber_ = value;
 0123    }
 124  }
 125
 126  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 127  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 128  public override bool Equals(object other) {
 0129    return Equals(other as CRDTManyMessages);
 130  }
 131
 132  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 133  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 134  public bool Equals(CRDTManyMessages other) {
 0135    if (ReferenceEquals(other, null)) {
 0136      return false;
 137    }
 0138    if (ReferenceEquals(other, this)) {
 0139      return true;
 140    }
 0141    if (SceneId != other.SceneId) return false;
 0142    if (Payload != other.Payload) return false;
 0143    if (SceneNumber != other.SceneNumber) return false;
 0144    return Equals(_unknownFields, other._unknownFields);
 145  }
 146
 147  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 148  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 149  public override int GetHashCode() {
 0150    int hash = 1;
 0151    if (SceneId.Length != 0) hash ^= SceneId.GetHashCode();
 0152    if (Payload.Length != 0) hash ^= Payload.GetHashCode();
 0153    if (SceneNumber != 0) hash ^= SceneNumber.GetHashCode();
 0154    if (_unknownFields != null) {
 0155      hash ^= _unknownFields.GetHashCode();
 156    }
 0157    return hash;
 158  }
 159
 160  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 161  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 162  public override string ToString() {
 0163    return pb::JsonFormatter.ToDiagnosticString(this);
 164  }
 165
 166  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 167  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 168  public void WriteTo(pb::CodedOutputStream output) {
 169  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 170    output.WriteRawMessage(this);
 171  #else
 3172    if (SceneId.Length != 0) {
 3173      output.WriteRawTag(10);
 3174      output.WriteString(SceneId);
 175    }
 3176    if (Payload.Length != 0) {
 3177      output.WriteRawTag(18);
 3178      output.WriteBytes(Payload);
 179    }
 3180    if (SceneNumber != 0) {
 0181      output.WriteRawTag(24);
 0182      output.WriteInt32(SceneNumber);
 183    }
 3184    if (_unknownFields != null) {
 0185      _unknownFields.WriteTo(output);
 186    }
 187  #endif
 3188  }
 189
 190  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 191  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 192  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 193  void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
 194    if (SceneId.Length != 0) {
 195      output.WriteRawTag(10);
 196      output.WriteString(SceneId);
 197    }
 198    if (Payload.Length != 0) {
 199      output.WriteRawTag(18);
 200      output.WriteBytes(Payload);
 201    }
 202    if (SceneNumber != 0) {
 203      output.WriteRawTag(24);
 204      output.WriteInt32(SceneNumber);
 205    }
 206    if (_unknownFields != null) {
 207      _unknownFields.WriteTo(ref output);
 208    }
 209  }
 210  #endif
 211
 212  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 213  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 214  public int CalculateSize() {
 3215    int size = 0;
 3216    if (SceneId.Length != 0) {
 3217      size += 1 + pb::CodedOutputStream.ComputeStringSize(SceneId);
 218    }
 3219    if (Payload.Length != 0) {
 3220      size += 1 + pb::CodedOutputStream.ComputeBytesSize(Payload);
 221    }
 3222    if (SceneNumber != 0) {
 0223      size += 1 + pb::CodedOutputStream.ComputeInt32Size(SceneNumber);
 224    }
 3225    if (_unknownFields != null) {
 0226      size += _unknownFields.CalculateSize();
 227    }
 3228    return size;
 229  }
 230
 231  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 232  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 233  public void MergeFrom(CRDTManyMessages other) {
 0234    if (other == null) {
 0235      return;
 236    }
 0237    if (other.SceneId.Length != 0) {
 0238      SceneId = other.SceneId;
 239    }
 0240    if (other.Payload.Length != 0) {
 0241      Payload = other.Payload;
 242    }
 0243    if (other.SceneNumber != 0) {
 0244      SceneNumber = other.SceneNumber;
 245    }
 0246    _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 0247  }
 248
 249  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 250  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 251  public void MergeFrom(pb::CodedInputStream input) {
 252  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 253    input.ReadRawMessage(this);
 254  #else
 255    uint tag;
 9256    while ((tag = input.ReadTag()) != 0) {
 257      switch(tag) {
 258        default:
 0259          _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 0260          break;
 261        case 10: {
 3262          SceneId = input.ReadString();
 3263          break;
 264        }
 265        case 18: {
 3266          Payload = input.ReadBytes();
 3267          break;
 268        }
 269        case 24: {
 0270          SceneNumber = input.ReadInt32();
 271          break;
 272        }
 273      }
 274    }
 275  #endif
 3276  }
 277
 278  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 279  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 280  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 281  void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
 282    uint tag;
 283    while ((tag = input.ReadTag()) != 0) {
 284      switch(tag) {
 285        default:
 286          _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
 287          break;
 288        case 10: {
 289          SceneId = input.ReadString();
 290          break;
 291        }
 292        case 18: {
 293          Payload = input.ReadBytes();
 294          break;
 295        }
 296        case 24: {
 297          SceneNumber = input.ReadInt32();
 298          break;
 299        }
 300      }
 301    }
 302  }
 303  #endif
 304
 305}
 306
 307public sealed partial class CRDTResponse : pb::IMessage<CRDTResponse>
 308#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 309    , pb::IBufferMessage
 310#endif
 311{
 312  private static readonly pb::MessageParser<CRDTResponse> _parser = new pb::MessageParser<CRDTResponse>(() => new CRDTRe
 313  private pb::UnknownFieldSet _unknownFields;
 314  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 315  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 316  public static pb::MessageParser<CRDTResponse> Parser { get { return _parser; } }
 317
 318  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 319  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 320  public static pbr::MessageDescriptor Descriptor {
 321    get { return global::ProtocolReflection.Descriptor.MessageTypes[1]; }
 322  }
 323
 324  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 325  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 326  pbr::MessageDescriptor pb::IMessage.Descriptor {
 327    get { return Descriptor; }
 328  }
 329
 330  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 331  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 332  public CRDTResponse() {
 333    OnConstruction();
 334  }
 335
 336  partial void OnConstruction();
 337
 338  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 339  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 340  public CRDTResponse(CRDTResponse other) : this() {
 341    _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 342  }
 343
 344  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 345  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 346  public CRDTResponse Clone() {
 347    return new CRDTResponse(this);
 348  }
 349
 350  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 351  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 352  public override bool Equals(object other) {
 353    return Equals(other as CRDTResponse);
 354  }
 355
 356  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 357  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 358  public bool Equals(CRDTResponse other) {
 359    if (ReferenceEquals(other, null)) {
 360      return false;
 361    }
 362    if (ReferenceEquals(other, this)) {
 363      return true;
 364    }
 365    return Equals(_unknownFields, other._unknownFields);
 366  }
 367
 368  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 369  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 370  public override int GetHashCode() {
 371    int hash = 1;
 372    if (_unknownFields != null) {
 373      hash ^= _unknownFields.GetHashCode();
 374    }
 375    return hash;
 376  }
 377
 378  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 379  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 380  public override string ToString() {
 381    return pb::JsonFormatter.ToDiagnosticString(this);
 382  }
 383
 384  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 385  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 386  public void WriteTo(pb::CodedOutputStream output) {
 387  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 388    output.WriteRawMessage(this);
 389  #else
 390    if (_unknownFields != null) {
 391      _unknownFields.WriteTo(output);
 392    }
 393  #endif
 394  }
 395
 396  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 397  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 398  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 399  void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
 400    if (_unknownFields != null) {
 401      _unknownFields.WriteTo(ref output);
 402    }
 403  }
 404  #endif
 405
 406  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 407  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 408  public int CalculateSize() {
 409    int size = 0;
 410    if (_unknownFields != null) {
 411      size += _unknownFields.CalculateSize();
 412    }
 413    return size;
 414  }
 415
 416  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 417  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 418  public void MergeFrom(CRDTResponse other) {
 419    if (other == null) {
 420      return;
 421    }
 422    _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 423  }
 424
 425  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 426  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 427  public void MergeFrom(pb::CodedInputStream input) {
 428  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 429    input.ReadRawMessage(this);
 430  #else
 431    uint tag;
 432    while ((tag = input.ReadTag()) != 0) {
 433      switch(tag) {
 434        default:
 435          _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 436          break;
 437      }
 438    }
 439  #endif
 440  }
 441
 442  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 443  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 444  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 445  void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
 446    uint tag;
 447    while ((tag = input.ReadTag()) != 0) {
 448      switch(tag) {
 449        default:
 450          _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
 451          break;
 452      }
 453    }
 454  }
 455  #endif
 456
 457}
 458
 459public sealed partial class PullCRDTRequest : pb::IMessage<PullCRDTRequest>
 460#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 461    , pb::IBufferMessage
 462#endif
 463{
 464  private static readonly pb::MessageParser<PullCRDTRequest> _parser = new pb::MessageParser<PullCRDTRequest>(() => new 
 465  private pb::UnknownFieldSet _unknownFields;
 466  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 467  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 468  public static pb::MessageParser<PullCRDTRequest> Parser { get { return _parser; } }
 469
 470  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 471  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 472  public static pbr::MessageDescriptor Descriptor {
 473    get { return global::ProtocolReflection.Descriptor.MessageTypes[2]; }
 474  }
 475
 476  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 477  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 478  pbr::MessageDescriptor pb::IMessage.Descriptor {
 479    get { return Descriptor; }
 480  }
 481
 482  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 483  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 484  public PullCRDTRequest() {
 485    OnConstruction();
 486  }
 487
 488  partial void OnConstruction();
 489
 490  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 491  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 492  public PullCRDTRequest(PullCRDTRequest other) : this() {
 493    sceneId_ = other.sceneId_;
 494    sceneNumber_ = other.sceneNumber_;
 495    _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 496  }
 497
 498  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 499  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 500  public PullCRDTRequest Clone() {
 501    return new PullCRDTRequest(this);
 502  }
 503
 504  /// <summary>Field number for the "scene_id" field.</summary>
 505  public const int SceneIdFieldNumber = 1;
 506  private string sceneId_ = "";
 507  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 508  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 509  public string SceneId {
 510    get { return sceneId_; }
 511    set {
 512      sceneId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
 513    }
 514  }
 515
 516  /// <summary>Field number for the "scene_number" field.</summary>
 517  public const int SceneNumberFieldNumber = 3;
 518  private int sceneNumber_;
 519  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 520  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 521  public int SceneNumber {
 522    get { return sceneNumber_; }
 523    set {
 524      sceneNumber_ = value;
 525    }
 526  }
 527
 528  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 529  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 530  public override bool Equals(object other) {
 531    return Equals(other as PullCRDTRequest);
 532  }
 533
 534  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 535  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 536  public bool Equals(PullCRDTRequest other) {
 537    if (ReferenceEquals(other, null)) {
 538      return false;
 539    }
 540    if (ReferenceEquals(other, this)) {
 541      return true;
 542    }
 543    if (SceneId != other.SceneId) return false;
 544    if (SceneNumber != other.SceneNumber) return false;
 545    return Equals(_unknownFields, other._unknownFields);
 546  }
 547
 548  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 549  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 550  public override int GetHashCode() {
 551    int hash = 1;
 552    if (SceneId.Length != 0) hash ^= SceneId.GetHashCode();
 553    if (SceneNumber != 0) hash ^= SceneNumber.GetHashCode();
 554    if (_unknownFields != null) {
 555      hash ^= _unknownFields.GetHashCode();
 556    }
 557    return hash;
 558  }
 559
 560  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 561  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 562  public override string ToString() {
 563    return pb::JsonFormatter.ToDiagnosticString(this);
 564  }
 565
 566  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 567  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 568  public void WriteTo(pb::CodedOutputStream output) {
 569  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 570    output.WriteRawMessage(this);
 571  #else
 572    if (SceneId.Length != 0) {
 573      output.WriteRawTag(10);
 574      output.WriteString(SceneId);
 575    }
 576    if (SceneNumber != 0) {
 577      output.WriteRawTag(24);
 578      output.WriteInt32(SceneNumber);
 579    }
 580    if (_unknownFields != null) {
 581      _unknownFields.WriteTo(output);
 582    }
 583  #endif
 584  }
 585
 586  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 587  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 588  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 589  void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
 590    if (SceneId.Length != 0) {
 591      output.WriteRawTag(10);
 592      output.WriteString(SceneId);
 593    }
 594    if (SceneNumber != 0) {
 595      output.WriteRawTag(24);
 596      output.WriteInt32(SceneNumber);
 597    }
 598    if (_unknownFields != null) {
 599      _unknownFields.WriteTo(ref output);
 600    }
 601  }
 602  #endif
 603
 604  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 605  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 606  public int CalculateSize() {
 607    int size = 0;
 608    if (SceneId.Length != 0) {
 609      size += 1 + pb::CodedOutputStream.ComputeStringSize(SceneId);
 610    }
 611    if (SceneNumber != 0) {
 612      size += 1 + pb::CodedOutputStream.ComputeInt32Size(SceneNumber);
 613    }
 614    if (_unknownFields != null) {
 615      size += _unknownFields.CalculateSize();
 616    }
 617    return size;
 618  }
 619
 620  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 621  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 622  public void MergeFrom(PullCRDTRequest other) {
 623    if (other == null) {
 624      return;
 625    }
 626    if (other.SceneId.Length != 0) {
 627      SceneId = other.SceneId;
 628    }
 629    if (other.SceneNumber != 0) {
 630      SceneNumber = other.SceneNumber;
 631    }
 632    _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 633  }
 634
 635  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 636  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 637  public void MergeFrom(pb::CodedInputStream input) {
 638  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 639    input.ReadRawMessage(this);
 640  #else
 641    uint tag;
 642    while ((tag = input.ReadTag()) != 0) {
 643      switch(tag) {
 644        default:
 645          _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 646          break;
 647        case 10: {
 648          SceneId = input.ReadString();
 649          break;
 650        }
 651        case 24: {
 652          SceneNumber = input.ReadInt32();
 653          break;
 654        }
 655      }
 656    }
 657  #endif
 658  }
 659
 660  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 661  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 662  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 663  void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
 664    uint tag;
 665    while ((tag = input.ReadTag()) != 0) {
 666      switch(tag) {
 667        default:
 668          _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
 669          break;
 670        case 10: {
 671          SceneId = input.ReadString();
 672          break;
 673        }
 674        case 24: {
 675          SceneNumber = input.ReadInt32();
 676          break;
 677        }
 678      }
 679    }
 680  }
 681  #endif
 682
 683}
 684
 685#endregion
 686
 687
 688#endregion Designer generated code