< 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:15
Uncovered lines:36
Coverable lines:51
Total lines:772
Line coverage:29.4% (15 of 51)
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%20400%
GetHashCode()0%12300%
ToString()0%2100%
WriteTo(...)0%3.043083.33%
CalculateSize()0%3.043083.33%
MergeFrom(...)0%12300%
MergeFrom(...)0%3.583060%

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          "ChZSZW5kZXJlclByb3RvY29sLnByb3RvIjQKEENSRFRNYW55TWVzc2FnZXMS",
 26          "DwoHc2NlbmVJZBgBIAEoCRIPCgdwYXlsb2FkGAIgASgMIg4KDENSRFRSZXNw",
 27          "b25zZSIiCg9QdWxsQ1JEVFJlcXVlc3QSDwoHc2NlbmVJZBgBIAEoCSIXChFD",
 28          "UkRUU3RyZWFtUmVxdWVzdDoCGAEytQEKC0NSRFRTZXJ2aWNlEi4KCFNlbmRD",
 29          "cmR0EhEuQ1JEVE1hbnlNZXNzYWdlcxoNLkNSRFRSZXNwb25zZSIAEjEKCFB1",
 30          "bGxDcmR0EhAuUHVsbENSRFRSZXF1ZXN0GhEuQ1JEVE1hbnlNZXNzYWdlcyIA",
 31          "EkMKFkNyZHROb3RpZmljYXRpb25TdHJlYW0SEi5DUkRUU3RyZWFtUmVxdWVz",
 32          "dBoRLkNSRFRNYW55TWVzc2FnZXMiADABYgZwcm90bzM="));
 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          new pbr::GeneratedClrTypeInfo(typeof(global::CRDTStreamRequest), global::CRDTStreamRequest.Parser, null, null,
 40        }));
 41  }
 42  #endregion
 43
 44}
 45#region Messages
 46public sealed partial class CRDTManyMessages : pb::IMessage<CRDTManyMessages>
 47#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 48    , pb::IBufferMessage
 49#endif
 50{
 51  private static readonly pb::MessageParser<CRDTManyMessages> _parser = new pb::MessageParser<CRDTManyMessages>(() => ne
 52  private pb::UnknownFieldSet _unknownFields;
 53  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 54  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 55  public static pb::MessageParser<CRDTManyMessages> Parser { get { return _parser; } }
 56
 57  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 58  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 59  public static pbr::MessageDescriptor Descriptor {
 60    get { return global::RendererProtocolReflection.Descriptor.MessageTypes[0]; }
 61  }
 62
 63  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 64  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 65  pbr::MessageDescriptor pb::IMessage.Descriptor {
 66    get { return Descriptor; }
 67  }
 68
 69  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 70  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 71  public CRDTManyMessages() {
 72    OnConstruction();
 73  }
 74
 75  partial void OnConstruction();
 76
 77  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 78  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 79  public CRDTManyMessages(CRDTManyMessages other) : this() {
 80    sceneId_ = other.sceneId_;
 81    payload_ = other.payload_;
 82    _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 83  }
 84
 85  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 86  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 87  public CRDTManyMessages Clone() {
 88    return new CRDTManyMessages(this);
 89  }
 90
 91  /// <summary>Field number for the "sceneId" field.</summary>
 92  public const int SceneIdFieldNumber = 1;
 93  private string sceneId_ = "";
 94  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 95  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 96  public string SceneId {
 97    get { return sceneId_; }
 98    set {
 99      sceneId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
 100    }
 101  }
 102
 103  /// <summary>Field number for the "payload" field.</summary>
 104  public const int PayloadFieldNumber = 2;
 105  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 {
 109    get { return payload_; }
 110    set {
 111      payload_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
 112    }
 113  }
 114
 115  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 116  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 117  public override bool Equals(object other) {
 118    return Equals(other as CRDTManyMessages);
 119  }
 120
 121  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 122  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 123  public bool Equals(CRDTManyMessages other) {
 124    if (ReferenceEquals(other, null)) {
 125      return false;
 126    }
 127    if (ReferenceEquals(other, this)) {
 128      return true;
 129    }
 130    if (SceneId != other.SceneId) return false;
 131    if (Payload != other.Payload) return false;
 132    return Equals(_unknownFields, other._unknownFields);
 133  }
 134
 135  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 136  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 137  public override int GetHashCode() {
 138    int hash = 1;
 139    if (SceneId.Length != 0) hash ^= SceneId.GetHashCode();
 140    if (Payload.Length != 0) hash ^= Payload.GetHashCode();
 141    if (_unknownFields != null) {
 142      hash ^= _unknownFields.GetHashCode();
 143    }
 144    return hash;
 145  }
 146
 147  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 148  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 149  public override string ToString() {
 150    return pb::JsonFormatter.ToDiagnosticString(this);
 151  }
 152
 153  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 154  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 155  public void WriteTo(pb::CodedOutputStream output) {
 156  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 157    output.WriteRawMessage(this);
 158  #else
 159    if (SceneId.Length != 0) {
 160      output.WriteRawTag(10);
 161      output.WriteString(SceneId);
 162    }
 163    if (Payload.Length != 0) {
 164      output.WriteRawTag(18);
 165      output.WriteBytes(Payload);
 166    }
 167    if (_unknownFields != null) {
 168      _unknownFields.WriteTo(output);
 169    }
 170  #endif
 171  }
 172
 173  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 174  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 175  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 176  void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
 177    if (SceneId.Length != 0) {
 178      output.WriteRawTag(10);
 179      output.WriteString(SceneId);
 180    }
 181    if (Payload.Length != 0) {
 182      output.WriteRawTag(18);
 183      output.WriteBytes(Payload);
 184    }
 185    if (_unknownFields != null) {
 186      _unknownFields.WriteTo(ref output);
 187    }
 188  }
 189  #endif
 190
 191  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 192  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 193  public int CalculateSize() {
 194    int size = 0;
 195    if (SceneId.Length != 0) {
 196      size += 1 + pb::CodedOutputStream.ComputeStringSize(SceneId);
 197    }
 198    if (Payload.Length != 0) {
 199      size += 1 + pb::CodedOutputStream.ComputeBytesSize(Payload);
 200    }
 201    if (_unknownFields != null) {
 202      size += _unknownFields.CalculateSize();
 203    }
 204    return size;
 205  }
 206
 207  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 208  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 209  public void MergeFrom(CRDTManyMessages other) {
 210    if (other == null) {
 211      return;
 212    }
 213    if (other.SceneId.Length != 0) {
 214      SceneId = other.SceneId;
 215    }
 216    if (other.Payload.Length != 0) {
 217      Payload = other.Payload;
 218    }
 219    _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 220  }
 221
 222  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 223  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 224  public void MergeFrom(pb::CodedInputStream input) {
 225  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 226    input.ReadRawMessage(this);
 227  #else
 228    uint tag;
 229    while ((tag = input.ReadTag()) != 0) {
 230      switch(tag) {
 231        default:
 232          _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 233          break;
 234        case 10: {
 235          SceneId = input.ReadString();
 236          break;
 237        }
 238        case 18: {
 239          Payload = input.ReadBytes();
 240          break;
 241        }
 242      }
 243    }
 244  #endif
 245  }
 246
 247  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 248  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 249  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 250  void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
 251    uint tag;
 252    while ((tag = input.ReadTag()) != 0) {
 253      switch(tag) {
 254        default:
 255          _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
 256          break;
 257        case 10: {
 258          SceneId = input.ReadString();
 259          break;
 260        }
 261        case 18: {
 262          Payload = input.ReadBytes();
 263          break;
 264        }
 265      }
 266    }
 267  }
 268  #endif
 269
 270}
 271
 272public sealed partial class CRDTResponse : pb::IMessage<CRDTResponse>
 273#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 274    , pb::IBufferMessage
 275#endif
 276{
 277  private static readonly pb::MessageParser<CRDTResponse> _parser = new pb::MessageParser<CRDTResponse>(() => new CRDTRe
 278  private pb::UnknownFieldSet _unknownFields;
 279  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 280  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 281  public static pb::MessageParser<CRDTResponse> Parser { get { return _parser; } }
 282
 283  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 284  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 285  public static pbr::MessageDescriptor Descriptor {
 286    get { return global::RendererProtocolReflection.Descriptor.MessageTypes[1]; }
 287  }
 288
 289  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 290  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 291  pbr::MessageDescriptor pb::IMessage.Descriptor {
 292    get { return Descriptor; }
 293  }
 294
 295  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 296  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 297  public CRDTResponse() {
 298    OnConstruction();
 299  }
 300
 301  partial void OnConstruction();
 302
 303  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 304  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 305  public CRDTResponse(CRDTResponse other) : this() {
 306    _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 307  }
 308
 309  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 310  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 311  public CRDTResponse Clone() {
 312    return new CRDTResponse(this);
 313  }
 314
 315  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 316  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 317  public override bool Equals(object other) {
 318    return Equals(other as CRDTResponse);
 319  }
 320
 321  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 322  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 323  public bool Equals(CRDTResponse other) {
 324    if (ReferenceEquals(other, null)) {
 325      return false;
 326    }
 327    if (ReferenceEquals(other, this)) {
 328      return true;
 329    }
 330    return Equals(_unknownFields, other._unknownFields);
 331  }
 332
 333  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 334  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 335  public override int GetHashCode() {
 336    int hash = 1;
 337    if (_unknownFields != null) {
 338      hash ^= _unknownFields.GetHashCode();
 339    }
 340    return hash;
 341  }
 342
 343  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 344  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 345  public override string ToString() {
 346    return pb::JsonFormatter.ToDiagnosticString(this);
 347  }
 348
 349  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 350  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 351  public void WriteTo(pb::CodedOutputStream output) {
 352  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 353    output.WriteRawMessage(this);
 354  #else
 355    if (_unknownFields != null) {
 356      _unknownFields.WriteTo(output);
 357    }
 358  #endif
 359  }
 360
 361  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 362  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 363  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 364  void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
 365    if (_unknownFields != null) {
 366      _unknownFields.WriteTo(ref output);
 367    }
 368  }
 369  #endif
 370
 371  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 372  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 373  public int CalculateSize() {
 374    int size = 0;
 375    if (_unknownFields != null) {
 376      size += _unknownFields.CalculateSize();
 377    }
 378    return size;
 379  }
 380
 381  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 382  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 383  public void MergeFrom(CRDTResponse other) {
 384    if (other == null) {
 385      return;
 386    }
 387    _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 388  }
 389
 390  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 391  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 392  public void MergeFrom(pb::CodedInputStream input) {
 393  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 394    input.ReadRawMessage(this);
 395  #else
 396    uint tag;
 397    while ((tag = input.ReadTag()) != 0) {
 398      switch(tag) {
 399        default:
 400          _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 401          break;
 402      }
 403    }
 404  #endif
 405  }
 406
 407  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 408  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 409  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 410  void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
 411    uint tag;
 412    while ((tag = input.ReadTag()) != 0) {
 413      switch(tag) {
 414        default:
 415          _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
 416          break;
 417      }
 418    }
 419  }
 420  #endif
 421
 422}
 423
 424public sealed partial class PullCRDTRequest : pb::IMessage<PullCRDTRequest>
 425#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 426    , pb::IBufferMessage
 427#endif
 428{
 3429  private static readonly pb::MessageParser<PullCRDTRequest> _parser = new pb::MessageParser<PullCRDTRequest>(() => new 
 430  private pb::UnknownFieldSet _unknownFields;
 431  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 432  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1433  public static pb::MessageParser<PullCRDTRequest> Parser { get { return _parser; } }
 434
 435  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 436  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 437  public static pbr::MessageDescriptor Descriptor {
 0438    get { return global::RendererProtocolReflection.Descriptor.MessageTypes[2]; }
 439  }
 440
 441  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 442  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 443  pbr::MessageDescriptor pb::IMessage.Descriptor {
 0444    get { return Descriptor; }
 445  }
 446
 447  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 448  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 0449  public PullCRDTRequest() {
 450    OnConstruction();
 0451  }
 452
 453  partial void OnConstruction();
 454
 455  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 456  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 0457  public PullCRDTRequest(PullCRDTRequest other) : this() {
 0458    sceneId_ = other.sceneId_;
 0459    _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 0460  }
 461
 462  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 463  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 464  public PullCRDTRequest Clone() {
 0465    return new PullCRDTRequest(this);
 466  }
 467
 468  /// <summary>Field number for the "sceneId" field.</summary>
 469  public const int SceneIdFieldNumber = 1;
 0470  private string sceneId_ = "";
 471  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 472  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 473  public string SceneId {
 0474    get { return sceneId_; }
 475    set {
 0476      sceneId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
 0477    }
 478  }
 479
 480  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 481  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 482  public override bool Equals(object other) {
 0483    return Equals(other as PullCRDTRequest);
 484  }
 485
 486  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 487  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 488  public bool Equals(PullCRDTRequest other) {
 0489    if (ReferenceEquals(other, null)) {
 0490      return false;
 491    }
 0492    if (ReferenceEquals(other, this)) {
 0493      return true;
 494    }
 0495    if (SceneId != other.SceneId) return false;
 0496    return Equals(_unknownFields, other._unknownFields);
 497  }
 498
 499  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 500  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 501  public override int GetHashCode() {
 0502    int hash = 1;
 0503    if (SceneId.Length != 0) hash ^= SceneId.GetHashCode();
 0504    if (_unknownFields != null) {
 0505      hash ^= _unknownFields.GetHashCode();
 506    }
 0507    return hash;
 508  }
 509
 510  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 511  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 512  public override string ToString() {
 0513    return pb::JsonFormatter.ToDiagnosticString(this);
 514  }
 515
 516  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 517  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 518  public void WriteTo(pb::CodedOutputStream output) {
 519  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 520    output.WriteRawMessage(this);
 521  #else
 2522    if (SceneId.Length != 0) {
 2523      output.WriteRawTag(10);
 2524      output.WriteString(SceneId);
 525    }
 2526    if (_unknownFields != null) {
 0527      _unknownFields.WriteTo(output);
 528    }
 529  #endif
 2530  }
 531
 532  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 533  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 534  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 535  void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
 536    if (SceneId.Length != 0) {
 537      output.WriteRawTag(10);
 538      output.WriteString(SceneId);
 539    }
 540    if (_unknownFields != null) {
 541      _unknownFields.WriteTo(ref output);
 542    }
 543  }
 544  #endif
 545
 546  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 547  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 548  public int CalculateSize() {
 2549    int size = 0;
 2550    if (SceneId.Length != 0) {
 2551      size += 1 + pb::CodedOutputStream.ComputeStringSize(SceneId);
 552    }
 2553    if (_unknownFields != null) {
 0554      size += _unknownFields.CalculateSize();
 555    }
 2556    return size;
 557  }
 558
 559  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 560  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 561  public void MergeFrom(PullCRDTRequest other) {
 0562    if (other == null) {
 0563      return;
 564    }
 0565    if (other.SceneId.Length != 0) {
 0566      SceneId = other.SceneId;
 567    }
 0568    _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 0569  }
 570
 571  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 572  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 573  public void MergeFrom(pb::CodedInputStream input) {
 574  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 575    input.ReadRawMessage(this);
 576  #else
 577    uint tag;
 4578    while ((tag = input.ReadTag()) != 0) {
 579      switch(tag) {
 580        default:
 0581          _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 0582          break;
 583        case 10: {
 2584          SceneId = input.ReadString();
 585          break;
 586        }
 587      }
 588    }
 589  #endif
 2590  }
 591
 592  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 593  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 594  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 595  void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
 596    uint tag;
 597    while ((tag = input.ReadTag()) != 0) {
 598      switch(tag) {
 599        default:
 600          _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
 601          break;
 602        case 10: {
 603          SceneId = input.ReadString();
 604          break;
 605        }
 606      }
 607    }
 608  }
 609  #endif
 610
 611}
 612
 613/// <summary>
 614/// CRDTStreamRequest is deprecated
 615/// </summary>
 616[global::System.ObsoleteAttribute]
 617public sealed partial class CRDTStreamRequest : pb::IMessage<CRDTStreamRequest>
 618#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 619    , pb::IBufferMessage
 620#endif
 621{
 622  private static readonly pb::MessageParser<CRDTStreamRequest> _parser = new pb::MessageParser<CRDTStreamRequest>(() => 
 623  private pb::UnknownFieldSet _unknownFields;
 624  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 625  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 626  public static pb::MessageParser<CRDTStreamRequest> Parser { get { return _parser; } }
 627
 628  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 629  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 630  public static pbr::MessageDescriptor Descriptor {
 631    get { return global::RendererProtocolReflection.Descriptor.MessageTypes[3]; }
 632  }
 633
 634  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 635  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 636  pbr::MessageDescriptor pb::IMessage.Descriptor {
 637    get { return Descriptor; }
 638  }
 639
 640  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 641  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 642  public CRDTStreamRequest() {
 643    OnConstruction();
 644  }
 645
 646  partial void OnConstruction();
 647
 648  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 649  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 650  public CRDTStreamRequest(CRDTStreamRequest other) : this() {
 651    _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 652  }
 653
 654  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 655  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 656  public CRDTStreamRequest Clone() {
 657    return new CRDTStreamRequest(this);
 658  }
 659
 660  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 661  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 662  public override bool Equals(object other) {
 663    return Equals(other as CRDTStreamRequest);
 664  }
 665
 666  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 667  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 668  public bool Equals(CRDTStreamRequest other) {
 669    if (ReferenceEquals(other, null)) {
 670      return false;
 671    }
 672    if (ReferenceEquals(other, this)) {
 673      return true;
 674    }
 675    return Equals(_unknownFields, other._unknownFields);
 676  }
 677
 678  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 679  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 680  public override int GetHashCode() {
 681    int hash = 1;
 682    if (_unknownFields != null) {
 683      hash ^= _unknownFields.GetHashCode();
 684    }
 685    return hash;
 686  }
 687
 688  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 689  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 690  public override string ToString() {
 691    return pb::JsonFormatter.ToDiagnosticString(this);
 692  }
 693
 694  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 695  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 696  public void WriteTo(pb::CodedOutputStream output) {
 697  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 698    output.WriteRawMessage(this);
 699  #else
 700    if (_unknownFields != null) {
 701      _unknownFields.WriteTo(output);
 702    }
 703  #endif
 704  }
 705
 706  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 707  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 708  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 709  void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
 710    if (_unknownFields != null) {
 711      _unknownFields.WriteTo(ref output);
 712    }
 713  }
 714  #endif
 715
 716  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 717  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 718  public int CalculateSize() {
 719    int size = 0;
 720    if (_unknownFields != null) {
 721      size += _unknownFields.CalculateSize();
 722    }
 723    return size;
 724  }
 725
 726  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 727  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 728  public void MergeFrom(CRDTStreamRequest other) {
 729    if (other == null) {
 730      return;
 731    }
 732    _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 733  }
 734
 735  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 736  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 737  public void MergeFrom(pb::CodedInputStream input) {
 738  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 739    input.ReadRawMessage(this);
 740  #else
 741    uint tag;
 742    while ((tag = input.ReadTag()) != 0) {
 743      switch(tag) {
 744        default:
 745          _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 746          break;
 747      }
 748    }
 749  #endif
 750  }
 751
 752  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 753  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 754  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 755  void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
 756    uint tag;
 757    while ((tag = input.ReadTag()) != 0) {
 758      switch(tag) {
 759        default:
 760          _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
 761          break;
 762      }
 763    }
 764  }
 765  #endif
 766
 767}
 768
 769#endregion
 770
 771
 772#endregion Designer generated code