| | 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 | |
|
| | 8 | | using pb = global::Google.Protobuf; |
| | 9 | | using pbc = global::Google.Protobuf.Collections; |
| | 10 | | using pbr = global::Google.Protobuf.Reflection; |
| | 11 | | using scg = global::System.Collections.Generic; |
| | 12 | | /// <summary>Holder for reflection information generated from protocol.proto</summary> |
| | 13 | | public 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 |
| | 44 | | public sealed partial class CRDTManyMessages : pb::IMessage<CRDTManyMessages> |
| | 45 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 46 | | , pb::IBufferMessage |
| | 47 | | #endif |
| | 48 | | { |
| | 49 | | 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)] |
| | 53 | | 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 { |
| | 58 | | 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 { |
| | 64 | | get { return Descriptor; } |
| | 65 | | } |
| | 66 | |
|
| | 67 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 68 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 69 | | public CRDTManyMessages() { |
| | 70 | | OnConstruction(); |
| | 71 | | } |
| | 72 | |
|
| | 73 | | partial void OnConstruction(); |
| | 74 | |
|
| | 75 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 76 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 77 | | public CRDTManyMessages(CRDTManyMessages other) : this() { |
| | 78 | | sceneId_ = other.sceneId_; |
| | 79 | | payload_ = other.payload_; |
| | 80 | | sceneNumber_ = other.sceneNumber_; |
| | 81 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 82 | | } |
| | 83 | |
|
| | 84 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 85 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 86 | | public CRDTManyMessages Clone() { |
| | 87 | | return new CRDTManyMessages(this); |
| | 88 | | } |
| | 89 | |
|
| | 90 | | /// <summary>Field number for the "scene_id" field.</summary> |
| | 91 | | public const int SceneIdFieldNumber = 1; |
| | 92 | | private string sceneId_ = ""; |
| | 93 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 94 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 95 | | public string SceneId { |
| | 96 | | get { return sceneId_; } |
| | 97 | | set { |
| | 98 | | sceneId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 99 | | } |
| | 100 | | } |
| | 101 | |
|
| | 102 | | /// <summary>Field number for the "payload" field.</summary> |
| | 103 | | public const int PayloadFieldNumber = 2; |
| | 104 | | 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 { |
| | 108 | | get { return payload_; } |
| | 109 | | set { |
| | 110 | | payload_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 111 | | } |
| | 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 { |
| | 120 | | get { return sceneNumber_; } |
| | 121 | | set { |
| | 122 | | sceneNumber_ = value; |
| | 123 | | } |
| | 124 | | } |
| | 125 | |
|
| | 126 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 127 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 128 | | public override bool Equals(object other) { |
| | 129 | | 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) { |
| | 135 | | if (ReferenceEquals(other, null)) { |
| | 136 | | return false; |
| | 137 | | } |
| | 138 | | if (ReferenceEquals(other, this)) { |
| | 139 | | return true; |
| | 140 | | } |
| | 141 | | if (SceneId != other.SceneId) return false; |
| | 142 | | if (Payload != other.Payload) return false; |
| | 143 | | if (SceneNumber != other.SceneNumber) return false; |
| | 144 | | 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() { |
| | 150 | | int hash = 1; |
| | 151 | | if (SceneId.Length != 0) hash ^= SceneId.GetHashCode(); |
| | 152 | | if (Payload.Length != 0) hash ^= Payload.GetHashCode(); |
| | 153 | | if (SceneNumber != 0) hash ^= SceneNumber.GetHashCode(); |
| | 154 | | if (_unknownFields != null) { |
| | 155 | | hash ^= _unknownFields.GetHashCode(); |
| | 156 | | } |
| | 157 | | return hash; |
| | 158 | | } |
| | 159 | |
|
| | 160 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 161 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 162 | | public override string ToString() { |
| | 163 | | 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 |
| | 172 | | if (SceneId.Length != 0) { |
| | 173 | | output.WriteRawTag(10); |
| | 174 | | output.WriteString(SceneId); |
| | 175 | | } |
| | 176 | | if (Payload.Length != 0) { |
| | 177 | | output.WriteRawTag(18); |
| | 178 | | output.WriteBytes(Payload); |
| | 179 | | } |
| | 180 | | if (SceneNumber != 0) { |
| | 181 | | output.WriteRawTag(24); |
| | 182 | | output.WriteInt32(SceneNumber); |
| | 183 | | } |
| | 184 | | if (_unknownFields != null) { |
| | 185 | | _unknownFields.WriteTo(output); |
| | 186 | | } |
| | 187 | | #endif |
| | 188 | | } |
| | 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() { |
| | 215 | | int size = 0; |
| | 216 | | if (SceneId.Length != 0) { |
| | 217 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(SceneId); |
| | 218 | | } |
| | 219 | | if (Payload.Length != 0) { |
| | 220 | | size += 1 + pb::CodedOutputStream.ComputeBytesSize(Payload); |
| | 221 | | } |
| | 222 | | if (SceneNumber != 0) { |
| | 223 | | size += 1 + pb::CodedOutputStream.ComputeInt32Size(SceneNumber); |
| | 224 | | } |
| | 225 | | if (_unknownFields != null) { |
| | 226 | | size += _unknownFields.CalculateSize(); |
| | 227 | | } |
| | 228 | | return size; |
| | 229 | | } |
| | 230 | |
|
| | 231 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 232 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 233 | | public void MergeFrom(CRDTManyMessages other) { |
| | 234 | | if (other == null) { |
| | 235 | | return; |
| | 236 | | } |
| | 237 | | if (other.SceneId.Length != 0) { |
| | 238 | | SceneId = other.SceneId; |
| | 239 | | } |
| | 240 | | if (other.Payload.Length != 0) { |
| | 241 | | Payload = other.Payload; |
| | 242 | | } |
| | 243 | | if (other.SceneNumber != 0) { |
| | 244 | | SceneNumber = other.SceneNumber; |
| | 245 | | } |
| | 246 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 247 | | } |
| | 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; |
| | 256 | | while ((tag = input.ReadTag()) != 0) { |
| | 257 | | switch(tag) { |
| | 258 | | default: |
| | 259 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 260 | | break; |
| | 261 | | case 10: { |
| | 262 | | SceneId = input.ReadString(); |
| | 263 | | break; |
| | 264 | | } |
| | 265 | | case 18: { |
| | 266 | | Payload = input.ReadBytes(); |
| | 267 | | break; |
| | 268 | | } |
| | 269 | | case 24: { |
| | 270 | | SceneNumber = input.ReadInt32(); |
| | 271 | | break; |
| | 272 | | } |
| | 273 | | } |
| | 274 | | } |
| | 275 | | #endif |
| | 276 | | } |
| | 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 | |
|
| | 307 | | public sealed partial class CRDTResponse : pb::IMessage<CRDTResponse> |
| | 308 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 309 | | , pb::IBufferMessage |
| | 310 | | #endif |
| | 311 | | { |
| 1 | 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)] |
| 0 | 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 { |
| 0 | 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 { |
| 0 | 327 | | get { return Descriptor; } |
| | 328 | | } |
| | 329 | |
|
| | 330 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 331 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| 1 | 332 | | public CRDTResponse() { |
| | 333 | | OnConstruction(); |
| 1 | 334 | | } |
| | 335 | |
|
| | 336 | | partial void OnConstruction(); |
| | 337 | |
|
| | 338 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 339 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| 0 | 340 | | public CRDTResponse(CRDTResponse other) : this() { |
| 0 | 341 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| 0 | 342 | | } |
| | 343 | |
|
| | 344 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 345 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 346 | | public CRDTResponse Clone() { |
| 0 | 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) { |
| 0 | 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) { |
| 0 | 359 | | if (ReferenceEquals(other, null)) { |
| 0 | 360 | | return false; |
| | 361 | | } |
| 0 | 362 | | if (ReferenceEquals(other, this)) { |
| 0 | 363 | | return true; |
| | 364 | | } |
| 0 | 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() { |
| 0 | 371 | | int hash = 1; |
| 0 | 372 | | if (_unknownFields != null) { |
| 0 | 373 | | hash ^= _unknownFields.GetHashCode(); |
| | 374 | | } |
| 0 | 375 | | return hash; |
| | 376 | | } |
| | 377 | |
|
| | 378 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 379 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 380 | | public override string ToString() { |
| 0 | 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 |
| 0 | 390 | | if (_unknownFields != null) { |
| 0 | 391 | | _unknownFields.WriteTo(output); |
| | 392 | | } |
| | 393 | | #endif |
| 0 | 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() { |
| 0 | 409 | | int size = 0; |
| 0 | 410 | | if (_unknownFields != null) { |
| 0 | 411 | | size += _unknownFields.CalculateSize(); |
| | 412 | | } |
| 0 | 413 | | return size; |
| | 414 | | } |
| | 415 | |
|
| | 416 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 417 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 418 | | public void MergeFrom(CRDTResponse other) { |
| 0 | 419 | | if (other == null) { |
| 0 | 420 | | return; |
| | 421 | | } |
| 0 | 422 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| 0 | 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; |
| 0 | 432 | | while ((tag = input.ReadTag()) != 0) { |
| | 433 | | switch(tag) { |
| | 434 | | default: |
| 0 | 435 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 436 | | break; |
| | 437 | | } |
| | 438 | | } |
| | 439 | | #endif |
| 0 | 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 | |
|
| | 459 | | public 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 |