< Summary

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

Metrics

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

File(s)

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

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

Methods/Properties

Descriptor()
CrdtReflection()