< Summary

Class:PullCRDTRequest
Assembly:RPC.GeneratedCode
File(s):/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/WorldRuntime/KernelCommunication/RPC/GeneratedCode/RendererProtocol.gen.cs
Covered lines:18
Uncovered lines:48
Coverable lines:66
Total lines:847
Line coverage:27.2% (18 of 66)
Covered branches:0
Total branches:0

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity NPath complexity Sequence coverage
PullCRDTRequest()0%110100%
get_Descriptor()0%2100%
PullCRDTRequest(...)0%2100%
Clone()0%2100%
PullCRDTRequest()0%2100%
Equals(...)0%2100%
Equals(...)0%30500%
GetHashCode()0%20400%
ToString()0%2100%
WriteTo(...)0%4.594066.67%
CalculateSize()0%4.254075%
MergeFrom(...)0%20400%
MergeFrom(...)0%5.264057.14%

File(s)

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

#LineLine coverage
 1// <auto-generated>
 2//     Generated by the protocol buffer compiler.  DO NOT EDIT!
 3//     source: RendererProtocol.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 RendererProtocol.proto</summary>
 13public static partial class RendererProtocolReflection {
 14
 15  #region Descriptor
 16  /// <summary>File descriptor for RendererProtocol.proto</summary>
 17  public static pbr::FileDescriptor Descriptor {
 18    get { return descriptor; }
 19  }
 20  private static pbr::FileDescriptor descriptor;
 21
 22  static RendererProtocolReflection() {
 23    byte[] descriptorData = global::System.Convert.FromBase64String(
 24        string.Concat(
 25          "ChZSZW5kZXJlclByb3RvY29sLnByb3RvIksKEENSRFRNYW55TWVzc2FnZXMS",
 26          "EAoIc2NlbmVfaWQYASABKAkSDwoHcGF5bG9hZBgCIAEoDBIUCgxzY2VuZV9u",
 27          "dW1iZXIYAyABKAUiDgoMQ1JEVFJlc3BvbnNlIjkKD1B1bGxDUkRUUmVxdWVz",
 28          "dBIQCghzY2VuZV9pZBgBIAEoCRIUCgxzY2VuZV9udW1iZXIYAyABKAUiFwoR",
 29          "Q1JEVFN0cmVhbVJlcXVlc3Q6AhgBMrUBCgtDUkRUU2VydmljZRIuCghTZW5k",
 30          "Q3JkdBIRLkNSRFRNYW55TWVzc2FnZXMaDS5DUkRUUmVzcG9uc2UiABIxCghQ",
 31          "dWxsQ3JkdBIQLlB1bGxDUkRUUmVxdWVzdBoRLkNSRFRNYW55TWVzc2FnZXMi",
 32          "ABJDChZDcmR0Tm90aWZpY2F0aW9uU3RyZWFtEhIuQ1JEVFN0cmVhbVJlcXVl",
 33          "c3QaES5DUkRUTWFueU1lc3NhZ2VzIgAwAWIGcHJvdG8z"));
 34    descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
 35        new pbr::FileDescriptor[] { },
 36        new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
 37          new pbr::GeneratedClrTypeInfo(typeof(global::CRDTManyMessages), global::CRDTManyMessages.Parser, new[]{ "Scene
 38          new pbr::GeneratedClrTypeInfo(typeof(global::CRDTResponse), global::CRDTResponse.Parser, null, null, null, nul
 39          new pbr::GeneratedClrTypeInfo(typeof(global::PullCRDTRequest), global::PullCRDTRequest.Parser, new[]{ "SceneId
 40          new pbr::GeneratedClrTypeInfo(typeof(global::CRDTStreamRequest), global::CRDTStreamRequest.Parser, null, null,
 41        }));
 42  }
 43  #endregion
 44
 45}
 46#region Messages
 47public sealed partial class CRDTManyMessages : pb::IMessage<CRDTManyMessages>
 48#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 49    , pb::IBufferMessage
 50#endif
 51{
 52  private static readonly pb::MessageParser<CRDTManyMessages> _parser = new pb::MessageParser<CRDTManyMessages>(() => ne
 53  private pb::UnknownFieldSet _unknownFields;
 54  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 55  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 56  public static pb::MessageParser<CRDTManyMessages> Parser { get { return _parser; } }
 57
 58  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 59  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 60  public static pbr::MessageDescriptor Descriptor {
 61    get { return global::RendererProtocolReflection.Descriptor.MessageTypes[0]; }
 62  }
 63
 64  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 65  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 66  pbr::MessageDescriptor pb::IMessage.Descriptor {
 67    get { return Descriptor; }
 68  }
 69
 70  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 71  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 72  public CRDTManyMessages() {
 73    OnConstruction();
 74  }
 75
 76  partial void OnConstruction();
 77
 78  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 79  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 80  public CRDTManyMessages(CRDTManyMessages other) : this() {
 81    sceneId_ = other.sceneId_;
 82    payload_ = other.payload_;
 83    sceneNumber_ = other.sceneNumber_;
 84    _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 85  }
 86
 87  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 88  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 89  public CRDTManyMessages Clone() {
 90    return new CRDTManyMessages(this);
 91  }
 92
 93  /// <summary>Field number for the "scene_id" field.</summary>
 94  public const int SceneIdFieldNumber = 1;
 95  private string sceneId_ = "";
 96  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 97  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 98  public string SceneId {
 99    get { return sceneId_; }
 100    set {
 101      sceneId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
 102    }
 103  }
 104
 105  /// <summary>Field number for the "payload" field.</summary>
 106  public const int PayloadFieldNumber = 2;
 107  private pb::ByteString payload_ = pb::ByteString.Empty;
 108  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 109  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 110  public pb::ByteString Payload {
 111    get { return payload_; }
 112    set {
 113      payload_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
 114    }
 115  }
 116
 117  /// <summary>Field number for the "scene_number" field.</summary>
 118  public const int SceneNumberFieldNumber = 3;
 119  private int sceneNumber_;
 120  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 121  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 122  public int SceneNumber {
 123    get { return sceneNumber_; }
 124    set {
 125      sceneNumber_ = value;
 126    }
 127  }
 128
 129  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 130  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 131  public override bool Equals(object other) {
 132    return Equals(other as CRDTManyMessages);
 133  }
 134
 135  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 136  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 137  public bool Equals(CRDTManyMessages other) {
 138    if (ReferenceEquals(other, null)) {
 139      return false;
 140    }
 141    if (ReferenceEquals(other, this)) {
 142      return true;
 143    }
 144    if (SceneId != other.SceneId) return false;
 145    if (Payload != other.Payload) return false;
 146    if (SceneNumber != other.SceneNumber) return false;
 147    return Equals(_unknownFields, other._unknownFields);
 148  }
 149
 150  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 151  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 152  public override int GetHashCode() {
 153    int hash = 1;
 154    if (SceneId.Length != 0) hash ^= SceneId.GetHashCode();
 155    if (Payload.Length != 0) hash ^= Payload.GetHashCode();
 156    if (SceneNumber != 0) hash ^= SceneNumber.GetHashCode();
 157    if (_unknownFields != null) {
 158      hash ^= _unknownFields.GetHashCode();
 159    }
 160    return hash;
 161  }
 162
 163  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 164  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 165  public override string ToString() {
 166    return pb::JsonFormatter.ToDiagnosticString(this);
 167  }
 168
 169  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 170  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 171  public void WriteTo(pb::CodedOutputStream output) {
 172  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 173    output.WriteRawMessage(this);
 174  #else
 175    if (SceneId.Length != 0) {
 176      output.WriteRawTag(10);
 177      output.WriteString(SceneId);
 178    }
 179    if (Payload.Length != 0) {
 180      output.WriteRawTag(18);
 181      output.WriteBytes(Payload);
 182    }
 183    if (SceneNumber != 0) {
 184      output.WriteRawTag(24);
 185      output.WriteInt32(SceneNumber);
 186    }
 187    if (_unknownFields != null) {
 188      _unknownFields.WriteTo(output);
 189    }
 190  #endif
 191  }
 192
 193  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 194  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 195  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 196  void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
 197    if (SceneId.Length != 0) {
 198      output.WriteRawTag(10);
 199      output.WriteString(SceneId);
 200    }
 201    if (Payload.Length != 0) {
 202      output.WriteRawTag(18);
 203      output.WriteBytes(Payload);
 204    }
 205    if (SceneNumber != 0) {
 206      output.WriteRawTag(24);
 207      output.WriteInt32(SceneNumber);
 208    }
 209    if (_unknownFields != null) {
 210      _unknownFields.WriteTo(ref output);
 211    }
 212  }
 213  #endif
 214
 215  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 216  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 217  public int CalculateSize() {
 218    int size = 0;
 219    if (SceneId.Length != 0) {
 220      size += 1 + pb::CodedOutputStream.ComputeStringSize(SceneId);
 221    }
 222    if (Payload.Length != 0) {
 223      size += 1 + pb::CodedOutputStream.ComputeBytesSize(Payload);
 224    }
 225    if (SceneNumber != 0) {
 226      size += 1 + pb::CodedOutputStream.ComputeInt32Size(SceneNumber);
 227    }
 228    if (_unknownFields != null) {
 229      size += _unknownFields.CalculateSize();
 230    }
 231    return size;
 232  }
 233
 234  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 235  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 236  public void MergeFrom(CRDTManyMessages other) {
 237    if (other == null) {
 238      return;
 239    }
 240    if (other.SceneId.Length != 0) {
 241      SceneId = other.SceneId;
 242    }
 243    if (other.Payload.Length != 0) {
 244      Payload = other.Payload;
 245    }
 246    if (other.SceneNumber != 0) {
 247      SceneNumber = other.SceneNumber;
 248    }
 249    _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 250  }
 251
 252  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 253  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 254  public void MergeFrom(pb::CodedInputStream input) {
 255  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 256    input.ReadRawMessage(this);
 257  #else
 258    uint tag;
 259    while ((tag = input.ReadTag()) != 0) {
 260      switch(tag) {
 261        default:
 262          _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 263          break;
 264        case 10: {
 265          SceneId = input.ReadString();
 266          break;
 267        }
 268        case 18: {
 269          Payload = input.ReadBytes();
 270          break;
 271        }
 272        case 24: {
 273          SceneNumber = input.ReadInt32();
 274          break;
 275        }
 276      }
 277    }
 278  #endif
 279  }
 280
 281  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 282  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 283  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 284  void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
 285    uint tag;
 286    while ((tag = input.ReadTag()) != 0) {
 287      switch(tag) {
 288        default:
 289          _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
 290          break;
 291        case 10: {
 292          SceneId = input.ReadString();
 293          break;
 294        }
 295        case 18: {
 296          Payload = input.ReadBytes();
 297          break;
 298        }
 299        case 24: {
 300          SceneNumber = input.ReadInt32();
 301          break;
 302        }
 303      }
 304    }
 305  }
 306  #endif
 307
 308}
 309
 310public sealed partial class CRDTResponse : pb::IMessage<CRDTResponse>
 311#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 312    , pb::IBufferMessage
 313#endif
 314{
 315  private static readonly pb::MessageParser<CRDTResponse> _parser = new pb::MessageParser<CRDTResponse>(() => new CRDTRe
 316  private pb::UnknownFieldSet _unknownFields;
 317  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 318  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 319  public static pb::MessageParser<CRDTResponse> Parser { get { return _parser; } }
 320
 321  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 322  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 323  public static pbr::MessageDescriptor Descriptor {
 324    get { return global::RendererProtocolReflection.Descriptor.MessageTypes[1]; }
 325  }
 326
 327  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 328  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 329  pbr::MessageDescriptor pb::IMessage.Descriptor {
 330    get { return Descriptor; }
 331  }
 332
 333  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 334  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 335  public CRDTResponse() {
 336    OnConstruction();
 337  }
 338
 339  partial void OnConstruction();
 340
 341  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 342  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 343  public CRDTResponse(CRDTResponse other) : this() {
 344    _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 345  }
 346
 347  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 348  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 349  public CRDTResponse Clone() {
 350    return new CRDTResponse(this);
 351  }
 352
 353  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 354  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 355  public override bool Equals(object other) {
 356    return Equals(other as CRDTResponse);
 357  }
 358
 359  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 360  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 361  public bool Equals(CRDTResponse other) {
 362    if (ReferenceEquals(other, null)) {
 363      return false;
 364    }
 365    if (ReferenceEquals(other, this)) {
 366      return true;
 367    }
 368    return Equals(_unknownFields, other._unknownFields);
 369  }
 370
 371  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 372  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 373  public override int GetHashCode() {
 374    int hash = 1;
 375    if (_unknownFields != null) {
 376      hash ^= _unknownFields.GetHashCode();
 377    }
 378    return hash;
 379  }
 380
 381  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 382  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 383  public override string ToString() {
 384    return pb::JsonFormatter.ToDiagnosticString(this);
 385  }
 386
 387  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 388  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 389  public void WriteTo(pb::CodedOutputStream output) {
 390  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 391    output.WriteRawMessage(this);
 392  #else
 393    if (_unknownFields != null) {
 394      _unknownFields.WriteTo(output);
 395    }
 396  #endif
 397  }
 398
 399  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 400  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 401  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 402  void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
 403    if (_unknownFields != null) {
 404      _unknownFields.WriteTo(ref output);
 405    }
 406  }
 407  #endif
 408
 409  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 410  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 411  public int CalculateSize() {
 412    int size = 0;
 413    if (_unknownFields != null) {
 414      size += _unknownFields.CalculateSize();
 415    }
 416    return size;
 417  }
 418
 419  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 420  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 421  public void MergeFrom(CRDTResponse other) {
 422    if (other == null) {
 423      return;
 424    }
 425    _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 426  }
 427
 428  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 429  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 430  public void MergeFrom(pb::CodedInputStream input) {
 431  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 432    input.ReadRawMessage(this);
 433  #else
 434    uint tag;
 435    while ((tag = input.ReadTag()) != 0) {
 436      switch(tag) {
 437        default:
 438          _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 439          break;
 440      }
 441    }
 442  #endif
 443  }
 444
 445  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 446  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 447  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 448  void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
 449    uint tag;
 450    while ((tag = input.ReadTag()) != 0) {
 451      switch(tag) {
 452        default:
 453          _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
 454          break;
 455      }
 456    }
 457  }
 458  #endif
 459
 460}
 461
 462public sealed partial class PullCRDTRequest : pb::IMessage<PullCRDTRequest>
 463#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 464    , pb::IBufferMessage
 465#endif
 466{
 3467  private static readonly pb::MessageParser<PullCRDTRequest> _parser = new pb::MessageParser<PullCRDTRequest>(() => new 
 468  private pb::UnknownFieldSet _unknownFields;
 469  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 470  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1471  public static pb::MessageParser<PullCRDTRequest> Parser { get { return _parser; } }
 472
 473  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 474  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 475  public static pbr::MessageDescriptor Descriptor {
 0476    get { return global::RendererProtocolReflection.Descriptor.MessageTypes[2]; }
 477  }
 478
 479  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 480  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 481  pbr::MessageDescriptor pb::IMessage.Descriptor {
 0482    get { return Descriptor; }
 483  }
 484
 485  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 486  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 0487  public PullCRDTRequest() {
 488    OnConstruction();
 0489  }
 490
 491  partial void OnConstruction();
 492
 493  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 494  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 0495  public PullCRDTRequest(PullCRDTRequest other) : this() {
 0496    sceneId_ = other.sceneId_;
 0497    sceneNumber_ = other.sceneNumber_;
 0498    _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 0499  }
 500
 501  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 502  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 503  public PullCRDTRequest Clone() {
 0504    return new PullCRDTRequest(this);
 505  }
 506
 507  /// <summary>Field number for the "scene_id" field.</summary>
 508  public const int SceneIdFieldNumber = 1;
 0509  private string sceneId_ = "";
 510  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 511  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 512  public string SceneId {
 0513    get { return sceneId_; }
 514    set {
 0515      sceneId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
 0516    }
 517  }
 518
 519  /// <summary>Field number for the "scene_number" field.</summary>
 520  public const int SceneNumberFieldNumber = 3;
 521  private int sceneNumber_;
 522  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 523  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 524  public int SceneNumber {
 0525    get { return sceneNumber_; }
 526    set {
 0527      sceneNumber_ = value;
 0528    }
 529  }
 530
 531  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 532  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 533  public override bool Equals(object other) {
 0534    return Equals(other as PullCRDTRequest);
 535  }
 536
 537  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 538  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 539  public bool Equals(PullCRDTRequest other) {
 0540    if (ReferenceEquals(other, null)) {
 0541      return false;
 542    }
 0543    if (ReferenceEquals(other, this)) {
 0544      return true;
 545    }
 0546    if (SceneId != other.SceneId) return false;
 0547    if (SceneNumber != other.SceneNumber) return false;
 0548    return Equals(_unknownFields, other._unknownFields);
 549  }
 550
 551  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 552  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 553  public override int GetHashCode() {
 0554    int hash = 1;
 0555    if (SceneId.Length != 0) hash ^= SceneId.GetHashCode();
 0556    if (SceneNumber != 0) hash ^= SceneNumber.GetHashCode();
 0557    if (_unknownFields != null) {
 0558      hash ^= _unknownFields.GetHashCode();
 559    }
 0560    return hash;
 561  }
 562
 563  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 564  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 565  public override string ToString() {
 0566    return pb::JsonFormatter.ToDiagnosticString(this);
 567  }
 568
 569  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 570  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 571  public void WriteTo(pb::CodedOutputStream output) {
 572  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 573    output.WriteRawMessage(this);
 574  #else
 2575    if (SceneId.Length != 0) {
 2576      output.WriteRawTag(10);
 2577      output.WriteString(SceneId);
 578    }
 2579    if (SceneNumber != 0) {
 0580      output.WriteRawTag(24);
 0581      output.WriteInt32(SceneNumber);
 582    }
 2583    if (_unknownFields != null) {
 0584      _unknownFields.WriteTo(output);
 585    }
 586  #endif
 2587  }
 588
 589  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 590  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 591  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 592  void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
 593    if (SceneId.Length != 0) {
 594      output.WriteRawTag(10);
 595      output.WriteString(SceneId);
 596    }
 597    if (SceneNumber != 0) {
 598      output.WriteRawTag(24);
 599      output.WriteInt32(SceneNumber);
 600    }
 601    if (_unknownFields != null) {
 602      _unknownFields.WriteTo(ref output);
 603    }
 604  }
 605  #endif
 606
 607  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 608  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 609  public int CalculateSize() {
 2610    int size = 0;
 2611    if (SceneId.Length != 0) {
 2612      size += 1 + pb::CodedOutputStream.ComputeStringSize(SceneId);
 613    }
 2614    if (SceneNumber != 0) {
 0615      size += 1 + pb::CodedOutputStream.ComputeInt32Size(SceneNumber);
 616    }
 2617    if (_unknownFields != null) {
 0618      size += _unknownFields.CalculateSize();
 619    }
 2620    return size;
 621  }
 622
 623  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 624  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 625  public void MergeFrom(PullCRDTRequest other) {
 0626    if (other == null) {
 0627      return;
 628    }
 0629    if (other.SceneId.Length != 0) {
 0630      SceneId = other.SceneId;
 631    }
 0632    if (other.SceneNumber != 0) {
 0633      SceneNumber = other.SceneNumber;
 634    }
 0635    _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 0636  }
 637
 638  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 639  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 640  public void MergeFrom(pb::CodedInputStream input) {
 641  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 642    input.ReadRawMessage(this);
 643  #else
 644    uint tag;
 4645    while ((tag = input.ReadTag()) != 0) {
 646      switch(tag) {
 647        default:
 0648          _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 0649          break;
 650        case 10: {
 2651          SceneId = input.ReadString();
 2652          break;
 653        }
 654        case 24: {
 0655          SceneNumber = input.ReadInt32();
 656          break;
 657        }
 658      }
 659    }
 660  #endif
 2661  }
 662
 663  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 664  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 665  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 666  void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
 667    uint tag;
 668    while ((tag = input.ReadTag()) != 0) {
 669      switch(tag) {
 670        default:
 671          _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
 672          break;
 673        case 10: {
 674          SceneId = input.ReadString();
 675          break;
 676        }
 677        case 24: {
 678          SceneNumber = input.ReadInt32();
 679          break;
 680        }
 681      }
 682    }
 683  }
 684  #endif
 685
 686}
 687
 688/// <summary>
 689/// CRDTStreamRequest is deprecated
 690/// </summary>
 691[global::System.ObsoleteAttribute]
 692public sealed partial class CRDTStreamRequest : pb::IMessage<CRDTStreamRequest>
 693#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 694    , pb::IBufferMessage
 695#endif
 696{
 697  private static readonly pb::MessageParser<CRDTStreamRequest> _parser = new pb::MessageParser<CRDTStreamRequest>(() => 
 698  private pb::UnknownFieldSet _unknownFields;
 699  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 700  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 701  public static pb::MessageParser<CRDTStreamRequest> Parser { get { return _parser; } }
 702
 703  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 704  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 705  public static pbr::MessageDescriptor Descriptor {
 706    get { return global::RendererProtocolReflection.Descriptor.MessageTypes[3]; }
 707  }
 708
 709  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 710  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 711  pbr::MessageDescriptor pb::IMessage.Descriptor {
 712    get { return Descriptor; }
 713  }
 714
 715  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 716  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 717  public CRDTStreamRequest() {
 718    OnConstruction();
 719  }
 720
 721  partial void OnConstruction();
 722
 723  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 724  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 725  public CRDTStreamRequest(CRDTStreamRequest other) : this() {
 726    _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 727  }
 728
 729  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 730  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 731  public CRDTStreamRequest Clone() {
 732    return new CRDTStreamRequest(this);
 733  }
 734
 735  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 736  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 737  public override bool Equals(object other) {
 738    return Equals(other as CRDTStreamRequest);
 739  }
 740
 741  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 742  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 743  public bool Equals(CRDTStreamRequest other) {
 744    if (ReferenceEquals(other, null)) {
 745      return false;
 746    }
 747    if (ReferenceEquals(other, this)) {
 748      return true;
 749    }
 750    return Equals(_unknownFields, other._unknownFields);
 751  }
 752
 753  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 754  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 755  public override int GetHashCode() {
 756    int hash = 1;
 757    if (_unknownFields != null) {
 758      hash ^= _unknownFields.GetHashCode();
 759    }
 760    return hash;
 761  }
 762
 763  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 764  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 765  public override string ToString() {
 766    return pb::JsonFormatter.ToDiagnosticString(this);
 767  }
 768
 769  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 770  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 771  public void WriteTo(pb::CodedOutputStream output) {
 772  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 773    output.WriteRawMessage(this);
 774  #else
 775    if (_unknownFields != null) {
 776      _unknownFields.WriteTo(output);
 777    }
 778  #endif
 779  }
 780
 781  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 782  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 783  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 784  void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
 785    if (_unknownFields != null) {
 786      _unknownFields.WriteTo(ref output);
 787    }
 788  }
 789  #endif
 790
 791  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 792  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 793  public int CalculateSize() {
 794    int size = 0;
 795    if (_unknownFields != null) {
 796      size += _unknownFields.CalculateSize();
 797    }
 798    return size;
 799  }
 800
 801  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 802  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 803  public void MergeFrom(CRDTStreamRequest other) {
 804    if (other == null) {
 805      return;
 806    }
 807    _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 808  }
 809
 810  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 811  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 812  public void MergeFrom(pb::CodedInputStream input) {
 813  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 814    input.ReadRawMessage(this);
 815  #else
 816    uint tag;
 817    while ((tag = input.ReadTag()) != 0) {
 818      switch(tag) {
 819        default:
 820          _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 821          break;
 822      }
 823    }
 824  #endif
 825  }
 826
 827  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 828  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 829  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 830  void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
 831    uint tag;
 832    while ((tag = input.ReadTag()) != 0) {
 833      switch(tag) {
 834        default:
 835          _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
 836          break;
 837      }
 838    }
 839  }
 840  #endif
 841
 842}
 843
 844#endregion
 845
 846
 847#endregion Designer generated code